@regulaforensics/vp-frontend-document-components 7.5.1999-nightly → 7.5.2000-nightly
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.
- package/dist/main.iife.js +2 -2
- package/dist/main.js +4 -4
- package/package.json +2 -2
package/dist/main.iife.js
CHANGED
|
@@ -42,7 +42,7 @@ Error generating stack: `+i.message+`
|
|
|
42
42
|
`)&&(v="(?: "+v+")",I=" "+I,g++),l=new RegExp("^(?:"+v+")",S)),Wh&&(l=new RegExp("^"+v+"$(?!\\s)",S)),Zh&&(u=r.lastIndex),c=Ma(nd,m?l:r,I),m?c?(c.input=zh(c.input,g),c[0]=zh(c[0],g),c.index=r.lastIndex,r.lastIndex+=c[0].length):r.lastIndex=0:Zh&&c&&(r.lastIndex=r.global?c.index+c[0].length:u),Wh&&c&&c.length>1&&Ma(VU,c[0],l,function(){for(d=1;d<arguments.length-2;d++)arguments[d]===void 0&&(c[d]=void 0)}),c&&h)for(c.groups=_=kU(null),d=0;d<h.length;d++)p=h[d],_[p[0]]=c[p[1]];return c});var Yh=Gh,zU=gt,K4=Yh;zU({target:"RegExp",proto:!0,forced:/./.exec!==K4},{exec:K4});var q4=rt,X4=cn,ZU=Yh,Q4=Se,J4=lt,WU=jr,YU=J4("species"),Kh=RegExp.prototype,KU=function(e,t,r,n){var o=J4(e),i=!Q4(function(){var c={};return c[o]=function(){return 7},""[e](c)!==7}),a=i&&!Q4(function(){var c=!1,d=/a/;return e==="split"&&(d={},d.constructor={},d.constructor[YU]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return c=!0,null},d[o](""),!c});if(!i||!a||r){var l=/./[o],u=t(o,""[e],function(c,d,_,p,h){var m=d.exec;return m===ZU||m===Kh.exec?i&&!h?{done:!0,value:q4(l,d,_,p)}:{done:!0,value:q4(c,_,d,p)}:{done:!1}});X4(String.prototype,e,u[0]),X4(Kh,o,u[1])}n&&WU(Kh[o],"sham",!0)},qh=de,qU=sn,XU=Sr,QU=Gi,JU=qh("".charAt),eD=qh("".charCodeAt),ej=qh("".slice),tD=function(e){return function(t,r){var n=XU(QU(t)),o=qU(r),i=n.length,a,l;return o<0||o>=i?e?"":void 0:(a=eD(n,o),a<55296||a>56319||o+1===i||(l=eD(n,o+1))<56320||l>57343?e?JU(n,o):a:e?ej(n,o,o+2):(a-55296<<10)+(l-56320)+65536)}},Xh={codeAt:tD(!1),charAt:tD(!0)},tj=Xh.charAt,rj=function(e,t,r){return t+(r?tj(e,t).length:1)},Qh=de,nj=hr,oj=Math.floor,Jh=Qh("".charAt),ij=Qh("".replace),e2=Qh("".slice),aj=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,sj=/\$([$&'`]|\d{1,2})/g,lj=function(e,t,r,n,o,i){var a=r+e.length,l=n.length,u=sj;return o!==void 0&&(o=nj(o),u=aj),ij(i,u,function(c,d){var _;switch(Jh(d,0)){case"$":return"$";case"&":return e;case"`":return e2(t,0,r);case"'":return e2(t,a);case"<":_=o[e2(d,1,-1)];break;default:var p=+d;if(p===0)return c;if(p>l){var h=oj(p/10);return h===0?c:h<=l?n[h-1]===void 0?Jh(d,1):n[h-1]+Jh(d,1):c}_=n[p-1]}return _===void 0?"":_})},rD=rt,cj=Er,uj=le,fj=io,dj=Yh,_j=TypeError,pj=function(e,t){var r=e.exec;if(uj(r)){var n=rD(r,e,t);return n!==null&&cj(n),n}if(fj(e)==="RegExp")return rD(dj,e,t);throw new _j("RegExp#exec called on incompatible receiver")},mj=O1,nD=rt,od=de,hj=KU,Ej=Se,Cj=Er,Sj=le,vj=Zc,gj=sn,Ij=Zi,Pa=Sr,Dj=Gi,Rj=rj,Aj=Xc,Tj=lj,Oj=pj,yj=lt,t2=yj("replace"),Nj=Math.max,$j=Math.min,Lj=od([].concat),r2=od([].push),oD=od("".indexOf),iD=od("".slice),bj=function(e){return e===void 0?e:String(e)},Mj=function(){return"a".replace(/./,"$0")==="$0"}(),aD=function(){return/./[t2]?/./[t2]("a","$0")==="":!1}(),Pj=!Ej(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"});hj("replace",function(e,t,r){var n=aD?"$":"$0";return[function(i,a){var l=Dj(this),u=vj(i)?void 0:Aj(i,t2);return u?nD(u,i,l,a):nD(t,Pa(l),i,a)},function(o,i){var a=Cj(this),l=Pa(o);if(typeof i=="string"&&oD(i,n)===-1&&oD(i,"$<")===-1){var u=r(t,a,l,i);if(u.done)return u.value}var c=Sj(i);c||(i=Pa(i));var d=a.global,_;d&&(_=a.unicode,a.lastIndex=0);for(var p=[],h;h=Oj(a,l),!(h===null||(r2(p,h),!d));){var m=Pa(h[0]);m===""&&(a.lastIndex=Rj(l,Ij(a.lastIndex),_))}for(var S="",v=0,g=0;g<p.length;g++){h=p[g];for(var I=Pa(h[0]),D=Nj($j(gj(h.index),l.length),0),A=[],y,b=1;b<h.length;b++)r2(A,bj(h[b]));var N=h.groups;if(c){var M=Lj([I],A,D,l);N!==void 0&&r2(M,N),y=Pa(mj(i,void 0,M))}else y=Tj(I,l,D,A,N,i);D>=v&&(S+=iD(l,v,D)+y,v=D+I.length)}return S+iD(l,v)}]},!Pj||!Mj||aD);var wj=Xh.charAt,kj=Sr,sD=Mn,xj=o0,lD=E1,cD="String Iterator",Fj=sD.set,Hj=sD.getterFor(cD);xj(String,"String",function(e){Fj(this,{type:cD,string:kj(e),index:0})},function(){var t=Hj(this),r=t.string,n=t.index,o;return n>=r.length?lD(void 0,!0):(o=wj(r,n),t.index+=o.length,lD(o,!1))});var Vj=Se,Uj=lt,jj=Ue,uD=cy,Bj=Uj("iterator"),fD=!Vj(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach(function(o,i){t.delete("b"),n+=i+o}),r.delete("a",2),r.delete("b",void 0),uD&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(uD||!jj)||!t.sort||e.href!=="https://a/c%20d?a=1&c=3"||t.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!t[Bj]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("https://тест").host!=="xn--e1aybc"||new URL("https://a#б").hash!=="#%D0%B1"||n!=="a1c3"||new URL("https://x",void 0).host!=="x"}),dD=Ue,Gj=de,zj=rt,Zj=Se,n2=R3,Wj=c1,Yj=r1,Kj=hr,qj=zc,wa=Object.assign,_D=Object.defineProperty,Xj=Gj([].concat),Qj=!wa||Zj(function(){if(dD&&wa({b:1},wa(_D({},"a",{enumerable:!0,get:function(){_D(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(o){t[o]=o}),wa({},e)[r]!==7||n2(wa({},t)).join("")!==n})?function(t,r){for(var n=Kj(t),o=arguments.length,i=1,a=Wj.f,l=Yj.f;o>i;)for(var u=qj(arguments[i++]),c=a?Xj(n2(u),a(u)):n2(u),d=c.length,_=0,p;d>_;)p=c[_++],(!dD||zj(l,u,p))&&(n[p]=u[p]);return n}:wa,Jj=rt,pD=Er,eB=Xc,tB=function(e,t,r){var n,o;pD(e);try{if(n=eB(e,"return"),!n){if(t==="throw")throw r;return r}n=Jj(n,e)}catch(i){o=!0,n=i}if(t==="throw")throw r;if(o)throw n;return pD(n),r},rB=Er,nB=tB,oB=function(e,t,r,n){try{return n?t(rB(r)[0],r[1]):t(r)}catch(o){nB(e,"throw",o)}},iB=Ue,aB=Cr,sB=ri,lB=function(e,t,r){iB?aB.f(e,t,sB(0,r)):e[t]=r},cB=$a,uB=rt,fB=hr,dB=oB,_B=bI,pB=Eh,mB=er,mD=lB,hB=Ch,EB=Kf,hD=Array,CB=function(t){var r=fB(t),n=pB(this),o=arguments.length,i=o>1?arguments[1]:void 0,a=i!==void 0;a&&(i=cB(i,o>2?arguments[2]:void 0));var l=EB(r),u=0,c,d,_,p,h,m;if(l&&!(this===hD&&_B(l)))for(d=n?new this:[],p=hB(r,l),h=p.next;!(_=uB(h,p)).done;u++)m=a?dB(p,i,[_.value,u],!0):_.value,mD(d,u,m);else for(c=mB(r),d=n?new this(c):hD(c);c>u;u++)m=a?i(r[u],u):r[u],mD(d,u,m);return d.length=u,d},Ii=de,o2=2147483647,Fl=36,ED=1,i2=26,SB=38,vB=700,gB=72,IB=128,DB="-",RB=/[^\0-\u007E]/,CD=/[.\u3002\uFF0E\uFF61]/g,SD="Overflow: input needs wider integers to process",a2=Fl-ED,vD=RangeError,AB=Ii(CD.exec),ka=Math.floor,s2=String.fromCharCode,gD=Ii("".charCodeAt),ID=Ii([].join),Fo=Ii([].push),TB=Ii("".replace),OB=Ii("".split),yB=Ii("".toLowerCase),NB=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=gD(e,r++);if(o>=55296&&o<=56319&&r<n){var i=gD(e,r++);(i&64512)===56320?Fo(t,((o&1023)<<10)+(i&1023)+65536):(Fo(t,o),r--)}else Fo(t,o)}return t},DD=function(e){return e+22+75*(e<26)},$B=function(e,t,r){var n=0;for(e=r?ka(e/vB):e>>1,e+=ka(e/t);e>a2*i2>>1;)e=ka(e/a2),n+=Fl;return ka(n+(a2+1)*e/(e+SB))},LB=function(e){var t=[];e=NB(e);var r=e.length,n=IB,o=0,i=gB,a,l;for(a=0;a<e.length;a++)l=e[a],l<128&&Fo(t,s2(l));var u=t.length,c=u;for(u&&Fo(t,DB);c<r;){var d=o2;for(a=0;a<e.length;a++)l=e[a],l>=n&&l<d&&(d=l);var _=c+1;if(d-n>ka((o2-o)/_))throw new vD(SD);for(o+=(d-n)*_,n=d,a=0;a<e.length;a++){if(l=e[a],l<n&&++o>o2)throw new vD(SD);if(l===n){for(var p=o,h=Fl;;){var m=h<=i?ED:h>=i+i2?i2:h-i;if(p<m)break;var S=p-m,v=Fl-m;Fo(t,s2(DD(m+S%v))),p=ka(S/v),h+=Fl}Fo(t,s2(DD(p))),i=$B(o,_,c===u),o=0,c++}}o++,n++}return ID(t,"")},bB=function(e){var t=[],r=OB(TB(yB(e),CD,"."),"."),n,o;for(n=0;n<r.length;n++)o=r[n],Fo(t,AB(RB,o)?"xn--"+LB(o):o);return ID(t,".")},MB=TypeError,id=function(e,t){if(e<t)throw new MB("Not enough arguments");return e},PB=gt,wB=de,kB=Jc,xB=RangeError,RD=String.fromCharCode,AD=String.fromCodePoint,FB=wB([].join),HB=!!AD&&AD.length!==1;PB({target:"String",stat:!0,arity:1,forced:HB},{fromCodePoint:function(t){for(var r=[],n=arguments.length,o=0,i;n>o;){if(i=+arguments[o++],kB(i,1114111)!==i)throw new xB(i+" is not a valid code point");r[o]=i<65536?RD(i):RD(((i-=65536)>>10)+55296,i%1024+56320)}return FB(r,"")}});var TD=X,VB=Ue,UB=Object.getOwnPropertyDescriptor,jB=function(e){if(!VB)return TD[e];var t=UB(TD,e);return t&&t.value},l2=gt,OD=X,c2=jB,BB=ao,ad=rt,Qr=de,Hl=Ue,yD=fD,ND=cn,GB=$o,zB=_g,ZB=Yi,WB=q3,u2=Mn,$D=Mf,f2=le,YB=jt,KB=$a,qB=so,XB=Er,LD=Te,xt=Sr,QB=Ms,bD=ri,MD=Ch,JB=Kf,sd=E1,xa=id,eG=lt,tG=Lh,rG=eG("iterator"),Fa="URLSearchParams",PD=Fa+"Iterator",wD=u2.set,yr=u2.getterFor(Fa),nG=u2.getterFor(PD),kD=c2("fetch"),ld=c2("Request"),Vl=c2("Headers"),d2=ld&&ld.prototype,xD=Vl&&Vl.prototype,oG=OD.TypeError,iG=OD.encodeURIComponent,aG=String.fromCharCode,sG=BB("String","fromCodePoint"),lG=parseInt,cd=Qr("".charAt),FD=Qr([].join),Ho=Qr([].push),HD=Qr("".replace),cG=Qr([].shift),VD=Qr([].splice),UD=Qr("".split),jD=Qr("".slice),uG=Qr(/./.exec),fG=/\+/g,_2="�",dG=/^[0-9a-f]+$/i,BD=function(e,t){var r=jD(e,t,t+2);return uG(dG,r)?lG(r,16):NaN},_G=function(e){for(var t=0,r=128;r>0&&e&r;r>>=1)t++;return t},pG=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(e[0]&31)<<6|e[1]&63;break;case 3:t=(e[0]&15)<<12|(e[1]&63)<<6|e[2]&63;break;case 4:t=(e[0]&7)<<18|(e[1]&63)<<12|(e[2]&63)<<6|e[3]&63;break}return t>1114111?null:t},GD=function(e){e=HD(e,fG," ");for(var t=e.length,r="",n=0;n<t;){var o=cd(e,n);if(o==="%"){if(cd(e,n+1)==="%"||n+3>t){r+="%",n++;continue}var i=BD(e,n+1);if(i!==i){r+=o,n++;continue}n+=2;var a=_G(i);if(a===0)o=aG(i);else{if(a===1||a>4){r+=_2,n++;continue}for(var l=[i],u=1;u<a&&(n++,!(n+3>t||cd(e,n)!=="%"));){var c=BD(e,n+1);if(c!==c){n+=3;break}if(c>191||c<128)break;Ho(l,c),n+=2,u++}if(l.length!==a){r+=_2;continue}var d=pG(l);d===null?r+=_2:o=sG(d)}}r+=o,n++}return r},mG=/[!'()~]|%20/g,hG={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},EG=function(e){return hG[e]},zD=function(e){return HD(iG(e),mG,EG)},p2=WB(function(t,r){wD(this,{type:PD,target:yr(t).entries,index:0,kind:r})},Fa,function(){var t=nG(this),r=t.target,n=t.index++;if(!r||n>=r.length)return t.target=null,sd(void 0,!0);var o=r[n];switch(t.kind){case"keys":return sd(o.key,!1);case"values":return sd(o.value,!1)}return sd([o.key,o.value],!1)},!0),ZD=function(e){this.entries=[],this.url=null,e!==void 0&&(LD(e)?this.parseObject(e):this.parseQuery(typeof e=="string"?cd(e,0)==="?"?jD(e,1):e:xt(e)))};ZD.prototype={type:Fa,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t=this.entries,r=JB(e),n,o,i,a,l,u,c;if(r)for(n=MD(e,r),o=n.next;!(i=ad(o,n)).done;){if(a=MD(XB(i.value)),l=a.next,(u=ad(l,a)).done||(c=ad(l,a)).done||!ad(l,a).done)throw new oG("Expected sequence with length 2");Ho(t,{key:xt(u.value),value:xt(c.value)})}else for(var d in e)YB(e,d)&&Ho(t,{key:d,value:xt(e[d])})},parseQuery:function(e){if(e)for(var t=this.entries,r=UD(e,"&"),n=0,o,i;n<r.length;)o=r[n++],o.length&&(i=UD(o,"="),Ho(t,{key:GD(cG(i)),value:GD(FD(i,"="))}))},serialize:function(){for(var e=this.entries,t=[],r=0,n;r<e.length;)n=e[r++],Ho(t,zD(n.key)+"="+zD(n.value));return FD(t,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ud=function(){$D(this,Ha);var t=arguments.length>0?arguments[0]:void 0,r=wD(this,new ZD(t));Hl||(this.size=r.entries.length)},Ha=ud.prototype;if(zB(Ha,{append:function(t,r){var n=yr(this);xa(arguments.length,2),Ho(n.entries,{key:xt(t),value:xt(r)}),Hl||this.length++,n.updateURL()},delete:function(e){for(var t=yr(this),r=xa(arguments.length,1),n=t.entries,o=xt(e),i=r<2?void 0:arguments[1],a=i===void 0?i:xt(i),l=0;l<n.length;){var u=n[l];if(u.key===o&&(a===void 0||u.value===a)){if(VD(n,l,1),a!==void 0)break}else l++}Hl||(this.size=n.length),t.updateURL()},get:function(t){var r=yr(this).entries;xa(arguments.length,1);for(var n=xt(t),o=0;o<r.length;o++)if(r[o].key===n)return r[o].value;return null},getAll:function(t){var r=yr(this).entries;xa(arguments.length,1);for(var n=xt(t),o=[],i=0;i<r.length;i++)r[i].key===n&&Ho(o,r[i].value);return o},has:function(t){for(var r=yr(this).entries,n=xa(arguments.length,1),o=xt(t),i=n<2?void 0:arguments[1],a=i===void 0?i:xt(i),l=0;l<r.length;){var u=r[l++];if(u.key===o&&(a===void 0||u.value===a))return!0}return!1},set:function(t,r){var n=yr(this);xa(arguments.length,1);for(var o=n.entries,i=!1,a=xt(t),l=xt(r),u=0,c;u<o.length;u++)c=o[u],c.key===a&&(i?VD(o,u--,1):(i=!0,c.value=l));i||Ho(o,{key:a,value:l}),Hl||(this.size=o.length),n.updateURL()},sort:function(){var t=yr(this);tG(t.entries,function(r,n){return r.key>n.key?1:-1}),t.updateURL()},forEach:function(t){for(var r=yr(this).entries,n=KB(t,arguments.length>1?arguments[1]:void 0),o=0,i;o<r.length;)i=r[o++],n(i.value,i.key,this)},keys:function(){return new p2(this,"keys")},values:function(){return new p2(this,"values")},entries:function(){return new p2(this,"entries")}},{enumerable:!0}),ND(Ha,rG,Ha.entries,{name:"entries"}),ND(Ha,"toString",function(){return yr(this).serialize()},{enumerable:!0}),Hl&&GB(Ha,"size",{get:function(){return yr(this).entries.length},configurable:!0,enumerable:!0}),ZB(ud,Fa),l2({global:!0,constructor:!0,forced:!yD},{URLSearchParams:ud}),!yD&&f2(Vl)){var CG=Qr(xD.has),SG=Qr(xD.set),WD=function(e){if(LD(e)){var t=e.body,r;if(qB(t)===Fa)return r=e.headers?new Vl(e.headers):new Vl,CG(r,"content-type")||SG(r,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),QB(e,{body:bD(0,xt(t)),headers:bD(0,r)})}return e};if(f2(kD)&&l2({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return kD(t,arguments.length>1?WD(arguments[1]):{})}}),f2(ld)){var m2=function(t){return $D(this,d2),new ld(t,arguments.length>1?WD(arguments[1]):{})};d2.constructor=m2,m2.prototype=d2,l2({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:m2})}}var vG={URLSearchParams:ud,getState:yr},gG=gt,h2=Ue,IG=fD,E2=X,YD=$a,Nr=de,fd=cn,$r=$o,DG=Mf,C2=jt,S2=Qj,Va=CB,Jr=Cu,RG=Xh.codeAt,AG=bB,qn=Sr,TG=Yi,OG=id,KD=vG,qD=Mn,yG=qD.set,dd=qD.getterFor("URL"),NG=KD.URLSearchParams,$G=KD.getState,Ul=E2.URL,v2=E2.TypeError,_d=E2.parseInt,LG=Math.floor,XD=Math.pow,Lr=Nr("".charAt),en=Nr(/./.exec),jl=Nr([].join),bG=Nr(1 .toString),MG=Nr([].pop),Ua=Nr([].push),g2=Nr("".replace),PG=Nr([].shift),wG=Nr("".split),Bl=Nr("".slice),pd=Nr("".toLowerCase),kG=Nr([].unshift),xG="Invalid authority",I2="Invalid scheme",Di="Invalid host",QD="Invalid port",JD=/[a-z]/i,FG=/[\d+-.a-z]/i,D2=/\d/,HG=/^0x/i,VG=/^[0-7]+$/,UG=/^\d+$/,eR=/^[\da-f]+$/i,jG=/[\0\t\n\r #%/:<>?@[\\\]^|]/,BG=/[\0\t\n\r #/:<>?@[\\\]^|]/,GG=/^[\u0000-\u0020]+/,zG=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ZG=/[\t\n\r]/g,br,WG=function(e){var t=wG(e,"."),r,n,o,i,a,l,u;if(t.length&&t[t.length-1]===""&&t.length--,r=t.length,r>4)return e;for(n=[],o=0;o<r;o++){if(i=t[o],i==="")return e;if(a=10,i.length>1&&Lr(i,0)==="0"&&(a=en(HG,i)?16:8,i=Bl(i,a===8?1:2)),i==="")l=0;else{if(!en(a===10?UG:a===8?VG:eR,i))return e;l=_d(i,a)}Ua(n,l)}for(o=0;o<r;o++)if(l=n[o],o===r-1){if(l>=XD(256,5-r))return null}else if(l>255)return null;for(u=MG(n),o=0;o<n.length;o++)u+=n[o]*XD(256,3-o);return u},YG=function(e){var t=[0,0,0,0,0,0,0,0],r=0,n=null,o=0,i,a,l,u,c,d,_,p=function(){return Lr(e,o)};if(p()===":"){if(Lr(e,1)!==":")return;o+=2,r++,n=r}for(;p();){if(r===8)return;if(p()===":"){if(n!==null)return;o++,r++,n=r;continue}for(i=a=0;a<4&&en(eR,p());)i=i*16+_d(p(),16),o++,a++;if(p()==="."){if(a===0||(o-=a,r>6))return;for(l=0;p();){if(u=null,l>0)if(p()==="."&&l<4)o++;else return;if(!en(D2,p()))return;for(;en(D2,p());){if(c=_d(p(),10),u===null)u=c;else{if(u===0)return;u=u*10+c}if(u>255)return;o++}t[r]=t[r]*256+u,l++,(l===2||l===4)&&r++}if(l!==4)return;break}else if(p()===":"){if(o++,!p())return}else if(p())return;t[r++]=i}if(n!==null)for(d=r-n,r=7;r!==0&&d>0;)_=t[r],t[r--]=t[n+d-1],t[n+--d]=_;else if(r!==8)return;return t},KG=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)e[i]!==0?(o>r&&(t=n,r=o),n=null,o=0):(n===null&&(n=i),++o);return o>r?n:t},Gl=function(e){var t,r,n,o;if(typeof e=="number"){for(t=[],r=0;r<4;r++)kG(t,e%256),e=LG(e/256);return jl(t,".")}if(typeof e=="object"){for(t="",n=KG(e),r=0;r<8;r++)o&&e[r]===0||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=bG(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},md={},tR=S2({},md,{" ":1,'"':1,"<":1,">":1,"`":1}),rR=S2({},tR,{"#":1,"?":1,"{":1,"}":1}),R2=S2({},rR,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Vo=function(e,t){var r=RG(e,0);return r>32&&r<127&&!C2(t,e)?e:encodeURIComponent(e)},hd={ftp:21,file:null,http:80,https:443,ws:80,wss:443},zl=function(e,t){var r;return e.length===2&&en(JD,Lr(e,0))&&((r=Lr(e,1))===":"||!t&&r==="|")},nR=function(e){var t;return e.length>1&&zl(Bl(e,0,2))&&(e.length===2||(t=Lr(e,2))==="/"||t==="\\"||t==="?"||t==="#")},qG=function(e){return e==="."||pd(e)==="%2e"},XG=function(e){return e=pd(e),e===".."||e==="%2e."||e===".%2e"||e==="%2e%2e"},A2={},oR={},T2={},iR={},aR={},O2={},sR={},lR={},Ed={},Cd={},y2={},N2={},$2={},L2={},cR={},b2={},ja={},Sn={},uR={},Ri={},Xn={},M2=function(e,t,r){var n=qn(e),o,i,a;if(t){if(i=this.parse(n),i)throw new v2(i);this.searchParams=null}else{if(r!==void 0&&(o=new M2(r,!0)),i=this.parse(n,null,o),i)throw new v2(i);a=$G(new NG),a.bindURL(this),this.searchParams=a}};M2.prototype={type:"URL",parse:function(e,t,r){var n=this,o=t||A2,i=0,a="",l=!1,u=!1,c=!1,d,_,p,h;for(e=qn(e),t||(n.scheme="",n.username="",n.password="",n.host=null,n.port=null,n.path=[],n.query=null,n.fragment=null,n.cannotBeABaseURL=!1,e=g2(e,GG,""),e=g2(e,zG,"$1")),e=g2(e,ZG,""),d=Va(e);i<=d.length;){switch(_=d[i],o){case A2:if(_&&en(JD,_))a+=pd(_),o=oR;else{if(t)return I2;o=T2;continue}break;case oR:if(_&&(en(FG,_)||_==="+"||_==="-"||_==="."))a+=pd(_);else if(_===":"){if(t&&(n.isSpecial()!==C2(hd,a)||a==="file"&&(n.includesCredentials()||n.port!==null)||n.scheme==="file"&&!n.host))return;if(n.scheme=a,t){n.isSpecial()&&hd[n.scheme]===n.port&&(n.port=null);return}a="",n.scheme==="file"?o=L2:n.isSpecial()&&r&&r.scheme===n.scheme?o=iR:n.isSpecial()?o=lR:d[i+1]==="/"?(o=aR,i++):(n.cannotBeABaseURL=!0,Ua(n.path,""),o=uR)}else{if(t)return I2;a="",o=T2,i=0;continue}break;case T2:if(!r||r.cannotBeABaseURL&&_!=="#")return I2;if(r.cannotBeABaseURL&&_==="#"){n.scheme=r.scheme,n.path=Jr(r.path),n.query=r.query,n.fragment="",n.cannotBeABaseURL=!0,o=Xn;break}o=r.scheme==="file"?L2:O2;continue;case iR:if(_==="/"&&d[i+1]==="/")o=Ed,i++;else{o=O2;continue}break;case aR:if(_==="/"){o=Cd;break}else{o=Sn;continue}case O2:if(n.scheme=r.scheme,_===br)n.username=r.username,n.password=r.password,n.host=r.host,n.port=r.port,n.path=Jr(r.path),n.query=r.query;else if(_==="/"||_==="\\"&&n.isSpecial())o=sR;else if(_==="?")n.username=r.username,n.password=r.password,n.host=r.host,n.port=r.port,n.path=Jr(r.path),n.query="",o=Ri;else if(_==="#")n.username=r.username,n.password=r.password,n.host=r.host,n.port=r.port,n.path=Jr(r.path),n.query=r.query,n.fragment="",o=Xn;else{n.username=r.username,n.password=r.password,n.host=r.host,n.port=r.port,n.path=Jr(r.path),n.path.length--,o=Sn;continue}break;case sR:if(n.isSpecial()&&(_==="/"||_==="\\"))o=Ed;else if(_==="/")o=Cd;else{n.username=r.username,n.password=r.password,n.host=r.host,n.port=r.port,o=Sn;continue}break;case lR:if(o=Ed,_!=="/"||Lr(a,i+1)!=="/")continue;i++;break;case Ed:if(_!=="/"&&_!=="\\"){o=Cd;continue}break;case Cd:if(_==="@"){l&&(a="%40"+a),l=!0,p=Va(a);for(var m=0;m<p.length;m++){var S=p[m];if(S===":"&&!c){c=!0;continue}var v=Vo(S,R2);c?n.password+=v:n.username+=v}a=""}else if(_===br||_==="/"||_==="?"||_==="#"||_==="\\"&&n.isSpecial()){if(l&&a==="")return xG;i-=Va(a).length+1,a="",o=y2}else a+=_;break;case y2:case N2:if(t&&n.scheme==="file"){o=b2;continue}else if(_===":"&&!u){if(a==="")return Di;if(h=n.parseHost(a),h)return h;if(a="",o=$2,t===N2)return}else if(_===br||_==="/"||_==="?"||_==="#"||_==="\\"&&n.isSpecial()){if(n.isSpecial()&&a==="")return Di;if(t&&a===""&&(n.includesCredentials()||n.port!==null))return;if(h=n.parseHost(a),h)return h;if(a="",o=ja,t)return;continue}else _==="["?u=!0:_==="]"&&(u=!1),a+=_;break;case $2:if(en(D2,_))a+=_;else if(_===br||_==="/"||_==="?"||_==="#"||_==="\\"&&n.isSpecial()||t){if(a!==""){var g=_d(a,10);if(g>65535)return QD;n.port=n.isSpecial()&&g===hd[n.scheme]?null:g,a=""}if(t)return;o=ja;continue}else return QD;break;case L2:if(n.scheme="file",_==="/"||_==="\\")o=cR;else if(r&&r.scheme==="file")switch(_){case br:n.host=r.host,n.path=Jr(r.path),n.query=r.query;break;case"?":n.host=r.host,n.path=Jr(r.path),n.query="",o=Ri;break;case"#":n.host=r.host,n.path=Jr(r.path),n.query=r.query,n.fragment="",o=Xn;break;default:nR(jl(Jr(d,i),""))||(n.host=r.host,n.path=Jr(r.path),n.shortenPath()),o=Sn;continue}else{o=Sn;continue}break;case cR:if(_==="/"||_==="\\"){o=b2;break}r&&r.scheme==="file"&&!nR(jl(Jr(d,i),""))&&(zl(r.path[0],!0)?Ua(n.path,r.path[0]):n.host=r.host),o=Sn;continue;case b2:if(_===br||_==="/"||_==="\\"||_==="?"||_==="#"){if(!t&&zl(a))o=Sn;else if(a===""){if(n.host="",t)return;o=ja}else{if(h=n.parseHost(a),h)return h;if(n.host==="localhost"&&(n.host=""),t)return;a="",o=ja}continue}else a+=_;break;case ja:if(n.isSpecial()){if(o=Sn,_!=="/"&&_!=="\\")continue}else if(!t&&_==="?")n.query="",o=Ri;else if(!t&&_==="#")n.fragment="",o=Xn;else if(_!==br&&(o=Sn,_!=="/"))continue;break;case Sn:if(_===br||_==="/"||_==="\\"&&n.isSpecial()||!t&&(_==="?"||_==="#")){if(XG(a)?(n.shortenPath(),_!=="/"&&!(_==="\\"&&n.isSpecial())&&Ua(n.path,"")):qG(a)?_!=="/"&&!(_==="\\"&&n.isSpecial())&&Ua(n.path,""):(n.scheme==="file"&&!n.path.length&&zl(a)&&(n.host&&(n.host=""),a=Lr(a,0)+":"),Ua(n.path,a)),a="",n.scheme==="file"&&(_===br||_==="?"||_==="#"))for(;n.path.length>1&&n.path[0]==="";)PG(n.path);_==="?"?(n.query="",o=Ri):_==="#"&&(n.fragment="",o=Xn)}else a+=Vo(_,rR);break;case uR:_==="?"?(n.query="",o=Ri):_==="#"?(n.fragment="",o=Xn):_!==br&&(n.path[0]+=Vo(_,md));break;case Ri:!t&&_==="#"?(n.fragment="",o=Xn):_!==br&&(_==="'"&&n.isSpecial()?n.query+="%27":_==="#"?n.query+="%23":n.query+=Vo(_,md));break;case Xn:_!==br&&(n.fragment+=Vo(_,tR));break}i++}},parseHost:function(e){var t,r,n;if(Lr(e,0)==="["){if(Lr(e,e.length-1)!=="]"||(t=YG(Bl(e,1,-1)),!t))return Di;this.host=t}else if(this.isSpecial()){if(e=AG(e),en(jG,e)||(t=WG(e),t===null))return Di;this.host=t}else{if(en(BG,e))return Di;for(t="",r=Va(e),n=0;n<r.length;n++)t+=Vo(r[n],md);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return C2(hd,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;t&&(this.scheme!=="file"||t!==1||!zl(e[0],!0))&&e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,l=e.query,u=e.fragment,c=t+":";return o!==null?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Gl(o),i!==null&&(c+=":"+i)):t==="file"&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+jl(a,"/"):"",l!==null&&(c+="?"+l),u!==null&&(c+="#"+u),c},setHref:function(e){var t=this.parse(e);if(t)throw new v2(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if(e==="blob")try{return new Ba(e.path[0]).origin}catch(r){return"null"}return e==="file"||!this.isSpecial()?"null":e+"://"+Gl(this.host)+(t!==null?":"+t:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(qn(e)+":",A2)},getUsername:function(){return this.username},setUsername:function(e){var t=Va(qn(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Vo(t[r],R2)}},getPassword:function(){return this.password},setPassword:function(e){var t=Va(qn(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Vo(t[r],R2)}},getHost:function(){var e=this.host,t=this.port;return e===null?"":t===null?Gl(e):Gl(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,y2)},getHostname:function(){var e=this.host;return e===null?"":Gl(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,N2)},getPort:function(){var e=this.port;return e===null?"":qn(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(e=qn(e),e===""?this.port=null:this.parse(e,$2))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+jl(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,ja))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){e=qn(e),e===""?this.query=null:(Lr(e,0)==="?"&&(e=Bl(e,1)),this.query="",this.parse(e,Ri)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){if(e=qn(e),e===""){this.fragment=null;return}Lr(e,0)==="#"&&(e=Bl(e,1)),this.fragment="",this.parse(e,Xn)},update:function(){this.query=this.searchParams.serialize()||null}};var Ba=function(t){var r=DG(this,Ft),n=OG(arguments.length,1)>1?arguments[1]:void 0,o=yG(r,new M2(t,!1,n));h2||(r.href=o.serialize(),r.origin=o.getOrigin(),r.protocol=o.getProtocol(),r.username=o.getUsername(),r.password=o.getPassword(),r.host=o.getHost(),r.hostname=o.getHostname(),r.port=o.getPort(),r.pathname=o.getPathname(),r.search=o.getSearch(),r.searchParams=o.getSearchParams(),r.hash=o.getHash())},Ft=Ba.prototype,Mr=function(e,t){return{get:function(){return dd(this)[e]()},set:t&&function(r){return dd(this)[t](r)},configurable:!0,enumerable:!0}};if(h2&&($r(Ft,"href",Mr("serialize","setHref")),$r(Ft,"origin",Mr("getOrigin")),$r(Ft,"protocol",Mr("getProtocol","setProtocol")),$r(Ft,"username",Mr("getUsername","setUsername")),$r(Ft,"password",Mr("getPassword","setPassword")),$r(Ft,"host",Mr("getHost","setHost")),$r(Ft,"hostname",Mr("getHostname","setHostname")),$r(Ft,"port",Mr("getPort","setPort")),$r(Ft,"pathname",Mr("getPathname","setPathname")),$r(Ft,"search",Mr("getSearch","setSearch")),$r(Ft,"searchParams",Mr("getSearchParams")),$r(Ft,"hash",Mr("getHash","setHash"))),fd(Ft,"toJSON",function(){return dd(this).serialize()},{enumerable:!0}),fd(Ft,"toString",function(){return dd(this).serialize()},{enumerable:!0}),Ul){var fR=Ul.createObjectURL,dR=Ul.revokeObjectURL;fR&&fd(Ba,"createObjectURL",YD(fR,Ul)),dR&&fd(Ba,"revokeObjectURL",YD(dR,Ul))}TG(Ba,"URL"),gG({global:!0,constructor:!0,forced:!IG,sham:!h2},{URL:Ba});var QG=gt,JG=rt;QG({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return JG(URL.prototype.toString,this)}});var ez=cn,Sd=de,_R=Sr,tz=id,pR=URLSearchParams,vd=pR.prototype,rz=Sd(vd.append),mR=Sd(vd.delete),nz=Sd(vd.forEach),oz=Sd([].push),P2=new pR("a=1&a=2&b=3");P2.delete("a",1),P2.delete("b",void 0),P2+""!="a=2"&&ez(vd,"delete",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&r===void 0)return mR(this,e);var n=[];nz(this,function(_,p){oz(n,{key:p,value:_})}),tz(t,1);for(var o=_R(e),i=_R(r),a=0,l=0,u=!1,c=n.length,d;a<c;)d=n[a++],u||d.key===o?(u=!0,mR(this,d.key)):l++;for(;l<c;)d=n[l++],d.key===o&&d.value===i||rz(this,d.key,d.value)},{enumerable:!0,unsafe:!0});var iz=cn,hR=de,az=Sr,sz=id,ER=URLSearchParams,w2=ER.prototype,lz=hR(w2.getAll),cz=hR(w2.has),CR=new ER("a=1");(CR.has("a",2)||!CR.has("a",void 0))&&iz(w2,"has",function(t){var r=arguments.length,n=r<2?void 0:arguments[1];if(r&&n===void 0)return cz(this,t);var o=lz(this,t);sz(r,1);for(var i=az(n),a=0;a<o.length;)if(o[a++]===i)return!0;return!1},{enumerable:!0,unsafe:!0});var uz=Ue,fz=de,dz=$o,k2=URLSearchParams.prototype,_z=fz(k2.forEach);uz&&!("size"in k2)&&dz(k2,"size",{get:function(){var t=0;return _z(this,function(){t++}),t},configurable:!0,enumerable:!0});for(var Ga="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Zl=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),gd=0;gd<Ga.length;gd++)Zl[Ga.charCodeAt(gd)]=gd;var x2=function(e){var t=new Uint8Array(e),r,n=t.length,o="";for(r=0;r<n;r+=3)o+=Ga[t[r]>>2],o+=Ga[(t[r]&3)<<4|t[r+1]>>4],o+=Ga[(t[r+1]&15)<<2|t[r+2]>>6],o+=Ga[t[r+2]&63];return n%3===2?o=o.substring(0,o.length-1)+"=":n%3===1&&(o=o.substring(0,o.length-2)+"=="),o},F2=function(e){var t=e.length*.75,r=e.length,n,o=0,i,a,l,u;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var c=new ArrayBuffer(t),d=new Uint8Array(c);for(n=0;n<r;n+=4)i=Zl[e.charCodeAt(n)],a=Zl[e.charCodeAt(n+1)],l=Zl[e.charCodeAt(n+2)],u=Zl[e.charCodeAt(n+3)],d[o++]=i<<2|a>>4,d[o++]=(a&15)<<4|l>>2,d[o++]=(l&3)<<6|u&63;return c};function Id(e,t,r){return(t=pz(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pz(e){var t=mz(e,"string");return typeof t=="symbol"?t:t+""}function mz(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class SR{constructor(t,r){Id(this,"deviceId",void 0),Id(this,"facing",void 0),Id(this,"groupId",void 0),Id(this,"label",void 0),this.deviceId=t.deviceId,this.facing=r,this.groupId=t.groupId,this.label=t.label}}var z={},H2={exports:{}};(function(e,t){(function(r,n){var o="1.0.38",i="",a="?",l="function",u="undefined",c="object",d="string",_="major",p="model",h="name",m="type",S="vendor",v="version",g="architecture",I="console",D="mobile",A="tablet",y="smarttv",b="wearable",N="embedded",M=500,x="Amazon",w="Apple",V="ASUS",te="BlackBerry",ae="Browser",pe="Chrome",Ve="Edge",he="Firefox",Ze="Google",U="Huawei",W="LG",Z="Microsoft",se="Motorola",ge="Opera",Lt="Samsung",tt="Sharp",Ut="Sony",St="Xiaomi",Vr="Zebra",Ui="Facebook",vt="Chromium OS",g_="Mac OS",GC=function(me,Ae){var ie={};for(var be in me)Ae[be]&&Ae[be].length%2===0?ie[be]=Ae[be].concat(me[be]):ie[be]=me[be];return ie},ei=function(me){for(var Ae={},ie=0;ie<me.length;ie++)Ae[me[ie].toUpperCase()]=me[ie];return Ae},Vc=function(me,Ae){return typeof me===d?Nn(Ae).indexOf(Nn(me))!==-1:!1},Nn=function(me){return me.toLowerCase()},I_=function(me){return typeof me===d?me.replace(/[^\d\.]/g,i).split(".")[0]:n},Uc=function(me,Ae){if(typeof me===d)return me=me.replace(/^\s\s*/,i),typeof Ae===u?me:me.substring(0,M)},ji=function(me,Ae){for(var ie=0,be,oo,$n,Ie,re,Ln;ie<Ae.length&&!re;){var ZC=Ae[ie],z8=Ae[ie+1];for(be=oo=0;be<ZC.length&&!re&&ZC[be];)if(re=ZC[be++].exec(me),re)for($n=0;$n<z8.length;$n++)Ln=re[++oo],Ie=z8[$n],typeof Ie===c&&Ie.length>0?Ie.length===2?typeof Ie[1]==l?this[Ie[0]]=Ie[1].call(this,Ln):this[Ie[0]]=Ie[1]:Ie.length===3?typeof Ie[1]===l&&!(Ie[1].exec&&Ie[1].test)?this[Ie[0]]=Ln?Ie[1].call(this,Ln,Ie[2]):n:this[Ie[0]]=Ln?Ln.replace(Ie[1],Ie[2]):n:Ie.length===4&&(this[Ie[0]]=Ln?Ie[3].call(this,Ln.replace(Ie[1],Ie[2])):n):this[Ie]=Ln||n;ie+=2}},jc=function(me,Ae){for(var ie in Ae)if(typeof Ae[ie]===c&&Ae[ie].length>0){for(var be=0;be<Ae[ie].length;be++)if(Vc(Ae[ie][be],me))return ie===a?n:ie}else if(Vc(Ae[ie],me))return ie===a?n:ie;return me},zC={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},B8={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"},G8={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,v],[/opios[\/ ]+([\w\.]+)/i],[v,[h,ge+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[v,[h,ge+" GX"]],[/\bopr\/([\w\.]+)/i],[v,[h,ge]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[h,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,v],[/\bddg\/([\w\.]+)/i],[v,[h,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[h,"UC"+ae]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[h,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[h,"Smart Lenovo "+ae]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+ae],v],[/\bfocus\/([\w\.]+)/i],[v,[h,he+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[h,ge+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[h,ge+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[h,"MIUI "+ae]],[/fxios\/([-\w\.]+)/i],[v,[h,he]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+ae]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+ae],v],[/samsungbrowser\/([\w\.]+)/i],[v,[h,Lt+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],v],[/metasr[\/ ]?([\d\.]+)/i],[v,[h,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[h,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[h,v],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,Ui],v],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[h,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[h,pe+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,pe+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[h,"Android "+ae]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[v,jc,zC]],[/(webkit|khtml)\/([\w\.]+)/i],[h,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[h,he+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,v],[/(cobalt)\/([\w\.]+)/i],[h,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,Nn]],[/((?:i[346]|x)86)[;\)]/i],[[g,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[g,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[g,/ower/,i,Nn]],[/(sun4\w)[;\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[g,Nn]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[p,[S,Lt],[m,A]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[p,[S,Lt],[m,D]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[p,[S,w],[m,D]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[S,w],[m,A]],[/(macintosh);/i],[p,[S,w]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[S,tt],[m,D]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[p,[S,U],[m,A]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[S,U],[m,D]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[p,/_/g," "],[S,St],[m,D]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[p,/_/g," "],[S,St],[m,A]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[S,"OPPO"],[m,D]],[/\b(opd2\d{3}a?) bui/i],[p,[S,"OPPO"],[m,A]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[S,"Vivo"],[m,D]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[p,[S,"Realme"],[m,D]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[p,[S,se],[m,D]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[S,se],[m,A]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[S,W],[m,A]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[S,W],[m,D]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[p,[S,"Lenovo"],[m,A]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[p,/_/g," "],[S,"Nokia"],[m,D]],[/(pixel c)\b/i],[p,[S,Ze],[m,A]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[S,Ze],[m,D]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[p,[S,Ut],[m,D]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[S,Ut],[m,A]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[S,"OnePlus"],[m,D]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[S,x],[m,A]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[S,x],[m,D]],[/(playbook);[-\w\),; ]+(rim)/i],[p,S,[m,A]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[S,te],[m,D]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[S,V],[m,A]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[S,V],[m,D]],[/(nexus 9)/i],[p,[S,"HTC"],[m,A]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[S,[p,/_/g," "],[m,D]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[S,"Acer"],[m,A]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[S,"Meizu"],[m,D]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[p,[S,"Ulefone"],[m,D]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[S,p,[m,D]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[S,p,[m,A]],[/(surface duo)/i],[p,[S,Z],[m,A]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[S,"Fairphone"],[m,D]],[/(u304aa)/i],[p,[S,"AT&T"],[m,D]],[/\bsie-(\w*)/i],[p,[S,"Siemens"],[m,D]],[/\b(rct\w+) b/i],[p,[S,"RCA"],[m,A]],[/\b(venue[\d ]{2,7}) b/i],[p,[S,"Dell"],[m,A]],[/\b(q(?:mv|ta)\w+) b/i],[p,[S,"Verizon"],[m,A]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[p,[S,"Barnes & Noble"],[m,A]],[/\b(tm\d{3}\w+) b/i],[p,[S,"NuVision"],[m,A]],[/\b(k88) b/i],[p,[S,"ZTE"],[m,A]],[/\b(nx\d{3}j) b/i],[p,[S,"ZTE"],[m,D]],[/\b(gen\d{3}) b.+49h/i],[p,[S,"Swiss"],[m,D]],[/\b(zur\d{3}) b/i],[p,[S,"Swiss"],[m,A]],[/\b((zeki)?tb.*\b) b/i],[p,[S,"Zeki"],[m,A]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[S,"Dragon Touch"],p,[m,A]],[/\b(ns-?\w{0,9}) b/i],[p,[S,"Insignia"],[m,A]],[/\b((nxa|next)-?\w{0,9}) b/i],[p,[S,"NextBook"],[m,A]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[S,"Voice"],p,[m,D]],[/\b(lvtel\-)?(v1[12]) b/i],[[S,"LvTel"],p,[m,D]],[/\b(ph-1) /i],[p,[S,"Essential"],[m,D]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[p,[S,"Envizen"],[m,A]],[/\b(trio[-\w\. ]+) b/i],[p,[S,"MachSpeed"],[m,A]],[/\btu_(1491) b/i],[p,[S,"Rotor"],[m,A]],[/(shield[\w ]+) b/i],[p,[S,"Nvidia"],[m,A]],[/(sprint) (\w+)/i],[S,p,[m,D]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[S,Z],[m,D]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[S,Vr],[m,A]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[S,Vr],[m,D]],[/smart-tv.+(samsung)/i],[S,[m,y]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[S,Lt],[m,y]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[S,W],[m,y]],[/(apple) ?tv/i],[S,[p,w+" TV"],[m,y]],[/crkey/i],[[p,pe+"cast"],[S,Ze],[m,y]],[/droid.+aft(\w+)( bui|\))/i],[p,[S,x],[m,y]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[S,tt],[m,y]],[/(bravia[\w ]+)( bui|\))/i],[p,[S,Ut],[m,y]],[/(mitv-\w{5}) bui/i],[p,[S,St],[m,y]],[/Hbbtv.*(technisat) (.*);/i],[S,p,[m,y]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[S,Uc],[p,Uc],[m,y]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[S,p,[m,I]],[/droid.+; (shield) bui/i],[p,[S,"Nvidia"],[m,I]],[/(playstation [345portablevi]+)/i],[p,[S,Ut],[m,I]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[S,Z],[m,I]],[/((pebble))app/i],[S,p,[m,b]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[p,[S,w],[m,b]],[/droid.+; (glass) \d/i],[p,[S,Ze],[m,b]],[/droid.+; (wt63?0{2,3})\)/i],[p,[S,Vr],[m,b]],[/(quest( \d| pro)?)/i],[p,[S,Ui],[m,b]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[S,[m,N]],[/(aeobc)\b/i],[p,[S,x],[m,N]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[p,[m,D]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[m,A]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,A]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,D]],[/(android[-\w\. ]{0,9});.+buil/i],[p,[S,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[h,Ve+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,v],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[h,[v,jc,B8]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,jc,B8],[h,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,g_],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,v],[/\(bb(10);/i],[v,[h,te]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[h,he+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[h,pe+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,vt],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,v],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,v]]},on=function(me,Ae){if(typeof me===c&&(Ae=me,me=n),!(this instanceof on))return new on(me,Ae).getResult();var ie=typeof r!==u&&r.navigator?r.navigator:n,be=me||(ie&&ie.userAgent?ie.userAgent:i),oo=ie&&ie.userAgentData?ie.userAgentData:n,$n=Ae?GC(G8,Ae):G8,Ie=ie&&ie.userAgent==be;return this.getBrowser=function(){var re={};return re[h]=n,re[v]=n,ji.call(re,be,$n.browser),re[_]=I_(re[v]),Ie&&ie&&ie.brave&&typeof ie.brave.isBrave==l&&(re[h]="Brave"),re},this.getCPU=function(){var re={};return re[g]=n,ji.call(re,be,$n.cpu),re},this.getDevice=function(){var re={};return re[S]=n,re[p]=n,re[m]=n,ji.call(re,be,$n.device),Ie&&!re[m]&&oo&&oo.mobile&&(re[m]=D),Ie&&re[p]=="Macintosh"&&ie&&typeof ie.standalone!==u&&ie.maxTouchPoints&&ie.maxTouchPoints>2&&(re[p]="iPad",re[m]=A),re},this.getEngine=function(){var re={};return re[h]=n,re[v]=n,ji.call(re,be,$n.engine),re},this.getOS=function(){var re={};return re[h]=n,re[v]=n,ji.call(re,be,$n.os),Ie&&!re[h]&&oo&&oo.platform&&oo.platform!="Unknown"&&(re[h]=oo.platform.replace(/chrome os/i,vt).replace(/macos/i,g_)),re},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 be},this.setUA=function(re){return be=typeof re===d&&re.length>M?Uc(re,M):re,this},this.setUA(be),this};on.VERSION=o,on.BROWSER=ei([h,v,_]),on.CPU=ei([g]),on.DEVICE=ei([p,S,m,I,D,y,A,b,N]),on.ENGINE=on.OS=ei([h,v]),e.exports&&(t=e.exports=on),t.UAParser=on;var As=typeof r!==u&&(r.jQuery||r.Zepto);if(As&&!As.ua){var D_=new on;As.ua=D_.getResult(),As.ua.get=function(){return D_.getUA()},As.ua.set=function(me){D_.setUA(me);var Ae=D_.getResult();for(var ie in Ae)As.ua[ie]=Ae[ie]}}})(typeof window=="object"?window:Q)})(H2,H2.exports);var hz=H2.exports;Object.defineProperty(z,"__esModule",{value:!0});function Ez(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Tt=k,$e=Ez(Tt),vR=hz,Uo=new vR,Ot=Uo.getBrowser(),Cz=Uo.getCPU(),ur=Uo.getDevice(),V2=Uo.getEngine(),jo=Uo.getOS(),Wl=Uo.getUA(),gR=function(t){return Uo.setUA(t)},Yl=function(t){if(!t){console.error("No userAgent string was provided");return}var r=new vR(t);return{UA:r,browser:r.getBrowser(),cpu:r.getCPU(),device:r.getDevice(),engine:r.getEngine(),os:r.getOS(),ua:r.getUA(),setUserAgent:function(o){return r.setUA(o)}}},IR=Object.freeze({ClientUAInstance:Uo,browser:Ot,cpu:Cz,device:ur,engine:V2,os:jo,ua:Wl,setUa:gR,parseUserAgent:Yl});function DR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Sz(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?DR(Object(r),!0).forEach(function(n){Dz(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):DR(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Kl(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Kl=function(t){return typeof t}:Kl=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kl(e)}function vz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gz(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 Iz(e,t,r){return t&&gz(e.prototype,t),e}function Dz(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function U2(){return U2=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},U2.apply(this,arguments)}function Rz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B2(e,t)}function j2(e){return j2=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},j2(e)}function B2(e,t){return B2=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B2(e,t)}function Az(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Pr(e,t){if(e==null)return{};var r=Az(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Dd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tz(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Dd(e)}function Oz(e,t){return yz(e)||Nz(e,t)||$z(e,t)||Lz()}function yz(e){if(Array.isArray(e))return e}function Nz(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,a,l;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function $z(e,t){if(e){if(typeof e=="string")return RR(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return RR(e,t)}}function RR(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Lz(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
43
43
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var yt={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},qt={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},za={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},bz={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},Mz=function(t){switch(t){case yt.Mobile:return{isMobile:!0};case yt.Tablet:return{isTablet:!0};case yt.SmartTv:return{isSmartTV:!0};case yt.Console:return{isConsole:!0};case yt.Wearable:return{isWearable:!0};case yt.Browser:return{isBrowser:!0};case yt.Embedded:return{isEmbedded:!0};default:return bz}},Pz=function(t){return gR(t)},ee=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||r},G2=function(){return typeof window!="undefined"&&(window.navigator||navigator)?window.navigator||navigator:!1},z2=function(t){var r=G2();return r&&r.platform&&(r.platform.indexOf(t)!==-1||r.platform==="MacIntel"&&r.maxTouchPoints>1&&!window.MSStream)},wz=function(t,r,n,o,i){return{isBrowser:t,browserMajorVersion:ee(r.major),browserFullVersion:ee(r.version),browserName:ee(r.name),engineName:ee(n.name),engineVersion:ee(n.version),osName:ee(o.name),osVersion:ee(o.version),userAgent:ee(i)}},AR=function(t,r,n,o){return Sz({},t,{vendor:ee(r.vendor),model:ee(r.model),os:ee(n.name),osVersion:ee(n.version),ua:ee(o)})},kz=function(t,r,n,o){return{isSmartTV:t,engineName:ee(r.name),engineVersion:ee(r.version),osName:ee(n.name),osVersion:ee(n.version),userAgent:ee(o)}},xz=function(t,r,n,o){return{isConsole:t,engineName:ee(r.name),engineVersion:ee(r.version),osName:ee(n.name),osVersion:ee(n.version),userAgent:ee(o)}},Fz=function(t,r,n,o){return{isWearable:t,engineName:ee(r.name),engineVersion:ee(r.version),osName:ee(n.name),osVersion:ee(n.version),userAgent:ee(o)}},Hz=function(t,r,n,o,i){return{isEmbedded:t,vendor:ee(r.vendor),model:ee(r.model),engineName:ee(n.name),engineVersion:ee(n.version),osName:ee(o.name),osVersion:ee(o.version),userAgent:ee(i)}};function Vz(e){var t=e?Yl(e):IR,r=t.device,n=t.browser,o=t.engine,i=t.os,a=t.ua,l=Mz(r.type),u=l.isBrowser,c=l.isMobile,d=l.isTablet,_=l.isSmartTV,p=l.isConsole,h=l.isWearable,m=l.isEmbedded;if(u)return wz(u,n,o,i,a);if(_)return kz(_,o,i,a);if(p)return xz(p,o,i,a);if(c||d)return AR(l,r,i,a);if(h)return Fz(h,o,i,a);if(m)return Hz(m,r,o,i,a)}var TR=function(t){var r=t.type;return r===yt.Mobile},OR=function(t){var r=t.type;return r===yt.Tablet},yR=function(t){var r=t.type;return r===yt.Mobile||r===yt.Tablet},NR=function(t){var r=t.type;return r===yt.SmartTv},Rd=function(t){var r=t.type;return r===yt.Browser},$R=function(t){var r=t.type;return r===yt.Wearable},LR=function(t){var r=t.type;return r===yt.Console},bR=function(t){var r=t.type;return r===yt.Embedded},MR=function(t){var r=t.vendor;return ee(r)},PR=function(t){var r=t.model;return ee(r)},wR=function(t){var r=t.type;return ee(r,"browser")},kR=function(t){var r=t.name;return r===za.Android},xR=function(t){var r=t.name;return r===za.Windows},FR=function(t){var r=t.name;return r===za.MAC_OS},HR=function(t){var r=t.name;return r===za.WindowsPhone},VR=function(t){var r=t.name;return r===za.IOS},UR=function(t){var r=t.version;return ee(r)},jR=function(t){var r=t.name;return ee(r)},BR=function(t){var r=t.name;return r===qt.Chrome},GR=function(t){var r=t.name;return r===qt.Firefox},zR=function(t){var r=t.name;return r===qt.Chromium},Ad=function(t){var r=t.name;return r===qt.Edge},ZR=function(t){var r=t.name;return r===qt.Yandex},WR=function(t){var r=t.name;return r===qt.Safari||r===qt.MobileSafari},YR=function(t){var r=t.name;return r===qt.MobileSafari},KR=function(t){var r=t.name;return r===qt.Opera},qR=function(t){var r=t.name;return r===qt.InternetExplorer||r===qt.Ie},XR=function(t){var r=t.name;return r===qt.MIUI},QR=function(t){var r=t.name;return r===qt.SamsungBrowser},JR=function(t){var r=t.version;return ee(r)},e7=function(t){var r=t.major;return ee(r)},t7=function(t){var r=t.name;return ee(r)},r7=function(t){var r=t.name;return ee(r)},n7=function(t){var r=t.version;return ee(r)},o7=function(){var t=G2(),r=t&&t.userAgent&&t.userAgent.toLowerCase();return typeof r=="string"?/electron/.test(r):!1},Za=function(t){return typeof t=="string"&&t.indexOf("Edg/")!==-1},i7=function(){var t=G2();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},vn=function(){return z2("iPad")},a7=function(){return z2("iPhone")},s7=function(){return z2("iPod")},l7=function(t){return ee(t)};function c7(e){var t=e||IR,r=t.device,n=t.browser,o=t.os,i=t.engine,a=t.ua;return{isSmartTV:NR(r),isConsole:LR(r),isWearable:$R(r),isEmbedded:bR(r),isMobileSafari:YR(n)||vn(),isChromium:zR(n),isMobile:yR(r)||vn(),isMobileOnly:TR(r),isTablet:OR(r)||vn(),isBrowser:Rd(r),isDesktop:Rd(r),isAndroid:kR(o),isWinPhone:HR(o),isIOS:VR(o)||vn(),isChrome:BR(n),isFirefox:GR(n),isSafari:WR(n),isOpera:KR(n),isIE:qR(n),osVersion:UR(o),osName:jR(o),fullBrowserVersion:JR(n),browserVersion:e7(n),browserName:t7(n),mobileVendor:MR(r),mobileModel:PR(r),engineName:r7(i),engineVersion:n7(i),getUA:l7(a),isEdge:Ad(n)||Za(a),isYandex:ZR(n),deviceType:wR(r),isIOS13:i7(),isIPad13:vn(),isIPhone13:a7(),isIPod13:s7(),isElectron:o7(),isEdgeChromium:Za(a),isLegacyEdge:Ad(n)&&!Za(a),isWindows:xR(o),isMacOs:FR(o),isMIUI:XR(n),isSamsungBrowser:QR(n)}}var u7=NR(ur),f7=LR(ur),d7=$R(ur),Uz=bR(ur),jz=YR(Ot)||vn(),Bz=zR(Ot),Td=yR(ur)||vn(),_7=TR(ur),p7=OR(ur)||vn(),m7=Rd(ur),Gz=Rd(ur),h7=kR(jo),E7=HR(jo),C7=VR(jo)||vn(),zz=BR(Ot),Zz=GR(Ot),Wz=WR(Ot),Yz=KR(Ot),S7=qR(Ot),Kz=UR(jo),qz=jR(jo),Xz=JR(Ot),Qz=e7(Ot),Jz=t7(Ot),eZ=MR(ur),tZ=PR(ur),rZ=r7(V2),nZ=n7(V2),oZ=l7(Wl),iZ=Ad(Ot)||Za(Wl),aZ=ZR(Ot),sZ=wR(ur),lZ=i7(),cZ=vn(),uZ=a7(),fZ=s7(),dZ=o7(),_Z=Za(Wl),pZ=Ad(Ot)&&!Za(Wl),mZ=xR(jo),hZ=FR(jo),EZ=XR(Ot),CZ=QR(Ot),SZ=function(t){if(!t||typeof t!="string"){console.error("No valid user agent string was provided");return}var r=Yl(t),n=r.device,o=r.browser,i=r.os,a=r.engine,l=r.ua;return c7({device:n,browser:o,os:i,engine:a,ua:l})},vZ=function(t){var r=t.renderWithFragment,n=t.children,o=Pr(t,["renderWithFragment","children"]);return h7?r?$e.createElement(Tt.Fragment,null,n):$e.createElement("div",o,n):null},gZ=function(t){var r=t.renderWithFragment,n=t.children,o=Pr(t,["renderWithFragment","children"]);return m7?r?$e.createElement(Tt.Fragment,null,n):$e.createElement("div",o,n):null},IZ=function(t){var r=t.renderWithFragment,n=t.children,o=Pr(t,["renderWithFragment","children"]);return S7?r?$e.createElement(Tt.Fragment,null,n):$e.createElement("div",o,n):null},DZ=function(t){var r=t.renderWithFragment,n=t.children,o=Pr(t,["renderWithFragment","children"]);return C7?r?$e.createElement(Tt.Fragment,null,n):$e.createElement("div",o,n):null},RZ=function(t){var r=t.renderWithFragment,n=t.children,o=Pr(t,["renderWithFragment","children"]);return Td?r?$e.createElement(Tt.Fragment,null,n):$e.createElement("div",o,n):null},AZ=function(t){var r=t.renderWithFragment,n=t.children,o=Pr(t,["renderWithFragment","children"]);return p7?r?$e.createElement(Tt.Fragment,null,n):$e.createElement("div",o,n):null},TZ=function(t){var r=t.renderWithFragment,n=t.children,o=Pr(t,["renderWithFragment","children"]);return E7?r?$e.createElement(Tt.Fragment,null,n):$e.createElement("div",o,n):null},OZ=function(t){var r=t.renderWithFragment,n=t.children;t.viewClassName,t.style;var o=Pr(t,["renderWithFragment","children","viewClassName","style"]);return _7?r?$e.createElement(Tt.Fragment,null,n):$e.createElement("div",o,n):null},yZ=function(t){var r=t.renderWithFragment,n=t.children,o=Pr(t,["renderWithFragment","children"]);return u7?r?$e.createElement(Tt.Fragment,null,n):$e.createElement("div",o,n):null},NZ=function(t){var r=t.renderWithFragment,n=t.children,o=Pr(t,["renderWithFragment","children"]);return f7?r?$e.createElement(Tt.Fragment,null,n):$e.createElement("div",o,n):null},$Z=function(t){var r=t.renderWithFragment,n=t.children,o=Pr(t,["renderWithFragment","children"]);return d7?r?$e.createElement(Tt.Fragment,null,n):$e.createElement("div",o,n):null},LZ=function(t){var r=t.renderWithFragment,n=t.children;t.viewClassName,t.style;var o=t.condition,i=Pr(t,["renderWithFragment","children","viewClassName","style","condition"]);return o?r?$e.createElement(Tt.Fragment,null,n):$e.createElement("div",i,n):null};function bZ(e){return function(t){Rz(r,t);function r(n){var o;return vz(this,r),o=Tz(this,j2(r).call(this,n)),o.isEventListenerAdded=!1,o.handleOrientationChange=o.handleOrientationChange.bind(Dd(o)),o.onOrientationChange=o.onOrientationChange.bind(Dd(o)),o.onPageLoad=o.onPageLoad.bind(Dd(o)),o.state={isLandscape:!1,isPortrait:!1},o}return Iz(r,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var o=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:o===0,isLandscape:o===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window=="undefined"?"undefined":Kl(window))!==void 0&&Td&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return $e.createElement(e,U2({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),r}($e.Component)}function MZ(){var e=Tt.useState(function(){var i=window.innerWidth>window.innerHeight?90:0;return{isPortrait:i===0,isLandscape:i===90,orientation:i===0?"portrait":"landscape"}}),t=Oz(e,2),r=t[0],n=t[1],o=Tt.useCallback(function(){var i=window.innerWidth>window.innerHeight?90:0,a={isPortrait:i===0,isLandscape:i===90,orientation:i===0?"portrait":"landscape"};r.orientation!==a.orientation&&n(a)},[r.orientation]);return Tt.useEffect(function(){return(typeof window=="undefined"?"undefined":Kl(window))!==void 0&&Td&&(o(),window.addEventListener("load",o,!1),window.addEventListener("resize",o,!1)),function(){window.removeEventListener("resize",o,!1),window.removeEventListener("load",o,!1)}},[o]),r}function v7(e){var t=e||window.navigator.userAgent;return Yl(t)}function PZ(e){var t=e||window.navigator.userAgent,r=v7(t),n=c7(r);return[n,r]}z.AndroidView=vZ,z.BrowserTypes=qt,z.BrowserView=gZ,z.ConsoleView=NZ,z.CustomView=LZ,z.IEView=IZ,z.IOSView=DZ,z.MobileOnlyView=OZ,z.MobileView=RZ,z.OsTypes=za,z.SmartTVView=yZ,z.TabletView=AZ,z.WearableView=$Z,z.WinPhoneView=TZ;var Od=z.browserName=Jz,wZ=z.browserVersion=Qz;z.deviceDetect=Vz,z.deviceType=sZ,z.engineName=rZ,z.engineVersion=nZ;var g7=z.fullBrowserVersion=Xz;z.getSelectorsByUserAgent=SZ,z.getUA=oZ,z.isAndroid=h7,z.isBrowser=m7,z.isChrome=zz,z.isChromium=Bz,z.isConsole=f7;var kZ=z.isDesktop=Gz;z.isEdge=iZ,z.isEdgeChromium=_Z,z.isElectron=dZ,z.isEmbedded=Uz;var I7=z.isFirefox=Zz;z.isIE=S7;var D7=z.isIOS=C7;z.isIOS13=lZ,z.isIPad13=cZ,z.isIPhone13=uZ,z.isIPod13=fZ,z.isLegacyEdge=pZ,z.isMIUI=EZ,z.isMacOs=hZ;var Wa=z.isMobile=Td;z.isMobileOnly=_7,z.isMobileSafari=jz,z.isOpera=Yz,z.isSafari=Wz,z.isSamsungBrowser=CZ,z.isSmartTV=u7,z.isTablet=p7,z.isWearable=d7,z.isWinPhone=E7,z.isWindows=mZ,z.isYandex=aZ,z.mobileModel=tZ,z.mobileVendor=eZ;var Z2=z.osName=qz,R7=z.osVersion=Kz;z.parseUserAgent=Yl,z.setUserAgent=Pz,z.useDeviceData=v7,z.useDeviceSelectors=PZ,z.useMobileOrientation=MZ,z.withOrientationChange=bZ;const Et=[];for(let e=0;e<256;++e)Et.push((e+256).toString(16).slice(1));function xZ(e,t=0){return(Et[e[t+0]]+Et[e[t+1]]+Et[e[t+2]]+Et[e[t+3]]+"-"+Et[e[t+4]]+Et[e[t+5]]+"-"+Et[e[t+6]]+Et[e[t+7]]+"-"+Et[e[t+8]]+Et[e[t+9]]+"-"+Et[e[t+10]]+Et[e[t+11]]+Et[e[t+12]]+Et[e[t+13]]+Et[e[t+14]]+Et[e[t+15]]).toLowerCase()}let W2;const FZ=new Uint8Array(16);function HZ(){if(!W2){if(typeof crypto=="undefined"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");W2=crypto.getRandomValues.bind(crypto)}return W2(FZ)}const A7={randomUUID:typeof crypto!="undefined"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Y2(e,t,r){if(A7.randomUUID&&!t&&!e)return A7.randomUUID();e=e||{};const n=e.random||(e.rng||HZ)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,xZ(n)}const T7=e=>{switch(e){case"":case"true":return!0;case"false":return!1;case null:default:return}};function O7(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const n=[...t];return n.length===0?function(o){return o}:n.length===1?n[0]:n.reduce(function(o,i){return function(){return o(i(...arguments))}})}function y7(e,t,r,n,o,i,a,l,u){const c=e/t,d=r/n,p=(u===td.contain?d<c:d>c)?e/r:t/n,h=(e/p-r)/2,m=(t/p-n)/2,S=o/p,v=i/p,g=a/p-h,I=r-(g+S),D=l/p-m;return{width:S,height:v,left:g,right:I,top:D}}function N7(e,t){return new CustomEvent(e,{bubbles:!0,composed:!0,detail:t})}function $7(){return B(this,null,function*(){const t=(yield navigator.mediaDevices.enumerateDevices()).filter(n=>n.kind==="videoinput"),r=t.every(n=>n.label!=="");return{videoDevices:t,isCameraAllowed:r}})}function VZ(e,t){const r=e.toLowerCase();return t.some(n=>r.includes(n))}function L7(e){return B(this,null,function*(){const t={frontCameras:[],backCameras:[]};let r=e.videoDevices;if(!e.isCameraAllowed){const n=yield navigator.mediaDevices.getUserMedia({video:!0,audio:!1});r=(yield navigator.mediaDevices.enumerateDevices()).filter(i=>i.kind==="videoinput"),n.getTracks().forEach(i=>i.stop())}for(const n of r)VZ(n.label,eU)?t.backCameras.push(new SR(n,Kt.environment)):t.frontCameras.push(new SR(n,Kt.user));return t})}function b7(e,t,r){const n=[...t.frontCameras,...t.backCameras];if(!n.length)return{deviceId:"",facing:void 0,groupId:"",label:""};if(r)return n.find(i=>i.deviceId===r)||{deviceId:"",facing:void 0,groupId:"",label:""};if(e===Kt.environment&&t.backCameras.length){const i=t.backCameras.map(a=>{const l=/\b([0-9]+)MP?\b/i,u=a.label.match(l);return u!==null?parseInt(u[1],10):NaN});if(i.every(a=>!isNaN(a))){const a=i.lastIndexOf(Math.max(...i));return t.backCameras[a]}else return D7?{deviceId:"",facing:Kt.environment,groupId:"",label:""}:t.backCameras.sort((a,l)=>a.label.localeCompare(l.label))[0]}else return{deviceId:"",facing:Kt.user,groupId:"",label:""}}const K2=e=>{e.getTracks().forEach(t=>t.stop())};function M7(e,t,r){return B(this,null,function*(){const n={status:Ne.PREPARING,stream:null,camera:{deviceId:"",facing:void 0,groupId:"",label:""}};if(navigator.mediaDevices){if(!t.deviceId&&!t.facing)return r?(n.status=Ne.INCORRECT_CAMERA_ID,n):(n.status=Ne.NO_CAMERA,n);const o={height:{ideal:e.height>k4?Cn.FULL_HD.height:e.height},width:{ideal:e.width>k4?Cn.FULL_HD.width:e.width},frameRate:{ideal:30}};t.deviceId?o.deviceId={exact:t.deviceId}:o.facingMode={ideal:t.facing};const i=yield navigator.mediaDevices.getUserMedia({video:o,audio:!1}),a=i.getVideoTracks()[0],{deviceId:l,groupId:u,facingMode:c}=a.getSettings(),d={deviceId:l||t.deviceId,label:a.label||t.label,groupId:u||t.groupId,facing:c||t.facing};return{status:Ne.READY,stream:i,camera:d}}else return n.status=Ne.NOT_SUPPORTED,n})}function yd(e,t){const r={imageData:[],raw:"",mimeType:""},{videoHeight:n,videoWidth:o,readyState:i}=e;if(n&&o&&i===b4.HAVE_ENOUGH_DATA){const a=document.createElement("canvas");a.width=o,a.height=n;const l=a.getContext("2d",{willReadFrequently:!0});if(l==null||l.drawImage(e,0,0),t!==gi.UINT){const u="image/jpeg";r.raw=a.toDataURL(u,.8).replace("data:".concat(u,";base64,"),""),r.mimeType=u}if(t!==gi.BASE64){const u=l==null?void 0:l.getImageData(0,0,o,n);u&&(r.imageData=[u])}}return r}function q2(e,t){const r=[...e.frontCameras,...e.backCameras],o=(r.findIndex(i=>i.deviceId===t)+1)%r.length;return r[o].deviceId}function Ht(e,t){const r=o=>o!==null&&typeof o=="object"&&!Array.isArray(o),n=Object.assign({},e);if(r(e)&&r(t))for(const o of Object.keys(t)){const i=e[o],a=t[o];r(a)?i===void 0?n[o]=a:n[o]=Ht(i,a):n[o]=a}return n}function P7(e){return B(this,null,function*(){return new Promise(t=>setTimeout(t,e))})}const w7=e=>{let t;try{var r;t=(r=window.localStorage.getItem(e))!==null&&r!==void 0?r:Y2(),window.localStorage.setItem(e,t)}catch(n){t=Y2()}return t},UZ=()=>["localhost","127.0.0.1","","::1"].includes(window.location.hostname),jZ=()=>!UZ()&&window.location.protocol==="http:";function ql(e,t,r){return(t=BZ(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function BZ(e){var t=GZ(e,"string");return typeof t=="symbol"?t:t+""}function GZ(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class zZ{constructor(){ql(this,"_levels",[]),ql(this,"_transports",[]),ql(this,"_logs",[]),ql(this,"_prevTime",0),ql(this,"logListener",null);try{if(!window.localStorage)return;const t=window.localStorage.getItem("logger");if(!t)return;const[r,n]=t.split(">");this._levels=r.split(","),n&&(this._transports=n.split(","))}catch(t){return}}create(t,r){return n=>{if(!this._levels.includes(t)&&!this._levels.includes("all")&&!this.logListener)return;const o=Date.now();let i=0;if(this._prevTime&&(i=o-this._prevTime),this._prevTime=o,this.logListener&&this.logListener("".concat(t,": ").concat(n," +").concat(i,"ms")),this._transports.includes("console")){const a=(r==null?void 0:r.color)||"blue";console.log("%c%s: %c%s %c+%dms","color: ".concat(a,";"),t,"",n,"color: ".concat(a,";"),i)}this._transports.includes("file")&&this._logs.push("".concat(t,": ").concat(n," +").concat(i,"ms"))}}saveLogs(){if(!this._logs.length)return;const t=this._logs.join(`
|
|
44
44
|
`),r=new Blob([t],{type:"text/plain"}),n=window.URL.createObjectURL(r),o=document.createElement("a");o.download="log.txt",o.href=n,o.click(),window.URL.revokeObjectURL(n),this._logs=[]}}const Nt=new zZ;function k7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function wr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?k7(Object(r),!0).forEach(function(n){ZZ(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k7(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ZZ(e,t,r){return(t=WZ(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function WZ(e){var t=YZ(e,"string");return typeof t=="symbol"?t:t+""}function YZ(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const Ai=Nt.create("main");function KZ(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kt.environment,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Cn.VGA,r=arguments.length>2?arguments[2]:void 0;const[{status:n,stream:o,camera:i},a]=k.useState({status:Ne.PREPARING,stream:null,camera:{deviceId:"",facing:void 0,groupId:"",label:""}}),[l,u]=k.useState(null),[c,d]=k.useState(null),_=k.useRef(""),p=k.useCallback(()=>{a(h=>wr(wr({},h),{},{status:Ne.PLAY}))},[]);return k.useEffect(()=>{let h=!0;return $7().then(m=>{Ai("Video devices: ".concat(JSON.stringify(m))),h&&(Ai(m.isCameraAllowed?"Preparing the camera":"Requesting the camera"),a(S=>wr(wr({},S),{},{status:m.isCameraAllowed?Ne.PREPARING:Ne.REQUESTING})),u(m))}).catch(m=>{Ai("Error in receiving media devices: ".concat(m)),h&&a(S=>wr(wr({},S),{},{status:jZ()?Ne.HTTP_NOT_SUPPORTED:window.isSecureContext?Ne.NOT_SUPPORTED:Ne.INSECURE_PAGE_CONTEXT}))}),()=>{h=!1}},[]),k.useEffect(()=>{let h=!0;if(!(!l||c))return L7(l).then(m=>{Ai("Sorted cameras: ".concat(JSON.stringify(m))),h&&d(m)}).catch(m=>{if(Ai("Error sorting cameras: ".concat(m)),!!h){if(m instanceof Error&&m.name===M4)return a(S=>wr(wr({},S),{},{status:Ne.PERMISSION_DENIED}));a(S=>wr(wr({},S),{},{status:Ne.UNKNOWN_ERROR}))}}),()=>{h=!1}},[l]),k.useEffect(()=>{let h=!0;const m=n===Ne.PREPARING||n===Ne.REQUESTING;if(!c||o!==null||!m)return;const S=b7(e,c,r);return Ai("Selected camera: ".concat(JSON.stringify(S))),B(this,null,function*(){try{yield P7(I7?w4:0);const I=yield M7(t,S,r);if(h)_.current=I.camera.deviceId,a(I);else{if(!I.stream)return;K2(I.stream)}}catch(g){if(Ai("Get video error: ".concat(g)),!h)return;a(I=>wr(wr({},I),{},{status:Ne.UNKNOWN_ERROR}))}}),()=>{h=!1}},[c,o,e,r,n,t]),k.useEffect(()=>()=>{o&&K2(o)},[o]),k.useEffect(()=>{if(!r||!_.current)return;const h=r!==_.current;n!==Ne.PLAY||!h||a({status:Ne.PREPARING,stream:null,camera:{deviceId:"",facing:void 0,groupId:"",label:""}})},[r,n]),{status:n,stream:o,camera:i,sortedDevices:c,onPlay:p}}const x7={container:"_container_1hyic_1",video:"_video_1hyic_6"};function tn(e,t,r){return(t=qZ(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qZ(e){var t=XZ(e,"string");return typeof t=="symbol"?t:t+""}function XZ(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const Ya=Nt.create("main");class QZ{constructor(){tn(this,"chunks",[]),tn(this,"recorder",null),tn(this,"mimeType","video/webm"),tn(this,"record",null),tn(this,"delayTimeout",null),tn(this,"durationTimeout",null),tn(this,"isRecording",!1),tn(this,"debug",!1),tn(this,"delay",0),tn(this,"bitrate",12e5),tn(this,"duration",void 0)}init(t){if(!("MediaRecorder"in window)){Ya("MediaRecorder is missing");return}this.mimeType=MediaRecorder.isTypeSupported("video/webm")?"video/webm":"video/mp4;codecs=avc1",this.recorder=new MediaRecorder(t,{mimeType:this.mimeType,videoBitsPerSecond:this.bitrate}),this.recorder.addEventListener("dataavailable",this.setChunk.bind(this)),this.recorder.addEventListener("error",this.errorHandle.bind(this)),this.delay?this.delayTimeout=setTimeout(()=>{this.delayTimeout=null,this.startRecording()},this.delay):this.startRecording(),this.duration&&(this.durationTimeout=setTimeout(()=>B(this,null,function*(){this.durationTimeout=null,this.record=yield this.getRecord()}),this.delay+this.duration)),Ya("MediaRecorder initialized: { duration: ".concat(this.duration,", delay: ").concat(this.delay,", mimeType: ").concat(this.mimeType," }"))}startRecording(){this.recorder&&(this.recorder.start(),this.isRecording=!0,Ya("Recording has started"))}clearTimeouts(){this.delayTimeout&&clearTimeout(this.delayTimeout),this.durationTimeout&&clearTimeout(this.durationTimeout)}getRecord(){return B(this,null,function*(){if(this.record){const t=this.record;return this.record=null,t}return!this.recorder||this.recorder.state==="inactive"?null:(this.stopRecord(),new Promise(t=>{if(!this.recorder)return t(null);this.recorder.onstop=()=>B(this,null,function*(){const r=yield this.getVideoData();Ya("Video record resolved"),t(r)})}))})}stopRecord(){var t,r,n;if(!this.recorder||this.recorder.state==="inactive"){this.clearTimeouts();return}(t=this.recorder)===null||t===void 0||t.stop(),(r=this.recorder)===null||r===void 0||r.removeEventListener("dataavailable",this.setChunk),(n=this.recorder)===null||n===void 0||n.removeEventListener("error",this.errorHandle),this.clearTimeouts(),this.isRecording=!1,Ya("Recording stopped")}errorHandle(t){Ya("Stream recorder service error: ".concat(JSON.stringify(t)))}setChunk(t){this.chunks.push(t.data)}getVideoData(){return B(this,null,function*(){const t=new Blob(this.chunks,{type:this.mimeType});if(this.debug){const r=document.createElement("a"),n=URL.createObjectURL(t);r.href=n,r.download="video",r.click(),URL.revokeObjectURL(n)}return new Promise(r=>{r({data:t,mimeType:t.type})})})}}function F7(e){let{onVideoStatusChange:t,onVideoSizeChange:r,mode:n,resolution:o,mirroring:i,onFailStatus:a,cameraId:l,onRecordService:u,videoRecord:c,onVideoStarted:d,onVideoStopped:_,mirrorType:p}=e;const h=k.useRef(null),{status:m,stream:S,camera:v,sortedDevices:g,onPlay:I}=KZ(n,o,l),D=k.useRef(null),A=k.useRef(null),y=(v==null?void 0:v.facing)===Kt.environment||p===Hh.noMirror?1:-1,b=i?-y:y,N=()=>{I(),d==null||d()};return k.useEffect(()=>{const M=D.current,x=A.current,w=()=>{!M||!x||r==null||r({videoElement:M,videoParams:{width:M.videoWidth,height:M.videoHeight},videoContainerParams:{width:x.clientWidth,height:x.clientHeight}})};return M&&(window.addEventListener("resize",w),M.addEventListener("resize",w)),()=>{var V;M&&(window.removeEventListener("resize",w),M.removeEventListener("resize",w)),(V=h.current)===null||V===void 0||V.stopRecord()}},[]),k.useEffect(()=>{const M=D.current;if(m===Ne.READY&&M&&S&&(M.srcObject=S,D7?setTimeout(()=>M.play(),JV):M.play(),c)){if(h.current){var te;(te=h.current)===null||te===void 0||te.stopRecord()}else{const pe=new QZ;if(typeof c!="boolean"){var w,V;pe.delay=(w=c.delay)!==null&&w!==void 0?w:pe.delay,pe.duration=c.duration,pe.bitrate=(V=c.bitrate)!==null&&V!==void 0?V:pe.bitrate,pe.debug=!!c.debug}h.current=pe,u==null||u(pe)}h.current.init(S)}const ae=x4[m];a&&ae&&a(ae),t({videoStatus:m,camera:v,sortedDevices:g})},[m,v,S,g,c]),f.jsx("div",{part:"webcamera-container",ref:A,className:x7.container,children:f.jsx("video",{part:"webcamera-video",onAbort:_,onLoadedData:N,className:x7.video,style:{transform:"scaleX(".concat(b,")")},ref:D,playsInline:!0})})}const Fe={container:"_container_1j5e9_1",layout:"_layout_1j5e9_8","tips-container":"_tips-container_1j5e9_12",svg:"_svg_1j5e9_23","message-container":"_message-container_1j5e9_32",icon:"_icon_1j5e9_44",message:"_message_1j5e9_32","message-background":"_message-background_1j5e9_66","tips-frameless":"_tips-frameless_1j5e9_72",title:"_title_1j5e9_77","bottom-functional-buttons":"_bottom-functional-buttons_1j5e9_84","top-functional-buttons":"_top-functional-buttons_1j5e9_84","buttons-left":"_buttons-left_1j5e9_90","buttons-right":"_buttons-right_1j5e9_90","left-functional-buttons":"_left-functional-buttons_1j5e9_90","snapshot-button":"_snapshot-button_1j5e9_160","skip-button":"_skip-button_1j5e9_190",flip:"_flip_1j5e9_212",front:"_front_1j5e9_226",back:"_back_1j5e9_227","flip-front":"_flip-front_1j5e9_1","flip-back":"_flip-back_1j5e9_1","fade-enter":"_fade-enter_1j5e9_275","fade-exit":"_fade-exit_1j5e9_279","fade-enter-active":"_fade-enter-active_1j5e9_283","fade-exit-active":"_fade-exit-active_1j5e9_287",loader:"_loader_1j5e9_296",copyright:"_copyright_1j5e9_302"};function JZ(e){switch(e){case J.PROCESSING:case J.SUCCESS:return{icon:"docreader-processing",title:"documentProcessing"};case J.SERVICE_PREPARING:return{icon:"docreader-processing-error",title:"preparingService"};case J.SHAKING:return{icon:"docreader-processing-error",title:"keepDeviceStill"};case J.FINDING:return{icon:"docreader-search",title:"placeDocumentIntoFrame"};case J.SNAPSHOT:return{icon:"square",title:"positionDocumentCenter"};case J.FOCUS:return{icon:"docreader-processing-error",title:"noFocus"};case J.RESOLUTION:return{icon:"docreader-processing-error",title:"moveCloser"};case J.GLARE:return{icon:"docreader-processing-error",title:"glaresOnDocument"};case J.HOLD:return{icon:"docreader-processing-error",title:"holdDocumentStraight"};case J.START_NEXT_PAGE:return{icon:"docreader-flip",title:"flipDocument"};default:return{icon:"docreader-processing-error",title:"somethingWentWrong"}}}const eW=Nt.create("main"),H7=k.createContext({onEvent:()=>eW('Function "onEvent" not defined.')}),it=()=>k.useContext(H7);function tW(e){let{layoutParams:t,maskParams:r,borderColor:n}=e;const{backgroundMaskAlpha:o=FV,cameraFrameShapeType:i=ba.line,cameraFrameLineCap:a=wh.butt,cameraFrameLineLength:l=xV,cameraFrameCornerRadius:u=kV}=it(),[c,d]=k.useState(null);return k.useEffect(()=>{if(i!==ba.corners)return;const _=r.width/100*l,p=r.left+r.width-_-u,h=r.left+r.width,m=r.top+r.height-_-u,S=r.left+_+u,v=r.top+r.height,g=r.top+_+u;d({topRight:{x:p,y:r.top},bottomRight:{x:h,y:m},bottomLeft:{x:S,y:v},topLeft:{x:r.left,y:g},pathWidth:_})},[i,r,l,u]),f.jsxs("svg",{part:"frame",className:Fe.svg,xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid slice",viewBox:"0 0 ".concat(t.width," ").concat(t.height),children:[f.jsx("defs",{children:f.jsxs("mask",{id:"bgClip",children:[f.jsx("rect",{x:"0",y:"0",width:t.width,height:t.height,fill:"#fff",opacity:o}),f.jsx("rect",{x:r.left,y:r.top,rx:u,ry:u,width:r.width,height:r.height,stroke:"black",strokeWidth:r.stroke})]})}),f.jsx("rect",{mask:"url(#bgClip)",x:"0",y:"0",width:t.width,height:t.height,fill:"black"}),i===ba.corners&&c&&f.jsxs(f.Fragment,{children:[f.jsx("path",{d:"M".concat(c.topRight.x,",").concat(c.topRight.y," h").concat(c.pathWidth," a").concat(u,",").concat(u," 0 0 1 ").concat(u,",").concat(u," v").concat(c.pathWidth),fill:"none",stroke:n,strokeWidth:r.stroke,strokeLinecap:a}),f.jsx("path",{d:"M".concat(c.bottomRight.x,",").concat(c.bottomRight.y," v").concat(c.pathWidth," a").concat(u,",").concat(u," 0 0 1 ").concat(-u,",").concat(u," h-").concat(c.pathWidth),fill:"none",stroke:n,strokeWidth:r.stroke,strokeLinecap:a}),f.jsx("path",{d:"M".concat(c.bottomLeft.x,",").concat(c.bottomLeft.y," h-").concat(c.pathWidth," a").concat(u,",").concat(u," 0 0 1 ").concat(-u,",").concat(-u," v-").concat(c.pathWidth),fill:"none",stroke:n,strokeWidth:r.stroke,strokeLinecap:a}),f.jsx("path",{d:"M".concat(c.topLeft.x,",").concat(c.topLeft.y," v-").concat(c.pathWidth," a").concat(u,",").concat(-u," 0 0 1 ").concat(u,",").concat(-u," h").concat(c.pathWidth),fill:"none",stroke:n,strokeWidth:r.stroke,strokeLinecap:a})]}),i===ba.line&&f.jsx("rect",{x:r.left,y:r.top,rx:u,ry:u,width:r.width,height:r.height,fill:"none",stroke:n,strokeWidth:r.stroke})]})}function X2(){return X2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},X2.apply(null,arguments)}function V7(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}function Q2(e,t){return Q2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Q2(e,t)}function J2(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Q2(e,t)}function rW(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function nW(e,t){e.classList?e.classList.add(t):rW(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function U7(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function oW(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=U7(e.className,t):e.setAttribute("class",U7(e.className&&e.className.baseVal||"",t))}const j7={disabled:!1},eE=je.createContext(null);var B7=function(t){return t.scrollTop},Xl="unmounted",Ti="exited",kr="entering",gn="entered",Ql="exiting",Qn=function(e){J2(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,l=a&&!a.isMounting?n.enter:n.appear,u;return i.appearStatus=null,n.in?l?(u=Ti,i.appearStatus=kr):u=gn:n.unmountOnExit||n.mountOnEnter?u=Xl:u=Ti,i.state={status:u},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Xl?{status:Ti}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==kr&&a!==gn&&(i=kr):(a===kr||a===gn)&&(i=Ql)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,l;return i=a=l=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,l=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:l}},r.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===kr){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:bf.findDOMNode(this);a&&B7(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ti&&this.setState({status:Xl})},r.performEnter=function(o){var i=this,a=this.props.enter,l=this.context?this.context.isMounting:o,u=this.props.nodeRef?[l]:[bf.findDOMNode(this),l],c=u[0],d=u[1],_=this.getTimeouts(),p=l?_.appear:_.enter;if(!o&&!a||j7.disabled){this.safeSetState({status:gn},function(){i.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:kr},function(){i.props.onEntering(c,d),i.onTransitionEnd(p,function(){i.safeSetState({status:gn},function(){i.props.onEntered(c,d)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),l=this.props.nodeRef?void 0:bf.findDOMNode(this);if(!i||j7.disabled){this.safeSetState({status:Ti},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Ql},function(){o.props.onExiting(l),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Ti},function(){o.props.onExited(l)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(l){a&&(a=!1,i.nextCallback=null,o(l))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:bf.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!a||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=u[0],d=u[1];this.props.addEndListener(c,d)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Xl)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var l=V7(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return je.createElement(eE.Provider,{value:null},typeof a=="function"?a(o,l):je.cloneElement(je.Children.only(a),l))},t}(je.Component);Qn.contextType=eE,Qn.propTypes={};function Ka(){}Qn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ka,onEntering:Ka,onEntered:Ka,onExit:Ka,onExiting:Ka,onExited:Ka},Qn.UNMOUNTED=Xl,Qn.EXITED=Ti,Qn.ENTERING=kr,Qn.ENTERED=gn,Qn.EXITING=Ql;var iW=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return nW(t,n)})},tE=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return oW(t,n)})},rE=function(e){J2(t,e);function t(){for(var n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=e.call.apply(e,[this].concat(i))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(l,u){var c=n.resolveArguments(l,u),d=c[0],_=c[1];n.removeClasses(d,"exit"),n.addClass(d,_?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(l,u)},n.onEntering=function(l,u){var c=n.resolveArguments(l,u),d=c[0],_=c[1],p=_?"appear":"enter";n.addClass(d,p,"active"),n.props.onEntering&&n.props.onEntering(l,u)},n.onEntered=function(l,u){var c=n.resolveArguments(l,u),d=c[0],_=c[1],p=_?"appear":"enter";n.removeClasses(d,p),n.addClass(d,p,"done"),n.props.onEntered&&n.props.onEntered(l,u)},n.onExit=function(l){var u=n.resolveArguments(l),c=u[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(l)},n.onExiting=function(l){var u=n.resolveArguments(l),c=u[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(l)},n.onExited=function(l){var u=n.resolveArguments(l),c=u[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(l)},n.resolveArguments=function(l,u){return n.props.nodeRef?[n.props.nodeRef.current,l]:[l,u]},n.getClassNames=function(l){var u=n.props.classNames,c=typeof u=="string",d=c&&u?u+"-":"",_=c?""+d+l:u[l],p=c?_+"-active":u[l+"Active"],h=c?_+"-done":u[l+"Done"];return{baseClassName:_,activeClassName:p,doneClassName:h}},n}var r=t.prototype;return r.addClass=function(o,i,a){var l=this.getClassNames(i)[a+"ClassName"],u=this.getClassNames("enter"),c=u.doneClassName;i==="appear"&&a==="done"&&c&&(l+=" "+c),a==="active"&&o&&B7(o),l&&(this.appliedClasses[i][a]=l,iW(o,l))},r.removeClasses=function(o,i){var a=this.appliedClasses[i],l=a.base,u=a.active,c=a.done;this.appliedClasses[i]={},l&&tE(o,l),u&&tE(o,u),c&&tE(o,c)},r.render=function(){var o=this.props;o.classNames;var i=V7(o,["classNames"]);return je.createElement(Qn,X2({},i,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(je.Component);rE.defaultProps={classNames:""},rE.propTypes={};var Nd,$d;function aW(e,t){return!(e===t||je.isValidElement(e)&&je.isValidElement(t)&&e.key!=null&&e.key===t.key)}var qa={out:"out-in",in:"in-out"},Ld=function(t,r,n){return function(){var o;t.props[r]&&(o=t.props)[r].apply(o,arguments),n()}},sW=(Nd={},Nd[qa.out]=function(e){var t=e.current,r=e.changeState;return je.cloneElement(t,{in:!1,onExited:Ld(t,"onExited",function(){r(kr,null)})})},Nd[qa.in]=function(e){var t=e.current,r=e.changeState,n=e.children;return[t,je.cloneElement(n,{in:!0,onEntered:Ld(n,"onEntered",function(){r(kr)})})]},Nd),lW=($d={},$d[qa.out]=function(e){var t=e.children,r=e.changeState;return je.cloneElement(t,{in:!0,onEntered:Ld(t,"onEntered",function(){r(gn,je.cloneElement(t,{in:!0}))})})},$d[qa.in]=function(e){var t=e.current,r=e.children,n=e.changeState;return[je.cloneElement(t,{in:!1,onExited:Ld(t,"onExited",function(){n(gn,je.cloneElement(r,{in:!0}))})}),je.cloneElement(r,{in:!0})]},$d),nE=function(e){J2(t,e);function t(){for(var n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=e.call.apply(e,[this].concat(i))||this,n.state={status:gn,current:null},n.appeared=!1,n.changeState=function(l,u){u===void 0&&(u=n.state.current),n.setState({status:l,current:u})},n}var r=t.prototype;return r.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(o,i){return o.children==null?{current:null}:i.status===kr&&o.mode===qa.in?{status:kr}:i.current&&aW(i.current,o.children)?{status:Ql}:{current:je.cloneElement(o.children,{in:!0})}},r.render=function(){var o=this.props,i=o.children,a=o.mode,l=this.state,u=l.status,c=l.current,d={children:i,current:c,changeState:this.changeState,status:u},_;switch(u){case kr:_=lW[a](d);break;case Ql:_=sW[a](d);break;case gn:_=c}return je.createElement(eE.Provider,{value:{isMounting:!this.appeared}},_)},t}(je.Component);nE.propTypes={},nE.defaultProps={mode:qa.out};function cW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||80,height:t||80,viewBox:"0 0 86 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("ellipse",{cx:"43",cy:"42",rx:"40",ry:"40",transform:"rotate(90 43 42)",stroke:r||"#FF0000",strokeWidth:"3"}),f.jsx("path",{d:"M57 28L29 56M29 28L57 56",stroke:r||"#FF0000",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]})}function uW(e){let{size:t,color:r}=e;return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:t||24,height:t||24,fill:r||"rgba(0,0,0,0.6)",children:f.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})})}function fW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t?t*3:39,height:t||13,viewBox:"0 0 39 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M5.88952 5.98264C6.70681 5.48369 7.28459 4.49575 7.28459 3.40906C7.28459 1.34699 5.65607 0 3.60916 0C1.56225 0 0 1.34743 0 3.67543V5.42175H1.49815V3.675C1.49815 2.27819 2.44624 1.49642 3.61046 1.49642C4.77468 1.49642 5.60583 2.29465 5.60583 3.40906C5.60583 4.52347 4.70798 5.42132 3.54376 5.42132H1.49815V9.21326H2.995V6.75186H3.57711C5.04061 6.75186 6.00516 7.88272 6.03851 9.21326H7.60163C7.57391 7.89658 6.94373 6.56778 5.89082 5.98264",fill:r||"#BD7DFF"}),f.jsx("path",{d:"M37.5857 2.6262V3.57429C37.1863 2.97573 36.4877 2.57812 35.4902 2.57812C33.6608 2.57812 32.2969 4.04163 32.2969 5.92092C32.2969 7.78332 33.6608 9.26371 35.4902 9.26371C36.4379 9.26371 37.1201 8.88127 37.5857 8.29916V9.21391H38.9994V2.6262H37.5857ZM35.6566 7.83183C34.592 7.83183 33.8271 7.00025 33.8271 5.91919C33.8271 4.83813 34.592 4.00654 35.6566 4.00654C36.7212 4.00654 37.5025 4.83813 37.5025 5.91919C37.5025 7.00025 36.7229 7.83183 35.6566 7.83183Z",fill:r||"#BD7DFF"}),f.jsx("path",{d:"M27.5078 6.0384C27.5078 7.33559 26.8426 7.81808 25.9945 7.81808C25.1465 7.81808 24.4812 7.33559 24.4812 6.0384V2.62891H22.9844V5.9717C22.9844 8.16717 24.1152 9.26339 25.9945 9.26339C27.8738 9.26339 29.0047 8.16587 29.0047 5.9717V2.62891H27.5078V6.0384Z",fill:r||"#BD7DFF"}),f.jsx("path",{d:"M11.2922 2.57812C9.44578 2.57812 8.01562 4.09143 8.01562 5.93781C8.01562 7.78419 9.44491 9.26371 11.342 9.26371C12.4893 9.26371 13.3209 8.86481 14.003 8.14974L13.1879 7.18519C12.7388 7.58409 12.1735 7.86691 11.3753 7.86691C10.5771 7.86691 9.82865 7.46758 9.59693 6.60264H14.5184C14.578 6.34086 14.6059 6.07286 14.6016 5.80441C14.6016 3.94201 13.1381 2.57812 11.2922 2.57812ZM9.51248 5.42197C9.71214 4.55574 10.4437 3.97536 11.3749 3.97536C12.3061 3.97536 12.938 4.54058 13.1212 5.42197H9.51248Z",fill:r||"#BD7DFF"}),f.jsx("path",{d:"M31.4988 0.0664062H30.002V9.2134H31.4988V0.0664062Z",fill:r||"#BD7DFF"}),f.jsx("path",{d:"M20.572 3.57429C20.2394 3.00864 19.4745 2.57812 18.4766 2.57812C16.7302 2.57812 15.2832 4.04163 15.2832 5.92092C15.2832 7.78332 16.7302 9.21261 18.4766 9.21261C19.4247 9.21261 20.0232 8.92978 20.4888 8.34637V8.94537C20.4888 10.2426 19.5741 10.7082 18.6927 10.7082C17.8113 10.7082 17.1127 10.275 16.9797 9.32782H15.5162C15.5829 10.991 16.913 12.0565 18.6927 12.0565C20.4724 12.0565 21.9844 11.0421 21.9844 8.84662V2.6262H20.572V3.57429ZM18.6429 7.78202C17.5783 7.78202 16.8134 7.00025 16.8134 5.91962C16.8134 4.839 17.5783 4.00698 18.6429 4.00698C19.7075 4.00698 20.4888 4.83856 20.4888 5.91962C20.4888 7.00068 19.7071 7.78202 18.6429 7.78202Z",fill:r||"#BD7DFF"})]})}function dW(e){let{size:t,color:r}=e;return f.jsx("svg",{width:t||30,height:t||30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsxs("g",{opacity:"0.9",children:[f.jsx("rect",{x:"14",y:"4",width:"2",height:"22",rx:"1",fill:r||"white"}),f.jsx("path",{d:"M8.698 15 L1 5.762 1 24.238 Z",stroke:r||"white",strokeWidth:"2"}),f.jsx("path",{d:"M21.302 15 L29 5.762 29 24.238 Z",fill:r||"white",stroke:r||"white",strokeWidth:"2"})]})})}function _W(e){let{size:t,color:r}=e;return f.jsx("svg",{width:t||30,height:t||30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsxs("g",{opacity:"0.9",children:[f.jsx("rect",{x:"14",y:"4",width:"2",height:"22",rx:"1",fill:r||"white"}),f.jsx("path",{d:"M21.302 15 L29 5.762 29 24.238 Z",stroke:r||"white",strokeWidth:"2"}),f.jsx("path",{d:"M8.698 15 L1 5.762 1 24.238 Z",fill:r||"white",stroke:r||"white",strokeWidth:"2"})]})})}function pW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||80,height:t||80,viewBox:"0 0 86 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("ellipse",{cx:"43",cy:"42",rx:"40",ry:"40",transform:"rotate(90 43 42)",stroke:r||"#E93C3C",strokeWidth:"3"}),f.jsx("path",{d:"M41.213 32.6666H45.6663C46.3736 32.6666 47.0519 32.9476 47.552 33.4477C48.0521 33.9478 48.333 34.626 48.333 35.3333V39.7866L49.6663 41.12L57.6663 35.3333V48.6666M48.333 47.3333V48.6666C48.333 49.3739 48.0521 50.0521 47.552 50.5522C47.0519 51.0523 46.3736 51.3333 45.6663 51.3333H30.9997C30.2924 51.3333 29.6142 51.0523 29.1141 50.5522C28.614 50.0521 28.333 49.3739 28.333 48.6666V35.3333C28.333 34.626 28.614 33.9478 29.1141 33.4477C29.6142 32.9476 30.2924 32.6666 30.9997 32.6666H33.6663L48.333 47.3333Z",stroke:r||"#E93C3C",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),f.jsx("path",{d:"M28.333 27.3334L57.6663 56.6667",stroke:r||"#E93C3C",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function mW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||80,height:t||80,viewBox:"0 0 86 84",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("ellipse",{cx:"43",cy:"42",rx:"40",ry:"40",transform:"rotate(90 43 42)",stroke:r||"#5DA600",strokeWidth:"3"}),f.jsx("path",{d:"M66 30L40.5069 54L28 42.2256",stroke:r||"#5DA600",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]})}function hW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||22,height:t||22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsxs("g",{clipPath:"url(#clip0_21_211)",children:[f.jsx("path",{d:"M16.1697 5.75397L16.2882 6.08594H16.6406H19.5625C20.236 6.08594 20.7812 6.63122 20.7812 7.30469V17.1016C20.7812 17.775 20.236 18.3203 19.5625 18.3203H4.4375C3.76403 18.3203 3.21875 17.775 3.21875 17.1016V7.30469C3.21875 6.63122 3.76403 6.08594 4.4375 6.08594H7.35938H7.71147L7.83013 5.75443L8.52837 3.80365L8.52891 3.80215C8.55435 3.73034 8.6245 3.67969 8.7043 3.67969L15.2957 3.67969L15.2961 3.67969C15.3351 3.67965 15.373 3.69163 15.4049 3.714C15.4366 3.73627 15.4607 3.76776 15.474 3.80419C15.474 3.80433 15.4741 3.80448 15.4741 3.80463L16.1697 5.75397ZM8.0625 11.9453C8.0625 14.1207 9.82464 15.8828 12 15.8828C14.1754 15.8828 15.9375 14.1207 15.9375 11.9453C15.9375 9.76995 14.1754 8.00781 12 8.00781C9.82464 8.00781 8.0625 9.76995 8.0625 11.9453Z",stroke:r||"#211236"}),f.jsx("circle",{cx:"18",cy:"9",r:"1",fill:r||"#211236"})]}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_21_211",children:f.jsx("rect",{width:"22",height:"22",fill:"white"})})})]})}function EW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||22,height:t||22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsxs("g",{clipPath:"url(#clip0_21_218)",children:[f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.782 1.0924C21 1.52022 21 2.08025 21 3.20033L21 18.8C21 19.9201 21 20.4802 20.782 20.908C20.5902 21.2843 20.2843 21.5903 19.9079 21.782C19.4801 22 18.9201 22 17.8 22H12.2C11.0799 22 10.5198 22 10.092 21.782C9.71569 21.5903 9.40973 21.2843 9.21799 20.908C9 20.4802 9 19.9201 9 18.8V3.20012C9 2.07998 9 1.51991 9.218 1.09208C9.40975 0.715752 9.71573 0.409789 10.0921 0.218047C10.5199 6.59147e-05 11.08 8.49657e-05 12.2001 0.000123068H12.2001L17.8001 0.000319782C18.9202 0.00035892 19.4802 0.000378489 19.908 0.218371C20.2843 0.410123 20.5903 0.716083 20.782 1.0924ZM10.109 1.54601C10 1.75992 10 2.03995 10 2.6V19.4C10 19.9601 10 20.2401 10.109 20.454C10.2049 20.6422 10.3578 20.7951 10.546 20.891C10.7599 21 11.0399 21 11.6 21H18.4C18.9601 21 19.2401 21 19.454 20.891C19.6422 20.7951 19.7951 20.6422 19.891 20.454C20 20.2401 20 19.9601 20 19.4V2.6C20 2.03995 20 1.75992 19.891 1.54601C19.7951 1.35785 19.6422 1.20487 19.454 1.10899C19.2401 1 18.9601 1 18.4 1H11.6C11.0399 1 10.7599 1 10.546 1.10899C10.3578 1.20487 10.2049 1.35785 10.109 1.54601Z",fill:r||"#211236"}),f.jsx("circle",{cx:"15",cy:"19",r:"1",fill:r||"#211236"}),f.jsx("path",{d:"M12 1H18C18 1.55228 17.5523 2 17 2H13C12.4477 2 12 1.55228 12 1Z",fill:r||"#211236"}),f.jsx("path",{d:"M0 9.75H6V10.75H0V9.75Z",fill:r||"#211236"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.83358 10.9314C7.199 10.5452 7.19835 9.94063 6.83211 9.55524L4.56028 7.16458C4.36668 6.96085 4.04324 6.95673 3.84451 7.15546C3.65282 7.34715 3.64888 7.6567 3.83562 7.85321L5.45448 9.55675C5.82072 9.94215 5.82137 10.5467 5.45596 10.9329L3.83418 12.6469C3.64815 12.8435 3.65242 13.1524 3.8438 13.3438C4.04282 13.5428 4.36683 13.5383 4.56027 13.3339L6.83358 10.9314Z",fill:r||"#211236"})]}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_21_218",children:f.jsx("rect",{width:"22",height:"22",fill:"white"})})})]})}function CW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||22,height:t||22,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsxs("g",{clipPath:"url(#clip0_21_213)",children:[f.jsx("path",{d:"M11.685 10.2487H15.4872V11.0062H11.684L11.685 10.2487Z",fill:r||"#211236"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.3862 14.1034L9.83531 12.3636L8.00871 11.9563L6.69453 13.5517L5.37938 11.9563L3.54894 12.3636L3 14.1034V7H10.39L10.3862 14.1034ZM8.00679 8.11942V10.1613C8.00676 10.3969 7.93334 10.6274 7.79537 10.8252C7.6574 11.023 7.46075 11.1796 7.22905 11.2763C7.05875 11.348 6.87387 11.3851 6.68683 11.385C6.4998 11.3851 6.31492 11.348 6.14463 11.2763C5.91292 11.1796 5.71627 11.023 5.5783 10.8252C5.44033 10.6274 5.36691 10.3969 5.36688 10.1613V8.11942H8.00679Z",fill:r||"#211236"}),f.jsx("path",{d:"M19 16H11.684V15.2424H19V16Z",fill:r||"#211236"}),f.jsx("path",{d:"M19 13.5045H11.684V12.7469H19V13.5045Z",fill:r||"#211236"}),f.jsx("path",{d:"M1.31939 4.66349C1.45107 4.5964 1.62491 4.55031 1.92748 4.52559C2.2359 4.50039 2.63205 4.50001 3.20034 4.50001L18.8 4.50004C19.3683 4.50004 19.7645 4.50043 20.0729 4.52563C20.3755 4.55035 20.5493 4.59644 20.681 4.66353C20.9632 4.80735 21.1927 5.03682 21.3365 5.31906C21.4036 5.45074 21.4497 5.62458 21.4744 5.92716C21.4996 6.23558 21.5 6.63174 21.5 7.20004L21.5 15.8C21.5 16.3683 21.4996 16.7645 21.4744 17.0729C21.4497 17.3755 21.4036 17.5493 21.3365 17.681C21.1927 17.9632 20.9632 18.1927 20.681 18.3365C20.5493 18.4036 20.3755 18.4497 20.0729 18.4744C19.7645 18.4996 19.3683 18.5 18.8 18.5L3.20009 18.5C2.63177 18.5 2.23561 18.4996 1.92718 18.4744C1.62459 18.4497 1.45074 18.4036 1.31906 18.3365C1.03681 18.1927 0.80734 17.9632 0.663533 17.681C0.596441 17.5493 0.550357 17.3754 0.525643 17.0728C0.500451 16.7644 0.500073 16.3682 0.500089 15.7999L0.500329 7.19993C0.500345 6.63164 0.500745 6.23549 0.525952 5.92708C0.550682 5.62451 0.596772 5.45067 0.663867 5.31899C0.80768 5.03676 1.03715 4.80729 1.31939 4.66349Z",stroke:r||"#211236"})]}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_21_213",children:f.jsx("rect",{width:"22",height:"22",fill:"white"})})})]})}function SW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||80,height:t||80,viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("g",{children:f.jsx("circle",{cx:"40",cy:"40",r:"40",fill:"#1B101F",fillOpacity:"0.5"})}),f.jsxs("g",{opacity:"0.8",children:[f.jsx("circle",{cx:"40",cy:"40",r:"23.5",stroke:r||"white"}),f.jsx("circle",{cx:"40",cy:"40",r:"1",fill:r||"white"})]})]})}function vW(e){let{size:t,color:r}=e;return f.jsx("svg",{width:t||80,height:t||80,viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40 80C17.9086 80 0 62.0914 0 40C0 17.9086 17.9086 0 40 0C62.0914 0 80 17.9086 80 40C80 62.0914 62.0914 80 40 80ZM64.0282 29.0922C64.6314 28.5243 64.66 27.575 64.0922 26.9718C63.5243 26.3686 62.575 26.34 61.9718 26.9078L37.5069 49.9399L26.0282 39.1334C25.425 38.5656 24.4757 38.5942 23.9079 39.1974C23.34 39.8006 23.3686 40.7499 23.9718 41.3177L36.4787 53.0922C37.0563 53.6359 37.9575 53.6359 38.5351 53.0922L64.0282 29.0922Z",fill:r||"white"})})}function gW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||80,height:t||80,viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("circle",{cx:"40",cy:"40",r:"40",fill:"#E95454",fillOpacity:"0.45"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40 67C54.9117 67 67 54.9117 67 40C67 25.0883 54.9117 13 40 13C25.0883 13 13 25.0883 13 40C13 54.9117 25.0883 67 40 67ZM40 64C53.2548 64 64 53.2548 64 40C64 26.7452 53.2548 16 40 16C26.7452 16 16 26.7452 16 40C16 53.2548 26.7452 64 40 64Z",fill:r||"white"})]})}function IW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||80,height:t||80,viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("g",{children:f.jsx("circle",{cx:"40",cy:"40",r:"40",fill:"#1B101F",fillOpacity:"0.5"})}),f.jsx("g",{opacity:"0.8",children:f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40 67C54.9117 67 67 54.9117 67 40C67 25.0883 54.9117 13 40 13C25.0883 13 13 25.0883 13 40C13 54.9117 25.0883 67 40 67ZM40 64C53.2548 64 64 53.2548 64 40C64 26.7452 53.2548 16 40 16C26.7452 16 16 26.7452 16 40C16 53.2548 26.7452 64 40 64Z",fill:r||"white"})})]})}function DW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||80,height:t||80,viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("g",{children:f.jsx("circle",{cx:"40",cy:"40",r:"40",fill:"#1B101F",fillOpacity:"0.5"})}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 25.2308C16 24.551 16.5373 24 17.2 24H62.8C63.4627 24 64 24.551 64 25.2308V54.7692C64 55.449 63.4627 56 62.8 56H17.2C16.5373 56 16 55.449 16 54.7692V25.2308ZM21.4 30.1538C21.4 29.814 21.6686 29.5385 22 29.5385H32.8C33.1314 29.5385 33.4 29.814 33.4 30.1538V43.6923C33.4 44.0322 33.1314 44.3077 32.8 44.3077H22C21.6686 44.3077 21.4 44.0322 21.4 43.6923V30.1538ZM39.4 29.5385C39.0686 29.5385 38.8 29.814 38.8 30.1538V30.7692C38.8 31.1091 39.0686 31.3846 39.4 31.3846H58C58.3314 31.3846 58.6 31.1091 58.6 30.7692V30.1538C58.6 29.814 58.3314 29.5385 58 29.5385H39.4ZM39.4 35.0769C39.0686 35.0769 38.8 35.3524 38.8 35.6923V36.3077C38.8 36.6476 39.0686 36.9231 39.4 36.9231H49.6C49.9314 36.9231 50.2 36.6476 50.2 36.3077V35.6923C50.2 35.3524 49.9314 35.0769 49.6 35.0769H39.4ZM38.8 41.2308C38.8 40.8909 39.0686 40.6154 39.4 40.6154H53.8C54.1314 40.6154 54.4 40.8909 54.4 41.2308V41.8462C54.4 42.186 54.1314 42.4615 53.8 42.4615H39.4C39.0686 42.4615 38.8 42.186 38.8 41.8462V41.2308ZM22 49.8462C21.6686 49.8462 21.4 50.1217 21.4 50.4615V51.0769C21.4 51.4168 21.6686 51.6923 22 51.6923H32.2C32.5314 51.6923 32.8 51.4168 32.8 51.0769V50.4615C32.8 50.1217 32.5314 49.8462 32.2 49.8462H22Z",fill:r||"white"})]})}function RW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||80,height:t||80,viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("circle",{cx:"40",cy:"40",r:"37",stroke:r||"#FF5E5E",strokeWidth:"3"}),f.jsx("path",{d:"M40.213 30.6667H44.6663C45.3736 30.6667 46.0519 30.9476 46.552 31.4477C47.0521 31.9478 47.333 32.6261 47.333 33.3334V37.7867L48.6663 38.12L56.6663 33.3334V46.6667M47.333 45.3334V46.6667C47.333 47.3739 47.0521 48.0522 46.552 48.5523C46.0519 49.0524 45.3736 49.3334 44.6663 49.3334H29.9997C29.2924 49.3334 28.6142 49.0524 28.1141 48.5523C27.614 48.0522 27.333 47.3739 27.333 46.6667V33.3334C27.333 32.6261 27.614 31.9478 28.1141 31.4477C28.6142 30.9476 29.2924 30.6667 29.9997 30.6667H32.6663L47.333 45.3334Z",stroke:r||"#FF5E5E",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),f.jsx("path",{d:"M27.333 25.3333L56.6663 54.6666",stroke:r||"#FF5E5E",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function AW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||80,height:t||80,viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("g",{children:f.jsx("circle",{cx:"40",cy:"40",r:"40",fill:"#1B101F",fillOpacity:"0.5"})}),f.jsx("path",{d:"M47.333 43L56.6663 46.6666V33.3333L47.333 37",stroke:r||"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),f.jsx("path",{d:"M47.333 43V46.6667C47.333 48.1394 46.1391 49.3334 44.6663 49.3334H29.9997C28.5269 49.3334 27.333 48.1394 27.333 46.6667V33.3334C27.333 31.8606 28.5269 30.6667 29.9997 30.6667H44.6663C46.1391 30.6667 47.333 31.8606 47.333 33.3334V43.5",stroke:r||"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function TW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||60,height:t||60,viewBox:"0 0 60 60",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("g",{opacity:"0.6",children:f.jsx("circle",{cx:"30",cy:"30",r:"29.5",stroke:r||"white"})}),f.jsx("circle",{cx:"30",cy:"30",r:"21",fill:r||"white"})]})}function OW(e){let{size:t,color:r}=e;return f.jsx("svg",{width:t||46,height:t||46,viewBox:"0 0 46 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M45 34V41C45 43.2091 43.2091 45 41 45H34M45 12V5C45 2.79086 43.2091 1 41 1H34M12 1H5C2.79086 1 1 2.79086 1 5V12M1 34V41C1 43.2091 2.79086 45 5 45H12",stroke:r||"white",strokeWidth:"1.5"})})}function yW(e){let{size:t,color:r}=e;return f.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:t||24,height:t||24,viewBox:"0 0 24 24",fill:r||"rgba(0,0,0,0.6)",children:f.jsx("path",{d:"M12.29,5.21l1.5,1.5a1,1,0,0,0,1.42,0,1,1,0,0,0,.13-1.21H19a1,1,0,0,0,0-2H15.34a1,1,0,0,0-.13-1.21,1,1,0,0,0-1.42,0l-1.5,1.5a1,1,0,0,0-.21.33,1,1,0,0,0,0,.76A1,1,0,0,0,12.29,5.21ZM22.92,9.12a1,1,0,0,0-.21-.33l-1.5-1.5a1,1,0,0,0-1.42,0,1,1,0,0,0-.13,1.21H16a1,1,0,0,0,0,2h3.66a1,1,0,0,0,.13,1.21,1,1,0,0,0,1.42,0l1.5-1.5a1,1,0,0,0,.21-.33A1,1,0,0,0,22.92,9.12ZM11,10a4,4,0,1,0,4,4A4,4,0,0,0,11,10Zm0,6a2,2,0,1,1,2-2A2,2,0,0,1,11,16Zm9-3a1,1,0,0,0-1,1v5a1,1,0,0,1-1,1H4a1,1,0,0,1-1-1V11a1,1,0,0,1,1-1H6a1,1,0,0,0,1-.69l.54-1.62A1,1,0,0,1,8.44,7H10a1,1,0,0,0,0-2H8.44A3,3,0,0,0,5.59,7.06L5.28,8H4a3,3,0,0,0-3,3v8a3,3,0,0,0,3,3H18a3,3,0,0,0,3-3V14A1,1,0,0,0,20,13Z"})})}function NW(){return f.jsxs("svg",{width:"114",height:"16",viewBox:"0 0 114 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M1.35197 12V3.27273H4.6247C5.29515 3.27273 5.85765 3.39773 6.3122 3.64773C6.76958 3.89773 7.11475 4.24148 7.34771 4.67898C7.5835 5.11364 7.7014 5.60795 7.7014 6.16193C7.7014 6.72159 7.5835 7.21875 7.34771 7.65341C7.11191 8.08807 6.7639 8.4304 6.30367 8.6804C5.84345 8.92756 5.27668 9.05114 4.60339 9.05114H2.43435V7.75142H4.39032C4.78237 7.75142 5.10339 7.68324 5.35339 7.54688C5.60339 7.41051 5.78805 7.22301 5.90737 6.98438C6.02953 6.74574 6.0906 6.47159 6.0906 6.16193C6.0906 5.85227 6.02953 5.57955 5.90737 5.34375C5.78805 5.10795 5.60197 4.92472 5.34913 4.79403C5.09913 4.66051 4.77668 4.59375 4.3818 4.59375H2.93293V12H1.35197ZM11.6478 12.1278C11.0086 12.1278 10.4546 11.9872 9.98587 11.706C9.51712 11.4247 9.15349 11.0312 8.89497 10.5256C8.63928 10.0199 8.51144 9.42898 8.51144 8.75284C8.51144 8.0767 8.63928 7.48437 8.89497 6.97585C9.15349 6.46733 9.51712 6.07244 9.98587 5.79119C10.4546 5.50994 11.0086 5.36932 11.6478 5.36932C12.287 5.36932 12.841 5.50994 13.3097 5.79119C13.7785 6.07244 14.1407 6.46733 14.3964 6.97585C14.6549 7.48437 14.7842 8.0767 14.7842 8.75284C14.7842 9.42898 14.6549 10.0199 14.3964 10.5256C14.1407 11.0312 13.7785 11.4247 13.3097 11.706C12.841 11.9872 12.287 12.1278 11.6478 12.1278ZM11.6563 10.892C12.0029 10.892 12.2927 10.7969 12.5256 10.6065C12.7586 10.4134 12.9319 10.1548 13.0455 9.83097C13.162 9.5071 13.2202 9.14631 13.2202 8.74858C13.2202 8.34801 13.162 7.9858 13.0455 7.66193C12.9319 7.33523 12.7586 7.07528 12.5256 6.8821C12.2927 6.68892 12.0029 6.59233 11.6563 6.59233C11.3012 6.59233 11.0058 6.68892 10.77 6.8821C10.537 7.07528 10.3623 7.33523 10.2458 7.66193C10.1322 7.9858 10.0754 8.34801 10.0754 8.74858C10.0754 9.14631 10.1322 9.5071 10.2458 9.83097C10.3623 10.1548 10.537 10.4134 10.77 10.6065C11.0058 10.7969 11.3012 10.892 11.6563 10.892ZM17.1368 12L15.2874 5.45455H16.8598L18.0104 10.0568H18.0701L19.2462 5.45455H20.8016L21.9777 10.0312H22.0417L23.1752 5.45455H24.7519L22.8982 12H21.2917L20.0644 7.5767H19.9749L18.7476 12H17.1368ZM28.4192 12.1278C27.7629 12.1278 27.1962 11.9915 26.7189 11.7188C26.2445 11.4432 25.8794 11.054 25.6237 10.5511C25.368 10.0455 25.2402 9.45028 25.2402 8.76562C25.2402 8.09233 25.368 7.50142 25.6237 6.9929C25.8822 6.48153 26.243 6.08381 26.7061 5.79972C27.1692 5.51278 27.7132 5.36932 28.3382 5.36932C28.7416 5.36932 29.1223 5.43466 29.4802 5.56534C29.841 5.69318 30.1592 5.89205 30.4348 6.16193C30.7132 6.43182 30.932 6.77557 31.091 7.19318C31.2501 7.60795 31.3297 8.10227 31.3297 8.67614V9.14915H25.9646V8.10938H29.851C29.8481 7.81392 29.7842 7.55114 29.6592 7.32102C29.5342 7.08807 29.3595 6.90483 29.1351 6.77131C28.9135 6.63778 28.655 6.57102 28.3595 6.57102C28.0442 6.57102 27.7672 6.64773 27.5285 6.80114C27.2899 6.9517 27.1038 7.15057 26.9703 7.39773C26.8396 7.64205 26.7729 7.91051 26.77 8.20312V9.1108C26.77 9.49148 26.8396 9.81818 26.9788 10.0909C27.118 10.3608 27.3126 10.5682 27.5626 10.7131C27.8126 10.8551 28.1052 10.9261 28.4405 10.9261C28.6649 10.9261 28.868 10.8949 29.0499 10.8324C29.2317 10.767 29.3893 10.6719 29.5229 10.5469C29.6564 10.4219 29.7572 10.267 29.8254 10.0824L31.2658 10.2443C31.1749 10.625 31.0016 10.9574 30.7459 11.2415C30.493 11.5227 30.1692 11.7415 29.7743 11.8977C29.3794 12.0511 28.9277 12.1278 28.4192 12.1278ZM32.5147 12V5.45455H34.0105V6.54545H34.0786C34.198 6.16761 34.4025 5.87642 34.6923 5.67188C34.9849 5.46449 35.3187 5.3608 35.6937 5.3608C35.7789 5.3608 35.8741 5.36506 35.9792 5.37358C36.0872 5.37926 36.1767 5.3892 36.2477 5.40341V6.82244C36.1823 6.79972 36.0786 6.77983 35.9366 6.76278C35.7974 6.7429 35.6625 6.73295 35.5318 6.73295C35.2505 6.73295 34.9977 6.79403 34.7732 6.91619C34.5517 7.03551 34.3769 7.2017 34.2491 7.41477C34.1213 7.62784 34.0573 7.87358 34.0573 8.15199V12H32.5147ZM39.7807 12.1278C39.1245 12.1278 38.5577 11.9915 38.0804 11.7188C37.606 11.4432 37.241 11.054 36.9853 10.5511C36.7296 10.0455 36.6018 9.45028 36.6018 8.76562C36.6018 8.09233 36.7296 7.50142 36.9853 6.9929C37.2438 6.48153 37.6046 6.08381 38.0677 5.79972C38.5307 5.51278 39.0748 5.36932 39.6998 5.36932C40.1032 5.36932 40.4839 5.43466 40.8418 5.56534C41.2026 5.69318 41.5208 5.89205 41.7964 6.16193C42.0748 6.43182 42.2935 6.77557 42.4526 7.19318C42.6117 7.60795 42.6912 8.10227 42.6912 8.67614V9.14915H37.3262V8.10938H41.2126C41.2097 7.81392 41.1458 7.55114 41.0208 7.32102C40.8958 7.08807 40.7211 6.90483 40.4966 6.77131C40.2751 6.63778 40.0165 6.57102 39.7211 6.57102C39.4057 6.57102 39.1287 6.64773 38.8901 6.80114C38.6515 6.9517 38.4654 7.15057 38.3319 7.39773C38.2012 7.64205 38.1344 7.91051 38.1316 8.20312V9.1108C38.1316 9.49148 38.2012 9.81818 38.3404 10.0909C38.4796 10.3608 38.6742 10.5682 38.9242 10.7131C39.1742 10.8551 39.4668 10.9261 39.802 10.9261C40.0265 10.9261 40.2296 10.8949 40.4114 10.8324C40.5932 10.767 40.7509 10.6719 40.8844 10.5469C41.0179 10.4219 41.1188 10.267 41.187 10.0824L42.6273 10.2443C42.5364 10.625 42.3631 10.9574 42.1074 11.2415C41.8546 11.5227 41.5307 11.7415 41.1358 11.8977C40.741 12.0511 40.2893 12.1278 39.7807 12.1278ZM46.3053 12.1151C45.7911 12.1151 45.3308 11.983 44.9246 11.7188C44.5183 11.4545 44.1973 11.071 43.9615 10.5682C43.7257 10.0653 43.6078 9.45455 43.6078 8.7358C43.6078 8.00852 43.7271 7.39489 43.9658 6.89489C44.2073 6.39205 44.5325 6.01278 44.9416 5.7571C45.3507 5.49858 45.8067 5.36932 46.3095 5.36932C46.693 5.36932 47.0084 5.43466 47.2555 5.56534C47.5027 5.69318 47.6987 5.84801 47.8436 6.02983C47.9885 6.20881 48.1007 6.37784 48.1803 6.53693H48.2442V3.27273H49.7911V12H48.274V10.9688H48.1803C48.1007 11.1278 47.9857 11.2969 47.8351 11.4759C47.6845 11.652 47.4857 11.8026 47.2385 11.9276C46.9913 12.0526 46.6803 12.1151 46.3053 12.1151ZM46.7357 10.8494C47.0624 10.8494 47.3408 10.7614 47.5709 10.5852C47.801 10.4062 47.9757 10.1577 48.095 9.83949C48.2144 9.52131 48.274 9.15057 48.274 8.72727C48.274 8.30398 48.2144 7.93608 48.095 7.62358C47.9786 7.31108 47.8053 7.06818 47.5751 6.89489C47.3479 6.72159 47.068 6.63494 46.7357 6.63494C46.3919 6.63494 46.105 6.72443 45.8749 6.90341C45.6448 7.08239 45.4715 7.32955 45.355 7.64489C45.2385 7.96023 45.1803 8.32102 45.1803 8.72727C45.1803 9.13636 45.2385 9.50142 45.355 9.82244C45.4743 10.1406 45.649 10.392 45.8791 10.5767C46.1121 10.7585 46.3976 10.8494 46.7357 10.8494ZM54.2396 12V3.27273H55.7822V6.53693H55.8462C55.9257 6.37784 56.0379 6.20881 56.1828 6.02983C56.3277 5.84801 56.5237 5.69318 56.7709 5.56534C57.018 5.43466 57.3334 5.36932 57.7169 5.36932C58.2226 5.36932 58.6785 5.49858 59.0848 5.7571C59.4939 6.01278 59.8178 6.39205 60.0564 6.89489C60.2979 7.39489 60.4186 8.00852 60.4186 8.7358C60.4186 9.45455 60.3007 10.0653 60.0649 10.5682C59.8291 11.071 59.5081 11.4545 59.1018 11.7188C58.6956 11.983 58.2354 12.1151 57.7212 12.1151C57.3462 12.1151 57.0351 12.0526 56.7879 11.9276C56.5408 11.8026 56.3419 11.652 56.1913 11.4759C56.0436 11.2969 55.9285 11.1278 55.8462 10.9688H55.7567V12H54.2396ZM55.7524 8.72727C55.7524 9.15057 55.8121 9.52131 55.9314 9.83949C56.0535 10.1577 56.2283 10.4062 56.4555 10.5852C56.6856 10.7614 56.9641 10.8494 57.2908 10.8494C57.6317 10.8494 57.9172 10.7585 58.1473 10.5767C58.3774 10.392 58.5507 10.1406 58.6672 9.82244C58.7865 9.50142 58.8462 9.13636 58.8462 8.72727C58.8462 8.32102 58.7879 7.96023 58.6714 7.64489C58.555 7.32955 58.3817 7.08239 58.1516 6.90341C57.9214 6.72443 57.6345 6.63494 57.2908 6.63494C56.9612 6.63494 56.6814 6.72159 56.4513 6.89489C56.2212 7.06818 56.0464 7.31108 55.9271 7.62358C55.8106 7.93608 55.7524 8.30398 55.7524 8.72727ZM62.3462 14.4545C62.136 14.4545 61.9414 14.4375 61.7624 14.4034C61.5862 14.3722 61.4456 14.3352 61.3405 14.2926L61.6985 13.0909C61.9229 13.1563 62.1232 13.1875 62.2993 13.1847C62.4754 13.1818 62.6303 13.1264 62.7638 13.0185C62.9002 12.9134 63.0152 12.7372 63.109 12.4901L63.2411 12.1364L60.8675 5.45455H62.5039L64.0124 10.3977H64.0806L65.5933 5.45455H67.234L64.6132 12.7926C64.4911 13.1392 64.3291 13.4361 64.1274 13.6832C63.9257 13.9332 63.6786 14.1236 63.386 14.2543C63.0962 14.3878 62.7496 14.4545 62.3462 14.4545Z",fill:"#8C8C8C"}),f.jsx("path",{d:"M77.3427 8.45085C78.2228 7.91285 78.8451 6.84759 78.8451 5.67586C78.8451 3.45241 77.0913 2 74.8869 2C72.6825 2 71 3.45288 71 5.96307V7.84606H72.6134V5.9626C72.6134 4.45649 73.6345 3.61353 74.8883 3.61353C76.142 3.61353 77.0371 4.47423 77.0371 5.67586C77.0371 6.87748 76.0702 7.8456 74.8164 7.8456H72.6134V11.9343H74.2254V9.28026H74.8523C76.4284 9.28026 77.4672 10.4996 77.5031 11.9343H79.1865C79.1567 10.5146 78.478 9.08178 77.3441 8.45085",fill:"#BD7DFF"}),f.jsx("path",{d:"M111.477 4.83175V5.85404C111.047 5.20862 110.295 4.77991 109.221 4.77991C107.251 4.77991 105.782 6.35794 105.782 8.38431C105.782 10.3925 107.251 11.9887 109.221 11.9887C110.241 11.9887 110.976 11.5763 111.477 10.9487V11.935H113V4.83175H111.477ZM109.4 10.4448C108.253 10.4448 107.43 9.54811 107.43 8.38244C107.43 7.21678 108.253 6.32012 109.4 6.32012C110.546 6.32012 111.388 7.21678 111.388 8.38244C111.388 9.54811 110.548 10.4448 109.4 10.4448Z",fill:"#BD7DFF"}),f.jsx("path",{d:"M100.624 8.51098C100.624 9.90968 99.908 10.4299 98.9947 10.4299C98.0814 10.4299 97.3649 9.90968 97.3649 8.51098V4.83466H95.7529V8.43906C95.7529 10.8063 96.9708 11.9884 98.9947 11.9884C101.019 11.9884 102.236 10.8049 102.236 8.43906V4.83466H100.624V8.51098Z",fill:"#BD7DFF"}),f.jsx("path",{d:"M83.161 4.77991C81.1725 4.77991 79.6323 6.41165 79.6323 8.40252C79.6323 10.3934 81.1716 11.9887 83.2146 11.9887C84.4502 11.9887 85.3458 11.5586 86.0804 10.7876L85.2026 9.74752C84.7189 10.1776 84.1102 10.4826 83.2505 10.4826C82.3909 10.4826 81.5848 10.052 81.3353 9.11939H86.6355C86.6996 8.83711 86.7297 8.54814 86.725 8.25869C86.725 6.25053 85.1489 4.77991 83.161 4.77991ZM81.2443 7.84631C81.4594 6.91229 82.2472 6.28649 83.25 6.28649C84.2529 6.28649 84.9334 6.89594 85.1307 7.84631H81.2443Z",fill:"#BD7DFF"}),f.jsx("path",{d:"M104.922 2.07159H103.31V11.9344H104.922V2.07159Z",fill:"#BD7DFF"}),f.jsx("path",{d:"M93.1547 5.85404C92.7965 5.24412 91.9727 4.77991 90.8981 4.77991C89.0174 4.77991 87.459 6.35794 87.459 8.38431C87.459 10.3925 89.0174 11.9336 90.8981 11.9336C91.9191 11.9336 92.5637 11.6287 93.0651 10.9996V11.6455C93.0651 13.0442 92.08 13.5462 91.1308 13.5462C90.1816 13.5462 89.4292 13.0792 89.286 12.0578H87.7099C87.7818 13.8512 89.2142 15 91.1308 15C93.0474 15 94.6758 13.9063 94.6758 11.539V4.83175H93.1547V5.85404ZM91.0772 10.3911C89.9307 10.3911 89.1069 9.54811 89.1069 8.38291C89.1069 7.21772 89.9307 6.32058 91.0772 6.32058C92.2237 6.32058 93.0651 7.21725 93.0651 8.38291C93.0651 9.54858 92.2232 10.3911 91.0772 10.3911Z",fill:"#BD7DFF"})]})}function $W(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||86,height:t||86,viewBox:"0 0 86 86",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M33.8254 7.18383L32.7648 6.12317C33.3506 5.53738 34.3003 5.53738 34.8861 6.12317L33.8254 7.18383ZM80.0417 51.9C80.0417 52.7285 79.3701 53.4 78.5417 53.4L65.0417 53.4C64.2132 53.4 63.5417 52.7285 63.5417 51.9C63.5417 51.0716 64.2132 50.4 65.0417 50.4L77.0417 50.4V38.4C77.0417 37.5716 77.7132 36.9 78.5417 36.9C79.3701 36.9 80.0417 37.5716 80.0417 38.4L80.0417 51.9ZM14.8058 28.3248C14.22 28.9106 13.2702 28.9106 12.6845 28.3248C12.0987 27.739 12.0987 26.7893 12.6845 26.2035L14.8058 28.3248ZM34.8861 6.12317L79.6023 50.8394L77.481 52.9607L32.7648 8.24449L34.8861 6.12317ZM34.8861 8.24449L14.8058 28.3248L12.6845 26.2035L32.7648 6.12317L34.8861 8.24449Z",fill:r||"#DC4343"}),f.jsx("path",{d:"M52.0974 78.344L53.1581 79.4047C52.5723 79.9904 51.6225 79.9904 51.0367 79.4047L52.0974 78.344ZM5.88119 33.6278C5.88119 32.7994 6.55276 32.1278 7.38119 32.1278L20.8812 32.1278C21.7096 32.1278 22.3812 32.7994 22.3812 33.6278C22.3812 34.4562 21.7096 35.1278 20.8812 35.1278L8.88119 35.1278V47.1278C8.88119 47.9562 8.20961 48.6278 7.38119 48.6278C6.55276 48.6278 5.88119 47.9562 5.88119 47.1278L5.88119 33.6278ZM71.1171 57.203C71.7029 56.6172 72.6526 56.6172 73.2384 57.203C73.8242 57.7888 73.8242 58.7385 73.2384 59.3243L71.1171 57.203ZM51.0367 79.4047L6.32053 34.6884L8.44185 32.5671L53.1581 77.2833L51.0367 79.4047ZM51.0367 77.2833L71.1171 57.203L73.2384 59.3243L53.1581 79.4047L51.0367 77.2833Z",fill:r||"#DC4343"})]})}function LW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t?t*1.4:920,height:t||640,viewBox:"0 0 920 640",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M520 200H800V240H520V200Z",fill:r||"white"}),f.jsx("path",{d:"M800 300H520V340H800V300Z",fill:r||"white"}),f.jsx("path",{d:"M520 400H800V440H520V400Z",fill:r||"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M274.943 123.429L274.933 123.432C266.551 126.295 258.863 130.466 251.927 135.343C243.39 140.807 235.349 147.484 228.244 155.117C216.999 166.723 206.985 181.73 202.638 200.462C201.732 203.954 201.031 207.508 200.554 211.114C198.857 223.937 199.991 237.409 204.799 251.055C201.906 250.776 199.719 251.697 198.089 253.419C191.062 260.842 194.356 283.152 195.842 288.454C202.652 312.775 208.999 319.597 213.796 319.988C216.486 337.575 230.545 358.063 243.587 375.139C243.587 405.888 203.816 413.339 170.442 419.591C162.723 421.037 155.346 422.419 148.883 424.01C114.629 432.436 110.268 472.281 110.168 504.349C110.141 513.052 117.321 520 126.023 520H473.977C482.679 520 489.859 513.052 489.839 504.349C489.769 472.142 485.483 432.464 451.117 424.01C445.211 422.556 438.486 421.191 431.39 419.752L431.388 419.751C396.76 412.725 353.321 403.912 353.321 374.203C353.664 373.739 354.01 373.272 354.358 372.804C357.463 368.617 360.701 364.25 363.825 359.791C372.128 347.938 379.624 335.429 381.652 323.912C382.709 324.634 383.91 325.123 385.24 325.123C385.796 325.123 386.374 325.037 386.972 324.849C391.593 323.394 397.418 315.772 403.633 293.568C410.9 267.609 406.477 258.905 400.199 256.714C420.616 157.928 373.971 154.617 373.971 154.617C373.971 154.617 366.934 140.939 348.397 130.606C337.66 124.183 323.287 119 304.851 119C301.953 119 298.964 119.122 295.865 119.395C288.479 119.744 281.5 121.188 274.943 123.429ZM321.183 350.388C316.077 357.278 313.321 365.627 313.321 374.203C313.321 396.791 323.959 414.183 337.296 425.916C349.473 436.63 364.134 443.009 376.199 447.154C388.689 451.445 401.819 454.454 412.943 456.796C417.197 457.692 421.006 458.464 424.494 459.171L424.495 459.171C431.031 460.495 436.443 461.592 441.555 462.85L441.562 462.852C442.371 463.051 442.688 463.234 442.718 463.251L442.719 463.252L442.723 463.254C442.746 463.267 442.79 463.292 442.907 463.412C443.207 463.723 444.371 465.103 445.684 468.766C446.817 471.928 447.691 475.687 448.338 480H151.711C152.363 475.717 153.239 471.971 154.372 468.81C155.699 465.109 156.878 463.698 157.192 463.372L157.194 463.369C157.207 463.34 157.301 463.132 158.438 462.852L158.445 462.85C163.729 461.549 169.527 460.462 176.817 459.096L176.821 459.095C179.572 458.579 182.535 458.024 185.763 457.402C196.469 455.34 209.407 452.649 221.731 448.562C233.686 444.597 248.469 438.255 260.709 426.995C274.269 414.522 283.587 396.915 283.587 375.139C283.587 366.365 280.702 357.834 275.376 350.86C269.197 342.77 263.625 334.956 259.415 327.693C254.949 319.99 253.579 315.526 253.336 313.941C251.698 303.233 245.887 294.002 237.651 287.879C236.767 285.573 235.697 282.397 234.493 278.142C234.495 278.139 234.486 278.086 234.467 277.984L234.452 277.901C235.091 277.195 235.707 276.464 236.298 275.708C244.717 264.952 247.065 250.644 242.526 237.762C239.17 228.237 239.103 219.19 241.356 210.506C241.443 210.173 241.525 209.839 241.603 209.503C243.904 199.588 249.376 190.79 256.971 182.951C257.156 182.76 257.34 182.567 257.521 182.372C262.328 177.208 267.774 172.691 273.489 169.034C273.978 168.721 274.46 168.397 274.936 168.063C279.286 165.004 283.597 162.748 287.809 161.303L287.883 161.278C291.162 160.157 294.424 159.508 297.75 159.351C298.292 159.325 298.833 159.288 299.374 159.241C301.267 159.074 303.083 159 304.851 159C315.374 159 322.72 161.857 327.864 164.933C328.213 165.142 328.565 165.345 328.92 165.543C333.473 168.081 336.341 170.874 337.886 172.659C338.515 173.386 338.906 173.925 339.077 174.173C344.22 183.353 352.722 190.05 362.636 192.979C364.507 197.532 368.476 212.578 361.027 248.618C358.865 259.075 361.005 269.523 366.336 278.005C366.023 279.378 365.623 280.965 365.114 282.784L365.113 282.786C364.533 284.861 363.983 286.685 363.469 288.283C352.34 293.961 344.445 304.559 342.258 316.974C342.258 316.974 342.208 317.246 342.023 317.818C341.833 318.406 341.53 319.218 341.065 320.269C340.111 322.423 338.685 325.105 336.678 328.368C332.654 334.911 327.684 341.617 321.853 349.483L321.183 350.388Z",fill:r||"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M80 0C35.8172 0 0 35.8172 0 80V560C0 604.183 35.8172 640 80 640H840C884.183 640 920 604.183 920 560V80C920 35.8172 884.183 0 840 0H80ZM840 40H80C57.9086 40 40 57.9086 40 80V560C40 582.091 57.9086 600 80 600H840C862.091 600 880 582.091 880 560V80C880 57.9086 862.091 40 840 40Z",fill:r||"white"})]})}function bW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t?t*1.4:920,height:t||640,viewBox:"0 0 920 640",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M460 300H140V340H460V300Z",fill:r||"white"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M100 0C44.7715 0 0 44.7715 0 100V540C0 595.228 44.7715 640 100 640H820C875.228 640 920 595.228 920 540V100C920 44.7715 875.229 0 820 0H100ZM820 40H100C66.8629 40 40 66.8629 40 100V140H880V100C880 66.8629 853.137 40 820 40ZM40 540V240H880V540C880 573.137 853.137 600 820 600H100C66.8629 600 40 573.137 40 540Z",fill:r||"white"})]})}function MW(e){let{size:t,color:r}=e;return f.jsx("svg",{width:t||32,height:t||32,viewBox:"0 0 32 32",fill:r||"white",xmlns:"http://www.w3.org/2000/svg",children:f.jsx("path",{d:"M22,9a1,1,0,0,0,0,1.42l4.6,4.6H3.06a1,1,0,1,0,0,2H26.58L22,21.59A1,1,0,0,0,22,23a1,1,0,0,0,1.41,0l6.36-6.36a.88.88,0,0,0,0-1.27L23.42,9A1,1,0,0,0,22,9Z"})})}function PW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||86,height:t||86,viewBox:"0 0 86 86",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("ellipse",{cx:"43",cy:"43",rx:"40",ry:"40",transform:"rotate(90 43 43)",stroke:"#FCB937",strokeWidth:"3"}),f.jsx("path",{d:"M40.8789 48.5352L40.5859 25H44.9805L44.6875 48.5352H40.8789ZM42.7832 60.4736C42.002 60.4736 41.3428 60.2051 40.8057 59.668C40.2686 59.1309 40 58.4717 40 57.6904C40 56.8929 40.2686 56.2337 40.8057 55.7129C41.3428 55.1758 42.002 54.9072 42.7832 54.9072C43.5807 54.9072 44.2399 55.1758 44.7607 55.7129C45.2979 56.2337 45.5664 56.8929 45.5664 57.6904C45.5664 58.4717 45.2979 59.1309 44.7607 59.668C44.2399 60.2051 43.5807 60.4736 42.7832 60.4736Z",fill:r||"#FCB937"})]})}function wW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||280,height:t||172,viewBox:"0 0 280 172",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("rect",{x:"1.45833",y:"-1.45833",width:"277.083",height:"169.083",rx:"13.125",transform:"matrix(1 0 0 -1 0 169.083)",fill:"white",fillOpacity:"0.8",stroke:"#1B1C23",strokeWidth:"2.91667"}),f.jsx("rect",{y:"14.5762",width:"280",height:"40.8136",fill:r||"#333543"}),f.jsx("rect",{x:"23.332",y:"69.9658",width:"37.9167",height:"11.661",fill:r||"#333543"}),f.jsx("rect",{x:"224.582",y:"119.525",width:"23.3333",height:"34.9831",fill:r||"#333543"}),f.jsx("circle",{cx:"224.582",cy:"137.083",r:"17.5",fill:r||"#333543"}),f.jsx("circle",{cx:"247.918",cy:"137.083",r:"17.5",fill:r||"#333543"})]})}function kW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||280,height:t||172,viewBox:"0 0 280 172",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("rect",{x:"1.45763",y:"-1.45763",width:"277.085",height:"169.085",rx:"13.1186",transform:"matrix(1 0 0 -1 0 169.085)",fill:"white",fillOpacity:"0.8",stroke:"#1B1C23",strokeWidth:"2.91525"}),f.jsx("rect",{x:"23.332",y:"23.3223",width:"107.917",height:"11.661",fill:r||"#333543"}),f.jsx("rect",{x:"93.332",y:"142.848",width:"99.1667",height:"11.661",fill:r||"#333543"}),f.jsx("rect",{x:"145.832",y:"122.44",width:"37.9167",height:"11.661",fill:r||"#333543"}),f.jsx("rect",{x:"23.332",y:"99.1182",width:"46.6667",height:"11.661",fill:r||"#333543"}),f.jsx("rect",{x:"84.582",y:"99.1182",width:"46.6667",height:"11.661",fill:r||"#333543"}),f.jsx("rect",{x:"145.832",y:"99.1182",width:"46.6667",height:"11.661",fill:r||"#333543"}),f.jsx("rect",{x:"207.082",y:"99.1182",width:"46.6667",height:"11.661",fill:r||"#333543"}),f.jsx("rect",{x:"23.332",y:"142.848",width:"61.25",height:"11.661",fill:r||"#333543"}),f.jsx("rect",{x:"23.3359",y:"52.4746",width:"40.8333",height:"37.8983",rx:"5.83051",fill:r||"#333543"}),f.jsx("rect",{x:"23.3359",y:"58.3047",width:"40.8333",height:"1.45763",fill:"white"}),f.jsx("rect",{x:"23.3359",y:"67.0508",width:"14.5833",height:"1.45763",fill:"white"}),f.jsx("rect",{x:"49.5859",y:"67.0508",width:"14.5833",height:"1.45763",fill:"white"}),f.jsx("rect",{x:"23.3359",y:"74.3389",width:"14.5833",height:"1.45763",fill:"white"}),f.jsx("rect",{x:"49.5859",y:"74.3389",width:"14.5833",height:"1.45763",fill:"white"}),f.jsx("rect",{x:"44.4805",y:"52.4746",width:"5.83051",height:"1.45833",transform:"rotate(90 44.4805 52.4746)",fill:"white"}),f.jsx("rect",{x:"37.918",y:"58.3047",width:"26.2373",height:"1.45833",transform:"rotate(90 37.918 58.3047)",fill:"white"}),f.jsx("rect",{x:"51.043",y:"67.0508",width:"17.4915",height:"1.45833",transform:"rotate(90 51.043 67.0508)",fill:"white"}),f.jsx("rect",{x:"44.4805",y:"84.542",width:"5.83051",height:"1.45833",transform:"rotate(90 44.4805 84.542)",fill:"white"}),f.jsx("rect",{x:"23.3359",y:"83.085",width:"40.8333",height:"1.45763",fill:"white"}),f.jsx("circle",{cx:"224.476",cy:"137.017",r:"17.4915",fill:r||"#333543"}),f.jsx("circle",{cx:"247.796",cy:"137.017",r:"17.4915",fill:r||"#333543"})]})}function xW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||270,height:t||172,viewBox:"0 0 270 172",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("rect",{x:"1.40984",y:"-1.40984",width:"267.18",height:"169.18",rx:"12.6885",transform:"matrix(1 0 0 -1 0 169.18)",fill:"white",fillOpacity:"0.8",stroke:"#1B1C23",strokeWidth:"2.81967"}),f.jsx("rect",{x:"22.5",y:"22.5576",width:"104.062",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"171.562",y:"22.5576",width:"75.9375",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"154.688",y:"138.164",width:"92.8125",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"47.9346",width:"61.875",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"95.625",y:"47.9346",width:"61.875",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"73.3115",width:"73.125",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"112.787",width:"50.625",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"138.164",width:"87.1875",height:"11.2787",fill:r||"#333543"})]})}function FW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||270,height:t||172,viewBox:"0 0 270 172",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("rect",{x:"1.40625",y:"-1.40625",width:"267.188",height:"169.188",rx:"12.6562",transform:"matrix(1 0 0 -1 0 169.188)",fill:"white",fillOpacity:"0.8",stroke:"#1B1C23",strokeWidth:"2.8125"}),f.jsx("rect",{x:"22.5",y:"22.5576",width:"225",height:"33.8361",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"112.787",width:"61.875",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"95.625",y:"112.787",width:"61.875",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"138.164",width:"87.1875",height:"11.2787",fill:r||"#333543"}),f.jsxs("g",{clipPath:"url(#clip0_10772_56590)",children:[f.jsx("path",{d:"M247.5 22.5576H22.5V64.8527H247.5V22.5576Z",fill:"#D6D6D6"}),f.jsx("path",{d:"M37.4999 22.5576H22.5V27.257H37.4999V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M41.2501 22.5576H39.375V27.257H41.2501V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M45.0079 22.5576H43.1328V27.257H45.0079V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M48.7423 22.5576H46.8672V27.257H48.7423V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M63.7577 22.5576H54.3828V27.257H63.7577V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M67.4962 22.5576H65.6211V27.257H67.4962V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M71.254 22.5576H69.3789V27.257H71.254V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M82.4999 22.5576H73.125V27.257H82.4999V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M89.9921 22.5576H86.2422V27.257H89.9921V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M93.754 22.5576H91.8789V27.257H93.754V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M99.3749 22.5576H95.625V27.257H99.3749V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M110.621 22.5576H104.996V27.257H110.621V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M121.875 22.5576H118.125V27.257H121.875V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M133.125 22.5576H129.375V27.257H133.125V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M136.875 22.5576H135V27.257H136.875V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M140.633 22.5576H138.758V27.257H140.633V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M151.871 22.5576H149.996V27.257H151.871V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M159.379 22.5576H153.754V27.257H159.379V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M172.508 22.5576H166.883V27.257H172.508V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M176.25 22.5576H174.375V27.257H176.25V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M191.254 22.5576H181.879V27.257H191.254V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M195.004 22.5576H193.129V27.257H195.004V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M198.75 22.5576H196.875V27.257H198.75V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M209.996 22.5576H200.621V27.257H209.996V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M226.875 22.5576H213.75V27.257H226.875V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M230.621 22.5576H228.746V27.257H230.621V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M238.125 22.5576H236.25V27.257H238.125V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M241.883 22.5576H240.008V27.257H241.883V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M247.496 22.5576H245.621V27.257H247.496V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M37.4999 27.2578H22.5V31.9572H37.4999V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M41.2501 27.2578H39.375V31.9572H41.2501V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M45.0079 27.2578H43.1328V31.9572H45.0079V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M48.7423 27.2578H46.8672V31.9572H48.7423V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M61.8829 27.2578H54.3828V31.9572H61.8829V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M65.629 27.2578H63.7539V31.9572H65.629V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M69.3751 27.2578H67.5V31.9572H69.3751V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M78.7462 27.2578H76.8711V31.9572H78.7462V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M91.8672 27.2578H86.2422V31.9572H91.8672V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M99.379 27.2578H97.5039V31.9572H99.379V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M105 27.2578H101.25V31.9572H105V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M112.508 27.2578H110.633V31.9572H112.508V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M121.875 27.2578H118.125V31.9572H121.875V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M133.129 27.2578H125.629V31.9572H133.129V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M136.875 27.2578H135V31.9572H136.875V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M148.133 27.2578H138.758V31.9572H148.133V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M155.621 27.2578H149.996V31.9572H155.621V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M163.121 27.2578H161.246V31.9572H163.121V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M174.375 27.2578H168.75V31.9572H174.375V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M180.004 27.2578H176.254V31.9572H180.004V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M189.379 27.2578H181.879V31.9572H189.379V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M193.125 27.2578H191.25V31.9572H193.125V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M196.883 27.2578H195.008V31.9572H196.883V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M202.496 27.2578H200.621V31.9572H202.496V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M226.875 27.2578H213.75V31.9572H226.875V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M230.621 27.2578H228.746V31.9572H230.621V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M238.125 27.2578H236.25V31.9572H238.125V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M241.883 27.2578H240.008V31.9572H241.883V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M247.496 27.2578H245.621V31.9572H247.496V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M37.4999 31.9561H22.5V36.6555H37.4999V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M41.2501 31.9561H39.375V36.6555H41.2501V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M45.0079 31.9561H43.1328V36.6555H45.0079V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M48.7423 31.9561H46.8672V36.6555H48.7423V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M56.2579 31.9561H54.3828V36.6555H56.2579V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M59.9923 31.9561H58.1172V36.6555H59.9923V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M63.7501 31.9561H61.875V36.6555H63.7501V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M75.0001 31.9561H67.5V36.6555H75.0001V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M89.9921 31.9561H86.2422V36.6555H89.9921V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M103.129 31.9561H91.8789V36.6555H103.129V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M108.746 31.9561H104.996V36.6555H108.746V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M112.508 31.9561H110.633V36.6555H112.508V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M120 31.9561H118.125V36.6555H120V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M123.746 31.9561H121.871V36.6555H123.746V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M136.871 31.9561H133.121V36.6555H136.871V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M148.133 31.9561H138.758V36.6555H148.133V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M151.871 31.9561H149.996V36.6555H151.871V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M161.258 31.9561H155.633V36.6555H161.258V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M172.492 31.9561H170.617V36.6555H172.492V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M178.125 31.9561H174.375V36.6555H178.125V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M183.754 31.9561H181.879V36.6555H183.754V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M187.5 31.9561H185.625V36.6555H187.5V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M191.246 31.9561H189.371V36.6555H191.246V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M206.242 31.9561H198.742V36.6555H206.242V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M226.875 31.9561H213.75V36.6555H226.875V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M230.621 31.9561H228.746V36.6555H230.621V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M238.125 31.9561H236.25V36.6555H238.125V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M241.883 31.9561H240.008V36.6555H241.883V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M247.496 31.9561H245.621V36.6555H247.496V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M37.4999 36.6562H22.5V41.3557H37.4999V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M41.2501 36.6562H39.375V41.3557H41.2501V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M45.0079 36.6562H43.1328V41.3557H45.0079V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M48.7423 36.6562H46.8672V41.3557H48.7423V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M58.1327 36.6562H54.3828V41.3557H58.1327V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M61.8712 36.6562H59.9961V41.3557H61.8712V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M71.254 36.6562H63.7539V41.3557H71.254V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M84.3671 36.6562H74.9922V41.3557H84.3671V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M95.6171 36.6562H86.2422V41.3557H95.6171V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M99.379 36.6562H97.5039V41.3557H99.379V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M103.125 36.6562H101.25V41.3557H103.125V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M116.25 36.6562H106.875V41.3557H116.25V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M123.75 36.6562H118.125V41.3557H123.75V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M131.254 36.6562H125.629V41.3557H131.254V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M134.996 36.6562H133.121V41.3557H134.996V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M140.633 36.6562H138.758V41.3557H140.633V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M153.746 36.6562H149.996V41.3557H153.746V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M157.508 36.6562H155.633V41.3557H157.508V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M168.758 36.6562H166.883V41.3557H168.758V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M180.004 36.6562H176.254V41.3557H180.004V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M185.629 36.6562H181.879V41.3557H185.629V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M189.367 36.6562H187.492V41.3557H189.367V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M198.75 36.6562H191.25V41.3557H198.75V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M211.875 36.6562H202.5V41.3557H211.875V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M226.875 36.6562H213.75V41.3557H226.875V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M230.621 36.6562H228.746V41.3557H230.621V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M238.125 36.6562H236.25V41.3557H238.125V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M241.883 36.6562H240.008V41.3557H241.883V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M247.496 36.6562H245.621V41.3557H247.496V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M37.4999 41.3564H22.5V46.0559H37.4999V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M41.2501 41.3564H39.375V46.0559H41.2501V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M45.0079 41.3564H43.1328V46.0559H45.0079V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M48.7423 41.3564H46.8672V46.0559H48.7423V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M58.1327 41.3564H54.3828V46.0559H58.1327V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M61.8712 41.3564H59.9961V46.0559H61.8712V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M69.3789 41.3564H63.7539V46.0559H69.3789V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M80.6251 41.3564H78.75V46.0559H80.6251V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M97.4922 41.3564H86.2422V46.0559H97.4922V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M105.008 41.3564H99.3828V46.0559H105.008V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M108.75 41.3564H106.875V46.0559H108.75V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M112.508 41.3564H110.633V46.0559H112.508V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M123.75 41.3564H118.125V46.0559H123.75V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M127.504 41.3564H125.629V46.0559H127.504V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M134.992 41.3564H131.242V46.0559H134.992V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M138.754 41.3564H136.879V46.0559H138.754V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M153.746 41.3564H149.996V46.0559H153.746V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M166.879 41.3564H165.004V46.0559H166.879V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M176.242 41.3564H170.617V46.0559H176.242V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M179.996 41.3564H178.121V46.0559H179.996V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M189.379 41.3564H181.879V46.0559H189.379V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M193.125 41.3564H191.25V46.0559H193.125V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M200.633 41.3564H195.008V46.0559H200.633V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M210.004 41.3564H204.379V46.0559H210.004V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M226.875 41.3564H213.75V46.0559H226.875V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M230.621 41.3564H228.746V46.0559H230.621V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M238.125 41.3564H236.25V46.0559H238.125V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M241.883 41.3564H240.008V46.0559H241.883V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M247.496 41.3564H245.621V46.0559H247.496V41.3564Z",fill:"#272833"}),f.jsx("path",{d:"M37.4999 46.0537H22.5V50.7531H37.4999V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M41.2501 46.0537H39.375V50.7531H41.2501V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M45.0079 46.0537H43.1328V50.7531H45.0079V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M48.7423 46.0537H46.8672V50.7531H48.7423V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M63.7577 46.0537H54.3828V50.7531H63.7577V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M67.4962 46.0537H65.6211V50.7531H67.4962V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M76.879 46.0537H69.3789V50.7531H76.879V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M82.4999 46.0537H78.75V50.7531H82.4999V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M93.7423 46.0537H86.2422V50.7531H93.7423V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M97.5001 46.0537H95.625V50.7531H97.5001V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M108.75 46.0537H101.25V50.7531H108.75V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M112.508 46.0537H110.633V50.7531H112.508V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M120 46.0537H118.125V50.7531H120V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M127.496 46.0537H121.871V50.7531H127.496V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M135 46.0537H129.375V50.7531H135V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M148.125 46.0537H140.625V50.7531H148.125V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M153.746 46.0537H149.996V50.7531H153.746V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M168.742 46.0537H159.367V50.7531H168.742V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M174.371 46.0537H172.496V50.7531H174.371V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M179.996 46.0537H178.121V50.7531H179.996V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M189.379 46.0537H181.879V50.7531H189.379V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M193.125 46.0537H191.25V50.7531H193.125V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M204.383 46.0537H195.008V50.7531H204.383V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M209.996 46.0537H206.246V50.7531H209.996V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M226.875 46.0537H213.75V50.7531H226.875V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M230.621 46.0537H228.746V50.7531H230.621V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M238.125 46.0537H236.25V50.7531H238.125V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M241.883 46.0537H240.008V50.7531H241.883V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M247.496 46.0537H245.621V50.7531H247.496V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M37.4999 50.7539H22.5V55.4533H37.4999V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M41.2501 50.7539H39.375V55.4533H41.2501V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M45.0079 50.7539H43.1328V55.4533H45.0079V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M48.7423 50.7539H46.8672V55.4533H48.7423V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M60.0078 50.7539H54.3828V55.4533H60.0078V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M63.7501 50.7539H61.875V55.4533H63.7501V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M73.125 50.7539H67.5V55.4533H73.125V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M84.3671 50.7539H74.9922V55.4533H84.3671V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M88.1173 50.7539H86.2422V55.4533H88.1173V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M99.3749 50.7539H95.625V55.4533H99.3749V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M108.746 50.7539H104.996V55.4533H108.746V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M114.375 50.7539H112.5V55.4533H114.375V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M121.875 50.7539H118.125V55.4533H121.875V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M129.379 50.7539H125.629V55.4533H129.379V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M140.629 50.7539H136.879V55.4533H140.629V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M148.121 50.7539H144.371V55.4533H148.121V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M151.871 50.7539H149.996V55.4533H151.871V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M163.121 50.7539H161.246V55.4533H163.121V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M172.5 50.7539H168.75V55.4533H172.5V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M178.125 50.7539H174.375V55.4533H178.125V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M187.504 50.7539H181.879V55.4533H187.504V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M191.246 50.7539H189.371V55.4533H191.246V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M200.633 50.7539H195.008V55.4533H200.633V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M211.875 50.7539H202.5V55.4533H211.875V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M226.875 50.7539H213.75V55.4533H226.875V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M230.621 50.7539H228.746V55.4533H230.621V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M238.125 50.7539H236.25V55.4533H238.125V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M241.883 50.7539H240.008V55.4533H241.883V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M247.496 50.7539H245.621V55.4533H247.496V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M37.4999 55.4551H22.5V60.1545H37.4999V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M41.2501 55.4551H39.375V60.1545H41.2501V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M45.0079 55.4551H43.1328V60.1545H45.0079V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M48.7423 55.4551H46.8672V60.1545H48.7423V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M65.6328 55.4551H54.3828V60.1545H65.6328V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M69.3751 55.4551H67.5V60.1545H69.3751V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M75.0001 55.4551H73.125V60.1545H75.0001V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M82.4961 55.4551H76.8711V60.1545H82.4961V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M88.1173 55.4551H86.2422V60.1545H88.1173V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M97.5001 55.4551H90V60.1545H97.5001V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M103.133 55.4551H99.3828V60.1545H103.133V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M114.371 55.4551H104.996V60.1545H114.371V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M120 55.4551H118.125V60.1545H120V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M123.746 55.4551H121.871V60.1545H123.746V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M133.129 55.4551H125.629V60.1545H133.129V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M142.5 55.4551H140.625V60.1545H142.5V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M157.496 55.4551H149.996V60.1545H157.496V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M164.996 55.4551H161.246V60.1545H164.996V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M172.5 55.4551H168.75V60.1545H172.5V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M176.25 55.4551H174.375V60.1545H176.25V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M183.754 55.4551H181.879V60.1545H183.754V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M187.5 55.4551H185.625V60.1545H187.5V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M200.621 55.4551H189.371V60.1545H200.621V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M208.125 55.4551H202.5V60.1545H208.125V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M226.875 55.4551H213.75V60.1545H226.875V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M230.621 55.4551H228.746V60.1545H230.621V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M238.125 55.4551H236.25V60.1545H238.125V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M241.883 55.4551H240.008V60.1545H241.883V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M247.496 55.4551H245.621V60.1545H247.496V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M37.4999 60.1523H22.5V64.8518H37.4999V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M41.2501 60.1523H39.375V64.8518H41.2501V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M45.0079 60.1523H43.1328V64.8518H45.0079V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M48.7423 60.1523H46.8672V64.8518H48.7423V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M65.6328 60.1523H54.3828V64.8518H65.6328V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M69.3751 60.1523H67.5V64.8518H69.3751V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M76.8749 60.1523H73.125V64.8518H76.8749V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M82.504 60.1523H80.6289V64.8518H82.504V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M88.1173 60.1523H86.2422V64.8518H88.1173V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M99.3711 60.1523H93.7461V64.8518H99.3711V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M103.125 60.1523H101.25V64.8518H103.125V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M112.504 60.1523H108.754V64.8518H112.504V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M121.875 60.1523H118.125V64.8518H121.875V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M131.258 60.1523H127.508V64.8518H131.258V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M138.754 60.1523H136.879V64.8518H138.754V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M148.125 60.1523H140.625V64.8518H148.125V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M153.746 60.1523H149.996V64.8518H153.746V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M159.383 60.1523H155.633V64.8518H159.383V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M163.121 60.1523H161.246V64.8518H163.121V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M172.504 60.1523H165.004V64.8518H172.504V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M191.254 60.1523H181.879V64.8518H191.254V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M195.004 60.1523H193.129V64.8518H195.004V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M204.367 60.1523H198.742V64.8518H204.367V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M208.121 60.1523H206.246V64.8518H208.121V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M226.875 60.1523H213.75V64.8518H226.875V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M230.621 60.1523H228.746V64.8518H230.621V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M238.125 60.1523H236.25V64.8518H238.125V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M241.883 60.1523H240.008V64.8518H241.883V60.1523Z",fill:"#272833"}),f.jsx("path",{d:"M247.496 60.1523H245.621V64.8518H247.496V60.1523Z",fill:"#272833"})]}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_10772_56590",children:f.jsx("rect",{width:"225",height:"42.2951",fill:"white",transform:"translate(22.5 22.5576)"})})})]})}function HW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||270,height:t||172,viewBox:"0 0 270 172",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("rect",{x:"1.40984",y:"-1.40984",width:"267.18",height:"169.18",rx:"12.6885",transform:"matrix(1 0 0 -1 0 169.18)",fill:"white",fillOpacity:"0.8",stroke:"#1B1C23",strokeWidth:"2.81967"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M101.246 28.1982H22.4961V126.887C22.4962 124.482 27.1732 123.323 32.6526 121.964C39.93 120.16 48.6229 118.005 49.6542 112.116C44.6713 108.96 42.7698 104.198 40.8243 99.3255C40.4465 98.3791 40.0669 97.4286 39.6629 96.485C34.7738 101.236 32.5935 79.4764 36.9774 79.4764C28.6435 56.9793 51.4615 38.5191 72.545 51.2088C84.91 48.5382 91.7424 63.3145 84.3766 79.4768C87.4153 78.0182 87.9964 85.7946 87.4153 90.6287C87.4153 91.8706 86.1245 100.564 82.8626 97.1966C82.4668 98.1115 82.0949 99.0331 81.7247 99.9507L81.7241 99.9523L81.7239 99.9527C79.768 104.801 77.8573 109.537 72.6874 112.594C74.1725 118.123 83.0554 120.21 90.5254 121.964C96.3092 123.323 101.246 124.482 101.246 126.887V28.1982Z",fill:r||"#333543"}),f.jsx("rect",{x:"112.5",y:"104.327",width:"59.0625",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"182.812",y:"104.327",width:"64.6875",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"112.5",y:"28.1963",width:"61.875",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"112.5",y:"53.5742",width:"61.875",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"112.5",y:"78.9512",width:"104.062",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"112.5",y:"129.704",width:"135",height:"11.2787",fill:r||"#333543"})]})}function VW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||270,height:t||172,viewBox:"0 0 270 172",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("rect",{x:"1.40625",y:"-1.40625",width:"267.188",height:"169.188",rx:"12.6562",transform:"matrix(1 0 0 -1 0 169.188)",fill:"white",fillOpacity:"0.8",stroke:"#1B1C23",strokeWidth:"2.8125"}),f.jsx("rect",{x:"22.5",y:"124.065",width:"225",height:"8.45902",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"107.147",width:"225",height:"8.45902",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"25.377",width:"104.062",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"50.7539",width:"61.875",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"95.625",y:"50.7539",width:"61.875",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"140.983",width:"225",height:"8.45902",fill:r||"#333543"})]})}function UW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||270,height:t||172,viewBox:"0 0 270 172",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("rect",{x:"1.40984",y:"-1.40984",width:"267.18",height:"169.18",rx:"12.6885",transform:"matrix(1 0 0 -1 0 169.18)",fill:"white",fillOpacity:"0.8",stroke:"#1B1C23",strokeWidth:"2.81967"}),f.jsx("rect",{x:"22.5",y:"124.065",width:"225",height:"8.45902",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"107.147",width:"225",height:"8.45902",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"140.983",width:"225",height:"8.45902",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"76.1309",width:"61.875",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"95.625",y:"76.1309",width:"61.875",height:"11.2787",fill:r||"#333543"}),f.jsxs("g",{clipPath:"url(#clip0_10772_56870)",children:[f.jsx("path",{d:"M247.496 22.5576H22.4961V64.8527H247.496V22.5576Z",fill:"#D6D6D6"}),f.jsx("path",{d:"M37.496 22.5576H22.4961V27.257H37.496V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M41.2462 22.5576H39.3711V27.257H41.2462V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M45.004 22.5576H43.1289V27.257H45.004V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M48.7384 22.5576H46.8633V27.257H48.7384V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M63.7538 22.5576H54.3789V27.257H63.7538V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M67.4923 22.5576H65.6172V27.257H67.4923V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M71.2501 22.5576H69.375V27.257H71.2501V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M82.496 22.5576H73.1211V27.257H82.496V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M89.9882 22.5576H86.2383V27.257H89.9882V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M93.7501 22.5576H91.875V27.257H93.7501V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M99.371 22.5576H95.6211V27.257H99.371V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M110.617 22.5576H104.992V27.257H110.617V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M121.871 22.5576H118.121V27.257H121.871V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M133.121 22.5576H129.371V27.257H133.121V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M136.871 22.5576H134.996V27.257H136.871V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M140.629 22.5576H138.754V27.257H140.629V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M151.867 22.5576H149.992V27.257H151.867V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M159.375 22.5576H153.75V27.257H159.375V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M172.504 22.5576H166.879V27.257H172.504V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M176.246 22.5576H174.371V27.257H176.246V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M191.25 22.5576H181.875V27.257H191.25V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M195 22.5576H193.125V27.257H195V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M198.746 22.5576H196.871V27.257H198.746V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M209.992 22.5576H200.617V27.257H209.992V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M226.871 22.5576H213.746V27.257H226.871V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M230.617 22.5576H228.742V27.257H230.617V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M238.121 22.5576H236.246V27.257H238.121V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M241.879 22.5576H240.004V27.257H241.879V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M247.492 22.5576H245.617V27.257H247.492V22.5576Z",fill:"#272833"}),f.jsx("path",{d:"M37.496 27.2578H22.4961V31.9572H37.496V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M41.2462 27.2578H39.3711V31.9572H41.2462V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M45.004 27.2578H43.1289V31.9572H45.004V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M48.7384 27.2578H46.8633V31.9572H48.7384V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M61.879 27.2578H54.3789V31.9572H61.879V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M65.6251 27.2578H63.75V31.9572H65.6251V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M69.3712 27.2578H67.4961V31.9572H69.3712V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M78.7423 27.2578H76.8672V31.9572H78.7423V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M91.8633 27.2578H86.2383V31.9572H91.8633V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M99.3751 27.2578H97.5V31.9572H99.3751V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M104.996 27.2578H101.246V31.9572H104.996V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M112.504 27.2578H110.629V31.9572H112.504V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M121.871 27.2578H118.121V31.9572H121.871V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M133.125 27.2578H125.625V31.9572H133.125V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M136.871 27.2578H134.996V31.9572H136.871V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M148.129 27.2578H138.754V31.9572H148.129V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M155.617 27.2578H149.992V31.9572H155.617V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M163.117 27.2578H161.242V31.9572H163.117V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M174.371 27.2578H168.746V31.9572H174.371V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M180 27.2578H176.25V31.9572H180V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M189.375 27.2578H181.875V31.9572H189.375V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M193.121 27.2578H191.246V31.9572H193.121V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M196.879 27.2578H195.004V31.9572H196.879V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M202.492 27.2578H200.617V31.9572H202.492V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M226.871 27.2578H213.746V31.9572H226.871V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M230.617 27.2578H228.742V31.9572H230.617V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M238.121 27.2578H236.246V31.9572H238.121V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M241.879 27.2578H240.004V31.9572H241.879V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M247.492 27.2578H245.617V31.9572H247.492V27.2578Z",fill:"#272833"}),f.jsx("path",{d:"M37.496 31.9561H22.4961V36.6555H37.496V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M41.2462 31.9561H39.3711V36.6555H41.2462V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M45.004 31.9561H43.1289V36.6555H45.004V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M48.7384 31.9561H46.8633V36.6555H48.7384V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M56.254 31.9561H54.3789V36.6555H56.254V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M59.9884 31.9561H58.1133V36.6555H59.9884V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M63.7462 31.9561H61.8711V36.6555H63.7462V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M74.9962 31.9561H67.4961V36.6555H74.9962V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M89.9882 31.9561H86.2383V36.6555H89.9882V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M103.125 31.9561H91.875V36.6555H103.125V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M108.742 31.9561H104.992V36.6555H108.742V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M112.504 31.9561H110.629V36.6555H112.504V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M119.996 31.9561H118.121V36.6555H119.996V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M123.742 31.9561H121.867V36.6555H123.742V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M136.867 31.9561H133.117V36.6555H136.867V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M148.129 31.9561H138.754V36.6555H148.129V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M151.867 31.9561H149.992V36.6555H151.867V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M161.254 31.9561H155.629V36.6555H161.254V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M172.488 31.9561H170.613V36.6555H172.488V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M178.121 31.9561H174.371V36.6555H178.121V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M183.75 31.9561H181.875V36.6555H183.75V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M187.496 31.9561H185.621V36.6555H187.496V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M191.242 31.9561H189.367V36.6555H191.242V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M206.238 31.9561H198.738V36.6555H206.238V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M226.871 31.9561H213.746V36.6555H226.871V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M230.617 31.9561H228.742V36.6555H230.617V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M238.121 31.9561H236.246V36.6555H238.121V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M241.879 31.9561H240.004V36.6555H241.879V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M247.492 31.9561H245.617V36.6555H247.492V31.9561Z",fill:"#272833"}),f.jsx("path",{d:"M37.496 36.6562H22.4961V41.3557H37.496V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M41.2462 36.6562H39.3711V41.3557H41.2462V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M45.004 36.6562H43.1289V41.3557H45.004V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M48.7384 36.6562H46.8633V41.3557H48.7384V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M58.1288 36.6562H54.3789V41.3557H58.1288V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M61.8673 36.6562H59.9922V41.3557H61.8673V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M71.2501 36.6562H63.75V41.3557H71.2501V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M84.3632 36.6562H74.9883V41.3557H84.3632V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M95.6132 36.6562H86.2383V41.3557H95.6132V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M99.3751 36.6562H97.5V41.3557H99.3751V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M103.121 36.6562H101.246V41.3557H103.121V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M116.246 36.6562H106.871V41.3557H116.246V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M123.746 36.6562H118.121V41.3557H123.746V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M131.25 36.6562H125.625V41.3557H131.25V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M134.992 36.6562H133.117V41.3557H134.992V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M140.629 36.6562H138.754V41.3557H140.629V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M153.742 36.6562H149.992V41.3557H153.742V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M157.504 36.6562H155.629V41.3557H157.504V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M168.754 36.6562H166.879V41.3557H168.754V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M180 36.6562H176.25V41.3557H180V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M185.625 36.6562H181.875V41.3557H185.625V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M189.363 36.6562H187.488V41.3557H189.363V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M198.746 36.6562H191.246V41.3557H198.746V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M211.871 36.6562H202.496V41.3557H211.871V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M226.871 36.6562H213.746V41.3557H226.871V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M230.617 36.6562H228.742V41.3557H230.617V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M238.121 36.6562H236.246V41.3557H238.121V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M241.879 36.6562H240.004V41.3557H241.879V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M247.492 36.6562H245.617V41.3557H247.492V36.6562Z",fill:"#272833"}),f.jsx("path",{d:"M37.496 41.3555H22.4961V46.0549H37.496V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M41.2462 41.3555H39.3711V46.0549H41.2462V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M45.004 41.3555H43.1289V46.0549H45.004V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M48.7384 41.3555H46.8633V46.0549H48.7384V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M58.1288 41.3555H54.3789V46.0549H58.1288V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M61.8673 41.3555H59.9922V46.0549H61.8673V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M69.375 41.3555H63.75V46.0549H69.375V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M80.6212 41.3555H78.7461V46.0549H80.6212V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M97.4883 41.3555H86.2383V46.0549H97.4883V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M105.004 41.3555H99.3789V46.0549H105.004V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M108.746 41.3555H106.871V46.0549H108.746V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M112.504 41.3555H110.629V46.0549H112.504V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M123.746 41.3555H118.121V46.0549H123.746V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M127.5 41.3555H125.625V46.0549H127.5V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M134.988 41.3555H131.238V46.0549H134.988V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M138.75 41.3555H136.875V46.0549H138.75V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M153.742 41.3555H149.992V46.0549H153.742V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M166.875 41.3555H165V46.0549H166.875V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M176.238 41.3555H170.613V46.0549H176.238V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M179.992 41.3555H178.117V46.0549H179.992V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M189.375 41.3555H181.875V46.0549H189.375V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M193.121 41.3555H191.246V46.0549H193.121V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M200.629 41.3555H195.004V46.0549H200.629V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M210 41.3555H204.375V46.0549H210V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M226.871 41.3555H213.746V46.0549H226.871V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M230.617 41.3555H228.742V46.0549H230.617V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M238.121 41.3555H236.246V46.0549H238.121V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M241.879 41.3555H240.004V46.0549H241.879V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M247.492 41.3555H245.617V46.0549H247.492V41.3555Z",fill:"#272833"}),f.jsx("path",{d:"M37.496 46.0537H22.4961V50.7531H37.496V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M41.2462 46.0537H39.3711V50.7531H41.2462V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M45.004 46.0537H43.1289V50.7531H45.004V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M48.7384 46.0537H46.8633V50.7531H48.7384V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M63.7538 46.0537H54.3789V50.7531H63.7538V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M67.4923 46.0537H65.6172V50.7531H67.4923V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M76.8751 46.0537H69.375V50.7531H76.8751V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M82.496 46.0537H78.7461V50.7531H82.496V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M93.7384 46.0537H86.2383V50.7531H93.7384V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M97.4962 46.0537H95.6211V50.7531H97.4962V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M108.746 46.0537H101.246V50.7531H108.746V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M112.504 46.0537H110.629V50.7531H112.504V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M119.996 46.0537H118.121V50.7531H119.996V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M127.492 46.0537H121.867V50.7531H127.492V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M134.996 46.0537H129.371V50.7531H134.996V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M148.121 46.0537H140.621V50.7531H148.121V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M153.742 46.0537H149.992V50.7531H153.742V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M168.738 46.0537H159.363V50.7531H168.738V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M174.367 46.0537H172.492V50.7531H174.367V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M179.992 46.0537H178.117V50.7531H179.992V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M189.375 46.0537H181.875V50.7531H189.375V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M193.121 46.0537H191.246V50.7531H193.121V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M204.379 46.0537H195.004V50.7531H204.379V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M209.992 46.0537H206.242V50.7531H209.992V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M226.871 46.0537H213.746V50.7531H226.871V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M230.617 46.0537H228.742V50.7531H230.617V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M238.121 46.0537H236.246V50.7531H238.121V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M241.879 46.0537H240.004V50.7531H241.879V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M247.492 46.0537H245.617V50.7531H247.492V46.0537Z",fill:"#272833"}),f.jsx("path",{d:"M37.496 50.7539H22.4961V55.4533H37.496V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M41.2462 50.7539H39.3711V55.4533H41.2462V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M45.004 50.7539H43.1289V55.4533H45.004V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M48.7384 50.7539H46.8633V55.4533H48.7384V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M60.0039 50.7539H54.3789V55.4533H60.0039V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M63.7462 50.7539H61.8711V55.4533H63.7462V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M73.1211 50.7539H67.4961V55.4533H73.1211V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M84.3632 50.7539H74.9883V55.4533H84.3632V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M88.1134 50.7539H86.2383V55.4533H88.1134V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M99.371 50.7539H95.6211V55.4533H99.371V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M108.742 50.7539H104.992V55.4533H108.742V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M114.371 50.7539H112.496V55.4533H114.371V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M121.871 50.7539H118.121V55.4533H121.871V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M129.375 50.7539H125.625V55.4533H129.375V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M140.625 50.7539H136.875V55.4533H140.625V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M148.117 50.7539H144.367V55.4533H148.117V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M151.867 50.7539H149.992V55.4533H151.867V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M163.117 50.7539H161.242V55.4533H163.117V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M172.496 50.7539H168.746V55.4533H172.496V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M178.121 50.7539H174.371V55.4533H178.121V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M187.5 50.7539H181.875V55.4533H187.5V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M191.242 50.7539H189.367V55.4533H191.242V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M200.629 50.7539H195.004V55.4533H200.629V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M211.871 50.7539H202.496V55.4533H211.871V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M226.871 50.7539H213.746V55.4533H226.871V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M230.617 50.7539H228.742V55.4533H230.617V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M238.121 50.7539H236.246V55.4533H238.121V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M241.879 50.7539H240.004V55.4533H241.879V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M247.492 50.7539H245.617V55.4533H247.492V50.7539Z",fill:"#272833"}),f.jsx("path",{d:"M37.496 55.4551H22.4961V60.1545H37.496V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M41.2462 55.4551H39.3711V60.1545H41.2462V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M45.004 55.4551H43.1289V60.1545H45.004V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M48.7384 55.4551H46.8633V60.1545H48.7384V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M65.6289 55.4551H54.3789V60.1545H65.6289V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M69.3712 55.4551H67.4961V60.1545H69.3712V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M74.9962 55.4551H73.1211V60.1545H74.9962V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M82.4922 55.4551H76.8672V60.1545H82.4922V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M88.1134 55.4551H86.2383V60.1545H88.1134V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M97.4962 55.4551H89.9961V60.1545H97.4962V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M103.129 55.4551H99.3789V60.1545H103.129V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M114.367 55.4551H104.992V60.1545H114.367V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M119.996 55.4551H118.121V60.1545H119.996V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M123.742 55.4551H121.867V60.1545H123.742V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M133.125 55.4551H125.625V60.1545H133.125V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M142.496 55.4551H140.621V60.1545H142.496V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M157.492 55.4551H149.992V60.1545H157.492V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M164.992 55.4551H161.242V60.1545H164.992V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M172.496 55.4551H168.746V60.1545H172.496V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M176.246 55.4551H174.371V60.1545H176.246V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M183.75 55.4551H181.875V60.1545H183.75V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M187.496 55.4551H185.621V60.1545H187.496V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M200.617 55.4551H189.367V60.1545H200.617V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M208.121 55.4551H202.496V60.1545H208.121V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M226.871 55.4551H213.746V60.1545H226.871V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M230.617 55.4551H228.742V60.1545H230.617V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M238.121 55.4551H236.246V60.1545H238.121V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M241.879 55.4551H240.004V60.1545H241.879V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M247.492 55.4551H245.617V60.1545H247.492V55.4551Z",fill:"#272833"}),f.jsx("path",{d:"M37.496 60.1514H22.4961V64.8508H37.496V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M41.2462 60.1514H39.3711V64.8508H41.2462V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M45.004 60.1514H43.1289V64.8508H45.004V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M48.7384 60.1514H46.8633V64.8508H48.7384V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M65.6289 60.1514H54.3789V64.8508H65.6289V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M69.3712 60.1514H67.4961V64.8508H69.3712V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M76.871 60.1514H73.1211V64.8508H76.871V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M82.5001 60.1514H80.625V64.8508H82.5001V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M88.1134 60.1514H86.2383V64.8508H88.1134V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M99.3672 60.1514H93.7422V64.8508H99.3672V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M103.121 60.1514H101.246V64.8508H103.121V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M112.5 60.1514H108.75V64.8508H112.5V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M121.871 60.1514H118.121V64.8508H121.871V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M131.254 60.1514H127.504V64.8508H131.254V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M138.75 60.1514H136.875V64.8508H138.75V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M148.121 60.1514H140.621V64.8508H148.121V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M153.742 60.1514H149.992V64.8508H153.742V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M159.379 60.1514H155.629V64.8508H159.379V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M163.117 60.1514H161.242V64.8508H163.117V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M172.5 60.1514H165V64.8508H172.5V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M191.25 60.1514H181.875V64.8508H191.25V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M195 60.1514H193.125V64.8508H195V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M204.363 60.1514H198.738V64.8508H204.363V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M208.117 60.1514H206.242V64.8508H208.117V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M226.871 60.1514H213.746V64.8508H226.871V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M230.617 60.1514H228.742V64.8508H230.617V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M238.121 60.1514H236.246V64.8508H238.121V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M241.879 60.1514H240.004V64.8508H241.879V60.1514Z",fill:"#272833"}),f.jsx("path",{d:"M247.492 60.1514H245.617V64.8508H247.492V60.1514Z",fill:"#272833"})]}),f.jsx("defs",{children:f.jsx("clipPath",{id:"clip0_10772_56870",children:f.jsx("rect",{width:"225",height:"42.2951",fill:"white",transform:"translate(22.5 22.5576)"})})})]})}function jW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||270,height:t||172,viewBox:"0 0 270 172",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("rect",{x:"1.40984",y:"-1.40984",width:"267.18",height:"169.18",rx:"12.6885",transform:"matrix(1 0 0 -1 0 169.18)",fill:"white",fillOpacity:"0.8",stroke:"#1B1C23",strokeWidth:"2.81967"}),f.jsx("rect",{x:"112.5",y:"25.377",width:"61.875",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"112.5",y:"50.7539",width:"61.875",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"112.5",y:"76.1309",width:"104.062",height:"11.2787",fill:r||"#333543"}),f.jsx("rect",{x:"22.5",y:"138.164",width:"225",height:"11.2787",fill:r||"#333543"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M101.25 25.377H22.5V124.065C22.5003 121.661 27.1772 120.502 32.6565 119.143C39.9339 117.339 48.6268 115.184 49.6581 109.295C44.6752 106.139 42.7737 101.377 40.8282 96.5044C40.4504 95.558 40.0708 94.6075 39.6668 93.6639C34.7777 98.4148 32.5974 76.6553 36.9813 76.6553C28.6474 54.1582 51.4654 35.698 72.5489 48.3877C84.9139 45.717 91.7464 60.4934 84.3805 76.6557C87.4192 75.1971 88.0003 82.9735 87.4192 87.8076C87.4192 89.0495 86.1284 97.7429 82.8665 94.3755C82.4704 95.2911 82.0983 96.2133 81.7279 97.1316C79.7719 101.98 77.8612 106.715 72.6914 109.773C74.1764 115.302 83.0593 117.388 90.5293 119.143C96.3129 120.502 101.25 121.661 101.25 124.065V25.377Z",fill:r||"#333543"})]})}function BW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||309,height:t||438,viewBox:"0 0 309 438",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M1.40455 22.4727C1.40455 18.5165 1.40564 15.6337 1.59124 13.3621C1.7755 11.1068 2.13459 9.57784 2.78232 8.3066C3.99425 5.92806 5.92806 3.99425 8.3066 2.78232C9.57784 2.13459 11.1068 1.7755 13.3621 1.59124C15.6337 1.40564 18.5165 1.40455 22.4727 1.40455H286.527C290.484 1.40455 293.366 1.40564 295.638 1.59124C297.893 1.7755 299.422 2.13459 300.693 2.78232C303.072 3.99425 305.006 5.92806 306.218 8.3066C306.865 9.57784 307.224 11.1068 307.409 13.3621C307.594 15.6337 307.595 18.5165 307.595 22.4727V217.595H1.40455V22.4727Z",fill:"white",fillOpacity:"0.8",stroke:"#1B1C23",strokeWidth:"2.80909"}),f.jsx("path",{d:"M1.40455 415.527C1.40455 419.484 1.40564 422.366 1.59124 424.638C1.7755 426.893 2.13459 428.422 2.78232 429.693C3.99425 432.072 5.92806 434.006 8.3066 435.218C9.57784 435.865 11.1068 436.225 13.3621 436.409C15.6337 436.594 18.5165 436.595 22.4727 436.595H286.527C290.484 436.595 293.366 436.594 295.638 436.409C297.893 436.225 299.422 435.865 300.693 435.218C303.072 434.006 305.006 432.072 306.218 429.693C306.865 428.422 307.224 426.893 307.409 424.638C307.594 422.366 307.595 419.484 307.595 415.527V220.405H1.40455V415.527Z",fill:"white",fillOpacity:"0.8",stroke:"#1B1C23",strokeWidth:"2.80909"}),f.jsx("rect",{x:"22.4727",y:"379.038",width:"264.055",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"224.727",y:"252.692",width:"61.8",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"112.363",y:"252.692",width:"61.8",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"112.363",y:"272.346",width:"61.8",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"112.363",y:"292",width:"103.936",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"112.363",y:"311.654",width:"78.6545",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"112.363",y:"331.308",width:"154.5",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"112.363",y:"350.962",width:"50.5636",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"22.4727",y:"404.308",width:"264.055",height:"11.2308",fill:r||"#333543"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M95.509 252.692H22.4727V348.154H95.509V348.154H22.4727C22.4727 345.828 26.8104 344.706 31.8923 343.392L31.8924 343.392C38.6418 341.647 46.7039 339.562 47.6604 333.866C43.039 330.813 41.2755 326.206 39.4712 321.494L39.4711 321.493C39.1207 320.578 38.7687 319.659 38.394 318.746C33.8596 323.342 31.8376 302.294 35.9034 302.294C28.1741 280.532 49.3366 262.676 68.8904 274.95C80.3582 272.367 86.695 286.66 79.8636 302.294C82.6818 300.883 83.2207 308.405 82.6818 313.081C82.6818 314.282 81.4847 322.692 78.4594 319.434C78.0921 320.32 77.747 321.212 77.4035 322.1L77.4034 322.1L77.4033 322.1C75.5893 326.79 73.8173 331.371 69.0225 334.328C70.3998 339.677 78.6382 341.695 85.5662 343.392C90.9184 344.703 95.4886 345.823 95.509 348.138V252.692Z",fill:r||"#333543"})]})}function GW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||309,height:t||219,viewBox:"0 0 309 219",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M1.40455 196.527C1.40455 200.484 1.40564 203.366 1.59124 205.638C1.7755 207.893 2.13459 209.422 2.78232 210.693C3.99425 213.072 5.92806 215.006 8.3066 216.218C9.57784 216.865 11.1068 217.225 13.3621 217.409C15.6337 217.594 18.5165 217.595 22.4727 217.595H286.527C290.484 217.595 293.366 217.594 295.638 217.409C297.893 217.225 299.422 216.865 300.693 216.218C303.072 215.006 305.006 213.072 306.218 210.693C306.865 209.422 307.224 207.893 307.409 205.638C307.594 203.366 307.595 200.484 307.595 196.527V1.40454H1.40455V196.527Z",fill:"white",fillOpacity:"0.8",stroke:"#1B1C23",strokeWidth:"2.80909"}),f.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M95.509 33.6924H22.4727V129.154H22.4727C22.4729 126.828 26.8105 125.706 31.8923 124.392L31.8924 124.392C38.6418 122.647 46.7039 120.562 47.6604 114.866C43.039 111.813 41.2755 107.207 39.4712 102.494L39.4711 102.494C39.1207 101.578 38.7687 100.659 38.394 99.7463C33.8596 104.342 31.8376 83.2938 35.9034 83.2938C28.1741 61.5324 49.3366 43.6758 68.8904 55.9505C80.3582 53.3672 86.695 67.6604 79.8636 83.2943C82.6818 81.8833 83.2207 89.4054 82.6818 94.0815C82.6818 95.2828 81.4847 103.692 78.4594 100.435C78.0921 101.32 77.747 102.212 77.4035 103.1L77.4034 103.1L77.4033 103.101C75.5893 107.79 73.8173 112.371 69.0225 115.329C70.3998 120.677 78.6382 122.695 85.5662 124.392C90.9184 125.703 95.4886 126.823 95.509 129.138V33.6924Z",fill:r||"#333543"}),f.jsx("rect",{x:"22.4727",y:"160.038",width:"264.055",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"224.727",y:"33.6924",width:"61.8",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"112.363",y:"33.6924",width:"61.8",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"112.363",y:"53.3457",width:"61.8",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"112.363",y:"73",width:"103.936",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"112.363",y:"92.6543",width:"78.6545",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"112.363",y:"112.308",width:"154.5",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"112.363",y:"131.962",width:"50.5636",height:"11.2308",fill:r||"#333543"}),f.jsx("rect",{x:"22.4727",y:"185.308",width:"264.055",height:"11.2308",fill:r||"#333543"})]})}function zW(e){let{size:t,color:r}=e;return f.jsxs("svg",{width:t||21,height:t||20,viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M15.5737 4.07891C15.4824 3.99597 15.3891 3.91522 15.2939 3.83677M15.5737 4.07891L15.2939 3.83677M15.5737 4.07891C16.2977 4.73614 16.9002 5.53165 17.3422 6.42526M15.2939 3.83677C13.9798 2.7533 12.3118 2.10522 10.4966 2.10522C8.07269 2.10522 5.91117 3.26089 4.50449 5.06575M16.9822 14.2243C15.621 16.4305 13.2251 17.8947 10.4966 17.8947C7.51384 17.8947 4.92843 16.1447 3.65796 13.5885",stroke:r||"#211236",strokeLinecap:"round"}),f.jsx("path",{d:"M18.0873 2.58536L17.4019 6.47276L13.5145 5.7873",stroke:r||"#211236",strokeLinecap:"round",strokeLinejoin:"round"}),f.jsx("path",{d:"M2.6126 17.2589L3.29805 13.3715L7.18545 14.0569",stroke:r||"#211236",strokeLinecap:"round",strokeLinejoin:"round"})]})}const ZW={verified:mW,error:cW,cross:uW,snapshot:TW,square:OW,arrow:MW,warning:PW,"regula-logo":fW,"regula-logo-liveness-detection":NW,"back-camera":dW,"front-camera":_W,"camera-logo":pW,"from-camera":hW,"from-gallery":CW,"from-other-phone":EW,"docreader-search":SW,"docreader-processing-finished":vW,"docreader-processing-error":gW,"docreader-processing":IW,"docreader-flip":DW,"docreader-camera-disabled":RW,"docreader-camera-preparing":AW,"camera-change":yW,"portrait-orientation-only":$W,"document-front":LW,"document-back":bW,"bank-card-back":wW,"bank-card-front":kW,"id-back":xW,"id-barcode-back":FW,"id-front":HW,"id-mrz-back":VW,"id-mrz-barcode-back":UW,"id-mrz-front":jW,"passport-both-pages":BW,"passport-single":GW,"circular-arrows":zW};function fr(e){let{type:t,size:r,color:n}=e;const o=ZW[t];return f.jsx(o,{size:r,color:n})}var oE={exports:{}};(function(e,t){(function(r,n){n(t,k)})(Q,function(r,n){var o="default"in n?n.default:n;function i(m){return(i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S})(m)}var a={},l="[LOCALIZE-REACT]: There are no translations for specified locale",u="[LOCALIZE-REACT] Looks like template is being used, but no value passed for ",c=/{{([^{]+[^}])}}/g;function d(m,S){if(!S||Object.keys(S).length===0)return m;var v,g,I,D=m.match(c);return D&&D.length!==0?(v=D,g=S,I=Object.keys(g),v.map(function(A){var y=Array.prototype.slice.call(A,2,-2).join(""),b=I.find(function(N){return N===y});return b?[A,g[b]]:(console.warn(u,A),[A,A])})).reduce(function(A,y){var b=new RegExp(y[0],"gi");return A.replace(b,y[1])},m):m}var _=o.createContext(),p=_.Consumer;function h(){return n.useContext(_)}r.LocalizationConsumer=p,r.LocalizationContext=_,r.LocalizationProvider=function(m){var S=m.children,v=m.disableCache,g=m.locale,I=m.translations,D=I===void 0?{}:I,A=function(x,w){if(!x)return null;if(i(w[x])==="object")return x;var V=x.toLowerCase().replace(/-/g,"_");if(i(w[V])==="object")return V;var te=V.split("_")[0];return i(w[te])==="object"?te:(console.warn(l,x),x)}(g,D),y=A?D[A]:D;function b(x,w,V){if(!y||!x)return V||x;var te=typeof V=="string"?V:x,ae=y[x];if(typeof ae=="string")return w?d(ae,w):ae;var pe=x.split(".");if(pe.length===1)return d(te,w);for(var Ve=y[pe[0]],he=1;he<pe.length;he++)Ve=Ve&&Ve[pe[he]];return d(typeof Ve=="string"?Ve:te,w)}n.useEffect(function(){a={}},[g,D]);var N,M=v?b:(N=b,function(x,w,V){var te=2<arguments.length&&V!==void 0?V:"",ae=w?JSON.stringify(w,null,"")+x+te:x+te;if(a[ae])return a[ae];var pe=N(x,w,te);return a[ae]=pe});return o.createElement(_.Provider,{value:{locale:g,translate:M,translations:D}},S)},r.Message=function(m){var S=m.defaultMessage,v=m.descriptor,g=m.values;return(0,h().translate)(v,g,S)},r.useLocalize=h,Object.defineProperty(r,"__esModule",{value:!0})})})(oE,oE.exports);var Bo=oE.exports;const WW={copyright:"_copyright_71w1z_1"};function G7(e){var t;let{className:r}=e;const{regulaLogo:n,copyright:o}=it();return((t=o!=null?o:n)!==null&&t!==void 0?t:!0)?f.jsxs("div",{part:"container-copyright",className:"".concat(WW.copyright," ").concat(r!=null?r:""),children:[f.jsx("span",{"data-e2e":"powered-by",children:"Powered by"})," ",f.jsx(fr,{type:"regula-logo"})]}):null}const bd={0:"id-front",1:"passport-single",2:"passport-both-pages",3:"id-front",4:"id-mrz-front",5:"id-back",6:"id-mrz-back",7:"id-barcode-back",8:"id-mrz-barcode-back",9:"bank-card-front",10:"bank-card-back",11:"document-front",12:"document-back"};function YW(e){let{isNextPage:t,icon:r,title:n,maskParams:o,animationImage:i,isLandscape:a}=e;const{flipFrontIcon:l,flipBackIcon:u,statusIcon:c=!0,statusPositionMultiplier:d,statusTextColor:_=jV,statusBackgroundColor:p=UV}=it(),h=k.useRef(null),m=k.useRef(null),S=k.useRef(null),v=k.useRef(null),{translate:g}=Bo.useLocalize(),I=i?i[0]:11,D=i?i[1]:12,A=bd[I]||bd[11],y=bd[D]||bd[12];k.useEffect(()=>{const M=m.current,x=v.current;if(!o||!M||(M.style.width="".concat(o.width,"px"),M.style.height="".concat(o.height,"px"),M.style.top="".concat(o.top,"px"),M.style.left="".concat(o.left,"px"),M.style.right="".concat(o.right,"px"),!x||d===void 0))return;const w=x.clientHeight;M.style.setProperty("--message-container-height","100%"),M.style.setProperty("--message-margin-top","0px"),M.style.setProperty("--message-top","".concat((o.height-w)/2*d,"px"))},[d,o]);const b=a&&o==null,N=[Fe["tips-container"],b?Fe["tips-frameless"]:""];return f.jsxs("div",{part:"hint-container",ref:m,className:N.join(" "),children:[f.jsx(nE,{children:f.jsx(rE,{nodeRef:t?h:S,classNames:{enter:Fe["fade-enter"],enterActive:Fe["fade-enter-active"],exit:Fe["fade-exit"],exitActive:Fe["fade-exit-active"]},timeout:300,children:t?f.jsxs("div",{part:"hint-next-page-icon",ref:h,className:Fe.flip,children:[f.jsx("div",{part:"hint-next-page-front-icon",className:Fe.front,children:l?f.jsx("img",{part:"hint-next-page-front-img",src:l,alt:"Flip icon"}):f.jsx(fr,{type:A})}),f.jsx("div",{part:"hint-next-page-back-icon",className:Fe.back,children:u?f.jsx("img",{part:"hint-next-page-back-img",src:u,alt:"Flip icon"}):f.jsx(fr,{type:y})})]}):f.jsxs("div",{part:"hint-status-message-container",ref:S,className:Fe["message-container"],children:[c&&f.jsx("div",{part:"hint-status-icon",className:Fe.icon,children:f.jsx(fr,{type:r})}),f.jsx("div",{part:"hint-status-message",ref:v,className:Fe.message,children:f.jsx("div",{part:"hint-status-message-background",className:Fe["message-background"],style:{backgroundColor:p,color:_},children:f.jsx("p",{part:"hint-status-message-title",className:Fe.title,children:g(n)})})})]})},t?"flip-icon":"message-container")}),f.jsx(G7,{className:Fe.copyright})]})}function KW(e){let{mirroring:t,isSkipButtonVisible:r,isChangeCameraAvailable:n,isLandscape:o,onClose:i,onChangeCamera:a,onChangeMirroring:l,captureButton:u=!0,facing:c,onSnapshotProcess:d,onCameraSnapshot:_,onSkip:p}=e;const{closeButton:h=!0,skipButton:m=!0,mirrorButton:S=!1,changeCameraButton:v,captureButtonDelay:g}=it(),[I,D]=k.useState(g===void 0);return k.useEffect(()=>{if(typeof g!="number")return;const A=setTimeout(()=>{D(!0)},g*1e3);return()=>{clearTimeout(A)}},[g]),f.jsxs("div",{part:"controls-container","data-orientation":o?"landscape":"portrait",children:[f.jsx("div",{part:"controls-top-buttons",className:Fe["top-functional-buttons"],children:h&&f.jsx("button",{part:"controls-process-close-button",onClick:i,children:f.jsx(fr,{color:"white",type:"cross"})})}),f.jsx("div",{part:"controls-bottom-buttons",className:Fe["bottom-functional-buttons"],children:f.jsxs("div",{part:"controls-buttons-right",className:Fe["buttons-right"],children:[c!==Kt.environment&&S&&f.jsx("button",{part:"controls-mirror-button",onClick:l,children:f.jsx(fr,{size:30,type:t?"back-camera":"front-camera"})}),n&&v&&f.jsx("button",{part:"controls-change-camera-button",onClick:a,children:f.jsx(fr,{color:"white",size:33,type:"camera-change"})})]})}),f.jsxs("div",{part:"controls-left-buttons",className:Fe["left-functional-buttons"],children:[d&&u&&I&&f.jsx("button",{part:"controls-process-button",onClick:d,children:f.jsx(fr,{size:40,type:"snapshot"})}),_&&f.jsx("button",{part:"controls-snapshot-button",onClick:_,children:f.jsx(fr,{size:40,type:"snapshot"})}),r&&m&&f.jsx("button",{part:"controls-skip-button",className:Fe["skip-button"],onClick:p,children:f.jsx(fr,{size:40,type:"arrow"})})]})]})}const z7={"process-message":"_process-message_p14bs_1",message:"_message_p14bs_11"},Z7={spinner:"_spinner_1ejqp_1",circle:"_circle_1ejqp_7",spin:"_spin_1ejqp_1"};function qW(){return f.jsx("div",{part:"spinner-container",className:Z7.spinner,children:f.jsx("div",{part:"spinner-circle",className:Z7.circle})})}function Jl(e){let{title:t}=e;const{translate:r}=Bo.useLocalize();return f.jsxs("div",{part:"processing-container",className:z7["process-message"],children:[f.jsx(qW,{}),f.jsx("span",{part:"processing-message",className:z7.message,children:t||r("pleaseWait")})]})}const iE={window:"_window_1q4wr_15",header:"_header_1q4wr_38",footer:"_footer_1q4wr_59"};function aE(e){let{onClose:t,children:r,direction:n,showHeaderAndFooter:o=!0,className:i}=e;const{closeButton:a=!0}=it();return f.jsxs("div",{part:"container",className:"".concat(iE.window," ").concat(i!=null?i:""),"data-direction":n,children:[o&&f.jsx("div",{part:"container-header",className:iE.header,children:a&&f.jsx("button",{part:"container-close-button","data-e2e":"cross",onClick:t,children:f.jsx(fr,{type:"cross",color:BV})})}),r,o&&f.jsx("div",{part:"container-footer",className:iE.footer,children:f.jsx(G7,{})})]})}function W7(e){let{status:t,children:r,mirroring:n,onChangeMirroring:o,onChangeCamera:i,videoStatusParams:a,videoElementParams:l,onProcessClose:u,onClose:c,onSnapshotProcess:d,onCameraSnapshot:_,onSkip:p,frameParams:h,captureButton:m,animationImage:S}=e;const{cameraFrameBorderWidth:v=wV,cameraFrame:g=!0,cameraFrameDefaultColor:I=HV,cameraFrameActiveColor:D=VV}=it(),A=k.useRef(null),[y,b]=k.useState(!1),[N,M]=k.useState(null),[x,w]=k.useState(null),V=!!(a.sortedDevices&&a.sortedDevices.frontCameras.length+a.sortedDevices.backCameras.length>QV),te=t===J.HOLD||t===J.FOCUS||t===J.RESOLUTION||t===J.PROCESSING||t===J.GLARE,ae=t!==J.SERVICE_PREPARING,pe=te?D:I,Ve=a.videoStatus===Ne.PLAY,{icon:he,title:Ze}=JZ(t),U=t===J.START_NEXT_PAGE,W=l.videoParams.width>l.videoParams.height;return k.useEffect(()=>{t===J.START_NEXT_PAGE&&b(!0)},[t]),k.useEffect(()=>{const Z=A.current;if(!Ve||!Z||!ae)return;const{width:se,height:ge,top:Lt,left:tt,right:Ut}=y7(l.videoParams.width,l.videoParams.height,l.videoContainerParams.width,l.videoContainerParams.height,l.videoParams.width,l.videoParams.height,0,0,td.contain);Z.style.width="".concat(se,"px"),Z.style.height="".concat(ge,"px"),Z.style.top="".concat(Lt,"px"),Z.style.left="".concat(tt,"px"),Z.style.right="".concat(Ut,"px"),w({width:se,height:ge,top:Lt,left:tt,right:Ut})},[l,Ve,ae]),k.useEffect(()=>{if(!h||!x)return;const Z=h.frameRight-h.frameLeft,se=h.frameBottom-h.frameTop;if(!(x.width&&x.height)||!(Z&&se))return;const{width:tt,height:Ut,left:St,top:Vr,right:Ui}=y7(l.videoParams.width,l.videoParams.height,x.width,x.height,Z,se,h.frameLeft,h.frameTop,td.contain);M({width:tt,height:Ut,top:Vr,left:n?St:x.width-(St+tt),right:n?Ui:x.width-(Ui+tt),stroke:v})},[x,h,l.videoParams,n,v]),f.jsxs("div",{part:"layout-container",className:Fe.container,children:[r,t!==J.SERVICE_PREPARING&&Ve?f.jsxs("div",{part:"layout",ref:A,className:Fe.layout,children:[g&&N&&x&&f.jsx(tW,{layoutParams:x,maskParams:N,borderColor:pe}),f.jsx(YW,{isNextPage:U,title:Ze,icon:he,maskParams:N,isLandscape:W,animationImage:S}),f.jsx(KW,{mirroring:n,captureButton:m,facing:a.camera.facing,isLandscape:W,isSkipButtonVisible:y,isChangeCameraAvailable:V,onClose:u,onChangeCamera:i,onChangeMirroring:o,onSnapshotProcess:d,onCameraSnapshot:_,onSkip:p})]}):f.jsx(aE,{onClose:c,className:Fe.loader,children:f.jsx(Jl,{})})]})}var Y7=`
|
|
45
|
-
\v\f\r \u2028\u2029\uFEFF`,XW=de,QW=Gi,JW=Sr,sE=Y7,K7=XW("".replace),eY=RegExp("^["+sE+"]+"),tY=RegExp("(^|[^"+sE+"])["+sE+"]+$"),lE=function(e){return function(t){var r=JW(QW(t));return e&1&&(r=K7(r,eY,"")),e&2&&(r=K7(r,tY,"$1")),r}},rY={start:lE(1),end:lE(2),trim:lE(3)},nY=iu.PROPER,oY=Se,q7=Y7,X7="
",iY=function(e){return oY(function(){return!!q7[e]()||X7[e]()!==X7||nY&&q7[e].name!==e})},aY=gt,sY=rY.trim,lY=iY;aY({target:"String",proto:!0,forced:lY("trim")},{trim:function(){return sY(this)}});function cY(e){let{videoSize:t,containerSize:r,mirroring:n,frameKWHLandscape:o,frameKWHPortrait:i,cameraFrameOffsetWidth:a,cameraFrameLandscapeAspectRatio:l=Number(o),cameraFramePortraitAspectRatio:u=Number(i),cameraFrameVerticalPositionMultiplier:c,cameraFrameHorizontalPositionMultiplier:d}=e;const _=t.width>t.height,p=_?bV:0,h=r.width/t.width,m=p/h,v=(_?t.height:t.width)/100*(_?a!=null?a:LV:a!=null?a:1),g=(t.width-(_?m:0))/t.height,I=_?l:u;let D,A,y,b;if(_){g>I?(A=t.height-v*2,D=A*I,y=((n?m:0)+(t.width-m-D)/2)*(d!=null?d:1),b=v):(D=t.width-m-v*2,A=D/I,y=(n?m:0)+v,b=(t.height-A)/2);const N=(t.width-D)/2;N>m+v&&(g>I&&d!==void 0||(y=N))}else g<I?(D=t.width-v*2,A=D/I,y=v,b=(t.height-A)/2*(c!=null?c:1)):(A=t.height-v*2,D=A*I,y=(t.width-D)/2,b=v);return{height:A,width:D,left:y,top:b}}function uY(e){let{videoSize:t,containerSize:r,mirroring:n,scenario:o,scenarioParams:i}=e;const{cameraFramePortraitAspectRatio:a,cameraFrameLandscapeAspectRatio:l,cameraFrameOffsetWidth:u,cameraFrameVerticalPositionMultiplier:c,cameraFrameHorizontalPositionMultiplier:d}=it(),[_,p]=k.useState(null);return k.useEffect(()=>{const h=!!t.width,m=!!t.height;if(!(h&&m&&(i==null?void 0:i.length))||!o)return;const g=i.find(b=>b.name===o);if(!(g!=null&&g.frameKWHLandscape)||!g.frameKWHPortrait)return;const{width:I,height:D,top:A,left:y}=cY({videoSize:t,containerSize:r,mirroring:n,frameKWHLandscape:g.frameKWHLandscape,frameKWHPortrait:g.frameKWHPortrait,cameraFrameOffsetWidth:u,cameraFrameLandscapeAspectRatio:l,cameraFramePortraitAspectRatio:a,cameraFrameVerticalPositionMultiplier:c,cameraFrameHorizontalPositionMultiplier:d});p({frameBottom:Math.floor(A+D),frameLeft:Math.floor(y),frameRight:Math.floor(y+I),frameTop:Math.floor(A),light:0,resolutionType:0})},[o,t,r,i,n,a,l,u,c,d]),_}function Q7(e,t,r){return(t=fY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fY(e){var t=dY(e,"string");return typeof t=="symbol"?t:t+""}function dY(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class Oe{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Q7(this,"type",void 0),Q7(this,"details",void 0),this.type=t,this.details=r}}function J7(e,t,r){return B(this,null,function*(){const n=[];for(let o=0;o<e.length;o++){const i=new Promise((a,l)=>{const u=Array.from(e)[o];if(u){if(!u.size)return l(new Oe(we.INCORRECT_FILE));const c=document.createElement("canvas"),d=c.getContext("2d",{willReadFrequently:!0}),_=URL.createObjectURL(u),p=new Image;p.onload=function(){let h=p.width,m=p.height;if(p.width*p.height>r)return l(new Oe(we.INCORRECT_FILE));if(p.width>t||p.height>t){const v=p.width/p.height;p.width>p.height?(h=t,m=t/v):(m=t,h=t*v)}if(c.width=h,c.height=m,d){d.drawImage(p,0,0,h,m);const v=d==null?void 0:d.getImageData(0,0,h,m);v&&(a(v),URL.revokeObjectURL(_))}},p.src=_,p.onerror=()=>l(new Oe(we.INCORRECT_FILE))}else l(new Oe(we.INCORRECT_FILE))});n.push(i)}return n})}function _Y(e,t){var r;const n={glareCheck:O.CheckResult.WAS_NOT_DONE,resolutionCheck:O.CheckResult.WAS_NOT_DONE,focusCheck:O.CheckResult.WAS_NOT_DONE,isDocumentAvailable:!1};return(r=e.rawResponse.ContainerList)===null||r===void 0||r.List.forEach(o=>{o.page_idx===t&&("ImageQualityCheckList"in o&&o.ImageQualityCheckList.List.forEach(i=>{i.result!==void 0&&(i.type===O.ImageQualityCheckType.ImageFocus&&(n.focusCheck=i.result),i.type===O.ImageQualityCheckType.ImageGlares&&(n.glareCheck=i.result),i.type===O.ImageQualityCheckType.ImageResolution&&(n.resolutionCheck=i.result))}),"DocumentPosition"in o&&(n.isDocumentAvailable=!0))}),n}function eA(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{glareCheck:n,resolutionCheck:o,focusCheck:i,isDocumentAvailable:a}=_Y(e,t),l=!r||r&&e.rawResponse.morePagesAvailable===0;return e.rawResponse.ProcessingFinished===O.ProcessingStatus.FINISHED?l?J.SUCCESS:J.START_NEXT_PAGE:e.rawResponse.ProcessingFinished===O.ProcessingStatus.TIMEOUT?J.TIMEOUT:a?i===O.CheckResult.ERROR?J.FOCUS:n===O.CheckResult.ERROR?J.GLARE:o===O.CheckResult.ERROR?J.RESOLUTION:J.HOLD:J.FINDING}const pY=(e,t)=>e.replace(/https:\/\/wasm\.regulaforensics\.com\/document\/\w+\/\d+\.\d+\/[a-f0-9-]+/,t);function tA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Md(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tA(Object(r),!0).forEach(function(n){mY(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mY(e,t,r){return(t=hY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hY(e){var t=EY(e,"string");return typeof t=="symbol"?t:t+""}function EY(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const rA=Nt.create("main");function nA(e){let{scenario:t,onError:r}=e;const{devLicense:n,onEvent:o}=it(),i=window.RegulaDocumentSDK,[a,l]=k.useState({initialized:!1,initData:i.initData});return k.useEffect(()=>{if(!(!a.initData||a.initialized||!t))if(a.initData.license.errorCode===0&&a.initData.license.status){const u=a.initData.scenario.filter(d=>d.name!==GV);u.some(d=>d.name===t)?(l({initialized:!0,initData:{scenario:u,license:a.initData.license}}),o({action:ce.SERVICE_INITIALIZED,data:null})):(r(new Oe(we.INCORRECT_SCENARIO)),rA("Incorrect scenario: ".concat(t)))}else r(new Oe(we.WASM_LICENSE,a.initData.license.message)),rA("Problems with initialization: ".concat(JSON.stringify(n)))},[a,t]),k.useEffect(()=>{!i||i.isInitialized||i.initData||(i.isAutoPrepare?i.initializeListener=u=>{let{isInitialized:c}=u;!c||!i.initData||l(d=>Md(Md({},d),{},{initData:i.initData}))}:i.prepareListener=u=>{let{isPrepared:c}=u;c&&i.initialize({license:n}).then(d=>{l(_=>Md(Md({},_),{},{initData:d}))}).catch(d=>{r(new Oe(we.WASM_ERROR,d))})})},[n,i]),a}function CY(e,t){const[r,n]=k.useState(e),[o,i]=k.useState(!1);return k.useEffect(()=>{o||n(e)},[o,e]),k.useEffect(()=>{i(!0);const a=setTimeout(()=>{i(!1)},t);return()=>{clearTimeout(a)}},[r]),r}const cE=Nt.create("main"),SY=5;function vY(e){const[t,r]=k.useState(!1),n=k.useRef({x:0,y:0,z:0}),o=CY(t,1e3),i=a=>{var l,u;if(!((l=a.acceleration)!==null&&l!==void 0&&l.x)||!((u=a.acceleration)!==null&&u!==void 0&&u.y)||!a.acceleration.z)return;const c=Math.abs(a.acceleration.x-n.current.x)+Math.abs(a.acceleration.y-n.current.y)+Math.abs(a.acceleration.z-n.current.z);r(c>SY),n.current.x=a.acceleration.x,n.current.y=a.acceleration.y,n.current.z=a.acceleration.z};return k.useEffect(()=>{if(!e)return;const a=DeviceOrientationEvent.requestPermission;if(typeof a=="function")a().then(l=>{l==="granted"?window.addEventListener("devicemotion",i):cE("Device orientation service permission denied")}).catch(l=>"Device orientation service error: ".concat(l));else if("permissions"in navigator)navigator.permissions.query({name:"accelerometer"}).then(l=>{l.state==="granted"?window.addEventListener("devicemotion",i):cE("Device orientation service permission denied")}).catch(l=>"Device orientation service error: ".concat(l));else return cE("Device orientation service is missing");return()=>{window.removeEventListener("devicemotion",i)}},[]),{isShake:o}}function oA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function xr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?oA(Object(r),!0).forEach(function(n){gY(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function gY(e,t,r){return(t=IY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function IY(e){var t=DY(e,"string");return typeof t=="symbol"?t:t+""}function DY(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const Go=Nt.create("main");function RY(e,t,r,n,o){const i=window.RegulaDocumentSDK,{onEvent:a,multipageProcessing:l,internalScenario:u,cameraFrame:c=!0,videoCaptureMotionControl:d}=it(),{isShake:_}=vY(d),p=k.useRef(!1),[h,m]=k.useState(!1),[S,v]=k.useState(!1),[g,I]=k.useState(!1),[D,A]=k.useState(0),[y,b]=k.useState(void 0),[N,M]=k.useState([11,12]),[x,w]=k.useState({status:J.SERVICE_PREPARING,response:null}),{initData:V,initialized:te}=nA({scenario:y,onError:n}),ae=uY({videoSize:e.videoParams,containerSize:e.videoContainerParams,mirroring:r,scenario:y,scenarioParams:V==null?void 0:V.scenario}),pe=o.captureMode===Wn.captureFrame,Ve=x.status===J.START_NEXT_PAGE;return k.useEffect(()=>{if(i){if(i.recognizerProcessParam=Ht(ZV,i.recognizerProcessParam),l!==void 0){const he={processParam:{multipageProcessing:l}};i.recognizerProcessParam=Ht(i.recognizerProcessParam,he)}if(u!==void 0){const he={processParam:{scenario:u}};i.recognizerProcessParam=Ht(i.recognizerProcessParam,he)}Go("Current scenario: ".concat(i.recognizerProcessParam.processParam.scenario)),b(i.recognizerProcessParam.processParam.scenario)}},[i,u,l]),k.useEffect(()=>{ae&&(c?(Go("Frame params: ".concat(JSON.stringify(ae))),i.recognizerProcessParam=Ht(i.recognizerProcessParam,{imageInputParam:ae})):delete i.recognizerProcessParam.imageInputParam)},[ae,c]),k.useEffect(()=>{var he;if(!i||!te||S||pe||t.videoStatus!==Ne.PLAY||!t.sortedDevices)return;const Ze=[...t.sortedDevices.frontCameras,...t.sortedDevices.backCameras].map(Z=>{const se=Z.facing===Kt.user?"front":"back";return{cameraID:Z.deviceId,label:Z.label,groupId:Z.groupId,facing:se}}),U={platform:"Web",osVersion:"".concat(R7),sdkVersion:"7.5.1999-nightly".trim(),hostAppId:(he=i.recognizerProcessParam.processParam.backendProcessing)===null||he===void 0?void 0:he.serviceURL,userID:w7(F4),deviceModel:"".concat(Z2,"/").concat(R7," ").concat(Od,"/").concat(g7),hostAppVersion:"".concat(Od,"/").concat(g7),currentCameraInfo:{cameraID:t.camera.deviceId},cameraState:Ze};Go("Metadata: ".concat(JSON.stringify(U))),(i.recognizerProcessParam.processParam.backendProcessing?i.createBackendTransaction(U):i.startNewDocument(U)).then(()=>{v(!0),Go("New document started")}).catch(Z=>{w(se=>xr(xr({},se),{},{status:J.FAILED})),n(new Oe(we.WASM_ERROR,Z))})},[te,S,o.captureMode,t]),k.useEffect(()=>{const he=S&&(!o.captureMode||o.captureMode===Wn.auto),Ze=S&&o.captureMode===Wn.captureVideo,U=te&&o.captureMode===Wn.captureFrame;he&&m(!0),(U||Ze)&&w(W=>xr(xr({},W),{},{status:J.FINDING}))},[S,o.captureMode,te]),k.useEffect(()=>{const he=t.videoStatus===Ne.PLAY;if(!i||!he||g||!h||!e.videoElement)return;if(p.current||(a({action:ce.CAMERA_PROCESS_STARTED,data:null}),p.current=!0),_)return w(U=>xr(xr({},U),{},{status:J.SHAKING}));I(!0);const{imageData:Ze}=yd(e.videoElement,gi.UINT);Go("Image processing started"),i.process(Ze).then(U=>{const W=eA(U,D,i.recognizerProcessParam.processParam.multipageProcessing);w(se=>xr(xr({},se),{},{status:W,response:U})),I(!1),Go("Image processing is finished");const Z=!!xh[W];(W===J.START_NEXT_PAGE||Z)&&(U.rawResponse.multipageAnimationImage&&M(U.rawResponse.multipageAnimationImage),m(!1))}).catch(U=>{w({response:null,status:J.FAILED}),n(new Oe(we.WASM_ERROR,U)),m(!1)})},[g,e.videoElement,t.videoStatus,D,h,_]),k.useEffect(()=>{if(!i||!Ve)return;Go("More pages available"),a({action:ce.NEW_PAGE_AVAILABLE,data:null});const he=setTimeout(()=>B(this,null,function*(){try{yield i.startNewPage(),a({action:ce.NEW_PAGE_STARTED,data:null}),m(!0),A(Ze=>Ze+PV),Go("New page started")}catch(Ze){w(U=>xr(xr({},U),{},{status:J.FAILED})),n(new Oe(we.WASM_ERROR,Ze))}}),MV);return()=>{clearTimeout(he)}},[Ve]),xr(xr({},x),{},{frameParams:ae,setIsRecognitionStarted:m,animationImage:N})}const ec=Nt.create("main");function AY(){var e,t,r;const{mobileDelegate:n}=it(),[o,i]=k.useState(Yn.CHECKING),a=window.RegulaDocumentSDK,l=((e=a.recognizerProcessParam)===null||e===void 0?void 0:e.tag)||"",u=((t=a.recognizerProcessParam.processParam.backendProcessing)===null||t===void 0?void 0:t.serviceURL)||"",c=((r=a.recognizerProcessParam.processParam.backendProcessing)===null||r===void 0?void 0:r.httpHeaders)||{};return k.useEffect(()=>{if(!n)return ec("Transaction check is disabled"),i(Yn.NOT_AVAILABLE);ec("Transaction check parameters: ".concat(JSON.stringify({tag:l,basePath:u,headers:c}))),B(this,null,function*(){try{var _;const p=new v_({basePath:u,baseOptions:{headers:c}}),{data:h}=yield p.getTransactionsByTag(l,{headers:c});ec("Transaction check data: ".concat(JSON.stringify(h)));const m=(_=h.items)!==null&&_!==void 0&&_.some(S=>S.state===Hc.PROCESSED)?Yn.AVAILABLE:Yn.NOT_AVAILABLE;ec("Transaction check status: ".concat(m)),i(m)}catch(p){ec("Transaction check status: ERROR. Details: ".concat(p)),i(Yn.ERROR)}})},[n]),o}const TY=["data"];function OY(e,t){if(e==null)return{};var r,n,o=yY(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function yY(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}function NY(e){let{onStatusChange:t,onFileImageSet:r,onError:n,onClose:o}=e;const{onEvent:i,cameraId:a,startScreen:l,captureButton:u,captureMode:c,resolution:d,cameraMode:_,videoRecord:p,mirrorType:h,mobileDelegate:m}=it(),S=window.RegulaDocumentSDK,v=k.useMemo(()=>({width:(d==null?void 0:d.width)||Cn.FULL_HD.width,height:(d==null?void 0:d.height)||Cn.FULL_HD.height}),[d]),g=k.useRef(!0),I=k.useRef(null),[D,A]=k.useState(!1),[y,b]=k.useState({videoElement:null,videoParams:{width:0,height:0},videoContainerParams:{width:0,height:0}}),[N,M]=k.useState({videoStatus:Ne.PREPARING,camera:{deviceId:"",facing:void 0,groupId:"",label:""},sortedDevices:null}),[x,w]=k.useState(a),{status:V,response:te,frameParams:ae,setIsRecognitionStarted:pe,animationImage:Ve}=RY(y,N,D,n,{captureMode:c}),he=AY(),[Ze,U]=k.useState(null),W=(vt,g_,GC)=>B(this,null,function*(){t(j.PROCESSING);const ei=S.recognizerProcessParam.processParam.backendProcessing,Vc={status:vt,response:GC};if(p&&Ze){const Nn=yield Ze.getRecord();if(!Nn)return;if(Vc.video=Nn,ei){const{data:I_}=Nn,Uc=OY(Nn,TY),ji=yield I_.arrayBuffer(),jc=new Uint8ClampedArray(ji),zC={sizeBytes:I_.size,dataName:"processingVideo",metadata:Uc};yield S.addDataToPackage(jc,zC)}}ei&&(S.onFinalize=()=>t(m?j.DELEGATE_SUCCESS:j.SUCCESS)),i({action:ce.PROCESS_FINISHED,data:Vc}),t(ei?j.PROCESSING:g_)}),Z=k.useCallback(()=>{i({action:ce.PRESS_MIRRORING_BUTTON,data:null}),A(vt=>!vt)},[D]),se=k.useCallback(()=>{i({action:ce.CAMERA_PROCESS_CLOSED,data:null}),l&&t(j.CHOOSE_INPUT_SOURCE)},[l]),ge=()=>B(this,null,function*(){i({action:ce.PRESS_SKIP_BUTTON,data:null}),I.current&&(yield W(ko.OK,j.SUCCESS,I.current))}),Lt=k.useCallback(()=>{if(i({action:ce.PRESS_CHANGE_CAMERA_BUTTON,data:null}),!N.sortedDevices)return;const vt=q2(N.sortedDevices,N.camera.deviceId);vt&&w(vt)},[N.camera.deviceId,N.sortedDevices]),tt=k.useCallback(()=>{if(i({action:ce.PRESS_CAPTURE_BUTTON,data:null}),c===Wn.captureVideo&&g.current)g.current=!1,pe(!0);else{if(!y.videoElement)return;pe(!1);const{imageData:vt}=yd(y.videoElement,gi.UINT);r(vt)}},[y.videoElement,c]),Ut=vt=>{n(new Oe(vt))},St=u||u===void 0||c===Wn.captureFrame||c===Wn.captureVideo;k.useEffect(()=>{if(te){if(V===J.START_NEXT_PAGE&&(I.current=te),V===J.SUCCESS){const vt=m?j.DELEGATE_SUCCESS:j.SUCCESS;W(ko.OK,vt,te)}if(V===J.TIMEOUT){const vt=m?j.DELEGATE_SUCCESS:j.TIMEOUT;W(ko.TIMEOUT,vt,te)}}},[V,te,m]),k.useEffect(()=>{he===Yn.AVAILABLE&&t(j.DELEGATE_SUCCESS),he===Yn.ERROR&&n(new Oe(we.CONNECTION_ERROR,"Transaction check failed."))},[he]);const Vr=()=>{i({action:ce.VIDEO_STARTED,data:null})},Ui=()=>{i({action:ce.VIDEO_STOPPED,data:null})};return k.useMemo(()=>f.jsx(W7,{mirroring:D,onChangeMirroring:Z,status:V,videoStatusParams:N,frameParams:ae,videoElementParams:y,onProcessClose:se,onClose:o,onSnapshotProcess:tt,onSkip:ge,onChangeCamera:Lt,captureButton:St,animationImage:Ve,children:he===Yn.NOT_AVAILABLE?f.jsx(F7,{onVideoSizeChange:b,onVideoStatusChange:M,resolution:v,mirroring:D,onFailStatus:Ut,mode:_||Kt.environment,cameraId:x,onRecordService:U,videoRecord:p,onVideoStarted:Vr,onVideoStopped:Ui,mirrorType:h}):null}),[x,D,Z,tt,V,N,ae,se,Lt,y,St,v,_,p,Ve,he])}const Pd={"info-message":"_info-message_1u3po_1","text-container":"_text-container_1u3po_10",title:"_title_1u3po_19",subtitle:"_subtitle_1u3po_28"},$Y={button:"_button_b09l6_1"};function wd(e){let{children:t,icon:r,part:n,onClick:o,e2e:i}=e;return f.jsxs("button",{part:n,className:$Y.button,"data-e2e":i,onClick:o,children:[f.jsx(fr,{type:r}),f.jsx("span",{children:t})]})}function Ke(e){let{title:t,subtitle:r,type:n,onReset:o,size:i}=e;const{translate:a}=Bo.useLocalize();return f.jsx("div",{part:"info-container",className:Pd["info-message"],children:f.jsxs("div",{part:"info-text-container",className:Pd["text-container"],children:[f.jsx(fr,{type:n,size:i}),f.jsx("p",{part:"info-title","data-e2e":"info-msg-title",className:Pd.title,children:t}),r&&f.jsx("p",{part:"info-subtitle","data-e2e":"info-msg-subtitle",className:Pd.subtitle,children:r}),o&&f.jsx(wd,{part:"info-try-again-button",icon:"circular-arrows",onClick:o,children:a("tryAgain")})]})})}const tc={"start-window":"_start-window_1an07_1",text:"_text_1an07_11",title:"_title_1an07_19",subtitle:"_subtitle_1an07_28",buttons:"_buttons_1an07_38"};function iA(e){let{onStart:t,onFileImageSet:r,title:n,subtitle:o,allowRemote:i=!1,onRemoteDevice:a}=e;const{onEvent:l,multipleFileInput:u=!0,fromCameraButton:c=!0,uploadFileButton:d=!0}=it(),_=k.useRef(null),{translate:p}=Bo.useLocalize(),h=()=>{const v=_.current;v&&(l({action:ce.PRESS_FILE_BUTTON,data:null}),v.click())},m=v=>{var g;(g=v.target.files)!==null&&g!==void 0&&g.length&&r(v.target.files)},S=()=>{l({action:ce.PRESS_REMOTE_DEVICE_BUTTON,data:null}),a==null||a()};return f.jsxs("div",{part:"menu-container",className:tc["start-window"],children:[f.jsxs("div",{part:"menu-text-container",className:tc.text,children:[f.jsx("p",{part:"menu-title",className:tc.title,children:n}),f.jsx("p",{part:"menu-subtitle",className:tc.subtitle,children:o})]}),f.jsxs("div",{part:"menu-buttons-container",className:tc.buttons,children:[c&&f.jsx(wd,{part:"menu-from-camera-button",e2e:"from-camera",icon:"from-camera",onClick:t,children:p("camera")}),d&&f.jsx(wd,{part:"menu-from-gallery-button",e2e:"from-gallery",icon:"from-gallery",onClick:h,children:p(Wa?"gallery":"files")}),i&&a&&f.jsx(wd,{part:"menu-from-mobile-button",e2e:"from-other-phone",icon:"from-other-phone",onClick:S,children:p("mobileDevice")})]}),f.jsx("input",{ref:_,style:{display:"none"},type:"file",multiple:u,accept:qV.join(","),onChange:m})]})}function aA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function sA(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?aA(Object(r),!0).forEach(function(n){LY(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function LY(e,t,r){return(t=bY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bY(e){var t=MY(e,"string");return typeof t=="symbol"?t:t+""}function MY(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const lA=Nt.create("main");function PY(e,t,r,n){const o=window.RegulaDocumentSDK,{internalScenario:i}=it(),[a,l]=k.useState(void 0),[u,c]=k.useState({status:J.SERVICE_PREPARING,response:null}),{initialized:d}=nA({scenario:a,onError:r});return k.useEffect(()=>{if(o){if(o.imageProcessParam=Ht(WV,o.imageProcessParam),i!==void 0){const _={processParam:{scenario:i}};o.imageProcessParam=Ht(o.imageProcessParam,_)}n.isRecognizerProcessParam?l(o.recognizerProcessParam.processParam.scenario):l(o.imageProcessParam.processParam.scenario)}},[o,i,n.isRecognizerProcessParam]),k.useEffect(()=>{const _=!!xh[u.status];if(!o||!d||!e.length||_)return;t({action:ce.FILE_PROCESS_STARTED,data:null});const p=n.isRecognizerProcessParam?o.recognizerProcessParam:o.imageProcessParam;o.processingListener=h=>{let{isProcessing:m}=h;m||(o.processingListener=null,lA("Image processing started"),o.processImage(e,p).then(S=>{c(v=>sA(sA({},v),{},{status:J.SUCCESS,response:S})),lA("Image processing is finished")}).catch(S=>{c({response:null,status:J.FAILED}),r(new Oe(we.WASM_ERROR,S))}))}},[d,u.status,e,n.isRecognizerProcessParam]),u}function wY(e){let{onStatusChange:t,images:r,onError:n}=e;const o=window.RegulaDocumentSDK,i=k.useRef(!1),{onEvent:a,mobileDelegate:l}=it(),[u,c]=k.useState(!1),[d,_]=k.useState([]),{status:p,response:h}=PY(d,a,n,{isRecognizerProcessParam:u});return k.useEffect(()=>{if(!(!r||i.current)){if(i.current=!0,!(r instanceof FileList))return c(!0),_(r);J7(r,y4,N4).then(m=>Promise.all(m)).then(m=>{m.reduce((v,g)=>v+g.data.byteLength,0)>O4?n(new Oe(we.FILE_SIZE)):_(m)}).catch(m=>{n(m)}).then(()=>{i.current=!1})}},[r]),k.useEffect(()=>{if(p===J.SUCCESS&&h){const S=o.recognizerProcessParam.processParam.backendProcessing&&u;S&&(o.onFinalize=()=>t(l?j.DELEGATE_SUCCESS:j.SUCCESS)),a({action:ce.PROCESS_FINISHED,data:{status:ko.OK,response:h}}),t(S?j.PROCESSING:j.SUCCESS)}},[p,h,u,o,l]),f.jsx(Jl,{})}function cA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function uA(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cA(Object(r),!0).forEach(function(n){kY(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function kY(e,t,r){return(t=xY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xY(e){var t=FY(e,"string");return typeof t=="symbol"?t:t+""}function FY(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fA(e){function t(r){const{locale:n,translations:o,dictionaries:i}=r;let a=i;if(o)for(const h in o)if(Object.prototype.hasOwnProperty.call(i,h))a=Ht(a,{[h]:o[h]});else{const m=Ht(i.en,o[h]);a=Ht(a,{[h]:m})}const u=(window.navigator?window.navigator.language:P4).substring(0,2).toLowerCase(),c=Object.prototype.hasOwnProperty.call(a,u)?u:P4,d=n&&Object.prototype.hasOwnProperty.call(a,n)?n:c,_=XV.includes(d)?Fh.Rtl:Fh.Ltr,p=uA(uA({},r),{},{direction:_});return f.jsx(Bo.LocalizationProvider,{disableCache:!0,locale:d,translations:a,children:f.jsx(e,K({},p))})}return t}function dA(e){function t(r){return f.jsx(H7.Provider,{value:r,children:f.jsx(e,K({},r))})}return t}function _A(e,t,r){return(t=HY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function HY(e){var t=VY(e,"string");return typeof t=="symbol"?t:t+""}function VY(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class pA extends k.Component{constructor(t){super(t),_A(this,"onError",void 0),_A(this,"supportedBrowserVersions",void 0),this.supportedBrowserVersions=t.supportedBrowserVersions,this.onError=t.onError}componentDidCatch(t){this.onError(new Oe("UNKNOWN_ERROR",t))}componentDidMount(){if(this.supportedBrowserVersions){let t=null;if(Wa&&Z2 in this.supportedBrowserVersions&&(t=this.supportedBrowserVersions[Z2]),kZ&&(t=this.supportedBrowserVersions.desktop),t&&Od in t){const r=t[Od];r!==void 0&&Number(wZ)<r&&this.onError(new Oe("NOT_SUPPORTED"))}}}render(){return this.props.children}}function UY(){const e=()=>window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait",[t,r]=k.useState(()=>{const o=e();return{isPortrait:o==="portrait",isLandscape:o==="landscape",orientation:o}}),n=k.useCallback(()=>{const o=e();r(i=>i.orientation!==o?{isPortrait:o==="portrait",isLandscape:o==="landscape",orientation:o}:i)},[]);return k.useEffect(()=>(typeof window!="undefined"&&(n(),window.addEventListener("load",n,!1),window.addEventListener("resize",n,!1)),()=>{window.removeEventListener("load",n,!1),window.removeEventListener("resize",n,!1)}),[n]),t}const rc={"remote-scanner-wrapper":"_remote-scanner-wrapper_12a10_1","qr-container":"_qr-container_12a10_11",text:"_text_12a10_19",title:"_title_12a10_27",subtitle:"_subtitle_12a10_36",note:"_note_12a10_46"};var jY=Object.defineProperty,kd=Object.getOwnPropertySymbols,mA=Object.prototype.hasOwnProperty,hA=Object.prototype.propertyIsEnumerable,EA=(e,t,r)=>t in e?jY(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,BY=(e,t)=>{for(var r in t||(t={}))mA.call(t,r)&&EA(e,r,t[r]);if(kd)for(var r of kd(t))hA.call(t,r)&&EA(e,r,t[r]);return e},GY=(e,t)=>{var r={};for(var n in e)mA.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&kd)for(var n of kd(e))t.indexOf(n)<0&&hA.call(e,n)&&(r[n]=e[n]);return r};/**
|
|
45
|
+
\v\f\r \u2028\u2029\uFEFF`,XW=de,QW=Gi,JW=Sr,sE=Y7,K7=XW("".replace),eY=RegExp("^["+sE+"]+"),tY=RegExp("(^|[^"+sE+"])["+sE+"]+$"),lE=function(e){return function(t){var r=JW(QW(t));return e&1&&(r=K7(r,eY,"")),e&2&&(r=K7(r,tY,"$1")),r}},rY={start:lE(1),end:lE(2),trim:lE(3)},nY=iu.PROPER,oY=Se,q7=Y7,X7="
",iY=function(e){return oY(function(){return!!q7[e]()||X7[e]()!==X7||nY&&q7[e].name!==e})},aY=gt,sY=rY.trim,lY=iY;aY({target:"String",proto:!0,forced:lY("trim")},{trim:function(){return sY(this)}});function cY(e){let{videoSize:t,containerSize:r,mirroring:n,frameKWHLandscape:o,frameKWHPortrait:i,cameraFrameOffsetWidth:a,cameraFrameLandscapeAspectRatio:l=Number(o),cameraFramePortraitAspectRatio:u=Number(i),cameraFrameVerticalPositionMultiplier:c,cameraFrameHorizontalPositionMultiplier:d}=e;const _=t.width>t.height,p=_?bV:0,h=r.width/t.width,m=p/h,v=(_?t.height:t.width)/100*(_?a!=null?a:LV:a!=null?a:1),g=(t.width-(_?m:0))/t.height,I=_?l:u;let D,A,y,b;if(_){g>I?(A=t.height-v*2,D=A*I,y=((n?m:0)+(t.width-m-D)/2)*(d!=null?d:1),b=v):(D=t.width-m-v*2,A=D/I,y=(n?m:0)+v,b=(t.height-A)/2);const N=(t.width-D)/2;N>m+v&&(g>I&&d!==void 0||(y=N))}else g<I?(D=t.width-v*2,A=D/I,y=v,b=(t.height-A)/2*(c!=null?c:1)):(A=t.height-v*2,D=A*I,y=(t.width-D)/2,b=v);return{height:A,width:D,left:y,top:b}}function uY(e){let{videoSize:t,containerSize:r,mirroring:n,scenario:o,scenarioParams:i}=e;const{cameraFramePortraitAspectRatio:a,cameraFrameLandscapeAspectRatio:l,cameraFrameOffsetWidth:u,cameraFrameVerticalPositionMultiplier:c,cameraFrameHorizontalPositionMultiplier:d}=it(),[_,p]=k.useState(null);return k.useEffect(()=>{const h=!!t.width,m=!!t.height;if(!(h&&m&&(i==null?void 0:i.length))||!o)return;const g=i.find(b=>b.name===o);if(!(g!=null&&g.frameKWHLandscape)||!g.frameKWHPortrait)return;const{width:I,height:D,top:A,left:y}=cY({videoSize:t,containerSize:r,mirroring:n,frameKWHLandscape:g.frameKWHLandscape,frameKWHPortrait:g.frameKWHPortrait,cameraFrameOffsetWidth:u,cameraFrameLandscapeAspectRatio:l,cameraFramePortraitAspectRatio:a,cameraFrameVerticalPositionMultiplier:c,cameraFrameHorizontalPositionMultiplier:d});p({frameBottom:Math.floor(A+D),frameLeft:Math.floor(y),frameRight:Math.floor(y+I),frameTop:Math.floor(A),light:0,resolutionType:0})},[o,t,r,i,n,a,l,u,c,d]),_}function Q7(e,t,r){return(t=fY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fY(e){var t=dY(e,"string");return typeof t=="symbol"?t:t+""}function dY(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class Oe{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Q7(this,"type",void 0),Q7(this,"details",void 0),this.type=t,this.details=r}}function J7(e,t,r){return B(this,null,function*(){const n=[];for(let o=0;o<e.length;o++){const i=new Promise((a,l)=>{const u=Array.from(e)[o];if(u){if(!u.size)return l(new Oe(we.INCORRECT_FILE));const c=document.createElement("canvas"),d=c.getContext("2d",{willReadFrequently:!0}),_=URL.createObjectURL(u),p=new Image;p.onload=function(){let h=p.width,m=p.height;if(p.width*p.height>r)return l(new Oe(we.INCORRECT_FILE));if(p.width>t||p.height>t){const v=p.width/p.height;p.width>p.height?(h=t,m=t/v):(m=t,h=t*v)}if(c.width=h,c.height=m,d){d.drawImage(p,0,0,h,m);const v=d==null?void 0:d.getImageData(0,0,h,m);v&&(a(v),URL.revokeObjectURL(_))}},p.src=_,p.onerror=()=>l(new Oe(we.INCORRECT_FILE))}else l(new Oe(we.INCORRECT_FILE))});n.push(i)}return n})}function _Y(e,t){var r;const n={glareCheck:O.CheckResult.WAS_NOT_DONE,resolutionCheck:O.CheckResult.WAS_NOT_DONE,focusCheck:O.CheckResult.WAS_NOT_DONE,isDocumentAvailable:!1};return(r=e.rawResponse.ContainerList)===null||r===void 0||r.List.forEach(o=>{o.page_idx===t&&("ImageQualityCheckList"in o&&o.ImageQualityCheckList.List.forEach(i=>{i.result!==void 0&&(i.type===O.ImageQualityCheckType.ImageFocus&&(n.focusCheck=i.result),i.type===O.ImageQualityCheckType.ImageGlares&&(n.glareCheck=i.result),i.type===O.ImageQualityCheckType.ImageResolution&&(n.resolutionCheck=i.result))}),"DocumentPosition"in o&&(n.isDocumentAvailable=!0))}),n}function eA(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{glareCheck:n,resolutionCheck:o,focusCheck:i,isDocumentAvailable:a}=_Y(e,t),l=!r||r&&e.rawResponse.morePagesAvailable===0;return e.rawResponse.ProcessingFinished===O.ProcessingStatus.FINISHED?l?J.SUCCESS:J.START_NEXT_PAGE:e.rawResponse.ProcessingFinished===O.ProcessingStatus.TIMEOUT?J.TIMEOUT:a?i===O.CheckResult.ERROR?J.FOCUS:n===O.CheckResult.ERROR?J.GLARE:o===O.CheckResult.ERROR?J.RESOLUTION:J.HOLD:J.FINDING}const pY=(e,t)=>e.replace(/https:\/\/wasm\.regulaforensics\.com\/document\/\w+\/\d+\.\d+\/[a-f0-9-]+/,t);function tA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Md(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tA(Object(r),!0).forEach(function(n){mY(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mY(e,t,r){return(t=hY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hY(e){var t=EY(e,"string");return typeof t=="symbol"?t:t+""}function EY(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const rA=Nt.create("main");function nA(e){let{scenario:t,onError:r}=e;const{devLicense:n,onEvent:o}=it(),i=window.RegulaDocumentSDK,[a,l]=k.useState({initialized:!1,initData:i.initData});return k.useEffect(()=>{if(!(!a.initData||a.initialized||!t))if(a.initData.license.errorCode===0&&a.initData.license.status){const u=a.initData.scenario.filter(d=>d.name!==GV);u.some(d=>d.name===t)?(l({initialized:!0,initData:{scenario:u,license:a.initData.license}}),o({action:ce.SERVICE_INITIALIZED,data:null})):(r(new Oe(we.INCORRECT_SCENARIO)),rA("Incorrect scenario: ".concat(t)))}else r(new Oe(we.WASM_LICENSE,a.initData.license.message)),rA("Problems with initialization: ".concat(JSON.stringify(n)))},[a,t]),k.useEffect(()=>{!i||i.isInitialized||i.initData||(i.isAutoPrepare?i.initializeListener=u=>{let{isInitialized:c}=u;!c||!i.initData||l(d=>Md(Md({},d),{},{initData:i.initData}))}:i.prepareListener=u=>{let{isPrepared:c}=u;c&&i.initialize({license:n}).then(d=>{l(_=>Md(Md({},_),{},{initData:d}))}).catch(d=>{r(new Oe(we.WASM_ERROR,d))})})},[n,i]),a}function CY(e,t){const[r,n]=k.useState(e),[o,i]=k.useState(!1);return k.useEffect(()=>{o||n(e)},[o,e]),k.useEffect(()=>{i(!0);const a=setTimeout(()=>{i(!1)},t);return()=>{clearTimeout(a)}},[r]),r}const cE=Nt.create("main"),SY=5;function vY(e){const[t,r]=k.useState(!1),n=k.useRef({x:0,y:0,z:0}),o=CY(t,1e3),i=a=>{var l,u;if(!((l=a.acceleration)!==null&&l!==void 0&&l.x)||!((u=a.acceleration)!==null&&u!==void 0&&u.y)||!a.acceleration.z)return;const c=Math.abs(a.acceleration.x-n.current.x)+Math.abs(a.acceleration.y-n.current.y)+Math.abs(a.acceleration.z-n.current.z);r(c>SY),n.current.x=a.acceleration.x,n.current.y=a.acceleration.y,n.current.z=a.acceleration.z};return k.useEffect(()=>{if(!e)return;const a=DeviceOrientationEvent.requestPermission;if(typeof a=="function")a().then(l=>{l==="granted"?window.addEventListener("devicemotion",i):cE("Device orientation service permission denied")}).catch(l=>"Device orientation service error: ".concat(l));else if("permissions"in navigator)navigator.permissions.query({name:"accelerometer"}).then(l=>{l.state==="granted"?window.addEventListener("devicemotion",i):cE("Device orientation service permission denied")}).catch(l=>"Device orientation service error: ".concat(l));else return cE("Device orientation service is missing");return()=>{window.removeEventListener("devicemotion",i)}},[]),{isShake:o}}function oA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function xr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?oA(Object(r),!0).forEach(function(n){gY(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function gY(e,t,r){return(t=IY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function IY(e){var t=DY(e,"string");return typeof t=="symbol"?t:t+""}function DY(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const Go=Nt.create("main");function RY(e,t,r,n,o){const i=window.RegulaDocumentSDK,{onEvent:a,multipageProcessing:l,internalScenario:u,cameraFrame:c=!0,videoCaptureMotionControl:d}=it(),{isShake:_}=vY(d),p=k.useRef(!1),[h,m]=k.useState(!1),[S,v]=k.useState(!1),[g,I]=k.useState(!1),[D,A]=k.useState(0),[y,b]=k.useState(void 0),[N,M]=k.useState([11,12]),[x,w]=k.useState({status:J.SERVICE_PREPARING,response:null}),{initData:V,initialized:te}=nA({scenario:y,onError:n}),ae=uY({videoSize:e.videoParams,containerSize:e.videoContainerParams,mirroring:r,scenario:y,scenarioParams:V==null?void 0:V.scenario}),pe=o.captureMode===Wn.captureFrame,Ve=x.status===J.START_NEXT_PAGE;return k.useEffect(()=>{if(i){if(i.recognizerProcessParam=Ht(ZV,i.recognizerProcessParam),l!==void 0){const he={processParam:{multipageProcessing:l}};i.recognizerProcessParam=Ht(i.recognizerProcessParam,he)}if(u!==void 0){const he={processParam:{scenario:u}};i.recognizerProcessParam=Ht(i.recognizerProcessParam,he)}Go("Current scenario: ".concat(i.recognizerProcessParam.processParam.scenario)),b(i.recognizerProcessParam.processParam.scenario)}},[i,u,l]),k.useEffect(()=>{ae&&(c?(Go("Frame params: ".concat(JSON.stringify(ae))),i.recognizerProcessParam=Ht(i.recognizerProcessParam,{imageInputParam:ae})):delete i.recognizerProcessParam.imageInputParam)},[ae,c]),k.useEffect(()=>{var he;if(!i||!te||S||pe||t.videoStatus!==Ne.PLAY||!t.sortedDevices)return;const Ze=[...t.sortedDevices.frontCameras,...t.sortedDevices.backCameras].map(Z=>{const se=Z.facing===Kt.user?"front":"back";return{cameraID:Z.deviceId,label:Z.label,groupId:Z.groupId,facing:se}}),U={platform:"Web",osVersion:"".concat(R7),sdkVersion:"7.5.2000-nightly".trim(),hostAppId:(he=i.recognizerProcessParam.processParam.backendProcessing)===null||he===void 0?void 0:he.serviceURL,userID:w7(F4),deviceModel:"".concat(Z2,"/").concat(R7," ").concat(Od,"/").concat(g7),hostAppVersion:"".concat(Od,"/").concat(g7),currentCameraInfo:{cameraID:t.camera.deviceId},cameraState:Ze};Go("Metadata: ".concat(JSON.stringify(U))),(i.recognizerProcessParam.processParam.backendProcessing?i.createBackendTransaction(U):i.startNewDocument(U)).then(()=>{v(!0),Go("New document started")}).catch(Z=>{w(se=>xr(xr({},se),{},{status:J.FAILED})),n(new Oe(we.WASM_ERROR,Z))})},[te,S,o.captureMode,t]),k.useEffect(()=>{const he=S&&(!o.captureMode||o.captureMode===Wn.auto),Ze=S&&o.captureMode===Wn.captureVideo,U=te&&o.captureMode===Wn.captureFrame;he&&m(!0),(U||Ze)&&w(W=>xr(xr({},W),{},{status:J.FINDING}))},[S,o.captureMode,te]),k.useEffect(()=>{const he=t.videoStatus===Ne.PLAY;if(!i||!he||g||!h||!e.videoElement)return;if(p.current||(a({action:ce.CAMERA_PROCESS_STARTED,data:null}),p.current=!0),_)return w(U=>xr(xr({},U),{},{status:J.SHAKING}));I(!0);const{imageData:Ze}=yd(e.videoElement,gi.UINT);Go("Image processing started"),i.process(Ze).then(U=>{const W=eA(U,D,i.recognizerProcessParam.processParam.multipageProcessing);w(se=>xr(xr({},se),{},{status:W,response:U})),I(!1),Go("Image processing is finished");const Z=!!xh[W];(W===J.START_NEXT_PAGE||Z)&&(U.rawResponse.multipageAnimationImage&&M(U.rawResponse.multipageAnimationImage),m(!1))}).catch(U=>{w({response:null,status:J.FAILED}),n(new Oe(we.WASM_ERROR,U)),m(!1)})},[g,e.videoElement,t.videoStatus,D,h,_]),k.useEffect(()=>{if(!i||!Ve)return;Go("More pages available"),a({action:ce.NEW_PAGE_AVAILABLE,data:null});const he=setTimeout(()=>B(this,null,function*(){try{yield i.startNewPage(),a({action:ce.NEW_PAGE_STARTED,data:null}),m(!0),A(Ze=>Ze+PV),Go("New page started")}catch(Ze){w(U=>xr(xr({},U),{},{status:J.FAILED})),n(new Oe(we.WASM_ERROR,Ze))}}),MV);return()=>{clearTimeout(he)}},[Ve]),xr(xr({},x),{},{frameParams:ae,setIsRecognitionStarted:m,animationImage:N})}const ec=Nt.create("main");function AY(){var e,t,r;const{mobileDelegate:n}=it(),[o,i]=k.useState(Yn.CHECKING),a=window.RegulaDocumentSDK,l=((e=a.recognizerProcessParam)===null||e===void 0?void 0:e.tag)||"",u=((t=a.recognizerProcessParam.processParam.backendProcessing)===null||t===void 0?void 0:t.serviceURL)||"",c=((r=a.recognizerProcessParam.processParam.backendProcessing)===null||r===void 0?void 0:r.httpHeaders)||{};return k.useEffect(()=>{if(!n)return ec("Transaction check is disabled"),i(Yn.NOT_AVAILABLE);ec("Transaction check parameters: ".concat(JSON.stringify({tag:l,basePath:u,headers:c}))),B(this,null,function*(){try{var _;const p=new v_({basePath:u,baseOptions:{headers:c}}),{data:h}=yield p.getTransactionsByTag(l,{headers:c});ec("Transaction check data: ".concat(JSON.stringify(h)));const m=(_=h.items)!==null&&_!==void 0&&_.some(S=>S.state===Hc.PROCESSED)?Yn.AVAILABLE:Yn.NOT_AVAILABLE;ec("Transaction check status: ".concat(m)),i(m)}catch(p){ec("Transaction check status: ERROR. Details: ".concat(p)),i(Yn.ERROR)}})},[n]),o}const TY=["data"];function OY(e,t){if(e==null)return{};var r,n,o=yY(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function yY(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}function NY(e){let{onStatusChange:t,onFileImageSet:r,onError:n,onClose:o}=e;const{onEvent:i,cameraId:a,startScreen:l,captureButton:u,captureMode:c,resolution:d,cameraMode:_,videoRecord:p,mirrorType:h,mobileDelegate:m}=it(),S=window.RegulaDocumentSDK,v=k.useMemo(()=>({width:(d==null?void 0:d.width)||Cn.FULL_HD.width,height:(d==null?void 0:d.height)||Cn.FULL_HD.height}),[d]),g=k.useRef(!0),I=k.useRef(null),[D,A]=k.useState(!1),[y,b]=k.useState({videoElement:null,videoParams:{width:0,height:0},videoContainerParams:{width:0,height:0}}),[N,M]=k.useState({videoStatus:Ne.PREPARING,camera:{deviceId:"",facing:void 0,groupId:"",label:""},sortedDevices:null}),[x,w]=k.useState(a),{status:V,response:te,frameParams:ae,setIsRecognitionStarted:pe,animationImage:Ve}=RY(y,N,D,n,{captureMode:c}),he=AY(),[Ze,U]=k.useState(null),W=(vt,g_,GC)=>B(this,null,function*(){t(j.PROCESSING);const ei=S.recognizerProcessParam.processParam.backendProcessing,Vc={status:vt,response:GC};if(p&&Ze){const Nn=yield Ze.getRecord();if(!Nn)return;if(Vc.video=Nn,ei){const{data:I_}=Nn,Uc=OY(Nn,TY),ji=yield I_.arrayBuffer(),jc=new Uint8ClampedArray(ji),zC={sizeBytes:I_.size,dataName:"processingVideo",metadata:Uc};yield S.addDataToPackage(jc,zC)}}ei&&(S.onFinalize=()=>t(m?j.DELEGATE_SUCCESS:j.SUCCESS)),i({action:ce.PROCESS_FINISHED,data:Vc}),t(ei?j.PROCESSING:g_)}),Z=k.useCallback(()=>{i({action:ce.PRESS_MIRRORING_BUTTON,data:null}),A(vt=>!vt)},[D]),se=k.useCallback(()=>{i({action:ce.CAMERA_PROCESS_CLOSED,data:null}),l&&t(j.CHOOSE_INPUT_SOURCE)},[l]),ge=()=>B(this,null,function*(){i({action:ce.PRESS_SKIP_BUTTON,data:null}),I.current&&(yield W(ko.OK,j.SUCCESS,I.current))}),Lt=k.useCallback(()=>{if(i({action:ce.PRESS_CHANGE_CAMERA_BUTTON,data:null}),!N.sortedDevices)return;const vt=q2(N.sortedDevices,N.camera.deviceId);vt&&w(vt)},[N.camera.deviceId,N.sortedDevices]),tt=k.useCallback(()=>{if(i({action:ce.PRESS_CAPTURE_BUTTON,data:null}),c===Wn.captureVideo&&g.current)g.current=!1,pe(!0);else{if(!y.videoElement)return;pe(!1);const{imageData:vt}=yd(y.videoElement,gi.UINT);r(vt)}},[y.videoElement,c]),Ut=vt=>{n(new Oe(vt))},St=u||u===void 0||c===Wn.captureFrame||c===Wn.captureVideo;k.useEffect(()=>{if(te){if(V===J.START_NEXT_PAGE&&(I.current=te),V===J.SUCCESS){const vt=m?j.DELEGATE_SUCCESS:j.SUCCESS;W(ko.OK,vt,te)}if(V===J.TIMEOUT){const vt=m?j.DELEGATE_SUCCESS:j.TIMEOUT;W(ko.TIMEOUT,vt,te)}}},[V,te,m]),k.useEffect(()=>{he===Yn.AVAILABLE&&t(j.DELEGATE_SUCCESS),he===Yn.ERROR&&n(new Oe(we.CONNECTION_ERROR,"Transaction check failed."))},[he]);const Vr=()=>{i({action:ce.VIDEO_STARTED,data:null})},Ui=()=>{i({action:ce.VIDEO_STOPPED,data:null})};return k.useMemo(()=>f.jsx(W7,{mirroring:D,onChangeMirroring:Z,status:V,videoStatusParams:N,frameParams:ae,videoElementParams:y,onProcessClose:se,onClose:o,onSnapshotProcess:tt,onSkip:ge,onChangeCamera:Lt,captureButton:St,animationImage:Ve,children:he===Yn.NOT_AVAILABLE?f.jsx(F7,{onVideoSizeChange:b,onVideoStatusChange:M,resolution:v,mirroring:D,onFailStatus:Ut,mode:_||Kt.environment,cameraId:x,onRecordService:U,videoRecord:p,onVideoStarted:Vr,onVideoStopped:Ui,mirrorType:h}):null}),[x,D,Z,tt,V,N,ae,se,Lt,y,St,v,_,p,Ve,he])}const Pd={"info-message":"_info-message_1u3po_1","text-container":"_text-container_1u3po_10",title:"_title_1u3po_19",subtitle:"_subtitle_1u3po_28"},$Y={button:"_button_b09l6_1"};function wd(e){let{children:t,icon:r,part:n,onClick:o,e2e:i}=e;return f.jsxs("button",{part:n,className:$Y.button,"data-e2e":i,onClick:o,children:[f.jsx(fr,{type:r}),f.jsx("span",{children:t})]})}function Ke(e){let{title:t,subtitle:r,type:n,onReset:o,size:i}=e;const{translate:a}=Bo.useLocalize();return f.jsx("div",{part:"info-container",className:Pd["info-message"],children:f.jsxs("div",{part:"info-text-container",className:Pd["text-container"],children:[f.jsx(fr,{type:n,size:i}),f.jsx("p",{part:"info-title","data-e2e":"info-msg-title",className:Pd.title,children:t}),r&&f.jsx("p",{part:"info-subtitle","data-e2e":"info-msg-subtitle",className:Pd.subtitle,children:r}),o&&f.jsx(wd,{part:"info-try-again-button",icon:"circular-arrows",onClick:o,children:a("tryAgain")})]})})}const tc={"start-window":"_start-window_1an07_1",text:"_text_1an07_11",title:"_title_1an07_19",subtitle:"_subtitle_1an07_28",buttons:"_buttons_1an07_38"};function iA(e){let{onStart:t,onFileImageSet:r,title:n,subtitle:o,allowRemote:i=!1,onRemoteDevice:a}=e;const{onEvent:l,multipleFileInput:u=!0,fromCameraButton:c=!0,uploadFileButton:d=!0}=it(),_=k.useRef(null),{translate:p}=Bo.useLocalize(),h=()=>{const v=_.current;v&&(l({action:ce.PRESS_FILE_BUTTON,data:null}),v.click())},m=v=>{var g;(g=v.target.files)!==null&&g!==void 0&&g.length&&r(v.target.files)},S=()=>{l({action:ce.PRESS_REMOTE_DEVICE_BUTTON,data:null}),a==null||a()};return f.jsxs("div",{part:"menu-container",className:tc["start-window"],children:[f.jsxs("div",{part:"menu-text-container",className:tc.text,children:[f.jsx("p",{part:"menu-title",className:tc.title,children:n}),f.jsx("p",{part:"menu-subtitle",className:tc.subtitle,children:o})]}),f.jsxs("div",{part:"menu-buttons-container",className:tc.buttons,children:[c&&f.jsx(wd,{part:"menu-from-camera-button",e2e:"from-camera",icon:"from-camera",onClick:t,children:p("camera")}),d&&f.jsx(wd,{part:"menu-from-gallery-button",e2e:"from-gallery",icon:"from-gallery",onClick:h,children:p(Wa?"gallery":"files")}),i&&a&&f.jsx(wd,{part:"menu-from-mobile-button",e2e:"from-other-phone",icon:"from-other-phone",onClick:S,children:p("mobileDevice")})]}),f.jsx("input",{ref:_,style:{display:"none"},type:"file",multiple:u,accept:qV.join(","),onChange:m})]})}function aA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function sA(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?aA(Object(r),!0).forEach(function(n){LY(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):aA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function LY(e,t,r){return(t=bY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bY(e){var t=MY(e,"string");return typeof t=="symbol"?t:t+""}function MY(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const lA=Nt.create("main");function PY(e,t,r,n){const o=window.RegulaDocumentSDK,{internalScenario:i}=it(),[a,l]=k.useState(void 0),[u,c]=k.useState({status:J.SERVICE_PREPARING,response:null}),{initialized:d}=nA({scenario:a,onError:r});return k.useEffect(()=>{if(o){if(o.imageProcessParam=Ht(WV,o.imageProcessParam),i!==void 0){const _={processParam:{scenario:i}};o.imageProcessParam=Ht(o.imageProcessParam,_)}n.isRecognizerProcessParam?l(o.recognizerProcessParam.processParam.scenario):l(o.imageProcessParam.processParam.scenario)}},[o,i,n.isRecognizerProcessParam]),k.useEffect(()=>{const _=!!xh[u.status];if(!o||!d||!e.length||_)return;t({action:ce.FILE_PROCESS_STARTED,data:null});const p=n.isRecognizerProcessParam?o.recognizerProcessParam:o.imageProcessParam;o.processingListener=h=>{let{isProcessing:m}=h;m||(o.processingListener=null,lA("Image processing started"),o.processImage(e,p).then(S=>{c(v=>sA(sA({},v),{},{status:J.SUCCESS,response:S})),lA("Image processing is finished")}).catch(S=>{c({response:null,status:J.FAILED}),r(new Oe(we.WASM_ERROR,S))}))}},[d,u.status,e,n.isRecognizerProcessParam]),u}function wY(e){let{onStatusChange:t,images:r,onError:n}=e;const o=window.RegulaDocumentSDK,i=k.useRef(!1),{onEvent:a,mobileDelegate:l}=it(),[u,c]=k.useState(!1),[d,_]=k.useState([]),{status:p,response:h}=PY(d,a,n,{isRecognizerProcessParam:u});return k.useEffect(()=>{if(!(!r||i.current)){if(i.current=!0,!(r instanceof FileList))return c(!0),_(r);J7(r,y4,N4).then(m=>Promise.all(m)).then(m=>{m.reduce((v,g)=>v+g.data.byteLength,0)>O4?n(new Oe(we.FILE_SIZE)):_(m)}).catch(m=>{n(m)}).then(()=>{i.current=!1})}},[r]),k.useEffect(()=>{if(p===J.SUCCESS&&h){const S=o.recognizerProcessParam.processParam.backendProcessing&&u;S&&(o.onFinalize=()=>t(l?j.DELEGATE_SUCCESS:j.SUCCESS)),a({action:ce.PROCESS_FINISHED,data:{status:ko.OK,response:h}}),t(S?j.PROCESSING:j.SUCCESS)}},[p,h,u,o,l]),f.jsx(Jl,{})}function cA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function uA(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cA(Object(r),!0).forEach(function(n){kY(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function kY(e,t,r){return(t=xY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xY(e){var t=FY(e,"string");return typeof t=="symbol"?t:t+""}function FY(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fA(e){function t(r){const{locale:n,translations:o,dictionaries:i}=r;let a=i;if(o)for(const h in o)if(Object.prototype.hasOwnProperty.call(i,h))a=Ht(a,{[h]:o[h]});else{const m=Ht(i.en,o[h]);a=Ht(a,{[h]:m})}const u=(window.navigator?window.navigator.language:P4).substring(0,2).toLowerCase(),c=Object.prototype.hasOwnProperty.call(a,u)?u:P4,d=n&&Object.prototype.hasOwnProperty.call(a,n)?n:c,_=XV.includes(d)?Fh.Rtl:Fh.Ltr,p=uA(uA({},r),{},{direction:_});return f.jsx(Bo.LocalizationProvider,{disableCache:!0,locale:d,translations:a,children:f.jsx(e,K({},p))})}return t}function dA(e){function t(r){return f.jsx(H7.Provider,{value:r,children:f.jsx(e,K({},r))})}return t}function _A(e,t,r){return(t=HY(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function HY(e){var t=VY(e,"string");return typeof t=="symbol"?t:t+""}function VY(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class pA extends k.Component{constructor(t){super(t),_A(this,"onError",void 0),_A(this,"supportedBrowserVersions",void 0),this.supportedBrowserVersions=t.supportedBrowserVersions,this.onError=t.onError}componentDidCatch(t){this.onError(new Oe("UNKNOWN_ERROR",t))}componentDidMount(){if(this.supportedBrowserVersions){let t=null;if(Wa&&Z2 in this.supportedBrowserVersions&&(t=this.supportedBrowserVersions[Z2]),kZ&&(t=this.supportedBrowserVersions.desktop),t&&Od in t){const r=t[Od];r!==void 0&&Number(wZ)<r&&this.onError(new Oe("NOT_SUPPORTED"))}}}render(){return this.props.children}}function UY(){const e=()=>window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait",[t,r]=k.useState(()=>{const o=e();return{isPortrait:o==="portrait",isLandscape:o==="landscape",orientation:o}}),n=k.useCallback(()=>{const o=e();r(i=>i.orientation!==o?{isPortrait:o==="portrait",isLandscape:o==="landscape",orientation:o}:i)},[]);return k.useEffect(()=>(typeof window!="undefined"&&(n(),window.addEventListener("load",n,!1),window.addEventListener("resize",n,!1)),()=>{window.removeEventListener("load",n,!1),window.removeEventListener("resize",n,!1)}),[n]),t}const rc={"remote-scanner-wrapper":"_remote-scanner-wrapper_12a10_1","qr-container":"_qr-container_12a10_11",text:"_text_12a10_19",title:"_title_12a10_27",subtitle:"_subtitle_12a10_36",note:"_note_12a10_46"};var jY=Object.defineProperty,kd=Object.getOwnPropertySymbols,mA=Object.prototype.hasOwnProperty,hA=Object.prototype.propertyIsEnumerable,EA=(e,t,r)=>t in e?jY(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,BY=(e,t)=>{for(var r in t||(t={}))mA.call(t,r)&&EA(e,r,t[r]);if(kd)for(var r of kd(t))hA.call(t,r)&&EA(e,r,t[r]);return e},GY=(e,t)=>{var r={};for(var n in e)mA.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&kd)for(var n of kd(e))t.indexOf(n)<0&&hA.call(e,n)&&(r[n]=e[n]);return r};/**
|
|
46
46
|
* @license QR Code generator library (TypeScript)
|
|
47
47
|
* Copyright (c) Project Nayuki.
|
|
48
48
|
* SPDX-License-Identifier: MIT
|
|
@@ -69,7 +69,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
69
69
|
<slot />
|
|
70
70
|
`}}var NE=function(e,t){return NE=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},NE(e,t)};function uc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");NE(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Soe(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function l(d){try{c(n.next(d))}catch(_){a(_)}}function u(d){try{c(n.throw(d))}catch(_){a(_)}}function c(d){d.done?i(d.value):o(d.value).then(l,u)}c((n=n.apply(e,t||[])).next())})}function b6(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=l(0),a.throw=l(1),a.return=l(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(c){return function(d){return u([c,d])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(r=0)),r;)try{if(n=1,o&&(i=c[0]&2?o.return:c[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,c[1])).done)return i;switch(o=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,o=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(c[0]===6&&r.label<i[1]){r.label=i[1],i=c;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(c);break}i[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(d){c=[6,d],o=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function rs(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function $E(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return i}function LE(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function ns(e){return this instanceof ns?(this.v=e,this):new ns(e)}function voe(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",a),o[Symbol.asyncIterator]=function(){return this},o;function a(h){return function(m){return Promise.resolve(m).then(h,_)}}function l(h,m){n[h]&&(o[h]=function(S){return new Promise(function(v,g){i.push([h,S,v,g])>1||u(h,S)})},m&&(o[h]=m(o[h])))}function u(h,m){try{c(n[h](m))}catch(S){p(i[0][3],S)}}function c(h){h.value instanceof ns?Promise.resolve(h.value.v).then(d,_):p(i[0][2],h)}function d(h){u("next",h)}function _(h){u("throw",h)}function p(h,m){h(m),i.shift(),i.length&&u(i[0][0],i[0][1])}}function goe(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof rs=="function"?rs(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(a){return new Promise(function(l,u){a=e[i](a),o(l,u,a.done,a.value)})}}function o(i,a,l,u){Promise.resolve(u).then(function(c){i({value:c,done:l})},a)}}typeof SuppressedError=="function"&&SuppressedError;function at(e){return typeof e=="function"}function M6(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var bE=M6(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
71
71
|
`+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
|
|
72
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function ME(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Yd=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=rs(a),u=l.next();!u.done;u=l.next()){var c=u.value;c.remove(this)}}catch(S){t={error:S}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}else a.remove(this);var d=this.initialTeardown;if(at(d))try{d()}catch(S){i=S instanceof bE?S.errors:[S]}var _=this._finalizers;if(_){this._finalizers=null;try{for(var p=rs(_),h=p.next();!h.done;h=p.next()){var m=h.value;try{k6(m)}catch(S){i=i!=null?i:[],S instanceof bE?i=LE(LE([],$E(i)),$E(S.errors)):i.push(S)}}}catch(S){n={error:S}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}}if(i)throw new bE(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)k6(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&ME(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&ME(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),P6=Yd.EMPTY;function w6(e){return e instanceof Yd||e&&"closed"in e&&at(e.remove)&&at(e.add)&&at(e.unsubscribe)}function k6(e){at(e)?e():e.unsubscribe()}var x6={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},F6={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,LE([e,t],$E(r)))},clearTimeout:function(e){var t=F6.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function H6(e){F6.setTimeout(function(){throw e})}function V6(){}function Kd(e){e()}var PE=function(e){uc(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,w6(r)&&r.add(n)):n.destination=Aoe,n}return t.create=function(r,n,o){return new kE(r,n,o)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Yd),Ioe=Function.prototype.bind;function wE(e,t){return Ioe.call(e,t)}var Doe=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){qd(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){qd(n)}else qd(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){qd(r)}},e}(),kE=function(e){uc(t,e);function t(r,n,o){var i=e.call(this)||this,a;if(at(r)||!r)a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:o!=null?o:void 0};else{var l;i&&x6.useDeprecatedNextContext?(l=Object.create(r),l.unsubscribe=function(){return i.unsubscribe()},a={next:r.next&&wE(r.next,l),error:r.error&&wE(r.error,l),complete:r.complete&&wE(r.complete,l)}):a=r}return i.destination=new Doe(a),i}return t}(PE);function qd(e){H6(e)}function Roe(e){throw e}var Aoe={closed:!0,next:V6,error:Roe,complete:V6},xE=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Toe(e){return e}function Ooe(e){return e.length===0?Toe:e.length===1?e[0]:function(r){return e.reduce(function(n,o){return o(n)},r)}}var rn=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var o=this,i=Noe(t)?t:new kE(t,r,n);return Kd(function(){var a=o,l=a.operator,u=a.source;i.add(l?l.call(i,u):u?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=U6(r),new r(function(o,i){var a=new kE({next:function(l){try{t(l)}catch(u){i(u),a.unsubscribe()}},error:i,complete:o});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[xE]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Ooe(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=U6(t),new t(function(n,o){var i;r.subscribe(function(a){return i=a},function(a){return o(a)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function U6(e){var t;return(t=e!=null?e:x6.Promise)!==null&&t!==void 0?t:Promise}function yoe(e){return e&&at(e.next)&&at(e.error)&&at(e.complete)}function Noe(e){return e&&e instanceof PE||yoe(e)&&w6(e)}function $oe(e){return at(e==null?void 0:e.lift)}function fc(e){return function(t){if($oe(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function dc(e,t,r,n,o){return new Loe(e,t,r,n,o)}var Loe=function(e){uc(t,e);function t(r,n,o,i,a,l){var u=e.call(this,r)||this;return u.onFinalize=a,u.shouldUnsubscribe=l,u._next=n?function(c){try{n(c)}catch(d){r.error(d)}}:e.prototype._next,u._error=i?function(c){try{i(c)}catch(d){r.error(d)}finally{this.unsubscribe()}}:e.prototype._error,u._complete=o?function(){try{o()}catch(c){r.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,u}return t.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},t}(PE),boe=M6(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),j6=function(e){uc(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new B6(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new boe},t.prototype.next=function(r){var n=this;Kd(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=rs(n.currentObservers),l=a.next();!l.done;l=a.next()){var u=l.value;u.next(r)}}catch(c){o={error:c}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}}})},t.prototype.error=function(r){var n=this;Kd(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var o=n.observers;o.length;)o.shift().error(r)}})},t.prototype.complete=function(){var r=this;Kd(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,a=o.isStopped,l=o.observers;return i||a?P6:(this.currentObservers=null,l.push(r),new Yd(function(){n.currentObservers=null,ME(l,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,a=n.isStopped;o?r.error(i):a&&r.complete()},t.prototype.asObservable=function(){var r=new rn;return r.source=this,r},t.create=function(r,n){return new B6(r,n)},t}(rn),B6=function(e){uc(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:P6},t}(j6),G6=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function z6(e){return at(e==null?void 0:e.then)}function Z6(e){return at(e[xE])}function W6(e){return Symbol.asyncIterator&&at(e==null?void 0:e[Symbol.asyncIterator])}function Y6(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Moe(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var K6=Moe();function q6(e){return at(e==null?void 0:e[K6])}function X6(e){return voe(this,arguments,function(){var r,n,o,i;return b6(this,function(a){switch(a.label){case 0:r=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,ns(r.read())];case 3:return n=a.sent(),o=n.value,i=n.done,i?[4,ns(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,ns(o)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function Q6(e){return at(e==null?void 0:e.getReader)}function os(e){if(e instanceof rn)return e;if(e!=null){if(Z6(e))return Poe(e);if(G6(e))return woe(e);if(z6(e))return koe(e);if(W6(e))return J6(e);if(q6(e))return xoe(e);if(Q6(e))return Foe(e)}throw Y6(e)}function Poe(e){return new rn(function(t){var r=e[xE]();if(at(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function woe(e){return new rn(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function koe(e){return new rn(function(t){e.then(function(r){t.closed||(t.next(r),t.complete())},function(r){return t.error(r)}).then(null,H6)})}function xoe(e){return new rn(function(t){var r,n;try{for(var o=rs(e),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(l){r={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.complete()})}function J6(e){return new rn(function(t){Hoe(e,t).catch(function(r){return t.error(r)})})}function Foe(e){return J6(X6(e))}function Hoe(e,t){var r,n,o,i;return Soe(this,void 0,void 0,function(){var a,l;return b6(this,function(u){switch(u.label){case 0:u.trys.push([0,5,6,11]),r=goe(e),u.label=1;case 1:return[4,r.next()];case 2:if(n=u.sent(),!!n.done)return[3,4];if(a=n.value,t.next(a),t.closed)return[2];u.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return l=u.sent(),o={error:l},[3,11];case 6:return u.trys.push([6,,9,10]),n&&!n.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:u.sent(),u.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function $i(e,t,r,n,o){n===void 0&&(n=0),o===void 0&&(o=!1);var i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function eT(e,t){return t===void 0&&(t=0),fc(function(r,n){r.subscribe(dc(n,function(o){return $i(n,e,function(){return n.next(o)},t)},function(){return $i(n,e,function(){return n.complete()},t)},function(o){return $i(n,e,function(){return n.error(o)},t)}))})}function tT(e,t){return t===void 0&&(t=0),fc(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}function Voe(e,t){return os(e).pipe(tT(t),eT(t))}function Uoe(e,t){return os(e).pipe(tT(t),eT(t))}function joe(e,t){return new rn(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function Boe(e,t){return new rn(function(r){var n;return $i(r,t,function(){n=e[K6](),$i(r,t,function(){var o,i,a;try{o=n.next(),i=o.value,a=o.done}catch(l){r.error(l);return}a?r.complete():r.next(i)},0,!0)}),function(){return at(n==null?void 0:n.return)&&n.return()}})}function rT(e,t){if(!e)throw new Error("Iterable cannot be null");return new rn(function(r){$i(r,t,function(){var n=e[Symbol.asyncIterator]();$i(r,t,function(){n.next().then(function(o){o.done?r.complete():r.next(o.value)})},0,!0)})})}function Goe(e,t){return rT(X6(e),t)}function zoe(e,t){if(e!=null){if(Z6(e))return Voe(e,t);if(G6(e))return joe(e,t);if(z6(e))return Uoe(e,t);if(W6(e))return rT(e,t);if(q6(e))return Boe(e,t);if(Q6(e))return Goe(e,t)}throw Y6(e)}function nT(e,t){return t?zoe(e,t):os(e)}function Zoe(e,t){return fc(function(r,n){var o=0;r.subscribe(dc(n,function(i){n.next(e.call(t,i,o++))}))})}function Woe(e,t,r,n,o,i,a,l){var u=[],c=0,d=0,_=!1,p=function(){_&&!u.length&&!c&&t.complete()},h=function(S){return c<n?m(S):u.push(S)},m=function(S){c++;var v=!1;os(r(S,d++)).subscribe(dc(t,function(g){t.next(g)},function(){v=!0},void 0,function(){if(v)try{c--;for(var g=function(){var I=u.shift();a||m(I)};u.length&&c<n;)g();p()}catch(I){t.error(I)}}))};return e.subscribe(dc(t,h,function(){_=!0,p()})),function(){}}function FE(e,t,r){return r===void 0&&(r=1/0),at(t)?FE(function(n,o){return Zoe(function(i,a){return t(n,i,o,a)})(os(e(n,o)))},r):(typeof t=="number"&&(r=t),fc(function(n,o){return Woe(n,o,e,r)}))}function oT(e){return fc(function(t,r){var n=null,o=!1,i;n=t.subscribe(dc(r,void 0,void 0,function(a){i=os(e(a,oT(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Yoe(e,t){return at(t)?FE(e,t,1):FE(e,1)}function Koe(e,t,r){return(t=qoe(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qoe(e){var t=Xoe(e,"string");return typeof t=="symbol"?t:t+""}function Xoe(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class Qoe{constructor(){Koe(this,"taskSubject",new j6),this.taskSubject.pipe(Yoe(t=>nT(t()).pipe(oT(r=>nT(Promise.reject(r)))))).subscribe()}addTask(t){return new Promise((r,n)=>{this.taskSubject.next(()=>B(this,null,function*(){try{const o=yield t();r(o)}catch(o){n(o)}}))})}}const Joe="text/plain",eie="us-ascii",HE=(e,t)=>t.some(r=>r instanceof RegExp?r.test(e):r===e),tie=new Set(["https:","http:","file:"]),rie=e=>{try{const{protocol:t}=new URL(e);return t.endsWith(":")&&!t.includes(".")&&!tie.has(t)}catch(t){return!1}},nie=(e,{stripHash:t})=>{var _,p;const r=new RegExp("^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$").exec(e);if(!r)throw new Error(`Invalid URL: ${e}`);let{type:n,data:o,hash:i}=r.groups;const a=n.split(";");i=t?"":i;let l=!1;a[a.length-1]==="base64"&&(a.pop(),l=!0);const u=(p=(_=a.shift())==null?void 0:_.toLowerCase())!=null?p:"",d=[...a.map(h=>{let[m,S=""]=h.split("=").map(v=>v.trim());return m==="charset"&&(S=S.toLowerCase(),S===eie)?"":`${m}${S?`=${S}`:""}`}).filter(Boolean)];return l&&d.push("base64"),(d.length>0||u&&u!==Joe)&&d.unshift(u),`data:${d.join(";")},${l?o.trim():o}${i?`#${i}`:""}`};function oie(e,t){if(t=K({defaultProtocol:"http",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0},t),typeof t.defaultProtocol=="string"&&!t.defaultProtocol.endsWith(":")&&(t.defaultProtocol=`${t.defaultProtocol}:`),e=e.trim(),/^data:/i.test(e))return nie(e,t);if(rie(e))return e;const r=e.startsWith("//");!r&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));const o=new URL(e);if(t.forceHttp&&t.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&o.protocol==="https:"&&(o.protocol="http:"),t.forceHttps&&o.protocol==="http:"&&(o.protocol="https:"),t.stripAuthentication&&(o.username="",o.password=""),t.stripHash?o.hash="":t.stripTextFragment&&(o.hash=o.hash.replace(/#?:~:text.*?$/i,"")),o.pathname){const a=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g;let l=0,u="";for(;;){const d=a.exec(o.pathname);if(!d)break;const _=d[0],p=d.index,h=o.pathname.slice(l,p);u+=h.replace(/\/{2,}/g,"/"),u+=_,l=p+_.length}const c=o.pathname.slice(l,o.pathname.length);u+=c.replace(/\/{2,}/g,"/"),o.pathname=u}if(o.pathname)try{o.pathname=decodeURI(o.pathname)}catch(a){}if(t.removeDirectoryIndex===!0&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let a=o.pathname.split("/");const l=a[a.length-1];HE(l,t.removeDirectoryIndex)&&(a=a.slice(0,-1),o.pathname=a.slice(1).join("/")+"/")}if(o.hostname&&(o.hostname=o.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(o.hostname)&&(o.hostname=o.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(const a of[...o.searchParams.keys()])HE(a,t.removeQueryParameters)&&o.searchParams.delete(a);if(!Array.isArray(t.keepQueryParameters)&&t.removeQueryParameters===!0&&(o.search=""),Array.isArray(t.keepQueryParameters)&&t.keepQueryParameters.length>0)for(const a of[...o.searchParams.keys()])HE(a,t.keepQueryParameters)||o.searchParams.delete(a);if(t.sortQueryParameters){o.searchParams.sort();try{o.search=decodeURIComponent(o.search)}catch(a){}}t.removeTrailingSlash&&(o.pathname=o.pathname.replace(/\/$/,"")),t.removeExplicitPort&&o.port&&(o.port="");const i=e;return e=o.toString(),!t.removeSingleSlash&&o.pathname==="/"&&!i.endsWith("/")&&o.hash===""&&(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||o.pathname==="/")&&o.hash===""&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),r&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}function iT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function is(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?iT(Object(r),!0).forEach(function(n){ft(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ft(e,t,r){return(t=iie(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iie(e){var t=aie(e,"string");return typeof t=="symbol"?t:t+""}function aie(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const aT=Nt.create("wasm"),dt=Nt.create("main");class sT{constructor(){ft(this,"_worker",null),ft(this,"_prepareListener",null),ft(this,"_initializeListener",null),ft(this,"_processingListener",null),ft(this,"_queueService",new Qoe),ft(this,"_initProcess",null),ft(this,"onFinalize",null),ft(this,"isAutoPrepare",!1),ft(this,"isPrepared",!1),ft(this,"isInitialized",!1),ft(this,"isProcessing",!1),ft(this,"initData",null),ft(this,"recognizerProcessParam",{processParam:{}}),ft(this,"imageProcessParam",{processParam:{}}),ft(this,"recognizeListener",null),ft(this,"workerPath","https://wasm.regulaforensics.com/document/nightly/7.5/2cdfb8a5-df9a3dfcd"),ft(this,"version",{component:"7.5.1999-nightly".trim()})}get processingListener(){return this._processingListener}set processingListener(t){this._processingListener=t,t&&t({isProcessing:this.isProcessing})}get prepareListener(){return this._prepareListener}set prepareListener(t){this._prepareListener=t,t&&t({isPrepared:this.isPrepared})}get initializeListener(){return this._initializeListener}set initializeListener(t){this._initializeListener=t,t&&t({isInitialized:this.isInitialized})}createProcessImageRequest(t,r){const n=t.map((o,i)=>({data:o,light:6,pageIdx:i}));return is(is({},r),{},{imagesList:n})}sendMessage(t){return this._queueService.addTask(()=>new Promise((r,n)=>{if(!this._worker)return dt("Worker is missing)"),n("Worker is missing");this._worker.onmessage=o=>{if(o.data.target===cr.custom){const{method:i,response:a,code:l}=o.data.data,u=a&&"reject_message"in a?a.reject_message:"";if(l===kh.ok||l===kh.badLicense&&!u)dt("".concat("Method ".concat(i,": { code: ").concat(l," } "))),r(a);else{const c=zV[l]||l,d="Method ".concat(i,": ").concat(c);dt(d),n(d)}}o.data.target===cr.stdout&&aT(JSON.stringify(o.data.content)),o.data.target===cr.stderr&&(aT(JSON.stringify(o.data.content)),n(o.data.content))},dt("Send message to worker: { target: ".concat(t.target,", method: ").concat(t.method," }")),this._worker.postMessage(t)}))}prepare(){return B(this,null,function*(){var t,r;dt("Preparing the service");const n="ProcMgr.worker.js",o=this.workerPath==="https://wasm.regulaforensics.com/document/nightly/7.5/2cdfb8a5-df9a3dfcd",i=oie(this.workerPath);{let l=yield(yield fetch("".concat(i,"/").concat(n))).text();o||(l=pY(l,i));const u=new Blob([l],{type:"text/plain"}),c=URL.createObjectURL(u);this._worker=new Worker(c)}(t=this._worker)===null||t===void 0||t.postMessage({target:cr.gl,method:Or.prepare,preMain:!0,op:"setPrefetched"}),yield this.sendMessage({target:cr.init,method:Or.prepare,preMain:!0,URL:document.URL}),this.isPrepared=!0,(r=this._prepareListener)===null||r===void 0||r.call(this,{isPrepared:this.isPrepared}),dt("Service prepared")})}initialize(t){return B(this,null,function*(){return this._initProcess||(this._initProcess=this.doInitialize(t),this._initProcess.catch(()=>{this._initProcess=null})),this._initProcess})}doInitialize(t){return B(this,null,function*(){var r,n;this.isPrepared||(this.isAutoPrepare=!0,yield this.prepare()),dt("Initializing the service");const{scenario:o,license:i}=yield this.sendMessage({target:cr.custom,method:Or.initialize,preMain:!0,request:{systemInfo:{userID:w7(F4),hostName:(r=document.location)===null||r===void 0?void 0:r.origin,license:t==null?void 0:t.license}}});return this.initData={scenario:o,license:i},this.isInitialized=!0,(n=this._initializeListener)===null||n===void 0||n.call(this,{isInitialized:this.isInitialized}),dt("Service initialized: ".concat(JSON.stringify({scenario:o,license:i}))),this.initData})}doProcess(t,r,n){return B(this,null,function*(){var o,i;dt("Process method ".concat(t," started")),this.isProcessing=!0,(o=this._processingListener)===null||o===void 0||o.call(this,{isProcessing:this.isProcessing});const a=yield this.sendMessage({target:cr.custom,method:t,preMain:!0,request:r,data:n}),l=new xc(a);return this.isProcessing=!1,(i=this._processingListener)===null||i===void 0||i.call(this,{isProcessing:this.isProcessing}),dt("Process method ".concat(t," finished")),l})}processImageBase64(t,r){return B(this,null,function*(){return this.doProcess(Or.processImage,this.createProcessImageRequest(t,r))})}process(t,r){return B(this,null,function*(){var n;const o=yield this.doProcess(Or.process,r||this.recognizerProcessParam,t);return(n=this.recognizeListener)===null||n===void 0||n.call(this,o),o})}processImage(t,r){return B(this,null,function*(){return this.doProcess(Or.processImage,r||this.imageProcessParam,t)})}startNewPage(){return B(this,null,function*(){dt("Starting new page"),yield this.sendMessage({target:cr.custom,method:Or.startNewPage,preMain:!0})})}startNewDocument(t){return B(this,null,function*(){return dt("Starting new document"),yield this.sendMessage({target:cr.custom,method:Or.startNewDocument,preMain:!0,request:is(is({},this.recognizerProcessParam),{},{metadata:t})})})}createBackendTransaction(t){return B(this,null,function*(){return dt("Create backend transaction"),yield this.sendMessage({target:cr.custom,method:Or.createBackendTransaction,preMain:!0,request:is(is({},this.recognizerProcessParam),{},{metadata:t})})})}finalizePackage(){return B(this,null,function*(){var t;dt("Finalize package");const r=yield this.sendMessage({target:cr.custom,method:Or.finalizePackage,preMain:!0});return(t=this.onFinalize)===null||t===void 0||t.call(this,r),r})}addDataToPackage(t,r){return B(this,null,function*(){dt("Add data to package"),yield this.sendMessage({target:cr.custom,method:Or.addDataToPackage,request:r,preMain:!0,data:t}),dt("Data added to package")})}shutdown(){dt("Shutdown service"),this._worker&&(this._worker.terminate(),dt("Worker terminated")),this.isPrepared=!1,this.isInitialized=!1,this.isProcessing=!1,this._initProcess=null}}function dr(e,t,r){return(t=sie(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sie(e){var t=lie(e,"string");return typeof t=="symbol"?t:t+""}function lie(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class cie{constructor(t){dr(this,"_streamData",null),dr(this,"_documentReaderService",new sT),dr(this,"_canvas",document.createElement("canvas")),dr(this,"_cameraInfo",null),dr(this,"_sortedDevices",null),dr(this,"_devices",null),dr(this,"_videoEventListener",null),dr(this,"_frameListener",null),dr(this,"_pageIdx",0),dr(this,"_streamParam",{cameraMode:Kt.environment,preferredCameraId:"",resolution:Cn.HD}),dr(this,"isProcessing",!1),dr(this,"isInitialized",!1),dr(this,"videoElement",null),this.videoElement=t||null,this._documentReaderService.recognizerProcessParam=YV,this._documentReaderService.imageProcessParam=KV}get recognizeListener(){return this._documentReaderService.recognizeListener}set recognizeListener(t){this._documentReaderService.recognizeListener=t}get streamParam(){return this._streamParam}set streamParam(t){this._streamParam=Ht(this._streamParam,t)}get recognizerProcessParam(){return this._documentReaderService.recognizerProcessParam}set recognizerProcessParam(t){this._documentReaderService.recognizerProcessParam=Ht(this._documentReaderService.recognizerProcessParam,t)}get imageProcessParam(){return this._documentReaderService.imageProcessParam}set imageProcessParam(t){this._documentReaderService.imageProcessParam=Ht(this._documentReaderService.imageProcessParam,t)}get workerPath(){return this._documentReaderService.workerPath}set workerPath(t){this._documentReaderService.workerPath=t}startStream(){return new Promise((t,r)=>{B(this,null,function*(){try{if(this._devices||(this._devices=yield $7()),this._sortedDevices||(this._sortedDevices=yield L7(this._devices),this._devices.isCameraAllowed=!0),this._cameraInfo=b7(this._streamParam.cameraMode,this._sortedDevices,this._streamParam.preferredCameraId),this._streamData=yield new Promise((o,i)=>{B(this,null,function*(){yield P7(I7?w4:0);try{if(!this._cameraInfo)return;const u=yield M7({width:this._streamParam.resolution.width||Cn.HD.width,height:this._streamParam.resolution.height||Cn.HD.height},this._cameraInfo,this._streamParam.preferredCameraId);o(u)}catch(u){i(u)}})}),this._cameraInfo=this._streamData.camera,this._streamData.stream&&this.videoElement)this.videoElement.srcObject=this._streamData.stream,this._videoEventListener=()=>{this.videoElement&&(this._canvas.width=this.videoElement.videoWidth,this._canvas.height=this.videoElement.videoHeight,t())},this.videoElement.addEventListener("loadeddata",this._videoEventListener);else{const o=x4[this._streamData.status]||we.CAMERA_UNKNOWN_ERROR;r(new Oe(o))}}catch(o){if(o instanceof Error&&o.name===M4)return r(new Oe(we.CAMERA_PERMISSION_DENIED,o));r(new Oe(we.CAMERA_UNKNOWN_ERROR,o))}})})}stopStream(){var t;this._videoEventListener&&this.videoElement&&(this.videoElement.removeEventListener("play",this._videoEventListener),this._videoEventListener=null),(t=this._streamData)!==null&&t!==void 0&&t.stream&&(K2(this._streamData.stream),this._streamData=null)}startRecognizeProcess(){return B(this,null,function*(){for(this.isProcessing=!0;this.isProcessing;){if(!this.videoElement)return;const{imageData:t}=yd(this.videoElement,gi.UINT),r=yield this._documentReaderService.process(t);this._frameListener?this._frameListener(r):this.stopRecognizeProcess()}})}stopRecognizeProcess(){this.isProcessing=!1}startNewPage(){return B(this,null,function*(){this._pageIdx++,yield this._documentReaderService.startNewPage()})}startNewDocument(){return B(this,null,function*(){yield this._documentReaderService.startNewDocument()})}switchCamera(){return B(this,null,function*(){this._cameraInfo&&(this.stopRecognizeProcess(),this.stopStream(),this._sortedDevices&&(this._streamParam.preferredCameraId=q2(this._sortedDevices,this._cameraInfo.deviceId),yield this.startStream(),yield this.startRecognizeProcess()))})}startRecognition(t){return B(this,null,function*(){return yield this.startNewDocument(),this._streamData||(yield this.startStream()),new Promise(r=>{this._frameListener=n=>{const o=eA(n,this._pageIdx,this._documentReaderService.recognizerProcessParam.processParam.multipageProcessing),i=()=>{this.stopRecognition(),r(n)},a=()=>B(this,null,function*(){yield this.startNewPage(),yield this.startRecognizeProcess()});if(o===J.START_NEXT_PAGE&&t)return this.stopRecognizeProcess(),t({data:n,startNextPage:a,finishRecognition:i});if(xh[o])return i();if(!this.isProcessing&&!this._devices&&!this._cameraInfo)return r(null)},this.startRecognizeProcess()})})}processImage(t){return B(this,null,function*(){const r=yield J7(t,y4,N4),n=yield Promise.all(r);return n.reduce((i,a)=>i+a.data.byteLength,0)>O4?Promise.reject(new Oe(we.FILE_SIZE)):yield this._documentReaderService.processImage(n)})}stopRecognition(){this._pageIdx=0,this._cameraInfo=null,this._devices=null,this._sortedDevices=null,this.stopRecognizeProcess(),this.stopStream()}initialize(t){return B(this,null,function*(){const r=yield this._documentReaderService.initialize({license:t==null?void 0:t.license});return this.isInitialized=this._documentReaderService.isInitialized,r})}shutdown(){this.isProcessing=!1,this.isInitialized=!1,this._documentReaderService.shutdown()}}function lT(e,t){return function(){return e.apply(t,arguments)}}const{toString:uie}=Object.prototype,{getPrototypeOf:VE}=Object,Xd=(e=>t=>{const r=uie.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),nn=e=>(e=e.toLowerCase(),t=>Xd(t)===e),Qd=e=>t=>typeof t===e,{isArray:as}=Array,_c=Qd("undefined");function fie(e){return e!==null&&!_c(e)&&e.constructor!==null&&!_c(e.constructor)&&_r(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const cT=nn("ArrayBuffer");function die(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&cT(e.buffer),t}const _ie=Qd("string"),_r=Qd("function"),uT=Qd("number"),Jd=e=>e!==null&&typeof e=="object",pie=e=>e===!0||e===!1,e_=e=>{if(Xd(e)!=="object")return!1;const t=VE(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},mie=nn("Date"),hie=nn("File"),Eie=nn("Blob"),Cie=nn("FileList"),Sie=e=>Jd(e)&&_r(e.pipe),vie=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||_r(e.append)&&((t=Xd(e))==="formdata"||t==="object"&&_r(e.toString)&&e.toString()==="[object FormData]"))},gie=nn("URLSearchParams"),[Iie,Die,Rie,Aie]=["ReadableStream","Request","Response","Headers"].map(nn),Tie=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function pc(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e=="undefined")return;let n,o;if(typeof e!="object"&&(e=[e]),as(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let l;for(n=0;n<a;n++)l=i[n],t.call(null,e[l],l,e)}}function fT(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Li=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,dT=e=>!_c(e)&&e!==Li;function UE(){const{caseless:e}=dT(this)&&this||{},t={},r=(n,o)=>{const i=e&&fT(t,o)||o;e_(t[i])&&e_(n)?t[i]=UE(t[i],n):e_(n)?t[i]=UE({},n):as(n)?t[i]=n.slice():t[i]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&pc(arguments[n],r);return t}const Oie=(e,t,r,{allOwnKeys:n}={})=>(pc(t,(o,i)=>{r&&_r(o)?e[i]=lT(o,r):e[i]=o},{allOwnKeys:n}),e),yie=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Nie=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},$ie=(e,t,r,n)=>{let o,i,a;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!n||n(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=r!==!1&&VE(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Lie=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},bie=e=>{if(!e)return null;if(as(e))return e;let t=e.length;if(!uT(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Mie=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&VE(Uint8Array)),Pie=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},wie=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},kie=nn("HTMLFormElement"),xie=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),_T=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Fie=nn("RegExp"),pT=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};pc(r,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(n[i]=a||o)}),Object.defineProperties(e,n)},Hie=e=>{pT(e,(t,r)=>{if(_r(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(_r(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Vie=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return as(e)?n(e):n(String(e).split(t)),r},Uie=()=>{},jie=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,jE="abcdefghijklmnopqrstuvwxyz",mT="0123456789",hT={DIGIT:mT,ALPHA:jE,ALPHA_DIGIT:jE+jE.toUpperCase()+mT},Bie=(e=16,t=hT.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Gie(e){return!!(e&&_r(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const zie=e=>{const t=new Array(10),r=(n,o)=>{if(Jd(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const i=as(n)?[]:{};return pc(n,(a,l)=>{const u=r(a,o+1);!_c(u)&&(i[l]=u)}),t[o]=void 0,i}}return n};return r(e,0)},Zie=nn("AsyncFunction"),Wie=e=>e&&(Jd(e)||_r(e))&&_r(e.then)&&_r(e.catch),ET=((e,t)=>e?setImmediate:t?((r,n)=>(Li.addEventListener("message",({source:o,data:i})=>{o===Li&&i===r&&n.length&&n.shift()()},!1),o=>{n.push(o),Li.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",_r(Li.postMessage)),Yie=typeof queueMicrotask!="undefined"?queueMicrotask.bind(Li):typeof process!="undefined"&&process.nextTick||ET,P={isArray:as,isArrayBuffer:cT,isBuffer:fie,isFormData:vie,isArrayBufferView:die,isString:_ie,isNumber:uT,isBoolean:pie,isObject:Jd,isPlainObject:e_,isReadableStream:Iie,isRequest:Die,isResponse:Rie,isHeaders:Aie,isUndefined:_c,isDate:mie,isFile:hie,isBlob:Eie,isRegExp:Fie,isFunction:_r,isStream:Sie,isURLSearchParams:gie,isTypedArray:Mie,isFileList:Cie,forEach:pc,merge:UE,extend:Oie,trim:Tie,stripBOM:yie,inherits:Nie,toFlatObject:$ie,kindOf:Xd,kindOfTest:nn,endsWith:Lie,toArray:bie,forEachEntry:Pie,matchAll:wie,isHTMLForm:kie,hasOwnProperty:_T,hasOwnProp:_T,reduceDescriptors:pT,freezeMethods:Hie,toObjectSet:Vie,toCamelCase:xie,noop:Uie,toFiniteNumber:jie,findKey:fT,global:Li,isContextDefined:dT,ALPHABET:hT,generateString:Bie,isSpecCompliantForm:Gie,toJSONObject:zie,isAsyncFn:Zie,isThenable:Wie,setImmediate:ET,asap:Yie};function oe(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}P.inherits(oe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.status}}});const CT=oe.prototype,ST={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ST[e]={value:e}}),Object.defineProperties(oe,ST),Object.defineProperty(CT,"isAxiosError",{value:!0}),oe.from=(e,t,r,n,o,i)=>{const a=Object.create(CT);return P.toFlatObject(e,a,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),oe.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const Kie=null;function BE(e){return P.isPlainObject(e)||P.isArray(e)}function vT(e){return P.endsWith(e,"[]")?e.slice(0,-2):e}function gT(e,t,r){return e?e.concat(t).map(function(o,i){return o=vT(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function qie(e){return P.isArray(e)&&!e.some(BE)}const Xie=P.toFlatObject(P,{},null,function(t){return/^is[A-Z]/.test(t)});function t_(e,t,r){if(!P.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=P.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,v){return!P.isUndefined(v[S])});const n=r.metaTokens,o=r.visitor||d,i=r.dots,a=r.indexes,u=(r.Blob||typeof Blob!="undefined"&&Blob)&&P.isSpecCompliantForm(t);if(!P.isFunction(o))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(P.isDate(m))return m.toISOString();if(!u&&P.isBlob(m))throw new oe("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(m)||P.isTypedArray(m)?u&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,S,v){let g=m;if(m&&!v&&typeof m=="object"){if(P.endsWith(S,"{}"))S=n?S:S.slice(0,-2),m=JSON.stringify(m);else if(P.isArray(m)&&qie(m)||(P.isFileList(m)||P.endsWith(S,"[]"))&&(g=P.toArray(m)))return S=vT(S),g.forEach(function(D,A){!(P.isUndefined(D)||D===null)&&t.append(a===!0?gT([S],A,i):a===null?S:S+"[]",c(D))}),!1}return BE(m)?!0:(t.append(gT(v,S,i),c(m)),!1)}const _=[],p=Object.assign(Xie,{defaultVisitor:d,convertValue:c,isVisitable:BE});function h(m,S){if(!P.isUndefined(m)){if(_.indexOf(m)!==-1)throw Error("Circular reference detected in "+S.join("."));_.push(m),P.forEach(m,function(g,I){(!(P.isUndefined(g)||g===null)&&o.call(t,g,P.isString(I)?I.trim():I,S,p))===!0&&h(g,S?S.concat(I):[I])}),_.pop()}}if(!P.isObject(e))throw new TypeError("data must be an object");return h(e),t}function IT(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function GE(e,t){this._pairs=[],e&&t_(e,this,t)}const DT=GE.prototype;DT.append=function(t,r){this._pairs.push([t,r])},DT.toString=function(t){const r=t?function(n){return t.call(this,n,IT)}:IT;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Qie(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function RT(e,t,r){if(!t)return e;const n=r&&r.encode||Qie,o=r&&r.serialize;let i;if(o?i=o(t,r):i=P.isURLSearchParams(t)?t.toString():new GE(t,r).toString(n),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class AT{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){P.forEach(this.handlers,function(n){n!==null&&t(n)})}}const TT={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Jie={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams!="undefined"?URLSearchParams:GE,FormData:typeof FormData!="undefined"?FormData:null,Blob:typeof Blob!="undefined"?Blob:null},protocols:["http","https","file","blob","url","data"]},zE=typeof window!="undefined"&&typeof document!="undefined",ZE=typeof navigator=="object"&&navigator||void 0,eae=zE&&(!ZE||["ReactNative","NativeScript","NS"].indexOf(ZE.product)<0),tae=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",rae=zE&&window.location.href||"http://localhost",Xt=K(K({},Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:zE,hasStandardBrowserEnv:eae,hasStandardBrowserWebWorkerEnv:tae,navigator:ZE,origin:rae},Symbol.toStringTag,{value:"Module"}))),Jie);function nae(e,t){return t_(e,new Xt.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,i){return Xt.isNode&&P.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function oae(e){return P.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function iae(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function OT(e){function t(r,n,o,i){let a=r[i++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),u=i>=r.length;return a=!a&&P.isArray(o)?o.length:a,u?(P.hasOwnProp(o,a)?o[a]=[o[a],n]:o[a]=n,!l):((!o[a]||!P.isObject(o[a]))&&(o[a]=[]),t(r,n,o[a],i)&&P.isArray(o[a])&&(o[a]=iae(o[a])),!l)}if(P.isFormData(e)&&P.isFunction(e.entries)){const r={};return P.forEachEntry(e,(n,o)=>{t(oae(n),o,r,0)}),r}return null}function aae(e,t,r){if(P.isString(e))try{return(t||JSON.parse)(e),P.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}const mc={transitional:TT,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=P.isObject(t);if(i&&P.isHTMLForm(t)&&(t=new FormData(t)),P.isFormData(t))return o?JSON.stringify(OT(t)):t;if(P.isArrayBuffer(t)||P.isBuffer(t)||P.isStream(t)||P.isFile(t)||P.isBlob(t)||P.isReadableStream(t))return t;if(P.isArrayBufferView(t))return t.buffer;if(P.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return nae(t,this.formSerializer).toString();if((l=P.isFileList(t))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return t_(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),aae(t)):t}],transformResponse:[function(t){const r=this.transitional||mc.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(P.isResponse(t)||P.isReadableStream(t))return t;if(t&&P.isString(t)&&(n&&!this.responseType||o)){const a=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?oe.from(l,oe.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xt.classes.FormData,Blob:Xt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],e=>{mc.headers[e]={}});const sae=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),lae=e=>{const t={};let r,n,o;return e&&e.split(`
|
|
72
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function ME(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Yd=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=rs(a),u=l.next();!u.done;u=l.next()){var c=u.value;c.remove(this)}}catch(S){t={error:S}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}else a.remove(this);var d=this.initialTeardown;if(at(d))try{d()}catch(S){i=S instanceof bE?S.errors:[S]}var _=this._finalizers;if(_){this._finalizers=null;try{for(var p=rs(_),h=p.next();!h.done;h=p.next()){var m=h.value;try{k6(m)}catch(S){i=i!=null?i:[],S instanceof bE?i=LE(LE([],$E(i)),$E(S.errors)):i.push(S)}}}catch(S){n={error:S}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}}if(i)throw new bE(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)k6(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&ME(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&ME(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),P6=Yd.EMPTY;function w6(e){return e instanceof Yd||e&&"closed"in e&&at(e.remove)&&at(e.add)&&at(e.unsubscribe)}function k6(e){at(e)?e():e.unsubscribe()}var x6={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},F6={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,LE([e,t],$E(r)))},clearTimeout:function(e){var t=F6.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function H6(e){F6.setTimeout(function(){throw e})}function V6(){}function Kd(e){e()}var PE=function(e){uc(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,w6(r)&&r.add(n)):n.destination=Aoe,n}return t.create=function(r,n,o){return new kE(r,n,o)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Yd),Ioe=Function.prototype.bind;function wE(e,t){return Ioe.call(e,t)}var Doe=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){qd(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){qd(n)}else qd(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){qd(r)}},e}(),kE=function(e){uc(t,e);function t(r,n,o){var i=e.call(this)||this,a;if(at(r)||!r)a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:o!=null?o:void 0};else{var l;i&&x6.useDeprecatedNextContext?(l=Object.create(r),l.unsubscribe=function(){return i.unsubscribe()},a={next:r.next&&wE(r.next,l),error:r.error&&wE(r.error,l),complete:r.complete&&wE(r.complete,l)}):a=r}return i.destination=new Doe(a),i}return t}(PE);function qd(e){H6(e)}function Roe(e){throw e}var Aoe={closed:!0,next:V6,error:Roe,complete:V6},xE=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Toe(e){return e}function Ooe(e){return e.length===0?Toe:e.length===1?e[0]:function(r){return e.reduce(function(n,o){return o(n)},r)}}var rn=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var o=this,i=Noe(t)?t:new kE(t,r,n);return Kd(function(){var a=o,l=a.operator,u=a.source;i.add(l?l.call(i,u):u?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=U6(r),new r(function(o,i){var a=new kE({next:function(l){try{t(l)}catch(u){i(u),a.unsubscribe()}},error:i,complete:o});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[xE]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Ooe(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=U6(t),new t(function(n,o){var i;r.subscribe(function(a){return i=a},function(a){return o(a)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function U6(e){var t;return(t=e!=null?e:x6.Promise)!==null&&t!==void 0?t:Promise}function yoe(e){return e&&at(e.next)&&at(e.error)&&at(e.complete)}function Noe(e){return e&&e instanceof PE||yoe(e)&&w6(e)}function $oe(e){return at(e==null?void 0:e.lift)}function fc(e){return function(t){if($oe(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function dc(e,t,r,n,o){return new Loe(e,t,r,n,o)}var Loe=function(e){uc(t,e);function t(r,n,o,i,a,l){var u=e.call(this,r)||this;return u.onFinalize=a,u.shouldUnsubscribe=l,u._next=n?function(c){try{n(c)}catch(d){r.error(d)}}:e.prototype._next,u._error=i?function(c){try{i(c)}catch(d){r.error(d)}finally{this.unsubscribe()}}:e.prototype._error,u._complete=o?function(){try{o()}catch(c){r.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,u}return t.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},t}(PE),boe=M6(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),j6=function(e){uc(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new B6(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new boe},t.prototype.next=function(r){var n=this;Kd(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=rs(n.currentObservers),l=a.next();!l.done;l=a.next()){var u=l.value;u.next(r)}}catch(c){o={error:c}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}}})},t.prototype.error=function(r){var n=this;Kd(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var o=n.observers;o.length;)o.shift().error(r)}})},t.prototype.complete=function(){var r=this;Kd(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,a=o.isStopped,l=o.observers;return i||a?P6:(this.currentObservers=null,l.push(r),new Yd(function(){n.currentObservers=null,ME(l,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,a=n.isStopped;o?r.error(i):a&&r.complete()},t.prototype.asObservable=function(){var r=new rn;return r.source=this,r},t.create=function(r,n){return new B6(r,n)},t}(rn),B6=function(e){uc(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:P6},t}(j6),G6=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function z6(e){return at(e==null?void 0:e.then)}function Z6(e){return at(e[xE])}function W6(e){return Symbol.asyncIterator&&at(e==null?void 0:e[Symbol.asyncIterator])}function Y6(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Moe(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var K6=Moe();function q6(e){return at(e==null?void 0:e[K6])}function X6(e){return voe(this,arguments,function(){var r,n,o,i;return b6(this,function(a){switch(a.label){case 0:r=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,ns(r.read())];case 3:return n=a.sent(),o=n.value,i=n.done,i?[4,ns(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,ns(o)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function Q6(e){return at(e==null?void 0:e.getReader)}function os(e){if(e instanceof rn)return e;if(e!=null){if(Z6(e))return Poe(e);if(G6(e))return woe(e);if(z6(e))return koe(e);if(W6(e))return J6(e);if(q6(e))return xoe(e);if(Q6(e))return Foe(e)}throw Y6(e)}function Poe(e){return new rn(function(t){var r=e[xE]();if(at(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function woe(e){return new rn(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function koe(e){return new rn(function(t){e.then(function(r){t.closed||(t.next(r),t.complete())},function(r){return t.error(r)}).then(null,H6)})}function xoe(e){return new rn(function(t){var r,n;try{for(var o=rs(e),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(l){r={error:l}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.complete()})}function J6(e){return new rn(function(t){Hoe(e,t).catch(function(r){return t.error(r)})})}function Foe(e){return J6(X6(e))}function Hoe(e,t){var r,n,o,i;return Soe(this,void 0,void 0,function(){var a,l;return b6(this,function(u){switch(u.label){case 0:u.trys.push([0,5,6,11]),r=goe(e),u.label=1;case 1:return[4,r.next()];case 2:if(n=u.sent(),!!n.done)return[3,4];if(a=n.value,t.next(a),t.closed)return[2];u.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return l=u.sent(),o={error:l},[3,11];case 6:return u.trys.push([6,,9,10]),n&&!n.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:u.sent(),u.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function $i(e,t,r,n,o){n===void 0&&(n=0),o===void 0&&(o=!1);var i=t.schedule(function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(i),!o)return i}function eT(e,t){return t===void 0&&(t=0),fc(function(r,n){r.subscribe(dc(n,function(o){return $i(n,e,function(){return n.next(o)},t)},function(){return $i(n,e,function(){return n.complete()},t)},function(o){return $i(n,e,function(){return n.error(o)},t)}))})}function tT(e,t){return t===void 0&&(t=0),fc(function(r,n){n.add(e.schedule(function(){return r.subscribe(n)},t))})}function Voe(e,t){return os(e).pipe(tT(t),eT(t))}function Uoe(e,t){return os(e).pipe(tT(t),eT(t))}function joe(e,t){return new rn(function(r){var n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())})})}function Boe(e,t){return new rn(function(r){var n;return $i(r,t,function(){n=e[K6](),$i(r,t,function(){var o,i,a;try{o=n.next(),i=o.value,a=o.done}catch(l){r.error(l);return}a?r.complete():r.next(i)},0,!0)}),function(){return at(n==null?void 0:n.return)&&n.return()}})}function rT(e,t){if(!e)throw new Error("Iterable cannot be null");return new rn(function(r){$i(r,t,function(){var n=e[Symbol.asyncIterator]();$i(r,t,function(){n.next().then(function(o){o.done?r.complete():r.next(o.value)})},0,!0)})})}function Goe(e,t){return rT(X6(e),t)}function zoe(e,t){if(e!=null){if(Z6(e))return Voe(e,t);if(G6(e))return joe(e,t);if(z6(e))return Uoe(e,t);if(W6(e))return rT(e,t);if(q6(e))return Boe(e,t);if(Q6(e))return Goe(e,t)}throw Y6(e)}function nT(e,t){return t?zoe(e,t):os(e)}function Zoe(e,t){return fc(function(r,n){var o=0;r.subscribe(dc(n,function(i){n.next(e.call(t,i,o++))}))})}function Woe(e,t,r,n,o,i,a,l){var u=[],c=0,d=0,_=!1,p=function(){_&&!u.length&&!c&&t.complete()},h=function(S){return c<n?m(S):u.push(S)},m=function(S){c++;var v=!1;os(r(S,d++)).subscribe(dc(t,function(g){t.next(g)},function(){v=!0},void 0,function(){if(v)try{c--;for(var g=function(){var I=u.shift();a||m(I)};u.length&&c<n;)g();p()}catch(I){t.error(I)}}))};return e.subscribe(dc(t,h,function(){_=!0,p()})),function(){}}function FE(e,t,r){return r===void 0&&(r=1/0),at(t)?FE(function(n,o){return Zoe(function(i,a){return t(n,i,o,a)})(os(e(n,o)))},r):(typeof t=="number"&&(r=t),fc(function(n,o){return Woe(n,o,e,r)}))}function oT(e){return fc(function(t,r){var n=null,o=!1,i;n=t.subscribe(dc(r,void 0,void 0,function(a){i=os(e(a,oT(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function Yoe(e,t){return at(t)?FE(e,t,1):FE(e,1)}function Koe(e,t,r){return(t=qoe(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qoe(e){var t=Xoe(e,"string");return typeof t=="symbol"?t:t+""}function Xoe(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class Qoe{constructor(){Koe(this,"taskSubject",new j6),this.taskSubject.pipe(Yoe(t=>nT(t()).pipe(oT(r=>nT(Promise.reject(r)))))).subscribe()}addTask(t){return new Promise((r,n)=>{this.taskSubject.next(()=>B(this,null,function*(){try{const o=yield t();r(o)}catch(o){n(o)}}))})}}const Joe="text/plain",eie="us-ascii",HE=(e,t)=>t.some(r=>r instanceof RegExp?r.test(e):r===e),tie=new Set(["https:","http:","file:"]),rie=e=>{try{const{protocol:t}=new URL(e);return t.endsWith(":")&&!t.includes(".")&&!tie.has(t)}catch(t){return!1}},nie=(e,{stripHash:t})=>{var _,p;const r=new RegExp("^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$").exec(e);if(!r)throw new Error(`Invalid URL: ${e}`);let{type:n,data:o,hash:i}=r.groups;const a=n.split(";");i=t?"":i;let l=!1;a[a.length-1]==="base64"&&(a.pop(),l=!0);const u=(p=(_=a.shift())==null?void 0:_.toLowerCase())!=null?p:"",d=[...a.map(h=>{let[m,S=""]=h.split("=").map(v=>v.trim());return m==="charset"&&(S=S.toLowerCase(),S===eie)?"":`${m}${S?`=${S}`:""}`}).filter(Boolean)];return l&&d.push("base64"),(d.length>0||u&&u!==Joe)&&d.unshift(u),`data:${d.join(";")},${l?o.trim():o}${i?`#${i}`:""}`};function oie(e,t){if(t=K({defaultProtocol:"http",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,removeExplicitPort:!1,sortQueryParameters:!0},t),typeof t.defaultProtocol=="string"&&!t.defaultProtocol.endsWith(":")&&(t.defaultProtocol=`${t.defaultProtocol}:`),e=e.trim(),/^data:/i.test(e))return nie(e,t);if(rie(e))return e;const r=e.startsWith("//");!r&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));const o=new URL(e);if(t.forceHttp&&t.forceHttps)throw new Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&o.protocol==="https:"&&(o.protocol="http:"),t.forceHttps&&o.protocol==="http:"&&(o.protocol="https:"),t.stripAuthentication&&(o.username="",o.password=""),t.stripHash?o.hash="":t.stripTextFragment&&(o.hash=o.hash.replace(/#?:~:text.*?$/i,"")),o.pathname){const a=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g;let l=0,u="";for(;;){const d=a.exec(o.pathname);if(!d)break;const _=d[0],p=d.index,h=o.pathname.slice(l,p);u+=h.replace(/\/{2,}/g,"/"),u+=_,l=p+_.length}const c=o.pathname.slice(l,o.pathname.length);u+=c.replace(/\/{2,}/g,"/"),o.pathname=u}if(o.pathname)try{o.pathname=decodeURI(o.pathname)}catch(a){}if(t.removeDirectoryIndex===!0&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let a=o.pathname.split("/");const l=a[a.length-1];HE(l,t.removeDirectoryIndex)&&(a=a.slice(0,-1),o.pathname=a.slice(1).join("/")+"/")}if(o.hostname&&(o.hostname=o.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(o.hostname)&&(o.hostname=o.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(const a of[...o.searchParams.keys()])HE(a,t.removeQueryParameters)&&o.searchParams.delete(a);if(!Array.isArray(t.keepQueryParameters)&&t.removeQueryParameters===!0&&(o.search=""),Array.isArray(t.keepQueryParameters)&&t.keepQueryParameters.length>0)for(const a of[...o.searchParams.keys()])HE(a,t.keepQueryParameters)||o.searchParams.delete(a);if(t.sortQueryParameters){o.searchParams.sort();try{o.search=decodeURIComponent(o.search)}catch(a){}}t.removeTrailingSlash&&(o.pathname=o.pathname.replace(/\/$/,"")),t.removeExplicitPort&&o.port&&(o.port="");const i=e;return e=o.toString(),!t.removeSingleSlash&&o.pathname==="/"&&!i.endsWith("/")&&o.hash===""&&(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||o.pathname==="/")&&o.hash===""&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),r&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}function iT(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function is(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?iT(Object(r),!0).forEach(function(n){ft(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):iT(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ft(e,t,r){return(t=iie(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iie(e){var t=aie(e,"string");return typeof t=="symbol"?t:t+""}function aie(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const aT=Nt.create("wasm"),dt=Nt.create("main");class sT{constructor(){ft(this,"_worker",null),ft(this,"_prepareListener",null),ft(this,"_initializeListener",null),ft(this,"_processingListener",null),ft(this,"_queueService",new Qoe),ft(this,"_initProcess",null),ft(this,"onFinalize",null),ft(this,"isAutoPrepare",!1),ft(this,"isPrepared",!1),ft(this,"isInitialized",!1),ft(this,"isProcessing",!1),ft(this,"initData",null),ft(this,"recognizerProcessParam",{processParam:{}}),ft(this,"imageProcessParam",{processParam:{}}),ft(this,"recognizeListener",null),ft(this,"workerPath","https://wasm.regulaforensics.com/document/nightly/7.5/2cdfb8a5-1fc2734f2"),ft(this,"version",{component:"7.5.2000-nightly".trim()})}get processingListener(){return this._processingListener}set processingListener(t){this._processingListener=t,t&&t({isProcessing:this.isProcessing})}get prepareListener(){return this._prepareListener}set prepareListener(t){this._prepareListener=t,t&&t({isPrepared:this.isPrepared})}get initializeListener(){return this._initializeListener}set initializeListener(t){this._initializeListener=t,t&&t({isInitialized:this.isInitialized})}createProcessImageRequest(t,r){const n=t.map((o,i)=>({data:o,light:6,pageIdx:i}));return is(is({},r),{},{imagesList:n})}sendMessage(t){return this._queueService.addTask(()=>new Promise((r,n)=>{if(!this._worker)return dt("Worker is missing)"),n("Worker is missing");this._worker.onmessage=o=>{if(o.data.target===cr.custom){const{method:i,response:a,code:l}=o.data.data,u=a&&"reject_message"in a?a.reject_message:"";if(l===kh.ok||l===kh.badLicense&&!u)dt("".concat("Method ".concat(i,": { code: ").concat(l," } "))),r(a);else{const c=zV[l]||l,d="Method ".concat(i,": ").concat(c);dt(d),n(d)}}o.data.target===cr.stdout&&aT(JSON.stringify(o.data.content)),o.data.target===cr.stderr&&(aT(JSON.stringify(o.data.content)),n(o.data.content))},dt("Send message to worker: { target: ".concat(t.target,", method: ").concat(t.method," }")),this._worker.postMessage(t)}))}prepare(){return B(this,null,function*(){var t,r;dt("Preparing the service");const n="ProcMgr.worker.js",o=this.workerPath==="https://wasm.regulaforensics.com/document/nightly/7.5/2cdfb8a5-1fc2734f2",i=oie(this.workerPath);{let l=yield(yield fetch("".concat(i,"/").concat(n))).text();o||(l=pY(l,i));const u=new Blob([l],{type:"text/plain"}),c=URL.createObjectURL(u);this._worker=new Worker(c)}(t=this._worker)===null||t===void 0||t.postMessage({target:cr.gl,method:Or.prepare,preMain:!0,op:"setPrefetched"}),yield this.sendMessage({target:cr.init,method:Or.prepare,preMain:!0,URL:document.URL}),this.isPrepared=!0,(r=this._prepareListener)===null||r===void 0||r.call(this,{isPrepared:this.isPrepared}),dt("Service prepared")})}initialize(t){return B(this,null,function*(){return this._initProcess||(this._initProcess=this.doInitialize(t),this._initProcess.catch(()=>{this._initProcess=null})),this._initProcess})}doInitialize(t){return B(this,null,function*(){var r,n;this.isPrepared||(this.isAutoPrepare=!0,yield this.prepare()),dt("Initializing the service");const{scenario:o,license:i}=yield this.sendMessage({target:cr.custom,method:Or.initialize,preMain:!0,request:{systemInfo:{userID:w7(F4),hostName:(r=document.location)===null||r===void 0?void 0:r.origin,license:t==null?void 0:t.license}}});return this.initData={scenario:o,license:i},this.isInitialized=!0,(n=this._initializeListener)===null||n===void 0||n.call(this,{isInitialized:this.isInitialized}),dt("Service initialized: ".concat(JSON.stringify({scenario:o,license:i}))),this.initData})}doProcess(t,r,n){return B(this,null,function*(){var o,i;dt("Process method ".concat(t," started")),this.isProcessing=!0,(o=this._processingListener)===null||o===void 0||o.call(this,{isProcessing:this.isProcessing});const a=yield this.sendMessage({target:cr.custom,method:t,preMain:!0,request:r,data:n}),l=new xc(a);return this.isProcessing=!1,(i=this._processingListener)===null||i===void 0||i.call(this,{isProcessing:this.isProcessing}),dt("Process method ".concat(t," finished")),l})}processImageBase64(t,r){return B(this,null,function*(){return this.doProcess(Or.processImage,this.createProcessImageRequest(t,r))})}process(t,r){return B(this,null,function*(){var n;const o=yield this.doProcess(Or.process,r||this.recognizerProcessParam,t);return(n=this.recognizeListener)===null||n===void 0||n.call(this,o),o})}processImage(t,r){return B(this,null,function*(){return this.doProcess(Or.processImage,r||this.imageProcessParam,t)})}startNewPage(){return B(this,null,function*(){dt("Starting new page"),yield this.sendMessage({target:cr.custom,method:Or.startNewPage,preMain:!0})})}startNewDocument(t){return B(this,null,function*(){return dt("Starting new document"),yield this.sendMessage({target:cr.custom,method:Or.startNewDocument,preMain:!0,request:is(is({},this.recognizerProcessParam),{},{metadata:t})})})}createBackendTransaction(t){return B(this,null,function*(){return dt("Create backend transaction"),yield this.sendMessage({target:cr.custom,method:Or.createBackendTransaction,preMain:!0,request:is(is({},this.recognizerProcessParam),{},{metadata:t})})})}finalizePackage(){return B(this,null,function*(){var t;dt("Finalize package");const r=yield this.sendMessage({target:cr.custom,method:Or.finalizePackage,preMain:!0});return(t=this.onFinalize)===null||t===void 0||t.call(this,r),r})}addDataToPackage(t,r){return B(this,null,function*(){dt("Add data to package"),yield this.sendMessage({target:cr.custom,method:Or.addDataToPackage,request:r,preMain:!0,data:t}),dt("Data added to package")})}shutdown(){dt("Shutdown service"),this._worker&&(this._worker.terminate(),dt("Worker terminated")),this.isPrepared=!1,this.isInitialized=!1,this.isProcessing=!1,this._initProcess=null}}function dr(e,t,r){return(t=sie(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sie(e){var t=lie(e,"string");return typeof t=="symbol"?t:t+""}function lie(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class cie{constructor(t){dr(this,"_streamData",null),dr(this,"_documentReaderService",new sT),dr(this,"_canvas",document.createElement("canvas")),dr(this,"_cameraInfo",null),dr(this,"_sortedDevices",null),dr(this,"_devices",null),dr(this,"_videoEventListener",null),dr(this,"_frameListener",null),dr(this,"_pageIdx",0),dr(this,"_streamParam",{cameraMode:Kt.environment,preferredCameraId:"",resolution:Cn.HD}),dr(this,"isProcessing",!1),dr(this,"isInitialized",!1),dr(this,"videoElement",null),this.videoElement=t||null,this._documentReaderService.recognizerProcessParam=YV,this._documentReaderService.imageProcessParam=KV}get recognizeListener(){return this._documentReaderService.recognizeListener}set recognizeListener(t){this._documentReaderService.recognizeListener=t}get streamParam(){return this._streamParam}set streamParam(t){this._streamParam=Ht(this._streamParam,t)}get recognizerProcessParam(){return this._documentReaderService.recognizerProcessParam}set recognizerProcessParam(t){this._documentReaderService.recognizerProcessParam=Ht(this._documentReaderService.recognizerProcessParam,t)}get imageProcessParam(){return this._documentReaderService.imageProcessParam}set imageProcessParam(t){this._documentReaderService.imageProcessParam=Ht(this._documentReaderService.imageProcessParam,t)}get workerPath(){return this._documentReaderService.workerPath}set workerPath(t){this._documentReaderService.workerPath=t}startStream(){return new Promise((t,r)=>{B(this,null,function*(){try{if(this._devices||(this._devices=yield $7()),this._sortedDevices||(this._sortedDevices=yield L7(this._devices),this._devices.isCameraAllowed=!0),this._cameraInfo=b7(this._streamParam.cameraMode,this._sortedDevices,this._streamParam.preferredCameraId),this._streamData=yield new Promise((o,i)=>{B(this,null,function*(){yield P7(I7?w4:0);try{if(!this._cameraInfo)return;const u=yield M7({width:this._streamParam.resolution.width||Cn.HD.width,height:this._streamParam.resolution.height||Cn.HD.height},this._cameraInfo,this._streamParam.preferredCameraId);o(u)}catch(u){i(u)}})}),this._cameraInfo=this._streamData.camera,this._streamData.stream&&this.videoElement)this.videoElement.srcObject=this._streamData.stream,this._videoEventListener=()=>{this.videoElement&&(this._canvas.width=this.videoElement.videoWidth,this._canvas.height=this.videoElement.videoHeight,t())},this.videoElement.addEventListener("loadeddata",this._videoEventListener);else{const o=x4[this._streamData.status]||we.CAMERA_UNKNOWN_ERROR;r(new Oe(o))}}catch(o){if(o instanceof Error&&o.name===M4)return r(new Oe(we.CAMERA_PERMISSION_DENIED,o));r(new Oe(we.CAMERA_UNKNOWN_ERROR,o))}})})}stopStream(){var t;this._videoEventListener&&this.videoElement&&(this.videoElement.removeEventListener("play",this._videoEventListener),this._videoEventListener=null),(t=this._streamData)!==null&&t!==void 0&&t.stream&&(K2(this._streamData.stream),this._streamData=null)}startRecognizeProcess(){return B(this,null,function*(){for(this.isProcessing=!0;this.isProcessing;){if(!this.videoElement)return;const{imageData:t}=yd(this.videoElement,gi.UINT),r=yield this._documentReaderService.process(t);this._frameListener?this._frameListener(r):this.stopRecognizeProcess()}})}stopRecognizeProcess(){this.isProcessing=!1}startNewPage(){return B(this,null,function*(){this._pageIdx++,yield this._documentReaderService.startNewPage()})}startNewDocument(){return B(this,null,function*(){yield this._documentReaderService.startNewDocument()})}switchCamera(){return B(this,null,function*(){this._cameraInfo&&(this.stopRecognizeProcess(),this.stopStream(),this._sortedDevices&&(this._streamParam.preferredCameraId=q2(this._sortedDevices,this._cameraInfo.deviceId),yield this.startStream(),yield this.startRecognizeProcess()))})}startRecognition(t){return B(this,null,function*(){return yield this.startNewDocument(),this._streamData||(yield this.startStream()),new Promise(r=>{this._frameListener=n=>{const o=eA(n,this._pageIdx,this._documentReaderService.recognizerProcessParam.processParam.multipageProcessing),i=()=>{this.stopRecognition(),r(n)},a=()=>B(this,null,function*(){yield this.startNewPage(),yield this.startRecognizeProcess()});if(o===J.START_NEXT_PAGE&&t)return this.stopRecognizeProcess(),t({data:n,startNextPage:a,finishRecognition:i});if(xh[o])return i();if(!this.isProcessing&&!this._devices&&!this._cameraInfo)return r(null)},this.startRecognizeProcess()})})}processImage(t){return B(this,null,function*(){const r=yield J7(t,y4,N4),n=yield Promise.all(r);return n.reduce((i,a)=>i+a.data.byteLength,0)>O4?Promise.reject(new Oe(we.FILE_SIZE)):yield this._documentReaderService.processImage(n)})}stopRecognition(){this._pageIdx=0,this._cameraInfo=null,this._devices=null,this._sortedDevices=null,this.stopRecognizeProcess(),this.stopStream()}initialize(t){return B(this,null,function*(){const r=yield this._documentReaderService.initialize({license:t==null?void 0:t.license});return this.isInitialized=this._documentReaderService.isInitialized,r})}shutdown(){this.isProcessing=!1,this.isInitialized=!1,this._documentReaderService.shutdown()}}function lT(e,t){return function(){return e.apply(t,arguments)}}const{toString:uie}=Object.prototype,{getPrototypeOf:VE}=Object,Xd=(e=>t=>{const r=uie.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),nn=e=>(e=e.toLowerCase(),t=>Xd(t)===e),Qd=e=>t=>typeof t===e,{isArray:as}=Array,_c=Qd("undefined");function fie(e){return e!==null&&!_c(e)&&e.constructor!==null&&!_c(e.constructor)&&_r(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const cT=nn("ArrayBuffer");function die(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&cT(e.buffer),t}const _ie=Qd("string"),_r=Qd("function"),uT=Qd("number"),Jd=e=>e!==null&&typeof e=="object",pie=e=>e===!0||e===!1,e_=e=>{if(Xd(e)!=="object")return!1;const t=VE(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},mie=nn("Date"),hie=nn("File"),Eie=nn("Blob"),Cie=nn("FileList"),Sie=e=>Jd(e)&&_r(e.pipe),vie=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||_r(e.append)&&((t=Xd(e))==="formdata"||t==="object"&&_r(e.toString)&&e.toString()==="[object FormData]"))},gie=nn("URLSearchParams"),[Iie,Die,Rie,Aie]=["ReadableStream","Request","Response","Headers"].map(nn),Tie=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function pc(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e=="undefined")return;let n,o;if(typeof e!="object"&&(e=[e]),as(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const i=r?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let l;for(n=0;n<a;n++)l=i[n],t.call(null,e[l],l,e)}}function fT(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Li=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,dT=e=>!_c(e)&&e!==Li;function UE(){const{caseless:e}=dT(this)&&this||{},t={},r=(n,o)=>{const i=e&&fT(t,o)||o;e_(t[i])&&e_(n)?t[i]=UE(t[i],n):e_(n)?t[i]=UE({},n):as(n)?t[i]=n.slice():t[i]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&pc(arguments[n],r);return t}const Oie=(e,t,r,{allOwnKeys:n}={})=>(pc(t,(o,i)=>{r&&_r(o)?e[i]=lT(o,r):e[i]=o},{allOwnKeys:n}),e),yie=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Nie=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},$ie=(e,t,r,n)=>{let o,i,a;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!n||n(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=r!==!1&&VE(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Lie=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},bie=e=>{if(!e)return null;if(as(e))return e;let t=e.length;if(!uT(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Mie=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&VE(Uint8Array)),Pie=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},wie=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},kie=nn("HTMLFormElement"),xie=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),_T=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Fie=nn("RegExp"),pT=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};pc(r,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(n[i]=a||o)}),Object.defineProperties(e,n)},Hie=e=>{pT(e,(t,r)=>{if(_r(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(_r(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Vie=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return as(e)?n(e):n(String(e).split(t)),r},Uie=()=>{},jie=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,jE="abcdefghijklmnopqrstuvwxyz",mT="0123456789",hT={DIGIT:mT,ALPHA:jE,ALPHA_DIGIT:jE+jE.toUpperCase()+mT},Bie=(e=16,t=hT.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Gie(e){return!!(e&&_r(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const zie=e=>{const t=new Array(10),r=(n,o)=>{if(Jd(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const i=as(n)?[]:{};return pc(n,(a,l)=>{const u=r(a,o+1);!_c(u)&&(i[l]=u)}),t[o]=void 0,i}}return n};return r(e,0)},Zie=nn("AsyncFunction"),Wie=e=>e&&(Jd(e)||_r(e))&&_r(e.then)&&_r(e.catch),ET=((e,t)=>e?setImmediate:t?((r,n)=>(Li.addEventListener("message",({source:o,data:i})=>{o===Li&&i===r&&n.length&&n.shift()()},!1),o=>{n.push(o),Li.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",_r(Li.postMessage)),Yie=typeof queueMicrotask!="undefined"?queueMicrotask.bind(Li):typeof process!="undefined"&&process.nextTick||ET,P={isArray:as,isArrayBuffer:cT,isBuffer:fie,isFormData:vie,isArrayBufferView:die,isString:_ie,isNumber:uT,isBoolean:pie,isObject:Jd,isPlainObject:e_,isReadableStream:Iie,isRequest:Die,isResponse:Rie,isHeaders:Aie,isUndefined:_c,isDate:mie,isFile:hie,isBlob:Eie,isRegExp:Fie,isFunction:_r,isStream:Sie,isURLSearchParams:gie,isTypedArray:Mie,isFileList:Cie,forEach:pc,merge:UE,extend:Oie,trim:Tie,stripBOM:yie,inherits:Nie,toFlatObject:$ie,kindOf:Xd,kindOfTest:nn,endsWith:Lie,toArray:bie,forEachEntry:Pie,matchAll:wie,isHTMLForm:kie,hasOwnProperty:_T,hasOwnProp:_T,reduceDescriptors:pT,freezeMethods:Hie,toObjectSet:Vie,toCamelCase:xie,noop:Uie,toFiniteNumber:jie,findKey:fT,global:Li,isContextDefined:dT,ALPHABET:hT,generateString:Bie,isSpecCompliantForm:Gie,toJSONObject:zie,isAsyncFn:Zie,isThenable:Wie,setImmediate:ET,asap:Yie};function oe(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}P.inherits(oe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.status}}});const CT=oe.prototype,ST={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ST[e]={value:e}}),Object.defineProperties(oe,ST),Object.defineProperty(CT,"isAxiosError",{value:!0}),oe.from=(e,t,r,n,o,i)=>{const a=Object.create(CT);return P.toFlatObject(e,a,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),oe.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const Kie=null;function BE(e){return P.isPlainObject(e)||P.isArray(e)}function vT(e){return P.endsWith(e,"[]")?e.slice(0,-2):e}function gT(e,t,r){return e?e.concat(t).map(function(o,i){return o=vT(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function qie(e){return P.isArray(e)&&!e.some(BE)}const Xie=P.toFlatObject(P,{},null,function(t){return/^is[A-Z]/.test(t)});function t_(e,t,r){if(!P.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=P.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,v){return!P.isUndefined(v[S])});const n=r.metaTokens,o=r.visitor||d,i=r.dots,a=r.indexes,u=(r.Blob||typeof Blob!="undefined"&&Blob)&&P.isSpecCompliantForm(t);if(!P.isFunction(o))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(P.isDate(m))return m.toISOString();if(!u&&P.isBlob(m))throw new oe("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(m)||P.isTypedArray(m)?u&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,S,v){let g=m;if(m&&!v&&typeof m=="object"){if(P.endsWith(S,"{}"))S=n?S:S.slice(0,-2),m=JSON.stringify(m);else if(P.isArray(m)&&qie(m)||(P.isFileList(m)||P.endsWith(S,"[]"))&&(g=P.toArray(m)))return S=vT(S),g.forEach(function(D,A){!(P.isUndefined(D)||D===null)&&t.append(a===!0?gT([S],A,i):a===null?S:S+"[]",c(D))}),!1}return BE(m)?!0:(t.append(gT(v,S,i),c(m)),!1)}const _=[],p=Object.assign(Xie,{defaultVisitor:d,convertValue:c,isVisitable:BE});function h(m,S){if(!P.isUndefined(m)){if(_.indexOf(m)!==-1)throw Error("Circular reference detected in "+S.join("."));_.push(m),P.forEach(m,function(g,I){(!(P.isUndefined(g)||g===null)&&o.call(t,g,P.isString(I)?I.trim():I,S,p))===!0&&h(g,S?S.concat(I):[I])}),_.pop()}}if(!P.isObject(e))throw new TypeError("data must be an object");return h(e),t}function IT(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function GE(e,t){this._pairs=[],e&&t_(e,this,t)}const DT=GE.prototype;DT.append=function(t,r){this._pairs.push([t,r])},DT.toString=function(t){const r=t?function(n){return t.call(this,n,IT)}:IT;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Qie(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function RT(e,t,r){if(!t)return e;const n=r&&r.encode||Qie,o=r&&r.serialize;let i;if(o?i=o(t,r):i=P.isURLSearchParams(t)?t.toString():new GE(t,r).toString(n),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class AT{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){P.forEach(this.handlers,function(n){n!==null&&t(n)})}}const TT={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Jie={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams!="undefined"?URLSearchParams:GE,FormData:typeof FormData!="undefined"?FormData:null,Blob:typeof Blob!="undefined"?Blob:null},protocols:["http","https","file","blob","url","data"]},zE=typeof window!="undefined"&&typeof document!="undefined",ZE=typeof navigator=="object"&&navigator||void 0,eae=zE&&(!ZE||["ReactNative","NativeScript","NS"].indexOf(ZE.product)<0),tae=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",rae=zE&&window.location.href||"http://localhost",Xt=K(K({},Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:zE,hasStandardBrowserEnv:eae,hasStandardBrowserWebWorkerEnv:tae,navigator:ZE,origin:rae},Symbol.toStringTag,{value:"Module"}))),Jie);function nae(e,t){return t_(e,new Xt.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,i){return Xt.isNode&&P.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function oae(e){return P.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function iae(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function OT(e){function t(r,n,o,i){let a=r[i++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),u=i>=r.length;return a=!a&&P.isArray(o)?o.length:a,u?(P.hasOwnProp(o,a)?o[a]=[o[a],n]:o[a]=n,!l):((!o[a]||!P.isObject(o[a]))&&(o[a]=[]),t(r,n,o[a],i)&&P.isArray(o[a])&&(o[a]=iae(o[a])),!l)}if(P.isFormData(e)&&P.isFunction(e.entries)){const r={};return P.forEachEntry(e,(n,o)=>{t(oae(n),o,r,0)}),r}return null}function aae(e,t,r){if(P.isString(e))try{return(t||JSON.parse)(e),P.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}const mc={transitional:TT,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=P.isObject(t);if(i&&P.isHTMLForm(t)&&(t=new FormData(t)),P.isFormData(t))return o?JSON.stringify(OT(t)):t;if(P.isArrayBuffer(t)||P.isBuffer(t)||P.isStream(t)||P.isFile(t)||P.isBlob(t)||P.isReadableStream(t))return t;if(P.isArrayBufferView(t))return t.buffer;if(P.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return nae(t,this.formSerializer).toString();if((l=P.isFileList(t))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return t_(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),aae(t)):t}],transformResponse:[function(t){const r=this.transitional||mc.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(P.isResponse(t)||P.isReadableStream(t))return t;if(t&&P.isString(t)&&(n&&!this.responseType||o)){const a=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?oe.from(l,oe.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xt.classes.FormData,Blob:Xt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(["delete","get","head","post","put","patch"],e=>{mc.headers[e]={}});const sae=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),lae=e=>{const t={};let r,n,o;return e&&e.split(`
|
|
73
73
|
`).forEach(function(a){o=a.indexOf(":"),r=a.substring(0,o).trim().toLowerCase(),n=a.substring(o+1).trim(),!(!r||t[r]&&sae[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},yT=Symbol("internals");function hc(e){return e&&String(e).trim().toLowerCase()}function r_(e){return e===!1||e==null?e:P.isArray(e)?e.map(r_):String(e)}function cae(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const uae=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function WE(e,t,r,n,o){if(P.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!P.isString(t)){if(P.isString(n))return t.indexOf(n)!==-1;if(P.isRegExp(n))return n.test(t)}}function fae(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function dae(e,t){const r=P.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,a){return this[n].call(this,t,o,i,a)},configurable:!0})})}class Qt{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(l,u,c){const d=hc(u);if(!d)throw new Error("header name must be a non-empty string");const _=P.findKey(o,d);(!_||o[_]===void 0||c===!0||c===void 0&&o[_]!==!1)&&(o[_||u]=r_(l))}const a=(l,u)=>P.forEach(l,(c,d)=>i(c,d,u));if(P.isPlainObject(t)||t instanceof this.constructor)a(t,r);else if(P.isString(t)&&(t=t.trim())&&!uae(t))a(lae(t),r);else if(P.isHeaders(t))for(const[l,u]of t.entries())i(u,l,n);else t!=null&&i(r,t,n);return this}get(t,r){if(t=hc(t),t){const n=P.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return cae(o);if(P.isFunction(r))return r.call(this,o,n);if(P.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=hc(t),t){const n=P.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||WE(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(a){if(a=hc(a),a){const l=P.findKey(n,a);l&&(!r||WE(n,n[l],l,r))&&(delete n[l],o=!0)}}return P.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||WE(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return P.forEach(this,(o,i)=>{const a=P.findKey(n,i);if(a){r[a]=r_(o),delete r[i];return}const l=t?fae(i):String(i).trim();l!==i&&delete r[i],r[l]=r_(o),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return P.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&P.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
74
74
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[yT]=this[yT]={accessors:{}}).accessors,o=this.prototype;function i(a){const l=hc(a);n[l]||(dae(o,a),n[l]=!0)}return P.isArray(t)?t.forEach(i):i(t),this}}Qt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),P.reduceDescriptors(Qt.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}}),P.freezeMethods(Qt);function YE(e,t){const r=this||mc,n=t||r,o=Qt.from(n.headers);let i=n.data;return P.forEach(e,function(l){i=l.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function NT(e){return!!(e&&e.__CANCEL__)}function ss(e,t,r){oe.call(this,e==null?"canceled":e,oe.ERR_CANCELED,t,r),this.name="CanceledError"}P.inherits(ss,oe,{__CANCEL__:!0});function $T(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new oe("Request failed with status code "+r.status,[oe.ERR_BAD_REQUEST,oe.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function _ae(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function pae(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=n[i];a||(a=c),r[o]=u,n[o]=c;let _=i,p=0;for(;_!==o;)p+=r[_++],_=_%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-a<t)return;const h=d&&c-d;return h?Math.round(p*1e3/h):void 0}}function mae(e,t){let r=0,n=1e3/t,o,i;const a=(c,d=Date.now())=>{r=d,o=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),_=d-r;_>=n?a(c,d):(o=c,i||(i=setTimeout(()=>{i=null,a(o)},n-_)))},()=>o&&a(o)]}const n_=(e,t,r=3)=>{let n=0;const o=pae(50,250);return mae(i=>{const a=i.loaded,l=i.lengthComputable?i.total:void 0,u=a-n,c=o(u),d=a<=l;n=a;const _={loaded:a,total:l,progress:l?a/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&d?(l-a)/c:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(_)},r)},LT=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},bT=e=>(...t)=>P.asap(()=>e(...t)),hae=Xt.hasStandardBrowserEnv?function(){const t=Xt.navigator&&/(msie|trident)/i.test(Xt.navigator.userAgent),r=document.createElement("a");let n;function o(i){let a=i;return t&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(a){const l=P.isString(a)?o(a):a;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}(),Eae=Xt.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const a=[e+"="+encodeURIComponent(t)];P.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),P.isString(n)&&a.push("path="+n),P.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Cae(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Sae(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function MT(e,t){return e&&!Cae(t)?Sae(e,t):t}const PT=e=>e instanceof Qt?K({},e):e;function bi(e,t){t=t||{};const r={};function n(c,d,_){return P.isPlainObject(c)&&P.isPlainObject(d)?P.merge.call({caseless:_},c,d):P.isPlainObject(d)?P.merge({},d):P.isArray(d)?d.slice():d}function o(c,d,_){if(P.isUndefined(d)){if(!P.isUndefined(c))return n(void 0,c,_)}else return n(c,d,_)}function i(c,d){if(!P.isUndefined(d))return n(void 0,d)}function a(c,d){if(P.isUndefined(d)){if(!P.isUndefined(c))return n(void 0,c)}else return n(void 0,d)}function l(c,d,_){if(_ in t)return n(c,d);if(_ in e)return n(void 0,c)}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(c,d)=>o(PT(c),PT(d),!0)};return P.forEach(Object.keys(Object.assign({},e,t)),function(d){const _=u[d]||o,p=_(e[d],t[d],d);P.isUndefined(p)&&_!==l||(r[d]=p)}),r}const wT=e=>{const t=bi({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;t.headers=a=Qt.from(a),t.url=RT(MT(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(P.isFormData(r)){if(Xt.hasStandardBrowserEnv||Xt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((u=a.getContentType())!==!1){const[c,...d]=u?u.split(";").map(_=>_.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...d].join("; "))}}if(Xt.hasStandardBrowserEnv&&(n&&P.isFunction(n)&&(n=n(t)),n||n!==!1&&hae(t.url))){const c=o&&i&&Eae.read(i);c&&a.set(o,c)}return t},vae=typeof XMLHttpRequest!="undefined"&&function(e){return new Promise(function(r,n){const o=wT(e);let i=o.data;const a=Qt.from(o.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:c}=o,d,_,p,h,m;function S(){h&&h(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let v=new XMLHttpRequest;v.open(o.method.toUpperCase(),o.url,!0),v.timeout=o.timeout;function g(){if(!v)return;const D=Qt.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),y={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:D,config:e,request:v};$T(function(N){r(N),S()},function(N){n(N),S()},y),v=null}"onloadend"in v?v.onloadend=g:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(g)},v.onabort=function(){v&&(n(new oe("Request aborted",oe.ECONNABORTED,e,v)),v=null)},v.onerror=function(){n(new oe("Network Error",oe.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let A=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const y=o.transitional||TT;o.timeoutErrorMessage&&(A=o.timeoutErrorMessage),n(new oe(A,y.clarifyTimeoutError?oe.ETIMEDOUT:oe.ECONNABORTED,e,v)),v=null},i===void 0&&a.setContentType(null),"setRequestHeader"in v&&P.forEach(a.toJSON(),function(A,y){v.setRequestHeader(y,A)}),P.isUndefined(o.withCredentials)||(v.withCredentials=!!o.withCredentials),l&&l!=="json"&&(v.responseType=o.responseType),c&&([p,m]=n_(c,!0),v.addEventListener("progress",p)),u&&v.upload&&([_,h]=n_(u),v.upload.addEventListener("progress",_),v.upload.addEventListener("loadend",h)),(o.cancelToken||o.signal)&&(d=D=>{v&&(n(!D||D.type?new ss(null,e,v):D),v.abort(),v=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const I=_ae(o.url);if(I&&Xt.protocols.indexOf(I)===-1){n(new oe("Unsupported protocol "+I+":",oe.ERR_BAD_REQUEST,e));return}v.send(i||null)})},gae=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,o;const i=function(c){if(!o){o=!0,l();const d=c instanceof Error?c:this.reason;n.abort(d instanceof oe?d:new ss(d instanceof Error?d.message:d))}};let a=t&&setTimeout(()=>{a=null,i(new oe(`timeout ${t} of ms exceeded`,oe.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=()=>P.asap(l),u}},Iae=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,o;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},Dae=function(e,t){return WC(this,null,function*(){try{for(var r=Y8(Rae(e)),n,o,i;n=!(o=yield new Bi(r.next())).done;n=!1){const a=o.value;yield*YC(Iae(a,t))}}catch(o){i=[o]}finally{try{n&&(o=r.return)&&(yield new Bi(o.call(r)))}finally{if(i)throw i[0]}}})},Rae=function(e){return WC(this,null,function*(){if(e[Symbol.asyncIterator]){yield*YC(e);return}const t=e.getReader();try{for(;;){const{done:r,value:n}=yield new Bi(t.read());if(r)break;yield n}}finally{yield new Bi(t.cancel())}})},kT=(e,t,r,n)=>{const o=Dae(e,t);let i=0,a,l=c=>{a||(a=!0,n&&n(c))};return new ReadableStream({pull(c){return B(this,null,function*(){try{const{done:d,value:_}=yield o.next();if(d){l(),c.close();return}let p=_.byteLength;if(r){let h=i+=p;r(h)}c.enqueue(new Uint8Array(_))}catch(d){throw l(d),d}})},cancel(c){return l(c),o.return()}},{highWaterMark:2})},o_=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",xT=o_&&typeof ReadableStream=="function",Aae=o_&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):e=>B(this,null,function*(){return new Uint8Array(yield new Response(e).arrayBuffer())})),FT=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},Tae=xT&&FT(()=>{let e=!1;const t=new Request(Xt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),HT=64*1024,KE=xT&&FT(()=>P.isReadableStream(new Response("").body)),i_={stream:KE&&(e=>e.body)};o_&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!i_[t]&&(i_[t]=P.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new oe(`Response type '${t}' is not supported`,oe.ERR_NOT_SUPPORT,n)})})})(new Response);const Oae=e=>B(this,null,function*(){if(e==null)return 0;if(P.isBlob(e))return e.size;if(P.isSpecCompliantForm(e))return(yield new Request(Xt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(P.isArrayBufferView(e)||P.isArrayBuffer(e))return e.byteLength;if(P.isURLSearchParams(e)&&(e=e+""),P.isString(e))return(yield Aae(e)).byteLength}),yae=(e,t)=>B(this,null,function*(){const r=P.toFiniteNumber(e.getContentLength());return r==null?Oae(t):r}),qE={http:Kie,xhr:vae,fetch:o_&&(e=>B(this,null,function*(){let{url:t,method:r,data:n,signal:o,cancelToken:i,timeout:a,onDownloadProgress:l,onUploadProgress:u,responseType:c,headers:d,withCredentials:_="same-origin",fetchOptions:p}=wT(e);c=c?(c+"").toLowerCase():"text";let h=gae([o,i&&i.toAbortSignal()],a),m;const S=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let v;try{if(u&&Tae&&r!=="get"&&r!=="head"&&(v=yield yae(d,n))!==0){let y=new Request(t,{method:"POST",body:n,duplex:"half"}),b;if(P.isFormData(n)&&(b=y.headers.get("content-type"))&&d.setContentType(b),y.body){const[N,M]=LT(v,n_(bT(u)));n=kT(y.body,HT,N,M)}}P.isString(_)||(_=_?"include":"omit");const g="credentials"in Request.prototype;m=new Request(t,bn(K({},p),{signal:h,method:r.toUpperCase(),headers:d.normalize().toJSON(),body:n,duplex:"half",credentials:g?_:void 0}));let I=yield fetch(m);const D=KE&&(c==="stream"||c==="response");if(KE&&(l||D&&S)){const y={};["status","statusText","headers"].forEach(x=>{y[x]=I[x]});const b=P.toFiniteNumber(I.headers.get("content-length")),[N,M]=l&<(b,n_(bT(l),!0))||[];I=new Response(kT(I.body,HT,N,()=>{M&&M(),S&&S()}),y)}c=c||"text";let A=yield i_[P.findKey(i_,c)||"text"](I,e);return!D&&S&&S(),yield new Promise((y,b)=>{$T(y,b,{data:A,headers:Qt.from(I.headers),status:I.status,statusText:I.statusText,config:e,request:m})})}catch(g){throw S&&S(),g&&g.name==="TypeError"&&/fetch/i.test(g.message)?Object.assign(new oe("Network Error",oe.ERR_NETWORK,e,m),{cause:g.cause||g}):oe.from(g,g&&g.code,e,m)}}))};P.forEach(qE,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}});const VT=e=>`- ${e}`,Nae=e=>P.isFunction(e)||e===null||e===!1,UT={getAdapter:e=>{e=P.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i<t;i++){r=e[i];let a;if(n=r,!Nae(r)&&(n=qE[(a=String(r)).toLowerCase()],n===void 0))throw new oe(`Unknown adapter '${a}'`);if(n)break;o[a||"#"+i]=n}if(!n){const i=Object.entries(o).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since :
|
|
75
75
|
`+i.map(VT).join(`
|
package/dist/main.js
CHANGED
|
@@ -12295,7 +12295,7 @@ function SK(e, t, r, n, i) {
|
|
|
12295
12295
|
}), V = {
|
|
12296
12296
|
platform: "Web",
|
|
12297
12297
|
osVersion: "".concat(Wv),
|
|
12298
|
-
sdkVersion: "7.5.
|
|
12298
|
+
sdkVersion: "7.5.2000-nightly".trim(),
|
|
12299
12299
|
hostAppId: (_e = a.recognizerProcessParam.processParam.backendProcessing) === null || _e === void 0 ? void 0 : _e.serviceURL,
|
|
12300
12300
|
userID: _T(yA),
|
|
12301
12301
|
deviceModel: "".concat(km, "/").concat(Wv, " ").concat(l_, "/").concat(Yv),
|
|
@@ -17561,8 +17561,8 @@ class BDe {
|
|
|
17561
17561
|
processParam: {}
|
|
17562
17562
|
}), rt(this, "imageProcessParam", {
|
|
17563
17563
|
processParam: {}
|
|
17564
|
-
}), rt(this, "recognizeListener", null), rt(this, "workerPath", "https://wasm.regulaforensics.com/document/nightly/7.5/2cdfb8a5-
|
|
17565
|
-
component: "7.5.
|
|
17564
|
+
}), rt(this, "recognizeListener", null), rt(this, "workerPath", "https://wasm.regulaforensics.com/document/nightly/7.5/2cdfb8a5-1fc2734f2"), rt(this, "version", {
|
|
17565
|
+
component: "7.5.2000-nightly".trim()
|
|
17566
17566
|
});
|
|
17567
17567
|
}
|
|
17568
17568
|
get processingListener() {
|
|
@@ -17625,7 +17625,7 @@ class BDe {
|
|
|
17625
17625
|
return j(this, null, function* () {
|
|
17626
17626
|
var t, r;
|
|
17627
17627
|
tt("Preparing the service");
|
|
17628
|
-
const n = "ProcMgr.worker.js", i = this.workerPath === "https://wasm.regulaforensics.com/document/nightly/7.5/2cdfb8a5-
|
|
17628
|
+
const n = "ProcMgr.worker.js", i = this.workerPath === "https://wasm.regulaforensics.com/document/nightly/7.5/2cdfb8a5-1fc2734f2", a = VDe(this.workerPath);
|
|
17629
17629
|
{
|
|
17630
17630
|
let l = yield (yield fetch("".concat(a, "/").concat(n))).text();
|
|
17631
17631
|
i || (l = cK(l, a));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/vp-frontend-document-components",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.2000-nightly",
|
|
4
4
|
"description": "Regula framework agnostic web components to work with webcamera",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/main.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"test": "jest --testPathPattern=src/tests"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@regulaforensics/document-reader-webclient": "^7.5.
|
|
26
|
+
"@regulaforensics/document-reader-webclient": "^7.5.195-nightly",
|
|
27
27
|
"qrcode.react": "^3.1.0"
|
|
28
28
|
}
|
|
29
29
|
}
|