eslint-plugin-turbo 2.6.3-canary.0 → 2.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -27,7 +27,7 @@ GFS4: `),console.error(e)});_e[Ne]||(hd=global[Ne]||[],dd(_e,hd),_e.close=functi
27
27
  ${n.message}`:g,D=[v,t,e].filter(Boolean).join(`
28
28
  `);return x?(n.originalMessage=n.message,n.message=D):n=new Error(D),n.shortMessage=v,n.command=o,n.escapedCommand=u,n.exitCode=s,n.signal=i,n.signalDescription=h,n.stdout=e,n.stderr=t,r!==void 0&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!a,n.isCanceled=c,n.killed=l&&!a,n};BD.exports=jI});var ND=m((Dq,Ph)=>{"use strict";var Bu=["stdin","stdout","stderr"],HI=e=>Bu.some(t=>e[t]!==void 0),LD=e=>{if(!e)return;let{stdio:t}=e;if(t===void 0)return Bu.map(n=>e[n]);if(HI(e))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${Bu.map(n=>`\`${n}\``).join(", ")}`);if(typeof t=="string")return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let r=Math.max(t.length,Bu.length);return Array.from({length:r},(n,i)=>t[i])};Ph.exports=LD;Ph.exports.node=e=>{let t=LD(e);return t==="ipc"?"ipc":t===void 0||typeof t=="string"?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]}});var qD=m((xq,MD)=>{"use strict";var $I=require("os"),UI=Zf(),GI=1e3*5,WI=(e,t="SIGTERM",r={})=>{let n=e(t);return VI(e,t,r,n),n},VI=(e,t,r,n)=>{if(!YI(t,r,n))return;let i=KI(r),s=setTimeout(()=>{e("SIGKILL")},i);s.unref&&s.unref()},YI=(e,{forceKillAfterTimeout:t},r)=>zI(e)&&t!==!1&&r,zI=e=>e===$I.constants.signals.SIGTERM||typeof e=="string"&&e.toUpperCase()==="SIGTERM",KI=({forceKillAfterTimeout:e=!0})=>{if(e===!0)return GI;if(!Number.isFinite(e)||e<0)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e},XI=(e,t)=>{e.kill()&&(t.isCanceled=!0)},JI=(e,t,r)=>{e.kill(t),r(Object.assign(new Error("Timed out"),{timedOut:!0,signal:t}))},ZI=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{if(t===0||t===void 0)return n;let i,s=new Promise((u,a)=>{i=setTimeout(()=>{JI(e,r,a)},t)}),o=n.finally(()=>{clearTimeout(i)});return Promise.race([s,o])},QI=({timeout:e})=>{if(e!==void 0&&(!Number.isFinite(e)||e<0))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},e8=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=UI(()=>{e.kill()});return n.finally(()=>{i()})};MD.exports={spawnedKill:WI,spawnedCancel:XI,setupTimeout:ZI,validateTimeout:QI,setExitHandler:e8}});var HD=m((Sq,jD)=>{"use strict";var Ut=e=>e!==null&&typeof e=="object"&&typeof e.pipe=="function";Ut.writable=e=>Ut(e)&&e.writable!==!1&&typeof e._write=="function"&&typeof e._writableState=="object";Ut.readable=e=>Ut(e)&&e.readable!==!1&&typeof e._read=="function"&&typeof e._readableState=="object";Ut.duplex=e=>Ut.writable(e)&&Ut.readable(e);Ut.transform=e=>Ut.duplex(e)&&typeof e._transform=="function";jD.exports=Ut});var UD=m((Aq,$D)=>{"use strict";var{PassThrough:t8}=require("stream");$D.exports=e=>{e={...e};let{array:t}=e,{encoding:r}=e,n=r==="buffer",i=!1;t?i=!(r||n):r=r||"utf8",n&&(r=null);let s=new t8({objectMode:i});r&&s.setEncoding(r);let o=0,u=[];return s.on("data",a=>{u.push(a),i?o=u.length:o+=a.length}),s.getBufferedValue=()=>t?u:n?Buffer.concat(u,o):u.join(""),s.getBufferedLength=()=>o,s}});var GD=m((wq,Ss)=>{"use strict";var{constants:r8}=require("buffer"),n8=require("stream"),{promisify:i8}=require("util"),s8=UD(),o8=i8(n8.pipeline),Iu=class extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}};async function Bh(e,t){if(!e)throw new Error("Expected a stream");t={maxBuffer:1/0,...t};let{maxBuffer:r}=t,n=s8(t);return await new Promise((i,s)=>{let o=u=>{u&&n.getBufferedLength()<=r8.MAX_LENGTH&&(u.bufferedData=n.getBufferedValue()),s(u)};(async()=>{try{await o8(e,n),i()}catch(u){o(u)}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new Iu)})}),n.getBufferedValue()}Ss.exports=Bh;Ss.exports.buffer=(e,t)=>Bh(e,{...t,encoding:"buffer"});Ss.exports.array=(e,t)=>Bh(e,{...t,array:!0});Ss.exports.MaxBufferError=Iu});var VD=m((Cq,WD)=>{"use strict";var{PassThrough:u8}=require("stream");WD.exports=function(){var e=[],t=new u8({objectMode:!0});return t.setMaxListeners(0),t.add=r,t.isEmpty=n,t.on("unpipe",i),Array.prototype.slice.call(arguments).forEach(r),t;function r(s){return Array.isArray(s)?(s.forEach(r),this):(e.push(s),s.once("end",i.bind(null,s)),s.once("error",t.emit.bind(t,"error")),s.pipe(t,{end:!1}),this)}function n(){return e.length==0}function i(s){e=e.filter(function(o){return o!==s}),!e.length&&t.readable&&t.end()}}});var XD=m((Fq,KD)=>{"use strict";var zD=HD(),YD=GD(),a8=VD(),c8=(e,t)=>{t===void 0||e.stdin===void 0||(zD(t)?t.pipe(e.stdin):e.stdin.end(t))},l8=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=a8();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r},Ih=async(e,t)=>{if(e){e.destroy();try{return await t}catch(r){return r.bufferedData}}},Lh=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(!(!e||!r))return t?YD(e,{encoding:t,maxBuffer:n}):YD.buffer(e,{maxBuffer:n})},f8=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:s},o)=>{let u=Lh(e,{encoding:n,buffer:i,maxBuffer:s}),a=Lh(t,{encoding:n,buffer:i,maxBuffer:s}),c=Lh(r,{encoding:n,buffer:i,maxBuffer:s*2});try{return await Promise.all([o,u,a,c])}catch(l){return Promise.all([{error:l,signal:l.signal,timedOut:l.timedOut},Ih(e,u),Ih(t,a),Ih(r,c)])}},h8=({input:e})=>{if(zD(e))throw new TypeError("The `input` option cannot be a stream in sync mode")};KD.exports={handleInput:c8,makeAllStream:l8,getSpawnedResult:f8,validateInputSync:h8}});var ZD=m((Rq,JD)=>{"use strict";var p8=(async()=>{})().constructor.prototype,d8=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(p8,e)]),m8=(e,t)=>{for(let[r,n]of d8){let i=typeof t=="function"?(...s)=>Reflect.apply(n.value,t(),s):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i})}return e},g8=e=>new Promise((t,r)=>{e.on("exit",(n,i)=>{t({exitCode:n,signal:i})}),e.on("error",n=>{r(n)}),e.stdin&&e.stdin.on("error",n=>{r(n)})});JD.exports={mergePromise:m8,getSpawnedPromise:g8}});var tx=m((Tq,ex)=>{"use strict";var QD=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],y8=/^[\w.-]+$/,E8=/"/g,_8=e=>typeof e!="string"||y8.test(e)?e:`"${e.replace(E8,'\\"')}"`,b8=(e,t)=>QD(e,t).join(" "),v8=(e,t)=>QD(e,t).map(r=>_8(r)).join(" "),D8=/ +/g,x8=e=>{let t=[];for(let r of e.trim().split(D8)){let n=t[t.length-1];n&&n.endsWith("\\")?t[t.length-1]=`${n.slice(0,-1)} ${r}`:t.push(r)}return t};ex.exports={joinCommand:b8,getEscapedCommand:v8,parseCommand:x8}});var ax=m((Oq,pi)=>{"use strict";var S8=require("path"),Nh=require("child_process"),A8=DD(),w8=SD(),C8=CD(),F8=Kf(),Lu=ID(),nx=ND(),{spawnedKill:R8,spawnedCancel:T8,setupTimeout:O8,validateTimeout:k8,setExitHandler:P8}=qD(),{handleInput:B8,getSpawnedResult:I8,makeAllStream:L8,validateInputSync:N8}=XD(),{mergePromise:rx,getSpawnedPromise:M8}=ZD(),{joinCommand:ix,parseCommand:sx,getEscapedCommand:ox}=tx(),q8=1e3*1e3*100,j8=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let s=t?{...process.env,...e}:e;return r?C8.env({env:s,cwd:n,execPath:i}):s},ux=(e,t,r={})=>{let n=A8._parse(e,t,r);return e=n.command,t=n.args,r=n.options,r={maxBuffer:q8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:r.cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...r},r.env=j8(r),r.stdio=nx(r),process.platform==="win32"&&S8.basename(e,".exe")==="cmd"&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n}},As=(e,t,r)=>typeof t!="string"&&!Buffer.isBuffer(t)?r===void 0?void 0:"":e.stripFinalNewline?w8(t):t,Nu=(e,t,r)=>{let n=ux(e,t,r),i=ix(e,t),s=ox(e,t);k8(n.options);let o;try{o=Nh.spawn(n.file,n.args,n.options)}catch(E){let _=new Nh.ChildProcess,g=Promise.reject(Lu({error:E,stdout:"",stderr:"",all:"",command:i,escapedCommand:s,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}));return rx(_,g)}let u=M8(o),a=O8(o,n.options,u),c=P8(o,n.options,a),l={isCanceled:!1};o.kill=R8.bind(null,o.kill.bind(o)),o.cancel=T8.bind(null,o,l);let h=F8(async()=>{let[{error:E,exitCode:_,signal:g,timedOut:x},v,D,O]=await I8(o,n.options,c),q=As(n.options,v),k=As(n.options,D),z=As(n.options,O);if(E||_!==0||g!==null){let W=Lu({error:E,exitCode:_,signal:g,stdout:q,stderr:k,all:z,command:i,escapedCommand:s,parsed:n,timedOut:x,isCanceled:l.isCanceled,killed:o.killed});if(!n.options.reject)return W;throw W}return{command:i,escapedCommand:s,exitCode:0,stdout:q,stderr:k,all:z,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return B8(o,n.options.input),o.all=L8(o,n.options),rx(o,h)};pi.exports=Nu;pi.exports.sync=(e,t,r)=>{let n=ux(e,t,r),i=ix(e,t),s=ox(e,t);N8(n.options);let o;try{o=Nh.spawnSync(n.file,n.args,n.options)}catch(c){throw Lu({error:c,stdout:"",stderr:"",all:"",command:i,escapedCommand:s,parsed:n,timedOut:!1,isCanceled:!1,killed:!1})}let u=As(n.options,o.stdout,o.error),a=As(n.options,o.stderr,o.error);if(o.error||o.status!==0||o.signal!==null){let c=Lu({stdout:u,stderr:a,error:o.error,signal:o.signal,exitCode:o.status,command:i,escapedCommand:s,parsed:n,timedOut:o.error&&o.error.code==="ETIMEDOUT",isCanceled:!1,killed:o.signal!==null});if(!n.options.reject)return c;throw c}return{command:i,escapedCommand:s,exitCode:0,stdout:u,stderr:a,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}};pi.exports.command=(e,t)=>{let[r,...n]=sx(e);return Nu(r,n,t)};pi.exports.commandSync=(e,t)=>{let[r,...n]=sx(e);return Nu.sync(r,n,t)};pi.exports.node=(e,t,r={})=>{t&&!Array.isArray(t)&&typeof t=="object"&&(r=t,t=[]);let n=nx.node(r),i=process.execArgv.filter(u=>!u.startsWith("--inspect")),{nodePath:s=process.execPath,nodeOptions:o=i}=r;return Nu(s,[...o,e,...Array.isArray(t)?t:[]],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:n,shell:!1})}});var di=m((Lq,fx)=>{"use strict";var lx=new Map([["C","cwd"],["f","file"],["z","gzip"],["P","preservePaths"],["U","unlink"],["strip-components","strip"],["stripComponents","strip"],["keep-newer","newer"],["keepNewer","newer"],["keep-newer-files","newer"],["keepNewerFiles","newer"],["k","keep"],["keep-existing","keep"],["keepExisting","keep"],["m","noMtime"],["no-mtime","noMtime"],["p","preserveOwner"],["L","follow"],["h","follow"]]);fx.exports=e=>e?Object.keys(e).map(t=>[lx.has(t)?lx.get(t):t,e[t]]).reduce((t,r)=>(t[r[0]]=r[1],t),Object.create(null)):{}});var Uu=m((Nq,bx)=>{"use strict";var hx=typeof process=="object"&&process?process:{stdout:null,stderr:null},G8=require("events"),px=require("stream"),dx=require("string_decoder").StringDecoder,ur=Symbol("EOF"),ar=Symbol("maybeEmitEnd"),Mr=Symbol("emittedEnd"),Mu=Symbol("emittingEnd"),ws=Symbol("emittedError"),qu=Symbol("closed"),mx=Symbol("read"),ju=Symbol("flush"),gx=Symbol("flushChunk"),ot=Symbol("encoding"),cr=Symbol("decoder"),Hu=Symbol("flowing"),Cs=Symbol("paused"),mi=Symbol("resume"),Se=Symbol("buffer"),Gt=Symbol("pipes"),Ie=Symbol("bufferLength"),Mh=Symbol("bufferPush"),qh=Symbol("bufferShift"),We=Symbol("objectMode"),Ve=Symbol("destroyed"),jh=Symbol("emitData"),yx=Symbol("emitEnd"),Hh=Symbol("emitEnd2"),lr=Symbol("async"),Fs=e=>Promise.resolve().then(e),Ex=global._MP_NO_ITERATOR_SYMBOLS_!=="1",W8=Ex&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),V8=Ex&&Symbol.iterator||Symbol("iterator not implemented"),Y8=e=>e==="end"||e==="finish"||e==="prefinish",z8=e=>e instanceof ArrayBuffer||typeof e=="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0,K8=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),$u=class{constructor(t,r,n){this.src=t,this.dest=r,this.opts=n,this.ondrain=()=>t[mi](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},$h=class extends $u{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,r,n){super(t,r,n),this.proxyErrors=i=>r.emit("error",i),t.on("error",this.proxyErrors)}};bx.exports=class _x extends px{constructor(t){super(),this[Hu]=!1,this[Cs]=!1,this[Gt]=[],this[Se]=[],this[We]=t&&t.objectMode||!1,this[We]?this[ot]=null:this[ot]=t&&t.encoding||null,this[ot]==="buffer"&&(this[ot]=null),this[lr]=t&&!!t.async||!1,this[cr]=this[ot]?new dx(this[ot]):null,this[ur]=!1,this[Mr]=!1,this[Mu]=!1,this[qu]=!1,this[ws]=null,this.writable=!0,this.readable=!0,this[Ie]=0,this[Ve]=!1,t&&t.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[Se]}),t&&t.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[Gt]})}get bufferLength(){return this[Ie]}get encoding(){return this[ot]}set encoding(t){if(this[We])throw new Error("cannot set encoding in objectMode");if(this[ot]&&t!==this[ot]&&(this[cr]&&this[cr].lastNeed||this[Ie]))throw new Error("cannot change encoding");this[ot]!==t&&(this[cr]=t?new dx(t):null,this[Se].length&&(this[Se]=this[Se].map(r=>this[cr].write(r)))),this[ot]=t}setEncoding(t){this.encoding=t}get objectMode(){return this[We]}set objectMode(t){this[We]=this[We]||!!t}get async(){return this[lr]}set async(t){this[lr]=this[lr]||!!t}write(t,r,n){if(this[ur])throw new Error("write after end");if(this[Ve])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(n=r,r="utf8"),r||(r="utf8");let i=this[lr]?Fs:s=>s();return!this[We]&&!Buffer.isBuffer(t)&&(K8(t)?t=Buffer.from(t.buffer,t.byteOffset,t.byteLength):z8(t)?t=Buffer.from(t):typeof t!="string"&&(this.objectMode=!0)),this[We]?(this.flowing&&this[Ie]!==0&&this[ju](!0),this.flowing?this.emit("data",t):this[Mh](t),this[Ie]!==0&&this.emit("readable"),n&&i(n),this.flowing):t.length?(typeof t=="string"&&!(r===this[ot]&&!this[cr].lastNeed)&&(t=Buffer.from(t,r)),Buffer.isBuffer(t)&&this[ot]&&(t=this[cr].write(t)),this.flowing&&this[Ie]!==0&&this[ju](!0),this.flowing?this.emit("data",t):this[Mh](t),this[Ie]!==0&&this.emit("readable"),n&&i(n),this.flowing):(this[Ie]!==0&&this.emit("readable"),n&&i(n),this.flowing)}read(t){if(this[Ve])return null;if(this[Ie]===0||t===0||t>this[Ie])return this[ar](),null;this[We]&&(t=null),this[Se].length>1&&!this[We]&&(this.encoding?this[Se]=[this[Se].join("")]:this[Se]=[Buffer.concat(this[Se],this[Ie])]);let r=this[mx](t||null,this[Se][0]);return this[ar](),r}[mx](t,r){return t===r.length||t===null?this[qh]():(this[Se][0]=r.slice(t),r=r.slice(0,t),this[Ie]-=t),this.emit("data",r),!this[Se].length&&!this[ur]&&this.emit("drain"),r}end(t,r,n){return typeof t=="function"&&(n=t,t=null),typeof r=="function"&&(n=r,r="utf8"),t&&this.write(t,r),n&&this.once("end",n),this[ur]=!0,this.writable=!1,(this.flowing||!this[Cs])&&this[ar](),this}[mi](){this[Ve]||(this[Cs]=!1,this[Hu]=!0,this.emit("resume"),this[Se].length?this[ju]():this[ur]?this[ar]():this.emit("drain"))}resume(){return this[mi]()}pause(){this[Hu]=!1,this[Cs]=!0}get destroyed(){return this[Ve]}get flowing(){return this[Hu]}get paused(){return this[Cs]}[Mh](t){this[We]?this[Ie]+=1:this[Ie]+=t.length,this[Se].push(t)}[qh](){return this[Se].length&&(this[We]?this[Ie]-=1:this[Ie]-=this[Se][0].length),this[Se].shift()}[ju](t){do;while(this[gx](this[qh]()));!t&&!this[Se].length&&!this[ur]&&this.emit("drain")}[gx](t){return t?(this.emit("data",t),this.flowing):!1}pipe(t,r){if(this[Ve])return;let n=this[Mr];return r=r||{},t===hx.stdout||t===hx.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&t.end():(this[Gt].push(r.proxyErrors?new $h(this,t,r):new $u(this,t,r)),this[lr]?Fs(()=>this[mi]()):this[mi]()),t}unpipe(t){let r=this[Gt].find(n=>n.dest===t);r&&(this[Gt].splice(this[Gt].indexOf(r),1),r.unpipe())}addListener(t,r){return this.on(t,r)}on(t,r){let n=super.on(t,r);return t==="data"&&!this[Gt].length&&!this.flowing?this[mi]():t==="readable"&&this[Ie]!==0?super.emit("readable"):Y8(t)&&this[Mr]?(super.emit(t),this.removeAllListeners(t)):t==="error"&&this[ws]&&(this[lr]?Fs(()=>r.call(this,this[ws])):r.call(this,this[ws])),n}get emittedEnd(){return this[Mr]}[ar](){!this[Mu]&&!this[Mr]&&!this[Ve]&&this[Se].length===0&&this[ur]&&(this[Mu]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[qu]&&this.emit("close"),this[Mu]=!1)}emit(t,r,...n){if(t!=="error"&&t!=="close"&&t!==Ve&&this[Ve])return;if(t==="data")return r?this[lr]?Fs(()=>this[jh](r)):this[jh](r):!1;if(t==="end")return this[yx]();if(t==="close"){if(this[qu]=!0,!this[Mr]&&!this[Ve])return;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(t==="error"){this[ws]=r;let s=super.emit("error",r);return this[ar](),s}else if(t==="resume"){let s=super.emit("resume");return this[ar](),s}else if(t==="finish"||t==="prefinish"){let s=super.emit(t);return this.removeAllListeners(t),s}let i=super.emit(t,r,...n);return this[ar](),i}[jh](t){for(let n of this[Gt])n.dest.write(t)===!1&&this.pause();let r=super.emit("data",t);return this[ar](),r}[yx](){this[Mr]||(this[Mr]=!0,this.readable=!1,this[lr]?Fs(()=>this[Hh]()):this[Hh]())}[Hh](){if(this[cr]){let r=this[cr].end();if(r){for(let n of this[Gt])n.dest.write(r);super.emit("data",r)}}for(let r of this[Gt])r.end();let t=super.emit("end");return this.removeAllListeners("end"),t}collect(){let t=[];this[We]||(t.dataLength=0);let r=this.promise();return this.on("data",n=>{t.push(n),this[We]||(t.dataLength+=n.length)}),r.then(()=>t)}concat(){return this[We]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(t=>this[We]?Promise.reject(new Error("cannot concat in objectMode")):this[ot]?t.join(""):Buffer.concat(t,t.dataLength))}promise(){return new Promise((t,r)=>{this.on(Ve,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>t())})}[W8](){return{next:()=>{let r=this.read();if(r!==null)return Promise.resolve({done:!1,value:r});if(this[ur])return Promise.resolve({done:!0});let n=null,i=null,s=c=>{this.removeListener("data",o),this.removeListener("end",u),i(c)},o=c=>{this.removeListener("error",s),this.removeListener("end",u),this.pause(),n({value:c,done:!!this[ur]})},u=()=>{this.removeListener("error",s),this.removeListener("data",o),n({done:!0})},a=()=>s(new Error("stream destroyed"));return new Promise((c,l)=>{i=l,n=c,this.once(Ve,a),this.once("error",s),this.once("end",u),this.once("data",o)})}}}[V8](){return{next:()=>{let r=this.read();return{value:r,done:r===null}}}}destroy(t){return this[Ve]?(t?this.emit("error",t):this.emit(Ve),this):(this[Ve]=!0,this[Se].length=0,this[Ie]=0,typeof this.close=="function"&&!this[qu]&&this.close(),t?this.emit("error",t):this.emit(Ve),this)}static isStream(t){return!!t&&(t instanceof _x||t instanceof px||t instanceof G8&&(typeof t.pipe=="function"||typeof t.write=="function"&&typeof t.end=="function"))}}});var Dx=m((Mq,vx)=>{var X8=require("zlib").constants||{ZLIB_VERNUM:4736};vx.exports=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:1/0,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},X8))});var zh=m((qq,Ox)=>{"use strict";var xx=typeof process=="object"&&process?process:{stdout:null,stderr:null},J8=require("events"),Sx=require("stream"),Ax=require("string_decoder").StringDecoder,fr=Symbol("EOF"),hr=Symbol("maybeEmitEnd"),qr=Symbol("emittedEnd"),Gu=Symbol("emittingEnd"),Rs=Symbol("emittedError"),Wu=Symbol("closed"),wx=Symbol("read"),Vu=Symbol("flush"),Cx=Symbol("flushChunk"),ut=Symbol("encoding"),pr=Symbol("decoder"),Yu=Symbol("flowing"),Ts=Symbol("paused"),gi=Symbol("resume"),Le=Symbol("bufferLength"),Uh=Symbol("bufferPush"),Gh=Symbol("bufferShift"),Ye=Symbol("objectMode"),ze=Symbol("destroyed"),Wh=Symbol("emitData"),Fx=Symbol("emitEnd"),Vh=Symbol("emitEnd2"),dr=Symbol("async"),Os=e=>Promise.resolve().then(e),Rx=global._MP_NO_ITERATOR_SYMBOLS_!=="1",Z8=Rx&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),Q8=Rx&&Symbol.iterator||Symbol("iterator not implemented"),e6=e=>e==="end"||e==="finish"||e==="prefinish",t6=e=>e instanceof ArrayBuffer||typeof e=="object"&&e.constructor&&e.constructor.name==="ArrayBuffer"&&e.byteLength>=0,r6=e=>!Buffer.isBuffer(e)&&ArrayBuffer.isView(e),zu=class{constructor(t,r,n){this.src=t,this.dest=r,this.opts=n,this.ondrain=()=>t[gi](),r.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},Yh=class extends zu{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,r,n){super(t,r,n),this.proxyErrors=i=>r.emit("error",i),t.on("error",this.proxyErrors)}};Ox.exports=class Tx extends Sx{constructor(t){super(),this[Yu]=!1,this[Ts]=!1,this.pipes=[],this.buffer=[],this[Ye]=t&&t.objectMode||!1,this[Ye]?this[ut]=null:this[ut]=t&&t.encoding||null,this[ut]==="buffer"&&(this[ut]=null),this[dr]=t&&!!t.async||!1,this[pr]=this[ut]?new Ax(this[ut]):null,this[fr]=!1,this[qr]=!1,this[Gu]=!1,this[Wu]=!1,this[Rs]=null,this.writable=!0,this.readable=!0,this[Le]=0,this[ze]=!1}get bufferLength(){return this[Le]}get encoding(){return this[ut]}set encoding(t){if(this[Ye])throw new Error("cannot set encoding in objectMode");if(this[ut]&&t!==this[ut]&&(this[pr]&&this[pr].lastNeed||this[Le]))throw new Error("cannot change encoding");this[ut]!==t&&(this[pr]=t?new Ax(t):null,this.buffer.length&&(this.buffer=this.buffer.map(r=>this[pr].write(r)))),this[ut]=t}setEncoding(t){this.encoding=t}get objectMode(){return this[Ye]}set objectMode(t){this[Ye]=this[Ye]||!!t}get async(){return this[dr]}set async(t){this[dr]=this[dr]||!!t}write(t,r,n){if(this[fr])throw new Error("write after end");if(this[ze])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(n=r,r="utf8"),r||(r="utf8");let i=this[dr]?Os:s=>s();return!this[Ye]&&!Buffer.isBuffer(t)&&(r6(t)?t=Buffer.from(t.buffer,t.byteOffset,t.byteLength):t6(t)?t=Buffer.from(t):typeof t!="string"&&(this.objectMode=!0)),this[Ye]?(this.flowing&&this[Le]!==0&&this[Vu](!0),this.flowing?this.emit("data",t):this[Uh](t),this[Le]!==0&&this.emit("readable"),n&&i(n),this.flowing):t.length?(typeof t=="string"&&!(r===this[ut]&&!this[pr].lastNeed)&&(t=Buffer.from(t,r)),Buffer.isBuffer(t)&&this[ut]&&(t=this[pr].write(t)),this.flowing&&this[Le]!==0&&this[Vu](!0),this.flowing?this.emit("data",t):this[Uh](t),this[Le]!==0&&this.emit("readable"),n&&i(n),this.flowing):(this[Le]!==0&&this.emit("readable"),n&&i(n),this.flowing)}read(t){if(this[ze])return null;if(this[Le]===0||t===0||t>this[Le])return this[hr](),null;this[Ye]&&(t=null),this.buffer.length>1&&!this[Ye]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[Le])]);let r=this[wx](t||null,this.buffer[0]);return this[hr](),r}[wx](t,r){return t===r.length||t===null?this[Gh]():(this.buffer[0]=r.slice(t),r=r.slice(0,t),this[Le]-=t),this.emit("data",r),!this.buffer.length&&!this[fr]&&this.emit("drain"),r}end(t,r,n){return typeof t=="function"&&(n=t,t=null),typeof r=="function"&&(n=r,r="utf8"),t&&this.write(t,r),n&&this.once("end",n),this[fr]=!0,this.writable=!1,(this.flowing||!this[Ts])&&this[hr](),this}[gi](){this[ze]||(this[Ts]=!1,this[Yu]=!0,this.emit("resume"),this.buffer.length?this[Vu]():this[fr]?this[hr]():this.emit("drain"))}resume(){return this[gi]()}pause(){this[Yu]=!1,this[Ts]=!0}get destroyed(){return this[ze]}get flowing(){return this[Yu]}get paused(){return this[Ts]}[Uh](t){this[Ye]?this[Le]+=1:this[Le]+=t.length,this.buffer.push(t)}[Gh](){return this.buffer.length&&(this[Ye]?this[Le]-=1:this[Le]-=this.buffer[0].length),this.buffer.shift()}[Vu](t){do;while(this[Cx](this[Gh]()));!t&&!this.buffer.length&&!this[fr]&&this.emit("drain")}[Cx](t){return t?(this.emit("data",t),this.flowing):!1}pipe(t,r){if(this[ze])return;let n=this[qr];return r=r||{},t===xx.stdout||t===xx.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,n?r.end&&t.end():(this.pipes.push(r.proxyErrors?new Yh(this,t,r):new zu(this,t,r)),this[dr]?Os(()=>this[gi]()):this[gi]()),t}unpipe(t){let r=this.pipes.find(n=>n.dest===t);r&&(this.pipes.splice(this.pipes.indexOf(r),1),r.unpipe())}addListener(t,r){return this.on(t,r)}on(t,r){let n=super.on(t,r);return t==="data"&&!this.pipes.length&&!this.flowing?this[gi]():t==="readable"&&this[Le]!==0?super.emit("readable"):e6(t)&&this[qr]?(super.emit(t),this.removeAllListeners(t)):t==="error"&&this[Rs]&&(this[dr]?Os(()=>r.call(this,this[Rs])):r.call(this,this[Rs])),n}get emittedEnd(){return this[qr]}[hr](){!this[Gu]&&!this[qr]&&!this[ze]&&this.buffer.length===0&&this[fr]&&(this[Gu]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Wu]&&this.emit("close"),this[Gu]=!1)}emit(t,r,...n){if(t!=="error"&&t!=="close"&&t!==ze&&this[ze])return;if(t==="data")return r?this[dr]?Os(()=>this[Wh](r)):this[Wh](r):!1;if(t==="end")return this[Fx]();if(t==="close"){if(this[Wu]=!0,!this[qr]&&!this[ze])return;let s=super.emit("close");return this.removeAllListeners("close"),s}else if(t==="error"){this[Rs]=r;let s=super.emit("error",r);return this[hr](),s}else if(t==="resume"){let s=super.emit("resume");return this[hr](),s}else if(t==="finish"||t==="prefinish"){let s=super.emit(t);return this.removeAllListeners(t),s}let i=super.emit(t,r,...n);return this[hr](),i}[Wh](t){for(let n of this.pipes)n.dest.write(t)===!1&&this.pause();let r=super.emit("data",t);return this[hr](),r}[Fx](){this[qr]||(this[qr]=!0,this.readable=!1,this[dr]?Os(()=>this[Vh]()):this[Vh]())}[Vh](){if(this[pr]){let r=this[pr].end();if(r){for(let n of this.pipes)n.dest.write(r);super.emit("data",r)}}for(let r of this.pipes)r.end();let t=super.emit("end");return this.removeAllListeners("end"),t}collect(){let t=[];this[Ye]||(t.dataLength=0);let r=this.promise();return this.on("data",n=>{t.push(n),this[Ye]||(t.dataLength+=n.length)}),r.then(()=>t)}concat(){return this[Ye]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(t=>this[Ye]?Promise.reject(new Error("cannot concat in objectMode")):this[ut]?t.join(""):Buffer.concat(t,t.dataLength))}promise(){return new Promise((t,r)=>{this.on(ze,()=>r(new Error("stream destroyed"))),this.on("error",n=>r(n)),this.on("end",()=>t())})}[Z8](){return{next:()=>{let r=this.read();if(r!==null)return Promise.resolve({done:!1,value:r});if(this[fr])return Promise.resolve({done:!0});let n=null,i=null,s=c=>{this.removeListener("data",o),this.removeListener("end",u),i(c)},o=c=>{this.removeListener("error",s),this.removeListener("end",u),this.pause(),n({value:c,done:!!this[fr]})},u=()=>{this.removeListener("error",s),this.removeListener("data",o),n({done:!0})},a=()=>s(new Error("stream destroyed"));return new Promise((c,l)=>{i=l,n=c,this.once(ze,a),this.once("error",s),this.once("end",u),this.once("data",o)})}}}[Q8](){return{next:()=>{let r=this.read();return{value:r,done:r===null}}}}destroy(t){return this[ze]?(t?this.emit("error",t):this.emit(ze),this):(this[ze]=!0,this.buffer.length=0,this[Le]=0,typeof this.close=="function"&&!this[Wu]&&this.close(),t?this.emit("error",t):this.emit(ze),this)}static isStream(t){return!!t&&(t instanceof Tx||t instanceof Sx||t instanceof J8&&(typeof t.pipe=="function"||typeof t.write=="function"&&typeof t.end=="function"))}}});var l0=m(dt=>{"use strict";var Qh=require("assert"),jr=require("buffer").Buffer,Bx=require("zlib"),gn=dt.constants=Dx(),n6=zh(),kx=jr.concat,yn=Symbol("_superWrite"),Ei=class extends Error{constructor(t){super("zlib: "+t.message),this.code=t.code,this.errno=t.errno,this.code||(this.code="ZLIB_ERROR"),this.message="zlib: "+t.message,Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}},i6=Symbol("opts"),ks=Symbol("flushFlag"),Px=Symbol("finishFlushFlag"),c0=Symbol("fullFlushFlag"),fe=Symbol("handle"),Ku=Symbol("onError"),yi=Symbol("sawError"),Kh=Symbol("level"),Xh=Symbol("strategy"),Jh=Symbol("ended"),jq=Symbol("_defaultFullFlush"),Xu=class extends n6{constructor(t,r){if(!t||typeof t!="object")throw new TypeError("invalid options for ZlibBase constructor");super(t),this[yi]=!1,this[Jh]=!1,this[i6]=t,this[ks]=t.flush,this[Px]=t.finishFlush;try{this[fe]=new Bx[r](t)}catch(n){throw new Ei(n)}this[Ku]=n=>{this[yi]||(this[yi]=!0,this.close(),this.emit("error",n))},this[fe].on("error",n=>this[Ku](new Ei(n))),this.once("end",()=>this.close)}close(){this[fe]&&(this[fe].close(),this[fe]=null,this.emit("close"))}reset(){if(!this[yi])return Qh(this[fe],"zlib binding closed"),this[fe].reset()}flush(t){this.ended||(typeof t!="number"&&(t=this[c0]),this.write(Object.assign(jr.alloc(0),{[ks]:t})))}end(t,r,n){return t&&this.write(t,r),this.flush(this[Px]),this[Jh]=!0,super.end(null,null,n)}get ended(){return this[Jh]}write(t,r,n){if(typeof r=="function"&&(n=r,r="utf8"),typeof t=="string"&&(t=jr.from(t,r)),this[yi])return;Qh(this[fe],"zlib binding closed");let i=this[fe]._handle,s=i.close;i.close=()=>{};let o=this[fe].close;this[fe].close=()=>{},jr.concat=c=>c;let u;try{let c=typeof t[ks]=="number"?t[ks]:this[ks];u=this[fe]._processChunk(t,c),jr.concat=kx}catch(c){jr.concat=kx,this[Ku](new Ei(c))}finally{this[fe]&&(this[fe]._handle=i,i.close=s,this[fe].close=o,this[fe].removeAllListeners("error"))}this[fe]&&this[fe].on("error",c=>this[Ku](new Ei(c)));let a;if(u)if(Array.isArray(u)&&u.length>0){a=this[yn](jr.from(u[0]));for(let c=1;c<u.length;c++)a=this[yn](u[c])}else a=this[yn](jr.from(u));return n&&n(),a}[yn](t){return super.write(t)}},mr=class extends Xu{constructor(t,r){t=t||{},t.flush=t.flush||gn.Z_NO_FLUSH,t.finishFlush=t.finishFlush||gn.Z_FINISH,super(t,r),this[c0]=gn.Z_FULL_FLUSH,this[Kh]=t.level,this[Xh]=t.strategy}params(t,r){if(!this[yi]){if(!this[fe])throw new Error("cannot switch params when binding is closed");if(!this[fe].params)throw new Error("not supported in this implementation");if(this[Kh]!==t||this[Xh]!==r){this.flush(gn.Z_SYNC_FLUSH),Qh(this[fe],"zlib binding closed");let n=this[fe].flush;this[fe].flush=(i,s)=>{this.flush(i),s()};try{this[fe].params(t,r)}finally{this[fe].flush=n}this[fe]&&(this[Kh]=t,this[Xh]=r)}}}},e0=class extends mr{constructor(t){super(t,"Deflate")}},t0=class extends mr{constructor(t){super(t,"Inflate")}},Zh=Symbol("_portable"),r0=class extends mr{constructor(t){super(t,"Gzip"),this[Zh]=t&&!!t.portable}[yn](t){return this[Zh]?(this[Zh]=!1,t[9]=255,super[yn](t)):super[yn](t)}},n0=class extends mr{constructor(t){super(t,"Gunzip")}},i0=class extends mr{constructor(t){super(t,"DeflateRaw")}},s0=class extends mr{constructor(t){super(t,"InflateRaw")}},o0=class extends mr{constructor(t){super(t,"Unzip")}},Ju=class extends Xu{constructor(t,r){t=t||{},t.flush=t.flush||gn.BROTLI_OPERATION_PROCESS,t.finishFlush=t.finishFlush||gn.BROTLI_OPERATION_FINISH,super(t,r),this[c0]=gn.BROTLI_OPERATION_FLUSH}},u0=class extends Ju{constructor(t){super(t,"BrotliCompress")}},a0=class extends Ju{constructor(t){super(t,"BrotliDecompress")}};dt.Deflate=e0;dt.Inflate=t0;dt.Gzip=r0;dt.Gunzip=n0;dt.DeflateRaw=i0;dt.InflateRaw=s0;dt.Unzip=o0;typeof Bx.BrotliCompress=="function"?(dt.BrotliCompress=u0,dt.BrotliDecompress=a0):dt.BrotliCompress=dt.BrotliDecompress=class{constructor(){throw new Error("Brotli is not supported in this version of Node.js")}}});var _i=m((Uq,Ix)=>{var s6=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform;Ix.exports=s6!=="win32"?e=>e:e=>e&&e.replace(/\\/g,"/")});var Zu=m((Wq,Lx)=>{"use strict";var o6=Uu(),f0=_i(),h0=Symbol("slurp");Lx.exports=class extends o6{constructor(t,r,n){switch(super(),this.pause(),this.extended=r,this.globalExtended=n,this.header=t,this.startBlockSize=512*Math.ceil(t.size/512),this.blockRemain=this.startBlockSize,this.remain=t.size,this.type=t.type,this.meta=!1,this.ignore=!1,this.type){case"File":case"OldFile":case"Link":case"SymbolicLink":case"CharacterDevice":case"BlockDevice":case"Directory":case"FIFO":case"ContiguousFile":case"GNUDumpDir":break;case"NextFileHasLongLinkpath":case"NextFileHasLongPath":case"OldGnuLongPath":case"GlobalExtendedHeader":case"ExtendedHeader":case"OldExtendedHeader":this.meta=!0;break;default:this.ignore=!0}this.path=f0(t.path),this.mode=t.mode,this.mode&&(this.mode=this.mode&4095),this.uid=t.uid,this.gid=t.gid,this.uname=t.uname,this.gname=t.gname,this.size=t.size,this.mtime=t.mtime,this.atime=t.atime,this.ctime=t.ctime,this.linkpath=f0(t.linkpath),this.uname=t.uname,this.gname=t.gname,r&&this[h0](r),n&&this[h0](n,!0)}write(t){let r=t.length;if(r>this.blockRemain)throw new Error("writing more to entry than is appropriate");let n=this.remain,i=this.blockRemain;return this.remain=Math.max(0,n-r),this.blockRemain=Math.max(0,i-r),this.ignore?!0:n>=r?super.write(t):super.write(t.slice(0,n))}[h0](t,r){for(let n in t)t[n]!==null&&t[n]!==void 0&&!(r&&n==="path")&&(this[n]=n==="path"||n==="linkpath"?f0(t[n]):t[n])}}});var p0=m(Qu=>{"use strict";Qu.name=new Map([["0","File"],["","OldFile"],["1","Link"],["2","SymbolicLink"],["3","CharacterDevice"],["4","BlockDevice"],["5","Directory"],["6","FIFO"],["7","ContiguousFile"],["g","GlobalExtendedHeader"],["x","ExtendedHeader"],["A","SolarisACL"],["D","GNUDumpDir"],["I","Inode"],["K","NextFileHasLongLinkpath"],["L","NextFileHasLongPath"],["M","ContinuationFile"],["N","OldGnuLongPath"],["S","SparseFile"],["V","TapeVolumeHeader"],["X","OldExtendedHeader"]]);Qu.code=new Map(Array.from(Qu.name).map(e=>[e[1],e[0]]))});var jx=m((Yq,qx)=>{"use strict";var u6=(e,t)=>{if(Number.isSafeInteger(e))e<0?c6(e,t):a6(e,t);else throw Error("cannot encode number outside of javascript safe integer range");return t},a6=(e,t)=>{t[0]=128;for(var r=t.length;r>1;r--)t[r-1]=e&255,e=Math.floor(e/256)},c6=(e,t)=>{t[0]=255;var r=!1;e=e*-1;for(var n=t.length;n>1;n--){var i=e&255;e=Math.floor(e/256),r?t[n-1]=Nx(i):i===0?t[n-1]=0:(r=!0,t[n-1]=Mx(i))}},l6=e=>{let t=e[0],r=t===128?h6(e.slice(1,e.length)):t===255?f6(e):null;if(r===null)throw Error("invalid base256 encoding");if(!Number.isSafeInteger(r))throw Error("parsed number outside of javascript safe integer range");return r},f6=e=>{for(var t=e.length,r=0,n=!1,i=t-1;i>-1;i--){var s=e[i],o;n?o=Nx(s):s===0?o=s:(n=!0,o=Mx(s)),o!==0&&(r-=o*Math.pow(256,t-i-1))}return r},h6=e=>{for(var t=e.length,r=0,n=t-1;n>-1;n--){var i=e[n];i!==0&&(r+=i*Math.pow(256,t-n-1))}return r},Nx=e=>(255^e)&255,Mx=e=>(255^e)+1&255;qx.exports={encode:u6,parse:l6}});var vi=m((zq,$x)=>{"use strict";var d0=p0(),bi=require("path").posix,Hx=jx(),m0=Symbol("slurp"),mt=Symbol("type"),E0=class{constructor(t,r,n,i){this.cksumValid=!1,this.needPax=!1,this.nullBlock=!1,this.block=null,this.path=null,this.mode=null,this.uid=null,this.gid=null,this.size=null,this.mtime=null,this.cksum=null,this[mt]="0",this.linkpath=null,this.uname=null,this.gname=null,this.devmaj=0,this.devmin=0,this.atime=null,this.ctime=null,Buffer.isBuffer(t)?this.decode(t,r||0,n,i):t&&this.set(t)}decode(t,r,n,i){if(r||(r=0),!t||!(t.length>=r+512))throw new Error("need 512 bytes for header");if(this.path=En(t,r,100),this.mode=Hr(t,r+100,8),this.uid=Hr(t,r+108,8),this.gid=Hr(t,r+116,8),this.size=Hr(t,r+124,12),this.mtime=g0(t,r+136,12),this.cksum=Hr(t,r+148,12),this[m0](n),this[m0](i,!0),this[mt]=En(t,r+156,1),this[mt]===""&&(this[mt]="0"),this[mt]==="0"&&this.path.slice(-1)==="/"&&(this[mt]="5"),this[mt]==="5"&&(this.size=0),this.linkpath=En(t,r+157,100),t.slice(r+257,r+265).toString()==="ustar\x0000")if(this.uname=En(t,r+265,32),this.gname=En(t,r+297,32),this.devmaj=Hr(t,r+329,8),this.devmin=Hr(t,r+337,8),t[r+475]!==0){let o=En(t,r+345,155);this.path=o+"/"+this.path}else{let o=En(t,r+345,130);o&&(this.path=o+"/"+this.path),this.atime=g0(t,r+476,12),this.ctime=g0(t,r+488,12)}let s=8*32;for(let o=r;o<r+148;o++)s+=t[o];for(let o=r+156;o<r+512;o++)s+=t[o];this.cksumValid=s===this.cksum,this.cksum===null&&s===8*32&&(this.nullBlock=!0)}[m0](t,r){for(let n in t)t[n]!==null&&t[n]!==void 0&&!(r&&n==="path")&&(this[n]=t[n])}encode(t,r){if(t||(t=this.block=Buffer.alloc(512),r=0),r||(r=0),!(t.length>=r+512))throw new Error("need 512 bytes for header");let n=this.ctime||this.atime?130:155,i=p6(this.path||"",n),s=i[0],o=i[1];this.needPax=i[2],this.needPax=_n(t,r,100,s)||this.needPax,this.needPax=$r(t,r+100,8,this.mode)||this.needPax,this.needPax=$r(t,r+108,8,this.uid)||this.needPax,this.needPax=$r(t,r+116,8,this.gid)||this.needPax,this.needPax=$r(t,r+124,12,this.size)||this.needPax,this.needPax=y0(t,r+136,12,this.mtime)||this.needPax,t[r+156]=this[mt].charCodeAt(0),this.needPax=_n(t,r+157,100,this.linkpath)||this.needPax,t.write("ustar\x0000",r+257,8),this.needPax=_n(t,r+265,32,this.uname)||this.needPax,this.needPax=_n(t,r+297,32,this.gname)||this.needPax,this.needPax=$r(t,r+329,8,this.devmaj)||this.needPax,this.needPax=$r(t,r+337,8,this.devmin)||this.needPax,this.needPax=_n(t,r+345,n,o)||this.needPax,t[r+475]!==0?this.needPax=_n(t,r+345,155,o)||this.needPax:(this.needPax=_n(t,r+345,130,o)||this.needPax,this.needPax=y0(t,r+476,12,this.atime)||this.needPax,this.needPax=y0(t,r+488,12,this.ctime)||this.needPax);let u=8*32;for(let a=r;a<r+148;a++)u+=t[a];for(let a=r+156;a<r+512;a++)u+=t[a];return this.cksum=u,$r(t,r+148,8,this.cksum),this.cksumValid=!0,this.needPax}set(t){for(let r in t)t[r]!==null&&t[r]!==void 0&&(this[r]=t[r])}get type(){return d0.name.get(this[mt])||this[mt]}get typeKey(){return this[mt]}set type(t){d0.code.has(t)?this[mt]=d0.code.get(t):this[mt]=t}},p6=(e,t)=>{let n=e,i="",s,o=bi.parse(e).root||".";if(Buffer.byteLength(n)<100)s=[n,i,!1];else{i=bi.dirname(n),n=bi.basename(n);do Buffer.byteLength(n)<=100&&Buffer.byteLength(i)<=t?s=[n,i,!1]:Buffer.byteLength(n)>100&&Buffer.byteLength(i)<=t?s=[n.slice(0,100-1),i,!0]:(n=bi.join(bi.basename(i),n),i=bi.dirname(i));while(i!==o&&!s);s||(s=[e.slice(0,100-1),"",!0])}return s},En=(e,t,r)=>e.slice(t,t+r).toString("utf8").replace(/\0.*/,""),g0=(e,t,r)=>d6(Hr(e,t,r)),d6=e=>e===null?null:new Date(e*1e3),Hr=(e,t,r)=>e[t]&128?Hx.parse(e.slice(t,t+r)):g6(e,t,r),m6=e=>isNaN(e)?null:e,g6=(e,t,r)=>m6(parseInt(e.slice(t,t+r).toString("utf8").replace(/\0.*$/,"").trim(),8)),y6={12:8589934591,8:2097151},$r=(e,t,r,n)=>n===null?!1:n>y6[r]||n<0?(Hx.encode(n,e.slice(t,t+r)),!0):(E6(e,t,r,n),!1),E6=(e,t,r,n)=>e.write(_6(n,r),t,r,"ascii"),_6=(e,t)=>b6(Math.floor(e).toString(8),t),b6=(e,t)=>(e.length===t-1?e:new Array(t-e.length-1).join("0")+e+" ")+"\0",y0=(e,t,r,n)=>n===null?!1:$r(e,t,r,n.getTime()/1e3),v6=new Array(156).join("\0"),_n=(e,t,r,n)=>n===null?!1:(e.write(n+v6,t,r,"utf8"),n.length!==Buffer.byteLength(n)||n.length>r);$x.exports=E0});var ea=m((Kq,Ux)=>{"use strict";var D6=vi(),x6=require("path"),Ps=class{constructor(t,r){this.atime=t.atime||null,this.charset=t.charset||null,this.comment=t.comment||null,this.ctime=t.ctime||null,this.gid=t.gid||null,this.gname=t.gname||null,this.linkpath=t.linkpath||null,this.mtime=t.mtime||null,this.path=t.path||null,this.size=t.size||null,this.uid=t.uid||null,this.uname=t.uname||null,this.dev=t.dev||null,this.ino=t.ino||null,this.nlink=t.nlink||null,this.global=r||!1}encode(){let t=this.encodeBody();if(t==="")return null;let r=Buffer.byteLength(t),n=512*Math.ceil(1+r/512),i=Buffer.allocUnsafe(n);for(let s=0;s<512;s++)i[s]=0;new D6({path:("PaxHeader/"+x6.basename(this.path)).slice(0,99),mode:this.mode||420,uid:this.uid||null,gid:this.gid||null,size:r,mtime:this.mtime||null,type:this.global?"GlobalExtendedHeader":"ExtendedHeader",linkpath:"",uname:this.uname||"",gname:this.gname||"",devmaj:0,devmin:0,atime:this.atime||null,ctime:this.ctime||null}).encode(i),i.write(t,512,r,"utf8");for(let s=r+512;s<i.length;s++)i[s]=0;return i}encodeBody(){return this.encodeField("path")+this.encodeField("ctime")+this.encodeField("atime")+this.encodeField("dev")+this.encodeField("ino")+this.encodeField("nlink")+this.encodeField("charset")+this.encodeField("comment")+this.encodeField("gid")+this.encodeField("gname")+this.encodeField("linkpath")+this.encodeField("mtime")+this.encodeField("size")+this.encodeField("uid")+this.encodeField("uname")}encodeField(t){if(this[t]===null||this[t]===void 0)return"";let r=this[t]instanceof Date?this[t].getTime()/1e3:this[t],n=" "+(t==="dev"||t==="ino"||t==="nlink"?"SCHILY.":"")+t+"="+r+`
29
29
  `,i=Buffer.byteLength(n),s=Math.floor(Math.log(i)/Math.log(10))+1;return i+s>=Math.pow(10,s)&&(s+=1),s+i+n}};Ps.parse=(e,t,r)=>new Ps(S6(A6(e),t),r);var S6=(e,t)=>t?Object.keys(e).reduce((r,n)=>(r[n]=e[n],r),t):e,A6=e=>e.replace(/\n$/,"").split(`
30
- `).reduce(w6,Object.create(null)),w6=(e,t)=>{let r=parseInt(t,10);if(r!==Buffer.byteLength(t)+1)return e;t=t.slice((r+" ").length);let n=t.split("="),i=n.shift().replace(/^SCHILY\.(dev|ino|nlink)/,"$1");if(!i)return e;let s=n.join("=");return e[i]=/^([A-Z]+\.)?([mac]|birth|creation)time$/.test(i)?new Date(s*1e3):/^[0-9]+$/.test(s)?+s:s,e};Ux.exports=Ps});var Di=m((Xq,Gx)=>{Gx.exports=e=>{let t=e.length-1,r=-1;for(;t>-1&&e.charAt(t)==="/";)r=t,t--;return r===-1?e:e.slice(0,r)}});var ta=m((Jq,Wx)=>{"use strict";Wx.exports=e=>class extends e{warn(t,r,n={}){this.file&&(n.file=this.file),this.cwd&&(n.cwd=this.cwd),n.code=r instanceof Error&&r.code||t,n.tarCode=t,!this.strict&&n.recoverable!==!1?(r instanceof Error&&(n=Object.assign(r,n),r=r.message),this.emit("warn",n.tarCode,r,n)):r instanceof Error?this.emit("error",Object.assign(r,n)):this.emit("error",Object.assign(new Error(`${t}: ${r}`),n))}}});var b0=m((Qq,Vx)=>{"use strict";var ra=["|","<",">","?",":"],_0=ra.map(e=>String.fromCharCode(61440+e.charCodeAt(0))),C6=new Map(ra.map((e,t)=>[e,_0[t]])),F6=new Map(_0.map((e,t)=>[e,ra[t]]));Vx.exports={encode:e=>ra.reduce((t,r)=>t.split(r).join(C6.get(r)),e),decode:e=>_0.reduce((t,r)=>t.split(r).join(F6.get(r)),e)}});var v0=m((ej,zx)=>{var{isAbsolute:R6,parse:Yx}=require("path").win32;zx.exports=e=>{let t="",r=Yx(e);for(;R6(e)||r.root;){let n=e.charAt(0)==="/"&&e.slice(0,4)!=="//?/"?"/":r.root;e=e.slice(n.length),t+=n,r=Yx(e)}return[t,e]}});var Xx=m((tj,Kx)=>{"use strict";Kx.exports=(e,t,r)=>(e&=4095,r&&(e=(e|384)&-19),t&&(e&256&&(e|=64),e&32&&(e|=8),e&4&&(e|=1)),e)});var O0=m((ij,l2)=>{"use strict";var n2=Uu(),i2=ea(),s2=vi(),Vt=require("fs"),Jx=require("path"),Wt=_i(),T6=Di(),o2=(e,t)=>t?(e=Wt(e).replace(/^\.(\/|$)/,""),T6(t)+"/"+e):Wt(e),O6=16*1024*1024,Zx=Symbol("process"),Qx=Symbol("file"),e2=Symbol("directory"),x0=Symbol("symlink"),t2=Symbol("hardlink"),Bs=Symbol("header"),na=Symbol("read"),S0=Symbol("lstat"),ia=Symbol("onlstat"),A0=Symbol("onread"),w0=Symbol("onreadlink"),C0=Symbol("openfile"),F0=Symbol("onopenfile"),Ur=Symbol("close"),sa=Symbol("mode"),R0=Symbol("awaitDrain"),D0=Symbol("ondrain"),Yt=Symbol("prefix"),r2=Symbol("hadError"),u2=ta(),k6=b0(),a2=v0(),c2=Xx(),oa=u2(class extends n2{constructor(t,r){if(r=r||{},super(r),typeof t!="string")throw new TypeError("path is required");this.path=Wt(t),this.portable=!!r.portable,this.myuid=process.getuid&&process.getuid()||0,this.myuser=process.env.USER||"",this.maxReadSize=r.maxReadSize||O6,this.linkCache=r.linkCache||new Map,this.statCache=r.statCache||new Map,this.preservePaths=!!r.preservePaths,this.cwd=Wt(r.cwd||process.cwd()),this.strict=!!r.strict,this.noPax=!!r.noPax,this.noMtime=!!r.noMtime,this.mtime=r.mtime||null,this.prefix=r.prefix?Wt(r.prefix):null,this.fd=null,this.blockLen=null,this.blockRemain=null,this.buf=null,this.offset=null,this.length=null,this.pos=null,this.remain=null,typeof r.onwarn=="function"&&this.on("warn",r.onwarn);let n=!1;if(!this.preservePaths){let[i,s]=a2(this.path);i&&(this.path=s,n=i)}this.win32=!!r.win32||process.platform==="win32",this.win32&&(this.path=k6.decode(this.path.replace(/\\/g,"/")),t=t.replace(/\\/g,"/")),this.absolute=Wt(r.absolute||Jx.resolve(this.cwd,t)),this.path===""&&(this.path="./"),n&&this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:this,path:n+this.path}),this.statCache.has(this.absolute)?this[ia](this.statCache.get(this.absolute)):this[S0]()}emit(t,...r){return t==="error"&&(this[r2]=!0),super.emit(t,...r)}[S0](){Vt.lstat(this.absolute,(t,r)=>{if(t)return this.emit("error",t);this[ia](r)})}[ia](t){this.statCache.set(this.absolute,t),this.stat=t,t.isFile()||(t.size=0),this.type=B6(t),this.emit("stat",t),this[Zx]()}[Zx](){switch(this.type){case"File":return this[Qx]();case"Directory":return this[e2]();case"SymbolicLink":return this[x0]();default:return this.end()}}[sa](t){return c2(t,this.type==="Directory",this.portable)}[Yt](t){return o2(t,this.prefix)}[Bs](){this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.header=new s2({path:this[Yt](this.path),linkpath:this.type==="Link"?this[Yt](this.linkpath):this.linkpath,mode:this[sa](this.stat.mode),uid:this.portable?null:this.stat.uid,gid:this.portable?null:this.stat.gid,size:this.stat.size,mtime:this.noMtime?null:this.mtime||this.stat.mtime,type:this.type,uname:this.portable?null:this.stat.uid===this.myuid?this.myuser:"",atime:this.portable?null:this.stat.atime,ctime:this.portable?null:this.stat.ctime}),this.header.encode()&&!this.noPax&&super.write(new i2({atime:this.portable?null:this.header.atime,ctime:this.portable?null:this.header.ctime,gid:this.portable?null:this.header.gid,mtime:this.noMtime?null:this.mtime||this.header.mtime,path:this[Yt](this.path),linkpath:this.type==="Link"?this[Yt](this.linkpath):this.linkpath,size:this.header.size,uid:this.portable?null:this.header.uid,uname:this.portable?null:this.header.uname,dev:this.portable?null:this.stat.dev,ino:this.portable?null:this.stat.ino,nlink:this.portable?null:this.stat.nlink}).encode()),super.write(this.header.block)}[e2](){this.path.slice(-1)!=="/"&&(this.path+="/"),this.stat.size=0,this[Bs](),this.end()}[x0](){Vt.readlink(this.absolute,(t,r)=>{if(t)return this.emit("error",t);this[w0](r)})}[w0](t){this.linkpath=Wt(t),this[Bs](),this.end()}[t2](t){this.type="Link",this.linkpath=Wt(Jx.relative(this.cwd,t)),this.stat.size=0,this[Bs](),this.end()}[Qx](){if(this.stat.nlink>1){let t=this.stat.dev+":"+this.stat.ino;if(this.linkCache.has(t)){let r=this.linkCache.get(t);if(r.indexOf(this.cwd)===0)return this[t2](r)}this.linkCache.set(t,this.absolute)}if(this[Bs](),this.stat.size===0)return this.end();this[C0]()}[C0](){Vt.open(this.absolute,"r",(t,r)=>{if(t)return this.emit("error",t);this[F0](r)})}[F0](t){if(this.fd=t,this[r2])return this[Ur]();this.blockLen=512*Math.ceil(this.stat.size/512),this.blockRemain=this.blockLen;let r=Math.min(this.blockLen,this.maxReadSize);this.buf=Buffer.allocUnsafe(r),this.offset=0,this.pos=0,this.remain=this.stat.size,this.length=this.buf.length,this[na]()}[na](){let{fd:t,buf:r,offset:n,length:i,pos:s}=this;Vt.read(t,r,n,i,s,(o,u)=>{if(o)return this[Ur](()=>this.emit("error",o));this[A0](u)})}[Ur](t){Vt.close(this.fd,t)}[A0](t){if(t<=0&&this.remain>0){let i=new Error("encountered unexpected EOF");return i.path=this.absolute,i.syscall="read",i.code="EOF",this[Ur](()=>this.emit("error",i))}if(t>this.remain){let i=new Error("did not encounter expected EOF");return i.path=this.absolute,i.syscall="read",i.code="EOF",this[Ur](()=>this.emit("error",i))}if(t===this.remain)for(let i=t;i<this.length&&t<this.blockRemain;i++)this.buf[i+this.offset]=0,t++,this.remain++;let r=this.offset===0&&t===this.buf.length?this.buf:this.buf.slice(this.offset,this.offset+t);this.write(r)?this[D0]():this[R0](()=>this[D0]())}[R0](t){this.once("drain",t)}write(t){if(this.blockRemain<t.length){let r=new Error("writing more data than expected");return r.path=this.absolute,this.emit("error",r)}return this.remain-=t.length,this.blockRemain-=t.length,this.pos+=t.length,this.offset+=t.length,super.write(t)}[D0](){if(!this.remain)return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),this[Ur](t=>t?this.emit("error",t):this.end());this.offset>=this.length&&(this.buf=Buffer.allocUnsafe(Math.min(this.blockRemain,this.buf.length)),this.offset=0),this.length=this.buf.length-this.offset,this[na]()}}),T0=class extends oa{[S0](){this[ia](Vt.lstatSync(this.absolute))}[x0](){this[w0](Vt.readlinkSync(this.absolute))}[C0](){this[F0](Vt.openSync(this.absolute,"r"))}[na](){let t=!0;try{let{fd:r,buf:n,offset:i,length:s,pos:o}=this,u=Vt.readSync(r,n,i,s,o);this[A0](u),t=!1}finally{if(t)try{this[Ur](()=>{})}catch{}}}[R0](t){t()}[Ur](t){Vt.closeSync(this.fd),t()}},P6=u2(class extends n2{constructor(t,r){r=r||{},super(r),this.preservePaths=!!r.preservePaths,this.portable=!!r.portable,this.strict=!!r.strict,this.noPax=!!r.noPax,this.noMtime=!!r.noMtime,this.readEntry=t,this.type=t.type,this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.prefix=r.prefix||null,this.path=Wt(t.path),this.mode=this[sa](t.mode),this.uid=this.portable?null:t.uid,this.gid=this.portable?null:t.gid,this.uname=this.portable?null:t.uname,this.gname=this.portable?null:t.gname,this.size=t.size,this.mtime=this.noMtime?null:r.mtime||t.mtime,this.atime=this.portable?null:t.atime,this.ctime=this.portable?null:t.ctime,this.linkpath=Wt(t.linkpath),typeof r.onwarn=="function"&&this.on("warn",r.onwarn);let n=!1;if(!this.preservePaths){let[i,s]=a2(this.path);i&&(this.path=s,n=i)}this.remain=t.size,this.blockRemain=t.startBlockSize,this.header=new s2({path:this[Yt](this.path),linkpath:this.type==="Link"?this[Yt](this.linkpath):this.linkpath,mode:this.mode,uid:this.portable?null:this.uid,gid:this.portable?null:this.gid,size:this.size,mtime:this.noMtime?null:this.mtime,type:this.type,uname:this.portable?null:this.uname,atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime}),n&&this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:this,path:n+this.path}),this.header.encode()&&!this.noPax&&super.write(new i2({atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime,gid:this.portable?null:this.gid,mtime:this.noMtime?null:this.mtime,path:this[Yt](this.path),linkpath:this.type==="Link"?this[Yt](this.linkpath):this.linkpath,size:this.size,uid:this.portable?null:this.uid,uname:this.portable?null:this.uname,dev:this.portable?null:this.readEntry.dev,ino:this.portable?null:this.readEntry.ino,nlink:this.portable?null:this.readEntry.nlink}).encode()),super.write(this.header.block),t.pipe(this)}[Yt](t){return o2(t,this.prefix)}[sa](t){return c2(t,this.type==="Directory",this.portable)}write(t){let r=t.length;if(r>this.blockRemain)throw new Error("writing more to entry than is appropriate");return this.blockRemain-=r,super.write(t)}end(){return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),super.end()}});oa.Sync=T0;oa.Tar=P6;var B6=e=>e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":"Unsupported";l2.exports=oa});var h2=m((sj,f2)=>{"use strict";f2.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var k0=m((oj,p2)=>{"use strict";p2.exports=re;re.Node=bn;re.create=re;function re(e){var t=this;if(t instanceof re||(t=new re),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(i){t.push(i)});else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)t.push(arguments[r]);return t}re.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t};re.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};re.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};re.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)L6(this,arguments[e]);return this.length};re.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)N6(this,arguments[e]);return this.length};re.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};re.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};re.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;r!==null;n++)e.call(t,r.value,n,this),r=r.next};re.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;r!==null;n--)e.call(t,r.value,n,this),r=r.prev};re.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++)r=r.next;if(t===e&&r!==null)return r.value};re.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++)r=r.prev;if(t===e&&r!==null)return r.value};re.prototype.map=function(e,t){t=t||this;for(var r=new re,n=this.head;n!==null;)r.push(e.call(t,n.value,this)),n=n.next;return r};re.prototype.mapReverse=function(e,t){t=t||this;for(var r=new re,n=this.tail;n!==null;)r.push(e.call(t,n.value,this)),n=n.prev;return r};re.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;n!==null;i++)r=e(r,n.value,i),n=n.next;return r};re.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;n!==null;i--)r=e(r,n.value,i),n=n.prev;return r};re.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;r!==null;t++)e[t]=r.value,r=r.next;return e};re.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;r!==null;t++)e[t]=r.value,r=r.prev;return e};re.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new re;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=0,i=this.head;i!==null&&n<e;n++)i=i.next;for(;i!==null&&n<t;n++,i=i.next)r.push(i.value);return r};re.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new re;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,i=this.tail;i!==null&&n>t;n--)i=i.prev;for(;i!==null&&n>e;n--,i=i.prev)r.push(i.value);return r};re.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,i=this.head;i!==null&&n<e;n++)i=i.next;for(var s=[],n=0;i&&n<t;n++)s.push(i.value),i=this.removeNode(i);i===null&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(var n=0;n<r.length;n++)i=I6(this,i,r[n]);return s};re.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;r!==null;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=t,this.tail=e,this};function I6(e,t,r){var n=t===e.head?new bn(r,null,t,e):new bn(r,t,t.next,e);return n.next===null&&(e.tail=n),n.prev===null&&(e.head=n),e.length++,n}function L6(e,t){e.tail=new bn(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function N6(e,t){e.head=new bn(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function bn(e,t,r,n){if(!(this instanceof bn))return new bn(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}try{h2()(re)}catch{}});var ma=m((aj,b2)=>{"use strict";var pa=class{constructor(t,r){this.path=t||"./",this.absolute=r,this.entry=null,this.stat=null,this.readdir=null,this.pending=!1,this.ignore=!1,this.piped=!1}},M6=Uu(),q6=l0(),j6=Zu(),H0=O0(),H6=H0.Sync,$6=H0.Tar,U6=k0(),d2=Buffer.alloc(1024),ca=Symbol("onStat"),ua=Symbol("ended"),zt=Symbol("queue"),xi=Symbol("current"),vn=Symbol("process"),aa=Symbol("processing"),m2=Symbol("processJob"),Kt=Symbol("jobs"),P0=Symbol("jobDone"),la=Symbol("addFSEntry"),g2=Symbol("addTarEntry"),N0=Symbol("stat"),M0=Symbol("readdir"),fa=Symbol("onreaddir"),ha=Symbol("pipe"),y2=Symbol("entry"),B0=Symbol("entryOpt"),q0=Symbol("writeEntryClass"),_2=Symbol("write"),I0=Symbol("ondrain"),da=require("fs"),E2=require("path"),G6=ta(),L0=_i(),$0=G6(class extends M6{constructor(t){super(t),t=t||Object.create(null),this.opt=t,this.file=t.file||"",this.cwd=t.cwd||process.cwd(),this.maxReadSize=t.maxReadSize,this.preservePaths=!!t.preservePaths,this.strict=!!t.strict,this.noPax=!!t.noPax,this.prefix=L0(t.prefix||""),this.linkCache=t.linkCache||new Map,this.statCache=t.statCache||new Map,this.readdirCache=t.readdirCache||new Map,this[q0]=H0,typeof t.onwarn=="function"&&this.on("warn",t.onwarn),this.portable=!!t.portable,this.zip=null,t.gzip?(typeof t.gzip!="object"&&(t.gzip={}),this.portable&&(t.gzip.portable=!0),this.zip=new q6.Gzip(t.gzip),this.zip.on("data",r=>super.write(r)),this.zip.on("end",r=>super.end()),this.zip.on("drain",r=>this[I0]()),this.on("resume",r=>this.zip.resume())):this.on("drain",this[I0]),this.noDirRecurse=!!t.noDirRecurse,this.follow=!!t.follow,this.noMtime=!!t.noMtime,this.mtime=t.mtime||null,this.filter=typeof t.filter=="function"?t.filter:r=>!0,this[zt]=new U6,this[Kt]=0,this.jobs=+t.jobs||4,this[aa]=!1,this[ua]=!1}[_2](t){return super.write(t)}add(t){return this.write(t),this}end(t){return t&&this.write(t),this[ua]=!0,this[vn](),this}write(t){if(this[ua])throw new Error("write after end");return t instanceof j6?this[g2](t):this[la](t),this.flowing}[g2](t){let r=L0(E2.resolve(this.cwd,t.path));if(!this.filter(t.path,t))t.resume();else{let n=new pa(t.path,r,!1);n.entry=new $6(t,this[B0](n)),n.entry.on("end",i=>this[P0](n)),this[Kt]+=1,this[zt].push(n)}this[vn]()}[la](t){let r=L0(E2.resolve(this.cwd,t));this[zt].push(new pa(t,r)),this[vn]()}[N0](t){t.pending=!0,this[Kt]+=1;let r=this.follow?"stat":"lstat";da[r](t.absolute,(n,i)=>{t.pending=!1,this[Kt]-=1,n?this.emit("error",n):this[ca](t,i)})}[ca](t,r){this.statCache.set(t.absolute,r),t.stat=r,this.filter(t.path,r)||(t.ignore=!0),this[vn]()}[M0](t){t.pending=!0,this[Kt]+=1,da.readdir(t.absolute,(r,n)=>{if(t.pending=!1,this[Kt]-=1,r)return this.emit("error",r);this[fa](t,n)})}[fa](t,r){this.readdirCache.set(t.absolute,r),t.readdir=r,this[vn]()}[vn](){if(!this[aa]){this[aa]=!0;for(let t=this[zt].head;t!==null&&this[Kt]<this.jobs;t=t.next)if(this[m2](t.value),t.value.ignore){let r=t.next;this[zt].removeNode(t),t.next=r}this[aa]=!1,this[ua]&&!this[zt].length&&this[Kt]===0&&(this.zip?this.zip.end(d2):(super.write(d2),super.end()))}}get[xi](){return this[zt]&&this[zt].head&&this[zt].head.value}[P0](t){this[zt].shift(),this[Kt]-=1,this[vn]()}[m2](t){if(!t.pending){if(t.entry){t===this[xi]&&!t.piped&&this[ha](t);return}if(t.stat||(this.statCache.has(t.absolute)?this[ca](t,this.statCache.get(t.absolute)):this[N0](t)),!!t.stat&&!t.ignore&&!(!this.noDirRecurse&&t.stat.isDirectory()&&!t.readdir&&(this.readdirCache.has(t.absolute)?this[fa](t,this.readdirCache.get(t.absolute)):this[M0](t),!t.readdir))){if(t.entry=this[y2](t),!t.entry){t.ignore=!0;return}t===this[xi]&&!t.piped&&this[ha](t)}}}[B0](t){return{onwarn:(r,n,i)=>this.warn(r,n,i),noPax:this.noPax,cwd:this.cwd,absolute:t.absolute,preservePaths:this.preservePaths,maxReadSize:this.maxReadSize,strict:this.strict,portable:this.portable,linkCache:this.linkCache,statCache:this.statCache,noMtime:this.noMtime,mtime:this.mtime,prefix:this.prefix}}[y2](t){this[Kt]+=1;try{return new this[q0](t.path,this[B0](t)).on("end",()=>this[P0](t)).on("error",r=>this.emit("error",r))}catch(r){this.emit("error",r)}}[I0](){this[xi]&&this[xi].entry&&this[xi].entry.resume()}[ha](t){t.piped=!0,t.readdir&&t.readdir.forEach(i=>{let s=t.path,o=s==="./"?"":s.replace(/\/*$/,"/");this[la](o+i)});let r=t.entry,n=this.zip;n?r.on("data",i=>{n.write(i)||r.pause()}):r.on("data",i=>{super.write(i)||r.pause()})}pause(){return this.zip&&this.zip.pause(),super.pause()}}),j0=class extends $0{constructor(t){super(t),this[q0]=H6}pause(){}resume(){}[N0](t){let r=this.follow?"statSync":"lstatSync";this[ca](t,da[r](t.absolute))}[M0](t,r){this[fa](t,da.readdirSync(t.absolute))}[ha](t){let r=t.entry,n=this.zip;t.readdir&&t.readdir.forEach(i=>{let s=t.path,o=s==="./"?"":s.replace(/\/*$/,"/");this[la](o+i)}),n?r.on("data",i=>{n.write(i)}):r.on("data",i=>{super[_2](i)})}};$0.Sync=j0;b2.exports=$0});var Oi=m(Ls=>{"use strict";var W6=zh(),V6=require("events").EventEmitter,at=require("fs"),W0=at.writev;if(!W0){let e=process.binding("fs"),t=e.FSReqWrap||e.FSReqCallback;W0=(r,n,i,s)=>{let o=(a,c)=>s(a,c,n),u=new t;u.oncomplete=o,e.writeBuffers(r,n,i,u)}}var Ri=Symbol("_autoClose"),Bt=Symbol("_close"),Is=Symbol("_ended"),ae=Symbol("_fd"),v2=Symbol("_finished"),Wr=Symbol("_flags"),U0=Symbol("_flush"),V0=Symbol("_handleChunk"),Y0=Symbol("_makeBuf"),ba=Symbol("_mode"),ga=Symbol("_needDrain"),Ci=Symbol("_onerror"),Ti=Symbol("_onopen"),G0=Symbol("_onread"),Ai=Symbol("_onwrite"),Vr=Symbol("_open"),gr=Symbol("_path"),Dn=Symbol("_pos"),Xt=Symbol("_queue"),wi=Symbol("_read"),D2=Symbol("_readSize"),Gr=Symbol("_reading"),ya=Symbol("_remain"),x2=Symbol("_size"),Ea=Symbol("_write"),Si=Symbol("_writing"),_a=Symbol("_defaultFlag"),Fi=Symbol("_errored"),va=class extends W6{constructor(t,r){if(r=r||{},super(r),this.readable=!0,this.writable=!1,typeof t!="string")throw new TypeError("path must be a string");this[Fi]=!1,this[ae]=typeof r.fd=="number"?r.fd:null,this[gr]=t,this[D2]=r.readSize||16*1024*1024,this[Gr]=!1,this[x2]=typeof r.size=="number"?r.size:1/0,this[ya]=this[x2],this[Ri]=typeof r.autoClose=="boolean"?r.autoClose:!0,typeof this[ae]=="number"?this[wi]():this[Vr]()}get fd(){return this[ae]}get path(){return this[gr]}write(){throw new TypeError("this is a readable stream")}end(){throw new TypeError("this is a readable stream")}[Vr](){at.open(this[gr],"r",(t,r)=>this[Ti](t,r))}[Ti](t,r){t?this[Ci](t):(this[ae]=r,this.emit("open",r),this[wi]())}[Y0](){return Buffer.allocUnsafe(Math.min(this[D2],this[ya]))}[wi](){if(!this[Gr]){this[Gr]=!0;let t=this[Y0]();if(t.length===0)return process.nextTick(()=>this[G0](null,0,t));at.read(this[ae],t,0,t.length,null,(r,n,i)=>this[G0](r,n,i))}}[G0](t,r,n){this[Gr]=!1,t?this[Ci](t):this[V0](r,n)&&this[wi]()}[Bt](){if(this[Ri]&&typeof this[ae]=="number"){let t=this[ae];this[ae]=null,at.close(t,r=>r?this.emit("error",r):this.emit("close"))}}[Ci](t){this[Gr]=!0,this[Bt](),this.emit("error",t)}[V0](t,r){let n=!1;return this[ya]-=t,t>0&&(n=super.write(t<r.length?r.slice(0,t):r)),(t===0||this[ya]<=0)&&(n=!1,this[Bt](),super.end()),n}emit(t,r){switch(t){case"prefinish":case"finish":break;case"drain":typeof this[ae]=="number"&&this[wi]();break;case"error":return this[Fi]?void 0:(this[Fi]=!0,super.emit(t,r));default:return super.emit(t,r)}}},z0=class extends va{[Vr](){let t=!0;try{this[Ti](null,at.openSync(this[gr],"r")),t=!1}finally{t&&this[Bt]()}}[wi](){let t=!0;try{if(!this[Gr]){this[Gr]=!0;do{let r=this[Y0](),n=r.length===0?0:at.readSync(this[ae],r,0,r.length,null);if(!this[V0](n,r))break}while(!0);this[Gr]=!1}t=!1}finally{t&&this[Bt]()}}[Bt](){if(this[Ri]&&typeof this[ae]=="number"){let t=this[ae];this[ae]=null,at.closeSync(t),this.emit("close")}}},Da=class extends V6{constructor(t,r){r=r||{},super(r),this.readable=!1,this.writable=!0,this[Fi]=!1,this[Si]=!1,this[Is]=!1,this[ga]=!1,this[Xt]=[],this[gr]=t,this[ae]=typeof r.fd=="number"?r.fd:null,this[ba]=r.mode===void 0?438:r.mode,this[Dn]=typeof r.start=="number"?r.start:null,this[Ri]=typeof r.autoClose=="boolean"?r.autoClose:!0;let n=this[Dn]!==null?"r+":"w";this[_a]=r.flags===void 0,this[Wr]=this[_a]?n:r.flags,this[ae]===null&&this[Vr]()}emit(t,r){if(t==="error"){if(this[Fi])return;this[Fi]=!0}return super.emit(t,r)}get fd(){return this[ae]}get path(){return this[gr]}[Ci](t){this[Bt](),this[Si]=!0,this.emit("error",t)}[Vr](){at.open(this[gr],this[Wr],this[ba],(t,r)=>this[Ti](t,r))}[Ti](t,r){this[_a]&&this[Wr]==="r+"&&t&&t.code==="ENOENT"?(this[Wr]="w",this[Vr]()):t?this[Ci](t):(this[ae]=r,this.emit("open",r),this[U0]())}end(t,r){return t&&this.write(t,r),this[Is]=!0,!this[Si]&&!this[Xt].length&&typeof this[ae]=="number"&&this[Ai](null,0),this}write(t,r){return typeof t=="string"&&(t=Buffer.from(t,r)),this[Is]?(this.emit("error",new Error("write() after end()")),!1):this[ae]===null||this[Si]||this[Xt].length?(this[Xt].push(t),this[ga]=!0,!1):(this[Si]=!0,this[Ea](t),!0)}[Ea](t){at.write(this[ae],t,0,t.length,this[Dn],(r,n)=>this[Ai](r,n))}[Ai](t,r){t?this[Ci](t):(this[Dn]!==null&&(this[Dn]+=r),this[Xt].length?this[U0]():(this[Si]=!1,this[Is]&&!this[v2]?(this[v2]=!0,this[Bt](),this.emit("finish")):this[ga]&&(this[ga]=!1,this.emit("drain"))))}[U0](){if(this[Xt].length===0)this[Is]&&this[Ai](null,0);else if(this[Xt].length===1)this[Ea](this[Xt].pop());else{let t=this[Xt];this[Xt]=[],W0(this[ae],t,this[Dn],(r,n)=>this[Ai](r,n))}}[Bt](){if(this[Ri]&&typeof this[ae]=="number"){let t=this[ae];this[ae]=null,at.close(t,r=>r?this.emit("error",r):this.emit("close"))}}},K0=class extends Da{[Vr](){let t;if(this[_a]&&this[Wr]==="r+")try{t=at.openSync(this[gr],this[Wr],this[ba])}catch(r){if(r.code==="ENOENT")return this[Wr]="w",this[Vr]();throw r}else t=at.openSync(this[gr],this[Wr],this[ba]);this[Ti](null,t)}[Bt](){if(this[Ri]&&typeof this[ae]=="number"){let t=this[ae];this[ae]=null,at.closeSync(t),this.emit("close")}}[Ea](t){let r=!0;try{this[Ai](null,at.writeSync(this[ae],t,0,t.length,this[Dn])),r=!1}finally{if(r)try{this[Bt]()}catch{}}}};Ls.ReadStream=va;Ls.ReadStreamSync=z0;Ls.WriteStream=Da;Ls.WriteStreamSync=K0});var Ra=m((fj,O2)=>{"use strict";var Y6=ta(),z6=vi(),K6=require("events"),X6=k0(),J6=1024*1024,Z6=Zu(),S2=ea(),Q6=l0(),{nextTick:eL}=require("process"),X0=Buffer.from([31,139]),St=Symbol("state"),xn=Symbol("writeEntry"),yr=Symbol("readEntry"),J0=Symbol("nextEntry"),A2=Symbol("processEntry"),At=Symbol("extendedHeader"),Ns=Symbol("globalExtendedHeader"),Yr=Symbol("meta"),w2=Symbol("emitMeta"),de=Symbol("buffer"),Er=Symbol("queue"),Sn=Symbol("ended"),C2=Symbol("emittedEnd"),An=Symbol("emit"),ct=Symbol("unzip"),xa=Symbol("consumeChunk"),Sa=Symbol("consumeChunkSub"),Z0=Symbol("consumeBody"),F2=Symbol("consumeMeta"),R2=Symbol("consumeHeader"),Aa=Symbol("consuming"),Q0=Symbol("bufferConcat"),ep=Symbol("maybeEnd"),Ms=Symbol("writing"),zr=Symbol("aborted"),wa=Symbol("onDone"),wn=Symbol("sawValidEntry"),Ca=Symbol("sawNullBlock"),Fa=Symbol("sawEOF"),T2=Symbol("closeStream"),tL=e=>!0;O2.exports=Y6(class extends K6{constructor(t){t=t||{},super(t),this.file=t.file||"",this[wn]=null,this.on(wa,r=>{(this[St]==="begin"||this[wn]===!1)&&this.warn("TAR_BAD_ARCHIVE","Unrecognized archive format")}),t.ondone?this.on(wa,t.ondone):this.on(wa,r=>{this.emit("prefinish"),this.emit("finish"),this.emit("end")}),this.strict=!!t.strict,this.maxMetaEntrySize=t.maxMetaEntrySize||J6,this.filter=typeof t.filter=="function"?t.filter:tL,this.writable=!0,this.readable=!1,this[Er]=new X6,this[de]=null,this[yr]=null,this[xn]=null,this[St]="begin",this[Yr]="",this[At]=null,this[Ns]=null,this[Sn]=!1,this[ct]=null,this[zr]=!1,this[Ca]=!1,this[Fa]=!1,this.on("end",()=>this[T2]()),typeof t.onwarn=="function"&&this.on("warn",t.onwarn),typeof t.onentry=="function"&&this.on("entry",t.onentry)}[R2](t,r){this[wn]===null&&(this[wn]=!1);let n;try{n=new z6(t,r,this[At],this[Ns])}catch(i){return this.warn("TAR_ENTRY_INVALID",i)}if(n.nullBlock)this[Ca]?(this[Fa]=!0,this[St]==="begin"&&(this[St]="header"),this[An]("eof")):(this[Ca]=!0,this[An]("nullBlock"));else if(this[Ca]=!1,!n.cksumValid)this.warn("TAR_ENTRY_INVALID","checksum failure",{header:n});else if(!n.path)this.warn("TAR_ENTRY_INVALID","path is required",{header:n});else{let i=n.type;if(/^(Symbolic)?Link$/.test(i)&&!n.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath required",{header:n});else if(!/^(Symbolic)?Link$/.test(i)&&n.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath forbidden",{header:n});else{let s=this[xn]=new Z6(n,this[At],this[Ns]);if(!this[wn])if(s.remain){let o=()=>{s.invalid||(this[wn]=!0)};s.on("end",o)}else this[wn]=!0;s.meta?s.size>this.maxMetaEntrySize?(s.ignore=!0,this[An]("ignoredEntry",s),this[St]="ignore",s.resume()):s.size>0&&(this[Yr]="",s.on("data",o=>this[Yr]+=o),this[St]="meta"):(this[At]=null,s.ignore=s.ignore||!this.filter(s.path,s),s.ignore?(this[An]("ignoredEntry",s),this[St]=s.remain?"ignore":"header",s.resume()):(s.remain?this[St]="body":(this[St]="header",s.end()),this[yr]?this[Er].push(s):(this[Er].push(s),this[J0]())))}}}[T2](){eL(()=>this.emit("close"))}[A2](t){let r=!0;return t?Array.isArray(t)?this.emit.apply(this,t):(this[yr]=t,this.emit("entry",t),t.emittedEnd||(t.on("end",n=>this[J0]()),r=!1)):(this[yr]=null,r=!1),r}[J0](){do;while(this[A2](this[Er].shift()));if(!this[Er].length){let t=this[yr];!t||t.flowing||t.size===t.remain?this[Ms]||this.emit("drain"):t.once("drain",n=>this.emit("drain"))}}[Z0](t,r){let n=this[xn],i=n.blockRemain,s=i>=t.length&&r===0?t:t.slice(r,r+i);return n.write(s),n.blockRemain||(this[St]="header",this[xn]=null,n.end()),s.length}[F2](t,r){let n=this[xn],i=this[Z0](t,r);return this[xn]||this[w2](n),i}[An](t,r,n){!this[Er].length&&!this[yr]?this.emit(t,r,n):this[Er].push([t,r,n])}[w2](t){switch(this[An]("meta",this[Yr]),t.type){case"ExtendedHeader":case"OldExtendedHeader":this[At]=S2.parse(this[Yr],this[At],!1);break;case"GlobalExtendedHeader":this[Ns]=S2.parse(this[Yr],this[Ns],!0);break;case"NextFileHasLongPath":case"OldGnuLongPath":this[At]=this[At]||Object.create(null),this[At].path=this[Yr].replace(/\0.*/,"");break;case"NextFileHasLongLinkpath":this[At]=this[At]||Object.create(null),this[At].linkpath=this[Yr].replace(/\0.*/,"");break;default:throw new Error("unknown meta: "+t.type)}}abort(t){this[zr]=!0,this.emit("abort",t),this.warn("TAR_ABORT",t,{recoverable:!1})}write(t){if(this[zr])return;if(this[ct]===null&&t){if(this[de]&&(t=Buffer.concat([this[de],t]),this[de]=null),t.length<X0.length)return this[de]=t,!0;for(let n=0;this[ct]===null&&n<X0.length;n++)t[n]!==X0[n]&&(this[ct]=!1);if(this[ct]===null){let n=this[Sn];this[Sn]=!1,this[ct]=new Q6.Unzip,this[ct].on("data",s=>this[xa](s)),this[ct].on("error",s=>this.abort(s)),this[ct].on("end",s=>{this[Sn]=!0,this[xa]()}),this[Ms]=!0;let i=this[ct][n?"end":"write"](t);return this[Ms]=!1,i}}this[Ms]=!0,this[ct]?this[ct].write(t):this[xa](t),this[Ms]=!1;let r=this[Er].length?!1:this[yr]?this[yr].flowing:!0;return!r&&!this[Er].length&&this[yr].once("drain",n=>this.emit("drain")),r}[Q0](t){t&&!this[zr]&&(this[de]=this[de]?Buffer.concat([this[de],t]):t)}[ep](){if(this[Sn]&&!this[C2]&&!this[zr]&&!this[Aa]){this[C2]=!0;let t=this[xn];if(t&&t.blockRemain){let r=this[de]?this[de].length:0;this.warn("TAR_BAD_ARCHIVE",`Truncated input (needed ${t.blockRemain} more bytes, only ${r} available)`,{entry:t}),this[de]&&t.write(this[de]),t.end()}this[An](wa)}}[xa](t){if(this[Aa])this[Q0](t);else if(!t&&!this[de])this[ep]();else{if(this[Aa]=!0,this[de]){this[Q0](t);let r=this[de];this[de]=null,this[Sa](r)}else this[Sa](t);for(;this[de]&&this[de].length>=512&&!this[zr]&&!this[Fa];){let r=this[de];this[de]=null,this[Sa](r)}this[Aa]=!1}(!this[de]||this[Sn])&&this[ep]()}[Sa](t){let r=0,n=t.length;for(;r+512<=n&&!this[zr]&&!this[Fa];)switch(this[St]){case"begin":case"header":this[R2](t,r),r+=512;break;case"ignore":case"body":r+=this[Z0](t,r);break;case"meta":r+=this[F2](t,r);break;default:throw new Error("invalid state: "+this[St])}r<n&&(this[de]?this[de]=Buffer.concat([t.slice(r),this[de]]):this[de]=t.slice(r))}end(t){this[zr]||(this[ct]?this[ct].end(t):(this[Sn]=!0,this.write(t)))}})});var Ta=m((hj,I2)=>{"use strict";var rL=di(),P2=Ra(),ki=require("fs"),nL=Oi(),k2=require("path"),tp=Di();I2.exports=(e,t,r)=>{typeof e=="function"?(r=e,t=null,e={}):Array.isArray(e)&&(t=e,e={}),typeof t=="function"&&(r=t,t=null),t?t=Array.from(t):t=[];let n=rL(e);if(n.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!n.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return t.length&&sL(n,t),n.noResume||iL(n),n.file&&n.sync?oL(n):n.file?uL(n,r):B2(n)};var iL=e=>{let t=e.onentry;e.onentry=t?r=>{t(r),r.resume()}:r=>r.resume()},sL=(e,t)=>{let r=new Map(t.map(s=>[tp(s),!0])),n=e.filter,i=(s,o)=>{let u=o||k2.parse(s).root||".",a=s===u?!1:r.has(s)?r.get(s):i(k2.dirname(s),u);return r.set(s,a),a};e.filter=n?(s,o)=>n(s,o)&&i(tp(s)):s=>i(tp(s))},oL=e=>{let t=B2(e),r=e.file,n=!0,i;try{let s=ki.statSync(r),o=e.maxReadSize||16*1024*1024;if(s.size<o)t.end(ki.readFileSync(r));else{let u=0,a=Buffer.allocUnsafe(o);for(i=ki.openSync(r,"r");u<s.size;){let c=ki.readSync(i,a,0,o,u);u+=c,t.write(a.slice(0,c))}t.end()}n=!1}finally{if(n&&i)try{ki.closeSync(i)}catch{}}},uL=(e,t)=>{let r=new P2(e),n=e.maxReadSize||16*1024*1024,i=e.file,s=new Promise((o,u)=>{r.on("error",u),r.on("end",o),ki.stat(i,(a,c)=>{if(a)u(a);else{let l=new nL.ReadStream(i,{readSize:n,size:c.size});l.on("error",u),l.pipe(r)}})});return t?s.then(t,t):s},B2=e=>new P2(e)});var H2=m((pj,j2)=>{"use strict";var aL=di(),Oa=ma(),L2=Oi(),N2=Ta(),M2=require("path");j2.exports=(e,t,r)=>{if(typeof t=="function"&&(r=t),Array.isArray(e)&&(t=e,e={}),!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");t=Array.from(t);let n=aL(e);if(n.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!n.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return n.file&&n.sync?cL(n,t):n.file?lL(n,t,r):n.sync?fL(n,t):hL(n,t)};var cL=(e,t)=>{let r=new Oa.Sync(e),n=new L2.WriteStreamSync(e.file,{mode:e.mode||438});r.pipe(n),q2(r,t)},lL=(e,t,r)=>{let n=new Oa(e),i=new L2.WriteStream(e.file,{mode:e.mode||438});n.pipe(i);let s=new Promise((o,u)=>{i.on("error",u),i.on("close",o),n.on("error",u)});return rp(n,t),r?s.then(r,r):s},q2=(e,t)=>{t.forEach(r=>{r.charAt(0)==="@"?N2({file:M2.resolve(e.cwd,r.slice(1)),sync:!0,noResume:!0,onentry:n=>e.add(n)}):e.add(r)}),e.end()},rp=(e,t)=>{for(;t.length;){let r=t.shift();if(r.charAt(0)==="@")return N2({file:M2.resolve(e.cwd,r.slice(1)),noResume:!0,onentry:n=>e.add(n)}).then(n=>rp(e,t));e.add(r)}e.end()},fL=(e,t)=>{let r=new Oa.Sync(e);return q2(r,t),r},hL=(e,t)=>{let r=new Oa(e);return rp(r,t),r}});var np=m((dj,z2)=>{"use strict";var pL=di(),$2=ma(),gt=require("fs"),U2=Oi(),G2=Ta(),W2=require("path"),V2=vi();z2.exports=(e,t,r)=>{let n=pL(e);if(!n.file)throw new TypeError("file is required");if(n.gzip)throw new TypeError("cannot append to compressed archives");if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");return t=Array.from(t),n.sync?dL(n,t):gL(n,t,r)};var dL=(e,t)=>{let r=new $2.Sync(e),n=!0,i,s;try{try{i=gt.openSync(e.file,"r+")}catch(a){if(a.code==="ENOENT")i=gt.openSync(e.file,"w+");else throw a}let o=gt.fstatSync(i),u=Buffer.alloc(512);e:for(s=0;s<o.size;s+=512){for(let l=0,f=0;l<512;l+=f){if(f=gt.readSync(i,u,l,u.length-l,s+l),s===0&&u[0]===31&&u[1]===139)throw new Error("cannot append to compressed archives");if(!f)break e}let a=new V2(u);if(!a.cksumValid)break;let c=512*Math.ceil(a.size/512);if(s+c+512>o.size)break;s+=c,e.mtimeCache&&e.mtimeCache.set(a.path,a.mtime)}n=!1,mL(e,r,s,i,t)}finally{if(n)try{gt.closeSync(i)}catch{}}},mL=(e,t,r,n,i)=>{let s=new U2.WriteStreamSync(e.file,{fd:n,start:r});t.pipe(s),yL(t,i)},gL=(e,t,r)=>{t=Array.from(t);let n=new $2(e),i=(o,u,a)=>{let c=(_,g)=>{_?gt.close(o,x=>a(_)):a(null,g)},l=0;if(u===0)return c(null,0);let f=0,h=Buffer.alloc(512),E=(_,g)=>{if(_)return c(_);if(f+=g,f<512&&g)return gt.read(o,h,f,h.length-f,l+f,E);if(l===0&&h[0]===31&&h[1]===139)return c(new Error("cannot append to compressed archives"));if(f<512)return c(null,l);let x=new V2(h);if(!x.cksumValid)return c(null,l);let v=512*Math.ceil(x.size/512);if(l+v+512>u||(l+=v+512,l>=u))return c(null,l);e.mtimeCache&&e.mtimeCache.set(x.path,x.mtime),f=0,gt.read(o,h,0,512,l,E)};gt.read(o,h,0,512,l,E)},s=new Promise((o,u)=>{n.on("error",u);let a="r+",c=(l,f)=>{if(l&&l.code==="ENOENT"&&a==="r+")return a="w+",gt.open(e.file,a,c);if(l)return u(l);gt.fstat(f,(h,E)=>{if(h)return gt.close(f,()=>u(h));i(f,E.size,(_,g)=>{if(_)return u(_);let x=new U2.WriteStream(e.file,{fd:f,start:g});n.pipe(x),x.on("error",u),x.on("close",o),Y2(n,t)})})};gt.open(e.file,a,c)});return r?s.then(r,r):s},yL=(e,t)=>{t.forEach(r=>{r.charAt(0)==="@"?G2({file:W2.resolve(e.cwd,r.slice(1)),sync:!0,noResume:!0,onentry:n=>e.add(n)}):e.add(r)}),e.end()},Y2=(e,t)=>{for(;t.length;){let r=t.shift();if(r.charAt(0)==="@")return G2({file:W2.resolve(e.cwd,r.slice(1)),noResume:!0,onentry:n=>e.add(n)}).then(n=>Y2(e,t));e.add(r)}e.end()}});var X2=m((mj,K2)=>{"use strict";var EL=di(),_L=np();K2.exports=(e,t,r)=>{let n=EL(e);if(!n.file)throw new TypeError("file is required");if(n.gzip)throw new TypeError("cannot append to compressed archives");if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");return t=Array.from(t),bL(n),_L(n,t,r)};var bL=e=>{let t=e.filter;e.mtimeCache||(e.mtimeCache=new Map),e.filter=t?(r,n)=>t(r,n)&&!(e.mtimeCache.get(r)>n.mtime):(r,n)=>!(e.mtimeCache.get(r)>n.mtime)}});var Q2=m((gj,Z2)=>{var{promisify:J2}=require("util"),Kr=require("fs"),vL=e=>{if(!e)e={mode:511,fs:Kr};else if(typeof e=="object")e={mode:511,fs:Kr,...e};else if(typeof e=="number")e={mode:e,fs:Kr};else if(typeof e=="string")e={mode:parseInt(e,8),fs:Kr};else throw new TypeError("invalid options argument");return e.mkdir=e.mkdir||e.fs.mkdir||Kr.mkdir,e.mkdirAsync=J2(e.mkdir),e.stat=e.stat||e.fs.stat||Kr.stat,e.statAsync=J2(e.stat),e.statSync=e.statSync||e.fs.statSync||Kr.statSync,e.mkdirSync=e.mkdirSync||e.fs.mkdirSync||Kr.mkdirSync,e};Z2.exports=vL});var tS=m((yj,eS)=>{var DL=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve:xL,parse:SL}=require("path"),AL=e=>{if(/\0/.test(e))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=xL(e),DL==="win32"){let t=/[*|"<>?:]/,{root:r}=SL(e);if(t.test(e.substr(r.length)))throw Object.assign(new Error("Illegal characters in path."),{path:e,code:"EINVAL"})}return e};eS.exports=AL});var oS=m((Ej,sS)=>{var{dirname:rS}=require("path"),nS=(e,t,r=void 0)=>r===t?Promise.resolve():e.statAsync(t).then(n=>n.isDirectory()?r:void 0,n=>n.code==="ENOENT"?nS(e,rS(t),t):void 0),iS=(e,t,r=void 0)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0}catch(n){return n.code==="ENOENT"?iS(e,rS(t),t):void 0}};sS.exports={findMade:nS,findMadeSync:iS}});var op=m((_j,aS)=>{var{dirname:uS}=require("path"),ip=(e,t,r)=>{t.recursive=!1;let n=uS(e);return n===e?t.mkdirAsync(e,t).catch(i=>{if(i.code!=="EISDIR")throw i}):t.mkdirAsync(e,t).then(()=>r||e,i=>{if(i.code==="ENOENT")return ip(n,t).then(s=>ip(e,t,s));if(i.code!=="EEXIST"&&i.code!=="EROFS")throw i;return t.statAsync(e).then(s=>{if(s.isDirectory())return r;throw i},()=>{throw i})})},sp=(e,t,r)=>{let n=uS(e);if(t.recursive=!1,n===e)try{return t.mkdirSync(e,t)}catch(i){if(i.code!=="EISDIR")throw i;return}try{return t.mkdirSync(e,t),r||e}catch(i){if(i.code==="ENOENT")return sp(e,t,sp(n,t,r));if(i.code!=="EEXIST"&&i.code!=="EROFS")throw i;try{if(!t.statSync(e).isDirectory())throw i}catch{throw i}}};aS.exports={mkdirpManual:ip,mkdirpManualSync:sp}});var fS=m((bj,lS)=>{var{dirname:cS}=require("path"),{findMade:wL,findMadeSync:CL}=oS(),{mkdirpManual:FL,mkdirpManualSync:RL}=op(),TL=(e,t)=>(t.recursive=!0,cS(e)===e?t.mkdirAsync(e,t):wL(t,e).then(n=>t.mkdirAsync(e,t).then(()=>n).catch(i=>{if(i.code==="ENOENT")return FL(e,t);throw i}))),OL=(e,t)=>{if(t.recursive=!0,cS(e)===e)return t.mkdirSync(e,t);let n=CL(t,e);try{return t.mkdirSync(e,t),n}catch(i){if(i.code==="ENOENT")return RL(e,t);throw i}};lS.exports={mkdirpNative:TL,mkdirpNativeSync:OL}});var mS=m((vj,dS)=>{var hS=require("fs"),kL=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,up=kL.replace(/^v/,"").split("."),pS=+up[0]>10||+up[0]==10&&+up[1]>=12,PL=pS?e=>e.mkdir===hS.mkdir:()=>!1,BL=pS?e=>e.mkdirSync===hS.mkdirSync:()=>!1;dS.exports={useNative:PL,useNativeSync:BL}});var vS=m((Dj,bS)=>{var Pi=Q2(),Bi=tS(),{mkdirpNative:gS,mkdirpNativeSync:yS}=fS(),{mkdirpManual:ES,mkdirpManualSync:_S}=op(),{useNative:IL,useNativeSync:LL}=mS(),Ii=(e,t)=>(e=Bi(e),t=Pi(t),IL(t)?gS(e,t):ES(e,t)),NL=(e,t)=>(e=Bi(e),t=Pi(t),LL(t)?yS(e,t):_S(e,t));Ii.sync=NL;Ii.native=(e,t)=>gS(Bi(e),Pi(t));Ii.manual=(e,t)=>ES(Bi(e),Pi(t));Ii.nativeSync=(e,t)=>yS(Bi(e),Pi(t));Ii.manualSync=(e,t)=>_S(Bi(e),Pi(t));bS.exports=Ii});var FS=m((xj,CS)=>{"use strict";var wt=require("fs"),Cn=require("path"),ML=wt.lchown?"lchown":"chown",qL=wt.lchownSync?"lchownSync":"chownSync",xS=wt.lchown&&!process.version.match(/v1[1-9]+\./)&&!process.version.match(/v10\.[6-9]/),DS=(e,t,r)=>{try{return wt[qL](e,t,r)}catch(n){if(n.code!=="ENOENT")throw n}},jL=(e,t,r)=>{try{return wt.chownSync(e,t,r)}catch(n){if(n.code!=="ENOENT")throw n}},HL=xS?(e,t,r,n)=>i=>{!i||i.code!=="EISDIR"?n(i):wt.chown(e,t,r,n)}:(e,t,r,n)=>n,ap=xS?(e,t,r)=>{try{return DS(e,t,r)}catch(n){if(n.code!=="EISDIR")throw n;jL(e,t,r)}}:(e,t,r)=>DS(e,t,r),$L=process.version,SS=(e,t,r)=>wt.readdir(e,t,r),UL=(e,t)=>wt.readdirSync(e,t);/^v4\./.test($L)&&(SS=(e,t,r)=>wt.readdir(e,r));var ka=(e,t,r,n)=>{wt[ML](e,t,r,HL(e,t,r,i=>{n(i&&i.code!=="ENOENT"?i:null)}))},AS=(e,t,r,n,i)=>{if(typeof t=="string")return wt.lstat(Cn.resolve(e,t),(s,o)=>{if(s)return i(s.code!=="ENOENT"?s:null);o.name=t,AS(e,o,r,n,i)});if(t.isDirectory())cp(Cn.resolve(e,t.name),r,n,s=>{if(s)return i(s);let o=Cn.resolve(e,t.name);ka(o,r,n,i)});else{let s=Cn.resolve(e,t.name);ka(s,r,n,i)}},cp=(e,t,r,n)=>{SS(e,{withFileTypes:!0},(i,s)=>{if(i){if(i.code==="ENOENT")return n();if(i.code!=="ENOTDIR"&&i.code!=="ENOTSUP")return n(i)}if(i||!s.length)return ka(e,t,r,n);let o=s.length,u=null,a=c=>{if(!u){if(c)return n(u=c);if(--o===0)return ka(e,t,r,n)}};s.forEach(c=>AS(e,c,t,r,a))})},GL=(e,t,r,n)=>{if(typeof t=="string")try{let i=wt.lstatSync(Cn.resolve(e,t));i.name=t,t=i}catch(i){if(i.code==="ENOENT")return;throw i}t.isDirectory()&&wS(Cn.resolve(e,t.name),r,n),ap(Cn.resolve(e,t.name),r,n)},wS=(e,t,r)=>{let n;try{n=UL(e,{withFileTypes:!0})}catch(i){if(i.code==="ENOENT")return;if(i.code==="ENOTDIR"||i.code==="ENOTSUP")return ap(e,t,r);throw i}return n&&n.length&&n.forEach(i=>GL(e,i,t,r)),ap(e,t,r)};CS.exports=cp;cp.sync=wS});var kS=m((Sj,lp)=>{"use strict";var RS=vS(),Ct=require("fs"),Pa=require("path"),TS=FS(),It=_i(),Ba=class extends Error{constructor(t,r){super("Cannot extract through symbolic link"),this.path=r,this.symlink=t}get name(){return"SylinkError"}},Ia=class extends Error{constructor(t,r){super(r+": Cannot cd into '"+t+"'"),this.path=t,this.code=r}get name(){return"CwdError"}},La=(e,t)=>e.get(It(t)),qs=(e,t,r)=>e.set(It(t),r),WL=(e,t)=>{Ct.stat(e,(r,n)=>{(r||!n.isDirectory())&&(r=new Ia(e,r&&r.code||"ENOTDIR")),t(r)})};lp.exports=(e,t,r)=>{e=It(e);let n=t.umask,i=t.mode|448,s=(i&n)!==0,o=t.uid,u=t.gid,a=typeof o=="number"&&typeof u=="number"&&(o!==t.processUid||u!==t.processGid),c=t.preserve,l=t.unlink,f=t.cache,h=It(t.cwd),E=(x,v)=>{x?r(x):(qs(f,e,!0),v&&a?TS(v,o,u,D=>E(D)):s?Ct.chmod(e,i,r):r())};if(f&&La(f,e)===!0)return E();if(e===h)return WL(e,E);if(c)return RS(e,{mode:i}).then(x=>E(null,x),E);let g=It(Pa.relative(h,e)).split("/");Na(h,g,i,f,l,h,null,E)};var Na=(e,t,r,n,i,s,o,u)=>{if(!t.length)return u(null,o);let a=t.shift(),c=It(Pa.resolve(e+"/"+a));if(La(n,c))return Na(c,t,r,n,i,s,o,u);Ct.mkdir(c,r,OS(c,t,r,n,i,s,o,u))},OS=(e,t,r,n,i,s,o,u)=>a=>{a?Ct.lstat(e,(c,l)=>{if(c)c.path=c.path&&It(c.path),u(c);else if(l.isDirectory())Na(e,t,r,n,i,s,o,u);else if(i)Ct.unlink(e,f=>{if(f)return u(f);Ct.mkdir(e,r,OS(e,t,r,n,i,s,o,u))});else{if(l.isSymbolicLink())return u(new Ba(e,e+"/"+t.join("/")));u(a)}}):(o=o||e,Na(e,t,r,n,i,s,o,u))},VL=e=>{let t=!1,r="ENOTDIR";try{t=Ct.statSync(e).isDirectory()}catch(n){r=n.code}finally{if(!t)throw new Ia(e,r)}};lp.exports.sync=(e,t)=>{e=It(e);let r=t.umask,n=t.mode|448,i=(n&r)!==0,s=t.uid,o=t.gid,u=typeof s=="number"&&typeof o=="number"&&(s!==t.processUid||o!==t.processGid),a=t.preserve,c=t.unlink,l=t.cache,f=It(t.cwd),h=x=>{qs(l,e,!0),x&&u&&TS.sync(x,s,o),i&&Ct.chmodSync(e,n)};if(l&&La(l,e)===!0)return h();if(e===f)return VL(f),h();if(a)return h(RS.sync(e,n));let _=It(Pa.relative(f,e)).split("/"),g=null;for(let x=_.shift(),v=f;x&&(v+="/"+x);x=_.shift())if(v=It(Pa.resolve(v)),!La(l,v))try{Ct.mkdirSync(v,n),g=g||v,qs(l,v,!0)}catch{let O=Ct.lstatSync(v);if(O.isDirectory()){qs(l,v,!0);continue}else if(c){Ct.unlinkSync(v),Ct.mkdirSync(v,n),g=g||v,qs(l,v,!0);continue}else if(O.isSymbolicLink())return new Ba(v,v+"/"+_.join("/"))}return h(g)}});var hp=m((Aj,PS)=>{var fp=Object.create(null),{hasOwnProperty:YL}=Object.prototype;PS.exports=e=>(YL.call(fp,e)||(fp[e]=e.normalize("NFKD")),fp[e])});var NS=m((wj,LS)=>{var BS=require("assert"),zL=hp(),KL=Di(),{join:IS}=require("path"),XL=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,JL=XL==="win32";LS.exports=()=>{let e=new Map,t=new Map,r=c=>c.split("/").slice(0,-1).reduce((f,h)=>(f.length&&(h=IS(f[f.length-1],h)),f.push(h||"/"),f),[]),n=new Set,i=c=>{let l=t.get(c);if(!l)throw new Error("function does not have any path reservations");return{paths:l.paths.map(f=>e.get(f)),dirs:[...l.dirs].map(f=>e.get(f))}},s=c=>{let{paths:l,dirs:f}=i(c);return l.every(h=>h[0]===c)&&f.every(h=>h[0]instanceof Set&&h[0].has(c))},o=c=>n.has(c)||!s(c)?!1:(n.add(c),c(()=>u(c)),!0),u=c=>{if(!n.has(c))return!1;let{paths:l,dirs:f}=t.get(c),h=new Set;return l.forEach(E=>{let _=e.get(E);BS.equal(_[0],c),_.length===1?e.delete(E):(_.shift(),typeof _[0]=="function"?h.add(_[0]):_[0].forEach(g=>h.add(g)))}),f.forEach(E=>{let _=e.get(E);BS(_[0]instanceof Set),_[0].size===1&&_.length===1?e.delete(E):_[0].size===1?(_.shift(),h.add(_[0])):_[0].delete(c)}),n.delete(c),h.forEach(E=>o(E)),!0};return{check:s,reserve:(c,l)=>{c=JL?["win32 parallelization disabled"]:c.map(h=>zL(KL(IS(h))).toLowerCase());let f=new Set(c.map(h=>r(h)).reduce((h,E)=>h.concat(E)));return t.set(l,{dirs:f,paths:c}),c.forEach(h=>{let E=e.get(h);E?E.push(l):e.set(h,[l])}),f.forEach(h=>{let E=e.get(h);E?E[E.length-1]instanceof Set?E[E.length-1].add(l):E.push(new Set([l])):e.set(h,[new Set([l])])}),o(l)}}}});var jS=m((Cj,qS)=>{var ZL=process.env.__FAKE_PLATFORM__||process.platform,QL=ZL==="win32",eN=global.__FAKE_TESTING_FS__||require("fs"),{O_CREAT:tN,O_TRUNC:rN,O_WRONLY:nN,UV_FS_O_FILEMAP:MS=0}=eN.constants,iN=QL&&!!MS,sN=512*1024,oN=MS|rN|tN|nN;qS.exports=iN?e=>e<sN?oN:"w":()=>"w"});var vp=m((Fj,eA)=>{"use strict";var uN=require("assert"),aN=Ra(),ne=require("fs"),cN=Oi(),_r=require("path"),JS=kS(),HS=b0(),lN=NS(),fN=v0(),yt=_i(),hN=Di(),pN=hp(),$S=Symbol("onEntry"),mp=Symbol("checkFs"),US=Symbol("checkFs2"),ja=Symbol("pruneCache"),gp=Symbol("isReusable"),Ft=Symbol("makeFs"),yp=Symbol("file"),Ep=Symbol("directory"),Ha=Symbol("link"),GS=Symbol("symlink"),WS=Symbol("hardlink"),VS=Symbol("unsupported"),YS=Symbol("checkPath"),Xr=Symbol("mkdir"),Ke=Symbol("onError"),Ma=Symbol("pending"),zS=Symbol("pend"),Li=Symbol("unpend"),pp=Symbol("ended"),dp=Symbol("maybeClose"),_p=Symbol("skip"),js=Symbol("doChown"),Hs=Symbol("uid"),$s=Symbol("gid"),Us=Symbol("checkedCwd"),ZS=require("crypto"),QS=jS(),dN=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,Gs=dN==="win32",mN=(e,t)=>{if(!Gs)return ne.unlink(e,t);let r=e+".DELETE."+ZS.randomBytes(16).toString("hex");ne.rename(e,r,n=>{if(n)return t(n);ne.unlink(r,t)})},gN=e=>{if(!Gs)return ne.unlinkSync(e);let t=e+".DELETE."+ZS.randomBytes(16).toString("hex");ne.renameSync(e,t),ne.unlinkSync(t)},KS=(e,t,r)=>e===e>>>0?e:t===t>>>0?t:r,XS=e=>pN(hN(yt(e))).toLowerCase(),yN=(e,t)=>{t=XS(t);for(let r of e.keys()){let n=XS(r);(n===t||n.indexOf(t+"/")===0)&&e.delete(r)}},EN=e=>{for(let t of e.keys())e.delete(t)},Ws=class extends aN{constructor(t){if(t||(t={}),t.ondone=r=>{this[pp]=!0,this[dp]()},super(t),this[Us]=!1,this.reservations=lN(),this.transform=typeof t.transform=="function"?t.transform:null,this.writable=!0,this.readable=!1,this[Ma]=0,this[pp]=!1,this.dirCache=t.dirCache||new Map,typeof t.uid=="number"||typeof t.gid=="number"){if(typeof t.uid!="number"||typeof t.gid!="number")throw new TypeError("cannot set owner without number uid and gid");if(t.preserveOwner)throw new TypeError("cannot preserve owner in archive and also set owner explicitly");this.uid=t.uid,this.gid=t.gid,this.setOwner=!0}else this.uid=null,this.gid=null,this.setOwner=!1;t.preserveOwner===void 0&&typeof t.uid!="number"?this.preserveOwner=process.getuid&&process.getuid()===0:this.preserveOwner=!!t.preserveOwner,this.processUid=(this.preserveOwner||this.setOwner)&&process.getuid?process.getuid():null,this.processGid=(this.preserveOwner||this.setOwner)&&process.getgid?process.getgid():null,this.forceChown=t.forceChown===!0,this.win32=!!t.win32||Gs,this.newer=!!t.newer,this.keep=!!t.keep,this.noMtime=!!t.noMtime,this.preservePaths=!!t.preservePaths,this.unlink=!!t.unlink,this.cwd=yt(_r.resolve(t.cwd||process.cwd())),this.strip=+t.strip||0,this.processUmask=t.noChmod?0:process.umask(),this.umask=typeof t.umask=="number"?t.umask:this.processUmask,this.dmode=t.dmode||511&~this.umask,this.fmode=t.fmode||438&~this.umask,this.on("entry",r=>this[$S](r))}warn(t,r,n={}){return(t==="TAR_BAD_ARCHIVE"||t==="TAR_ABORT")&&(n.recoverable=!1),super.warn(t,r,n)}[dp](){this[pp]&&this[Ma]===0&&(this.emit("prefinish"),this.emit("finish"),this.emit("end"))}[YS](t){if(this.strip){let r=yt(t.path).split("/");if(r.length<this.strip)return!1;if(t.path=r.slice(this.strip).join("/"),t.type==="Link"){let n=yt(t.linkpath).split("/");if(n.length>=this.strip)t.linkpath=n.slice(this.strip).join("/");else return!1}}if(!this.preservePaths){let r=yt(t.path),n=r.split("/");if(n.includes("..")||Gs&&/^[a-z]:\.\.$/i.test(n[0]))return this.warn("TAR_ENTRY_ERROR","path contains '..'",{entry:t,path:r}),!1;let[i,s]=fN(r);i&&(t.path=s,this.warn("TAR_ENTRY_INFO",`stripping ${i} from absolute path`,{entry:t,path:r}))}if(_r.isAbsolute(t.path)?t.absolute=yt(_r.resolve(t.path)):t.absolute=yt(_r.resolve(this.cwd,t.path)),!this.preservePaths&&t.absolute.indexOf(this.cwd+"/")!==0&&t.absolute!==this.cwd)return this.warn("TAR_ENTRY_ERROR","path escaped extraction target",{entry:t,path:yt(t.path),resolvedPath:t.absolute,cwd:this.cwd}),!1;if(t.absolute===this.cwd&&t.type!=="Directory"&&t.type!=="GNUDumpDir")return!1;if(this.win32){let{root:r}=_r.win32.parse(t.absolute);t.absolute=r+HS.encode(t.absolute.slice(r.length));let{root:n}=_r.win32.parse(t.path);t.path=n+HS.encode(t.path.slice(n.length))}return!0}[$S](t){if(!this[YS](t))return t.resume();switch(uN.equal(typeof t.absolute,"string"),t.type){case"Directory":case"GNUDumpDir":t.mode&&(t.mode=t.mode|448);case"File":case"OldFile":case"ContiguousFile":case"Link":case"SymbolicLink":return this[mp](t);case"CharacterDevice":case"BlockDevice":case"FIFO":default:return this[VS](t)}}[Ke](t,r){t.name==="CwdError"?this.emit("error",t):(this.warn("TAR_ENTRY_ERROR",t,{entry:r}),this[Li](),r.resume())}[Xr](t,r,n){JS(yt(t),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:r,noChmod:this.noChmod},n)}[js](t){return this.forceChown||this.preserveOwner&&(typeof t.uid=="number"&&t.uid!==this.processUid||typeof t.gid=="number"&&t.gid!==this.processGid)||typeof this.uid=="number"&&this.uid!==this.processUid||typeof this.gid=="number"&&this.gid!==this.processGid}[Hs](t){return KS(this.uid,t.uid,this.processUid)}[$s](t){return KS(this.gid,t.gid,this.processGid)}[yp](t,r){let n=t.mode&4095||this.fmode,i=new cN.WriteStream(t.absolute,{flags:QS(t.size),mode:n,autoClose:!1});i.on("error",a=>{i.fd&&ne.close(i.fd,()=>{}),i.write=()=>!0,this[Ke](a,t),r()});let s=1,o=a=>{if(a){i.fd&&ne.close(i.fd,()=>{}),this[Ke](a,t),r();return}--s===0&&ne.close(i.fd,c=>{c?this[Ke](c,t):this[Li](),r()})};i.on("finish",a=>{let c=t.absolute,l=i.fd;if(t.mtime&&!this.noMtime){s++;let f=t.atime||new Date,h=t.mtime;ne.futimes(l,f,h,E=>E?ne.utimes(c,f,h,_=>o(_&&E)):o())}if(this[js](t)){s++;let f=this[Hs](t),h=this[$s](t);ne.fchown(l,f,h,E=>E?ne.chown(c,f,h,_=>o(_&&E)):o())}o()});let u=this.transform&&this.transform(t)||t;u!==t&&(u.on("error",a=>{this[Ke](a,t),r()}),t.pipe(u)),u.pipe(i)}[Ep](t,r){let n=t.mode&4095||this.dmode;this[Xr](t.absolute,n,i=>{if(i){this[Ke](i,t),r();return}let s=1,o=u=>{--s===0&&(r(),this[Li](),t.resume())};t.mtime&&!this.noMtime&&(s++,ne.utimes(t.absolute,t.atime||new Date,t.mtime,o)),this[js](t)&&(s++,ne.chown(t.absolute,this[Hs](t),this[$s](t),o)),o()})}[VS](t){t.unsupported=!0,this.warn("TAR_ENTRY_UNSUPPORTED",`unsupported entry type: ${t.type}`,{entry:t}),t.resume()}[GS](t,r){this[Ha](t,t.linkpath,"symlink",r)}[WS](t,r){let n=yt(_r.resolve(this.cwd,t.linkpath));this[Ha](t,n,"link",r)}[zS](){this[Ma]++}[Li](){this[Ma]--,this[dp]()}[_p](t){this[Li](),t.resume()}[gp](t,r){return t.type==="File"&&!this.unlink&&r.isFile()&&r.nlink<=1&&!Gs}[mp](t){this[zS]();let r=[t.path];t.linkpath&&r.push(t.linkpath),this.reservations.reserve(r,n=>this[US](t,n))}[ja](t){t.type==="SymbolicLink"?EN(this.dirCache):t.type!=="Directory"&&yN(this.dirCache,t.absolute)}[US](t,r){this[ja](t);let n=u=>{this[ja](t),r(u)},i=()=>{this[Xr](this.cwd,this.dmode,u=>{if(u){this[Ke](u,t),n();return}this[Us]=!0,s()})},s=()=>{if(t.absolute!==this.cwd){let u=yt(_r.dirname(t.absolute));if(u!==this.cwd)return this[Xr](u,this.dmode,a=>{if(a){this[Ke](a,t),n();return}o()})}o()},o=()=>{ne.lstat(t.absolute,(u,a)=>{if(a&&(this.keep||this.newer&&a.mtime>t.mtime)){this[_p](t),n();return}if(u||this[gp](t,a))return this[Ft](null,t,n);if(a.isDirectory()){if(t.type==="Directory"){let c=!this.noChmod&&t.mode&&(a.mode&4095)!==t.mode,l=f=>this[Ft](f,t,n);return c?ne.chmod(t.absolute,t.mode,l):l()}if(t.absolute!==this.cwd)return ne.rmdir(t.absolute,c=>this[Ft](c,t,n))}if(t.absolute===this.cwd)return this[Ft](null,t,n);mN(t.absolute,c=>this[Ft](c,t,n))})};this[Us]?s():i()}[Ft](t,r,n){if(t){this[Ke](t,r),n();return}switch(r.type){case"File":case"OldFile":case"ContiguousFile":return this[yp](r,n);case"Link":return this[WS](r,n);case"SymbolicLink":return this[GS](r,n);case"Directory":case"GNUDumpDir":return this[Ep](r,n)}}[Ha](t,r,n,i){ne[n](r,t.absolute,s=>{s?this[Ke](s,t):(this[Li](),t.resume()),i()})}},qa=e=>{try{return[null,e()]}catch(t){return[t,null]}},bp=class extends Ws{[Ft](t,r){return super[Ft](t,r,()=>{})}[mp](t){if(this[ja](t),!this[Us]){let s=this[Xr](this.cwd,this.dmode);if(s)return this[Ke](s,t);this[Us]=!0}if(t.absolute!==this.cwd){let s=yt(_r.dirname(t.absolute));if(s!==this.cwd){let o=this[Xr](s,this.dmode);if(o)return this[Ke](o,t)}}let[r,n]=qa(()=>ne.lstatSync(t.absolute));if(n&&(this.keep||this.newer&&n.mtime>t.mtime))return this[_p](t);if(r||this[gp](t,n))return this[Ft](null,t);if(n.isDirectory()){if(t.type==="Directory"){let o=!this.noChmod&&t.mode&&(n.mode&4095)!==t.mode,[u]=o?qa(()=>{ne.chmodSync(t.absolute,t.mode)}):[];return this[Ft](u,t)}let[s]=qa(()=>ne.rmdirSync(t.absolute));this[Ft](s,t)}let[i]=t.absolute===this.cwd?[]:qa(()=>gN(t.absolute));this[Ft](i,t)}[yp](t,r){let n=t.mode&4095||this.fmode,i=u=>{let a;try{ne.closeSync(s)}catch(c){a=c}(u||a)&&this[Ke](u||a,t),r()},s;try{s=ne.openSync(t.absolute,QS(t.size),n)}catch(u){return i(u)}let o=this.transform&&this.transform(t)||t;o!==t&&(o.on("error",u=>this[Ke](u,t)),t.pipe(o)),o.on("data",u=>{try{ne.writeSync(s,u,0,u.length)}catch(a){i(a)}}),o.on("end",u=>{let a=null;if(t.mtime&&!this.noMtime){let c=t.atime||new Date,l=t.mtime;try{ne.futimesSync(s,c,l)}catch(f){try{ne.utimesSync(t.absolute,c,l)}catch{a=f}}}if(this[js](t)){let c=this[Hs](t),l=this[$s](t);try{ne.fchownSync(s,c,l)}catch(f){try{ne.chownSync(t.absolute,c,l)}catch{a=a||f}}}i(a)})}[Ep](t,r){let n=t.mode&4095||this.dmode,i=this[Xr](t.absolute,n);if(i){this[Ke](i,t),r();return}if(t.mtime&&!this.noMtime)try{ne.utimesSync(t.absolute,t.atime||new Date,t.mtime)}catch{}if(this[js](t))try{ne.chownSync(t.absolute,this[Hs](t),this[$s](t))}catch{}r(),t.resume()}[Xr](t,r){try{return JS.sync(yt(t),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:r})}catch(n){return n}}[Ha](t,r,n,i){try{ne[n+"Sync"](r,t.absolute),i(),t.resume()}catch(s){return this[Ke](s,t)}}};Ws.Sync=bp;eA.exports=Ws});var sA=m((Rj,iA)=>{"use strict";var _N=di(),$a=vp(),rA=require("fs"),nA=Oi(),tA=require("path"),Dp=Di();iA.exports=(e,t,r)=>{typeof e=="function"?(r=e,t=null,e={}):Array.isArray(e)&&(t=e,e={}),typeof t=="function"&&(r=t,t=null),t?t=Array.from(t):t=[];let n=_N(e);if(n.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!n.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return t.length&&bN(n,t),n.file&&n.sync?vN(n):n.file?DN(n,r):n.sync?xN(n):SN(n)};var bN=(e,t)=>{let r=new Map(t.map(s=>[Dp(s),!0])),n=e.filter,i=(s,o)=>{let u=o||tA.parse(s).root||".",a=s===u?!1:r.has(s)?r.get(s):i(tA.dirname(s),u);return r.set(s,a),a};e.filter=n?(s,o)=>n(s,o)&&i(Dp(s)):s=>i(Dp(s))},vN=e=>{let t=new $a.Sync(e),r=e.file,n=rA.statSync(r),i=e.maxReadSize||16*1024*1024;new nA.ReadStreamSync(r,{readSize:i,size:n.size}).pipe(t)},DN=(e,t)=>{let r=new $a(e),n=e.maxReadSize||16*1024*1024,i=e.file,s=new Promise((o,u)=>{r.on("error",u),r.on("close",o),rA.stat(i,(a,c)=>{if(a)u(a);else{let l=new nA.ReadStream(i,{readSize:n,size:c.size});l.on("error",u),l.pipe(r)}})});return t?s.then(t,t):s},xN=e=>new $a.Sync(e),SN=e=>new $a(e)});var oA=m(Te=>{"use strict";Te.c=Te.create=H2();Te.r=Te.replace=np();Te.t=Te.list=Ta();Te.u=Te.update=X2();Te.x=Te.extract=sA();Te.Pack=ma();Te.Unpack=vp();Te.Parse=Ra();Te.ReadEntry=Zu();Te.WriteEntry=O0();Te.Header=vi();Te.Pax=ea();Te.types=p0()});var fA=m((Bj,lA)=>{function Rt(e,t){typeof t=="boolean"&&(t={forever:t}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=t||{},this._maxRetryTime=t&&t.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}lA.exports=Rt;Rt.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Rt.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Rt.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var t=new Date().getTime();if(e&&t-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};Rt.prototype.attempt=function(e,t){this._fn=e,t&&(t.timeout&&(this._operationTimeout=t.timeout),t.cb&&(this._operationTimeoutCb=t.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};Rt.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};Rt.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};Rt.prototype.start=Rt.prototype.try;Rt.prototype.errors=function(){return this._errors};Rt.prototype.attempts=function(){return this._attempts};Rt.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},t=null,r=0,n=0;n<this._errors.length;n++){var i=this._errors[n],s=i.message,o=(e[s]||0)+1;e[s]=o,o>=r&&(t=i,r=o)}return t}});var hA=m(Fn=>{var FN=fA();Fn.operation=function(e){var t=Fn.timeouts(e);return new FN(t,{forever:e&&(e.forever||e.retries===1/0),unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};Fn.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in e)t[r]=e[r];if(t.minTimeout>t.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<t.retries;i++)n.push(this.createTimeout(i,t));return e&&e.forever&&!n.length&&n.push(this.createTimeout(i,t)),n.sort(function(s,o){return s-o}),n};Fn.createTimeout=function(e,t){var r=t.randomize?Math.random()+1:1,n=Math.round(r*Math.max(t.minTimeout,1)*Math.pow(t.factor,e));return n=Math.min(n,t.maxTimeout),n};Fn.wrap=function(e,t,r){if(t instanceof Array&&(r=t,t=null),!r){r=[];for(var n in e)typeof e[n]=="function"&&r.push(n)}for(var i=0;i<r.length;i++){var s=r[i],o=e[s];e[s]=function(a){var c=Fn.operation(t),l=Array.prototype.slice.call(arguments,1),f=l.pop();l.push(function(h){c.retry(h)||(h&&(arguments[0]=c.mainError()),f.apply(this,arguments))}),c.attempt(function(){a.apply(e,l)})}.bind(e,o),e[s].options=t}}});var dA=m((Lj,pA)=>{pA.exports=hA()});var gA=m((Nj,mA)=>{var RN=dA();function TN(e,t){function r(n,i){var s=t||{},o;"randomize"in s||(s.randomize=!0),o=RN.operation(s);function u(l){i(l||new Error("Aborted"))}function a(l,f){if(l.bail){u(l);return}o.retry(l)?s.onRetry&&s.onRetry(l,f):i(o.mainError())}function c(l){var f;try{f=e(u,l)}catch(h){a(h,l);return}Promise.resolve(f).then(n).catch(function(E){a(E,l)})}o.attempt(c)}return new Promise(r)}mA.exports=TN});var uM={};Op(uM,{configs:()=>sM,default:()=>oM,rules:()=>iM});module.exports=zA(uM);var Bp="eslint-plugin-turbo",Ip="2.6.3-canary.0";var br={noUndeclaredEnvVars:"no-undeclared-env-vars"};var Vs=le(require("path")),Ni=le(require("fs")),Rp=le(require("crypto"));var pF=le(Hp());function za(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qi(e){return qi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qi(e)}function Ka(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xa(e,t){if(t&&(qi(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ka(e)}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function Qt(e,t){return Qt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Qt(e,t)}function Ja(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qt(e,t)}function Za(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Qa(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Rn(e,t,r){return Qa()?Rn=Reflect.construct.bind():Rn=function(i,s,o){var u=[null];u.push.apply(u,s);var a=Function.bind.apply(i,u),c=new a;return o&&Qt(c,o.prototype),c},Rn.apply(null,arguments)}function ji(e){var t=typeof Map=="function"?new Map:void 0;return ji=function(n){if(n===null||!Za(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return Rn(n,arguments,Qr(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Qt(i,n)},ji(e)}var Rc=le(id()),lo=le(require("path")),fo=le(Eg()),dF=function(e){Ja(t,e);function t(r){var n;return za(this,t),n=Xa(this,Qr(t).call(this,"No package.json could be found upwards from the directory ".concat(r))),n.directory=r,n}return t}(ji(Error));function mF(e,t){try{var r=fo.default.readJsonSync(lo.default.join(e,"package.json"));if(t.current===void 0&&(t.current=e),r.workspaces||r.bolt)return e}catch(n){if(n.code!=="ENOENT")throw n}}function gF(e){try{var t=fo.default.readJsonSync(lo.default.join(e,"lerna.json"));if(t.useWorkspaces!==!0)return e}catch(r){if(r.code!=="ENOENT")throw r}}function yF(e){var t=fo.default.existsSync(lo.default.join(e,"pnpm-workspace.yaml"));if(t)return e}function _g(e){var t={current:void 0},r=(0,Rc.sync)(function(n){return[gF(n),mF(n,t),yF(n)].find(function(i){return i})},{cwd:e,type:"directory"});if(t.current===void 0)throw new dF(e);return r===void 0?t.current:r}var EF=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,_F=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,bF=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,Tc={Space_Separator:EF,ID_Start:_F,ID_Continue:bF},De={isSpaceSeparator(e){return typeof e=="string"&&Tc.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||Tc.ID_Start.test(e))},isIdContinueChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="\u200C"||e==="\u200D"||Tc.ID_Continue.test(e))},isDigit(e){return typeof e=="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e=="string"&&/[0-9A-Fa-f]/.test(e)}},kc,Ze,tr,po,Sr,Ot,Oe,Ic,es,vF=function(t,r){kc=String(t),Ze="start",tr=[],po=0,Sr=1,Ot=0,Oe=void 0,Ic=void 0,es=void 0;do Oe=DF(),AF[Ze]();while(Oe.type!=="eof");return typeof r=="function"?Pc({"":es},"",r):es};function Pc(e,t,r){let n=e[t];if(n!=null&&typeof n=="object")if(Array.isArray(n))for(let i=0;i<n.length;i++){let s=String(i),o=Pc(n,s,r);o===void 0?delete n[s]:Object.defineProperty(n,s,{value:o,writable:!0,enumerable:!0,configurable:!0})}else for(let i in n){let s=Pc(n,i,r);s===void 0?delete n[i]:Object.defineProperty(n,i,{value:s,writable:!0,enumerable:!0,configurable:!0})}return r.call(e,t,n)}var Q,Z,Qi,er,ee;function DF(){for(Q="default",Z="",Qi=!1,er=1;;){ee=rr();let e=vg[Q]();if(e)return e}}function rr(){if(kc[po])return String.fromCodePoint(kc.codePointAt(po))}function F(){let e=rr();return e===`
30
+ `).reduce(w6,Object.create(null)),w6=(e,t)=>{let r=parseInt(t,10);if(r!==Buffer.byteLength(t)+1)return e;t=t.slice((r+" ").length);let n=t.split("="),i=n.shift().replace(/^SCHILY\.(dev|ino|nlink)/,"$1");if(!i)return e;let s=n.join("=");return e[i]=/^([A-Z]+\.)?([mac]|birth|creation)time$/.test(i)?new Date(s*1e3):/^[0-9]+$/.test(s)?+s:s,e};Ux.exports=Ps});var Di=m((Xq,Gx)=>{Gx.exports=e=>{let t=e.length-1,r=-1;for(;t>-1&&e.charAt(t)==="/";)r=t,t--;return r===-1?e:e.slice(0,r)}});var ta=m((Jq,Wx)=>{"use strict";Wx.exports=e=>class extends e{warn(t,r,n={}){this.file&&(n.file=this.file),this.cwd&&(n.cwd=this.cwd),n.code=r instanceof Error&&r.code||t,n.tarCode=t,!this.strict&&n.recoverable!==!1?(r instanceof Error&&(n=Object.assign(r,n),r=r.message),this.emit("warn",n.tarCode,r,n)):r instanceof Error?this.emit("error",Object.assign(r,n)):this.emit("error",Object.assign(new Error(`${t}: ${r}`),n))}}});var b0=m((Qq,Vx)=>{"use strict";var ra=["|","<",">","?",":"],_0=ra.map(e=>String.fromCharCode(61440+e.charCodeAt(0))),C6=new Map(ra.map((e,t)=>[e,_0[t]])),F6=new Map(_0.map((e,t)=>[e,ra[t]]));Vx.exports={encode:e=>ra.reduce((t,r)=>t.split(r).join(C6.get(r)),e),decode:e=>_0.reduce((t,r)=>t.split(r).join(F6.get(r)),e)}});var v0=m((ej,zx)=>{var{isAbsolute:R6,parse:Yx}=require("path").win32;zx.exports=e=>{let t="",r=Yx(e);for(;R6(e)||r.root;){let n=e.charAt(0)==="/"&&e.slice(0,4)!=="//?/"?"/":r.root;e=e.slice(n.length),t+=n,r=Yx(e)}return[t,e]}});var Xx=m((tj,Kx)=>{"use strict";Kx.exports=(e,t,r)=>(e&=4095,r&&(e=(e|384)&-19),t&&(e&256&&(e|=64),e&32&&(e|=8),e&4&&(e|=1)),e)});var O0=m((ij,l2)=>{"use strict";var n2=Uu(),i2=ea(),s2=vi(),Vt=require("fs"),Jx=require("path"),Wt=_i(),T6=Di(),o2=(e,t)=>t?(e=Wt(e).replace(/^\.(\/|$)/,""),T6(t)+"/"+e):Wt(e),O6=16*1024*1024,Zx=Symbol("process"),Qx=Symbol("file"),e2=Symbol("directory"),x0=Symbol("symlink"),t2=Symbol("hardlink"),Bs=Symbol("header"),na=Symbol("read"),S0=Symbol("lstat"),ia=Symbol("onlstat"),A0=Symbol("onread"),w0=Symbol("onreadlink"),C0=Symbol("openfile"),F0=Symbol("onopenfile"),Ur=Symbol("close"),sa=Symbol("mode"),R0=Symbol("awaitDrain"),D0=Symbol("ondrain"),Yt=Symbol("prefix"),r2=Symbol("hadError"),u2=ta(),k6=b0(),a2=v0(),c2=Xx(),oa=u2(class extends n2{constructor(t,r){if(r=r||{},super(r),typeof t!="string")throw new TypeError("path is required");this.path=Wt(t),this.portable=!!r.portable,this.myuid=process.getuid&&process.getuid()||0,this.myuser=process.env.USER||"",this.maxReadSize=r.maxReadSize||O6,this.linkCache=r.linkCache||new Map,this.statCache=r.statCache||new Map,this.preservePaths=!!r.preservePaths,this.cwd=Wt(r.cwd||process.cwd()),this.strict=!!r.strict,this.noPax=!!r.noPax,this.noMtime=!!r.noMtime,this.mtime=r.mtime||null,this.prefix=r.prefix?Wt(r.prefix):null,this.fd=null,this.blockLen=null,this.blockRemain=null,this.buf=null,this.offset=null,this.length=null,this.pos=null,this.remain=null,typeof r.onwarn=="function"&&this.on("warn",r.onwarn);let n=!1;if(!this.preservePaths){let[i,s]=a2(this.path);i&&(this.path=s,n=i)}this.win32=!!r.win32||process.platform==="win32",this.win32&&(this.path=k6.decode(this.path.replace(/\\/g,"/")),t=t.replace(/\\/g,"/")),this.absolute=Wt(r.absolute||Jx.resolve(this.cwd,t)),this.path===""&&(this.path="./"),n&&this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:this,path:n+this.path}),this.statCache.has(this.absolute)?this[ia](this.statCache.get(this.absolute)):this[S0]()}emit(t,...r){return t==="error"&&(this[r2]=!0),super.emit(t,...r)}[S0](){Vt.lstat(this.absolute,(t,r)=>{if(t)return this.emit("error",t);this[ia](r)})}[ia](t){this.statCache.set(this.absolute,t),this.stat=t,t.isFile()||(t.size=0),this.type=B6(t),this.emit("stat",t),this[Zx]()}[Zx](){switch(this.type){case"File":return this[Qx]();case"Directory":return this[e2]();case"SymbolicLink":return this[x0]();default:return this.end()}}[sa](t){return c2(t,this.type==="Directory",this.portable)}[Yt](t){return o2(t,this.prefix)}[Bs](){this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.header=new s2({path:this[Yt](this.path),linkpath:this.type==="Link"?this[Yt](this.linkpath):this.linkpath,mode:this[sa](this.stat.mode),uid:this.portable?null:this.stat.uid,gid:this.portable?null:this.stat.gid,size:this.stat.size,mtime:this.noMtime?null:this.mtime||this.stat.mtime,type:this.type,uname:this.portable?null:this.stat.uid===this.myuid?this.myuser:"",atime:this.portable?null:this.stat.atime,ctime:this.portable?null:this.stat.ctime}),this.header.encode()&&!this.noPax&&super.write(new i2({atime:this.portable?null:this.header.atime,ctime:this.portable?null:this.header.ctime,gid:this.portable?null:this.header.gid,mtime:this.noMtime?null:this.mtime||this.header.mtime,path:this[Yt](this.path),linkpath:this.type==="Link"?this[Yt](this.linkpath):this.linkpath,size:this.header.size,uid:this.portable?null:this.header.uid,uname:this.portable?null:this.header.uname,dev:this.portable?null:this.stat.dev,ino:this.portable?null:this.stat.ino,nlink:this.portable?null:this.stat.nlink}).encode()),super.write(this.header.block)}[e2](){this.path.slice(-1)!=="/"&&(this.path+="/"),this.stat.size=0,this[Bs](),this.end()}[x0](){Vt.readlink(this.absolute,(t,r)=>{if(t)return this.emit("error",t);this[w0](r)})}[w0](t){this.linkpath=Wt(t),this[Bs](),this.end()}[t2](t){this.type="Link",this.linkpath=Wt(Jx.relative(this.cwd,t)),this.stat.size=0,this[Bs](),this.end()}[Qx](){if(this.stat.nlink>1){let t=this.stat.dev+":"+this.stat.ino;if(this.linkCache.has(t)){let r=this.linkCache.get(t);if(r.indexOf(this.cwd)===0)return this[t2](r)}this.linkCache.set(t,this.absolute)}if(this[Bs](),this.stat.size===0)return this.end();this[C0]()}[C0](){Vt.open(this.absolute,"r",(t,r)=>{if(t)return this.emit("error",t);this[F0](r)})}[F0](t){if(this.fd=t,this[r2])return this[Ur]();this.blockLen=512*Math.ceil(this.stat.size/512),this.blockRemain=this.blockLen;let r=Math.min(this.blockLen,this.maxReadSize);this.buf=Buffer.allocUnsafe(r),this.offset=0,this.pos=0,this.remain=this.stat.size,this.length=this.buf.length,this[na]()}[na](){let{fd:t,buf:r,offset:n,length:i,pos:s}=this;Vt.read(t,r,n,i,s,(o,u)=>{if(o)return this[Ur](()=>this.emit("error",o));this[A0](u)})}[Ur](t){Vt.close(this.fd,t)}[A0](t){if(t<=0&&this.remain>0){let i=new Error("encountered unexpected EOF");return i.path=this.absolute,i.syscall="read",i.code="EOF",this[Ur](()=>this.emit("error",i))}if(t>this.remain){let i=new Error("did not encounter expected EOF");return i.path=this.absolute,i.syscall="read",i.code="EOF",this[Ur](()=>this.emit("error",i))}if(t===this.remain)for(let i=t;i<this.length&&t<this.blockRemain;i++)this.buf[i+this.offset]=0,t++,this.remain++;let r=this.offset===0&&t===this.buf.length?this.buf:this.buf.slice(this.offset,this.offset+t);this.write(r)?this[D0]():this[R0](()=>this[D0]())}[R0](t){this.once("drain",t)}write(t){if(this.blockRemain<t.length){let r=new Error("writing more data than expected");return r.path=this.absolute,this.emit("error",r)}return this.remain-=t.length,this.blockRemain-=t.length,this.pos+=t.length,this.offset+=t.length,super.write(t)}[D0](){if(!this.remain)return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),this[Ur](t=>t?this.emit("error",t):this.end());this.offset>=this.length&&(this.buf=Buffer.allocUnsafe(Math.min(this.blockRemain,this.buf.length)),this.offset=0),this.length=this.buf.length-this.offset,this[na]()}}),T0=class extends oa{[S0](){this[ia](Vt.lstatSync(this.absolute))}[x0](){this[w0](Vt.readlinkSync(this.absolute))}[C0](){this[F0](Vt.openSync(this.absolute,"r"))}[na](){let t=!0;try{let{fd:r,buf:n,offset:i,length:s,pos:o}=this,u=Vt.readSync(r,n,i,s,o);this[A0](u),t=!1}finally{if(t)try{this[Ur](()=>{})}catch{}}}[R0](t){t()}[Ur](t){Vt.closeSync(this.fd),t()}},P6=u2(class extends n2{constructor(t,r){r=r||{},super(r),this.preservePaths=!!r.preservePaths,this.portable=!!r.portable,this.strict=!!r.strict,this.noPax=!!r.noPax,this.noMtime=!!r.noMtime,this.readEntry=t,this.type=t.type,this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.prefix=r.prefix||null,this.path=Wt(t.path),this.mode=this[sa](t.mode),this.uid=this.portable?null:t.uid,this.gid=this.portable?null:t.gid,this.uname=this.portable?null:t.uname,this.gname=this.portable?null:t.gname,this.size=t.size,this.mtime=this.noMtime?null:r.mtime||t.mtime,this.atime=this.portable?null:t.atime,this.ctime=this.portable?null:t.ctime,this.linkpath=Wt(t.linkpath),typeof r.onwarn=="function"&&this.on("warn",r.onwarn);let n=!1;if(!this.preservePaths){let[i,s]=a2(this.path);i&&(this.path=s,n=i)}this.remain=t.size,this.blockRemain=t.startBlockSize,this.header=new s2({path:this[Yt](this.path),linkpath:this.type==="Link"?this[Yt](this.linkpath):this.linkpath,mode:this.mode,uid:this.portable?null:this.uid,gid:this.portable?null:this.gid,size:this.size,mtime:this.noMtime?null:this.mtime,type:this.type,uname:this.portable?null:this.uname,atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime}),n&&this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:this,path:n+this.path}),this.header.encode()&&!this.noPax&&super.write(new i2({atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime,gid:this.portable?null:this.gid,mtime:this.noMtime?null:this.mtime,path:this[Yt](this.path),linkpath:this.type==="Link"?this[Yt](this.linkpath):this.linkpath,size:this.size,uid:this.portable?null:this.uid,uname:this.portable?null:this.uname,dev:this.portable?null:this.readEntry.dev,ino:this.portable?null:this.readEntry.ino,nlink:this.portable?null:this.readEntry.nlink}).encode()),super.write(this.header.block),t.pipe(this)}[Yt](t){return o2(t,this.prefix)}[sa](t){return c2(t,this.type==="Directory",this.portable)}write(t){let r=t.length;if(r>this.blockRemain)throw new Error("writing more to entry than is appropriate");return this.blockRemain-=r,super.write(t)}end(){return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),super.end()}});oa.Sync=T0;oa.Tar=P6;var B6=e=>e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":"Unsupported";l2.exports=oa});var h2=m((sj,f2)=>{"use strict";f2.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var k0=m((oj,p2)=>{"use strict";p2.exports=re;re.Node=bn;re.create=re;function re(e){var t=this;if(t instanceof re||(t=new re),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(i){t.push(i)});else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)t.push(arguments[r]);return t}re.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t};re.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};re.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};re.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)L6(this,arguments[e]);return this.length};re.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)N6(this,arguments[e]);return this.length};re.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};re.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};re.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;r!==null;n++)e.call(t,r.value,n,this),r=r.next};re.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;r!==null;n--)e.call(t,r.value,n,this),r=r.prev};re.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++)r=r.next;if(t===e&&r!==null)return r.value};re.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++)r=r.prev;if(t===e&&r!==null)return r.value};re.prototype.map=function(e,t){t=t||this;for(var r=new re,n=this.head;n!==null;)r.push(e.call(t,n.value,this)),n=n.next;return r};re.prototype.mapReverse=function(e,t){t=t||this;for(var r=new re,n=this.tail;n!==null;)r.push(e.call(t,n.value,this)),n=n.prev;return r};re.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;n!==null;i++)r=e(r,n.value,i),n=n.next;return r};re.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;n!==null;i--)r=e(r,n.value,i),n=n.prev;return r};re.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;r!==null;t++)e[t]=r.value,r=r.next;return e};re.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;r!==null;t++)e[t]=r.value,r=r.prev;return e};re.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new re;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=0,i=this.head;i!==null&&n<e;n++)i=i.next;for(;i!==null&&n<t;n++,i=i.next)r.push(i.value);return r};re.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new re;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,i=this.tail;i!==null&&n>t;n--)i=i.prev;for(;i!==null&&n>e;n--,i=i.prev)r.push(i.value);return r};re.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,i=this.head;i!==null&&n<e;n++)i=i.next;for(var s=[],n=0;i&&n<t;n++)s.push(i.value),i=this.removeNode(i);i===null&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(var n=0;n<r.length;n++)i=I6(this,i,r[n]);return s};re.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;r!==null;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=t,this.tail=e,this};function I6(e,t,r){var n=t===e.head?new bn(r,null,t,e):new bn(r,t,t.next,e);return n.next===null&&(e.tail=n),n.prev===null&&(e.head=n),e.length++,n}function L6(e,t){e.tail=new bn(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function N6(e,t){e.head=new bn(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function bn(e,t,r,n){if(!(this instanceof bn))return new bn(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}try{h2()(re)}catch{}});var ma=m((aj,b2)=>{"use strict";var pa=class{constructor(t,r){this.path=t||"./",this.absolute=r,this.entry=null,this.stat=null,this.readdir=null,this.pending=!1,this.ignore=!1,this.piped=!1}},M6=Uu(),q6=l0(),j6=Zu(),H0=O0(),H6=H0.Sync,$6=H0.Tar,U6=k0(),d2=Buffer.alloc(1024),ca=Symbol("onStat"),ua=Symbol("ended"),zt=Symbol("queue"),xi=Symbol("current"),vn=Symbol("process"),aa=Symbol("processing"),m2=Symbol("processJob"),Kt=Symbol("jobs"),P0=Symbol("jobDone"),la=Symbol("addFSEntry"),g2=Symbol("addTarEntry"),N0=Symbol("stat"),M0=Symbol("readdir"),fa=Symbol("onreaddir"),ha=Symbol("pipe"),y2=Symbol("entry"),B0=Symbol("entryOpt"),q0=Symbol("writeEntryClass"),_2=Symbol("write"),I0=Symbol("ondrain"),da=require("fs"),E2=require("path"),G6=ta(),L0=_i(),$0=G6(class extends M6{constructor(t){super(t),t=t||Object.create(null),this.opt=t,this.file=t.file||"",this.cwd=t.cwd||process.cwd(),this.maxReadSize=t.maxReadSize,this.preservePaths=!!t.preservePaths,this.strict=!!t.strict,this.noPax=!!t.noPax,this.prefix=L0(t.prefix||""),this.linkCache=t.linkCache||new Map,this.statCache=t.statCache||new Map,this.readdirCache=t.readdirCache||new Map,this[q0]=H0,typeof t.onwarn=="function"&&this.on("warn",t.onwarn),this.portable=!!t.portable,this.zip=null,t.gzip?(typeof t.gzip!="object"&&(t.gzip={}),this.portable&&(t.gzip.portable=!0),this.zip=new q6.Gzip(t.gzip),this.zip.on("data",r=>super.write(r)),this.zip.on("end",r=>super.end()),this.zip.on("drain",r=>this[I0]()),this.on("resume",r=>this.zip.resume())):this.on("drain",this[I0]),this.noDirRecurse=!!t.noDirRecurse,this.follow=!!t.follow,this.noMtime=!!t.noMtime,this.mtime=t.mtime||null,this.filter=typeof t.filter=="function"?t.filter:r=>!0,this[zt]=new U6,this[Kt]=0,this.jobs=+t.jobs||4,this[aa]=!1,this[ua]=!1}[_2](t){return super.write(t)}add(t){return this.write(t),this}end(t){return t&&this.write(t),this[ua]=!0,this[vn](),this}write(t){if(this[ua])throw new Error("write after end");return t instanceof j6?this[g2](t):this[la](t),this.flowing}[g2](t){let r=L0(E2.resolve(this.cwd,t.path));if(!this.filter(t.path,t))t.resume();else{let n=new pa(t.path,r,!1);n.entry=new $6(t,this[B0](n)),n.entry.on("end",i=>this[P0](n)),this[Kt]+=1,this[zt].push(n)}this[vn]()}[la](t){let r=L0(E2.resolve(this.cwd,t));this[zt].push(new pa(t,r)),this[vn]()}[N0](t){t.pending=!0,this[Kt]+=1;let r=this.follow?"stat":"lstat";da[r](t.absolute,(n,i)=>{t.pending=!1,this[Kt]-=1,n?this.emit("error",n):this[ca](t,i)})}[ca](t,r){this.statCache.set(t.absolute,r),t.stat=r,this.filter(t.path,r)||(t.ignore=!0),this[vn]()}[M0](t){t.pending=!0,this[Kt]+=1,da.readdir(t.absolute,(r,n)=>{if(t.pending=!1,this[Kt]-=1,r)return this.emit("error",r);this[fa](t,n)})}[fa](t,r){this.readdirCache.set(t.absolute,r),t.readdir=r,this[vn]()}[vn](){if(!this[aa]){this[aa]=!0;for(let t=this[zt].head;t!==null&&this[Kt]<this.jobs;t=t.next)if(this[m2](t.value),t.value.ignore){let r=t.next;this[zt].removeNode(t),t.next=r}this[aa]=!1,this[ua]&&!this[zt].length&&this[Kt]===0&&(this.zip?this.zip.end(d2):(super.write(d2),super.end()))}}get[xi](){return this[zt]&&this[zt].head&&this[zt].head.value}[P0](t){this[zt].shift(),this[Kt]-=1,this[vn]()}[m2](t){if(!t.pending){if(t.entry){t===this[xi]&&!t.piped&&this[ha](t);return}if(t.stat||(this.statCache.has(t.absolute)?this[ca](t,this.statCache.get(t.absolute)):this[N0](t)),!!t.stat&&!t.ignore&&!(!this.noDirRecurse&&t.stat.isDirectory()&&!t.readdir&&(this.readdirCache.has(t.absolute)?this[fa](t,this.readdirCache.get(t.absolute)):this[M0](t),!t.readdir))){if(t.entry=this[y2](t),!t.entry){t.ignore=!0;return}t===this[xi]&&!t.piped&&this[ha](t)}}}[B0](t){return{onwarn:(r,n,i)=>this.warn(r,n,i),noPax:this.noPax,cwd:this.cwd,absolute:t.absolute,preservePaths:this.preservePaths,maxReadSize:this.maxReadSize,strict:this.strict,portable:this.portable,linkCache:this.linkCache,statCache:this.statCache,noMtime:this.noMtime,mtime:this.mtime,prefix:this.prefix}}[y2](t){this[Kt]+=1;try{return new this[q0](t.path,this[B0](t)).on("end",()=>this[P0](t)).on("error",r=>this.emit("error",r))}catch(r){this.emit("error",r)}}[I0](){this[xi]&&this[xi].entry&&this[xi].entry.resume()}[ha](t){t.piped=!0,t.readdir&&t.readdir.forEach(i=>{let s=t.path,o=s==="./"?"":s.replace(/\/*$/,"/");this[la](o+i)});let r=t.entry,n=this.zip;n?r.on("data",i=>{n.write(i)||r.pause()}):r.on("data",i=>{super.write(i)||r.pause()})}pause(){return this.zip&&this.zip.pause(),super.pause()}}),j0=class extends $0{constructor(t){super(t),this[q0]=H6}pause(){}resume(){}[N0](t){let r=this.follow?"statSync":"lstatSync";this[ca](t,da[r](t.absolute))}[M0](t,r){this[fa](t,da.readdirSync(t.absolute))}[ha](t){let r=t.entry,n=this.zip;t.readdir&&t.readdir.forEach(i=>{let s=t.path,o=s==="./"?"":s.replace(/\/*$/,"/");this[la](o+i)}),n?r.on("data",i=>{n.write(i)}):r.on("data",i=>{super[_2](i)})}};$0.Sync=j0;b2.exports=$0});var Oi=m(Ls=>{"use strict";var W6=zh(),V6=require("events").EventEmitter,at=require("fs"),W0=at.writev;if(!W0){let e=process.binding("fs"),t=e.FSReqWrap||e.FSReqCallback;W0=(r,n,i,s)=>{let o=(a,c)=>s(a,c,n),u=new t;u.oncomplete=o,e.writeBuffers(r,n,i,u)}}var Ri=Symbol("_autoClose"),Bt=Symbol("_close"),Is=Symbol("_ended"),ae=Symbol("_fd"),v2=Symbol("_finished"),Wr=Symbol("_flags"),U0=Symbol("_flush"),V0=Symbol("_handleChunk"),Y0=Symbol("_makeBuf"),ba=Symbol("_mode"),ga=Symbol("_needDrain"),Ci=Symbol("_onerror"),Ti=Symbol("_onopen"),G0=Symbol("_onread"),Ai=Symbol("_onwrite"),Vr=Symbol("_open"),gr=Symbol("_path"),Dn=Symbol("_pos"),Xt=Symbol("_queue"),wi=Symbol("_read"),D2=Symbol("_readSize"),Gr=Symbol("_reading"),ya=Symbol("_remain"),x2=Symbol("_size"),Ea=Symbol("_write"),Si=Symbol("_writing"),_a=Symbol("_defaultFlag"),Fi=Symbol("_errored"),va=class extends W6{constructor(t,r){if(r=r||{},super(r),this.readable=!0,this.writable=!1,typeof t!="string")throw new TypeError("path must be a string");this[Fi]=!1,this[ae]=typeof r.fd=="number"?r.fd:null,this[gr]=t,this[D2]=r.readSize||16*1024*1024,this[Gr]=!1,this[x2]=typeof r.size=="number"?r.size:1/0,this[ya]=this[x2],this[Ri]=typeof r.autoClose=="boolean"?r.autoClose:!0,typeof this[ae]=="number"?this[wi]():this[Vr]()}get fd(){return this[ae]}get path(){return this[gr]}write(){throw new TypeError("this is a readable stream")}end(){throw new TypeError("this is a readable stream")}[Vr](){at.open(this[gr],"r",(t,r)=>this[Ti](t,r))}[Ti](t,r){t?this[Ci](t):(this[ae]=r,this.emit("open",r),this[wi]())}[Y0](){return Buffer.allocUnsafe(Math.min(this[D2],this[ya]))}[wi](){if(!this[Gr]){this[Gr]=!0;let t=this[Y0]();if(t.length===0)return process.nextTick(()=>this[G0](null,0,t));at.read(this[ae],t,0,t.length,null,(r,n,i)=>this[G0](r,n,i))}}[G0](t,r,n){this[Gr]=!1,t?this[Ci](t):this[V0](r,n)&&this[wi]()}[Bt](){if(this[Ri]&&typeof this[ae]=="number"){let t=this[ae];this[ae]=null,at.close(t,r=>r?this.emit("error",r):this.emit("close"))}}[Ci](t){this[Gr]=!0,this[Bt](),this.emit("error",t)}[V0](t,r){let n=!1;return this[ya]-=t,t>0&&(n=super.write(t<r.length?r.slice(0,t):r)),(t===0||this[ya]<=0)&&(n=!1,this[Bt](),super.end()),n}emit(t,r){switch(t){case"prefinish":case"finish":break;case"drain":typeof this[ae]=="number"&&this[wi]();break;case"error":return this[Fi]?void 0:(this[Fi]=!0,super.emit(t,r));default:return super.emit(t,r)}}},z0=class extends va{[Vr](){let t=!0;try{this[Ti](null,at.openSync(this[gr],"r")),t=!1}finally{t&&this[Bt]()}}[wi](){let t=!0;try{if(!this[Gr]){this[Gr]=!0;do{let r=this[Y0](),n=r.length===0?0:at.readSync(this[ae],r,0,r.length,null);if(!this[V0](n,r))break}while(!0);this[Gr]=!1}t=!1}finally{t&&this[Bt]()}}[Bt](){if(this[Ri]&&typeof this[ae]=="number"){let t=this[ae];this[ae]=null,at.closeSync(t),this.emit("close")}}},Da=class extends V6{constructor(t,r){r=r||{},super(r),this.readable=!1,this.writable=!0,this[Fi]=!1,this[Si]=!1,this[Is]=!1,this[ga]=!1,this[Xt]=[],this[gr]=t,this[ae]=typeof r.fd=="number"?r.fd:null,this[ba]=r.mode===void 0?438:r.mode,this[Dn]=typeof r.start=="number"?r.start:null,this[Ri]=typeof r.autoClose=="boolean"?r.autoClose:!0;let n=this[Dn]!==null?"r+":"w";this[_a]=r.flags===void 0,this[Wr]=this[_a]?n:r.flags,this[ae]===null&&this[Vr]()}emit(t,r){if(t==="error"){if(this[Fi])return;this[Fi]=!0}return super.emit(t,r)}get fd(){return this[ae]}get path(){return this[gr]}[Ci](t){this[Bt](),this[Si]=!0,this.emit("error",t)}[Vr](){at.open(this[gr],this[Wr],this[ba],(t,r)=>this[Ti](t,r))}[Ti](t,r){this[_a]&&this[Wr]==="r+"&&t&&t.code==="ENOENT"?(this[Wr]="w",this[Vr]()):t?this[Ci](t):(this[ae]=r,this.emit("open",r),this[U0]())}end(t,r){return t&&this.write(t,r),this[Is]=!0,!this[Si]&&!this[Xt].length&&typeof this[ae]=="number"&&this[Ai](null,0),this}write(t,r){return typeof t=="string"&&(t=Buffer.from(t,r)),this[Is]?(this.emit("error",new Error("write() after end()")),!1):this[ae]===null||this[Si]||this[Xt].length?(this[Xt].push(t),this[ga]=!0,!1):(this[Si]=!0,this[Ea](t),!0)}[Ea](t){at.write(this[ae],t,0,t.length,this[Dn],(r,n)=>this[Ai](r,n))}[Ai](t,r){t?this[Ci](t):(this[Dn]!==null&&(this[Dn]+=r),this[Xt].length?this[U0]():(this[Si]=!1,this[Is]&&!this[v2]?(this[v2]=!0,this[Bt](),this.emit("finish")):this[ga]&&(this[ga]=!1,this.emit("drain"))))}[U0](){if(this[Xt].length===0)this[Is]&&this[Ai](null,0);else if(this[Xt].length===1)this[Ea](this[Xt].pop());else{let t=this[Xt];this[Xt]=[],W0(this[ae],t,this[Dn],(r,n)=>this[Ai](r,n))}}[Bt](){if(this[Ri]&&typeof this[ae]=="number"){let t=this[ae];this[ae]=null,at.close(t,r=>r?this.emit("error",r):this.emit("close"))}}},K0=class extends Da{[Vr](){let t;if(this[_a]&&this[Wr]==="r+")try{t=at.openSync(this[gr],this[Wr],this[ba])}catch(r){if(r.code==="ENOENT")return this[Wr]="w",this[Vr]();throw r}else t=at.openSync(this[gr],this[Wr],this[ba]);this[Ti](null,t)}[Bt](){if(this[Ri]&&typeof this[ae]=="number"){let t=this[ae];this[ae]=null,at.closeSync(t),this.emit("close")}}[Ea](t){let r=!0;try{this[Ai](null,at.writeSync(this[ae],t,0,t.length,this[Dn])),r=!1}finally{if(r)try{this[Bt]()}catch{}}}};Ls.ReadStream=va;Ls.ReadStreamSync=z0;Ls.WriteStream=Da;Ls.WriteStreamSync=K0});var Ra=m((fj,O2)=>{"use strict";var Y6=ta(),z6=vi(),K6=require("events"),X6=k0(),J6=1024*1024,Z6=Zu(),S2=ea(),Q6=l0(),{nextTick:eL}=require("process"),X0=Buffer.from([31,139]),St=Symbol("state"),xn=Symbol("writeEntry"),yr=Symbol("readEntry"),J0=Symbol("nextEntry"),A2=Symbol("processEntry"),At=Symbol("extendedHeader"),Ns=Symbol("globalExtendedHeader"),Yr=Symbol("meta"),w2=Symbol("emitMeta"),de=Symbol("buffer"),Er=Symbol("queue"),Sn=Symbol("ended"),C2=Symbol("emittedEnd"),An=Symbol("emit"),ct=Symbol("unzip"),xa=Symbol("consumeChunk"),Sa=Symbol("consumeChunkSub"),Z0=Symbol("consumeBody"),F2=Symbol("consumeMeta"),R2=Symbol("consumeHeader"),Aa=Symbol("consuming"),Q0=Symbol("bufferConcat"),ep=Symbol("maybeEnd"),Ms=Symbol("writing"),zr=Symbol("aborted"),wa=Symbol("onDone"),wn=Symbol("sawValidEntry"),Ca=Symbol("sawNullBlock"),Fa=Symbol("sawEOF"),T2=Symbol("closeStream"),tL=e=>!0;O2.exports=Y6(class extends K6{constructor(t){t=t||{},super(t),this.file=t.file||"",this[wn]=null,this.on(wa,r=>{(this[St]==="begin"||this[wn]===!1)&&this.warn("TAR_BAD_ARCHIVE","Unrecognized archive format")}),t.ondone?this.on(wa,t.ondone):this.on(wa,r=>{this.emit("prefinish"),this.emit("finish"),this.emit("end")}),this.strict=!!t.strict,this.maxMetaEntrySize=t.maxMetaEntrySize||J6,this.filter=typeof t.filter=="function"?t.filter:tL,this.writable=!0,this.readable=!1,this[Er]=new X6,this[de]=null,this[yr]=null,this[xn]=null,this[St]="begin",this[Yr]="",this[At]=null,this[Ns]=null,this[Sn]=!1,this[ct]=null,this[zr]=!1,this[Ca]=!1,this[Fa]=!1,this.on("end",()=>this[T2]()),typeof t.onwarn=="function"&&this.on("warn",t.onwarn),typeof t.onentry=="function"&&this.on("entry",t.onentry)}[R2](t,r){this[wn]===null&&(this[wn]=!1);let n;try{n=new z6(t,r,this[At],this[Ns])}catch(i){return this.warn("TAR_ENTRY_INVALID",i)}if(n.nullBlock)this[Ca]?(this[Fa]=!0,this[St]==="begin"&&(this[St]="header"),this[An]("eof")):(this[Ca]=!0,this[An]("nullBlock"));else if(this[Ca]=!1,!n.cksumValid)this.warn("TAR_ENTRY_INVALID","checksum failure",{header:n});else if(!n.path)this.warn("TAR_ENTRY_INVALID","path is required",{header:n});else{let i=n.type;if(/^(Symbolic)?Link$/.test(i)&&!n.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath required",{header:n});else if(!/^(Symbolic)?Link$/.test(i)&&n.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath forbidden",{header:n});else{let s=this[xn]=new Z6(n,this[At],this[Ns]);if(!this[wn])if(s.remain){let o=()=>{s.invalid||(this[wn]=!0)};s.on("end",o)}else this[wn]=!0;s.meta?s.size>this.maxMetaEntrySize?(s.ignore=!0,this[An]("ignoredEntry",s),this[St]="ignore",s.resume()):s.size>0&&(this[Yr]="",s.on("data",o=>this[Yr]+=o),this[St]="meta"):(this[At]=null,s.ignore=s.ignore||!this.filter(s.path,s),s.ignore?(this[An]("ignoredEntry",s),this[St]=s.remain?"ignore":"header",s.resume()):(s.remain?this[St]="body":(this[St]="header",s.end()),this[yr]?this[Er].push(s):(this[Er].push(s),this[J0]())))}}}[T2](){eL(()=>this.emit("close"))}[A2](t){let r=!0;return t?Array.isArray(t)?this.emit.apply(this,t):(this[yr]=t,this.emit("entry",t),t.emittedEnd||(t.on("end",n=>this[J0]()),r=!1)):(this[yr]=null,r=!1),r}[J0](){do;while(this[A2](this[Er].shift()));if(!this[Er].length){let t=this[yr];!t||t.flowing||t.size===t.remain?this[Ms]||this.emit("drain"):t.once("drain",n=>this.emit("drain"))}}[Z0](t,r){let n=this[xn],i=n.blockRemain,s=i>=t.length&&r===0?t:t.slice(r,r+i);return n.write(s),n.blockRemain||(this[St]="header",this[xn]=null,n.end()),s.length}[F2](t,r){let n=this[xn],i=this[Z0](t,r);return this[xn]||this[w2](n),i}[An](t,r,n){!this[Er].length&&!this[yr]?this.emit(t,r,n):this[Er].push([t,r,n])}[w2](t){switch(this[An]("meta",this[Yr]),t.type){case"ExtendedHeader":case"OldExtendedHeader":this[At]=S2.parse(this[Yr],this[At],!1);break;case"GlobalExtendedHeader":this[Ns]=S2.parse(this[Yr],this[Ns],!0);break;case"NextFileHasLongPath":case"OldGnuLongPath":this[At]=this[At]||Object.create(null),this[At].path=this[Yr].replace(/\0.*/,"");break;case"NextFileHasLongLinkpath":this[At]=this[At]||Object.create(null),this[At].linkpath=this[Yr].replace(/\0.*/,"");break;default:throw new Error("unknown meta: "+t.type)}}abort(t){this[zr]=!0,this.emit("abort",t),this.warn("TAR_ABORT",t,{recoverable:!1})}write(t){if(this[zr])return;if(this[ct]===null&&t){if(this[de]&&(t=Buffer.concat([this[de],t]),this[de]=null),t.length<X0.length)return this[de]=t,!0;for(let n=0;this[ct]===null&&n<X0.length;n++)t[n]!==X0[n]&&(this[ct]=!1);if(this[ct]===null){let n=this[Sn];this[Sn]=!1,this[ct]=new Q6.Unzip,this[ct].on("data",s=>this[xa](s)),this[ct].on("error",s=>this.abort(s)),this[ct].on("end",s=>{this[Sn]=!0,this[xa]()}),this[Ms]=!0;let i=this[ct][n?"end":"write"](t);return this[Ms]=!1,i}}this[Ms]=!0,this[ct]?this[ct].write(t):this[xa](t),this[Ms]=!1;let r=this[Er].length?!1:this[yr]?this[yr].flowing:!0;return!r&&!this[Er].length&&this[yr].once("drain",n=>this.emit("drain")),r}[Q0](t){t&&!this[zr]&&(this[de]=this[de]?Buffer.concat([this[de],t]):t)}[ep](){if(this[Sn]&&!this[C2]&&!this[zr]&&!this[Aa]){this[C2]=!0;let t=this[xn];if(t&&t.blockRemain){let r=this[de]?this[de].length:0;this.warn("TAR_BAD_ARCHIVE",`Truncated input (needed ${t.blockRemain} more bytes, only ${r} available)`,{entry:t}),this[de]&&t.write(this[de]),t.end()}this[An](wa)}}[xa](t){if(this[Aa])this[Q0](t);else if(!t&&!this[de])this[ep]();else{if(this[Aa]=!0,this[de]){this[Q0](t);let r=this[de];this[de]=null,this[Sa](r)}else this[Sa](t);for(;this[de]&&this[de].length>=512&&!this[zr]&&!this[Fa];){let r=this[de];this[de]=null,this[Sa](r)}this[Aa]=!1}(!this[de]||this[Sn])&&this[ep]()}[Sa](t){let r=0,n=t.length;for(;r+512<=n&&!this[zr]&&!this[Fa];)switch(this[St]){case"begin":case"header":this[R2](t,r),r+=512;break;case"ignore":case"body":r+=this[Z0](t,r);break;case"meta":r+=this[F2](t,r);break;default:throw new Error("invalid state: "+this[St])}r<n&&(this[de]?this[de]=Buffer.concat([t.slice(r),this[de]]):this[de]=t.slice(r))}end(t){this[zr]||(this[ct]?this[ct].end(t):(this[Sn]=!0,this.write(t)))}})});var Ta=m((hj,I2)=>{"use strict";var rL=di(),P2=Ra(),ki=require("fs"),nL=Oi(),k2=require("path"),tp=Di();I2.exports=(e,t,r)=>{typeof e=="function"?(r=e,t=null,e={}):Array.isArray(e)&&(t=e,e={}),typeof t=="function"&&(r=t,t=null),t?t=Array.from(t):t=[];let n=rL(e);if(n.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!n.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return t.length&&sL(n,t),n.noResume||iL(n),n.file&&n.sync?oL(n):n.file?uL(n,r):B2(n)};var iL=e=>{let t=e.onentry;e.onentry=t?r=>{t(r),r.resume()}:r=>r.resume()},sL=(e,t)=>{let r=new Map(t.map(s=>[tp(s),!0])),n=e.filter,i=(s,o)=>{let u=o||k2.parse(s).root||".",a=s===u?!1:r.has(s)?r.get(s):i(k2.dirname(s),u);return r.set(s,a),a};e.filter=n?(s,o)=>n(s,o)&&i(tp(s)):s=>i(tp(s))},oL=e=>{let t=B2(e),r=e.file,n=!0,i;try{let s=ki.statSync(r),o=e.maxReadSize||16*1024*1024;if(s.size<o)t.end(ki.readFileSync(r));else{let u=0,a=Buffer.allocUnsafe(o);for(i=ki.openSync(r,"r");u<s.size;){let c=ki.readSync(i,a,0,o,u);u+=c,t.write(a.slice(0,c))}t.end()}n=!1}finally{if(n&&i)try{ki.closeSync(i)}catch{}}},uL=(e,t)=>{let r=new P2(e),n=e.maxReadSize||16*1024*1024,i=e.file,s=new Promise((o,u)=>{r.on("error",u),r.on("end",o),ki.stat(i,(a,c)=>{if(a)u(a);else{let l=new nL.ReadStream(i,{readSize:n,size:c.size});l.on("error",u),l.pipe(r)}})});return t?s.then(t,t):s},B2=e=>new P2(e)});var H2=m((pj,j2)=>{"use strict";var aL=di(),Oa=ma(),L2=Oi(),N2=Ta(),M2=require("path");j2.exports=(e,t,r)=>{if(typeof t=="function"&&(r=t),Array.isArray(e)&&(t=e,e={}),!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");t=Array.from(t);let n=aL(e);if(n.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!n.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return n.file&&n.sync?cL(n,t):n.file?lL(n,t,r):n.sync?fL(n,t):hL(n,t)};var cL=(e,t)=>{let r=new Oa.Sync(e),n=new L2.WriteStreamSync(e.file,{mode:e.mode||438});r.pipe(n),q2(r,t)},lL=(e,t,r)=>{let n=new Oa(e),i=new L2.WriteStream(e.file,{mode:e.mode||438});n.pipe(i);let s=new Promise((o,u)=>{i.on("error",u),i.on("close",o),n.on("error",u)});return rp(n,t),r?s.then(r,r):s},q2=(e,t)=>{t.forEach(r=>{r.charAt(0)==="@"?N2({file:M2.resolve(e.cwd,r.slice(1)),sync:!0,noResume:!0,onentry:n=>e.add(n)}):e.add(r)}),e.end()},rp=(e,t)=>{for(;t.length;){let r=t.shift();if(r.charAt(0)==="@")return N2({file:M2.resolve(e.cwd,r.slice(1)),noResume:!0,onentry:n=>e.add(n)}).then(n=>rp(e,t));e.add(r)}e.end()},fL=(e,t)=>{let r=new Oa.Sync(e);return q2(r,t),r},hL=(e,t)=>{let r=new Oa(e);return rp(r,t),r}});var np=m((dj,z2)=>{"use strict";var pL=di(),$2=ma(),gt=require("fs"),U2=Oi(),G2=Ta(),W2=require("path"),V2=vi();z2.exports=(e,t,r)=>{let n=pL(e);if(!n.file)throw new TypeError("file is required");if(n.gzip)throw new TypeError("cannot append to compressed archives");if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");return t=Array.from(t),n.sync?dL(n,t):gL(n,t,r)};var dL=(e,t)=>{let r=new $2.Sync(e),n=!0,i,s;try{try{i=gt.openSync(e.file,"r+")}catch(a){if(a.code==="ENOENT")i=gt.openSync(e.file,"w+");else throw a}let o=gt.fstatSync(i),u=Buffer.alloc(512);e:for(s=0;s<o.size;s+=512){for(let l=0,f=0;l<512;l+=f){if(f=gt.readSync(i,u,l,u.length-l,s+l),s===0&&u[0]===31&&u[1]===139)throw new Error("cannot append to compressed archives");if(!f)break e}let a=new V2(u);if(!a.cksumValid)break;let c=512*Math.ceil(a.size/512);if(s+c+512>o.size)break;s+=c,e.mtimeCache&&e.mtimeCache.set(a.path,a.mtime)}n=!1,mL(e,r,s,i,t)}finally{if(n)try{gt.closeSync(i)}catch{}}},mL=(e,t,r,n,i)=>{let s=new U2.WriteStreamSync(e.file,{fd:n,start:r});t.pipe(s),yL(t,i)},gL=(e,t,r)=>{t=Array.from(t);let n=new $2(e),i=(o,u,a)=>{let c=(_,g)=>{_?gt.close(o,x=>a(_)):a(null,g)},l=0;if(u===0)return c(null,0);let f=0,h=Buffer.alloc(512),E=(_,g)=>{if(_)return c(_);if(f+=g,f<512&&g)return gt.read(o,h,f,h.length-f,l+f,E);if(l===0&&h[0]===31&&h[1]===139)return c(new Error("cannot append to compressed archives"));if(f<512)return c(null,l);let x=new V2(h);if(!x.cksumValid)return c(null,l);let v=512*Math.ceil(x.size/512);if(l+v+512>u||(l+=v+512,l>=u))return c(null,l);e.mtimeCache&&e.mtimeCache.set(x.path,x.mtime),f=0,gt.read(o,h,0,512,l,E)};gt.read(o,h,0,512,l,E)},s=new Promise((o,u)=>{n.on("error",u);let a="r+",c=(l,f)=>{if(l&&l.code==="ENOENT"&&a==="r+")return a="w+",gt.open(e.file,a,c);if(l)return u(l);gt.fstat(f,(h,E)=>{if(h)return gt.close(f,()=>u(h));i(f,E.size,(_,g)=>{if(_)return u(_);let x=new U2.WriteStream(e.file,{fd:f,start:g});n.pipe(x),x.on("error",u),x.on("close",o),Y2(n,t)})})};gt.open(e.file,a,c)});return r?s.then(r,r):s},yL=(e,t)=>{t.forEach(r=>{r.charAt(0)==="@"?G2({file:W2.resolve(e.cwd,r.slice(1)),sync:!0,noResume:!0,onentry:n=>e.add(n)}):e.add(r)}),e.end()},Y2=(e,t)=>{for(;t.length;){let r=t.shift();if(r.charAt(0)==="@")return G2({file:W2.resolve(e.cwd,r.slice(1)),noResume:!0,onentry:n=>e.add(n)}).then(n=>Y2(e,t));e.add(r)}e.end()}});var X2=m((mj,K2)=>{"use strict";var EL=di(),_L=np();K2.exports=(e,t,r)=>{let n=EL(e);if(!n.file)throw new TypeError("file is required");if(n.gzip)throw new TypeError("cannot append to compressed archives");if(!t||!Array.isArray(t)||!t.length)throw new TypeError("no files or directories specified");return t=Array.from(t),bL(n),_L(n,t,r)};var bL=e=>{let t=e.filter;e.mtimeCache||(e.mtimeCache=new Map),e.filter=t?(r,n)=>t(r,n)&&!(e.mtimeCache.get(r)>n.mtime):(r,n)=>!(e.mtimeCache.get(r)>n.mtime)}});var Q2=m((gj,Z2)=>{var{promisify:J2}=require("util"),Kr=require("fs"),vL=e=>{if(!e)e={mode:511,fs:Kr};else if(typeof e=="object")e={mode:511,fs:Kr,...e};else if(typeof e=="number")e={mode:e,fs:Kr};else if(typeof e=="string")e={mode:parseInt(e,8),fs:Kr};else throw new TypeError("invalid options argument");return e.mkdir=e.mkdir||e.fs.mkdir||Kr.mkdir,e.mkdirAsync=J2(e.mkdir),e.stat=e.stat||e.fs.stat||Kr.stat,e.statAsync=J2(e.stat),e.statSync=e.statSync||e.fs.statSync||Kr.statSync,e.mkdirSync=e.mkdirSync||e.fs.mkdirSync||Kr.mkdirSync,e};Z2.exports=vL});var tS=m((yj,eS)=>{var DL=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve:xL,parse:SL}=require("path"),AL=e=>{if(/\0/.test(e))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"});if(e=xL(e),DL==="win32"){let t=/[*|"<>?:]/,{root:r}=SL(e);if(t.test(e.substr(r.length)))throw Object.assign(new Error("Illegal characters in path."),{path:e,code:"EINVAL"})}return e};eS.exports=AL});var oS=m((Ej,sS)=>{var{dirname:rS}=require("path"),nS=(e,t,r=void 0)=>r===t?Promise.resolve():e.statAsync(t).then(n=>n.isDirectory()?r:void 0,n=>n.code==="ENOENT"?nS(e,rS(t),t):void 0),iS=(e,t,r=void 0)=>{if(r!==t)try{return e.statSync(t).isDirectory()?r:void 0}catch(n){return n.code==="ENOENT"?iS(e,rS(t),t):void 0}};sS.exports={findMade:nS,findMadeSync:iS}});var op=m((_j,aS)=>{var{dirname:uS}=require("path"),ip=(e,t,r)=>{t.recursive=!1;let n=uS(e);return n===e?t.mkdirAsync(e,t).catch(i=>{if(i.code!=="EISDIR")throw i}):t.mkdirAsync(e,t).then(()=>r||e,i=>{if(i.code==="ENOENT")return ip(n,t).then(s=>ip(e,t,s));if(i.code!=="EEXIST"&&i.code!=="EROFS")throw i;return t.statAsync(e).then(s=>{if(s.isDirectory())return r;throw i},()=>{throw i})})},sp=(e,t,r)=>{let n=uS(e);if(t.recursive=!1,n===e)try{return t.mkdirSync(e,t)}catch(i){if(i.code!=="EISDIR")throw i;return}try{return t.mkdirSync(e,t),r||e}catch(i){if(i.code==="ENOENT")return sp(e,t,sp(n,t,r));if(i.code!=="EEXIST"&&i.code!=="EROFS")throw i;try{if(!t.statSync(e).isDirectory())throw i}catch{throw i}}};aS.exports={mkdirpManual:ip,mkdirpManualSync:sp}});var fS=m((bj,lS)=>{var{dirname:cS}=require("path"),{findMade:wL,findMadeSync:CL}=oS(),{mkdirpManual:FL,mkdirpManualSync:RL}=op(),TL=(e,t)=>(t.recursive=!0,cS(e)===e?t.mkdirAsync(e,t):wL(t,e).then(n=>t.mkdirAsync(e,t).then(()=>n).catch(i=>{if(i.code==="ENOENT")return FL(e,t);throw i}))),OL=(e,t)=>{if(t.recursive=!0,cS(e)===e)return t.mkdirSync(e,t);let n=CL(t,e);try{return t.mkdirSync(e,t),n}catch(i){if(i.code==="ENOENT")return RL(e,t);throw i}};lS.exports={mkdirpNative:TL,mkdirpNativeSync:OL}});var mS=m((vj,dS)=>{var hS=require("fs"),kL=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,up=kL.replace(/^v/,"").split("."),pS=+up[0]>10||+up[0]==10&&+up[1]>=12,PL=pS?e=>e.mkdir===hS.mkdir:()=>!1,BL=pS?e=>e.mkdirSync===hS.mkdirSync:()=>!1;dS.exports={useNative:PL,useNativeSync:BL}});var vS=m((Dj,bS)=>{var Pi=Q2(),Bi=tS(),{mkdirpNative:gS,mkdirpNativeSync:yS}=fS(),{mkdirpManual:ES,mkdirpManualSync:_S}=op(),{useNative:IL,useNativeSync:LL}=mS(),Ii=(e,t)=>(e=Bi(e),t=Pi(t),IL(t)?gS(e,t):ES(e,t)),NL=(e,t)=>(e=Bi(e),t=Pi(t),LL(t)?yS(e,t):_S(e,t));Ii.sync=NL;Ii.native=(e,t)=>gS(Bi(e),Pi(t));Ii.manual=(e,t)=>ES(Bi(e),Pi(t));Ii.nativeSync=(e,t)=>yS(Bi(e),Pi(t));Ii.manualSync=(e,t)=>_S(Bi(e),Pi(t));bS.exports=Ii});var FS=m((xj,CS)=>{"use strict";var wt=require("fs"),Cn=require("path"),ML=wt.lchown?"lchown":"chown",qL=wt.lchownSync?"lchownSync":"chownSync",xS=wt.lchown&&!process.version.match(/v1[1-9]+\./)&&!process.version.match(/v10\.[6-9]/),DS=(e,t,r)=>{try{return wt[qL](e,t,r)}catch(n){if(n.code!=="ENOENT")throw n}},jL=(e,t,r)=>{try{return wt.chownSync(e,t,r)}catch(n){if(n.code!=="ENOENT")throw n}},HL=xS?(e,t,r,n)=>i=>{!i||i.code!=="EISDIR"?n(i):wt.chown(e,t,r,n)}:(e,t,r,n)=>n,ap=xS?(e,t,r)=>{try{return DS(e,t,r)}catch(n){if(n.code!=="EISDIR")throw n;jL(e,t,r)}}:(e,t,r)=>DS(e,t,r),$L=process.version,SS=(e,t,r)=>wt.readdir(e,t,r),UL=(e,t)=>wt.readdirSync(e,t);/^v4\./.test($L)&&(SS=(e,t,r)=>wt.readdir(e,r));var ka=(e,t,r,n)=>{wt[ML](e,t,r,HL(e,t,r,i=>{n(i&&i.code!=="ENOENT"?i:null)}))},AS=(e,t,r,n,i)=>{if(typeof t=="string")return wt.lstat(Cn.resolve(e,t),(s,o)=>{if(s)return i(s.code!=="ENOENT"?s:null);o.name=t,AS(e,o,r,n,i)});if(t.isDirectory())cp(Cn.resolve(e,t.name),r,n,s=>{if(s)return i(s);let o=Cn.resolve(e,t.name);ka(o,r,n,i)});else{let s=Cn.resolve(e,t.name);ka(s,r,n,i)}},cp=(e,t,r,n)=>{SS(e,{withFileTypes:!0},(i,s)=>{if(i){if(i.code==="ENOENT")return n();if(i.code!=="ENOTDIR"&&i.code!=="ENOTSUP")return n(i)}if(i||!s.length)return ka(e,t,r,n);let o=s.length,u=null,a=c=>{if(!u){if(c)return n(u=c);if(--o===0)return ka(e,t,r,n)}};s.forEach(c=>AS(e,c,t,r,a))})},GL=(e,t,r,n)=>{if(typeof t=="string")try{let i=wt.lstatSync(Cn.resolve(e,t));i.name=t,t=i}catch(i){if(i.code==="ENOENT")return;throw i}t.isDirectory()&&wS(Cn.resolve(e,t.name),r,n),ap(Cn.resolve(e,t.name),r,n)},wS=(e,t,r)=>{let n;try{n=UL(e,{withFileTypes:!0})}catch(i){if(i.code==="ENOENT")return;if(i.code==="ENOTDIR"||i.code==="ENOTSUP")return ap(e,t,r);throw i}return n&&n.length&&n.forEach(i=>GL(e,i,t,r)),ap(e,t,r)};CS.exports=cp;cp.sync=wS});var kS=m((Sj,lp)=>{"use strict";var RS=vS(),Ct=require("fs"),Pa=require("path"),TS=FS(),It=_i(),Ba=class extends Error{constructor(t,r){super("Cannot extract through symbolic link"),this.path=r,this.symlink=t}get name(){return"SylinkError"}},Ia=class extends Error{constructor(t,r){super(r+": Cannot cd into '"+t+"'"),this.path=t,this.code=r}get name(){return"CwdError"}},La=(e,t)=>e.get(It(t)),qs=(e,t,r)=>e.set(It(t),r),WL=(e,t)=>{Ct.stat(e,(r,n)=>{(r||!n.isDirectory())&&(r=new Ia(e,r&&r.code||"ENOTDIR")),t(r)})};lp.exports=(e,t,r)=>{e=It(e);let n=t.umask,i=t.mode|448,s=(i&n)!==0,o=t.uid,u=t.gid,a=typeof o=="number"&&typeof u=="number"&&(o!==t.processUid||u!==t.processGid),c=t.preserve,l=t.unlink,f=t.cache,h=It(t.cwd),E=(x,v)=>{x?r(x):(qs(f,e,!0),v&&a?TS(v,o,u,D=>E(D)):s?Ct.chmod(e,i,r):r())};if(f&&La(f,e)===!0)return E();if(e===h)return WL(e,E);if(c)return RS(e,{mode:i}).then(x=>E(null,x),E);let g=It(Pa.relative(h,e)).split("/");Na(h,g,i,f,l,h,null,E)};var Na=(e,t,r,n,i,s,o,u)=>{if(!t.length)return u(null,o);let a=t.shift(),c=It(Pa.resolve(e+"/"+a));if(La(n,c))return Na(c,t,r,n,i,s,o,u);Ct.mkdir(c,r,OS(c,t,r,n,i,s,o,u))},OS=(e,t,r,n,i,s,o,u)=>a=>{a?Ct.lstat(e,(c,l)=>{if(c)c.path=c.path&&It(c.path),u(c);else if(l.isDirectory())Na(e,t,r,n,i,s,o,u);else if(i)Ct.unlink(e,f=>{if(f)return u(f);Ct.mkdir(e,r,OS(e,t,r,n,i,s,o,u))});else{if(l.isSymbolicLink())return u(new Ba(e,e+"/"+t.join("/")));u(a)}}):(o=o||e,Na(e,t,r,n,i,s,o,u))},VL=e=>{let t=!1,r="ENOTDIR";try{t=Ct.statSync(e).isDirectory()}catch(n){r=n.code}finally{if(!t)throw new Ia(e,r)}};lp.exports.sync=(e,t)=>{e=It(e);let r=t.umask,n=t.mode|448,i=(n&r)!==0,s=t.uid,o=t.gid,u=typeof s=="number"&&typeof o=="number"&&(s!==t.processUid||o!==t.processGid),a=t.preserve,c=t.unlink,l=t.cache,f=It(t.cwd),h=x=>{qs(l,e,!0),x&&u&&TS.sync(x,s,o),i&&Ct.chmodSync(e,n)};if(l&&La(l,e)===!0)return h();if(e===f)return VL(f),h();if(a)return h(RS.sync(e,n));let _=It(Pa.relative(f,e)).split("/"),g=null;for(let x=_.shift(),v=f;x&&(v+="/"+x);x=_.shift())if(v=It(Pa.resolve(v)),!La(l,v))try{Ct.mkdirSync(v,n),g=g||v,qs(l,v,!0)}catch{let O=Ct.lstatSync(v);if(O.isDirectory()){qs(l,v,!0);continue}else if(c){Ct.unlinkSync(v),Ct.mkdirSync(v,n),g=g||v,qs(l,v,!0);continue}else if(O.isSymbolicLink())return new Ba(v,v+"/"+_.join("/"))}return h(g)}});var hp=m((Aj,PS)=>{var fp=Object.create(null),{hasOwnProperty:YL}=Object.prototype;PS.exports=e=>(YL.call(fp,e)||(fp[e]=e.normalize("NFKD")),fp[e])});var NS=m((wj,LS)=>{var BS=require("assert"),zL=hp(),KL=Di(),{join:IS}=require("path"),XL=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,JL=XL==="win32";LS.exports=()=>{let e=new Map,t=new Map,r=c=>c.split("/").slice(0,-1).reduce((f,h)=>(f.length&&(h=IS(f[f.length-1],h)),f.push(h||"/"),f),[]),n=new Set,i=c=>{let l=t.get(c);if(!l)throw new Error("function does not have any path reservations");return{paths:l.paths.map(f=>e.get(f)),dirs:[...l.dirs].map(f=>e.get(f))}},s=c=>{let{paths:l,dirs:f}=i(c);return l.every(h=>h[0]===c)&&f.every(h=>h[0]instanceof Set&&h[0].has(c))},o=c=>n.has(c)||!s(c)?!1:(n.add(c),c(()=>u(c)),!0),u=c=>{if(!n.has(c))return!1;let{paths:l,dirs:f}=t.get(c),h=new Set;return l.forEach(E=>{let _=e.get(E);BS.equal(_[0],c),_.length===1?e.delete(E):(_.shift(),typeof _[0]=="function"?h.add(_[0]):_[0].forEach(g=>h.add(g)))}),f.forEach(E=>{let _=e.get(E);BS(_[0]instanceof Set),_[0].size===1&&_.length===1?e.delete(E):_[0].size===1?(_.shift(),h.add(_[0])):_[0].delete(c)}),n.delete(c),h.forEach(E=>o(E)),!0};return{check:s,reserve:(c,l)=>{c=JL?["win32 parallelization disabled"]:c.map(h=>zL(KL(IS(h))).toLowerCase());let f=new Set(c.map(h=>r(h)).reduce((h,E)=>h.concat(E)));return t.set(l,{dirs:f,paths:c}),c.forEach(h=>{let E=e.get(h);E?E.push(l):e.set(h,[l])}),f.forEach(h=>{let E=e.get(h);E?E[E.length-1]instanceof Set?E[E.length-1].add(l):E.push(new Set([l])):e.set(h,[new Set([l])])}),o(l)}}}});var jS=m((Cj,qS)=>{var ZL=process.env.__FAKE_PLATFORM__||process.platform,QL=ZL==="win32",eN=global.__FAKE_TESTING_FS__||require("fs"),{O_CREAT:tN,O_TRUNC:rN,O_WRONLY:nN,UV_FS_O_FILEMAP:MS=0}=eN.constants,iN=QL&&!!MS,sN=512*1024,oN=MS|rN|tN|nN;qS.exports=iN?e=>e<sN?oN:"w":()=>"w"});var vp=m((Fj,eA)=>{"use strict";var uN=require("assert"),aN=Ra(),ne=require("fs"),cN=Oi(),_r=require("path"),JS=kS(),HS=b0(),lN=NS(),fN=v0(),yt=_i(),hN=Di(),pN=hp(),$S=Symbol("onEntry"),mp=Symbol("checkFs"),US=Symbol("checkFs2"),ja=Symbol("pruneCache"),gp=Symbol("isReusable"),Ft=Symbol("makeFs"),yp=Symbol("file"),Ep=Symbol("directory"),Ha=Symbol("link"),GS=Symbol("symlink"),WS=Symbol("hardlink"),VS=Symbol("unsupported"),YS=Symbol("checkPath"),Xr=Symbol("mkdir"),Ke=Symbol("onError"),Ma=Symbol("pending"),zS=Symbol("pend"),Li=Symbol("unpend"),pp=Symbol("ended"),dp=Symbol("maybeClose"),_p=Symbol("skip"),js=Symbol("doChown"),Hs=Symbol("uid"),$s=Symbol("gid"),Us=Symbol("checkedCwd"),ZS=require("crypto"),QS=jS(),dN=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,Gs=dN==="win32",mN=(e,t)=>{if(!Gs)return ne.unlink(e,t);let r=e+".DELETE."+ZS.randomBytes(16).toString("hex");ne.rename(e,r,n=>{if(n)return t(n);ne.unlink(r,t)})},gN=e=>{if(!Gs)return ne.unlinkSync(e);let t=e+".DELETE."+ZS.randomBytes(16).toString("hex");ne.renameSync(e,t),ne.unlinkSync(t)},KS=(e,t,r)=>e===e>>>0?e:t===t>>>0?t:r,XS=e=>pN(hN(yt(e))).toLowerCase(),yN=(e,t)=>{t=XS(t);for(let r of e.keys()){let n=XS(r);(n===t||n.indexOf(t+"/")===0)&&e.delete(r)}},EN=e=>{for(let t of e.keys())e.delete(t)},Ws=class extends aN{constructor(t){if(t||(t={}),t.ondone=r=>{this[pp]=!0,this[dp]()},super(t),this[Us]=!1,this.reservations=lN(),this.transform=typeof t.transform=="function"?t.transform:null,this.writable=!0,this.readable=!1,this[Ma]=0,this[pp]=!1,this.dirCache=t.dirCache||new Map,typeof t.uid=="number"||typeof t.gid=="number"){if(typeof t.uid!="number"||typeof t.gid!="number")throw new TypeError("cannot set owner without number uid and gid");if(t.preserveOwner)throw new TypeError("cannot preserve owner in archive and also set owner explicitly");this.uid=t.uid,this.gid=t.gid,this.setOwner=!0}else this.uid=null,this.gid=null,this.setOwner=!1;t.preserveOwner===void 0&&typeof t.uid!="number"?this.preserveOwner=process.getuid&&process.getuid()===0:this.preserveOwner=!!t.preserveOwner,this.processUid=(this.preserveOwner||this.setOwner)&&process.getuid?process.getuid():null,this.processGid=(this.preserveOwner||this.setOwner)&&process.getgid?process.getgid():null,this.forceChown=t.forceChown===!0,this.win32=!!t.win32||Gs,this.newer=!!t.newer,this.keep=!!t.keep,this.noMtime=!!t.noMtime,this.preservePaths=!!t.preservePaths,this.unlink=!!t.unlink,this.cwd=yt(_r.resolve(t.cwd||process.cwd())),this.strip=+t.strip||0,this.processUmask=t.noChmod?0:process.umask(),this.umask=typeof t.umask=="number"?t.umask:this.processUmask,this.dmode=t.dmode||511&~this.umask,this.fmode=t.fmode||438&~this.umask,this.on("entry",r=>this[$S](r))}warn(t,r,n={}){return(t==="TAR_BAD_ARCHIVE"||t==="TAR_ABORT")&&(n.recoverable=!1),super.warn(t,r,n)}[dp](){this[pp]&&this[Ma]===0&&(this.emit("prefinish"),this.emit("finish"),this.emit("end"))}[YS](t){if(this.strip){let r=yt(t.path).split("/");if(r.length<this.strip)return!1;if(t.path=r.slice(this.strip).join("/"),t.type==="Link"){let n=yt(t.linkpath).split("/");if(n.length>=this.strip)t.linkpath=n.slice(this.strip).join("/");else return!1}}if(!this.preservePaths){let r=yt(t.path),n=r.split("/");if(n.includes("..")||Gs&&/^[a-z]:\.\.$/i.test(n[0]))return this.warn("TAR_ENTRY_ERROR","path contains '..'",{entry:t,path:r}),!1;let[i,s]=fN(r);i&&(t.path=s,this.warn("TAR_ENTRY_INFO",`stripping ${i} from absolute path`,{entry:t,path:r}))}if(_r.isAbsolute(t.path)?t.absolute=yt(_r.resolve(t.path)):t.absolute=yt(_r.resolve(this.cwd,t.path)),!this.preservePaths&&t.absolute.indexOf(this.cwd+"/")!==0&&t.absolute!==this.cwd)return this.warn("TAR_ENTRY_ERROR","path escaped extraction target",{entry:t,path:yt(t.path),resolvedPath:t.absolute,cwd:this.cwd}),!1;if(t.absolute===this.cwd&&t.type!=="Directory"&&t.type!=="GNUDumpDir")return!1;if(this.win32){let{root:r}=_r.win32.parse(t.absolute);t.absolute=r+HS.encode(t.absolute.slice(r.length));let{root:n}=_r.win32.parse(t.path);t.path=n+HS.encode(t.path.slice(n.length))}return!0}[$S](t){if(!this[YS](t))return t.resume();switch(uN.equal(typeof t.absolute,"string"),t.type){case"Directory":case"GNUDumpDir":t.mode&&(t.mode=t.mode|448);case"File":case"OldFile":case"ContiguousFile":case"Link":case"SymbolicLink":return this[mp](t);case"CharacterDevice":case"BlockDevice":case"FIFO":default:return this[VS](t)}}[Ke](t,r){t.name==="CwdError"?this.emit("error",t):(this.warn("TAR_ENTRY_ERROR",t,{entry:r}),this[Li](),r.resume())}[Xr](t,r,n){JS(yt(t),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:r,noChmod:this.noChmod},n)}[js](t){return this.forceChown||this.preserveOwner&&(typeof t.uid=="number"&&t.uid!==this.processUid||typeof t.gid=="number"&&t.gid!==this.processGid)||typeof this.uid=="number"&&this.uid!==this.processUid||typeof this.gid=="number"&&this.gid!==this.processGid}[Hs](t){return KS(this.uid,t.uid,this.processUid)}[$s](t){return KS(this.gid,t.gid,this.processGid)}[yp](t,r){let n=t.mode&4095||this.fmode,i=new cN.WriteStream(t.absolute,{flags:QS(t.size),mode:n,autoClose:!1});i.on("error",a=>{i.fd&&ne.close(i.fd,()=>{}),i.write=()=>!0,this[Ke](a,t),r()});let s=1,o=a=>{if(a){i.fd&&ne.close(i.fd,()=>{}),this[Ke](a,t),r();return}--s===0&&ne.close(i.fd,c=>{c?this[Ke](c,t):this[Li](),r()})};i.on("finish",a=>{let c=t.absolute,l=i.fd;if(t.mtime&&!this.noMtime){s++;let f=t.atime||new Date,h=t.mtime;ne.futimes(l,f,h,E=>E?ne.utimes(c,f,h,_=>o(_&&E)):o())}if(this[js](t)){s++;let f=this[Hs](t),h=this[$s](t);ne.fchown(l,f,h,E=>E?ne.chown(c,f,h,_=>o(_&&E)):o())}o()});let u=this.transform&&this.transform(t)||t;u!==t&&(u.on("error",a=>{this[Ke](a,t),r()}),t.pipe(u)),u.pipe(i)}[Ep](t,r){let n=t.mode&4095||this.dmode;this[Xr](t.absolute,n,i=>{if(i){this[Ke](i,t),r();return}let s=1,o=u=>{--s===0&&(r(),this[Li](),t.resume())};t.mtime&&!this.noMtime&&(s++,ne.utimes(t.absolute,t.atime||new Date,t.mtime,o)),this[js](t)&&(s++,ne.chown(t.absolute,this[Hs](t),this[$s](t),o)),o()})}[VS](t){t.unsupported=!0,this.warn("TAR_ENTRY_UNSUPPORTED",`unsupported entry type: ${t.type}`,{entry:t}),t.resume()}[GS](t,r){this[Ha](t,t.linkpath,"symlink",r)}[WS](t,r){let n=yt(_r.resolve(this.cwd,t.linkpath));this[Ha](t,n,"link",r)}[zS](){this[Ma]++}[Li](){this[Ma]--,this[dp]()}[_p](t){this[Li](),t.resume()}[gp](t,r){return t.type==="File"&&!this.unlink&&r.isFile()&&r.nlink<=1&&!Gs}[mp](t){this[zS]();let r=[t.path];t.linkpath&&r.push(t.linkpath),this.reservations.reserve(r,n=>this[US](t,n))}[ja](t){t.type==="SymbolicLink"?EN(this.dirCache):t.type!=="Directory"&&yN(this.dirCache,t.absolute)}[US](t,r){this[ja](t);let n=u=>{this[ja](t),r(u)},i=()=>{this[Xr](this.cwd,this.dmode,u=>{if(u){this[Ke](u,t),n();return}this[Us]=!0,s()})},s=()=>{if(t.absolute!==this.cwd){let u=yt(_r.dirname(t.absolute));if(u!==this.cwd)return this[Xr](u,this.dmode,a=>{if(a){this[Ke](a,t),n();return}o()})}o()},o=()=>{ne.lstat(t.absolute,(u,a)=>{if(a&&(this.keep||this.newer&&a.mtime>t.mtime)){this[_p](t),n();return}if(u||this[gp](t,a))return this[Ft](null,t,n);if(a.isDirectory()){if(t.type==="Directory"){let c=!this.noChmod&&t.mode&&(a.mode&4095)!==t.mode,l=f=>this[Ft](f,t,n);return c?ne.chmod(t.absolute,t.mode,l):l()}if(t.absolute!==this.cwd)return ne.rmdir(t.absolute,c=>this[Ft](c,t,n))}if(t.absolute===this.cwd)return this[Ft](null,t,n);mN(t.absolute,c=>this[Ft](c,t,n))})};this[Us]?s():i()}[Ft](t,r,n){if(t){this[Ke](t,r),n();return}switch(r.type){case"File":case"OldFile":case"ContiguousFile":return this[yp](r,n);case"Link":return this[WS](r,n);case"SymbolicLink":return this[GS](r,n);case"Directory":case"GNUDumpDir":return this[Ep](r,n)}}[Ha](t,r,n,i){ne[n](r,t.absolute,s=>{s?this[Ke](s,t):(this[Li](),t.resume()),i()})}},qa=e=>{try{return[null,e()]}catch(t){return[t,null]}},bp=class extends Ws{[Ft](t,r){return super[Ft](t,r,()=>{})}[mp](t){if(this[ja](t),!this[Us]){let s=this[Xr](this.cwd,this.dmode);if(s)return this[Ke](s,t);this[Us]=!0}if(t.absolute!==this.cwd){let s=yt(_r.dirname(t.absolute));if(s!==this.cwd){let o=this[Xr](s,this.dmode);if(o)return this[Ke](o,t)}}let[r,n]=qa(()=>ne.lstatSync(t.absolute));if(n&&(this.keep||this.newer&&n.mtime>t.mtime))return this[_p](t);if(r||this[gp](t,n))return this[Ft](null,t);if(n.isDirectory()){if(t.type==="Directory"){let o=!this.noChmod&&t.mode&&(n.mode&4095)!==t.mode,[u]=o?qa(()=>{ne.chmodSync(t.absolute,t.mode)}):[];return this[Ft](u,t)}let[s]=qa(()=>ne.rmdirSync(t.absolute));this[Ft](s,t)}let[i]=t.absolute===this.cwd?[]:qa(()=>gN(t.absolute));this[Ft](i,t)}[yp](t,r){let n=t.mode&4095||this.fmode,i=u=>{let a;try{ne.closeSync(s)}catch(c){a=c}(u||a)&&this[Ke](u||a,t),r()},s;try{s=ne.openSync(t.absolute,QS(t.size),n)}catch(u){return i(u)}let o=this.transform&&this.transform(t)||t;o!==t&&(o.on("error",u=>this[Ke](u,t)),t.pipe(o)),o.on("data",u=>{try{ne.writeSync(s,u,0,u.length)}catch(a){i(a)}}),o.on("end",u=>{let a=null;if(t.mtime&&!this.noMtime){let c=t.atime||new Date,l=t.mtime;try{ne.futimesSync(s,c,l)}catch(f){try{ne.utimesSync(t.absolute,c,l)}catch{a=f}}}if(this[js](t)){let c=this[Hs](t),l=this[$s](t);try{ne.fchownSync(s,c,l)}catch(f){try{ne.chownSync(t.absolute,c,l)}catch{a=a||f}}}i(a)})}[Ep](t,r){let n=t.mode&4095||this.dmode,i=this[Xr](t.absolute,n);if(i){this[Ke](i,t),r();return}if(t.mtime&&!this.noMtime)try{ne.utimesSync(t.absolute,t.atime||new Date,t.mtime)}catch{}if(this[js](t))try{ne.chownSync(t.absolute,this[Hs](t),this[$s](t))}catch{}r(),t.resume()}[Xr](t,r){try{return JS.sync(yt(t),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:r})}catch(n){return n}}[Ha](t,r,n,i){try{ne[n+"Sync"](r,t.absolute),i(),t.resume()}catch(s){return this[Ke](s,t)}}};Ws.Sync=bp;eA.exports=Ws});var sA=m((Rj,iA)=>{"use strict";var _N=di(),$a=vp(),rA=require("fs"),nA=Oi(),tA=require("path"),Dp=Di();iA.exports=(e,t,r)=>{typeof e=="function"?(r=e,t=null,e={}):Array.isArray(e)&&(t=e,e={}),typeof t=="function"&&(r=t,t=null),t?t=Array.from(t):t=[];let n=_N(e);if(n.sync&&typeof r=="function")throw new TypeError("callback not supported for sync tar functions");if(!n.file&&typeof r=="function")throw new TypeError("callback only supported with file option");return t.length&&bN(n,t),n.file&&n.sync?vN(n):n.file?DN(n,r):n.sync?xN(n):SN(n)};var bN=(e,t)=>{let r=new Map(t.map(s=>[Dp(s),!0])),n=e.filter,i=(s,o)=>{let u=o||tA.parse(s).root||".",a=s===u?!1:r.has(s)?r.get(s):i(tA.dirname(s),u);return r.set(s,a),a};e.filter=n?(s,o)=>n(s,o)&&i(Dp(s)):s=>i(Dp(s))},vN=e=>{let t=new $a.Sync(e),r=e.file,n=rA.statSync(r),i=e.maxReadSize||16*1024*1024;new nA.ReadStreamSync(r,{readSize:i,size:n.size}).pipe(t)},DN=(e,t)=>{let r=new $a(e),n=e.maxReadSize||16*1024*1024,i=e.file,s=new Promise((o,u)=>{r.on("error",u),r.on("close",o),rA.stat(i,(a,c)=>{if(a)u(a);else{let l=new nA.ReadStream(i,{readSize:n,size:c.size});l.on("error",u),l.pipe(r)}})});return t?s.then(t,t):s},xN=e=>new $a.Sync(e),SN=e=>new $a(e)});var oA=m(Te=>{"use strict";Te.c=Te.create=H2();Te.r=Te.replace=np();Te.t=Te.list=Ta();Te.u=Te.update=X2();Te.x=Te.extract=sA();Te.Pack=ma();Te.Unpack=vp();Te.Parse=Ra();Te.ReadEntry=Zu();Te.WriteEntry=O0();Te.Header=vi();Te.Pax=ea();Te.types=p0()});var fA=m((Bj,lA)=>{function Rt(e,t){typeof t=="boolean"&&(t={forever:t}),this._originalTimeouts=JSON.parse(JSON.stringify(e)),this._timeouts=e,this._options=t||{},this._maxRetryTime=t&&t.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}lA.exports=Rt;Rt.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Rt.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Rt.prototype.retry=function(e){if(this._timeout&&clearTimeout(this._timeout),!e)return!1;var t=new Date().getTime();if(e&&t-this._operationStart>=this._maxRetryTime)return this._errors.push(e),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(e);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};Rt.prototype.attempt=function(e,t){this._fn=e,t&&(t.timeout&&(this._operationTimeout=t.timeout),t.cb&&(this._operationTimeoutCb=t.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};Rt.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated"),this.attempt(e)};Rt.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated"),this.attempt(e)};Rt.prototype.start=Rt.prototype.try;Rt.prototype.errors=function(){return this._errors};Rt.prototype.attempts=function(){return this._attempts};Rt.prototype.mainError=function(){if(this._errors.length===0)return null;for(var e={},t=null,r=0,n=0;n<this._errors.length;n++){var i=this._errors[n],s=i.message,o=(e[s]||0)+1;e[s]=o,o>=r&&(t=i,r=o)}return t}});var hA=m(Fn=>{var FN=fA();Fn.operation=function(e){var t=Fn.timeouts(e);return new FN(t,{forever:e&&(e.forever||e.retries===1/0),unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};Fn.timeouts=function(e){if(e instanceof Array)return[].concat(e);var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in e)t[r]=e[r];if(t.minTimeout>t.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;i<t.retries;i++)n.push(this.createTimeout(i,t));return e&&e.forever&&!n.length&&n.push(this.createTimeout(i,t)),n.sort(function(s,o){return s-o}),n};Fn.createTimeout=function(e,t){var r=t.randomize?Math.random()+1:1,n=Math.round(r*Math.max(t.minTimeout,1)*Math.pow(t.factor,e));return n=Math.min(n,t.maxTimeout),n};Fn.wrap=function(e,t,r){if(t instanceof Array&&(r=t,t=null),!r){r=[];for(var n in e)typeof e[n]=="function"&&r.push(n)}for(var i=0;i<r.length;i++){var s=r[i],o=e[s];e[s]=function(a){var c=Fn.operation(t),l=Array.prototype.slice.call(arguments,1),f=l.pop();l.push(function(h){c.retry(h)||(h&&(arguments[0]=c.mainError()),f.apply(this,arguments))}),c.attempt(function(){a.apply(e,l)})}.bind(e,o),e[s].options=t}}});var dA=m((Lj,pA)=>{pA.exports=hA()});var gA=m((Nj,mA)=>{var RN=dA();function TN(e,t){function r(n,i){var s=t||{},o;"randomize"in s||(s.randomize=!0),o=RN.operation(s);function u(l){i(l||new Error("Aborted"))}function a(l,f){if(l.bail){u(l);return}o.retry(l)?s.onRetry&&s.onRetry(l,f):i(o.mainError())}function c(l){var f;try{f=e(u,l)}catch(h){a(h,l);return}Promise.resolve(f).then(n).catch(function(E){a(E,l)})}o.attempt(c)}return new Promise(r)}mA.exports=TN});var uM={};Op(uM,{configs:()=>sM,default:()=>oM,rules:()=>iM});module.exports=zA(uM);var Bp="eslint-plugin-turbo",Ip="2.6.3";var br={noUndeclaredEnvVars:"no-undeclared-env-vars"};var Vs=le(require("path")),Ni=le(require("fs")),Rp=le(require("crypto"));var pF=le(Hp());function za(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qi(e){return qi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qi(e)}function Ka(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xa(e,t){if(t&&(qi(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ka(e)}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function Qt(e,t){return Qt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Qt(e,t)}function Ja(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qt(e,t)}function Za(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Qa(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Rn(e,t,r){return Qa()?Rn=Reflect.construct.bind():Rn=function(i,s,o){var u=[null];u.push.apply(u,s);var a=Function.bind.apply(i,u),c=new a;return o&&Qt(c,o.prototype),c},Rn.apply(null,arguments)}function ji(e){var t=typeof Map=="function"?new Map:void 0;return ji=function(n){if(n===null||!Za(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return Rn(n,arguments,Qr(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Qt(i,n)},ji(e)}var Rc=le(id()),lo=le(require("path")),fo=le(Eg()),dF=function(e){Ja(t,e);function t(r){var n;return za(this,t),n=Xa(this,Qr(t).call(this,"No package.json could be found upwards from the directory ".concat(r))),n.directory=r,n}return t}(ji(Error));function mF(e,t){try{var r=fo.default.readJsonSync(lo.default.join(e,"package.json"));if(t.current===void 0&&(t.current=e),r.workspaces||r.bolt)return e}catch(n){if(n.code!=="ENOENT")throw n}}function gF(e){try{var t=fo.default.readJsonSync(lo.default.join(e,"lerna.json"));if(t.useWorkspaces!==!0)return e}catch(r){if(r.code!=="ENOENT")throw r}}function yF(e){var t=fo.default.existsSync(lo.default.join(e,"pnpm-workspace.yaml"));if(t)return e}function _g(e){var t={current:void 0},r=(0,Rc.sync)(function(n){return[gF(n),mF(n,t),yF(n)].find(function(i){return i})},{cwd:e,type:"directory"});if(t.current===void 0)throw new dF(e);return r===void 0?t.current:r}var EF=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,_F=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,bF=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,Tc={Space_Separator:EF,ID_Start:_F,ID_Continue:bF},De={isSpaceSeparator(e){return typeof e=="string"&&Tc.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||Tc.ID_Start.test(e))},isIdContinueChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="\u200C"||e==="\u200D"||Tc.ID_Continue.test(e))},isDigit(e){return typeof e=="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e=="string"&&/[0-9A-Fa-f]/.test(e)}},kc,Ze,tr,po,Sr,Ot,Oe,Ic,es,vF=function(t,r){kc=String(t),Ze="start",tr=[],po=0,Sr=1,Ot=0,Oe=void 0,Ic=void 0,es=void 0;do Oe=DF(),AF[Ze]();while(Oe.type!=="eof");return typeof r=="function"?Pc({"":es},"",r):es};function Pc(e,t,r){let n=e[t];if(n!=null&&typeof n=="object")if(Array.isArray(n))for(let i=0;i<n.length;i++){let s=String(i),o=Pc(n,s,r);o===void 0?delete n[s]:Object.defineProperty(n,s,{value:o,writable:!0,enumerable:!0,configurable:!0})}else for(let i in n){let s=Pc(n,i,r);s===void 0?delete n[i]:Object.defineProperty(n,i,{value:s,writable:!0,enumerable:!0,configurable:!0})}return r.call(e,t,n)}var Q,Z,Qi,er,ee;function DF(){for(Q="default",Z="",Qi=!1,er=1;;){ee=rr();let e=vg[Q]();if(e)return e}}function rr(){if(kc[po])return String.fromCodePoint(kc.codePointAt(po))}function F(){let e=rr();return e===`
31
31
  `?(Sr++,Ot=0):e?Ot+=e.length:Ot++,e&&(po+=e.length),e}var vg={default(){switch(ee){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
32
32
  `:case"\r":case"\u2028":case"\u2029":F();return;case"/":F(),Q="comment";return;case void 0:return F(),he("eof")}if(De.isSpaceSeparator(ee)){F();return}return vg[Ze]()},comment(){switch(ee){case"*":F(),Q="multiLineComment";return;case"/":F(),Q="singleLineComment";return}throw pe(F())},multiLineComment(){switch(ee){case"*":F(),Q="multiLineCommentAsterisk";return;case void 0:throw pe(F())}F()},multiLineCommentAsterisk(){switch(ee){case"*":F();return;case"/":F(),Q="default";return;case void 0:throw pe(F())}F(),Q="multiLineComment"},singleLineComment(){switch(ee){case`
33
33
  `:case"\r":case"\u2028":case"\u2029":F(),Q="default";return;case void 0:return F(),he("eof")}F()},value(){switch(ee){case"{":case"[":return he("punctuator",F());case"n":return F(),nn("ull"),he("null",null);case"t":return F(),nn("rue"),he("boolean",!0);case"f":return F(),nn("alse"),he("boolean",!1);case"-":case"+":F()==="-"&&(er=-1),Q="sign";return;case".":Z=F(),Q="decimalPointLeading";return;case"0":Z=F(),Q="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Z=F(),Q="decimalInteger";return;case"I":return F(),nn("nfinity"),he("numeric",1/0);case"N":return F(),nn("aN"),he("numeric",NaN);case'"':case"'":Qi=F()==='"',Z="",Q="string";return}throw pe(F())},identifierNameStartEscape(){if(ee!=="u")throw pe(F());F();let e=Bc();switch(e){case"$":case"_":break;default:if(!De.isIdStartChar(e))throw bg();break}Z+=e,Q="identifierName"},identifierName(){switch(ee){case"$":case"_":case"\u200C":case"\u200D":Z+=F();return;case"\\":F(),Q="identifierNameEscape";return}if(De.isIdContinueChar(ee)){Z+=F();return}return he("identifier",Z)},identifierNameEscape(){if(ee!=="u")throw pe(F());F();let e=Bc();switch(e){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!De.isIdContinueChar(e))throw bg();break}Z+=e,Q="identifierName"},sign(){switch(ee){case".":Z=F(),Q="decimalPointLeading";return;case"0":Z=F(),Q="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Z=F(),Q="decimalInteger";return;case"I":return F(),nn("nfinity"),he("numeric",er*(1/0));case"N":return F(),nn("aN"),he("numeric",NaN)}throw pe(F())},zero(){switch(ee){case".":Z+=F(),Q="decimalPoint";return;case"e":case"E":Z+=F(),Q="decimalExponent";return;case"x":case"X":Z+=F(),Q="hexadecimal";return}return he("numeric",er*0)},decimalInteger(){switch(ee){case".":Z+=F(),Q="decimalPoint";return;case"e":case"E":Z+=F(),Q="decimalExponent";return}if(De.isDigit(ee)){Z+=F();return}return he("numeric",er*Number(Z))},decimalPointLeading(){if(De.isDigit(ee)){Z+=F(),Q="decimalFraction";return}throw pe(F())},decimalPoint(){switch(ee){case"e":case"E":Z+=F(),Q="decimalExponent";return}if(De.isDigit(ee)){Z+=F(),Q="decimalFraction";return}return he("numeric",er*Number(Z))},decimalFraction(){switch(ee){case"e":case"E":Z+=F(),Q="decimalExponent";return}if(De.isDigit(ee)){Z+=F();return}return he("numeric",er*Number(Z))},decimalExponent(){switch(ee){case"+":case"-":Z+=F(),Q="decimalExponentSign";return}if(De.isDigit(ee)){Z+=F(),Q="decimalExponentInteger";return}throw pe(F())},decimalExponentSign(){if(De.isDigit(ee)){Z+=F(),Q="decimalExponentInteger";return}throw pe(F())},decimalExponentInteger(){if(De.isDigit(ee)){Z+=F();return}return he("numeric",er*Number(Z))},hexadecimal(){if(De.isHexDigit(ee)){Z+=F(),Q="hexadecimalInteger";return}throw pe(F())},hexadecimalInteger(){if(De.isHexDigit(ee)){Z+=F();return}return he("numeric",er*Number(Z))},string(){switch(ee){case"\\":F(),Z+=xF();return;case'"':if(Qi)return F(),he("string",Z);Z+=F();return;case"'":if(!Qi)return F(),he("string",Z);Z+=F();return;case`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-turbo",
3
- "version": "2.6.3-canary.0",
3
+ "version": "2.6.3",
4
4
  "description": "ESLint plugin for Turborepo",
5
5
  "keywords": [
6
6
  "turbo",
@@ -38,9 +38,9 @@
38
38
  "typescript": "5.5.4",
39
39
  "@turbo/eslint-config": "0.0.0",
40
40
  "@turbo/test-utils": "0.0.0",
41
- "@turbo/types": "2.6.3-canary.0",
42
- "@turbo/tsconfig": "0.0.0",
43
- "@turbo/utils": "0.0.0"
41
+ "@turbo/types": "2.6.3",
42
+ "@turbo/utils": "0.0.0",
43
+ "@turbo/tsconfig": "0.0.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "eslint": ">6.6.0",