"use strict";(globalThis.webpackChunkproton_pass_extension=globalThis.webpackChunkproton_pass_extension||[]).push([["node_modules_noble_hashes_esm_sha1_js"],{27816:(t,e,s)=>{s.d(e,{TQ:()=>n,ol:()=>o,r9:()=>i});var r=s(27997);function i(t,e,s){return t&e^~t&s}function n(t,e,s){return t&e^t&s^e&s}class o extends r.Vw{constructor(t,e,s,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=t,this.outputLen=e,this.padOffset=s,this.isLE=i,this.buffer=new Uint8Array(t),this.view=(0,r.O8)(this.buffer)}update(t){(0,r.CC)(this),t=(0,r.ZJ)(t),(0,r.DO)(t);let{view:e,buffer:s,blockLen:i}=this,n=t.length;for(let o=0;o<n;){let h=Math.min(i-this.pos,n-o);if(h===i){let e=(0,r.O8)(t);for(;i<=n-o;o+=i)this.process(e,o);continue}s.set(t.subarray(o,o+h),this.pos),this.pos+=h,o+=h,this.pos===i&&(this.process(e,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){(0,r.CC)(this),(0,r.Ht)(t,this),this.finished=!0;let{buffer:e,view:s,blockLen:i,isLE:n}=this,{pos:o}=this;e[o++]=128,(0,r.uH)(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(s,0),o=0);for(let t=o;t<i;t++)e[t]=0;!function(t,e,s,r){if("function"==typeof t.setBigUint64)return t.setBigUint64(e,s,r);let i=BigInt(32),n=BigInt(0xffffffff),o=Number(s>>i&n),h=Number(s&n),f=4*!!r,l=4*!r;t.setUint32(e+f,o,r),t.setUint32(e+l,h,r)}(s,i-8,BigInt(8*this.length),n),this.process(s,0);let h=(0,r.O8)(t),f=this.outputLen;if(f%4)throw Error("_sha2: outputLen should be aligned to 32bit");let l=f/4,u=this.get();if(l>u.length)throw Error("_sha2: outputLen bigger than state");for(let t=0;t<l;t++)h.setUint32(4*t,u[t],n)}digest(){let{buffer:t,outputLen:e}=this;this.digestInto(t);let s=t.slice(0,e);return this.destroy(),s}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());let{blockLen:e,buffer:s,length:r,finished:i,destroyed:n,pos:o}=this;return t.destroyed=n,t.finished=i,t.length=r,t.pos=o,r%e&&t.buffer.set(s),t}clone(){return this._cloneInto()}}},27997:(t,e,s)=>{function r(t,...e){if(!(t instanceof Uint8Array||ArrayBuffer.isView(t)&&"Uint8Array"===t.constructor.name))throw Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw Error("Uint8Array expected of length "+e+", got length="+t.length)}function i(t,e=!0){if(t.destroyed)throw Error("Hash instance has been destroyed");if(e&&t.finished)throw Error("Hash#digest() has already been called")}function n(t,e){r(t);let s=e.outputLen;if(t.length<s)throw Error("digestInto() expects output buffer of length at least "+s)}function o(...t){for(let e=0;e<t.length;e++)t[e].fill(0)}function h(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function f(t,e){return t<<e|t>>>32-e>>>0}function l(t){return"string"==typeof t&&(t=function(t){if("string"!=typeof t)throw Error("string expected");return new Uint8Array(new TextEncoder().encode(t))}(t)),r(t),t}s.d(e,{CC:()=>i,DO:()=>r,Ht:()=>n,O8:()=>h,Vw:()=>u,ZJ:()=>l,aZ:()=>f,ld:()=>c,qj:()=>a,uH:()=>o});class u{}function a(t){let e=e=>t().update(l(e)).digest(),s=t();return e.outputLen=s.outputLen,e.blockLen=s.blockLen,e.create=()=>t(),e}let c=a},63124:(t,e,s)=>{s.d(e,{sha1:()=>d});var r=s(27816),i=s(27997);let n=Uint32Array.from([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]),o=new Uint32Array(80);class h extends r.ol{constructor(){super(64,20,8,!1),this.A=0|n[0],this.B=0|n[1],this.C=0|n[2],this.D=0|n[3],this.E=0|n[4]}get(){let{A:t,B:e,C:s,D:r,E:i}=this;return[t,e,s,r,i]}set(t,e,s,r,i){this.A=0|t,this.B=0|e,this.C=0|s,this.D=0|r,this.E=0|i}process(t,e){for(let s=0;s<16;s++,e+=4)o[s]=t.getUint32(e,!1);for(let t=16;t<80;t++)o[t]=(0,i.aZ)(o[t-3]^o[t-8]^o[t-14]^o[t-16],1);let{A:s,B:n,C:h,D:f,E:l}=this;for(let t=0;t<80;t++){let e,u;t<20?(e=(0,r.r9)(n,h,f),u=0x5a827999):t<40?(e=n^h^f,u=0x6ed9eba1):t<60?(e=(0,r.TQ)(n,h,f),u=0x8f1bbcdc):(e=n^h^f,u=0xca62c1d6);let a=(0,i.aZ)(s,5)+e+l+u+o[t]|0;l=f,f=h,h=(0,i.aZ)(n,30),n=s,s=a}s=s+this.A|0,n=n+this.B|0,h=h+this.C|0,f=f+this.D|0,l=l+this.E|0,this.set(s,n,h,f,l)}roundClean(){(0,i.uH)(o)}destroy(){this.set(0,0,0,0,0),(0,i.uH)(this.buffer)}}let f=(0,i.qj)(()=>new h);(t,e)=>Math.floor(0x100000000*Math.abs(Math.sin(e+1))),r.ol;let l=Uint8Array.from([7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8]),u=Uint8Array.from(Array(16).fill(0).map((t,e)=>e)),a=u.map(t=>(9*t+5)%16),c=(()=>{let t=[[u],[a]];for(let e=0;e<4;e++)for(let s of t)s.push(s[e].map(t=>l[t]));return t})();c[0],c[1],r.ol;let d=f}}]);
