1import{n as e}from"./chunk-Bj-mKKzh.js";import{C as t,F as n,K as r,O as i,R as a,T as o,j as s,w as c}from"./_u64-B9fNc5Vs.js";function l(e,t,n,r){if(typeof e.setBigUint64==`function`)return e.setBigUint64(t,n,r);let i=BigInt(32),a=BigInt(4294967295),o=Number(n>>i&a),s=Number(n&a),c=r?4:0,l=r?0:4;e.setUint32(t+c,o,r),e.setUint32(t+l,s,r)}function u(e,t,n){return e&t^~e&n}function d(e,t,n){return e&t^e&n^t&n}var f,p,m,h,g=e((()=>{a(),f=class extends t{constructor(e,t,r,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=i,this.buffer=new Uint8Array(e),this.view=n(this.buffer)}update(e){o(this),e=r(e),c(e);let{view:t,buffer:i,blockLen:a}=this,s=e.length;for(let r=0;r<s;){let o=Math.min(a-this.pos,s-r);if(o===a){let t=n(e);for(;a<=s-r;r+=a)this.process(t,r);continue}i.set(e.subarray(r,r+o),this.pos),this.pos+=o,r+=o,this.pos===a&&(this.process(t,0),this.pos=0)}return this.length+=e.length,this.roundClean(),this}digestInto(e){o(this),i(e,this),this.finished=!0;let{buffer:t,view:r,blockLen:a,isLE:c}=this,{pos:u}=this;t[u++]=128,s(this.buffer.subarray(u)),this.padOffset>a-u&&(this.process(r,0),u=0);for(let e=u;e<a;e++)t[e]=0;l(r,a-8,BigInt(this.length*8),c),this.process(r,0);let d=n(e),f=this.outputLen;if(f%4)throw Error(`_sha2: outputLen should be aligned to 32bit`);let p=f/4,m=this.get();if(p>m.length)throw Error(`_sha2: outputLen bigger than state`);for(let e=0;e<p;e++)d.setUint32(4*e,m[e],c)}digest(){let{buffer:e,outputLen:t}=this;this.digestInto(e);let n=e.slice(0,t);return this.destroy(),n}_cloneInto(e){e||=new this.constructor,e.set(...this.get());let{blockLen:t,buffer:n,length:r,finished:i,destroyed:a,pos:o}=this;return e.destroyed=a,e.finished=i,e.length=r,e.pos=o,r%t&&e.buffer.set(n),e}clone(){return this._cloneInto()}},p=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),m=Uint32Array.from([3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]),h=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209])}));export{m as a,p as i,f as n,h as o,d as r,g as s,u as t};
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.