1import{a as st}from"./@adraffy-B5UvtzmQ.js";var Tt={exports:{}};(function(It){var Wt={};/** 2 * [js-sha3]{@link https://github.com/emn178/js-sha3} 3 * 4 * @version 0.8.0 5 * @author Chen, Yi-Cyuan [[email protected]] 6 * @copyright Chen, Yi-Cyuan 2015-2018 7 * @license MIT 8 */(function(){var A="input is invalid type",Vt="finalize already called",Et=typeof window=="object",y=Et?window:{};y.JS_SHA3_NO_WINDOW&&(Et=!1);var Yt=!Et&&typeof self=="object",Gt=!y.JS_SHA3_NO_NODE_JS&&typeof process=="object"&&process.versions&&process.versions.node;Gt?y=Wt:Yt&&(y=self);var mt=!y.JS_SHA3_NO_COMMON_JS&&!0&&It.exports,_=!y.JS_SHA3_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",p="0123456789abcdef".split(""),Lt=[31,7936,2031616,520093696],Mt=[4,1024,262144,67108864],Xt=[1,256,65536,16777216],Zt=[6,1536,393216,100663296],b=[0,8,16,24],Nt=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],Dt=[224,256,384,512],Ot=[128,256],gt=["hex","buffer","arrayBuffer","array","digest"],Ht={128:168,256:136};(y.JS_SHA3_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(t){return Object.prototype.toString.call(t)==="[object Array]"}),_&&(y.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(t){return typeof t=="object"&&t.buffer&&t.buffer.constructor===ArrayBuffer});for(var zt=function(t,e,r){return function(n){return new h(t,e,t).update(n)[r]()}},Kt=function(t,e,r){return function(n,o){return new h(t,e,o).update(n)[r]()}},Jt=function(t,e,r){return function(n,o,i,f){return v["cshake"+t].update(n,o,i,f)[r]()}},Ft=function(t,e,r){return function(n,o,i,f){return v["kmac"+t].update(n,o,i,f)[r]()}},C=function(t,e,r,n){for(var o=0;o<gt.length;++o){var i=gt[o];t[i]=e(r,n,i)}return t},Ut=function(t,e){var r=zt(t,e,"hex");return r.create=function(){return new h(t,e,t)},r.update=function(n){return r.create().update(n)},C(r,zt,t,e)},$t=function(t,e){var r=Kt(t,e,"hex");return r.create=function(n){return new h(t,e,n)},r.update=function(n,o){return r.create(o).update(n)},C(r,Kt,t,e)},qt=function(t,e){var r=Ht[t],n=Jt(t,e,"hex");return n.create=function(o,i,f){return!i&&!f?v["shake"+t].create(o):new h(t,e,o).bytepad([i,f],r)},n.update=function(o,i,f,a){return n.create(i,f,a).update(o)},C(n,Jt,t,e)},Qt=function(t,e){var r=Ht[t],n=Ft(t,e,"hex");return n.create=function(o,i,f){return new Rt(t,e,i).bytepad(["KMAC",f],r).bytepad([o],r)},n.update=function(o,i,f,a){return n.create(o,f,a).update(i)},C(n,Ft,t,e)},jt=[{name:"keccak",padding:Xt,bits:Dt,createMethod:Ut},{name:"sha3",padding:Zt,bits:Dt,createMethod:Ut},{name:"shake",padding:Lt,bits:Ot,createMethod:$t},{name:"cshake",padding:Mt,bits:Ot,createMethod:qt},{name:"kmac",padding:Mt,bits:Ot,createMethod:Qt}],v={},w=[],d=0;d<jt.length;++d)for(var k=jt[d],E=k.bits,B=0;B<E.length;++B){var xt=k.name+"_"+E[B];if(w.push(xt),v[xt]=k.createMethod(E[B],k.padding),k.name!=="sha3"){var Pt=k.name+E[B];w.push(Pt),v[Pt]=v[xt]}}function h(t,e,r){this.blocks=[],this.s=[],this.padding=e,this.outputBits=r,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(t<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(r&31)>>3;for(var n=0;n<50;++n)this.s[n]=0}h.prototype.update=function(t){if(this.finalized)throw new Error(Vt);var e,r=typeof t;if(r!=="string"){if(r==="object"){if(t===null)throw new Error(A);if(_&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!_||!ArrayBuffer.isView(t)))throw new Error(A)}else throw new Error(A);e=!0}for(var n=this.blocks,o=this.byteCount,i=t.length,f=this.blockCount,a=0,l=this.s,u,c;a<i;){if(this.reset)for(this.reset=!1,n[0]=this.block,u=1;u<f+1;++u)n[u]=0;if(e)for(u=this.start;a<i&&u<o;++a)n[u>>2]|=t[a]<<b[u++&3];else for(u=this.start;a<i&&u<o;++a)c=t.charCodeAt(a),c<128?n[u>>2]|=c<<b[u++&3]:c<2048?(n[u>>2]|=(192|c>>6)<<b[u++&3],n[u>>
82]|=(128|c&63)<<b[u++&3]):c<55296||c>=57344?(n[u>>2]|=(224|c>>12)<<b[u++&3],n[u>>2]|=(128|c>>6&63)<<b[u++&3],n[u>>2]|=(128|c&63)<<b[u++&3]):(c=65536+((c&1023)<<10|t.charCodeAt(++a)&1023),n[u>>2]|=(240|c>>18)<<b[u++&3],n[u>>2]|=(128|c>>12&63)<<b[u++&3],n[u>>2]|=(128|c>>6&63)<<b[u++&3],n[u>>2]|=(128|c&63)<<b[u++&3]);if(this.lastByteIndex=u,u>=o){for(this.start=u-o,this.block=n[f],u=0;u<f;++u)l[u]^=n[u];S(l),this.reset=!0}else this.start=u}return this},h.prototype.encode=function(t,e){var r=t&255,n=1,o=[r];for(t=t>>8,r=t&255;r>0;)o.unshift(r),t=t>>8,r=t&255,++n;return e?o.push(n):o.unshift(n),this.update(o),o.length},h.prototype.encodeString=function(t){var e,r=typeof t;if(r!=="string"){if(r==="object"){if(t===null)throw new Error(A);if(_&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!Array.isArray(t)&&(!_||!ArrayBuffer.isView(t)))throw new Error(A)}else throw new Error(A);e=!0}var n=0,o=t.length;if(e)n=o;else for(var i=0;i<t.length;++i){var f=t.charCodeAt(i);f<128?n+=1:f<2048?n+=2:f<55296||f>=57344?n+=3:(f=65536+((f&1023)<<10|t.charCodeAt(++i)&1023),n+=4)}return n+=this.encode(n*8),this.update(t),n},h.prototype.bytepad=function(t,e){for(var r=this.encode(e),n=0;n<t.length;++n)r+=this.encodeString(t[n]);var o=e-r%e,i=[];return i.length=o,this.update(i),this},h.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex,r=this.blockCount,n=this.s;if(t[e>>2]|=this.padding[e&3],this.lastByteIndex===this.byteCount)for(t[0]=t[r],e=1;e<r+1;++e)t[e]=0;for(t[r-1]|=2147483648,e=0;e<r;++e)n[e]^=t[e];S(n)}},h.prototype.toString=h.prototype.hex=function(){this.finalize();for(var t=this.blockCount,e=this.s,r=this.outputBlocks,n=this.extraBytes,o=0,i=0,f="",a;i<r;){for(o=0;o<t&&i<r;++o,++i)a=e[o],f+=p[a>>4&15]+p[a&15]+p[a>>12&15]+p[a>>8&15]+p[a>>20&15]+p[a>>16&15]+p[a>>28&15]+p[a>>24&15];i%t===0&&(S(e),o=0)}return n&&(a=e[o],f+=p[a>>4&15]+p[a&15],n>1&&(f+=p[a>>12&15]+p[a>>8&15]),n>2&&(f+=p[a>>20&15]+p[a>>16&15])),f},h.prototype.arrayBuffer=function(){this.finalize();var t=this.blockCount,e=this.s,r=this.outputBlocks,n=this.extraBytes,o=0,i=0,f=this.outputBits>>3,a;n?a=new ArrayBuffer(r+1<<2):a=new ArrayBuffer(f);for(var l=new Uint32Array(a);i<r;){for(o=0;o<t&&i<r;++o,++i)l[i]=e[o];i%t===0&&S(e)}return n&&(l[o]=e[o],a=a.slice(0,f)),a},h.prototype.buffer=h.prototype.arrayBuffer,h.prototype.digest=h.prototype.array=function(){this.finalize();for(var t=this.blockCount,e=this.s,r=this.outputBlocks,n=this.extraBytes,o=0,i=0,f=[],a,l;i<r;){for(o=0;o<t&&i<r;++o,++i)a=i<<2,l=e[o],f[a]=l&255,f[a+1]=l>>8&255,f[a+2]=l>>16&255,f[a+3]=l>>24&255;i%t===0&&S(e)}return n&&(a=i<<2,l=e[o],f[a]=l&255,n>1&&(f[a+1]=l>>8&255),n>2&&(f[a+2]=l>>16&255)),f};function Rt(t,e,r){h.call(this,t,e,r)}Rt.prototype=new h,Rt.prototype.finalize=function(){return this.encode(this.outputBits,!0),h.prototype.finalize.call(this)};var S=function(t){var e,r,n,o,i,f,a,l,u,c,O,x,R,I,M,N,D,g,H,z,K,J,F,U,j,P,T,W,V,Y,G,m,L,X,Z,$,q,Q,s,tt,et,rt,nt,ot,at,it,ft,ut,ct,ht,lt,pt,bt,yt,vt,dt,At,kt,_t,wt,Bt,St,Ct;for(n=0;n<48;n+=2)o=t[0]^t[10]^t[20]^t[30]^t[40],i=t[1]^t[11]^t[21]^t[31]^t[41],f=t[2]^t[12]^t[22]^t[32]^t[42],a=t[3]^t[13]^t[23]^t[33]^t[43],l=t[4]^t[14]^t[24]^t[34]^t[44],u=t[5]^t[15]^t[25]^t[35]^t[45],c=t[6]^t[16]^t[26]^t[36]^t[46],O=t[7]^t[17]^t[27]^t[37]^t[47],x=t[8]^t[18]^t[28]^t[38]^t[48],R=t[9]^t[19]^t[29]^t[39]^t[49],e=x^(f<<1|a>>>31),r=R^(a<<1|f>>>31),t[0]^=e,t[1]^=r,t[10]^=e,t[11]^=r,t[20]^=e,t[21]^=r,t[30]^=e,t[31]^=r,t[40]^=e,t[41]^=r,e=o^(l<<1|u>>>31),r=i^(u<<1|l>>>31),t[2]^=e,t[3]^=r,t[12]^=e,t[13]^=r,t[22]^=e,t[23]^=r,t[32]^=e,t[33]^=r,t[42]^=e,t[43]^=r,e=f^(c<<1|O>>>31),r=a^(O<<1|c>>>31),t[4]^=e,t[5]^=r,t[14]^=e,t[15]^=r,t[24]^=e,t[25]^=r,t[34]^=e,t[35]^=r,t[44]^=e,t[45]^=r,e=l^(x<<1|R>>>31),r=u^(R<<1|x>>>31),t[6]^=e,t[7]^=r,t[16]^=e,t[17]^=r,t[26]^=e,t[27]^=r,t[36]^=e,t[37]^=r,t[46]^=e,t[47]^=r,e=c^(o<<1|i>>>31),r=O^(i<<1|o>>>31),t[8]^=e,t[9]^=r,t[18]^=e,t[19]^=r,t[28]^=e,t[29]^=r,t[38]^=e,t[39]^=r,t[48]^=e,t[49]^=r,I=t[0],M=t[1],it=t[11]<<4|t[10]>>>28,ft=t[10]<<4|t[11]>>>28,W=t[20]<<3|t[21]>>>29,V=t[21]<<3|t[20]>>>29,wt=t[31]<<9|t[30]>>>23,Bt=t[30]<<9|t[31]>>>23,rt=t[40]<<18|t[41]>>>14,nt=t[41]<<18|t[40]>>>14,X=t[2]<<1|t[3]>>>31,Z=t[3]<<1|t[2]>>>31,N=t[13]<<12|t[12]>>>20,D=t[12]<<12|t[13]>>>20,ut=t[22]<<10|t[23]>>>22,ct=t[23]<<10|t[22]>>>22,Y=t[33]<<13|t[32]>>>19,G=t[32]<<13|t[33]>
8>>19,St=t[42]<<2|t[43]>>>30,Ct=t[43]<<2|t[42]>>>30,yt=t[5]<<30|t[4]>>>2,vt=t[4]<<30|t[5]>>>2,$=t[14]<<6|t[15]>>>26,q=t[15]<<6|t[14]>>>26,g=t[25]<<11|t[24]>>>21,H=t[24]<<11|t[25]>>>21,ht=t[34]<<15|t[35]>>>17,lt=t[35]<<15|t[34]>>>17,m=t[45]<<29|t[44]>>>3,L=t[44]<<29|t[45]>>>3,U=t[6]<<28|t[7]>>>4,j=t[7]<<28|t[6]>>>4,dt=t[17]<<23|t[16]>>>9,At=t[16]<<23|t[17]>>>9,Q=t[26]<<25|t[27]>>>7,s=t[27]<<25|t[26]>>>7,z=t[36]<<21|t[37]>>>11,K=t[37]<<21|t[36]>>>11,pt=t[47]<<24|t[46]>>>8,bt=t[46]<<24|t[47]>>>8,ot=t[8]<<27|t[9]>>>5,at=t[9]<<27|t[8]>>>5,P=t[18]<<20|t[19]>>>12,T=t[19]<<20|t[18]>>>12,kt=t[29]<<7|t[28]>>>25,_t=t[28]<<7|t[29]>>>25,tt=t[38]<<8|t[39]>>>24,et=t[39]<<8|t[38]>>>24,J=t[48]<<14|t[49]>>>18,F=t[49]<<14|t[48]>>>18,t[0]=I^~N&g,t[1]=M^~D&H,t[10]=U^~P&W,t[11]=j^~T&V,t[20]=X^~$&Q,t[21]=Z^~q&s,t[30]=ot^~it&ut,t[31]=at^~ft&ct,t[40]=yt^~dt&kt,t[41]=vt^~At&_t,t[2]=N^~g&z,t[3]=D^~H&K,t[12]=P^~W&Y,t[13]=T^~V&G,t[22]=$^~Q&tt,t[23]=q^~s&et,t[32]=it^~ut&ht,t[33]=ft^~ct<,t[42]=dt^~kt&wt,t[43]=At^~_t&Bt,t[4]=g^~z&J,t[5]=H^~K&F,t[14]=W^~Y&m,t[15]=V^~G&L,t[24]=Q^~tt&rt,t[25]=s^~et&nt,t[34]=ut^~ht&pt,t[35]=ct^~lt&bt,t[44]=kt^~wt&St,t[45]=_t^~Bt&Ct,t[6]=z^~J&I,t[7]=K^~F&M,t[16]=Y^~m&U,t[17]=G^~L&j,t[26]=tt^~rt&X,t[27]=et^~nt&Z,t[36]=ht^~pt&ot,t[37]=lt^~bt&at,t[46]=wt^~St&yt,t[47]=Bt^~Ct&vt,t[8]=J^~I&N,t[9]=F^~M&D,t[18]=m^~U&P,t[19]=L^~j&T,t[28]=rt^~X&$,t[29]=nt^~Z&q,t[38]=pt^~ot&it,t[39]=bt^~at&ft,t[48]=St^~yt&dt,t[49]=Ct^~vt&At,t[0]^=Nt[n],t[1]^=Nt[n+1]};if(mt)It.exports=v;else for(d=0;d<w.length;++d)y[w[d]]=v[w[d]]})()})(Tt);var te=Tt.exports;const re=st(te);export{re as s};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.