@dev-blinq/ui-systems 1.0.111 → 1.0.112

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/index.js CHANGED
@@ -451,7 +451,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
451
451
  text-overflow: ellipsis;
452
452
  padding-left: 10px;
453
453
  padding-right: 10px;
454
- `,Rm=({onClick:e,params:t,handleUpdateParam:n,ParamErrors:r,removeParameter:i,dataSet:a,disabledEdit:o,isMainApp:s})=>E.jsxs($.Box,{width:"100%",display:"flex",flexDirection:"column",p:1,children:[a&&E.jsx($.Box,{mb:"8px",mt:"4px",children:E.jsx(Cu,{noInlineAction:!0,addOptionLabel:"Add Data Set",showDeleteIcon:!o,showAddOption:!o,width:"200px",...a,disabled:o,id:"data-set-select-scenario"})}),E.jsx(Dm,{children:t.map((u,c)=>E.jsx(E.Fragment,{children:E.jsx(km,{...u,index:c,onChangeValue:n,ParamErrors:r,onDelete:i,disabledEdit:o})},c))}),E.jsx(vu,{variant:"outlined",sx:{mt:2,mb:s?0:2},startIcon:E.jsx(Nl,{}),fullWidth:!0,size:"small",onClick:e,disabled:o,children:"Add Parameter"})]}),km=e=>{const{keyName:t,onChangeValue:n,index:r,error:i,value:a,onDelete:o,mask:s,disabled:u,ParamErrors:c,disabledEdit:l}=e,f=V.useRef(null),[d,p]=V.useState(!1);V.useEffect(()=>{var C;(C=f.current)==null||C.scrollIntoView({behavior:"smooth",block:"nearest"})},[]);const x=()=>{p(!d)},h=V.useRef(null),v=V.useRef(null);return E.jsxs($.Box,{ref:f,display:"flex",width:"100%",flexDirection:"column",children:[E.jsxs($.Grid2,{sx:{flexGrow:1},container:!0,spacing:1,children:[E.jsx($.Grid2,{size:5.4,children:E.jsx(Fn,{ref:h,value:t,onChange:C=>n==null?void 0:n(r,C.target.value,a||""),size:"small",noBorder:!0,error:i,placeholder:"parameter_key",disabled:l,autoFocus:!0})}),E.jsx($.Grid2,{size:5.4,children:E.jsx(Fn,{ref:v,value:a,size:"small",type:s&&!d?"password":"text",onChange:C=>n==null?void 0:n(r,t,C.target.value,s),noBorder:!0,placeholder:"parameter_value",endIcon:s?d?E.jsx(Ol,{onClick:x,size:12}):E.jsx(Il,{onClick:x,size:12}):"",disabled:l})}),E.jsx($.Grid2,{size:1.2,children:E.jsx($.Box,{ml:1,mt:1,display:"flex",justifyContent:"start",alignItems:"end",children:E.jsx(Ll,{onClick:()=>!u&&(o==null?void 0:o(r)),size:18,color:u?"var(--color-grey-50)":"var(--color-error-100)"})})})]}),i&&E.jsx(Se,{weight:"medium",value:"Parameter is not used in the scenario",color:"var(--color-error-100)",mt:.5}),c&&E.jsx(c,{index:r})]})},Au="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Eu="ARRAYBUFFER not supported by this environment",Su="UINT8ARRAY not supported by this environment";function C0(e,t,n,r){let i,a,o;const s=t||[0],u=(n=n||0)>>>3,c=r===-1?3:0;for(i=0;i<e.length;i+=1)o=i+u,a=o>>>2,s.length<=a&&s.push(0),s[a]|=e[i]<<8*(c+r*(o%4));return{value:s,binLen:8*e.length+n}}function Mn(e,t,n){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(r,i,a){return function(o,s,u,c){let l,f,d,p;if(o.length%2!=0)throw new Error("String of HEX type must be in byte increments");const x=s||[0],h=(u=u||0)>>>3,v=c===-1?3:0;for(l=0;l<o.length;l+=2){if(f=parseInt(o.substr(l,2),16),isNaN(f))throw new Error("String of HEX type contains invalid characters");for(p=(l>>>1)+h,d=p>>>2;x.length<=d;)x.push(0);x[d]|=f<<8*(v+c*(p%4))}return{value:x,binLen:4*o.length+u}}(r,i,a,n)};case"TEXT":return function(r,i,a){return function(o,s,u,c,l){let f,d,p,x,h,v,C,y,g=0;const b=u||[0],A=(c=c||0)>>>3;if(s==="UTF8")for(C=l===-1?3:0,p=0;p<o.length;p+=1)for(f=o.charCodeAt(p),d=[],128>f?d.push(f):2048>f?(d.push(192|f>>>6),d.push(128|63&f)):55296>f||57344<=f?d.push(224|f>>>12,128|f>>>6&63,128|63&f):(p+=1,f=65536+((1023&f)<<10|1023&o.charCodeAt(p)),d.push(240|f>>>18,128|f>>>12&63,128|f>>>6&63,128|63&f)),x=0;x<d.length;x+=1){for(v=g+A,h=v>>>2;b.length<=h;)b.push(0);b[h]|=d[x]<<8*(C+l*(v%4)),g+=1}else for(C=l===-1?2:0,y=s==="UTF16LE"&&l!==1||s!=="UTF16LE"&&l===1,p=0;p<o.length;p+=1){for(f=o.charCodeAt(p),y===!0&&(x=255&f,f=x<<8|f>>>8),v=g+A,h=v>>>2;b.length<=h;)b.push(0);b[h]|=f<<8*(C+l*(v%4)),g+=2}return{value:b,binLen:8*g+c}}(r,t,i,a,n)};case"B64":return function(r,i,a){return function(o,s,u,c){let l,f,d,p,x,h,v,C=0;const y=s||[0],g=(u=u||0)>>>3,b=c===-1?3:0,A=o.indexOf("=");if(o.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(o=o.replace(/=/g,""),A!==-1&&A<o.length)throw new Error("Invalid '=' found in base-64 string");for(f=0;f<o.length;f+=4){for(x=o.substr(f,4),p=0,d=0;d<x.length;d+=1)l=Au.indexOf(x.charAt(d)),p|=l<<18-6*d;for(d=0;d<x.length-1;d+=1){for(v=C+g,h=v>>>2;y.length<=h;)y.push(0);y[h]|=(p>>>16-8*d&255)<<8*(b+c*(v%4)),C+=1}}return{value:y,binLen:8*C+u}}(r,i,a,n)};case"BYTES":return function(r,i,a){return function(o,s,u,c){let l,f,d,p;const x=s||[0],h=(u=u||0)>>>3,v=c===-1?3:0;for(f=0;f<o.length;f+=1)l=o.charCodeAt(f),p=f+h,d=p>>>2,x.length<=d&&x.push(0),x[d]|=l<<8*(v+c*(p%4));return{value:x,binLen:8*o.length+u}}(r,i,a,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Eu)}return function(r,i,a){return function(o,s,u,c){return C0(new Uint8Array(o),s,u,c)}(r,i,a,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Su)}return function(r,i,a){return C0(r,i,a,n)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function b0(e,t,n,r){switch(e){case"HEX":return function(i){return function(a,o,s,u){const c="0123456789abcdef";let l,f,d="";const p=o/8,x=s===-1?3:0;for(l=0;l<p;l+=1)f=a[l>>>2]>>>8*(x+s*(l%4)),d+=c.charAt(f>>>4&15)+c.charAt(15&f);return u.outputUpper?d.toUpperCase():d}(i,t,n,r)};case"B64":return function(i){return function(a,o,s,u){let c,l,f,d,p,x="";const h=o/8,v=s===-1?3:0;for(c=0;c<h;c+=3)for(d=c+1<h?a[c+1>>>2]:0,p=c+2<h?a[c+2>>>2]:0,f=(a[c>>>2]>>>8*(v+s*(c%4))&255)<<16|(d>>>8*(v+s*((c+1)%4))&255)<<8|p>>>8*(v+s*((c+2)%4))&255,l=0;l<4;l+=1)x+=8*c+6*l<=o?Au.charAt(f>>>6*(3-l)&63):u.b64Pad;return x}(i,t,n,r)};case"BYTES":return function(i){return function(a,o,s){let u,c,l="";const f=o/8,d=s===-1?3:0;for(u=0;u<f;u+=1)c=a[u>>>2]>>>8*(d+s*(u%4))&255,l+=String.fromCharCode(c);return l}(i,t,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Eu)}return function(i){return function(a,o,s){let u;const c=o/8,l=new ArrayBuffer(c),f=new Uint8Array(l),d=s===-1?3:0;for(u=0;u<c;u+=1)f[u]=a[u>>>2]>>>8*(d+s*(u%4))&255;return l}(i,t,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Su)}return function(i){return function(a,o,s){let u;const c=o/8,l=s===-1?3:0,f=new Uint8Array(c);for(u=0;u<c;u+=1)f[u]=a[u>>>2]>>>8*(l+s*(u%4))&255;return f}(i,t,n)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}const br=4294967296,X=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],Dt=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],Tt=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],Ar="Chosen SHA variant is not supported",wu="Cannot set numRounds with MAC";function ai(e,t){let n,r;const i=e.binLen>>>3,a=t.binLen>>>3,o=i<<3,s=4-i<<3;if(i%4!=0){for(n=0;n<a;n+=4)r=i+n>>>2,e.value[r]|=t.value[n>>>2]<<o,e.value.push(0),e.value[r+1]|=t.value[n>>>2]>>>s;return(e.value.length<<2)-4>=a+i&&e.value.pop(),{value:e.value,binLen:e.binLen+t.binLen}}return{value:e.value.concat(t.value),binLen:e.binLen+t.binLen}}function A0(e){const t={outputUpper:!1,b64Pad:"=",outputLen:-1},n=e||{},r="Output length must be a multiple of 8";if(t.outputUpper=n.outputUpper||!1,n.b64Pad&&(t.b64Pad=n.b64Pad),n.outputLen){if(n.outputLen%8!=0)throw new Error(r);t.outputLen=n.outputLen}else if(n.shakeLen){if(n.shakeLen%8!=0)throw new Error(r);t.outputLen=n.shakeLen}if(typeof t.outputUpper!="boolean")throw new Error("Invalid outputUpper formatting option");if(typeof t.b64Pad!="string")throw new Error("Invalid b64Pad formatting option");return t}function jt(e,t,n,r){const i=e+" must include a value and format";if(!t){if(!r)throw new Error(i);return r}if(t.value===void 0||!t.format)throw new Error(i);return Mn(t.format,t.encoding||"UTF8",n)(t.value)}class Di{constructor(t,n,r){const i=r||{};if(this.t=n,this.i=i.encoding||"UTF8",this.numRounds=i.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.o=t,this.h=[],this.u=0,this.l=!1,this.A=0,this.H=!1,this.S=[],this.p=[]}update(t){let n,r=0;const i=this.m>>>5,a=this.C(t,this.h,this.u),o=a.binLen,s=a.value,u=o>>>5;for(n=0;n<u;n+=i)r+this.m<=o&&(this.U=this.v(s.slice(n,n+i),this.U),r+=this.m);return this.A+=r,this.h=s.slice(r>>>5),this.u=o%this.m,this.l=!0,this}getHash(t,n){let r,i,a=this.R;const o=A0(n);if(this.K){if(o.outputLen===-1)throw new Error("Output length must be specified in options");a=o.outputLen}const s=b0(t,a,this.T,o);if(this.H&&this.g)return s(this.g(o));for(i=this.F(this.h.slice(),this.u,this.A,this.L(this.U),a),r=1;r<this.numRounds;r+=1)this.K&&a%32!=0&&(i[i.length-1]&=16777215>>>24-a%32),i=this.F(i,a,0,this.B(this.o),a);return s(i)}setHMACKey(t,n,r){if(!this.M)throw new Error("Variant does not support HMAC");if(this.l)throw new Error("Cannot set MAC key after calling update");const i=Mn(n,(r||{}).encoding||"UTF8",this.T);this.k(i(t))}k(t){const n=this.m>>>3,r=n/4-1;let i;if(this.numRounds!==1)throw new Error(wu);if(this.H)throw new Error("MAC key already set");for(n<t.binLen/8&&(t.value=this.F(t.value,t.binLen,0,this.B(this.o),this.R));t.value.length<=r;)t.value.push(0);for(i=0;i<=r;i+=1)this.S[i]=909522486^t.value[i],this.p[i]=1549556828^t.value[i];this.U=this.v(this.S,this.U),this.A=this.m,this.H=!0}getHMAC(t,n){const r=A0(n);return b0(t,this.R,this.T,r)(this.Y())}Y(){let t;if(!this.H)throw new Error("Cannot call getHMAC without first setting MAC key");const n=this.F(this.h.slice(),this.u,this.A,this.L(this.U),this.R);return t=this.v(this.p,this.B(this.o)),t=this.F(n,this.R,this.m,t,this.R),t}}function yn(e,t){return e<<t|e>>>32-t}function At(e,t){return e>>>t|e<<32-t}function Bu(e,t){return e>>>t}function E0(e,t,n){return e^t^n}function Du(e,t,n){return e&t^~e&n}function Tu(e,t,n){return e&t^e&n^t&n}function Mm(e){return At(e,2)^At(e,13)^At(e,22)}function He(e,t){const n=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(n>>>16))<<16|65535&n}function _m(e,t,n,r){const i=(65535&e)+(65535&t)+(65535&n)+(65535&r);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(i>>>16))<<16|65535&i}function tr(e,t,n,r,i){const a=(65535&e)+(65535&t)+(65535&n)+(65535&r)+(65535&i);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(i>>>16)+(a>>>16))<<16|65535&a}function Im(e){return At(e,7)^At(e,18)^Bu(e,3)}function Om(e){return At(e,6)^At(e,11)^At(e,25)}function Nm(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function Fu(e,t){let n,r,i,a,o,s,u;const c=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],u=0;u<80;u+=1)c[u]=u<16?e[u]:yn(c[u-3]^c[u-8]^c[u-14]^c[u-16],1),s=u<20?tr(yn(n,5),Du(r,i,a),o,1518500249,c[u]):u<40?tr(yn(n,5),E0(r,i,a),o,1859775393,c[u]):u<60?tr(yn(n,5),Tu(r,i,a),o,2400959708,c[u]):tr(yn(n,5),E0(r,i,a),o,3395469782,c[u]),o=a,a=i,i=yn(r,30),r=n,n=s;return t[0]=He(n,t[0]),t[1]=He(r,t[1]),t[2]=He(i,t[2]),t[3]=He(a,t[3]),t[4]=He(o,t[4]),t}function Lm(e,t,n,r){let i;const a=15+(t+65>>>9<<4),o=t+n;for(;e.length<=a;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[a]=4294967295&o,e[a-1]=o/br|0,i=0;i<e.length;i+=16)r=Fu(e.slice(i,i+16),r);return r}let jm=class extends Di{constructor(e,t,n){if(e!=="SHA-1")throw new Error(Ar);super(e,t,n);const r=n||{};this.M=!0,this.g=this.Y,this.T=-1,this.C=Mn(this.t,this.i,this.T),this.v=Fu,this.L=function(i){return i.slice()},this.B=Nm,this.F=Lm,this.U=[1732584193,4023233417,2562383102,271733878,3285377520],this.m=512,this.R=160,this.K=!1,r.hmacKey&&this.k(jt("hmacKey",r.hmacKey,this.T))}};function S0(e){let t;return t=e=="SHA-224"?Dt.slice():Tt.slice(),t}function w0(e,t){let n,r,i,a,o,s,u,c,l,f,d;const p=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],u=t[6],c=t[7],d=0;d<64;d+=1)p[d]=d<16?e[d]:_m(At(x=p[d-2],17)^At(x,19)^Bu(x,10),p[d-7],Im(p[d-15]),p[d-16]),l=tr(c,Om(o),Du(o,s,u),X[d],p[d]),f=He(Mm(n),Tu(n,r,i)),c=u,u=s,s=o,o=He(a,l),a=i,i=r,r=n,n=He(l,f);var x;return t[0]=He(n,t[0]),t[1]=He(r,t[1]),t[2]=He(i,t[2]),t[3]=He(a,t[3]),t[4]=He(o,t[4]),t[5]=He(s,t[5]),t[6]=He(u,t[6]),t[7]=He(c,t[7]),t}let Vm=class extends Di{constructor(e,t,n){if(e!=="SHA-224"&&e!=="SHA-256")throw new Error(Ar);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Mn(this.t,this.i,this.T),this.v=w0,this.L=function(i){return i.slice()},this.B=S0,this.F=function(i,a,o,s){return function(u,c,l,f,d){let p,x;const h=15+(c+65>>>9<<4),v=c+l;for(;u.length<=h;)u.push(0);for(u[c>>>5]|=128<<24-c%32,u[h]=4294967295&v,u[h-1]=v/br|0,p=0;p<u.length;p+=16)f=w0(u.slice(p,p+16),f);return x=d==="SHA-224"?[f[0],f[1],f[2],f[3],f[4],f[5],f[6]]:f,x}(i,a,o,s,e)},this.U=S0(e),this.m=512,this.R=e==="SHA-224"?224:256,this.K=!1,r.hmacKey&&this.k(jt("hmacKey",r.hmacKey,this.T))}};class _{constructor(t,n){this.N=t,this.I=n}}function B0(e,t){let n;return t>32?(n=64-t,new _(e.I<<t|e.N>>>n,e.N<<t|e.I>>>n)):t!==0?(n=32-t,new _(e.N<<t|e.I>>>n,e.I<<t|e.N>>>n)):e}function Et(e,t){let n;return t<32?(n=32-t,new _(e.N>>>t|e.I<<n,e.I>>>t|e.N<<n)):(n=64-t,new _(e.I>>>t|e.N<<n,e.N>>>t|e.I<<n))}function Pu(e,t){return new _(e.N>>>t,e.I>>>t|e.N<<32-t)}function $m(e,t,n){return new _(e.N&t.N^e.N&n.N^t.N&n.N,e.I&t.I^e.I&n.I^t.I&n.I)}function Um(e){const t=Et(e,28),n=Et(e,34),r=Et(e,39);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}function ft(e,t){let n,r;n=(65535&e.I)+(65535&t.I),r=(e.I>>>16)+(t.I>>>16)+(n>>>16);const i=(65535&r)<<16|65535&n;return n=(65535&e.N)+(65535&t.N)+(r>>>16),r=(e.N>>>16)+(t.N>>>16)+(n>>>16),new _((65535&r)<<16|65535&n,i)}function Hm(e,t,n,r){let i,a;i=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I),a=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(i>>>16);const o=(65535&a)<<16|65535&i;return i=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(a>>>16),a=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(i>>>16),new _((65535&a)<<16|65535&i,o)}function zm(e,t,n,r,i){let a,o;a=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I)+(65535&i.I),o=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(i.I>>>16)+(a>>>16);const s=(65535&o)<<16|65535&a;return a=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(65535&i.N)+(o>>>16),o=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(i.N>>>16)+(a>>>16),new _((65535&o)<<16|65535&a,s)}function Zn(e,t){return new _(e.N^t.N,e.I^t.I)}function Wm(e){const t=Et(e,19),n=Et(e,61),r=Pu(e,6);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}function Km(e){const t=Et(e,1),n=Et(e,8),r=Pu(e,7);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}function Gm(e){const t=Et(e,14),n=Et(e,18),r=Et(e,41);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}const Ym=[new _(X[0],3609767458),new _(X[1],602891725),new _(X[2],3964484399),new _(X[3],2173295548),new _(X[4],4081628472),new _(X[5],3053834265),new _(X[6],2937671579),new _(X[7],3664609560),new _(X[8],2734883394),new _(X[9],1164996542),new _(X[10],1323610764),new _(X[11],3590304994),new _(X[12],4068182383),new _(X[13],991336113),new _(X[14],633803317),new _(X[15],3479774868),new _(X[16],2666613458),new _(X[17],944711139),new _(X[18],2341262773),new _(X[19],2007800933),new _(X[20],1495990901),new _(X[21],1856431235),new _(X[22],3175218132),new _(X[23],2198950837),new _(X[24],3999719339),new _(X[25],766784016),new _(X[26],2566594879),new _(X[27],3203337956),new _(X[28],1034457026),new _(X[29],2466948901),new _(X[30],3758326383),new _(X[31],168717936),new _(X[32],1188179964),new _(X[33],1546045734),new _(X[34],1522805485),new _(X[35],2643833823),new _(X[36],2343527390),new _(X[37],1014477480),new _(X[38],1206759142),new _(X[39],344077627),new _(X[40],1290863460),new _(X[41],3158454273),new _(X[42],3505952657),new _(X[43],106217008),new _(X[44],3606008344),new _(X[45],1432725776),new _(X[46],1467031594),new _(X[47],851169720),new _(X[48],3100823752),new _(X[49],1363258195),new _(X[50],3750685593),new _(X[51],3785050280),new _(X[52],3318307427),new _(X[53],3812723403),new _(X[54],2003034995),new _(X[55],3602036899),new _(X[56],1575990012),new _(X[57],1125592928),new _(X[58],2716904306),new _(X[59],442776044),new _(X[60],593698344),new _(X[61],3733110249),new _(X[62],2999351573),new _(X[63],3815920427),new _(3391569614,3928383900),new _(3515267271,566280711),new _(3940187606,3454069534),new _(4118630271,4000239992),new _(116418474,1914138554),new _(174292421,2731055270),new _(289380356,3203993006),new _(460393269,320620315),new _(685471733,587496836),new _(852142971,1086792851),new _(1017036298,365543100),new _(1126000580,2618297676),new _(1288033470,3409855158),new _(1501505948,4234509866),new _(1607167915,987167468),new _(1816402316,1246189591)];function D0(e){return e==="SHA-384"?[new _(3418070365,Dt[0]),new _(1654270250,Dt[1]),new _(2438529370,Dt[2]),new _(355462360,Dt[3]),new _(1731405415,Dt[4]),new _(41048885895,Dt[5]),new _(3675008525,Dt[6]),new _(1203062813,Dt[7])]:[new _(Tt[0],4089235720),new _(Tt[1],2227873595),new _(Tt[2],4271175723),new _(Tt[3],1595750129),new _(Tt[4],2917565137),new _(Tt[5],725511199),new _(Tt[6],4215389547),new _(Tt[7],327033209)]}function T0(e,t){let n,r,i,a,o,s,u,c,l,f,d,p;const x=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],u=t[6],c=t[7],d=0;d<80;d+=1)d<16?(p=2*d,x[d]=new _(e[p],e[p+1])):x[d]=Hm(Wm(x[d-2]),x[d-7],Km(x[d-15]),x[d-16]),l=zm(c,Gm(o),(v=s,C=u,new _((h=o).N&v.N^~h.N&C.N,h.I&v.I^~h.I&C.I)),Ym[d],x[d]),f=ft(Um(n),$m(n,r,i)),c=u,u=s,s=o,o=ft(a,l),a=i,i=r,r=n,n=ft(l,f);var h,v,C;return t[0]=ft(n,t[0]),t[1]=ft(r,t[1]),t[2]=ft(i,t[2]),t[3]=ft(a,t[3]),t[4]=ft(o,t[4]),t[5]=ft(s,t[5]),t[6]=ft(u,t[6]),t[7]=ft(c,t[7]),t}let qm=class extends Di{constructor(e,t,n){if(e!=="SHA-384"&&e!=="SHA-512")throw new Error(Ar);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Mn(this.t,this.i,this.T),this.v=T0,this.L=function(i){return i.slice()},this.B=D0,this.F=function(i,a,o,s){return function(u,c,l,f,d){let p,x;const h=31+(c+129>>>10<<5),v=c+l;for(;u.length<=h;)u.push(0);for(u[c>>>5]|=128<<24-c%32,u[h]=4294967295&v,u[h-1]=v/br|0,p=0;p<u.length;p+=32)f=T0(u.slice(p,p+32),f);return x=d==="SHA-384"?[f[0].N,f[0].I,f[1].N,f[1].I,f[2].N,f[2].I,f[3].N,f[3].I,f[4].N,f[4].I,f[5].N,f[5].I]:[f[0].N,f[0].I,f[1].N,f[1].I,f[2].N,f[2].I,f[3].N,f[3].I,f[4].N,f[4].I,f[5].N,f[5].I,f[6].N,f[6].I,f[7].N,f[7].I],x}(i,a,o,s,e)},this.U=D0(e),this.m=1024,this.R=e==="SHA-384"?384:512,this.K=!1,r.hmacKey&&this.k(jt("hmacKey",r.hmacKey,this.T))}};const Xm=[new _(0,1),new _(0,32898),new _(2147483648,32906),new _(2147483648,2147516416),new _(0,32907),new _(0,2147483649),new _(2147483648,2147516545),new _(2147483648,32777),new _(0,138),new _(0,136),new _(0,2147516425),new _(0,2147483658),new _(0,2147516555),new _(2147483648,139),new _(2147483648,32905),new _(2147483648,32771),new _(2147483648,32770),new _(2147483648,128),new _(0,32778),new _(2147483648,2147483658),new _(2147483648,2147516545),new _(2147483648,32896),new _(0,2147483649),new _(2147483648,2147516424)],Zm=[[0,36,3,41,18],[1,44,10,45,2],[62,6,43,15,61],[28,55,25,21,56],[27,20,39,8,14]];function ao(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=[new _(0,0),new _(0,0),new _(0,0),new _(0,0),new _(0,0)];return n}function Jm(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=e[t].slice();return n}function Vr(e,t){let n,r,i,a;const o=[],s=[];if(e!==null)for(r=0;r<e.length;r+=2)t[(r>>>1)%5][(r>>>1)/5|0]=Zn(t[(r>>>1)%5][(r>>>1)/5|0],new _(e[r+1],e[r]));for(n=0;n<24;n+=1){for(a=ao(),r=0;r<5;r+=1)o[r]=(u=t[r][0],c=t[r][1],l=t[r][2],f=t[r][3],d=t[r][4],new _(u.N^c.N^l.N^f.N^d.N,u.I^c.I^l.I^f.I^d.I));for(r=0;r<5;r+=1)s[r]=Zn(o[(r+4)%5],B0(o[(r+1)%5],1));for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)t[r][i]=Zn(t[r][i],s[r]);for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)a[i][(2*r+3*i)%5]=B0(t[r][i],Zm[r][i]);for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)t[r][i]=Zn(a[r][i],new _(~a[(r+1)%5][i].N&a[(r+2)%5][i].N,~a[(r+1)%5][i].I&a[(r+2)%5][i].I));t[0][0]=Zn(t[0][0],Xm[n])}var u,c,l,f,d;return t}function Ru(e){let t,n,r=0;const i=[0,0],a=[4294967295&e,e/br&2097151];for(t=6;t>=0;t--)n=a[t>>2]>>>8*t&255,n===0&&r===0||(i[r+1>>2]|=n<<8*(r+1),r+=1);return r=r!==0?r:1,i[0]|=r,{value:r+1>4?i:[i[0]],binLen:8+8*r}}function Ji(e){return ai(Ru(e.binLen),e)}function F0(e,t){let n,r=Ru(t);r=ai(r,e);const i=t>>>2,a=(i-r.value.length%i)%i;for(n=0;n<a;n++)r.value.push(0);return r.value}let Qm=class extends Di{constructor(e,t,n){let r=6,i=0;super(e,t,n);const a=n||{};if(this.numRounds!==1){if(a.kmacKey||a.hmacKey)throw new Error(wu);if(this.o==="CSHAKE128"||this.o==="CSHAKE256")throw new Error("Cannot set numRounds for CSHAKE variants")}switch(this.T=1,this.C=Mn(this.t,this.i,this.T),this.v=Vr,this.L=Jm,this.B=ao,this.U=ao(),this.K=!1,e){case"SHA3-224":this.m=i=1152,this.R=224,this.M=!0,this.g=this.Y;break;case"SHA3-256":this.m=i=1088,this.R=256,this.M=!0,this.g=this.Y;break;case"SHA3-384":this.m=i=832,this.R=384,this.M=!0,this.g=this.Y;break;case"SHA3-512":this.m=i=576,this.R=512,this.M=!0,this.g=this.Y;break;case"SHAKE128":r=31,this.m=i=1344,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"SHAKE256":r=31,this.m=i=1088,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"KMAC128":r=4,this.m=i=1344,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"KMAC256":r=4,this.m=i=1088,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"CSHAKE128":this.m=i=1344,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"CSHAKE256":this.m=i=1088,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;default:throw new Error(Ar)}this.F=function(o,s,u,c,l){return function(f,d,p,x,h,v,C){let y,g,b=0;const A=[],S=h>>>5,w=d>>>5;for(y=0;y<w&&d>=h;y+=S)x=Vr(f.slice(y,y+S),x),d-=h;for(f=f.slice(y),d%=h;f.length<S;)f.push(0);for(y=d>>>3,f[y>>2]^=v<<y%4*8,f[S-1]^=2147483648,x=Vr(f,x);32*A.length<C&&(g=x[b%5][b/5|0],A.push(g.I),!(32*A.length>=C));)A.push(g.N),b+=1,64*b%h==0&&(Vr(null,x),b=0);return A}(o,s,0,c,i,r,l)},a.hmacKey&&this.k(jt("hmacKey",a.hmacKey,this.T))}O(e,t){const n=function(i){const a=i||{};return{funcName:jt("funcName",a.funcName,1,{value:[],binLen:0}),customization:jt("Customization",a.customization,1,{value:[],binLen:0})}}(e||{});t&&(n.funcName=t);const r=ai(Ji(n.funcName),Ji(n.customization));if(n.customization.binLen!==0||n.funcName.binLen!==0){const i=F0(r,this.m>>>3);for(let a=0;a<i.length;a+=this.m>>>5)this.U=this.v(i.slice(a,a+(this.m>>>5)),this.U),this.A+=this.m;return 4}return 31}X(e){const t=function(r){const i=r||{};return{kmacKey:jt("kmacKey",i.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:jt("Customization",i.customization,1,{value:[],binLen:0})}}(e||{});this.O(e,t.funcName);const n=F0(Ji(t.kmacKey),this.m>>>3);for(let r=0;r<n.length;r+=this.m>>>5)this.U=this.v(n.slice(r,r+(this.m>>>5)),this.U),this.A+=this.m;this.H=!0}_(e){const t=ai({value:this.h.slice(),binLen:this.u},function(n){let r,i,a=0;const o=[0,0],s=[4294967295&n,n/br&2097151];for(r=6;r>=0;r--)i=s[r>>2]>>>8*r&255,i===0&&a===0||(o[a>>2]|=i<<8*a,a+=1);return a=a!==0?a:1,o[a>>2]|=a<<8*a,{value:a+1>4?o:[o[0]],binLen:8+8*a}}(e.outputLen));return this.F(t.value,t.binLen,this.A,this.L(this.U),e.outputLen)}};class eg{constructor(t,n,r){if(t=="SHA-1")this.P=new jm(t,n,r);else if(t=="SHA-224"||t=="SHA-256")this.P=new Vm(t,n,r);else if(t=="SHA-384"||t=="SHA-512")this.P=new qm(t,n,r);else{if(t!="SHA3-224"&&t!="SHA3-256"&&t!="SHA3-384"&&t!="SHA3-512"&&t!="SHAKE128"&&t!="SHAKE256"&&t!="CSHAKE128"&&t!="CSHAKE256"&&t!="KMAC128"&&t!="KMAC256")throw new Error(Ar);this.P=new Qm(t,n,r)}}update(t){return this.P.update(t),this}getHash(t,n){return this.P.getHash(t,n)}setHMACKey(t,n,r){this.P.setHMACKey(t,n,r)}getHMAC(t,n){return this.P.getHMAC(t,n)}}class tg{static generate(t,n){const r={digits:6,algorithm:"SHA-1",period:30,timestamp:Date.now(),...n},i=Math.floor(r.timestamp/1e3),a=this.leftpad(this.dec2hex(Math.floor(i/r.period)),16,"0"),o=new eg(r.algorithm,"HEX");o.setHMACKey(this.base32tohex(t),"HEX"),o.update(a);const s=o.getHMAC("HEX"),u=this.hex2dec(s.substring(s.length-1));let c=(this.hex2dec(s.substr(u*2,8))&this.hex2dec("7fffffff"))+"";const l=Math.max(c.length-r.digits,0);c=c.substring(l,l+r.digits);const f=Math.ceil((r.timestamp+1)/(r.period*1e3))*r.period*1e3;return{otp:c,expires:f}}static hex2dec(t){return parseInt(t,16)}static dec2hex(t){return(t<15.5?"0":"")+Math.round(t).toString(16)}static base32tohex(t){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";let r="",i="";const a=t.replace(/=+$/,"");for(let o=0;o<a.length;o++){const s=n.indexOf(t.charAt(o).toUpperCase());if(s===-1)throw new Error("Invalid base32 character in key");r+=this.leftpad(s.toString(2),5,"0")}for(let o=0;o+8<=r.length;o+=8){const s=r.substr(o,8);i=i+this.leftpad(parseInt(s,2).toString(16),2,"0")}return i}static leftpad(t,n,r){return n+1>=t.length&&(t=Array(n+1-t.length).join(r)+t),t}}var ku={exports:{}};function ng(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Qi={exports:{}};const rg={},ig=Object.freeze(Object.defineProperty({__proto__:null,default:rg},Symbol.toStringTag,{value:"Module"})),ag=Rd(ig);var P0;function ce(){return P0||(P0=1,function(e,t){(function(n,r){e.exports=r()})(oe,function(){var n=n||function(r,i){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof oe<"u"&&oe.crypto&&(a=oe.crypto),!a&&typeof ng=="function")try{a=ag}catch{}var o=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function y(){}return function(g){var b;return y.prototype=g,b=new y,y.prototype=null,b}}(),u={},c=u.lib={},l=c.Base=function(){return{extend:function(y){var g=s(this);return y&&g.mixIn(y),(!g.hasOwnProperty("init")||this.init===g.init)&&(g.init=function(){g.$super.init.apply(this,arguments)}),g.init.prototype=g,g.$super=this,g},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var g in y)y.hasOwnProperty(g)&&(this[g]=y[g]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=c.WordArray=l.extend({init:function(y,g){y=this.words=y||[],g!=i?this.sigBytes=g:this.sigBytes=y.length*4},toString:function(y){return(y||p).stringify(this)},concat:function(y){var g=this.words,b=y.words,A=this.sigBytes,S=y.sigBytes;if(this.clamp(),A%4)for(var w=0;w<S;w++){var T=b[w>>>2]>>>24-w%4*8&255;g[A+w>>>2]|=T<<24-(A+w)%4*8}else for(var k=0;k<S;k+=4)g[A+k>>>2]=b[k>>>2];return this.sigBytes+=S,this},clamp:function(){var y=this.words,g=this.sigBytes;y[g>>>2]&=4294967295<<32-g%4*8,y.length=r.ceil(g/4)},clone:function(){var y=l.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var g=[],b=0;b<y;b+=4)g.push(o());return new f.init(g,y)}}),d=u.enc={},p=d.Hex={stringify:function(y){for(var g=y.words,b=y.sigBytes,A=[],S=0;S<b;S++){var w=g[S>>>2]>>>24-S%4*8&255;A.push((w>>>4).toString(16)),A.push((w&15).toString(16))}return A.join("")},parse:function(y){for(var g=y.length,b=[],A=0;A<g;A+=2)b[A>>>3]|=parseInt(y.substr(A,2),16)<<24-A%8*4;return new f.init(b,g/2)}},x=d.Latin1={stringify:function(y){for(var g=y.words,b=y.sigBytes,A=[],S=0;S<b;S++){var w=g[S>>>2]>>>24-S%4*8&255;A.push(String.fromCharCode(w))}return A.join("")},parse:function(y){for(var g=y.length,b=[],A=0;A<g;A++)b[A>>>2]|=(y.charCodeAt(A)&255)<<24-A%4*8;return new f.init(b,g)}},h=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(x.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return x.parse(unescape(encodeURIComponent(y)))}},v=c.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=h.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var g,b=this._data,A=b.words,S=b.sigBytes,w=this.blockSize,T=w*4,k=S/T;y?k=r.ceil(k):k=r.max((k|0)-this._minBufferSize,0);var m=k*w,B=r.min(m*4,S);if(m){for(var R=0;R<m;R+=w)this._doProcessBlock(A,R);g=A.splice(0,m),b.sigBytes-=B}return new f.init(g,B)},clone:function(){var y=l.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});c.Hasher=v.extend({cfg:l.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var g=this._doFinalize();return g},blockSize:16,_createHelper:function(y){return function(g,b){return new y.init(b).finalize(g)}},_createHmacHelper:function(y){return function(g,b){return new C.HMAC.init(y,b).finalize(g)}}});var C=u.algo={};return u}(Math);return n})}(Qi)),Qi.exports}var ea={exports:{}},R0;function Ti(){return R0||(R0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.Base,s=a.WordArray,u=i.x64={};u.Word=o.extend({init:function(c,l){this.high=c,this.low=l}}),u.WordArray=o.extend({init:function(c,l){c=this.words=c||[],l!=r?this.sigBytes=l:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,l=c.length,f=[],d=0;d<l;d++){var p=c[d];f.push(p.high),f.push(p.low)}return s.create(f,this.sigBytes)},clone:function(){for(var c=o.clone.call(this),l=c.words=this.words.slice(0),f=l.length,d=0;d<f;d++)l[d]=l[d].clone();return c}})}(),n})}(ea)),ea.exports}var ta={exports:{}},k0;function og(){return k0||(k0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,i=r.lib,a=i.WordArray,o=a.init,s=a.init=function(u){if(u instanceof ArrayBuffer&&(u=new Uint8Array(u)),(u instanceof Int8Array||typeof Uint8ClampedArray<"u"&&u instanceof Uint8ClampedArray||u instanceof Int16Array||u instanceof Uint16Array||u instanceof Int32Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array)&&(u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength)),u instanceof Uint8Array){for(var c=u.byteLength,l=[],f=0;f<c;f++)l[f>>>2]|=u[f]<<24-f%4*8;o.call(this,l,c)}else o.apply(this,arguments)};s.prototype=a}}(),n.lib.WordArray})}(ta)),ta.exports}var na={exports:{}},M0;function sg(){return M0||(M0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.enc;o.Utf16=o.Utf16BE={stringify:function(u){for(var c=u.words,l=u.sigBytes,f=[],d=0;d<l;d+=2){var p=c[d>>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(p))}return f.join("")},parse:function(u){for(var c=u.length,l=[],f=0;f<c;f++)l[f>>>1]|=u.charCodeAt(f)<<16-f%2*16;return a.create(l,c*2)}},o.Utf16LE={stringify:function(u){for(var c=u.words,l=u.sigBytes,f=[],d=0;d<l;d+=2){var p=s(c[d>>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(p))}return f.join("")},parse:function(u){for(var c=u.length,l=[],f=0;f<c;f++)l[f>>>1]|=s(u.charCodeAt(f)<<16-f%2*16);return a.create(l,c*2)}};function s(u){return u<<8&4278255360|u>>>8&16711935}}(),n.enc.Utf16})}(na)),na.exports}var ra={exports:{}},_0;function cn(){return _0||(_0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.enc;o.Base64={stringify:function(u){var c=u.words,l=u.sigBytes,f=this._map;u.clamp();for(var d=[],p=0;p<l;p+=3)for(var x=c[p>>>2]>>>24-p%4*8&255,h=c[p+1>>>2]>>>24-(p+1)%4*8&255,v=c[p+2>>>2]>>>24-(p+2)%4*8&255,C=x<<16|h<<8|v,y=0;y<4&&p+y*.75<l;y++)d.push(f.charAt(C>>>6*(3-y)&63));var g=f.charAt(64);if(g)for(;d.length%4;)d.push(g);return d.join("")},parse:function(u){var c=u.length,l=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d<l.length;d++)f[l.charCodeAt(d)]=d}var p=l.charAt(64);if(p){var x=u.indexOf(p);x!==-1&&(c=x)}return s(u,c,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(u,c,l){for(var f=[],d=0,p=0;p<c;p++)if(p%4){var x=l[u.charCodeAt(p-1)]<<p%4*2,h=l[u.charCodeAt(p)]>>>6-p%4*2,v=x|h;f[d>>>2]|=v<<24-d%4*8,d++}return a.create(f,d)}}(),n.enc.Base64})}(ra)),ra.exports}var ia={exports:{}},I0;function cg(){return I0||(I0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.enc;o.Base64url={stringify:function(u,c){c===void 0&&(c=!0);var l=u.words,f=u.sigBytes,d=c?this._safe_map:this._map;u.clamp();for(var p=[],x=0;x<f;x+=3)for(var h=l[x>>>2]>>>24-x%4*8&255,v=l[x+1>>>2]>>>24-(x+1)%4*8&255,C=l[x+2>>>2]>>>24-(x+2)%4*8&255,y=h<<16|v<<8|C,g=0;g<4&&x+g*.75<f;g++)p.push(d.charAt(y>>>6*(3-g)&63));var b=d.charAt(64);if(b)for(;p.length%4;)p.push(b);return p.join("")},parse:function(u,c){c===void 0&&(c=!0);var l=u.length,f=c?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var p=0;p<f.length;p++)d[f.charCodeAt(p)]=p}var x=f.charAt(64);if(x){var h=u.indexOf(x);h!==-1&&(l=h)}return s(u,l,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(u,c,l){for(var f=[],d=0,p=0;p<c;p++)if(p%4){var x=l[u.charCodeAt(p-1)]<<p%4*2,h=l[u.charCodeAt(p)]>>>6-p%4*2,v=x|h;f[d>>>2]|=v<<24-d%4*8,d++}return a.create(f,d)}}(),n.enc.Base64url})}(ia)),ia.exports}var aa={exports:{}},O0;function ln(){return O0||(O0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.WordArray,s=a.Hasher,u=i.algo,c=[];(function(){for(var h=0;h<64;h++)c[h]=r.abs(r.sin(h+1))*4294967296|0})();var l=u.MD5=s.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(h,v){for(var C=0;C<16;C++){var y=v+C,g=h[y];h[y]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var b=this._hash.words,A=h[v+0],S=h[v+1],w=h[v+2],T=h[v+3],k=h[v+4],m=h[v+5],B=h[v+6],R=h[v+7],P=h[v+8],z=h[v+9],W=h[v+10],Z=h[v+11],J=h[v+12],ee=h[v+13],ne=h[v+14],N=h[v+15],F=b[0],O=b[1],I=b[2],M=b[3];F=f(F,O,I,M,A,7,c[0]),M=f(M,F,O,I,S,12,c[1]),I=f(I,M,F,O,w,17,c[2]),O=f(O,I,M,F,T,22,c[3]),F=f(F,O,I,M,k,7,c[4]),M=f(M,F,O,I,m,12,c[5]),I=f(I,M,F,O,B,17,c[6]),O=f(O,I,M,F,R,22,c[7]),F=f(F,O,I,M,P,7,c[8]),M=f(M,F,O,I,z,12,c[9]),I=f(I,M,F,O,W,17,c[10]),O=f(O,I,M,F,Z,22,c[11]),F=f(F,O,I,M,J,7,c[12]),M=f(M,F,O,I,ee,12,c[13]),I=f(I,M,F,O,ne,17,c[14]),O=f(O,I,M,F,N,22,c[15]),F=d(F,O,I,M,S,5,c[16]),M=d(M,F,O,I,B,9,c[17]),I=d(I,M,F,O,Z,14,c[18]),O=d(O,I,M,F,A,20,c[19]),F=d(F,O,I,M,m,5,c[20]),M=d(M,F,O,I,W,9,c[21]),I=d(I,M,F,O,N,14,c[22]),O=d(O,I,M,F,k,20,c[23]),F=d(F,O,I,M,z,5,c[24]),M=d(M,F,O,I,ne,9,c[25]),I=d(I,M,F,O,T,14,c[26]),O=d(O,I,M,F,P,20,c[27]),F=d(F,O,I,M,ee,5,c[28]),M=d(M,F,O,I,w,9,c[29]),I=d(I,M,F,O,R,14,c[30]),O=d(O,I,M,F,J,20,c[31]),F=p(F,O,I,M,m,4,c[32]),M=p(M,F,O,I,P,11,c[33]),I=p(I,M,F,O,Z,16,c[34]),O=p(O,I,M,F,ne,23,c[35]),F=p(F,O,I,M,S,4,c[36]),M=p(M,F,O,I,k,11,c[37]),I=p(I,M,F,O,R,16,c[38]),O=p(O,I,M,F,W,23,c[39]),F=p(F,O,I,M,ee,4,c[40]),M=p(M,F,O,I,A,11,c[41]),I=p(I,M,F,O,T,16,c[42]),O=p(O,I,M,F,B,23,c[43]),F=p(F,O,I,M,z,4,c[44]),M=p(M,F,O,I,J,11,c[45]),I=p(I,M,F,O,N,16,c[46]),O=p(O,I,M,F,w,23,c[47]),F=x(F,O,I,M,A,6,c[48]),M=x(M,F,O,I,R,10,c[49]),I=x(I,M,F,O,ne,15,c[50]),O=x(O,I,M,F,m,21,c[51]),F=x(F,O,I,M,J,6,c[52]),M=x(M,F,O,I,T,10,c[53]),I=x(I,M,F,O,W,15,c[54]),O=x(O,I,M,F,S,21,c[55]),F=x(F,O,I,M,P,6,c[56]),M=x(M,F,O,I,N,10,c[57]),I=x(I,M,F,O,B,15,c[58]),O=x(O,I,M,F,ee,21,c[59]),F=x(F,O,I,M,k,6,c[60]),M=x(M,F,O,I,Z,10,c[61]),I=x(I,M,F,O,w,15,c[62]),O=x(O,I,M,F,z,21,c[63]),b[0]=b[0]+F|0,b[1]=b[1]+O|0,b[2]=b[2]+I|0,b[3]=b[3]+M|0},_doFinalize:function(){var h=this._data,v=h.words,C=this._nDataBytes*8,y=h.sigBytes*8;v[y>>>5]|=128<<24-y%32;var g=r.floor(C/4294967296),b=C;v[(y+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,v[(y+64>>>9<<4)+14]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,h.sigBytes=(v.length+1)*4,this._process();for(var A=this._hash,S=A.words,w=0;w<4;w++){var T=S[w];S[w]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return A},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});function f(h,v,C,y,g,b,A){var S=h+(v&C|~v&y)+g+A;return(S<<b|S>>>32-b)+v}function d(h,v,C,y,g,b,A){var S=h+(v&y|C&~y)+g+A;return(S<<b|S>>>32-b)+v}function p(h,v,C,y,g,b,A){var S=h+(v^C^y)+g+A;return(S<<b|S>>>32-b)+v}function x(h,v,C,y,g,b,A){var S=h+(C^(v|~y))+g+A;return(S<<b|S>>>32-b)+v}i.MD5=s._createHelper(l),i.HmacMD5=s._createHmacHelper(l)}(Math),n.MD5})}(aa)),aa.exports}var oa={exports:{}},N0;function Mu(){return N0||(N0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=i.Hasher,s=r.algo,u=[],c=s.SHA1=o.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(l,f){for(var d=this._hash.words,p=d[0],x=d[1],h=d[2],v=d[3],C=d[4],y=0;y<80;y++){if(y<16)u[y]=l[f+y]|0;else{var g=u[y-3]^u[y-8]^u[y-14]^u[y-16];u[y]=g<<1|g>>>31}var b=(p<<5|p>>>27)+C+u[y];y<20?b+=(x&h|~x&v)+1518500249:y<40?b+=(x^h^v)+1859775393:y<60?b+=(x&h|x&v|h&v)-1894007588:b+=(x^h^v)-899497514,C=v,v=h,h=x<<30|x>>>2,x=p,p=b}d[0]=d[0]+p|0,d[1]=d[1]+x|0,d[2]=d[2]+h|0,d[3]=d[3]+v|0,d[4]=d[4]+C|0},_doFinalize:function(){var l=this._data,f=l.words,d=this._nDataBytes*8,p=l.sigBytes*8;return f[p>>>5]|=128<<24-p%32,f[(p+64>>>9<<4)+14]=Math.floor(d/4294967296),f[(p+64>>>9<<4)+15]=d,l.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var l=o.clone.call(this);return l._hash=this._hash.clone(),l}});r.SHA1=o._createHelper(c),r.HmacSHA1=o._createHmacHelper(c)}(),n.SHA1})}(oa)),oa.exports}var sa={exports:{}},L0;function Ko(){return L0||(L0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.WordArray,s=a.Hasher,u=i.algo,c=[],l=[];(function(){function p(C){for(var y=r.sqrt(C),g=2;g<=y;g++)if(!(C%g))return!1;return!0}function x(C){return(C-(C|0))*4294967296|0}for(var h=2,v=0;v<64;)p(h)&&(v<8&&(c[v]=x(r.pow(h,1/2))),l[v]=x(r.pow(h,1/3)),v++),h++})();var f=[],d=u.SHA256=s.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_doProcessBlock:function(p,x){for(var h=this._hash.words,v=h[0],C=h[1],y=h[2],g=h[3],b=h[4],A=h[5],S=h[6],w=h[7],T=0;T<64;T++){if(T<16)f[T]=p[x+T]|0;else{var k=f[T-15],m=(k<<25|k>>>7)^(k<<14|k>>>18)^k>>>3,B=f[T-2],R=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;f[T]=m+f[T-7]+R+f[T-16]}var P=b&A^~b&S,z=v&C^v&y^C&y,W=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),Z=(b<<26|b>>>6)^(b<<21|b>>>11)^(b<<7|b>>>25),J=w+Z+P+l[T]+f[T],ee=W+z;w=S,S=A,A=b,b=g+J|0,g=y,y=C,C=v,v=J+ee|0}h[0]=h[0]+v|0,h[1]=h[1]+C|0,h[2]=h[2]+y|0,h[3]=h[3]+g|0,h[4]=h[4]+b|0,h[5]=h[5]+A|0,h[6]=h[6]+S|0,h[7]=h[7]+w|0},_doFinalize:function(){var p=this._data,x=p.words,h=this._nDataBytes*8,v=p.sigBytes*8;return x[v>>>5]|=128<<24-v%32,x[(v+64>>>9<<4)+14]=r.floor(h/4294967296),x[(v+64>>>9<<4)+15]=h,p.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var p=s.clone.call(this);return p._hash=this._hash.clone(),p}});i.SHA256=s._createHelper(d),i.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})}(sa)),sa.exports}var ca={exports:{}},j0;function lg(){return j0||(j0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Ko())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.algo,s=o.SHA256,u=o.SHA224=s.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=4,c}});r.SHA224=s._createHelper(u),r.HmacSHA224=s._createHmacHelper(u)}(),n.SHA224})}(ca)),ca.exports}var la={exports:{}},V0;function _u(){return V0||(V0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Ti())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.Hasher,o=r.x64,s=o.Word,u=o.WordArray,c=r.algo;function l(){return s.create.apply(s,arguments)}var f=[l(1116352408,3609767458),l(1899447441,602891725),l(3049323471,3964484399),l(3921009573,2173295548),l(961987163,4081628472),l(1508970993,3053834265),l(2453635748,2937671579),l(2870763221,3664609560),l(3624381080,2734883394),l(310598401,1164996542),l(607225278,1323610764),l(1426881987,3590304994),l(1925078388,4068182383),l(2162078206,991336113),l(2614888103,633803317),l(3248222580,3479774868),l(3835390401,2666613458),l(4022224774,944711139),l(264347078,2341262773),l(604807628,2007800933),l(770255983,1495990901),l(1249150122,1856431235),l(1555081692,3175218132),l(1996064986,2198950837),l(2554220882,3999719339),l(2821834349,766784016),l(2952996808,2566594879),l(3210313671,3203337956),l(3336571891,1034457026),l(3584528711,2466948901),l(113926993,3758326383),l(338241895,168717936),l(666307205,1188179964),l(773529912,1546045734),l(1294757372,1522805485),l(1396182291,2643833823),l(1695183700,2343527390),l(1986661051,1014477480),l(2177026350,1206759142),l(2456956037,344077627),l(2730485921,1290863460),l(2820302411,3158454273),l(3259730800,3505952657),l(3345764771,106217008),l(3516065817,3606008344),l(3600352804,1432725776),l(4094571909,1467031594),l(275423344,851169720),l(430227734,3100823752),l(506948616,1363258195),l(659060556,3750685593),l(883997877,3785050280),l(958139571,3318307427),l(1322822218,3812723403),l(1537002063,2003034995),l(1747873779,3602036899),l(1955562222,1575990012),l(2024104815,1125592928),l(2227730452,2716904306),l(2361852424,442776044),l(2428436474,593698344),l(2756734187,3733110249),l(3204031479,2999351573),l(3329325298,3815920427),l(3391569614,3928383900),l(3515267271,566280711),l(3940187606,3454069534),l(4118630271,4000239992),l(116418474,1914138554),l(174292421,2731055270),l(289380356,3203993006),l(460393269,320620315),l(685471733,587496836),l(852142971,1086792851),l(1017036298,365543100),l(1126000580,2618297676),l(1288033470,3409855158),l(1501505948,4234509866),l(1607167915,987167468),l(1816402316,1246189591)],d=[];(function(){for(var x=0;x<80;x++)d[x]=l()})();var p=c.SHA512=a.extend({_doReset:function(){this._hash=new u.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(x,h){for(var v=this._hash.words,C=v[0],y=v[1],g=v[2],b=v[3],A=v[4],S=v[5],w=v[6],T=v[7],k=C.high,m=C.low,B=y.high,R=y.low,P=g.high,z=g.low,W=b.high,Z=b.low,J=A.high,ee=A.low,ne=S.high,N=S.low,F=w.high,O=w.low,I=T.high,M=T.low,j=k,U=m,Q=B,K=R,ae=P,ie=z,Re=W,G=Z,Ce=J,ke=ee,et=ne,ct=N,Gt=F,It=O,Ot=I,Yt=M,Xe=0;Xe<80;Xe++){var Ve,mt,un=d[Xe];if(Xe<16)mt=un.high=x[h+Xe*2]|0,Ve=un.low=x[h+Xe*2+1]|0;else{var Ln=d[Xe-15],wt=Ln.high,lt=Ln.low,Mi=(wt>>>1|lt<<31)^(wt>>>8|lt<<24)^wt>>>7,jn=(lt>>>1|wt<<31)^(lt>>>8|wt<<24)^(lt>>>7|wt<<25),Vn=d[Xe-2],gt=Vn.high,qt=Vn.low,_i=(gt>>>19|qt<<13)^(gt<<3|qt>>>29)^gt>>>6,Dr=(qt>>>19|gt<<13)^(qt<<3|gt>>>29)^(qt>>>6|gt<<26),Tr=d[Xe-7],Ii=Tr.high,Oi=Tr.low,Fr=d[Xe-16],$n=Fr.high,Un=Fr.low;Ve=jn+Oi,mt=Mi+Ii+(Ve>>>0<jn>>>0?1:0),Ve=Ve+Dr,mt=mt+_i+(Ve>>>0<Dr>>>0?1:0),Ve=Ve+Un,mt=mt+$n+(Ve>>>0<Un>>>0?1:0),un.high=mt,un.low=Ve}var Nt=Ce&et^~Ce&Gt,fn=ke&ct^~ke&It,Hn=j&Q^j&ae^Q&ae,Pr=U&K^U&ie^K&ie,Ni=(j>>>28|U<<4)^(j<<30|U>>>2)^(j<<25|U>>>7),zn=(U>>>28|j<<4)^(U<<30|j>>>2)^(U<<25|j>>>7),Li=(Ce>>>14|ke<<18)^(Ce>>>18|ke<<14)^(Ce<<23|ke>>>9),Rr=(ke>>>14|Ce<<18)^(ke>>>18|Ce<<14)^(ke<<23|Ce>>>9),Wn=f[Xe],ji=Wn.high,kr=Wn.low,$e=Yt+Rr,ut=Ot+Li+($e>>>0<Yt>>>0?1:0),$e=$e+fn,ut=ut+Nt+($e>>>0<fn>>>0?1:0),$e=$e+kr,ut=ut+ji+($e>>>0<kr>>>0?1:0),$e=$e+Ve,ut=ut+mt+($e>>>0<Ve>>>0?1:0),Mr=zn+Pr,Vi=Ni+Hn+(Mr>>>0<zn>>>0?1:0);Ot=Gt,Yt=It,Gt=et,It=ct,et=Ce,ct=ke,ke=G+$e|0,Ce=Re+ut+(ke>>>0<G>>>0?1:0)|0,Re=ae,G=ie,ae=Q,ie=K,Q=j,K=U,U=$e+Mr|0,j=ut+Vi+(U>>>0<$e>>>0?1:0)|0}m=C.low=m+U,C.high=k+j+(m>>>0<U>>>0?1:0),R=y.low=R+K,y.high=B+Q+(R>>>0<K>>>0?1:0),z=g.low=z+ie,g.high=P+ae+(z>>>0<ie>>>0?1:0),Z=b.low=Z+G,b.high=W+Re+(Z>>>0<G>>>0?1:0),ee=A.low=ee+ke,A.high=J+Ce+(ee>>>0<ke>>>0?1:0),N=S.low=N+ct,S.high=ne+et+(N>>>0<ct>>>0?1:0),O=w.low=O+It,w.high=F+Gt+(O>>>0<It>>>0?1:0),M=T.low=M+Yt,T.high=I+Ot+(M>>>0<Yt>>>0?1:0)},_doFinalize:function(){var x=this._data,h=x.words,v=this._nDataBytes*8,C=x.sigBytes*8;h[C>>>5]|=128<<24-C%32,h[(C+128>>>10<<5)+30]=Math.floor(v/4294967296),h[(C+128>>>10<<5)+31]=v,x.sigBytes=h.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});r.SHA512=a._createHelper(p),r.HmacSHA512=a._createHmacHelper(p)}(),n.SHA512})}(la)),la.exports}var ua={exports:{}},$0;function ug(){return $0||($0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Ti(),_u())})(oe,function(n){return function(){var r=n,i=r.x64,a=i.Word,o=i.WordArray,s=r.algo,u=s.SHA512,c=s.SHA384=u.extend({_doReset:function(){this._hash=new o.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var l=u._doFinalize.call(this);return l.sigBytes-=16,l}});r.SHA384=u._createHelper(c),r.HmacSHA384=u._createHmacHelper(c)}(),n.SHA384})}(ua)),ua.exports}var fa={exports:{}},U0;function fg(){return U0||(U0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Ti())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.WordArray,s=a.Hasher,u=i.x64,c=u.Word,l=i.algo,f=[],d=[],p=[];(function(){for(var v=1,C=0,y=0;y<24;y++){f[v+5*C]=(y+1)*(y+2)/2%64;var g=C%5,b=(2*v+3*C)%5;v=g,C=b}for(var v=0;v<5;v++)for(var C=0;C<5;C++)d[v+5*C]=C+(2*v+3*C)%5*5;for(var A=1,S=0;S<24;S++){for(var w=0,T=0,k=0;k<7;k++){if(A&1){var m=(1<<k)-1;m<32?T^=1<<m:w^=1<<m-32}A&128?A=A<<1^113:A<<=1}p[S]=c.create(w,T)}})();var x=[];(function(){for(var v=0;v<25;v++)x[v]=c.create()})();var h=l.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var v=this._state=[],C=0;C<25;C++)v[C]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(v,C){for(var y=this._state,g=this.blockSize/2,b=0;b<g;b++){var A=v[C+2*b],S=v[C+2*b+1];A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360;var w=y[b];w.high^=S,w.low^=A}for(var T=0;T<24;T++){for(var k=0;k<5;k++){for(var m=0,B=0,R=0;R<5;R++){var w=y[k+5*R];m^=w.high,B^=w.low}var P=x[k];P.high=m,P.low=B}for(var k=0;k<5;k++)for(var z=x[(k+4)%5],W=x[(k+1)%5],Z=W.high,J=W.low,m=z.high^(Z<<1|J>>>31),B=z.low^(J<<1|Z>>>31),R=0;R<5;R++){var w=y[k+5*R];w.high^=m,w.low^=B}for(var ee=1;ee<25;ee++){var m,B,w=y[ee],ne=w.high,N=w.low,F=f[ee];F<32?(m=ne<<F|N>>>32-F,B=N<<F|ne>>>32-F):(m=N<<F-32|ne>>>64-F,B=ne<<F-32|N>>>64-F);var O=x[d[ee]];O.high=m,O.low=B}var I=x[0],M=y[0];I.high=M.high,I.low=M.low;for(var k=0;k<5;k++)for(var R=0;R<5;R++){var ee=k+5*R,w=y[ee],j=x[ee],U=x[(k+1)%5+5*R],Q=x[(k+2)%5+5*R];w.high=j.high^~U.high&Q.high,w.low=j.low^~U.low&Q.low}var w=y[0],K=p[T];w.high^=K.high,w.low^=K.low}},_doFinalize:function(){var v=this._data,C=v.words;this._nDataBytes*8;var y=v.sigBytes*8,g=this.blockSize*32;C[y>>>5]|=1<<24-y%32,C[(r.ceil((y+1)/g)*g>>>5)-1]|=128,v.sigBytes=C.length*4,this._process();for(var b=this._state,A=this.cfg.outputLength/8,S=A/8,w=[],T=0;T<S;T++){var k=b[T],m=k.high,B=k.low;m=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,w.push(B),w.push(m)}return new o.init(w,A)},clone:function(){for(var v=s.clone.call(this),C=v._state=this._state.slice(0),y=0;y<25;y++)C[y]=C[y].clone();return v}});i.SHA3=s._createHelper(h),i.HmacSHA3=s._createHmacHelper(h)}(Math),n.SHA3})}(fa)),fa.exports}var da={exports:{}},H0;function dg(){return H0||(H0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){/** @preserve
454
+ `,Rm=({onClick:e,params:t,handleUpdateParam:n,ParamErrors:r,removeParameter:i,dataSet:a,disabledEdit:o,isMainApp:s})=>E.jsxs($.Box,{width:"100%",display:"flex",flexDirection:"column",p:1,children:[a&&E.jsx($.Box,{mb:"8px",mt:"4px",children:E.jsx(Cu,{noInlineAction:!0,addOptionLabel:"Add Data Set",showDeleteIcon:!o,showAddOption:!o,width:"200px",...a,disabled:o,id:"data-set-select-scenario"})}),E.jsx(Dm,{children:t.map((u,c)=>E.jsx(E.Fragment,{children:E.jsx(km,{...u,index:c,onChangeValue:n,ParamErrors:r,onDelete:i,disabledEdit:o,isMainApp:s})},c))}),E.jsx(vu,{variant:"outlined",sx:{mt:2,mb:s?0:2},startIcon:E.jsx(Nl,{}),fullWidth:!0,size:"small",onClick:e,disabled:o,children:"Add Parameter"})]}),km=e=>{const{keyName:t,onChangeValue:n,index:r,error:i,value:a,onDelete:o,mask:s,disabled:u,ParamErrors:c,disabledEdit:l,isMainApp:f}=e,d=V.useRef(null),[p,x]=V.useState(!1);V.useEffect(()=>{var y;!f&&((y=d.current)==null||y.scrollIntoView({behavior:"smooth",block:"nearest"}))},[]);const h=()=>{x(!p)},v=V.useRef(null),C=V.useRef(null);return E.jsxs($.Box,{ref:d,display:"flex",width:"100%",flexDirection:"column",children:[E.jsxs($.Grid2,{sx:{flexGrow:1},container:!0,spacing:1,children:[E.jsx($.Grid2,{size:5.4,children:E.jsx(Fn,{ref:v,value:t,onChange:y=>n==null?void 0:n(r,y.target.value,a||""),size:"small",noBorder:!0,error:i,placeholder:"parameter_key",disabled:l,autoFocus:!0})}),E.jsx($.Grid2,{size:5.4,children:E.jsx(Fn,{ref:C,value:a,size:"small",type:s&&!p?"password":"text",onChange:y=>n==null?void 0:n(r,t,y.target.value,s),noBorder:!0,placeholder:"parameter_value",endIcon:s?p?E.jsx(Ol,{onClick:h,size:12}):E.jsx(Il,{onClick:h,size:12}):"",disabled:l})}),E.jsx($.Grid2,{size:1.2,children:E.jsx($.Box,{ml:1,mt:1,display:"flex",justifyContent:"start",alignItems:"end",children:E.jsx(Ll,{onClick:()=>!u&&(o==null?void 0:o(r)),size:18,color:u?"var(--color-grey-50)":"var(--color-error-100)"})})})]}),i&&E.jsx(Se,{weight:"medium",value:"Parameter is not used in the scenario",color:"var(--color-error-100)",mt:.5}),c&&E.jsx(c,{index:r})]})},Au="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Eu="ARRAYBUFFER not supported by this environment",Su="UINT8ARRAY not supported by this environment";function C0(e,t,n,r){let i,a,o;const s=t||[0],u=(n=n||0)>>>3,c=r===-1?3:0;for(i=0;i<e.length;i+=1)o=i+u,a=o>>>2,s.length<=a&&s.push(0),s[a]|=e[i]<<8*(c+r*(o%4));return{value:s,binLen:8*e.length+n}}function Mn(e,t,n){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(r,i,a){return function(o,s,u,c){let l,f,d,p;if(o.length%2!=0)throw new Error("String of HEX type must be in byte increments");const x=s||[0],h=(u=u||0)>>>3,v=c===-1?3:0;for(l=0;l<o.length;l+=2){if(f=parseInt(o.substr(l,2),16),isNaN(f))throw new Error("String of HEX type contains invalid characters");for(p=(l>>>1)+h,d=p>>>2;x.length<=d;)x.push(0);x[d]|=f<<8*(v+c*(p%4))}return{value:x,binLen:4*o.length+u}}(r,i,a,n)};case"TEXT":return function(r,i,a){return function(o,s,u,c,l){let f,d,p,x,h,v,C,y,g=0;const b=u||[0],A=(c=c||0)>>>3;if(s==="UTF8")for(C=l===-1?3:0,p=0;p<o.length;p+=1)for(f=o.charCodeAt(p),d=[],128>f?d.push(f):2048>f?(d.push(192|f>>>6),d.push(128|63&f)):55296>f||57344<=f?d.push(224|f>>>12,128|f>>>6&63,128|63&f):(p+=1,f=65536+((1023&f)<<10|1023&o.charCodeAt(p)),d.push(240|f>>>18,128|f>>>12&63,128|f>>>6&63,128|63&f)),x=0;x<d.length;x+=1){for(v=g+A,h=v>>>2;b.length<=h;)b.push(0);b[h]|=d[x]<<8*(C+l*(v%4)),g+=1}else for(C=l===-1?2:0,y=s==="UTF16LE"&&l!==1||s!=="UTF16LE"&&l===1,p=0;p<o.length;p+=1){for(f=o.charCodeAt(p),y===!0&&(x=255&f,f=x<<8|f>>>8),v=g+A,h=v>>>2;b.length<=h;)b.push(0);b[h]|=f<<8*(C+l*(v%4)),g+=2}return{value:b,binLen:8*g+c}}(r,t,i,a,n)};case"B64":return function(r,i,a){return function(o,s,u,c){let l,f,d,p,x,h,v,C=0;const y=s||[0],g=(u=u||0)>>>3,b=c===-1?3:0,A=o.indexOf("=");if(o.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(o=o.replace(/=/g,""),A!==-1&&A<o.length)throw new Error("Invalid '=' found in base-64 string");for(f=0;f<o.length;f+=4){for(x=o.substr(f,4),p=0,d=0;d<x.length;d+=1)l=Au.indexOf(x.charAt(d)),p|=l<<18-6*d;for(d=0;d<x.length-1;d+=1){for(v=C+g,h=v>>>2;y.length<=h;)y.push(0);y[h]|=(p>>>16-8*d&255)<<8*(b+c*(v%4)),C+=1}}return{value:y,binLen:8*C+u}}(r,i,a,n)};case"BYTES":return function(r,i,a){return function(o,s,u,c){let l,f,d,p;const x=s||[0],h=(u=u||0)>>>3,v=c===-1?3:0;for(f=0;f<o.length;f+=1)l=o.charCodeAt(f),p=f+h,d=p>>>2,x.length<=d&&x.push(0),x[d]|=l<<8*(v+c*(p%4));return{value:x,binLen:8*o.length+u}}(r,i,a,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Eu)}return function(r,i,a){return function(o,s,u,c){return C0(new Uint8Array(o),s,u,c)}(r,i,a,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Su)}return function(r,i,a){return C0(r,i,a,n)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function b0(e,t,n,r){switch(e){case"HEX":return function(i){return function(a,o,s,u){const c="0123456789abcdef";let l,f,d="";const p=o/8,x=s===-1?3:0;for(l=0;l<p;l+=1)f=a[l>>>2]>>>8*(x+s*(l%4)),d+=c.charAt(f>>>4&15)+c.charAt(15&f);return u.outputUpper?d.toUpperCase():d}(i,t,n,r)};case"B64":return function(i){return function(a,o,s,u){let c,l,f,d,p,x="";const h=o/8,v=s===-1?3:0;for(c=0;c<h;c+=3)for(d=c+1<h?a[c+1>>>2]:0,p=c+2<h?a[c+2>>>2]:0,f=(a[c>>>2]>>>8*(v+s*(c%4))&255)<<16|(d>>>8*(v+s*((c+1)%4))&255)<<8|p>>>8*(v+s*((c+2)%4))&255,l=0;l<4;l+=1)x+=8*c+6*l<=o?Au.charAt(f>>>6*(3-l)&63):u.b64Pad;return x}(i,t,n,r)};case"BYTES":return function(i){return function(a,o,s){let u,c,l="";const f=o/8,d=s===-1?3:0;for(u=0;u<f;u+=1)c=a[u>>>2]>>>8*(d+s*(u%4))&255,l+=String.fromCharCode(c);return l}(i,t,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Eu)}return function(i){return function(a,o,s){let u;const c=o/8,l=new ArrayBuffer(c),f=new Uint8Array(l),d=s===-1?3:0;for(u=0;u<c;u+=1)f[u]=a[u>>>2]>>>8*(d+s*(u%4))&255;return l}(i,t,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(Su)}return function(i){return function(a,o,s){let u;const c=o/8,l=s===-1?3:0,f=new Uint8Array(c);for(u=0;u<c;u+=1)f[u]=a[u>>>2]>>>8*(l+s*(u%4))&255;return f}(i,t,n)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}const br=4294967296,X=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],Dt=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],Tt=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],Ar="Chosen SHA variant is not supported",wu="Cannot set numRounds with MAC";function ai(e,t){let n,r;const i=e.binLen>>>3,a=t.binLen>>>3,o=i<<3,s=4-i<<3;if(i%4!=0){for(n=0;n<a;n+=4)r=i+n>>>2,e.value[r]|=t.value[n>>>2]<<o,e.value.push(0),e.value[r+1]|=t.value[n>>>2]>>>s;return(e.value.length<<2)-4>=a+i&&e.value.pop(),{value:e.value,binLen:e.binLen+t.binLen}}return{value:e.value.concat(t.value),binLen:e.binLen+t.binLen}}function A0(e){const t={outputUpper:!1,b64Pad:"=",outputLen:-1},n=e||{},r="Output length must be a multiple of 8";if(t.outputUpper=n.outputUpper||!1,n.b64Pad&&(t.b64Pad=n.b64Pad),n.outputLen){if(n.outputLen%8!=0)throw new Error(r);t.outputLen=n.outputLen}else if(n.shakeLen){if(n.shakeLen%8!=0)throw new Error(r);t.outputLen=n.shakeLen}if(typeof t.outputUpper!="boolean")throw new Error("Invalid outputUpper formatting option");if(typeof t.b64Pad!="string")throw new Error("Invalid b64Pad formatting option");return t}function jt(e,t,n,r){const i=e+" must include a value and format";if(!t){if(!r)throw new Error(i);return r}if(t.value===void 0||!t.format)throw new Error(i);return Mn(t.format,t.encoding||"UTF8",n)(t.value)}class Di{constructor(t,n,r){const i=r||{};if(this.t=n,this.i=i.encoding||"UTF8",this.numRounds=i.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.o=t,this.h=[],this.u=0,this.l=!1,this.A=0,this.H=!1,this.S=[],this.p=[]}update(t){let n,r=0;const i=this.m>>>5,a=this.C(t,this.h,this.u),o=a.binLen,s=a.value,u=o>>>5;for(n=0;n<u;n+=i)r+this.m<=o&&(this.U=this.v(s.slice(n,n+i),this.U),r+=this.m);return this.A+=r,this.h=s.slice(r>>>5),this.u=o%this.m,this.l=!0,this}getHash(t,n){let r,i,a=this.R;const o=A0(n);if(this.K){if(o.outputLen===-1)throw new Error("Output length must be specified in options");a=o.outputLen}const s=b0(t,a,this.T,o);if(this.H&&this.g)return s(this.g(o));for(i=this.F(this.h.slice(),this.u,this.A,this.L(this.U),a),r=1;r<this.numRounds;r+=1)this.K&&a%32!=0&&(i[i.length-1]&=16777215>>>24-a%32),i=this.F(i,a,0,this.B(this.o),a);return s(i)}setHMACKey(t,n,r){if(!this.M)throw new Error("Variant does not support HMAC");if(this.l)throw new Error("Cannot set MAC key after calling update");const i=Mn(n,(r||{}).encoding||"UTF8",this.T);this.k(i(t))}k(t){const n=this.m>>>3,r=n/4-1;let i;if(this.numRounds!==1)throw new Error(wu);if(this.H)throw new Error("MAC key already set");for(n<t.binLen/8&&(t.value=this.F(t.value,t.binLen,0,this.B(this.o),this.R));t.value.length<=r;)t.value.push(0);for(i=0;i<=r;i+=1)this.S[i]=909522486^t.value[i],this.p[i]=1549556828^t.value[i];this.U=this.v(this.S,this.U),this.A=this.m,this.H=!0}getHMAC(t,n){const r=A0(n);return b0(t,this.R,this.T,r)(this.Y())}Y(){let t;if(!this.H)throw new Error("Cannot call getHMAC without first setting MAC key");const n=this.F(this.h.slice(),this.u,this.A,this.L(this.U),this.R);return t=this.v(this.p,this.B(this.o)),t=this.F(n,this.R,this.m,t,this.R),t}}function yn(e,t){return e<<t|e>>>32-t}function At(e,t){return e>>>t|e<<32-t}function Bu(e,t){return e>>>t}function E0(e,t,n){return e^t^n}function Du(e,t,n){return e&t^~e&n}function Tu(e,t,n){return e&t^e&n^t&n}function Mm(e){return At(e,2)^At(e,13)^At(e,22)}function He(e,t){const n=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(n>>>16))<<16|65535&n}function _m(e,t,n,r){const i=(65535&e)+(65535&t)+(65535&n)+(65535&r);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(i>>>16))<<16|65535&i}function tr(e,t,n,r,i){const a=(65535&e)+(65535&t)+(65535&n)+(65535&r)+(65535&i);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(i>>>16)+(a>>>16))<<16|65535&a}function Im(e){return At(e,7)^At(e,18)^Bu(e,3)}function Om(e){return At(e,6)^At(e,11)^At(e,25)}function Nm(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function Fu(e,t){let n,r,i,a,o,s,u;const c=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],u=0;u<80;u+=1)c[u]=u<16?e[u]:yn(c[u-3]^c[u-8]^c[u-14]^c[u-16],1),s=u<20?tr(yn(n,5),Du(r,i,a),o,1518500249,c[u]):u<40?tr(yn(n,5),E0(r,i,a),o,1859775393,c[u]):u<60?tr(yn(n,5),Tu(r,i,a),o,2400959708,c[u]):tr(yn(n,5),E0(r,i,a),o,3395469782,c[u]),o=a,a=i,i=yn(r,30),r=n,n=s;return t[0]=He(n,t[0]),t[1]=He(r,t[1]),t[2]=He(i,t[2]),t[3]=He(a,t[3]),t[4]=He(o,t[4]),t}function Lm(e,t,n,r){let i;const a=15+(t+65>>>9<<4),o=t+n;for(;e.length<=a;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[a]=4294967295&o,e[a-1]=o/br|0,i=0;i<e.length;i+=16)r=Fu(e.slice(i,i+16),r);return r}let jm=class extends Di{constructor(e,t,n){if(e!=="SHA-1")throw new Error(Ar);super(e,t,n);const r=n||{};this.M=!0,this.g=this.Y,this.T=-1,this.C=Mn(this.t,this.i,this.T),this.v=Fu,this.L=function(i){return i.slice()},this.B=Nm,this.F=Lm,this.U=[1732584193,4023233417,2562383102,271733878,3285377520],this.m=512,this.R=160,this.K=!1,r.hmacKey&&this.k(jt("hmacKey",r.hmacKey,this.T))}};function S0(e){let t;return t=e=="SHA-224"?Dt.slice():Tt.slice(),t}function w0(e,t){let n,r,i,a,o,s,u,c,l,f,d;const p=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],u=t[6],c=t[7],d=0;d<64;d+=1)p[d]=d<16?e[d]:_m(At(x=p[d-2],17)^At(x,19)^Bu(x,10),p[d-7],Im(p[d-15]),p[d-16]),l=tr(c,Om(o),Du(o,s,u),X[d],p[d]),f=He(Mm(n),Tu(n,r,i)),c=u,u=s,s=o,o=He(a,l),a=i,i=r,r=n,n=He(l,f);var x;return t[0]=He(n,t[0]),t[1]=He(r,t[1]),t[2]=He(i,t[2]),t[3]=He(a,t[3]),t[4]=He(o,t[4]),t[5]=He(s,t[5]),t[6]=He(u,t[6]),t[7]=He(c,t[7]),t}let Vm=class extends Di{constructor(e,t,n){if(e!=="SHA-224"&&e!=="SHA-256")throw new Error(Ar);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Mn(this.t,this.i,this.T),this.v=w0,this.L=function(i){return i.slice()},this.B=S0,this.F=function(i,a,o,s){return function(u,c,l,f,d){let p,x;const h=15+(c+65>>>9<<4),v=c+l;for(;u.length<=h;)u.push(0);for(u[c>>>5]|=128<<24-c%32,u[h]=4294967295&v,u[h-1]=v/br|0,p=0;p<u.length;p+=16)f=w0(u.slice(p,p+16),f);return x=d==="SHA-224"?[f[0],f[1],f[2],f[3],f[4],f[5],f[6]]:f,x}(i,a,o,s,e)},this.U=S0(e),this.m=512,this.R=e==="SHA-224"?224:256,this.K=!1,r.hmacKey&&this.k(jt("hmacKey",r.hmacKey,this.T))}};class _{constructor(t,n){this.N=t,this.I=n}}function B0(e,t){let n;return t>32?(n=64-t,new _(e.I<<t|e.N>>>n,e.N<<t|e.I>>>n)):t!==0?(n=32-t,new _(e.N<<t|e.I>>>n,e.I<<t|e.N>>>n)):e}function Et(e,t){let n;return t<32?(n=32-t,new _(e.N>>>t|e.I<<n,e.I>>>t|e.N<<n)):(n=64-t,new _(e.I>>>t|e.N<<n,e.N>>>t|e.I<<n))}function Pu(e,t){return new _(e.N>>>t,e.I>>>t|e.N<<32-t)}function $m(e,t,n){return new _(e.N&t.N^e.N&n.N^t.N&n.N,e.I&t.I^e.I&n.I^t.I&n.I)}function Um(e){const t=Et(e,28),n=Et(e,34),r=Et(e,39);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}function ft(e,t){let n,r;n=(65535&e.I)+(65535&t.I),r=(e.I>>>16)+(t.I>>>16)+(n>>>16);const i=(65535&r)<<16|65535&n;return n=(65535&e.N)+(65535&t.N)+(r>>>16),r=(e.N>>>16)+(t.N>>>16)+(n>>>16),new _((65535&r)<<16|65535&n,i)}function Hm(e,t,n,r){let i,a;i=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I),a=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(i>>>16);const o=(65535&a)<<16|65535&i;return i=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(a>>>16),a=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(i>>>16),new _((65535&a)<<16|65535&i,o)}function zm(e,t,n,r,i){let a,o;a=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I)+(65535&i.I),o=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(i.I>>>16)+(a>>>16);const s=(65535&o)<<16|65535&a;return a=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(65535&i.N)+(o>>>16),o=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(i.N>>>16)+(a>>>16),new _((65535&o)<<16|65535&a,s)}function Zn(e,t){return new _(e.N^t.N,e.I^t.I)}function Wm(e){const t=Et(e,19),n=Et(e,61),r=Pu(e,6);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}function Km(e){const t=Et(e,1),n=Et(e,8),r=Pu(e,7);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}function Gm(e){const t=Et(e,14),n=Et(e,18),r=Et(e,41);return new _(t.N^n.N^r.N,t.I^n.I^r.I)}const Ym=[new _(X[0],3609767458),new _(X[1],602891725),new _(X[2],3964484399),new _(X[3],2173295548),new _(X[4],4081628472),new _(X[5],3053834265),new _(X[6],2937671579),new _(X[7],3664609560),new _(X[8],2734883394),new _(X[9],1164996542),new _(X[10],1323610764),new _(X[11],3590304994),new _(X[12],4068182383),new _(X[13],991336113),new _(X[14],633803317),new _(X[15],3479774868),new _(X[16],2666613458),new _(X[17],944711139),new _(X[18],2341262773),new _(X[19],2007800933),new _(X[20],1495990901),new _(X[21],1856431235),new _(X[22],3175218132),new _(X[23],2198950837),new _(X[24],3999719339),new _(X[25],766784016),new _(X[26],2566594879),new _(X[27],3203337956),new _(X[28],1034457026),new _(X[29],2466948901),new _(X[30],3758326383),new _(X[31],168717936),new _(X[32],1188179964),new _(X[33],1546045734),new _(X[34],1522805485),new _(X[35],2643833823),new _(X[36],2343527390),new _(X[37],1014477480),new _(X[38],1206759142),new _(X[39],344077627),new _(X[40],1290863460),new _(X[41],3158454273),new _(X[42],3505952657),new _(X[43],106217008),new _(X[44],3606008344),new _(X[45],1432725776),new _(X[46],1467031594),new _(X[47],851169720),new _(X[48],3100823752),new _(X[49],1363258195),new _(X[50],3750685593),new _(X[51],3785050280),new _(X[52],3318307427),new _(X[53],3812723403),new _(X[54],2003034995),new _(X[55],3602036899),new _(X[56],1575990012),new _(X[57],1125592928),new _(X[58],2716904306),new _(X[59],442776044),new _(X[60],593698344),new _(X[61],3733110249),new _(X[62],2999351573),new _(X[63],3815920427),new _(3391569614,3928383900),new _(3515267271,566280711),new _(3940187606,3454069534),new _(4118630271,4000239992),new _(116418474,1914138554),new _(174292421,2731055270),new _(289380356,3203993006),new _(460393269,320620315),new _(685471733,587496836),new _(852142971,1086792851),new _(1017036298,365543100),new _(1126000580,2618297676),new _(1288033470,3409855158),new _(1501505948,4234509866),new _(1607167915,987167468),new _(1816402316,1246189591)];function D0(e){return e==="SHA-384"?[new _(3418070365,Dt[0]),new _(1654270250,Dt[1]),new _(2438529370,Dt[2]),new _(355462360,Dt[3]),new _(1731405415,Dt[4]),new _(41048885895,Dt[5]),new _(3675008525,Dt[6]),new _(1203062813,Dt[7])]:[new _(Tt[0],4089235720),new _(Tt[1],2227873595),new _(Tt[2],4271175723),new _(Tt[3],1595750129),new _(Tt[4],2917565137),new _(Tt[5],725511199),new _(Tt[6],4215389547),new _(Tt[7],327033209)]}function T0(e,t){let n,r,i,a,o,s,u,c,l,f,d,p;const x=[];for(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],u=t[6],c=t[7],d=0;d<80;d+=1)d<16?(p=2*d,x[d]=new _(e[p],e[p+1])):x[d]=Hm(Wm(x[d-2]),x[d-7],Km(x[d-15]),x[d-16]),l=zm(c,Gm(o),(v=s,C=u,new _((h=o).N&v.N^~h.N&C.N,h.I&v.I^~h.I&C.I)),Ym[d],x[d]),f=ft(Um(n),$m(n,r,i)),c=u,u=s,s=o,o=ft(a,l),a=i,i=r,r=n,n=ft(l,f);var h,v,C;return t[0]=ft(n,t[0]),t[1]=ft(r,t[1]),t[2]=ft(i,t[2]),t[3]=ft(a,t[3]),t[4]=ft(o,t[4]),t[5]=ft(s,t[5]),t[6]=ft(u,t[6]),t[7]=ft(c,t[7]),t}let qm=class extends Di{constructor(e,t,n){if(e!=="SHA-384"&&e!=="SHA-512")throw new Error(Ar);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Mn(this.t,this.i,this.T),this.v=T0,this.L=function(i){return i.slice()},this.B=D0,this.F=function(i,a,o,s){return function(u,c,l,f,d){let p,x;const h=31+(c+129>>>10<<5),v=c+l;for(;u.length<=h;)u.push(0);for(u[c>>>5]|=128<<24-c%32,u[h]=4294967295&v,u[h-1]=v/br|0,p=0;p<u.length;p+=32)f=T0(u.slice(p,p+32),f);return x=d==="SHA-384"?[f[0].N,f[0].I,f[1].N,f[1].I,f[2].N,f[2].I,f[3].N,f[3].I,f[4].N,f[4].I,f[5].N,f[5].I]:[f[0].N,f[0].I,f[1].N,f[1].I,f[2].N,f[2].I,f[3].N,f[3].I,f[4].N,f[4].I,f[5].N,f[5].I,f[6].N,f[6].I,f[7].N,f[7].I],x}(i,a,o,s,e)},this.U=D0(e),this.m=1024,this.R=e==="SHA-384"?384:512,this.K=!1,r.hmacKey&&this.k(jt("hmacKey",r.hmacKey,this.T))}};const Xm=[new _(0,1),new _(0,32898),new _(2147483648,32906),new _(2147483648,2147516416),new _(0,32907),new _(0,2147483649),new _(2147483648,2147516545),new _(2147483648,32777),new _(0,138),new _(0,136),new _(0,2147516425),new _(0,2147483658),new _(0,2147516555),new _(2147483648,139),new _(2147483648,32905),new _(2147483648,32771),new _(2147483648,32770),new _(2147483648,128),new _(0,32778),new _(2147483648,2147483658),new _(2147483648,2147516545),new _(2147483648,32896),new _(0,2147483649),new _(2147483648,2147516424)],Zm=[[0,36,3,41,18],[1,44,10,45,2],[62,6,43,15,61],[28,55,25,21,56],[27,20,39,8,14]];function ao(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=[new _(0,0),new _(0,0),new _(0,0),new _(0,0),new _(0,0)];return n}function Jm(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=e[t].slice();return n}function Vr(e,t){let n,r,i,a;const o=[],s=[];if(e!==null)for(r=0;r<e.length;r+=2)t[(r>>>1)%5][(r>>>1)/5|0]=Zn(t[(r>>>1)%5][(r>>>1)/5|0],new _(e[r+1],e[r]));for(n=0;n<24;n+=1){for(a=ao(),r=0;r<5;r+=1)o[r]=(u=t[r][0],c=t[r][1],l=t[r][2],f=t[r][3],d=t[r][4],new _(u.N^c.N^l.N^f.N^d.N,u.I^c.I^l.I^f.I^d.I));for(r=0;r<5;r+=1)s[r]=Zn(o[(r+4)%5],B0(o[(r+1)%5],1));for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)t[r][i]=Zn(t[r][i],s[r]);for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)a[i][(2*r+3*i)%5]=B0(t[r][i],Zm[r][i]);for(r=0;r<5;r+=1)for(i=0;i<5;i+=1)t[r][i]=Zn(a[r][i],new _(~a[(r+1)%5][i].N&a[(r+2)%5][i].N,~a[(r+1)%5][i].I&a[(r+2)%5][i].I));t[0][0]=Zn(t[0][0],Xm[n])}var u,c,l,f,d;return t}function Ru(e){let t,n,r=0;const i=[0,0],a=[4294967295&e,e/br&2097151];for(t=6;t>=0;t--)n=a[t>>2]>>>8*t&255,n===0&&r===0||(i[r+1>>2]|=n<<8*(r+1),r+=1);return r=r!==0?r:1,i[0]|=r,{value:r+1>4?i:[i[0]],binLen:8+8*r}}function Ji(e){return ai(Ru(e.binLen),e)}function F0(e,t){let n,r=Ru(t);r=ai(r,e);const i=t>>>2,a=(i-r.value.length%i)%i;for(n=0;n<a;n++)r.value.push(0);return r.value}let Qm=class extends Di{constructor(e,t,n){let r=6,i=0;super(e,t,n);const a=n||{};if(this.numRounds!==1){if(a.kmacKey||a.hmacKey)throw new Error(wu);if(this.o==="CSHAKE128"||this.o==="CSHAKE256")throw new Error("Cannot set numRounds for CSHAKE variants")}switch(this.T=1,this.C=Mn(this.t,this.i,this.T),this.v=Vr,this.L=Jm,this.B=ao,this.U=ao(),this.K=!1,e){case"SHA3-224":this.m=i=1152,this.R=224,this.M=!0,this.g=this.Y;break;case"SHA3-256":this.m=i=1088,this.R=256,this.M=!0,this.g=this.Y;break;case"SHA3-384":this.m=i=832,this.R=384,this.M=!0,this.g=this.Y;break;case"SHA3-512":this.m=i=576,this.R=512,this.M=!0,this.g=this.Y;break;case"SHAKE128":r=31,this.m=i=1344,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"SHAKE256":r=31,this.m=i=1088,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"KMAC128":r=4,this.m=i=1344,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"KMAC256":r=4,this.m=i=1088,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"CSHAKE128":this.m=i=1344,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"CSHAKE256":this.m=i=1088,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;default:throw new Error(Ar)}this.F=function(o,s,u,c,l){return function(f,d,p,x,h,v,C){let y,g,b=0;const A=[],S=h>>>5,w=d>>>5;for(y=0;y<w&&d>=h;y+=S)x=Vr(f.slice(y,y+S),x),d-=h;for(f=f.slice(y),d%=h;f.length<S;)f.push(0);for(y=d>>>3,f[y>>2]^=v<<y%4*8,f[S-1]^=2147483648,x=Vr(f,x);32*A.length<C&&(g=x[b%5][b/5|0],A.push(g.I),!(32*A.length>=C));)A.push(g.N),b+=1,64*b%h==0&&(Vr(null,x),b=0);return A}(o,s,0,c,i,r,l)},a.hmacKey&&this.k(jt("hmacKey",a.hmacKey,this.T))}O(e,t){const n=function(i){const a=i||{};return{funcName:jt("funcName",a.funcName,1,{value:[],binLen:0}),customization:jt("Customization",a.customization,1,{value:[],binLen:0})}}(e||{});t&&(n.funcName=t);const r=ai(Ji(n.funcName),Ji(n.customization));if(n.customization.binLen!==0||n.funcName.binLen!==0){const i=F0(r,this.m>>>3);for(let a=0;a<i.length;a+=this.m>>>5)this.U=this.v(i.slice(a,a+(this.m>>>5)),this.U),this.A+=this.m;return 4}return 31}X(e){const t=function(r){const i=r||{};return{kmacKey:jt("kmacKey",i.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:jt("Customization",i.customization,1,{value:[],binLen:0})}}(e||{});this.O(e,t.funcName);const n=F0(Ji(t.kmacKey),this.m>>>3);for(let r=0;r<n.length;r+=this.m>>>5)this.U=this.v(n.slice(r,r+(this.m>>>5)),this.U),this.A+=this.m;this.H=!0}_(e){const t=ai({value:this.h.slice(),binLen:this.u},function(n){let r,i,a=0;const o=[0,0],s=[4294967295&n,n/br&2097151];for(r=6;r>=0;r--)i=s[r>>2]>>>8*r&255,i===0&&a===0||(o[a>>2]|=i<<8*a,a+=1);return a=a!==0?a:1,o[a>>2]|=a<<8*a,{value:a+1>4?o:[o[0]],binLen:8+8*a}}(e.outputLen));return this.F(t.value,t.binLen,this.A,this.L(this.U),e.outputLen)}};class eg{constructor(t,n,r){if(t=="SHA-1")this.P=new jm(t,n,r);else if(t=="SHA-224"||t=="SHA-256")this.P=new Vm(t,n,r);else if(t=="SHA-384"||t=="SHA-512")this.P=new qm(t,n,r);else{if(t!="SHA3-224"&&t!="SHA3-256"&&t!="SHA3-384"&&t!="SHA3-512"&&t!="SHAKE128"&&t!="SHAKE256"&&t!="CSHAKE128"&&t!="CSHAKE256"&&t!="KMAC128"&&t!="KMAC256")throw new Error(Ar);this.P=new Qm(t,n,r)}}update(t){return this.P.update(t),this}getHash(t,n){return this.P.getHash(t,n)}setHMACKey(t,n,r){this.P.setHMACKey(t,n,r)}getHMAC(t,n){return this.P.getHMAC(t,n)}}class tg{static generate(t,n){const r={digits:6,algorithm:"SHA-1",period:30,timestamp:Date.now(),...n},i=Math.floor(r.timestamp/1e3),a=this.leftpad(this.dec2hex(Math.floor(i/r.period)),16,"0"),o=new eg(r.algorithm,"HEX");o.setHMACKey(this.base32tohex(t),"HEX"),o.update(a);const s=o.getHMAC("HEX"),u=this.hex2dec(s.substring(s.length-1));let c=(this.hex2dec(s.substr(u*2,8))&this.hex2dec("7fffffff"))+"";const l=Math.max(c.length-r.digits,0);c=c.substring(l,l+r.digits);const f=Math.ceil((r.timestamp+1)/(r.period*1e3))*r.period*1e3;return{otp:c,expires:f}}static hex2dec(t){return parseInt(t,16)}static dec2hex(t){return(t<15.5?"0":"")+Math.round(t).toString(16)}static base32tohex(t){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";let r="",i="";const a=t.replace(/=+$/,"");for(let o=0;o<a.length;o++){const s=n.indexOf(t.charAt(o).toUpperCase());if(s===-1)throw new Error("Invalid base32 character in key");r+=this.leftpad(s.toString(2),5,"0")}for(let o=0;o+8<=r.length;o+=8){const s=r.substr(o,8);i=i+this.leftpad(parseInt(s,2).toString(16),2,"0")}return i}static leftpad(t,n,r){return n+1>=t.length&&(t=Array(n+1-t.length).join(r)+t),t}}var ku={exports:{}};function ng(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Qi={exports:{}};const rg={},ig=Object.freeze(Object.defineProperty({__proto__:null,default:rg},Symbol.toStringTag,{value:"Module"})),ag=Rd(ig);var P0;function ce(){return P0||(P0=1,function(e,t){(function(n,r){e.exports=r()})(oe,function(){var n=n||function(r,i){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof oe<"u"&&oe.crypto&&(a=oe.crypto),!a&&typeof ng=="function")try{a=ag}catch{}var o=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function y(){}return function(g){var b;return y.prototype=g,b=new y,y.prototype=null,b}}(),u={},c=u.lib={},l=c.Base=function(){return{extend:function(y){var g=s(this);return y&&g.mixIn(y),(!g.hasOwnProperty("init")||this.init===g.init)&&(g.init=function(){g.$super.init.apply(this,arguments)}),g.init.prototype=g,g.$super=this,g},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var g in y)y.hasOwnProperty(g)&&(this[g]=y[g]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),f=c.WordArray=l.extend({init:function(y,g){y=this.words=y||[],g!=i?this.sigBytes=g:this.sigBytes=y.length*4},toString:function(y){return(y||p).stringify(this)},concat:function(y){var g=this.words,b=y.words,A=this.sigBytes,S=y.sigBytes;if(this.clamp(),A%4)for(var w=0;w<S;w++){var T=b[w>>>2]>>>24-w%4*8&255;g[A+w>>>2]|=T<<24-(A+w)%4*8}else for(var k=0;k<S;k+=4)g[A+k>>>2]=b[k>>>2];return this.sigBytes+=S,this},clamp:function(){var y=this.words,g=this.sigBytes;y[g>>>2]&=4294967295<<32-g%4*8,y.length=r.ceil(g/4)},clone:function(){var y=l.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var g=[],b=0;b<y;b+=4)g.push(o());return new f.init(g,y)}}),d=u.enc={},p=d.Hex={stringify:function(y){for(var g=y.words,b=y.sigBytes,A=[],S=0;S<b;S++){var w=g[S>>>2]>>>24-S%4*8&255;A.push((w>>>4).toString(16)),A.push((w&15).toString(16))}return A.join("")},parse:function(y){for(var g=y.length,b=[],A=0;A<g;A+=2)b[A>>>3]|=parseInt(y.substr(A,2),16)<<24-A%8*4;return new f.init(b,g/2)}},x=d.Latin1={stringify:function(y){for(var g=y.words,b=y.sigBytes,A=[],S=0;S<b;S++){var w=g[S>>>2]>>>24-S%4*8&255;A.push(String.fromCharCode(w))}return A.join("")},parse:function(y){for(var g=y.length,b=[],A=0;A<g;A++)b[A>>>2]|=(y.charCodeAt(A)&255)<<24-A%4*8;return new f.init(b,g)}},h=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(x.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return x.parse(unescape(encodeURIComponent(y)))}},v=c.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=h.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var g,b=this._data,A=b.words,S=b.sigBytes,w=this.blockSize,T=w*4,k=S/T;y?k=r.ceil(k):k=r.max((k|0)-this._minBufferSize,0);var m=k*w,B=r.min(m*4,S);if(m){for(var R=0;R<m;R+=w)this._doProcessBlock(A,R);g=A.splice(0,m),b.sigBytes-=B}return new f.init(g,B)},clone:function(){var y=l.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});c.Hasher=v.extend({cfg:l.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var g=this._doFinalize();return g},blockSize:16,_createHelper:function(y){return function(g,b){return new y.init(b).finalize(g)}},_createHmacHelper:function(y){return function(g,b){return new C.HMAC.init(y,b).finalize(g)}}});var C=u.algo={};return u}(Math);return n})}(Qi)),Qi.exports}var ea={exports:{}},R0;function Ti(){return R0||(R0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.Base,s=a.WordArray,u=i.x64={};u.Word=o.extend({init:function(c,l){this.high=c,this.low=l}}),u.WordArray=o.extend({init:function(c,l){c=this.words=c||[],l!=r?this.sigBytes=l:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,l=c.length,f=[],d=0;d<l;d++){var p=c[d];f.push(p.high),f.push(p.low)}return s.create(f,this.sigBytes)},clone:function(){for(var c=o.clone.call(this),l=c.words=this.words.slice(0),f=l.length,d=0;d<f;d++)l[d]=l[d].clone();return c}})}(),n})}(ea)),ea.exports}var ta={exports:{}},k0;function og(){return k0||(k0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,i=r.lib,a=i.WordArray,o=a.init,s=a.init=function(u){if(u instanceof ArrayBuffer&&(u=new Uint8Array(u)),(u instanceof Int8Array||typeof Uint8ClampedArray<"u"&&u instanceof Uint8ClampedArray||u instanceof Int16Array||u instanceof Uint16Array||u instanceof Int32Array||u instanceof Uint32Array||u instanceof Float32Array||u instanceof Float64Array)&&(u=new Uint8Array(u.buffer,u.byteOffset,u.byteLength)),u instanceof Uint8Array){for(var c=u.byteLength,l=[],f=0;f<c;f++)l[f>>>2]|=u[f]<<24-f%4*8;o.call(this,l,c)}else o.apply(this,arguments)};s.prototype=a}}(),n.lib.WordArray})}(ta)),ta.exports}var na={exports:{}},M0;function sg(){return M0||(M0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.enc;o.Utf16=o.Utf16BE={stringify:function(u){for(var c=u.words,l=u.sigBytes,f=[],d=0;d<l;d+=2){var p=c[d>>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(p))}return f.join("")},parse:function(u){for(var c=u.length,l=[],f=0;f<c;f++)l[f>>>1]|=u.charCodeAt(f)<<16-f%2*16;return a.create(l,c*2)}},o.Utf16LE={stringify:function(u){for(var c=u.words,l=u.sigBytes,f=[],d=0;d<l;d+=2){var p=s(c[d>>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(p))}return f.join("")},parse:function(u){for(var c=u.length,l=[],f=0;f<c;f++)l[f>>>1]|=s(u.charCodeAt(f)<<16-f%2*16);return a.create(l,c*2)}};function s(u){return u<<8&4278255360|u>>>8&16711935}}(),n.enc.Utf16})}(na)),na.exports}var ra={exports:{}},_0;function cn(){return _0||(_0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.enc;o.Base64={stringify:function(u){var c=u.words,l=u.sigBytes,f=this._map;u.clamp();for(var d=[],p=0;p<l;p+=3)for(var x=c[p>>>2]>>>24-p%4*8&255,h=c[p+1>>>2]>>>24-(p+1)%4*8&255,v=c[p+2>>>2]>>>24-(p+2)%4*8&255,C=x<<16|h<<8|v,y=0;y<4&&p+y*.75<l;y++)d.push(f.charAt(C>>>6*(3-y)&63));var g=f.charAt(64);if(g)for(;d.length%4;)d.push(g);return d.join("")},parse:function(u){var c=u.length,l=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d<l.length;d++)f[l.charCodeAt(d)]=d}var p=l.charAt(64);if(p){var x=u.indexOf(p);x!==-1&&(c=x)}return s(u,c,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(u,c,l){for(var f=[],d=0,p=0;p<c;p++)if(p%4){var x=l[u.charCodeAt(p-1)]<<p%4*2,h=l[u.charCodeAt(p)]>>>6-p%4*2,v=x|h;f[d>>>2]|=v<<24-d%4*8,d++}return a.create(f,d)}}(),n.enc.Base64})}(ra)),ra.exports}var ia={exports:{}},I0;function cg(){return I0||(I0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.enc;o.Base64url={stringify:function(u,c){c===void 0&&(c=!0);var l=u.words,f=u.sigBytes,d=c?this._safe_map:this._map;u.clamp();for(var p=[],x=0;x<f;x+=3)for(var h=l[x>>>2]>>>24-x%4*8&255,v=l[x+1>>>2]>>>24-(x+1)%4*8&255,C=l[x+2>>>2]>>>24-(x+2)%4*8&255,y=h<<16|v<<8|C,g=0;g<4&&x+g*.75<f;g++)p.push(d.charAt(y>>>6*(3-g)&63));var b=d.charAt(64);if(b)for(;p.length%4;)p.push(b);return p.join("")},parse:function(u,c){c===void 0&&(c=!0);var l=u.length,f=c?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var p=0;p<f.length;p++)d[f.charCodeAt(p)]=p}var x=f.charAt(64);if(x){var h=u.indexOf(x);h!==-1&&(l=h)}return s(u,l,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(u,c,l){for(var f=[],d=0,p=0;p<c;p++)if(p%4){var x=l[u.charCodeAt(p-1)]<<p%4*2,h=l[u.charCodeAt(p)]>>>6-p%4*2,v=x|h;f[d>>>2]|=v<<24-d%4*8,d++}return a.create(f,d)}}(),n.enc.Base64url})}(ia)),ia.exports}var aa={exports:{}},O0;function ln(){return O0||(O0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.WordArray,s=a.Hasher,u=i.algo,c=[];(function(){for(var h=0;h<64;h++)c[h]=r.abs(r.sin(h+1))*4294967296|0})();var l=u.MD5=s.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(h,v){for(var C=0;C<16;C++){var y=v+C,g=h[y];h[y]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var b=this._hash.words,A=h[v+0],S=h[v+1],w=h[v+2],T=h[v+3],k=h[v+4],m=h[v+5],B=h[v+6],R=h[v+7],P=h[v+8],z=h[v+9],W=h[v+10],Z=h[v+11],J=h[v+12],ee=h[v+13],ne=h[v+14],N=h[v+15],F=b[0],O=b[1],I=b[2],M=b[3];F=f(F,O,I,M,A,7,c[0]),M=f(M,F,O,I,S,12,c[1]),I=f(I,M,F,O,w,17,c[2]),O=f(O,I,M,F,T,22,c[3]),F=f(F,O,I,M,k,7,c[4]),M=f(M,F,O,I,m,12,c[5]),I=f(I,M,F,O,B,17,c[6]),O=f(O,I,M,F,R,22,c[7]),F=f(F,O,I,M,P,7,c[8]),M=f(M,F,O,I,z,12,c[9]),I=f(I,M,F,O,W,17,c[10]),O=f(O,I,M,F,Z,22,c[11]),F=f(F,O,I,M,J,7,c[12]),M=f(M,F,O,I,ee,12,c[13]),I=f(I,M,F,O,ne,17,c[14]),O=f(O,I,M,F,N,22,c[15]),F=d(F,O,I,M,S,5,c[16]),M=d(M,F,O,I,B,9,c[17]),I=d(I,M,F,O,Z,14,c[18]),O=d(O,I,M,F,A,20,c[19]),F=d(F,O,I,M,m,5,c[20]),M=d(M,F,O,I,W,9,c[21]),I=d(I,M,F,O,N,14,c[22]),O=d(O,I,M,F,k,20,c[23]),F=d(F,O,I,M,z,5,c[24]),M=d(M,F,O,I,ne,9,c[25]),I=d(I,M,F,O,T,14,c[26]),O=d(O,I,M,F,P,20,c[27]),F=d(F,O,I,M,ee,5,c[28]),M=d(M,F,O,I,w,9,c[29]),I=d(I,M,F,O,R,14,c[30]),O=d(O,I,M,F,J,20,c[31]),F=p(F,O,I,M,m,4,c[32]),M=p(M,F,O,I,P,11,c[33]),I=p(I,M,F,O,Z,16,c[34]),O=p(O,I,M,F,ne,23,c[35]),F=p(F,O,I,M,S,4,c[36]),M=p(M,F,O,I,k,11,c[37]),I=p(I,M,F,O,R,16,c[38]),O=p(O,I,M,F,W,23,c[39]),F=p(F,O,I,M,ee,4,c[40]),M=p(M,F,O,I,A,11,c[41]),I=p(I,M,F,O,T,16,c[42]),O=p(O,I,M,F,B,23,c[43]),F=p(F,O,I,M,z,4,c[44]),M=p(M,F,O,I,J,11,c[45]),I=p(I,M,F,O,N,16,c[46]),O=p(O,I,M,F,w,23,c[47]),F=x(F,O,I,M,A,6,c[48]),M=x(M,F,O,I,R,10,c[49]),I=x(I,M,F,O,ne,15,c[50]),O=x(O,I,M,F,m,21,c[51]),F=x(F,O,I,M,J,6,c[52]),M=x(M,F,O,I,T,10,c[53]),I=x(I,M,F,O,W,15,c[54]),O=x(O,I,M,F,S,21,c[55]),F=x(F,O,I,M,P,6,c[56]),M=x(M,F,O,I,N,10,c[57]),I=x(I,M,F,O,B,15,c[58]),O=x(O,I,M,F,ee,21,c[59]),F=x(F,O,I,M,k,6,c[60]),M=x(M,F,O,I,Z,10,c[61]),I=x(I,M,F,O,w,15,c[62]),O=x(O,I,M,F,z,21,c[63]),b[0]=b[0]+F|0,b[1]=b[1]+O|0,b[2]=b[2]+I|0,b[3]=b[3]+M|0},_doFinalize:function(){var h=this._data,v=h.words,C=this._nDataBytes*8,y=h.sigBytes*8;v[y>>>5]|=128<<24-y%32;var g=r.floor(C/4294967296),b=C;v[(y+64>>>9<<4)+15]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,v[(y+64>>>9<<4)+14]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,h.sigBytes=(v.length+1)*4,this._process();for(var A=this._hash,S=A.words,w=0;w<4;w++){var T=S[w];S[w]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return A},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});function f(h,v,C,y,g,b,A){var S=h+(v&C|~v&y)+g+A;return(S<<b|S>>>32-b)+v}function d(h,v,C,y,g,b,A){var S=h+(v&y|C&~y)+g+A;return(S<<b|S>>>32-b)+v}function p(h,v,C,y,g,b,A){var S=h+(v^C^y)+g+A;return(S<<b|S>>>32-b)+v}function x(h,v,C,y,g,b,A){var S=h+(C^(v|~y))+g+A;return(S<<b|S>>>32-b)+v}i.MD5=s._createHelper(l),i.HmacMD5=s._createHmacHelper(l)}(Math),n.MD5})}(aa)),aa.exports}var oa={exports:{}},N0;function Mu(){return N0||(N0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=i.Hasher,s=r.algo,u=[],c=s.SHA1=o.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(l,f){for(var d=this._hash.words,p=d[0],x=d[1],h=d[2],v=d[3],C=d[4],y=0;y<80;y++){if(y<16)u[y]=l[f+y]|0;else{var g=u[y-3]^u[y-8]^u[y-14]^u[y-16];u[y]=g<<1|g>>>31}var b=(p<<5|p>>>27)+C+u[y];y<20?b+=(x&h|~x&v)+1518500249:y<40?b+=(x^h^v)+1859775393:y<60?b+=(x&h|x&v|h&v)-1894007588:b+=(x^h^v)-899497514,C=v,v=h,h=x<<30|x>>>2,x=p,p=b}d[0]=d[0]+p|0,d[1]=d[1]+x|0,d[2]=d[2]+h|0,d[3]=d[3]+v|0,d[4]=d[4]+C|0},_doFinalize:function(){var l=this._data,f=l.words,d=this._nDataBytes*8,p=l.sigBytes*8;return f[p>>>5]|=128<<24-p%32,f[(p+64>>>9<<4)+14]=Math.floor(d/4294967296),f[(p+64>>>9<<4)+15]=d,l.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var l=o.clone.call(this);return l._hash=this._hash.clone(),l}});r.SHA1=o._createHelper(c),r.HmacSHA1=o._createHmacHelper(c)}(),n.SHA1})}(oa)),oa.exports}var sa={exports:{}},L0;function Ko(){return L0||(L0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.WordArray,s=a.Hasher,u=i.algo,c=[],l=[];(function(){function p(C){for(var y=r.sqrt(C),g=2;g<=y;g++)if(!(C%g))return!1;return!0}function x(C){return(C-(C|0))*4294967296|0}for(var h=2,v=0;v<64;)p(h)&&(v<8&&(c[v]=x(r.pow(h,1/2))),l[v]=x(r.pow(h,1/3)),v++),h++})();var f=[],d=u.SHA256=s.extend({_doReset:function(){this._hash=new o.init(c.slice(0))},_doProcessBlock:function(p,x){for(var h=this._hash.words,v=h[0],C=h[1],y=h[2],g=h[3],b=h[4],A=h[5],S=h[6],w=h[7],T=0;T<64;T++){if(T<16)f[T]=p[x+T]|0;else{var k=f[T-15],m=(k<<25|k>>>7)^(k<<14|k>>>18)^k>>>3,B=f[T-2],R=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;f[T]=m+f[T-7]+R+f[T-16]}var P=b&A^~b&S,z=v&C^v&y^C&y,W=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),Z=(b<<26|b>>>6)^(b<<21|b>>>11)^(b<<7|b>>>25),J=w+Z+P+l[T]+f[T],ee=W+z;w=S,S=A,A=b,b=g+J|0,g=y,y=C,C=v,v=J+ee|0}h[0]=h[0]+v|0,h[1]=h[1]+C|0,h[2]=h[2]+y|0,h[3]=h[3]+g|0,h[4]=h[4]+b|0,h[5]=h[5]+A|0,h[6]=h[6]+S|0,h[7]=h[7]+w|0},_doFinalize:function(){var p=this._data,x=p.words,h=this._nDataBytes*8,v=p.sigBytes*8;return x[v>>>5]|=128<<24-v%32,x[(v+64>>>9<<4)+14]=r.floor(h/4294967296),x[(v+64>>>9<<4)+15]=h,p.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var p=s.clone.call(this);return p._hash=this._hash.clone(),p}});i.SHA256=s._createHelper(d),i.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})}(sa)),sa.exports}var ca={exports:{}},j0;function lg(){return j0||(j0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Ko())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.WordArray,o=r.algo,s=o.SHA256,u=o.SHA224=s.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=s._doFinalize.call(this);return c.sigBytes-=4,c}});r.SHA224=s._createHelper(u),r.HmacSHA224=s._createHmacHelper(u)}(),n.SHA224})}(ca)),ca.exports}var la={exports:{}},V0;function _u(){return V0||(V0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Ti())})(oe,function(n){return function(){var r=n,i=r.lib,a=i.Hasher,o=r.x64,s=o.Word,u=o.WordArray,c=r.algo;function l(){return s.create.apply(s,arguments)}var f=[l(1116352408,3609767458),l(1899447441,602891725),l(3049323471,3964484399),l(3921009573,2173295548),l(961987163,4081628472),l(1508970993,3053834265),l(2453635748,2937671579),l(2870763221,3664609560),l(3624381080,2734883394),l(310598401,1164996542),l(607225278,1323610764),l(1426881987,3590304994),l(1925078388,4068182383),l(2162078206,991336113),l(2614888103,633803317),l(3248222580,3479774868),l(3835390401,2666613458),l(4022224774,944711139),l(264347078,2341262773),l(604807628,2007800933),l(770255983,1495990901),l(1249150122,1856431235),l(1555081692,3175218132),l(1996064986,2198950837),l(2554220882,3999719339),l(2821834349,766784016),l(2952996808,2566594879),l(3210313671,3203337956),l(3336571891,1034457026),l(3584528711,2466948901),l(113926993,3758326383),l(338241895,168717936),l(666307205,1188179964),l(773529912,1546045734),l(1294757372,1522805485),l(1396182291,2643833823),l(1695183700,2343527390),l(1986661051,1014477480),l(2177026350,1206759142),l(2456956037,344077627),l(2730485921,1290863460),l(2820302411,3158454273),l(3259730800,3505952657),l(3345764771,106217008),l(3516065817,3606008344),l(3600352804,1432725776),l(4094571909,1467031594),l(275423344,851169720),l(430227734,3100823752),l(506948616,1363258195),l(659060556,3750685593),l(883997877,3785050280),l(958139571,3318307427),l(1322822218,3812723403),l(1537002063,2003034995),l(1747873779,3602036899),l(1955562222,1575990012),l(2024104815,1125592928),l(2227730452,2716904306),l(2361852424,442776044),l(2428436474,593698344),l(2756734187,3733110249),l(3204031479,2999351573),l(3329325298,3815920427),l(3391569614,3928383900),l(3515267271,566280711),l(3940187606,3454069534),l(4118630271,4000239992),l(116418474,1914138554),l(174292421,2731055270),l(289380356,3203993006),l(460393269,320620315),l(685471733,587496836),l(852142971,1086792851),l(1017036298,365543100),l(1126000580,2618297676),l(1288033470,3409855158),l(1501505948,4234509866),l(1607167915,987167468),l(1816402316,1246189591)],d=[];(function(){for(var x=0;x<80;x++)d[x]=l()})();var p=c.SHA512=a.extend({_doReset:function(){this._hash=new u.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(x,h){for(var v=this._hash.words,C=v[0],y=v[1],g=v[2],b=v[3],A=v[4],S=v[5],w=v[6],T=v[7],k=C.high,m=C.low,B=y.high,R=y.low,P=g.high,z=g.low,W=b.high,Z=b.low,J=A.high,ee=A.low,ne=S.high,N=S.low,F=w.high,O=w.low,I=T.high,M=T.low,j=k,U=m,Q=B,K=R,ae=P,ie=z,Re=W,G=Z,Ce=J,ke=ee,et=ne,ct=N,Gt=F,It=O,Ot=I,Yt=M,Xe=0;Xe<80;Xe++){var Ve,mt,un=d[Xe];if(Xe<16)mt=un.high=x[h+Xe*2]|0,Ve=un.low=x[h+Xe*2+1]|0;else{var Ln=d[Xe-15],wt=Ln.high,lt=Ln.low,Mi=(wt>>>1|lt<<31)^(wt>>>8|lt<<24)^wt>>>7,jn=(lt>>>1|wt<<31)^(lt>>>8|wt<<24)^(lt>>>7|wt<<25),Vn=d[Xe-2],gt=Vn.high,qt=Vn.low,_i=(gt>>>19|qt<<13)^(gt<<3|qt>>>29)^gt>>>6,Dr=(qt>>>19|gt<<13)^(qt<<3|gt>>>29)^(qt>>>6|gt<<26),Tr=d[Xe-7],Ii=Tr.high,Oi=Tr.low,Fr=d[Xe-16],$n=Fr.high,Un=Fr.low;Ve=jn+Oi,mt=Mi+Ii+(Ve>>>0<jn>>>0?1:0),Ve=Ve+Dr,mt=mt+_i+(Ve>>>0<Dr>>>0?1:0),Ve=Ve+Un,mt=mt+$n+(Ve>>>0<Un>>>0?1:0),un.high=mt,un.low=Ve}var Nt=Ce&et^~Ce&Gt,fn=ke&ct^~ke&It,Hn=j&Q^j&ae^Q&ae,Pr=U&K^U&ie^K&ie,Ni=(j>>>28|U<<4)^(j<<30|U>>>2)^(j<<25|U>>>7),zn=(U>>>28|j<<4)^(U<<30|j>>>2)^(U<<25|j>>>7),Li=(Ce>>>14|ke<<18)^(Ce>>>18|ke<<14)^(Ce<<23|ke>>>9),Rr=(ke>>>14|Ce<<18)^(ke>>>18|Ce<<14)^(ke<<23|Ce>>>9),Wn=f[Xe],ji=Wn.high,kr=Wn.low,$e=Yt+Rr,ut=Ot+Li+($e>>>0<Yt>>>0?1:0),$e=$e+fn,ut=ut+Nt+($e>>>0<fn>>>0?1:0),$e=$e+kr,ut=ut+ji+($e>>>0<kr>>>0?1:0),$e=$e+Ve,ut=ut+mt+($e>>>0<Ve>>>0?1:0),Mr=zn+Pr,Vi=Ni+Hn+(Mr>>>0<zn>>>0?1:0);Ot=Gt,Yt=It,Gt=et,It=ct,et=Ce,ct=ke,ke=G+$e|0,Ce=Re+ut+(ke>>>0<G>>>0?1:0)|0,Re=ae,G=ie,ae=Q,ie=K,Q=j,K=U,U=$e+Mr|0,j=ut+Vi+(U>>>0<$e>>>0?1:0)|0}m=C.low=m+U,C.high=k+j+(m>>>0<U>>>0?1:0),R=y.low=R+K,y.high=B+Q+(R>>>0<K>>>0?1:0),z=g.low=z+ie,g.high=P+ae+(z>>>0<ie>>>0?1:0),Z=b.low=Z+G,b.high=W+Re+(Z>>>0<G>>>0?1:0),ee=A.low=ee+ke,A.high=J+Ce+(ee>>>0<ke>>>0?1:0),N=S.low=N+ct,S.high=ne+et+(N>>>0<ct>>>0?1:0),O=w.low=O+It,w.high=F+Gt+(O>>>0<It>>>0?1:0),M=T.low=M+Yt,T.high=I+Ot+(M>>>0<Yt>>>0?1:0)},_doFinalize:function(){var x=this._data,h=x.words,v=this._nDataBytes*8,C=x.sigBytes*8;h[C>>>5]|=128<<24-C%32,h[(C+128>>>10<<5)+30]=Math.floor(v/4294967296),h[(C+128>>>10<<5)+31]=v,x.sigBytes=h.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});r.SHA512=a._createHelper(p),r.HmacSHA512=a._createHmacHelper(p)}(),n.SHA512})}(la)),la.exports}var ua={exports:{}},$0;function ug(){return $0||($0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Ti(),_u())})(oe,function(n){return function(){var r=n,i=r.x64,a=i.Word,o=i.WordArray,s=r.algo,u=s.SHA512,c=s.SHA384=u.extend({_doReset:function(){this._hash=new o.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var l=u._doFinalize.call(this);return l.sigBytes-=16,l}});r.SHA384=u._createHelper(c),r.HmacSHA384=u._createHmacHelper(c)}(),n.SHA384})}(ua)),ua.exports}var fa={exports:{}},U0;function fg(){return U0||(U0=1,function(e,t){(function(n,r,i){e.exports=r(ce(),Ti())})(oe,function(n){return function(r){var i=n,a=i.lib,o=a.WordArray,s=a.Hasher,u=i.x64,c=u.Word,l=i.algo,f=[],d=[],p=[];(function(){for(var v=1,C=0,y=0;y<24;y++){f[v+5*C]=(y+1)*(y+2)/2%64;var g=C%5,b=(2*v+3*C)%5;v=g,C=b}for(var v=0;v<5;v++)for(var C=0;C<5;C++)d[v+5*C]=C+(2*v+3*C)%5*5;for(var A=1,S=0;S<24;S++){for(var w=0,T=0,k=0;k<7;k++){if(A&1){var m=(1<<k)-1;m<32?T^=1<<m:w^=1<<m-32}A&128?A=A<<1^113:A<<=1}p[S]=c.create(w,T)}})();var x=[];(function(){for(var v=0;v<25;v++)x[v]=c.create()})();var h=l.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var v=this._state=[],C=0;C<25;C++)v[C]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(v,C){for(var y=this._state,g=this.blockSize/2,b=0;b<g;b++){var A=v[C+2*b],S=v[C+2*b+1];A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360;var w=y[b];w.high^=S,w.low^=A}for(var T=0;T<24;T++){for(var k=0;k<5;k++){for(var m=0,B=0,R=0;R<5;R++){var w=y[k+5*R];m^=w.high,B^=w.low}var P=x[k];P.high=m,P.low=B}for(var k=0;k<5;k++)for(var z=x[(k+4)%5],W=x[(k+1)%5],Z=W.high,J=W.low,m=z.high^(Z<<1|J>>>31),B=z.low^(J<<1|Z>>>31),R=0;R<5;R++){var w=y[k+5*R];w.high^=m,w.low^=B}for(var ee=1;ee<25;ee++){var m,B,w=y[ee],ne=w.high,N=w.low,F=f[ee];F<32?(m=ne<<F|N>>>32-F,B=N<<F|ne>>>32-F):(m=N<<F-32|ne>>>64-F,B=ne<<F-32|N>>>64-F);var O=x[d[ee]];O.high=m,O.low=B}var I=x[0],M=y[0];I.high=M.high,I.low=M.low;for(var k=0;k<5;k++)for(var R=0;R<5;R++){var ee=k+5*R,w=y[ee],j=x[ee],U=x[(k+1)%5+5*R],Q=x[(k+2)%5+5*R];w.high=j.high^~U.high&Q.high,w.low=j.low^~U.low&Q.low}var w=y[0],K=p[T];w.high^=K.high,w.low^=K.low}},_doFinalize:function(){var v=this._data,C=v.words;this._nDataBytes*8;var y=v.sigBytes*8,g=this.blockSize*32;C[y>>>5]|=1<<24-y%32,C[(r.ceil((y+1)/g)*g>>>5)-1]|=128,v.sigBytes=C.length*4,this._process();for(var b=this._state,A=this.cfg.outputLength/8,S=A/8,w=[],T=0;T<S;T++){var k=b[T],m=k.high,B=k.low;m=(m<<8|m>>>24)&16711935|(m<<24|m>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,w.push(B),w.push(m)}return new o.init(w,A)},clone:function(){for(var v=s.clone.call(this),C=v._state=this._state.slice(0),y=0;y<25;y++)C[y]=C[y].clone();return v}});i.SHA3=s._createHelper(h),i.HmacSHA3=s._createHmacHelper(h)}(Math),n.SHA3})}(fa)),fa.exports}var da={exports:{}},H0;function dg(){return H0||(H0=1,function(e,t){(function(n,r){e.exports=r(ce())})(oe,function(n){/** @preserve
455
455
  (c) 2012 by Cédric Mesnil. All rights reserved.
456
456
 
457
457
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -505,7 +505,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
505
505
  display: flex;
506
506
  transform: ${({transform:e})=>e};
507
507
  transition: ${({transition:e})=>e};
508
- padding: 2px;
508
+ padding: 1px;
509
509
  &:hover {
510
510
  background: var(--secondary-lightest);
511
511
  border-radius: 6px;
@@ -517,8 +517,6 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
517
517
  `,Nu=q.section`
518
518
  position: relative;
519
519
  display: flex;
520
- align-items: center;
521
- justify-content: center;
522
520
  `,Lu=q.div`
523
521
  width: 14px;
524
522
  height: 14px;
@@ -538,7 +536,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
538
536
  grid-template-columns: 1fr max-content;
539
537
  width: 100%;
540
538
  background: ${({isDraggingNeighbouring:e})=>e?"var(--color-primary-5)":"inherit"};
541
- border-radius: ${({isDraggingNeighbouring:e})=>e?"16px":"0"};
539
+ border-radius: ${({isDraggingNeighbouring:e})=>e?"8px":"0"};
542
540
  `,$g=q.ul`
543
541
  display: flex;
544
542
  flex-direction: column;
package/dist/index.mjs CHANGED
@@ -7117,7 +7117,8 @@ const Zm = G.div`
7117
7117
  onChangeValue: n,
7118
7118
  ParamErrors: r,
7119
7119
  onDelete: i,
7120
- disabledEdit: o
7120
+ disabledEdit: o,
7121
+ isMainApp: s
7121
7122
  }
7122
7123
  ) }, c)) }),
7123
7124
  /* @__PURE__ */ E.jsx(
@@ -7144,23 +7145,24 @@ const Zm = G.div`
7144
7145
  mask: s,
7145
7146
  disabled: u,
7146
7147
  ParamErrors: c,
7147
- disabledEdit: l
7148
- } = e, f = ot(null), [d, p] = Ce(!1);
7148
+ disabledEdit: l,
7149
+ isMainApp: f
7150
+ } = e, d = ot(null), [p, x] = Ce(!1);
7149
7151
  Tt(() => {
7150
- var b;
7151
- (b = f.current) == null || b.scrollIntoView({ behavior: "smooth", block: "nearest" });
7152
+ var y;
7153
+ !f && ((y = d.current) == null || y.scrollIntoView({ behavior: "smooth", block: "nearest" }));
7152
7154
  }, []);
7153
- const x = () => {
7154
- p(!d);
7155
- }, h = ot(null), v = ot(null);
7156
- return /* @__PURE__ */ E.jsxs(J, { ref: f, display: "flex", width: "100%", flexDirection: "column", children: [
7155
+ const h = () => {
7156
+ x(!p);
7157
+ }, v = ot(null), b = ot(null);
7158
+ return /* @__PURE__ */ E.jsxs(J, { ref: d, display: "flex", width: "100%", flexDirection: "column", children: [
7157
7159
  /* @__PURE__ */ E.jsxs($r, { sx: { flexGrow: 1 }, container: !0, spacing: 1, children: [
7158
7160
  /* @__PURE__ */ E.jsx($r, { size: 5.4, children: /* @__PURE__ */ E.jsx(
7159
7161
  yr,
7160
7162
  {
7161
- ref: h,
7163
+ ref: v,
7162
7164
  value: t,
7163
- onChange: (b) => n == null ? void 0 : n(r, b.target.value, a || ""),
7165
+ onChange: (y) => n == null ? void 0 : n(r, y.target.value, a || ""),
7164
7166
  size: "small",
7165
7167
  noBorder: !0,
7166
7168
  error: i,
@@ -7172,14 +7174,14 @@ const Zm = G.div`
7172
7174
  /* @__PURE__ */ E.jsx($r, { size: 5.4, children: /* @__PURE__ */ E.jsx(
7173
7175
  yr,
7174
7176
  {
7175
- ref: v,
7177
+ ref: b,
7176
7178
  value: a,
7177
7179
  size: "small",
7178
- type: s && !d ? "password" : "text",
7179
- onChange: (b) => n == null ? void 0 : n(r, t, b.target.value, s),
7180
+ type: s && !p ? "password" : "text",
7181
+ onChange: (y) => n == null ? void 0 : n(r, t, y.target.value, s),
7180
7182
  noBorder: !0,
7181
7183
  placeholder: "parameter_value",
7182
- endIcon: s ? d ? /* @__PURE__ */ E.jsx(Zh, { onClick: x, size: 12 }) : /* @__PURE__ */ E.jsx(Xh, { onClick: x, size: 12 }) : "",
7184
+ endIcon: s ? p ? /* @__PURE__ */ E.jsx(Zh, { onClick: h, size: 12 }) : /* @__PURE__ */ E.jsx(Xh, { onClick: h, size: 12 }) : "",
7183
7185
  disabled: l
7184
7186
  }
7185
7187
  ) }),
@@ -13063,7 +13065,7 @@ const k6 = G(J)`
13063
13065
  display: flex;
13064
13066
  transform: ${({ transform: e }) => e};
13065
13067
  transition: ${({ transition: e }) => e};
13066
- padding: 2px;
13068
+ padding: 1px;
13067
13069
  &:hover {
13068
13070
  background: var(--secondary-lightest);
13069
13071
  border-radius: 6px;
@@ -13075,8 +13077,6 @@ const k6 = G(J)`
13075
13077
  `, l2 = G.section`
13076
13078
  position: relative;
13077
13079
  display: flex;
13078
- align-items: center;
13079
- justify-content: center;
13080
13080
  `, u2 = G.div`
13081
13081
  width: 14px;
13082
13082
  height: 14px;
@@ -13096,7 +13096,7 @@ const k6 = G(J)`
13096
13096
  grid-template-columns: 1fr max-content;
13097
13097
  width: 100%;
13098
13098
  background: ${({ isDraggingNeighbouring: e }) => e ? "var(--color-primary-5)" : "inherit"};
13099
- border-radius: ${({ isDraggingNeighbouring: e }) => e ? "16px" : "0"};
13099
+ border-radius: ${({ isDraggingNeighbouring: e }) => e ? "8px" : "0"};
13100
13100
  `, N6 = G.ul`
13101
13101
  display: flex;
13102
13102
  flex-direction: column;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dev-blinq/ui-systems",
3
3
  "description": "this package contains all ui components like button, input, checkbox, colors that blinq.io needs",
4
- "version": "1.0.111",
4
+ "version": "1.0.112",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",