@dev-blinq/ui-systems 1.0.107 → 1.0.108
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 +1 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
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
|
-
`,X1=({onClick:e,params:t,handleUpdateParam:n,ParamErrors:r,removeParameter:a,dataSet:i,disabledEdit:l})=>E.jsxs($.Box,{width:"100%",display:"flex",flexDirection:"column",p:1,children:[i&&E.jsx($.Box,{mb:3,mt:2,children:E.jsx(vo,{noInlineAction:!0,addOptionLabel:"Add Data Set",showDeleteIcon:!l,showAddOption:!l,width:"200px",...i,disabled:l,id:"data-set-select-scenario"})}),E.jsx(G1,{children:t.map((s,d)=>E.jsx(E.Fragment,{children:E.jsx(Z1,{...s,index:d,onChangeValue:n,ParamErrors:r,onDelete:a,disabledEdit:l})},d))}),E.jsx(go,{variant:"outlined",sx:{my:2},startIcon:E.jsx(Pi,{}),fullWidth:!0,onClick:e,disabled:l,children:"Add Parameter"})]}),Z1=e=>{const{keyName:t,onChangeValue:n,index:r,error:a,value:i,onDelete:l,mask:s,disabled:d,ParamErrors:o,disabledEdit:c}=e,x=J.useRef(null),[u,g]=J.useState(!1);J.useEffect(()=>{var b;(b=x.current)==null||b.scrollIntoView({behavior:"smooth",block:"nearest"})},[]);const h=()=>{g(!u)},f=J.useRef(null),y=J.useRef(null);return E.jsxs($.Box,{ref:x,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(Kt,{ref:f,value:t,onChange:b=>n==null?void 0:n(r,b.target.value,i||""),size:"small",noBorder:!0,error:a,placeholder:"parameter_key",disabled:c})}),E.jsx($.Grid2,{size:5.4,children:E.jsx(Kt,{ref:y,value:i,size:"small",type:s&&!u?"password":"text",onChange:b=>n==null?void 0:n(r,t,b.target.value,s),noBorder:!0,placeholder:"parameter_value",endIcon:s?u?E.jsx(Ri,{onClick:h,size:12}):E.jsx(ki,{onClick:h,size:12}):"",disabled:c})}),E.jsx($.Grid2,{size:1.2,children:E.jsx($.Box,{ml:1,mt:1,display:"flex",justifyContent:"start",alignItems:"end",children:E.jsx(Ii,{onClick:()=>!d&&(l==null?void 0:l(r)),size:18,color:d?"var(--color-grey-50)":"var(--color-error-100)"})})})]}),a&&E.jsx(be,{weight:"medium",value:"Parameter is not used in the scenario",color:"var(--color-error-100)",mt:.5}),o&&E.jsx(o,{index:r})]})},yo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Co="ARRAYBUFFER not supported by this environment",bo="UINT8ARRAY not supported by this environment";function Pa(e,t,n,r){let a,i,l;const s=t||[0],d=(n=n||0)>>>3,o=r===-1?3:0;for(a=0;a<e.length;a+=1)l=a+d,i=l>>>2,s.length<=i&&s.push(0),s[i]|=e[a]<<8*(o+r*(l%4));return{value:s,binLen:8*e.length+n}}function Vt(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,a,i){return function(l,s,d,o){let c,x,u,g;if(l.length%2!=0)throw new Error("String of HEX type must be in byte increments");const h=s||[0],f=(d=d||0)>>>3,y=o===-1?3:0;for(c=0;c<l.length;c+=2){if(x=parseInt(l.substr(c,2),16),isNaN(x))throw new Error("String of HEX type contains invalid characters");for(g=(c>>>1)+f,u=g>>>2;h.length<=u;)h.push(0);h[u]|=x<<8*(y+o*(g%4))}return{value:h,binLen:4*l.length+d}}(r,a,i,n)};case"TEXT":return function(r,a,i){return function(l,s,d,o,c){let x,u,g,h,f,y,b,m,v=0;const C=d||[0],A=(o=o||0)>>>3;if(s==="UTF8")for(b=c===-1?3:0,g=0;g<l.length;g+=1)for(x=l.charCodeAt(g),u=[],128>x?u.push(x):2048>x?(u.push(192|x>>>6),u.push(128|63&x)):55296>x||57344<=x?u.push(224|x>>>12,128|x>>>6&63,128|63&x):(g+=1,x=65536+((1023&x)<<10|1023&l.charCodeAt(g)),u.push(240|x>>>18,128|x>>>12&63,128|x>>>6&63,128|63&x)),h=0;h<u.length;h+=1){for(y=v+A,f=y>>>2;C.length<=f;)C.push(0);C[f]|=u[h]<<8*(b+c*(y%4)),v+=1}else for(b=c===-1?2:0,m=s==="UTF16LE"&&c!==1||s!=="UTF16LE"&&c===1,g=0;g<l.length;g+=1){for(x=l.charCodeAt(g),m===!0&&(h=255&x,x=h<<8|x>>>8),y=v+A,f=y>>>2;C.length<=f;)C.push(0);C[f]|=x<<8*(b+c*(y%4)),v+=2}return{value:C,binLen:8*v+o}}(r,t,a,i,n)};case"B64":return function(r,a,i){return function(l,s,d,o){let c,x,u,g,h,f,y,b=0;const m=s||[0],v=(d=d||0)>>>3,C=o===-1?3:0,A=l.indexOf("=");if(l.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(l=l.replace(/=/g,""),A!==-1&&A<l.length)throw new Error("Invalid '=' found in base-64 string");for(x=0;x<l.length;x+=4){for(h=l.substr(x,4),g=0,u=0;u<h.length;u+=1)c=yo.indexOf(h.charAt(u)),g|=c<<18-6*u;for(u=0;u<h.length-1;u+=1){for(y=b+v,f=y>>>2;m.length<=f;)m.push(0);m[f]|=(g>>>16-8*u&255)<<8*(C+o*(y%4)),b+=1}}return{value:m,binLen:8*b+d}}(r,a,i,n)};case"BYTES":return function(r,a,i){return function(l,s,d,o){let c,x,u,g;const h=s||[0],f=(d=d||0)>>>3,y=o===-1?3:0;for(x=0;x<l.length;x+=1)c=l.charCodeAt(x),g=x+f,u=g>>>2,h.length<=u&&h.push(0),h[u]|=c<<8*(y+o*(g%4));return{value:h,binLen:8*l.length+d}}(r,a,i,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Co)}return function(r,a,i){return function(l,s,d,o){return Pa(new Uint8Array(l),s,d,o)}(r,a,i,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(bo)}return function(r,a,i){return Pa(r,a,i,n)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function Ia(e,t,n,r){switch(e){case"HEX":return function(a){return function(i,l,s,d){const o="0123456789abcdef";let c,x,u="";const g=l/8,h=s===-1?3:0;for(c=0;c<g;c+=1)x=i[c>>>2]>>>8*(h+s*(c%4)),u+=o.charAt(x>>>4&15)+o.charAt(15&x);return d.outputUpper?u.toUpperCase():u}(a,t,n,r)};case"B64":return function(a){return function(i,l,s,d){let o,c,x,u,g,h="";const f=l/8,y=s===-1?3:0;for(o=0;o<f;o+=3)for(u=o+1<f?i[o+1>>>2]:0,g=o+2<f?i[o+2>>>2]:0,x=(i[o>>>2]>>>8*(y+s*(o%4))&255)<<16|(u>>>8*(y+s*((o+1)%4))&255)<<8|g>>>8*(y+s*((o+2)%4))&255,c=0;c<4;c+=1)h+=8*o+6*c<=l?yo.charAt(x>>>6*(3-c)&63):d.b64Pad;return h}(a,t,n,r)};case"BYTES":return function(a){return function(i,l,s){let d,o,c="";const x=l/8,u=s===-1?3:0;for(d=0;d<x;d+=1)o=i[d>>>2]>>>8*(u+s*(d%4))&255,c+=String.fromCharCode(o);return c}(a,t,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Co)}return function(a){return function(i,l,s){let d;const o=l/8,c=new ArrayBuffer(o),x=new Uint8Array(c),u=s===-1?3:0;for(d=0;d<o;d+=1)x[d]=i[d>>>2]>>>8*(u+s*(d%4))&255;return c}(a,t,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(bo)}return function(a){return function(i,l,s){let d;const o=l/8,c=s===-1?3:0,x=new Uint8Array(o);for(d=0;d<o;d+=1)x[d]=i[d>>>2]>>>8*(c+s*(d%4))&255;return x}(a,t,n)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}const Cr=4294967296,Y=[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],ut=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],ft=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],br="Chosen SHA variant is not supported",Eo="Cannot set numRounds with MAC";function Gr(e,t){let n,r;const a=e.binLen>>>3,i=t.binLen>>>3,l=a<<3,s=4-a<<3;if(a%4!=0){for(n=0;n<i;n+=4)r=a+n>>>2,e.value[r]|=t.value[n>>>2]<<l,e.value.push(0),e.value[r+1]|=t.value[n>>>2]>>>s;return(e.value.length<<2)-4>=i+a&&e.value.pop(),{value:e.value,binLen:e.binLen+t.binLen}}return{value:e.value.concat(t.value),binLen:e.binLen+t.binLen}}function Ma(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 mt(e,t,n,r){const a=e+" must include a value and format";if(!t){if(!r)throw new Error(a);return r}if(t.value===void 0||!t.format)throw new Error(a);return Vt(t.format,t.encoding||"UTF8",n)(t.value)}class ln{constructor(t,n,r){const a=r||{};if(this.t=n,this.i=a.encoding||"UTF8",this.numRounds=a.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 a=this.m>>>5,i=this.C(t,this.h,this.u),l=i.binLen,s=i.value,d=l>>>5;for(n=0;n<d;n+=a)r+this.m<=l&&(this.U=this.v(s.slice(n,n+a),this.U),r+=this.m);return this.A+=r,this.h=s.slice(r>>>5),this.u=l%this.m,this.l=!0,this}getHash(t,n){let r,a,i=this.R;const l=Ma(n);if(this.K){if(l.outputLen===-1)throw new Error("Output length must be specified in options");i=l.outputLen}const s=Ia(t,i,this.T,l);if(this.H&&this.g)return s(this.g(l));for(a=this.F(this.h.slice(),this.u,this.A,this.L(this.U),i),r=1;r<this.numRounds;r+=1)this.K&&i%32!=0&&(a[a.length-1]&=16777215>>>24-i%32),a=this.F(a,i,0,this.B(this.o),i);return s(a)}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 a=Vt(n,(r||{}).encoding||"UTF8",this.T);this.k(a(t))}k(t){const n=this.m>>>3,r=n/4-1;let a;if(this.numRounds!==1)throw new Error(Eo);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(a=0;a<=r;a+=1)this.S[a]=909522486^t.value[a],this.p[a]=1549556828^t.value[a];this.U=this.v(this.S,this.U),this.A=this.m,this.H=!0}getHMAC(t,n){const r=Ma(n);return Ia(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 Ut(e,t){return e<<t|e>>>32-t}function ot(e,t){return e>>>t|e<<32-t}function Ao(e,t){return e>>>t}function Na(e,t,n){return e^t^n}function So(e,t,n){return e&t^~e&n}function Bo(e,t,n){return e&t^e&n^t&n}function J1(e){return ot(e,2)^ot(e,13)^ot(e,22)}function Ne(e,t){const n=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(n>>>16))<<16|65535&n}function Q1(e,t,n,r){const a=(65535&e)+(65535&t)+(65535&n)+(65535&r);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(a>>>16))<<16|65535&a}function ur(e,t,n,r,a){const i=(65535&e)+(65535&t)+(65535&n)+(65535&r)+(65535&a);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(a>>>16)+(i>>>16))<<16|65535&i}function ef(e){return ot(e,7)^ot(e,18)^Ao(e,3)}function tf(e){return ot(e,6)^ot(e,11)^ot(e,25)}function rf(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function wo(e,t){let n,r,a,i,l,s,d;const o=[];for(n=t[0],r=t[1],a=t[2],i=t[3],l=t[4],d=0;d<80;d+=1)o[d]=d<16?e[d]:Ut(o[d-3]^o[d-8]^o[d-14]^o[d-16],1),s=d<20?ur(Ut(n,5),So(r,a,i),l,1518500249,o[d]):d<40?ur(Ut(n,5),Na(r,a,i),l,1859775393,o[d]):d<60?ur(Ut(n,5),Bo(r,a,i),l,2400959708,o[d]):ur(Ut(n,5),Na(r,a,i),l,3395469782,o[d]),l=i,i=a,a=Ut(r,30),r=n,n=s;return t[0]=Ne(n,t[0]),t[1]=Ne(r,t[1]),t[2]=Ne(a,t[2]),t[3]=Ne(i,t[3]),t[4]=Ne(l,t[4]),t}function nf(e,t,n,r){let a;const i=15+(t+65>>>9<<4),l=t+n;for(;e.length<=i;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[i]=4294967295&l,e[i-1]=l/Cr|0,a=0;a<e.length;a+=16)r=wo(e.slice(a,a+16),r);return r}let af=class extends ln{constructor(e,t,n){if(e!=="SHA-1")throw new Error(br);super(e,t,n);const r=n||{};this.M=!0,this.g=this.Y,this.T=-1,this.C=Vt(this.t,this.i,this.T),this.v=wo,this.L=function(a){return a.slice()},this.B=rf,this.F=nf,this.U=[1732584193,4023233417,2562383102,271733878,3285377520],this.m=512,this.R=160,this.K=!1,r.hmacKey&&this.k(mt("hmacKey",r.hmacKey,this.T))}};function Oa(e){let t;return t=e=="SHA-224"?ut.slice():ft.slice(),t}function ja(e,t){let n,r,a,i,l,s,d,o,c,x,u;const g=[];for(n=t[0],r=t[1],a=t[2],i=t[3],l=t[4],s=t[5],d=t[6],o=t[7],u=0;u<64;u+=1)g[u]=u<16?e[u]:Q1(ot(h=g[u-2],17)^ot(h,19)^Ao(h,10),g[u-7],ef(g[u-15]),g[u-16]),c=ur(o,tf(l),So(l,s,d),Y[u],g[u]),x=Ne(J1(n),Bo(n,r,a)),o=d,d=s,s=l,l=Ne(i,c),i=a,a=r,r=n,n=Ne(c,x);var h;return t[0]=Ne(n,t[0]),t[1]=Ne(r,t[1]),t[2]=Ne(a,t[2]),t[3]=Ne(i,t[3]),t[4]=Ne(l,t[4]),t[5]=Ne(s,t[5]),t[6]=Ne(d,t[6]),t[7]=Ne(o,t[7]),t}let of=class extends ln{constructor(e,t,n){if(e!=="SHA-224"&&e!=="SHA-256")throw new Error(br);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Vt(this.t,this.i,this.T),this.v=ja,this.L=function(a){return a.slice()},this.B=Oa,this.F=function(a,i,l,s){return function(d,o,c,x,u){let g,h;const f=15+(o+65>>>9<<4),y=o+c;for(;d.length<=f;)d.push(0);for(d[o>>>5]|=128<<24-o%32,d[f]=4294967295&y,d[f-1]=y/Cr|0,g=0;g<d.length;g+=16)x=ja(d.slice(g,g+16),x);return h=u==="SHA-224"?[x[0],x[1],x[2],x[3],x[4],x[5],x[6]]:x,h}(a,i,l,s,e)},this.U=Oa(e),this.m=512,this.R=e==="SHA-224"?224:256,this.K=!1,r.hmacKey&&this.k(mt("hmacKey",r.hmacKey,this.T))}};class P{constructor(t,n){this.N=t,this.I=n}}function La(e,t){let n;return t>32?(n=64-t,new P(e.I<<t|e.N>>>n,e.N<<t|e.I>>>n)):t!==0?(n=32-t,new P(e.N<<t|e.I>>>n,e.I<<t|e.N>>>n)):e}function st(e,t){let n;return t<32?(n=32-t,new P(e.N>>>t|e.I<<n,e.I>>>t|e.N<<n)):(n=64-t,new P(e.I>>>t|e.N<<n,e.N>>>t|e.I<<n))}function Do(e,t){return new P(e.N>>>t,e.I>>>t|e.N<<32-t)}function sf(e,t,n){return new P(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 cf(e){const t=st(e,28),n=st(e,34),r=st(e,39);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}function Je(e,t){let n,r;n=(65535&e.I)+(65535&t.I),r=(e.I>>>16)+(t.I>>>16)+(n>>>16);const a=(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 P((65535&r)<<16|65535&n,a)}function lf(e,t,n,r){let a,i;a=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I),i=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(a>>>16);const l=(65535&i)<<16|65535&a;return a=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(i>>>16),i=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(a>>>16),new P((65535&i)<<16|65535&a,l)}function uf(e,t,n,r,a){let i,l;i=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I)+(65535&a.I),l=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(a.I>>>16)+(i>>>16);const s=(65535&l)<<16|65535&i;return i=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(65535&a.N)+(l>>>16),l=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(a.N>>>16)+(i>>>16),new P((65535&l)<<16|65535&i,s)}function sr(e,t){return new P(e.N^t.N,e.I^t.I)}function ff(e){const t=st(e,19),n=st(e,61),r=Do(e,6);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}function df(e){const t=st(e,1),n=st(e,8),r=Do(e,7);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}function xf(e){const t=st(e,14),n=st(e,18),r=st(e,41);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}const pf=[new P(Y[0],3609767458),new P(Y[1],602891725),new P(Y[2],3964484399),new P(Y[3],2173295548),new P(Y[4],4081628472),new P(Y[5],3053834265),new P(Y[6],2937671579),new P(Y[7],3664609560),new P(Y[8],2734883394),new P(Y[9],1164996542),new P(Y[10],1323610764),new P(Y[11],3590304994),new P(Y[12],4068182383),new P(Y[13],991336113),new P(Y[14],633803317),new P(Y[15],3479774868),new P(Y[16],2666613458),new P(Y[17],944711139),new P(Y[18],2341262773),new P(Y[19],2007800933),new P(Y[20],1495990901),new P(Y[21],1856431235),new P(Y[22],3175218132),new P(Y[23],2198950837),new P(Y[24],3999719339),new P(Y[25],766784016),new P(Y[26],2566594879),new P(Y[27],3203337956),new P(Y[28],1034457026),new P(Y[29],2466948901),new P(Y[30],3758326383),new P(Y[31],168717936),new P(Y[32],1188179964),new P(Y[33],1546045734),new P(Y[34],1522805485),new P(Y[35],2643833823),new P(Y[36],2343527390),new P(Y[37],1014477480),new P(Y[38],1206759142),new P(Y[39],344077627),new P(Y[40],1290863460),new P(Y[41],3158454273),new P(Y[42],3505952657),new P(Y[43],106217008),new P(Y[44],3606008344),new P(Y[45],1432725776),new P(Y[46],1467031594),new P(Y[47],851169720),new P(Y[48],3100823752),new P(Y[49],1363258195),new P(Y[50],3750685593),new P(Y[51],3785050280),new P(Y[52],3318307427),new P(Y[53],3812723403),new P(Y[54],2003034995),new P(Y[55],3602036899),new P(Y[56],1575990012),new P(Y[57],1125592928),new P(Y[58],2716904306),new P(Y[59],442776044),new P(Y[60],593698344),new P(Y[61],3733110249),new P(Y[62],2999351573),new P(Y[63],3815920427),new P(3391569614,3928383900),new P(3515267271,566280711),new P(3940187606,3454069534),new P(4118630271,4000239992),new P(116418474,1914138554),new P(174292421,2731055270),new P(289380356,3203993006),new P(460393269,320620315),new P(685471733,587496836),new P(852142971,1086792851),new P(1017036298,365543100),new P(1126000580,2618297676),new P(1288033470,3409855158),new P(1501505948,4234509866),new P(1607167915,987167468),new P(1816402316,1246189591)];function $a(e){return e==="SHA-384"?[new P(3418070365,ut[0]),new P(1654270250,ut[1]),new P(2438529370,ut[2]),new P(355462360,ut[3]),new P(1731405415,ut[4]),new P(41048885895,ut[5]),new P(3675008525,ut[6]),new P(1203062813,ut[7])]:[new P(ft[0],4089235720),new P(ft[1],2227873595),new P(ft[2],4271175723),new P(ft[3],1595750129),new P(ft[4],2917565137),new P(ft[5],725511199),new P(ft[6],4215389547),new P(ft[7],327033209)]}function Ua(e,t){let n,r,a,i,l,s,d,o,c,x,u,g;const h=[];for(n=t[0],r=t[1],a=t[2],i=t[3],l=t[4],s=t[5],d=t[6],o=t[7],u=0;u<80;u+=1)u<16?(g=2*u,h[u]=new P(e[g],e[g+1])):h[u]=lf(ff(h[u-2]),h[u-7],df(h[u-15]),h[u-16]),c=uf(o,xf(l),(y=s,b=d,new P((f=l).N&y.N^~f.N&b.N,f.I&y.I^~f.I&b.I)),pf[u],h[u]),x=Je(cf(n),sf(n,r,a)),o=d,d=s,s=l,l=Je(i,c),i=a,a=r,r=n,n=Je(c,x);var f,y,b;return t[0]=Je(n,t[0]),t[1]=Je(r,t[1]),t[2]=Je(a,t[2]),t[3]=Je(i,t[3]),t[4]=Je(l,t[4]),t[5]=Je(s,t[5]),t[6]=Je(d,t[6]),t[7]=Je(o,t[7]),t}let hf=class extends ln{constructor(e,t,n){if(e!=="SHA-384"&&e!=="SHA-512")throw new Error(br);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Vt(this.t,this.i,this.T),this.v=Ua,this.L=function(a){return a.slice()},this.B=$a,this.F=function(a,i,l,s){return function(d,o,c,x,u){let g,h;const f=31+(o+129>>>10<<5),y=o+c;for(;d.length<=f;)d.push(0);for(d[o>>>5]|=128<<24-o%32,d[f]=4294967295&y,d[f-1]=y/Cr|0,g=0;g<d.length;g+=32)x=Ua(d.slice(g,g+32),x);return h=u==="SHA-384"?[x[0].N,x[0].I,x[1].N,x[1].I,x[2].N,x[2].I,x[3].N,x[3].I,x[4].N,x[4].I,x[5].N,x[5].I]:[x[0].N,x[0].I,x[1].N,x[1].I,x[2].N,x[2].I,x[3].N,x[3].I,x[4].N,x[4].I,x[5].N,x[5].I,x[6].N,x[6].I,x[7].N,x[7].I],h}(a,i,l,s,e)},this.U=$a(e),this.m=1024,this.R=e==="SHA-384"?384:512,this.K=!1,r.hmacKey&&this.k(mt("hmacKey",r.hmacKey,this.T))}};const gf=[new P(0,1),new P(0,32898),new P(2147483648,32906),new P(2147483648,2147516416),new P(0,32907),new P(0,2147483649),new P(2147483648,2147516545),new P(2147483648,32777),new P(0,138),new P(0,136),new P(0,2147516425),new P(0,2147483658),new P(0,2147516555),new P(2147483648,139),new P(2147483648,32905),new P(2147483648,32771),new P(2147483648,32770),new P(2147483648,128),new P(0,32778),new P(2147483648,2147483658),new P(2147483648,2147516545),new P(2147483648,32896),new P(0,2147483649),new P(2147483648,2147516424)],vf=[[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 E0(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=[new P(0,0),new P(0,0),new P(0,0),new P(0,0),new P(0,0)];return n}function mf(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=e[t].slice();return n}function Mr(e,t){let n,r,a,i;const l=[],s=[];if(e!==null)for(r=0;r<e.length;r+=2)t[(r>>>1)%5][(r>>>1)/5|0]=sr(t[(r>>>1)%5][(r>>>1)/5|0],new P(e[r+1],e[r]));for(n=0;n<24;n+=1){for(i=E0(),r=0;r<5;r+=1)l[r]=(d=t[r][0],o=t[r][1],c=t[r][2],x=t[r][3],u=t[r][4],new P(d.N^o.N^c.N^x.N^u.N,d.I^o.I^c.I^x.I^u.I));for(r=0;r<5;r+=1)s[r]=sr(l[(r+4)%5],La(l[(r+1)%5],1));for(r=0;r<5;r+=1)for(a=0;a<5;a+=1)t[r][a]=sr(t[r][a],s[r]);for(r=0;r<5;r+=1)for(a=0;a<5;a+=1)i[a][(2*r+3*a)%5]=La(t[r][a],vf[r][a]);for(r=0;r<5;r+=1)for(a=0;a<5;a+=1)t[r][a]=sr(i[r][a],new P(~i[(r+1)%5][a].N&i[(r+2)%5][a].N,~i[(r+1)%5][a].I&i[(r+2)%5][a].I));t[0][0]=sr(t[0][0],gf[n])}var d,o,c,x,u;return t}function Fo(e){let t,n,r=0;const a=[0,0],i=[4294967295&e,e/Cr&2097151];for(t=6;t>=0;t--)n=i[t>>2]>>>8*t&255,n===0&&r===0||(a[r+1>>2]|=n<<8*(r+1),r+=1);return r=r!==0?r:1,a[0]|=r,{value:r+1>4?a:[a[0]],binLen:8+8*r}}function _n(e){return Gr(Fo(e.binLen),e)}function Ha(e,t){let n,r=Fo(t);r=Gr(r,e);const a=t>>>2,i=(a-r.value.length%a)%a;for(n=0;n<i;n++)r.value.push(0);return r.value}let yf=class extends ln{constructor(e,t,n){let r=6,a=0;super(e,t,n);const i=n||{};if(this.numRounds!==1){if(i.kmacKey||i.hmacKey)throw new Error(Eo);if(this.o==="CSHAKE128"||this.o==="CSHAKE256")throw new Error("Cannot set numRounds for CSHAKE variants")}switch(this.T=1,this.C=Vt(this.t,this.i,this.T),this.v=Mr,this.L=mf,this.B=E0,this.U=E0(),this.K=!1,e){case"SHA3-224":this.m=a=1152,this.R=224,this.M=!0,this.g=this.Y;break;case"SHA3-256":this.m=a=1088,this.R=256,this.M=!0,this.g=this.Y;break;case"SHA3-384":this.m=a=832,this.R=384,this.M=!0,this.g=this.Y;break;case"SHA3-512":this.m=a=576,this.R=512,this.M=!0,this.g=this.Y;break;case"SHAKE128":r=31,this.m=a=1344,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"SHAKE256":r=31,this.m=a=1088,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"KMAC128":r=4,this.m=a=1344,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"KMAC256":r=4,this.m=a=1088,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"CSHAKE128":this.m=a=1344,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"CSHAKE256":this.m=a=1088,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;default:throw new Error(br)}this.F=function(l,s,d,o,c){return function(x,u,g,h,f,y,b){let m,v,C=0;const A=[],D=f>>>5,w=u>>>5;for(m=0;m<w&&u>=f;m+=D)h=Mr(x.slice(m,m+D),h),u-=f;for(x=x.slice(m),u%=f;x.length<D;)x.push(0);for(m=u>>>3,x[m>>2]^=y<<m%4*8,x[D-1]^=2147483648,h=Mr(x,h);32*A.length<b&&(v=h[C%5][C/5|0],A.push(v.I),!(32*A.length>=b));)A.push(v.N),C+=1,64*C%f==0&&(Mr(null,h),C=0);return A}(l,s,0,o,a,r,c)},i.hmacKey&&this.k(mt("hmacKey",i.hmacKey,this.T))}O(e,t){const n=function(a){const i=a||{};return{funcName:mt("funcName",i.funcName,1,{value:[],binLen:0}),customization:mt("Customization",i.customization,1,{value:[],binLen:0})}}(e||{});t&&(n.funcName=t);const r=Gr(_n(n.funcName),_n(n.customization));if(n.customization.binLen!==0||n.funcName.binLen!==0){const a=Ha(r,this.m>>>3);for(let i=0;i<a.length;i+=this.m>>>5)this.U=this.v(a.slice(i,i+(this.m>>>5)),this.U),this.A+=this.m;return 4}return 31}X(e){const t=function(r){const a=r||{};return{kmacKey:mt("kmacKey",a.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:mt("Customization",a.customization,1,{value:[],binLen:0})}}(e||{});this.O(e,t.funcName);const n=Ha(_n(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=Gr({value:this.h.slice(),binLen:this.u},function(n){let r,a,i=0;const l=[0,0],s=[4294967295&n,n/Cr&2097151];for(r=6;r>=0;r--)a=s[r>>2]>>>8*r&255,a===0&&i===0||(l[i>>2]|=a<<8*i,i+=1);return i=i!==0?i:1,l[i>>2]|=i<<8*i,{value:i+1>4?l:[l[0]],binLen:8+8*i}}(e.outputLen));return this.F(t.value,t.binLen,this.A,this.L(this.U),e.outputLen)}};class Cf{constructor(t,n,r){if(t=="SHA-1")this.P=new af(t,n,r);else if(t=="SHA-224"||t=="SHA-256")this.P=new of(t,n,r);else if(t=="SHA-384"||t=="SHA-512")this.P=new hf(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(br);this.P=new yf(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 bf{static generate(t,n){const r={digits:6,algorithm:"SHA-1",period:30,timestamp:Date.now(),...n},a=Math.floor(r.timestamp/1e3),i=this.leftpad(this.dec2hex(Math.floor(a/r.period)),16,"0"),l=new Cf(r.algorithm,"HEX");l.setHMACKey(this.base32tohex(t),"HEX"),l.update(i);const s=l.getHMAC("HEX"),d=this.hex2dec(s.substring(s.length-1));let o=(this.hex2dec(s.substr(d*2,8))&this.hex2dec("7fffffff"))+"";const c=Math.max(o.length-r.digits,0);o=o.substring(c,c+r.digits);const x=Math.ceil((r.timestamp+1)/(r.period*1e3))*r.period*1e3;return{otp:o,expires:x}}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="",a="";const i=t.replace(/=+$/,"");for(let l=0;l<i.length;l++){const s=n.indexOf(t.charAt(l).toUpperCase());if(s===-1)throw new Error("Invalid base32 character in key");r+=this.leftpad(s.toString(2),5,"0")}for(let l=0;l+8<=r.length;l+=8){const s=r.substr(l,8);a=a+this.leftpad(parseInt(s,2).toString(16),2,"0")}return a}static leftpad(t,n,r){return n+1>=t.length&&(t=Array(n+1-t.length).join(r)+t),t}}var To={exports:{}};function Ef(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 kn={exports:{}};const Af={},Sf=Object.freeze(Object.defineProperty({__proto__:null,default:Af},Symbol.toStringTag,{value:"Module"})),Bf=qo(Sf);var za;function se(){return za||(za=1,function(e,t){(function(n,r){e.exports=r()})(ie,function(){var n=n||function(r,a){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof ie<"u"&&ie.crypto&&(i=ie.crypto),!i&&typeof Ef=="function")try{i=Bf}catch{}var l=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function m(){}return function(v){var C;return m.prototype=v,C=new m,m.prototype=null,C}}(),d={},o=d.lib={},c=o.Base=function(){return{extend:function(m){var v=s(this);return m&&v.mixIn(m),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var m=this.extend();return m.init.apply(m,arguments),m},init:function(){},mixIn:function(m){for(var v in m)m.hasOwnProperty(v)&&(this[v]=m[v]);m.hasOwnProperty("toString")&&(this.toString=m.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=o.WordArray=c.extend({init:function(m,v){m=this.words=m||[],v!=a?this.sigBytes=v:this.sigBytes=m.length*4},toString:function(m){return(m||g).stringify(this)},concat:function(m){var v=this.words,C=m.words,A=this.sigBytes,D=m.sigBytes;if(this.clamp(),A%4)for(var w=0;w<D;w++){var _=C[w>>>2]>>>24-w%4*8&255;v[A+w>>>2]|=_<<24-(A+w)%4*8}else for(var N=0;N<D;N+=4)v[A+N>>>2]=C[N>>>2];return this.sigBytes+=D,this},clamp:function(){var m=this.words,v=this.sigBytes;m[v>>>2]&=4294967295<<32-v%4*8,m.length=r.ceil(v/4)},clone:function(){var m=c.clone.call(this);return m.words=this.words.slice(0),m},random:function(m){for(var v=[],C=0;C<m;C+=4)v.push(l());return new x.init(v,m)}}),u=d.enc={},g=u.Hex={stringify:function(m){for(var v=m.words,C=m.sigBytes,A=[],D=0;D<C;D++){var w=v[D>>>2]>>>24-D%4*8&255;A.push((w>>>4).toString(16)),A.push((w&15).toString(16))}return A.join("")},parse:function(m){for(var v=m.length,C=[],A=0;A<v;A+=2)C[A>>>3]|=parseInt(m.substr(A,2),16)<<24-A%8*4;return new x.init(C,v/2)}},h=u.Latin1={stringify:function(m){for(var v=m.words,C=m.sigBytes,A=[],D=0;D<C;D++){var w=v[D>>>2]>>>24-D%4*8&255;A.push(String.fromCharCode(w))}return A.join("")},parse:function(m){for(var v=m.length,C=[],A=0;A<v;A++)C[A>>>2]|=(m.charCodeAt(A)&255)<<24-A%4*8;return new x.init(C,v)}},f=u.Utf8={stringify:function(m){try{return decodeURIComponent(escape(h.stringify(m)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(m){return h.parse(unescape(encodeURIComponent(m)))}},y=o.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(m){typeof m=="string"&&(m=f.parse(m)),this._data.concat(m),this._nDataBytes+=m.sigBytes},_process:function(m){var v,C=this._data,A=C.words,D=C.sigBytes,w=this.blockSize,_=w*4,N=D/_;m?N=r.ceil(N):N=r.max((N|0)-this._minBufferSize,0);var p=N*w,B=r.min(p*4,D);if(p){for(var k=0;k<p;k+=w)this._doProcessBlock(A,k);v=A.splice(0,p),C.sigBytes-=B}return new x.init(v,B)},clone:function(){var m=c.clone.call(this);return m._data=this._data.clone(),m},_minBufferSize:0});o.Hasher=y.extend({cfg:c.extend(),init:function(m){this.cfg=this.cfg.extend(m),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(m){return this._append(m),this._process(),this},finalize:function(m){m&&this._append(m);var v=this._doFinalize();return v},blockSize:16,_createHelper:function(m){return function(v,C){return new m.init(C).finalize(v)}},_createHmacHelper:function(m){return function(v,C){return new b.HMAC.init(m,C).finalize(v)}}});var b=d.algo={};return d}(Math);return n})}(kn)),kn.exports}var Rn={exports:{}},Wa;function un(){return Wa||(Wa=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.Base,s=i.WordArray,d=a.x64={};d.Word=l.extend({init:function(o,c){this.high=o,this.low=c}}),d.WordArray=l.extend({init:function(o,c){o=this.words=o||[],c!=r?this.sigBytes=c:this.sigBytes=o.length*8},toX32:function(){for(var o=this.words,c=o.length,x=[],u=0;u<c;u++){var g=o[u];x.push(g.high),x.push(g.low)}return s.create(x,this.sigBytes)},clone:function(){for(var o=l.clone.call(this),c=o.words=this.words.slice(0),x=c.length,u=0;u<x;u++)c[u]=c[u].clone();return o}})}(),n})}(Rn)),Rn.exports}var Pn={exports:{}},Ka;function wf(){return Ka||(Ka=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,a=r.lib,i=a.WordArray,l=i.init,s=i.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var o=d.byteLength,c=[],x=0;x<o;x++)c[x>>>2]|=d[x]<<24-x%4*8;l.call(this,c,o)}else l.apply(this,arguments)};s.prototype=i}}(),n.lib.WordArray})}(Pn)),Pn.exports}var In={exports:{}},Ga;function Df(){return Ga||(Ga=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.enc;l.Utf16=l.Utf16BE={stringify:function(d){for(var o=d.words,c=d.sigBytes,x=[],u=0;u<c;u+=2){var g=o[u>>>2]>>>16-u%4*8&65535;x.push(String.fromCharCode(g))}return x.join("")},parse:function(d){for(var o=d.length,c=[],x=0;x<o;x++)c[x>>>1]|=d.charCodeAt(x)<<16-x%2*16;return i.create(c,o*2)}},l.Utf16LE={stringify:function(d){for(var o=d.words,c=d.sigBytes,x=[],u=0;u<c;u+=2){var g=s(o[u>>>2]>>>16-u%4*8&65535);x.push(String.fromCharCode(g))}return x.join("")},parse:function(d){for(var o=d.length,c=[],x=0;x<o;x++)c[x>>>1]|=s(d.charCodeAt(x)<<16-x%2*16);return i.create(c,o*2)}};function s(d){return d<<8&4278255360|d>>>8&16711935}}(),n.enc.Utf16})}(In)),In.exports}var Mn={exports:{}},Va;function kt(){return Va||(Va=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.enc;l.Base64={stringify:function(d){var o=d.words,c=d.sigBytes,x=this._map;d.clamp();for(var u=[],g=0;g<c;g+=3)for(var h=o[g>>>2]>>>24-g%4*8&255,f=o[g+1>>>2]>>>24-(g+1)%4*8&255,y=o[g+2>>>2]>>>24-(g+2)%4*8&255,b=h<<16|f<<8|y,m=0;m<4&&g+m*.75<c;m++)u.push(x.charAt(b>>>6*(3-m)&63));var v=x.charAt(64);if(v)for(;u.length%4;)u.push(v);return u.join("")},parse:function(d){var o=d.length,c=this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var u=0;u<c.length;u++)x[c.charCodeAt(u)]=u}var g=c.charAt(64);if(g){var h=d.indexOf(g);h!==-1&&(o=h)}return s(d,o,x)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(d,o,c){for(var x=[],u=0,g=0;g<o;g++)if(g%4){var h=c[d.charCodeAt(g-1)]<<g%4*2,f=c[d.charCodeAt(g)]>>>6-g%4*2,y=h|f;x[u>>>2]|=y<<24-u%4*8,u++}return i.create(x,u)}}(),n.enc.Base64})}(Mn)),Mn.exports}var Nn={exports:{}},Ya;function Ff(){return Ya||(Ya=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.enc;l.Base64url={stringify:function(d,o){o===void 0&&(o=!0);var c=d.words,x=d.sigBytes,u=o?this._safe_map:this._map;d.clamp();for(var g=[],h=0;h<x;h+=3)for(var f=c[h>>>2]>>>24-h%4*8&255,y=c[h+1>>>2]>>>24-(h+1)%4*8&255,b=c[h+2>>>2]>>>24-(h+2)%4*8&255,m=f<<16|y<<8|b,v=0;v<4&&h+v*.75<x;v++)g.push(u.charAt(m>>>6*(3-v)&63));var C=u.charAt(64);if(C)for(;g.length%4;)g.push(C);return g.join("")},parse:function(d,o){o===void 0&&(o=!0);var c=d.length,x=o?this._safe_map:this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var g=0;g<x.length;g++)u[x.charCodeAt(g)]=g}var h=x.charAt(64);if(h){var f=d.indexOf(h);f!==-1&&(c=f)}return s(d,c,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(d,o,c){for(var x=[],u=0,g=0;g<o;g++)if(g%4){var h=c[d.charCodeAt(g-1)]<<g%4*2,f=c[d.charCodeAt(g)]>>>6-g%4*2,y=h|f;x[u>>>2]|=y<<24-u%4*8,u++}return i.create(x,u)}}(),n.enc.Base64url})}(Nn)),Nn.exports}var On={exports:{}},qa;function Rt(){return qa||(qa=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.WordArray,s=i.Hasher,d=a.algo,o=[];(function(){for(var f=0;f<64;f++)o[f]=r.abs(r.sin(f+1))*4294967296|0})();var c=d.MD5=s.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(f,y){for(var b=0;b<16;b++){var m=y+b,v=f[m];f[m]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var C=this._hash.words,A=f[y+0],D=f[y+1],w=f[y+2],_=f[y+3],N=f[y+4],p=f[y+5],B=f[y+6],k=f[y+7],T=f[y+8],z=f[y+9],W=f[y+10],q=f[y+11],ee=f[y+12],re=f[y+13],ne=f[y+14],j=f[y+15],F=C[0],M=C[1],I=C[2],R=C[3];F=x(F,M,I,R,A,7,o[0]),R=x(R,F,M,I,D,12,o[1]),I=x(I,R,F,M,w,17,o[2]),M=x(M,I,R,F,_,22,o[3]),F=x(F,M,I,R,N,7,o[4]),R=x(R,F,M,I,p,12,o[5]),I=x(I,R,F,M,B,17,o[6]),M=x(M,I,R,F,k,22,o[7]),F=x(F,M,I,R,T,7,o[8]),R=x(R,F,M,I,z,12,o[9]),I=x(I,R,F,M,W,17,o[10]),M=x(M,I,R,F,q,22,o[11]),F=x(F,M,I,R,ee,7,o[12]),R=x(R,F,M,I,re,12,o[13]),I=x(I,R,F,M,ne,17,o[14]),M=x(M,I,R,F,j,22,o[15]),F=u(F,M,I,R,D,5,o[16]),R=u(R,F,M,I,B,9,o[17]),I=u(I,R,F,M,q,14,o[18]),M=u(M,I,R,F,A,20,o[19]),F=u(F,M,I,R,p,5,o[20]),R=u(R,F,M,I,W,9,o[21]),I=u(I,R,F,M,j,14,o[22]),M=u(M,I,R,F,N,20,o[23]),F=u(F,M,I,R,z,5,o[24]),R=u(R,F,M,I,ne,9,o[25]),I=u(I,R,F,M,_,14,o[26]),M=u(M,I,R,F,T,20,o[27]),F=u(F,M,I,R,re,5,o[28]),R=u(R,F,M,I,w,9,o[29]),I=u(I,R,F,M,k,14,o[30]),M=u(M,I,R,F,ee,20,o[31]),F=g(F,M,I,R,p,4,o[32]),R=g(R,F,M,I,T,11,o[33]),I=g(I,R,F,M,q,16,o[34]),M=g(M,I,R,F,ne,23,o[35]),F=g(F,M,I,R,D,4,o[36]),R=g(R,F,M,I,N,11,o[37]),I=g(I,R,F,M,k,16,o[38]),M=g(M,I,R,F,W,23,o[39]),F=g(F,M,I,R,re,4,o[40]),R=g(R,F,M,I,A,11,o[41]),I=g(I,R,F,M,_,16,o[42]),M=g(M,I,R,F,B,23,o[43]),F=g(F,M,I,R,z,4,o[44]),R=g(R,F,M,I,ee,11,o[45]),I=g(I,R,F,M,j,16,o[46]),M=g(M,I,R,F,w,23,o[47]),F=h(F,M,I,R,A,6,o[48]),R=h(R,F,M,I,k,10,o[49]),I=h(I,R,F,M,ne,15,o[50]),M=h(M,I,R,F,p,21,o[51]),F=h(F,M,I,R,ee,6,o[52]),R=h(R,F,M,I,_,10,o[53]),I=h(I,R,F,M,W,15,o[54]),M=h(M,I,R,F,D,21,o[55]),F=h(F,M,I,R,T,6,o[56]),R=h(R,F,M,I,j,10,o[57]),I=h(I,R,F,M,B,15,o[58]),M=h(M,I,R,F,re,21,o[59]),F=h(F,M,I,R,N,6,o[60]),R=h(R,F,M,I,q,10,o[61]),I=h(I,R,F,M,w,15,o[62]),M=h(M,I,R,F,z,21,o[63]),C[0]=C[0]+F|0,C[1]=C[1]+M|0,C[2]=C[2]+I|0,C[3]=C[3]+R|0},_doFinalize:function(){var f=this._data,y=f.words,b=this._nDataBytes*8,m=f.sigBytes*8;y[m>>>5]|=128<<24-m%32;var v=r.floor(b/4294967296),C=b;y[(m+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,y[(m+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,f.sigBytes=(y.length+1)*4,this._process();for(var A=this._hash,D=A.words,w=0;w<4;w++){var _=D[w];D[w]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return A},clone:function(){var f=s.clone.call(this);return f._hash=this._hash.clone(),f}});function x(f,y,b,m,v,C,A){var D=f+(y&b|~y&m)+v+A;return(D<<C|D>>>32-C)+y}function u(f,y,b,m,v,C,A){var D=f+(y&m|b&~m)+v+A;return(D<<C|D>>>32-C)+y}function g(f,y,b,m,v,C,A){var D=f+(y^b^m)+v+A;return(D<<C|D>>>32-C)+y}function h(f,y,b,m,v,C,A){var D=f+(b^(y|~m))+v+A;return(D<<C|D>>>32-C)+y}a.MD5=s._createHelper(c),a.HmacMD5=s._createHmacHelper(c)}(Math),n.MD5})}(On)),On.exports}var jn={exports:{}},Xa;function _o(){return Xa||(Xa=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=a.Hasher,s=r.algo,d=[],o=s.SHA1=l.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,x){for(var u=this._hash.words,g=u[0],h=u[1],f=u[2],y=u[3],b=u[4],m=0;m<80;m++){if(m<16)d[m]=c[x+m]|0;else{var v=d[m-3]^d[m-8]^d[m-14]^d[m-16];d[m]=v<<1|v>>>31}var C=(g<<5|g>>>27)+b+d[m];m<20?C+=(h&f|~h&y)+1518500249:m<40?C+=(h^f^y)+1859775393:m<60?C+=(h&f|h&y|f&y)-1894007588:C+=(h^f^y)-899497514,b=y,y=f,f=h<<30|h>>>2,h=g,g=C}u[0]=u[0]+g|0,u[1]=u[1]+h|0,u[2]=u[2]+f|0,u[3]=u[3]+y|0,u[4]=u[4]+b|0},_doFinalize:function(){var c=this._data,x=c.words,u=this._nDataBytes*8,g=c.sigBytes*8;return x[g>>>5]|=128<<24-g%32,x[(g+64>>>9<<4)+14]=Math.floor(u/4294967296),x[(g+64>>>9<<4)+15]=u,c.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var c=l.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=l._createHelper(o),r.HmacSHA1=l._createHmacHelper(o)}(),n.SHA1})}(jn)),jn.exports}var Ln={exports:{}},Za;function $0(){return Za||(Za=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.WordArray,s=i.Hasher,d=a.algo,o=[],c=[];(function(){function g(b){for(var m=r.sqrt(b),v=2;v<=m;v++)if(!(b%v))return!1;return!0}function h(b){return(b-(b|0))*4294967296|0}for(var f=2,y=0;y<64;)g(f)&&(y<8&&(o[y]=h(r.pow(f,1/2))),c[y]=h(r.pow(f,1/3)),y++),f++})();var x=[],u=d.SHA256=s.extend({_doReset:function(){this._hash=new l.init(o.slice(0))},_doProcessBlock:function(g,h){for(var f=this._hash.words,y=f[0],b=f[1],m=f[2],v=f[3],C=f[4],A=f[5],D=f[6],w=f[7],_=0;_<64;_++){if(_<16)x[_]=g[h+_]|0;else{var N=x[_-15],p=(N<<25|N>>>7)^(N<<14|N>>>18)^N>>>3,B=x[_-2],k=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;x[_]=p+x[_-7]+k+x[_-16]}var T=C&A^~C&D,z=y&b^y&m^b&m,W=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),q=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),ee=w+q+T+c[_]+x[_],re=W+z;w=D,D=A,A=C,C=v+ee|0,v=m,m=b,b=y,y=ee+re|0}f[0]=f[0]+y|0,f[1]=f[1]+b|0,f[2]=f[2]+m|0,f[3]=f[3]+v|0,f[4]=f[4]+C|0,f[5]=f[5]+A|0,f[6]=f[6]+D|0,f[7]=f[7]+w|0},_doFinalize:function(){var g=this._data,h=g.words,f=this._nDataBytes*8,y=g.sigBytes*8;return h[y>>>5]|=128<<24-y%32,h[(y+64>>>9<<4)+14]=r.floor(f/4294967296),h[(y+64>>>9<<4)+15]=f,g.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var g=s.clone.call(this);return g._hash=this._hash.clone(),g}});a.SHA256=s._createHelper(u),a.HmacSHA256=s._createHmacHelper(u)}(Math),n.SHA256})}(Ln)),Ln.exports}var $n={exports:{}},Ja;function Tf(){return Ja||(Ja=1,function(e,t){(function(n,r,a){e.exports=r(se(),$0())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.algo,s=l.SHA256,d=l.SHA224=s.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=s._doFinalize.call(this);return o.sigBytes-=4,o}});r.SHA224=s._createHelper(d),r.HmacSHA224=s._createHmacHelper(d)}(),n.SHA224})}($n)),$n.exports}var Un={exports:{}},Qa;function ko(){return Qa||(Qa=1,function(e,t){(function(n,r,a){e.exports=r(se(),un())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.Hasher,l=r.x64,s=l.Word,d=l.WordArray,o=r.algo;function c(){return s.create.apply(s,arguments)}var x=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],u=[];(function(){for(var h=0;h<80;h++)u[h]=c()})();var g=o.SHA512=i.extend({_doReset:function(){this._hash=new d.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(h,f){for(var y=this._hash.words,b=y[0],m=y[1],v=y[2],C=y[3],A=y[4],D=y[5],w=y[6],_=y[7],N=b.high,p=b.low,B=m.high,k=m.low,T=v.high,z=v.low,W=C.high,q=C.low,ee=A.high,re=A.low,ne=D.high,j=D.low,F=w.high,M=w.low,I=_.high,R=_.low,L=N,U=p,X=B,K=k,ae=T,te=z,we=W,G=q,ye=ee,De=re,We=ne,qe=j,At=F,ht=M,gt=I,St=R,$e=0;$e<80;$e++){var Pe,et,Pt=u[$e];if($e<16)et=Pt.high=h[f+$e*2]|0,Pe=Pt.low=h[f+$e*2+1]|0;else{var Yt=u[$e-15],ct=Yt.high,Xe=Yt.low,fn=(ct>>>1|Xe<<31)^(ct>>>8|Xe<<24)^ct>>>7,qt=(Xe>>>1|ct<<31)^(Xe>>>8|ct<<24)^(Xe>>>7|ct<<25),Xt=u[$e-2],tt=Xt.high,Bt=Xt.low,dn=(tt>>>19|Bt<<13)^(tt<<3|Bt>>>29)^tt>>>6,Er=(Bt>>>19|tt<<13)^(Bt<<3|tt>>>29)^(Bt>>>6|tt<<26),Ar=u[$e-7],xn=Ar.high,pn=Ar.low,Sr=u[$e-16],Zt=Sr.high,Jt=Sr.low;Pe=qt+pn,et=fn+xn+(Pe>>>0<qt>>>0?1:0),Pe=Pe+Er,et=et+dn+(Pe>>>0<Er>>>0?1:0),Pe=Pe+Jt,et=et+Zt+(Pe>>>0<Jt>>>0?1:0),Pt.high=et,Pt.low=Pe}var vt=ye&We^~ye&At,It=De&qe^~De&ht,Qt=L&X^L&ae^X&ae,Br=U&K^U&te^K&te,hn=(L>>>28|U<<4)^(L<<30|U>>>2)^(L<<25|U>>>7),er=(U>>>28|L<<4)^(U<<30|L>>>2)^(U<<25|L>>>7),gn=(ye>>>14|De<<18)^(ye>>>18|De<<14)^(ye<<23|De>>>9),wr=(De>>>14|ye<<18)^(De>>>18|ye<<14)^(De<<23|ye>>>9),tr=x[$e],vn=tr.high,Dr=tr.low,Ie=St+wr,Ze=gt+gn+(Ie>>>0<St>>>0?1:0),Ie=Ie+It,Ze=Ze+vt+(Ie>>>0<It>>>0?1:0),Ie=Ie+Dr,Ze=Ze+vn+(Ie>>>0<Dr>>>0?1:0),Ie=Ie+Pe,Ze=Ze+et+(Ie>>>0<Pe>>>0?1:0),Fr=er+Br,mn=hn+Qt+(Fr>>>0<er>>>0?1:0);gt=At,St=ht,At=We,ht=qe,We=ye,qe=De,De=G+Ie|0,ye=we+Ze+(De>>>0<G>>>0?1:0)|0,we=ae,G=te,ae=X,te=K,X=L,K=U,U=Ie+Fr|0,L=Ze+mn+(U>>>0<Ie>>>0?1:0)|0}p=b.low=p+U,b.high=N+L+(p>>>0<U>>>0?1:0),k=m.low=k+K,m.high=B+X+(k>>>0<K>>>0?1:0),z=v.low=z+te,v.high=T+ae+(z>>>0<te>>>0?1:0),q=C.low=q+G,C.high=W+we+(q>>>0<G>>>0?1:0),re=A.low=re+De,A.high=ee+ye+(re>>>0<De>>>0?1:0),j=D.low=j+qe,D.high=ne+We+(j>>>0<qe>>>0?1:0),M=w.low=M+ht,w.high=F+At+(M>>>0<ht>>>0?1:0),R=_.low=R+St,_.high=I+gt+(R>>>0<St>>>0?1:0)},_doFinalize:function(){var h=this._data,f=h.words,y=this._nDataBytes*8,b=h.sigBytes*8;f[b>>>5]|=128<<24-b%32,f[(b+128>>>10<<5)+30]=Math.floor(y/4294967296),f[(b+128>>>10<<5)+31]=y,h.sigBytes=f.length*4,this._process();var m=this._hash.toX32();return m},clone:function(){var h=i.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});r.SHA512=i._createHelper(g),r.HmacSHA512=i._createHmacHelper(g)}(),n.SHA512})}(Un)),Un.exports}var Hn={exports:{}},ei;function _f(){return ei||(ei=1,function(e,t){(function(n,r,a){e.exports=r(se(),un(),ko())})(ie,function(n){return function(){var r=n,a=r.x64,i=a.Word,l=a.WordArray,s=r.algo,d=s.SHA512,o=s.SHA384=d.extend({_doReset:function(){this._hash=new l.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var c=d._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=d._createHelper(o),r.HmacSHA384=d._createHmacHelper(o)}(),n.SHA384})}(Hn)),Hn.exports}var zn={exports:{}},ti;function kf(){return ti||(ti=1,function(e,t){(function(n,r,a){e.exports=r(se(),un())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.WordArray,s=i.Hasher,d=a.x64,o=d.Word,c=a.algo,x=[],u=[],g=[];(function(){for(var y=1,b=0,m=0;m<24;m++){x[y+5*b]=(m+1)*(m+2)/2%64;var v=b%5,C=(2*y+3*b)%5;y=v,b=C}for(var y=0;y<5;y++)for(var b=0;b<5;b++)u[y+5*b]=b+(2*y+3*b)%5*5;for(var A=1,D=0;D<24;D++){for(var w=0,_=0,N=0;N<7;N++){if(A&1){var p=(1<<N)-1;p<32?_^=1<<p:w^=1<<p-32}A&128?A=A<<1^113:A<<=1}g[D]=o.create(w,_)}})();var h=[];(function(){for(var y=0;y<25;y++)h[y]=o.create()})();var f=c.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var y=this._state=[],b=0;b<25;b++)y[b]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(y,b){for(var m=this._state,v=this.blockSize/2,C=0;C<v;C++){var A=y[b+2*C],D=y[b+2*C+1];A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360;var w=m[C];w.high^=D,w.low^=A}for(var _=0;_<24;_++){for(var N=0;N<5;N++){for(var p=0,B=0,k=0;k<5;k++){var w=m[N+5*k];p^=w.high,B^=w.low}var T=h[N];T.high=p,T.low=B}for(var N=0;N<5;N++)for(var z=h[(N+4)%5],W=h[(N+1)%5],q=W.high,ee=W.low,p=z.high^(q<<1|ee>>>31),B=z.low^(ee<<1|q>>>31),k=0;k<5;k++){var w=m[N+5*k];w.high^=p,w.low^=B}for(var re=1;re<25;re++){var p,B,w=m[re],ne=w.high,j=w.low,F=x[re];F<32?(p=ne<<F|j>>>32-F,B=j<<F|ne>>>32-F):(p=j<<F-32|ne>>>64-F,B=ne<<F-32|j>>>64-F);var M=h[u[re]];M.high=p,M.low=B}var I=h[0],R=m[0];I.high=R.high,I.low=R.low;for(var N=0;N<5;N++)for(var k=0;k<5;k++){var re=N+5*k,w=m[re],L=h[re],U=h[(N+1)%5+5*k],X=h[(N+2)%5+5*k];w.high=L.high^~U.high&X.high,w.low=L.low^~U.low&X.low}var w=m[0],K=g[_];w.high^=K.high,w.low^=K.low}},_doFinalize:function(){var y=this._data,b=y.words;this._nDataBytes*8;var m=y.sigBytes*8,v=this.blockSize*32;b[m>>>5]|=1<<24-m%32,b[(r.ceil((m+1)/v)*v>>>5)-1]|=128,y.sigBytes=b.length*4,this._process();for(var C=this._state,A=this.cfg.outputLength/8,D=A/8,w=[],_=0;_<D;_++){var N=C[_],p=N.high,B=N.low;p=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,w.push(B),w.push(p)}return new l.init(w,A)},clone:function(){for(var y=s.clone.call(this),b=y._state=this._state.slice(0),m=0;m<25;m++)b[m]=b[m].clone();return y}});a.SHA3=s._createHelper(f),a.HmacSHA3=s._createHmacHelper(f)}(Math),n.SHA3})}(zn)),zn.exports}var Wn={exports:{}},ri;function Rf(){return ri||(ri=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){/** @preserve
|
|
454
|
+
`,X1=({onClick:e,params:t,handleUpdateParam:n,ParamErrors:r,removeParameter:a,dataSet:i,disabledEdit:l})=>E.jsxs($.Box,{width:"100%",display:"flex",flexDirection:"column",p:1,children:[i&&E.jsx($.Box,{mb:3,mt:2,children:E.jsx(vo,{noInlineAction:!0,addOptionLabel:"Add Data Set",showDeleteIcon:!l,showAddOption:!l,width:"200px",...i,disabled:l,id:"data-set-select-scenario"})}),E.jsx(G1,{children:t.map((s,d)=>E.jsx(E.Fragment,{children:E.jsx(Z1,{...s,index:d,onChangeValue:n,ParamErrors:r,onDelete:a,disabledEdit:l})},d))}),E.jsx(go,{variant:"outlined",sx:{my:2},startIcon:E.jsx(Pi,{}),fullWidth:!0,onClick:e,disabled:l,children:"Add Parameter"})]}),Z1=e=>{const{keyName:t,onChangeValue:n,index:r,error:a,value:i,onDelete:l,mask:s,disabled:d,ParamErrors:o,disabledEdit:c}=e,x=J.useRef(null),[u,g]=J.useState(!1);J.useEffect(()=>{var b;(b=x.current)==null||b.scrollIntoView({behavior:"smooth",block:"nearest"})},[]);const h=()=>{g(!u)},f=J.useRef(null),y=J.useRef(null);return E.jsxs($.Box,{ref:x,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(Kt,{ref:f,value:t,onChange:b=>n==null?void 0:n(r,b.target.value,i||""),size:"small",noBorder:!0,error:a,placeholder:"parameter_key",disabled:c,autoFocus:!0})}),E.jsx($.Grid2,{size:5.4,children:E.jsx(Kt,{ref:y,value:i,size:"small",type:s&&!u?"password":"text",onChange:b=>n==null?void 0:n(r,t,b.target.value,s),noBorder:!0,placeholder:"parameter_value",endIcon:s?u?E.jsx(Ri,{onClick:h,size:12}):E.jsx(ki,{onClick:h,size:12}):"",disabled:c})}),E.jsx($.Grid2,{size:1.2,children:E.jsx($.Box,{ml:1,mt:1,display:"flex",justifyContent:"start",alignItems:"end",children:E.jsx(Ii,{onClick:()=>!d&&(l==null?void 0:l(r)),size:18,color:d?"var(--color-grey-50)":"var(--color-error-100)"})})})]}),a&&E.jsx(be,{weight:"medium",value:"Parameter is not used in the scenario",color:"var(--color-error-100)",mt:.5}),o&&E.jsx(o,{index:r})]})},yo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Co="ARRAYBUFFER not supported by this environment",bo="UINT8ARRAY not supported by this environment";function Pa(e,t,n,r){let a,i,l;const s=t||[0],d=(n=n||0)>>>3,o=r===-1?3:0;for(a=0;a<e.length;a+=1)l=a+d,i=l>>>2,s.length<=i&&s.push(0),s[i]|=e[a]<<8*(o+r*(l%4));return{value:s,binLen:8*e.length+n}}function Vt(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,a,i){return function(l,s,d,o){let c,x,u,g;if(l.length%2!=0)throw new Error("String of HEX type must be in byte increments");const h=s||[0],f=(d=d||0)>>>3,y=o===-1?3:0;for(c=0;c<l.length;c+=2){if(x=parseInt(l.substr(c,2),16),isNaN(x))throw new Error("String of HEX type contains invalid characters");for(g=(c>>>1)+f,u=g>>>2;h.length<=u;)h.push(0);h[u]|=x<<8*(y+o*(g%4))}return{value:h,binLen:4*l.length+d}}(r,a,i,n)};case"TEXT":return function(r,a,i){return function(l,s,d,o,c){let x,u,g,h,f,y,b,m,v=0;const C=d||[0],A=(o=o||0)>>>3;if(s==="UTF8")for(b=c===-1?3:0,g=0;g<l.length;g+=1)for(x=l.charCodeAt(g),u=[],128>x?u.push(x):2048>x?(u.push(192|x>>>6),u.push(128|63&x)):55296>x||57344<=x?u.push(224|x>>>12,128|x>>>6&63,128|63&x):(g+=1,x=65536+((1023&x)<<10|1023&l.charCodeAt(g)),u.push(240|x>>>18,128|x>>>12&63,128|x>>>6&63,128|63&x)),h=0;h<u.length;h+=1){for(y=v+A,f=y>>>2;C.length<=f;)C.push(0);C[f]|=u[h]<<8*(b+c*(y%4)),v+=1}else for(b=c===-1?2:0,m=s==="UTF16LE"&&c!==1||s!=="UTF16LE"&&c===1,g=0;g<l.length;g+=1){for(x=l.charCodeAt(g),m===!0&&(h=255&x,x=h<<8|x>>>8),y=v+A,f=y>>>2;C.length<=f;)C.push(0);C[f]|=x<<8*(b+c*(y%4)),v+=2}return{value:C,binLen:8*v+o}}(r,t,a,i,n)};case"B64":return function(r,a,i){return function(l,s,d,o){let c,x,u,g,h,f,y,b=0;const m=s||[0],v=(d=d||0)>>>3,C=o===-1?3:0,A=l.indexOf("=");if(l.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(l=l.replace(/=/g,""),A!==-1&&A<l.length)throw new Error("Invalid '=' found in base-64 string");for(x=0;x<l.length;x+=4){for(h=l.substr(x,4),g=0,u=0;u<h.length;u+=1)c=yo.indexOf(h.charAt(u)),g|=c<<18-6*u;for(u=0;u<h.length-1;u+=1){for(y=b+v,f=y>>>2;m.length<=f;)m.push(0);m[f]|=(g>>>16-8*u&255)<<8*(C+o*(y%4)),b+=1}}return{value:m,binLen:8*b+d}}(r,a,i,n)};case"BYTES":return function(r,a,i){return function(l,s,d,o){let c,x,u,g;const h=s||[0],f=(d=d||0)>>>3,y=o===-1?3:0;for(x=0;x<l.length;x+=1)c=l.charCodeAt(x),g=x+f,u=g>>>2,h.length<=u&&h.push(0),h[u]|=c<<8*(y+o*(g%4));return{value:h,binLen:8*l.length+d}}(r,a,i,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Co)}return function(r,a,i){return function(l,s,d,o){return Pa(new Uint8Array(l),s,d,o)}(r,a,i,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(bo)}return function(r,a,i){return Pa(r,a,i,n)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function Ia(e,t,n,r){switch(e){case"HEX":return function(a){return function(i,l,s,d){const o="0123456789abcdef";let c,x,u="";const g=l/8,h=s===-1?3:0;for(c=0;c<g;c+=1)x=i[c>>>2]>>>8*(h+s*(c%4)),u+=o.charAt(x>>>4&15)+o.charAt(15&x);return d.outputUpper?u.toUpperCase():u}(a,t,n,r)};case"B64":return function(a){return function(i,l,s,d){let o,c,x,u,g,h="";const f=l/8,y=s===-1?3:0;for(o=0;o<f;o+=3)for(u=o+1<f?i[o+1>>>2]:0,g=o+2<f?i[o+2>>>2]:0,x=(i[o>>>2]>>>8*(y+s*(o%4))&255)<<16|(u>>>8*(y+s*((o+1)%4))&255)<<8|g>>>8*(y+s*((o+2)%4))&255,c=0;c<4;c+=1)h+=8*o+6*c<=l?yo.charAt(x>>>6*(3-c)&63):d.b64Pad;return h}(a,t,n,r)};case"BYTES":return function(a){return function(i,l,s){let d,o,c="";const x=l/8,u=s===-1?3:0;for(d=0;d<x;d+=1)o=i[d>>>2]>>>8*(u+s*(d%4))&255,c+=String.fromCharCode(o);return c}(a,t,n)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error(Co)}return function(a){return function(i,l,s){let d;const o=l/8,c=new ArrayBuffer(o),x=new Uint8Array(c),u=s===-1?3:0;for(d=0;d<o;d+=1)x[d]=i[d>>>2]>>>8*(u+s*(d%4))&255;return c}(a,t,n)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error(bo)}return function(a){return function(i,l,s){let d;const o=l/8,c=s===-1?3:0,x=new Uint8Array(o);for(d=0;d<o;d+=1)x[d]=i[d>>>2]>>>8*(c+s*(d%4))&255;return x}(a,t,n)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}const Cr=4294967296,Y=[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],ut=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428],ft=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],br="Chosen SHA variant is not supported",Eo="Cannot set numRounds with MAC";function Gr(e,t){let n,r;const a=e.binLen>>>3,i=t.binLen>>>3,l=a<<3,s=4-a<<3;if(a%4!=0){for(n=0;n<i;n+=4)r=a+n>>>2,e.value[r]|=t.value[n>>>2]<<l,e.value.push(0),e.value[r+1]|=t.value[n>>>2]>>>s;return(e.value.length<<2)-4>=i+a&&e.value.pop(),{value:e.value,binLen:e.binLen+t.binLen}}return{value:e.value.concat(t.value),binLen:e.binLen+t.binLen}}function Ma(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 mt(e,t,n,r){const a=e+" must include a value and format";if(!t){if(!r)throw new Error(a);return r}if(t.value===void 0||!t.format)throw new Error(a);return Vt(t.format,t.encoding||"UTF8",n)(t.value)}class ln{constructor(t,n,r){const a=r||{};if(this.t=n,this.i=a.encoding||"UTF8",this.numRounds=a.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 a=this.m>>>5,i=this.C(t,this.h,this.u),l=i.binLen,s=i.value,d=l>>>5;for(n=0;n<d;n+=a)r+this.m<=l&&(this.U=this.v(s.slice(n,n+a),this.U),r+=this.m);return this.A+=r,this.h=s.slice(r>>>5),this.u=l%this.m,this.l=!0,this}getHash(t,n){let r,a,i=this.R;const l=Ma(n);if(this.K){if(l.outputLen===-1)throw new Error("Output length must be specified in options");i=l.outputLen}const s=Ia(t,i,this.T,l);if(this.H&&this.g)return s(this.g(l));for(a=this.F(this.h.slice(),this.u,this.A,this.L(this.U),i),r=1;r<this.numRounds;r+=1)this.K&&i%32!=0&&(a[a.length-1]&=16777215>>>24-i%32),a=this.F(a,i,0,this.B(this.o),i);return s(a)}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 a=Vt(n,(r||{}).encoding||"UTF8",this.T);this.k(a(t))}k(t){const n=this.m>>>3,r=n/4-1;let a;if(this.numRounds!==1)throw new Error(Eo);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(a=0;a<=r;a+=1)this.S[a]=909522486^t.value[a],this.p[a]=1549556828^t.value[a];this.U=this.v(this.S,this.U),this.A=this.m,this.H=!0}getHMAC(t,n){const r=Ma(n);return Ia(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 Ut(e,t){return e<<t|e>>>32-t}function ot(e,t){return e>>>t|e<<32-t}function Ao(e,t){return e>>>t}function Na(e,t,n){return e^t^n}function So(e,t,n){return e&t^~e&n}function Bo(e,t,n){return e&t^e&n^t&n}function J1(e){return ot(e,2)^ot(e,13)^ot(e,22)}function Ne(e,t){const n=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(n>>>16))<<16|65535&n}function Q1(e,t,n,r){const a=(65535&e)+(65535&t)+(65535&n)+(65535&r);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(a>>>16))<<16|65535&a}function ur(e,t,n,r,a){const i=(65535&e)+(65535&t)+(65535&n)+(65535&r)+(65535&a);return(65535&(e>>>16)+(t>>>16)+(n>>>16)+(r>>>16)+(a>>>16)+(i>>>16))<<16|65535&i}function ef(e){return ot(e,7)^ot(e,18)^Ao(e,3)}function tf(e){return ot(e,6)^ot(e,11)^ot(e,25)}function rf(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function wo(e,t){let n,r,a,i,l,s,d;const o=[];for(n=t[0],r=t[1],a=t[2],i=t[3],l=t[4],d=0;d<80;d+=1)o[d]=d<16?e[d]:Ut(o[d-3]^o[d-8]^o[d-14]^o[d-16],1),s=d<20?ur(Ut(n,5),So(r,a,i),l,1518500249,o[d]):d<40?ur(Ut(n,5),Na(r,a,i),l,1859775393,o[d]):d<60?ur(Ut(n,5),Bo(r,a,i),l,2400959708,o[d]):ur(Ut(n,5),Na(r,a,i),l,3395469782,o[d]),l=i,i=a,a=Ut(r,30),r=n,n=s;return t[0]=Ne(n,t[0]),t[1]=Ne(r,t[1]),t[2]=Ne(a,t[2]),t[3]=Ne(i,t[3]),t[4]=Ne(l,t[4]),t}function nf(e,t,n,r){let a;const i=15+(t+65>>>9<<4),l=t+n;for(;e.length<=i;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[i]=4294967295&l,e[i-1]=l/Cr|0,a=0;a<e.length;a+=16)r=wo(e.slice(a,a+16),r);return r}let af=class extends ln{constructor(e,t,n){if(e!=="SHA-1")throw new Error(br);super(e,t,n);const r=n||{};this.M=!0,this.g=this.Y,this.T=-1,this.C=Vt(this.t,this.i,this.T),this.v=wo,this.L=function(a){return a.slice()},this.B=rf,this.F=nf,this.U=[1732584193,4023233417,2562383102,271733878,3285377520],this.m=512,this.R=160,this.K=!1,r.hmacKey&&this.k(mt("hmacKey",r.hmacKey,this.T))}};function Oa(e){let t;return t=e=="SHA-224"?ut.slice():ft.slice(),t}function ja(e,t){let n,r,a,i,l,s,d,o,c,x,u;const g=[];for(n=t[0],r=t[1],a=t[2],i=t[3],l=t[4],s=t[5],d=t[6],o=t[7],u=0;u<64;u+=1)g[u]=u<16?e[u]:Q1(ot(h=g[u-2],17)^ot(h,19)^Ao(h,10),g[u-7],ef(g[u-15]),g[u-16]),c=ur(o,tf(l),So(l,s,d),Y[u],g[u]),x=Ne(J1(n),Bo(n,r,a)),o=d,d=s,s=l,l=Ne(i,c),i=a,a=r,r=n,n=Ne(c,x);var h;return t[0]=Ne(n,t[0]),t[1]=Ne(r,t[1]),t[2]=Ne(a,t[2]),t[3]=Ne(i,t[3]),t[4]=Ne(l,t[4]),t[5]=Ne(s,t[5]),t[6]=Ne(d,t[6]),t[7]=Ne(o,t[7]),t}let of=class extends ln{constructor(e,t,n){if(e!=="SHA-224"&&e!=="SHA-256")throw new Error(br);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Vt(this.t,this.i,this.T),this.v=ja,this.L=function(a){return a.slice()},this.B=Oa,this.F=function(a,i,l,s){return function(d,o,c,x,u){let g,h;const f=15+(o+65>>>9<<4),y=o+c;for(;d.length<=f;)d.push(0);for(d[o>>>5]|=128<<24-o%32,d[f]=4294967295&y,d[f-1]=y/Cr|0,g=0;g<d.length;g+=16)x=ja(d.slice(g,g+16),x);return h=u==="SHA-224"?[x[0],x[1],x[2],x[3],x[4],x[5],x[6]]:x,h}(a,i,l,s,e)},this.U=Oa(e),this.m=512,this.R=e==="SHA-224"?224:256,this.K=!1,r.hmacKey&&this.k(mt("hmacKey",r.hmacKey,this.T))}};class P{constructor(t,n){this.N=t,this.I=n}}function La(e,t){let n;return t>32?(n=64-t,new P(e.I<<t|e.N>>>n,e.N<<t|e.I>>>n)):t!==0?(n=32-t,new P(e.N<<t|e.I>>>n,e.I<<t|e.N>>>n)):e}function st(e,t){let n;return t<32?(n=32-t,new P(e.N>>>t|e.I<<n,e.I>>>t|e.N<<n)):(n=64-t,new P(e.I>>>t|e.N<<n,e.N>>>t|e.I<<n))}function Do(e,t){return new P(e.N>>>t,e.I>>>t|e.N<<32-t)}function sf(e,t,n){return new P(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 cf(e){const t=st(e,28),n=st(e,34),r=st(e,39);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}function Je(e,t){let n,r;n=(65535&e.I)+(65535&t.I),r=(e.I>>>16)+(t.I>>>16)+(n>>>16);const a=(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 P((65535&r)<<16|65535&n,a)}function lf(e,t,n,r){let a,i;a=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I),i=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(a>>>16);const l=(65535&i)<<16|65535&a;return a=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(i>>>16),i=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(a>>>16),new P((65535&i)<<16|65535&a,l)}function uf(e,t,n,r,a){let i,l;i=(65535&e.I)+(65535&t.I)+(65535&n.I)+(65535&r.I)+(65535&a.I),l=(e.I>>>16)+(t.I>>>16)+(n.I>>>16)+(r.I>>>16)+(a.I>>>16)+(i>>>16);const s=(65535&l)<<16|65535&i;return i=(65535&e.N)+(65535&t.N)+(65535&n.N)+(65535&r.N)+(65535&a.N)+(l>>>16),l=(e.N>>>16)+(t.N>>>16)+(n.N>>>16)+(r.N>>>16)+(a.N>>>16)+(i>>>16),new P((65535&l)<<16|65535&i,s)}function sr(e,t){return new P(e.N^t.N,e.I^t.I)}function ff(e){const t=st(e,19),n=st(e,61),r=Do(e,6);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}function df(e){const t=st(e,1),n=st(e,8),r=Do(e,7);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}function xf(e){const t=st(e,14),n=st(e,18),r=st(e,41);return new P(t.N^n.N^r.N,t.I^n.I^r.I)}const pf=[new P(Y[0],3609767458),new P(Y[1],602891725),new P(Y[2],3964484399),new P(Y[3],2173295548),new P(Y[4],4081628472),new P(Y[5],3053834265),new P(Y[6],2937671579),new P(Y[7],3664609560),new P(Y[8],2734883394),new P(Y[9],1164996542),new P(Y[10],1323610764),new P(Y[11],3590304994),new P(Y[12],4068182383),new P(Y[13],991336113),new P(Y[14],633803317),new P(Y[15],3479774868),new P(Y[16],2666613458),new P(Y[17],944711139),new P(Y[18],2341262773),new P(Y[19],2007800933),new P(Y[20],1495990901),new P(Y[21],1856431235),new P(Y[22],3175218132),new P(Y[23],2198950837),new P(Y[24],3999719339),new P(Y[25],766784016),new P(Y[26],2566594879),new P(Y[27],3203337956),new P(Y[28],1034457026),new P(Y[29],2466948901),new P(Y[30],3758326383),new P(Y[31],168717936),new P(Y[32],1188179964),new P(Y[33],1546045734),new P(Y[34],1522805485),new P(Y[35],2643833823),new P(Y[36],2343527390),new P(Y[37],1014477480),new P(Y[38],1206759142),new P(Y[39],344077627),new P(Y[40],1290863460),new P(Y[41],3158454273),new P(Y[42],3505952657),new P(Y[43],106217008),new P(Y[44],3606008344),new P(Y[45],1432725776),new P(Y[46],1467031594),new P(Y[47],851169720),new P(Y[48],3100823752),new P(Y[49],1363258195),new P(Y[50],3750685593),new P(Y[51],3785050280),new P(Y[52],3318307427),new P(Y[53],3812723403),new P(Y[54],2003034995),new P(Y[55],3602036899),new P(Y[56],1575990012),new P(Y[57],1125592928),new P(Y[58],2716904306),new P(Y[59],442776044),new P(Y[60],593698344),new P(Y[61],3733110249),new P(Y[62],2999351573),new P(Y[63],3815920427),new P(3391569614,3928383900),new P(3515267271,566280711),new P(3940187606,3454069534),new P(4118630271,4000239992),new P(116418474,1914138554),new P(174292421,2731055270),new P(289380356,3203993006),new P(460393269,320620315),new P(685471733,587496836),new P(852142971,1086792851),new P(1017036298,365543100),new P(1126000580,2618297676),new P(1288033470,3409855158),new P(1501505948,4234509866),new P(1607167915,987167468),new P(1816402316,1246189591)];function $a(e){return e==="SHA-384"?[new P(3418070365,ut[0]),new P(1654270250,ut[1]),new P(2438529370,ut[2]),new P(355462360,ut[3]),new P(1731405415,ut[4]),new P(41048885895,ut[5]),new P(3675008525,ut[6]),new P(1203062813,ut[7])]:[new P(ft[0],4089235720),new P(ft[1],2227873595),new P(ft[2],4271175723),new P(ft[3],1595750129),new P(ft[4],2917565137),new P(ft[5],725511199),new P(ft[6],4215389547),new P(ft[7],327033209)]}function Ua(e,t){let n,r,a,i,l,s,d,o,c,x,u,g;const h=[];for(n=t[0],r=t[1],a=t[2],i=t[3],l=t[4],s=t[5],d=t[6],o=t[7],u=0;u<80;u+=1)u<16?(g=2*u,h[u]=new P(e[g],e[g+1])):h[u]=lf(ff(h[u-2]),h[u-7],df(h[u-15]),h[u-16]),c=uf(o,xf(l),(y=s,b=d,new P((f=l).N&y.N^~f.N&b.N,f.I&y.I^~f.I&b.I)),pf[u],h[u]),x=Je(cf(n),sf(n,r,a)),o=d,d=s,s=l,l=Je(i,c),i=a,a=r,r=n,n=Je(c,x);var f,y,b;return t[0]=Je(n,t[0]),t[1]=Je(r,t[1]),t[2]=Je(a,t[2]),t[3]=Je(i,t[3]),t[4]=Je(l,t[4]),t[5]=Je(s,t[5]),t[6]=Je(d,t[6]),t[7]=Je(o,t[7]),t}let hf=class extends ln{constructor(e,t,n){if(e!=="SHA-384"&&e!=="SHA-512")throw new Error(br);super(e,t,n);const r=n||{};this.g=this.Y,this.M=!0,this.T=-1,this.C=Vt(this.t,this.i,this.T),this.v=Ua,this.L=function(a){return a.slice()},this.B=$a,this.F=function(a,i,l,s){return function(d,o,c,x,u){let g,h;const f=31+(o+129>>>10<<5),y=o+c;for(;d.length<=f;)d.push(0);for(d[o>>>5]|=128<<24-o%32,d[f]=4294967295&y,d[f-1]=y/Cr|0,g=0;g<d.length;g+=32)x=Ua(d.slice(g,g+32),x);return h=u==="SHA-384"?[x[0].N,x[0].I,x[1].N,x[1].I,x[2].N,x[2].I,x[3].N,x[3].I,x[4].N,x[4].I,x[5].N,x[5].I]:[x[0].N,x[0].I,x[1].N,x[1].I,x[2].N,x[2].I,x[3].N,x[3].I,x[4].N,x[4].I,x[5].N,x[5].I,x[6].N,x[6].I,x[7].N,x[7].I],h}(a,i,l,s,e)},this.U=$a(e),this.m=1024,this.R=e==="SHA-384"?384:512,this.K=!1,r.hmacKey&&this.k(mt("hmacKey",r.hmacKey,this.T))}};const gf=[new P(0,1),new P(0,32898),new P(2147483648,32906),new P(2147483648,2147516416),new P(0,32907),new P(0,2147483649),new P(2147483648,2147516545),new P(2147483648,32777),new P(0,138),new P(0,136),new P(0,2147516425),new P(0,2147483658),new P(0,2147516555),new P(2147483648,139),new P(2147483648,32905),new P(2147483648,32771),new P(2147483648,32770),new P(2147483648,128),new P(0,32778),new P(2147483648,2147483658),new P(2147483648,2147516545),new P(2147483648,32896),new P(0,2147483649),new P(2147483648,2147516424)],vf=[[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 E0(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=[new P(0,0),new P(0,0),new P(0,0),new P(0,0),new P(0,0)];return n}function mf(e){let t;const n=[];for(t=0;t<5;t+=1)n[t]=e[t].slice();return n}function Mr(e,t){let n,r,a,i;const l=[],s=[];if(e!==null)for(r=0;r<e.length;r+=2)t[(r>>>1)%5][(r>>>1)/5|0]=sr(t[(r>>>1)%5][(r>>>1)/5|0],new P(e[r+1],e[r]));for(n=0;n<24;n+=1){for(i=E0(),r=0;r<5;r+=1)l[r]=(d=t[r][0],o=t[r][1],c=t[r][2],x=t[r][3],u=t[r][4],new P(d.N^o.N^c.N^x.N^u.N,d.I^o.I^c.I^x.I^u.I));for(r=0;r<5;r+=1)s[r]=sr(l[(r+4)%5],La(l[(r+1)%5],1));for(r=0;r<5;r+=1)for(a=0;a<5;a+=1)t[r][a]=sr(t[r][a],s[r]);for(r=0;r<5;r+=1)for(a=0;a<5;a+=1)i[a][(2*r+3*a)%5]=La(t[r][a],vf[r][a]);for(r=0;r<5;r+=1)for(a=0;a<5;a+=1)t[r][a]=sr(i[r][a],new P(~i[(r+1)%5][a].N&i[(r+2)%5][a].N,~i[(r+1)%5][a].I&i[(r+2)%5][a].I));t[0][0]=sr(t[0][0],gf[n])}var d,o,c,x,u;return t}function Fo(e){let t,n,r=0;const a=[0,0],i=[4294967295&e,e/Cr&2097151];for(t=6;t>=0;t--)n=i[t>>2]>>>8*t&255,n===0&&r===0||(a[r+1>>2]|=n<<8*(r+1),r+=1);return r=r!==0?r:1,a[0]|=r,{value:r+1>4?a:[a[0]],binLen:8+8*r}}function _n(e){return Gr(Fo(e.binLen),e)}function Ha(e,t){let n,r=Fo(t);r=Gr(r,e);const a=t>>>2,i=(a-r.value.length%a)%a;for(n=0;n<i;n++)r.value.push(0);return r.value}let yf=class extends ln{constructor(e,t,n){let r=6,a=0;super(e,t,n);const i=n||{};if(this.numRounds!==1){if(i.kmacKey||i.hmacKey)throw new Error(Eo);if(this.o==="CSHAKE128"||this.o==="CSHAKE256")throw new Error("Cannot set numRounds for CSHAKE variants")}switch(this.T=1,this.C=Vt(this.t,this.i,this.T),this.v=Mr,this.L=mf,this.B=E0,this.U=E0(),this.K=!1,e){case"SHA3-224":this.m=a=1152,this.R=224,this.M=!0,this.g=this.Y;break;case"SHA3-256":this.m=a=1088,this.R=256,this.M=!0,this.g=this.Y;break;case"SHA3-384":this.m=a=832,this.R=384,this.M=!0,this.g=this.Y;break;case"SHA3-512":this.m=a=576,this.R=512,this.M=!0,this.g=this.Y;break;case"SHAKE128":r=31,this.m=a=1344,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"SHAKE256":r=31,this.m=a=1088,this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"KMAC128":r=4,this.m=a=1344,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"KMAC256":r=4,this.m=a=1088,this.X(n),this.R=-1,this.K=!0,this.M=!1,this.g=this._;break;case"CSHAKE128":this.m=a=1344,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;case"CSHAKE256":this.m=a=1088,r=this.O(n),this.R=-1,this.K=!0,this.M=!1,this.g=null;break;default:throw new Error(br)}this.F=function(l,s,d,o,c){return function(x,u,g,h,f,y,b){let m,v,C=0;const A=[],D=f>>>5,w=u>>>5;for(m=0;m<w&&u>=f;m+=D)h=Mr(x.slice(m,m+D),h),u-=f;for(x=x.slice(m),u%=f;x.length<D;)x.push(0);for(m=u>>>3,x[m>>2]^=y<<m%4*8,x[D-1]^=2147483648,h=Mr(x,h);32*A.length<b&&(v=h[C%5][C/5|0],A.push(v.I),!(32*A.length>=b));)A.push(v.N),C+=1,64*C%f==0&&(Mr(null,h),C=0);return A}(l,s,0,o,a,r,c)},i.hmacKey&&this.k(mt("hmacKey",i.hmacKey,this.T))}O(e,t){const n=function(a){const i=a||{};return{funcName:mt("funcName",i.funcName,1,{value:[],binLen:0}),customization:mt("Customization",i.customization,1,{value:[],binLen:0})}}(e||{});t&&(n.funcName=t);const r=Gr(_n(n.funcName),_n(n.customization));if(n.customization.binLen!==0||n.funcName.binLen!==0){const a=Ha(r,this.m>>>3);for(let i=0;i<a.length;i+=this.m>>>5)this.U=this.v(a.slice(i,i+(this.m>>>5)),this.U),this.A+=this.m;return 4}return 31}X(e){const t=function(r){const a=r||{};return{kmacKey:mt("kmacKey",a.kmacKey,1),funcName:{value:[1128353099],binLen:32},customization:mt("Customization",a.customization,1,{value:[],binLen:0})}}(e||{});this.O(e,t.funcName);const n=Ha(_n(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=Gr({value:this.h.slice(),binLen:this.u},function(n){let r,a,i=0;const l=[0,0],s=[4294967295&n,n/Cr&2097151];for(r=6;r>=0;r--)a=s[r>>2]>>>8*r&255,a===0&&i===0||(l[i>>2]|=a<<8*i,i+=1);return i=i!==0?i:1,l[i>>2]|=i<<8*i,{value:i+1>4?l:[l[0]],binLen:8+8*i}}(e.outputLen));return this.F(t.value,t.binLen,this.A,this.L(this.U),e.outputLen)}};class Cf{constructor(t,n,r){if(t=="SHA-1")this.P=new af(t,n,r);else if(t=="SHA-224"||t=="SHA-256")this.P=new of(t,n,r);else if(t=="SHA-384"||t=="SHA-512")this.P=new hf(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(br);this.P=new yf(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 bf{static generate(t,n){const r={digits:6,algorithm:"SHA-1",period:30,timestamp:Date.now(),...n},a=Math.floor(r.timestamp/1e3),i=this.leftpad(this.dec2hex(Math.floor(a/r.period)),16,"0"),l=new Cf(r.algorithm,"HEX");l.setHMACKey(this.base32tohex(t),"HEX"),l.update(i);const s=l.getHMAC("HEX"),d=this.hex2dec(s.substring(s.length-1));let o=(this.hex2dec(s.substr(d*2,8))&this.hex2dec("7fffffff"))+"";const c=Math.max(o.length-r.digits,0);o=o.substring(c,c+r.digits);const x=Math.ceil((r.timestamp+1)/(r.period*1e3))*r.period*1e3;return{otp:o,expires:x}}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="",a="";const i=t.replace(/=+$/,"");for(let l=0;l<i.length;l++){const s=n.indexOf(t.charAt(l).toUpperCase());if(s===-1)throw new Error("Invalid base32 character in key");r+=this.leftpad(s.toString(2),5,"0")}for(let l=0;l+8<=r.length;l+=8){const s=r.substr(l,8);a=a+this.leftpad(parseInt(s,2).toString(16),2,"0")}return a}static leftpad(t,n,r){return n+1>=t.length&&(t=Array(n+1-t.length).join(r)+t),t}}var To={exports:{}};function Ef(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 kn={exports:{}};const Af={},Sf=Object.freeze(Object.defineProperty({__proto__:null,default:Af},Symbol.toStringTag,{value:"Module"})),Bf=qo(Sf);var za;function se(){return za||(za=1,function(e,t){(function(n,r){e.exports=r()})(ie,function(){var n=n||function(r,a){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof ie<"u"&&ie.crypto&&(i=ie.crypto),!i&&typeof Ef=="function")try{i=Bf}catch{}var l=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function m(){}return function(v){var C;return m.prototype=v,C=new m,m.prototype=null,C}}(),d={},o=d.lib={},c=o.Base=function(){return{extend:function(m){var v=s(this);return m&&v.mixIn(m),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var m=this.extend();return m.init.apply(m,arguments),m},init:function(){},mixIn:function(m){for(var v in m)m.hasOwnProperty(v)&&(this[v]=m[v]);m.hasOwnProperty("toString")&&(this.toString=m.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=o.WordArray=c.extend({init:function(m,v){m=this.words=m||[],v!=a?this.sigBytes=v:this.sigBytes=m.length*4},toString:function(m){return(m||g).stringify(this)},concat:function(m){var v=this.words,C=m.words,A=this.sigBytes,D=m.sigBytes;if(this.clamp(),A%4)for(var w=0;w<D;w++){var _=C[w>>>2]>>>24-w%4*8&255;v[A+w>>>2]|=_<<24-(A+w)%4*8}else for(var N=0;N<D;N+=4)v[A+N>>>2]=C[N>>>2];return this.sigBytes+=D,this},clamp:function(){var m=this.words,v=this.sigBytes;m[v>>>2]&=4294967295<<32-v%4*8,m.length=r.ceil(v/4)},clone:function(){var m=c.clone.call(this);return m.words=this.words.slice(0),m},random:function(m){for(var v=[],C=0;C<m;C+=4)v.push(l());return new x.init(v,m)}}),u=d.enc={},g=u.Hex={stringify:function(m){for(var v=m.words,C=m.sigBytes,A=[],D=0;D<C;D++){var w=v[D>>>2]>>>24-D%4*8&255;A.push((w>>>4).toString(16)),A.push((w&15).toString(16))}return A.join("")},parse:function(m){for(var v=m.length,C=[],A=0;A<v;A+=2)C[A>>>3]|=parseInt(m.substr(A,2),16)<<24-A%8*4;return new x.init(C,v/2)}},h=u.Latin1={stringify:function(m){for(var v=m.words,C=m.sigBytes,A=[],D=0;D<C;D++){var w=v[D>>>2]>>>24-D%4*8&255;A.push(String.fromCharCode(w))}return A.join("")},parse:function(m){for(var v=m.length,C=[],A=0;A<v;A++)C[A>>>2]|=(m.charCodeAt(A)&255)<<24-A%4*8;return new x.init(C,v)}},f=u.Utf8={stringify:function(m){try{return decodeURIComponent(escape(h.stringify(m)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(m){return h.parse(unescape(encodeURIComponent(m)))}},y=o.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(m){typeof m=="string"&&(m=f.parse(m)),this._data.concat(m),this._nDataBytes+=m.sigBytes},_process:function(m){var v,C=this._data,A=C.words,D=C.sigBytes,w=this.blockSize,_=w*4,N=D/_;m?N=r.ceil(N):N=r.max((N|0)-this._minBufferSize,0);var p=N*w,B=r.min(p*4,D);if(p){for(var k=0;k<p;k+=w)this._doProcessBlock(A,k);v=A.splice(0,p),C.sigBytes-=B}return new x.init(v,B)},clone:function(){var m=c.clone.call(this);return m._data=this._data.clone(),m},_minBufferSize:0});o.Hasher=y.extend({cfg:c.extend(),init:function(m){this.cfg=this.cfg.extend(m),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(m){return this._append(m),this._process(),this},finalize:function(m){m&&this._append(m);var v=this._doFinalize();return v},blockSize:16,_createHelper:function(m){return function(v,C){return new m.init(C).finalize(v)}},_createHmacHelper:function(m){return function(v,C){return new b.HMAC.init(m,C).finalize(v)}}});var b=d.algo={};return d}(Math);return n})}(kn)),kn.exports}var Rn={exports:{}},Wa;function un(){return Wa||(Wa=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.Base,s=i.WordArray,d=a.x64={};d.Word=l.extend({init:function(o,c){this.high=o,this.low=c}}),d.WordArray=l.extend({init:function(o,c){o=this.words=o||[],c!=r?this.sigBytes=c:this.sigBytes=o.length*8},toX32:function(){for(var o=this.words,c=o.length,x=[],u=0;u<c;u++){var g=o[u];x.push(g.high),x.push(g.low)}return s.create(x,this.sigBytes)},clone:function(){for(var o=l.clone.call(this),c=o.words=this.words.slice(0),x=c.length,u=0;u<x;u++)c[u]=c[u].clone();return o}})}(),n})}(Rn)),Rn.exports}var Pn={exports:{}},Ka;function wf(){return Ka||(Ka=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){if(typeof ArrayBuffer=="function"){var r=n,a=r.lib,i=a.WordArray,l=i.init,s=i.init=function(d){if(d instanceof ArrayBuffer&&(d=new Uint8Array(d)),(d instanceof Int8Array||typeof Uint8ClampedArray<"u"&&d instanceof Uint8ClampedArray||d instanceof Int16Array||d instanceof Uint16Array||d instanceof Int32Array||d instanceof Uint32Array||d instanceof Float32Array||d instanceof Float64Array)&&(d=new Uint8Array(d.buffer,d.byteOffset,d.byteLength)),d instanceof Uint8Array){for(var o=d.byteLength,c=[],x=0;x<o;x++)c[x>>>2]|=d[x]<<24-x%4*8;l.call(this,c,o)}else l.apply(this,arguments)};s.prototype=i}}(),n.lib.WordArray})}(Pn)),Pn.exports}var In={exports:{}},Ga;function Df(){return Ga||(Ga=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.enc;l.Utf16=l.Utf16BE={stringify:function(d){for(var o=d.words,c=d.sigBytes,x=[],u=0;u<c;u+=2){var g=o[u>>>2]>>>16-u%4*8&65535;x.push(String.fromCharCode(g))}return x.join("")},parse:function(d){for(var o=d.length,c=[],x=0;x<o;x++)c[x>>>1]|=d.charCodeAt(x)<<16-x%2*16;return i.create(c,o*2)}},l.Utf16LE={stringify:function(d){for(var o=d.words,c=d.sigBytes,x=[],u=0;u<c;u+=2){var g=s(o[u>>>2]>>>16-u%4*8&65535);x.push(String.fromCharCode(g))}return x.join("")},parse:function(d){for(var o=d.length,c=[],x=0;x<o;x++)c[x>>>1]|=s(d.charCodeAt(x)<<16-x%2*16);return i.create(c,o*2)}};function s(d){return d<<8&4278255360|d>>>8&16711935}}(),n.enc.Utf16})}(In)),In.exports}var Mn={exports:{}},Va;function kt(){return Va||(Va=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.enc;l.Base64={stringify:function(d){var o=d.words,c=d.sigBytes,x=this._map;d.clamp();for(var u=[],g=0;g<c;g+=3)for(var h=o[g>>>2]>>>24-g%4*8&255,f=o[g+1>>>2]>>>24-(g+1)%4*8&255,y=o[g+2>>>2]>>>24-(g+2)%4*8&255,b=h<<16|f<<8|y,m=0;m<4&&g+m*.75<c;m++)u.push(x.charAt(b>>>6*(3-m)&63));var v=x.charAt(64);if(v)for(;u.length%4;)u.push(v);return u.join("")},parse:function(d){var o=d.length,c=this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var u=0;u<c.length;u++)x[c.charCodeAt(u)]=u}var g=c.charAt(64);if(g){var h=d.indexOf(g);h!==-1&&(o=h)}return s(d,o,x)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(d,o,c){for(var x=[],u=0,g=0;g<o;g++)if(g%4){var h=c[d.charCodeAt(g-1)]<<g%4*2,f=c[d.charCodeAt(g)]>>>6-g%4*2,y=h|f;x[u>>>2]|=y<<24-u%4*8,u++}return i.create(x,u)}}(),n.enc.Base64})}(Mn)),Mn.exports}var Nn={exports:{}},Ya;function Ff(){return Ya||(Ya=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.enc;l.Base64url={stringify:function(d,o){o===void 0&&(o=!0);var c=d.words,x=d.sigBytes,u=o?this._safe_map:this._map;d.clamp();for(var g=[],h=0;h<x;h+=3)for(var f=c[h>>>2]>>>24-h%4*8&255,y=c[h+1>>>2]>>>24-(h+1)%4*8&255,b=c[h+2>>>2]>>>24-(h+2)%4*8&255,m=f<<16|y<<8|b,v=0;v<4&&h+v*.75<x;v++)g.push(u.charAt(m>>>6*(3-v)&63));var C=u.charAt(64);if(C)for(;g.length%4;)g.push(C);return g.join("")},parse:function(d,o){o===void 0&&(o=!0);var c=d.length,x=o?this._safe_map:this._map,u=this._reverseMap;if(!u){u=this._reverseMap=[];for(var g=0;g<x.length;g++)u[x.charCodeAt(g)]=g}var h=x.charAt(64);if(h){var f=d.indexOf(h);f!==-1&&(c=f)}return s(d,c,u)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(d,o,c){for(var x=[],u=0,g=0;g<o;g++)if(g%4){var h=c[d.charCodeAt(g-1)]<<g%4*2,f=c[d.charCodeAt(g)]>>>6-g%4*2,y=h|f;x[u>>>2]|=y<<24-u%4*8,u++}return i.create(x,u)}}(),n.enc.Base64url})}(Nn)),Nn.exports}var On={exports:{}},qa;function Rt(){return qa||(qa=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.WordArray,s=i.Hasher,d=a.algo,o=[];(function(){for(var f=0;f<64;f++)o[f]=r.abs(r.sin(f+1))*4294967296|0})();var c=d.MD5=s.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(f,y){for(var b=0;b<16;b++){var m=y+b,v=f[m];f[m]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var C=this._hash.words,A=f[y+0],D=f[y+1],w=f[y+2],_=f[y+3],N=f[y+4],p=f[y+5],B=f[y+6],k=f[y+7],T=f[y+8],z=f[y+9],W=f[y+10],q=f[y+11],ee=f[y+12],re=f[y+13],ne=f[y+14],j=f[y+15],F=C[0],M=C[1],I=C[2],R=C[3];F=x(F,M,I,R,A,7,o[0]),R=x(R,F,M,I,D,12,o[1]),I=x(I,R,F,M,w,17,o[2]),M=x(M,I,R,F,_,22,o[3]),F=x(F,M,I,R,N,7,o[4]),R=x(R,F,M,I,p,12,o[5]),I=x(I,R,F,M,B,17,o[6]),M=x(M,I,R,F,k,22,o[7]),F=x(F,M,I,R,T,7,o[8]),R=x(R,F,M,I,z,12,o[9]),I=x(I,R,F,M,W,17,o[10]),M=x(M,I,R,F,q,22,o[11]),F=x(F,M,I,R,ee,7,o[12]),R=x(R,F,M,I,re,12,o[13]),I=x(I,R,F,M,ne,17,o[14]),M=x(M,I,R,F,j,22,o[15]),F=u(F,M,I,R,D,5,o[16]),R=u(R,F,M,I,B,9,o[17]),I=u(I,R,F,M,q,14,o[18]),M=u(M,I,R,F,A,20,o[19]),F=u(F,M,I,R,p,5,o[20]),R=u(R,F,M,I,W,9,o[21]),I=u(I,R,F,M,j,14,o[22]),M=u(M,I,R,F,N,20,o[23]),F=u(F,M,I,R,z,5,o[24]),R=u(R,F,M,I,ne,9,o[25]),I=u(I,R,F,M,_,14,o[26]),M=u(M,I,R,F,T,20,o[27]),F=u(F,M,I,R,re,5,o[28]),R=u(R,F,M,I,w,9,o[29]),I=u(I,R,F,M,k,14,o[30]),M=u(M,I,R,F,ee,20,o[31]),F=g(F,M,I,R,p,4,o[32]),R=g(R,F,M,I,T,11,o[33]),I=g(I,R,F,M,q,16,o[34]),M=g(M,I,R,F,ne,23,o[35]),F=g(F,M,I,R,D,4,o[36]),R=g(R,F,M,I,N,11,o[37]),I=g(I,R,F,M,k,16,o[38]),M=g(M,I,R,F,W,23,o[39]),F=g(F,M,I,R,re,4,o[40]),R=g(R,F,M,I,A,11,o[41]),I=g(I,R,F,M,_,16,o[42]),M=g(M,I,R,F,B,23,o[43]),F=g(F,M,I,R,z,4,o[44]),R=g(R,F,M,I,ee,11,o[45]),I=g(I,R,F,M,j,16,o[46]),M=g(M,I,R,F,w,23,o[47]),F=h(F,M,I,R,A,6,o[48]),R=h(R,F,M,I,k,10,o[49]),I=h(I,R,F,M,ne,15,o[50]),M=h(M,I,R,F,p,21,o[51]),F=h(F,M,I,R,ee,6,o[52]),R=h(R,F,M,I,_,10,o[53]),I=h(I,R,F,M,W,15,o[54]),M=h(M,I,R,F,D,21,o[55]),F=h(F,M,I,R,T,6,o[56]),R=h(R,F,M,I,j,10,o[57]),I=h(I,R,F,M,B,15,o[58]),M=h(M,I,R,F,re,21,o[59]),F=h(F,M,I,R,N,6,o[60]),R=h(R,F,M,I,q,10,o[61]),I=h(I,R,F,M,w,15,o[62]),M=h(M,I,R,F,z,21,o[63]),C[0]=C[0]+F|0,C[1]=C[1]+M|0,C[2]=C[2]+I|0,C[3]=C[3]+R|0},_doFinalize:function(){var f=this._data,y=f.words,b=this._nDataBytes*8,m=f.sigBytes*8;y[m>>>5]|=128<<24-m%32;var v=r.floor(b/4294967296),C=b;y[(m+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,y[(m+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,f.sigBytes=(y.length+1)*4,this._process();for(var A=this._hash,D=A.words,w=0;w<4;w++){var _=D[w];D[w]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}return A},clone:function(){var f=s.clone.call(this);return f._hash=this._hash.clone(),f}});function x(f,y,b,m,v,C,A){var D=f+(y&b|~y&m)+v+A;return(D<<C|D>>>32-C)+y}function u(f,y,b,m,v,C,A){var D=f+(y&m|b&~m)+v+A;return(D<<C|D>>>32-C)+y}function g(f,y,b,m,v,C,A){var D=f+(y^b^m)+v+A;return(D<<C|D>>>32-C)+y}function h(f,y,b,m,v,C,A){var D=f+(b^(y|~m))+v+A;return(D<<C|D>>>32-C)+y}a.MD5=s._createHelper(c),a.HmacMD5=s._createHmacHelper(c)}(Math),n.MD5})}(On)),On.exports}var jn={exports:{}},Xa;function _o(){return Xa||(Xa=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=a.Hasher,s=r.algo,d=[],o=s.SHA1=l.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,x){for(var u=this._hash.words,g=u[0],h=u[1],f=u[2],y=u[3],b=u[4],m=0;m<80;m++){if(m<16)d[m]=c[x+m]|0;else{var v=d[m-3]^d[m-8]^d[m-14]^d[m-16];d[m]=v<<1|v>>>31}var C=(g<<5|g>>>27)+b+d[m];m<20?C+=(h&f|~h&y)+1518500249:m<40?C+=(h^f^y)+1859775393:m<60?C+=(h&f|h&y|f&y)-1894007588:C+=(h^f^y)-899497514,b=y,y=f,f=h<<30|h>>>2,h=g,g=C}u[0]=u[0]+g|0,u[1]=u[1]+h|0,u[2]=u[2]+f|0,u[3]=u[3]+y|0,u[4]=u[4]+b|0},_doFinalize:function(){var c=this._data,x=c.words,u=this._nDataBytes*8,g=c.sigBytes*8;return x[g>>>5]|=128<<24-g%32,x[(g+64>>>9<<4)+14]=Math.floor(u/4294967296),x[(g+64>>>9<<4)+15]=u,c.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var c=l.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=l._createHelper(o),r.HmacSHA1=l._createHmacHelper(o)}(),n.SHA1})}(jn)),jn.exports}var Ln={exports:{}},Za;function $0(){return Za||(Za=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.WordArray,s=i.Hasher,d=a.algo,o=[],c=[];(function(){function g(b){for(var m=r.sqrt(b),v=2;v<=m;v++)if(!(b%v))return!1;return!0}function h(b){return(b-(b|0))*4294967296|0}for(var f=2,y=0;y<64;)g(f)&&(y<8&&(o[y]=h(r.pow(f,1/2))),c[y]=h(r.pow(f,1/3)),y++),f++})();var x=[],u=d.SHA256=s.extend({_doReset:function(){this._hash=new l.init(o.slice(0))},_doProcessBlock:function(g,h){for(var f=this._hash.words,y=f[0],b=f[1],m=f[2],v=f[3],C=f[4],A=f[5],D=f[6],w=f[7],_=0;_<64;_++){if(_<16)x[_]=g[h+_]|0;else{var N=x[_-15],p=(N<<25|N>>>7)^(N<<14|N>>>18)^N>>>3,B=x[_-2],k=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;x[_]=p+x[_-7]+k+x[_-16]}var T=C&A^~C&D,z=y&b^y&m^b&m,W=(y<<30|y>>>2)^(y<<19|y>>>13)^(y<<10|y>>>22),q=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),ee=w+q+T+c[_]+x[_],re=W+z;w=D,D=A,A=C,C=v+ee|0,v=m,m=b,b=y,y=ee+re|0}f[0]=f[0]+y|0,f[1]=f[1]+b|0,f[2]=f[2]+m|0,f[3]=f[3]+v|0,f[4]=f[4]+C|0,f[5]=f[5]+A|0,f[6]=f[6]+D|0,f[7]=f[7]+w|0},_doFinalize:function(){var g=this._data,h=g.words,f=this._nDataBytes*8,y=g.sigBytes*8;return h[y>>>5]|=128<<24-y%32,h[(y+64>>>9<<4)+14]=r.floor(f/4294967296),h[(y+64>>>9<<4)+15]=f,g.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var g=s.clone.call(this);return g._hash=this._hash.clone(),g}});a.SHA256=s._createHelper(u),a.HmacSHA256=s._createHmacHelper(u)}(Math),n.SHA256})}(Ln)),Ln.exports}var $n={exports:{}},Ja;function Tf(){return Ja||(Ja=1,function(e,t){(function(n,r,a){e.exports=r(se(),$0())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.WordArray,l=r.algo,s=l.SHA256,d=l.SHA224=s.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=s._doFinalize.call(this);return o.sigBytes-=4,o}});r.SHA224=s._createHelper(d),r.HmacSHA224=s._createHmacHelper(d)}(),n.SHA224})}($n)),$n.exports}var Un={exports:{}},Qa;function ko(){return Qa||(Qa=1,function(e,t){(function(n,r,a){e.exports=r(se(),un())})(ie,function(n){return function(){var r=n,a=r.lib,i=a.Hasher,l=r.x64,s=l.Word,d=l.WordArray,o=r.algo;function c(){return s.create.apply(s,arguments)}var x=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],u=[];(function(){for(var h=0;h<80;h++)u[h]=c()})();var g=o.SHA512=i.extend({_doReset:function(){this._hash=new d.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(h,f){for(var y=this._hash.words,b=y[0],m=y[1],v=y[2],C=y[3],A=y[4],D=y[5],w=y[6],_=y[7],N=b.high,p=b.low,B=m.high,k=m.low,T=v.high,z=v.low,W=C.high,q=C.low,ee=A.high,re=A.low,ne=D.high,j=D.low,F=w.high,M=w.low,I=_.high,R=_.low,L=N,U=p,X=B,K=k,ae=T,te=z,we=W,G=q,ye=ee,De=re,We=ne,qe=j,At=F,ht=M,gt=I,St=R,$e=0;$e<80;$e++){var Pe,et,Pt=u[$e];if($e<16)et=Pt.high=h[f+$e*2]|0,Pe=Pt.low=h[f+$e*2+1]|0;else{var Yt=u[$e-15],ct=Yt.high,Xe=Yt.low,fn=(ct>>>1|Xe<<31)^(ct>>>8|Xe<<24)^ct>>>7,qt=(Xe>>>1|ct<<31)^(Xe>>>8|ct<<24)^(Xe>>>7|ct<<25),Xt=u[$e-2],tt=Xt.high,Bt=Xt.low,dn=(tt>>>19|Bt<<13)^(tt<<3|Bt>>>29)^tt>>>6,Er=(Bt>>>19|tt<<13)^(Bt<<3|tt>>>29)^(Bt>>>6|tt<<26),Ar=u[$e-7],xn=Ar.high,pn=Ar.low,Sr=u[$e-16],Zt=Sr.high,Jt=Sr.low;Pe=qt+pn,et=fn+xn+(Pe>>>0<qt>>>0?1:0),Pe=Pe+Er,et=et+dn+(Pe>>>0<Er>>>0?1:0),Pe=Pe+Jt,et=et+Zt+(Pe>>>0<Jt>>>0?1:0),Pt.high=et,Pt.low=Pe}var vt=ye&We^~ye&At,It=De&qe^~De&ht,Qt=L&X^L&ae^X&ae,Br=U&K^U&te^K&te,hn=(L>>>28|U<<4)^(L<<30|U>>>2)^(L<<25|U>>>7),er=(U>>>28|L<<4)^(U<<30|L>>>2)^(U<<25|L>>>7),gn=(ye>>>14|De<<18)^(ye>>>18|De<<14)^(ye<<23|De>>>9),wr=(De>>>14|ye<<18)^(De>>>18|ye<<14)^(De<<23|ye>>>9),tr=x[$e],vn=tr.high,Dr=tr.low,Ie=St+wr,Ze=gt+gn+(Ie>>>0<St>>>0?1:0),Ie=Ie+It,Ze=Ze+vt+(Ie>>>0<It>>>0?1:0),Ie=Ie+Dr,Ze=Ze+vn+(Ie>>>0<Dr>>>0?1:0),Ie=Ie+Pe,Ze=Ze+et+(Ie>>>0<Pe>>>0?1:0),Fr=er+Br,mn=hn+Qt+(Fr>>>0<er>>>0?1:0);gt=At,St=ht,At=We,ht=qe,We=ye,qe=De,De=G+Ie|0,ye=we+Ze+(De>>>0<G>>>0?1:0)|0,we=ae,G=te,ae=X,te=K,X=L,K=U,U=Ie+Fr|0,L=Ze+mn+(U>>>0<Ie>>>0?1:0)|0}p=b.low=p+U,b.high=N+L+(p>>>0<U>>>0?1:0),k=m.low=k+K,m.high=B+X+(k>>>0<K>>>0?1:0),z=v.low=z+te,v.high=T+ae+(z>>>0<te>>>0?1:0),q=C.low=q+G,C.high=W+we+(q>>>0<G>>>0?1:0),re=A.low=re+De,A.high=ee+ye+(re>>>0<De>>>0?1:0),j=D.low=j+qe,D.high=ne+We+(j>>>0<qe>>>0?1:0),M=w.low=M+ht,w.high=F+At+(M>>>0<ht>>>0?1:0),R=_.low=R+St,_.high=I+gt+(R>>>0<St>>>0?1:0)},_doFinalize:function(){var h=this._data,f=h.words,y=this._nDataBytes*8,b=h.sigBytes*8;f[b>>>5]|=128<<24-b%32,f[(b+128>>>10<<5)+30]=Math.floor(y/4294967296),f[(b+128>>>10<<5)+31]=y,h.sigBytes=f.length*4,this._process();var m=this._hash.toX32();return m},clone:function(){var h=i.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});r.SHA512=i._createHelper(g),r.HmacSHA512=i._createHmacHelper(g)}(),n.SHA512})}(Un)),Un.exports}var Hn={exports:{}},ei;function _f(){return ei||(ei=1,function(e,t){(function(n,r,a){e.exports=r(se(),un(),ko())})(ie,function(n){return function(){var r=n,a=r.x64,i=a.Word,l=a.WordArray,s=r.algo,d=s.SHA512,o=s.SHA384=d.extend({_doReset:function(){this._hash=new l.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var c=d._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=d._createHelper(o),r.HmacSHA384=d._createHmacHelper(o)}(),n.SHA384})}(Hn)),Hn.exports}var zn={exports:{}},ti;function kf(){return ti||(ti=1,function(e,t){(function(n,r,a){e.exports=r(se(),un())})(ie,function(n){return function(r){var a=n,i=a.lib,l=i.WordArray,s=i.Hasher,d=a.x64,o=d.Word,c=a.algo,x=[],u=[],g=[];(function(){for(var y=1,b=0,m=0;m<24;m++){x[y+5*b]=(m+1)*(m+2)/2%64;var v=b%5,C=(2*y+3*b)%5;y=v,b=C}for(var y=0;y<5;y++)for(var b=0;b<5;b++)u[y+5*b]=b+(2*y+3*b)%5*5;for(var A=1,D=0;D<24;D++){for(var w=0,_=0,N=0;N<7;N++){if(A&1){var p=(1<<N)-1;p<32?_^=1<<p:w^=1<<p-32}A&128?A=A<<1^113:A<<=1}g[D]=o.create(w,_)}})();var h=[];(function(){for(var y=0;y<25;y++)h[y]=o.create()})();var f=c.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var y=this._state=[],b=0;b<25;b++)y[b]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(y,b){for(var m=this._state,v=this.blockSize/2,C=0;C<v;C++){var A=y[b+2*C],D=y[b+2*C+1];A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360;var w=m[C];w.high^=D,w.low^=A}for(var _=0;_<24;_++){for(var N=0;N<5;N++){for(var p=0,B=0,k=0;k<5;k++){var w=m[N+5*k];p^=w.high,B^=w.low}var T=h[N];T.high=p,T.low=B}for(var N=0;N<5;N++)for(var z=h[(N+4)%5],W=h[(N+1)%5],q=W.high,ee=W.low,p=z.high^(q<<1|ee>>>31),B=z.low^(ee<<1|q>>>31),k=0;k<5;k++){var w=m[N+5*k];w.high^=p,w.low^=B}for(var re=1;re<25;re++){var p,B,w=m[re],ne=w.high,j=w.low,F=x[re];F<32?(p=ne<<F|j>>>32-F,B=j<<F|ne>>>32-F):(p=j<<F-32|ne>>>64-F,B=ne<<F-32|j>>>64-F);var M=h[u[re]];M.high=p,M.low=B}var I=h[0],R=m[0];I.high=R.high,I.low=R.low;for(var N=0;N<5;N++)for(var k=0;k<5;k++){var re=N+5*k,w=m[re],L=h[re],U=h[(N+1)%5+5*k],X=h[(N+2)%5+5*k];w.high=L.high^~U.high&X.high,w.low=L.low^~U.low&X.low}var w=m[0],K=g[_];w.high^=K.high,w.low^=K.low}},_doFinalize:function(){var y=this._data,b=y.words;this._nDataBytes*8;var m=y.sigBytes*8,v=this.blockSize*32;b[m>>>5]|=1<<24-m%32,b[(r.ceil((m+1)/v)*v>>>5)-1]|=128,y.sigBytes=b.length*4,this._process();for(var C=this._state,A=this.cfg.outputLength/8,D=A/8,w=[],_=0;_<D;_++){var N=C[_],p=N.high,B=N.low;p=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,w.push(B),w.push(p)}return new l.init(w,A)},clone:function(){for(var y=s.clone.call(this),b=y._state=this._state.slice(0),m=0;m<25;m++)b[m]=b[m].clone();return y}});a.SHA3=s._createHelper(f),a.HmacSHA3=s._createHmacHelper(f)}(Math),n.SHA3})}(zn)),zn.exports}var Wn={exports:{}},ri;function Rf(){return ri||(ri=1,function(e,t){(function(n,r){e.exports=r(se())})(ie,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:
|
package/dist/index.mjs
CHANGED
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.
|
|
4
|
+
"version": "1.0.108",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|