@tsocial/tvweb-sdk.vib 5.14.7 → 5.14.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  object-assign
4
4
  (c) Sindre Sorhus
5
5
  @license MIT
6
- */var ob=Object.getOwnPropertySymbols,ab=Object.prototype.hasOwnProperty,ib=Object.prototype.propertyIsEnumerable;function sb(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function cb(){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={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}var lb=cb()?Object.assign:function(e,t){for(var r,n,o=sb(e),a=1;a<arguments.length;a++){for(var i in r=Object(arguments[a]))ab.call(r,i)&&(o[i]=r[i]);if(ob){n=ob(r);for(var s=0;s<n.length;s++)ib.call(r,n[s])&&(o[n[s]]=r[n[s]])}}return o},ub="function"==typeof Symbol&&Symbol.for,db=ub?Symbol.for("react.element"):60103,fb=ub?Symbol.for("react.portal"):60106,pb=ub?Symbol.for("react.fragment"):60107,hb=ub?Symbol.for("react.strict_mode"):60108,mb=ub?Symbol.for("react.profiler"):60114,gb=ub?Symbol.for("react.provider"):60109,vb=ub?Symbol.for("react.context"):60110,yb=ub?Symbol.for("react.forward_ref"):60112,bb=ub?Symbol.for("react.suspense"):60113,wb=ub?Symbol.for("react.memo"):60115,kb=ub?Symbol.for("react.lazy"):60116,Cb="function"==typeof Symbol&&Symbol.iterator;function Sb(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Bb={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Eb={};function _b(e,t,r){this.props=e,this.context=t,this.refs=Eb,this.updater=r||Bb}function xb(){}function Tb(e,t,r){this.props=e,this.context=t,this.refs=Eb,this.updater=r||Bb}_b.prototype.isReactComponent={},_b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(Sb(85));this.updater.enqueueSetState(this,e,t,"setState")},_b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},xb.prototype=_b.prototype;var Ab=Tb.prototype=new xb;Ab.constructor=Tb,lb(Ab,_b.prototype),Ab.isPureReactComponent=!0;var Pb={current:null},Ib=Object.prototype.hasOwnProperty,Rb={key:!0,ref:!0,__self:!0,__source:!0};function Nb(e,t,r){var n,o={},a=null,i=null;if(null!=t)for(n in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)Ib.call(t,n)&&!Rb.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var c=Array(s),l=0;l<s;l++)c[l]=arguments[l+2];o.children=c}if(e&&e.defaultProps)for(n in s=e.defaultProps)void 0===o[n]&&(o[n]=s[n]);return{$$typeof:db,type:e,key:a,ref:i,props:o,_owner:Pb.current}}function Ob(e,t){return{$$typeof:db,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Db(e){return"object"==typeof e&&null!==e&&e.$$typeof===db}function Lb(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}var Mb=/\/+/g,Ub=[];function Fb(e,t,r,n){if(Ub.length){var o=Ub.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function jb(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>Ub.length&&Ub.push(e)}function Vb(e,t,r,n){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var a=!1;if(null===e)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case db:case fb:a=!0}}if(a)return r(n,e,""===t?"."+qb(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var i=0;i<e.length;i++){var s=t+qb(o=e[i],i);a+=Vb(o,s,r,n)}else if(null===e||"object"!=typeof e?s=null:s="function"==typeof(s=Cb&&e[Cb]||e["@@iterator"])?s:null,"function"==typeof s)for(e=s.call(e),i=0;!(o=e.next()).done;)a+=Vb(o=o.value,s=t+qb(o,i++),r,n);else if("object"===o)throw r=""+e,Error(Sb(31,"[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return a}function zb(e,t,r){return null==e?0:Vb(e,"",t,r)}function qb(e,t){return"object"==typeof e&&null!==e&&null!=e.key?Lb(e.key):t.toString(36)}function Hb(e,t){e.func.call(e.context,t,e.count++)}function Kb(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?Wb(e,n,r,(function(e){return e})):null!=e&&(Db(e)&&(e=Ob(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(Mb,"$&/")+"/")+r)),n.push(e))}function Wb(e,t,r,n,o){var a="";null!=r&&(a=(""+r).replace(Mb,"$&/")+"/"),zb(e,Kb,t=Fb(t,a,n,o)),jb(t)}var Gb={current:null};function Qb(){var e=Gb.current;if(null===e)throw Error(Sb(321));return e}var Xb={ReactCurrentDispatcher:Gb,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Pb,IsSomeRendererActing:{current:!1},assign:lb},Yb={map:function(e,t,r){if(null==e)return e;var n=[];return Wb(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;zb(e,Hb,t=Fb(null,null,t,r)),jb(t)},count:function(e){return zb(e,(function(){return null}),null)},toArray:function(e){var t=[];return Wb(e,t,null,(function(e){return e})),t},only:function(e){if(!Db(e))throw Error(Sb(143));return e}},$b=_b,Zb=pb,Jb=mb,ew=Tb,tw=hb,rw=bb,nw=Xb,ow=function(e,t,r){if(null==e)throw Error(Sb(267,e));var n=lb({},e.props),o=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=Pb.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)Ib.call(t,c)&&!Rb.hasOwnProperty(c)&&(n[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)n.children=r;else if(1<c){s=Array(c);for(var l=0;l<c;l++)s[l]=arguments[l+2];n.children=s}return{$$typeof:db,type:e.type,key:o,ref:a,props:n,_owner:i}},aw=function(e,t){return void 0===t&&(t=null),(e={$$typeof:vb,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:gb,_context:e},e.Consumer=e},iw=Nb,sw=function(e){var t=Nb.bind(null,e);return t.type=e,t},cw=function(){return{current:null}},lw=function(e){return{$$typeof:yb,render:e}},uw=Db,dw=function(e){return{$$typeof:kb,_ctor:e,_status:-1,_result:null}},fw=function(e,t){return{$$typeof:wb,type:e,compare:void 0===t?null:t}},pw=function(e,t){return Qb().useCallback(e,t)},hw=function(e,t){return Qb().useContext(e,t)},mw=function(){},gw=function(e,t){return Qb().useEffect(e,t)},vw=function(e,t,r){return Qb().useImperativeHandle(e,t,r)},yw=function(e,t){return Qb().useLayoutEffect(e,t)},bw=function(e,t){return Qb().useMemo(e,t)},ww=function(e,t,r){return Qb().useReducer(e,t,r)},kw=function(e){return Qb().useRef(e)},Cw=function(e){return Qb().useState(e)},Sw="16.14.0",Bw={Children:Yb,Component:$b,Fragment:Zb,Profiler:Jb,PureComponent:ew,StrictMode:tw,Suspense:rw,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:nw,cloneElement:ow,createContext:aw,createElement:iw,createFactory:sw,createRef:cw,forwardRef:lw,isValidElement:uw,lazy:dw,memo:fw,useCallback:pw,useContext:hw,useDebugValue:mw,useEffect:gw,useImperativeHandle:vw,useLayoutEffect:yw,useMemo:bw,useReducer:ww,useRef:kw,useState:Cw,version:Sw},Ew="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",_w=Ew,xw=(o((function(e,t){})),o((function(e){e.exports=Bw}))),Tw="function"==typeof Symbol&&Symbol.for,Aw=Tw?Symbol.for("react.element"):60103,Pw=Tw?Symbol.for("react.portal"):60106,Iw=Tw?Symbol.for("react.fragment"):60107,Rw=Tw?Symbol.for("react.strict_mode"):60108,Nw=Tw?Symbol.for("react.profiler"):60114,Ow=Tw?Symbol.for("react.provider"):60109,Dw=Tw?Symbol.for("react.context"):60110,Lw=Tw?Symbol.for("react.async_mode"):60111,Mw=Tw?Symbol.for("react.concurrent_mode"):60111,Uw=Tw?Symbol.for("react.forward_ref"):60112,Fw=Tw?Symbol.for("react.suspense"):60113,jw=Tw?Symbol.for("react.suspense_list"):60120,Vw=Tw?Symbol.for("react.memo"):60115,zw=Tw?Symbol.for("react.lazy"):60116,qw=Tw?Symbol.for("react.block"):60121,Hw=Tw?Symbol.for("react.fundamental"):60117,Kw=Tw?Symbol.for("react.responder"):60118,Ww=Tw?Symbol.for("react.scope"):60119;function Gw(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Aw:switch(e=e.type){case Lw:case Mw:case Iw:case Nw:case Rw:case Fw:return e;default:switch(e=e&&e.$$typeof){case Dw:case Uw:case zw:case Vw:case Ow:return e;default:return t}}case Pw:return t}}}function Qw(e){return Gw(e)===Mw}var Xw=Lw,Yw=Mw,$w=Dw,Zw=Ow,Jw=Aw,ek=Uw,tk=Iw,rk=zw,nk=Vw,ok=Pw,ak=Nw,ik=Rw,sk=Fw,ck=function(e){return Qw(e)||Gw(e)===Lw},lk=Qw,uk=function(e){return Gw(e)===Dw},dk=function(e){return Gw(e)===Ow},fk=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Aw},pk=function(e){return Gw(e)===Uw},hk=function(e){return Gw(e)===Iw},mk=function(e){return Gw(e)===zw},gk=function(e){return Gw(e)===Vw},vk=function(e){return Gw(e)===Pw},yk=function(e){return Gw(e)===Nw},bk=function(e){return Gw(e)===Rw},wk=function(e){return Gw(e)===Fw},kk=function(e){return"string"==typeof e||"function"==typeof e||e===Iw||e===Mw||e===Nw||e===Rw||e===Fw||e===jw||"object"==typeof e&&null!==e&&(e.$$typeof===zw||e.$$typeof===Vw||e.$$typeof===Ow||e.$$typeof===Dw||e.$$typeof===Uw||e.$$typeof===Hw||e.$$typeof===Kw||e.$$typeof===Ww||e.$$typeof===qw)},Ck=Gw,Sk={AsyncMode:Xw,ConcurrentMode:Yw,ContextConsumer:$w,ContextProvider:Zw,Element:Jw,ForwardRef:ek,Fragment:tk,Lazy:rk,Memo:nk,Portal:ok,Profiler:ak,StrictMode:ik,Suspense:sk,isAsyncMode:ck,isConcurrentMode:lk,isContextConsumer:uk,isContextProvider:dk,isElement:fk,isForwardRef:pk,isFragment:hk,isLazy:mk,isMemo:gk,isPortal:vk,isProfiler:yk,isStrictMode:bk,isSuspense:wk,isValidElementType:kk,typeOf:Ck};o((function(e,t){})),o((function(e){e.exports=Sk})),Function.call.bind(Object.prototype.hasOwnProperty);function Bk(){}function Ek(){}Ek.resetWarningCache=Bk;var _k=function(){function e(e,t,r,n,o,a){if(a!==_w){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ek,resetWarningCache:Bk};return r.PropTypes=r,r},xk=o((function(e){e.exports=_k()})),Tk=60103,Ak=60106,Pk=60107,Ik=60108,Rk=60114,Nk=60109,Ok=60110,Dk=60112,Lk=60113,Mk=60120,Uk=60115,Fk=60116,jk=60121,Vk=60122,zk=60117,qk=60129,Hk=60131;if("function"==typeof Symbol&&Symbol.for){var Kk=Symbol.for;Tk=Kk("react.element"),Ak=Kk("react.portal"),Pk=Kk("react.fragment"),Ik=Kk("react.strict_mode"),Rk=Kk("react.profiler"),Nk=Kk("react.provider"),Ok=Kk("react.context"),Dk=Kk("react.forward_ref"),Lk=Kk("react.suspense"),Mk=Kk("react.suspense_list"),Uk=Kk("react.memo"),Fk=Kk("react.lazy"),jk=Kk("react.block"),Vk=Kk("react.server.block"),zk=Kk("react.fundamental"),qk=Kk("react.debug_trace_mode"),Hk=Kk("react.legacy_hidden")}function Wk(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Tk:switch(e=e.type){case Pk:case Rk:case Ik:case Lk:case Mk:return e;default:switch(e=e&&e.$$typeof){case Ok:case Dk:case Fk:case Uk:case Nk:return e;default:return t}}case Ak:return t}}}var Gk=Nk,Qk=Tk,Xk=Dk,Yk=Pk,$k=Fk,Zk=Uk,Jk=Ak,eC=Rk,tC=Ik,rC=Lk,nC=Ok,oC=Gk,aC=Qk,iC=Xk,sC=Yk,cC=$k,lC=Zk,uC=Jk,dC=eC,fC=tC,pC=rC,hC=function(){return!1},mC=function(){return!1},gC=function(e){return Wk(e)===Ok},vC=function(e){return Wk(e)===Nk},yC=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Tk},bC=function(e){return Wk(e)===Dk},wC=function(e){return Wk(e)===Pk},kC=function(e){return Wk(e)===Fk},CC=function(e){return Wk(e)===Uk},SC=function(e){return Wk(e)===Ak},BC=function(e){return Wk(e)===Rk},EC=function(e){return Wk(e)===Ik},_C=function(e){return Wk(e)===Lk},xC=function(e){return"string"==typeof e||"function"==typeof e||e===Pk||e===Rk||e===qk||e===Ik||e===Lk||e===Mk||e===Hk||"object"==typeof e&&null!==e&&(e.$$typeof===Fk||e.$$typeof===Uk||e.$$typeof===Nk||e.$$typeof===Ok||e.$$typeof===Dk||e.$$typeof===zk||e.$$typeof===jk||e[0]===Vk)},TC=Wk,AC={ContextConsumer:nC,ContextProvider:oC,Element:aC,ForwardRef:iC,Fragment:sC,Lazy:cC,Memo:lC,Portal:uC,Profiler:dC,StrictMode:fC,Suspense:pC,isAsyncMode:hC,isConcurrentMode:mC,isContextConsumer:gC,isContextProvider:vC,isElement:yC,isForwardRef:bC,isFragment:wC,isLazy:kC,isMemo:CC,isPortal:SC,isProfiler:BC,isStrictMode:EC,isSuspense:_C,isValidElementType:xC,typeOf:TC},PC=(o((function(e,t){})),o((function(e){e.exports=AC})));function IC(e){function t(e,n,c,l,f){for(var p,h,m,g,w,C=0,S=0,B=0,E=0,_=0,R=0,O=m=p=0,L=0,M=0,U=0,F=0,j=c.length,V=j-1,z="",q="",H="",K="";L<j;){if(h=c.charCodeAt(L),L===V&&0!==S+E+B+C&&(0!==S&&(h=47===S?10:47),E=B=C=0,j++,V++),0===S+E+B+C){if(L===V&&(0<M&&(z=z.replace(d,"")),0<z.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:z+=c.charAt(L)}h=59}switch(h){case 123:for(p=(z=z.trim()).charCodeAt(0),m=1,F=++L;L<j;){switch(h=c.charCodeAt(L)){case 123:m++;break;case 125:m--;break;case 47:switch(h=c.charCodeAt(L+1)){case 42:case 47:e:{for(O=L+1;O<V;++O)switch(c.charCodeAt(O)){case 47:if(42===h&&42===c.charCodeAt(O-1)&&L+2!==O){L=O+1;break e}break;case 10:if(47===h){L=O+1;break e}}L=O}}break;case 91:h++;case 40:h++;case 34:case 39:for(;L++<V&&c.charCodeAt(L)!==h;);}if(0===m)break;L++}switch(m=c.substring(F,L),0===p&&(p=(z=z.replace(u,"").trim()).charCodeAt(0)),p){case 64:switch(0<M&&(z=z.replace(d,"")),h=z.charCodeAt(1)){case 100:case 109:case 115:case 45:M=n;break;default:M=I}if(F=(m=t(n,M,m,h,f+1)).length,0<N&&(w=s(3,m,M=r(I,z,U),n,T,x,F,h,f,l),z=M.join(""),void 0!==w&&0===(F=(m=w.trim()).length)&&(h=0,m="")),0<F)switch(h){case 115:z=z.replace(k,i);case 100:case 109:case 45:m=z+"{"+m+"}";break;case 107:m=(z=z.replace(v,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&a("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=z+m,112===l&&(q+=m,m="")}else m="";break;default:m=t(n,r(n,z,U),m,l,f+1)}H+=m,m=U=M=O=p=0,z="",h=c.charCodeAt(++L);break;case 125:case 59:if(1<(F=(z=(0<M?z.replace(d,""):z).trim()).length))switch(0===O&&(p=z.charCodeAt(0),45===p||96<p&&123>p)&&(F=(z=z.replace(" ",":")).length),0<N&&void 0!==(w=s(1,z,n,e,T,x,q.length,l,f,l))&&0===(F=(z=w.trim()).length)&&(z="\0\0"),p=z.charCodeAt(0),h=z.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){K+=z+c.charAt(L);break}default:58!==z.charCodeAt(F-1)&&(q+=o(z,p,h,z.charCodeAt(2)))}U=M=O=p=0,z="",h=c.charCodeAt(++L)}}switch(h){case 13:case 10:47===S?S=0:0===1+p&&107!==l&&0<z.length&&(M=1,z+="\0"),0<N*D&&s(0,z,n,e,T,x,q.length,l,f,l),x=1,T++;break;case 59:case 125:if(0===S+E+B+C){x++;break}default:switch(x++,g=c.charAt(L),h){case 9:case 32:if(0===E+C+S)switch(_){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===E+S+C&&(M=U=1,g="\f"+g);break;case 108:if(0===E+S+C+A&&0<O)switch(L-O){case 2:112===_&&58===c.charCodeAt(L-3)&&(A=_);case 8:111===R&&(A=R)}break;case 58:0===E+S+C&&(O=L);break;case 44:0===S+B+E+C&&(M=1,g+="\r");break;case 34:case 39:0===S&&(E=E===h?0:0===E?h:E);break;case 91:0===E+S+B&&C++;break;case 93:0===E+S+B&&C--;break;case 41:0===E+S+C&&B--;break;case 40:if(0===E+S+C){if(0===p)switch(2*_+3*R){case 533:break;default:p=1}B++}break;case 64:0===S+B+E+C+O+m&&(m=1);break;case 42:case 47:if(!(0<E+C+B))switch(S){case 0:switch(2*h+3*c.charCodeAt(L+1)){case 235:S=47;break;case 220:F=L,S=42}break;case 42:47===h&&42===_&&F+2!==L&&(33===c.charCodeAt(F+2)&&(q+=c.substring(F,L+1)),g="",S=0)}}0===S&&(z+=g)}R=_,_=h,L++}if(0<(F=q.length)){if(M=n,0<N&&(void 0!==(w=s(2,q,M,e,T,x,F,l,f,l))&&0===(q=w).length))return K+q+H;if(q=M.join(",")+"{"+q+"}",0!=P*A){switch(2!==P||a(q,2)||(A=0),A){case 111:q=q.replace(b,":-moz-$1")+q;break;case 112:q=q.replace(y,"::-webkit-input-$1")+q.replace(y,"::-moz-$1")+q.replace(y,":-ms-input-$1")+q}A=0}}return K+q+H}function r(e,t,r){var o=t.trim().split(m);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=n(e,t[s],r).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var l=0;l<i;++l)t[c++]=n(e[l]+" ",o[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,r,n){var i=e+";",s=2*t+3*r+4*n;if(944===s){e=i.indexOf(":",9)+1;var c=i.substring(e,i.length-1).trim();return c=i.substring(0,e).trim()+c+";",1===P||2===P&&a(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!a(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(_,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(c=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+c+i;case 1005:return p.test(i)?i.replace(f,":-webkit-")+i.replace(f,":-moz-")+i:i;case 1e3:switch(t=(c=i.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=i.replace(w,"tb");break;case 232:c=i.replace(w,"tb-rl");break;case 220:c=i.replace(w,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+c+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(c=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(c,"-webkit-"+c)+";"+i.replace(c,"-ms-"+c+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return c=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+c+"-ms-flex-"+c+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(S,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(S,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===E.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):i.replace(c,"-webkit-"+c)+i.replace(c,"-moz-"+c.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+n&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+i}return i}function a(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),O(2!==t?n:n.replace(B,"$1"),r,t)}function i(e,t){var r=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(C," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,o,a,i,s,c,u){for(var d,f=0,p=t;f<N;++f)switch(d=R[f].call(l,e,p,r,n,o,a,i,s,c,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function c(e){return void 0!==(e=e.prefix)&&(O=null,e?"function"!=typeof e?P=1:(P=2,O=e):P=0),c}function l(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<N){var o=s(-1,r,n,n,T,x,0,0,0,0);void 0!==o&&"string"==typeof o&&(r=o)}var a=t(I,n,r,0,0);return 0<N&&(void 0!==(o=s(-2,a,n,n,T,x,a.length,0,0,0))&&(a=o)),"",A=0,x=T=1,a}var u=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,C=/([\s\S]*?);/g,S=/-self|flex-/g,B=/[^]*?(:[rp][el]a[\w-]+)[^]*/,E=/stretch|:\s*\w+\-(?:conte|avail)/,_=/([^-])(image-set\()/,x=1,T=1,A=0,P=1,I=[],R=[],N=0,O=null,D=0;return l.use=function e(t){switch(t){case void 0:case null:N=R.length=0;break;default:if("function"==typeof t)R[N++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else D=0|!!t}return e},l.set=c,void 0!==e&&c(e),l}var RC={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function NC(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var OC=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,DC=NC((function(e){return OC.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),LC="function"==typeof Symbol&&Symbol.for,MC=LC?Symbol.for("react.element"):60103,UC=LC?Symbol.for("react.portal"):60106,FC=LC?Symbol.for("react.fragment"):60107,jC=LC?Symbol.for("react.strict_mode"):60108,VC=LC?Symbol.for("react.profiler"):60114,zC=LC?Symbol.for("react.provider"):60109,qC=LC?Symbol.for("react.context"):60110,HC=LC?Symbol.for("react.async_mode"):60111,KC=LC?Symbol.for("react.concurrent_mode"):60111,WC=LC?Symbol.for("react.forward_ref"):60112,GC=LC?Symbol.for("react.suspense"):60113,QC=LC?Symbol.for("react.suspense_list"):60120,XC=LC?Symbol.for("react.memo"):60115,YC=LC?Symbol.for("react.lazy"):60116,$C=LC?Symbol.for("react.block"):60121,ZC=LC?Symbol.for("react.fundamental"):60117,JC=LC?Symbol.for("react.responder"):60118,eS=LC?Symbol.for("react.scope"):60119;function tS(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case MC:switch(e=e.type){case HC:case KC:case FC:case VC:case jC:case GC:return e;default:switch(e=e&&e.$$typeof){case qC:case WC:case YC:case XC:case zC:return e;default:return t}}case UC:return t}}}function rS(e){return tS(e)===KC}var nS=HC,oS=KC,aS=qC,iS=zC,sS=MC,cS=WC,lS=FC,uS=YC,dS=XC,fS=UC,pS=VC,hS=jC,mS=GC,gS=function(e){return rS(e)||tS(e)===HC},vS=rS,yS=function(e){return tS(e)===qC},bS=function(e){return tS(e)===zC},wS=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===MC},kS=function(e){return tS(e)===WC},CS=function(e){return tS(e)===FC},SS=function(e){return tS(e)===YC},BS=function(e){return tS(e)===XC},ES=function(e){return tS(e)===UC},_S=function(e){return tS(e)===VC},xS=function(e){return tS(e)===jC},TS=function(e){return tS(e)===GC},AS=function(e){return"string"==typeof e||"function"==typeof e||e===FC||e===KC||e===VC||e===jC||e===GC||e===QC||"object"==typeof e&&null!==e&&(e.$$typeof===YC||e.$$typeof===XC||e.$$typeof===zC||e.$$typeof===qC||e.$$typeof===WC||e.$$typeof===ZC||e.$$typeof===JC||e.$$typeof===eS||e.$$typeof===$C)},PS=tS,IS={AsyncMode:nS,ConcurrentMode:oS,ContextConsumer:aS,ContextProvider:iS,Element:sS,ForwardRef:cS,Fragment:lS,Lazy:uS,Memo:dS,Portal:fS,Profiler:pS,StrictMode:hS,Suspense:mS,isAsyncMode:gS,isConcurrentMode:vS,isContextConsumer:yS,isContextProvider:bS,isElement:wS,isForwardRef:kS,isFragment:CS,isLazy:SS,isMemo:BS,isPortal:ES,isProfiler:_S,isStrictMode:xS,isSuspense:TS,isValidElementType:AS,typeOf:PS},RS=(o((function(e,t){})),o((function(e){e.exports=IS}))),NS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},OS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},DS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},LS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},MS={};function US(e){return RS.isMemo(e)?LS:MS[e.$$typeof]||NS}MS[RS.ForwardRef]=DS,MS[RS.Memo]=LS;var FS=Object.defineProperty,jS=Object.getOwnPropertyNames,VS=Object.getOwnPropertySymbols,zS=Object.getOwnPropertyDescriptor,qS=Object.getPrototypeOf,HS=Object.prototype;function KS(e,t,r){if("string"!=typeof t){if(HS){var n=qS(t);n&&n!==HS&&KS(e,n,r)}var o=jS(t);VS&&(o=o.concat(VS(t)));for(var a=US(e),i=US(t),s=0;s<o.length;++s){var c=o[s];if(!(OS[c]||r&&r[c]||i&&i[c]||a&&a[c])){var l=zS(t,c);try{FS(e,c,l)}catch(e){}}}}return e}var WS=KS;function GS(){return(GS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var QS=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},XS=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!PC.typeOf(e)},YS=Object.freeze([]),$S=Object.freeze({});function ZS(e){return"function"==typeof e}function JS(e){return e.displayName||e.name||"Component"}function eB(e){return e&&"string"==typeof e.styledComponentId}var tB="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",rB="undefined"!=typeof window&&"HTMLElement"in window,nB=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&("false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),oB={};function aB(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var iB=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&aB(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a<o;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),sB=new Map,cB=new Map,lB=1,uB=function(e){if(sB.has(e))return sB.get(e);for(;cB.has(lB);)lB++;var t=lB++;return sB.set(e,t),cB.set(t,e),t},dB=function(e){return cB.get(e)},fB=function(e,t){sB.set(e,t),cB.set(t,e)},pB="style["+tB+'][data-styled-version="5.2.1"]',hB=new RegExp("^"+tB+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),mB=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(t,n)},gB=function(e,t){for(var r=t.innerHTML.split("/*!sc*/\n"),n=[],o=0,a=r.length;o<a;o++){var i=r[o].trim();if(i){var s=i.match(hB);if(s){var c=0|parseInt(s[1],10),l=s[2];0!==c&&(fB(l,c),mB(e,l,s[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(i)}}},vB=function(){return"undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null},yB=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(tB))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(tB,"active"),n.setAttribute("data-styled-version","5.2.1");var i=vB();return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},bB=function(){function e(e){var t=this.element=yB(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}aB(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),wB=function(){function e(e){var t=this.element=yB(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),kB=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),CB=rB,SB={isServer:!rB,useCSSOMInjection:!nB},BB=function(){function e(e,t,r){void 0===e&&(e=$S),void 0===t&&(t={}),this.options=GS({},SB,{},e),this.gs=t,this.names=new Map(r),!this.options.isServer&&rB&&CB&&(CB=!1,function(e){for(var t=document.querySelectorAll(pB),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(tB)&&(gB(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return uB(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(GS({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(r=(t=this.options).isServer,n=t.useCSSOMInjection,o=t.target,e=r?new kB(o):n?new bB(o):new wB(o),new iB(e)));var e,t,r,n,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(uB(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(uB(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(uB(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a=dB(o);if(void 0!==a){var i=e.names.get(a),s=t.getGroup(o);if(void 0!==i&&0!==s.length){var c=tB+".g"+o+'[id="'+a+'"]',l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),EB=/(a)(d)/gi,_B=function(e){return String.fromCharCode(e+(e>25?39:97))};function xB(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=_B(t%52)+r;return(_B(t%52)+r).replace(EB,"$1-$2")}var TB=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},AB=function(e){return TB(5381,e)};function PB(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ZS(r)&&!eB(r))return!1}return!0}var IB=AB("5.2.1"),RB=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&PB(e),this.componentId=t,this.baseHash=TB(IB,t),this.baseStyle=r,BB.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))o.push(this.staticRulesId);else{var a=XB(this.rules,e,t,r).join(""),i=xB(TB(this.baseHash,a.length)>>>0);if(!t.hasNameForId(n,i)){var s=r(a,"."+i,void 0,n);t.insertRules(n,i,s)}o.push(i),this.staticRulesId=i}else{for(var c=this.rules.length,l=TB(this.baseHash,r.hash),u="",d=0;d<c;d++){var f=this.rules[d];if("string"==typeof f)u+=f;else if(f){var p=XB(f,e,t,r),h=Array.isArray(p)?p.join(""):p;l=TB(l,h+d),u+=h}}if(u){var m=xB(l>>>0);if(!t.hasNameForId(n,m)){var g=r(u,"."+m,void 0,n);t.insertRules(n,m,g)}o.push(m)}}return o.join(" ")},e}(),NB=/^\s*\/\/.*$/gm,OB=[":","[",".","#"];function DB(e){var t,r,n,o,a=void 0===e?$S:e,i=a.options,s=void 0===i?$S:i,c=a.plugins,l=void 0===c?YS:c,u=new IC(s),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,i,s,c,l,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),p=function(e,n,a){return 0===n&&OB.includes(a[r.length])||a.match(o)?e:"."+t};function h(e,a,i,s){void 0===s&&(s="&");var c=e.replace(NB,""),l=a&&i?i+" "+a+" { "+c+" }":c;return t=s,r=a,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),u(i||!a?"":a,l)}return u.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,p))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),h.hash=l.length?l.reduce((function(e,t){return t.name||aB(15),TB(e,t.name)}),5381).toString():"",h}var LB=xw.createContext(),MB=(LB.Consumer,xw.createContext()),UB=(MB.Consumer,new BB),FB=DB();function jB(){return xw.useContext(LB)||UB}function VB(){return xw.useContext(MB)||FB}var zB=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=FB);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return aB(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=FB),this.name+e.hash},e}(),qB=/([A-Z])/,HB=/([A-Z])/g,KB=/^ms-/,WB=function(e){return"-"+e.toLowerCase()};function GB(e){return qB.test(e)?e.replace(HB,WB).replace(KB,"-ms-"):e}var QB=function(e){return null==e||!1===e||""===e};function XB(e,t,r,n){if(Array.isArray(e)){for(var o,a=[],i=0,s=e.length;i<s;i+=1)""!==(o=XB(e[i],t,r,n))&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));return a}return QB(e)?"":eB(e)?"."+e.styledComponentId:ZS(e)?"function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t?e:XB(e(t),t,r,n):e instanceof zB?r?(e.inject(r,n),e.getName(n)):e:XS(e)?function e(t,r){var n,o,a=[];for(var i in t)t.hasOwnProperty(i)&&!QB(t[i])&&(XS(t[i])?a.push.apply(a,e(t[i],i)):ZS(t[i])?a.push(GB(i)+":",t[i],";"):a.push(GB(i)+": "+(n=i,(null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in RC?String(o).trim():o+"px")+";")));return r?[r+" {"].concat(a,["}"]):a}(e):e.toString();var c}function YB(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return ZS(e)||XS(e)?XB(QS(YS,[e].concat(r))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:XB(QS(e,r))}var $B=function(e,t,r){return void 0===r&&(r=$S),e.theme!==r.theme&&e.theme||t||r.theme},ZB=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,JB=/(^-|-$)/g;function eE(e){return e.replace(ZB,"-").replace(JB,"")}var tE=function(e){return xB(AB(e)>>>0)};function rE(e){return"string"==typeof e&&!0}var nE=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},oE=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function aE(e,t,r){var n=e[r];nE(t)&&nE(n)?iE(n,t):e[r]=t}function iE(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if(nE(i))for(var s in i)oE(s)&&aE(e,i[s],s)}return e}var sE=xw.createContext();sE.Consumer;function cE(e){var t=xw.useContext(sE),r=xw.useMemo((function(){return function(e,t){return e?ZS(e)?e(t):Array.isArray(e)||"object"!=typeof e?aB(8):t?GS({},t,{},e):e:aB(14)}(e.theme,t)}),[e.theme,t]);return e.children?xw.createElement(sE.Provider,{value:r},e.children):null}var lE={};function uE(e,t,r){var n=eB(e),o=!rE(e),a=t.attrs,i=void 0===a?YS:a,s=t.componentId,c=void 0===s?function(e,t){var r="string"!=typeof e?"sc":eE(e);lE[r]=(lE[r]||0)+1;var n=r+"-"+tE("5.2.1"+r+lE[r]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):s,l=t.displayName,u=void 0===l?function(e){return rE(e)?"styled."+e:"Styled("+JS(e)+")"}(e):l,d=t.displayName&&t.componentId?eE(t.displayName)+"-"+t.componentId:t.componentId||c,f=n&&e.attrs?Array.prototype.concat(e.attrs,i).filter(Boolean):i,p=t.shouldForwardProp;n&&e.shouldForwardProp&&(p=t.shouldForwardProp?function(r,n){return e.shouldForwardProp(r,n)&&t.shouldForwardProp(r,n)}:e.shouldForwardProp);var h,m=new RB(r,d,n?e.componentStyle:void 0),g=m.isStatic&&0===i.length,v=function(e,t){return function(e,t,r,n){var o=e.attrs,a=e.componentStyle,i=e.defaultProps,s=e.foldedComponentIds,c=e.shouldForwardProp,l=e.styledComponentId,u=e.target,d=function(e,t,r){void 0===e&&(e=$S);var n=GS({},t,{theme:e}),o={};return r.forEach((function(e){var t,r,a,i=e;for(t in ZS(i)&&(i=i(n)),i)n[t]=o[t]="className"===t?(r=o[t],a=i[t],r&&a?r+" "+a:r||a):i[t]})),[n,o]}($B(t,xw.useContext(sE),i)||$S,t,o),f=d[0],p=d[1],h=function(e,t,r,n){var o=jB(),a=VB();return t?e.generateAndInjectStyles($S,o,a):e.generateAndInjectStyles(r,o,a)}(a,n,f),m=r,g=p.$as||t.$as||p.as||t.as||u,v=rE(g),y=p!==t?GS({},t,{},p):t,b={};for(var w in y)"$"!==w[0]&&"as"!==w&&("forwardedAs"===w?b.as=y[w]:(c?c(w,DC):!v||DC(w))&&(b[w]=y[w]));return t.style&&p.style!==t.style&&(b.style=GS({},t.style,{},p.style)),b.className=Array.prototype.concat(s,l,h!==l?h:null,t.className,p.className).filter(Boolean).join(" "),b.ref=m,xw.createElement(g,b)}(h,e,t,g)};return v.displayName=u,(h=xw.forwardRef(v)).attrs=f,h.componentStyle=m,h.displayName=u,h.shouldForwardProp=p,h.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):YS,h.styledComponentId=d,h.target=n?e.target:e,h.withComponent=function(e){var n=t.componentId,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["componentId"]),a=n&&n+"-"+(rE(e)?e:eE(JS(e)));return uE(e,GS({},o,{attrs:f,componentId:a}),r)},Object.defineProperty(h,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?iE({},e.defaultProps,t):t}}),h.toString=function(){return"."+h.styledComponentId},o&&WS(h,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),h}var dE=function(e){return function e(t,r,n){if(void 0===n&&(n=$S),!PC.isValidElementType(r))return aB(1,String(r));var o=function(){return t(r,n,YB.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,GS({},n,{},o))},o.attrs=function(o){return e(t,r,GS({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(uE,e)};["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","marquee","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","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){dE[e]=dE(e)}));var fE=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=PB(e),BB.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var o=n(XB(this.rules,t,r,n).join(""),""),a=this.componentId+e;r.insertRules(a,a,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&BB.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function pE(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=YB.apply(void 0,[e].concat(r)),a="sc-global-"+tE(JSON.stringify(o)),i=new fE(o,a);function s(e){var t=jB(),r=VB(),n=xw.useContext(sE),o=xw.useRef(t.allocateGSInstance(a)).current;return xw.useLayoutEffect((function(){return c(o,e,t,n,r),function(){return i.removeStyles(o,t)}}),[o,e,t,n,r]),null}function c(e,t,r,n,o){if(i.isStatic)i.renderStyles(e,oB,r,o);else{var a=GS({},t,{theme:$B(t,n,s.defaultProps)});i.renderStyles(e,a,r,o)}}return xw.memo(s)}function hE(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=YB.apply(void 0,[e].concat(r)).join(""),a=tE(o);return new zB(a,o)}var mE=function(){return xw.useContext(sE)},gE=o((function(e,t){var r,n,o,a,i;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,c=null,l=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(l,0),e}},u=Date.now();t.unstable_now=function(){return Date.now()-u},r=function(e){null!==s?setTimeout(r,0,e):(s=e,setTimeout(l,0))},n=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},a=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=f.now();t.unstable_now=function(){return f.now()-g}}var v=!1,y=null,b=-1,w=5,k=0;a=function(){return t.unstable_now()>=k},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var C=new MessageChannel,S=C.port2;C.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();k=e+w;try{y(!0,e)?S.postMessage(null):(v=!1,y=null)}catch(e){throw S.postMessage(null),e}}else v=!1},r=function(e){y=e,v||(v=!0,S.postMessage(null))},n=function(e,r){b=p((function(){e(t.unstable_now())}),r)},o=function(){h(b),b=-1}}function B(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,o=e[n];if(!(void 0!==o&&0<x(o,t)))break e;e[n]=t,e[r]=o,r=n}}function E(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length;n<o;){var a=2*(n+1)-1,i=e[a],s=a+1,c=e[s];if(void 0!==i&&0>x(i,r))void 0!==c&&0>x(c,i)?(e[n]=c,e[s]=r,n=s):(e[n]=i,e[a]=r,n=a);else{if(!(void 0!==c&&0>x(c,r)))break e;e[n]=c,e[s]=r,n=s}}}return t}return null}function x(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var T=[],A=[],P=1,I=null,R=3,N=!1,O=!1,D=!1;function L(e){for(var t=E(A);null!==t;){if(null===t.callback)_(A);else{if(!(t.startTime<=e))break;_(A),t.sortIndex=t.expirationTime,B(T,t)}t=E(A)}}function M(e){if(D=!1,L(e),!O)if(null!==E(T))O=!0,r(U);else{var t=E(A);null!==t&&n(M,t.startTime-e)}}function U(e,r){O=!1,D&&(D=!1,o()),N=!0;var i=R;try{for(L(r),I=E(T);null!==I&&(!(I.expirationTime>r)||e&&!a());){var s=I.callback;if(null!==s){I.callback=null,R=I.priorityLevel;var c=s(I.expirationTime<=r);r=t.unstable_now(),"function"==typeof c?I.callback=c:I===E(T)&&_(T),L(r)}else _(T);I=E(T)}if(null!==I)var l=!0;else{var u=E(A);null!==u&&n(M,u.startTime-r),l=!1}return l}finally{I=null,R=i,N=!1}}function F(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var j=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){O||N||(O=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return E(T)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var r=R;R=t;try{return e()}finally{R=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=j,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=R;R=e;try{return t()}finally{R=r}},t.unstable_scheduleCallback=function(e,a,i){var s=t.unstable_now();if("object"==typeof i&&null!==i){var c=i.delay;c="number"==typeof c&&0<c?s+c:s,i="number"==typeof i.timeout?i.timeout:F(e)}else i=F(e),c=s;return e={id:P++,callback:a,priorityLevel:e,startTime:c,expirationTime:i=c+i,sortIndex:-1},c>s?(e.sortIndex=c,B(A,e),null===E(T)&&e===E(A)&&(D?o():D=!0,n(M,c-s))):(e.sortIndex=i,B(T,e),O||N||(O=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();L(e);var r=E(T);return r!==I&&null!==I&&null!==r&&null!==r.callback&&r.startTime<=e&&r.expirationTime<I.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=R;return function(){var r=R;R=t;try{return e.apply(this,arguments)}finally{R=r}}}})),vE=(o((function(e,t){})),o((function(e){e.exports=gE})));function yE(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!xw)throw Error(yE(227));function bE(e,t,r,n,o,a,i,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(r,l)}catch(e){this.onError(e)}}var wE=!1,kE=null,CE=!1,SE=null,BE={onError:function(e){wE=!0,kE=e}};function EE(e,t,r,n,o,a,i,s,c){wE=!1,kE=null,bE.apply(BE,arguments)}function _E(e,t,r,n,o,a,i,s,c){if(EE.apply(this,arguments),wE){if(!wE)throw Error(yE(198));var l=kE;wE=!1,kE=null,CE||(CE=!0,SE=l)}}var xE=null,TE=null,AE=null;function PE(e,t,r){var n=e.type||"unknown-event";e.currentTarget=AE(r),_E(n,t,void 0,e),e.currentTarget=null}var IE=null,RE={};function NE(){if(IE)for(var e in RE){var t=RE[e],r=IE.indexOf(e);if(!(-1<r))throw Error(yE(96,e));if(!DE[r]){if(!t.extractEvents)throw Error(yE(97,e));for(var n in DE[r]=t,r=t.eventTypes){var o=void 0,a=r[n],i=t,s=n;if(LE.hasOwnProperty(s))throw Error(yE(99,s));LE[s]=a;var c=a.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&OE(c[o],i,s);o=!0}else a.registrationName?(OE(a.registrationName,i,s),o=!0):o=!1;if(!o)throw Error(yE(98,n,e))}}}}function OE(e,t,r){if(ME[e])throw Error(yE(100,e));ME[e]=t,UE[e]=t.eventTypes[r].dependencies}var DE=[],LE={},ME={},UE={};function FE(e){var t,r=!1;for(t in e)if(e.hasOwnProperty(t)){var n=e[t];if(!RE.hasOwnProperty(t)||RE[t]!==n){if(RE[t])throw Error(yE(102,t));RE[t]=n,r=!0}}r&&NE()}var jE=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),VE=null,zE=null,qE=null;function HE(e){if(e=TE(e)){if("function"!=typeof VE)throw Error(yE(280));var t=e.stateNode;t&&(t=xE(t),VE(e.stateNode,e.type,t))}}function KE(e){zE?qE?qE.push(e):qE=[e]:zE=e}function WE(){if(zE){var e=zE,t=qE;if(qE=zE=null,HE(e),t)for(e=0;e<t.length;e++)HE(t[e])}}function GE(e,t){return e(t)}function QE(e,t,r,n,o){return e(t,r,n,o)}function XE(){}var YE=GE,$E=!1,ZE=!1;function JE(){null===zE&&null===qE||(XE(),WE())}function e_(e,t,r){if(ZE)return e(t,r);ZE=!0;try{return YE(e,t,r)}finally{ZE=!1,JE()}}var t_=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,r_=Object.prototype.hasOwnProperty,n_={},o_={};function a_(e){return!!r_.call(o_,e)||!r_.call(n_,e)&&(t_.test(e)?o_[e]=!0:(n_[e]=!0,!1))}function i_(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function s_(e,t,r,n){if(null==t||i_(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function c_(e,t,r,n,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a}var l_={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){l_[e]=new c_(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];l_[t]=new c_(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){l_[e]=new c_(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){l_[e]=new c_(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){l_[e]=new c_(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){l_[e]=new c_(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){l_[e]=new c_(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){l_[e]=new c_(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){l_[e]=new c_(e,5,!1,e.toLowerCase(),null,!1)}));var u_=/[\-:]([a-z])/g;function d_(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(u_,d_);l_[t]=new c_(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(u_,d_);l_[t]=new c_(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(u_,d_);l_[t]=new c_(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){l_[e]=new c_(e,1,!1,e.toLowerCase(),null,!1)})),l_.xlinkHref=new c_("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){l_[e]=new c_(e,1,!1,e.toLowerCase(),null,!0)}));var f_=xw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p_(e,t,r,n){var o=l_.hasOwnProperty(t)?l_[t]:null;(null!==o?0===o.type:!n&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(s_(t,r,o,n)&&(r=null),n||null===o?a_(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}f_.hasOwnProperty("ReactCurrentDispatcher")||(f_.ReactCurrentDispatcher={current:null}),f_.hasOwnProperty("ReactCurrentBatchConfig")||(f_.ReactCurrentBatchConfig={suspense:null});var h_=/^(.*)[\\\/]/,m_="function"==typeof Symbol&&Symbol.for,g_=m_?Symbol.for("react.element"):60103,v_=m_?Symbol.for("react.portal"):60106,y_=m_?Symbol.for("react.fragment"):60107,b_=m_?Symbol.for("react.strict_mode"):60108,w_=m_?Symbol.for("react.profiler"):60114,k_=m_?Symbol.for("react.provider"):60109,C_=m_?Symbol.for("react.context"):60110,S_=m_?Symbol.for("react.concurrent_mode"):60111,B_=m_?Symbol.for("react.forward_ref"):60112,E_=m_?Symbol.for("react.suspense"):60113,__=m_?Symbol.for("react.suspense_list"):60120,x_=m_?Symbol.for("react.memo"):60115,T_=m_?Symbol.for("react.lazy"):60116,A_=m_?Symbol.for("react.block"):60121,P_="function"==typeof Symbol&&Symbol.iterator;function I_(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P_&&e[P_]||e["@@iterator"])?e:null}function R_(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}function N_(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case y_:return"Fragment";case v_:return"Portal";case w_:return"Profiler";case b_:return"StrictMode";case E_:return"Suspense";case __:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case C_:return"Context.Consumer";case k_:return"Context.Provider";case B_:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case x_:return N_(e.type);case A_:return N_(e.render);case T_:if(e=1===e._status?e._result:null)return N_(e)}return null}function O_(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var r="";break e;default:var n=e._debugOwner,o=e._debugSource,a=N_(e.type);r=null,n&&(r=N_(n.type)),n=a,a="",o?a=" (at "+o.fileName.replace(h_,"")+":"+o.lineNumber+")":r&&(a=" (created by "+r+")"),r="\n in "+(n||"Unknown")+a}t+=r,e=e.return}while(e);return t}function D_(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function L_(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function M_(e){var t=L_(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function U_(e){e._valueTracker||(e._valueTracker=M_(e))}function F_(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=L_(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function j_(e,t){var r=t.checked;return lb({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function V_(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=D_(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function z_(e,t){null!=(t=t.checked)&&p_(e,"checked",t,!1)}function q_(e,t){z_(e,t);var r=D_(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?K_(e,t.type,r):t.hasOwnProperty("defaultValue")&&K_(e,t.type,D_(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function H_(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function K_(e,t,r){"number"===t&&e.ownerDocument.activeElement===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function W_(e){var t="";return xw.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}function G_(e,t){return e=lb({children:void 0},t),(t=W_(t.children))&&(e.children=t),e}function Q_(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+D_(r),t=null,o=0;o<e.length;o++){if(e[o].value===r)return e[o].selected=!0,void(n&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function X_(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(yE(91));return lb({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Y_(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(yE(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(yE(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:D_(r)}}function $_(e,t){var r=D_(t.value),n=D_(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function Z_(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var J_={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ex(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function tx(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ex(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var rx,nx,ox=(nx=function(e,t){if(e.namespaceURI!==J_.svg||"innerHTML"in e)e.innerHTML=t;else{for((rx=rx||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=rx.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return nx(e,t)}))}:nx);function ax(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}function ix(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var sx={animationend:ix("Animation","AnimationEnd"),animationiteration:ix("Animation","AnimationIteration"),animationstart:ix("Animation","AnimationStart"),transitionend:ix("Transition","TransitionEnd")},cx={},lx={};function ux(e){if(cx[e])return cx[e];if(!sx[e])return e;var t,r=sx[e];for(t in r)if(r.hasOwnProperty(t)&&t in lx)return cx[e]=r[t];return e}jE&&(lx=document.createElement("div").style,"AnimationEvent"in window||(delete sx.animationend.animation,delete sx.animationiteration.animation,delete sx.animationstart.animation),"TransitionEvent"in window||delete sx.transitionend.transition);var dx=ux("animationend"),fx=ux("animationiteration"),px=ux("animationstart"),hx=ux("transitionend"),mx="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),gx=new("function"==typeof WeakMap?WeakMap:Map);function vx(e){var t=gx.get(e);return void 0===t&&(t=new Map,gx.set(e,t)),t}function yx(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function bx(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function wx(e){if(yx(e)!==e)throw Error(yE(188))}function kx(e){var t=e.alternate;if(!t){if(null===(t=yx(e)))throw Error(yE(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(n=o.return)){r=n;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return wx(o),e;if(a===n)return wx(o),t;a=a.sibling}throw Error(yE(188))}if(r.return!==n.return)r=o,n=a;else{for(var i=!1,s=o.child;s;){if(s===r){i=!0,r=o,n=a;break}if(s===n){i=!0,n=o,r=a;break}s=s.sibling}if(!i){for(s=a.child;s;){if(s===r){i=!0,r=a,n=o;break}if(s===n){i=!0,n=a,r=o;break}s=s.sibling}if(!i)throw Error(yE(189))}}if(r.alternate!==n)throw Error(yE(190))}if(3!==r.tag)throw Error(yE(188));return r.stateNode.current===r?e:t}function Cx(e){if(!(e=kx(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Sx(e,t){if(null==t)throw Error(yE(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function Bx(e,t,r){Array.isArray(e)?e.forEach(t,r):e&&t.call(r,e)}var Ex=null;function _x(e){if(e){var t=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(t))for(var n=0;n<t.length&&!e.isPropagationStopped();n++)PE(e,t[n],r[n]);else t&&PE(e,t,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function xx(e){if(null!==e&&(Ex=Sx(Ex,e)),e=Ex,Ex=null,e){if(Bx(e,_x),Ex)throw Error(yE(95));if(CE)throw e=SE,CE=!1,SE=null,e}}function Tx(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Ax(e){if(!jE)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var Px=[];function Ix(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Px.length&&Px.push(e)}function Rx(e,t,r,n){if(Px.length){var o=Px.pop();return o.topLevelType=e,o.eventSystemFlags=n,o.nativeEvent=t,o.targetInst=r,o}return{topLevelType:e,eventSystemFlags:n,nativeEvent:t,targetInst:r,ancestors:[]}}function Nx(e){var t=e.targetInst,r=t;do{if(!r){e.ancestors.push(r);break}var n=r;if(3===n.tag)n=n.stateNode.containerInfo;else{for(;n.return;)n=n.return;n=3!==n.tag?null:n.stateNode.containerInfo}if(!n)break;5!==(t=r.tag)&&6!==t||e.ancestors.push(r),r=JT(n)}while(r);for(r=0;r<e.ancestors.length;r++){t=e.ancestors[r];var o=Tx(e.nativeEvent);n=e.topLevelType;var a=e.nativeEvent,i=e.eventSystemFlags;0===r&&(i|=64);for(var s=null,c=0;c<DE.length;c++){var l=DE[c];l&&(l=l.extractEvents(n,t,a,o,i))&&(s=Sx(s,l))}xx(s)}}function Ox(e,t,r){if(!r.has(e)){switch(e){case"scroll":gT(t,"scroll",!0);break;case"focus":case"blur":gT(t,"focus",!0),gT(t,"blur",!0),r.set("blur",null),r.set("focus",null);break;case"cancel":case"close":Ax(e)&&gT(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===mx.indexOf(e)&&mT(e,t)}r.set(e,null)}}var Dx,Lx,Mx,Ux=!1,Fx=[],jx=null,Vx=null,zx=null,qx=new Map,Hx=new Map,Kx=[],Wx="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Gx="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Qx(e,t){var r=vx(t);Wx.forEach((function(e){Ox(e,t,r)})),Gx.forEach((function(e){Ox(e,t,r)}))}function Xx(e,t,r,n,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|r,nativeEvent:o,container:n}}function Yx(e,t){switch(e){case"focus":case"blur":jx=null;break;case"dragenter":case"dragleave":Vx=null;break;case"mouseover":case"mouseout":zx=null;break;case"pointerover":case"pointerout":qx.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hx.delete(t.pointerId)}}function $x(e,t,r,n,o,a){return null===e||e.nativeEvent!==a?(e=Xx(t,r,n,o,a),null!==t&&(null!==(t=eA(t))&&Lx(t)),e):(e.eventSystemFlags|=n,e)}function Zx(e,t,r,n,o){switch(t){case"focus":return jx=$x(jx,e,t,r,n,o),!0;case"dragenter":return Vx=$x(Vx,e,t,r,n,o),!0;case"mouseover":return zx=$x(zx,e,t,r,n,o),!0;case"pointerover":var a=o.pointerId;return qx.set(a,$x(qx.get(a)||null,e,t,r,n,o)),!0;case"gotpointercapture":return a=o.pointerId,Hx.set(a,$x(Hx.get(a)||null,e,t,r,n,o)),!0}return!1}function Jx(e){var t=JT(e.target);if(null!==t){var r=yx(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=bx(r)))return e.blockedOn=t,void vE.unstable_runWithPriority(e.priority,(function(){Mx(r)}))}else if(3===t&&r.stateNode.hydrate)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function eT(e){if(null!==e.blockedOn)return!1;var t=wT(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var r=eA(t);return null!==r&&Lx(r),e.blockedOn=t,!1}return!0}function tT(e,t,r){eT(e)&&r.delete(t)}function rT(){for(Ux=!1;0<Fx.length;){var e=Fx[0];if(null!==e.blockedOn){null!==(e=eA(e.blockedOn))&&Dx(e);break}var t=wT(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:Fx.shift()}null!==jx&&eT(jx)&&(jx=null),null!==Vx&&eT(Vx)&&(Vx=null),null!==zx&&eT(zx)&&(zx=null),qx.forEach(tT),Hx.forEach(tT)}function nT(e,t){e.blockedOn===t&&(e.blockedOn=null,Ux||(Ux=!0,vE.unstable_scheduleCallback(vE.unstable_NormalPriority,rT)))}function oT(e){function t(t){return nT(t,e)}if(0<Fx.length){nT(Fx[0],e);for(var r=1;r<Fx.length;r++){var n=Fx[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==jx&&nT(jx,e),null!==Vx&&nT(Vx,e),null!==zx&&nT(zx,e),qx.forEach(t),Hx.forEach(t),r=0;r<Kx.length;r++)(n=Kx[r]).blockedOn===e&&(n.blockedOn=null);for(;0<Kx.length&&null===(r=Kx[0]).blockedOn;)Jx(r),null===r.blockedOn&&Kx.shift()}var aT={},iT=new Map,sT=new Map,cT=["abort","abort",dx,"animationEnd",fx,"animationIteration",px,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",hx,"transitionEnd","waiting","waiting"];function lT(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],o=e[r+1],a="on"+(o[0].toUpperCase()+o.slice(1));a={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[n],eventPriority:t},sT.set(n,t),iT.set(n,a),aT[o]=a}}lT("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),lT("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),lT(cT,2);for(var uT="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),dT=0;dT<uT.length;dT++)sT.set(uT[dT],0);var fT=vE.unstable_UserBlockingPriority,pT=vE.unstable_runWithPriority,hT=!0;function mT(e,t){gT(t,e,!1)}function gT(e,t,r){var n=sT.get(t);switch(void 0===n?2:n){case 0:n=vT.bind(null,t,1,e);break;case 1:n=yT.bind(null,t,1,e);break;default:n=bT.bind(null,t,1,e)}r?e.addEventListener(t,n,!0):e.addEventListener(t,n,!1)}function vT(e,t,r,n){$E||XE();var o=bT,a=$E;$E=!0;try{QE(o,e,t,r,n)}finally{($E=a)||JE()}}function yT(e,t,r,n){pT(fT,bT.bind(null,e,t,r,n))}function bT(e,t,r,n){if(hT)if(0<Fx.length&&-1<Wx.indexOf(e))e=Xx(null,e,t,r,n),Fx.push(e);else{var o=wT(e,t,r,n);if(null===o)Yx(e,n);else if(-1<Wx.indexOf(e))e=Xx(o,e,t,r,n),Fx.push(e);else if(!Zx(o,e,t,r,n)){Yx(e,n),e=Rx(e,n,null,t);try{e_(Nx,e)}finally{Ix(e)}}}}function wT(e,t,r,n){if(null!==(r=JT(r=Tx(n)))){var o=yx(r);if(null===o)r=null;else{var a=o.tag;if(13===a){if(null!==(r=bx(o)))return r;r=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;r=null}else o!==r&&(r=null)}}e=Rx(e,n,r,t);try{e_(Nx,e)}finally{Ix(e)}return null}var kT={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},CT=["Webkit","ms","Moz","O"];function ST(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||kT.hasOwnProperty(e)&&kT[e]?(""+t).trim():t+"px"}function BT(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),o=ST(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}Object.keys(kT).forEach((function(e){CT.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),kT[t]=kT[e]}))}));var ET=lb({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _T(e,t){if(t){if(ET[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(yE(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(yE(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(yE(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(yE(62,""))}}function xT(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var TT=J_.html;function AT(e,t){var r=vx(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=UE[t];for(var n=0;n<t.length;n++)Ox(t[n],e,r)}function PT(){}function IT(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function RT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function NT(e,t){var r,n=RT(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=RT(n)}}function OT(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?OT(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function DT(){for(var e=window,t=IT();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=IT((e=t.contentWindow).document)}return t}function LT(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var MT="$",UT="/$",FT="$?",jT="$!",VT=null,zT=null;function qT(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function HT(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var KT="function"==typeof setTimeout?setTimeout:void 0,WT="function"==typeof clearTimeout?clearTimeout:void 0;function GT(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function QT(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if(r===MT||r===jT||r===FT){if(0===t)return e;t--}else r===UT&&t++}e=e.previousSibling}return null}var XT=Math.random().toString(36).slice(2),YT="__reactInternalInstance$"+XT,$T="__reactEventHandlers$"+XT,ZT="__reactContainere$"+XT;function JT(e){var t=e[YT];if(t)return t;for(var r=e.parentNode;r;){if(t=r[ZT]||r[YT]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=QT(e);null!==e;){if(r=e[YT])return r;e=QT(e)}return t}r=(e=r).parentNode}return null}function eA(e){return!(e=e[YT]||e[ZT])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function tA(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(yE(33))}function rA(e){return e[$T]||null}function nA(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function oA(e,t){var r=e.stateNode;if(!r)return null;var n=xE(r);if(!n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(yE(231,t,typeof r));return r}function aA(e,t,r){(t=oA(e,r.dispatchConfig.phasedRegistrationNames[t]))&&(r._dispatchListeners=Sx(r._dispatchListeners,t),r._dispatchInstances=Sx(r._dispatchInstances,e))}function iA(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,r=[];t;)r.push(t),t=nA(t);for(t=r.length;0<t--;)aA(r[t],"captured",e);for(t=0;t<r.length;t++)aA(r[t],"bubbled",e)}}function sA(e,t,r){e&&r&&r.dispatchConfig.registrationName&&(t=oA(e,r.dispatchConfig.registrationName))&&(r._dispatchListeners=Sx(r._dispatchListeners,t),r._dispatchInstances=Sx(r._dispatchInstances,e))}function cA(e){e&&e.dispatchConfig.registrationName&&sA(e._targetInst,null,e)}function lA(e){Bx(e,iA)}var uA=null,dA=null,fA=null;function pA(){if(fA)return fA;var e,t,r=dA,n=r.length,o="value"in uA?uA.value:uA.textContent,a=o.length;for(e=0;e<n&&r[e]===o[e];e++);var i=n-e;for(t=1;t<=i&&r[n-t]===o[a-t];t++);return fA=o.slice(e,1<t?1-t:void 0)}function hA(){return!0}function mA(){return!1}function gA(e,t,r,n){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=r,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(r):"target"===o?this.target=n:this[o]=r[o]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?hA:mA,this.isPropagationStopped=mA,this}function vA(e,t,r,n){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,r,n),o}return new this(e,t,r,n)}function yA(e){if(!(e instanceof this))throw Error(yE(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function bA(e){e.eventPool=[],e.getPooled=vA,e.release=yA}lb(gA.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=hA)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=hA)},persist:function(){this.isPersistent=hA},isPersistent:mA,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=mA,this._dispatchInstances=this._dispatchListeners=null}}),gA.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},gA.extend=function(e){function t(){}function r(){return n.apply(this,arguments)}var n=this;t.prototype=n.prototype;var o=new t;return lb(o,r.prototype),r.prototype=o,r.prototype.constructor=r,r.Interface=lb({},n.Interface,e),r.extend=n.extend,bA(r),r},bA(gA);var wA=gA.extend({data:null}),kA=gA.extend({data:null}),CA=[9,13,27,32],SA=jE&&"CompositionEvent"in window,BA=null;jE&&"documentMode"in document&&(BA=document.documentMode);var EA=jE&&"TextEvent"in window&&!BA,_A=jE&&(!SA||BA&&8<BA&&11>=BA),xA=String.fromCharCode(32),TA={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},AA=!1;function PA(e,t){switch(e){case"keyup":return-1!==CA.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function IA(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var RA=!1;function NA(e,t){switch(e){case"compositionend":return IA(t);case"keypress":return 32!==t.which?null:(AA=!0,xA);case"textInput":return(e=t.data)===xA&&AA?null:e;default:return null}}function OA(e,t){if(RA)return"compositionend"===e||!SA&&PA(e,t)?(e=pA(),fA=dA=uA=null,RA=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return _A&&"ko"!==t.locale?null:t.data;default:return null}}var DA={eventTypes:TA,extractEvents:function(e,t,r,n){var o;if(SA)e:{switch(e){case"compositionstart":var a=TA.compositionStart;break e;case"compositionend":a=TA.compositionEnd;break e;case"compositionupdate":a=TA.compositionUpdate;break e}a=void 0}else RA?PA(e,r)&&(a=TA.compositionEnd):"keydown"===e&&229===r.keyCode&&(a=TA.compositionStart);return a?(_A&&"ko"!==r.locale&&(RA||a!==TA.compositionStart?a===TA.compositionEnd&&RA&&(o=pA()):(dA="value"in(uA=n)?uA.value:uA.textContent,RA=!0)),a=wA.getPooled(a,t,r,n),o?a.data=o:null!==(o=IA(r))&&(a.data=o),lA(a),o=a):o=null,(e=EA?NA(e,r):OA(e,r))?((t=kA.getPooled(TA.beforeInput,t,r,n)).data=e,lA(t)):t=null,null===o?t:null===t?o:[o,t]}},LA={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function MA(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!LA[e.type]:"textarea"===t}var UA={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function FA(e,t,r){return(e=gA.getPooled(UA.change,e,t,r)).type="change",KE(r),lA(e),e}var jA=null,VA=null;function zA(e){xx(e)}function qA(e){if(F_(tA(e)))return e}function HA(e,t){if("change"===e)return t}var KA=!1;function WA(){jA&&(jA.detachEvent("onpropertychange",GA),VA=jA=null)}function GA(e){if("value"===e.propertyName&&qA(VA))if(e=FA(VA,e,Tx(e)),$E)xx(e);else{$E=!0;try{GE(zA,e)}finally{$E=!1,JE()}}}function QA(e,t,r){"focus"===e?(WA(),VA=r,(jA=t).attachEvent("onpropertychange",GA)):"blur"===e&&WA()}function XA(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qA(VA)}function YA(e,t){if("click"===e)return qA(t)}function $A(e,t){if("input"===e||"change"===e)return qA(t)}jE&&(KA=Ax("input")&&(!document.documentMode||9<document.documentMode));var ZA={eventTypes:UA,_isInputEventSupported:KA,extractEvents:function(e,t,r,n){var o=t?tA(t):window,a=o.nodeName&&o.nodeName.toLowerCase();if("select"===a||"input"===a&&"file"===o.type)var i=HA;else if(MA(o))if(KA)i=$A;else{i=XA;var s=QA}else(a=o.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(i=YA);if(i&&(i=i(e,t)))return FA(i,r,n);s&&s(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&K_(o,"number",o.value)}},JA=gA.extend({view:null,detail:null}),eP={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tP(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=eP[e])&&!!t[e]}function rP(){return tP}var nP=0,oP=0,aP=!1,iP=!1,sP=JA.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:rP,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=nP;return nP=e.screenX,aP?"mousemove"===e.type?e.screenX-t:0:(aP=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=oP;return oP=e.screenY,iP?"mousemove"===e.type?e.screenY-t:0:(iP=!0,0)}}),cP=sP.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),lP={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},uP={eventTypes:lP,extractEvents:function(e,t,r,n,o){var a="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(a&&0==(32&o)&&(r.relatedTarget||r.fromElement)||!i&&!a)return null;(a=n.window===n?n:(a=n.ownerDocument)?a.defaultView||a.parentWindow:window,i)?(i=t,null!==(t=(t=r.relatedTarget||r.toElement)?JT(t):null)&&(t!==yx(t)||5!==t.tag&&6!==t.tag)&&(t=null)):i=null;if(i===t)return null;if("mouseout"===e||"mouseover"===e)var s=sP,c=lP.mouseLeave,l=lP.mouseEnter,u="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=cP,c=lP.pointerLeave,l=lP.pointerEnter,u="pointer");if(e=null==i?a:tA(i),a=null==t?a:tA(t),(c=s.getPooled(c,i,r,n)).type=u+"leave",c.target=e,c.relatedTarget=a,(r=s.getPooled(l,t,r,n)).type=u+"enter",r.target=a,r.relatedTarget=e,u=t,(n=i)&&u)e:{for(l=u,i=0,e=s=n;e;e=nA(e))i++;for(e=0,t=l;t;t=nA(t))e++;for(;0<i-e;)s=nA(s),i--;for(;0<e-i;)l=nA(l),e--;for(;i--;){if(s===l||s===l.alternate)break e;s=nA(s),l=nA(l)}s=null}else s=null;for(l=s,s=[];n&&n!==l&&(null===(i=n.alternate)||i!==l);)s.push(n),n=nA(n);for(n=[];u&&u!==l&&(null===(i=u.alternate)||i!==l);)n.push(u),u=nA(u);for(u=0;u<s.length;u++)sA(s[u],"bubbled",c);for(u=n.length;0<u--;)sA(n[u],"captured",r);return 0==(64&o)?[c]:[c,r]}};function dP(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var fP="function"==typeof Object.is?Object.is:dP,pP=Object.prototype.hasOwnProperty;function hP(e,t){if(fP(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!pP.call(t,r[n])||!fP(e[r[n]],t[r[n]]))return!1;return!0}var mP=jE&&"documentMode"in document&&11>=document.documentMode,gP={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},vP=null,yP=null,bP=null,wP=!1;function kP(e,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return wP||null==vP||vP!==IT(r)?null:("selectionStart"in(r=vP)&&LT(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},bP&&hP(bP,r)?null:(bP=r,(e=gA.getPooled(gP.select,yP,e,t)).type="select",e.target=vP,lA(e),e))}var CP={eventTypes:gP,extractEvents:function(e,t,r,n,o,a){if(!(a=!(o=a||(n.window===n?n.document:9===n.nodeType?n:n.ownerDocument)))){e:{o=vx(o),a=UE.onSelect;for(var i=0;i<a.length;i++)if(!o.has(a[i])){o=!1;break e}o=!0}a=!o}if(a)return null;switch(o=t?tA(t):window,e){case"focus":(MA(o)||"true"===o.contentEditable)&&(vP=o,yP=t,bP=null);break;case"blur":bP=yP=vP=null;break;case"mousedown":wP=!0;break;case"contextmenu":case"mouseup":case"dragend":return wP=!1,kP(r,n);case"selectionchange":if(mP)break;case"keydown":case"keyup":return kP(r,n)}return null}},SP=gA.extend({animationName:null,elapsedTime:null,pseudoElement:null}),BP=gA.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),EP=JA.extend({relatedTarget:null});function _P(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var xP={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},TP={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},AP=JA.extend({key:function(e){if(e.key){var t=xP[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=_P(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?TP[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:rP,charCode:function(e){return"keypress"===e.type?_P(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?_P(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),PP=sP.extend({dataTransfer:null}),IP=JA.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:rP}),RP=gA.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),NP=sP.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),OP={eventTypes:aT,extractEvents:function(e,t,r,n){var o=iT.get(e);if(!o)return null;switch(e){case"keypress":if(0===_P(r))return null;case"keydown":case"keyup":e=AP;break;case"blur":case"focus":e=EP;break;case"click":if(2===r.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=sP;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=PP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=IP;break;case dx:case fx:case px:e=SP;break;case hx:e=RP;break;case"scroll":e=JA;break;case"wheel":e=NP;break;case"copy":case"cut":case"paste":e=BP;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=cP;break;default:e=gA}return lA(t=e.getPooled(o,t,r,n)),t}};if(IE)throw Error(yE(101));IE=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),NE();var DP=eA;xE=rA,TE=DP,AE=tA,FE({SimpleEventPlugin:OP,EnterLeaveEventPlugin:uP,ChangeEventPlugin:ZA,SelectEventPlugin:CP,BeforeInputEventPlugin:DA});var LP=[],MP=-1;function UP(e){0>MP||(e.current=LP[MP],LP[MP]=null,MP--)}function FP(e,t){MP++,LP[MP]=e.current,e.current=t}var jP={},VP={current:jP},zP={current:!1},qP=jP;function HP(e,t){var r=e.type.contextTypes;if(!r)return jP;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in r)a[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function KP(e){return null!=(e=e.childContextTypes)}function WP(){UP(zP),UP(VP)}function GP(e,t,r){if(VP.current!==jP)throw Error(yE(168));FP(VP,t),FP(zP,r)}function QP(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in e))throw Error(yE(108,N_(t)||"Unknown",o));return lb({},r,{},n)}function XP(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jP,qP=VP.current,FP(VP,e),FP(zP,zP.current),!0}function YP(e,t,r){var n=e.stateNode;if(!n)throw Error(yE(169));r?(e=QP(e,t,qP),n.__reactInternalMemoizedMergedChildContext=e,UP(zP),UP(VP),FP(VP,e)):UP(zP),FP(zP,r)}var $P=vE.unstable_runWithPriority,ZP=vE.unstable_scheduleCallback,JP=vE.unstable_cancelCallback,eI=vE.unstable_requestPaint,tI=vE.unstable_now,rI=vE.unstable_getCurrentPriorityLevel,nI=vE.unstable_ImmediatePriority,oI=vE.unstable_UserBlockingPriority,aI=vE.unstable_NormalPriority,iI=vE.unstable_LowPriority,sI=vE.unstable_IdlePriority,cI={},lI=vE.unstable_shouldYield,uI=void 0!==eI?eI:function(){},dI=null,fI=null,pI=!1,hI=tI(),mI=1e4>hI?tI:function(){return tI()-hI};function gI(){switch(rI()){case nI:return 99;case oI:return 98;case aI:return 97;case iI:return 96;case sI:return 95;default:throw Error(yE(332))}}function vI(e){switch(e){case 99:return nI;case 98:return oI;case 97:return aI;case 96:return iI;case 95:return sI;default:throw Error(yE(332))}}function yI(e,t){return e=vI(e),$P(e,t)}function bI(e,t,r){return e=vI(e),ZP(e,t,r)}function wI(e){return null===dI?(dI=[e],fI=ZP(nI,CI)):dI.push(e),cI}function kI(){if(null!==fI){var e=fI;fI=null,JP(e)}CI()}function CI(){if(!pI&&null!==dI){pI=!0;var e=0;try{var t=dI;yI(99,(function(){for(;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}})),dI=null}catch(t){throw null!==dI&&(dI=dI.slice(e+1)),ZP(nI,kI),t}finally{pI=!1}}}function SI(e,t,r){return 1073741821-(1+((1073741821-e+t/10)/(r/=10)|0))*r}function BI(e,t){if(e&&e.defaultProps)for(var r in t=lb({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}var EI={current:null},_I=null,xI=null,TI=null;function AI(){TI=xI=_I=null}function PI(e){var t=EI.current;UP(EI),e.type._context._currentValue=t}function II(e,t){for(;null!==e;){var r=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t);else{if(!(null!==r&&r.childExpirationTime<t))break;r.childExpirationTime=t}e=e.return}}function RI(e,t){_I=e,TI=xI=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(aN=!0),e.firstContext=null)}function NI(e,t){if(TI!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(TI=e,t=1073741823),t={context:e,observedBits:t,next:null},null===xI){if(null===_I)throw Error(yE(308));xI=t,_I.dependencies={expirationTime:0,firstContext:t,responders:null}}else xI=xI.next=t;return e._currentValue}var OI=!1;function DI(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function LI(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function MI(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function UI(e,t){if(null!==(e=e.updateQueue)){var r=(e=e.shared).pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function FI(e,t){var r=e.alternate;null!==r&&LI(r,e),null===(r=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=r.next,r.next=t)}function jI(e,t,r,n){var o=e.updateQueue;OI=!1;var a=o.baseQueue,i=o.shared.pending;if(null!==i){if(null!==a){var s=a.next;a.next=i.next,i.next=s}a=i,o.shared.pending=null,null!==(s=e.alternate)&&(null!==(s=s.updateQueue)&&(s.baseQueue=i))}if(null!==a){s=a.next;var c=o.baseState,l=0,u=null,d=null,f=null;if(null!==s)for(var p=s;;){if((i=p.expirationTime)<n){var h={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===f?(d=f=h,u=c):f=f.next=h,i>l&&(l=i)}else{null!==f&&(f=f.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),GO(i,p.suspenseConfig);e:{var m=e,g=p;switch(i=t,h=r,g.tag){case 1:if("function"==typeof(m=g.payload)){c=m.call(h,c,i);break e}c=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null==(i="function"==typeof(m=g.payload)?m.call(h,c,i):m))break e;c=lb({},c,i);break e;case 2:OI=!0}}null!==p.callback&&(e.effectTag|=32,null===(i=o.effects)?o.effects=[p]:i.push(p))}if(null===(p=p.next)||p===s){if(null===(i=o.shared.pending))break;p=a.next=i.next,i.next=s,o.baseQueue=a=i,o.shared.pending=null}}null===f?u=c:f.next=d,o.baseState=u,o.baseQueue=f,QO(l),e.expirationTime=l,e.memoizedState=c}}function VI(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(null!==o){if(n.callback=null,n=o,o=r,"function"!=typeof n)throw Error(yE(191,n));n.call(o)}}}var zI=f_.ReactCurrentBatchConfig,qI=(new xw.Component).refs;function HI(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:lb({},t,r),e.memoizedState=r,0===e.expirationTime&&(e.updateQueue.baseState=r)}var KI={isMounted:function(e){return!!(e=e._reactInternalFiber)&&yx(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternalFiber;var n=NO(),o=zI.suspense;(o=MI(n=OO(n,e,o),o)).payload=t,null!=r&&(o.callback=r),UI(e,o),DO(e,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternalFiber;var n=NO(),o=zI.suspense;(o=MI(n=OO(n,e,o),o)).tag=1,o.payload=t,null!=r&&(o.callback=r),UI(e,o),DO(e,n)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var r=NO(),n=zI.suspense;(n=MI(r=OO(r,e,n),n)).tag=2,null!=t&&(n.callback=t),UI(e,n),DO(e,r)}};function WI(e,t,r,n,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!hP(r,n)||!hP(o,a))}function GI(e,t,r){var n=!1,o=jP,a=t.contextType;return"object"==typeof a&&null!==a?a=NI(a):(o=KP(t)?qP:VP.current,a=(n=null!=(n=t.contextTypes))?HP(e,o):jP),t=new t(r,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=KI,e.stateNode=t,t._reactInternalFiber=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function QI(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&KI.enqueueReplaceState(t,t.state,null)}function XI(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs=qI,DI(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=NI(a):(a=KP(t)?qP:VP.current,o.context=HP(e,a)),jI(e,r,o,n),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(HI(e,t,a,r),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&KI.enqueueReplaceState(o,o.state,null),jI(e,r,o,n),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var YI=Array.isArray;function $I(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(yE(309));var n=r.stateNode}if(!n)throw Error(yE(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=n.refs;t===qI&&(t=n.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(yE(284));if(!r._owner)throw Error(yE(290,e))}return e}function ZI(e,t){if("textarea"!==e.type)throw Error(yE(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function JI(e){function t(t,r){if(e){var n=t.lastEffect;null!==n?(n.nextEffect=r,t.lastEffect=r):t.firstEffect=t.lastEffect=r,r.nextEffect=null,r.effectTag=8}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=gD(e,t)).index=0,e.sibling=null,e}function a(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.effectTag=2,r):n:(t.effectTag=2,r):r}function i(t){return e&&null===t.alternate&&(t.effectTag=2),t}function s(e,t,r,n){return null===t||6!==t.tag?((t=bD(r,e.mode,n)).return=e,t):((t=o(t,r)).return=e,t)}function c(e,t,r,n){return null!==t&&t.elementType===r.type?((n=o(t,r.props)).ref=$I(e,t,r),n.return=e,n):((n=vD(r.type,r.key,r.props,null,e.mode,n)).ref=$I(e,t,r),n.return=e,n)}function l(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=wD(r,e.mode,n)).return=e,t):((t=o(t,r.children||[])).return=e,t)}function u(e,t,r,n,a){return null===t||7!==t.tag?((t=yD(r,e.mode,n,a)).return=e,t):((t=o(t,r)).return=e,t)}function d(e,t,r){if("string"==typeof t||"number"==typeof t)return(t=bD(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case g_:return(r=vD(t.type,t.key,t.props,null,e.mode,r)).ref=$I(e,null,t),r.return=e,r;case v_:return(t=wD(t,e.mode,r)).return=e,t}if(YI(t)||I_(t))return(t=yD(t,e.mode,r,null)).return=e,t;ZI(e,t)}return null}function f(e,t,r,n){var o=null!==t?t.key:null;if("string"==typeof r||"number"==typeof r)return null!==o?null:s(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case g_:return r.key===o?r.type===y_?u(e,t,r.props.children,n,o):c(e,t,r,n):null;case v_:return r.key===o?l(e,t,r,n):null}if(YI(r)||I_(r))return null!==o?null:u(e,t,r,n,null);ZI(e,r)}return null}function p(e,t,r,n,o){if("string"==typeof n||"number"==typeof n)return s(t,e=e.get(r)||null,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case g_:return e=e.get(null===n.key?r:n.key)||null,n.type===y_?u(t,e,n.props.children,o,n.key):c(t,e,n,o);case v_:return l(t,e=e.get(null===n.key?r:n.key)||null,n,o)}if(YI(n)||I_(n))return u(t,e=e.get(r)||null,n,o,null);ZI(t,n)}return null}function h(o,i,s,c){for(var l=null,u=null,h=i,m=i=0,g=null;null!==h&&m<s.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=f(o,h,s[m],c);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),i=a(v,i,m),null===u?l=v:u.sibling=v,u=v,h=g}if(m===s.length)return r(o,h),l;if(null===h){for(;m<s.length;m++)null!==(h=d(o,s[m],c))&&(i=a(h,i,m),null===u?l=h:u.sibling=h,u=h);return l}for(h=n(o,h);m<s.length;m++)null!==(g=p(h,o,m,s[m],c))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),i=a(g,i,m),null===u?l=g:u.sibling=g,u=g);return e&&h.forEach((function(e){return t(o,e)})),l}function m(o,i,s,c){var l=I_(s);if("function"!=typeof l)throw Error(yE(150));if(null==(s=l.call(s)))throw Error(yE(151));for(var u=l=null,h=i,m=i=0,g=null,v=s.next();null!==h&&!v.done;m++,v=s.next()){h.index>m?(g=h,h=null):g=h.sibling;var y=f(o,h,v.value,c);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(o,h),i=a(y,i,m),null===u?l=y:u.sibling=y,u=y,h=g}if(v.done)return r(o,h),l;if(null===h){for(;!v.done;m++,v=s.next())null!==(v=d(o,v.value,c))&&(i=a(v,i,m),null===u?l=v:u.sibling=v,u=v);return l}for(h=n(o,h);!v.done;m++,v=s.next())null!==(v=p(h,o,m,v.value,c))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),i=a(v,i,m),null===u?l=v:u.sibling=v,u=v);return e&&h.forEach((function(e){return t(o,e)})),l}return function(e,n,a,s){var c="object"==typeof a&&null!==a&&a.type===y_&&null===a.key;c&&(a=a.props.children);var l="object"==typeof a&&null!==a;if(l)switch(a.$$typeof){case g_:e:{for(l=a.key,c=n;null!==c;){if(c.key===l){switch(c.tag){case 7:if(a.type===y_){r(e,c.sibling),(n=o(c,a.props.children)).return=e,e=n;break e}break;default:if(c.elementType===a.type){r(e,c.sibling),(n=o(c,a.props)).ref=$I(e,c,a),n.return=e,e=n;break e}}r(e,c);break}t(e,c),c=c.sibling}a.type===y_?((n=yD(a.props.children,e.mode,s,a.key)).return=e,e=n):((s=vD(a.type,a.key,a.props,null,e.mode,s)).ref=$I(e,n,a),s.return=e,e=s)}return i(e);case v_:e:{for(c=a.key;null!==n;){if(n.key===c){if(4===n.tag&&n.stateNode.containerInfo===a.containerInfo&&n.stateNode.implementation===a.implementation){r(e,n.sibling),(n=o(n,a.children||[])).return=e,e=n;break e}r(e,n);break}t(e,n),n=n.sibling}(n=wD(a,e.mode,s)).return=e,e=n}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==n&&6===n.tag?(r(e,n.sibling),(n=o(n,a)).return=e,e=n):(r(e,n),(n=bD(a,e.mode,s)).return=e,e=n),i(e);if(YI(a))return h(e,n,a,s);if(I_(a))return m(e,n,a,s);if(l&&ZI(e,a),void 0===a&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(yE(152,e.displayName||e.name||"Component"))}return r(e,n)}}var eR=JI(!0),tR=JI(!1),rR={},nR={current:rR},oR={current:rR},aR={current:rR};function iR(e){if(e===rR)throw Error(yE(174));return e}function sR(e,t){switch(FP(aR,t),FP(oR,e),FP(nR,rR),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:tx(null,"");break;default:t=tx(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}UP(nR),FP(nR,t)}function cR(){UP(nR),UP(oR),UP(aR)}function lR(e){iR(aR.current);var t=iR(nR.current),r=tx(t,e.type);t!==r&&(FP(oR,e),FP(nR,r))}function uR(e){oR.current===e&&(UP(nR),UP(oR))}var dR={current:0};function fR(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||r.data===FT||r.data===jT))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function pR(e,t){return{responder:e,props:t}}var hR=f_.ReactCurrentDispatcher,mR=f_.ReactCurrentBatchConfig,gR=0,vR=null,yR=null,bR=null,wR=!1;function kR(){throw Error(yE(321))}function CR(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!fP(e[r],t[r]))return!1;return!0}function SR(e,t,r,n,o,a){if(gR=a,vR=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,hR.current=null===e||null===e.memoizedState?WR:GR,e=r(n,o),t.expirationTime===gR){a=0;do{if(t.expirationTime=0,!(25>a))throw Error(yE(301));a+=1,bR=yR=null,t.updateQueue=null,hR.current=QR,e=r(n,o)}while(t.expirationTime===gR)}if(hR.current=KR,t=null!==yR&&null!==yR.next,gR=0,bR=yR=vR=null,wR=!1,t)throw Error(yE(300));return e}function BR(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===bR?vR.memoizedState=bR=e:bR=bR.next=e,bR}function ER(){if(null===yR){var e=vR.alternate;e=null!==e?e.memoizedState:null}else e=yR.next;var t=null===bR?vR.memoizedState:bR.next;if(null!==t)bR=t,yR=e;else{if(null===e)throw Error(yE(310));e={memoizedState:(yR=e).memoizedState,baseState:yR.baseState,baseQueue:yR.baseQueue,queue:yR.queue,next:null},null===bR?vR.memoizedState=bR=e:bR=bR.next=e}return bR}function _R(e,t){return"function"==typeof t?t(e):t}function xR(e){var t=ER(),r=t.queue;if(null===r)throw Error(yE(311));r.lastRenderedReducer=e;var n=yR,o=n.baseQueue,a=r.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}n.baseQueue=o=a,r.pending=null}if(null!==o){o=o.next,n=n.baseState;var s=i=a=null,c=o;do{var l=c.expirationTime;if(l<gR){var u={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===s?(i=s=u,a=n):s=s.next=u,l>vR.expirationTime&&(vR.expirationTime=l,QO(l))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),GO(l,c.suspenseConfig),n=c.eagerReducer===e?c.eagerState:e(n,c.action);c=c.next}while(null!==c&&c!==o);null===s?a=n:s.next=i,fP(n,t.memoizedState)||(aN=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=s,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function TR(e){var t=ER(),r=t.queue;if(null===r)throw Error(yE(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,a=t.memoizedState;if(null!==o){r.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);fP(a,t.memoizedState)||(aN=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function AR(e){var t=BR();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:_R,lastRenderedState:e}).dispatch=HR.bind(null,vR,e),[t.memoizedState,e]}function PR(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=vR.updateQueue)?(t={lastEffect:null},vR.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function IR(){return ER().memoizedState}function RR(e,t,r,n){var o=BR();vR.effectTag|=e,o.memoizedState=PR(1|t,r,void 0,void 0===n?null:n)}function NR(e,t,r,n){var o=ER();n=void 0===n?null:n;var a=void 0;if(null!==yR){var i=yR.memoizedState;if(a=i.destroy,null!==n&&CR(n,i.deps))return void PR(t,r,a,n)}vR.effectTag|=e,o.memoizedState=PR(1|t,r,a,n)}function OR(e,t){return RR(516,4,e,t)}function DR(e,t){return NR(516,4,e,t)}function LR(e,t){return NR(4,2,e,t)}function MR(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function UR(e,t,r){return r=null!=r?r.concat([e]):null,NR(4,2,MR.bind(null,t,e),r)}function FR(){}function jR(e,t){return BR().memoizedState=[e,void 0===t?null:t],e}function VR(e,t){var r=ER();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&CR(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function zR(e,t){var r=ER();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&CR(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function qR(e,t,r){var n=gI();yI(98>n?98:n,(function(){e(!0)})),yI(97<n?97:n,(function(){var n=mR.suspense;mR.suspense=void 0===t?null:t;try{e(!1),r()}finally{mR.suspense=n}}))}function HR(e,t,r){var n=NO(),o=zI.suspense;o={expirationTime:n=OO(n,e,o),suspenseConfig:o,action:r,eagerReducer:null,eagerState:null,next:null};var a=t.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===vR||null!==a&&a===vR)wR=!0,o.expirationTime=gR,vR.expirationTime=gR;else{if(0===e.expirationTime&&(null===a||0===a.expirationTime)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=a(i,r);if(o.eagerReducer=a,o.eagerState=s,fP(s,i))return}catch(e){}DO(e,n)}}var KR={readContext:NI,useCallback:kR,useContext:kR,useEffect:kR,useImperativeHandle:kR,useLayoutEffect:kR,useMemo:kR,useReducer:kR,useRef:kR,useState:kR,useDebugValue:kR,useResponder:kR,useDeferredValue:kR,useTransition:kR},WR={readContext:NI,useCallback:jR,useContext:NI,useEffect:OR,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,RR(4,2,MR.bind(null,t,e),r)},useLayoutEffect:function(e,t){return RR(4,2,e,t)},useMemo:function(e,t){var r=BR();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=BR();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e=(e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=HR.bind(null,vR,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},BR().memoizedState=e},useState:AR,useDebugValue:FR,useResponder:pR,useDeferredValue:function(e,t){var r=AR(e),n=r[0],o=r[1];return OR((function(){var r=mR.suspense;mR.suspense=void 0===t?null:t;try{o(e)}finally{mR.suspense=r}}),[e,t]),n},useTransition:function(e){var t=AR(!1),r=t[0];return t=t[1],[jR(qR.bind(null,t,e),[t,e]),r]}},GR={readContext:NI,useCallback:VR,useContext:NI,useEffect:DR,useImperativeHandle:UR,useLayoutEffect:LR,useMemo:zR,useReducer:xR,useRef:IR,useState:function(){return xR(_R)},useDebugValue:FR,useResponder:pR,useDeferredValue:function(e,t){var r=xR(_R),n=r[0],o=r[1];return DR((function(){var r=mR.suspense;mR.suspense=void 0===t?null:t;try{o(e)}finally{mR.suspense=r}}),[e,t]),n},useTransition:function(e){var t=xR(_R),r=t[0];return t=t[1],[VR(qR.bind(null,t,e),[t,e]),r]}},QR={readContext:NI,useCallback:VR,useContext:NI,useEffect:DR,useImperativeHandle:UR,useLayoutEffect:LR,useMemo:zR,useReducer:TR,useRef:IR,useState:function(){return TR(_R)},useDebugValue:FR,useResponder:pR,useDeferredValue:function(e,t){var r=TR(_R),n=r[0],o=r[1];return DR((function(){var r=mR.suspense;mR.suspense=void 0===t?null:t;try{o(e)}finally{mR.suspense=r}}),[e,t]),n},useTransition:function(e){var t=TR(_R),r=t[0];return t=t[1],[VR(qR.bind(null,t,e),[t,e]),r]}},XR=null,YR=null,$R=!1;function ZR(e,t){var r=pD(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function JR(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function eN(e){if($R){var t=YR;if(t){var r=t;if(!JR(e,t)){if(!(t=GT(r.nextSibling))||!JR(e,t))return e.effectTag=-1025&e.effectTag|2,$R=!1,void(XR=e);ZR(XR,r)}XR=e,YR=GT(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,$R=!1,XR=e}}function tN(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;XR=e}function rN(e){if(e!==XR)return!1;if(!$R)return tN(e),$R=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!HT(t,e.memoizedProps))for(t=YR;t;)ZR(e,t),t=GT(t.nextSibling);if(tN(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(yE(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if(r===UT){if(0===t){YR=GT(e.nextSibling);break e}t--}else r!==MT&&r!==jT&&r!==FT||t++}e=e.nextSibling}YR=null}}else YR=XR?GT(e.stateNode.nextSibling):null;return!0}function nN(){YR=XR=null,$R=!1}var oN=f_.ReactCurrentOwner,aN=!1;function iN(e,t,r,n){t.child=null===e?tR(t,null,r,n):eR(t,e.child,r,n)}function sN(e,t,r,n,o){r=r.render;var a=t.ref;return RI(t,o),n=SR(e,t,r,n,a,o),null===e||aN?(t.effectTag|=1,iN(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),BN(e,t,o))}function cN(e,t,r,n,o,a){if(null===e){var i=r.type;return"function"!=typeof i||hD(i)||void 0!==i.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=vD(r.type,null,n,null,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,lN(e,t,i,n,o,a))}return i=e.child,o<a&&(o=i.memoizedProps,(r=null!==(r=r.compare)?r:hP)(o,n)&&e.ref===t.ref)?BN(e,t,a):(t.effectTag|=1,(e=gD(i,n)).ref=t.ref,e.return=t,t.child=e)}function lN(e,t,r,n,o,a){return null!==e&&hP(e.memoizedProps,n)&&e.ref===t.ref&&(aN=!1,o<a)?(t.expirationTime=e.expirationTime,BN(e,t,a)):dN(e,t,r,n,a)}function uN(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.effectTag|=128)}function dN(e,t,r,n,o){var a=KP(r)?qP:VP.current;return a=HP(t,a),RI(t,o),r=SR(e,t,r,n,a,o),null===e||aN?(t.effectTag|=1,iN(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),BN(e,t,o))}function fN(e,t,r,n,o){if(KP(r)){var a=!0;XP(t)}else a=!1;if(RI(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),GI(t,r,n),XI(t,r,n,o),n=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var c=i.context,l=r.contextType;"object"==typeof l&&null!==l?l=NI(l):l=HP(t,l=KP(r)?qP:VP.current);var u=r.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==n||c!==l)&&QI(t,i,n,l),OI=!1;var f=t.memoizedState;i.state=f,jI(t,n,i,o),c=t.memoizedState,s!==n||f!==c||zP.current||OI?("function"==typeof u&&(HI(t,r,u,n),c=t.memoizedState),(s=OI||WI(t,r,s,n,f,c,l))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.effectTag|=4)):("function"==typeof i.componentDidMount&&(t.effectTag|=4),t.memoizedProps=n,t.memoizedState=c),i.props=n,i.state=c,i.context=l,n=s):("function"==typeof i.componentDidMount&&(t.effectTag|=4),n=!1)}else i=t.stateNode,LI(e,t),s=t.memoizedProps,i.props=t.type===t.elementType?s:BI(t.type,s),c=i.context,"object"==typeof(l=r.contextType)&&null!==l?l=NI(l):l=HP(t,l=KP(r)?qP:VP.current),(d="function"==typeof(u=r.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==n||c!==l)&&QI(t,i,n,l),OI=!1,c=t.memoizedState,i.state=c,jI(t,n,i,o),f=t.memoizedState,s!==n||c!==f||zP.current||OI?("function"==typeof u&&(HI(t,r,u,n),f=t.memoizedState),(u=OI||WI(t,r,s,n,c,f,l))?(d||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(n,f,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(n,f,l)),"function"==typeof i.componentDidUpdate&&(t.effectTag|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=n,t.memoizedState=f),i.props=n,i.state=f,i.context=l,n=u):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),n=!1);return pN(e,t,r,n,a,o)}function pN(e,t,r,n,o,a){uN(e,t);var i=0!=(64&t.effectTag);if(!n&&!i)return o&&YP(t,r,!1),BN(e,t,a);n=t.stateNode,oN.current=t;var s=i&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.effectTag|=1,null!==e&&i?(t.child=eR(t,e.child,null,a),t.child=eR(t,null,s,a)):iN(e,t,s,a),t.memoizedState=n.state,o&&YP(t,r,!0),t.child}function hN(e){var t=e.stateNode;t.pendingContext?GP(0,t.pendingContext,t.pendingContext!==t.context):t.context&&GP(0,t.context,!1),sR(e,t.containerInfo)}var mN,gN,vN,yN,bN={dehydrated:null,retryTime:0};function wN(e,t,r){var n,o=t.mode,a=t.pendingProps,i=dR.current,s=!1;if((n=0!=(64&t.effectTag))||(n=0!=(2&i)&&(null===e||null!==e.memoizedState)),n?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(i|=1),FP(dR,1&i),null===e){if(void 0!==a.fallback&&eN(t),s){if(s=a.fallback,(a=yD(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(r=yD(s,o,r,null)).return=t,a.sibling=r,t.memoizedState=bN,t.child=a,r}return o=a.children,t.memoizedState=null,t.child=tR(t,null,o,r)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,s){if(a=a.fallback,(r=gD(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(r.child=s;null!==s;)s.return=r,s=s.sibling;return(o=gD(o,a)).return=t,r.sibling=o,r.childExpirationTime=0,t.memoizedState=bN,t.child=r,o}return r=eR(t,e.child,a.children,r),t.memoizedState=null,t.child=r}if(e=e.child,s){if(s=a.fallback,(a=yD(null,o,0,null)).return=t,a.child=e,null!==e&&(e.return=a),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(r=yD(s,o,r,null)).return=t,a.sibling=r,r.effectTag|=2,a.childExpirationTime=0,t.memoizedState=bN,t.child=a,r}return t.memoizedState=null,t.child=eR(t,e,a.children,r)}function kN(e,t){e.expirationTime<t&&(e.expirationTime=t);var r=e.alternate;null!==r&&r.expirationTime<t&&(r.expirationTime=t),II(e.return,t)}function CN(e,t,r,n,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailExpiration:0,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailExpiration=0,i.tailMode=o,i.lastEffect=a)}function SN(e,t,r){var n=t.pendingProps,o=n.revealOrder,a=n.tail;if(iN(e,t,n.children,r),0!=(2&(n=dR.current)))n=1&n|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&kN(e,r);else if(19===e.tag)kN(e,r);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(FP(dR,n),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;null!==r;)null!==(e=r.alternate)&&null===fR(e)&&(o=r),r=r.sibling;null===(r=o)?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),CN(t,!1,o,r,a,t.lastEffect);break;case"backwards":for(r=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===fR(e)){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}CN(t,!0,r,null,a,t.lastEffect);break;case"together":CN(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function BN(e,t,r){null!==e&&(t.dependencies=e.dependencies);var n=t.expirationTime;if(0!==n&&QO(n),t.childExpirationTime<r)return null;if(null!==e&&t.child!==e.child)throw Error(yE(153));if(null!==t.child){for(r=gD(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=gD(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function EN(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function _N(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return KP(t.type)&&WP(),null;case 3:return cR(),UP(zP),UP(VP),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||!rN(t)||(t.effectTag|=4),gN(t),null;case 5:uR(t),r=iR(aR.current);var o=t.type;if(null!==e&&null!=t.stateNode)vN(e,t,o,n,r),e.ref!==t.ref&&(t.effectTag|=128);else{if(!n){if(null===t.stateNode)throw Error(yE(166));return null}if(e=iR(nR.current),rN(t)){n=t.stateNode,o=t.type;var a=t.memoizedProps;switch(n[YT]=t,n[$T]=a,o){case"iframe":case"object":case"embed":mT("load",n);break;case"video":case"audio":for(e=0;e<mx.length;e++)mT(mx[e],n);break;case"source":mT("error",n);break;case"img":case"image":case"link":mT("error",n),mT("load",n);break;case"form":mT("reset",n),mT("submit",n);break;case"details":mT("toggle",n);break;case"input":V_(n,a),mT("invalid",n),AT(r,"onChange");break;case"select":n._wrapperState={wasMultiple:!!a.multiple},mT("invalid",n),AT(r,"onChange");break;case"textarea":Y_(n,a),mT("invalid",n),AT(r,"onChange")}for(var i in _T(o,a),e=null,a)if(a.hasOwnProperty(i)){var s=a[i];"children"===i?"string"==typeof s?n.textContent!==s&&(e=["children",s]):"number"==typeof s&&n.textContent!==""+s&&(e=["children",""+s]):ME.hasOwnProperty(i)&&null!=s&&AT(r,i)}switch(o){case"input":U_(n),H_(n,a,!0);break;case"textarea":U_(n),Z_(n);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(n.onclick=PT)}r=e,t.updateQueue=r,null!==r&&(t.effectTag|=4)}else{switch(i=9===r.nodeType?r:r.ownerDocument,e===TT&&(e=ex(o)),e===TT?"script"===o?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=i.createElement(o,{is:n.is}):(e=i.createElement(o),"select"===o&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,o),e[YT]=t,e[$T]=n,mN(e,t,!1,!1),t.stateNode=e,i=xT(o,n),o){case"iframe":case"object":case"embed":mT("load",e),s=n;break;case"video":case"audio":for(s=0;s<mx.length;s++)mT(mx[s],e);s=n;break;case"source":mT("error",e),s=n;break;case"img":case"image":case"link":mT("error",e),mT("load",e),s=n;break;case"form":mT("reset",e),mT("submit",e),s=n;break;case"details":mT("toggle",e),s=n;break;case"input":V_(e,n),s=j_(e,n),mT("invalid",e),AT(r,"onChange");break;case"option":s=G_(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},s=lb({},n,{value:void 0}),mT("invalid",e),AT(r,"onChange");break;case"textarea":Y_(e,n),s=X_(e,n),mT("invalid",e),AT(r,"onChange");break;default:s=n}_T(o,s);var c=s;for(a in c)if(c.hasOwnProperty(a)){var l=c[a];"style"===a?BT(e,l):"dangerouslySetInnerHTML"===a?null!=(l=l?l.__html:void 0)&&ox(e,l):"children"===a?"string"==typeof l?("textarea"!==o||""!==l)&&ax(e,l):"number"==typeof l&&ax(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(ME.hasOwnProperty(a)?null!=l&&AT(r,a):null!=l&&p_(e,a,l,i))}switch(o){case"input":U_(e),H_(e,n,!1);break;case"textarea":U_(e),Z_(e);break;case"option":null!=n.value&&e.setAttribute("value",""+D_(n.value));break;case"select":e.multiple=!!n.multiple,null!=(r=n.value)?Q_(e,!!n.multiple,r,!1):null!=n.defaultValue&&Q_(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=PT)}qT(o,n)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)yN(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(yE(166));r=iR(aR.current),iR(nR.current),rN(t)?(r=t.stateNode,n=t.memoizedProps,r[YT]=t,r.nodeValue!==n&&(t.effectTag|=4)):((r=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[YT]=t,t.stateNode=r)}return null;case 13:return UP(dR),n=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=r,t):(r=null!==n,n=!1,null===e?void 0!==t.memoizedProps.fallback&&rN(t):(n=null!==(o=e.memoizedState),r||null===o||null!==(o=e.child.sibling)&&(null!==(a=t.firstEffect)?(t.firstEffect=o,o.nextEffect=a):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&dR.current)?pO===nO&&(pO=iO):(pO!==nO&&pO!==iO||(pO=sO),0!==yO&&null!==uO&&(SD(uO,fO),BD(uO,yO)))),(r||n)&&(t.effectTag|=4),null);case 4:return cR(),gN(t),null;case 10:return PI(t),null;case 17:return KP(t.type)&&WP(),null;case 19:if(UP(dR),null===(n=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(a=n.rendering)){if(o)EN(n,!1);else if(pO!==nO||null!==e&&0!=(64&e.effectTag))for(a=t.child;null!==a;){if(null!==(e=fR(a))){for(t.effectTag|=64,EN(n,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===n.lastEffect&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=t.child;null!==n;)a=r,(o=n).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=a,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,a=e.dependencies,o.dependencies=null===a?null:{expirationTime:a.expirationTime,firstContext:a.firstContext,responders:a.responders}),n=n.sibling;return FP(dR,1&dR.current|2),t.child}a=a.sibling}}else{if(!o)if(null!==(e=fR(a))){if(t.effectTag|=64,o=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.effectTag|=4),EN(n,!0),null===n.tail&&"hidden"===n.tailMode&&!a.alternate)return null!==(t=t.lastEffect=n.lastEffect)&&(t.nextEffect=null),null}else 2*mI()-n.renderingStartTime>n.tailExpiration&&1<r&&(t.effectTag|=64,o=!0,EN(n,!1),t.expirationTime=t.childExpirationTime=r-1);n.isBackwards?(a.sibling=t.child,t.child=a):(null!==(r=n.last)?r.sibling=a:t.child=a,n.last=a)}return null!==n.tail?(0===n.tailExpiration&&(n.tailExpiration=mI()+500),r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=mI(),r.sibling=null,t=dR.current,FP(dR,o?1&t|2:1&t),r):null}throw Error(yE(156,t.tag))}function xN(e){switch(e.tag){case 1:KP(e.type)&&WP();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(cR(),UP(zP),UP(VP),0!=(64&(t=e.effectTag)))throw Error(yE(285));return e.effectTag=-4097&t|64,e;case 5:return uR(e),null;case 13:return UP(dR),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return UP(dR),null;case 4:return cR(),null;case 10:return PI(e),null;default:return null}}function TN(e,t){return{value:e,source:t,stack:O_(t)}}mN=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},gN=function(){},vN=function(e,t,r,n,o){var a=e.memoizedProps;if(a!==n){var i,s,c=t.stateNode;switch(iR(nR.current),e=null,r){case"input":a=j_(c,a),n=j_(c,n),e=[];break;case"option":a=G_(c,a),n=G_(c,n),e=[];break;case"select":a=lb({},a,{value:void 0}),n=lb({},n,{value:void 0}),e=[];break;case"textarea":a=X_(c,a),n=X_(c,n),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof n.onClick&&(c.onclick=PT)}for(i in _T(r,n),r=null,a)if(!n.hasOwnProperty(i)&&a.hasOwnProperty(i)&&null!=a[i])if("style"===i)for(s in c=a[i])c.hasOwnProperty(s)&&(r||(r={}),r[s]="");else"dangerouslySetInnerHTML"!==i&&"children"!==i&&"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(ME.hasOwnProperty(i)?e||(e=[]):(e=e||[]).push(i,null));for(i in n){var l=n[i];if(c=null!=a?a[i]:void 0,n.hasOwnProperty(i)&&l!==c&&(null!=l||null!=c))if("style"===i)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(r||(r={}),r[s]="");for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(r||(r={}),r[s]=l[s])}else r||(e||(e=[]),e.push(i,r)),r=l;else"dangerouslySetInnerHTML"===i?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(e=e||[]).push(i,l)):"children"===i?c===l||"string"!=typeof l&&"number"!=typeof l||(e=e||[]).push(i,""+l):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&(ME.hasOwnProperty(i)?(null!=l&&AT(o,i),e||c===l||(e=[])):(e=e||[]).push(i,l))}r&&(e=e||[]).push("style",r),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},yN=function(e,t,r,n){r!==n&&(t.effectTag|=4)};var AN="function"==typeof WeakSet?WeakSet:Set;function PN(e,t){var r=t.source,n=t.stack;null===n&&null!==r&&(n=O_(r)),null!==r&&N_(r.type),t=t.value,null!==e&&1===e.tag&&N_(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function IN(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){iD(e,t)}}function RN(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){iD(e,t)}else t.current=null}function NN(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var r=e.memoizedProps,n=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?r:BI(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(yE(163))}function ON(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.destroy;r.destroy=void 0,void 0!==n&&n()}r=r.next}while(r!==t)}}function DN(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function LN(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:return void DN(3,r);case 1:if(e=r.stateNode,4&r.effectTag)if(null===t)e.componentDidMount();else{var n=r.elementType===r.type?t.memoizedProps:BI(r.type,t.memoizedProps);e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=r.updateQueue)&&VI(r,t,e));case 3:if(null!==(t=r.updateQueue)){if(e=null,null!==r.child)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}VI(r,t,e)}return;case 5:return e=r.stateNode,void(null===t&&4&r.effectTag&&qT(r.type,r.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===r.memoizedState&&(r=r.alternate,null!==r&&(r=r.memoizedState,null!==r&&(r=r.dehydrated,null!==r&&oT(r)))));case 19:case 17:case 20:case 21:return}throw Error(yE(163))}function MN(e,t,r){switch("function"==typeof uD&&uD(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e.next;yI(97<r?97:r,(function(){var e=n;do{var r=e.destroy;if(void 0!==r){var o=t;try{r()}catch(e){iD(o,e)}}e=e.next}while(e!==n)}))}break;case 1:RN(t),"function"==typeof(r=t.stateNode).componentWillUnmount&&IN(t,r);break;case 5:RN(t);break;case 4:qN(e,t,r)}}function UN(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&UN(t)}function FN(e){return 5===e.tag||3===e.tag||4===e.tag}function jN(e){e:{for(var t=e.return;null!==t;){if(FN(t)){var r=t;break e}t=t.return}throw Error(yE(160))}switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:case 4:t=t.containerInfo,n=!0;break;default:throw Error(yE(161))}16&r.effectTag&&(ax(t,""),r.effectTag&=-17);e:t:for(r=e;;){for(;null===r.sibling;){if(null===r.return||FN(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.effectTag)continue t;if(null===r.child||4===r.tag)continue t;r.child.return=r,r=r.child}if(!(2&r.effectTag)){r=r.stateNode;break e}}n?VN(e,r,t):zN(e,r,t)}function VN(e,t,r){var n=e.tag,o=5===n||6===n;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=PT));else if(4!==n&&null!==(e=e.child))for(VN(e,t,r),e=e.sibling;null!==e;)VN(e,t,r),e=e.sibling}function zN(e,t,r){var n=e.tag,o=5===n||6===n;if(o)e=o?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(zN(e,t,r),e=e.sibling;null!==e;)zN(e,t,r),e=e.sibling}function qN(e,t,r){for(var n,o,a=t,i=!1;;){if(!i){i=a.return;e:for(;;){if(null===i)throw Error(yE(160));switch(n=i.stateNode,i.tag){case 5:o=!1;break e;case 3:case 4:n=n.containerInfo,o=!0;break e}i=i.return}i=!0}if(5===a.tag||6===a.tag){e:for(var s=e,c=a,l=r,u=c;;)if(MN(s,u,l),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===c)break e;for(;null===u.sibling;){if(null===u.return||u.return===c)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}o?(s=n,c=a.stateNode,8===s.nodeType?s.parentNode.removeChild(c):s.removeChild(c)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,o=!0,a.child.return=a,a=a.child;continue}}else if(MN(e,a,r),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(i=!1)}a.sibling.return=a.return,a=a.sibling}}function HN(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ON(3,t);case 1:return;case 5:var r=t.stateNode;if(null!=r){var n=t.memoizedProps,o=null!==e?e.memoizedProps:n;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(r[$T]=n,"input"===e&&"radio"===n.type&&null!=n.name&&z_(r,n),xT(e,o),t=xT(e,n),o=0;o<a.length;o+=2){var i=a[o],s=a[o+1];"style"===i?BT(r,s):"dangerouslySetInnerHTML"===i?ox(r,s):"children"===i?ax(r,s):p_(r,i,s,t)}switch(e){case"input":q_(r,n);break;case"textarea":$_(r,n);break;case"select":t=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,null!=(e=n.value)?Q_(r,!!n.multiple,e,!1):t!==!!n.multiple&&(null!=n.defaultValue?Q_(r,!!n.multiple,n.defaultValue,!0):Q_(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(yE(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,oT(t.containerInfo)));case 12:return;case 13:if(r=t,null===t.memoizedState?n=!1:(n=!0,r=t.child,wO=mI()),null!==r)e:for(e=r;;){if(5===e.tag)a=e.stateNode,n?"function"==typeof(a=a.style).setProperty?a.setProperty("display","none","important"):a.display="none":(a=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,a.style.display=ST("display",o));else if(6===e.tag)e.stateNode.nodeValue=n?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(a=e.child.sibling).return=e,e=a;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===r)break;for(;null===e.sibling;){if(null===e.return||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void KN(t);case 19:return void KN(t);case 17:return}throw Error(yE(163))}function KN(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new AN),t.forEach((function(t){var n=cD.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}var WN="function"==typeof WeakMap?WeakMap:Map;function GN(e,t,r){(r=MI(r,null)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){SO||(SO=!0,BO=n),PN(e,t)},r}function QN(e,t,r){(r=MI(r,null)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var o=t.value;r.payload=function(){return PN(e,t),n(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(r.callback=function(){"function"!=typeof n&&(null===EO?EO=new Set([this]):EO.add(this),PN(e,t));var r=t.stack;this.componentDidCatch(t.value,{componentStack:null!==r?r:""})}),r}var XN,YN=Math.ceil,$N=f_.ReactCurrentDispatcher,ZN=f_.ReactCurrentOwner,JN=0,eO=8,tO=16,rO=32,nO=0,oO=1,aO=2,iO=3,sO=4,cO=5,lO=JN,uO=null,dO=null,fO=0,pO=nO,hO=null,mO=1073741823,gO=1073741823,vO=null,yO=0,bO=!1,wO=0,kO=500,CO=null,SO=!1,BO=null,EO=null,_O=!1,xO=null,TO=90,AO=null,PO=0,IO=null,RO=0;function NO(){return(lO&(tO|rO))!==JN?1073741821-(mI()/10|0):0!==RO?RO:RO=1073741821-(mI()/10|0)}function OO(e,t,r){if(0==(2&(t=t.mode)))return 1073741823;var n=gI();if(0==(4&t))return 99===n?1073741823:1073741822;if((lO&tO)!==JN)return fO;if(null!==r)e=SI(e,0|r.timeoutMs||5e3,250);else switch(n){case 99:e=1073741823;break;case 98:e=SI(e,150,100);break;case 97:case 96:e=SI(e,5e3,250);break;case 95:e=2;break;default:throw Error(yE(326))}return null!==uO&&e===fO&&--e,e}function DO(e,t){if(50<PO)throw PO=0,IO=null,Error(yE(185));if(null!==(e=LO(e,t))){var r=gI();1073741823===t?(lO&eO)!==JN&&(lO&(tO|rO))===JN?jO(e):(UO(e),lO===JN&&kI()):UO(e),(4&lO)===JN||98!==r&&99!==r||(null===AO?AO=new Map([[e,t]]):(void 0===(r=AO.get(e))||r>t)&&AO.set(e,t))}}function LO(e,t){e.expirationTime<t&&(e.expirationTime=t);var r=e.alternate;null!==r&&r.expirationTime<t&&(r.expirationTime=t);var n=e.return,o=null;if(null===n&&3===e.tag)o=e.stateNode;else for(;null!==n;){if(r=n.alternate,n.childExpirationTime<t&&(n.childExpirationTime=t),null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t),null===n.return&&3===n.tag){o=n.stateNode;break}n=n.return}return null!==o&&(uO===o&&(QO(t),pO===sO&&SD(o,fO)),BD(o,t)),o}function MO(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!CD(e,t=e.firstPendingTime))return t;var r=e.lastPingedTime;return 2>=(e=r>(e=e.nextKnownPendingLevel)?r:e)&&t!==e?0:e}function UO(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=wI(jO.bind(null,e));else{var t=MO(e),r=e.callbackNode;if(0===t)null!==r&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var n=NO();if(1073741823===t?n=99:1===t||2===t?n=95:n=0>=(n=10*(1073741821-t)-10*(1073741821-n))?99:250>=n?98:5250>=n?97:95,null!==r){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=n)return;r!==cI&&JP(r)}e.callbackExpirationTime=t,e.callbackPriority=n,t=1073741823===t?wI(jO.bind(null,e)):bI(n,FO.bind(null,e),{timeout:10*(1073741821-t)-mI()}),e.callbackNode=t}}}function FO(e,t){if(RO=0,t)return ED(e,t=NO()),UO(e),null;var r=MO(e);if(0!==r){if(t=e.callbackNode,(lO&(tO|rO))!==JN)throw Error(yE(327));if(nD(),e===uO&&r===fO||HO(e,r),null!==dO){var n=lO;lO|=tO;for(var o=WO();;)try{YO();break}catch(t){KO(e,t)}if(AI(),lO=n,$N.current=o,pO===oO)throw t=hO,HO(e,r),SD(e,r),UO(e),t;if(null===dO)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=r,n=pO,uO=null,n){case nO:case oO:throw Error(yE(345));case aO:ED(e,2<r?2:r);break;case iO:if(SD(e,r),r===(n=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=JO(o)),1073741823===mO&&10<(o=wO+kO-mI())){if(bO){var a=e.lastPingedTime;if(0===a||a>=r){e.lastPingedTime=r,HO(e,r);break}}if(0!==(a=MO(e))&&a!==r)break;if(0!==n&&n!==r){e.lastPingedTime=n;break}e.timeoutHandle=KT(eD.bind(null,e),o);break}eD(e);break;case sO:if(SD(e,r),r===(n=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=JO(o)),bO&&(0===(o=e.lastPingedTime)||o>=r)){e.lastPingedTime=r,HO(e,r);break}if(0!==(o=MO(e))&&o!==r)break;if(0!==n&&n!==r){e.lastPingedTime=n;break}if(1073741823!==gO?n=10*(1073741821-gO)-mI():1073741823===mO?n=0:(n=10*(1073741821-mO)-5e3,0>(n=(o=mI())-n)&&(n=0),(r=10*(1073741821-r)-o)<(n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*YN(n/1960))-n)&&(n=r)),10<n){e.timeoutHandle=KT(eD.bind(null,e),n);break}eD(e);break;case cO:if(1073741823!==mO&&null!==vO){a=mO;var i=vO;if(0>=(n=0|i.busyMinDurationMs)?n=0:(o=0|i.busyDelayMs,n=(a=mI()-(10*(1073741821-a)-(0|i.timeoutMs||5e3)))<=o?0:o+n-a),10<n){SD(e,r),e.timeoutHandle=KT(eD.bind(null,e),n);break}}eD(e);break;default:throw Error(yE(329))}if(UO(e),e.callbackNode===t)return FO.bind(null,e)}}return null}function jO(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(lO&(tO|rO))!==JN)throw Error(yE(327));if(nD(),e===uO&&t===fO||HO(e,t),null!==dO){var r=lO;lO|=tO;for(var n=WO();;)try{XO();break}catch(t){KO(e,t)}if(AI(),lO=r,$N.current=n,pO===oO)throw r=hO,HO(e,t),SD(e,t),UO(e),r;if(null!==dO)throw Error(yE(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,uO=null,eD(e),UO(e)}return null}function VO(){if(null!==AO){var e=AO;AO=null,e.forEach((function(e,t){ED(t,e),UO(t)})),kI()}}function zO(e,t){var r=lO;lO|=1;try{return e(t)}finally{(lO=r)===JN&&kI()}}function qO(e,t){var r=lO;lO&=-2,lO|=eO;try{return e(t)}finally{(lO=r)===JN&&kI()}}function HO(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,WT(r)),null!==dO)for(r=dO.return;null!==r;){var n=r;switch(n.tag){case 1:null!=(n=n.type.childContextTypes)&&WP();break;case 3:cR(),UP(zP),UP(VP);break;case 5:uR(n);break;case 4:cR();break;case 13:case 19:UP(dR);break;case 10:PI(n)}r=r.return}uO=e,dO=gD(e.current,null),fO=t,pO=nO,hO=null,gO=mO=1073741823,vO=null,yO=0,bO=!1}function KO(e,t){for(;;){try{if(AI(),hR.current=KR,wR)for(var r=vR.memoizedState;null!==r;){var n=r.queue;null!==n&&(n.pending=null),r=r.next}if(gR=0,bR=yR=vR=null,wR=!1,null===dO||null===dO.return)return pO=oO,hO=t,dO=null;e:{var o=e,a=dO.return,i=dO,s=t;if(t=fO,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s;if(0==(2&i.mode)){var l=i.alternate;l?(i.updateQueue=l.updateQueue,i.memoizedState=l.memoizedState,i.expirationTime=l.expirationTime):(i.updateQueue=null,i.memoizedState=null)}var u=0!=(1&dR.current),d=a;do{var f;if(f=13===d.tag){var p=d.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var h=d.memoizedProps;f=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!u)}}if(f){var m=d.updateQueue;if(null===m){var g=new Set;g.add(c),d.updateQueue=g}else m.add(c);if(0==(2&d.mode)){if(d.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var v=MI(1073741823,null);v.tag=2,UI(i,v)}i.expirationTime=1073741823;break e}s=void 0,i=t;var y=o.pingCache;if(null===y?(y=o.pingCache=new WN,s=new Set,y.set(c,s)):void 0===(s=y.get(c))&&(s=new Set,y.set(c,s)),!s.has(i)){s.add(i);var b=sD.bind(null,o,c,i);c.then(b,b)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((N_(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+O_(i))}pO!==cO&&(pO=aO),s=TN(s,i),d=a;do{switch(d.tag){case 3:c=s,d.effectTag|=4096,d.expirationTime=t,FI(d,GN(d,c,t));break e;case 1:c=s;var w=d.type,k=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===EO||!EO.has(k)))){d.effectTag|=4096,d.expirationTime=t,FI(d,QN(d,c,t));break e}}d=d.return}while(null!==d)}dO=ZO(dO)}catch(e){t=e;continue}break}}function WO(){var e=$N.current;return $N.current=KR,null===e?KR:e}function GO(e,t){e<mO&&2<e&&(mO=e),null!==t&&e<gO&&2<e&&(gO=e,vO=t)}function QO(e){e>yO&&(yO=e)}function XO(){for(;null!==dO;)dO=$O(dO)}function YO(){for(;null!==dO&&!lI();)dO=$O(dO)}function $O(e){var t=XN(e.alternate,e,fO);return e.memoizedProps=e.pendingProps,null===t&&(t=ZO(e)),ZN.current=null,t}function ZO(e){dO=e;do{var t=dO.alternate;if(e=dO.return,0==(2048&dO.effectTag)){if(t=_N(t,dO,fO),1===fO||1!==dO.childExpirationTime){for(var r=0,n=dO.child;null!==n;){var o=n.expirationTime,a=n.childExpirationTime;o>r&&(r=o),a>r&&(r=a),n=n.sibling}dO.childExpirationTime=r}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=dO.firstEffect),null!==dO.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=dO.firstEffect),e.lastEffect=dO.lastEffect),1<dO.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=dO:e.firstEffect=dO,e.lastEffect=dO))}else{if(null!==(t=xN(dO)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=dO.sibling))return t;dO=e}while(null!==dO);return pO===nO&&(pO=cO),null}function JO(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function eD(e){var t=gI();return yI(99,tD.bind(null,e,t)),null}function tD(e,t){do{nD()}while(null!==xO);if((lO&(tO|rO))!==JN)throw Error(yE(327));var r=e.finishedWork,n=e.finishedExpirationTime;if(null===r)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,r===e.current)throw Error(yE(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=JO(r);if(e.firstPendingTime=o,n<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:n<=e.firstSuspendedTime&&(e.firstSuspendedTime=n-1),n<=e.lastPingedTime&&(e.lastPingedTime=0),n<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===uO&&(dO=uO=null,fO=0),1<r.effectTag?null!==r.lastEffect?(r.lastEffect.nextEffect=r,o=r.firstEffect):o=r:o=r.firstEffect,null!==o){var a=lO;lO|=rO,ZN.current=null,VT=hT;var i=DT();if(LT(i)){if("selectionStart"in i)var s={start:i.selectionStart,end:i.selectionEnd};else e:{var c=(s=(s=i.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection();if(c&&0!==c.rangeCount){s=c.anchorNode;var l=c.anchorOffset,u=c.focusNode;c=c.focusOffset;try{s.nodeType,u.nodeType}catch(e){s=null;break e}var d=0,f=-1,p=-1,h=0,m=0,g=i,v=null;t:for(;;){for(var y;g!==s||0!==l&&3!==g.nodeType||(f=d+l),g!==u||0!==c&&3!==g.nodeType||(p=d+c),3===g.nodeType&&(d+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===i)break t;if(v===s&&++h===l&&(f=d),v===u&&++m===c&&(p=d),null!==(y=g.nextSibling))break;v=(g=v).parentNode}g=y}s=-1===f||-1===p?null:{start:f,end:p}}else s=null}s=s||{start:0,end:0}}else s=null;zT={activeElementDetached:null,focusedElem:i,selectionRange:s},hT=!1,CO=o;do{try{rD()}catch(e){if(null===CO)throw Error(yE(330));iD(CO,e),CO=CO.nextEffect}}while(null!==CO);CO=o;do{try{for(i=e,s=t;null!==CO;){var b=CO.effectTag;if(16&b&&ax(CO.stateNode,""),128&b){var w=CO.alternate;if(null!==w){var k=w.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&b){case 2:jN(CO),CO.effectTag&=-3;break;case 6:jN(CO),CO.effectTag&=-3,HN(CO.alternate,CO);break;case 1024:CO.effectTag&=-1025;break;case 1028:CO.effectTag&=-1025,HN(CO.alternate,CO);break;case 4:HN(CO.alternate,CO);break;case 8:qN(i,l=CO,s),UN(l)}CO=CO.nextEffect}}catch(e){if(null===CO)throw Error(yE(330));iD(CO,e),CO=CO.nextEffect}}while(null!==CO);if(k=zT,w=DT(),b=k.focusedElem,s=k.selectionRange,w!==b&&b&&b.ownerDocument&&OT(b.ownerDocument.documentElement,b)){null!==s&&LT(b)&&(w=s.start,void 0===(k=s.end)&&(k=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(k,b.value.length)):(k=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(k=k.getSelection(),l=b.textContent.length,i=Math.min(s.start,l),s=void 0===s.end?i:Math.min(s.end,l),!k.extend&&i>s&&(l=s,s=i,i=l),l=NT(b,i),u=NT(b,s),l&&u&&(1!==k.rangeCount||k.anchorNode!==l.node||k.anchorOffset!==l.offset||k.focusNode!==u.node||k.focusOffset!==u.offset)&&((w=w.createRange()).setStart(l.node,l.offset),k.removeAllRanges(),i>s?(k.addRange(w),k.extend(u.node,u.offset)):(w.setEnd(u.node,u.offset),k.addRange(w))))),w=[];for(k=b;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(k=w[b]).element.scrollLeft=k.left,k.element.scrollTop=k.top}hT=!!VT,zT=VT=null,e.current=r,CO=o;do{try{for(b=e;null!==CO;){var C=CO.effectTag;if(36&C&&LN(b,CO.alternate,CO),128&C){w=void 0;var S=CO.ref;if(null!==S){var B=CO.stateNode;switch(CO.tag){case 5:w=B;break;default:w=B}"function"==typeof S?S(w):S.current=w}}CO=CO.nextEffect}}catch(e){if(null===CO)throw Error(yE(330));iD(CO,e),CO=CO.nextEffect}}while(null!==CO);CO=null,uI(),lO=a}else e.current=r;if(_O)_O=!1,xO=e,TO=t;else for(CO=o;null!==CO;)t=CO.nextEffect,CO.nextEffect=null,CO=t;if(0===(t=e.firstPendingTime)&&(EO=null),1073741823===t?e===IO?PO++:(PO=0,IO=e):PO=0,"function"==typeof lD&&lD(r.stateNode,n),UO(e),SO)throw SO=!1,e=BO,BO=null,e;return(lO&eO)!==JN||kI(),null}function rD(){for(;null!==CO;){var e=CO.effectTag;0!=(256&e)&&NN(CO.alternate,CO),0==(512&e)||_O||(_O=!0,bI(97,(function(){return nD(),null}))),CO=CO.nextEffect}}function nD(){if(90!==TO){var e=97<TO?97:TO;return TO=90,yI(e,oD)}}function oD(){if(null===xO)return!1;var e=xO;if(xO=null,(lO&(tO|rO))!==JN)throw Error(yE(331));var t=lO;for(lO|=rO,e=e.current.firstEffect;null!==e;){try{var r=e;if(0!=(512&r.effectTag))switch(r.tag){case 0:case 11:case 15:case 22:ON(5,r),DN(5,r)}}catch(t){if(null===e)throw Error(yE(330));iD(e,t)}r=e.nextEffect,e.nextEffect=null,e=r}return lO=t,kI(),!0}function aD(e,t,r){UI(e,t=GN(e,t=TN(r,t),1073741823)),null!==(e=LO(e,1073741823))&&UO(e)}function iD(e,t){if(3===e.tag)aD(e,e,t);else for(var r=e.return;null!==r;){if(3===r.tag){aD(r,e,t);break}if(1===r.tag){var n=r.stateNode;if("function"==typeof r.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===EO||!EO.has(n))){UI(r,e=QN(r,e=TN(t,e),1073741823)),null!==(r=LO(r,1073741823))&&UO(r);break}}r=r.return}}function sD(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),uO===e&&fO===r?pO===sO||pO===iO&&1073741823===mO&&mI()-wO<kO?HO(e,fO):bO=!0:CD(e,r)&&(0!==(t=e.lastPingedTime)&&t<r||(e.lastPingedTime=r,UO(e)))}function cD(e,t){var r=e.stateNode;null!==r&&r.delete(t),0===(t=0)&&(t=OO(t=NO(),e,null)),null!==(e=LO(e,t))&&UO(e)}XN=function(e,t,r){var n=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||zP.current)aN=!0;else{if(n<r){switch(aN=!1,t.tag){case 3:hN(t),nN();break;case 5:if(lR(t),4&t.mode&&1!==r&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:KP(t.type)&&XP(t);break;case 4:sR(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value,o=t.type._context,FP(EI,o._currentValue),o._currentValue=n;break;case 13:if(null!==t.memoizedState)return 0!==(n=t.child.childExpirationTime)&&n>=r?wN(e,t,r):(FP(dR,1&dR.current),null!==(t=BN(e,t,r))?t.sibling:null);FP(dR,1&dR.current);break;case 19:if(n=t.childExpirationTime>=r,0!=(64&e.effectTag)){if(n)return SN(e,t,r);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),FP(dR,dR.current),!n)return null}return BN(e,t,r)}aN=!1}}else aN=!1;switch(t.expirationTime=0,t.tag){case 2:if(n=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=HP(t,VP.current),RI(t,r),o=SR(null,t,n,e,o,r),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,KP(n)){var a=!0;XP(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,DI(t);var i=n.getDerivedStateFromProps;"function"==typeof i&&HI(t,n,i,e),o.updater=KI,t.stateNode=o,o._reactInternalFiber=t,XI(t,n,e,r),t=pN(null,t,n,!0,a,r)}else t.tag=0,iN(null,t,o,r),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,R_(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,a=t.tag=mD(o),e=BI(o,e),a){case 0:t=dN(null,t,o,e,r);break e;case 1:t=fN(null,t,o,e,r);break e;case 11:t=sN(null,t,o,e,r);break e;case 14:t=cN(null,t,o,BI(o.type,e),n,r);break e}throw Error(yE(306,o,""))}return t;case 0:return n=t.type,o=t.pendingProps,dN(e,t,n,o=t.elementType===n?o:BI(n,o),r);case 1:return n=t.type,o=t.pendingProps,fN(e,t,n,o=t.elementType===n?o:BI(n,o),r);case 3:if(hN(t),n=t.updateQueue,null===e||null===n)throw Error(yE(282));if(n=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,LI(e,t),jI(t,n,null,r),(n=t.memoizedState.element)===o)nN(),t=BN(e,t,r);else{if((o=t.stateNode.hydrate)&&(YR=GT(t.stateNode.containerInfo.firstChild),XR=t,o=$R=!0),o)for(r=tR(t,null,n,r),t.child=r;r;)r.effectTag=-3&r.effectTag|1024,r=r.sibling;else iN(e,t,n,r),nN();t=t.child}return t;case 5:return lR(t),null===e&&eN(t),n=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,HT(n,o)?i=null:null!==a&&HT(n,a)&&(t.effectTag|=16),uN(e,t),4&t.mode&&1!==r&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(iN(e,t,i,r),t=t.child),t;case 6:return null===e&&eN(t),null;case 13:return wN(e,t,r);case 4:return sR(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=eR(t,null,n,r):iN(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,sN(e,t,n,o=t.elementType===n?o:BI(n,o),r);case 7:return iN(e,t,t.pendingProps,r),t.child;case 8:case 12:return iN(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value;var s=t.type._context;if(FP(EI,s._currentValue),s._currentValue=a,null!==i)if(s=i.value,0===(a=fP(s,a)?0:0|("function"==typeof n._calculateChangedBits?n._calculateChangedBits(s,a):1073741823))){if(i.children===o.children&&!zP.current){t=BN(e,t,r);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var c=s.dependencies;if(null!==c){i=s.child;for(var l=c.firstContext;null!==l;){if(l.context===n&&0!=(l.observedBits&a)){1===s.tag&&((l=MI(r,null)).tag=2,UI(s,l)),s.expirationTime<r&&(s.expirationTime=r),null!==(l=s.alternate)&&l.expirationTime<r&&(l.expirationTime=r),II(s.return,r),c.expirationTime<r&&(c.expirationTime=r);break}l=l.next}}else i=10===s.tag&&s.type===t.type?null:s.child;if(null!==i)i.return=s;else for(i=s;null!==i;){if(i===t){i=null;break}if(null!==(s=i.sibling)){s.return=i.return,i=s;break}i=i.return}s=i}iN(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=(a=t.pendingProps).children,RI(t,r),n=n(o=NI(o,a.unstable_observedBits)),t.effectTag|=1,iN(e,t,n,r),t.child;case 14:return a=BI(o=t.type,t.pendingProps),cN(e,t,o,a=BI(o.type,a),n,r);case 15:return lN(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:BI(n,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,KP(n)?(e=!0,XP(t)):e=!1,RI(t,r),GI(t,n,o),XI(t,n,o,r),pN(null,t,n,!0,e,r);case 19:return SN(e,t,r)}throw Error(yE(156,t.tag))};var lD=null,uD=null;function dD(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var r=t.inject(e);lD=function(e){try{t.onCommitFiberRoot(r,e,void 0,64==(64&e.current.effectTag))}catch(e){}},uD=function(e){try{t.onCommitFiberUnmount(r,e)}catch(e){}}}catch(e){}return!0}function fD(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function pD(e,t,r,n){return new fD(e,t,r,n)}function hD(e){return!(!(e=e.prototype)||!e.isReactComponent)}function mD(e){if("function"==typeof e)return hD(e)?1:0;if(null!=e){if((e=e.$$typeof)===B_)return 11;if(e===x_)return 14}return 2}function gD(e,t){var r=e.alternate;return null===r?((r=pD(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childExpirationTime=e.childExpirationTime,r.expirationTime=e.expirationTime,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function vD(e,t,r,n,o,a){var i=2;if(n=e,"function"==typeof e)hD(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case y_:return yD(r.children,o,a,t);case S_:i=8,o|=7;break;case b_:i=8,o|=1;break;case w_:return(e=pD(12,r,t,8|o)).elementType=w_,e.type=w_,e.expirationTime=a,e;case E_:return(e=pD(13,r,t,o)).type=E_,e.elementType=E_,e.expirationTime=a,e;case __:return(e=pD(19,r,t,o)).elementType=__,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k_:i=10;break e;case C_:i=9;break e;case B_:i=11;break e;case x_:i=14;break e;case T_:i=16,n=null;break e;case A_:i=22;break e}throw Error(yE(130,null==e?e:typeof e,""))}return(t=pD(i,r,t,o)).elementType=e,t.type=n,t.expirationTime=a,t}function yD(e,t,r,n){return(e=pD(7,e,n,t)).expirationTime=r,e}function bD(e,t,r){return(e=pD(6,e,null,t)).expirationTime=r,e}function wD(e,t,r){return(t=pD(4,null!==e.children?e.children:[],e.key,t)).expirationTime=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kD(e,t,r){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function CD(e,t){var r=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==r&&r>=t&&e<=t}function SD(e,t){var r=e.firstSuspendedTime,n=e.lastSuspendedTime;r<t&&(e.firstSuspendedTime=t),(n>t||0===r)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function BD(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var r=e.firstSuspendedTime;0!==r&&(t>=r?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function ED(e,t){var r=e.lastExpiredTime;(0===r||r>t)&&(e.lastExpiredTime=t)}function _D(e,t,r,n){var o=t.current,a=NO(),i=zI.suspense;a=OO(a,o,i);e:if(r){t:{if(yx(r=r._reactInternalFiber)!==r||1!==r.tag)throw Error(yE(170));var s=r;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(KP(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(yE(171))}if(1===r.tag){var c=r.type;if(KP(c)){r=QP(r,c,s);break e}}r=s}else r=jP;return null===t.context?t.context=r:t.pendingContext=r,(t=MI(a,i)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),UI(o,t),DO(o,a),a}function xD(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function TD(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function AD(e,t){TD(e,t),(e=e.alternate)&&TD(e,t)}function PD(e,t,r){var n=new kD(e,t,r=null!=r&&!0===r.hydrate),o=pD(3,null,null,2===t?7:1===t?3:0);n.current=o,o.stateNode=n,DI(o),e[ZT]=n.current,r&&0!==t&&Qx(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=n}function ID(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function RD(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new PD(e,0,t?{hydrate:!0}:void 0)}function ND(e,t,r,n,o){var a=r._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var s=o;o=function(){var e=xD(i);s.call(e)}}_D(t,i,e,o)}else{if(a=r._reactRootContainer=RD(r,n),i=a._internalRoot,"function"==typeof o){var c=o;o=function(){var e=xD(i);c.call(e)}}qO((function(){_D(t,i,e,o)}))}return xD(i)}function OD(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:v_,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}function DD(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ID(t))throw Error(yE(200));return OD(e,t,null,r)}PD.prototype.render=function(e){_D(e,this._internalRoot,null,null)},PD.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;_D(null,e,null,(function(){t[ZT]=null}))},Dx=function(e){if(13===e.tag){var t=SI(NO(),150,100);DO(e,t),AD(e,t)}},Lx=function(e){13===e.tag&&(DO(e,3),AD(e,3))},Mx=function(e){if(13===e.tag){var t=NO();DO(e,t=OO(t,e,null)),AD(e,t)}},VE=function(e,t,r){switch(t){case"input":if(q_(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=rA(n);if(!o)throw Error(yE(90));F_(n),q_(n,o)}}}break;case"textarea":$_(e,r);break;case"select":null!=(t=r.value)&&Q_(e,!!r.multiple,t,!1)}},GE=zO,QE=function(e,t,r,n,o){var a=lO;lO|=4;try{return yI(98,e.bind(null,t,r,n,o))}finally{(lO=a)===JN&&kI()}},XE=function(){(lO&(1|tO|rO))===JN&&(VO(),nD())},YE=function(e,t){var r=lO;lO|=2;try{return e(t)}finally{(lO=r)===JN&&kI()}};var LD={Events:[eA,tA,rA,FE,LE,lA,function(e){Bx(e,cA)},KE,WE,bT,xx,nD,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;dD(lb({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:f_.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Cx(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:JT,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"});var MD=LD,UD=DD,FD=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(yE(188));throw Error(yE(268,Object.keys(e)))}return e=null===(e=Cx(t))?null:e.stateNode},jD=function(e,t){if((lO&(tO|rO))!==JN)throw Error(yE(187));var r=lO;lO|=1;try{return yI(99,e.bind(null,t))}finally{lO=r,kI()}},VD=function(e,t,r){if(!ID(t))throw Error(yE(200));return ND(null,e,t,!0,r)},zD=function(e,t,r){if(!ID(t))throw Error(yE(200));return ND(null,e,t,!1,r)},qD=function(e){if(!ID(e))throw Error(yE(40));return!!e._reactRootContainer&&(qO((function(){ND(null,null,e,!1,(function(){e._reactRootContainer=null,e[ZT]=null}))})),!0)},HD=zO,KD=function(e,t){return DD(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},WD=function(e,t,r,n){if(!ID(r))throw Error(yE(200));if(null==e||void 0===e._reactInternalFiber)throw Error(yE(38));return ND(e,t,r,!1,n)},GD="16.14.0",QD={__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:MD,createPortal:UD,findDOMNode:FD,flushSync:jD,hydrate:VD,render:zD,unmountComponentAtNode:qD,unstable_batchedUpdates:HD,unstable_createPortal:KD,unstable_renderSubtreeIntoContainer:WD,version:GD},XD=0,YD=null,$D=null,ZD=function(e){return e()},JD=function(){return null},eL=function(){return++XD},tL=function(){},rL=function(e,t,r){return r()},nL=function(){},oL=function(e){return e},aL={__interactionsRef:YD,__subscriberRef:$D,unstable_clear:ZD,unstable_getCurrent:JD,unstable_getThreadID:eL,unstable_subscribe:tL,unstable_trace:rL,unstable_unsubscribe:nL,unstable_wrap:oL},iL=(o((function(e,t){})),o((function(e){e.exports=aL})),o((function(e,t){})),o((function(e){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=QD}))),sL={not_supported:{code:"not_supported",msg:{en:"Camera is not well-supported on this device/browser. Please try another one.",vi:"Camera không được hỗ trợ. Vui lòng thử trình duyệt hoặc thiết bị khác."}},camera_timeout:{code:"camera_timeout",msg:{en:"Can't access camera. Please check camera permission, try again or try another browser/device",vi:"Không thể truy cập camera. Vui lòng kiểm tra quyền truy cập camera, đóng các tab/app khác đang sử dụng camera hoặc thử lại trên trình duyệt/thiết bị khác."}},wrong_orientation:{code:"wrong_orientation",msg:{en:"You are using landscape mode. Please rotate screen to portrait mode and retry.",vi:"Bạn đang sử dụng chế độ màn hình xoay ngang. Vui lòng quay màn hình theo chiều dọc và thực hiện lại."}},unable_to_load_model:{code:"unable_to_load_model",msg:{en:"Unable to load model on this device/browser. Please try another one.",vi:"Không thể load model. Vui lòng thử trình duyệt hoặc thiết bị khác."}},no_permission:{code:"no_permission",msg:{en:"Please grant the permission to access the camera.",vi:"Vui lòng cấp quyền để truy cập camera."}},no_face:{code:"no_face",msg:{en:"Face not found",vi:"Không tìm thấy khuôn mặt"}},partial_face:{code:"partial_face",msg:{en:"Face out of the box",vi:"Không tìm thấy toàn bộ khuôn mặt"}},multiple_faces:{code:"multiple_faces",msg:{en:"Too many faces",vi:"Quá nhiều khuôn mặt"}},face_too_small:{code:"face_too_small",msg:{en:"Face too small",vi:"Khuôn mặt quá nhỏ"}},face_too_large:{code:"face_too_large",msg:{en:"Face too large",vi:"Khuôn mặt quá to"}},face_out_of_box:{code:"face_out_of_box",msg:{en:"Face is out of box",vi:"Khuôn mặt không nằm trọn vẹn trong khung ảnh"}},liveness_too_fast:{code:"liveness_too_fast",msg:{en:"Please turn your face SLOWLY",vi:"Vui lòng quay CHẬM lại"}},liveness_terminated:{code:"liveness_terminated",msg:{en:"Please try again.",vi:"Vui lòng thực hiện lại."}},liveness_terminated_face_tracking:{code:"liveness_terminated_face_tracking",msg:{en:"You need to turn your face SLOWLY.\nPlease try again.",vi:"Bạn cần quay CHẬM lại.\nVui lòng thực hiện lại."}},liveness_terminated_no_face:{code:"liveness_terminated_no_face",msg:{en:"Your face was missing for too long.\nPlease try again.",vi:"Khuôn mặt không nằm trong khung hình.\nXin vui lòng thử lại."}},liveness_terminated_time_out:{code:"liveness_terminated_time_out",msg:{en:"You need to complete gestures as instructed within <%= x %> seconds.\nPlease try again.",vi:"Bạn cần hoàn thành động tác theo chỉ dẫn trong <%= x %> giây.\nXin vui lòng thử lại."}},card_sanity_not_good:{code:"card_sanity_not_good",msg:{en:"Card sanity not good",vi:"Card sanity chưa đạt"}},api_call_error:{code:"api_call_error",msg:{en:"Api call error",vi:"Lỗi call api"}},upload_error:{code:"upload_error",msg:{en:"Upload error",vi:"Lỗi upload"}},sanity_check_error:{code:"sanity_check_error",msg:{en:"Sanity check error",vi:"Lỗi check sanity"}},read_id_card_error:{code:"read_id_card_error",msg:{en:"Read id card error",vi:"Lỗi read id card"}},detect_id_tampering_error:{code:"detect_id_tampering_error",msg:{en:"Detect id tampering error",vi:"Lỗi detect id tampering"}},detect_id_card_error:{code:"detect_id_card_error",msg:{en:"Can't detect id card type",vi:"Không thể detect id card type"}},missing_front_id_card:{code:"missing_front_id_card",msg:{en:"Missing front id",vi:"Không tìm thấy front id"}},server_error:{code:"server_error",msg:"Server error"},client_web_setting_not_found:{code:"client_web_setting_not_found",msg:"Client Web Setting Not Found"},id_detector_validate_angle_error:{code:"id_detector_validate_angle_error",msg:{en:"Please place ID card straight, not tilted",vi:"Vui lòng đặt giấy tờ thẳng, không bị nghiêng khi chụp"}},id_detector_no_cards:{code:"id_detector_no_cards",msg:{en:"Please capture the <%= side %> side of ID card\n (occupy 50-95% of the frame)",vi:"Vui lòng chụp mặt <%= side %> của giấy tờ\n (chiếm 50-95% khung hình)"}},id_detector_card_too_small:{code:"id_detector_card_too_small",msg:{en:"Please move ID card CLOSER\n (occupy 50-95% of the frame)",vi:"Vui lòng đưa giấy tờ lại GẦN hơn\n (chiếm 50-95% khung hình)"}},id_detector_error_incomplete:{code:"id_detector_error_incomplete",msg:{en:"Please move ID card FARTHER\n (occupy 50-95% of the frame)",vi:"Vui lòng đưa giấy tờ ra XA hơn\n (chiếm 50-95% khung hình)"}},glare_detected:{code:"glare_detected",msg:{en:"Glare is detected. Please adjust the shooting angle",vi:"Ảnh bị chói / lóa. Vui lòng điều chỉnh góc chụp."}},id_detector_error_front_side_no_faces:{code:"id_detector_error_front_side_no_faces",msg:{en:"Please capture the front side of ID card",vi:"Vui lòng chụp mặt trước của giấy tờ"}},id_detector_error_front_side_multiple_faces:{code:"id_detector_error_front_side_multiple_faces",msg:{en:"Please capture the front side of one ID card only (remove other items out of the frame)",vi:"Vui lòng chụp mặt trước 1 giấy tờ duy nhất"}},id_detector_error_back_side_has_faces:{code:"id_detector_error_back_side_has_faces",msg:{en:"Please capture the back side of ID card",vi:"Vui lòng chụp mặt sau của giấy tờ"}},id_detector_error_blur:{code:"id_detector_error_blur",msg:{en:"Blurry photo detected. Please capture again for a clearer image",vi:"Ảnh bị mờ. Vui lòng chụp lại để có ảnh rõ nét hơn"}},not_frontal_face:{code:"not_frontal_face",msg:{en:"Please look straight to camera.",vi:"Vui lòng nhìn thẳng vào camera."}},not_readable:{code:"CameraInUseError",msg:{vi:"Camera đang được sử dụng bởi ứng dụng/tab khác.",en:"Camera already in use by another app/tab."}},close_eye:{code:"close_eye",msg:{vi:"Vui lòng mở to mắt",en:"Open your eyes clearly"}}},cL={FRONTAL:"frontal",LEFT:"left",RIGHT:"right",UP:"up",DOWN:"down"},lL=Object.freeze({__proto__:null,ErrorDuration:{SHORT:500,LONG:1500,TERMINATE:3e3},Errors:sL,FaceDirection:cL,Mode:{ACTIVE:"active",PASSIVE:"passive",FLASH:"flash"},Messages:{REMAIN_TIME:{en:"Remaining time: <%= x %> seconds",vi:"Thời gian còn lại: <%= x %> giây"}},TrackLivenessEvents:{start_camera:"user_activity.start",show_warmup:"user_activity.show",capture_up_face:"user_activity.up",capture_left_face:"user_activity.left",capture_right_face:"user_activity.right",capture_frontal_face:"user_activity.frontal",finish_capture:"user_activity",finish_load_model:"sdk.load_model",show_alert:"sdk_ui.show_alert",liveness_detection_done:"sdk_mode.liveness"},IDCardSide:{FRONT:"front",BACK:"back"},IDCardType:{VN:"vn.national_id"},IDCardMessage:{REMAINING_TIME:{en:"Remaining time: <%= x %> seconds",vi:"Thời gian còn lại: <%= x %> giây"},TIMEOUT_INSTRUCTION:{en:"You need to take the picture within <%= x %> seconds.\nPlease try again.",vi:"Bạn cần hoàn thành việc chụp giấy tờ trong <%= x %> giây.\nVui lòng thử lại."}}});function uL(e,t,r,n,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function dL(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){uL(a,n,o,i,s,"next",e)}function s(e){uL(a,n,o,i,s,"throw",e)}i(void 0)}))}}function fL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hL(e,t,r){return t&&pL(e.prototype,t),r&&pL(e,r),e}function mL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gL(){return(gL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function vL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yL(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vL(Object(r),!0).forEach((function(t){mL(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vL(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function bL(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function wL(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}}(e,t)||CL(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kL(e){return function(e){if(Array.isArray(e))return SL(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||CL(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function CL(e,t){if(e){if("string"==typeof e)return SL(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?SL(e,t):void 0}}function SL(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function BL(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=CL(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}var EL=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o},_L=function(){this.__data__=[],this.size=0},xL=function(e,t){return e===t||e!=e&&t!=t},TL=function(e,t){for(var r=e.length;r--;)if(xL(e[r][0],t))return r;return-1},AL=Array.prototype.splice,PL=function(e){var t=this.__data__,r=TL(t,e);return!(r<0||(r==t.length-1?t.pop():AL.call(t,r,1),--this.size,0))},IL=function(e){var t=this.__data__,r=TL(t,e);return r<0?void 0:t[r][1]},RL=function(e){return TL(this.__data__,e)>-1},NL=function(e,t){var r=this.__data__,n=TL(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function OL(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}OL.prototype.clear=_L,OL.prototype.delete=PL,OL.prototype.get=IL,OL.prototype.has=RL,OL.prototype.set=NL;var DL=OL,LL=function(){this.__data__=new DL,this.size=0},ML=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},UL=function(e){return this.__data__.get(e)},FL=function(e){return this.__data__.has(e)},jL="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function VL(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function zL(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return HL(null==t&&r.path)}},r.exports),r.exports}function qL(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}function HL(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var KL,WL="object"==Ey(jL)&&jL&&jL.Object===Object&&jL,GL="object"==("undefined"==typeof self?"undefined":Ey(self))&&self&&self.Object===Object&&self,QL=WL||GL||Function("return this")(),XL=QL.Symbol,YL=Object.prototype,$L=YL.hasOwnProperty,ZL=YL.toString,JL=XL?XL.toStringTag:void 0,eM=function(e){var t=$L.call(e,JL),r=e[JL];try{e[JL]=void 0;var n=!0}catch(e){}var o=ZL.call(e);return n&&(t?e[JL]=r:delete e[JL]),o},tM=Object.prototype.toString,rM=function(e){return tM.call(e)},nM=XL?XL.toStringTag:void 0,oM=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":nM&&nM in Object(e)?eM(e):rM(e)},aM=function(e){var t=Ey(e);return null!=e&&("object"==t||"function"==t)},iM=function(e){if(!aM(e))return!1;var t=oM(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},sM=QL["__core-js_shared__"],cM=(KL=/[^.]+$/.exec(sM&&sM.keys&&sM.keys.IE_PROTO||""))?"Symbol(src)_1."+KL:"",lM=function(e){return!!cM&&cM in e},uM=Function.prototype.toString,dM=function(e){if(null!=e){try{return uM.call(e)}catch(e){}try{return e+""}catch(e){}}return""},fM=/^\[object .+?Constructor\]$/,pM=Function.prototype,hM=Object.prototype,mM=pM.toString,gM=hM.hasOwnProperty,vM=RegExp("^"+mM.call(gM).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yM=function(e){return!(!aM(e)||lM(e))&&(iM(e)?vM:fM).test(dM(e))},bM=function(e,t){return null==e?void 0:e[t]},wM=function(e,t){var r=bM(e,t);return yM(r)?r:void 0},kM=wM(QL,"Map"),CM=wM(Object,"create"),SM=function(){this.__data__=CM?CM(null):{},this.size=0},BM=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},EM=Object.prototype.hasOwnProperty,_M=function(e){var t=this.__data__;if(CM){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return EM.call(t,e)?t[e]:void 0},xM=Object.prototype.hasOwnProperty,TM=function(e){var t=this.__data__;return CM?void 0!==t[e]:xM.call(t,e)},AM=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=CM&&void 0===t?"__lodash_hash_undefined__":t,this};function PM(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}PM.prototype.clear=SM,PM.prototype.delete=BM,PM.prototype.get=_M,PM.prototype.has=TM,PM.prototype.set=AM;var IM=PM,RM=function(){this.size=0,this.__data__={hash:new IM,map:new(kM||DL),string:new IM}},NM=function(e){var t=Ey(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},OM=function(e,t){var r=e.__data__;return NM(t)?r["string"==typeof t?"string":"hash"]:r.map},DM=function(e){var t=OM(this,e).delete(e);return this.size-=t?1:0,t},LM=function(e){return OM(this,e).get(e)},MM=function(e){return OM(this,e).has(e)},UM=function(e,t){var r=OM(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function FM(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}FM.prototype.clear=RM,FM.prototype.delete=DM,FM.prototype.get=LM,FM.prototype.has=MM,FM.prototype.set=UM;var jM=FM,VM=function(e,t){var r=this.__data__;if(r instanceof DL){var n=r.__data__;if(!kM||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new jM(n)}return r.set(e,t),this.size=r.size,this};function zM(e){var t=this.__data__=new DL(e);this.size=t.size}zM.prototype.clear=LL,zM.prototype.delete=ML,zM.prototype.get=UL,zM.prototype.has=FL,zM.prototype.set=VM;var qM=zM,HM=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e},KM=function(){try{var e=wM(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),WM=function(e,t,r){"__proto__"==t&&KM?KM(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},GM=Object.prototype.hasOwnProperty,QM=function(e,t,r){var n=e[t];GM.call(e,t)&&xL(n,r)&&(void 0!==r||t in e)||WM(e,t,r)},XM=function(e,t,r,n){var o=!r;r||(r={});for(var a=-1,i=t.length;++a<i;){var s=t[a],c=n?n(r[s],e[s],s,r,e):void 0;void 0===c&&(c=e[s]),o?WM(r,s,c):QM(r,s,c)}return r},YM=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n},$M=function(e){return null!=e&&"object"==Ey(e)},ZM=function(e){return $M(e)&&"[object Arguments]"==oM(e)},JM=Object.prototype,eU=JM.hasOwnProperty,tU=JM.propertyIsEnumerable,rU=ZM(function(){return arguments}())?ZM:function(e){return $M(e)&&eU.call(e,"callee")&&!tU.call(e,"callee")},nU=Array.isArray,oU=function(){return!1},aU=zL((function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r?QL.Buffer:void 0,a=(o?o.isBuffer:void 0)||oU;e.exports=a})),iU=/^(?:0|[1-9]\d*)$/,sU=function(e,t){var r=Ey(e);return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&iU.test(e))&&e>-1&&e%1==0&&e<t},cU=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},lU={};lU["[object Float32Array]"]=lU["[object Float64Array]"]=lU["[object Int8Array]"]=lU["[object Int16Array]"]=lU["[object Int32Array]"]=lU["[object Uint8Array]"]=lU["[object Uint8ClampedArray]"]=lU["[object Uint16Array]"]=lU["[object Uint32Array]"]=!0,lU["[object Arguments]"]=lU["[object Array]"]=lU["[object ArrayBuffer]"]=lU["[object Boolean]"]=lU["[object DataView]"]=lU["[object Date]"]=lU["[object Error]"]=lU["[object Function]"]=lU["[object Map]"]=lU["[object Number]"]=lU["[object Object]"]=lU["[object RegExp]"]=lU["[object Set]"]=lU["[object String]"]=lU["[object WeakMap]"]=!1;var uU=function(e){return $M(e)&&cU(e.length)&&!!lU[oM(e)]},dU=function(e){return function(t){return e(t)}},fU=zL((function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r&&WL.process,a=function(){try{return n&&n.require&&n.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a})),pU=fU&&fU.isTypedArray,hU=pU?dU(pU):uU,mU=Object.prototype.hasOwnProperty,gU=function(e,t){var r=nU(e),n=!r&&rU(e),o=!r&&!n&&aU(e),a=!r&&!n&&!o&&hU(e),i=r||n||o||a,s=i?YM(e.length,String):[],c=s.length;for(var l in e)!t&&!mU.call(e,l)||i&&("length"==l||o&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||sU(l,c))||s.push(l);return s},vU=Object.prototype,yU=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||vU)},bU=function(e,t){return function(r){return e(t(r))}},wU=bU(Object.keys,Object),kU=Object.prototype.hasOwnProperty,CU=function(e){if(!yU(e))return wU(e);var t=[];for(var r in Object(e))kU.call(e,r)&&"constructor"!=r&&t.push(r);return t},SU=function(e){return null!=e&&cU(e.length)&&!iM(e)},BU=function(e){return SU(e)?gU(e):CU(e)},EU=function(e,t){return e&&XM(t,BU(t),e)},_U=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t},xU=Object.prototype.hasOwnProperty,TU=function(e){if(!aM(e))return _U(e);var t=yU(e),r=[];for(var n in e)("constructor"!=n||!t&&xU.call(e,n))&&r.push(n);return r},AU=function(e){return SU(e)?gU(e,!0):TU(e)},PU=function(e,t){return e&&XM(t,AU(t),e)},IU=zL((function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r?QL.Buffer:void 0,a=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}})),RU=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t},NU=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a},OU=function(){return[]},DU=Object.prototype.propertyIsEnumerable,LU=Object.getOwnPropertySymbols,MU=LU?function(e){return null==e?[]:(e=Object(e),NU(LU(e),(function(t){return DU.call(e,t)})))}:OU,UU=function(e,t){return XM(e,MU(e),t)},FU=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e},jU=bU(Object.getPrototypeOf,Object),VU=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)FU(t,MU(e)),e=jU(e);return t}:OU,zU=function(e,t){return XM(e,VU(e),t)},qU=function(e,t,r){var n=t(e);return nU(e)?n:FU(n,r(e))},HU=function(e){return qU(e,BU,MU)},KU=function(e){return qU(e,AU,VU)},WU=wM(QL,"DataView"),GU=wM(QL,"Promise"),QU=wM(QL,"Set"),XU=wM(QL,"WeakMap"),YU=dM(WU),$U=dM(kM),ZU=dM(GU),JU=dM(QU),eF=dM(XU),tF=oM;(WU&&"[object DataView]"!=tF(new WU(new ArrayBuffer(1)))||kM&&"[object Map]"!=tF(new kM)||GU&&"[object Promise]"!=tF(GU.resolve())||QU&&"[object Set]"!=tF(new QU)||XU&&"[object WeakMap]"!=tF(new XU))&&(tF=function(e){var t=oM(e),r="[object Object]"==t?e.constructor:void 0,n=r?dM(r):"";if(n)switch(n){case YU:return"[object DataView]";case $U:return"[object Map]";case ZU:return"[object Promise]";case JU:return"[object Set]";case eF:return"[object WeakMap]"}return t});var rF=tF,nF=Object.prototype.hasOwnProperty,oF=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&nF.call(e,"index")&&(r.index=e.index,r.input=e.input),r},aF=QL.Uint8Array,iF=function(e){var t=new e.constructor(e.byteLength);return new aF(t).set(new aF(e)),t},sF=function(e,t){var r=t?iF(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)},cF=/\w*$/,lF=function(e){var t=new e.constructor(e.source,cF.exec(e));return t.lastIndex=e.lastIndex,t},uF=XL?XL.prototype:void 0,dF=uF?uF.valueOf:void 0,fF=function(e){return dF?Object(dF.call(e)):{}},pF=function(e,t){var r=t?iF(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)},hF=function(e,t,r){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return iF(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return sF(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return pF(e,r);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return lF(e);case"[object Set]":return new n;case"[object Symbol]":return fF(e)}},mF=Object.create,gF=function(){function e(){}return function(t){if(!aM(t))return{};if(mF)return mF(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),vF=function(e){return"function"!=typeof e.constructor||yU(e)?{}:gF(jU(e))},yF=function(e){return $M(e)&&"[object Map]"==rF(e)},bF=fU&&fU.isMap,wF=bF?dU(bF):yF,kF=function(e){return $M(e)&&"[object Set]"==rF(e)},CF=fU&&fU.isSet,SF=CF?dU(CF):kF,BF={};BF["[object Arguments]"]=BF["[object Array]"]=BF["[object ArrayBuffer]"]=BF["[object DataView]"]=BF["[object Boolean]"]=BF["[object Date]"]=BF["[object Float32Array]"]=BF["[object Float64Array]"]=BF["[object Int8Array]"]=BF["[object Int16Array]"]=BF["[object Int32Array]"]=BF["[object Map]"]=BF["[object Number]"]=BF["[object Object]"]=BF["[object RegExp]"]=BF["[object Set]"]=BF["[object String]"]=BF["[object Symbol]"]=BF["[object Uint8Array]"]=BF["[object Uint8ClampedArray]"]=BF["[object Uint16Array]"]=BF["[object Uint32Array]"]=!0,BF["[object Error]"]=BF["[object Function]"]=BF["[object WeakMap]"]=!1;var EF=function e(t,r,n,o,a,i){var s,c=1&r,l=2&r,u=4&r;if(n&&(s=a?n(t,o,a,i):n(t)),void 0!==s)return s;if(!aM(t))return t;var d=nU(t);if(d){if(s=oF(t),!c)return RU(t,s)}else{var f=rF(t),p="[object Function]"==f||"[object GeneratorFunction]"==f;if(aU(t))return IU(t,c);if("[object Object]"==f||"[object Arguments]"==f||p&&!a){if(s=l||p?{}:vF(t),!c)return l?zU(t,PU(s,t)):UU(t,EU(s,t))}else{if(!BF[f])return a?t:{};s=hF(t,f,c)}}i||(i=new qM);var h=i.get(t);if(h)return h;i.set(t,s),SF(t)?t.forEach((function(o){s.add(e(o,r,n,o,t,i))})):wF(t)&&t.forEach((function(o,a){s.set(a,e(o,r,n,a,t,i))}));var m=d?void 0:(u?l?KU:HU:l?AU:BU)(t);return HM(m||t,(function(o,a){m&&(o=t[a=o]),QM(s,a,e(o,r,n,a,t,i))})),s},_F=function(e){return"symbol"==Ey(e)||$M(e)&&"[object Symbol]"==oM(e)},xF=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,TF=/^\w*$/,AF=function(e,t){if(nU(e))return!1;var r=Ey(e);return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!_F(e))||TF.test(e)||!xF.test(e)||null!=t&&e in Object(t)};function PF(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function r(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(PF.Cache||jM),r}PF.Cache=jM;var IF=PF,RF=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NF=/\\(\\)?/g,OF=function(e){var t=IF((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(RF,(function(e,r,n,o){t.push(n?o.replace(NF,"$1"):r||e)})),t}),(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}(),DF=XL?XL.prototype:void 0,LF=DF?DF.toString:void 0,MF=function e(t){if("string"==typeof t)return t;if(nU(t))return EL(t,e)+"";if(_F(t))return LF?LF.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r},UF=function(e){return null==e?"":MF(e)},FF=function(e,t){return nU(e)?e:AF(e,t)?[e]:OF(UF(e))},jF=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},VF=function(e){if("string"==typeof e||_F(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},zF=function(e,t){for(var r=0,n=(t=FF(t,e)).length;null!=e&&r<n;)e=e[VF(t[r++])];return r&&r==n?e:void 0},qF=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(o);++n<o;)a[n]=e[n+t];return a},HF=function(e,t){return t.length<2?e:zF(e,qF(t,0,-1))},KF=function(e,t){return t=FF(t,e),null==(e=HF(e,t))||delete e[VF(jF(t))]},WF=Function.prototype,GF=Object.prototype,QF=WF.toString,XF=GF.hasOwnProperty,YF=QF.call(Object),$F=function(e){if(!$M(e)||"[object Object]"!=oM(e))return!1;var t=jU(e);if(null===t)return!0;var r=XF.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&QF.call(r)==YF},ZF=function(e){return $F(e)?void 0:e},JF=XL?XL.isConcatSpreadable:void 0,ej=function(e){return nU(e)||rU(e)||!!(JF&&e&&e[JF])},tj=function e(t,r,n,o,a){var i=-1,s=t.length;for(n||(n=ej),a||(a=[]);++i<s;){var c=t[i];r>0&&n(c)?r>1?e(c,r-1,n,o,a):FU(a,c):o||(a[a.length]=c)}return a},rj=function(e){return null!=e&&e.length?tj(e,1):[]},nj=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)},oj=Math.max,aj=function(e,t,r){return t=oj(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=oj(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(i),nj(e,this,s)}},ij=function(e){return function(){return e}},sj=KM?function(e,t){return KM(e,"toString",{configurable:!0,enumerable:!1,value:ij(t),writable:!0})}:function(e){return e},cj=Date.now,lj=function(e){var t=0,r=0;return function(){var n=cj(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(sj),uj=function(e){return lj(aj(e,void 0,rj),e+"")}((function(e,t){var r={};if(null==e)return r;var n=!1;t=EL(t,(function(t){return t=FF(t,e),n||(n=t.length>1),t})),XM(e,KU(e),r),n&&(r=EF(r,7,ZF));for(var o=t.length;o--;)KF(r,t[o]);return r})),dj={vn:"https://unpkg.com/@tsocial/tv_web_sdk_resources@2.0.0/models/id-card/tflite/model-v3.tflite",ph:"https://unpkg.com/@tsocial/tv_web_sdk_resources@2.0.3/models/id-card/tflite/ph_card_model.tflite"},fj=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return yL(yL({blazefaceModelUrl:"https://storage.googleapis.com/tfhub-tfjs-modules/tensorflow/tfjs-model/blazeface/1/default/1/model.json",opencvUrl:"https://unpkg.com/@tsocial/tv_web_sdk_resources@2.0.0/libs/opencv-4.6.0.js",idCardModelUrl:dj[t],wechatQRModelsUrl:"https://unpkg.com/@tsocial/tv_web_sdk_resources@2.0.0/wechat_qr_models/",closeEyesModelUrl:"https://unpkg.com/@tsocial/tv_web_sdk_resources@2.0.2/models/close-eyes/closed_eye_detector.tflite"},uj(e,["tfScriptUrls"])),{},{tfScriptUrls:yL({tfUrl:"https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@3.20.0/dist/tf.min.js",tfBackendWasmUrl:"https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm@3.20.0/dist/tf-backend-wasm.js",tfBackendCpuUrl:"https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-cpu@3.20.0",tfBackendWebGlUrl:"https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-webgl@3.20.0",tfLiteUrl:"https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-tflite@0.0.1-alpha.8/dist/tf-tflite.min.js",blazefaceScriptUrl:"https://cdn.jsdelivr.net/npm/@tensorflow-models/blazeface@0.0.7",faceDetectionUrl:"https://cdn.jsdelivr.net/npm/@tensorflow-models/face-detection@1.0.2",mediaPipeUrl:"https://cdn.jsdelivr.net/npm/@mediapipe/face_detection"},null==e?void 0:e.tfScriptUrls)})};function pj(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.resourceRoot,r=e.initCustomUrls,n=void 0===r?{}:r,o=e.country,a=void 0===o?"vn":o;if(!t)return fj(n,a);var i="models/1.0.0/id_card/tflite/model-v3.tflite";return"ph"===a&&(i="models/1.0.0/id_card/tflite/ph_card_model.tflite"),yL(yL({blazefaceModelUrl:"".concat(t,"models/1.0.0/blazeface/model.json"),opencvUrl:"".concat(t,"opencv/4.6.0/cv.js"),idCardModelUrl:"".concat(t).concat(i),closeEyesModelUrl:"".concat(t,"models/1.0.0/close-eyes/closed_eye_detector.tflite"),wechatQRModelsUrl:"".concat(t,"models/1.0.0/webchat_qr/")},uj(n,["tfScriptUrls"])),{},{tfScriptUrls:yL({tfUrl:"".concat(t,"tfjs/3.20.0/tf.min.js"),tfBackendWasmUrl:"".concat(t,"tfjs/3.20.0/backend-wasm.js"),tfBackendCpuUrl:"".concat(t,"tfjs/3.20.0/backend-cpu.js"),tfBackendWebGlUrl:"".concat(t,"tfjs/3.20.0/backend-webgl.js"),tfLiteUrl:"".concat(t,"tflite/0.0.1-alpha.8/tflite.min.js"),blazefaceScriptUrl:"".concat(t,"blazeface/0.0.7/bf.js"),faceDetectionUrl:"".concat(t,"face-detection/1.0.2/fd.js"),mediaPipeUrl:"".concat(t,"mediapipe/face-detection.js")},null==n?void 0:n.tfScriptUrls)})}var hj=xw.createContext();function mj(e){var t=e.value,r=e.children,n=yL({},t),o=n.customUrls,a=n.resourceRoot;return a&&(n.customUrls=pj({resourceRoot:a,initCustomUrls:o})),xw.createElement(hj.Provider,{value:n},r)}function gj(){var e=xw.useContext(hj);if(void 0===e)throw new Error("useSDKSettings must be used within a SDKSettingsProvider");return e}mj.propTypes={value:xk.shape({lang:xk.string,assetRoot:xk.string,apiClient:xk.shape({}),customUrls:xk.shape({}),resourceRoot:xk.string}).isRequired,children:xk.node.isRequired};var vj,yj=Object.freeze({__proto__:null,SDKSettingsProvider:mj,useSDKSettings:gj}),bj=qL(Object.freeze({__proto__:null,default:{}})),wj=VL(zL((function(e,t){!function(e,t){t=t&&t.hasOwnProperty("default")?t.default:t;var r=function(){function e(e){this.httpClient=e}return e.prototype.request=function(e,t){return this.httpClient.post("/v1/read_id_card_info_sync",e,t)},e}(),n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};
6
+ */var ob=Object.getOwnPropertySymbols,ab=Object.prototype.hasOwnProperty,ib=Object.prototype.propertyIsEnumerable;function sb(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function cb(){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={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}var lb=cb()?Object.assign:function(e,t){for(var r,n,o=sb(e),a=1;a<arguments.length;a++){for(var i in r=Object(arguments[a]))ab.call(r,i)&&(o[i]=r[i]);if(ob){n=ob(r);for(var s=0;s<n.length;s++)ib.call(r,n[s])&&(o[n[s]]=r[n[s]])}}return o},ub="function"==typeof Symbol&&Symbol.for,db=ub?Symbol.for("react.element"):60103,fb=ub?Symbol.for("react.portal"):60106,pb=ub?Symbol.for("react.fragment"):60107,hb=ub?Symbol.for("react.strict_mode"):60108,mb=ub?Symbol.for("react.profiler"):60114,gb=ub?Symbol.for("react.provider"):60109,vb=ub?Symbol.for("react.context"):60110,yb=ub?Symbol.for("react.forward_ref"):60112,bb=ub?Symbol.for("react.suspense"):60113,wb=ub?Symbol.for("react.memo"):60115,kb=ub?Symbol.for("react.lazy"):60116,Cb="function"==typeof Symbol&&Symbol.iterator;function Sb(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Bb={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Eb={};function _b(e,t,r){this.props=e,this.context=t,this.refs=Eb,this.updater=r||Bb}function xb(){}function Tb(e,t,r){this.props=e,this.context=t,this.refs=Eb,this.updater=r||Bb}_b.prototype.isReactComponent={},_b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(Sb(85));this.updater.enqueueSetState(this,e,t,"setState")},_b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},xb.prototype=_b.prototype;var Ab=Tb.prototype=new xb;Ab.constructor=Tb,lb(Ab,_b.prototype),Ab.isPureReactComponent=!0;var Pb={current:null},Ib=Object.prototype.hasOwnProperty,Rb={key:!0,ref:!0,__self:!0,__source:!0};function Nb(e,t,r){var n,o={},a=null,i=null;if(null!=t)for(n in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)Ib.call(t,n)&&!Rb.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var c=Array(s),l=0;l<s;l++)c[l]=arguments[l+2];o.children=c}if(e&&e.defaultProps)for(n in s=e.defaultProps)void 0===o[n]&&(o[n]=s[n]);return{$$typeof:db,type:e,key:a,ref:i,props:o,_owner:Pb.current}}function Ob(e,t){return{$$typeof:db,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Db(e){return"object"==typeof e&&null!==e&&e.$$typeof===db}function Lb(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}var Mb=/\/+/g,Ub=[];function Fb(e,t,r,n){if(Ub.length){var o=Ub.pop();return o.result=e,o.keyPrefix=t,o.func=r,o.context=n,o.count=0,o}return{result:e,keyPrefix:t,func:r,context:n,count:0}}function jb(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>Ub.length&&Ub.push(e)}function Vb(e,t,r,n){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var a=!1;if(null===e)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case db:case fb:a=!0}}if(a)return r(n,e,""===t?"."+qb(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var i=0;i<e.length;i++){var s=t+qb(o=e[i],i);a+=Vb(o,s,r,n)}else if(null===e||"object"!=typeof e?s=null:s="function"==typeof(s=Cb&&e[Cb]||e["@@iterator"])?s:null,"function"==typeof s)for(e=s.call(e),i=0;!(o=e.next()).done;)a+=Vb(o=o.value,s=t+qb(o,i++),r,n);else if("object"===o)throw r=""+e,Error(Sb(31,"[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return a}function zb(e,t,r){return null==e?0:Vb(e,"",t,r)}function qb(e,t){return"object"==typeof e&&null!==e&&null!=e.key?Lb(e.key):t.toString(36)}function Hb(e,t){e.func.call(e.context,t,e.count++)}function Kb(e,t,r){var n=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?Wb(e,n,r,(function(e){return e})):null!=e&&(Db(e)&&(e=Ob(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(Mb,"$&/")+"/")+r)),n.push(e))}function Wb(e,t,r,n,o){var a="";null!=r&&(a=(""+r).replace(Mb,"$&/")+"/"),zb(e,Kb,t=Fb(t,a,n,o)),jb(t)}var Gb={current:null};function Qb(){var e=Gb.current;if(null===e)throw Error(Sb(321));return e}var Xb={ReactCurrentDispatcher:Gb,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:Pb,IsSomeRendererActing:{current:!1},assign:lb},Yb={map:function(e,t,r){if(null==e)return e;var n=[];return Wb(e,n,null,t,r),n},forEach:function(e,t,r){if(null==e)return e;zb(e,Hb,t=Fb(null,null,t,r)),jb(t)},count:function(e){return zb(e,(function(){return null}),null)},toArray:function(e){var t=[];return Wb(e,t,null,(function(e){return e})),t},only:function(e){if(!Db(e))throw Error(Sb(143));return e}},$b=_b,Zb=pb,Jb=mb,ew=Tb,tw=hb,rw=bb,nw=Xb,ow=function(e,t,r){if(null==e)throw Error(Sb(267,e));var n=lb({},e.props),o=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=Pb.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)Ib.call(t,c)&&!Rb.hasOwnProperty(c)&&(n[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)n.children=r;else if(1<c){s=Array(c);for(var l=0;l<c;l++)s[l]=arguments[l+2];n.children=s}return{$$typeof:db,type:e.type,key:o,ref:a,props:n,_owner:i}},aw=function(e,t){return void 0===t&&(t=null),(e={$$typeof:vb,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:gb,_context:e},e.Consumer=e},iw=Nb,sw=function(e){var t=Nb.bind(null,e);return t.type=e,t},cw=function(){return{current:null}},lw=function(e){return{$$typeof:yb,render:e}},uw=Db,dw=function(e){return{$$typeof:kb,_ctor:e,_status:-1,_result:null}},fw=function(e,t){return{$$typeof:wb,type:e,compare:void 0===t?null:t}},pw=function(e,t){return Qb().useCallback(e,t)},hw=function(e,t){return Qb().useContext(e,t)},mw=function(){},gw=function(e,t){return Qb().useEffect(e,t)},vw=function(e,t,r){return Qb().useImperativeHandle(e,t,r)},yw=function(e,t){return Qb().useLayoutEffect(e,t)},bw=function(e,t){return Qb().useMemo(e,t)},ww=function(e,t,r){return Qb().useReducer(e,t,r)},kw=function(e){return Qb().useRef(e)},Cw=function(e){return Qb().useState(e)},Sw="16.14.0",Bw={Children:Yb,Component:$b,Fragment:Zb,Profiler:Jb,PureComponent:ew,StrictMode:tw,Suspense:rw,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:nw,cloneElement:ow,createContext:aw,createElement:iw,createFactory:sw,createRef:cw,forwardRef:lw,isValidElement:uw,lazy:dw,memo:fw,useCallback:pw,useContext:hw,useDebugValue:mw,useEffect:gw,useImperativeHandle:vw,useLayoutEffect:yw,useMemo:bw,useReducer:ww,useRef:kw,useState:Cw,version:Sw},Ew="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",_w=Ew,xw=(o((function(e,t){})),o((function(e){e.exports=Bw}))),Tw="function"==typeof Symbol&&Symbol.for,Aw=Tw?Symbol.for("react.element"):60103,Pw=Tw?Symbol.for("react.portal"):60106,Iw=Tw?Symbol.for("react.fragment"):60107,Rw=Tw?Symbol.for("react.strict_mode"):60108,Nw=Tw?Symbol.for("react.profiler"):60114,Ow=Tw?Symbol.for("react.provider"):60109,Dw=Tw?Symbol.for("react.context"):60110,Lw=Tw?Symbol.for("react.async_mode"):60111,Mw=Tw?Symbol.for("react.concurrent_mode"):60111,Uw=Tw?Symbol.for("react.forward_ref"):60112,Fw=Tw?Symbol.for("react.suspense"):60113,jw=Tw?Symbol.for("react.suspense_list"):60120,Vw=Tw?Symbol.for("react.memo"):60115,zw=Tw?Symbol.for("react.lazy"):60116,qw=Tw?Symbol.for("react.block"):60121,Hw=Tw?Symbol.for("react.fundamental"):60117,Kw=Tw?Symbol.for("react.responder"):60118,Ww=Tw?Symbol.for("react.scope"):60119;function Gw(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Aw:switch(e=e.type){case Lw:case Mw:case Iw:case Nw:case Rw:case Fw:return e;default:switch(e=e&&e.$$typeof){case Dw:case Uw:case zw:case Vw:case Ow:return e;default:return t}}case Pw:return t}}}function Qw(e){return Gw(e)===Mw}var Xw=Lw,Yw=Mw,$w=Dw,Zw=Ow,Jw=Aw,ek=Uw,tk=Iw,rk=zw,nk=Vw,ok=Pw,ak=Nw,ik=Rw,sk=Fw,ck=function(e){return Qw(e)||Gw(e)===Lw},lk=Qw,uk=function(e){return Gw(e)===Dw},dk=function(e){return Gw(e)===Ow},fk=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Aw},pk=function(e){return Gw(e)===Uw},hk=function(e){return Gw(e)===Iw},mk=function(e){return Gw(e)===zw},gk=function(e){return Gw(e)===Vw},vk=function(e){return Gw(e)===Pw},yk=function(e){return Gw(e)===Nw},bk=function(e){return Gw(e)===Rw},wk=function(e){return Gw(e)===Fw},kk=function(e){return"string"==typeof e||"function"==typeof e||e===Iw||e===Mw||e===Nw||e===Rw||e===Fw||e===jw||"object"==typeof e&&null!==e&&(e.$$typeof===zw||e.$$typeof===Vw||e.$$typeof===Ow||e.$$typeof===Dw||e.$$typeof===Uw||e.$$typeof===Hw||e.$$typeof===Kw||e.$$typeof===Ww||e.$$typeof===qw)},Ck=Gw,Sk={AsyncMode:Xw,ConcurrentMode:Yw,ContextConsumer:$w,ContextProvider:Zw,Element:Jw,ForwardRef:ek,Fragment:tk,Lazy:rk,Memo:nk,Portal:ok,Profiler:ak,StrictMode:ik,Suspense:sk,isAsyncMode:ck,isConcurrentMode:lk,isContextConsumer:uk,isContextProvider:dk,isElement:fk,isForwardRef:pk,isFragment:hk,isLazy:mk,isMemo:gk,isPortal:vk,isProfiler:yk,isStrictMode:bk,isSuspense:wk,isValidElementType:kk,typeOf:Ck};o((function(e,t){})),o((function(e){e.exports=Sk})),Function.call.bind(Object.prototype.hasOwnProperty);function Bk(){}function Ek(){}Ek.resetWarningCache=Bk;var _k=function(){function e(e,t,r,n,o,a){if(a!==_w){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ek,resetWarningCache:Bk};return r.PropTypes=r,r},xk=o((function(e){e.exports=_k()})),Tk=60103,Ak=60106,Pk=60107,Ik=60108,Rk=60114,Nk=60109,Ok=60110,Dk=60112,Lk=60113,Mk=60120,Uk=60115,Fk=60116,jk=60121,Vk=60122,zk=60117,qk=60129,Hk=60131;if("function"==typeof Symbol&&Symbol.for){var Kk=Symbol.for;Tk=Kk("react.element"),Ak=Kk("react.portal"),Pk=Kk("react.fragment"),Ik=Kk("react.strict_mode"),Rk=Kk("react.profiler"),Nk=Kk("react.provider"),Ok=Kk("react.context"),Dk=Kk("react.forward_ref"),Lk=Kk("react.suspense"),Mk=Kk("react.suspense_list"),Uk=Kk("react.memo"),Fk=Kk("react.lazy"),jk=Kk("react.block"),Vk=Kk("react.server.block"),zk=Kk("react.fundamental"),qk=Kk("react.debug_trace_mode"),Hk=Kk("react.legacy_hidden")}function Wk(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Tk:switch(e=e.type){case Pk:case Rk:case Ik:case Lk:case Mk:return e;default:switch(e=e&&e.$$typeof){case Ok:case Dk:case Fk:case Uk:case Nk:return e;default:return t}}case Ak:return t}}}var Gk=Nk,Qk=Tk,Xk=Dk,Yk=Pk,$k=Fk,Zk=Uk,Jk=Ak,eC=Rk,tC=Ik,rC=Lk,nC=Ok,oC=Gk,aC=Qk,iC=Xk,sC=Yk,cC=$k,lC=Zk,uC=Jk,dC=eC,fC=tC,pC=rC,hC=function(){return!1},mC=function(){return!1},gC=function(e){return Wk(e)===Ok},vC=function(e){return Wk(e)===Nk},yC=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Tk},bC=function(e){return Wk(e)===Dk},wC=function(e){return Wk(e)===Pk},kC=function(e){return Wk(e)===Fk},CC=function(e){return Wk(e)===Uk},SC=function(e){return Wk(e)===Ak},BC=function(e){return Wk(e)===Rk},EC=function(e){return Wk(e)===Ik},_C=function(e){return Wk(e)===Lk},xC=function(e){return"string"==typeof e||"function"==typeof e||e===Pk||e===Rk||e===qk||e===Ik||e===Lk||e===Mk||e===Hk||"object"==typeof e&&null!==e&&(e.$$typeof===Fk||e.$$typeof===Uk||e.$$typeof===Nk||e.$$typeof===Ok||e.$$typeof===Dk||e.$$typeof===zk||e.$$typeof===jk||e[0]===Vk)},TC=Wk,AC={ContextConsumer:nC,ContextProvider:oC,Element:aC,ForwardRef:iC,Fragment:sC,Lazy:cC,Memo:lC,Portal:uC,Profiler:dC,StrictMode:fC,Suspense:pC,isAsyncMode:hC,isConcurrentMode:mC,isContextConsumer:gC,isContextProvider:vC,isElement:yC,isForwardRef:bC,isFragment:wC,isLazy:kC,isMemo:CC,isPortal:SC,isProfiler:BC,isStrictMode:EC,isSuspense:_C,isValidElementType:xC,typeOf:TC},PC=(o((function(e,t){})),o((function(e){e.exports=AC})));function IC(e){function t(e,n,c,l,f){for(var p,h,m,g,w,C=0,S=0,B=0,E=0,_=0,R=0,O=m=p=0,L=0,M=0,U=0,F=0,j=c.length,V=j-1,z="",q="",H="",K="";L<j;){if(h=c.charCodeAt(L),L===V&&0!==S+E+B+C&&(0!==S&&(h=47===S?10:47),E=B=C=0,j++,V++),0===S+E+B+C){if(L===V&&(0<M&&(z=z.replace(d,"")),0<z.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:z+=c.charAt(L)}h=59}switch(h){case 123:for(p=(z=z.trim()).charCodeAt(0),m=1,F=++L;L<j;){switch(h=c.charCodeAt(L)){case 123:m++;break;case 125:m--;break;case 47:switch(h=c.charCodeAt(L+1)){case 42:case 47:e:{for(O=L+1;O<V;++O)switch(c.charCodeAt(O)){case 47:if(42===h&&42===c.charCodeAt(O-1)&&L+2!==O){L=O+1;break e}break;case 10:if(47===h){L=O+1;break e}}L=O}}break;case 91:h++;case 40:h++;case 34:case 39:for(;L++<V&&c.charCodeAt(L)!==h;);}if(0===m)break;L++}switch(m=c.substring(F,L),0===p&&(p=(z=z.replace(u,"").trim()).charCodeAt(0)),p){case 64:switch(0<M&&(z=z.replace(d,"")),h=z.charCodeAt(1)){case 100:case 109:case 115:case 45:M=n;break;default:M=I}if(F=(m=t(n,M,m,h,f+1)).length,0<N&&(w=s(3,m,M=r(I,z,U),n,T,x,F,h,f,l),z=M.join(""),void 0!==w&&0===(F=(m=w.trim()).length)&&(h=0,m="")),0<F)switch(h){case 115:z=z.replace(k,i);case 100:case 109:case 45:m=z+"{"+m+"}";break;case 107:m=(z=z.replace(v,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&a("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=z+m,112===l&&(q+=m,m="")}else m="";break;default:m=t(n,r(n,z,U),m,l,f+1)}H+=m,m=U=M=O=p=0,z="",h=c.charCodeAt(++L);break;case 125:case 59:if(1<(F=(z=(0<M?z.replace(d,""):z).trim()).length))switch(0===O&&(p=z.charCodeAt(0),45===p||96<p&&123>p)&&(F=(z=z.replace(" ",":")).length),0<N&&void 0!==(w=s(1,z,n,e,T,x,q.length,l,f,l))&&0===(F=(z=w.trim()).length)&&(z="\0\0"),p=z.charCodeAt(0),h=z.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){K+=z+c.charAt(L);break}default:58!==z.charCodeAt(F-1)&&(q+=o(z,p,h,z.charCodeAt(2)))}U=M=O=p=0,z="",h=c.charCodeAt(++L)}}switch(h){case 13:case 10:47===S?S=0:0===1+p&&107!==l&&0<z.length&&(M=1,z+="\0"),0<N*D&&s(0,z,n,e,T,x,q.length,l,f,l),x=1,T++;break;case 59:case 125:if(0===S+E+B+C){x++;break}default:switch(x++,g=c.charAt(L),h){case 9:case 32:if(0===E+C+S)switch(_){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===E+S+C&&(M=U=1,g="\f"+g);break;case 108:if(0===E+S+C+A&&0<O)switch(L-O){case 2:112===_&&58===c.charCodeAt(L-3)&&(A=_);case 8:111===R&&(A=R)}break;case 58:0===E+S+C&&(O=L);break;case 44:0===S+B+E+C&&(M=1,g+="\r");break;case 34:case 39:0===S&&(E=E===h?0:0===E?h:E);break;case 91:0===E+S+B&&C++;break;case 93:0===E+S+B&&C--;break;case 41:0===E+S+C&&B--;break;case 40:if(0===E+S+C){if(0===p)switch(2*_+3*R){case 533:break;default:p=1}B++}break;case 64:0===S+B+E+C+O+m&&(m=1);break;case 42:case 47:if(!(0<E+C+B))switch(S){case 0:switch(2*h+3*c.charCodeAt(L+1)){case 235:S=47;break;case 220:F=L,S=42}break;case 42:47===h&&42===_&&F+2!==L&&(33===c.charCodeAt(F+2)&&(q+=c.substring(F,L+1)),g="",S=0)}}0===S&&(z+=g)}R=_,_=h,L++}if(0<(F=q.length)){if(M=n,0<N&&(void 0!==(w=s(2,q,M,e,T,x,F,l,f,l))&&0===(q=w).length))return K+q+H;if(q=M.join(",")+"{"+q+"}",0!=P*A){switch(2!==P||a(q,2)||(A=0),A){case 111:q=q.replace(b,":-moz-$1")+q;break;case 112:q=q.replace(y,"::-webkit-input-$1")+q.replace(y,"::-moz-$1")+q.replace(y,":-ms-input-$1")+q}A=0}}return K+q+H}function r(e,t,r){var o=t.trim().split(m);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=n(e,t[s],r).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var l=0;l<i;++l)t[c++]=n(e[l]+" ",o[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,r,n){var i=e+";",s=2*t+3*r+4*n;if(944===s){e=i.indexOf(":",9)+1;var c=i.substring(e,i.length-1).trim();return c=i.substring(0,e).trim()+c+";",1===P||2===P&&a(c,1)?"-webkit-"+c+c:c}if(0===P||2===P&&!a(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(_,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(c=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+c+i;case 1005:return p.test(i)?i.replace(f,":-webkit-")+i.replace(f,":-moz-")+i:i;case 1e3:switch(t=(c=i.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=i.replace(w,"tb");break;case 232:c=i.replace(w,"tb-rl");break;case 220:c=i.replace(w,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+c+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(c=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(c,"-webkit-"+c)+";"+i.replace(c,"-ms-"+c+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return c=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+c+"-ms-flex-"+c+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(S,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(S,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===E.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):i.replace(c,"-webkit-"+c)+i.replace(c,"-moz-"+c.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+n&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+i}return i}function a(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),O(2!==t?n:n.replace(B,"$1"),r,t)}function i(e,t){var r=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(C," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,o,a,i,s,c,u){for(var d,f=0,p=t;f<N;++f)switch(d=R[f].call(l,e,p,r,n,o,a,i,s,c,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function c(e){return void 0!==(e=e.prefix)&&(O=null,e?"function"!=typeof e?P=1:(P=2,O=e):P=0),c}function l(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<N){var o=s(-1,r,n,n,T,x,0,0,0,0);void 0!==o&&"string"==typeof o&&(r=o)}var a=t(I,n,r,0,0);return 0<N&&(void 0!==(o=s(-2,a,n,n,T,x,a.length,0,0,0))&&(a=o)),"",A=0,x=T=1,a}var u=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,C=/([\s\S]*?);/g,S=/-self|flex-/g,B=/[^]*?(:[rp][el]a[\w-]+)[^]*/,E=/stretch|:\s*\w+\-(?:conte|avail)/,_=/([^-])(image-set\()/,x=1,T=1,A=0,P=1,I=[],R=[],N=0,O=null,D=0;return l.use=function e(t){switch(t){case void 0:case null:N=R.length=0;break;default:if("function"==typeof t)R[N++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else D=0|!!t}return e},l.set=c,void 0!==e&&c(e),l}var RC={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function NC(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var OC=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,DC=NC((function(e){return OC.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),LC="function"==typeof Symbol&&Symbol.for,MC=LC?Symbol.for("react.element"):60103,UC=LC?Symbol.for("react.portal"):60106,FC=LC?Symbol.for("react.fragment"):60107,jC=LC?Symbol.for("react.strict_mode"):60108,VC=LC?Symbol.for("react.profiler"):60114,zC=LC?Symbol.for("react.provider"):60109,qC=LC?Symbol.for("react.context"):60110,HC=LC?Symbol.for("react.async_mode"):60111,KC=LC?Symbol.for("react.concurrent_mode"):60111,WC=LC?Symbol.for("react.forward_ref"):60112,GC=LC?Symbol.for("react.suspense"):60113,QC=LC?Symbol.for("react.suspense_list"):60120,XC=LC?Symbol.for("react.memo"):60115,YC=LC?Symbol.for("react.lazy"):60116,$C=LC?Symbol.for("react.block"):60121,ZC=LC?Symbol.for("react.fundamental"):60117,JC=LC?Symbol.for("react.responder"):60118,eS=LC?Symbol.for("react.scope"):60119;function tS(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case MC:switch(e=e.type){case HC:case KC:case FC:case VC:case jC:case GC:return e;default:switch(e=e&&e.$$typeof){case qC:case WC:case YC:case XC:case zC:return e;default:return t}}case UC:return t}}}function rS(e){return tS(e)===KC}var nS=HC,oS=KC,aS=qC,iS=zC,sS=MC,cS=WC,lS=FC,uS=YC,dS=XC,fS=UC,pS=VC,hS=jC,mS=GC,gS=function(e){return rS(e)||tS(e)===HC},vS=rS,yS=function(e){return tS(e)===qC},bS=function(e){return tS(e)===zC},wS=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===MC},kS=function(e){return tS(e)===WC},CS=function(e){return tS(e)===FC},SS=function(e){return tS(e)===YC},BS=function(e){return tS(e)===XC},ES=function(e){return tS(e)===UC},_S=function(e){return tS(e)===VC},xS=function(e){return tS(e)===jC},TS=function(e){return tS(e)===GC},AS=function(e){return"string"==typeof e||"function"==typeof e||e===FC||e===KC||e===VC||e===jC||e===GC||e===QC||"object"==typeof e&&null!==e&&(e.$$typeof===YC||e.$$typeof===XC||e.$$typeof===zC||e.$$typeof===qC||e.$$typeof===WC||e.$$typeof===ZC||e.$$typeof===JC||e.$$typeof===eS||e.$$typeof===$C)},PS=tS,IS={AsyncMode:nS,ConcurrentMode:oS,ContextConsumer:aS,ContextProvider:iS,Element:sS,ForwardRef:cS,Fragment:lS,Lazy:uS,Memo:dS,Portal:fS,Profiler:pS,StrictMode:hS,Suspense:mS,isAsyncMode:gS,isConcurrentMode:vS,isContextConsumer:yS,isContextProvider:bS,isElement:wS,isForwardRef:kS,isFragment:CS,isLazy:SS,isMemo:BS,isPortal:ES,isProfiler:_S,isStrictMode:xS,isSuspense:TS,isValidElementType:AS,typeOf:PS},RS=(o((function(e,t){})),o((function(e){e.exports=IS}))),NS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},OS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},DS={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},LS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},MS={};function US(e){return RS.isMemo(e)?LS:MS[e.$$typeof]||NS}MS[RS.ForwardRef]=DS,MS[RS.Memo]=LS;var FS=Object.defineProperty,jS=Object.getOwnPropertyNames,VS=Object.getOwnPropertySymbols,zS=Object.getOwnPropertyDescriptor,qS=Object.getPrototypeOf,HS=Object.prototype;function KS(e,t,r){if("string"!=typeof t){if(HS){var n=qS(t);n&&n!==HS&&KS(e,n,r)}var o=jS(t);VS&&(o=o.concat(VS(t)));for(var a=US(e),i=US(t),s=0;s<o.length;++s){var c=o[s];if(!(OS[c]||r&&r[c]||i&&i[c]||a&&a[c])){var l=zS(t,c);try{FS(e,c,l)}catch(e){}}}}return e}var WS=KS;function GS(){return(GS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var QS=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},XS=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!PC.typeOf(e)},YS=Object.freeze([]),$S=Object.freeze({});function ZS(e){return"function"==typeof e}function JS(e){return e.displayName||e.name||"Component"}function eB(e){return e&&"string"==typeof e.styledComponentId}var tB="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",rB="undefined"!=typeof window&&"HTMLElement"in window,nB=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&("false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY)),oB={};function aB(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var iB=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&aB(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a<o;a++)t+=this.tag.getRule(a)+"/*!sc*/\n";return t},e}(),sB=new Map,cB=new Map,lB=1,uB=function(e){if(sB.has(e))return sB.get(e);for(;cB.has(lB);)lB++;var t=lB++;return sB.set(e,t),cB.set(t,e),t},dB=function(e){return cB.get(e)},fB=function(e,t){sB.set(e,t),cB.set(t,e)},pB="style["+tB+'][data-styled-version="5.2.1"]',hB=new RegExp("^"+tB+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),mB=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(t,n)},gB=function(e,t){for(var r=t.innerHTML.split("/*!sc*/\n"),n=[],o=0,a=r.length;o<a;o++){var i=r[o].trim();if(i){var s=i.match(hB);if(s){var c=0|parseInt(s[1],10),l=s[2];0!==c&&(fB(l,c),mB(e,l,s[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(i)}}},vB=function(){return"undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null},yB=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(tB))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(tB,"active"),n.setAttribute("data-styled-version","5.2.1");var i=vB();return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},bB=function(){function e(e){var t=this.element=yB(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}aB(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),wB=function(){function e(e){var t=this.element=yB(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),kB=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),CB=rB,SB={isServer:!rB,useCSSOMInjection:!nB},BB=function(){function e(e,t,r){void 0===e&&(e=$S),void 0===t&&(t={}),this.options=GS({},SB,{},e),this.gs=t,this.names=new Map(r),!this.options.isServer&&rB&&CB&&(CB=!1,function(e){for(var t=document.querySelectorAll(pB),r=0,n=t.length;r<n;r++){var o=t[r];o&&"active"!==o.getAttribute(tB)&&(gB(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return uB(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(GS({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(r=(t=this.options).isServer,n=t.useCSSOMInjection,o=t.target,e=r?new kB(o):n?new bB(o):new wB(o),new iB(e)));var e,t,r,n,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(uB(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(uB(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(uB(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a=dB(o);if(void 0!==a){var i=e.names.get(a),s=t.getGroup(o);if(void 0!==i&&0!==s.length){var c=tB+".g"+o+'[id="'+a+'"]',l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}/*!sc*/\n'}}}return n}(this)},e}(),EB=/(a)(d)/gi,_B=function(e){return String.fromCharCode(e+(e>25?39:97))};function xB(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=_B(t%52)+r;return(_B(t%52)+r).replace(EB,"$1-$2")}var TB=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},AB=function(e){return TB(5381,e)};function PB(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ZS(r)&&!eB(r))return!1}return!0}var IB=AB("5.2.1"),RB=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&PB(e),this.componentId=t,this.baseHash=TB(IB,t),this.baseStyle=r,BB.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))o.push(this.staticRulesId);else{var a=XB(this.rules,e,t,r).join(""),i=xB(TB(this.baseHash,a.length)>>>0);if(!t.hasNameForId(n,i)){var s=r(a,"."+i,void 0,n);t.insertRules(n,i,s)}o.push(i),this.staticRulesId=i}else{for(var c=this.rules.length,l=TB(this.baseHash,r.hash),u="",d=0;d<c;d++){var f=this.rules[d];if("string"==typeof f)u+=f;else if(f){var p=XB(f,e,t,r),h=Array.isArray(p)?p.join(""):p;l=TB(l,h+d),u+=h}}if(u){var m=xB(l>>>0);if(!t.hasNameForId(n,m)){var g=r(u,"."+m,void 0,n);t.insertRules(n,m,g)}o.push(m)}}return o.join(" ")},e}(),NB=/^\s*\/\/.*$/gm,OB=[":","[",".","#"];function DB(e){var t,r,n,o,a=void 0===e?$S:e,i=a.options,s=void 0===i?$S:i,c=a.plugins,l=void 0===c?YS:c,u=new IC(s),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,i,s,c,l,u,d){switch(r){case 1:if(0===u&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===l)return n+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(o[0]+n),"";default:return n+(0===d?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),p=function(e,n,a){return 0===n&&OB.includes(a[r.length])||a.match(o)?e:"."+t};function h(e,a,i,s){void 0===s&&(s="&");var c=e.replace(NB,""),l=a&&i?i+" "+a+" { "+c+" }":c;return t=s,r=a,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),u(i||!a?"":a,l)}return u.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,p))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),h.hash=l.length?l.reduce((function(e,t){return t.name||aB(15),TB(e,t.name)}),5381).toString():"",h}var LB=xw.createContext(),MB=(LB.Consumer,xw.createContext()),UB=(MB.Consumer,new BB),FB=DB();function jB(){return xw.useContext(LB)||UB}function VB(){return xw.useContext(MB)||FB}var zB=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=FB);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return aB(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=FB),this.name+e.hash},e}(),qB=/([A-Z])/,HB=/([A-Z])/g,KB=/^ms-/,WB=function(e){return"-"+e.toLowerCase()};function GB(e){return qB.test(e)?e.replace(HB,WB).replace(KB,"-ms-"):e}var QB=function(e){return null==e||!1===e||""===e};function XB(e,t,r,n){if(Array.isArray(e)){for(var o,a=[],i=0,s=e.length;i<s;i+=1)""!==(o=XB(e[i],t,r,n))&&(Array.isArray(o)?a.push.apply(a,o):a.push(o));return a}return QB(e)?"":eB(e)?"."+e.styledComponentId:ZS(e)?"function"!=typeof(c=e)||c.prototype&&c.prototype.isReactComponent||!t?e:XB(e(t),t,r,n):e instanceof zB?r?(e.inject(r,n),e.getName(n)):e:XS(e)?function e(t,r){var n,o,a=[];for(var i in t)t.hasOwnProperty(i)&&!QB(t[i])&&(XS(t[i])?a.push.apply(a,e(t[i],i)):ZS(t[i])?a.push(GB(i)+":",t[i],";"):a.push(GB(i)+": "+(n=i,(null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in RC?String(o).trim():o+"px")+";")));return r?[r+" {"].concat(a,["}"]):a}(e):e.toString();var c}function YB(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return ZS(e)||XS(e)?XB(QS(YS,[e].concat(r))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:XB(QS(e,r))}var $B=function(e,t,r){return void 0===r&&(r=$S),e.theme!==r.theme&&e.theme||t||r.theme},ZB=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,JB=/(^-|-$)/g;function eE(e){return e.replace(ZB,"-").replace(JB,"")}var tE=function(e){return xB(AB(e)>>>0)};function rE(e){return"string"==typeof e&&!0}var nE=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},oE=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function aE(e,t,r){var n=e[r];nE(t)&&nE(n)?iE(n,t):e[r]=t}function iE(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if(nE(i))for(var s in i)oE(s)&&aE(e,i[s],s)}return e}var sE=xw.createContext();sE.Consumer;function cE(e){var t=xw.useContext(sE),r=xw.useMemo((function(){return function(e,t){return e?ZS(e)?e(t):Array.isArray(e)||"object"!=typeof e?aB(8):t?GS({},t,{},e):e:aB(14)}(e.theme,t)}),[e.theme,t]);return e.children?xw.createElement(sE.Provider,{value:r},e.children):null}var lE={};function uE(e,t,r){var n=eB(e),o=!rE(e),a=t.attrs,i=void 0===a?YS:a,s=t.componentId,c=void 0===s?function(e,t){var r="string"!=typeof e?"sc":eE(e);lE[r]=(lE[r]||0)+1;var n=r+"-"+tE("5.2.1"+r+lE[r]);return t?t+"-"+n:n}(t.displayName,t.parentComponentId):s,l=t.displayName,u=void 0===l?function(e){return rE(e)?"styled."+e:"Styled("+JS(e)+")"}(e):l,d=t.displayName&&t.componentId?eE(t.displayName)+"-"+t.componentId:t.componentId||c,f=n&&e.attrs?Array.prototype.concat(e.attrs,i).filter(Boolean):i,p=t.shouldForwardProp;n&&e.shouldForwardProp&&(p=t.shouldForwardProp?function(r,n){return e.shouldForwardProp(r,n)&&t.shouldForwardProp(r,n)}:e.shouldForwardProp);var h,m=new RB(r,d,n?e.componentStyle:void 0),g=m.isStatic&&0===i.length,v=function(e,t){return function(e,t,r,n){var o=e.attrs,a=e.componentStyle,i=e.defaultProps,s=e.foldedComponentIds,c=e.shouldForwardProp,l=e.styledComponentId,u=e.target,d=function(e,t,r){void 0===e&&(e=$S);var n=GS({},t,{theme:e}),o={};return r.forEach((function(e){var t,r,a,i=e;for(t in ZS(i)&&(i=i(n)),i)n[t]=o[t]="className"===t?(r=o[t],a=i[t],r&&a?r+" "+a:r||a):i[t]})),[n,o]}($B(t,xw.useContext(sE),i)||$S,t,o),f=d[0],p=d[1],h=function(e,t,r,n){var o=jB(),a=VB();return t?e.generateAndInjectStyles($S,o,a):e.generateAndInjectStyles(r,o,a)}(a,n,f),m=r,g=p.$as||t.$as||p.as||t.as||u,v=rE(g),y=p!==t?GS({},t,{},p):t,b={};for(var w in y)"$"!==w[0]&&"as"!==w&&("forwardedAs"===w?b.as=y[w]:(c?c(w,DC):!v||DC(w))&&(b[w]=y[w]));return t.style&&p.style!==t.style&&(b.style=GS({},t.style,{},p.style)),b.className=Array.prototype.concat(s,l,h!==l?h:null,t.className,p.className).filter(Boolean).join(" "),b.ref=m,xw.createElement(g,b)}(h,e,t,g)};return v.displayName=u,(h=xw.forwardRef(v)).attrs=f,h.componentStyle=m,h.displayName=u,h.shouldForwardProp=p,h.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):YS,h.styledComponentId=d,h.target=n?e.target:e,h.withComponent=function(e){var n=t.componentId,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(t,["componentId"]),a=n&&n+"-"+(rE(e)?e:eE(JS(e)));return uE(e,GS({},o,{attrs:f,componentId:a}),r)},Object.defineProperty(h,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?iE({},e.defaultProps,t):t}}),h.toString=function(){return"."+h.styledComponentId},o&&WS(h,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),h}var dE=function(e){return function e(t,r,n){if(void 0===n&&(n=$S),!PC.isValidElementType(r))return aB(1,String(r));var o=function(){return t(r,n,YB.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,r,GS({},n,{},o))},o.attrs=function(o){return e(t,r,GS({},n,{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o}(uE,e)};["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","marquee","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","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){dE[e]=dE(e)}));var fE=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=PB(e),BB.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var o=n(XB(this.rules,t,r,n).join(""),""),a=this.componentId+e;r.insertRules(a,a,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&BB.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function pE(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=YB.apply(void 0,[e].concat(r)),a="sc-global-"+tE(JSON.stringify(o)),i=new fE(o,a);function s(e){var t=jB(),r=VB(),n=xw.useContext(sE),o=xw.useRef(t.allocateGSInstance(a)).current;return xw.useLayoutEffect((function(){return c(o,e,t,n,r),function(){return i.removeStyles(o,t)}}),[o,e,t,n,r]),null}function c(e,t,r,n,o){if(i.isStatic)i.renderStyles(e,oB,r,o);else{var a=GS({},t,{theme:$B(t,n,s.defaultProps)});i.renderStyles(e,a,r,o)}}return xw.memo(s)}function hE(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=YB.apply(void 0,[e].concat(r)).join(""),a=tE(o);return new zB(a,o)}var mE=function(){return xw.useContext(sE)},gE=o((function(e,t){var r,n,o,a,i;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,c=null,l=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(l,0),e}},u=Date.now();t.unstable_now=function(){return Date.now()-u},r=function(e){null!==s?setTimeout(r,0,e):(s=e,setTimeout(l,0))},n=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},a=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=f.now();t.unstable_now=function(){return f.now()-g}}var v=!1,y=null,b=-1,w=5,k=0;a=function(){return t.unstable_now()>=k},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var C=new MessageChannel,S=C.port2;C.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();k=e+w;try{y(!0,e)?S.postMessage(null):(v=!1,y=null)}catch(e){throw S.postMessage(null),e}}else v=!1},r=function(e){y=e,v||(v=!0,S.postMessage(null))},n=function(e,r){b=p((function(){e(t.unstable_now())}),r)},o=function(){h(b),b=-1}}function B(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,o=e[n];if(!(void 0!==o&&0<x(o,t)))break e;e[n]=t,e[r]=o,r=n}}function E(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length;n<o;){var a=2*(n+1)-1,i=e[a],s=a+1,c=e[s];if(void 0!==i&&0>x(i,r))void 0!==c&&0>x(c,i)?(e[n]=c,e[s]=r,n=s):(e[n]=i,e[a]=r,n=a);else{if(!(void 0!==c&&0>x(c,r)))break e;e[n]=c,e[s]=r,n=s}}}return t}return null}function x(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var T=[],A=[],P=1,I=null,R=3,N=!1,O=!1,D=!1;function L(e){for(var t=E(A);null!==t;){if(null===t.callback)_(A);else{if(!(t.startTime<=e))break;_(A),t.sortIndex=t.expirationTime,B(T,t)}t=E(A)}}function M(e){if(D=!1,L(e),!O)if(null!==E(T))O=!0,r(U);else{var t=E(A);null!==t&&n(M,t.startTime-e)}}function U(e,r){O=!1,D&&(D=!1,o()),N=!0;var i=R;try{for(L(r),I=E(T);null!==I&&(!(I.expirationTime>r)||e&&!a());){var s=I.callback;if(null!==s){I.callback=null,R=I.priorityLevel;var c=s(I.expirationTime<=r);r=t.unstable_now(),"function"==typeof c?I.callback=c:I===E(T)&&_(T),L(r)}else _(T);I=E(T)}if(null!==I)var l=!0;else{var u=E(A);null!==u&&n(M,u.startTime-r),l=!1}return l}finally{I=null,R=i,N=!1}}function F(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var j=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){O||N||(O=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return E(T)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var r=R;R=t;try{return e()}finally{R=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=j,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=R;R=e;try{return t()}finally{R=r}},t.unstable_scheduleCallback=function(e,a,i){var s=t.unstable_now();if("object"==typeof i&&null!==i){var c=i.delay;c="number"==typeof c&&0<c?s+c:s,i="number"==typeof i.timeout?i.timeout:F(e)}else i=F(e),c=s;return e={id:P++,callback:a,priorityLevel:e,startTime:c,expirationTime:i=c+i,sortIndex:-1},c>s?(e.sortIndex=c,B(A,e),null===E(T)&&e===E(A)&&(D?o():D=!0,n(M,c-s))):(e.sortIndex=i,B(T,e),O||N||(O=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();L(e);var r=E(T);return r!==I&&null!==I&&null!==r&&null!==r.callback&&r.startTime<=e&&r.expirationTime<I.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=R;return function(){var r=R;R=t;try{return e.apply(this,arguments)}finally{R=r}}}})),vE=(o((function(e,t){})),o((function(e){e.exports=gE})));function yE(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!xw)throw Error(yE(227));function bE(e,t,r,n,o,a,i,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(r,l)}catch(e){this.onError(e)}}var wE=!1,kE=null,CE=!1,SE=null,BE={onError:function(e){wE=!0,kE=e}};function EE(e,t,r,n,o,a,i,s,c){wE=!1,kE=null,bE.apply(BE,arguments)}function _E(e,t,r,n,o,a,i,s,c){if(EE.apply(this,arguments),wE){if(!wE)throw Error(yE(198));var l=kE;wE=!1,kE=null,CE||(CE=!0,SE=l)}}var xE=null,TE=null,AE=null;function PE(e,t,r){var n=e.type||"unknown-event";e.currentTarget=AE(r),_E(n,t,void 0,e),e.currentTarget=null}var IE=null,RE={};function NE(){if(IE)for(var e in RE){var t=RE[e],r=IE.indexOf(e);if(!(-1<r))throw Error(yE(96,e));if(!DE[r]){if(!t.extractEvents)throw Error(yE(97,e));for(var n in DE[r]=t,r=t.eventTypes){var o=void 0,a=r[n],i=t,s=n;if(LE.hasOwnProperty(s))throw Error(yE(99,s));LE[s]=a;var c=a.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&OE(c[o],i,s);o=!0}else a.registrationName?(OE(a.registrationName,i,s),o=!0):o=!1;if(!o)throw Error(yE(98,n,e))}}}}function OE(e,t,r){if(ME[e])throw Error(yE(100,e));ME[e]=t,UE[e]=t.eventTypes[r].dependencies}var DE=[],LE={},ME={},UE={};function FE(e){var t,r=!1;for(t in e)if(e.hasOwnProperty(t)){var n=e[t];if(!RE.hasOwnProperty(t)||RE[t]!==n){if(RE[t])throw Error(yE(102,t));RE[t]=n,r=!0}}r&&NE()}var jE=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),VE=null,zE=null,qE=null;function HE(e){if(e=TE(e)){if("function"!=typeof VE)throw Error(yE(280));var t=e.stateNode;t&&(t=xE(t),VE(e.stateNode,e.type,t))}}function KE(e){zE?qE?qE.push(e):qE=[e]:zE=e}function WE(){if(zE){var e=zE,t=qE;if(qE=zE=null,HE(e),t)for(e=0;e<t.length;e++)HE(t[e])}}function GE(e,t){return e(t)}function QE(e,t,r,n,o){return e(t,r,n,o)}function XE(){}var YE=GE,$E=!1,ZE=!1;function JE(){null===zE&&null===qE||(XE(),WE())}function e_(e,t,r){if(ZE)return e(t,r);ZE=!0;try{return YE(e,t,r)}finally{ZE=!1,JE()}}var t_=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,r_=Object.prototype.hasOwnProperty,n_={},o_={};function a_(e){return!!r_.call(o_,e)||!r_.call(n_,e)&&(t_.test(e)?o_[e]=!0:(n_[e]=!0,!1))}function i_(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function s_(e,t,r,n){if(null==t||i_(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function c_(e,t,r,n,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a}var l_={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){l_[e]=new c_(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];l_[t]=new c_(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){l_[e]=new c_(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){l_[e]=new c_(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){l_[e]=new c_(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){l_[e]=new c_(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){l_[e]=new c_(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){l_[e]=new c_(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){l_[e]=new c_(e,5,!1,e.toLowerCase(),null,!1)}));var u_=/[\-:]([a-z])/g;function d_(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(u_,d_);l_[t]=new c_(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(u_,d_);l_[t]=new c_(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(u_,d_);l_[t]=new c_(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){l_[e]=new c_(e,1,!1,e.toLowerCase(),null,!1)})),l_.xlinkHref=new c_("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){l_[e]=new c_(e,1,!1,e.toLowerCase(),null,!0)}));var f_=xw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p_(e,t,r,n){var o=l_.hasOwnProperty(t)?l_[t]:null;(null!==o?0===o.type:!n&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(s_(t,r,o,n)&&(r=null),n||null===o?a_(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}f_.hasOwnProperty("ReactCurrentDispatcher")||(f_.ReactCurrentDispatcher={current:null}),f_.hasOwnProperty("ReactCurrentBatchConfig")||(f_.ReactCurrentBatchConfig={suspense:null});var h_=/^(.*)[\\\/]/,m_="function"==typeof Symbol&&Symbol.for,g_=m_?Symbol.for("react.element"):60103,v_=m_?Symbol.for("react.portal"):60106,y_=m_?Symbol.for("react.fragment"):60107,b_=m_?Symbol.for("react.strict_mode"):60108,w_=m_?Symbol.for("react.profiler"):60114,k_=m_?Symbol.for("react.provider"):60109,C_=m_?Symbol.for("react.context"):60110,S_=m_?Symbol.for("react.concurrent_mode"):60111,B_=m_?Symbol.for("react.forward_ref"):60112,E_=m_?Symbol.for("react.suspense"):60113,__=m_?Symbol.for("react.suspense_list"):60120,x_=m_?Symbol.for("react.memo"):60115,T_=m_?Symbol.for("react.lazy"):60116,A_=m_?Symbol.for("react.block"):60121,P_="function"==typeof Symbol&&Symbol.iterator;function I_(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P_&&e[P_]||e["@@iterator"])?e:null}function R_(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}function N_(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case y_:return"Fragment";case v_:return"Portal";case w_:return"Profiler";case b_:return"StrictMode";case E_:return"Suspense";case __:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case C_:return"Context.Consumer";case k_:return"Context.Provider";case B_:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case x_:return N_(e.type);case A_:return N_(e.render);case T_:if(e=1===e._status?e._result:null)return N_(e)}return null}function O_(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var r="";break e;default:var n=e._debugOwner,o=e._debugSource,a=N_(e.type);r=null,n&&(r=N_(n.type)),n=a,a="",o?a=" (at "+o.fileName.replace(h_,"")+":"+o.lineNumber+")":r&&(a=" (created by "+r+")"),r="\n in "+(n||"Unknown")+a}t+=r,e=e.return}while(e);return t}function D_(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function L_(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function M_(e){var t=L_(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function U_(e){e._valueTracker||(e._valueTracker=M_(e))}function F_(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=L_(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function j_(e,t){var r=t.checked;return lb({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function V_(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=D_(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function z_(e,t){null!=(t=t.checked)&&p_(e,"checked",t,!1)}function q_(e,t){z_(e,t);var r=D_(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?K_(e,t.type,r):t.hasOwnProperty("defaultValue")&&K_(e,t.type,D_(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function H_(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function K_(e,t,r){"number"===t&&e.ownerDocument.activeElement===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function W_(e){var t="";return xw.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}function G_(e,t){return e=lb({children:void 0},t),(t=W_(t.children))&&(e.children=t),e}function Q_(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+D_(r),t=null,o=0;o<e.length;o++){if(e[o].value===r)return e[o].selected=!0,void(n&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function X_(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(yE(91));return lb({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Y_(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(yE(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(yE(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:D_(r)}}function $_(e,t){var r=D_(t.value),n=D_(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function Z_(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var J_={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ex(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function tx(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ex(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var rx,nx,ox=(nx=function(e,t){if(e.namespaceURI!==J_.svg||"innerHTML"in e)e.innerHTML=t;else{for((rx=rx||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=rx.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return nx(e,t)}))}:nx);function ax(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}function ix(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var sx={animationend:ix("Animation","AnimationEnd"),animationiteration:ix("Animation","AnimationIteration"),animationstart:ix("Animation","AnimationStart"),transitionend:ix("Transition","TransitionEnd")},cx={},lx={};function ux(e){if(cx[e])return cx[e];if(!sx[e])return e;var t,r=sx[e];for(t in r)if(r.hasOwnProperty(t)&&t in lx)return cx[e]=r[t];return e}jE&&(lx=document.createElement("div").style,"AnimationEvent"in window||(delete sx.animationend.animation,delete sx.animationiteration.animation,delete sx.animationstart.animation),"TransitionEvent"in window||delete sx.transitionend.transition);var dx=ux("animationend"),fx=ux("animationiteration"),px=ux("animationstart"),hx=ux("transitionend"),mx="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),gx=new("function"==typeof WeakMap?WeakMap:Map);function vx(e){var t=gx.get(e);return void 0===t&&(t=new Map,gx.set(e,t)),t}function yx(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function bx(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function wx(e){if(yx(e)!==e)throw Error(yE(188))}function kx(e){var t=e.alternate;if(!t){if(null===(t=yx(e)))throw Error(yE(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(n=o.return)){r=n;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return wx(o),e;if(a===n)return wx(o),t;a=a.sibling}throw Error(yE(188))}if(r.return!==n.return)r=o,n=a;else{for(var i=!1,s=o.child;s;){if(s===r){i=!0,r=o,n=a;break}if(s===n){i=!0,n=o,r=a;break}s=s.sibling}if(!i){for(s=a.child;s;){if(s===r){i=!0,r=a,n=o;break}if(s===n){i=!0,n=a,r=o;break}s=s.sibling}if(!i)throw Error(yE(189))}}if(r.alternate!==n)throw Error(yE(190))}if(3!==r.tag)throw Error(yE(188));return r.stateNode.current===r?e:t}function Cx(e){if(!(e=kx(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Sx(e,t){if(null==t)throw Error(yE(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function Bx(e,t,r){Array.isArray(e)?e.forEach(t,r):e&&t.call(r,e)}var Ex=null;function _x(e){if(e){var t=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(t))for(var n=0;n<t.length&&!e.isPropagationStopped();n++)PE(e,t[n],r[n]);else t&&PE(e,t,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function xx(e){if(null!==e&&(Ex=Sx(Ex,e)),e=Ex,Ex=null,e){if(Bx(e,_x),Ex)throw Error(yE(95));if(CE)throw e=SE,CE=!1,SE=null,e}}function Tx(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Ax(e){if(!jE)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var Px=[];function Ix(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Px.length&&Px.push(e)}function Rx(e,t,r,n){if(Px.length){var o=Px.pop();return o.topLevelType=e,o.eventSystemFlags=n,o.nativeEvent=t,o.targetInst=r,o}return{topLevelType:e,eventSystemFlags:n,nativeEvent:t,targetInst:r,ancestors:[]}}function Nx(e){var t=e.targetInst,r=t;do{if(!r){e.ancestors.push(r);break}var n=r;if(3===n.tag)n=n.stateNode.containerInfo;else{for(;n.return;)n=n.return;n=3!==n.tag?null:n.stateNode.containerInfo}if(!n)break;5!==(t=r.tag)&&6!==t||e.ancestors.push(r),r=JT(n)}while(r);for(r=0;r<e.ancestors.length;r++){t=e.ancestors[r];var o=Tx(e.nativeEvent);n=e.topLevelType;var a=e.nativeEvent,i=e.eventSystemFlags;0===r&&(i|=64);for(var s=null,c=0;c<DE.length;c++){var l=DE[c];l&&(l=l.extractEvents(n,t,a,o,i))&&(s=Sx(s,l))}xx(s)}}function Ox(e,t,r){if(!r.has(e)){switch(e){case"scroll":gT(t,"scroll",!0);break;case"focus":case"blur":gT(t,"focus",!0),gT(t,"blur",!0),r.set("blur",null),r.set("focus",null);break;case"cancel":case"close":Ax(e)&&gT(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===mx.indexOf(e)&&mT(e,t)}r.set(e,null)}}var Dx,Lx,Mx,Ux=!1,Fx=[],jx=null,Vx=null,zx=null,qx=new Map,Hx=new Map,Kx=[],Wx="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Gx="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Qx(e,t){var r=vx(t);Wx.forEach((function(e){Ox(e,t,r)})),Gx.forEach((function(e){Ox(e,t,r)}))}function Xx(e,t,r,n,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|r,nativeEvent:o,container:n}}function Yx(e,t){switch(e){case"focus":case"blur":jx=null;break;case"dragenter":case"dragleave":Vx=null;break;case"mouseover":case"mouseout":zx=null;break;case"pointerover":case"pointerout":qx.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hx.delete(t.pointerId)}}function $x(e,t,r,n,o,a){return null===e||e.nativeEvent!==a?(e=Xx(t,r,n,o,a),null!==t&&(null!==(t=eA(t))&&Lx(t)),e):(e.eventSystemFlags|=n,e)}function Zx(e,t,r,n,o){switch(t){case"focus":return jx=$x(jx,e,t,r,n,o),!0;case"dragenter":return Vx=$x(Vx,e,t,r,n,o),!0;case"mouseover":return zx=$x(zx,e,t,r,n,o),!0;case"pointerover":var a=o.pointerId;return qx.set(a,$x(qx.get(a)||null,e,t,r,n,o)),!0;case"gotpointercapture":return a=o.pointerId,Hx.set(a,$x(Hx.get(a)||null,e,t,r,n,o)),!0}return!1}function Jx(e){var t=JT(e.target);if(null!==t){var r=yx(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=bx(r)))return e.blockedOn=t,void vE.unstable_runWithPriority(e.priority,(function(){Mx(r)}))}else if(3===t&&r.stateNode.hydrate)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function eT(e){if(null!==e.blockedOn)return!1;var t=wT(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var r=eA(t);return null!==r&&Lx(r),e.blockedOn=t,!1}return!0}function tT(e,t,r){eT(e)&&r.delete(t)}function rT(){for(Ux=!1;0<Fx.length;){var e=Fx[0];if(null!==e.blockedOn){null!==(e=eA(e.blockedOn))&&Dx(e);break}var t=wT(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:Fx.shift()}null!==jx&&eT(jx)&&(jx=null),null!==Vx&&eT(Vx)&&(Vx=null),null!==zx&&eT(zx)&&(zx=null),qx.forEach(tT),Hx.forEach(tT)}function nT(e,t){e.blockedOn===t&&(e.blockedOn=null,Ux||(Ux=!0,vE.unstable_scheduleCallback(vE.unstable_NormalPriority,rT)))}function oT(e){function t(t){return nT(t,e)}if(0<Fx.length){nT(Fx[0],e);for(var r=1;r<Fx.length;r++){var n=Fx[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==jx&&nT(jx,e),null!==Vx&&nT(Vx,e),null!==zx&&nT(zx,e),qx.forEach(t),Hx.forEach(t),r=0;r<Kx.length;r++)(n=Kx[r]).blockedOn===e&&(n.blockedOn=null);for(;0<Kx.length&&null===(r=Kx[0]).blockedOn;)Jx(r),null===r.blockedOn&&Kx.shift()}var aT={},iT=new Map,sT=new Map,cT=["abort","abort",dx,"animationEnd",fx,"animationIteration",px,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",hx,"transitionEnd","waiting","waiting"];function lT(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],o=e[r+1],a="on"+(o[0].toUpperCase()+o.slice(1));a={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[n],eventPriority:t},sT.set(n,t),iT.set(n,a),aT[o]=a}}lT("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),lT("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),lT(cT,2);for(var uT="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),dT=0;dT<uT.length;dT++)sT.set(uT[dT],0);var fT=vE.unstable_UserBlockingPriority,pT=vE.unstable_runWithPriority,hT=!0;function mT(e,t){gT(t,e,!1)}function gT(e,t,r){var n=sT.get(t);switch(void 0===n?2:n){case 0:n=vT.bind(null,t,1,e);break;case 1:n=yT.bind(null,t,1,e);break;default:n=bT.bind(null,t,1,e)}r?e.addEventListener(t,n,!0):e.addEventListener(t,n,!1)}function vT(e,t,r,n){$E||XE();var o=bT,a=$E;$E=!0;try{QE(o,e,t,r,n)}finally{($E=a)||JE()}}function yT(e,t,r,n){pT(fT,bT.bind(null,e,t,r,n))}function bT(e,t,r,n){if(hT)if(0<Fx.length&&-1<Wx.indexOf(e))e=Xx(null,e,t,r,n),Fx.push(e);else{var o=wT(e,t,r,n);if(null===o)Yx(e,n);else if(-1<Wx.indexOf(e))e=Xx(o,e,t,r,n),Fx.push(e);else if(!Zx(o,e,t,r,n)){Yx(e,n),e=Rx(e,n,null,t);try{e_(Nx,e)}finally{Ix(e)}}}}function wT(e,t,r,n){if(null!==(r=JT(r=Tx(n)))){var o=yx(r);if(null===o)r=null;else{var a=o.tag;if(13===a){if(null!==(r=bx(o)))return r;r=null}else if(3===a){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;r=null}else o!==r&&(r=null)}}e=Rx(e,n,r,t);try{e_(Nx,e)}finally{Ix(e)}return null}var kT={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},CT=["Webkit","ms","Moz","O"];function ST(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||kT.hasOwnProperty(e)&&kT[e]?(""+t).trim():t+"px"}function BT(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),o=ST(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}Object.keys(kT).forEach((function(e){CT.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),kT[t]=kT[e]}))}));var ET=lb({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _T(e,t){if(t){if(ET[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(yE(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(yE(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(yE(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(yE(62,""))}}function xT(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var TT=J_.html;function AT(e,t){var r=vx(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=UE[t];for(var n=0;n<t.length;n++)Ox(t[n],e,r)}function PT(){}function IT(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function RT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function NT(e,t){var r,n=RT(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=RT(n)}}function OT(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?OT(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function DT(){for(var e=window,t=IT();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=IT((e=t.contentWindow).document)}return t}function LT(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var MT="$",UT="/$",FT="$?",jT="$!",VT=null,zT=null;function qT(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function HT(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var KT="function"==typeof setTimeout?setTimeout:void 0,WT="function"==typeof clearTimeout?clearTimeout:void 0;function GT(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function QT(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if(r===MT||r===jT||r===FT){if(0===t)return e;t--}else r===UT&&t++}e=e.previousSibling}return null}var XT=Math.random().toString(36).slice(2),YT="__reactInternalInstance$"+XT,$T="__reactEventHandlers$"+XT,ZT="__reactContainere$"+XT;function JT(e){var t=e[YT];if(t)return t;for(var r=e.parentNode;r;){if(t=r[ZT]||r[YT]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=QT(e);null!==e;){if(r=e[YT])return r;e=QT(e)}return t}r=(e=r).parentNode}return null}function eA(e){return!(e=e[YT]||e[ZT])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function tA(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(yE(33))}function rA(e){return e[$T]||null}function nA(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function oA(e,t){var r=e.stateNode;if(!r)return null;var n=xE(r);if(!n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(yE(231,t,typeof r));return r}function aA(e,t,r){(t=oA(e,r.dispatchConfig.phasedRegistrationNames[t]))&&(r._dispatchListeners=Sx(r._dispatchListeners,t),r._dispatchInstances=Sx(r._dispatchInstances,e))}function iA(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,r=[];t;)r.push(t),t=nA(t);for(t=r.length;0<t--;)aA(r[t],"captured",e);for(t=0;t<r.length;t++)aA(r[t],"bubbled",e)}}function sA(e,t,r){e&&r&&r.dispatchConfig.registrationName&&(t=oA(e,r.dispatchConfig.registrationName))&&(r._dispatchListeners=Sx(r._dispatchListeners,t),r._dispatchInstances=Sx(r._dispatchInstances,e))}function cA(e){e&&e.dispatchConfig.registrationName&&sA(e._targetInst,null,e)}function lA(e){Bx(e,iA)}var uA=null,dA=null,fA=null;function pA(){if(fA)return fA;var e,t,r=dA,n=r.length,o="value"in uA?uA.value:uA.textContent,a=o.length;for(e=0;e<n&&r[e]===o[e];e++);var i=n-e;for(t=1;t<=i&&r[n-t]===o[a-t];t++);return fA=o.slice(e,1<t?1-t:void 0)}function hA(){return!0}function mA(){return!1}function gA(e,t,r,n){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=r,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(r):"target"===o?this.target=n:this[o]=r[o]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?hA:mA,this.isPropagationStopped=mA,this}function vA(e,t,r,n){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,r,n),o}return new this(e,t,r,n)}function yA(e){if(!(e instanceof this))throw Error(yE(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function bA(e){e.eventPool=[],e.getPooled=vA,e.release=yA}lb(gA.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=hA)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=hA)},persist:function(){this.isPersistent=hA},isPersistent:mA,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=mA,this._dispatchInstances=this._dispatchListeners=null}}),gA.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},gA.extend=function(e){function t(){}function r(){return n.apply(this,arguments)}var n=this;t.prototype=n.prototype;var o=new t;return lb(o,r.prototype),r.prototype=o,r.prototype.constructor=r,r.Interface=lb({},n.Interface,e),r.extend=n.extend,bA(r),r},bA(gA);var wA=gA.extend({data:null}),kA=gA.extend({data:null}),CA=[9,13,27,32],SA=jE&&"CompositionEvent"in window,BA=null;jE&&"documentMode"in document&&(BA=document.documentMode);var EA=jE&&"TextEvent"in window&&!BA,_A=jE&&(!SA||BA&&8<BA&&11>=BA),xA=String.fromCharCode(32),TA={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},AA=!1;function PA(e,t){switch(e){case"keyup":return-1!==CA.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function IA(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var RA=!1;function NA(e,t){switch(e){case"compositionend":return IA(t);case"keypress":return 32!==t.which?null:(AA=!0,xA);case"textInput":return(e=t.data)===xA&&AA?null:e;default:return null}}function OA(e,t){if(RA)return"compositionend"===e||!SA&&PA(e,t)?(e=pA(),fA=dA=uA=null,RA=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return _A&&"ko"!==t.locale?null:t.data;default:return null}}var DA={eventTypes:TA,extractEvents:function(e,t,r,n){var o;if(SA)e:{switch(e){case"compositionstart":var a=TA.compositionStart;break e;case"compositionend":a=TA.compositionEnd;break e;case"compositionupdate":a=TA.compositionUpdate;break e}a=void 0}else RA?PA(e,r)&&(a=TA.compositionEnd):"keydown"===e&&229===r.keyCode&&(a=TA.compositionStart);return a?(_A&&"ko"!==r.locale&&(RA||a!==TA.compositionStart?a===TA.compositionEnd&&RA&&(o=pA()):(dA="value"in(uA=n)?uA.value:uA.textContent,RA=!0)),a=wA.getPooled(a,t,r,n),o?a.data=o:null!==(o=IA(r))&&(a.data=o),lA(a),o=a):o=null,(e=EA?NA(e,r):OA(e,r))?((t=kA.getPooled(TA.beforeInput,t,r,n)).data=e,lA(t)):t=null,null===o?t:null===t?o:[o,t]}},LA={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function MA(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!LA[e.type]:"textarea"===t}var UA={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function FA(e,t,r){return(e=gA.getPooled(UA.change,e,t,r)).type="change",KE(r),lA(e),e}var jA=null,VA=null;function zA(e){xx(e)}function qA(e){if(F_(tA(e)))return e}function HA(e,t){if("change"===e)return t}var KA=!1;function WA(){jA&&(jA.detachEvent("onpropertychange",GA),VA=jA=null)}function GA(e){if("value"===e.propertyName&&qA(VA))if(e=FA(VA,e,Tx(e)),$E)xx(e);else{$E=!0;try{GE(zA,e)}finally{$E=!1,JE()}}}function QA(e,t,r){"focus"===e?(WA(),VA=r,(jA=t).attachEvent("onpropertychange",GA)):"blur"===e&&WA()}function XA(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qA(VA)}function YA(e,t){if("click"===e)return qA(t)}function $A(e,t){if("input"===e||"change"===e)return qA(t)}jE&&(KA=Ax("input")&&(!document.documentMode||9<document.documentMode));var ZA={eventTypes:UA,_isInputEventSupported:KA,extractEvents:function(e,t,r,n){var o=t?tA(t):window,a=o.nodeName&&o.nodeName.toLowerCase();if("select"===a||"input"===a&&"file"===o.type)var i=HA;else if(MA(o))if(KA)i=$A;else{i=XA;var s=QA}else(a=o.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(i=YA);if(i&&(i=i(e,t)))return FA(i,r,n);s&&s(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&K_(o,"number",o.value)}},JA=gA.extend({view:null,detail:null}),eP={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tP(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=eP[e])&&!!t[e]}function rP(){return tP}var nP=0,oP=0,aP=!1,iP=!1,sP=JA.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:rP,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=nP;return nP=e.screenX,aP?"mousemove"===e.type?e.screenX-t:0:(aP=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=oP;return oP=e.screenY,iP?"mousemove"===e.type?e.screenY-t:0:(iP=!0,0)}}),cP=sP.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),lP={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},uP={eventTypes:lP,extractEvents:function(e,t,r,n,o){var a="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(a&&0==(32&o)&&(r.relatedTarget||r.fromElement)||!i&&!a)return null;(a=n.window===n?n:(a=n.ownerDocument)?a.defaultView||a.parentWindow:window,i)?(i=t,null!==(t=(t=r.relatedTarget||r.toElement)?JT(t):null)&&(t!==yx(t)||5!==t.tag&&6!==t.tag)&&(t=null)):i=null;if(i===t)return null;if("mouseout"===e||"mouseover"===e)var s=sP,c=lP.mouseLeave,l=lP.mouseEnter,u="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=cP,c=lP.pointerLeave,l=lP.pointerEnter,u="pointer");if(e=null==i?a:tA(i),a=null==t?a:tA(t),(c=s.getPooled(c,i,r,n)).type=u+"leave",c.target=e,c.relatedTarget=a,(r=s.getPooled(l,t,r,n)).type=u+"enter",r.target=a,r.relatedTarget=e,u=t,(n=i)&&u)e:{for(l=u,i=0,e=s=n;e;e=nA(e))i++;for(e=0,t=l;t;t=nA(t))e++;for(;0<i-e;)s=nA(s),i--;for(;0<e-i;)l=nA(l),e--;for(;i--;){if(s===l||s===l.alternate)break e;s=nA(s),l=nA(l)}s=null}else s=null;for(l=s,s=[];n&&n!==l&&(null===(i=n.alternate)||i!==l);)s.push(n),n=nA(n);for(n=[];u&&u!==l&&(null===(i=u.alternate)||i!==l);)n.push(u),u=nA(u);for(u=0;u<s.length;u++)sA(s[u],"bubbled",c);for(u=n.length;0<u--;)sA(n[u],"captured",r);return 0==(64&o)?[c]:[c,r]}};function dP(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var fP="function"==typeof Object.is?Object.is:dP,pP=Object.prototype.hasOwnProperty;function hP(e,t){if(fP(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!pP.call(t,r[n])||!fP(e[r[n]],t[r[n]]))return!1;return!0}var mP=jE&&"documentMode"in document&&11>=document.documentMode,gP={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},vP=null,yP=null,bP=null,wP=!1;function kP(e,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return wP||null==vP||vP!==IT(r)?null:("selectionStart"in(r=vP)&&LT(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},bP&&hP(bP,r)?null:(bP=r,(e=gA.getPooled(gP.select,yP,e,t)).type="select",e.target=vP,lA(e),e))}var CP={eventTypes:gP,extractEvents:function(e,t,r,n,o,a){if(!(a=!(o=a||(n.window===n?n.document:9===n.nodeType?n:n.ownerDocument)))){e:{o=vx(o),a=UE.onSelect;for(var i=0;i<a.length;i++)if(!o.has(a[i])){o=!1;break e}o=!0}a=!o}if(a)return null;switch(o=t?tA(t):window,e){case"focus":(MA(o)||"true"===o.contentEditable)&&(vP=o,yP=t,bP=null);break;case"blur":bP=yP=vP=null;break;case"mousedown":wP=!0;break;case"contextmenu":case"mouseup":case"dragend":return wP=!1,kP(r,n);case"selectionchange":if(mP)break;case"keydown":case"keyup":return kP(r,n)}return null}},SP=gA.extend({animationName:null,elapsedTime:null,pseudoElement:null}),BP=gA.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),EP=JA.extend({relatedTarget:null});function _P(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var xP={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},TP={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},AP=JA.extend({key:function(e){if(e.key){var t=xP[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=_P(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?TP[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:rP,charCode:function(e){return"keypress"===e.type?_P(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?_P(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),PP=sP.extend({dataTransfer:null}),IP=JA.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:rP}),RP=gA.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),NP=sP.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),OP={eventTypes:aT,extractEvents:function(e,t,r,n){var o=iT.get(e);if(!o)return null;switch(e){case"keypress":if(0===_P(r))return null;case"keydown":case"keyup":e=AP;break;case"blur":case"focus":e=EP;break;case"click":if(2===r.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=sP;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=PP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=IP;break;case dx:case fx:case px:e=SP;break;case hx:e=RP;break;case"scroll":e=JA;break;case"wheel":e=NP;break;case"copy":case"cut":case"paste":e=BP;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=cP;break;default:e=gA}return lA(t=e.getPooled(o,t,r,n)),t}};if(IE)throw Error(yE(101));IE=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),NE();var DP=eA;xE=rA,TE=DP,AE=tA,FE({SimpleEventPlugin:OP,EnterLeaveEventPlugin:uP,ChangeEventPlugin:ZA,SelectEventPlugin:CP,BeforeInputEventPlugin:DA});var LP=[],MP=-1;function UP(e){0>MP||(e.current=LP[MP],LP[MP]=null,MP--)}function FP(e,t){MP++,LP[MP]=e.current,e.current=t}var jP={},VP={current:jP},zP={current:!1},qP=jP;function HP(e,t){var r=e.type.contextTypes;if(!r)return jP;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in r)a[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function KP(e){return null!=(e=e.childContextTypes)}function WP(){UP(zP),UP(VP)}function GP(e,t,r){if(VP.current!==jP)throw Error(yE(168));FP(VP,t),FP(zP,r)}function QP(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in e))throw Error(yE(108,N_(t)||"Unknown",o));return lb({},r,{},n)}function XP(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||jP,qP=VP.current,FP(VP,e),FP(zP,zP.current),!0}function YP(e,t,r){var n=e.stateNode;if(!n)throw Error(yE(169));r?(e=QP(e,t,qP),n.__reactInternalMemoizedMergedChildContext=e,UP(zP),UP(VP),FP(VP,e)):UP(zP),FP(zP,r)}var $P=vE.unstable_runWithPriority,ZP=vE.unstable_scheduleCallback,JP=vE.unstable_cancelCallback,eI=vE.unstable_requestPaint,tI=vE.unstable_now,rI=vE.unstable_getCurrentPriorityLevel,nI=vE.unstable_ImmediatePriority,oI=vE.unstable_UserBlockingPriority,aI=vE.unstable_NormalPriority,iI=vE.unstable_LowPriority,sI=vE.unstable_IdlePriority,cI={},lI=vE.unstable_shouldYield,uI=void 0!==eI?eI:function(){},dI=null,fI=null,pI=!1,hI=tI(),mI=1e4>hI?tI:function(){return tI()-hI};function gI(){switch(rI()){case nI:return 99;case oI:return 98;case aI:return 97;case iI:return 96;case sI:return 95;default:throw Error(yE(332))}}function vI(e){switch(e){case 99:return nI;case 98:return oI;case 97:return aI;case 96:return iI;case 95:return sI;default:throw Error(yE(332))}}function yI(e,t){return e=vI(e),$P(e,t)}function bI(e,t,r){return e=vI(e),ZP(e,t,r)}function wI(e){return null===dI?(dI=[e],fI=ZP(nI,CI)):dI.push(e),cI}function kI(){if(null!==fI){var e=fI;fI=null,JP(e)}CI()}function CI(){if(!pI&&null!==dI){pI=!0;var e=0;try{var t=dI;yI(99,(function(){for(;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}})),dI=null}catch(t){throw null!==dI&&(dI=dI.slice(e+1)),ZP(nI,kI),t}finally{pI=!1}}}function SI(e,t,r){return 1073741821-(1+((1073741821-e+t/10)/(r/=10)|0))*r}function BI(e,t){if(e&&e.defaultProps)for(var r in t=lb({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}var EI={current:null},_I=null,xI=null,TI=null;function AI(){TI=xI=_I=null}function PI(e){var t=EI.current;UP(EI),e.type._context._currentValue=t}function II(e,t){for(;null!==e;){var r=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t);else{if(!(null!==r&&r.childExpirationTime<t))break;r.childExpirationTime=t}e=e.return}}function RI(e,t){_I=e,TI=xI=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(aN=!0),e.firstContext=null)}function NI(e,t){if(TI!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(TI=e,t=1073741823),t={context:e,observedBits:t,next:null},null===xI){if(null===_I)throw Error(yE(308));xI=t,_I.dependencies={expirationTime:0,firstContext:t,responders:null}}else xI=xI.next=t;return e._currentValue}var OI=!1;function DI(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function LI(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function MI(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function UI(e,t){if(null!==(e=e.updateQueue)){var r=(e=e.shared).pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function FI(e,t){var r=e.alternate;null!==r&&LI(r,e),null===(r=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=r.next,r.next=t)}function jI(e,t,r,n){var o=e.updateQueue;OI=!1;var a=o.baseQueue,i=o.shared.pending;if(null!==i){if(null!==a){var s=a.next;a.next=i.next,i.next=s}a=i,o.shared.pending=null,null!==(s=e.alternate)&&(null!==(s=s.updateQueue)&&(s.baseQueue=i))}if(null!==a){s=a.next;var c=o.baseState,l=0,u=null,d=null,f=null;if(null!==s)for(var p=s;;){if((i=p.expirationTime)<n){var h={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===f?(d=f=h,u=c):f=f.next=h,i>l&&(l=i)}else{null!==f&&(f=f.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),GO(i,p.suspenseConfig);e:{var m=e,g=p;switch(i=t,h=r,g.tag){case 1:if("function"==typeof(m=g.payload)){c=m.call(h,c,i);break e}c=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null==(i="function"==typeof(m=g.payload)?m.call(h,c,i):m))break e;c=lb({},c,i);break e;case 2:OI=!0}}null!==p.callback&&(e.effectTag|=32,null===(i=o.effects)?o.effects=[p]:i.push(p))}if(null===(p=p.next)||p===s){if(null===(i=o.shared.pending))break;p=a.next=i.next,i.next=s,o.baseQueue=a=i,o.shared.pending=null}}null===f?u=c:f.next=d,o.baseState=u,o.baseQueue=f,QO(l),e.expirationTime=l,e.memoizedState=c}}function VI(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(null!==o){if(n.callback=null,n=o,o=r,"function"!=typeof n)throw Error(yE(191,n));n.call(o)}}}var zI=f_.ReactCurrentBatchConfig,qI=(new xw.Component).refs;function HI(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:lb({},t,r),e.memoizedState=r,0===e.expirationTime&&(e.updateQueue.baseState=r)}var KI={isMounted:function(e){return!!(e=e._reactInternalFiber)&&yx(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternalFiber;var n=NO(),o=zI.suspense;(o=MI(n=OO(n,e,o),o)).payload=t,null!=r&&(o.callback=r),UI(e,o),DO(e,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternalFiber;var n=NO(),o=zI.suspense;(o=MI(n=OO(n,e,o),o)).tag=1,o.payload=t,null!=r&&(o.callback=r),UI(e,o),DO(e,n)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var r=NO(),n=zI.suspense;(n=MI(r=OO(r,e,n),n)).tag=2,null!=t&&(n.callback=t),UI(e,n),DO(e,r)}};function WI(e,t,r,n,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!hP(r,n)||!hP(o,a))}function GI(e,t,r){var n=!1,o=jP,a=t.contextType;return"object"==typeof a&&null!==a?a=NI(a):(o=KP(t)?qP:VP.current,a=(n=null!=(n=t.contextTypes))?HP(e,o):jP),t=new t(r,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=KI,e.stateNode=t,t._reactInternalFiber=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function QI(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&KI.enqueueReplaceState(t,t.state,null)}function XI(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs=qI,DI(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=NI(a):(a=KP(t)?qP:VP.current,o.context=HP(e,a)),jI(e,r,o,n),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(HI(e,t,a,r),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&KI.enqueueReplaceState(o,o.state,null),jI(e,r,o,n),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var YI=Array.isArray;function $I(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(yE(309));var n=r.stateNode}if(!n)throw Error(yE(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=n.refs;t===qI&&(t=n.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(yE(284));if(!r._owner)throw Error(yE(290,e))}return e}function ZI(e,t){if("textarea"!==e.type)throw Error(yE(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function JI(e){function t(t,r){if(e){var n=t.lastEffect;null!==n?(n.nextEffect=r,t.lastEffect=r):t.firstEffect=t.lastEffect=r,r.nextEffect=null,r.effectTag=8}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=gD(e,t)).index=0,e.sibling=null,e}function a(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.effectTag=2,r):n:(t.effectTag=2,r):r}function i(t){return e&&null===t.alternate&&(t.effectTag=2),t}function s(e,t,r,n){return null===t||6!==t.tag?((t=bD(r,e.mode,n)).return=e,t):((t=o(t,r)).return=e,t)}function c(e,t,r,n){return null!==t&&t.elementType===r.type?((n=o(t,r.props)).ref=$I(e,t,r),n.return=e,n):((n=vD(r.type,r.key,r.props,null,e.mode,n)).ref=$I(e,t,r),n.return=e,n)}function l(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=wD(r,e.mode,n)).return=e,t):((t=o(t,r.children||[])).return=e,t)}function u(e,t,r,n,a){return null===t||7!==t.tag?((t=yD(r,e.mode,n,a)).return=e,t):((t=o(t,r)).return=e,t)}function d(e,t,r){if("string"==typeof t||"number"==typeof t)return(t=bD(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case g_:return(r=vD(t.type,t.key,t.props,null,e.mode,r)).ref=$I(e,null,t),r.return=e,r;case v_:return(t=wD(t,e.mode,r)).return=e,t}if(YI(t)||I_(t))return(t=yD(t,e.mode,r,null)).return=e,t;ZI(e,t)}return null}function f(e,t,r,n){var o=null!==t?t.key:null;if("string"==typeof r||"number"==typeof r)return null!==o?null:s(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case g_:return r.key===o?r.type===y_?u(e,t,r.props.children,n,o):c(e,t,r,n):null;case v_:return r.key===o?l(e,t,r,n):null}if(YI(r)||I_(r))return null!==o?null:u(e,t,r,n,null);ZI(e,r)}return null}function p(e,t,r,n,o){if("string"==typeof n||"number"==typeof n)return s(t,e=e.get(r)||null,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case g_:return e=e.get(null===n.key?r:n.key)||null,n.type===y_?u(t,e,n.props.children,o,n.key):c(t,e,n,o);case v_:return l(t,e=e.get(null===n.key?r:n.key)||null,n,o)}if(YI(n)||I_(n))return u(t,e=e.get(r)||null,n,o,null);ZI(t,n)}return null}function h(o,i,s,c){for(var l=null,u=null,h=i,m=i=0,g=null;null!==h&&m<s.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=f(o,h,s[m],c);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),i=a(v,i,m),null===u?l=v:u.sibling=v,u=v,h=g}if(m===s.length)return r(o,h),l;if(null===h){for(;m<s.length;m++)null!==(h=d(o,s[m],c))&&(i=a(h,i,m),null===u?l=h:u.sibling=h,u=h);return l}for(h=n(o,h);m<s.length;m++)null!==(g=p(h,o,m,s[m],c))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),i=a(g,i,m),null===u?l=g:u.sibling=g,u=g);return e&&h.forEach((function(e){return t(o,e)})),l}function m(o,i,s,c){var l=I_(s);if("function"!=typeof l)throw Error(yE(150));if(null==(s=l.call(s)))throw Error(yE(151));for(var u=l=null,h=i,m=i=0,g=null,v=s.next();null!==h&&!v.done;m++,v=s.next()){h.index>m?(g=h,h=null):g=h.sibling;var y=f(o,h,v.value,c);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(o,h),i=a(y,i,m),null===u?l=y:u.sibling=y,u=y,h=g}if(v.done)return r(o,h),l;if(null===h){for(;!v.done;m++,v=s.next())null!==(v=d(o,v.value,c))&&(i=a(v,i,m),null===u?l=v:u.sibling=v,u=v);return l}for(h=n(o,h);!v.done;m++,v=s.next())null!==(v=p(h,o,m,v.value,c))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),i=a(v,i,m),null===u?l=v:u.sibling=v,u=v);return e&&h.forEach((function(e){return t(o,e)})),l}return function(e,n,a,s){var c="object"==typeof a&&null!==a&&a.type===y_&&null===a.key;c&&(a=a.props.children);var l="object"==typeof a&&null!==a;if(l)switch(a.$$typeof){case g_:e:{for(l=a.key,c=n;null!==c;){if(c.key===l){switch(c.tag){case 7:if(a.type===y_){r(e,c.sibling),(n=o(c,a.props.children)).return=e,e=n;break e}break;default:if(c.elementType===a.type){r(e,c.sibling),(n=o(c,a.props)).ref=$I(e,c,a),n.return=e,e=n;break e}}r(e,c);break}t(e,c),c=c.sibling}a.type===y_?((n=yD(a.props.children,e.mode,s,a.key)).return=e,e=n):((s=vD(a.type,a.key,a.props,null,e.mode,s)).ref=$I(e,n,a),s.return=e,e=s)}return i(e);case v_:e:{for(c=a.key;null!==n;){if(n.key===c){if(4===n.tag&&n.stateNode.containerInfo===a.containerInfo&&n.stateNode.implementation===a.implementation){r(e,n.sibling),(n=o(n,a.children||[])).return=e,e=n;break e}r(e,n);break}t(e,n),n=n.sibling}(n=wD(a,e.mode,s)).return=e,e=n}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==n&&6===n.tag?(r(e,n.sibling),(n=o(n,a)).return=e,e=n):(r(e,n),(n=bD(a,e.mode,s)).return=e,e=n),i(e);if(YI(a))return h(e,n,a,s);if(I_(a))return m(e,n,a,s);if(l&&ZI(e,a),void 0===a&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(yE(152,e.displayName||e.name||"Component"))}return r(e,n)}}var eR=JI(!0),tR=JI(!1),rR={},nR={current:rR},oR={current:rR},aR={current:rR};function iR(e){if(e===rR)throw Error(yE(174));return e}function sR(e,t){switch(FP(aR,t),FP(oR,e),FP(nR,rR),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:tx(null,"");break;default:t=tx(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}UP(nR),FP(nR,t)}function cR(){UP(nR),UP(oR),UP(aR)}function lR(e){iR(aR.current);var t=iR(nR.current),r=tx(t,e.type);t!==r&&(FP(oR,e),FP(nR,r))}function uR(e){oR.current===e&&(UP(nR),UP(oR))}var dR={current:0};function fR(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||r.data===FT||r.data===jT))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function pR(e,t){return{responder:e,props:t}}var hR=f_.ReactCurrentDispatcher,mR=f_.ReactCurrentBatchConfig,gR=0,vR=null,yR=null,bR=null,wR=!1;function kR(){throw Error(yE(321))}function CR(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!fP(e[r],t[r]))return!1;return!0}function SR(e,t,r,n,o,a){if(gR=a,vR=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,hR.current=null===e||null===e.memoizedState?WR:GR,e=r(n,o),t.expirationTime===gR){a=0;do{if(t.expirationTime=0,!(25>a))throw Error(yE(301));a+=1,bR=yR=null,t.updateQueue=null,hR.current=QR,e=r(n,o)}while(t.expirationTime===gR)}if(hR.current=KR,t=null!==yR&&null!==yR.next,gR=0,bR=yR=vR=null,wR=!1,t)throw Error(yE(300));return e}function BR(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===bR?vR.memoizedState=bR=e:bR=bR.next=e,bR}function ER(){if(null===yR){var e=vR.alternate;e=null!==e?e.memoizedState:null}else e=yR.next;var t=null===bR?vR.memoizedState:bR.next;if(null!==t)bR=t,yR=e;else{if(null===e)throw Error(yE(310));e={memoizedState:(yR=e).memoizedState,baseState:yR.baseState,baseQueue:yR.baseQueue,queue:yR.queue,next:null},null===bR?vR.memoizedState=bR=e:bR=bR.next=e}return bR}function _R(e,t){return"function"==typeof t?t(e):t}function xR(e){var t=ER(),r=t.queue;if(null===r)throw Error(yE(311));r.lastRenderedReducer=e;var n=yR,o=n.baseQueue,a=r.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}n.baseQueue=o=a,r.pending=null}if(null!==o){o=o.next,n=n.baseState;var s=i=a=null,c=o;do{var l=c.expirationTime;if(l<gR){var u={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===s?(i=s=u,a=n):s=s.next=u,l>vR.expirationTime&&(vR.expirationTime=l,QO(l))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),GO(l,c.suspenseConfig),n=c.eagerReducer===e?c.eagerState:e(n,c.action);c=c.next}while(null!==c&&c!==o);null===s?a=n:s.next=i,fP(n,t.memoizedState)||(aN=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=s,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function TR(e){var t=ER(),r=t.queue;if(null===r)throw Error(yE(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,a=t.memoizedState;if(null!==o){r.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);fP(a,t.memoizedState)||(aN=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function AR(e){var t=BR();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:_R,lastRenderedState:e}).dispatch=HR.bind(null,vR,e),[t.memoizedState,e]}function PR(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=vR.updateQueue)?(t={lastEffect:null},vR.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function IR(){return ER().memoizedState}function RR(e,t,r,n){var o=BR();vR.effectTag|=e,o.memoizedState=PR(1|t,r,void 0,void 0===n?null:n)}function NR(e,t,r,n){var o=ER();n=void 0===n?null:n;var a=void 0;if(null!==yR){var i=yR.memoizedState;if(a=i.destroy,null!==n&&CR(n,i.deps))return void PR(t,r,a,n)}vR.effectTag|=e,o.memoizedState=PR(1|t,r,a,n)}function OR(e,t){return RR(516,4,e,t)}function DR(e,t){return NR(516,4,e,t)}function LR(e,t){return NR(4,2,e,t)}function MR(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function UR(e,t,r){return r=null!=r?r.concat([e]):null,NR(4,2,MR.bind(null,t,e),r)}function FR(){}function jR(e,t){return BR().memoizedState=[e,void 0===t?null:t],e}function VR(e,t){var r=ER();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&CR(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function zR(e,t){var r=ER();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&CR(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function qR(e,t,r){var n=gI();yI(98>n?98:n,(function(){e(!0)})),yI(97<n?97:n,(function(){var n=mR.suspense;mR.suspense=void 0===t?null:t;try{e(!1),r()}finally{mR.suspense=n}}))}function HR(e,t,r){var n=NO(),o=zI.suspense;o={expirationTime:n=OO(n,e,o),suspenseConfig:o,action:r,eagerReducer:null,eagerState:null,next:null};var a=t.pending;if(null===a?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===vR||null!==a&&a===vR)wR=!0,o.expirationTime=gR,vR.expirationTime=gR;else{if(0===e.expirationTime&&(null===a||0===a.expirationTime)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=a(i,r);if(o.eagerReducer=a,o.eagerState=s,fP(s,i))return}catch(e){}DO(e,n)}}var KR={readContext:NI,useCallback:kR,useContext:kR,useEffect:kR,useImperativeHandle:kR,useLayoutEffect:kR,useMemo:kR,useReducer:kR,useRef:kR,useState:kR,useDebugValue:kR,useResponder:kR,useDeferredValue:kR,useTransition:kR},WR={readContext:NI,useCallback:jR,useContext:NI,useEffect:OR,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,RR(4,2,MR.bind(null,t,e),r)},useLayoutEffect:function(e,t){return RR(4,2,e,t)},useMemo:function(e,t){var r=BR();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=BR();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e=(e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=HR.bind(null,vR,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},BR().memoizedState=e},useState:AR,useDebugValue:FR,useResponder:pR,useDeferredValue:function(e,t){var r=AR(e),n=r[0],o=r[1];return OR((function(){var r=mR.suspense;mR.suspense=void 0===t?null:t;try{o(e)}finally{mR.suspense=r}}),[e,t]),n},useTransition:function(e){var t=AR(!1),r=t[0];return t=t[1],[jR(qR.bind(null,t,e),[t,e]),r]}},GR={readContext:NI,useCallback:VR,useContext:NI,useEffect:DR,useImperativeHandle:UR,useLayoutEffect:LR,useMemo:zR,useReducer:xR,useRef:IR,useState:function(){return xR(_R)},useDebugValue:FR,useResponder:pR,useDeferredValue:function(e,t){var r=xR(_R),n=r[0],o=r[1];return DR((function(){var r=mR.suspense;mR.suspense=void 0===t?null:t;try{o(e)}finally{mR.suspense=r}}),[e,t]),n},useTransition:function(e){var t=xR(_R),r=t[0];return t=t[1],[VR(qR.bind(null,t,e),[t,e]),r]}},QR={readContext:NI,useCallback:VR,useContext:NI,useEffect:DR,useImperativeHandle:UR,useLayoutEffect:LR,useMemo:zR,useReducer:TR,useRef:IR,useState:function(){return TR(_R)},useDebugValue:FR,useResponder:pR,useDeferredValue:function(e,t){var r=TR(_R),n=r[0],o=r[1];return DR((function(){var r=mR.suspense;mR.suspense=void 0===t?null:t;try{o(e)}finally{mR.suspense=r}}),[e,t]),n},useTransition:function(e){var t=TR(_R),r=t[0];return t=t[1],[VR(qR.bind(null,t,e),[t,e]),r]}},XR=null,YR=null,$R=!1;function ZR(e,t){var r=pD(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function JR(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function eN(e){if($R){var t=YR;if(t){var r=t;if(!JR(e,t)){if(!(t=GT(r.nextSibling))||!JR(e,t))return e.effectTag=-1025&e.effectTag|2,$R=!1,void(XR=e);ZR(XR,r)}XR=e,YR=GT(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,$R=!1,XR=e}}function tN(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;XR=e}function rN(e){if(e!==XR)return!1;if(!$R)return tN(e),$R=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!HT(t,e.memoizedProps))for(t=YR;t;)ZR(e,t),t=GT(t.nextSibling);if(tN(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(yE(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if(r===UT){if(0===t){YR=GT(e.nextSibling);break e}t--}else r!==MT&&r!==jT&&r!==FT||t++}e=e.nextSibling}YR=null}}else YR=XR?GT(e.stateNode.nextSibling):null;return!0}function nN(){YR=XR=null,$R=!1}var oN=f_.ReactCurrentOwner,aN=!1;function iN(e,t,r,n){t.child=null===e?tR(t,null,r,n):eR(t,e.child,r,n)}function sN(e,t,r,n,o){r=r.render;var a=t.ref;return RI(t,o),n=SR(e,t,r,n,a,o),null===e||aN?(t.effectTag|=1,iN(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),BN(e,t,o))}function cN(e,t,r,n,o,a){if(null===e){var i=r.type;return"function"!=typeof i||hD(i)||void 0!==i.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=vD(r.type,null,n,null,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,lN(e,t,i,n,o,a))}return i=e.child,o<a&&(o=i.memoizedProps,(r=null!==(r=r.compare)?r:hP)(o,n)&&e.ref===t.ref)?BN(e,t,a):(t.effectTag|=1,(e=gD(i,n)).ref=t.ref,e.return=t,t.child=e)}function lN(e,t,r,n,o,a){return null!==e&&hP(e.memoizedProps,n)&&e.ref===t.ref&&(aN=!1,o<a)?(t.expirationTime=e.expirationTime,BN(e,t,a)):dN(e,t,r,n,a)}function uN(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.effectTag|=128)}function dN(e,t,r,n,o){var a=KP(r)?qP:VP.current;return a=HP(t,a),RI(t,o),r=SR(e,t,r,n,a,o),null===e||aN?(t.effectTag|=1,iN(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),BN(e,t,o))}function fN(e,t,r,n,o){if(KP(r)){var a=!0;XP(t)}else a=!1;if(RI(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),GI(t,r,n),XI(t,r,n,o),n=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var c=i.context,l=r.contextType;"object"==typeof l&&null!==l?l=NI(l):l=HP(t,l=KP(r)?qP:VP.current);var u=r.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==n||c!==l)&&QI(t,i,n,l),OI=!1;var f=t.memoizedState;i.state=f,jI(t,n,i,o),c=t.memoizedState,s!==n||f!==c||zP.current||OI?("function"==typeof u&&(HI(t,r,u,n),c=t.memoizedState),(s=OI||WI(t,r,s,n,f,c,l))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.effectTag|=4)):("function"==typeof i.componentDidMount&&(t.effectTag|=4),t.memoizedProps=n,t.memoizedState=c),i.props=n,i.state=c,i.context=l,n=s):("function"==typeof i.componentDidMount&&(t.effectTag|=4),n=!1)}else i=t.stateNode,LI(e,t),s=t.memoizedProps,i.props=t.type===t.elementType?s:BI(t.type,s),c=i.context,"object"==typeof(l=r.contextType)&&null!==l?l=NI(l):l=HP(t,l=KP(r)?qP:VP.current),(d="function"==typeof(u=r.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==n||c!==l)&&QI(t,i,n,l),OI=!1,c=t.memoizedState,i.state=c,jI(t,n,i,o),f=t.memoizedState,s!==n||c!==f||zP.current||OI?("function"==typeof u&&(HI(t,r,u,n),f=t.memoizedState),(u=OI||WI(t,r,s,n,c,f,l))?(d||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(n,f,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(n,f,l)),"function"==typeof i.componentDidUpdate&&(t.effectTag|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=n,t.memoizedState=f),i.props=n,i.state=f,i.context=l,n=u):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),n=!1);return pN(e,t,r,n,a,o)}function pN(e,t,r,n,o,a){uN(e,t);var i=0!=(64&t.effectTag);if(!n&&!i)return o&&YP(t,r,!1),BN(e,t,a);n=t.stateNode,oN.current=t;var s=i&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.effectTag|=1,null!==e&&i?(t.child=eR(t,e.child,null,a),t.child=eR(t,null,s,a)):iN(e,t,s,a),t.memoizedState=n.state,o&&YP(t,r,!0),t.child}function hN(e){var t=e.stateNode;t.pendingContext?GP(0,t.pendingContext,t.pendingContext!==t.context):t.context&&GP(0,t.context,!1),sR(e,t.containerInfo)}var mN,gN,vN,yN,bN={dehydrated:null,retryTime:0};function wN(e,t,r){var n,o=t.mode,a=t.pendingProps,i=dR.current,s=!1;if((n=0!=(64&t.effectTag))||(n=0!=(2&i)&&(null===e||null!==e.memoizedState)),n?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(i|=1),FP(dR,1&i),null===e){if(void 0!==a.fallback&&eN(t),s){if(s=a.fallback,(a=yD(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(r=yD(s,o,r,null)).return=t,a.sibling=r,t.memoizedState=bN,t.child=a,r}return o=a.children,t.memoizedState=null,t.child=tR(t,null,o,r)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,s){if(a=a.fallback,(r=gD(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(r.child=s;null!==s;)s.return=r,s=s.sibling;return(o=gD(o,a)).return=t,r.sibling=o,r.childExpirationTime=0,t.memoizedState=bN,t.child=r,o}return r=eR(t,e.child,a.children,r),t.memoizedState=null,t.child=r}if(e=e.child,s){if(s=a.fallback,(a=yD(null,o,0,null)).return=t,a.child=e,null!==e&&(e.return=a),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(r=yD(s,o,r,null)).return=t,a.sibling=r,r.effectTag|=2,a.childExpirationTime=0,t.memoizedState=bN,t.child=a,r}return t.memoizedState=null,t.child=eR(t,e,a.children,r)}function kN(e,t){e.expirationTime<t&&(e.expirationTime=t);var r=e.alternate;null!==r&&r.expirationTime<t&&(r.expirationTime=t),II(e.return,t)}function CN(e,t,r,n,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailExpiration:0,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailExpiration=0,i.tailMode=o,i.lastEffect=a)}function SN(e,t,r){var n=t.pendingProps,o=n.revealOrder,a=n.tail;if(iN(e,t,n.children,r),0!=(2&(n=dR.current)))n=1&n|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&kN(e,r);else if(19===e.tag)kN(e,r);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(FP(dR,n),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;null!==r;)null!==(e=r.alternate)&&null===fR(e)&&(o=r),r=r.sibling;null===(r=o)?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),CN(t,!1,o,r,a,t.lastEffect);break;case"backwards":for(r=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===fR(e)){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}CN(t,!0,r,null,a,t.lastEffect);break;case"together":CN(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function BN(e,t,r){null!==e&&(t.dependencies=e.dependencies);var n=t.expirationTime;if(0!==n&&QO(n),t.childExpirationTime<r)return null;if(null!==e&&t.child!==e.child)throw Error(yE(153));if(null!==t.child){for(r=gD(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=gD(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function EN(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function _N(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return KP(t.type)&&WP(),null;case 3:return cR(),UP(zP),UP(VP),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||!rN(t)||(t.effectTag|=4),gN(t),null;case 5:uR(t),r=iR(aR.current);var o=t.type;if(null!==e&&null!=t.stateNode)vN(e,t,o,n,r),e.ref!==t.ref&&(t.effectTag|=128);else{if(!n){if(null===t.stateNode)throw Error(yE(166));return null}if(e=iR(nR.current),rN(t)){n=t.stateNode,o=t.type;var a=t.memoizedProps;switch(n[YT]=t,n[$T]=a,o){case"iframe":case"object":case"embed":mT("load",n);break;case"video":case"audio":for(e=0;e<mx.length;e++)mT(mx[e],n);break;case"source":mT("error",n);break;case"img":case"image":case"link":mT("error",n),mT("load",n);break;case"form":mT("reset",n),mT("submit",n);break;case"details":mT("toggle",n);break;case"input":V_(n,a),mT("invalid",n),AT(r,"onChange");break;case"select":n._wrapperState={wasMultiple:!!a.multiple},mT("invalid",n),AT(r,"onChange");break;case"textarea":Y_(n,a),mT("invalid",n),AT(r,"onChange")}for(var i in _T(o,a),e=null,a)if(a.hasOwnProperty(i)){var s=a[i];"children"===i?"string"==typeof s?n.textContent!==s&&(e=["children",s]):"number"==typeof s&&n.textContent!==""+s&&(e=["children",""+s]):ME.hasOwnProperty(i)&&null!=s&&AT(r,i)}switch(o){case"input":U_(n),H_(n,a,!0);break;case"textarea":U_(n),Z_(n);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(n.onclick=PT)}r=e,t.updateQueue=r,null!==r&&(t.effectTag|=4)}else{switch(i=9===r.nodeType?r:r.ownerDocument,e===TT&&(e=ex(o)),e===TT?"script"===o?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=i.createElement(o,{is:n.is}):(e=i.createElement(o),"select"===o&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,o),e[YT]=t,e[$T]=n,mN(e,t,!1,!1),t.stateNode=e,i=xT(o,n),o){case"iframe":case"object":case"embed":mT("load",e),s=n;break;case"video":case"audio":for(s=0;s<mx.length;s++)mT(mx[s],e);s=n;break;case"source":mT("error",e),s=n;break;case"img":case"image":case"link":mT("error",e),mT("load",e),s=n;break;case"form":mT("reset",e),mT("submit",e),s=n;break;case"details":mT("toggle",e),s=n;break;case"input":V_(e,n),s=j_(e,n),mT("invalid",e),AT(r,"onChange");break;case"option":s=G_(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},s=lb({},n,{value:void 0}),mT("invalid",e),AT(r,"onChange");break;case"textarea":Y_(e,n),s=X_(e,n),mT("invalid",e),AT(r,"onChange");break;default:s=n}_T(o,s);var c=s;for(a in c)if(c.hasOwnProperty(a)){var l=c[a];"style"===a?BT(e,l):"dangerouslySetInnerHTML"===a?null!=(l=l?l.__html:void 0)&&ox(e,l):"children"===a?"string"==typeof l?("textarea"!==o||""!==l)&&ax(e,l):"number"==typeof l&&ax(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(ME.hasOwnProperty(a)?null!=l&&AT(r,a):null!=l&&p_(e,a,l,i))}switch(o){case"input":U_(e),H_(e,n,!1);break;case"textarea":U_(e),Z_(e);break;case"option":null!=n.value&&e.setAttribute("value",""+D_(n.value));break;case"select":e.multiple=!!n.multiple,null!=(r=n.value)?Q_(e,!!n.multiple,r,!1):null!=n.defaultValue&&Q_(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof s.onClick&&(e.onclick=PT)}qT(o,n)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)yN(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(yE(166));r=iR(aR.current),iR(nR.current),rN(t)?(r=t.stateNode,n=t.memoizedProps,r[YT]=t,r.nodeValue!==n&&(t.effectTag|=4)):((r=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[YT]=t,t.stateNode=r)}return null;case 13:return UP(dR),n=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=r,t):(r=null!==n,n=!1,null===e?void 0!==t.memoizedProps.fallback&&rN(t):(n=null!==(o=e.memoizedState),r||null===o||null!==(o=e.child.sibling)&&(null!==(a=t.firstEffect)?(t.firstEffect=o,o.nextEffect=a):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&dR.current)?pO===nO&&(pO=iO):(pO!==nO&&pO!==iO||(pO=sO),0!==yO&&null!==uO&&(SD(uO,fO),BD(uO,yO)))),(r||n)&&(t.effectTag|=4),null);case 4:return cR(),gN(t),null;case 10:return PI(t),null;case 17:return KP(t.type)&&WP(),null;case 19:if(UP(dR),null===(n=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(a=n.rendering)){if(o)EN(n,!1);else if(pO!==nO||null!==e&&0!=(64&e.effectTag))for(a=t.child;null!==a;){if(null!==(e=fR(a))){for(t.effectTag|=64,EN(n,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===n.lastEffect&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=t.child;null!==n;)a=r,(o=n).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=a,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,a=e.dependencies,o.dependencies=null===a?null:{expirationTime:a.expirationTime,firstContext:a.firstContext,responders:a.responders}),n=n.sibling;return FP(dR,1&dR.current|2),t.child}a=a.sibling}}else{if(!o)if(null!==(e=fR(a))){if(t.effectTag|=64,o=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.effectTag|=4),EN(n,!0),null===n.tail&&"hidden"===n.tailMode&&!a.alternate)return null!==(t=t.lastEffect=n.lastEffect)&&(t.nextEffect=null),null}else 2*mI()-n.renderingStartTime>n.tailExpiration&&1<r&&(t.effectTag|=64,o=!0,EN(n,!1),t.expirationTime=t.childExpirationTime=r-1);n.isBackwards?(a.sibling=t.child,t.child=a):(null!==(r=n.last)?r.sibling=a:t.child=a,n.last=a)}return null!==n.tail?(0===n.tailExpiration&&(n.tailExpiration=mI()+500),r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=mI(),r.sibling=null,t=dR.current,FP(dR,o?1&t|2:1&t),r):null}throw Error(yE(156,t.tag))}function xN(e){switch(e.tag){case 1:KP(e.type)&&WP();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(cR(),UP(zP),UP(VP),0!=(64&(t=e.effectTag)))throw Error(yE(285));return e.effectTag=-4097&t|64,e;case 5:return uR(e),null;case 13:return UP(dR),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return UP(dR),null;case 4:return cR(),null;case 10:return PI(e),null;default:return null}}function TN(e,t){return{value:e,source:t,stack:O_(t)}}mN=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},gN=function(){},vN=function(e,t,r,n,o){var a=e.memoizedProps;if(a!==n){var i,s,c=t.stateNode;switch(iR(nR.current),e=null,r){case"input":a=j_(c,a),n=j_(c,n),e=[];break;case"option":a=G_(c,a),n=G_(c,n),e=[];break;case"select":a=lb({},a,{value:void 0}),n=lb({},n,{value:void 0}),e=[];break;case"textarea":a=X_(c,a),n=X_(c,n),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof n.onClick&&(c.onclick=PT)}for(i in _T(r,n),r=null,a)if(!n.hasOwnProperty(i)&&a.hasOwnProperty(i)&&null!=a[i])if("style"===i)for(s in c=a[i])c.hasOwnProperty(s)&&(r||(r={}),r[s]="");else"dangerouslySetInnerHTML"!==i&&"children"!==i&&"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(ME.hasOwnProperty(i)?e||(e=[]):(e=e||[]).push(i,null));for(i in n){var l=n[i];if(c=null!=a?a[i]:void 0,n.hasOwnProperty(i)&&l!==c&&(null!=l||null!=c))if("style"===i)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(r||(r={}),r[s]="");for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(r||(r={}),r[s]=l[s])}else r||(e||(e=[]),e.push(i,r)),r=l;else"dangerouslySetInnerHTML"===i?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(e=e||[]).push(i,l)):"children"===i?c===l||"string"!=typeof l&&"number"!=typeof l||(e=e||[]).push(i,""+l):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&(ME.hasOwnProperty(i)?(null!=l&&AT(o,i),e||c===l||(e=[])):(e=e||[]).push(i,l))}r&&(e=e||[]).push("style",r),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},yN=function(e,t,r,n){r!==n&&(t.effectTag|=4)};var AN="function"==typeof WeakSet?WeakSet:Set;function PN(e,t){var r=t.source,n=t.stack;null===n&&null!==r&&(n=O_(r)),null!==r&&N_(r.type),t=t.value,null!==e&&1===e.tag&&N_(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function IN(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){iD(e,t)}}function RN(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){iD(e,t)}else t.current=null}function NN(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var r=e.memoizedProps,n=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?r:BI(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(yE(163))}function ON(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.destroy;r.destroy=void 0,void 0!==n&&n()}r=r.next}while(r!==t)}}function DN(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function LN(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:return void DN(3,r);case 1:if(e=r.stateNode,4&r.effectTag)if(null===t)e.componentDidMount();else{var n=r.elementType===r.type?t.memoizedProps:BI(r.type,t.memoizedProps);e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=r.updateQueue)&&VI(r,t,e));case 3:if(null!==(t=r.updateQueue)){if(e=null,null!==r.child)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}VI(r,t,e)}return;case 5:return e=r.stateNode,void(null===t&&4&r.effectTag&&qT(r.type,r.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===r.memoizedState&&(r=r.alternate,null!==r&&(r=r.memoizedState,null!==r&&(r=r.dehydrated,null!==r&&oT(r)))));case 19:case 17:case 20:case 21:return}throw Error(yE(163))}function MN(e,t,r){switch("function"==typeof uD&&uD(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e.next;yI(97<r?97:r,(function(){var e=n;do{var r=e.destroy;if(void 0!==r){var o=t;try{r()}catch(e){iD(o,e)}}e=e.next}while(e!==n)}))}break;case 1:RN(t),"function"==typeof(r=t.stateNode).componentWillUnmount&&IN(t,r);break;case 5:RN(t);break;case 4:qN(e,t,r)}}function UN(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&UN(t)}function FN(e){return 5===e.tag||3===e.tag||4===e.tag}function jN(e){e:{for(var t=e.return;null!==t;){if(FN(t)){var r=t;break e}t=t.return}throw Error(yE(160))}switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:case 4:t=t.containerInfo,n=!0;break;default:throw Error(yE(161))}16&r.effectTag&&(ax(t,""),r.effectTag&=-17);e:t:for(r=e;;){for(;null===r.sibling;){if(null===r.return||FN(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.effectTag)continue t;if(null===r.child||4===r.tag)continue t;r.child.return=r,r=r.child}if(!(2&r.effectTag)){r=r.stateNode;break e}}n?VN(e,r,t):zN(e,r,t)}function VN(e,t,r){var n=e.tag,o=5===n||6===n;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=PT));else if(4!==n&&null!==(e=e.child))for(VN(e,t,r),e=e.sibling;null!==e;)VN(e,t,r),e=e.sibling}function zN(e,t,r){var n=e.tag,o=5===n||6===n;if(o)e=o?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(zN(e,t,r),e=e.sibling;null!==e;)zN(e,t,r),e=e.sibling}function qN(e,t,r){for(var n,o,a=t,i=!1;;){if(!i){i=a.return;e:for(;;){if(null===i)throw Error(yE(160));switch(n=i.stateNode,i.tag){case 5:o=!1;break e;case 3:case 4:n=n.containerInfo,o=!0;break e}i=i.return}i=!0}if(5===a.tag||6===a.tag){e:for(var s=e,c=a,l=r,u=c;;)if(MN(s,u,l),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===c)break e;for(;null===u.sibling;){if(null===u.return||u.return===c)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}o?(s=n,c=a.stateNode,8===s.nodeType?s.parentNode.removeChild(c):s.removeChild(c)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,o=!0,a.child.return=a,a=a.child;continue}}else if(MN(e,a,r),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(i=!1)}a.sibling.return=a.return,a=a.sibling}}function HN(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ON(3,t);case 1:return;case 5:var r=t.stateNode;if(null!=r){var n=t.memoizedProps,o=null!==e?e.memoizedProps:n;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(r[$T]=n,"input"===e&&"radio"===n.type&&null!=n.name&&z_(r,n),xT(e,o),t=xT(e,n),o=0;o<a.length;o+=2){var i=a[o],s=a[o+1];"style"===i?BT(r,s):"dangerouslySetInnerHTML"===i?ox(r,s):"children"===i?ax(r,s):p_(r,i,s,t)}switch(e){case"input":q_(r,n);break;case"textarea":$_(r,n);break;case"select":t=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,null!=(e=n.value)?Q_(r,!!n.multiple,e,!1):t!==!!n.multiple&&(null!=n.defaultValue?Q_(r,!!n.multiple,n.defaultValue,!0):Q_(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(yE(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,oT(t.containerInfo)));case 12:return;case 13:if(r=t,null===t.memoizedState?n=!1:(n=!0,r=t.child,wO=mI()),null!==r)e:for(e=r;;){if(5===e.tag)a=e.stateNode,n?"function"==typeof(a=a.style).setProperty?a.setProperty("display","none","important"):a.display="none":(a=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,a.style.display=ST("display",o));else if(6===e.tag)e.stateNode.nodeValue=n?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(a=e.child.sibling).return=e,e=a;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===r)break;for(;null===e.sibling;){if(null===e.return||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void KN(t);case 19:return void KN(t);case 17:return}throw Error(yE(163))}function KN(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new AN),t.forEach((function(t){var n=cD.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}var WN="function"==typeof WeakMap?WeakMap:Map;function GN(e,t,r){(r=MI(r,null)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){SO||(SO=!0,BO=n),PN(e,t)},r}function QN(e,t,r){(r=MI(r,null)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var o=t.value;r.payload=function(){return PN(e,t),n(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(r.callback=function(){"function"!=typeof n&&(null===EO?EO=new Set([this]):EO.add(this),PN(e,t));var r=t.stack;this.componentDidCatch(t.value,{componentStack:null!==r?r:""})}),r}var XN,YN=Math.ceil,$N=f_.ReactCurrentDispatcher,ZN=f_.ReactCurrentOwner,JN=0,eO=8,tO=16,rO=32,nO=0,oO=1,aO=2,iO=3,sO=4,cO=5,lO=JN,uO=null,dO=null,fO=0,pO=nO,hO=null,mO=1073741823,gO=1073741823,vO=null,yO=0,bO=!1,wO=0,kO=500,CO=null,SO=!1,BO=null,EO=null,_O=!1,xO=null,TO=90,AO=null,PO=0,IO=null,RO=0;function NO(){return(lO&(tO|rO))!==JN?1073741821-(mI()/10|0):0!==RO?RO:RO=1073741821-(mI()/10|0)}function OO(e,t,r){if(0==(2&(t=t.mode)))return 1073741823;var n=gI();if(0==(4&t))return 99===n?1073741823:1073741822;if((lO&tO)!==JN)return fO;if(null!==r)e=SI(e,0|r.timeoutMs||5e3,250);else switch(n){case 99:e=1073741823;break;case 98:e=SI(e,150,100);break;case 97:case 96:e=SI(e,5e3,250);break;case 95:e=2;break;default:throw Error(yE(326))}return null!==uO&&e===fO&&--e,e}function DO(e,t){if(50<PO)throw PO=0,IO=null,Error(yE(185));if(null!==(e=LO(e,t))){var r=gI();1073741823===t?(lO&eO)!==JN&&(lO&(tO|rO))===JN?jO(e):(UO(e),lO===JN&&kI()):UO(e),(4&lO)===JN||98!==r&&99!==r||(null===AO?AO=new Map([[e,t]]):(void 0===(r=AO.get(e))||r>t)&&AO.set(e,t))}}function LO(e,t){e.expirationTime<t&&(e.expirationTime=t);var r=e.alternate;null!==r&&r.expirationTime<t&&(r.expirationTime=t);var n=e.return,o=null;if(null===n&&3===e.tag)o=e.stateNode;else for(;null!==n;){if(r=n.alternate,n.childExpirationTime<t&&(n.childExpirationTime=t),null!==r&&r.childExpirationTime<t&&(r.childExpirationTime=t),null===n.return&&3===n.tag){o=n.stateNode;break}n=n.return}return null!==o&&(uO===o&&(QO(t),pO===sO&&SD(o,fO)),BD(o,t)),o}function MO(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!CD(e,t=e.firstPendingTime))return t;var r=e.lastPingedTime;return 2>=(e=r>(e=e.nextKnownPendingLevel)?r:e)&&t!==e?0:e}function UO(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=wI(jO.bind(null,e));else{var t=MO(e),r=e.callbackNode;if(0===t)null!==r&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var n=NO();if(1073741823===t?n=99:1===t||2===t?n=95:n=0>=(n=10*(1073741821-t)-10*(1073741821-n))?99:250>=n?98:5250>=n?97:95,null!==r){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=n)return;r!==cI&&JP(r)}e.callbackExpirationTime=t,e.callbackPriority=n,t=1073741823===t?wI(jO.bind(null,e)):bI(n,FO.bind(null,e),{timeout:10*(1073741821-t)-mI()}),e.callbackNode=t}}}function FO(e,t){if(RO=0,t)return ED(e,t=NO()),UO(e),null;var r=MO(e);if(0!==r){if(t=e.callbackNode,(lO&(tO|rO))!==JN)throw Error(yE(327));if(nD(),e===uO&&r===fO||HO(e,r),null!==dO){var n=lO;lO|=tO;for(var o=WO();;)try{YO();break}catch(t){KO(e,t)}if(AI(),lO=n,$N.current=o,pO===oO)throw t=hO,HO(e,r),SD(e,r),UO(e),t;if(null===dO)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=r,n=pO,uO=null,n){case nO:case oO:throw Error(yE(345));case aO:ED(e,2<r?2:r);break;case iO:if(SD(e,r),r===(n=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=JO(o)),1073741823===mO&&10<(o=wO+kO-mI())){if(bO){var a=e.lastPingedTime;if(0===a||a>=r){e.lastPingedTime=r,HO(e,r);break}}if(0!==(a=MO(e))&&a!==r)break;if(0!==n&&n!==r){e.lastPingedTime=n;break}e.timeoutHandle=KT(eD.bind(null,e),o);break}eD(e);break;case sO:if(SD(e,r),r===(n=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=JO(o)),bO&&(0===(o=e.lastPingedTime)||o>=r)){e.lastPingedTime=r,HO(e,r);break}if(0!==(o=MO(e))&&o!==r)break;if(0!==n&&n!==r){e.lastPingedTime=n;break}if(1073741823!==gO?n=10*(1073741821-gO)-mI():1073741823===mO?n=0:(n=10*(1073741821-mO)-5e3,0>(n=(o=mI())-n)&&(n=0),(r=10*(1073741821-r)-o)<(n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*YN(n/1960))-n)&&(n=r)),10<n){e.timeoutHandle=KT(eD.bind(null,e),n);break}eD(e);break;case cO:if(1073741823!==mO&&null!==vO){a=mO;var i=vO;if(0>=(n=0|i.busyMinDurationMs)?n=0:(o=0|i.busyDelayMs,n=(a=mI()-(10*(1073741821-a)-(0|i.timeoutMs||5e3)))<=o?0:o+n-a),10<n){SD(e,r),e.timeoutHandle=KT(eD.bind(null,e),n);break}}eD(e);break;default:throw Error(yE(329))}if(UO(e),e.callbackNode===t)return FO.bind(null,e)}}return null}function jO(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(lO&(tO|rO))!==JN)throw Error(yE(327));if(nD(),e===uO&&t===fO||HO(e,t),null!==dO){var r=lO;lO|=tO;for(var n=WO();;)try{XO();break}catch(t){KO(e,t)}if(AI(),lO=r,$N.current=n,pO===oO)throw r=hO,HO(e,t),SD(e,t),UO(e),r;if(null!==dO)throw Error(yE(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,uO=null,eD(e),UO(e)}return null}function VO(){if(null!==AO){var e=AO;AO=null,e.forEach((function(e,t){ED(t,e),UO(t)})),kI()}}function zO(e,t){var r=lO;lO|=1;try{return e(t)}finally{(lO=r)===JN&&kI()}}function qO(e,t){var r=lO;lO&=-2,lO|=eO;try{return e(t)}finally{(lO=r)===JN&&kI()}}function HO(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,WT(r)),null!==dO)for(r=dO.return;null!==r;){var n=r;switch(n.tag){case 1:null!=(n=n.type.childContextTypes)&&WP();break;case 3:cR(),UP(zP),UP(VP);break;case 5:uR(n);break;case 4:cR();break;case 13:case 19:UP(dR);break;case 10:PI(n)}r=r.return}uO=e,dO=gD(e.current,null),fO=t,pO=nO,hO=null,gO=mO=1073741823,vO=null,yO=0,bO=!1}function KO(e,t){for(;;){try{if(AI(),hR.current=KR,wR)for(var r=vR.memoizedState;null!==r;){var n=r.queue;null!==n&&(n.pending=null),r=r.next}if(gR=0,bR=yR=vR=null,wR=!1,null===dO||null===dO.return)return pO=oO,hO=t,dO=null;e:{var o=e,a=dO.return,i=dO,s=t;if(t=fO,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s;if(0==(2&i.mode)){var l=i.alternate;l?(i.updateQueue=l.updateQueue,i.memoizedState=l.memoizedState,i.expirationTime=l.expirationTime):(i.updateQueue=null,i.memoizedState=null)}var u=0!=(1&dR.current),d=a;do{var f;if(f=13===d.tag){var p=d.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var h=d.memoizedProps;f=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!u)}}if(f){var m=d.updateQueue;if(null===m){var g=new Set;g.add(c),d.updateQueue=g}else m.add(c);if(0==(2&d.mode)){if(d.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var v=MI(1073741823,null);v.tag=2,UI(i,v)}i.expirationTime=1073741823;break e}s=void 0,i=t;var y=o.pingCache;if(null===y?(y=o.pingCache=new WN,s=new Set,y.set(c,s)):void 0===(s=y.get(c))&&(s=new Set,y.set(c,s)),!s.has(i)){s.add(i);var b=sD.bind(null,o,c,i);c.then(b,b)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((N_(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+O_(i))}pO!==cO&&(pO=aO),s=TN(s,i),d=a;do{switch(d.tag){case 3:c=s,d.effectTag|=4096,d.expirationTime=t,FI(d,GN(d,c,t));break e;case 1:c=s;var w=d.type,k=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===EO||!EO.has(k)))){d.effectTag|=4096,d.expirationTime=t,FI(d,QN(d,c,t));break e}}d=d.return}while(null!==d)}dO=ZO(dO)}catch(e){t=e;continue}break}}function WO(){var e=$N.current;return $N.current=KR,null===e?KR:e}function GO(e,t){e<mO&&2<e&&(mO=e),null!==t&&e<gO&&2<e&&(gO=e,vO=t)}function QO(e){e>yO&&(yO=e)}function XO(){for(;null!==dO;)dO=$O(dO)}function YO(){for(;null!==dO&&!lI();)dO=$O(dO)}function $O(e){var t=XN(e.alternate,e,fO);return e.memoizedProps=e.pendingProps,null===t&&(t=ZO(e)),ZN.current=null,t}function ZO(e){dO=e;do{var t=dO.alternate;if(e=dO.return,0==(2048&dO.effectTag)){if(t=_N(t,dO,fO),1===fO||1!==dO.childExpirationTime){for(var r=0,n=dO.child;null!==n;){var o=n.expirationTime,a=n.childExpirationTime;o>r&&(r=o),a>r&&(r=a),n=n.sibling}dO.childExpirationTime=r}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=dO.firstEffect),null!==dO.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=dO.firstEffect),e.lastEffect=dO.lastEffect),1<dO.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=dO:e.firstEffect=dO,e.lastEffect=dO))}else{if(null!==(t=xN(dO)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=dO.sibling))return t;dO=e}while(null!==dO);return pO===nO&&(pO=cO),null}function JO(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function eD(e){var t=gI();return yI(99,tD.bind(null,e,t)),null}function tD(e,t){do{nD()}while(null!==xO);if((lO&(tO|rO))!==JN)throw Error(yE(327));var r=e.finishedWork,n=e.finishedExpirationTime;if(null===r)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,r===e.current)throw Error(yE(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=JO(r);if(e.firstPendingTime=o,n<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:n<=e.firstSuspendedTime&&(e.firstSuspendedTime=n-1),n<=e.lastPingedTime&&(e.lastPingedTime=0),n<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===uO&&(dO=uO=null,fO=0),1<r.effectTag?null!==r.lastEffect?(r.lastEffect.nextEffect=r,o=r.firstEffect):o=r:o=r.firstEffect,null!==o){var a=lO;lO|=rO,ZN.current=null,VT=hT;var i=DT();if(LT(i)){if("selectionStart"in i)var s={start:i.selectionStart,end:i.selectionEnd};else e:{var c=(s=(s=i.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection();if(c&&0!==c.rangeCount){s=c.anchorNode;var l=c.anchorOffset,u=c.focusNode;c=c.focusOffset;try{s.nodeType,u.nodeType}catch(e){s=null;break e}var d=0,f=-1,p=-1,h=0,m=0,g=i,v=null;t:for(;;){for(var y;g!==s||0!==l&&3!==g.nodeType||(f=d+l),g!==u||0!==c&&3!==g.nodeType||(p=d+c),3===g.nodeType&&(d+=g.nodeValue.length),null!==(y=g.firstChild);)v=g,g=y;for(;;){if(g===i)break t;if(v===s&&++h===l&&(f=d),v===u&&++m===c&&(p=d),null!==(y=g.nextSibling))break;v=(g=v).parentNode}g=y}s=-1===f||-1===p?null:{start:f,end:p}}else s=null}s=s||{start:0,end:0}}else s=null;zT={activeElementDetached:null,focusedElem:i,selectionRange:s},hT=!1,CO=o;do{try{rD()}catch(e){if(null===CO)throw Error(yE(330));iD(CO,e),CO=CO.nextEffect}}while(null!==CO);CO=o;do{try{for(i=e,s=t;null!==CO;){var b=CO.effectTag;if(16&b&&ax(CO.stateNode,""),128&b){var w=CO.alternate;if(null!==w){var k=w.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&b){case 2:jN(CO),CO.effectTag&=-3;break;case 6:jN(CO),CO.effectTag&=-3,HN(CO.alternate,CO);break;case 1024:CO.effectTag&=-1025;break;case 1028:CO.effectTag&=-1025,HN(CO.alternate,CO);break;case 4:HN(CO.alternate,CO);break;case 8:qN(i,l=CO,s),UN(l)}CO=CO.nextEffect}}catch(e){if(null===CO)throw Error(yE(330));iD(CO,e),CO=CO.nextEffect}}while(null!==CO);if(k=zT,w=DT(),b=k.focusedElem,s=k.selectionRange,w!==b&&b&&b.ownerDocument&&OT(b.ownerDocument.documentElement,b)){null!==s&&LT(b)&&(w=s.start,void 0===(k=s.end)&&(k=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(k,b.value.length)):(k=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(k=k.getSelection(),l=b.textContent.length,i=Math.min(s.start,l),s=void 0===s.end?i:Math.min(s.end,l),!k.extend&&i>s&&(l=s,s=i,i=l),l=NT(b,i),u=NT(b,s),l&&u&&(1!==k.rangeCount||k.anchorNode!==l.node||k.anchorOffset!==l.offset||k.focusNode!==u.node||k.focusOffset!==u.offset)&&((w=w.createRange()).setStart(l.node,l.offset),k.removeAllRanges(),i>s?(k.addRange(w),k.extend(u.node,u.offset)):(w.setEnd(u.node,u.offset),k.addRange(w))))),w=[];for(k=b;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(k=w[b]).element.scrollLeft=k.left,k.element.scrollTop=k.top}hT=!!VT,zT=VT=null,e.current=r,CO=o;do{try{for(b=e;null!==CO;){var C=CO.effectTag;if(36&C&&LN(b,CO.alternate,CO),128&C){w=void 0;var S=CO.ref;if(null!==S){var B=CO.stateNode;switch(CO.tag){case 5:w=B;break;default:w=B}"function"==typeof S?S(w):S.current=w}}CO=CO.nextEffect}}catch(e){if(null===CO)throw Error(yE(330));iD(CO,e),CO=CO.nextEffect}}while(null!==CO);CO=null,uI(),lO=a}else e.current=r;if(_O)_O=!1,xO=e,TO=t;else for(CO=o;null!==CO;)t=CO.nextEffect,CO.nextEffect=null,CO=t;if(0===(t=e.firstPendingTime)&&(EO=null),1073741823===t?e===IO?PO++:(PO=0,IO=e):PO=0,"function"==typeof lD&&lD(r.stateNode,n),UO(e),SO)throw SO=!1,e=BO,BO=null,e;return(lO&eO)!==JN||kI(),null}function rD(){for(;null!==CO;){var e=CO.effectTag;0!=(256&e)&&NN(CO.alternate,CO),0==(512&e)||_O||(_O=!0,bI(97,(function(){return nD(),null}))),CO=CO.nextEffect}}function nD(){if(90!==TO){var e=97<TO?97:TO;return TO=90,yI(e,oD)}}function oD(){if(null===xO)return!1;var e=xO;if(xO=null,(lO&(tO|rO))!==JN)throw Error(yE(331));var t=lO;for(lO|=rO,e=e.current.firstEffect;null!==e;){try{var r=e;if(0!=(512&r.effectTag))switch(r.tag){case 0:case 11:case 15:case 22:ON(5,r),DN(5,r)}}catch(t){if(null===e)throw Error(yE(330));iD(e,t)}r=e.nextEffect,e.nextEffect=null,e=r}return lO=t,kI(),!0}function aD(e,t,r){UI(e,t=GN(e,t=TN(r,t),1073741823)),null!==(e=LO(e,1073741823))&&UO(e)}function iD(e,t){if(3===e.tag)aD(e,e,t);else for(var r=e.return;null!==r;){if(3===r.tag){aD(r,e,t);break}if(1===r.tag){var n=r.stateNode;if("function"==typeof r.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===EO||!EO.has(n))){UI(r,e=QN(r,e=TN(t,e),1073741823)),null!==(r=LO(r,1073741823))&&UO(r);break}}r=r.return}}function sD(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),uO===e&&fO===r?pO===sO||pO===iO&&1073741823===mO&&mI()-wO<kO?HO(e,fO):bO=!0:CD(e,r)&&(0!==(t=e.lastPingedTime)&&t<r||(e.lastPingedTime=r,UO(e)))}function cD(e,t){var r=e.stateNode;null!==r&&r.delete(t),0===(t=0)&&(t=OO(t=NO(),e,null)),null!==(e=LO(e,t))&&UO(e)}XN=function(e,t,r){var n=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||zP.current)aN=!0;else{if(n<r){switch(aN=!1,t.tag){case 3:hN(t),nN();break;case 5:if(lR(t),4&t.mode&&1!==r&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:KP(t.type)&&XP(t);break;case 4:sR(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value,o=t.type._context,FP(EI,o._currentValue),o._currentValue=n;break;case 13:if(null!==t.memoizedState)return 0!==(n=t.child.childExpirationTime)&&n>=r?wN(e,t,r):(FP(dR,1&dR.current),null!==(t=BN(e,t,r))?t.sibling:null);FP(dR,1&dR.current);break;case 19:if(n=t.childExpirationTime>=r,0!=(64&e.effectTag)){if(n)return SN(e,t,r);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),FP(dR,dR.current),!n)return null}return BN(e,t,r)}aN=!1}}else aN=!1;switch(t.expirationTime=0,t.tag){case 2:if(n=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=HP(t,VP.current),RI(t,r),o=SR(null,t,n,e,o,r),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,KP(n)){var a=!0;XP(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,DI(t);var i=n.getDerivedStateFromProps;"function"==typeof i&&HI(t,n,i,e),o.updater=KI,t.stateNode=o,o._reactInternalFiber=t,XI(t,n,e,r),t=pN(null,t,n,!0,a,r)}else t.tag=0,iN(null,t,o,r),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,R_(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,a=t.tag=mD(o),e=BI(o,e),a){case 0:t=dN(null,t,o,e,r);break e;case 1:t=fN(null,t,o,e,r);break e;case 11:t=sN(null,t,o,e,r);break e;case 14:t=cN(null,t,o,BI(o.type,e),n,r);break e}throw Error(yE(306,o,""))}return t;case 0:return n=t.type,o=t.pendingProps,dN(e,t,n,o=t.elementType===n?o:BI(n,o),r);case 1:return n=t.type,o=t.pendingProps,fN(e,t,n,o=t.elementType===n?o:BI(n,o),r);case 3:if(hN(t),n=t.updateQueue,null===e||null===n)throw Error(yE(282));if(n=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,LI(e,t),jI(t,n,null,r),(n=t.memoizedState.element)===o)nN(),t=BN(e,t,r);else{if((o=t.stateNode.hydrate)&&(YR=GT(t.stateNode.containerInfo.firstChild),XR=t,o=$R=!0),o)for(r=tR(t,null,n,r),t.child=r;r;)r.effectTag=-3&r.effectTag|1024,r=r.sibling;else iN(e,t,n,r),nN();t=t.child}return t;case 5:return lR(t),null===e&&eN(t),n=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,HT(n,o)?i=null:null!==a&&HT(n,a)&&(t.effectTag|=16),uN(e,t),4&t.mode&&1!==r&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(iN(e,t,i,r),t=t.child),t;case 6:return null===e&&eN(t),null;case 13:return wN(e,t,r);case 4:return sR(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=eR(t,null,n,r):iN(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,sN(e,t,n,o=t.elementType===n?o:BI(n,o),r);case 7:return iN(e,t,t.pendingProps,r),t.child;case 8:case 12:return iN(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value;var s=t.type._context;if(FP(EI,s._currentValue),s._currentValue=a,null!==i)if(s=i.value,0===(a=fP(s,a)?0:0|("function"==typeof n._calculateChangedBits?n._calculateChangedBits(s,a):1073741823))){if(i.children===o.children&&!zP.current){t=BN(e,t,r);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var c=s.dependencies;if(null!==c){i=s.child;for(var l=c.firstContext;null!==l;){if(l.context===n&&0!=(l.observedBits&a)){1===s.tag&&((l=MI(r,null)).tag=2,UI(s,l)),s.expirationTime<r&&(s.expirationTime=r),null!==(l=s.alternate)&&l.expirationTime<r&&(l.expirationTime=r),II(s.return,r),c.expirationTime<r&&(c.expirationTime=r);break}l=l.next}}else i=10===s.tag&&s.type===t.type?null:s.child;if(null!==i)i.return=s;else for(i=s;null!==i;){if(i===t){i=null;break}if(null!==(s=i.sibling)){s.return=i.return,i=s;break}i=i.return}s=i}iN(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=(a=t.pendingProps).children,RI(t,r),n=n(o=NI(o,a.unstable_observedBits)),t.effectTag|=1,iN(e,t,n,r),t.child;case 14:return a=BI(o=t.type,t.pendingProps),cN(e,t,o,a=BI(o.type,a),n,r);case 15:return lN(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:BI(n,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,KP(n)?(e=!0,XP(t)):e=!1,RI(t,r),GI(t,n,o),XI(t,n,o,r),pN(null,t,n,!0,e,r);case 19:return SN(e,t,r)}throw Error(yE(156,t.tag))};var lD=null,uD=null;function dD(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var r=t.inject(e);lD=function(e){try{t.onCommitFiberRoot(r,e,void 0,64==(64&e.current.effectTag))}catch(e){}},uD=function(e){try{t.onCommitFiberUnmount(r,e)}catch(e){}}}catch(e){}return!0}function fD(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function pD(e,t,r,n){return new fD(e,t,r,n)}function hD(e){return!(!(e=e.prototype)||!e.isReactComponent)}function mD(e){if("function"==typeof e)return hD(e)?1:0;if(null!=e){if((e=e.$$typeof)===B_)return 11;if(e===x_)return 14}return 2}function gD(e,t){var r=e.alternate;return null===r?((r=pD(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childExpirationTime=e.childExpirationTime,r.expirationTime=e.expirationTime,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function vD(e,t,r,n,o,a){var i=2;if(n=e,"function"==typeof e)hD(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case y_:return yD(r.children,o,a,t);case S_:i=8,o|=7;break;case b_:i=8,o|=1;break;case w_:return(e=pD(12,r,t,8|o)).elementType=w_,e.type=w_,e.expirationTime=a,e;case E_:return(e=pD(13,r,t,o)).type=E_,e.elementType=E_,e.expirationTime=a,e;case __:return(e=pD(19,r,t,o)).elementType=__,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k_:i=10;break e;case C_:i=9;break e;case B_:i=11;break e;case x_:i=14;break e;case T_:i=16,n=null;break e;case A_:i=22;break e}throw Error(yE(130,null==e?e:typeof e,""))}return(t=pD(i,r,t,o)).elementType=e,t.type=n,t.expirationTime=a,t}function yD(e,t,r,n){return(e=pD(7,e,n,t)).expirationTime=r,e}function bD(e,t,r){return(e=pD(6,e,null,t)).expirationTime=r,e}function wD(e,t,r){return(t=pD(4,null!==e.children?e.children:[],e.key,t)).expirationTime=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kD(e,t,r){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function CD(e,t){var r=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==r&&r>=t&&e<=t}function SD(e,t){var r=e.firstSuspendedTime,n=e.lastSuspendedTime;r<t&&(e.firstSuspendedTime=t),(n>t||0===r)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function BD(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var r=e.firstSuspendedTime;0!==r&&(t>=r?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function ED(e,t){var r=e.lastExpiredTime;(0===r||r>t)&&(e.lastExpiredTime=t)}function _D(e,t,r,n){var o=t.current,a=NO(),i=zI.suspense;a=OO(a,o,i);e:if(r){t:{if(yx(r=r._reactInternalFiber)!==r||1!==r.tag)throw Error(yE(170));var s=r;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(KP(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(yE(171))}if(1===r.tag){var c=r.type;if(KP(c)){r=QP(r,c,s);break e}}r=s}else r=jP;return null===t.context?t.context=r:t.pendingContext=r,(t=MI(a,i)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),UI(o,t),DO(o,a),a}function xD(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function TD(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function AD(e,t){TD(e,t),(e=e.alternate)&&TD(e,t)}function PD(e,t,r){var n=new kD(e,t,r=null!=r&&!0===r.hydrate),o=pD(3,null,null,2===t?7:1===t?3:0);n.current=o,o.stateNode=n,DI(o),e[ZT]=n.current,r&&0!==t&&Qx(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=n}function ID(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function RD(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new PD(e,0,t?{hydrate:!0}:void 0)}function ND(e,t,r,n,o){var a=r._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var s=o;o=function(){var e=xD(i);s.call(e)}}_D(t,i,e,o)}else{if(a=r._reactRootContainer=RD(r,n),i=a._internalRoot,"function"==typeof o){var c=o;o=function(){var e=xD(i);c.call(e)}}qO((function(){_D(t,i,e,o)}))}return xD(i)}function OD(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:v_,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}function DD(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ID(t))throw Error(yE(200));return OD(e,t,null,r)}PD.prototype.render=function(e){_D(e,this._internalRoot,null,null)},PD.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;_D(null,e,null,(function(){t[ZT]=null}))},Dx=function(e){if(13===e.tag){var t=SI(NO(),150,100);DO(e,t),AD(e,t)}},Lx=function(e){13===e.tag&&(DO(e,3),AD(e,3))},Mx=function(e){if(13===e.tag){var t=NO();DO(e,t=OO(t,e,null)),AD(e,t)}},VE=function(e,t,r){switch(t){case"input":if(q_(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=rA(n);if(!o)throw Error(yE(90));F_(n),q_(n,o)}}}break;case"textarea":$_(e,r);break;case"select":null!=(t=r.value)&&Q_(e,!!r.multiple,t,!1)}},GE=zO,QE=function(e,t,r,n,o){var a=lO;lO|=4;try{return yI(98,e.bind(null,t,r,n,o))}finally{(lO=a)===JN&&kI()}},XE=function(){(lO&(1|tO|rO))===JN&&(VO(),nD())},YE=function(e,t){var r=lO;lO|=2;try{return e(t)}finally{(lO=r)===JN&&kI()}};var LD={Events:[eA,tA,rA,FE,LE,lA,function(e){Bx(e,cA)},KE,WE,bT,xx,nD,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;dD(lb({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:f_.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Cx(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:JT,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"});var MD=LD,UD=DD,FD=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(yE(188));throw Error(yE(268,Object.keys(e)))}return e=null===(e=Cx(t))?null:e.stateNode},jD=function(e,t){if((lO&(tO|rO))!==JN)throw Error(yE(187));var r=lO;lO|=1;try{return yI(99,e.bind(null,t))}finally{lO=r,kI()}},VD=function(e,t,r){if(!ID(t))throw Error(yE(200));return ND(null,e,t,!0,r)},zD=function(e,t,r){if(!ID(t))throw Error(yE(200));return ND(null,e,t,!1,r)},qD=function(e){if(!ID(e))throw Error(yE(40));return!!e._reactRootContainer&&(qO((function(){ND(null,null,e,!1,(function(){e._reactRootContainer=null,e[ZT]=null}))})),!0)},HD=zO,KD=function(e,t){return DD(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},WD=function(e,t,r,n){if(!ID(r))throw Error(yE(200));if(null==e||void 0===e._reactInternalFiber)throw Error(yE(38));return ND(e,t,r,!1,n)},GD="16.14.0",QD={__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:MD,createPortal:UD,findDOMNode:FD,flushSync:jD,hydrate:VD,render:zD,unmountComponentAtNode:qD,unstable_batchedUpdates:HD,unstable_createPortal:KD,unstable_renderSubtreeIntoContainer:WD,version:GD},XD=0,YD=null,$D=null,ZD=function(e){return e()},JD=function(){return null},eL=function(){return++XD},tL=function(){},rL=function(e,t,r){return r()},nL=function(){},oL=function(e){return e},aL={__interactionsRef:YD,__subscriberRef:$D,unstable_clear:ZD,unstable_getCurrent:JD,unstable_getThreadID:eL,unstable_subscribe:tL,unstable_trace:rL,unstable_unsubscribe:nL,unstable_wrap:oL},iL=(o((function(e,t){})),o((function(e){e.exports=aL})),o((function(e,t){})),o((function(e){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=QD}))),sL={not_supported:{code:"not_supported",msg:{en:"Camera is not well-supported on this device/browser. Please try another one.",vi:"Camera không được hỗ trợ. Vui lòng thử trình duyệt hoặc thiết bị khác."}},camera_timeout:{code:"camera_timeout",msg:{en:"Can't access camera. Please check camera permission, try again or try another browser/device",vi:"Không thể truy cập camera. Vui lòng kiểm tra quyền truy cập camera, đóng các tab/app khác đang sử dụng camera hoặc thử lại trên trình duyệt/thiết bị khác."}},wrong_orientation:{code:"wrong_orientation",msg:{en:"You are using landscape mode. Please rotate screen to portrait mode and retry.",vi:"Bạn đang sử dụng chế độ màn hình xoay ngang. Vui lòng quay màn hình theo chiều dọc và thực hiện lại."}},unable_to_load_model:{code:"unable_to_load_model",msg:{en:"Unable to load model on this device/browser. Please try another one.",vi:"Không thể load model. Vui lòng thử trình duyệt hoặc thiết bị khác."}},no_permission:{code:"no_permission",msg:{en:"Please grant the permission to access the camera.",vi:"Vui lòng cấp quyền để truy cập camera."}},no_face:{code:"no_face",msg:{en:"Face not found",vi:"Không tìm thấy khuôn mặt"}},partial_face:{code:"partial_face",msg:{en:"Face out of the box",vi:"Không tìm thấy toàn bộ khuôn mặt"}},multiple_faces:{code:"multiple_faces",msg:{en:"Too many faces",vi:"Quá nhiều khuôn mặt"}},face_too_small:{code:"face_too_small",msg:{en:"Face too small",vi:"Khuôn mặt quá nhỏ"}},face_too_large:{code:"face_too_large",msg:{en:"Face too large",vi:"Khuôn mặt quá to"}},face_out_of_box:{code:"face_out_of_box",msg:{en:"Face is out of box",vi:"Khuôn mặt không nằm trọn vẹn trong khung ảnh"}},liveness_too_fast:{code:"liveness_too_fast",msg:{en:"Please turn your face SLOWLY",vi:"Vui lòng quay CHẬM lại"}},liveness_terminated:{code:"liveness_terminated",msg:{en:"Please try again.",vi:"Vui lòng thực hiện lại."}},liveness_terminated_face_tracking:{code:"liveness_terminated_face_tracking",msg:{en:"You need to turn your face SLOWLY.\nPlease try again.",vi:"Bạn cần quay CHẬM lại.\nVui lòng thực hiện lại."}},liveness_terminated_no_face:{code:"liveness_terminated_no_face",msg:{en:"Your face was missing for too long.\nPlease try again.",vi:"Khuôn mặt không nằm trong khung hình.\nXin vui lòng thử lại."}},liveness_terminated_time_out:{code:"liveness_terminated_time_out",msg:{en:"You need to complete gestures as instructed within <%= x %> seconds.\nPlease try again.",vi:"Bạn cần hoàn thành động tác theo chỉ dẫn trong <%= x %> giây.\nXin vui lòng thử lại."}},card_sanity_not_good:{code:"card_sanity_not_good",msg:{en:"Card sanity not good",vi:"Card sanity chưa đạt"}},api_call_error:{code:"api_call_error",msg:{en:"Api call error",vi:"Lỗi call api"}},upload_error:{code:"upload_error",msg:{en:"Upload error",vi:"Lỗi upload"}},sanity_check_error:{code:"sanity_check_error",msg:{en:"Sanity check error",vi:"Lỗi check sanity"}},read_id_card_error:{code:"read_id_card_error",msg:{en:"Read id card error",vi:"Lỗi read id card"}},detect_id_tampering_error:{code:"detect_id_tampering_error",msg:{en:"Detect id tampering error",vi:"Lỗi detect id tampering"}},detect_id_card_error:{code:"detect_id_card_error",msg:{en:"Can't detect id card type",vi:"Không thể detect id card type"}},missing_front_id_card:{code:"missing_front_id_card",msg:{en:"Missing front id",vi:"Không tìm thấy front id"}},server_error:{code:"server_error",msg:"Server error"},client_web_setting_not_found:{code:"client_web_setting_not_found",msg:"Client Web Setting Not Found"},id_detector_validate_angle_error:{code:"id_detector_validate_angle_error",msg:{en:"Please place ID card straight, not tilted",vi:"Vui lòng đặt giấy tờ thẳng, không bị nghiêng khi chụp"}},id_detector_no_cards:{code:"id_detector_no_cards",msg:{en:"Please capture the <%= side %> side of ID card\n (occupy 50-95% of the frame)",vi:"Vui lòng chụp mặt <%= side %> của giấy tờ\n (chiếm 50-95% khung hình)"}},id_detector_card_too_small:{code:"id_detector_card_too_small",msg:{en:"Please move ID card CLOSER\n (occupy 50-95% of the frame)",vi:"Vui lòng đưa giấy tờ lại GẦN hơn\n (chiếm 50-95% khung hình)"}},id_detector_error_incomplete:{code:"id_detector_error_incomplete",msg:{en:"Please move ID card FARTHER\n (occupy 50-95% of the frame)",vi:"Vui lòng đưa giấy tờ ra XA hơn\n (chiếm 50-95% khung hình)"}},glare_detected:{code:"glare_detected",msg:{en:"Glare is detected. Please adjust the shooting angle",vi:"Ảnh bị chói / lóa. Vui lòng điều chỉnh góc chụp."}},id_detector_error_front_side_no_faces:{code:"id_detector_error_front_side_no_faces",msg:{en:"Please capture the front side of ID card",vi:"Vui lòng chụp mặt trước của giấy tờ"}},id_detector_error_front_side_multiple_faces:{code:"id_detector_error_front_side_multiple_faces",msg:{en:"Please capture the front side of one ID card only (remove other items out of the frame)",vi:"Vui lòng chụp mặt trước 1 giấy tờ duy nhất"}},id_detector_error_back_side_has_faces:{code:"id_detector_error_back_side_has_faces",msg:{en:"Please capture the back side of ID card",vi:"Vui lòng chụp mặt sau của giấy tờ"}},id_detector_error_blur:{code:"id_detector_error_blur",msg:{en:"Blurry photo detected. Please capture again for a clearer image",vi:"Ảnh bị mờ. Vui lòng chụp lại để có ảnh rõ nét hơn"}},not_frontal_face:{code:"not_frontal_face",msg:{en:"Please look straight to camera.",vi:"Vui lòng nhìn thẳng vào camera."}},not_readable:{code:"CameraInUseError",msg:{vi:"Camera đang được sử dụng bởi ứng dụng/tab khác.",en:"Camera already in use by another app/tab."}},close_eye:{code:"close_eye",msg:{vi:"Vui lòng mở to mắt",en:"Open your eyes clearly"}}},cL={FRONTAL:"frontal",LEFT:"left",RIGHT:"right",UP:"up",DOWN:"down"},lL=Object.freeze({__proto__:null,ErrorDuration:{SHORT:500,LONG:1500,TERMINATE:3e3},Errors:sL,FaceDirection:cL,Mode:{ACTIVE:"active",PASSIVE:"passive",FLASH:"flash"},Messages:{REMAIN_TIME:{en:"Remaining time: <%= x %> seconds",vi:"Thời gian còn lại: <%= x %> giây"}},TrackLivenessEvents:{start_camera:"user_activity.start",show_warmup:"user_activity.show",capture_up_face:"user_activity.up",capture_left_face:"user_activity.left",capture_right_face:"user_activity.right",capture_frontal_face:"user_activity.frontal",finish_capture:"user_activity",finish_load_model:"sdk.load_model",show_alert:"sdk_ui.show_alert",liveness_detection_done:"sdk_mode.liveness"},IDCardSide:{FRONT:"front",BACK:"back"},IDCardType:{VN:"vn.national_id"},IDCardMessage:{REMAINING_TIME:{en:"Remaining time: <%= x %> seconds",vi:"Thời gian còn lại: <%= x %> giây"},TIMEOUT_INSTRUCTION:{en:"You need to take the picture within <%= x %> seconds.\nPlease try again.",vi:"Bạn cần hoàn thành việc chụp giấy tờ trong <%= x %> giây.\nVui lòng thử lại."}}});function uL(e,t,r,n,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function dL(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){uL(a,n,o,i,s,"next",e)}function s(e){uL(a,n,o,i,s,"throw",e)}i(void 0)}))}}function fL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hL(e,t,r){return t&&pL(e.prototype,t),r&&pL(e,r),e}function mL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gL(){return(gL=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function vL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yL(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vL(Object(r),!0).forEach((function(t){mL(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vL(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function bL(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function wL(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}}(e,t)||CL(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kL(e){return function(e){if(Array.isArray(e))return SL(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||CL(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function CL(e,t){if(e){if("string"==typeof e)return SL(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?SL(e,t):void 0}}function SL(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function BL(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=CL(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}var EL=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o},_L=function(){this.__data__=[],this.size=0},xL=function(e,t){return e===t||e!=e&&t!=t},TL=function(e,t){for(var r=e.length;r--;)if(xL(e[r][0],t))return r;return-1},AL=Array.prototype.splice,PL=function(e){var t=this.__data__,r=TL(t,e);return!(r<0||(r==t.length-1?t.pop():AL.call(t,r,1),--this.size,0))},IL=function(e){var t=this.__data__,r=TL(t,e);return r<0?void 0:t[r][1]},RL=function(e){return TL(this.__data__,e)>-1},NL=function(e,t){var r=this.__data__,n=TL(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function OL(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}OL.prototype.clear=_L,OL.prototype.delete=PL,OL.prototype.get=IL,OL.prototype.has=RL,OL.prototype.set=NL;var DL=OL,LL=function(){this.__data__=new DL,this.size=0},ML=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},UL=function(e){return this.__data__.get(e)},FL=function(e){return this.__data__.has(e)},jL="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function VL(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function zL(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return HL(null==t&&r.path)}},r.exports),r.exports}function qL(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}function HL(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var KL,WL="object"==Ey(jL)&&jL&&jL.Object===Object&&jL,GL="object"==("undefined"==typeof self?"undefined":Ey(self))&&self&&self.Object===Object&&self,QL=WL||GL||Function("return this")(),XL=QL.Symbol,YL=Object.prototype,$L=YL.hasOwnProperty,ZL=YL.toString,JL=XL?XL.toStringTag:void 0,eM=function(e){var t=$L.call(e,JL),r=e[JL];try{e[JL]=void 0;var n=!0}catch(e){}var o=ZL.call(e);return n&&(t?e[JL]=r:delete e[JL]),o},tM=Object.prototype.toString,rM=function(e){return tM.call(e)},nM=XL?XL.toStringTag:void 0,oM=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":nM&&nM in Object(e)?eM(e):rM(e)},aM=function(e){var t=Ey(e);return null!=e&&("object"==t||"function"==t)},iM=function(e){if(!aM(e))return!1;var t=oM(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},sM=QL["__core-js_shared__"],cM=(KL=/[^.]+$/.exec(sM&&sM.keys&&sM.keys.IE_PROTO||""))?"Symbol(src)_1."+KL:"",lM=function(e){return!!cM&&cM in e},uM=Function.prototype.toString,dM=function(e){if(null!=e){try{return uM.call(e)}catch(e){}try{return e+""}catch(e){}}return""},fM=/^\[object .+?Constructor\]$/,pM=Function.prototype,hM=Object.prototype,mM=pM.toString,gM=hM.hasOwnProperty,vM=RegExp("^"+mM.call(gM).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),yM=function(e){return!(!aM(e)||lM(e))&&(iM(e)?vM:fM).test(dM(e))},bM=function(e,t){return null==e?void 0:e[t]},wM=function(e,t){var r=bM(e,t);return yM(r)?r:void 0},kM=wM(QL,"Map"),CM=wM(Object,"create"),SM=function(){this.__data__=CM?CM(null):{},this.size=0},BM=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},EM=Object.prototype.hasOwnProperty,_M=function(e){var t=this.__data__;if(CM){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return EM.call(t,e)?t[e]:void 0},xM=Object.prototype.hasOwnProperty,TM=function(e){var t=this.__data__;return CM?void 0!==t[e]:xM.call(t,e)},AM=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=CM&&void 0===t?"__lodash_hash_undefined__":t,this};function PM(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}PM.prototype.clear=SM,PM.prototype.delete=BM,PM.prototype.get=_M,PM.prototype.has=TM,PM.prototype.set=AM;var IM=PM,RM=function(){this.size=0,this.__data__={hash:new IM,map:new(kM||DL),string:new IM}},NM=function(e){var t=Ey(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},OM=function(e,t){var r=e.__data__;return NM(t)?r["string"==typeof t?"string":"hash"]:r.map},DM=function(e){var t=OM(this,e).delete(e);return this.size-=t?1:0,t},LM=function(e){return OM(this,e).get(e)},MM=function(e){return OM(this,e).has(e)},UM=function(e,t){var r=OM(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function FM(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}FM.prototype.clear=RM,FM.prototype.delete=DM,FM.prototype.get=LM,FM.prototype.has=MM,FM.prototype.set=UM;var jM=FM,VM=function(e,t){var r=this.__data__;if(r instanceof DL){var n=r.__data__;if(!kM||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new jM(n)}return r.set(e,t),this.size=r.size,this};function zM(e){var t=this.__data__=new DL(e);this.size=t.size}zM.prototype.clear=LL,zM.prototype.delete=ML,zM.prototype.get=UL,zM.prototype.has=FL,zM.prototype.set=VM;var qM=zM,HM=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e},KM=function(){try{var e=wM(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),WM=function(e,t,r){"__proto__"==t&&KM?KM(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r},GM=Object.prototype.hasOwnProperty,QM=function(e,t,r){var n=e[t];GM.call(e,t)&&xL(n,r)&&(void 0!==r||t in e)||WM(e,t,r)},XM=function(e,t,r,n){var o=!r;r||(r={});for(var a=-1,i=t.length;++a<i;){var s=t[a],c=n?n(r[s],e[s],s,r,e):void 0;void 0===c&&(c=e[s]),o?WM(r,s,c):QM(r,s,c)}return r},YM=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n},$M=function(e){return null!=e&&"object"==Ey(e)},ZM=function(e){return $M(e)&&"[object Arguments]"==oM(e)},JM=Object.prototype,eU=JM.hasOwnProperty,tU=JM.propertyIsEnumerable,rU=ZM(function(){return arguments}())?ZM:function(e){return $M(e)&&eU.call(e,"callee")&&!tU.call(e,"callee")},nU=Array.isArray,oU=function(){return!1},aU=zL((function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r?QL.Buffer:void 0,a=(o?o.isBuffer:void 0)||oU;e.exports=a})),iU=/^(?:0|[1-9]\d*)$/,sU=function(e,t){var r=Ey(e);return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&iU.test(e))&&e>-1&&e%1==0&&e<t},cU=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},lU={};lU["[object Float32Array]"]=lU["[object Float64Array]"]=lU["[object Int8Array]"]=lU["[object Int16Array]"]=lU["[object Int32Array]"]=lU["[object Uint8Array]"]=lU["[object Uint8ClampedArray]"]=lU["[object Uint16Array]"]=lU["[object Uint32Array]"]=!0,lU["[object Arguments]"]=lU["[object Array]"]=lU["[object ArrayBuffer]"]=lU["[object Boolean]"]=lU["[object DataView]"]=lU["[object Date]"]=lU["[object Error]"]=lU["[object Function]"]=lU["[object Map]"]=lU["[object Number]"]=lU["[object Object]"]=lU["[object RegExp]"]=lU["[object Set]"]=lU["[object String]"]=lU["[object WeakMap]"]=!1;var uU=function(e){return $M(e)&&cU(e.length)&&!!lU[oM(e)]},dU=function(e){return function(t){return e(t)}},fU=zL((function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r&&WL.process,a=function(){try{return n&&n.require&&n.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=a})),pU=fU&&fU.isTypedArray,hU=pU?dU(pU):uU,mU=Object.prototype.hasOwnProperty,gU=function(e,t){var r=nU(e),n=!r&&rU(e),o=!r&&!n&&aU(e),a=!r&&!n&&!o&&hU(e),i=r||n||o||a,s=i?YM(e.length,String):[],c=s.length;for(var l in e)!t&&!mU.call(e,l)||i&&("length"==l||o&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||sU(l,c))||s.push(l);return s},vU=Object.prototype,yU=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||vU)},bU=function(e,t){return function(r){return e(t(r))}},wU=bU(Object.keys,Object),kU=Object.prototype.hasOwnProperty,CU=function(e){if(!yU(e))return wU(e);var t=[];for(var r in Object(e))kU.call(e,r)&&"constructor"!=r&&t.push(r);return t},SU=function(e){return null!=e&&cU(e.length)&&!iM(e)},BU=function(e){return SU(e)?gU(e):CU(e)},EU=function(e,t){return e&&XM(t,BU(t),e)},_U=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t},xU=Object.prototype.hasOwnProperty,TU=function(e){if(!aM(e))return _U(e);var t=yU(e),r=[];for(var n in e)("constructor"!=n||!t&&xU.call(e,n))&&r.push(n);return r},AU=function(e){return SU(e)?gU(e,!0):TU(e)},PU=function(e,t){return e&&XM(t,AU(t),e)},IU=zL((function(e,t){var r=t&&!t.nodeType&&t,n=r&&e&&!e.nodeType&&e,o=n&&n.exports===r?QL.Buffer:void 0,a=o?o.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=a?a(r):new e.constructor(r);return e.copy(n),n}})),RU=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t},NU=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a},OU=function(){return[]},DU=Object.prototype.propertyIsEnumerable,LU=Object.getOwnPropertySymbols,MU=LU?function(e){return null==e?[]:(e=Object(e),NU(LU(e),(function(t){return DU.call(e,t)})))}:OU,UU=function(e,t){return XM(e,MU(e),t)},FU=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e},jU=bU(Object.getPrototypeOf,Object),VU=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)FU(t,MU(e)),e=jU(e);return t}:OU,zU=function(e,t){return XM(e,VU(e),t)},qU=function(e,t,r){var n=t(e);return nU(e)?n:FU(n,r(e))},HU=function(e){return qU(e,BU,MU)},KU=function(e){return qU(e,AU,VU)},WU=wM(QL,"DataView"),GU=wM(QL,"Promise"),QU=wM(QL,"Set"),XU=wM(QL,"WeakMap"),YU=dM(WU),$U=dM(kM),ZU=dM(GU),JU=dM(QU),eF=dM(XU),tF=oM;(WU&&"[object DataView]"!=tF(new WU(new ArrayBuffer(1)))||kM&&"[object Map]"!=tF(new kM)||GU&&"[object Promise]"!=tF(GU.resolve())||QU&&"[object Set]"!=tF(new QU)||XU&&"[object WeakMap]"!=tF(new XU))&&(tF=function(e){var t=oM(e),r="[object Object]"==t?e.constructor:void 0,n=r?dM(r):"";if(n)switch(n){case YU:return"[object DataView]";case $U:return"[object Map]";case ZU:return"[object Promise]";case JU:return"[object Set]";case eF:return"[object WeakMap]"}return t});var rF=tF,nF=Object.prototype.hasOwnProperty,oF=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&nF.call(e,"index")&&(r.index=e.index,r.input=e.input),r},aF=QL.Uint8Array,iF=function(e){var t=new e.constructor(e.byteLength);return new aF(t).set(new aF(e)),t},sF=function(e,t){var r=t?iF(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)},cF=/\w*$/,lF=function(e){var t=new e.constructor(e.source,cF.exec(e));return t.lastIndex=e.lastIndex,t},uF=XL?XL.prototype:void 0,dF=uF?uF.valueOf:void 0,fF=function(e){return dF?Object(dF.call(e)):{}},pF=function(e,t){var r=t?iF(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)},hF=function(e,t,r){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return iF(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return sF(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return pF(e,r);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return lF(e);case"[object Set]":return new n;case"[object Symbol]":return fF(e)}},mF=Object.create,gF=function(){function e(){}return function(t){if(!aM(t))return{};if(mF)return mF(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),vF=function(e){return"function"!=typeof e.constructor||yU(e)?{}:gF(jU(e))},yF=function(e){return $M(e)&&"[object Map]"==rF(e)},bF=fU&&fU.isMap,wF=bF?dU(bF):yF,kF=function(e){return $M(e)&&"[object Set]"==rF(e)},CF=fU&&fU.isSet,SF=CF?dU(CF):kF,BF={};BF["[object Arguments]"]=BF["[object Array]"]=BF["[object ArrayBuffer]"]=BF["[object DataView]"]=BF["[object Boolean]"]=BF["[object Date]"]=BF["[object Float32Array]"]=BF["[object Float64Array]"]=BF["[object Int8Array]"]=BF["[object Int16Array]"]=BF["[object Int32Array]"]=BF["[object Map]"]=BF["[object Number]"]=BF["[object Object]"]=BF["[object RegExp]"]=BF["[object Set]"]=BF["[object String]"]=BF["[object Symbol]"]=BF["[object Uint8Array]"]=BF["[object Uint8ClampedArray]"]=BF["[object Uint16Array]"]=BF["[object Uint32Array]"]=!0,BF["[object Error]"]=BF["[object Function]"]=BF["[object WeakMap]"]=!1;var EF=function e(t,r,n,o,a,i){var s,c=1&r,l=2&r,u=4&r;if(n&&(s=a?n(t,o,a,i):n(t)),void 0!==s)return s;if(!aM(t))return t;var d=nU(t);if(d){if(s=oF(t),!c)return RU(t,s)}else{var f=rF(t),p="[object Function]"==f||"[object GeneratorFunction]"==f;if(aU(t))return IU(t,c);if("[object Object]"==f||"[object Arguments]"==f||p&&!a){if(s=l||p?{}:vF(t),!c)return l?zU(t,PU(s,t)):UU(t,EU(s,t))}else{if(!BF[f])return a?t:{};s=hF(t,f,c)}}i||(i=new qM);var h=i.get(t);if(h)return h;i.set(t,s),SF(t)?t.forEach((function(o){s.add(e(o,r,n,o,t,i))})):wF(t)&&t.forEach((function(o,a){s.set(a,e(o,r,n,a,t,i))}));var m=d?void 0:(u?l?KU:HU:l?AU:BU)(t);return HM(m||t,(function(o,a){m&&(o=t[a=o]),QM(s,a,e(o,r,n,a,t,i))})),s},_F=function(e){return"symbol"==Ey(e)||$M(e)&&"[object Symbol]"==oM(e)},xF=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,TF=/^\w*$/,AF=function(e,t){if(nU(e))return!1;var r=Ey(e);return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!_F(e))||TF.test(e)||!xF.test(e)||null!=t&&e in Object(t)};function PF(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function r(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(PF.Cache||jM),r}PF.Cache=jM;var IF=PF,RF=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NF=/\\(\\)?/g,OF=function(e){var t=IF((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(RF,(function(e,r,n,o){t.push(n?o.replace(NF,"$1"):r||e)})),t}),(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}(),DF=XL?XL.prototype:void 0,LF=DF?DF.toString:void 0,MF=function e(t){if("string"==typeof t)return t;if(nU(t))return EL(t,e)+"";if(_F(t))return LF?LF.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r},UF=function(e){return null==e?"":MF(e)},FF=function(e,t){return nU(e)?e:AF(e,t)?[e]:OF(UF(e))},jF=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},VF=function(e){if("string"==typeof e||_F(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},zF=function(e,t){for(var r=0,n=(t=FF(t,e)).length;null!=e&&r<n;)e=e[VF(t[r++])];return r&&r==n?e:void 0},qF=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(o);++n<o;)a[n]=e[n+t];return a},HF=function(e,t){return t.length<2?e:zF(e,qF(t,0,-1))},KF=function(e,t){return t=FF(t,e),null==(e=HF(e,t))||delete e[VF(jF(t))]},WF=Function.prototype,GF=Object.prototype,QF=WF.toString,XF=GF.hasOwnProperty,YF=QF.call(Object),$F=function(e){if(!$M(e)||"[object Object]"!=oM(e))return!1;var t=jU(e);if(null===t)return!0;var r=XF.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&QF.call(r)==YF},ZF=function(e){return $F(e)?void 0:e},JF=XL?XL.isConcatSpreadable:void 0,ej=function(e){return nU(e)||rU(e)||!!(JF&&e&&e[JF])},tj=function e(t,r,n,o,a){var i=-1,s=t.length;for(n||(n=ej),a||(a=[]);++i<s;){var c=t[i];r>0&&n(c)?r>1?e(c,r-1,n,o,a):FU(a,c):o||(a[a.length]=c)}return a},rj=function(e){return null!=e&&e.length?tj(e,1):[]},nj=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)},oj=Math.max,aj=function(e,t,r){return t=oj(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=oj(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(i),nj(e,this,s)}},ij=function(e){return function(){return e}},sj=KM?function(e,t){return KM(e,"toString",{configurable:!0,enumerable:!1,value:ij(t),writable:!0})}:function(e){return e},cj=Date.now,lj=function(e){var t=0,r=0;return function(){var n=cj(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(sj),uj=function(e){return lj(aj(e,void 0,rj),e+"")}((function(e,t){var r={};if(null==e)return r;var n=!1;t=EL(t,(function(t){return t=FF(t,e),n||(n=t.length>1),t})),XM(e,KU(e),r),n&&(r=EF(r,7,ZF));for(var o=t.length;o--;)KF(r,t[o]);return r})),dj={vn:"https://unpkg.com/@tsocial/tv_web_sdk_resources@2.0.0/models/id-card/tflite/model-v3.tflite",ph:"https://unpkg.com/@tsocial/tv_web_sdk_resources@2.0.3/models/id-card/tflite/ph_card_model.tflite"},fj=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return yL(yL({blazefaceModelUrl:"https://storage.googleapis.com/tfhub-tfjs-modules/tensorflow/tfjs-model/blazeface/1/default/1/model.json",opencvUrl:"https://unpkg.com/@tsocial/tv_web_sdk_resources@2.0.0/libs/opencv-4.6.0.js",idCardModelUrl:dj[t],wechatQRModelsUrl:"https://unpkg.com/@tsocial/tv_web_sdk_resources@2.0.0/wechat_qr_models/",closeEyesModelUrl:"https://unpkg.com/@tsocial/tv_web_sdk_resources@2.0.2/models/close-eyes/closed_eye_detector.tflite"},uj(e,["tfScriptUrls"])),{},{tfScriptUrls:yL({tfUrl:"https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@3.20.0/dist/tf.min.js",tfBackendWasmUrl:"https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm@3.20.0/dist/tf-backend-wasm.js",tfBackendCpuUrl:"https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-cpu@3.20.0",tfBackendWebGlUrl:"https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-webgl@3.20.0",tfLiteUrl:"https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-tflite@0.0.1-alpha.8/dist/tf-tflite.min.js",blazefaceScriptUrl:"https://cdn.jsdelivr.net/npm/@tensorflow-models/blazeface@0.0.7",faceDetectionUrl:"https://cdn.jsdelivr.net/npm/@tensorflow-models/face-detection@1.0.2",mediaPipeUrl:"https://cdn.jsdelivr.net/npm/@mediapipe/face_detection"},null==e?void 0:e.tfScriptUrls)})};function pj(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.resourceRoot,r=e.initCustomUrls,n=void 0===r?{}:r,o=e.country,a=void 0===o?"vn":o;if(!t)return fj(n,a);var i="models/1.0.0/id_card/tflite/model-v3.tflite";return"ph"===a&&(i="models/1.0.0/id_card/tflite/ph_card_model.tflite"),yL(yL({blazefaceModelUrl:"".concat(t,"models/1.0.0/blazeface/model.json"),opencvUrl:"".concat(t,"opencv/4.6.0/cv.js"),idCardModelUrl:"".concat(t).concat(i),closeEyesModelUrl:"".concat(t,"models/1.0.0/close-eyes/closed_eye_detector.tflite"),wechatQRModelsUrl:"".concat(t,"models/1.0.0/webchat_qr/")},uj(n,["tfScriptUrls"])),{},{tfScriptUrls:yL({tfUrl:"".concat(t,"tfjs/3.20.0/tf.min.js"),tfBackendWasmUrl:"".concat(t,"tfjs/3.20.0/backend-wasm.js"),tfBackendCpuUrl:"".concat(t,"tfjs/3.20.0/backend-cpu.js"),tfBackendWebGlUrl:"".concat(t,"tfjs/3.20.0/backend-webgl.js"),tfLiteUrl:"".concat(t,"tflite/0.0.1-alpha.8/tflite.min.js"),blazefaceScriptUrl:"".concat(t,"blazeface/0.0.7/bf.js"),faceDetectionUrl:"https://cdn.jsdelivr.net/npm/@tensorflow-models/face-detection@1.0.2",mediaPipeUrl:"https://cdn.jsdelivr.net/npm/@mediapipe/face_detection"},null==n?void 0:n.tfScriptUrls)})}var hj=xw.createContext();function mj(e){var t=e.value,r=e.children,n=yL({},t),o=n.customUrls,a=n.resourceRoot;return a&&(n.customUrls=pj({resourceRoot:a,initCustomUrls:o})),xw.createElement(hj.Provider,{value:n},r)}function gj(){var e=xw.useContext(hj);if(void 0===e)throw new Error("useSDKSettings must be used within a SDKSettingsProvider");return e}mj.propTypes={value:xk.shape({lang:xk.string,assetRoot:xk.string,apiClient:xk.shape({}),customUrls:xk.shape({}),resourceRoot:xk.string}).isRequired,children:xk.node.isRequired};var vj,yj=Object.freeze({__proto__:null,SDKSettingsProvider:mj,useSDKSettings:gj}),bj=qL(Object.freeze({__proto__:null,default:{}})),wj=VL(zL((function(e,t){!function(e,t){t=t&&t.hasOwnProperty("default")?t.default:t;var r=function(){function e(e){this.httpClient=e}return e.prototype.request=function(e,t){return this.httpClient.post("/v1/read_id_card_info_sync",e,t)},e}(),n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation. All rights reserved.
9
9
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use
@@ -25,7 +25,7 @@
25
25
  *
26
26
  * Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>
27
27
  * Dual licensed under GPLv2 or MIT
28
- */!function(o,a){var i="function",s="undefined",c="object",l="model",u="name",d="type",f="vendor",p="version",h="architecture",m="console",g="mobile",v="tablet",y="smarttv",b="wearable",w={extend:function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:a},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},k={rgx:function(e,t){for(var r,n,o,s,l,u,d=0;d<t.length&&!l;){var f=t[d],p=t[d+1];for(r=n=0;r<f.length&&!l;)if(l=f[r++].exec(e))for(o=0;o<p.length;o++)u=l[++n],Ey(s=p[o])===c&&s.length>0?2==s.length?Ey(s[1])==i?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3==s.length?Ey(s[1])!==i||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):a:this[s[0]]=u?s[1].call(this,u,s[2]):a:4==s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):a):this[s]=u||a;d+=2}},str:function(e,t){for(var r in t)if(Ey(t[r])===c&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(w.has(t[r][n],e))return"?"===r?a:r}else if(w.has(t[r],e))return"?"===r?a:r;return e}},C={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},S={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[u,p],[/(opios)[\/\s]+([\w\.]+)/i],[[u,"Opera Mini"],p],[/\s(opr)\/([\w\.]+)/i],[[u,"Opera"],p],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i],[u,p],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[u,"IE"],p],[/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i],[[u,"Edge"],p],[/(yabrowser)\/([\w\.]+)/i],[[u,"Yandex"],p],[/(puffin)\/([\w\.]+)/i],[[u,"Puffin"],p],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[u,"UCBrowser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],p],[/(micromessenger)\/([\w\.]+)/i],[[u,"WeChat"],p],[/(qqbrowserlite)\/([\w\.]+)/i],[u,p],[/(QQ)\/([\d\.]+)/i],[u,p],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[u,p],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[u,p],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[u,p],[/(MetaSr)[\/\s]?([\w\.]+)/i],[u],[/(LBBROWSER)/i],[u],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[p,[u,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[p,[u,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[p,[u,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[u,/(.+)/,"$1 WebView"],p],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[u,/(.+(?:g|us))(.+)/,"$1 $2"],p],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[p,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[u,p],[/(dolfin)\/([\w\.]+)/i],[[u,"Dolphin"],p],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[u,"Chrome"],p],[/(coast)\/([\w\.]+)/i],[[u,"Opera Coast"],p],[/fxios\/([\w\.-]+)/i],[p,[u,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[p,[u,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[p,u],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[u,"GSA"],p],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[u,[p,k.str,C.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[u,p],[/(navigator|netscape)\/([\w\.-]+)/i],[[u,"Netscape"],p],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[u,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,w.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[h,/ower/,"",w.lowerize]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[h,w.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[l,f,[d,v]],[/applecoremedia\/[\w\.]+ \((ipad)/],[l,[f,"Apple"],[d,v]],[/(apple\s{0,1}tv)/i],[[l,"Apple TV"],[f,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[f,l,[d,v]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[l,[f,"Amazon"],[d,v]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[l,k.str,C.device.amazon.model],[f,"Amazon"],[d,g]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[l,f,[d,g]],[/\((ip[honed|\s\w*]+);/i],[l,[f,"Apple"],[d,g]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[f,l,[d,g]],[/\(bb10;\s(\w+)/i],[l,[f,"BlackBerry"],[d,g]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[l,[f,"Asus"],[d,v]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[f,"Sony"],[l,"Xperia Tablet"],[d,v]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[l,[f,"Sony"],[d,g]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[f,l,[d,m]],[/android.+;\s(shield)\sbuild/i],[l,[f,"Nvidia"],[d,m]],[/(playstation\s[34portablevi]+)/i],[l,[f,"Sony"],[d,m]],[/(sprint\s(\w+))/i],[[f,k.str,C.device.sprint.vendor],[l,k.str,C.device.sprint.model],[d,g]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[f,l,[d,v]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[f,[l,/_/g," "],[d,g]],[/(nexus\s9)/i],[l,[f,"HTC"],[d,v]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[l,[f,"Huawei"],[d,g]],[/(microsoft);\s(lumia[\s\w]+)/i],[f,l,[d,g]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[l,[f,"Microsoft"],[d,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[f,"Microsoft"],[d,g]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[l,[f,"Motorola"],[d,g]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[l,[f,"Motorola"],[d,v]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[f,w.trim],[l,w.trim],[d,y]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[f,"Samsung"],[d,y]],[/\(dtv[\);].+(aquos)/i],[l,[f,"Sharp"],[d,y]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[f,"Samsung"],l,[d,v]],[/smart-tv.+(samsung)/i],[f,[d,y],l],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[f,"Samsung"],l,[d,g]],[/sie-(\w*)/i],[l,[f,"Siemens"],[d,g]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[f,"Nokia"],l,[d,g]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[l,[f,"Acer"],[d,v]],[/android.+([vl]k\-?\d{3})\s+build/i],[l,[f,"LG"],[d,v]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[f,"LG"],l,[d,v]],[/(lg) netcast\.tv/i],[f,l,[d,y]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[l,[f,"LG"],[d,g]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[l,[f,"Lenovo"],[d,v]],[/linux;.+((jolla));/i],[f,l,[d,g]],[/((pebble))app\/[\d\.]+\s/i],[f,l,[d,b]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[f,l,[d,g]],[/crkey/i],[[l,"Chromecast"],[f,"Google"]],[/android.+;\s(glass)\s\d/i],[l,[f,"Google"],[d,b]],[/android.+;\s(pixel c)\s/i],[l,[f,"Google"],[d,v]],[/android.+;\s(pixel xl|pixel)\s/i],[l,[f,"Google"],[d,g]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[l,/_/g," "],[f,"Xiaomi"],[d,g]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[l,/_/g," "],[f,"Xiaomi"],[d,v]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[l,[f,"Meizu"],[d,v]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[l,[f,"OnePlus"],[d,g]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[l,[f,"RCA"],[d,v]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[l,[f,"Dell"],[d,v]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[l,[f,"Verizon"],[d,v]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[f,"Barnes & Noble"],l,[d,v]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[l,[f,"NuVision"],[d,v]],[/android.+;\s(k88)\sbuild/i],[l,[f,"ZTE"],[d,v]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[l,[f,"Swiss"],[d,g]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[l,[f,"Swiss"],[d,v]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[l,[f,"Zeki"],[d,v]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[f,"Dragon Touch"],l,[d,v]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[l,[f,"Insignia"],[d,v]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[l,[f,"NextBook"],[d,v]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[f,"Voice"],l,[d,g]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[f,"LvTel"],l,[d,g]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[l,[f,"Envizen"],[d,v]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[f,l,[d,v]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[l,[f,"MachSpeed"],[d,v]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[f,l,[d,v]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[l,[f,"Rotor"],[d,v]],[/android.+(KS(.+))\s+build/i],[l,[f,"Amazon"],[d,v]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[f,l,[d,v]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[d,w.lowerize],f,l],[/(android[\w\.\s\-]{0,9});.+build/i],[l,[f,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[p,[u,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[u,p],[/rv\:([\w\.]{1,9}).+(gecko)/i],[p,u]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[u,p],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[u,[p,k.str,C.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[u,"Windows"],[p,k.str,C.os.windows.version]],[/\((bb)(10);/i],[[u,"BlackBerry"],p],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i,/linux;.+(sailfish);/i],[u,p],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[u,"Symbian"],p],[/\((series40);/i],[u],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[u,"Firefox OS"],p],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[u,p],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[u,"Chromium OS"],p],[/(sunos)\s?([\w\.\d]*)/i],[[u,"Solaris"],p],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[u,p],[/(haiku)\s(\w+)/i],[u,p],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[p,/_/g,"."],[u,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[u,"Mac OS"],[p,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]*)/i],[u,p]]},B=function e(t,r){if("object"==Ey(t)&&(r=t,t=a),!(this instanceof e))return new e(t,r).getResult();var n=t||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),i=r?w.extend(S,r):S;return this.getBrowser=function(){var e={name:a,version:a};return k.rgx.call(e,n,i.browser),e.major=w.major(e.version),e},this.getCPU=function(){var e={architecture:a};return k.rgx.call(e,n,i.cpu),e},this.getDevice=function(){var e={vendor:a,model:a,type:a};return k.rgx.call(e,n,i.device),e},this.getEngine=function(){var e={name:a,version:a};return k.rgx.call(e,n,i.engine),e},this.getOS=function(){var e={name:a,version:a};return k.rgx.call(e,n,i.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=e,this},this};B.VERSION="0.7.18",B.BROWSER={NAME:u,MAJOR:"major",VERSION:p},B.CPU={ARCHITECTURE:h},B.DEVICE={MODEL:l,VENDOR:f,TYPE:d,CONSOLE:m,MOBILE:g,SMARTTV:y,TABLET:v,WEARABLE:b,EMBEDDED:"embedded"},B.ENGINE={NAME:u,VERSION:p},B.OS={NAME:u,VERSION:p},Ey(t)!==s?(Ey(e)!==s&&e.exports&&(t=e.exports=B),t.UAParser=B):r(3)?(n=function(){return B}.call(t,r,t,e))===a||(e.exports=n):o&&(o.UAParser=B);var E=o&&(o.jQuery||o.Zepto);if(Ey(E)!==s){var _=new B;E.ua=_.getResult(),E.ua.get=function(){return _.getUA()},E.ua.set=function(e){_.setUA(e);var t=_.getResult();for(var r in t)E.ua[r]=t[r]}}}("object"==("undefined"==typeof window?"undefined":Ey(window))?window:this)},function(e,t){(function(t){e.exports=t}).call(t,{})},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(0),a=o.DEVICE_TYPES,i=o.defaultData,s=t.getNavigatorInstance=function(){return!("undefined"==typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},c=t.isIOS13Check=function(e){var t=s();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)};e.exports={checkType:function(e){switch(e){case a.MOBILE:return{isMobile:!0};case a.TABLET:return{isTablet:!0};case a.SMART_TV:return{isSmartTV:!0};case a.CONSOLE:return{isConsole:!0};case a.WEARABLE:return{isWearable:!0};case a.BROWSER:return{isBrowser:!0};default:return i}},broPayload:function(e,t,r,n,o){return{isBrowser:e,browserMajorVersion:t.major,browserFullVersion:t.version,browserName:t.name,engineName:r.name||!1,engineVersion:r.version,osName:n.name,osVersion:n.version,userAgent:o}},mobilePayload:function(e,t,r,o){return n({},e,{vendor:t.vendor,model:t.model,os:r.name,osVersion:r.version,ua:o})},stvPayload:function(e,t,r,n){return{isSmartTV:e,engineName:t.name,engineVersion:t.version,osName:r.name,osVersion:r.version,userAgent:n}},consolePayload:function(e,t,r,n){return{isConsole:e,engineName:t.name,engineVersion:t.version,osName:r.name,osVersion:r.version,userAgent:n}},wearPayload:function(e,t,r,n){return{isWearable:e,engineName:t.name,engineVersion:t.version,osName:r.name,osVersion:r.version,userAgent:n}},getNavigatorInstance:s,isIOS13Check:c}}])}));function Pj(){return"5.14.7"}function Ij(){return{"X-TV-Device-Model":"".concat(Aj.browserName," ").concat(Aj.browserVersion),"X-TV-OS-Version":"".concat(Aj.osName," ").concat(Aj.osVersion),"X-TV-OS-Platform":Aj.isMobile?"".concat(Aj.osName.toLowerCase(),"_web"):"web","X-TV-SDK-Version":"5.14.7"}}var Rj=Object.freeze({__proto__:null,getUAMetadata:Ij});function Nj(e){return e<10?"0".concat(e):e}function Oj(e){return"".concat(e.getFullYear(),"-").concat(Nj(e.getMonth()+1),"-").concat(Nj(e.getDate()),"T").concat(Nj(e.getHours()),":").concat(Nj(e.getMinutes()),":").concat(Nj(e.getSeconds())).concat(function(e){if(0===e)return"Z";var t=e>0?"-":"+";return e=Math.abs(e),"".concat(t+Nj(Math.floor(e/60)),":").concat(Nj(e%60))}(e.getTimezoneOffset()))}var Dj=Object.freeze({__proto__:null,rfc3339:Oj});function Lj(e,t){window.localStorage&&window.JSON&&t&&localStorage.setItem(t,JSON.stringify(e))}function Mj(e){if(window.localStorage&&window.JSON&&e){var t=localStorage.getItem(e);if(t)return JSON.parse(t)}}var Uj=Object.freeze({__proto__:null,storeData:Lj,getData:Mj,removeData:function(e){window.localStorage&&window.JSON&&e&&localStorage.removeItem(e)}}),Fj=zL((function(e,t){var r;e.exports=r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==jL&&jL.crypto&&(r=jL.crypto),!r)try{r=bj}catch(e){}var n=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},i=a.lib={},s=i.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=i.WordArray=s.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var a=0;a<o;a++){var i=r[a>>>2]>>>24-a%4*8&255;t[n+a>>>2]|=i<<24-(n+a)%4*8}else for(var s=0;s<o;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(n());return new c.init(t,e)}}),l=a.enc={},u=l.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var a=t[o>>>2]>>>24-o%4*8&255;n.push((a>>>4).toString(16)),n.push((15&a).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new c.init(r,t/2)}},d=l.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var a=t[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new c.init(r,t)}},f=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},p=i.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,a=n.sigBytes,i=this.blockSize,s=a/(4*i),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*i,u=e.min(4*l,a);if(l){for(var d=0;d<l;d+=i)this._doProcessBlock(o,d);r=o.splice(0,l),n.sigBytes-=u}return new c.init(r,u)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),h=(i.Hasher=p.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new h.HMAC.init(e,r).finalize(t)}}}),a.algo={});return a}(Math)})),jj=(zL((function(e,t){var r,n,o,a,i,s;e.exports=(n=(r=s=Fj).lib,o=n.Base,a=n.WordArray,(i=r.x64={}).Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),i.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var o=e[n];r.push(o.high),r.push(o.low)}return a.create(r,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}}),s)})),zL((function(e,t){var r;e.exports=(r=Fj,function(){if("function"==typeof ArrayBuffer){var e=r.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,n=[],o=0;o<r;o++)n[o>>>2]|=e[o]<<24-o%4*8;t.call(this,n,r)}else t.apply(this,arguments)}).prototype=e}}(),r.lib.WordArray)})),zL((function(e,t){var r;e.exports=(r=Fj,function(){var e=r,t=e.lib.WordArray,n=e.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o+=2){var a=t[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var r=e.length,n=[],o=0;o<r;o++)n[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(n,2*r)}},n.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],a=0;a<r;a+=2){var i=o(t[a>>>2]>>>16-a%4*8&65535);n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var r=e.length,n=[],a=0;a<r;a++)n[a>>>1]|=o(e.charCodeAt(a)<<16-a%2*16);return t.create(n,2*r)}}}(),r.enc.Utf16)})),zL((function(e,t){var r;e.exports=(r=Fj,function(){var e=r,t=e.lib.WordArray;function n(e,r,n){for(var o=[],a=0,i=0;i<r;i++)if(i%4){var s=n[e.charCodeAt(i-1)]<<i%4*2|n[e.charCodeAt(i)]>>>6-i%4*2;o[a>>>2]|=s<<24-a%4*8,a++}return t.create(o,a)}e.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],a=0;a<r;a+=3)for(var i=(t[a>>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s<r;s++)o.push(n.charAt(i>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var a=0;a<r.length;a++)o[r.charCodeAt(a)]=a}var i=r.charAt(64);if(i){var s=e.indexOf(i);-1!==s&&(t=s)}return n(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64)})),zL((function(e,t){var r;e.exports=(r=Fj,function(){var e=r,t=e.lib.WordArray;function n(e,r,n){for(var o=[],a=0,i=0;i<r;i++)if(i%4){var s=n[e.charCodeAt(i-1)]<<i%4*2|n[e.charCodeAt(i)]>>>6-i%4*2;o[a>>>2]|=s<<24-a%4*8,a++}return t.create(o,a)}e.enc.Base64url={stringify:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.words,n=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var a=[],i=0;i<n;i+=3)for(var s=(r[i>>>2]>>>24-i%4*8&255)<<16|(r[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|r[i+2>>>2]>>>24-(i+2)%4*8&255,c=0;c<4&&i+.75*c<n;c++)a.push(o.charAt(s>>>6*(3-c)&63));var l=o.charAt(64);if(l)for(;a.length%4;)a.push(l);return a.join("")},parse:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.length,o=t?this._safe_map:this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var i=0;i<o.length;i++)a[o.charCodeAt(i)]=i}var s=o.charAt(64);if(s){var c=e.indexOf(s);-1!==c&&(r=c)}return n(e,r,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),r.enc.Base64url)})),zL((function(e,t){var r;e.exports=(r=Fj,function(e){var t=r,n=t.lib,o=n.WordArray,a=n.Hasher,i=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=i.MD5=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var a=this._hash.words,i=e[t+0],c=e[t+1],p=e[t+2],h=e[t+3],m=e[t+4],g=e[t+5],v=e[t+6],y=e[t+7],b=e[t+8],w=e[t+9],k=e[t+10],C=e[t+11],S=e[t+12],B=e[t+13],E=e[t+14],_=e[t+15],x=a[0],T=a[1],A=a[2],P=a[3];x=l(x,T,A,P,i,7,s[0]),P=l(P,x,T,A,c,12,s[1]),A=l(A,P,x,T,p,17,s[2]),T=l(T,A,P,x,h,22,s[3]),x=l(x,T,A,P,m,7,s[4]),P=l(P,x,T,A,g,12,s[5]),A=l(A,P,x,T,v,17,s[6]),T=l(T,A,P,x,y,22,s[7]),x=l(x,T,A,P,b,7,s[8]),P=l(P,x,T,A,w,12,s[9]),A=l(A,P,x,T,k,17,s[10]),T=l(T,A,P,x,C,22,s[11]),x=l(x,T,A,P,S,7,s[12]),P=l(P,x,T,A,B,12,s[13]),A=l(A,P,x,T,E,17,s[14]),x=u(x,T=l(T,A,P,x,_,22,s[15]),A,P,c,5,s[16]),P=u(P,x,T,A,v,9,s[17]),A=u(A,P,x,T,C,14,s[18]),T=u(T,A,P,x,i,20,s[19]),x=u(x,T,A,P,g,5,s[20]),P=u(P,x,T,A,k,9,s[21]),A=u(A,P,x,T,_,14,s[22]),T=u(T,A,P,x,m,20,s[23]),x=u(x,T,A,P,w,5,s[24]),P=u(P,x,T,A,E,9,s[25]),A=u(A,P,x,T,h,14,s[26]),T=u(T,A,P,x,b,20,s[27]),x=u(x,T,A,P,B,5,s[28]),P=u(P,x,T,A,p,9,s[29]),A=u(A,P,x,T,y,14,s[30]),x=d(x,T=u(T,A,P,x,S,20,s[31]),A,P,g,4,s[32]),P=d(P,x,T,A,b,11,s[33]),A=d(A,P,x,T,C,16,s[34]),T=d(T,A,P,x,E,23,s[35]),x=d(x,T,A,P,c,4,s[36]),P=d(P,x,T,A,m,11,s[37]),A=d(A,P,x,T,y,16,s[38]),T=d(T,A,P,x,k,23,s[39]),x=d(x,T,A,P,B,4,s[40]),P=d(P,x,T,A,i,11,s[41]),A=d(A,P,x,T,h,16,s[42]),T=d(T,A,P,x,v,23,s[43]),x=d(x,T,A,P,w,4,s[44]),P=d(P,x,T,A,S,11,s[45]),A=d(A,P,x,T,_,16,s[46]),x=f(x,T=d(T,A,P,x,p,23,s[47]),A,P,i,6,s[48]),P=f(P,x,T,A,y,10,s[49]),A=f(A,P,x,T,E,15,s[50]),T=f(T,A,P,x,g,21,s[51]),x=f(x,T,A,P,S,6,s[52]),P=f(P,x,T,A,h,10,s[53]),A=f(A,P,x,T,k,15,s[54]),T=f(T,A,P,x,c,21,s[55]),x=f(x,T,A,P,b,6,s[56]),P=f(P,x,T,A,_,10,s[57]),A=f(A,P,x,T,v,15,s[58]),T=f(T,A,P,x,B,21,s[59]),x=f(x,T,A,P,m,6,s[60]),P=f(P,x,T,A,C,10,s[61]),A=f(A,P,x,T,p,15,s[62]),T=f(T,A,P,x,w,21,s[63]),a[0]=a[0]+x|0,a[1]=a[1]+T|0,a[2]=a[2]+A|0,a[3]=a[3]+P|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var a=e.floor(n/4294967296),i=n;r[15+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r[14+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,r,n,o,a,i){var s=e+(t&r|~t&n)+o+i;return(s<<a|s>>>32-a)+t}function u(e,t,r,n,o,a,i){var s=e+(t&n|r&~n)+o+i;return(s<<a|s>>>32-a)+t}function d(e,t,r,n,o,a,i){var s=e+(t^r^n)+o+i;return(s<<a|s>>>32-a)+t}function f(e,t,r,n,o,a,i){var s=e+(r^(t|~n))+o+i;return(s<<a|s>>>32-a)+t}t.MD5=a._createHelper(c),t.HmacMD5=a._createHmacHelper(c)}(Math),r.MD5)})),zL((function(e,t){var r,n,o,a,i,s,c,l;e.exports=(n=(r=l=Fj).lib,o=n.WordArray,a=n.Hasher,i=r.algo,s=[],c=i.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],a=r[2],i=r[3],c=r[4],l=0;l<80;l++){if(l<16)s[l]=0|e[t+l];else{var u=s[l-3]^s[l-8]^s[l-14]^s[l-16];s[l]=u<<1|u>>>31}var d=(n<<5|n>>>27)+c+s[l];d+=l<20?1518500249+(o&a|~o&i):l<40?1859775393+(o^a^i):l<60?(o&a|o&i|a&i)-1894007588:(o^a^i)-899497514,c=i,i=a,a=o<<30|o>>>2,o=n,n=d}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+a|0,r[3]=r[3]+i|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=a._createHelper(c),r.HmacSHA1=a._createHmacHelper(c),l.SHA1)})),zL((function(e,t){var r;e.exports=(r=Fj,function(e){var t=r,n=t.lib,o=n.WordArray,a=n.Hasher,i=t.algo,s=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(s[o]=r(e.pow(n,.5))),c[o]=r(e.pow(n,1/3)),o++),n++}();var l=[],u=i.SHA256=a.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],a=r[2],i=r[3],s=r[4],u=r[5],d=r[6],f=r[7],p=0;p<64;p++){if(p<16)l[p]=0|e[t+p];else{var h=l[p-15],m=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,g=l[p-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;l[p]=m+l[p-7]+v+l[p-16]}var y=n&o^n&a^o&a,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+c[p]+l[p];f=d,d=u,u=s,s=i+w|0,i=a,a=o,o=n,n=w+(b+y)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+a|0,r[3]=r[3]+i|0,r[4]=r[4]+s|0,r[5]=r[5]+u|0,r[6]=r[6]+d|0,r[7]=r[7]+f|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=a._createHelper(u),t.HmacSHA256=a._createHmacHelper(u)}(Math),r.SHA256)})),zL((function(e,t){var r,n,o,a,i,s;e.exports=(n=(r=s=Fj).lib.WordArray,o=r.algo,a=o.SHA256,i=o.SHA224=a.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=4,e}}),r.SHA224=a._createHelper(i),r.HmacSHA224=a._createHmacHelper(i),s.SHA224)})),zL((function(e,t){var r;e.exports=(r=Fj,function(){var e=r,t=e.lib.Hasher,n=e.x64,o=n.Word,a=n.WordArray,i=e.algo;function s(){return o.create.apply(o,arguments)}var c=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=s()}();var u=i.SHA512=t.extend({_doReset:function(){this._hash=new a.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],a=r[2],i=r[3],s=r[4],u=r[5],d=r[6],f=r[7],p=n.high,h=n.low,m=o.high,g=o.low,v=a.high,y=a.low,b=i.high,w=i.low,k=s.high,C=s.low,S=u.high,B=u.low,E=d.high,_=d.low,x=f.high,T=f.low,A=p,P=h,I=m,R=g,N=v,O=y,D=b,L=w,M=k,U=C,F=S,j=B,V=E,z=_,q=x,H=T,K=0;K<80;K++){var W,G,Q=l[K];if(K<16)G=Q.high=0|e[t+2*K],W=Q.low=0|e[t+2*K+1];else{var X=l[K-15],Y=X.high,$=X.low,Z=(Y>>>1|$<<31)^(Y>>>8|$<<24)^Y>>>7,J=($>>>1|Y<<31)^($>>>8|Y<<24)^($>>>7|Y<<25),ee=l[K-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,oe=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ae=l[K-7],ie=ae.high,se=ae.low,ce=l[K-16],le=ce.high,ue=ce.low;G=(G=(G=Z+ie+((W=J+se)>>>0<J>>>0?1:0))+ne+((W+=oe)>>>0<oe>>>0?1:0))+le+((W+=ue)>>>0<ue>>>0?1:0),Q.high=G,Q.low=W}var de,fe=M&F^~M&V,pe=U&j^~U&z,he=A&I^A&N^I&N,me=P&R^P&O^R&O,ge=(A>>>28|P<<4)^(A<<30|P>>>2)^(A<<25|P>>>7),ve=(P>>>28|A<<4)^(P<<30|A>>>2)^(P<<25|A>>>7),ye=(M>>>14|U<<18)^(M>>>18|U<<14)^(M<<23|U>>>9),be=(U>>>14|M<<18)^(U>>>18|M<<14)^(U<<23|M>>>9),we=c[K],ke=we.high,Ce=we.low,Se=q+ye+((de=H+be)>>>0<H>>>0?1:0),Be=ve+me;q=V,H=z,V=F,z=j,F=M,j=U,M=D+(Se=(Se=(Se=Se+fe+((de+=pe)>>>0<pe>>>0?1:0))+ke+((de+=Ce)>>>0<Ce>>>0?1:0))+G+((de+=W)>>>0<W>>>0?1:0))+((U=L+de|0)>>>0<L>>>0?1:0)|0,D=N,L=O,N=I,O=R,I=A,R=P,A=Se+(ge+he+(Be>>>0<ve>>>0?1:0))+((P=de+Be|0)>>>0<de>>>0?1:0)|0}h=n.low=h+P,n.high=p+A+(h>>>0<P>>>0?1:0),g=o.low=g+R,o.high=m+I+(g>>>0<R>>>0?1:0),y=a.low=y+O,a.high=v+N+(y>>>0<O>>>0?1:0),w=i.low=w+L,i.high=b+D+(w>>>0<L>>>0?1:0),C=s.low=C+U,s.high=k+M+(C>>>0<U>>>0?1:0),B=u.low=B+j,u.high=S+F+(B>>>0<j>>>0?1:0),_=d.low=_+z,d.high=E+V+(_>>>0<z>>>0?1:0),T=f.low=T+H,f.high=x+q+(T>>>0<H>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),r.SHA512)})),zL((function(e,t){var r,n,o,a,i,s,c,l;e.exports=(n=(r=l=Fj).x64,o=n.Word,a=n.WordArray,i=r.algo,s=i.SHA512,c=i.SHA384=s.extend({_doReset:function(){this._hash=new a.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}}),r.SHA384=s._createHelper(c),r.HmacSHA384=s._createHmacHelper(c),l.SHA384)})),zL((function(e,t){var r;e.exports=(r=Fj,function(e){var t=r,n=t.lib,o=n.WordArray,a=n.Hasher,i=t.x64.Word,s=t.algo,c=[],l=[],u=[];!function(){for(var e=1,t=0,r=0;r<24;r++){c[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,a=0;a<24;a++){for(var s=0,d=0,f=0;f<7;f++){if(1&o){var p=(1<<f)-1;p<32?d^=1<<p:s^=1<<p-32}128&o?o=o<<1^113:o<<=1}u[a]=i.create(s,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=i.create()}();var f=s.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new i.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,o=0;o<n;o++){var a=e[t+2*o],i=e[t+2*o+1];a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),(T=r[o]).high^=i,T.low^=a}for(var s=0;s<24;s++){for(var f=0;f<5;f++){for(var p=0,h=0,m=0;m<5;m++)p^=(T=r[f+5*m]).high,h^=T.low;var g=d[f];g.high=p,g.low=h}for(f=0;f<5;f++){var v=d[(f+4)%5],y=d[(f+1)%5],b=y.high,w=y.low;for(p=v.high^(b<<1|w>>>31),h=v.low^(w<<1|b>>>31),m=0;m<5;m++)(T=r[f+5*m]).high^=p,T.low^=h}for(var k=1;k<25;k++){var C=(T=r[k]).high,S=T.low,B=c[k];B<32?(p=C<<B|S>>>32-B,h=S<<B|C>>>32-B):(p=S<<B-32|C>>>64-B,h=C<<B-32|S>>>64-B);var E=d[l[k]];E.high=p,E.low=h}var _=d[0],x=r[0];for(_.high=x.high,_.low=x.low,f=0;f<5;f++)for(m=0;m<5;m++){var T=r[k=f+5*m],A=d[k],P=d[(f+1)%5+5*m],I=d[(f+2)%5+5*m];T.high=A.high^~P.high&I.high,T.low=A.low^~P.low&I.low}T=r[0];var R=u[s];T.high^=R.high,T.low^=R.low}},_doFinalize:function(){var t=this._data,r=t.words,n=(this._nDataBytes,8*t.sigBytes),a=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/a)*a>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var i=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],u=0;u<c;u++){var d=i[u],f=d.high,p=d.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),l.push(p),l.push(f)}return new o.init(l,s)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});t.SHA3=a._createHelper(f),t.HmacSHA3=a._createHmacHelper(f)}(Math),r.SHA3)})),zL((function(e,t){var r;e.exports=(r=Fj,
28
+ */!function(o,a){var i="function",s="undefined",c="object",l="model",u="name",d="type",f="vendor",p="version",h="architecture",m="console",g="mobile",v="tablet",y="smarttv",b="wearable",w={extend:function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:a},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},k={rgx:function(e,t){for(var r,n,o,s,l,u,d=0;d<t.length&&!l;){var f=t[d],p=t[d+1];for(r=n=0;r<f.length&&!l;)if(l=f[r++].exec(e))for(o=0;o<p.length;o++)u=l[++n],Ey(s=p[o])===c&&s.length>0?2==s.length?Ey(s[1])==i?this[s[0]]=s[1].call(this,u):this[s[0]]=s[1]:3==s.length?Ey(s[1])!==i||s[1].exec&&s[1].test?this[s[0]]=u?u.replace(s[1],s[2]):a:this[s[0]]=u?s[1].call(this,u,s[2]):a:4==s.length&&(this[s[0]]=u?s[3].call(this,u.replace(s[1],s[2])):a):this[s]=u||a;d+=2}},str:function(e,t){for(var r in t)if(Ey(t[r])===c&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(w.has(t[r][n],e))return"?"===r?a:r}else if(w.has(t[r],e))return"?"===r?a:r;return e}},C={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},S={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[u,p],[/(opios)[\/\s]+([\w\.]+)/i],[[u,"Opera Mini"],p],[/\s(opr)\/([\w\.]+)/i],[[u,"Opera"],p],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i],[u,p],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[u,"IE"],p],[/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i],[[u,"Edge"],p],[/(yabrowser)\/([\w\.]+)/i],[[u,"Yandex"],p],[/(puffin)\/([\w\.]+)/i],[[u,"Puffin"],p],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[u,"UCBrowser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],p],[/(micromessenger)\/([\w\.]+)/i],[[u,"WeChat"],p],[/(qqbrowserlite)\/([\w\.]+)/i],[u,p],[/(QQ)\/([\d\.]+)/i],[u,p],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[u,p],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[u,p],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[u,p],[/(MetaSr)[\/\s]?([\w\.]+)/i],[u],[/(LBBROWSER)/i],[u],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[p,[u,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[p,[u,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[p,[u,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[u,/(.+)/,"$1 WebView"],p],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[u,/(.+(?:g|us))(.+)/,"$1 $2"],p],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[p,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[u,p],[/(dolfin)\/([\w\.]+)/i],[[u,"Dolphin"],p],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[u,"Chrome"],p],[/(coast)\/([\w\.]+)/i],[[u,"Opera Coast"],p],[/fxios\/([\w\.-]+)/i],[p,[u,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[p,[u,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[p,u],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[u,"GSA"],p],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[u,[p,k.str,C.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[u,p],[/(navigator|netscape)\/([\w\.-]+)/i],[[u,"Netscape"],p],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[u,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[h,"amd64"]],[/(ia32(?=;))/i],[[h,w.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[h,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[h,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[h,/ower/,"",w.lowerize]],[/(sun4\w)[;\)]/i],[[h,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[h,w.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[l,f,[d,v]],[/applecoremedia\/[\w\.]+ \((ipad)/],[l,[f,"Apple"],[d,v]],[/(apple\s{0,1}tv)/i],[[l,"Apple TV"],[f,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[f,l,[d,v]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[l,[f,"Amazon"],[d,v]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[l,k.str,C.device.amazon.model],[f,"Amazon"],[d,g]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[l,f,[d,g]],[/\((ip[honed|\s\w*]+);/i],[l,[f,"Apple"],[d,g]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[f,l,[d,g]],[/\(bb10;\s(\w+)/i],[l,[f,"BlackBerry"],[d,g]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[l,[f,"Asus"],[d,v]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[f,"Sony"],[l,"Xperia Tablet"],[d,v]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[l,[f,"Sony"],[d,g]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[f,l,[d,m]],[/android.+;\s(shield)\sbuild/i],[l,[f,"Nvidia"],[d,m]],[/(playstation\s[34portablevi]+)/i],[l,[f,"Sony"],[d,m]],[/(sprint\s(\w+))/i],[[f,k.str,C.device.sprint.vendor],[l,k.str,C.device.sprint.model],[d,g]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[f,l,[d,v]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[f,[l,/_/g," "],[d,g]],[/(nexus\s9)/i],[l,[f,"HTC"],[d,v]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[l,[f,"Huawei"],[d,g]],[/(microsoft);\s(lumia[\s\w]+)/i],[f,l,[d,g]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[l,[f,"Microsoft"],[d,m]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[f,"Microsoft"],[d,g]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[l,[f,"Motorola"],[d,g]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[l,[f,"Motorola"],[d,v]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[f,w.trim],[l,w.trim],[d,y]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[f,"Samsung"],[d,y]],[/\(dtv[\);].+(aquos)/i],[l,[f,"Sharp"],[d,y]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[f,"Samsung"],l,[d,v]],[/smart-tv.+(samsung)/i],[f,[d,y],l],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[f,"Samsung"],l,[d,g]],[/sie-(\w*)/i],[l,[f,"Siemens"],[d,g]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[f,"Nokia"],l,[d,g]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[l,[f,"Acer"],[d,v]],[/android.+([vl]k\-?\d{3})\s+build/i],[l,[f,"LG"],[d,v]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[f,"LG"],l,[d,v]],[/(lg) netcast\.tv/i],[f,l,[d,y]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[l,[f,"LG"],[d,g]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[l,[f,"Lenovo"],[d,v]],[/linux;.+((jolla));/i],[f,l,[d,g]],[/((pebble))app\/[\d\.]+\s/i],[f,l,[d,b]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[f,l,[d,g]],[/crkey/i],[[l,"Chromecast"],[f,"Google"]],[/android.+;\s(glass)\s\d/i],[l,[f,"Google"],[d,b]],[/android.+;\s(pixel c)\s/i],[l,[f,"Google"],[d,v]],[/android.+;\s(pixel xl|pixel)\s/i],[l,[f,"Google"],[d,g]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[l,/_/g," "],[f,"Xiaomi"],[d,g]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[l,/_/g," "],[f,"Xiaomi"],[d,v]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[l,[f,"Meizu"],[d,v]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[l,[f,"OnePlus"],[d,g]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[l,[f,"RCA"],[d,v]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[l,[f,"Dell"],[d,v]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[l,[f,"Verizon"],[d,v]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[f,"Barnes & Noble"],l,[d,v]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[l,[f,"NuVision"],[d,v]],[/android.+;\s(k88)\sbuild/i],[l,[f,"ZTE"],[d,v]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[l,[f,"Swiss"],[d,g]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[l,[f,"Swiss"],[d,v]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[l,[f,"Zeki"],[d,v]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[f,"Dragon Touch"],l,[d,v]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[l,[f,"Insignia"],[d,v]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[l,[f,"NextBook"],[d,v]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[f,"Voice"],l,[d,g]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[f,"LvTel"],l,[d,g]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[l,[f,"Envizen"],[d,v]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[f,l,[d,v]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[l,[f,"MachSpeed"],[d,v]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[f,l,[d,v]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[l,[f,"Rotor"],[d,v]],[/android.+(KS(.+))\s+build/i],[l,[f,"Amazon"],[d,v]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[f,l,[d,v]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[d,w.lowerize],f,l],[/(android[\w\.\s\-]{0,9});.+build/i],[l,[f,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[p,[u,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[u,p],[/rv\:([\w\.]{1,9}).+(gecko)/i],[p,u]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[u,p],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[u,[p,k.str,C.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[u,"Windows"],[p,k.str,C.os.windows.version]],[/\((bb)(10);/i],[[u,"BlackBerry"],p],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i,/linux;.+(sailfish);/i],[u,p],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[u,"Symbian"],p],[/\((series40);/i],[u],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[u,"Firefox OS"],p],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[u,p],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[u,"Chromium OS"],p],[/(sunos)\s?([\w\.\d]*)/i],[[u,"Solaris"],p],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[u,p],[/(haiku)\s(\w+)/i],[u,p],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[p,/_/g,"."],[u,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[u,"Mac OS"],[p,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]*)/i],[u,p]]},B=function e(t,r){if("object"==Ey(t)&&(r=t,t=a),!(this instanceof e))return new e(t,r).getResult();var n=t||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),i=r?w.extend(S,r):S;return this.getBrowser=function(){var e={name:a,version:a};return k.rgx.call(e,n,i.browser),e.major=w.major(e.version),e},this.getCPU=function(){var e={architecture:a};return k.rgx.call(e,n,i.cpu),e},this.getDevice=function(){var e={vendor:a,model:a,type:a};return k.rgx.call(e,n,i.device),e},this.getEngine=function(){var e={name:a,version:a};return k.rgx.call(e,n,i.engine),e},this.getOS=function(){var e={name:a,version:a};return k.rgx.call(e,n,i.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=e,this},this};B.VERSION="0.7.18",B.BROWSER={NAME:u,MAJOR:"major",VERSION:p},B.CPU={ARCHITECTURE:h},B.DEVICE={MODEL:l,VENDOR:f,TYPE:d,CONSOLE:m,MOBILE:g,SMARTTV:y,TABLET:v,WEARABLE:b,EMBEDDED:"embedded"},B.ENGINE={NAME:u,VERSION:p},B.OS={NAME:u,VERSION:p},Ey(t)!==s?(Ey(e)!==s&&e.exports&&(t=e.exports=B),t.UAParser=B):r(3)?(n=function(){return B}.call(t,r,t,e))===a||(e.exports=n):o&&(o.UAParser=B);var E=o&&(o.jQuery||o.Zepto);if(Ey(E)!==s){var _=new B;E.ua=_.getResult(),E.ua.get=function(){return _.getUA()},E.ua.set=function(e){_.setUA(e);var t=_.getResult();for(var r in t)E.ua[r]=t[r]}}}("object"==("undefined"==typeof window?"undefined":Ey(window))?window:this)},function(e,t){(function(t){e.exports=t}).call(t,{})},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=r(0),a=o.DEVICE_TYPES,i=o.defaultData,s=t.getNavigatorInstance=function(){return!("undefined"==typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},c=t.isIOS13Check=function(e){var t=s();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)};e.exports={checkType:function(e){switch(e){case a.MOBILE:return{isMobile:!0};case a.TABLET:return{isTablet:!0};case a.SMART_TV:return{isSmartTV:!0};case a.CONSOLE:return{isConsole:!0};case a.WEARABLE:return{isWearable:!0};case a.BROWSER:return{isBrowser:!0};default:return i}},broPayload:function(e,t,r,n,o){return{isBrowser:e,browserMajorVersion:t.major,browserFullVersion:t.version,browserName:t.name,engineName:r.name||!1,engineVersion:r.version,osName:n.name,osVersion:n.version,userAgent:o}},mobilePayload:function(e,t,r,o){return n({},e,{vendor:t.vendor,model:t.model,os:r.name,osVersion:r.version,ua:o})},stvPayload:function(e,t,r,n){return{isSmartTV:e,engineName:t.name,engineVersion:t.version,osName:r.name,osVersion:r.version,userAgent:n}},consolePayload:function(e,t,r,n){return{isConsole:e,engineName:t.name,engineVersion:t.version,osName:r.name,osVersion:r.version,userAgent:n}},wearPayload:function(e,t,r,n){return{isWearable:e,engineName:t.name,engineVersion:t.version,osName:r.name,osVersion:r.version,userAgent:n}},getNavigatorInstance:s,isIOS13Check:c}}])}));function Pj(){return"5.14.8"}function Ij(){return{"X-TV-Device-Model":"".concat(Aj.browserName," ").concat(Aj.browserVersion),"X-TV-OS-Version":"".concat(Aj.osName," ").concat(Aj.osVersion),"X-TV-OS-Platform":Aj.isMobile?"".concat(Aj.osName.toLowerCase(),"_web"):"web","X-TV-SDK-Version":"5.14.8"}}var Rj=Object.freeze({__proto__:null,getUAMetadata:Ij});function Nj(e){return e<10?"0".concat(e):e}function Oj(e){return"".concat(e.getFullYear(),"-").concat(Nj(e.getMonth()+1),"-").concat(Nj(e.getDate()),"T").concat(Nj(e.getHours()),":").concat(Nj(e.getMinutes()),":").concat(Nj(e.getSeconds())).concat(function(e){if(0===e)return"Z";var t=e>0?"-":"+";return e=Math.abs(e),"".concat(t+Nj(Math.floor(e/60)),":").concat(Nj(e%60))}(e.getTimezoneOffset()))}var Dj=Object.freeze({__proto__:null,rfc3339:Oj});function Lj(e,t){window.localStorage&&window.JSON&&t&&localStorage.setItem(t,JSON.stringify(e))}function Mj(e){if(window.localStorage&&window.JSON&&e){var t=localStorage.getItem(e);if(t)return JSON.parse(t)}}var Uj=Object.freeze({__proto__:null,storeData:Lj,getData:Mj,removeData:function(e){window.localStorage&&window.JSON&&e&&localStorage.removeItem(e)}}),Fj=zL((function(e,t){var r;e.exports=r=r||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==jL&&jL.crypto&&(r=jL.crypto),!r)try{r=bj}catch(e){}var n=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},i=a.lib={},s=i.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=i.WordArray=s.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var a=0;a<o;a++){var i=r[a>>>2]>>>24-a%4*8&255;t[n+a>>>2]|=i<<24-(n+a)%4*8}else for(var s=0;s<o;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(n());return new c.init(t,e)}}),l=a.enc={},u=l.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var a=t[o>>>2]>>>24-o%4*8&255;n.push((a>>>4).toString(16)),n.push((15&a).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new c.init(r,t/2)}},d=l.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o++){var a=t[o>>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new c.init(r,t)}},f=l.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},p=i.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,a=n.sigBytes,i=this.blockSize,s=a/(4*i),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*i,u=e.min(4*l,a);if(l){for(var d=0;d<l;d+=i)this._doProcessBlock(o,d);r=o.splice(0,l),n.sigBytes-=u}return new c.init(r,u)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),h=(i.Hasher=p.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new h.HMAC.init(e,r).finalize(t)}}}),a.algo={});return a}(Math)})),jj=(zL((function(e,t){var r,n,o,a,i,s;e.exports=(n=(r=s=Fj).lib,o=n.Base,a=n.WordArray,(i=r.x64={}).Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),i.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:8*e.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n<t;n++){var o=e[n];r.push(o.high),r.push(o.low)}return a.create(r,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}}),s)})),zL((function(e,t){var r;e.exports=(r=Fj,function(){if("function"==typeof ArrayBuffer){var e=r.lib.WordArray,t=e.init;(e.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var r=e.byteLength,n=[],o=0;o<r;o++)n[o>>>2]|=e[o]<<24-o%4*8;t.call(this,n,r)}else t.apply(this,arguments)}).prototype=e}}(),r.lib.WordArray)})),zL((function(e,t){var r;e.exports=(r=Fj,function(){var e=r,t=e.lib.WordArray,n=e.enc;function o(e){return e<<8&4278255360|e>>>8&16711935}n.Utf16=n.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o<r;o+=2){var a=t[o>>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var r=e.length,n=[],o=0;o<r;o++)n[o>>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(n,2*r)}},n.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],a=0;a<r;a+=2){var i=o(t[a>>>2]>>>16-a%4*8&65535);n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var r=e.length,n=[],a=0;a<r;a++)n[a>>>1]|=o(e.charCodeAt(a)<<16-a%2*16);return t.create(n,2*r)}}}(),r.enc.Utf16)})),zL((function(e,t){var r;e.exports=(r=Fj,function(){var e=r,t=e.lib.WordArray;function n(e,r,n){for(var o=[],a=0,i=0;i<r;i++)if(i%4){var s=n[e.charCodeAt(i-1)]<<i%4*2|n[e.charCodeAt(i)]>>>6-i%4*2;o[a>>>2]|=s<<24-a%4*8,a++}return t.create(o,a)}e.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var o=[],a=0;a<r;a+=3)for(var i=(t[a>>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s<r;s++)o.push(n.charAt(i>>>6*(3-s)&63));var c=n.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,r=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var a=0;a<r.length;a++)o[r.charCodeAt(a)]=a}var i=r.charAt(64);if(i){var s=e.indexOf(i);-1!==s&&(t=s)}return n(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64)})),zL((function(e,t){var r;e.exports=(r=Fj,function(){var e=r,t=e.lib.WordArray;function n(e,r,n){for(var o=[],a=0,i=0;i<r;i++)if(i%4){var s=n[e.charCodeAt(i-1)]<<i%4*2|n[e.charCodeAt(i)]>>>6-i%4*2;o[a>>>2]|=s<<24-a%4*8,a++}return t.create(o,a)}e.enc.Base64url={stringify:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.words,n=e.sigBytes,o=t?this._safe_map:this._map;e.clamp();for(var a=[],i=0;i<n;i+=3)for(var s=(r[i>>>2]>>>24-i%4*8&255)<<16|(r[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|r[i+2>>>2]>>>24-(i+2)%4*8&255,c=0;c<4&&i+.75*c<n;c++)a.push(o.charAt(s>>>6*(3-c)&63));var l=o.charAt(64);if(l)for(;a.length%4;)a.push(l);return a.join("")},parse:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.length,o=t?this._safe_map:this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var i=0;i<o.length;i++)a[o.charCodeAt(i)]=i}var s=o.charAt(64);if(s){var c=e.indexOf(s);-1!==c&&(r=c)}return n(e,r,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),r.enc.Base64url)})),zL((function(e,t){var r;e.exports=(r=Fj,function(e){var t=r,n=t.lib,o=n.WordArray,a=n.Hasher,i=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var c=i.MD5=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var a=this._hash.words,i=e[t+0],c=e[t+1],p=e[t+2],h=e[t+3],m=e[t+4],g=e[t+5],v=e[t+6],y=e[t+7],b=e[t+8],w=e[t+9],k=e[t+10],C=e[t+11],S=e[t+12],B=e[t+13],E=e[t+14],_=e[t+15],x=a[0],T=a[1],A=a[2],P=a[3];x=l(x,T,A,P,i,7,s[0]),P=l(P,x,T,A,c,12,s[1]),A=l(A,P,x,T,p,17,s[2]),T=l(T,A,P,x,h,22,s[3]),x=l(x,T,A,P,m,7,s[4]),P=l(P,x,T,A,g,12,s[5]),A=l(A,P,x,T,v,17,s[6]),T=l(T,A,P,x,y,22,s[7]),x=l(x,T,A,P,b,7,s[8]),P=l(P,x,T,A,w,12,s[9]),A=l(A,P,x,T,k,17,s[10]),T=l(T,A,P,x,C,22,s[11]),x=l(x,T,A,P,S,7,s[12]),P=l(P,x,T,A,B,12,s[13]),A=l(A,P,x,T,E,17,s[14]),x=u(x,T=l(T,A,P,x,_,22,s[15]),A,P,c,5,s[16]),P=u(P,x,T,A,v,9,s[17]),A=u(A,P,x,T,C,14,s[18]),T=u(T,A,P,x,i,20,s[19]),x=u(x,T,A,P,g,5,s[20]),P=u(P,x,T,A,k,9,s[21]),A=u(A,P,x,T,_,14,s[22]),T=u(T,A,P,x,m,20,s[23]),x=u(x,T,A,P,w,5,s[24]),P=u(P,x,T,A,E,9,s[25]),A=u(A,P,x,T,h,14,s[26]),T=u(T,A,P,x,b,20,s[27]),x=u(x,T,A,P,B,5,s[28]),P=u(P,x,T,A,p,9,s[29]),A=u(A,P,x,T,y,14,s[30]),x=d(x,T=u(T,A,P,x,S,20,s[31]),A,P,g,4,s[32]),P=d(P,x,T,A,b,11,s[33]),A=d(A,P,x,T,C,16,s[34]),T=d(T,A,P,x,E,23,s[35]),x=d(x,T,A,P,c,4,s[36]),P=d(P,x,T,A,m,11,s[37]),A=d(A,P,x,T,y,16,s[38]),T=d(T,A,P,x,k,23,s[39]),x=d(x,T,A,P,B,4,s[40]),P=d(P,x,T,A,i,11,s[41]),A=d(A,P,x,T,h,16,s[42]),T=d(T,A,P,x,v,23,s[43]),x=d(x,T,A,P,w,4,s[44]),P=d(P,x,T,A,S,11,s[45]),A=d(A,P,x,T,_,16,s[46]),x=f(x,T=d(T,A,P,x,p,23,s[47]),A,P,i,6,s[48]),P=f(P,x,T,A,y,10,s[49]),A=f(A,P,x,T,E,15,s[50]),T=f(T,A,P,x,g,21,s[51]),x=f(x,T,A,P,S,6,s[52]),P=f(P,x,T,A,h,10,s[53]),A=f(A,P,x,T,k,15,s[54]),T=f(T,A,P,x,c,21,s[55]),x=f(x,T,A,P,b,6,s[56]),P=f(P,x,T,A,_,10,s[57]),A=f(A,P,x,T,v,15,s[58]),T=f(T,A,P,x,B,21,s[59]),x=f(x,T,A,P,m,6,s[60]),P=f(P,x,T,A,C,10,s[61]),A=f(A,P,x,T,p,15,s[62]),T=f(T,A,P,x,w,21,s[63]),a[0]=a[0]+x|0,a[1]=a[1]+T|0,a[2]=a[2]+A|0,a[3]=a[3]+P|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var a=e.floor(n/4294967296),i=n;r[15+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r[14+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,c=s.words,l=0;l<4;l++){var u=c[l];c[l]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,r,n,o,a,i){var s=e+(t&r|~t&n)+o+i;return(s<<a|s>>>32-a)+t}function u(e,t,r,n,o,a,i){var s=e+(t&n|r&~n)+o+i;return(s<<a|s>>>32-a)+t}function d(e,t,r,n,o,a,i){var s=e+(t^r^n)+o+i;return(s<<a|s>>>32-a)+t}function f(e,t,r,n,o,a,i){var s=e+(r^(t|~n))+o+i;return(s<<a|s>>>32-a)+t}t.MD5=a._createHelper(c),t.HmacMD5=a._createHmacHelper(c)}(Math),r.MD5)})),zL((function(e,t){var r,n,o,a,i,s,c,l;e.exports=(n=(r=l=Fj).lib,o=n.WordArray,a=n.Hasher,i=r.algo,s=[],c=i.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],a=r[2],i=r[3],c=r[4],l=0;l<80;l++){if(l<16)s[l]=0|e[t+l];else{var u=s[l-3]^s[l-8]^s[l-14]^s[l-16];s[l]=u<<1|u>>>31}var d=(n<<5|n>>>27)+c+s[l];d+=l<20?1518500249+(o&a|~o&i):l<40?1859775393+(o^a^i):l<60?(o&a|o&i|a&i)-1894007588:(o^a^i)-899497514,c=i,i=a,a=o<<30|o>>>2,o=n,n=d}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+a|0,r[3]=r[3]+i|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=a._createHelper(c),r.HmacSHA1=a._createHmacHelper(c),l.SHA1)})),zL((function(e,t){var r;e.exports=(r=Fj,function(e){var t=r,n=t.lib,o=n.WordArray,a=n.Hasher,i=t.algo,s=[],c=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,o=0;o<64;)t(n)&&(o<8&&(s[o]=r(e.pow(n,.5))),c[o]=r(e.pow(n,1/3)),o++),n++}();var l=[],u=i.SHA256=a.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],a=r[2],i=r[3],s=r[4],u=r[5],d=r[6],f=r[7],p=0;p<64;p++){if(p<16)l[p]=0|e[t+p];else{var h=l[p-15],m=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,g=l[p-2],v=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;l[p]=m+l[p-7]+v+l[p-16]}var y=n&o^n&a^o&a,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),w=f+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+c[p]+l[p];f=d,d=u,u=s,s=i+w|0,i=a,a=o,o=n,n=w+(b+y)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+a|0,r[3]=r[3]+i|0,r[4]=r[4]+s|0,r[5]=r[5]+u|0,r[6]=r[6]+d|0,r[7]=r[7]+f|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=a._createHelper(u),t.HmacSHA256=a._createHmacHelper(u)}(Math),r.SHA256)})),zL((function(e,t){var r,n,o,a,i,s;e.exports=(n=(r=s=Fj).lib.WordArray,o=r.algo,a=o.SHA256,i=o.SHA224=a.extend({_doReset:function(){this._hash=new n.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=4,e}}),r.SHA224=a._createHelper(i),r.HmacSHA224=a._createHmacHelper(i),s.SHA224)})),zL((function(e,t){var r;e.exports=(r=Fj,function(){var e=r,t=e.lib.Hasher,n=e.x64,o=n.Word,a=n.WordArray,i=e.algo;function s(){return o.create.apply(o,arguments)}var c=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=s()}();var u=i.SHA512=t.extend({_doReset:function(){this._hash=new a.init([new o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],o=r[1],a=r[2],i=r[3],s=r[4],u=r[5],d=r[6],f=r[7],p=n.high,h=n.low,m=o.high,g=o.low,v=a.high,y=a.low,b=i.high,w=i.low,k=s.high,C=s.low,S=u.high,B=u.low,E=d.high,_=d.low,x=f.high,T=f.low,A=p,P=h,I=m,R=g,N=v,O=y,D=b,L=w,M=k,U=C,F=S,j=B,V=E,z=_,q=x,H=T,K=0;K<80;K++){var W,G,Q=l[K];if(K<16)G=Q.high=0|e[t+2*K],W=Q.low=0|e[t+2*K+1];else{var X=l[K-15],Y=X.high,$=X.low,Z=(Y>>>1|$<<31)^(Y>>>8|$<<24)^Y>>>7,J=($>>>1|Y<<31)^($>>>8|Y<<24)^($>>>7|Y<<25),ee=l[K-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,oe=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ae=l[K-7],ie=ae.high,se=ae.low,ce=l[K-16],le=ce.high,ue=ce.low;G=(G=(G=Z+ie+((W=J+se)>>>0<J>>>0?1:0))+ne+((W+=oe)>>>0<oe>>>0?1:0))+le+((W+=ue)>>>0<ue>>>0?1:0),Q.high=G,Q.low=W}var de,fe=M&F^~M&V,pe=U&j^~U&z,he=A&I^A&N^I&N,me=P&R^P&O^R&O,ge=(A>>>28|P<<4)^(A<<30|P>>>2)^(A<<25|P>>>7),ve=(P>>>28|A<<4)^(P<<30|A>>>2)^(P<<25|A>>>7),ye=(M>>>14|U<<18)^(M>>>18|U<<14)^(M<<23|U>>>9),be=(U>>>14|M<<18)^(U>>>18|M<<14)^(U<<23|M>>>9),we=c[K],ke=we.high,Ce=we.low,Se=q+ye+((de=H+be)>>>0<H>>>0?1:0),Be=ve+me;q=V,H=z,V=F,z=j,F=M,j=U,M=D+(Se=(Se=(Se=Se+fe+((de+=pe)>>>0<pe>>>0?1:0))+ke+((de+=Ce)>>>0<Ce>>>0?1:0))+G+((de+=W)>>>0<W>>>0?1:0))+((U=L+de|0)>>>0<L>>>0?1:0)|0,D=N,L=O,N=I,O=R,I=A,R=P,A=Se+(ge+he+(Be>>>0<ve>>>0?1:0))+((P=de+Be|0)>>>0<de>>>0?1:0)|0}h=n.low=h+P,n.high=p+A+(h>>>0<P>>>0?1:0),g=o.low=g+R,o.high=m+I+(g>>>0<R>>>0?1:0),y=a.low=y+O,a.high=v+N+(y>>>0<O>>>0?1:0),w=i.low=w+L,i.high=b+D+(w>>>0<L>>>0?1:0),C=s.low=C+U,s.high=k+M+(C>>>0<U>>>0?1:0),B=u.low=B+j,u.high=S+F+(B>>>0<j>>>0?1:0),_=d.low=_+z,d.high=E+V+(_>>>0<z>>>0?1:0),T=f.low=T+H,f.high=x+q+(T>>>0<H>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(u),e.HmacSHA512=t._createHmacHelper(u)}(),r.SHA512)})),zL((function(e,t){var r,n,o,a,i,s,c,l;e.exports=(n=(r=l=Fj).x64,o=n.Word,a=n.WordArray,i=r.algo,s=i.SHA512,c=i.SHA384=s.extend({_doReset:function(){this._hash=new a.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}}),r.SHA384=s._createHelper(c),r.HmacSHA384=s._createHmacHelper(c),l.SHA384)})),zL((function(e,t){var r;e.exports=(r=Fj,function(e){var t=r,n=t.lib,o=n.WordArray,a=n.Hasher,i=t.x64.Word,s=t.algo,c=[],l=[],u=[];!function(){for(var e=1,t=0,r=0;r<24;r++){c[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var o=1,a=0;a<24;a++){for(var s=0,d=0,f=0;f<7;f++){if(1&o){var p=(1<<f)-1;p<32?d^=1<<p:s^=1<<p-32}128&o?o=o<<1^113:o<<=1}u[a]=i.create(s,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=i.create()}();var f=s.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new i.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,n=this.blockSize/2,o=0;o<n;o++){var a=e[t+2*o],i=e[t+2*o+1];a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),(T=r[o]).high^=i,T.low^=a}for(var s=0;s<24;s++){for(var f=0;f<5;f++){for(var p=0,h=0,m=0;m<5;m++)p^=(T=r[f+5*m]).high,h^=T.low;var g=d[f];g.high=p,g.low=h}for(f=0;f<5;f++){var v=d[(f+4)%5],y=d[(f+1)%5],b=y.high,w=y.low;for(p=v.high^(b<<1|w>>>31),h=v.low^(w<<1|b>>>31),m=0;m<5;m++)(T=r[f+5*m]).high^=p,T.low^=h}for(var k=1;k<25;k++){var C=(T=r[k]).high,S=T.low,B=c[k];B<32?(p=C<<B|S>>>32-B,h=S<<B|C>>>32-B):(p=S<<B-32|C>>>64-B,h=C<<B-32|S>>>64-B);var E=d[l[k]];E.high=p,E.low=h}var _=d[0],x=r[0];for(_.high=x.high,_.low=x.low,f=0;f<5;f++)for(m=0;m<5;m++){var T=r[k=f+5*m],A=d[k],P=d[(f+1)%5+5*m],I=d[(f+2)%5+5*m];T.high=A.high^~P.high&I.high,T.low=A.low^~P.low&I.low}T=r[0];var R=u[s];T.high^=R.high,T.low^=R.low}},_doFinalize:function(){var t=this._data,r=t.words,n=(this._nDataBytes,8*t.sigBytes),a=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/a)*a>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var i=this._state,s=this.cfg.outputLength/8,c=s/8,l=[],u=0;u<c;u++){var d=i[u],f=d.high,p=d.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),l.push(p),l.push(f)}return new o.init(l,s)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});t.SHA3=a._createHelper(f),t.HmacSHA3=a._createHmacHelper(f)}(Math),r.SHA3)})),zL((function(e,t){var r;e.exports=(r=Fj,
29
29
  /** @preserve
30
30
  (c) 2012 by Cédric Mesnil. All rights reserved.
31
31
 
@@ -57,7 +57,7 @@ function(e){var t=r,n=t.lib,o=n.WordArray,a=n.Hasher,i=t.algo,s=o.create([0,1,2,
57
57
  * @since jsrsasign 2.1
58
58
  * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
59
59
  */
60
- var GH={};void 0!==GH.asn1&&GH.asn1||(GH.asn1={}),GH.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var r=t.substr(1).length;r%2==1?r+=1:t.match(/^[0-7]/)||(r+=2);for(var n="",o=0;o<r;o++)n+="f";t=new wH(n,16).xor(e).add(wH.ONE).toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return hextopem(e,t)},this.newObject=function(e){var t=GH.asn1,r=t.DERBoolean,n=t.DERInteger,o=t.DERBitString,a=t.DEROctetString,i=t.DERNull,s=t.DERObjectIdentifier,c=t.DEREnumerated,l=t.DERUTF8String,u=t.DERNumericString,d=t.DERPrintableString,f=t.DERTeletexString,p=t.DERIA5String,h=t.DERUTCTime,m=t.DERGeneralizedTime,g=t.DERSequence,v=t.DERSet,y=t.DERTaggedObject,b=t.ASN1Util.newObject,w=Object.keys(e);if(1!=w.length)throw"key of param shall be only one.";var k=w[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+k+":"))throw"undefined key: "+k;if("bool"==k)return new r(e[k]);if("int"==k)return new n(e[k]);if("bitstr"==k)return new o(e[k]);if("octstr"==k)return new a(e[k]);if("null"==k)return new i(e[k]);if("oid"==k)return new s(e[k]);if("enum"==k)return new c(e[k]);if("utf8str"==k)return new l(e[k]);if("numstr"==k)return new u(e[k]);if("prnstr"==k)return new d(e[k]);if("telstr"==k)return new f(e[k]);if("ia5str"==k)return new p(e[k]);if("utctime"==k)return new h(e[k]);if("gentime"==k)return new m(e[k]);if("seq"==k){for(var C=e[k],S=[],B=0;B<C.length;B++){var E=b(C[B]);S.push(E)}return new g({array:S})}if("set"==k){for(C=e[k],S=[],B=0;B<C.length;B++)E=b(C[B]),S.push(E);return new v({array:S})}if("tag"==k){var _=e[k];if("[object Array]"===Object.prototype.toString.call(_)&&3==_.length){var x=b(_[2]);return new y({tag:_[0],explicit:_[1],obj:x})}var T={};if(void 0!==_.explicit&&(T.explicit=_.explicit),void 0!==_.tag&&(T.tag=_.tag),void 0===_.obj)throw"obj shall be specified for 'tag'.";return T.obj=b(_.obj),new y(T)}},this.jsonToASN1HEX=function(e){return this.newObject(e).getEncodedHex()}},GH.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",r=parseInt(e.substr(0,2),16),n=(t=Math.floor(r/40)+"."+r%40,""),o=2;o<e.length;o+=2){var a=("00000000"+parseInt(e.substr(o,2),16).toString(2)).slice(-8);n+=a.substr(1,7),"0"==a.substr(0,1)&&(t=t+"."+new wH(n,2).toString(10),n="")}return t},GH.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},r=function(e){var r="",n=new wH(e,10).toString(2),o=7-n.length%7;7==o&&(o=0);for(var a="",i=0;i<o;i++)a+="0";for(n=a+n,i=0;i<n.length-1;i+=7){var s=n.substr(i,7);i!=n.length-7&&(s="1"+s),r+=t(parseInt(s,2))}return r};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var n="",o=e.split("."),a=40*parseInt(o[0])+parseInt(o[1]);n+=t(a),o.splice(0,2);for(var i=0;i<o.length;i++)n+=r(o[i]);return n},GH.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+"".length+",v="+this.hV;var e=this.hV.length/2,t=e.toString(16);if(t.length%2==1&&(t="0"+t),e<128)return t;var r=t.length/2;if(r>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);return(128+r).toString(16)+t},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},GH.asn1.DERAbstractString=function(e){GH.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?this.setString(e):void 0!==e.str?this.setString(e.str):void 0!==e.hex&&this.setStringHex(e.hex))},WH.lang.extend(GH.asn1.DERAbstractString,GH.asn1.ASN1Object),GH.asn1.DERAbstractTime=function(e){GH.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){return utc=e.getTime()+6e4*e.getTimezoneOffset(),new Date(utc)},this.formatDate=function(e,t,r){var n=this.zeroPadding,o=this.localDateToUTC(e),a=String(o.getFullYear());"utc"==t&&(a=a.substr(2,2));var i=a+n(String(o.getMonth()+1),2)+n(String(o.getDate()),2)+n(String(o.getHours()),2)+n(String(o.getMinutes()),2)+n(String(o.getSeconds()),2);if(!0===r){var s=o.getMilliseconds();if(0!=s){var c=n(String(s),3);i=i+"."+(c=c.replace(/[0]+$/,""))}}return i+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,t,r,n,o,a){var i=new Date(Date.UTC(e,t-1,r,n,o,a,0));this.setByDate(i)},this.getFreshValueHex=function(){return this.hV}},WH.lang.extend(GH.asn1.DERAbstractTime,GH.asn1.ASN1Object),GH.asn1.DERAbstractStructured=function(e){GH.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,void 0!==e&&void 0!==e.array&&(this.asn1Array=e.array)},WH.lang.extend(GH.asn1.DERAbstractStructured,GH.asn1.ASN1Object),GH.asn1.DERBoolean=function(){GH.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},WH.lang.extend(GH.asn1.DERBoolean,GH.asn1.ASN1Object),GH.asn1.DERInteger=function(e){GH.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=GH.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new wH(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.bigint?this.setByBigInteger(e.bigint):void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},WH.lang.extend(GH.asn1.DERInteger,GH.asn1.ASN1Object),GH.asn1.DERBitString=function(e){if(void 0!==e&&void 0!==e.obj){var t=GH.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}GH.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7<e)throw"unused bits shall be from 0 to 7: u = "+e;var r="0"+e;this.hTLV=null,this.isModified=!0,this.hV=r+t},this.setByBinaryString=function(e){var t=8-(e=e.replace(/0+$/,"")).length%8;8==t&&(t=0);for(var r=0;r<=t;r++)e+="0";var n="";for(r=0;r<e.length-1;r+=8){var o=e.substr(r,8),a=parseInt(o,2).toString(16);1==a.length&&(a="0"+a),n+=a}this.hTLV=null,this.isModified=!0,this.hV="0"+t+n},this.setByBooleanArray=function(e){for(var t="",r=0;r<e.length;r++)1==e[r]?t+="1":t+="0";this.setByBinaryString(t)},this.newFalseArray=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=!1;return t},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):void 0!==e.hex?this.setHexValueIncludingUnusedBits(e.hex):void 0!==e.bin?this.setByBinaryString(e.bin):void 0!==e.array&&this.setByBooleanArray(e.array))},WH.lang.extend(GH.asn1.DERBitString,GH.asn1.ASN1Object),GH.asn1.DEROctetString=function(e){if(void 0!==e&&void 0!==e.obj){var t=GH.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}GH.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},WH.lang.extend(GH.asn1.DEROctetString,GH.asn1.DERAbstractString),GH.asn1.DERNull=function(){GH.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},WH.lang.extend(GH.asn1.DERNull,GH.asn1.ASN1Object),GH.asn1.DERObjectIdentifier=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},r=function(e){var r="",n=new wH(e,10).toString(2),o=7-n.length%7;7==o&&(o=0);for(var a="",i=0;i<o;i++)a+="0";for(n=a+n,i=0;i<n.length-1;i+=7){var s=n.substr(i,7);i!=n.length-7&&(s="1"+s),r+=t(parseInt(s,2))}return r};GH.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueOidString=function(e){if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var n="",o=e.split("."),a=40*parseInt(o[0])+parseInt(o[1]);n+=t(a),o.splice(0,2);for(var i=0;i<o.length;i++)n+=r(o[i]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=n},this.setValueName=function(e){var t=GH.asn1.x509.OID.name2oid(e);if(""===t)throw"DERObjectIdentifier oidName undefined: "+e;this.setValueOidString(t)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):void 0!==e.oid?this.setValueOidString(e.oid):void 0!==e.hex?this.setValueHex(e.hex):void 0!==e.name&&this.setValueName(e.name))},WH.lang.extend(GH.asn1.DERObjectIdentifier,GH.asn1.ASN1Object),GH.asn1.DEREnumerated=function(e){GH.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=GH.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new wH(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},WH.lang.extend(GH.asn1.DEREnumerated,GH.asn1.ASN1Object),GH.asn1.DERUTF8String=function(e){GH.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},WH.lang.extend(GH.asn1.DERUTF8String,GH.asn1.DERAbstractString),GH.asn1.DERNumericString=function(e){GH.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},WH.lang.extend(GH.asn1.DERNumericString,GH.asn1.DERAbstractString),GH.asn1.DERPrintableString=function(e){GH.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},WH.lang.extend(GH.asn1.DERPrintableString,GH.asn1.DERAbstractString),GH.asn1.DERTeletexString=function(e){GH.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},WH.lang.extend(GH.asn1.DERTeletexString,GH.asn1.DERAbstractString),GH.asn1.DERIA5String=function(e){GH.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},WH.lang.extend(GH.asn1.DERIA5String,GH.asn1.DERAbstractString),GH.asn1.DERUTCTime=function(e){GH.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{12}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date))},WH.lang.extend(GH.asn1.DERUTCTime,GH.asn1.DERAbstractTime),GH.asn1.DERGeneralizedTime=function(e){GH.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{14}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date),!0===e.millis&&(this.withMillis=!0))},WH.lang.extend(GH.asn1.DERGeneralizedTime,GH.asn1.DERAbstractTime),GH.asn1.DERSequence=function(e){GH.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var e="",t=0;t<this.asn1Array.length;t++)e+=this.asn1Array[t].getEncodedHex();return this.hV=e,this.hV}},WH.lang.extend(GH.asn1.DERSequence,GH.asn1.DERAbstractStructured),GH.asn1.DERSet=function(e){GH.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,t=0;t<this.asn1Array.length;t++){var r=this.asn1Array[t];e.push(r.getEncodedHex())}return 1==this.sortFlag&&e.sort(),this.hV=e.join(""),this.hV},void 0!==e&&void 0!==e.sortflag&&0==e.sortflag&&(this.sortFlag=!1)},WH.lang.extend(GH.asn1.DERSet,GH.asn1.DERAbstractStructured),GH.asn1.DERTaggedObject=function(e){GH.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,t,r){this.hT=t,this.isExplicit=e,this.asn1Object=r,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=r.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,t),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.tag&&(this.hT=e.tag),void 0!==e.explicit&&(this.isExplicit=e.explicit),void 0!==e.obj&&(this.asn1Object=e.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},WH.lang.extend(GH.asn1.DERTaggedObject,GH.asn1.ASN1Object);var QH,XH,YH,$H,ZH=(QH=function(e,t){return(QH=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}QH(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),JH=function(e){function t(r){var n=e.call(this)||this;return r&&("string"==typeof r?n.parseKey(r):(t.hasPrivateKeyProperty(r)||t.hasPublicKeyProperty(r))&&n.parsePropertiesFrom(r)),n}return ZH(t,e),t.prototype.parseKey=function(e){try{var t=0,r=0,n=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(e)?sH(e):cH.unarmor(e),o=gH.decode(n);if(3===o.sub.length&&(o=o.sub[2].sub[0]),9===o.sub.length){t=o.sub[1].getHexStringValue(),this.n=_H(t,16),r=o.sub[2].getHexStringValue(),this.e=parseInt(r,16);var a=o.sub[3].getHexStringValue();this.d=_H(a,16);var i=o.sub[4].getHexStringValue();this.p=_H(i,16);var s=o.sub[5].getHexStringValue();this.q=_H(s,16);var c=o.sub[6].getHexStringValue();this.dmp1=_H(c,16);var l=o.sub[7].getHexStringValue();this.dmq1=_H(l,16);var u=o.sub[8].getHexStringValue();this.coeff=_H(u,16)}else{if(2!==o.sub.length)return!1;if(o.sub[0].sub){var d=o.sub[1].sub[0];t=d.sub[0].getHexStringValue(),this.n=_H(t,16),r=d.sub[1].getHexStringValue(),this.e=parseInt(r,16)}else t=o.sub[0].getHexStringValue(),this.n=_H(t,16),r=o.sub[1].getHexStringValue(),this.e=parseInt(r,16)}return!0}catch(e){return!1}},t.prototype.getPrivateBaseKey=function(){var e={array:[new GH.asn1.DERInteger({int:0}),new GH.asn1.DERInteger({bigint:this.n}),new GH.asn1.DERInteger({int:this.e}),new GH.asn1.DERInteger({bigint:this.d}),new GH.asn1.DERInteger({bigint:this.p}),new GH.asn1.DERInteger({bigint:this.q}),new GH.asn1.DERInteger({bigint:this.dmp1}),new GH.asn1.DERInteger({bigint:this.dmq1}),new GH.asn1.DERInteger({bigint:this.coeff})]};return new GH.asn1.DERSequence(e).getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return oH(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var e=new GH.asn1.DERSequence({array:[new GH.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new GH.asn1.DERNull]}),t=new GH.asn1.DERSequence({array:[new GH.asn1.DERInteger({bigint:this.n}),new GH.asn1.DERInteger({int:this.e})]}),r=new GH.asn1.DERBitString({hex:"00"+t.getEncodedHex()});return new GH.asn1.DERSequence({array:[e,r]}).getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return oH(this.getPublicBaseKey())},t.wordwrap=function(e,t){if(!e)return e;var r="(.{1,"+(t=t||64)+"})( +|$\n?)|(.{1,"+t+"})";return e.match(RegExp(r,"g")).join("\n")},t.prototype.getPrivateKey=function(){var e="-----BEGIN RSA PRIVATE KEY-----\n";return(e+=t.wordwrap(this.getPrivateBaseKeyB64())+"\n")+"-----END RSA PRIVATE KEY-----"},t.prototype.getPublicKey=function(){var e="-----BEGIN PUBLIC KEY-----\n";return(e+=t.wordwrap(this.getPublicBaseKeyB64())+"\n")+"-----END PUBLIC KEY-----"},t.hasPublicKeyProperty=function(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")&&e.hasOwnProperty("d")&&e.hasOwnProperty("p")&&e.hasOwnProperty("q")&&e.hasOwnProperty("dmp1")&&e.hasOwnProperty("dmq1")&&e.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(e){this.n=e.n,this.e=e.e,e.hasOwnProperty("d")&&(this.d=e.d,this.p=e.p,this.q=e.q,this.dmp1=e.dmp1,this.dmq1=e.dmq1,this.coeff=e.coeff)},t}(HH),eK=function(){function e(e){void 0===e&&(e={}),e=e||{},this.default_key_size=e.default_key_size?parseInt(e.default_key_size,10):1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=null}return e.prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new JH(e)},e.prototype.setPrivateKey=function(e){this.setKey(e)},e.prototype.setPublicKey=function(e){this.setKey(e)},e.prototype.decrypt=function(e){try{return this.getKey().decrypt(aH(e))}catch(e){return!1}},e.prototype.encrypt=function(e){try{return oH(this.getKey().encrypt(e))}catch(e){return!1}},e.prototype.sign=function(e,t,r){try{return oH(this.getKey().sign(e,t,r))}catch(e){return!1}},e.prototype.verify=function(e,t,r){try{return this.getKey().verify(e,aH(t),r)}catch(e){return!1}},e.prototype.getKey=function(e){if(!this.key){if(this.key=new JH,e&&"[object Function]"==={}.toString.call(e))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version="3.3.0",e}(),tK=function(e,t,r,n){if(!aM(e))return e;for(var o=-1,a=(t=FF(t,e)).length,i=a-1,s=e;null!=s&&++o<a;){var c=VF(t[o]),l=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=i){var u=s[c];void 0===(l=n?n(u,c,s):void 0)&&(l=aM(u)?u:sU(t[o+1])?[]:{})}QM(s,c,l),s=s[c]}return e},rK=function(e,t,r){return null==e?e:tK(e,t,r)},nK=["-","-","-","-","-","B","E","G","I","N"," ","P","U","B","L","I","C"," ","K","E","Y","-","-","-","-","-","\n"," "," ","M","I","I","B","I","j","A","N","B","g","k","q","h","k","i","G","9","w","0","B","A","Q","E","F","A","A","O","C","A","Q","8","A","M","I","I","B","C","g","K","C","A","Q","E","A","z","7","v","7","a","s","x","M","n","j","L","3","/","j","G","E","d","M","3","T","\n"," "," ","j","0","h","X","b","h","r","/","m","N","2","B","m","j","/","Y","e","6","I","y","1","T","t","g","E","S","W","j","r","V","Y","Z","J","k","a","+","T","L","+","L","0","U","n","h","i","8","l","W","x","2","w","R","s","+","N","i","u","Y","f","g","+","B","U","b","\n"," "," ","s","e","y","L","j","G","B","q","N","t","z","x","H","Z","K","v","d","h","d","i","r","o","y","R","y","C","S","f","p","m","f","h","Q","C","P","s","K","q","/","y","k","1","m","A","e","/","9","1","W","Y","J","b","l","K","h","W","Y","q","W","0","2","I","G","/","\n"," "," ","g","h","r","z","0","b","i","Y","X","C","b","5","m","6","s","R","o","7","e","J","p","4","F","e","2","1","U","N","Q","W","O","o","y","V","2","M","9","o","+","n","G","l","0","P","+","V","A","I","z","q","Z","m","l","P","w","w","v","w","B","i","l","f","X","e","\n"," "," ","W","V","P","x","9","6","f","2","c","A","I","h","S","2","b","W","f","f","d","X","3","w","p","c","1","C","E","m","c","v","9","V","E","f","o","j","j","i","X","O","7","I","n","k","u","P","t","H","4","W","2","E","P","Z","0","8","C","z","3","+","e","Q","2","k","\n"," "," ","D","z","c","j","P","9","8","Q","T","p","u","w","2","E","X","C","S","1","w","s","k","Z","C","2","1","j","L","8","j","z","X","H","a","W","3","B","q","O","h","s","V","G","9","T","F","S","y","c","l","F","g","e","n","r","G","s","Z","i","t","h","l","l","K","/","\n"," "," ","t","Q","I","D","A","Q","A","B","\n"," "," ","-","-","-","-","-","E","N","D"," ","P","U","B","L","I","C"," ","K","E","Y","-","-","-","-","-"],oK={},aK={SELFIE:"selfie",ID_CARD:"id_card"},iK=Oq((function(){var e=new eK;return e.setPublicKey(nK.join("")),e}));XH=iK();var sK=function(e){var t=e.gesture;return{capture_time:e.captureTime,type:t,frames:e.frames}},cK=function(e){var t=e.detectedCard,r=e.captureTime,n=e.vCam,o=e.captureCount,a=e.captureDuration,i=e.captureType;return{capture_time:r,type:null==t?void 0:t.label,v_cam:n,capture_count:o,capture_duration:a,capture_type:i}},lK=function(){var e=dL(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=function(e){return kL(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")},e.abrupt("return",new Promise((function(e){var o=new TextEncoder,a=o.encode(t),i=o.encode(r);window.crypto.subtle.importKey("raw",i,"AES-GCM",!0,["encrypt","decrypt"]).then((function(t){window.crypto.subtle.encrypt({name:"AES-GCM",iv:new Uint8Array(12),tagLength:128},t,a).then((function(t){e("".concat($H,".").concat(n(t)))}))}))})));case 2:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),uK=function(){var e=dL(regeneratorRuntime.mark((function e(t){var r,n,o,a,i,s,c,l,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.mode,o=t.imageData,t.enableExifData){e.next=3;break}return e.abrupt("return",new Promise((function(e){return e(o.blob)})));case 3:return a=yL(yL({},oK),n===aK.SELFIE?sK(o):cK(o)),i=yL(yL({},a),{},{sensor_data:"sensor data exceed 64KB"}),null!=o&&null!==(r=o.type)&&void 0!==r&&r.includes("qr")&&(a={capture_time:null==o?void 0:o.captureTime,type:null==o?void 0:o.type,qr_string:null==o?void 0:o.result}),e.next=8,lK(JSON.stringify(i),YH);case 8:return s=e.sent,e.next=11,lK(JSON.stringify(a),YH);case 11:return c=e.sent,l=Qq.dump({Exif:mL({},Qq.ExifIFD.MakerNote,c)}),u=Qq.dump({Exif:mL({},Qq.ExifIFD.MakerNote,s)}),e.abrupt("return",new Promise((function(e){var t=new FileReader;t.onload=function(){var t=dL(regeneratorRuntime.mark((function t(r){var n,a,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{n=Qq.insert(l,r.target.result)}catch(t){try{n=Qq.insert(u,r.target.result)}catch(t){e(o.blob)}}return t.prev=1,t.next=4,fetch(n);case 4:return a=t.sent,t.next=7,a.blob();case 7:i=t.sent,URL.revokeObjectURL(n),e(i),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),e(o.blob);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(e){return t.apply(this,arguments)}}(),t.readAsDataURL(o.blob)})));case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),dK=Object.freeze({__proto__:null,MODE:aK,initExifData:function(){oK={device_info:{device_brand_name:"".concat("none"===Aj.mobileVendor?"null":Aj.mobileVendor),device_model:"".concat("none"===Aj.mobileModel?"null":Aj.mobileModel),browser_version:"".concat(Aj.browserName," ").concat(Aj.browserVersion),browser_userAgent:"".concat(Aj.getUA),os:Aj.osName,os_version:Aj.osVersion},sdk_version:"5.14.7",model_score:{id_blurry_score:"null",id_glare_score:"null"},user_action:{}}},addExifData:function(e,t){rK(oK,e,t)},preWriteExif:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mode,r=(e.motionData,e.orientationData,e.startTime),n=e.endTime;oK.user_action=yL({},t===aK.SELFIE?{start_selfie:r,end_selfie:n}:{start_id_card:r,end_id_card:n}),YH=xj().replace(/-/g,""),XH||(XH=iK()),$H=aH(XH.encrypt(YH))},writeExif:uK}),fK="https://unpkg.com/@tsocial/tv_web_sdk_resources@2.0.2/models/close-eyes/closed_eye_detector.tflite",pK=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fK,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.342,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:368,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;fL(this,e),this.model_path=t,this.threshold=r,this.size=Math.round(n/2),this.enable_profiling=o,this.num_threads=a}var t,r;return hL(e,[{key:"load",value:(r=dL(regeneratorRuntime.mark((function e(){var t,r,n,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=window,r=t.tf,e.next=3,jq({modelUrl:this.model_path,options:{numThreads:this.num_threads,enableProfiling:this.enable_profiling}});case 3:this.model=e.sent,n=this.model.inputs[0],this.input_width=n.shape[1],this.input_height=n.shape[2],r.tidy((function(){var e=r.randomNormal([1,o.input_width,o.input_height,3]);o.model.predict(e)}));case 8:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"crop_eyes",value:function(e,t){var r=this,n=window.tf,o=t[0].map((function(e){return Math.round(e)})),a=t[1].map((function(e){return Math.round(e)}));o[0]>a[0]&&(o=t[1].map((function(e){return Math.round(e)})),a=t[0].map((function(e){return Math.round(e)})));var i=Math.round((o[0]+a[0])/2),s=i-o[0],c=a[0]-i;s>=this.size&&(s=this.size),c>=this.size&&(c=this.size);var l=Math.max(o[0]-s,0),u=Math.max(o[1]-s,0),d=Math.max(a[0]-c,0),f=Math.max(a[1]-c,0);return n.tidy((function(){var t=e.slice([u,l,0],[2*s,2*s,3]),o=e.slice([f,d,0],[2*c,2*c,3]);return{l_img:t=n.expandDims(n.image.resizeBilinear(t,[r.input_width,r.input_height])),r_img:o=n.expandDims(n.image.resizeBilinear(o,[r.input_width,r.input_height]))}}))}},{key:"predict",value:(t=dL(regeneratorRuntime.mark((function e(t,r){var n,o,a,i,s,c,l,u,d,f=this,p=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=p.length>2&&void 0!==p[2]?p[2]:this.threshold,o=window,a=o.tf,i=t.getContext("2d"),s=i.getImageData(0,0,t.height,t.width),c=a.tidy((function(){var e=a.browser.fromPixels(s),t=f.crop_eyes(e,r),o=t.l_img,i=t.r_img,c=f.model.predict(o).arraySync()[0],l=f.model.predict(i).arraySync()[0];return[c>n,l>n]})),l=wL(c,2),u=l[0],d=l[1],e.abrupt("return",{isEyeClose:u||d});case 6:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})}]),e}(),hK=function(){var e=dL(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!DeviceMotionEvent||"function"!=typeof DeviceMotionEvent.requestPermission){e.next=2;break}return e.abrupt("return",DeviceMotionEvent.requestPermission());case 2:return e.abrupt("return",new Promise((function(e){return e("granted")})));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function mK(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.dataRate,r=void 0===t?100:t,n=xw.useRef([]),o=xw.useRef([]),a=(xw.useRef(!1),xw.useRef({})),i=xw.useCallback((function(e){var t=Date.now(),n=e.type;return!!(a.current[n]&&t-a.current[n]<r)||(a.current[n]=t,!1)}),[r]),s=xw.useCallback((function(e){i(e)||o.current.push({time:Date.now(),alpha:null==e?void 0:e.alpha,beta:null==e?void 0:e.beta,gamma:null==e?void 0:e.gamma})}),[i]),c=xw.useCallback((function(e){var t,r,o,a,s,c;i(e)||n.current.push({time:Date.now(),Accelerometer:{x:null==e||null===(t=e.acceleration)||void 0===t?void 0:t.x,y:null==e||null===(r=e.acceleration)||void 0===r?void 0:r.y,z:null==e||null===(o=e.acceleration)||void 0===o?void 0:o.z},Gyroscope:{z:null==e||null===(a=e.rotationRate)||void 0===a?void 0:a.alpha,x:null==e||null===(s=e.rotationRate)||void 0===s?void 0:s.beta,y:null==e||null===(c=e.rotationRate)||void 0===c?void 0:c.gamma}})}),[i]),l=xw.useCallback((function(){}),[c,s]),u=xw.useCallback((function(){}),[c,s]);return xw.useEffect((function(){return function(){u()}}),[u]),{motionData:n.current,orientationData:o.current,startMotion:l,stopMotion:u}}var gK=function(){return URL.createObjectURL(new Blob(['\'use strict\';(function(){function T(a,b){let c=[],d="";b=a.readBits([8,16,16][b]);for(let d=0;d<b;d++){let b=a.readBits(8);c.push(b)}try{d+=decodeURIComponent(c.map(a=>`%${("0"+a.toString(16)).substr(-2)}`).join(""))}catch(e){}return{bytes:c,text:d}}function U(a,b){a=new V(a);let c=9>=b?0:26>=b?1:2;for(b={text:"",bytes:[],chunks:[],version:b};4<=a.available();){var d=a.readBits(4);if(d===t.Terminator)return b;if(d===t.ECI)0===a.readBits(1)?b.chunks.push({type:r.ECI,assignmentNumber:a.readBits(7)}):\n0===a.readBits(1)?b.chunks.push({type:r.ECI,assignmentNumber:a.readBits(14)}):0===a.readBits(1)?b.chunks.push({type:r.ECI,assignmentNumber:a.readBits(21)}):b.chunks.push({type:r.ECI,assignmentNumber:-1});else if(d===t.Numeric){var e=a;d=[];for(var f="",g=e.readBits([10,12,14][c]);3<=g;){var h=e.readBits(10);if(1E3<=h)throw Error("Invalid numeric value above 999");var k=Math.floor(h/100),n=Math.floor(h/10)%10;h%=10;d.push(48+k,48+n,48+h);f+=k.toString()+n.toString()+h.toString();g-=3}if(2===g){g=e.readBits(7);\nif(100<=g)throw Error("Invalid numeric value above 99");e=Math.floor(g/10);g%=10;d.push(48+e,48+g);f+=e.toString()+g.toString()}else if(1===g){e=e.readBits(4);if(10<=e)throw Error("Invalid numeric value above 9");d.push(48+e);f+=e.toString()}d={bytes:d,text:f};b.text+=d.text;b.bytes.push(...d.bytes);b.chunks.push({type:r.Numeric,text:d.text})}else if(d===t.Alphanumeric){e=a;d=[];f="";for(g=e.readBits([9,11,13][c]);2<=g;)n=e.readBits(11),k=Math.floor(n/45),n%=45,d.push(B[k].charCodeAt(0),B[n].charCodeAt(0)),\nf+=B[k]+B[n],g-=2;1===g&&(e=e.readBits(6),d.push(B[e].charCodeAt(0)),f+=B[e]);d={bytes:d,text:f};b.text+=d.text;b.bytes.push(...d.bytes);b.chunks.push({type:r.Alphanumeric,text:d.text})}else if(d===t.Byte)d=T(a,c),b.text+=d.text,b.bytes.push(...d.bytes),b.chunks.push({type:r.Byte,bytes:d.bytes,text:d.text});else if(d===t.Kanji){f=a;d=[];e=f.readBits([8,10,12][c]);for(g=0;g<e;g++)k=f.readBits(13),k=Math.floor(k/192)<<8|k%192,k=7936>k?k+33088:k+49472,d.push(k>>8,k&255);f=(new TextDecoder("shift-jis")).decode(Uint8Array.from(d));\nd={bytes:d,text:f};b.text+=d.text;b.bytes.push(...d.bytes);b.chunks.push({type:r.Kanji,bytes:d.bytes,text:d.text})}else d===t.StructuredAppend&&b.chunks.push({type:r.StructuredAppend,currentSequence:a.readBits(4),totalSequence:a.readBits(4),parity:a.readBits(8)})}if(0===a.available()||0===a.readBits(a.available()))return b}function J(a,b){return a^b}function W(a,b,c,d){b.degree()<c.degree()&&([b,c]=[c,b]);let e=a.zero;for(var f=a.one;c.degree()>=d/2;){var g=b;let d=e;b=c;e=f;if(b.isZero())return null;\nc=g;f=a.zero;g=b.getCoefficient(b.degree());for(g=a.inverse(g);c.degree()>=b.degree()&&!c.isZero();){let d=c.degree()-b.degree(),e=a.multiply(c.getCoefficient(c.degree()),g);f=f.addOrSubtract(a.buildMonomial(d,e));c=c.addOrSubtract(b.multiplyByMonomial(d,e))}f=f.multiplyPoly(e).addOrSubtract(d);if(c.degree()>=b.degree())return null}d=f.getCoefficient(0);if(0===d)return null;a=a.inverse(d);return[f.multiply(a),c.multiply(a)]}function X(a,b){let c=new Uint8ClampedArray(a.length);c.set(a);a=new Y(285,\n256,0);var d=new w(a,c),e=new Uint8ClampedArray(b),f=!1;for(var g=0;g<b;g++){var h=d.evaluateAt(a.exp(g+a.generatorBase));e[e.length-1-g]=h;0!==h&&(f=!0)}if(!f)return c;d=new w(a,e);d=W(a,a.buildMonomial(b,1),d,b);if(null===d)return null;b=d[0];g=b.degree();if(1===g)b=[b.getCoefficient(1)];else{e=Array(g);f=0;for(h=1;h<a.size&&f<g;h++)0===b.evaluateAt(h)&&(e[f]=a.inverse(h),f++);b=f!==g?null:e}if(null==b)return null;d=d[1];e=b.length;f=Array(e);for(g=0;g<e;g++){h=a.inverse(b[g]);let c=1;for(let d=\n0;d<e;d++)g!==d&&(c=a.multiply(c,J(1,a.multiply(b[d],h))));f[g]=a.multiply(d.evaluateAt(h),a.inverse(c));0!==a.generatorBase&&(f[g]=a.multiply(f[g],h))}d=f;for(e=0;e<b.length;e++){f=c.length-1-a.log(b[e]);if(0>f)return null;c[f]^=d[e]}return c}function E(a,b){a^=b;for(b=0;a;)b++,a&=a-1;return b}function C(a,b){return b<<1|a}function Z(a,b,c){c=aa[c.dataMask];let d=a.height;var e=17+4*b.versionNumber,f=A.createEmpty(e,e);f.setRegion(0,0,9,9,!0);f.setRegion(e-8,0,8,9,!0);f.setRegion(0,e-8,9,8,!0);for(var g of b.alignmentPatternCenters)for(var h of b.alignmentPatternCenters)6===\ng&&6===h||6===g&&h===e-7||g===e-7&&6===h||f.setRegion(g-2,h-2,5,5,!0);f.setRegion(6,9,1,e-17,!0);f.setRegion(9,6,e-17,1,!0);6<b.versionNumber&&(f.setRegion(e-11,0,3,6,!0),f.setRegion(0,e-11,6,3,!0));b=f;g=[];e=h=0;f=!0;for(let k=d-1;0<k;k-=2){6===k&&k--;for(let n=0;n<d;n++){let m=f?d-1-n:n;for(let d=0;2>d;d++){let f=k-d;if(!b.get(f,m)){e++;let b=a.get(f,m);c({y:m,x:f})&&(b=!b);h=h<<1|b;8===e&&(g.push(h),h=e=0)}}}f=!f}return g}function ba(a){var b=a.height,c=Math.floor((b-17)/4);if(6>=c)return K[c-\n1];c=0;for(var d=5;0<=d;d--)for(var e=b-9;e>=b-11;e--)c=C(a.get(e,d),c);d=0;for(e=5;0<=e;e--)for(let c=b-9;c>=b-11;c--)d=C(a.get(e,c),d);a=Infinity;let f;for(let e of K){if(e.infoBits===c||e.infoBits===d)return e;b=E(c,e.infoBits);b<a&&(f=e,a=b);b=E(d,e.infoBits);b<a&&(f=e,a=b)}if(3>=a)return f}function ca(a){let b=0;for(var c=0;8>=c;c++)6!==c&&(b=C(a.get(c,8),b));for(c=7;0<=c;c--)6!==c&&(b=C(a.get(8,c),b));var d=a.height;c=0;for(var e=d-1;e>=d-7;e--)c=C(a.get(8,e),c);for(e=d-8;e<d;e++)c=C(a.get(e,\n8),c);a=Infinity;d=null;for(let {bits:f,formatInfo:g}of da){if(f===b||f===c)return g;e=E(b,f);e<a&&(d=g,a=e);b!==c&&(e=E(c,f),e<a&&(d=g,a=e))}return 3>=a?d:null}function ea(a,b,c){let d=b.errorCorrectionLevels[c],e=[],f=0;d.ecBlocks.forEach(a=>{for(let b=0;b<a.numBlocks;b++)e.push({numDataCodewords:a.dataCodewordsPerBlock,codewords:[]}),f+=a.dataCodewordsPerBlock+d.ecCodewordsPerBlock});if(a.length<f)return null;a=a.slice(0,f);b=d.ecBlocks[0].dataCodewordsPerBlock;for(c=0;c<b;c++)for(var g of e)g.codewords.push(a.shift());\nif(1<d.ecBlocks.length)for(g=d.ecBlocks[0].numBlocks,b=d.ecBlocks[1].numBlocks,c=0;c<b;c++)e[g+c].codewords.push(a.shift());for(;0<a.length;)for(let b of e)b.codewords.push(a.shift());return e}function L(a){let b=ba(a);if(!b)return null;var c=ca(a);if(!c)return null;a=Z(a,b,c);var d=ea(a,b,c.errorCorrectionLevel);if(!d)return null;c=d.reduce((a,b)=>a+b.numDataCodewords,0);c=new Uint8ClampedArray(c);a=0;for(let b of d){d=X(b.codewords,b.codewords.length-b.numDataCodewords);if(!d)return null;for(let e=\n0;e<b.numDataCodewords;e++)c[a++]=d[e]}try{return U(c,b.versionNumber)}catch(e){return null}}function M(a,b,c,d){var e=a.x-b.x+c.x-d.x;let f=a.y-b.y+c.y-d.y;if(0===e&&0===f)return{a11:b.x-a.x,a12:b.y-a.y,a13:0,a21:c.x-b.x,a22:c.y-b.y,a23:0,a31:a.x,a32:a.y,a33:1};{let h=b.x-c.x;var g=d.x-c.x;let k=b.y-c.y,n=d.y-c.y;c=h*n-g*k;g=(e*n-g*f)/c;e=(h*f-e*k)/c;return{a11:b.x-a.x+g*b.x,a12:b.y-a.y+g*b.y,a13:g,a21:d.x-a.x+e*d.x,a22:d.y-a.y+e*d.y,a23:e,a31:a.x,a32:a.y,a33:1}}}function fa(a,b,c,d){a=M(a,b,c,d);\nreturn{a11:a.a22*a.a33-a.a23*a.a32,a12:a.a13*a.a32-a.a12*a.a33,a13:a.a12*a.a23-a.a13*a.a22,a21:a.a23*a.a31-a.a21*a.a33,a22:a.a11*a.a33-a.a13*a.a31,a23:a.a13*a.a21-a.a11*a.a23,a31:a.a21*a.a32-a.a22*a.a31,a32:a.a12*a.a31-a.a11*a.a32,a33:a.a11*a.a22-a.a12*a.a21}}function ha(a,b){var c=fa({x:3.5,y:3.5},{x:b.dimension-3.5,y:3.5},{x:b.dimension-6.5,y:b.dimension-6.5},{x:3.5,y:b.dimension-3.5}),d=M(b.topLeft,b.topRight,b.alignmentPattern,b.bottomLeft),e=d.a11*c.a11+d.a21*c.a12+d.a31*c.a13,f=d.a12*c.a11+\nd.a22*c.a12+d.a32*c.a13,g=d.a13*c.a11+d.a23*c.a12+d.a33*c.a13,h=d.a11*c.a21+d.a21*c.a22+d.a31*c.a23,k=d.a12*c.a21+d.a22*c.a22+d.a32*c.a23,n=d.a13*c.a21+d.a23*c.a22+d.a33*c.a23,m=d.a11*c.a31+d.a21*c.a32+d.a31*c.a33,l=d.a12*c.a31+d.a22*c.a32+d.a32*c.a33,p=d.a13*c.a31+d.a23*c.a32+d.a33*c.a33;c=A.createEmpty(b.dimension,b.dimension);d=(a,b)=>{const c=g*a+n*b+p;return{x:(e*a+h*b+m)/c,y:(f*a+k*b+l)/c}};for(let e=0;e<b.dimension;e++)for(let f=0;f<b.dimension;f++){let b=d(f+.5,e+.5);c.set(f,e,a.get(Math.floor(b.x),\nMath.floor(b.y)))}return{matrix:c,mappingFunction:d}}function x(a){return a.reduce((a,c)=>a+c)}function ia(a,b,c){let d=y(a,b),e=y(b,c),f=y(a,c),g,h,k;e>=d&&e>=f?[g,h,k]=[b,a,c]:f>=e&&f>=d?[g,h,k]=[a,b,c]:[g,h,k]=[a,c,b];0>(k.x-h.x)*(g.y-h.y)-(k.y-h.y)*(g.x-h.x)&&([g,k]=[k,g]);return{bottomLeft:g,topLeft:h,topRight:k}}function ja(a,b,c,d){d=(x(z(a,c,d,5))/7+x(z(a,b,d,5))/7+x(z(c,a,d,5))/7+x(z(b,a,d,5))/7)/4;if(1>d)throw Error("Invalid module size");b=Math.round(y(a,b)/d);a=Math.round(y(a,c)/d);a=\nMath.floor((b+a)/2)+7;switch(a%4){case 0:a++;break;case 2:a--}return{dimension:a,moduleSize:d}}function N(a,b,c,d){let e=[{x:Math.floor(a.x),y:Math.floor(a.y)}];var f=Math.abs(b.y-a.y)>Math.abs(b.x-a.x);if(f){var g=Math.floor(a.y);var h=Math.floor(a.x);a=Math.floor(b.y);b=Math.floor(b.x)}else g=Math.floor(a.x),h=Math.floor(a.y),a=Math.floor(b.x),b=Math.floor(b.y);let k=Math.abs(a-g),n=Math.abs(b-h),m=Math.floor(-k/2),l=g<a?1:-1,p=h<b?1:-1,q=!0;for(let v=g,u=h;v!==a+l;v+=l){g=f?u:v;h=f?v:u;if(c.get(g,\nh)!==q&&(q=!q,e.push({x:g,y:h}),e.length===d+1))break;m+=n;if(0<m){if(u===b)break;u+=p;m-=k}}c=[];for(f=0;f<d;f++)e[f]&&e[f+1]?c.push(y(e[f],e[f+1])):c.push(0);return c}function z(a,b,c,d){let e=b.y-a.y,f=b.x-a.x;b=N(a,b,c,Math.ceil(d/2));a=N(a,{x:a.x-f,y:a.y-e},c,Math.ceil(d/2));c=b.shift()+a.shift()-1;return a.concat(c).concat(...b)}function F(a,b){let c=x(a)/x(b),d=0;b.forEach((b,f)=>{d+=Math.pow(a[f]-b*c,2)});return{averageSize:c,error:d}}function O(a,b,c){try{let d=z(a,{x:-1,y:a.y},c,b.length),\ne=z(a,{x:a.x,y:-1},c,b.length),f=z(a,{x:Math.max(0,a.x-a.y)-1,y:Math.max(0,a.y-a.x)-1},c,b.length),g=z(a,{x:Math.min(c.width,a.x+a.y)+1,y:Math.min(c.height,a.y+a.x)+1},c,b.length),h=F(d,b),k=F(e,b),n=F(f,b),m=F(g,b),l=(h.averageSize+k.averageSize+n.averageSize+m.averageSize)/4;return Math.sqrt(h.error*h.error+k.error*k.error+n.error*n.error+m.error*m.error)+(Math.pow(h.averageSize-l,2)+Math.pow(k.averageSize-l,2)+Math.pow(n.averageSize-l,2)+Math.pow(m.averageSize-l,2))/l}catch(d){return Infinity}}\nfunction H(a,b){for(var c=Math.round(b.x);a.get(c,Math.round(b.y));)c--;for(var d=Math.round(b.x);a.get(d,Math.round(b.y));)d++;c=(c+d)/2;for(d=Math.round(b.y);a.get(Math.round(c),d);)d--;for(b=Math.round(b.y);a.get(Math.round(c),b);)b++;return{x:c,y:(d+b)/2}}function ka(a){var b=[],c=[];let d=[];var e=[];for(let m=0;m<=a.height;m++){var f=0,g=!1;let l=[0,0,0,0,0];for(let b=-1;b<=a.width;b++){var h=a.get(b,m);if(h===g)f++;else{l=[l[1],l[2],l[3],l[4],f];f=1;g=h;var k=x(l)/7;k=Math.abs(l[0]-k)<k&&Math.abs(l[1]-\nk)<k&&Math.abs(l[2]-3*k)<3*k&&Math.abs(l[3]-k)<k&&Math.abs(l[4]-k)<k&&!h;var n=x(l.slice(-3))/3;h=Math.abs(l[2]-n)<n&&Math.abs(l[3]-n)<n&&Math.abs(l[4]-n)<n&&h;if(k){let a=b-l[3]-l[4],d=a-l[2];k={startX:d,endX:a,y:m};n=c.filter(b=>d>=b.bottom.startX&&d<=b.bottom.endX||a>=b.bottom.startX&&d<=b.bottom.endX||d<=b.bottom.startX&&a>=b.bottom.endX&&1.5>l[2]/(b.bottom.endX-b.bottom.startX)&&.5<l[2]/(b.bottom.endX-b.bottom.startX));0<n.length?n[0].bottom=k:c.push({top:k,bottom:k})}if(h){let a=b-l[4],c=a-\nl[3];h={startX:c,y:m,endX:a};k=e.filter(b=>c>=b.bottom.startX&&c<=b.bottom.endX||a>=b.bottom.startX&&c<=b.bottom.endX||c<=b.bottom.startX&&a>=b.bottom.endX&&1.5>l[2]/(b.bottom.endX-b.bottom.startX)&&.5<l[2]/(b.bottom.endX-b.bottom.startX));0<k.length?k[0].bottom=h:e.push({top:h,bottom:h})}}}b.push(...c.filter(a=>a.bottom.y!==m&&2<=a.bottom.y-a.top.y));c=c.filter(a=>a.bottom.y===m);d.push(...e.filter(a=>a.bottom.y!==m));e=e.filter(a=>a.bottom.y===m)}b.push(...c.filter(a=>2<=a.bottom.y-a.top.y));d.push(...e);\nc=[];for(var m of b)2>m.bottom.y-m.top.y||(b=(m.top.startX+m.top.endX+m.bottom.startX+m.bottom.endX)/4,e=(m.top.y+m.bottom.y+1)/2,a.get(Math.round(b),Math.round(e))&&(f=[m.top.endX-m.top.startX,m.bottom.endX-m.bottom.startX,m.bottom.y-m.top.y+1],f=x(f)/f.length,g=O({x:Math.round(b),y:Math.round(e)},[1,1,3,1,1],a),c.push({score:g,x:b,y:e,size:f})));if(3>c.length)return null;c.sort((a,b)=>a.score-b.score);m=[];for(b=0;b<Math.min(c.length,5);++b){e=c[b];f=[];for(var l of c)l!==e&&f.push(Object.assign(Object.assign({},\nl),{score:l.score+Math.pow(l.size-e.size,2)/e.size}));f.sort((a,b)=>a.score-b.score);m.push({points:[e,f[0],f[1]],score:e.score+f[0].score+f[1].score})}m.sort((a,b)=>a.score-b.score);let {topRight:p,topLeft:q,bottomLeft:v}=ia(...m[0].points);m=P(a,d,p,q,v);l=[];m&&l.push({alignmentPattern:{x:m.alignmentPattern.x,y:m.alignmentPattern.y},bottomLeft:{x:v.x,y:v.y},dimension:m.dimension,topLeft:{x:q.x,y:q.y},topRight:{x:p.x,y:p.y}});m=H(a,p);b=H(a,q);c=H(a,v);(a=P(a,d,m,b,c))&&l.push({alignmentPattern:{x:a.alignmentPattern.x,\ny:a.alignmentPattern.y},bottomLeft:{x:c.x,y:c.y},topLeft:{x:b.x,y:b.y},topRight:{x:m.x,y:m.y},dimension:a.dimension});return 0===l.length?null:l}function P(a,b,c,d,e){let f,g;try{({dimension:f,moduleSize:g}=ja(d,c,e,a))}catch(m){return null}var h=c.x-d.x+e.x,k=c.y-d.y+e.y;c=(y(d,e)+y(d,c))/2/g;e=1-3/c;let n={x:d.x+e*(h-d.x),y:d.y+e*(k-d.y)};b=b.map(b=>{const c=(b.top.startX+b.top.endX+b.bottom.startX+b.bottom.endX)/4;b=(b.top.y+b.bottom.y+1)/2;if(a.get(Math.floor(c),Math.floor(b))){var d=O({x:Math.floor(c),\ny:Math.floor(b)},[1,1,1],a)+y({x:c,y:b},n);return{x:c,y:b,score:d}}}).filter(a=>!!a).sort((a,b)=>a.score-b.score);return{alignmentPattern:15<=c&&b.length?b[0]:n,dimension:f}}function Q(a){var b=ka(a);if(!b)return null;for(let e of b){b=ha(a,e);var c=b.matrix;if(null==c)c=null;else{var d=L(c);if(d)c=d;else{for(d=0;d<c.width;d++)for(let a=d+1;a<c.height;a++)c.get(d,a)!==c.get(a,d)&&(c.set(d,a,!c.get(d,a)),c.set(a,d,!c.get(a,d)));c=L(c)}}if(c)return{binaryData:c.bytes,data:c.text,chunks:c.chunks,version:c.version,\nlocation:{topRightCorner:b.mappingFunction(e.dimension,0),topLeftCorner:b.mappingFunction(0,0),bottomRightCorner:b.mappingFunction(e.dimension,e.dimension),bottomLeftCorner:b.mappingFunction(0,e.dimension),topRightFinderPattern:e.topRight,topLeftFinderPattern:e.topLeft,bottomLeftFinderPattern:e.bottomLeft,bottomRightAlignmentPattern:e.alignmentPattern},matrix:b.matrix}}return null}function R(a,b){Object.keys(b).forEach(c=>{a[c]=b[c]})}function I(a,b,c,d={}){let e=Object.create(null);R(e,la);R(e,d);\nd="onlyInvert"===e.inversionAttempts||"invertFirst"===e.inversionAttempts;var f="attemptBoth"===e.inversionAttempts||d;var g=e.greyScaleWeights,h=e.canOverwriteImage,k=b*c;if(a.length!==4*k)throw Error("Malformed data passed to binarizer.");var n=0;if(h){var m=new Uint8ClampedArray(a.buffer,n,k);n+=k}m=new S(b,c,m);if(g.useIntegerApproximation)for(var l=0;l<c;l++)for(var p=0;p<b;p++){var q=4*(l*b+p);m.set(p,l,g.red*a[q]+g.green*a[q+1]+g.blue*a[q+2]+128>>8)}else for(l=0;l<c;l++)for(p=0;p<b;p++)q=4*\n(l*b+p),m.set(p,l,g.red*a[q]+g.green*a[q+1]+g.blue*a[q+2]);g=Math.ceil(b/8);l=Math.ceil(c/8);p=g*l;if(h){var v=new Uint8ClampedArray(a.buffer,n,p);n+=p}v=new S(g,l,v);for(p=0;p<l;p++)for(q=0;q<g;q++){var u=Infinity,r=0;for(var t=0;8>t;t++)for(let a=0;8>a;a++){let b=m.get(8*q+a,8*p+t);u=Math.min(u,b);r=Math.max(r,b)}t=(u+r)/2;t=Math.min(255,1.11*t);24>=r-u&&(t=u/2,0<p&&0<q&&(r=(v.get(q,p-1)+2*v.get(q-1,p)+v.get(q-1,p-1))/4,u<r&&(t=r)));v.set(q,p,t)}h?(p=new Uint8ClampedArray(a.buffer,n,k),n+=k,p=new A(p,\nb)):p=A.createEmpty(b,c);q=null;f&&(h?(a=new Uint8ClampedArray(a.buffer,n,k),q=new A(a,b)):q=A.createEmpty(b,c));for(b=0;b<l;b++)for(a=0;a<g;a++){c=g-3;c=2>a?2:a>c?c:a;h=l-3;h=2>b?2:b>h?h:b;k=0;for(n=-2;2>=n;n++)for(u=-2;2>=u;u++)k+=v.get(c+n,h+u);c=k/25;for(h=0;8>h;h++)for(k=0;8>k;k++)n=8*a+h,u=8*b+k,r=m.get(n,u),p.set(n,u,r<=c),f&&q.set(n,u,!(r<=c))}f=f?{binarized:p,inverted:q}:{binarized:p};let {binarized:w,inverted:x}=f;(f=Q(d?x:w))||"attemptBoth"!==e.inversionAttempts&&"invertFirst"!==e.inversionAttempts||\n(f=Q(d?w:x));return f}class A{constructor(a,b){this.width=b;this.height=a.length/b;this.data=a}static createEmpty(a,b){return new A(new Uint8ClampedArray(a*b),a)}get(a,b){return 0>a||a>=this.width||0>b||b>=this.height?!1:!!this.data[b*this.width+a]}set(a,b,c){this.data[b*this.width+a]=c?1:0}setRegion(a,b,c,d,e){for(let f=b;f<b+d;f++)for(let b=a;b<a+c;b++)this.set(b,f,!!e)}}class S{constructor(a,b,c){this.width=a;a*=b;if(c&&c.length!==a)throw Error("Wrong buffer size");this.data=c||new Uint8ClampedArray(a)}get(a,\nb){return this.data[b*this.width+a]}set(a,b,c){this.data[b*this.width+a]=c}}class V{constructor(a){this.bitOffset=this.byteOffset=0;this.bytes=a}readBits(a){if(1>a||32<a||a>this.available())throw Error("Cannot read "+a.toString()+" bits");var b=0;if(0<this.bitOffset){b=8-this.bitOffset;var c=a<b?a:b;b-=c;b=(this.bytes[this.byteOffset]&255>>8-c<<b)>>b;a-=c;this.bitOffset+=c;8===this.bitOffset&&(this.bitOffset=0,this.byteOffset++)}if(0<a){for(;8<=a;)b=b<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,\na-=8;0<a&&(c=8-a,b=b<<a|(this.bytes[this.byteOffset]&255>>c<<c)>>c,this.bitOffset+=a)}return b}available(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset}}var r;(function(a){a.Numeric="numeric";a.Alphanumeric="alphanumeric";a.Byte="byte";a.Kanji="kanji";a.ECI="eci";a.StructuredAppend="structuredappend"})(r||(r={}));var t;(function(a){a[a.Terminator=0]="Terminator";a[a.Numeric=1]="Numeric";a[a.Alphanumeric=2]="Alphanumeric";a[a.Byte=4]="Byte";a[a.Kanji=8]="Kanji";a[a.ECI=7]="ECI";a[a.StructuredAppend=\n3]="StructuredAppend"})(t||(t={}));let B="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:".split("");class w{constructor(a,b){if(0===b.length)throw Error("No coefficients.");this.field=a;let c=b.length;if(1<c&&0===b[0]){let d=1;for(;d<c&&0===b[d];)d++;if(d===c)this.coefficients=a.zero.coefficients;else for(this.coefficients=new Uint8ClampedArray(c-d),a=0;a<this.coefficients.length;a++)this.coefficients[a]=b[d+a]}else this.coefficients=b}degree(){return this.coefficients.length-1}isZero(){return 0===\nthis.coefficients[0]}getCoefficient(a){return this.coefficients[this.coefficients.length-1-a]}addOrSubtract(a){if(this.isZero())return a;if(a.isZero())return this;let b=this.coefficients;a=a.coefficients;b.length>a.length&&([b,a]=[a,b]);let c=new Uint8ClampedArray(a.length),d=a.length-b.length;for(var e=0;e<d;e++)c[e]=a[e];for(e=d;e<a.length;e++)c[e]=b[e-d]^a[e];return new w(this.field,c)}multiply(a){if(0===a)return this.field.zero;if(1===a)return this;let b=this.coefficients.length,c=new Uint8ClampedArray(b);\nfor(let d=0;d<b;d++)c[d]=this.field.multiply(this.coefficients[d],a);return new w(this.field,c)}multiplyPoly(a){if(this.isZero()||a.isZero())return this.field.zero;let b=this.coefficients,c=b.length;a=a.coefficients;let d=a.length,e=new Uint8ClampedArray(c+d-1);for(let h=0;h<c;h++){let c=b[h];for(let b=0;b<d;b++){var f=h+b,g=this.field.multiply(c,a[b]);e[f]=e[h+b]^g}}return new w(this.field,e)}multiplyByMonomial(a,b){if(0>a)throw Error("Invalid degree less than 0");if(0===b)return this.field.zero;\nlet c=this.coefficients.length;a=new Uint8ClampedArray(c+a);for(let d=0;d<c;d++)a[d]=this.field.multiply(this.coefficients[d],b);return new w(this.field,a)}evaluateAt(a){let b=0;if(0===a)return this.getCoefficient(0);let c=this.coefficients.length;if(1===a)return this.coefficients.forEach(a=>{b^=a}),b;b=this.coefficients[0];for(let d=1;d<c;d++)b=J(this.field.multiply(a,b),this.coefficients[d]);return b}}class Y{constructor(a,b,c){this.primitive=a;this.size=b;this.generatorBase=c;this.expTable=Array(this.size);\nthis.logTable=Array(this.size);a=1;for(b=0;b<this.size;b++)this.expTable[b]=a,a*=2,a>=this.size&&(a=(a^this.primitive)&this.size-1);for(a=0;a<this.size-1;a++)this.logTable[this.expTable[a]]=a;this.zero=new w(this,Uint8ClampedArray.from([0]));this.one=new w(this,Uint8ClampedArray.from([1]))}multiply(a,b){return 0===a||0===b?0:this.expTable[(this.logTable[a]+this.logTable[b])%(this.size-1)]}inverse(a){if(0===a)throw Error("Can\'t invert 0");return this.expTable[this.size-this.logTable[a]-1]}buildMonomial(a,\nb){if(0>a)throw Error("Invalid monomial degree less than 0");if(0===b)return this.zero;a=new Uint8ClampedArray(a+1);a[0]=b;return new w(this,a)}log(a){if(0===a)throw Error("Can\'t take log(0)");return this.logTable[a]}exp(a){return this.expTable[a]}}let K=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,\necBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},\n{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,\ndataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,\necBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},\n{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},\n{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},\n{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},\n{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,\ndataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,\ndataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},\n{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},\n{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},\n{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},\n{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},\n{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,\necBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,\ndataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,\ndataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,\necBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,\necBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,\ndataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,\n32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},\n{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},\n{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,\ndataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},\n{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,\necBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},\n{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},\n{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,\n30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},\n{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,\ndataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},\n{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,\ndataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},\n{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,\ndataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}],da=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,\ndataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,\nformatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,\ndataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,\ndataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],aa=[a=>0===(a.y+a.x)%2,a=>0===a.y%2,a=>0===a.x%3,a=>0===(a.y+a.x)%3,a=>0===(Math.floor(a.y/2)+Math.floor(a.x/3))%2,a=>0===a.x*a.y%2+a.x*a.y%3,a=>0===(a.y*a.x%2+a.y*a.x%3)%2,a=>0===((a.y+a.x)%2+a.y*a.x%3)%2],y=(a,b)=>Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2)),la={inversionAttempts:"attemptBoth",greyScaleWeights:{red:.2126,green:.7152,blue:.0722,useIntegerApproximation:!1},\ncanOverwriteImage:!0};I.default=I;let G="dontInvert",D={red:77,green:150,blue:29,useIntegerApproximation:!0};self.onmessage=a=>{let b=a.data.data;switch(a.data.type){case "decode":a=I(b.data,b.width,b.height,{inversionAttempts:G,greyScaleWeights:D});self.postMessage({type:"qrResult",data:a?a.data:null});break;case "grayscaleWeights":D.red=b.red;D.green=b.green;D.blue=b.blue;D.useIntegerApproximation=b.useIntegerApproximation;break;case "inversionMode":switch(b){case "original":G="dontInvert";break;\ncase "invert":G="onlyInvert";break;case "both":G="attemptBoth";break;default:throw Error("Invalid inversion mode");}break;case "close":self.close()}}})()\n\n']))},vK=function(e,t,r,n,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,o,a,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}},yK=Ij(),bK=function(){function e(t){var r=this,n=t.container,o=t.lang,a=void 0===o?"en":o,i=t.assetRoot,s=void 0===i?"https://unpkg.com/@tsocial/tvweb-sdk@latest/assets":i,c=t.resourceRoot,l=t.customUrls,u=void 0===l?{}:l,d=t.enableAntiDebug,f=void 0===d||d,p=t.warmupMessage,h=t.baseComponent,m=t.component,g=void 0===m?{}:m,v=t.country,y=void 0===v?"vn":v,b=t.idCardContext;fL(this,e),mL(this,"initNativeCamera",(function(e){var t=document.createElement("div");document.body.appendChild(t);var n=xw.createRef(),o=r.component.NativeCamera;return iL.render(xw.createElement(o,gL({},e,{ref:n})),t),{openCamera:function(){n.current.click()}}})),mL(this,"runWarmUpReadIDCard",dL(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.commonSettings.customUrls,e.abrupt("return",r.component.warmUpReadIdCard(t));case 2:case"end":return e.stop()}}),e)})))),mL(this,"runPreloadEKYCResources",dL(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=r.commonSettings.customUrls,r.component.preloadEKYCResources(t);case 2:case"end":return e.stop()}}),e)})))),mL(this,"destroyView",(function(){iL.unmountComponentAtNode(r.container)})),vK(n,"container is a required parameter"),this.container=n,this.container.style="touch-action: none; -ms-touch-action: none;";var w=pj({resourceRoot:c,initCustomUrls:u,country:y});this.commonSettings=yL({lang:a,assetRoot:s,customUrls:w,enableAntiDebug:f,debug:!1,warmupMessage:p,country:y},b),this.component=yL(yL({},h),g)}return hL(e,[{key:"checkCamera",value:function(){return(0,this.component.checkCamera)()}},{key:"getListCamera",value:function(){return(0,this.component.getListCamera)()}},{key:"readIDCardWithApiCall",value:function(e){var t=this.component.ReadIDCardWithApiCall;iL.render(xw.createElement(mj,{value:this.commonSettings},xw.createElement(t,gL({onClose:this.destroyView},e))),this.container)}},{key:"readIDCardUIOnly",value:function(e){var t=this.component.ReadIDCardUIOnly;iL.render(xw.createElement(mj,{value:this.commonSettings},xw.createElement(t,gL({onClose:this.destroyView},e))),this.container)}},{key:"livenessDetection",value:function(e){var t=this.component.LivenessDetection;iL.render(xw.createElement(mj,{value:yL({},this.commonSettings)},xw.createElement(t,gL({onClose:this.destroyView},e))),this.container)}},{key:"compareFaces",value:function(e){var t=e.accessKey,r=e.secretKey,n=e.apiUrl,o=e.image1,a=e.image2,i=e.onSuccess,s=e.onError;dq(new wj(t,r,n,{httpHeaders:yK})).compareFaces({image1:{id:o},image2:{id:a}}).then((function(e){i(e)})).catch((function(e){s(e)}))}}]),e}();function wK(e){return(wK="function"==typeof Symbol&&"symbol"==Ey(Symbol.iterator)?function(e){return Ey(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Ey(e)})(e)}function kK(e,t,r,n,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function CK(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){kK(a,n,o,i,s,"next",e)}function s(e){kK(a,n,o,i,s,"throw",e)}i(void 0)}))}}function SK(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function EK(){return(EK=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function _K(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xK(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_K(Object(r),!0).forEach((function(t){BK(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_K(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function TK(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function AK(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function PK(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}}(e,t)||RK(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function IK(e){return function(e){if(Array.isArray(e))return NK(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||RK(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function RK(e,t){if(e){if("string"==typeof e)return NK(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?NK(e,t):void 0}}function NK(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var OK="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function DK(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function LK(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&r.path)}},r.exports),r.exports}var MK,UK=LK((function(e){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t,r){e.exports={BROWSER_TYPES:{CHROME:"Chrome",FIREFOX:"Firefox",OPERA:"Opera",YANDEX:"Yandex",SAFARI:"Safari",INTERNET_EXPLORER:"Internet Explorer",EDGE:"Edge",CHROMIUM:"Chromium",IE:"IE",MOBILE_SAFARI:"Mobile Safari",EDGE_CHROMIUM:"Edge Chromium"},DEVICE_TYPES:{MOBILE:"mobile",TABLET:"tablet",SMART_TV:"smarttv",CONSOLE:"console",WEARABLE:"wearable",BROWSER:void 0},OS_TYPES:{IOS:"iOS",ANDROID:"Android",WINDOWS_PHONE:"Windows Phone",WINDOWS:"Windows",MAC_OS:"Mac OS"},defaultData:{isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1}}},function(e,t,r){var n,o=r(2),a=r(0),i=a.BROWSER_TYPES,s=a.OS_TYPES,c=a.DEVICE_TYPES,l=r(4),u=l.checkType,d=l.broPayload,f=l.mobilePayload,p=l.wearPayload,h=l.consolePayload,m=l.stvPayload,g=l.getNavigatorInstance,v=l.isIOS13Check,y=new o,b=y.getBrowser(),w=y.getDevice(),k=y.getEngine(),C=y.getOS(),S=y.getUA(),B=i.CHROME,E=i.CHROMIUM,_=i.IE,x=i.INTERNET_EXPLORER,T=i.OPERA,A=i.FIREFOX,P=i.SAFARI,I=i.EDGE,R=i.YANDEX,N=i.MOBILE_SAFARI,O=c.MOBILE,D=c.TABLET,L=c.SMART_TV,M=c.BROWSER,U=c.WEARABLE,F=c.CONSOLE,j=s.ANDROID,V=s.WINDOWS_PHONE,z=s.IOS,q=s.WINDOWS,H=s.MAC_OS,K=function(){return C.name===s.WINDOWS&&"10"===C.version&&"string"==typeof S&&-1!==S.indexOf("Edg/")},W=function(){return b.name===I},G=function(){return v("iPad")},Q=w.type===L,X=w.type===F,Y=w.type===U,$=b.name===N||G(),Z=b.name===E,J=function(){switch(w.type){case O:case D:return!0;default:return!1}}()||G(),ee=w.type===O,te=w.type===D||G(),re=w.type===M,ne=C.name===j,oe=C.name===V,ae=C.name===z||G(),ie=b.name===B,se=b.name===A,ce=b.name===P||b.name===N,le=b.name===T,ue=b.name===x||b.name===_,de=C.version?C.version:"none",fe=C.name?C.name:"none",pe=b.major,he=b.version,me=b.name,ge=w.vendor?w.vendor:"none",ve=w.model?w.model:"none",ye=k.name,be=k.version,we=S,ke=W()||K(),Ce=b.name===R,Se=w.type,Be=(n=g())&&(/iPad|iPhone|iPod/.test(n.platform)||"MacIntel"===n.platform&&n.maxTouchPoints>1)&&!window.MSStream,Ee=G(),_e=v("iPhone"),xe=v("iPod"),Te=function(){var e=g(),t=e&&e.userAgent.toLowerCase();return"string"==typeof t&&/electron/.test(t)}(),Ae=K(),Pe=W(),Ie=C.name===q,Re=C.name===H,Ne=u(w.type);e.exports={deviceDetect:function(){var e=Ne.isBrowser,t=Ne.isMobile,r=Ne.isTablet,n=Ne.isSmartTV,o=Ne.isConsole,a=Ne.isWearable;return e?d(e,b,k,C,S):n?m(n,k,C,S):o?h(o,k,C,S):t||r?f(Ne,w,C,S):a?p(a,k,C,S):void 0},isSmartTV:Q,isConsole:X,isWearable:Y,isMobileSafari:$,isChromium:Z,isMobile:J,isMobileOnly:ee,isTablet:te,isBrowser:re,isAndroid:ne,isWinPhone:oe,isIOS:ae,isChrome:ie,isFirefox:se,isSafari:ce,isOpera:le,isIE:ue,osVersion:de,osName:fe,fullBrowserVersion:pe,browserVersion:he,browserName:me,mobileVendor:ge,mobileModel:ve,engineName:ye,engineVersion:be,getUA:we,isEdge:ke,isYandex:Ce,deviceType:Se,isIOS13:Be,isIPad13:Ee,isIPhone13:_e,isIPod13:xe,isElectron:Te,isEdgeChromium:Ae,isLegacyEdge:Pe,isWindows:Ie,isMacOs:Re}},function(e,t,r){var n;
60
+ var GH={};void 0!==GH.asn1&&GH.asn1||(GH.asn1={}),GH.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var r=t.substr(1).length;r%2==1?r+=1:t.match(/^[0-7]/)||(r+=2);for(var n="",o=0;o<r;o++)n+="f";t=new wH(n,16).xor(e).add(wH.ONE).toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return hextopem(e,t)},this.newObject=function(e){var t=GH.asn1,r=t.DERBoolean,n=t.DERInteger,o=t.DERBitString,a=t.DEROctetString,i=t.DERNull,s=t.DERObjectIdentifier,c=t.DEREnumerated,l=t.DERUTF8String,u=t.DERNumericString,d=t.DERPrintableString,f=t.DERTeletexString,p=t.DERIA5String,h=t.DERUTCTime,m=t.DERGeneralizedTime,g=t.DERSequence,v=t.DERSet,y=t.DERTaggedObject,b=t.ASN1Util.newObject,w=Object.keys(e);if(1!=w.length)throw"key of param shall be only one.";var k=w[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+k+":"))throw"undefined key: "+k;if("bool"==k)return new r(e[k]);if("int"==k)return new n(e[k]);if("bitstr"==k)return new o(e[k]);if("octstr"==k)return new a(e[k]);if("null"==k)return new i(e[k]);if("oid"==k)return new s(e[k]);if("enum"==k)return new c(e[k]);if("utf8str"==k)return new l(e[k]);if("numstr"==k)return new u(e[k]);if("prnstr"==k)return new d(e[k]);if("telstr"==k)return new f(e[k]);if("ia5str"==k)return new p(e[k]);if("utctime"==k)return new h(e[k]);if("gentime"==k)return new m(e[k]);if("seq"==k){for(var C=e[k],S=[],B=0;B<C.length;B++){var E=b(C[B]);S.push(E)}return new g({array:S})}if("set"==k){for(C=e[k],S=[],B=0;B<C.length;B++)E=b(C[B]),S.push(E);return new v({array:S})}if("tag"==k){var _=e[k];if("[object Array]"===Object.prototype.toString.call(_)&&3==_.length){var x=b(_[2]);return new y({tag:_[0],explicit:_[1],obj:x})}var T={};if(void 0!==_.explicit&&(T.explicit=_.explicit),void 0!==_.tag&&(T.tag=_.tag),void 0===_.obj)throw"obj shall be specified for 'tag'.";return T.obj=b(_.obj),new y(T)}},this.jsonToASN1HEX=function(e){return this.newObject(e).getEncodedHex()}},GH.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",r=parseInt(e.substr(0,2),16),n=(t=Math.floor(r/40)+"."+r%40,""),o=2;o<e.length;o+=2){var a=("00000000"+parseInt(e.substr(o,2),16).toString(2)).slice(-8);n+=a.substr(1,7),"0"==a.substr(0,1)&&(t=t+"."+new wH(n,2).toString(10),n="")}return t},GH.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},r=function(e){var r="",n=new wH(e,10).toString(2),o=7-n.length%7;7==o&&(o=0);for(var a="",i=0;i<o;i++)a+="0";for(n=a+n,i=0;i<n.length-1;i+=7){var s=n.substr(i,7);i!=n.length-7&&(s="1"+s),r+=t(parseInt(s,2))}return r};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var n="",o=e.split("."),a=40*parseInt(o[0])+parseInt(o[1]);n+=t(a),o.splice(0,2);for(var i=0;i<o.length;i++)n+=r(o[i]);return n},GH.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+"".length+",v="+this.hV;var e=this.hV.length/2,t=e.toString(16);if(t.length%2==1&&(t="0"+t),e<128)return t;var r=t.length/2;if(r>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);return(128+r).toString(16)+t},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},GH.asn1.DERAbstractString=function(e){GH.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?this.setString(e):void 0!==e.str?this.setString(e.str):void 0!==e.hex&&this.setStringHex(e.hex))},WH.lang.extend(GH.asn1.DERAbstractString,GH.asn1.ASN1Object),GH.asn1.DERAbstractTime=function(e){GH.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){return utc=e.getTime()+6e4*e.getTimezoneOffset(),new Date(utc)},this.formatDate=function(e,t,r){var n=this.zeroPadding,o=this.localDateToUTC(e),a=String(o.getFullYear());"utc"==t&&(a=a.substr(2,2));var i=a+n(String(o.getMonth()+1),2)+n(String(o.getDate()),2)+n(String(o.getHours()),2)+n(String(o.getMinutes()),2)+n(String(o.getSeconds()),2);if(!0===r){var s=o.getMilliseconds();if(0!=s){var c=n(String(s),3);i=i+"."+(c=c.replace(/[0]+$/,""))}}return i+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,t,r,n,o,a){var i=new Date(Date.UTC(e,t-1,r,n,o,a,0));this.setByDate(i)},this.getFreshValueHex=function(){return this.hV}},WH.lang.extend(GH.asn1.DERAbstractTime,GH.asn1.ASN1Object),GH.asn1.DERAbstractStructured=function(e){GH.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,void 0!==e&&void 0!==e.array&&(this.asn1Array=e.array)},WH.lang.extend(GH.asn1.DERAbstractStructured,GH.asn1.ASN1Object),GH.asn1.DERBoolean=function(){GH.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},WH.lang.extend(GH.asn1.DERBoolean,GH.asn1.ASN1Object),GH.asn1.DERInteger=function(e){GH.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=GH.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new wH(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.bigint?this.setByBigInteger(e.bigint):void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},WH.lang.extend(GH.asn1.DERInteger,GH.asn1.ASN1Object),GH.asn1.DERBitString=function(e){if(void 0!==e&&void 0!==e.obj){var t=GH.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}GH.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7<e)throw"unused bits shall be from 0 to 7: u = "+e;var r="0"+e;this.hTLV=null,this.isModified=!0,this.hV=r+t},this.setByBinaryString=function(e){var t=8-(e=e.replace(/0+$/,"")).length%8;8==t&&(t=0);for(var r=0;r<=t;r++)e+="0";var n="";for(r=0;r<e.length-1;r+=8){var o=e.substr(r,8),a=parseInt(o,2).toString(16);1==a.length&&(a="0"+a),n+=a}this.hTLV=null,this.isModified=!0,this.hV="0"+t+n},this.setByBooleanArray=function(e){for(var t="",r=0;r<e.length;r++)1==e[r]?t+="1":t+="0";this.setByBinaryString(t)},this.newFalseArray=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=!1;return t},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):void 0!==e.hex?this.setHexValueIncludingUnusedBits(e.hex):void 0!==e.bin?this.setByBinaryString(e.bin):void 0!==e.array&&this.setByBooleanArray(e.array))},WH.lang.extend(GH.asn1.DERBitString,GH.asn1.ASN1Object),GH.asn1.DEROctetString=function(e){if(void 0!==e&&void 0!==e.obj){var t=GH.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}GH.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},WH.lang.extend(GH.asn1.DEROctetString,GH.asn1.DERAbstractString),GH.asn1.DERNull=function(){GH.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},WH.lang.extend(GH.asn1.DERNull,GH.asn1.ASN1Object),GH.asn1.DERObjectIdentifier=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},r=function(e){var r="",n=new wH(e,10).toString(2),o=7-n.length%7;7==o&&(o=0);for(var a="",i=0;i<o;i++)a+="0";for(n=a+n,i=0;i<n.length-1;i+=7){var s=n.substr(i,7);i!=n.length-7&&(s="1"+s),r+=t(parseInt(s,2))}return r};GH.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueOidString=function(e){if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var n="",o=e.split("."),a=40*parseInt(o[0])+parseInt(o[1]);n+=t(a),o.splice(0,2);for(var i=0;i<o.length;i++)n+=r(o[i]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=n},this.setValueName=function(e){var t=GH.asn1.x509.OID.name2oid(e);if(""===t)throw"DERObjectIdentifier oidName undefined: "+e;this.setValueOidString(t)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):void 0!==e.oid?this.setValueOidString(e.oid):void 0!==e.hex?this.setValueHex(e.hex):void 0!==e.name&&this.setValueName(e.name))},WH.lang.extend(GH.asn1.DERObjectIdentifier,GH.asn1.ASN1Object),GH.asn1.DEREnumerated=function(e){GH.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=GH.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new wH(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},WH.lang.extend(GH.asn1.DEREnumerated,GH.asn1.ASN1Object),GH.asn1.DERUTF8String=function(e){GH.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},WH.lang.extend(GH.asn1.DERUTF8String,GH.asn1.DERAbstractString),GH.asn1.DERNumericString=function(e){GH.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},WH.lang.extend(GH.asn1.DERNumericString,GH.asn1.DERAbstractString),GH.asn1.DERPrintableString=function(e){GH.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},WH.lang.extend(GH.asn1.DERPrintableString,GH.asn1.DERAbstractString),GH.asn1.DERTeletexString=function(e){GH.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},WH.lang.extend(GH.asn1.DERTeletexString,GH.asn1.DERAbstractString),GH.asn1.DERIA5String=function(e){GH.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},WH.lang.extend(GH.asn1.DERIA5String,GH.asn1.DERAbstractString),GH.asn1.DERUTCTime=function(e){GH.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{12}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date))},WH.lang.extend(GH.asn1.DERUTCTime,GH.asn1.DERAbstractTime),GH.asn1.DERGeneralizedTime=function(e){GH.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{14}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date),!0===e.millis&&(this.withMillis=!0))},WH.lang.extend(GH.asn1.DERGeneralizedTime,GH.asn1.DERAbstractTime),GH.asn1.DERSequence=function(e){GH.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var e="",t=0;t<this.asn1Array.length;t++)e+=this.asn1Array[t].getEncodedHex();return this.hV=e,this.hV}},WH.lang.extend(GH.asn1.DERSequence,GH.asn1.DERAbstractStructured),GH.asn1.DERSet=function(e){GH.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,t=0;t<this.asn1Array.length;t++){var r=this.asn1Array[t];e.push(r.getEncodedHex())}return 1==this.sortFlag&&e.sort(),this.hV=e.join(""),this.hV},void 0!==e&&void 0!==e.sortflag&&0==e.sortflag&&(this.sortFlag=!1)},WH.lang.extend(GH.asn1.DERSet,GH.asn1.DERAbstractStructured),GH.asn1.DERTaggedObject=function(e){GH.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,t,r){this.hT=t,this.isExplicit=e,this.asn1Object=r,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=r.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,t),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.tag&&(this.hT=e.tag),void 0!==e.explicit&&(this.isExplicit=e.explicit),void 0!==e.obj&&(this.asn1Object=e.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},WH.lang.extend(GH.asn1.DERTaggedObject,GH.asn1.ASN1Object);var QH,XH,YH,$H,ZH=(QH=function(e,t){return(QH=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}QH(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),JH=function(e){function t(r){var n=e.call(this)||this;return r&&("string"==typeof r?n.parseKey(r):(t.hasPrivateKeyProperty(r)||t.hasPublicKeyProperty(r))&&n.parsePropertiesFrom(r)),n}return ZH(t,e),t.prototype.parseKey=function(e){try{var t=0,r=0,n=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(e)?sH(e):cH.unarmor(e),o=gH.decode(n);if(3===o.sub.length&&(o=o.sub[2].sub[0]),9===o.sub.length){t=o.sub[1].getHexStringValue(),this.n=_H(t,16),r=o.sub[2].getHexStringValue(),this.e=parseInt(r,16);var a=o.sub[3].getHexStringValue();this.d=_H(a,16);var i=o.sub[4].getHexStringValue();this.p=_H(i,16);var s=o.sub[5].getHexStringValue();this.q=_H(s,16);var c=o.sub[6].getHexStringValue();this.dmp1=_H(c,16);var l=o.sub[7].getHexStringValue();this.dmq1=_H(l,16);var u=o.sub[8].getHexStringValue();this.coeff=_H(u,16)}else{if(2!==o.sub.length)return!1;if(o.sub[0].sub){var d=o.sub[1].sub[0];t=d.sub[0].getHexStringValue(),this.n=_H(t,16),r=d.sub[1].getHexStringValue(),this.e=parseInt(r,16)}else t=o.sub[0].getHexStringValue(),this.n=_H(t,16),r=o.sub[1].getHexStringValue(),this.e=parseInt(r,16)}return!0}catch(e){return!1}},t.prototype.getPrivateBaseKey=function(){var e={array:[new GH.asn1.DERInteger({int:0}),new GH.asn1.DERInteger({bigint:this.n}),new GH.asn1.DERInteger({int:this.e}),new GH.asn1.DERInteger({bigint:this.d}),new GH.asn1.DERInteger({bigint:this.p}),new GH.asn1.DERInteger({bigint:this.q}),new GH.asn1.DERInteger({bigint:this.dmp1}),new GH.asn1.DERInteger({bigint:this.dmq1}),new GH.asn1.DERInteger({bigint:this.coeff})]};return new GH.asn1.DERSequence(e).getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return oH(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var e=new GH.asn1.DERSequence({array:[new GH.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new GH.asn1.DERNull]}),t=new GH.asn1.DERSequence({array:[new GH.asn1.DERInteger({bigint:this.n}),new GH.asn1.DERInteger({int:this.e})]}),r=new GH.asn1.DERBitString({hex:"00"+t.getEncodedHex()});return new GH.asn1.DERSequence({array:[e,r]}).getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return oH(this.getPublicBaseKey())},t.wordwrap=function(e,t){if(!e)return e;var r="(.{1,"+(t=t||64)+"})( +|$\n?)|(.{1,"+t+"})";return e.match(RegExp(r,"g")).join("\n")},t.prototype.getPrivateKey=function(){var e="-----BEGIN RSA PRIVATE KEY-----\n";return(e+=t.wordwrap(this.getPrivateBaseKeyB64())+"\n")+"-----END RSA PRIVATE KEY-----"},t.prototype.getPublicKey=function(){var e="-----BEGIN PUBLIC KEY-----\n";return(e+=t.wordwrap(this.getPublicBaseKeyB64())+"\n")+"-----END PUBLIC KEY-----"},t.hasPublicKeyProperty=function(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")&&e.hasOwnProperty("d")&&e.hasOwnProperty("p")&&e.hasOwnProperty("q")&&e.hasOwnProperty("dmp1")&&e.hasOwnProperty("dmq1")&&e.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(e){this.n=e.n,this.e=e.e,e.hasOwnProperty("d")&&(this.d=e.d,this.p=e.p,this.q=e.q,this.dmp1=e.dmp1,this.dmq1=e.dmq1,this.coeff=e.coeff)},t}(HH),eK=function(){function e(e){void 0===e&&(e={}),e=e||{},this.default_key_size=e.default_key_size?parseInt(e.default_key_size,10):1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=null}return e.prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new JH(e)},e.prototype.setPrivateKey=function(e){this.setKey(e)},e.prototype.setPublicKey=function(e){this.setKey(e)},e.prototype.decrypt=function(e){try{return this.getKey().decrypt(aH(e))}catch(e){return!1}},e.prototype.encrypt=function(e){try{return oH(this.getKey().encrypt(e))}catch(e){return!1}},e.prototype.sign=function(e,t,r){try{return oH(this.getKey().sign(e,t,r))}catch(e){return!1}},e.prototype.verify=function(e,t,r){try{return this.getKey().verify(e,aH(t),r)}catch(e){return!1}},e.prototype.getKey=function(e){if(!this.key){if(this.key=new JH,e&&"[object Function]"==={}.toString.call(e))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version="3.3.0",e}(),tK=function(e,t,r,n){if(!aM(e))return e;for(var o=-1,a=(t=FF(t,e)).length,i=a-1,s=e;null!=s&&++o<a;){var c=VF(t[o]),l=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=i){var u=s[c];void 0===(l=n?n(u,c,s):void 0)&&(l=aM(u)?u:sU(t[o+1])?[]:{})}QM(s,c,l),s=s[c]}return e},rK=function(e,t,r){return null==e?e:tK(e,t,r)},nK=["-","-","-","-","-","B","E","G","I","N"," ","P","U","B","L","I","C"," ","K","E","Y","-","-","-","-","-","\n"," "," ","M","I","I","B","I","j","A","N","B","g","k","q","h","k","i","G","9","w","0","B","A","Q","E","F","A","A","O","C","A","Q","8","A","M","I","I","B","C","g","K","C","A","Q","E","A","z","7","v","7","a","s","x","M","n","j","L","3","/","j","G","E","d","M","3","T","\n"," "," ","j","0","h","X","b","h","r","/","m","N","2","B","m","j","/","Y","e","6","I","y","1","T","t","g","E","S","W","j","r","V","Y","Z","J","k","a","+","T","L","+","L","0","U","n","h","i","8","l","W","x","2","w","R","s","+","N","i","u","Y","f","g","+","B","U","b","\n"," "," ","s","e","y","L","j","G","B","q","N","t","z","x","H","Z","K","v","d","h","d","i","r","o","y","R","y","C","S","f","p","m","f","h","Q","C","P","s","K","q","/","y","k","1","m","A","e","/","9","1","W","Y","J","b","l","K","h","W","Y","q","W","0","2","I","G","/","\n"," "," ","g","h","r","z","0","b","i","Y","X","C","b","5","m","6","s","R","o","7","e","J","p","4","F","e","2","1","U","N","Q","W","O","o","y","V","2","M","9","o","+","n","G","l","0","P","+","V","A","I","z","q","Z","m","l","P","w","w","v","w","B","i","l","f","X","e","\n"," "," ","W","V","P","x","9","6","f","2","c","A","I","h","S","2","b","W","f","f","d","X","3","w","p","c","1","C","E","m","c","v","9","V","E","f","o","j","j","i","X","O","7","I","n","k","u","P","t","H","4","W","2","E","P","Z","0","8","C","z","3","+","e","Q","2","k","\n"," "," ","D","z","c","j","P","9","8","Q","T","p","u","w","2","E","X","C","S","1","w","s","k","Z","C","2","1","j","L","8","j","z","X","H","a","W","3","B","q","O","h","s","V","G","9","T","F","S","y","c","l","F","g","e","n","r","G","s","Z","i","t","h","l","l","K","/","\n"," "," ","t","Q","I","D","A","Q","A","B","\n"," "," ","-","-","-","-","-","E","N","D"," ","P","U","B","L","I","C"," ","K","E","Y","-","-","-","-","-"],oK={},aK={SELFIE:"selfie",ID_CARD:"id_card"},iK=Oq((function(){var e=new eK;return e.setPublicKey(nK.join("")),e}));XH=iK();var sK=function(e){var t=e.gesture;return{capture_time:e.captureTime,type:t,frames:e.frames}},cK=function(e){var t=e.detectedCard,r=e.captureTime,n=e.vCam,o=e.captureCount,a=e.captureDuration,i=e.captureType;return{capture_time:r,type:null==t?void 0:t.label,v_cam:n,capture_count:o,capture_duration:a,capture_type:i}},lK=function(){var e=dL(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=function(e){return kL(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")},e.abrupt("return",new Promise((function(e){var o=new TextEncoder,a=o.encode(t),i=o.encode(r);window.crypto.subtle.importKey("raw",i,"AES-GCM",!0,["encrypt","decrypt"]).then((function(t){window.crypto.subtle.encrypt({name:"AES-GCM",iv:new Uint8Array(12),tagLength:128},t,a).then((function(t){e("".concat($H,".").concat(n(t)))}))}))})));case 2:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),uK=function(){var e=dL(regeneratorRuntime.mark((function e(t){var r,n,o,a,i,s,c,l,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.mode,o=t.imageData,t.enableExifData){e.next=3;break}return e.abrupt("return",new Promise((function(e){return e(o.blob)})));case 3:return a=yL(yL({},oK),n===aK.SELFIE?sK(o):cK(o)),i=yL(yL({},a),{},{sensor_data:"sensor data exceed 64KB"}),null!=o&&null!==(r=o.type)&&void 0!==r&&r.includes("qr")&&(a={capture_time:null==o?void 0:o.captureTime,type:null==o?void 0:o.type,qr_string:null==o?void 0:o.result}),e.next=8,lK(JSON.stringify(i),YH);case 8:return s=e.sent,e.next=11,lK(JSON.stringify(a),YH);case 11:return c=e.sent,l=Qq.dump({Exif:mL({},Qq.ExifIFD.MakerNote,c)}),u=Qq.dump({Exif:mL({},Qq.ExifIFD.MakerNote,s)}),e.abrupt("return",new Promise((function(e){var t=new FileReader;t.onload=function(){var t=dL(regeneratorRuntime.mark((function t(r){var n,a,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{n=Qq.insert(l,r.target.result)}catch(t){try{n=Qq.insert(u,r.target.result)}catch(t){e(o.blob)}}return t.prev=1,t.next=4,fetch(n);case 4:return a=t.sent,t.next=7,a.blob();case 7:i=t.sent,URL.revokeObjectURL(n),e(i),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(1),e(o.blob);case 15:case"end":return t.stop()}}),t,null,[[1,12]])})));return function(e){return t.apply(this,arguments)}}(),t.readAsDataURL(o.blob)})));case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),dK=Object.freeze({__proto__:null,MODE:aK,initExifData:function(){oK={device_info:{device_brand_name:"".concat("none"===Aj.mobileVendor?"null":Aj.mobileVendor),device_model:"".concat("none"===Aj.mobileModel?"null":Aj.mobileModel),browser_version:"".concat(Aj.browserName," ").concat(Aj.browserVersion),browser_userAgent:"".concat(Aj.getUA),os:Aj.osName,os_version:Aj.osVersion},sdk_version:"5.14.8",model_score:{id_blurry_score:"null",id_glare_score:"null"},user_action:{}}},addExifData:function(e,t){rK(oK,e,t)},preWriteExif:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mode,r=(e.motionData,e.orientationData,e.startTime),n=e.endTime;oK.user_action=yL({},t===aK.SELFIE?{start_selfie:r,end_selfie:n}:{start_id_card:r,end_id_card:n}),YH=xj().replace(/-/g,""),XH||(XH=iK()),$H=aH(XH.encrypt(YH))},writeExif:uK}),fK="https://unpkg.com/@tsocial/tv_web_sdk_resources@2.0.2/models/close-eyes/closed_eye_detector.tflite",pK=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fK,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.342,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:368,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;fL(this,e),this.model_path=t,this.threshold=r,this.size=Math.round(n/2),this.enable_profiling=o,this.num_threads=a}var t,r;return hL(e,[{key:"load",value:(r=dL(regeneratorRuntime.mark((function e(){var t,r,n,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=window,r=t.tf,e.next=3,jq({modelUrl:this.model_path,options:{numThreads:this.num_threads,enableProfiling:this.enable_profiling}});case 3:this.model=e.sent,n=this.model.inputs[0],this.input_width=n.shape[1],this.input_height=n.shape[2],r.tidy((function(){var e=r.randomNormal([1,o.input_width,o.input_height,3]);o.model.predict(e)}));case 8:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"crop_eyes",value:function(e,t){var r=this,n=window.tf,o=t[0].map((function(e){return Math.round(e)})),a=t[1].map((function(e){return Math.round(e)}));o[0]>a[0]&&(o=t[1].map((function(e){return Math.round(e)})),a=t[0].map((function(e){return Math.round(e)})));var i=Math.round((o[0]+a[0])/2),s=i-o[0],c=a[0]-i;s>=this.size&&(s=this.size),c>=this.size&&(c=this.size);var l=Math.max(o[0]-s,0),u=Math.max(o[1]-s,0),d=Math.max(a[0]-c,0),f=Math.max(a[1]-c,0);return n.tidy((function(){var t=e.slice([u,l,0],[2*s,2*s,3]),o=e.slice([f,d,0],[2*c,2*c,3]);return{l_img:t=n.expandDims(n.image.resizeBilinear(t,[r.input_width,r.input_height])),r_img:o=n.expandDims(n.image.resizeBilinear(o,[r.input_width,r.input_height]))}}))}},{key:"predict",value:(t=dL(regeneratorRuntime.mark((function e(t,r){var n,o,a,i,s,c,l,u,d,f=this,p=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=p.length>2&&void 0!==p[2]?p[2]:this.threshold,o=window,a=o.tf,i=t.getContext("2d"),s=i.getImageData(0,0,t.height,t.width),c=a.tidy((function(){var e=a.browser.fromPixels(s),t=f.crop_eyes(e,r),o=t.l_img,i=t.r_img,c=f.model.predict(o).arraySync()[0],l=f.model.predict(i).arraySync()[0];return[c>n,l>n]})),l=wL(c,2),u=l[0],d=l[1],e.abrupt("return",{isEyeClose:u||d});case 6:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})}]),e}(),hK=function(){var e=dL(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!DeviceMotionEvent||"function"!=typeof DeviceMotionEvent.requestPermission){e.next=2;break}return e.abrupt("return",DeviceMotionEvent.requestPermission());case 2:return e.abrupt("return",new Promise((function(e){return e("granted")})));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function mK(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.dataRate,r=void 0===t?100:t,n=xw.useRef([]),o=xw.useRef([]),a=(xw.useRef(!1),xw.useRef({})),i=xw.useCallback((function(e){var t=Date.now(),n=e.type;return!!(a.current[n]&&t-a.current[n]<r)||(a.current[n]=t,!1)}),[r]),s=xw.useCallback((function(e){i(e)||o.current.push({time:Date.now(),alpha:null==e?void 0:e.alpha,beta:null==e?void 0:e.beta,gamma:null==e?void 0:e.gamma})}),[i]),c=xw.useCallback((function(e){var t,r,o,a,s,c;i(e)||n.current.push({time:Date.now(),Accelerometer:{x:null==e||null===(t=e.acceleration)||void 0===t?void 0:t.x,y:null==e||null===(r=e.acceleration)||void 0===r?void 0:r.y,z:null==e||null===(o=e.acceleration)||void 0===o?void 0:o.z},Gyroscope:{z:null==e||null===(a=e.rotationRate)||void 0===a?void 0:a.alpha,x:null==e||null===(s=e.rotationRate)||void 0===s?void 0:s.beta,y:null==e||null===(c=e.rotationRate)||void 0===c?void 0:c.gamma}})}),[i]),l=xw.useCallback((function(){}),[c,s]),u=xw.useCallback((function(){}),[c,s]);return xw.useEffect((function(){return function(){u()}}),[u]),{motionData:n.current,orientationData:o.current,startMotion:l,stopMotion:u}}var gK=function(){return URL.createObjectURL(new Blob(['\'use strict\';(function(){function T(a,b){let c=[],d="";b=a.readBits([8,16,16][b]);for(let d=0;d<b;d++){let b=a.readBits(8);c.push(b)}try{d+=decodeURIComponent(c.map(a=>`%${("0"+a.toString(16)).substr(-2)}`).join(""))}catch(e){}return{bytes:c,text:d}}function U(a,b){a=new V(a);let c=9>=b?0:26>=b?1:2;for(b={text:"",bytes:[],chunks:[],version:b};4<=a.available();){var d=a.readBits(4);if(d===t.Terminator)return b;if(d===t.ECI)0===a.readBits(1)?b.chunks.push({type:r.ECI,assignmentNumber:a.readBits(7)}):\n0===a.readBits(1)?b.chunks.push({type:r.ECI,assignmentNumber:a.readBits(14)}):0===a.readBits(1)?b.chunks.push({type:r.ECI,assignmentNumber:a.readBits(21)}):b.chunks.push({type:r.ECI,assignmentNumber:-1});else if(d===t.Numeric){var e=a;d=[];for(var f="",g=e.readBits([10,12,14][c]);3<=g;){var h=e.readBits(10);if(1E3<=h)throw Error("Invalid numeric value above 999");var k=Math.floor(h/100),n=Math.floor(h/10)%10;h%=10;d.push(48+k,48+n,48+h);f+=k.toString()+n.toString()+h.toString();g-=3}if(2===g){g=e.readBits(7);\nif(100<=g)throw Error("Invalid numeric value above 99");e=Math.floor(g/10);g%=10;d.push(48+e,48+g);f+=e.toString()+g.toString()}else if(1===g){e=e.readBits(4);if(10<=e)throw Error("Invalid numeric value above 9");d.push(48+e);f+=e.toString()}d={bytes:d,text:f};b.text+=d.text;b.bytes.push(...d.bytes);b.chunks.push({type:r.Numeric,text:d.text})}else if(d===t.Alphanumeric){e=a;d=[];f="";for(g=e.readBits([9,11,13][c]);2<=g;)n=e.readBits(11),k=Math.floor(n/45),n%=45,d.push(B[k].charCodeAt(0),B[n].charCodeAt(0)),\nf+=B[k]+B[n],g-=2;1===g&&(e=e.readBits(6),d.push(B[e].charCodeAt(0)),f+=B[e]);d={bytes:d,text:f};b.text+=d.text;b.bytes.push(...d.bytes);b.chunks.push({type:r.Alphanumeric,text:d.text})}else if(d===t.Byte)d=T(a,c),b.text+=d.text,b.bytes.push(...d.bytes),b.chunks.push({type:r.Byte,bytes:d.bytes,text:d.text});else if(d===t.Kanji){f=a;d=[];e=f.readBits([8,10,12][c]);for(g=0;g<e;g++)k=f.readBits(13),k=Math.floor(k/192)<<8|k%192,k=7936>k?k+33088:k+49472,d.push(k>>8,k&255);f=(new TextDecoder("shift-jis")).decode(Uint8Array.from(d));\nd={bytes:d,text:f};b.text+=d.text;b.bytes.push(...d.bytes);b.chunks.push({type:r.Kanji,bytes:d.bytes,text:d.text})}else d===t.StructuredAppend&&b.chunks.push({type:r.StructuredAppend,currentSequence:a.readBits(4),totalSequence:a.readBits(4),parity:a.readBits(8)})}if(0===a.available()||0===a.readBits(a.available()))return b}function J(a,b){return a^b}function W(a,b,c,d){b.degree()<c.degree()&&([b,c]=[c,b]);let e=a.zero;for(var f=a.one;c.degree()>=d/2;){var g=b;let d=e;b=c;e=f;if(b.isZero())return null;\nc=g;f=a.zero;g=b.getCoefficient(b.degree());for(g=a.inverse(g);c.degree()>=b.degree()&&!c.isZero();){let d=c.degree()-b.degree(),e=a.multiply(c.getCoefficient(c.degree()),g);f=f.addOrSubtract(a.buildMonomial(d,e));c=c.addOrSubtract(b.multiplyByMonomial(d,e))}f=f.multiplyPoly(e).addOrSubtract(d);if(c.degree()>=b.degree())return null}d=f.getCoefficient(0);if(0===d)return null;a=a.inverse(d);return[f.multiply(a),c.multiply(a)]}function X(a,b){let c=new Uint8ClampedArray(a.length);c.set(a);a=new Y(285,\n256,0);var d=new w(a,c),e=new Uint8ClampedArray(b),f=!1;for(var g=0;g<b;g++){var h=d.evaluateAt(a.exp(g+a.generatorBase));e[e.length-1-g]=h;0!==h&&(f=!0)}if(!f)return c;d=new w(a,e);d=W(a,a.buildMonomial(b,1),d,b);if(null===d)return null;b=d[0];g=b.degree();if(1===g)b=[b.getCoefficient(1)];else{e=Array(g);f=0;for(h=1;h<a.size&&f<g;h++)0===b.evaluateAt(h)&&(e[f]=a.inverse(h),f++);b=f!==g?null:e}if(null==b)return null;d=d[1];e=b.length;f=Array(e);for(g=0;g<e;g++){h=a.inverse(b[g]);let c=1;for(let d=\n0;d<e;d++)g!==d&&(c=a.multiply(c,J(1,a.multiply(b[d],h))));f[g]=a.multiply(d.evaluateAt(h),a.inverse(c));0!==a.generatorBase&&(f[g]=a.multiply(f[g],h))}d=f;for(e=0;e<b.length;e++){f=c.length-1-a.log(b[e]);if(0>f)return null;c[f]^=d[e]}return c}function E(a,b){a^=b;for(b=0;a;)b++,a&=a-1;return b}function C(a,b){return b<<1|a}function Z(a,b,c){c=aa[c.dataMask];let d=a.height;var e=17+4*b.versionNumber,f=A.createEmpty(e,e);f.setRegion(0,0,9,9,!0);f.setRegion(e-8,0,8,9,!0);f.setRegion(0,e-8,9,8,!0);for(var g of b.alignmentPatternCenters)for(var h of b.alignmentPatternCenters)6===\ng&&6===h||6===g&&h===e-7||g===e-7&&6===h||f.setRegion(g-2,h-2,5,5,!0);f.setRegion(6,9,1,e-17,!0);f.setRegion(9,6,e-17,1,!0);6<b.versionNumber&&(f.setRegion(e-11,0,3,6,!0),f.setRegion(0,e-11,6,3,!0));b=f;g=[];e=h=0;f=!0;for(let k=d-1;0<k;k-=2){6===k&&k--;for(let n=0;n<d;n++){let m=f?d-1-n:n;for(let d=0;2>d;d++){let f=k-d;if(!b.get(f,m)){e++;let b=a.get(f,m);c({y:m,x:f})&&(b=!b);h=h<<1|b;8===e&&(g.push(h),h=e=0)}}}f=!f}return g}function ba(a){var b=a.height,c=Math.floor((b-17)/4);if(6>=c)return K[c-\n1];c=0;for(var d=5;0<=d;d--)for(var e=b-9;e>=b-11;e--)c=C(a.get(e,d),c);d=0;for(e=5;0<=e;e--)for(let c=b-9;c>=b-11;c--)d=C(a.get(e,c),d);a=Infinity;let f;for(let e of K){if(e.infoBits===c||e.infoBits===d)return e;b=E(c,e.infoBits);b<a&&(f=e,a=b);b=E(d,e.infoBits);b<a&&(f=e,a=b)}if(3>=a)return f}function ca(a){let b=0;for(var c=0;8>=c;c++)6!==c&&(b=C(a.get(c,8),b));for(c=7;0<=c;c--)6!==c&&(b=C(a.get(8,c),b));var d=a.height;c=0;for(var e=d-1;e>=d-7;e--)c=C(a.get(8,e),c);for(e=d-8;e<d;e++)c=C(a.get(e,\n8),c);a=Infinity;d=null;for(let {bits:f,formatInfo:g}of da){if(f===b||f===c)return g;e=E(b,f);e<a&&(d=g,a=e);b!==c&&(e=E(c,f),e<a&&(d=g,a=e))}return 3>=a?d:null}function ea(a,b,c){let d=b.errorCorrectionLevels[c],e=[],f=0;d.ecBlocks.forEach(a=>{for(let b=0;b<a.numBlocks;b++)e.push({numDataCodewords:a.dataCodewordsPerBlock,codewords:[]}),f+=a.dataCodewordsPerBlock+d.ecCodewordsPerBlock});if(a.length<f)return null;a=a.slice(0,f);b=d.ecBlocks[0].dataCodewordsPerBlock;for(c=0;c<b;c++)for(var g of e)g.codewords.push(a.shift());\nif(1<d.ecBlocks.length)for(g=d.ecBlocks[0].numBlocks,b=d.ecBlocks[1].numBlocks,c=0;c<b;c++)e[g+c].codewords.push(a.shift());for(;0<a.length;)for(let b of e)b.codewords.push(a.shift());return e}function L(a){let b=ba(a);if(!b)return null;var c=ca(a);if(!c)return null;a=Z(a,b,c);var d=ea(a,b,c.errorCorrectionLevel);if(!d)return null;c=d.reduce((a,b)=>a+b.numDataCodewords,0);c=new Uint8ClampedArray(c);a=0;for(let b of d){d=X(b.codewords,b.codewords.length-b.numDataCodewords);if(!d)return null;for(let e=\n0;e<b.numDataCodewords;e++)c[a++]=d[e]}try{return U(c,b.versionNumber)}catch(e){return null}}function M(a,b,c,d){var e=a.x-b.x+c.x-d.x;let f=a.y-b.y+c.y-d.y;if(0===e&&0===f)return{a11:b.x-a.x,a12:b.y-a.y,a13:0,a21:c.x-b.x,a22:c.y-b.y,a23:0,a31:a.x,a32:a.y,a33:1};{let h=b.x-c.x;var g=d.x-c.x;let k=b.y-c.y,n=d.y-c.y;c=h*n-g*k;g=(e*n-g*f)/c;e=(h*f-e*k)/c;return{a11:b.x-a.x+g*b.x,a12:b.y-a.y+g*b.y,a13:g,a21:d.x-a.x+e*d.x,a22:d.y-a.y+e*d.y,a23:e,a31:a.x,a32:a.y,a33:1}}}function fa(a,b,c,d){a=M(a,b,c,d);\nreturn{a11:a.a22*a.a33-a.a23*a.a32,a12:a.a13*a.a32-a.a12*a.a33,a13:a.a12*a.a23-a.a13*a.a22,a21:a.a23*a.a31-a.a21*a.a33,a22:a.a11*a.a33-a.a13*a.a31,a23:a.a13*a.a21-a.a11*a.a23,a31:a.a21*a.a32-a.a22*a.a31,a32:a.a12*a.a31-a.a11*a.a32,a33:a.a11*a.a22-a.a12*a.a21}}function ha(a,b){var c=fa({x:3.5,y:3.5},{x:b.dimension-3.5,y:3.5},{x:b.dimension-6.5,y:b.dimension-6.5},{x:3.5,y:b.dimension-3.5}),d=M(b.topLeft,b.topRight,b.alignmentPattern,b.bottomLeft),e=d.a11*c.a11+d.a21*c.a12+d.a31*c.a13,f=d.a12*c.a11+\nd.a22*c.a12+d.a32*c.a13,g=d.a13*c.a11+d.a23*c.a12+d.a33*c.a13,h=d.a11*c.a21+d.a21*c.a22+d.a31*c.a23,k=d.a12*c.a21+d.a22*c.a22+d.a32*c.a23,n=d.a13*c.a21+d.a23*c.a22+d.a33*c.a23,m=d.a11*c.a31+d.a21*c.a32+d.a31*c.a33,l=d.a12*c.a31+d.a22*c.a32+d.a32*c.a33,p=d.a13*c.a31+d.a23*c.a32+d.a33*c.a33;c=A.createEmpty(b.dimension,b.dimension);d=(a,b)=>{const c=g*a+n*b+p;return{x:(e*a+h*b+m)/c,y:(f*a+k*b+l)/c}};for(let e=0;e<b.dimension;e++)for(let f=0;f<b.dimension;f++){let b=d(f+.5,e+.5);c.set(f,e,a.get(Math.floor(b.x),\nMath.floor(b.y)))}return{matrix:c,mappingFunction:d}}function x(a){return a.reduce((a,c)=>a+c)}function ia(a,b,c){let d=y(a,b),e=y(b,c),f=y(a,c),g,h,k;e>=d&&e>=f?[g,h,k]=[b,a,c]:f>=e&&f>=d?[g,h,k]=[a,b,c]:[g,h,k]=[a,c,b];0>(k.x-h.x)*(g.y-h.y)-(k.y-h.y)*(g.x-h.x)&&([g,k]=[k,g]);return{bottomLeft:g,topLeft:h,topRight:k}}function ja(a,b,c,d){d=(x(z(a,c,d,5))/7+x(z(a,b,d,5))/7+x(z(c,a,d,5))/7+x(z(b,a,d,5))/7)/4;if(1>d)throw Error("Invalid module size");b=Math.round(y(a,b)/d);a=Math.round(y(a,c)/d);a=\nMath.floor((b+a)/2)+7;switch(a%4){case 0:a++;break;case 2:a--}return{dimension:a,moduleSize:d}}function N(a,b,c,d){let e=[{x:Math.floor(a.x),y:Math.floor(a.y)}];var f=Math.abs(b.y-a.y)>Math.abs(b.x-a.x);if(f){var g=Math.floor(a.y);var h=Math.floor(a.x);a=Math.floor(b.y);b=Math.floor(b.x)}else g=Math.floor(a.x),h=Math.floor(a.y),a=Math.floor(b.x),b=Math.floor(b.y);let k=Math.abs(a-g),n=Math.abs(b-h),m=Math.floor(-k/2),l=g<a?1:-1,p=h<b?1:-1,q=!0;for(let v=g,u=h;v!==a+l;v+=l){g=f?u:v;h=f?v:u;if(c.get(g,\nh)!==q&&(q=!q,e.push({x:g,y:h}),e.length===d+1))break;m+=n;if(0<m){if(u===b)break;u+=p;m-=k}}c=[];for(f=0;f<d;f++)e[f]&&e[f+1]?c.push(y(e[f],e[f+1])):c.push(0);return c}function z(a,b,c,d){let e=b.y-a.y,f=b.x-a.x;b=N(a,b,c,Math.ceil(d/2));a=N(a,{x:a.x-f,y:a.y-e},c,Math.ceil(d/2));c=b.shift()+a.shift()-1;return a.concat(c).concat(...b)}function F(a,b){let c=x(a)/x(b),d=0;b.forEach((b,f)=>{d+=Math.pow(a[f]-b*c,2)});return{averageSize:c,error:d}}function O(a,b,c){try{let d=z(a,{x:-1,y:a.y},c,b.length),\ne=z(a,{x:a.x,y:-1},c,b.length),f=z(a,{x:Math.max(0,a.x-a.y)-1,y:Math.max(0,a.y-a.x)-1},c,b.length),g=z(a,{x:Math.min(c.width,a.x+a.y)+1,y:Math.min(c.height,a.y+a.x)+1},c,b.length),h=F(d,b),k=F(e,b),n=F(f,b),m=F(g,b),l=(h.averageSize+k.averageSize+n.averageSize+m.averageSize)/4;return Math.sqrt(h.error*h.error+k.error*k.error+n.error*n.error+m.error*m.error)+(Math.pow(h.averageSize-l,2)+Math.pow(k.averageSize-l,2)+Math.pow(n.averageSize-l,2)+Math.pow(m.averageSize-l,2))/l}catch(d){return Infinity}}\nfunction H(a,b){for(var c=Math.round(b.x);a.get(c,Math.round(b.y));)c--;for(var d=Math.round(b.x);a.get(d,Math.round(b.y));)d++;c=(c+d)/2;for(d=Math.round(b.y);a.get(Math.round(c),d);)d--;for(b=Math.round(b.y);a.get(Math.round(c),b);)b++;return{x:c,y:(d+b)/2}}function ka(a){var b=[],c=[];let d=[];var e=[];for(let m=0;m<=a.height;m++){var f=0,g=!1;let l=[0,0,0,0,0];for(let b=-1;b<=a.width;b++){var h=a.get(b,m);if(h===g)f++;else{l=[l[1],l[2],l[3],l[4],f];f=1;g=h;var k=x(l)/7;k=Math.abs(l[0]-k)<k&&Math.abs(l[1]-\nk)<k&&Math.abs(l[2]-3*k)<3*k&&Math.abs(l[3]-k)<k&&Math.abs(l[4]-k)<k&&!h;var n=x(l.slice(-3))/3;h=Math.abs(l[2]-n)<n&&Math.abs(l[3]-n)<n&&Math.abs(l[4]-n)<n&&h;if(k){let a=b-l[3]-l[4],d=a-l[2];k={startX:d,endX:a,y:m};n=c.filter(b=>d>=b.bottom.startX&&d<=b.bottom.endX||a>=b.bottom.startX&&d<=b.bottom.endX||d<=b.bottom.startX&&a>=b.bottom.endX&&1.5>l[2]/(b.bottom.endX-b.bottom.startX)&&.5<l[2]/(b.bottom.endX-b.bottom.startX));0<n.length?n[0].bottom=k:c.push({top:k,bottom:k})}if(h){let a=b-l[4],c=a-\nl[3];h={startX:c,y:m,endX:a};k=e.filter(b=>c>=b.bottom.startX&&c<=b.bottom.endX||a>=b.bottom.startX&&c<=b.bottom.endX||c<=b.bottom.startX&&a>=b.bottom.endX&&1.5>l[2]/(b.bottom.endX-b.bottom.startX)&&.5<l[2]/(b.bottom.endX-b.bottom.startX));0<k.length?k[0].bottom=h:e.push({top:h,bottom:h})}}}b.push(...c.filter(a=>a.bottom.y!==m&&2<=a.bottom.y-a.top.y));c=c.filter(a=>a.bottom.y===m);d.push(...e.filter(a=>a.bottom.y!==m));e=e.filter(a=>a.bottom.y===m)}b.push(...c.filter(a=>2<=a.bottom.y-a.top.y));d.push(...e);\nc=[];for(var m of b)2>m.bottom.y-m.top.y||(b=(m.top.startX+m.top.endX+m.bottom.startX+m.bottom.endX)/4,e=(m.top.y+m.bottom.y+1)/2,a.get(Math.round(b),Math.round(e))&&(f=[m.top.endX-m.top.startX,m.bottom.endX-m.bottom.startX,m.bottom.y-m.top.y+1],f=x(f)/f.length,g=O({x:Math.round(b),y:Math.round(e)},[1,1,3,1,1],a),c.push({score:g,x:b,y:e,size:f})));if(3>c.length)return null;c.sort((a,b)=>a.score-b.score);m=[];for(b=0;b<Math.min(c.length,5);++b){e=c[b];f=[];for(var l of c)l!==e&&f.push(Object.assign(Object.assign({},\nl),{score:l.score+Math.pow(l.size-e.size,2)/e.size}));f.sort((a,b)=>a.score-b.score);m.push({points:[e,f[0],f[1]],score:e.score+f[0].score+f[1].score})}m.sort((a,b)=>a.score-b.score);let {topRight:p,topLeft:q,bottomLeft:v}=ia(...m[0].points);m=P(a,d,p,q,v);l=[];m&&l.push({alignmentPattern:{x:m.alignmentPattern.x,y:m.alignmentPattern.y},bottomLeft:{x:v.x,y:v.y},dimension:m.dimension,topLeft:{x:q.x,y:q.y},topRight:{x:p.x,y:p.y}});m=H(a,p);b=H(a,q);c=H(a,v);(a=P(a,d,m,b,c))&&l.push({alignmentPattern:{x:a.alignmentPattern.x,\ny:a.alignmentPattern.y},bottomLeft:{x:c.x,y:c.y},topLeft:{x:b.x,y:b.y},topRight:{x:m.x,y:m.y},dimension:a.dimension});return 0===l.length?null:l}function P(a,b,c,d,e){let f,g;try{({dimension:f,moduleSize:g}=ja(d,c,e,a))}catch(m){return null}var h=c.x-d.x+e.x,k=c.y-d.y+e.y;c=(y(d,e)+y(d,c))/2/g;e=1-3/c;let n={x:d.x+e*(h-d.x),y:d.y+e*(k-d.y)};b=b.map(b=>{const c=(b.top.startX+b.top.endX+b.bottom.startX+b.bottom.endX)/4;b=(b.top.y+b.bottom.y+1)/2;if(a.get(Math.floor(c),Math.floor(b))){var d=O({x:Math.floor(c),\ny:Math.floor(b)},[1,1,1],a)+y({x:c,y:b},n);return{x:c,y:b,score:d}}}).filter(a=>!!a).sort((a,b)=>a.score-b.score);return{alignmentPattern:15<=c&&b.length?b[0]:n,dimension:f}}function Q(a){var b=ka(a);if(!b)return null;for(let e of b){b=ha(a,e);var c=b.matrix;if(null==c)c=null;else{var d=L(c);if(d)c=d;else{for(d=0;d<c.width;d++)for(let a=d+1;a<c.height;a++)c.get(d,a)!==c.get(a,d)&&(c.set(d,a,!c.get(d,a)),c.set(a,d,!c.get(a,d)));c=L(c)}}if(c)return{binaryData:c.bytes,data:c.text,chunks:c.chunks,version:c.version,\nlocation:{topRightCorner:b.mappingFunction(e.dimension,0),topLeftCorner:b.mappingFunction(0,0),bottomRightCorner:b.mappingFunction(e.dimension,e.dimension),bottomLeftCorner:b.mappingFunction(0,e.dimension),topRightFinderPattern:e.topRight,topLeftFinderPattern:e.topLeft,bottomLeftFinderPattern:e.bottomLeft,bottomRightAlignmentPattern:e.alignmentPattern},matrix:b.matrix}}return null}function R(a,b){Object.keys(b).forEach(c=>{a[c]=b[c]})}function I(a,b,c,d={}){let e=Object.create(null);R(e,la);R(e,d);\nd="onlyInvert"===e.inversionAttempts||"invertFirst"===e.inversionAttempts;var f="attemptBoth"===e.inversionAttempts||d;var g=e.greyScaleWeights,h=e.canOverwriteImage,k=b*c;if(a.length!==4*k)throw Error("Malformed data passed to binarizer.");var n=0;if(h){var m=new Uint8ClampedArray(a.buffer,n,k);n+=k}m=new S(b,c,m);if(g.useIntegerApproximation)for(var l=0;l<c;l++)for(var p=0;p<b;p++){var q=4*(l*b+p);m.set(p,l,g.red*a[q]+g.green*a[q+1]+g.blue*a[q+2]+128>>8)}else for(l=0;l<c;l++)for(p=0;p<b;p++)q=4*\n(l*b+p),m.set(p,l,g.red*a[q]+g.green*a[q+1]+g.blue*a[q+2]);g=Math.ceil(b/8);l=Math.ceil(c/8);p=g*l;if(h){var v=new Uint8ClampedArray(a.buffer,n,p);n+=p}v=new S(g,l,v);for(p=0;p<l;p++)for(q=0;q<g;q++){var u=Infinity,r=0;for(var t=0;8>t;t++)for(let a=0;8>a;a++){let b=m.get(8*q+a,8*p+t);u=Math.min(u,b);r=Math.max(r,b)}t=(u+r)/2;t=Math.min(255,1.11*t);24>=r-u&&(t=u/2,0<p&&0<q&&(r=(v.get(q,p-1)+2*v.get(q-1,p)+v.get(q-1,p-1))/4,u<r&&(t=r)));v.set(q,p,t)}h?(p=new Uint8ClampedArray(a.buffer,n,k),n+=k,p=new A(p,\nb)):p=A.createEmpty(b,c);q=null;f&&(h?(a=new Uint8ClampedArray(a.buffer,n,k),q=new A(a,b)):q=A.createEmpty(b,c));for(b=0;b<l;b++)for(a=0;a<g;a++){c=g-3;c=2>a?2:a>c?c:a;h=l-3;h=2>b?2:b>h?h:b;k=0;for(n=-2;2>=n;n++)for(u=-2;2>=u;u++)k+=v.get(c+n,h+u);c=k/25;for(h=0;8>h;h++)for(k=0;8>k;k++)n=8*a+h,u=8*b+k,r=m.get(n,u),p.set(n,u,r<=c),f&&q.set(n,u,!(r<=c))}f=f?{binarized:p,inverted:q}:{binarized:p};let {binarized:w,inverted:x}=f;(f=Q(d?x:w))||"attemptBoth"!==e.inversionAttempts&&"invertFirst"!==e.inversionAttempts||\n(f=Q(d?w:x));return f}class A{constructor(a,b){this.width=b;this.height=a.length/b;this.data=a}static createEmpty(a,b){return new A(new Uint8ClampedArray(a*b),a)}get(a,b){return 0>a||a>=this.width||0>b||b>=this.height?!1:!!this.data[b*this.width+a]}set(a,b,c){this.data[b*this.width+a]=c?1:0}setRegion(a,b,c,d,e){for(let f=b;f<b+d;f++)for(let b=a;b<a+c;b++)this.set(b,f,!!e)}}class S{constructor(a,b,c){this.width=a;a*=b;if(c&&c.length!==a)throw Error("Wrong buffer size");this.data=c||new Uint8ClampedArray(a)}get(a,\nb){return this.data[b*this.width+a]}set(a,b,c){this.data[b*this.width+a]=c}}class V{constructor(a){this.bitOffset=this.byteOffset=0;this.bytes=a}readBits(a){if(1>a||32<a||a>this.available())throw Error("Cannot read "+a.toString()+" bits");var b=0;if(0<this.bitOffset){b=8-this.bitOffset;var c=a<b?a:b;b-=c;b=(this.bytes[this.byteOffset]&255>>8-c<<b)>>b;a-=c;this.bitOffset+=c;8===this.bitOffset&&(this.bitOffset=0,this.byteOffset++)}if(0<a){for(;8<=a;)b=b<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,\na-=8;0<a&&(c=8-a,b=b<<a|(this.bytes[this.byteOffset]&255>>c<<c)>>c,this.bitOffset+=a)}return b}available(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset}}var r;(function(a){a.Numeric="numeric";a.Alphanumeric="alphanumeric";a.Byte="byte";a.Kanji="kanji";a.ECI="eci";a.StructuredAppend="structuredappend"})(r||(r={}));var t;(function(a){a[a.Terminator=0]="Terminator";a[a.Numeric=1]="Numeric";a[a.Alphanumeric=2]="Alphanumeric";a[a.Byte=4]="Byte";a[a.Kanji=8]="Kanji";a[a.ECI=7]="ECI";a[a.StructuredAppend=\n3]="StructuredAppend"})(t||(t={}));let B="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:".split("");class w{constructor(a,b){if(0===b.length)throw Error("No coefficients.");this.field=a;let c=b.length;if(1<c&&0===b[0]){let d=1;for(;d<c&&0===b[d];)d++;if(d===c)this.coefficients=a.zero.coefficients;else for(this.coefficients=new Uint8ClampedArray(c-d),a=0;a<this.coefficients.length;a++)this.coefficients[a]=b[d+a]}else this.coefficients=b}degree(){return this.coefficients.length-1}isZero(){return 0===\nthis.coefficients[0]}getCoefficient(a){return this.coefficients[this.coefficients.length-1-a]}addOrSubtract(a){if(this.isZero())return a;if(a.isZero())return this;let b=this.coefficients;a=a.coefficients;b.length>a.length&&([b,a]=[a,b]);let c=new Uint8ClampedArray(a.length),d=a.length-b.length;for(var e=0;e<d;e++)c[e]=a[e];for(e=d;e<a.length;e++)c[e]=b[e-d]^a[e];return new w(this.field,c)}multiply(a){if(0===a)return this.field.zero;if(1===a)return this;let b=this.coefficients.length,c=new Uint8ClampedArray(b);\nfor(let d=0;d<b;d++)c[d]=this.field.multiply(this.coefficients[d],a);return new w(this.field,c)}multiplyPoly(a){if(this.isZero()||a.isZero())return this.field.zero;let b=this.coefficients,c=b.length;a=a.coefficients;let d=a.length,e=new Uint8ClampedArray(c+d-1);for(let h=0;h<c;h++){let c=b[h];for(let b=0;b<d;b++){var f=h+b,g=this.field.multiply(c,a[b]);e[f]=e[h+b]^g}}return new w(this.field,e)}multiplyByMonomial(a,b){if(0>a)throw Error("Invalid degree less than 0");if(0===b)return this.field.zero;\nlet c=this.coefficients.length;a=new Uint8ClampedArray(c+a);for(let d=0;d<c;d++)a[d]=this.field.multiply(this.coefficients[d],b);return new w(this.field,a)}evaluateAt(a){let b=0;if(0===a)return this.getCoefficient(0);let c=this.coefficients.length;if(1===a)return this.coefficients.forEach(a=>{b^=a}),b;b=this.coefficients[0];for(let d=1;d<c;d++)b=J(this.field.multiply(a,b),this.coefficients[d]);return b}}class Y{constructor(a,b,c){this.primitive=a;this.size=b;this.generatorBase=c;this.expTable=Array(this.size);\nthis.logTable=Array(this.size);a=1;for(b=0;b<this.size;b++)this.expTable[b]=a,a*=2,a>=this.size&&(a=(a^this.primitive)&this.size-1);for(a=0;a<this.size-1;a++)this.logTable[this.expTable[a]]=a;this.zero=new w(this,Uint8ClampedArray.from([0]));this.one=new w(this,Uint8ClampedArray.from([1]))}multiply(a,b){return 0===a||0===b?0:this.expTable[(this.logTable[a]+this.logTable[b])%(this.size-1)]}inverse(a){if(0===a)throw Error("Can\'t invert 0");return this.expTable[this.size-this.logTable[a]-1]}buildMonomial(a,\nb){if(0>a)throw Error("Invalid monomial degree less than 0");if(0===b)return this.zero;a=new Uint8ClampedArray(a+1);a[0]=b;return new w(this,a)}log(a){if(0===a)throw Error("Can\'t take log(0)");return this.logTable[a]}exp(a){return this.expTable[a]}}let K=[{infoBits:null,versionNumber:1,alignmentPatternCenters:[],errorCorrectionLevels:[{ecCodewordsPerBlock:7,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:13,\necBlocks:[{numBlocks:1,dataCodewordsPerBlock:13}]},{ecCodewordsPerBlock:17,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:2,alignmentPatternCenters:[6,18],errorCorrectionLevels:[{ecCodewordsPerBlock:10,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:34}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:28}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:16}]}]},\n{infoBits:null,versionNumber:3,alignmentPatternCenters:[6,22],errorCorrectionLevels:[{ecCodewordsPerBlock:15,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:55}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:13}]}]},{infoBits:null,versionNumber:4,alignmentPatternCenters:[6,26],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:1,\ndataCodewordsPerBlock:80}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:32}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:9}]}]},{infoBits:null,versionNumber:5,alignmentPatternCenters:[6,30],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:43}]},{ecCodewordsPerBlock:18,\necBlocks:[{numBlocks:2,dataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:11},{numBlocks:2,dataCodewordsPerBlock:12}]}]},{infoBits:null,versionNumber:6,alignmentPatternCenters:[6,34],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68}]},{ecCodewordsPerBlock:16,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:27}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:19}]},\n{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:31892,versionNumber:7,alignmentPatternCenters:[6,22,38],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:78}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:31}]},{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:13},\n{numBlocks:1,dataCodewordsPerBlock:14}]}]},{infoBits:34236,versionNumber:8,alignmentPatternCenters:[6,24,42],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:97}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:38},{numBlocks:2,dataCodewordsPerBlock:39}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:18},{numBlocks:2,dataCodewordsPerBlock:19}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:14},\n{numBlocks:2,dataCodewordsPerBlock:15}]}]},{infoBits:39577,versionNumber:9,alignmentPatternCenters:[6,26,46],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:16},{numBlocks:4,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:12},\n{numBlocks:4,dataCodewordsPerBlock:13}]}]},{infoBits:42195,versionNumber:10,alignmentPatternCenters:[6,28,50],errorCorrectionLevels:[{ecCodewordsPerBlock:18,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:68},{numBlocks:2,dataCodewordsPerBlock:69}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:43},{numBlocks:1,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,\ndataCodewordsPerBlock:15},{numBlocks:2,dataCodewordsPerBlock:16}]}]},{infoBits:48118,versionNumber:11,alignmentPatternCenters:[6,30,54],errorCorrectionLevels:[{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:81}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:50},{numBlocks:4,dataCodewordsPerBlock:51}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:22},{numBlocks:4,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:3,\ndataCodewordsPerBlock:12},{numBlocks:8,dataCodewordsPerBlock:13}]}]},{infoBits:51042,versionNumber:12,alignmentPatternCenters:[6,32,58],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:92},{numBlocks:2,dataCodewordsPerBlock:93}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:36},{numBlocks:2,dataCodewordsPerBlock:37}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:20},{numBlocks:6,dataCodewordsPerBlock:21}]},\n{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:14},{numBlocks:4,dataCodewordsPerBlock:15}]}]},{infoBits:55367,versionNumber:13,alignmentPatternCenters:[6,34,62],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:37},{numBlocks:1,dataCodewordsPerBlock:38}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:20},{numBlocks:4,dataCodewordsPerBlock:21}]},\n{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:11},{numBlocks:4,dataCodewordsPerBlock:12}]}]},{infoBits:58893,versionNumber:14,alignmentPatternCenters:[6,26,46,66],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:115},{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:40},{numBlocks:5,dataCodewordsPerBlock:41}]},{ecCodewordsPerBlock:20,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:16},\n{numBlocks:5,dataCodewordsPerBlock:17}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:5,dataCodewordsPerBlock:13}]}]},{infoBits:63784,versionNumber:15,alignmentPatternCenters:[6,26,48,70],errorCorrectionLevels:[{ecCodewordsPerBlock:22,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:87},{numBlocks:1,dataCodewordsPerBlock:88}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:41},{numBlocks:5,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:5,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:12},{numBlocks:7,dataCodewordsPerBlock:13}]}]},{infoBits:68472,versionNumber:16,alignmentPatternCenters:[6,26,50,74],errorCorrectionLevels:[{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:98},{numBlocks:1,dataCodewordsPerBlock:99}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},\n{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:19},{numBlocks:2,dataCodewordsPerBlock:20}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},{infoBits:70749,versionNumber:17,alignmentPatternCenters:[6,30,54,78],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},\n{numBlocks:1,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:1,dataCodewordsPerBlock:22},{numBlocks:15,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:17,dataCodewordsPerBlock:15}]}]},{infoBits:76311,versionNumber:18,alignmentPatternCenters:[6,30,56,82],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:120},{numBlocks:1,dataCodewordsPerBlock:121}]},{ecCodewordsPerBlock:26,\necBlocks:[{numBlocks:9,dataCodewordsPerBlock:43},{numBlocks:4,dataCodewordsPerBlock:44}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:1,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:2,dataCodewordsPerBlock:14},{numBlocks:19,dataCodewordsPerBlock:15}]}]},{infoBits:79154,versionNumber:19,alignmentPatternCenters:[6,30,58,86],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:113},{numBlocks:4,\ndataCodewordsPerBlock:114}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:44},{numBlocks:11,dataCodewordsPerBlock:45}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:21},{numBlocks:4,dataCodewordsPerBlock:22}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:9,dataCodewordsPerBlock:13},{numBlocks:16,dataCodewordsPerBlock:14}]}]},{infoBits:84390,versionNumber:20,alignmentPatternCenters:[6,34,62,90],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,\ndataCodewordsPerBlock:107},{numBlocks:5,dataCodewordsPerBlock:108}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:41},{numBlocks:13,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:5,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:15},{numBlocks:10,dataCodewordsPerBlock:16}]}]},{infoBits:87683,versionNumber:21,alignmentPatternCenters:[6,28,50,72,94],errorCorrectionLevels:[{ecCodewordsPerBlock:28,\necBlocks:[{numBlocks:4,dataCodewordsPerBlock:116},{numBlocks:4,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:42}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:16},{numBlocks:6,dataCodewordsPerBlock:17}]}]},{infoBits:92361,versionNumber:22,alignmentPatternCenters:[6,26,50,74,98],errorCorrectionLevels:[{ecCodewordsPerBlock:28,\necBlocks:[{numBlocks:2,dataCodewordsPerBlock:111},{numBlocks:7,dataCodewordsPerBlock:112}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:24,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:13}]}]},{infoBits:96236,versionNumber:23,alignmentPatternCenters:[6,30,54,74,102],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,\ndataCodewordsPerBlock:121},{numBlocks:5,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:47},{numBlocks:14,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:16,dataCodewordsPerBlock:15},{numBlocks:14,dataCodewordsPerBlock:16}]}]},{infoBits:102084,versionNumber:24,alignmentPatternCenters:[6,28,54,80,106],errorCorrectionLevels:[{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:6,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:45},{numBlocks:14,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:24},{numBlocks:16,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:30,dataCodewordsPerBlock:16},{numBlocks:2,dataCodewordsPerBlock:17}]}]},{infoBits:102881,versionNumber:25,alignmentPatternCenters:[6,\n32,58,84,110],errorCorrectionLevels:[{ecCodewordsPerBlock:26,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:106},{numBlocks:4,dataCodewordsPerBlock:107}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:47},{numBlocks:13,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:13,dataCodewordsPerBlock:16}]}]},\n{infoBits:110507,versionNumber:26,alignmentPatternCenters:[6,30,58,86,114],errorCorrectionLevels:[{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:114},{numBlocks:2,dataCodewordsPerBlock:115}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:46},{numBlocks:4,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:28,dataCodewordsPerBlock:22},{numBlocks:6,dataCodewordsPerBlock:23}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:33,dataCodewordsPerBlock:16},\n{numBlocks:4,dataCodewordsPerBlock:17}]}]},{infoBits:110734,versionNumber:27,alignmentPatternCenters:[6,34,62,90,118],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:45},{numBlocks:3,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:8,dataCodewordsPerBlock:23},{numBlocks:26,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:12,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:117786,versionNumber:28,alignmentPatternCenters:[6,26,50,74,98,122],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:117},{numBlocks:10,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:3,dataCodewordsPerBlock:45},{numBlocks:23,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:24},{numBlocks:31,\ndataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:31,dataCodewordsPerBlock:16}]}]},{infoBits:119615,versionNumber:29,alignmentPatternCenters:[6,30,54,78,102,126],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:7,dataCodewordsPerBlock:116},{numBlocks:7,dataCodewordsPerBlock:117}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:21,dataCodewordsPerBlock:45},{numBlocks:7,dataCodewordsPerBlock:46}]},{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:1,dataCodewordsPerBlock:23},{numBlocks:37,dataCodewordsPerBlock:24}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:26,dataCodewordsPerBlock:16}]}]},{infoBits:126325,versionNumber:30,alignmentPatternCenters:[6,26,52,78,104,130],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:5,dataCodewordsPerBlock:115},{numBlocks:10,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:47},\n{numBlocks:10,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:15,dataCodewordsPerBlock:24},{numBlocks:25,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:25,dataCodewordsPerBlock:16}]}]},{infoBits:127568,versionNumber:31,alignmentPatternCenters:[6,30,56,82,108,134],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:3,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,\necBlocks:[{numBlocks:2,dataCodewordsPerBlock:46},{numBlocks:29,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:24},{numBlocks:1,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:23,dataCodewordsPerBlock:15},{numBlocks:28,dataCodewordsPerBlock:16}]}]},{infoBits:133589,versionNumber:32,alignmentPatternCenters:[6,34,60,86,112,138],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115}]},\n{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:24},{numBlocks:35,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:15},{numBlocks:35,dataCodewordsPerBlock:16}]}]},{infoBits:136944,versionNumber:33,alignmentPatternCenters:[6,30,58,86,114,142],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:115},\n{numBlocks:1,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:21,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:24},{numBlocks:19,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:11,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:141498,versionNumber:34,alignmentPatternCenters:[6,34,62,90,118,146],errorCorrectionLevels:[{ecCodewordsPerBlock:30,\necBlocks:[{numBlocks:13,dataCodewordsPerBlock:115},{numBlocks:6,dataCodewordsPerBlock:116}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:14,dataCodewordsPerBlock:46},{numBlocks:23,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:44,dataCodewordsPerBlock:24},{numBlocks:7,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:59,dataCodewordsPerBlock:16},{numBlocks:1,dataCodewordsPerBlock:17}]}]},{infoBits:145311,versionNumber:35,alignmentPatternCenters:[6,\n30,54,78,102,126,150],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:121},{numBlocks:7,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:12,dataCodewordsPerBlock:47},{numBlocks:26,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:39,dataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:22,dataCodewordsPerBlock:15},{numBlocks:41,dataCodewordsPerBlock:16}]}]},\n{infoBits:150283,versionNumber:36,alignmentPatternCenters:[6,24,50,76,102,128,154],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:121},{numBlocks:14,dataCodewordsPerBlock:122}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:6,dataCodewordsPerBlock:47},{numBlocks:34,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:46,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:2,\ndataCodewordsPerBlock:15},{numBlocks:64,dataCodewordsPerBlock:16}]}]},{infoBits:152622,versionNumber:37,alignmentPatternCenters:[6,28,54,80,106,132,158],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:17,dataCodewordsPerBlock:122},{numBlocks:4,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:29,dataCodewordsPerBlock:46},{numBlocks:14,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:49,dataCodewordsPerBlock:24},{numBlocks:10,dataCodewordsPerBlock:25}]},\n{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:24,dataCodewordsPerBlock:15},{numBlocks:46,dataCodewordsPerBlock:16}]}]},{infoBits:158308,versionNumber:38,alignmentPatternCenters:[6,32,58,84,110,136,162],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:4,dataCodewordsPerBlock:122},{numBlocks:18,dataCodewordsPerBlock:123}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:13,dataCodewordsPerBlock:46},{numBlocks:32,dataCodewordsPerBlock:47}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:48,\ndataCodewordsPerBlock:24},{numBlocks:14,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:42,dataCodewordsPerBlock:15},{numBlocks:32,dataCodewordsPerBlock:16}]}]},{infoBits:161089,versionNumber:39,alignmentPatternCenters:[6,26,54,82,110,138,166],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:117},{numBlocks:4,dataCodewordsPerBlock:118}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:40,dataCodewordsPerBlock:47},{numBlocks:7,dataCodewordsPerBlock:48}]},\n{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:43,dataCodewordsPerBlock:24},{numBlocks:22,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:10,dataCodewordsPerBlock:15},{numBlocks:67,dataCodewordsPerBlock:16}]}]},{infoBits:167017,versionNumber:40,alignmentPatternCenters:[6,30,58,86,114,142,170],errorCorrectionLevels:[{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:19,dataCodewordsPerBlock:118},{numBlocks:6,dataCodewordsPerBlock:119}]},{ecCodewordsPerBlock:28,ecBlocks:[{numBlocks:18,\ndataCodewordsPerBlock:47},{numBlocks:31,dataCodewordsPerBlock:48}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:34,dataCodewordsPerBlock:24},{numBlocks:34,dataCodewordsPerBlock:25}]},{ecCodewordsPerBlock:30,ecBlocks:[{numBlocks:20,dataCodewordsPerBlock:15},{numBlocks:61,dataCodewordsPerBlock:16}]}]}],da=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,\ndataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,\nformatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,\ndataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,\ndataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],aa=[a=>0===(a.y+a.x)%2,a=>0===a.y%2,a=>0===a.x%3,a=>0===(a.y+a.x)%3,a=>0===(Math.floor(a.y/2)+Math.floor(a.x/3))%2,a=>0===a.x*a.y%2+a.x*a.y%3,a=>0===(a.y*a.x%2+a.y*a.x%3)%2,a=>0===((a.y+a.x)%2+a.y*a.x%3)%2],y=(a,b)=>Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2)),la={inversionAttempts:"attemptBoth",greyScaleWeights:{red:.2126,green:.7152,blue:.0722,useIntegerApproximation:!1},\ncanOverwriteImage:!0};I.default=I;let G="dontInvert",D={red:77,green:150,blue:29,useIntegerApproximation:!0};self.onmessage=a=>{let b=a.data.data;switch(a.data.type){case "decode":a=I(b.data,b.width,b.height,{inversionAttempts:G,greyScaleWeights:D});self.postMessage({type:"qrResult",data:a?a.data:null});break;case "grayscaleWeights":D.red=b.red;D.green=b.green;D.blue=b.blue;D.useIntegerApproximation=b.useIntegerApproximation;break;case "inversionMode":switch(b){case "original":G="dontInvert";break;\ncase "invert":G="onlyInvert";break;case "both":G="attemptBoth";break;default:throw Error("Invalid inversion mode");}break;case "close":self.close()}}})()\n\n']))},vK=function(e,t,r,n,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,n,o,a,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}},yK=Ij(),bK=function(){function e(t){var r=this,n=t.container,o=t.lang,a=void 0===o?"en":o,i=t.assetRoot,s=void 0===i?"https://unpkg.com/@tsocial/tvweb-sdk@latest/assets":i,c=t.resourceRoot,l=t.customUrls,u=void 0===l?{}:l,d=t.enableAntiDebug,f=void 0===d||d,p=t.warmupMessage,h=t.baseComponent,m=t.component,g=void 0===m?{}:m,v=t.country,y=void 0===v?"vn":v,b=t.idCardContext;fL(this,e),mL(this,"initNativeCamera",(function(e){var t=document.createElement("div");document.body.appendChild(t);var n=xw.createRef(),o=r.component.NativeCamera;return iL.render(xw.createElement(o,gL({},e,{ref:n})),t),{openCamera:function(){n.current.click()}}})),mL(this,"runWarmUpReadIDCard",dL(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.commonSettings.customUrls,e.abrupt("return",r.component.warmUpReadIdCard(t));case 2:case"end":return e.stop()}}),e)})))),mL(this,"runPreloadEKYCResources",dL(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=r.commonSettings.customUrls,r.component.preloadEKYCResources(t);case 2:case"end":return e.stop()}}),e)})))),mL(this,"destroyView",(function(){iL.unmountComponentAtNode(r.container)})),vK(n,"container is a required parameter"),this.container=n,this.container.style="touch-action: none; -ms-touch-action: none;";var w=pj({resourceRoot:c,initCustomUrls:u,country:y});this.commonSettings=yL({lang:a,assetRoot:s,customUrls:w,enableAntiDebug:f,debug:!1,warmupMessage:p,country:y},b),this.component=yL(yL({},h),g)}return hL(e,[{key:"checkCamera",value:function(){return(0,this.component.checkCamera)()}},{key:"getListCamera",value:function(){return(0,this.component.getListCamera)()}},{key:"readIDCardWithApiCall",value:function(e){var t=this.component.ReadIDCardWithApiCall;iL.render(xw.createElement(mj,{value:this.commonSettings},xw.createElement(t,gL({onClose:this.destroyView},e))),this.container)}},{key:"readIDCardUIOnly",value:function(e){var t=this.component.ReadIDCardUIOnly;iL.render(xw.createElement(mj,{value:this.commonSettings},xw.createElement(t,gL({onClose:this.destroyView},e))),this.container)}},{key:"livenessDetection",value:function(e){var t=this.component.LivenessDetection;iL.render(xw.createElement(mj,{value:yL({},this.commonSettings)},xw.createElement(t,gL({onClose:this.destroyView},e))),this.container)}},{key:"compareFaces",value:function(e){var t=e.accessKey,r=e.secretKey,n=e.apiUrl,o=e.image1,a=e.image2,i=e.onSuccess,s=e.onError;dq(new wj(t,r,n,{httpHeaders:yK})).compareFaces({image1:{id:o},image2:{id:a}}).then((function(e){i(e)})).catch((function(e){s(e)}))}}]),e}();function wK(e){return(wK="function"==typeof Symbol&&"symbol"==Ey(Symbol.iterator)?function(e){return Ey(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":Ey(e)})(e)}function kK(e,t,r,n,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function CK(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){kK(a,n,o,i,s,"next",e)}function s(e){kK(a,n,o,i,s,"throw",e)}i(void 0)}))}}function SK(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function EK(){return(EK=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function _K(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xK(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_K(Object(r),!0).forEach((function(t){BK(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_K(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function TK(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function AK(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function PK(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r}}(e,t)||RK(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function IK(e){return function(e){if(Array.isArray(e))return NK(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||RK(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function RK(e,t){if(e){if("string"==typeof e)return NK(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?NK(e,t):void 0}}function NK(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var OK="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function DK(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function LK(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&r.path)}},r.exports),r.exports}var MK,UK=LK((function(e){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t,r){e.exports={BROWSER_TYPES:{CHROME:"Chrome",FIREFOX:"Firefox",OPERA:"Opera",YANDEX:"Yandex",SAFARI:"Safari",INTERNET_EXPLORER:"Internet Explorer",EDGE:"Edge",CHROMIUM:"Chromium",IE:"IE",MOBILE_SAFARI:"Mobile Safari",EDGE_CHROMIUM:"Edge Chromium"},DEVICE_TYPES:{MOBILE:"mobile",TABLET:"tablet",SMART_TV:"smarttv",CONSOLE:"console",WEARABLE:"wearable",BROWSER:void 0},OS_TYPES:{IOS:"iOS",ANDROID:"Android",WINDOWS_PHONE:"Windows Phone",WINDOWS:"Windows",MAC_OS:"Mac OS"},defaultData:{isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1}}},function(e,t,r){var n,o=r(2),a=r(0),i=a.BROWSER_TYPES,s=a.OS_TYPES,c=a.DEVICE_TYPES,l=r(4),u=l.checkType,d=l.broPayload,f=l.mobilePayload,p=l.wearPayload,h=l.consolePayload,m=l.stvPayload,g=l.getNavigatorInstance,v=l.isIOS13Check,y=new o,b=y.getBrowser(),w=y.getDevice(),k=y.getEngine(),C=y.getOS(),S=y.getUA(),B=i.CHROME,E=i.CHROMIUM,_=i.IE,x=i.INTERNET_EXPLORER,T=i.OPERA,A=i.FIREFOX,P=i.SAFARI,I=i.EDGE,R=i.YANDEX,N=i.MOBILE_SAFARI,O=c.MOBILE,D=c.TABLET,L=c.SMART_TV,M=c.BROWSER,U=c.WEARABLE,F=c.CONSOLE,j=s.ANDROID,V=s.WINDOWS_PHONE,z=s.IOS,q=s.WINDOWS,H=s.MAC_OS,K=function(){return C.name===s.WINDOWS&&"10"===C.version&&"string"==typeof S&&-1!==S.indexOf("Edg/")},W=function(){return b.name===I},G=function(){return v("iPad")},Q=w.type===L,X=w.type===F,Y=w.type===U,$=b.name===N||G(),Z=b.name===E,J=function(){switch(w.type){case O:case D:return!0;default:return!1}}()||G(),ee=w.type===O,te=w.type===D||G(),re=w.type===M,ne=C.name===j,oe=C.name===V,ae=C.name===z||G(),ie=b.name===B,se=b.name===A,ce=b.name===P||b.name===N,le=b.name===T,ue=b.name===x||b.name===_,de=C.version?C.version:"none",fe=C.name?C.name:"none",pe=b.major,he=b.version,me=b.name,ge=w.vendor?w.vendor:"none",ve=w.model?w.model:"none",ye=k.name,be=k.version,we=S,ke=W()||K(),Ce=b.name===R,Se=w.type,Be=(n=g())&&(/iPad|iPhone|iPod/.test(n.platform)||"MacIntel"===n.platform&&n.maxTouchPoints>1)&&!window.MSStream,Ee=G(),_e=v("iPhone"),xe=v("iPod"),Te=function(){var e=g(),t=e&&e.userAgent.toLowerCase();return"string"==typeof t&&/electron/.test(t)}(),Ae=K(),Pe=W(),Ie=C.name===q,Re=C.name===H,Ne=u(w.type);e.exports={deviceDetect:function(){var e=Ne.isBrowser,t=Ne.isMobile,r=Ne.isTablet,n=Ne.isSmartTV,o=Ne.isConsole,a=Ne.isWearable;return e?d(e,b,k,C,S):n?m(n,k,C,S):o?h(o,k,C,S):t||r?f(Ne,w,C,S):a?p(a,k,C,S):void 0},isSmartTV:Q,isConsole:X,isWearable:Y,isMobileSafari:$,isChromium:Z,isMobile:J,isMobileOnly:ee,isTablet:te,isBrowser:re,isAndroid:ne,isWinPhone:oe,isIOS:ae,isChrome:ie,isFirefox:se,isSafari:ce,isOpera:le,isIE:ue,osVersion:de,osName:fe,fullBrowserVersion:pe,browserVersion:he,browserName:me,mobileVendor:ge,mobileModel:ve,engineName:ye,engineVersion:be,getUA:we,isEdge:ke,isYandex:Ce,deviceType:Se,isIOS13:Be,isIPad13:Ee,isIPhone13:_e,isIPod13:xe,isElectron:Te,isEdgeChromium:Ae,isLegacyEdge:Pe,isWindows:Ie,isMacOs:Re}},function(e,t,r){var n;
61
61
  /*!
62
62
  * UAParser.js v0.7.18
63
63
  * Lightweight JavaScript-based User-Agent string parser