var q=Object.create;var p=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var R=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty;var B=(e,t)=>()=>(e&&(t=e(e=0)),t);var x=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),C=(e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})},M=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of P(t))!H.call(e,r)&&r!==n&&p(e,r,{get:()=>t[r],enumerable:!(a=L(t,r))||a.enumerable});return e};var b=(e,t,n)=>(n=e!=null?q(R(e)):{},M(t||!e||!e.__esModule?p(n,"default",{value:e,enumerable:!0}):n,e)),V=e=>M(p({},"__esModule",{value:!0}),e);var Y,c=B(()=>{Y=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};Y.SENTRY_RELEASE={id:"1.1.30"}});var j=x((ce,d)=>{c();var E={};E.__wbindgen_placeholder__=d.exports;var o,{TextDecoder:G}=require("util"),I=new G("utf-8",{ignoreBOM:!0,fatal:!0});I.decode();var g=null;function h(){return(g===null||g.buffer!==o.memory.buffer)&&(g=new Uint8Array(o.memory.buffer)),g}function J(e,t){return I.decode(h().subarray(e,e+t))}var f=new Array(32).fill(void 0);f.push(void 0,null,!0,!1);var u=f.length;function K(e){u===f.length&&f.push(f.length+1);let t=u;return u=f[t],f[t]=e,t}var v=0;function A(e,t){let n=t(e.length*1);return h().set(e,n/1),v=e.length,n}var y=null;function l(){return(y===null||y.buffer!==o.memory.buffer)&&(y=new Int32Array(o.memory.buffer)),y}function O(e,t){return h().subarray(e/1,e/1+t)}d.exports.compress=function(e){try{let r=o.__wbindgen_add_to_stack_pointer(-16),s=A(e,o.__wbindgen_malloc),i=v;o.compress(r,s,i);var t=l()[r/4+0],n=l()[r/4+1],a=O(t,n).slice();return o.__wbindgen_free(t,n*1),a}finally{o.__wbindgen_add_to_stack_pointer(16)}};function Q(e){return f[e]}function X(e){e<36||(f[e]=u,u=e)}function Z(e){let t=Q(e);return X(e),t}d.exports.decompress=function(e){try{let i=o.__wbindgen_add_to_stack_pointer(-16),_=A(e,o.__wbindgen_malloc),m=v;o.decompress(i,_,m);var t=l()[i/4+0],n=l()[i/4+1],a=l()[i/4+2],r=l()[i/4+3];if(r)throw Z(a);var s=O(t,n).slice();return o.__wbindgen_free(t,n*1),s}finally{o.__wbindgen_add_to_stack_pointer(16)}};d.exports.__wbindgen_string_new=function(e,t){let n=J(e,t);return K(n)};var $=require("path").join(__dirname,"lz4_wasm_nodejs_bg.wasm"),ee=require("fs").readFileSync($),te=new WebAssembly.Module(ee),ne=new WebAssembly.Instance(te,E);o=ne.exports;d.exports.__wasm=o});var k=x((le,T)=>{c();T.exports=function(e,t){if(typeof e!="string")throw new TypeError("expected path to be a string");if(e==="\\"||e==="/")return"/";var n=e.length;if(n<=1)return e;var a="";if(n>4&&e[3]==="\\"){var r=e[2];(r==="?"||r===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),a="//")}var s=e.split(/[/\\]+/);return t!==!1&&s[s.length-1]===""&&s.pop(),a+s.join("/")}});var se={};C(se,{default:()=>oe});module.exports=V(se);c();c();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7ed16625-9b43-4eac-9ebe-1918b6eebdc2",e._sentryDebugIdIdentifier="sentry-dbid-7ed16625-9b43-4eac-9ebe-1918b6eebdc2")}catch{}})();c();var D=b(require("crypto"),1),S=b(require("fs"),1),w=require("worker_threads"),W=b(j(),1),z=b(k(),1),F=require("path");w.parentPort.on("message",({workspaceRoot:e,task:t})=>{try{let n=[],a=t.map(r=>{let s=(0,z.default)(r);try{let i=(0,F.join)(e,s),_=S.default.readFileSync(i),m=W.default.compress(_),U=D.default.createHash("md5").update(_).digest("hex");return n.push(m.buffer),{normalizedPath:s,hash:U,data:m}}catch(i){if(i.code==="ENOENT")return{normalizedPath:s};throw i}});w.parentPort.postMessage({res:a},n)}catch(n){w.parentPort.postMessage({err:n})}});var N={};var oe=N;
/*! Bundled license information:

normalize-path/index.js:
  (*!
   * normalize-path <https://github.com/jonschlinkert/normalize-path>
   *
   * Copyright (c) 2014-2018, Jon Schlinkert.
   * Released under the MIT License.
   *)
*/
//# sourceMappingURL=hash.js.map
