PageSourceSearch

https://filemint.dev/_next/static/chunks/1339.11266687e49568d1.js

js filemint.dev collected 2026-10-04 12:22:59 UTC 12,419 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1339],{1339:(e,t,r)=>{var _=r(38414);let n=!1,s={};async function i(){n||(await (0,_.Ay)("/wasm/checksum/checksum_bg.wasm"),n=!0)}self.onmessage=async e=>{let{id:t,operation:n,data:a}=e.data;try{switch(await i(),n){case"single-shot":{let{buffer:e}=a,_=new Uint8Array(e),{sha1_hash:n,sha256_hash:s,sha384_hash:i,sha512_hash:o,md5_hash:h,crc32_hash:l,blake3_hash:d}=await Promise.resolve().then(r.bind(r,38414)),g=performance.now(),p=l(_),w=performance.now()-g,c=performance.now(),b=d(_),f=performance.now()-c,u=performance.now(),y=n(_),m=performance.now()-u,k=performance.now(),z=s(_),x=performance.now()-k,I=performance.now(),S=i(_),R=performance.now()-I,v=performance.now(),A=o(_),F=performance.now()-v,E=performance.now(),M=h(_),H=performance.now()-E;self.postMessage({id:t,success:!0,results:[{algorithm:"CRC32",hash:p,bits:32,duration:w},{algorithm:"MD5",hash:M,bits:128,duration:H},{algorithm:"SHA-1",hash:y,bits:160,duration:m},{algorithm:"SHA-256",hash:z,bits:256,duration:x},{algorithm:"SHA-384",hash:S,bits:384,duration:R},{algorithm:"SHA-512",hash:A,bits:512,duration:F},{algorithm:"BLAKE3",hash:b,bits:256,duration:f}]});break}case"stream-init":{let e=Math.random().toString(36).substring(7);s[e]={sha1:new _.r0,sha256:new _.bV,sha384:new _.Ve,sha512:new _.wB,md5:new _.q4,crc32:new _.R1,blake3:new _.sl},self.postMessage({id:t,success:!0,session:e});break}case"stream-update":{let{session:e,chunk:r}=a,_=s[e];if(!_)throw Error("Invalid hashing session: ".concat(e));let n=new Uint8Array(r);_.sha1&&_.sha1.update(n),_.sha256&&_.sha256.update(n),_.sha384&&_.sha384.update(n),_.sha512&&_.sha512.update(n),_.md5&&_.md5.update(n),_.crc32&&_.crc32.update(n),_.blake3&&_.blake3.update(n),self.postMessage({id:t,success:!0});break}case"stream-finalize":{let{session:e}=a,r=s[e];if(!r)throw Error("Invalid hashing session: ".concat(e));let _=performance.now(),n=r.sha1?r.sha1.finalize():"",i=r.sha256?r.sha256.finalize():"",o=r.sha384?r.sha384.finalize():"",h=r.sha512?r.sha512.finalize():"",l=r.md5?r.md5.finalize():"",d=r.crc32?r.crc32.finalize():"",g=r.blake3?r.blake3.finalize():"",p=(performance.now()-_)/7;delete s[e],self.postMessage({id:t,success:!0,results:[{algorithm:"CRC32",hash:d,bits:32,duration:p},{algorithm:"MD5",hash:l,bits:128,duration:p},{algorithm:"SHA-1",hash:n,bits:160,duration:p},{algorithm:"SHA-256",hash:i,bits:256,duration:p},{algorithm:"SHA-384",hash:o,bits:384,duration:p},{algorithm:"SHA-512",hash:h,bits:512,duration:p},{algorithm:"BLAKE3",hash:g,bits:256,duration:p}]});break}default:throw Error("Unsupported operation: ".concat(n))}}catch(e){self.postMessage({id:t,success:!1,error:e instanceof Error?e.message:"Worker hashing error"})}}},38414:(e,t,r)=>{let _;r.d(t,{Ay:()=>W,R1:()=>s,Ve:()=>h,bV:()=>o,blake3_hash:()=>d,crc32_hash:()=>g,md5_hash:()=>p,q4:()=>i,r0:()=>a,sha1_hash:()=>w,sha256_hash:()=>c,sha384_hash:()=>b,sha512_hash:()=>f,sl:()=>n,wB:()=>l});class n{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,u.unregister(this),e}free(){let e=this.__destroy_into_raw();_.__wbg_blake3hasher_free(e,0)}finalize(){let e,t;try{let s=this.__destroy_into_raw(),i=_.__wbindgen_add_to_stack_pointer(-16);_.blake3hasher_finalize(i,s);var r=R().getInt32(i+0,!0),n=R().getInt32(i+4,!0);return e=r,t=n,v(r,n)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(e,t,1)}}update(e){let t=E(e,_.__wbindgen_export),r=C;_.blake3hasher_update(this.__wbg_ptr,t,r)}constructor(){const e=_.blake3hasher_new();return this.__wbg_ptr=e,u.register(this,this.__wbg_ptr,this),this}}Symbol.dispose&&(n.prototype[Symbol.dispose]=n.prototype.free);class s{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,y.unregister(this),e}free(){let e=this.__destroy_into_raw();_.__wbg_crc32hasher_free(e,0)}finalize(){let e,t;try{let s=this.__destroy_into_raw(),i=_.__wbindgen_add_to_stack_pointer(-16);_.crc32hasher_finalize(i,s);var r=R().getInt32(i+0,!0),n=R().getInt32(i+4,!0);return e=r,t=n,v(r,n)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(e,t,1)}}update(e){let t=E(e,_.__wbindgen_export),r=C;_.crc32hasher_update(this.__wbg_ptr,t,r)}constructor(){const e=_.crc32hasher_new();return this.__wbg_ptr=e,y.register(this,this.__wbg_ptr,this),this}}Symbol.dispose&&(s.prototype[Symbol.dispose]=s.prototype.free);class i{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,m.unregister(this),e}free(){let e=this.__destroy_into_raw();_.__wbg_md5hasher_free(e,0)}finalize(){let e,t;try{let s=this.__destroy_into_raw(),i=_.__wbindgen_add_to_stack_pointer(-16);_.md5hasher_finalize(i,s);var r=R().getInt32(i+0,!0),n=R().getInt32(i+4,!0);return e=r,t=n,v(r,n)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(e,t,1)}}update(e){let t=E(e,_.__wbindgen_export),r=C;_.md5hasher_update(this.__wbg_ptr,t,r)}constructor(){const e=_.md5hasher_new();return this.__wbg_ptr=e,m.register(this,this.__wbg_ptr,this),this}}Symbol.dispose&&(i.prototype[Symbol.dispose]=i.prototype.free);class a{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,k.unregister(this),e}free(){let e=this.__destroy_into_raw();_.__wbg_sha1hasher_free(e,0)}finalize(){let e,t;try{let s=this.__destroy_into_raw(),i=_.__wbindgen_add_to_stack_pointer(-16);_.sha1hasher_finalize(i,s);var r=R().getInt32(i+0,!0),n=R().getInt32(i+4,!0);return e=r,t=n,v(r,n)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(e,t,1)}}update(e){let t=E(e,_.__wbindgen_export),r=C;_.sha1hasher_update(this.__wbg_ptr,t,r)}constructor(){const e=_.sha1hasher_new();return this.__wbg_ptr=e,k.register(this,this.__wbg_ptr,this),this}}Symbol.dispose&&(a.prototype[Symbol.dispose]=a.prototype.free);class o{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,z.unregister(this),e}free(){let e=this.__destroy_into_raw();_.__wbg_sha256hasher_free(e,0)}finalize(){let e,t;try{let s=this.__destroy_into_raw(),i=_.__wbindgen_add_to_stack_pointer(-16);_.sha256hasher_finalize(i,s);var r=R().getInt32(i+0,!0),n=R().getInt32(i+4,!0);return e=r,t=n,v(r,n)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(e,t,1)}}update(e){let t=E(e,_.__wbindgen_export),r=C;_.sha256hasher_update(this.__wbg_ptr,t,r)}constructor(){const e=_.sha256hasher_new();return this.__wbg_ptr=e,z.register(this,this.__wbg_ptr,this),this}}Symbol.dispose&&(o.prototype[Symbol.dispose]=o.prototype.free);class h{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,x.unregister(this),e}free(){let e=this.__destroy_into_raw();_.__wbg_sha384hasher_free(e,0)}finalize(){let e,t;try{let s=this.__destroy_into_raw(),i=_.__wbindgen_add_to_stack_pointer(-16);_.sha384hasher_finalize(i,s);var r=R().getInt32(i+0,!0),n=R().getInt32(i+4,!0);return e=r,t=n,v(r,n)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(e,t,1)}}update(e){let t=E(e,_.__wbindgen_export),r=C;_.sha384hasher_update(this.__wbg_ptr,t,r)}constructor(){const e=_.sha384hasher_new();return this.__wbg_ptr=e,x.register(this,this.__wbg_ptr,this),this}}Symbol.dispose&&(h.prototype[Symbol.dispose]=h.prototype.free);class l{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,I.unregister(this),e}free(){let e=this.__destroy_into_raw();_.__wbg_sha512hasher_free(e,0)}finalize(){let e,t;try{let s=this.__destroy_into_raw(),i=_.__wbindgen_add_to_stack_pointer(-16);_.sha512hasher_finalize(i,s);var r=R().getInt32(i+0,!0),n=R().getInt32(i+4,!0);return e=r,t=n,v(r,n)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(e,t,1)}}update(e){let t=E(e,_.__wbindgen_export),r=C;_.sha512hasher_update(this.__wbg_ptr,t,r)}constructor(){const e=_.sha512hasher_new();return this.__wbg_ptr=e,I.register(this,this.__wbg_ptr,this),this}}function d(e){let t,r;try{let i=_.__wbindgen_add_to_stack_pointer(-16),a=E(e,_.__wbindgen_export),o=C;_.blake3_hash(i,a,o);var n=R().getInt32(i+0,!0),s=R().getInt32(i+4,!0);return t=n,r=s,v(n,s)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(t,r,1)}}function g(e){let t,r;try{let i=_.__wbindgen_add_to_stack_pointer(-16),a=E(e,_.__wbindgen_export),o=C;_.crc32_hash(i,a,o);var n=R().getInt32(i+0,!0),s=R().getInt32(i+4,!0);return t=n,r=s,v(n,s)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(t,r,1)}}function p(e){let t,r;try{let i=_.__wbindgen_add_to_stack_pointer(-16),a=E(e,_.__wbindgen_export),o=C;_.md5_hash(i,a,o);var n=R().getInt32(i+0,!0),s=R().getInt32(i+4,!0);return t=n,r=s,v(n,s)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(t,r,1)}}function w(e){let t,r;try{let i=_.__wbindgen_add_to_stack_pointer(-16),a=E(e,_.__wbindgen_export),o=C;_.sha1_hash(i,a,o);var n=R().getInt32(i+0,!0),s=R().getInt32(i+4,!0);return t=n,r=s,v(n,s)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(t,r,1)}}function c(e){let t,r;try{let i=_.__wbindgen_add_to_stack_pointer(-16),a=E(e,_.__wbindgen_export),o=C;_.sha256_hash(i,a,o);var n=R().getInt32(i+0,!0),s=R().getInt32(i+4,!0);return t=n,r=s,v(n,s)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(t,r,1)}}function b(e){let t,r;try{let i=_.__wbindgen_add_to_stack_pointer(-16),a=E(e,_.__wbindgen_export),o=C;_.sha384_hash(i,a,o);var n=R().getInt32(i+0,!0),s=R().getInt32(i+4,!0);return t=n,r=s,v(n,s)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(t,r,1)}}function f(e){let t,r;try{let i=_.__wbindgen_add_to_stack_pointer(-16),a=E(e,_.__wbindgen_export),o=C;_.sha512_hash(i,a,o);var n=R().getInt32(i+0,!0),s=R().getInt32(i+4,!0);return t=n,r=s,v(n,s)}finally{_.__wbindgen_add_to_stack_pointer(16),_.__wbindgen_export2(t,r,1)}}Symbol.dispose&&(l.prototype[Symbol.dispose]=l.prototype.free);let u="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>_.__wbg_blake3hasher_free(e,1)),y="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>
1_.__wbg_crc32hasher_free(e,1)),m="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>_.__wbg_md5hasher_free(e,1)),k="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>_.__wbg_sha1hasher_free(e,1)),z="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>_.__wbg_sha256hasher_free(e,1)),x="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>_.__wbg_sha384hasher_free(e,1)),I="u"<typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>_.__wbg_sha512hasher_free(e,1)),S=null;function R(){return(null===S||!0===S.buffer.detached||void 0===S.buffer.detached&&S.buffer!==_.memory.buffer)&&(S=new DataView(_.memory.buffer)),S}function v(e,t){var r,_;return r=e>>>0,(H+=_=t)>=0x7ff00000&&((M=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),H=_),M.decode(F().subarray(r,r+_))}let A=null;function F(){return(null===A||0===A.byteLength)&&(A=new Uint8Array(_.memory.buffer)),A}function E(e,t){let r=t(+e.length,1)>>>0;return F().set(e,r/1),C=e.length,r}let M=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});M.decode();let H=0,B=new TextEncoder;"encodeInto"in B||(B.encodeInto=function(e,t){let r=B.encode(e);return t.set(r),{read:e.length,written:r.length}});let C=0;async function U(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(e.ok&&function(e){switch(e){case"basic":case"cors":case"default":return!0}return!1}(e.type)&&"application/wasm"!==e.headers.get("Content-Type"));else throw t}let r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}{let r=await WebAssembly.instantiate(e,t);return r instanceof WebAssembly.Instance?{instance:r,module:e}:r}}async function W(e){if(void 0!==_)return _;void 0!==e&&Object.getPrototypeOf(e)===Object.prototype&&({module_or_path:e}=e),void 0===e&&(e=new r.U(r(95692))),("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));let{instance:t,module:n}=await U(await e,{__proto__:null,"./checksum_bg.js":{__proto__:null,__wbg___wbindgen_throw_ea4887a5f8f9a9db:function(e,t){throw Error(v(e,t))}}});return _=t.exports,S=null,A=null,_}},95692:(e,t,r)=>{e.exports=r.p+"static/media/checksum_bg.e2f54796.wasm"}}]);

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.