@prisma/dev 0.0.0-dev.202512121158 → 0.0.0-dev.202512121236

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.
@@ -0,0 +1,82 @@
1
+ import{a as Ot}from"./chunk-KUHNXXCE.js";import{a as Ar}from"./chunk-GUJALUTC.js";import{f as At}from"./chunk-NLG6WPCX.js";import{a as br,c as wr,d as Er}from"./chunk-UZV6WD53.js";import{a as ae,b as Ee,c as Ki,d as ce}from"./chunk-RODR7QVK.js";var rt=Ee((Dd,kr)=>{"use strict";ce();var xt=Object.defineProperty,Xi=Object.getOwnPropertyDescriptor,Yi=Object.getOwnPropertyNames,zi=Object.prototype.hasOwnProperty,Qi=(e,t)=>{for(var r in t)xt(e,r,{get:t[r],enumerable:!0})},Zi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Yi(t))!zi.call(e,i)&&i!==r&&xt(e,i,{get:()=>t[i],enumerable:!(n=Xi(t,i))||n.enumerable});return e},es=e=>Zi(xt({},"__esModule",{value:!0}),e),Or={};Qi(Or,{underline:()=>rs,yellow:()=>ns});kr.exports=es(Or);var Pt,Pr,xr,Rr,Tr=!0;typeof process<"u"&&({FORCE_COLOR:Pt,NODE_DISABLE_COLORS:Pr,NO_COLOR:xr,TERM:Rr}=process.env||{},Tr=process.stdout&&process.stdout.isTTY);var ts={enabled:!Pr&&xr==null&&Rr!=="dumb"&&(Pt!=null&&Pt!=="0"||Tr)};function le(e,t){let r=new RegExp(`\\x1b\\[${t}m`,"g"),n=`\x1B[${e}m`,i=`\x1B[${t}m`;return function(o){return!ts.enabled||o==null?o:n+(~(""+o).indexOf(i)?o.replace(r,i+n):o)+i}}var ld=le(0,0),fd=le(1,22),dd=le(2,22),pd=le(3,23),rs=le(4,24),hd=le(7,27),md=le(8,28),vd=le(9,29),_d=le(30,39),yd=le(31,39),gd=le(32,39),ns=le(33,39),Sd=le(34,39),bd=le(35,39),wd=le(36,39),Ed=le(37,39),Ad=le(90,39),Od=le(90,39),Pd=le(40,49),xd=le(41,49),Rd=le(42,49),Td=le(43,49),kd=le(44,49),Cd=le(45,49),jd=le(46,49),Id=le(47,49)});var Tt=Ee((Nd,Dr)=>{"use strict";ce();var Rt=Object.defineProperty,is=Object.getOwnPropertyDescriptor,ss=Object.getOwnPropertyNames,as=Object.prototype.hasOwnProperty,os=(e,t)=>{for(var r in t)Rt(e,r,{get:t[r],enumerable:!0})},us=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ss(t))!as.call(e,i)&&i!==r&&Rt(e,i,{get:()=>t[i],enumerable:!(n=is(t,i))||n.enumerable});return e},cs=e=>us(Rt({},"__esModule",{value:!0}),e),Cr={};os(Cr,{log:()=>fs,should:()=>Ir,tags:()=>jr,warn:()=>ds});Dr.exports=cs(Cr);var ls=rt(),jr={warn:(0,ls.yellow)("prisma:warn")},Ir={warn:()=>!process.env.PRISMA_DISABLE_WARNINGS};function fs(...e){console.log(...e)}function ds(e,...t){Ir.warn()&&console.warn(`${jr.warn} ${e}`,...t)}});var Vr=Ee((Md,Ur)=>{"use strict";ce();var It=Object.defineProperty,ps=Object.getOwnPropertyDescriptor,hs=Object.getOwnPropertyNames,ms=Object.prototype.hasOwnProperty,$r=(e,t)=>{for(var r in t)It(e,r,{get:t[r],enumerable:!0})},vs=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of hs(t))!ms.call(e,i)&&i!==r&&It(e,i,{get:()=>t[i],enumerable:!(n=ps(t,i))||n.enumerable});return e},_s=e=>vs(It({},"__esModule",{value:!0}),e),Mr={};$r(Mr,{Debug:()=>Jr,clearLogs:()=>Ks,default:()=>Xs,getLogs:()=>Vs});Ur.exports=_s(Mr);var kt={};$r(kt,{$:()=>Gr,bgBlack:()=>Ls,bgBlue:()=>Fs,bgCyan:()=>Bs,bgGreen:()=>$s,bgMagenta:()=>qs,bgRed:()=>Ns,bgWhite:()=>Hs,bgYellow:()=>Ms,black:()=>Os,blue:()=>Ts,bold:()=>Wr,cyan:()=>Cs,dim:()=>gs,gray:()=>Is,green:()=>xs,grey:()=>Ds,hidden:()=>Es,inverse:()=>ws,italic:()=>Ss,magenta:()=>ks,red:()=>Ps,reset:()=>ys,strikethrough:()=>As,underline:()=>bs,white:()=>js,yellow:()=>Rs});var Ct,Fr,qr,Br,Hr=!0;typeof process<"u"&&({FORCE_COLOR:Ct,NODE_DISABLE_COLORS:Fr,NO_COLOR:qr,TERM:Br}=process.env||{},Hr=process.stdout&&process.stdout.isTTY);var Gr={enabled:!Fr&&qr==null&&Br!=="dumb"&&(Ct!=null&&Ct!=="0"||Hr)};function fe(e,t){let r=new RegExp(`\\x1b\\[${t}m`,"g"),n=`\x1B[${e}m`,i=`\x1B[${t}m`;return function(o){return!Gr.enabled||o==null?o:n+(~(""+o).indexOf(i)?o.replace(r,i+n):o)+i}}var ys=fe(0,0),Wr=fe(1,22),gs=fe(2,22),Ss=fe(3,23),bs=fe(4,24),ws=fe(7,27),Es=fe(8,28),As=fe(9,29),Os=fe(30,39),Ps=fe(31,39),xs=fe(32,39),Rs=fe(33,39),Ts=fe(34,39),ks=fe(35,39),Cs=fe(36,39),js=fe(37,39),Is=fe(90,39),Ds=fe(90,39),Ls=fe(40,49),Ns=fe(41,49),$s=fe(42,49),Ms=fe(43,49),Fs=fe(44,49),qs=fe(45,49),Bs=fe(46,49),Hs=fe(47,49),Gs=100,Lr=["green","yellow","blue","magenta","cyan","red"],Ue=[],Nr=Date.now(),Ws=0,jt=typeof process<"u"?process.env:{};globalThis.DEBUG??=jt.DEBUG??"";globalThis.DEBUG_COLORS??=jt.DEBUG_COLORS?jt.DEBUG_COLORS==="true":!0;var Ve={enable(e){typeof e=="string"&&(globalThis.DEBUG=e)},disable(){let e=globalThis.DEBUG;return globalThis.DEBUG="",e},enabled(e){let t=globalThis.DEBUG.split(",").map(i=>i.replace(/[.+?^${}()|[\]\\]/g,"\\$&")),r=t.some(i=>i===""||i[0]==="-"?!1:e.match(RegExp(i.split("*").join(".*")+"$"))),n=t.some(i=>i===""||i[0]!=="-"?!1:e.match(RegExp(i.slice(1).split("*").join(".*")+"$")));return r&&!n},log:(...e)=>{let[t,r,...n]=e;(console.warn??console.log)(`${t} ${r}`,...n)},formatters:{}};function Js(e){let t={color:Lr[Ws++%Lr.length],enabled:Ve.enabled(e),namespace:e,log:Ve.log,extend:()=>{}},r=(...n)=>{let{enabled:i,namespace:o,color:c,log:a}=t;if(n.length!==0&&Ue.push([o,...n]),Ue.length>Gs&&Ue.shift(),Ve.enabled(o)||i){let s=n.map(d=>typeof d=="string"?d:Us(d)),l=`+${Date.now()-Nr}ms`;Nr=Date.now(),globalThis.DEBUG_COLORS?a(kt[c](Wr(o)),...s,kt[c](l)):a(o,...s,l)}};return new Proxy(r,{get:(n,i)=>t[i],set:(n,i,o)=>t[i]=o})}var Jr=new Proxy(Js,{get:(e,t)=>Ve[t],set:(e,t,r)=>Ve[t]=r});function Us(e,t=2){let r=new Set;return JSON.stringify(e,(n,i)=>{if(typeof i=="object"&&i!==null){if(r.has(i))return"[Circular *]";r.add(i)}else if(typeof i=="bigint")return i.toString();return i},t)}function Vs(e=7500){let t=Ue.map(([r,...n])=>`${r} ${n.map(i=>typeof i=="string"?i:JSON.stringify(i)).join(" ")}`).join(`
2
+ `);return t.length<e?t:t.slice(-e)}function Ks(){Ue.length=0}var Xs=Jr});var fn=Ee((Kd,ln)=>{"use strict";ce();var Ys=Object.create,ot=Object.defineProperty,zs=Object.getOwnPropertyDescriptor,Qs=Object.getOwnPropertyNames,Zs=Object.getPrototypeOf,ea=Object.prototype.hasOwnProperty,ta=(e,t)=>{for(var r in t)ot(e,r,{get:t[r],enumerable:!0})},Yr=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Qs(t))!ea.call(e,i)&&i!==r&&ot(e,i,{get:()=>t[i],enumerable:!(n=zs(t,i))||n.enumerable});return e},ut=(e,t,r)=>(r=e!=null?Ys(Zs(e)):{},Yr(t||!e||!e.__esModule?ot(r,"default",{value:e,enumerable:!0}):r,e)),ra=e=>Yr(ot({},"__esModule",{value:!0}),e),zr={};ta(zr,{computeLibSSLSpecificPaths:()=>sn,getArchFromUname:()=>un,getBinaryTargetForCurrentPlatform:()=>ha,getBinaryTargetForCurrentPlatformInternal:()=>on,getPlatformInfo:()=>va,getPlatformInfoMemoized:()=>Bt,getSSLVersion:()=>an,getos:()=>Zr,parseDistro:()=>en,parseLibSSLVersion:()=>Ft,parseOpenSSLVersion:()=>rn,resolveDistro:()=>tn});ln.exports=ra(zr);var Dt=Tt(),na=ut(Vr()),ia=ut(ae("child_process")),Qr=ut(ae("fs/promises")),Lt=ut(ae("os")),sa=ae("util"),Re=Symbol.for("@ts-pattern/matcher"),aa=Symbol.for("@ts-pattern/isVariadic"),st="@ts-pattern/anonymous-select-key",Nt=e=>!!(e&&typeof e=="object"),it=e=>e&&!!e[Re],Pe=(e,t,r)=>{if(it(e)){let n=e[Re](),{matched:i,selections:o}=n.match(t);return i&&o&&Object.keys(o).forEach(c=>r(c,o[c])),i}if(Nt(e)){if(!Nt(t))return!1;if(Array.isArray(e)){if(!Array.isArray(t))return!1;let n=[],i=[],o=[];for(let c of e.keys()){let a=e[c];it(a)&&a[aa]?o.push(a):o.length?i.push(a):n.push(a)}if(o.length){if(o.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(t.length<n.length+i.length)return!1;let c=t.slice(0,n.length),a=i.length===0?[]:t.slice(-i.length),s=t.slice(n.length,i.length===0?1/0:-i.length);return n.every((l,d)=>Pe(l,c[d],r))&&i.every((l,d)=>Pe(l,a[d],r))&&(o.length===0||Pe(o[0],s,r))}return e.length===t.length&&e.every((c,a)=>Pe(c,t[a],r))}return Reflect.ownKeys(e).every(n=>{let i=e[n];return(n in t||it(o=i)&&o[Re]().matcherType==="optional")&&Pe(i,t[n],r);var o})}return Object.is(t,e)},De=e=>{var t,r,n;return Nt(e)?it(e)?(t=(r=(n=e[Re]()).getSelectionKeys)==null?void 0:r.call(n))!=null?t:[]:Array.isArray(e)?Ke(e,De):Ke(Object.values(e),De):[]},Ke=(e,t)=>e.reduce((r,n)=>r.concat(t(n)),[]);function we(e){return Object.assign(e,{optional:()=>oa(e),and:t=>pe(e,t),or:t=>ua(e,t),select:t=>t===void 0?Kr(e):Kr(t,e)})}function oa(e){return we({[Re]:()=>({match:t=>{let r={},n=(i,o)=>{r[i]=o};return t===void 0?(De(e).forEach(i=>n(i,void 0)),{matched:!0,selections:r}):{matched:Pe(e,t,n),selections:r}},getSelectionKeys:()=>De(e),matcherType:"optional"})})}function pe(...e){return we({[Re]:()=>({match:t=>{let r={},n=(i,o)=>{r[i]=o};return{matched:e.every(i=>Pe(i,t,n)),selections:r}},getSelectionKeys:()=>Ke(e,De),matcherType:"and"})})}function ua(...e){return we({[Re]:()=>({match:t=>{let r={},n=(i,o)=>{r[i]=o};return Ke(e,De).forEach(i=>n(i,void 0)),{matched:e.some(i=>Pe(i,t,n)),selections:r}},getSelectionKeys:()=>Ke(e,De),matcherType:"or"})})}function oe(e){return{[Re]:()=>({match:t=>({matched:!!e(t)})})}}function Kr(...e){let t=typeof e[0]=="string"?e[0]:void 0,r=e.length===2?e[1]:typeof e[0]=="string"?void 0:e[0];return we({[Re]:()=>({match:n=>{let i={[t??st]:n};return{matched:r===void 0||Pe(r,n,(o,c)=>{i[o]=c}),selections:i}},getSelectionKeys:()=>[t??st].concat(r===void 0?[]:De(r))})})}function Ae(e){return typeof e=="number"}function ke(e){return typeof e=="string"}function Ce(e){return typeof e=="bigint"}var qd=we(oe(function(e){return!0})),je=e=>Object.assign(we(e),{startsWith:t=>{return je(pe(e,(r=t,oe(n=>ke(n)&&n.startsWith(r)))));var r},endsWith:t=>{return je(pe(e,(r=t,oe(n=>ke(n)&&n.endsWith(r)))));var r},minLength:t=>je(pe(e,(r=>oe(n=>ke(n)&&n.length>=r))(t))),length:t=>je(pe(e,(r=>oe(n=>ke(n)&&n.length===r))(t))),maxLength:t=>je(pe(e,(r=>oe(n=>ke(n)&&n.length<=r))(t))),includes:t=>{return je(pe(e,(r=t,oe(n=>ke(n)&&n.includes(r)))));var r},regex:t=>{return je(pe(e,(r=t,oe(n=>ke(n)&&!!n.match(r)))));var r}}),Bd=je(oe(ke)),Oe=e=>Object.assign(we(e),{between:(t,r)=>Oe(pe(e,((n,i)=>oe(o=>Ae(o)&&n<=o&&i>=o))(t,r))),lt:t=>Oe(pe(e,(r=>oe(n=>Ae(n)&&n<r))(t))),gt:t=>Oe(pe(e,(r=>oe(n=>Ae(n)&&n>r))(t))),lte:t=>Oe(pe(e,(r=>oe(n=>Ae(n)&&n<=r))(t))),gte:t=>Oe(pe(e,(r=>oe(n=>Ae(n)&&n>=r))(t))),int:()=>Oe(pe(e,oe(t=>Ae(t)&&Number.isInteger(t)))),finite:()=>Oe(pe(e,oe(t=>Ae(t)&&Number.isFinite(t)))),positive:()=>Oe(pe(e,oe(t=>Ae(t)&&t>0))),negative:()=>Oe(pe(e,oe(t=>Ae(t)&&t<0)))}),Hd=Oe(oe(Ae)),Ie=e=>Object.assign(we(e),{between:(t,r)=>Ie(pe(e,((n,i)=>oe(o=>Ce(o)&&n<=o&&i>=o))(t,r))),lt:t=>Ie(pe(e,(r=>oe(n=>Ce(n)&&n<r))(t))),gt:t=>Ie(pe(e,(r=>oe(n=>Ce(n)&&n>r))(t))),lte:t=>Ie(pe(e,(r=>oe(n=>Ce(n)&&n<=r))(t))),gte:t=>Ie(pe(e,(r=>oe(n=>Ce(n)&&n>=r))(t))),positive:()=>Ie(pe(e,oe(t=>Ce(t)&&t>0))),negative:()=>Ie(pe(e,oe(t=>Ce(t)&&t<0)))}),Gd=Ie(oe(Ce)),Wd=we(oe(function(e){return typeof e=="boolean"})),Jd=we(oe(function(e){return typeof e=="symbol"})),Ud=we(oe(function(e){return e==null})),Vd=we(oe(function(e){return e!=null})),ca=class extends Error{constructor(e){let t;try{t=JSON.stringify(e)}catch{t=e}super(`Pattern matching error: no pattern matches value ${t}`),this.input=void 0,this.input=e}},$t={matched:!1,value:void 0};function qt(e){return new la(e,$t)}var la=class Mt{constructor(t,r){this.input=void 0,this.state=void 0,this.input=t,this.state=r}with(...t){if(this.state.matched)return this;let r=t[t.length-1],n=[t[0]],i;t.length===3&&typeof t[1]=="function"?i=t[1]:t.length>2&&n.push(...t.slice(1,t.length-1));let o=!1,c={},a=(l,d)=>{o=!0,c[l]=d},s=!n.some(l=>Pe(l,this.input,a))||i&&!i(this.input)?$t:{matched:!0,value:r(o?st in c?c[st]:c:this.input,this.input)};return new Mt(this.input,s)}when(t,r){if(this.state.matched)return this;let n=!!t(this.input);return new Mt(this.input,n?{matched:!0,value:r(this.input,this.input)}:$t)}otherwise(t){return this.state.matched?this.state.value:t(this.input)}exhaustive(){if(this.state.matched)return this.state.value;throw new ca(this.input)}run(){return this.exhaustive()}returnType(){return this}},fa=(0,sa.promisify)(ia.default.exec),ye=(0,na.default)("prisma:get-platform"),da=["1.0.x","1.1.x","3.0.x"];async function Zr(){let e=Lt.default.platform(),t=process.arch;if(e==="freebsd"){let c=await at("freebsd-version");if(c&&c.trim().length>0){let s=/^(\d+)\.?/.exec(c);if(s)return{platform:"freebsd",targetDistro:`freebsd${s[1]}`,arch:t}}}if(e!=="linux")return{platform:e,arch:t};let r=await tn(),n=await un(),i=sn({arch:t,archFromUname:n,familyDistro:r.familyDistro}),{libssl:o}=await an(i);return{platform:"linux",libssl:o,arch:t,archFromUname:n,...r}}function en(e){let t=/^ID="?([^"\n]*)"?$/im,r=/^ID_LIKE="?([^"\n]*)"?$/im,n=t.exec(e),i=n&&n[1]&&n[1].toLowerCase()||"",o=r.exec(e),c=o&&o[1]&&o[1].toLowerCase()||"",a=qt({id:i,idLike:c}).with({id:"alpine"},({id:s})=>({targetDistro:"musl",familyDistro:s,originalDistro:s})).with({id:"raspbian"},({id:s})=>({targetDistro:"arm",familyDistro:"debian",originalDistro:s})).with({id:"nixos"},({id:s})=>({targetDistro:"nixos",originalDistro:s,familyDistro:"nixos"})).with({id:"debian"},{id:"ubuntu"},({id:s})=>({targetDistro:"debian",familyDistro:"debian",originalDistro:s})).with({id:"rhel"},{id:"centos"},{id:"fedora"},({id:s})=>({targetDistro:"rhel",familyDistro:"rhel",originalDistro:s})).when(({idLike:s})=>s.includes("debian")||s.includes("ubuntu"),({id:s})=>({targetDistro:"debian",familyDistro:"debian",originalDistro:s})).when(({idLike:s})=>i==="arch"||s.includes("arch"),({id:s})=>({targetDistro:"debian",familyDistro:"arch",originalDistro:s})).when(({idLike:s})=>s.includes("centos")||s.includes("fedora")||s.includes("rhel")||s.includes("suse"),({id:s})=>({targetDistro:"rhel",familyDistro:"rhel",originalDistro:s})).otherwise(({id:s})=>({targetDistro:void 0,familyDistro:void 0,originalDistro:s}));return ye(`Found distro info:
3
+ ${JSON.stringify(a,null,2)}`),a}async function tn(){let e="/etc/os-release";try{let t=await Qr.default.readFile(e,{encoding:"utf-8"});return en(t)}catch{return{targetDistro:void 0,familyDistro:void 0,originalDistro:void 0}}}function rn(e){let t=/^OpenSSL\s(\d+\.\d+)\.\d+/.exec(e);if(t){let r=`${t[1]}.x`;return nn(r)}}function Ft(e){let t=/libssl\.so\.(\d)(\.\d)?/.exec(e);if(t){let r=`${t[1]}${t[2]??".0"}.x`;return nn(r)}}function nn(e){let t=(()=>{if(cn(e))return e;let r=e.split(".");return r[1]="0",r.join(".")})();if(da.includes(t))return t}function sn(e){return qt(e).with({familyDistro:"musl"},()=>(ye('Trying platform-specific paths for "alpine"'),["/lib","/usr/lib"])).with({familyDistro:"debian"},({archFromUname:t})=>(ye('Trying platform-specific paths for "debian" (and "ubuntu")'),[`/usr/lib/${t}-linux-gnu`,`/lib/${t}-linux-gnu`])).with({familyDistro:"rhel"},()=>(ye('Trying platform-specific paths for "rhel"'),["/lib64","/usr/lib64"])).otherwise(({familyDistro:t,arch:r,archFromUname:n})=>(ye(`Don't know any platform-specific paths for "${t}" on ${r} (${n})`),[]))}async function an(e){let t='grep -v "libssl.so.0"',r=await Xr(e);if(r){ye(`Found libssl.so file using platform-specific paths: ${r}`);let o=Ft(r);if(ye(`The parsed libssl version is: ${o}`),o)return{libssl:o,strategy:"libssl-specific-path"}}ye('Falling back to "ldconfig" and other generic paths');let n=await at(`ldconfig -p | sed "s/.*=>s*//" | sed "s|.*/||" | grep libssl | sort | ${t}`);if(n||(n=await Xr(["/lib64","/usr/lib64","/lib","/usr/lib"])),n){ye(`Found libssl.so file using "ldconfig" or other generic paths: ${n}`);let o=Ft(n);if(ye(`The parsed libssl version is: ${o}`),o)return{libssl:o,strategy:"ldconfig"}}let i=await at("openssl version -v");if(i){ye(`Found openssl binary with version: ${i}`);let o=rn(i);if(ye(`The parsed openssl version is: ${o}`),o)return{libssl:o,strategy:"openssl-binary"}}return ye("Couldn't find any version of libssl or OpenSSL in the system"),{}}async function Xr(e){for(let t of e){let r=await pa(t);if(r)return r}}async function pa(e){try{return(await Qr.default.readdir(e)).find(r=>r.startsWith("libssl.so.")&&!r.startsWith("libssl.so.0"))}catch(t){if(t.code==="ENOENT")return;throw t}}async function ha(){let{binaryTarget:e}=await Bt();return e}function ma(e){return e.binaryTarget!==void 0}async function va(){let{memoized:e,...t}=await Bt();return t}var nt={};async function Bt(){if(ma(nt))return Promise.resolve({...nt,memoized:!0});let e=await Zr(),t=on(e);return nt={...e,binaryTarget:t},{...nt,memoized:!1}}function on(e){let{platform:t,arch:r,archFromUname:n,libssl:i,targetDistro:o,familyDistro:c,originalDistro:a}=e;t==="linux"&&!["x64","arm64"].includes(r)&&(0,Dt.warn)(`Prisma only officially supports Linux on amd64 (x86_64) and arm64 (aarch64) system architectures (detected "${r}" instead). If you are using your own custom Prisma engines, you can ignore this warning, as long as you've compiled the engines for your system architecture "${n}".`);let s="1.1.x";if(t==="linux"&&i===void 0){let d=qt({familyDistro:c}).with({familyDistro:"debian"},()=>"Please manually install OpenSSL via `apt-get update -y && apt-get install -y openssl` and try installing Prisma again. If you're running Prisma on Docker, add this command to your Dockerfile, or switch to an image that already has OpenSSL installed.").otherwise(()=>"Please manually install OpenSSL and try installing Prisma again.");(0,Dt.warn)(`Prisma failed to detect the libssl/openssl version to use, and may not work as expected. Defaulting to "openssl-${s}".
4
+ ${d}`)}let l="debian";if(t==="linux"&&o===void 0&&ye(`Distro is "${a}". Falling back to Prisma engines built for "${l}".`),t==="darwin"&&r==="arm64")return"darwin-arm64";if(t==="darwin")return"darwin";if(t==="win32")return"windows";if(t==="freebsd")return o;if(t==="openbsd")return"openbsd";if(t==="netbsd")return"netbsd";if(t==="linux"&&o==="nixos")return"linux-nixos";if(t==="linux"&&r==="arm64")return`${o==="musl"?"linux-musl-arm64":"linux-arm64"}-openssl-${i||s}`;if(t==="linux"&&r==="arm")return`linux-arm-openssl-${i||s}`;if(t==="linux"&&o==="musl"){let d="linux-musl";return!i||cn(i)?d:`${d}-openssl-${i}`}return t==="linux"&&o&&i?`${o}-openssl-${i}`:(t!=="linux"&&(0,Dt.warn)(`Prisma detected unknown OS "${t}" and may not work as expected. Defaulting to "linux".`),i?`${l}-openssl-${i}`:o?`${o}-openssl-${s}`:`${l}-openssl-${s}`)}async function _a(e){try{return await e()}catch{return}}function at(e){return _a(async()=>{let t=await fa(e);return ye(`Command "${e}" successfully returned "${t.stdout}"`),t.stdout})}async function un(){return typeof Lt.default.machine=="function"?Lt.default.machine():(await at("uname -m"))?.trim()}function cn(e){return e.startsWith("1.")}});var qe=Ee((zd,hn)=>{"use strict";ce();var Ht=Object.defineProperty,ya=Object.getOwnPropertyDescriptor,ga=Object.getOwnPropertyNames,Sa=Object.prototype.hasOwnProperty,ba=(e,t)=>{for(var r in t)Ht(e,r,{get:t[r],enumerable:!0})},wa=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ga(t))!Sa.call(e,i)&&i!==r&&Ht(e,i,{get:()=>t[i],enumerable:!(n=ya(t,i))||n.enumerable});return e},Ea=e=>wa(Ht({},"__esModule",{value:!0}),e),dn={};ba(dn,{__commonJS:()=>ka,__esm:()=>Ta,__export:()=>Ca,__require:()=>Ra,__toCommonJS:()=>Ia,__toESM:()=>ja});hn.exports=Ea(dn);var Aa=Object.create,ct=Object.defineProperty,Oa=Object.getOwnPropertyDescriptor,Gt=Object.getOwnPropertyNames,Pa=Object.getPrototypeOf,xa=Object.prototype.hasOwnProperty,Ra=(e=>typeof ae<"u"?ae:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof ae<"u"?ae:t)[r]}):e)(function(e){if(typeof ae<"u")return ae.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Ta=(e,t)=>function(){return e&&(t=(0,e[Gt(e)[0]])(e=0)),t},ka=(e,t)=>function(){return t||(0,e[Gt(e)[0]])((t={exports:{}}).exports,t),t.exports},Ca=(e,t)=>{for(var r in t)ct(e,r,{get:t[r],enumerable:!0})},pn=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Gt(t))!xa.call(e,i)&&i!==r&&ct(e,i,{get:()=>t[i],enumerable:!(n=Oa(t,i))||n.enumerable});return e},ja=(e,t,r)=>(r=e!=null?Aa(Pa(e)):{},pn(t||!e||!e.__esModule?ct(r,"default",{value:e,enumerable:!0}):r,e)),Ia=e=>pn(ct({},"__esModule",{value:!0}),e)});var An=Ee((hp,En)=>{"use strict";ce();var Da=Object.create,lt=Object.defineProperty,La=Object.getOwnPropertyDescriptor,Na=Object.getOwnPropertyNames,$a=Object.getPrototypeOf,Ma=Object.prototype.hasOwnProperty,Fa=(e,t)=>{for(var r in t)lt(e,r,{get:t[r],enumerable:!0})},mn=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Na(t))!Ma.call(e,i)&&i!==r&&lt(e,i,{get:()=>t[i],enumerable:!(n=La(t,i))||n.enumerable});return e},qa=(e,t,r)=>(r=e!=null?Da($a(e)):{},mn(t||!e||!e.__esModule?lt(r,"default",{value:e,enumerable:!0}):r,e)),Ba=e=>mn(lt({},"__esModule",{value:!0}),e),vn={};Fa(vn,{link:()=>bo});En.exports=Ba(vn);var Ha=rt(),Me=qe(),Jt=qa(ae("process")),_n=(0,Me.__commonJS)({"../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(e,t){"use strict";t.exports=(r,n=process.argv)=>{let i=r.startsWith("-")?"":r.length===1?"-":"--",o=n.indexOf(i+r),c=n.indexOf("--");return o!==-1&&(c===-1||o<c)}}}),Ga=(0,Me.__commonJS)({"../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(e,t){"use strict";var r=(0,Me.__require)("os"),n=(0,Me.__require)("tty"),i=_n(),{env:o}=process,c;i("no-color")||i("no-colors")||i("color=false")||i("color=never")?c=0:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(c=1),"FORCE_COLOR"in o&&(o.FORCE_COLOR==="true"?c=1:o.FORCE_COLOR==="false"?c=0:c=o.FORCE_COLOR.length===0?1:Math.min(parseInt(o.FORCE_COLOR,10),3));function a(d){return d===0?!1:{level:d,hasBasic:!0,has256:d>=2,has16m:d>=3}}function s(d,v){if(c===0)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(d&&!v&&c===void 0)return 0;let _=c||0;if(o.TERM==="dumb")return _;if(process.platform==="win32"){let x=r.release().split(".");return Number(x[0])>=10&&Number(x[2])>=10586?Number(x[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(x=>x in o)||o.CI_NAME==="codeship"?1:_;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if(o.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in o){let x=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return x>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:_}function l(d){let v=s(d,d&&d.isTTY);return a(v)}t.exports={supportsColor:l,stdout:a(s(!0,n.isatty(1))),stderr:a(s(!0,n.isatty(2)))}}}),Wa=(0,Me.__commonJS)({"../../node_modules/.pnpm/supports-hyperlinks@3.2.0/node_modules/supports-hyperlinks/index.js"(e,t){"use strict";var r=Ga(),n=_n();function i(c){if(/^\d{3,4}$/.test(c)){let s=/(\d{1,2})(\d{2})/.exec(c)||[];return{major:0,minor:parseInt(s[1],10),patch:parseInt(s[2],10)}}let a=(c||"").split(".").map(s=>parseInt(s,10));return{major:a[0],minor:a[1],patch:a[2]}}function o(c){let{CI:a,FORCE_HYPERLINK:s,NETLIFY:l,TEAMCITY_VERSION:d,TERM_PROGRAM:v,TERM_PROGRAM_VERSION:_,VTE_VERSION:x,TERM:S}=process.env;if(s)return!(s.length>0&&parseInt(s,10)===0);if(n("no-hyperlink")||n("no-hyperlinks")||n("hyperlink=false")||n("hyperlink=never"))return!1;if(n("hyperlink=true")||n("hyperlink=always")||l)return!0;if(!r.supportsColor(c)||c&&!c.isTTY)return!1;if("WT_SESSION"in process.env)return!0;if(process.platform==="win32"||a||d)return!1;if(v){let E=i(_||"");switch(v){case"iTerm.app":return E.major===3?E.minor>=1:E.major>3;case"WezTerm":return E.major>=20200620;case"vscode":return E.major>1||E.major===1&&E.minor>=72;case"ghostty":return!0}}if(x){if(x==="0.50.0")return!1;let E=i(x);return E.major>0||E.minor>=50}switch(S){case"alacritty":return!0}return!1}t.exports={supportsHyperlink:o,stdout:o(process.stdout),stderr:o(process.stderr)}}}),yn={};(0,Me.__export)(yn,{beep:()=>_o,clearScreen:()=>po,clearTerminal:()=>ho,cursorBackward:()=>za,cursorDown:()=>Xa,cursorForward:()=>Ya,cursorGetPosition:()=>eo,cursorHide:()=>no,cursorLeft:()=>bn,cursorMove:()=>Ka,cursorNextLine:()=>to,cursorPrevLine:()=>ro,cursorRestorePosition:()=>Za,cursorSavePosition:()=>Qa,cursorShow:()=>io,cursorTo:()=>Va,cursorUp:()=>Sn,enterAlternativeScreen:()=>mo,eraseDown:()=>uo,eraseEndLine:()=>ao,eraseLine:()=>wn,eraseLines:()=>so,eraseScreen:()=>Wt,eraseStartLine:()=>oo,eraseUp:()=>co,exitAlternativeScreen:()=>vo,iTerm:()=>So,image:()=>go,link:()=>yo,scrollDown:()=>fo,scrollUp:()=>lo});var Ut=globalThis.window?.document!==void 0,ep=globalThis.process?.versions?.node!==void 0,tp=globalThis.process?.versions?.bun!==void 0,rp=globalThis.Deno?.version?.deno!==void 0,np=globalThis.process?.versions?.electron!==void 0,ip=globalThis.navigator?.userAgent?.includes("jsdom")===!0,sp=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,ap=typeof DedicatedWorkerGlobalScope<"u"&&globalThis instanceof DedicatedWorkerGlobalScope,op=typeof SharedWorkerGlobalScope<"u"&&globalThis instanceof SharedWorkerGlobalScope,up=typeof ServiceWorkerGlobalScope<"u"&&globalThis instanceof ServiceWorkerGlobalScope,Qe=globalThis.navigator?.userAgentData?.platform,cp=Qe==="macOS"||globalThis.navigator?.platform==="MacIntel"||globalThis.navigator?.userAgent?.includes(" Mac ")===!0||globalThis.process?.platform==="darwin",lp=Qe==="Windows"||globalThis.navigator?.platform==="Win32"||globalThis.process?.platform==="win32",fp=Qe==="Linux"||globalThis.navigator?.platform?.startsWith("Linux")===!0||globalThis.navigator?.userAgent?.includes(" Linux ")===!0||globalThis.process?.platform==="linux",dp=Qe==="iOS"||globalThis.navigator?.platform==="MacIntel"&&globalThis.navigator?.maxTouchPoints>1||/iPad|iPhone|iPod/.test(globalThis.navigator?.platform),pp=Qe==="Android"||globalThis.navigator?.platform==="Android"||globalThis.navigator?.userAgent?.includes(" Android ")===!0||globalThis.process?.platform==="android",ue="\x1B[",Ye="\x1B]",Be="\x07",Xe=";",gn=!Ut&&Jt.default.env.TERM_PROGRAM==="Apple_Terminal",Ja=!Ut&&Jt.default.platform==="win32",Ua=Ut?()=>{throw new Error("`process.cwd()` only works in Node.js, not the browser.")}:Jt.default.cwd,Va=(e,t)=>{if(typeof e!="number")throw new TypeError("The `x` argument is required");return typeof t!="number"?ue+(e+1)+"G":ue+(t+1)+Xe+(e+1)+"H"},Ka=(e,t)=>{if(typeof e!="number")throw new TypeError("The `x` argument is required");let r="";return e<0?r+=ue+-e+"D":e>0&&(r+=ue+e+"C"),t<0?r+=ue+-t+"A":t>0&&(r+=ue+t+"B"),r},Sn=(e=1)=>ue+e+"A",Xa=(e=1)=>ue+e+"B",Ya=(e=1)=>ue+e+"C",za=(e=1)=>ue+e+"D",bn=ue+"G",Qa=gn?"\x1B7":ue+"s",Za=gn?"\x1B8":ue+"u",eo=ue+"6n",to=ue+"E",ro=ue+"F",no=ue+"?25l",io=ue+"?25h",so=e=>{let t="";for(let r=0;r<e;r++)t+=wn+(r<e-1?Sn():"");return e&&(t+=bn),t},ao=ue+"K",oo=ue+"1K",wn=ue+"2K",uo=ue+"J",co=ue+"1J",Wt=ue+"2J",lo=ue+"S",fo=ue+"T",po="\x1Bc",ho=Ja?`${Wt}${ue}0f`:`${Wt}${ue}3J${ue}H`,mo=ue+"?1049h",vo=ue+"?1049l",_o=Be,yo=(e,t)=>[Ye,"8",Xe,Xe,t,Be,e,Ye,"8",Xe,Xe,Be].join(""),go=(e,t={})=>{let r=`${Ye}1337;File=inline=1`;return t.width&&(r+=`;width=${t.width}`),t.height&&(r+=`;height=${t.height}`),t.preserveAspectRatio===!1&&(r+=";preserveAspectRatio=0"),r+":"+Buffer.from(e).toString("base64")+Be},So={setCwd:(e=Ua())=>`${Ye}50;CurrentDir=${e}${Be}`,annotation(e,t={}){let r=`${Ye}1337;`,n=t.x!==void 0,i=t.y!==void 0;if((n||i)&&!(n&&i&&t.length!==void 0))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return e=e.replaceAll("|",""),r+=t.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",t.length>0?r+=(n?[e,t.length,t.x,t.y]:[t.length,e]).join("|"):r+=e,r+Be}},Vt=(0,Me.__toESM)(Wa(),1);function ze(e,t,{target:r="stdout",...n}={}){return Vt.default[r]?yn.link(e,t):n.fallback===!1?e:typeof n.fallback=="function"?n.fallback(e,t):`${e} (\u200B${t}\u200B)`}ze.isSupported=Vt.default.stdout;ze.stderr=(e,t,r={})=>ze(e,t,{target:"stderr",...r});ze.stderr.isSupported=Vt.default.stderr;function bo(e){return ze(e,e,{fallback:Ha.underline})}});var Rn=Ee((vp,xn)=>{"use strict";ce();var Kt=Object.defineProperty,wo=Object.getOwnPropertyDescriptor,Eo=Object.getOwnPropertyNames,Ao=Object.prototype.hasOwnProperty,Oo=(e,t)=>{for(var r in t)Kt(e,r,{get:t[r],enumerable:!0})},Po=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Eo(t))!Ao.call(e,i)&&i!==r&&Kt(e,i,{get:()=>t[i],enumerable:!(n=wo(t,i))||n.enumerable});return e},xo=e=>Po(Kt({},"__esModule",{value:!0}),e),On={};Oo(On,{binaryTargets:()=>Pn,init_binaryTargets:()=>To});xn.exports=xo(On);var Ro=qe(),Pn,To=(0,Ro.__esm)({"src/binaryTargets.ts"(){Pn=["darwin","darwin-arm64","debian-openssl-1.0.x","debian-openssl-1.1.x","debian-openssl-3.0.x","rhel-openssl-1.0.x","rhel-openssl-1.1.x","rhel-openssl-3.0.x","linux-arm64-openssl-1.1.x","linux-arm64-openssl-1.0.x","linux-arm64-openssl-3.0.x","linux-arm-openssl-1.1.x","linux-arm-openssl-1.0.x","linux-arm-openssl-3.0.x","linux-musl","linux-musl-openssl-3.0.x","linux-musl-arm64-openssl-1.1.x","linux-musl-arm64-openssl-3.0.x","linux-nixos","linux-static-x64","linux-static-arm64","windows","freebsd11","freebsd12","freebsd13","freebsd14","freebsd15","openbsd","netbsd","arm"]}})});var Tn=Ee(()=>{"use strict";ce()});var _r=Ee((Pp,Di)=>{"use strict";ce();var ko=Object.create,yt=Object.defineProperty,Co=Object.getOwnPropertyDescriptor,jo=Object.getOwnPropertyNames,Io=Object.getPrototypeOf,Do=Object.prototype.hasOwnProperty,Lo=(e,t)=>{for(var r in t)yt(e,r,{get:t[r],enumerable:!0})},Hn=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of jo(t))!Do.call(e,i)&&i!==r&&yt(e,i,{get:()=>t[i],enumerable:!(n=Co(t,i))||n.enumerable});return e},Le=(e,t,r)=>(r=e!=null?ko(Io(e)):{},Hn(t||!e||!e.__esModule?yt(r,"default",{value:e,enumerable:!0}):r,e)),No=e=>Hn(yt({},"__esModule",{value:!0}),e),Gn={};Lo(Gn,{execaNode:()=>Mf,require_main:()=>Au,require_tempy:()=>Zc});Di.exports=No(Gn);var j=qe(),$o=ae("buffer"),Mo=Le(ae("path")),er=Le(ae("child_process")),He=Le(ae("process")),pt=Le(ae("process")),et=Le(ae("path")),Wn=ae("url"),Fo=Le(ae("process")),qo=ae("os"),Bo=ae("os"),Ho=Le(ae("os")),Go=ae("fs"),Wo=ae("child_process"),Jn=ae("fs"),Jo=ae("timers/promises"),Uo=ae("buffer"),Vo=ae("child_process"),Ko=ae("util"),Xo=Le(ae("process")),Yo=(0,j.__commonJS)({"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(e,t){"use strict";t.exports=o,o.sync=c;var r=(0,j.__require)("fs");function n(a,s){var l=s.pathExt!==void 0?s.pathExt:process.env.PATHEXT;if(!l||(l=l.split(";"),l.indexOf("")!==-1))return!0;for(var d=0;d<l.length;d++){var v=l[d].toLowerCase();if(v&&a.substr(-v.length).toLowerCase()===v)return!0}return!1}function i(a,s,l){return!a.isSymbolicLink()&&!a.isFile()?!1:n(s,l)}function o(a,s,l){r.stat(a,function(d,v){l(d,d?!1:i(v,a,s))})}function c(a,s){return i(r.statSync(a),a,s)}}}),zo=(0,j.__commonJS)({"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(e,t){"use strict";t.exports=n,n.sync=i;var r=(0,j.__require)("fs");function n(a,s,l){r.stat(a,function(d,v){l(d,d?!1:o(v,s))})}function i(a,s){return o(r.statSync(a),s)}function o(a,s){return a.isFile()&&c(a,s)}function c(a,s){var l=a.mode,d=a.uid,v=a.gid,_=s.uid!==void 0?s.uid:process.getuid&&process.getuid(),x=s.gid!==void 0?s.gid:process.getgid&&process.getgid(),S=parseInt("100",8),E=parseInt("010",8),p=parseInt("001",8),y=S|E,u=l&p||l&E&&v===x||l&S&&d===_||l&y&&_===0;return u}}}),Qo=(0,j.__commonJS)({"../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(e,t){"use strict";var r=(0,j.__require)("fs"),n;process.platform==="win32"||global.TESTING_WINDOWS?n=Yo():n=zo(),t.exports=i,i.sync=o;function i(c,a,s){if(typeof a=="function"&&(s=a,a={}),!s){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(l,d){i(c,a||{},function(v,_){v?d(v):l(_)})})}n(c,a||{},function(l,d){l&&(l.code==="EACCES"||a&&a.ignoreErrors)&&(l=null,d=!1),s(l,d)})}function o(c,a){try{return n.sync(c,a||{})}catch(s){if(a&&a.ignoreErrors||s.code==="EACCES")return!1;throw s}}}}),Zo=(0,j.__commonJS)({"../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(e,t){"use strict";var r=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",n=(0,j.__require)("path"),i=r?";":":",o=Qo(),c=d=>Object.assign(new Error(`not found: ${d}`),{code:"ENOENT"}),a=(d,v)=>{let _=v.colon||i,x=d.match(/\//)||r&&d.match(/\\/)?[""]:[...r?[process.cwd()]:[],...(v.path||process.env.PATH||"").split(_)],S=r?v.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",E=r?S.split(_):[""];return r&&d.indexOf(".")!==-1&&E[0]!==""&&E.unshift(""),{pathEnv:x,pathExt:E,pathExtExe:S}},s=(d,v,_)=>{typeof v=="function"&&(_=v,v={}),v||(v={});let{pathEnv:x,pathExt:S,pathExtExe:E}=a(d,v),p=[],y=f=>new Promise((m,h)=>{if(f===x.length)return v.all&&p.length?m(p):h(c(d));let P=x[f],g=/^".*"$/.test(P)?P.slice(1,-1):P,A=n.join(g,d),b=!g&&/^\.[\\\/]/.test(d)?d.slice(0,2)+A:A;m(u(b,f,0))}),u=(f,m,h)=>new Promise((P,g)=>{if(h===S.length)return P(y(m+1));let A=S[h];o(f+A,{pathExt:E},(b,T)=>{if(!b&&T)if(v.all)p.push(f+A);else return P(f+A);return P(u(f,m,h+1))})});return _?y(0).then(f=>_(null,f),_):y(0)},l=(d,v)=>{v=v||{};let{pathEnv:_,pathExt:x,pathExtExe:S}=a(d,v),E=[];for(let p=0;p<_.length;p++){let y=_[p],u=/^".*"$/.test(y)?y.slice(1,-1):y,f=n.join(u,d),m=!u&&/^\.[\\\/]/.test(d)?d.slice(0,2)+f:f;for(let h=0;h<x.length;h++){let P=m+x[h];try{if(o.sync(P,{pathExt:S}))if(v.all)E.push(P);else return P}catch{}}}if(v.all&&E.length)return E;if(v.nothrow)return null;throw c(d)};t.exports=s,s.sync=l}}),eu=(0,j.__commonJS)({"../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(e,t){"use strict";var r=(n={})=>{let i=n.env||process.env;return(n.platform||process.platform)!=="win32"?"PATH":Object.keys(i).reverse().find(c=>c.toUpperCase()==="PATH")||"Path"};t.exports=r,t.exports.default=r}}),tu=(0,j.__commonJS)({"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(e,t){"use strict";var r=(0,j.__require)("path"),n=Zo(),i=eu();function o(a,s){let l=a.options.env||process.env,d=process.cwd(),v=a.options.cwd!=null,_=v&&process.chdir!==void 0&&!process.chdir.disabled;if(_)try{process.chdir(a.options.cwd)}catch{}let x;try{x=n.sync(a.command,{path:l[i({env:l})],pathExt:s?r.delimiter:void 0})}catch{}finally{_&&process.chdir(d)}return x&&(x=r.resolve(v?a.options.cwd:"",x)),x}function c(a){return o(a)||o(a,!0)}t.exports=c}}),ru=(0,j.__commonJS)({"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"(e,t){"use strict";var r=/([()\][%!^"`<>&|;, *?])/g;function n(o){return o=o.replace(r,"^$1"),o}function i(o,c){return o=`${o}`,o=o.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),o=o.replace(/(?=(\\+?)?)\1$/,"$1$1"),o=`"${o}"`,o=o.replace(r,"^$1"),c&&(o=o.replace(r,"^$1")),o}t.exports.command=n,t.exports.argument=i}}),nu=(0,j.__commonJS)({"../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(e,t){"use strict";t.exports=/^#!(.*)/}}),iu=(0,j.__commonJS)({"../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(e,t){"use strict";var r=nu();t.exports=(n="")=>{let i=n.match(r);if(!i)return null;let[o,c]=i[0].replace(/#! ?/,"").split(" "),a=o.split("/").pop();return a==="env"?c:c?`${a} ${c}`:a}}}),su=(0,j.__commonJS)({"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(e,t){"use strict";var r=(0,j.__require)("fs"),n=iu();function i(o){let a=Buffer.alloc(150),s;try{s=r.openSync(o,"r"),r.readSync(s,a,0,150,0),r.closeSync(s)}catch{}return n(a.toString())}t.exports=i}}),au=(0,j.__commonJS)({"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(e,t){"use strict";var r=(0,j.__require)("path"),n=tu(),i=ru(),o=su(),c=process.platform==="win32",a=/\.(?:com|exe)$/i,s=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function l(_){_.file=n(_);let x=_.file&&o(_.file);return x?(_.args.unshift(_.file),_.command=x,n(_)):_.file}function d(_){if(!c)return _;let x=l(_),S=!a.test(x);if(_.options.forceShell||S){let E=s.test(x);_.command=r.normalize(_.command),_.command=i.command(_.command),_.args=_.args.map(y=>i.argument(y,E));let p=[_.command].concat(_.args).join(" ");_.args=["/d","/s","/c",`"${p}"`],_.command=process.env.comspec||"cmd.exe",_.options.windowsVerbatimArguments=!0}return _}function v(_,x,S){x&&!Array.isArray(x)&&(S=x,x=null),x=x?x.slice(0):[],S=Object.assign({},S);let E={command:_,args:x,options:S,file:void 0,original:{command:_,args:x}};return S.shell?E:d(E)}t.exports=v}}),ou=(0,j.__commonJS)({"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"(e,t){"use strict";var r=process.platform==="win32";function n(a,s){return Object.assign(new Error(`${s} ${a.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${s} ${a.command}`,path:a.command,spawnargs:a.args})}function i(a,s){if(!r)return;let l=a.emit;a.emit=function(d,v){if(d==="exit"){let _=o(v,s);if(_)return l.call(a,"error",_)}return l.apply(a,arguments)}}function o(a,s){return r&&a===1&&!s.file?n(s.original,"spawn"):null}function c(a,s){return r&&a===1&&!s.file?n(s.original,"spawnSync"):null}t.exports={hookChildProcess:i,verifyENOENT:o,verifyENOENTSync:c,notFoundError:n}}}),uu=(0,j.__commonJS)({"../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(e,t){"use strict";var r=(0,j.__require)("child_process"),n=au(),i=ou();function o(a,s,l){let d=n(a,s,l),v=r.spawn(d.command,d.args,d.options);return i.hookChildProcess(v,d),v}function c(a,s,l){let d=n(a,s,l),v=r.spawnSync(d.command,d.args,d.options);return v.error=v.error||i.verifyENOENTSync(v.status,d),v}t.exports=o,t.exports.spawn=o,t.exports.sync=c,t.exports._parse=n,t.exports._enoent=i}}),cu=(0,j.__commonJS)({"../../node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js"(e,t){"use strict";var{PassThrough:r}=(0,j.__require)("stream");t.exports=function(){var n=[],i=new r({objectMode:!0});return i.setMaxListeners(0),i.add=o,i.isEmpty=c,i.on("unpipe",a),Array.prototype.slice.call(arguments).forEach(o),i;function o(s){return Array.isArray(s)?(s.forEach(o),this):(n.push(s),s.once("end",a.bind(null,s)),s.once("error",i.emit.bind(i,"error")),s.pipe(i,{end:!1}),this)}function c(){return n.length==0}function a(s){n=n.filter(function(l){return l!==s}),!n.length&&i.readable&&i.end()}}}}),lu=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/utils/promisify.js"(e,t){"use strict";t.exports=r=>function(){let n=arguments.length,i=new Array(n);for(let o=0;o<n;o+=1)i[o]=arguments[o];return new Promise((o,c)=>{i.push((a,s)=>{a?c(a):o(s)}),r.apply(null,i)})}}}),ge=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/utils/fs.js"(e,t){"use strict";var r=(0,j.__require)("fs"),n=lu(),i=a=>[typeof r[a]=="function",!a.match(/Sync$/),!a.match(/^[A-Z]/),!a.match(/^create/),!a.match(/^(un)?watch/)].every(Boolean),o=a=>{let s=r[a];return n(s)},c=()=>{let a={};return Object.keys(r).forEach(s=>{i(s)?s==="exists"?a.exists=()=>{throw new Error("fs.exists() is deprecated")}:a[s]=o(s):a[s]=r[s]}),a};t.exports=c()}}),_e=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/utils/validate.js"(e,t){"use strict";var r=_=>{let x=S=>["a","e","i","o","u"].indexOf(S[0])!==-1?`an ${S}`:`a ${S}`;return _.map(x).join(" or ")},n=_=>/array of /.test(_),i=_=>_.split(" of ")[1],o=_=>n(_)?o(i(_)):["string","number","boolean","array","object","buffer","null","undefined","function"].some(x=>x===_),c=_=>_===null?"null":Array.isArray(_)?"array":Buffer.isBuffer(_)?"buffer":typeof _,a=(_,x,S)=>S.indexOf(_)===x,s=_=>{let x=c(_),S;return x==="array"&&(S=_.map(E=>c(E)).filter(a),x+=` of ${S.join(", ")}`),x},l=(_,x)=>{let S=i(x);return c(_)!=="array"?!1:_.every(E=>c(E)===S)},d=(_,x,S,E)=>{if(!E.some(y=>{if(!o(y))throw new Error(`Unknown type "${y}"`);return n(y)?l(S,y):y===c(S)}))throw new Error(`Argument "${x}" passed to ${_} must be ${r(E)}. Received ${s(S)}`)},v=(_,x,S,E)=>{S!==void 0&&(d(_,x,S,["object"]),Object.keys(S).forEach(p=>{let y=`${x}.${p}`;if(E[p]!==void 0)d(_,y,S[p],E[p]);else throw new Error(`Unknown argument "${y}" passed to ${_}`)}))};t.exports={argument:d,options:v}}}),rr=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/utils/mode.js"(e){"use strict";e.normalizeFileMode=t=>{let r;return typeof t=="number"?r=t.toString(8):r=t,r.substring(r.length-3)}}}),nr=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/remove.js"(e){"use strict";var t=ge(),r=_e(),n=(c,a)=>{let s=`${c}([path])`;r.argument(s,"path",a,["string","undefined"])},i=c=>{t.rmSync(c,{recursive:!0,force:!0,maxRetries:3})},o=c=>t.rm(c,{recursive:!0,force:!0,maxRetries:3});e.validateInput=n,e.sync=i,e.async=o}}),We=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/dir.js"(e){"use strict";var t=(0,j.__require)("path"),r=ge(),n=rr(),i=_e(),o=nr(),c=(u,f,m)=>{let h=`${u}(path, [criteria])`;i.argument(h,"path",f,["string"]),i.options(h,"criteria",m,{empty:["boolean"],mode:["string","number"]})},a=u=>{let f=u||{};return typeof f.empty!="boolean"&&(f.empty=!1),f.mode!==void 0&&(f.mode=n.normalizeFileMode(f.mode)),f},s=u=>new Error(`Path ${u} exists but is not a directory. Halting jetpack.dir() call for safety reasons.`),l=u=>{let f;try{f=r.statSync(u)}catch(m){if(m.code!=="ENOENT")throw m}if(f&&!f.isDirectory())throw s(u);return f},d=(u,f)=>{let m=f||{};try{r.mkdirSync(u,m.mode)}catch(h){if(h.code==="ENOENT")d(t.dirname(u),m),r.mkdirSync(u,m.mode);else if(h.code!=="EEXIST")throw h}},v=(u,f,m)=>{let h=()=>{let g=n.normalizeFileMode(f.mode);m.mode!==void 0&&m.mode!==g&&r.chmodSync(u,m.mode)},P=()=>{m.empty&&r.readdirSync(u).forEach(A=>{o.sync(t.resolve(u,A))})};h(),P()},_=(u,f)=>{let m=a(f),h=l(u);h?v(u,h,m):d(u,m)},x=u=>new Promise((f,m)=>{r.stat(u).then(h=>{h.isDirectory()?f(h):m(s(u))}).catch(h=>{h.code==="ENOENT"?f(void 0):m(h)})}),S=u=>new Promise((f,m)=>{r.readdir(u).then(h=>{let P=g=>{if(g===h.length)f();else{let A=t.resolve(u,h[g]);o.async(A).then(()=>{P(g+1)})}};P(0)}).catch(m)}),E=(u,f,m)=>new Promise((h,P)=>{let g=()=>{let b=n.normalizeFileMode(f.mode);return m.mode!==void 0&&m.mode!==b?r.chmod(u,m.mode):Promise.resolve()},A=()=>m.empty?S(u):Promise.resolve();g().then(A).then(h,P)}),p=(u,f)=>{let m=f||{};return new Promise((h,P)=>{r.mkdir(u,m.mode).then(h).catch(g=>{g.code==="ENOENT"?p(t.dirname(u),m).then(()=>r.mkdir(u,m.mode)).then(h).catch(A=>{A.code==="EEXIST"?h():P(A)}):g.code==="EEXIST"?h():P(g)})})},y=(u,f)=>new Promise((m,h)=>{let P=a(f);x(u).then(g=>g!==void 0?E(u,g,P):p(u,P)).then(m,h)});e.validateInput=c,e.sync=_,e.createSync=d,e.async=y,e.createAsync=p}}),gt=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/write.js"(e){"use strict";var t=(0,j.__require)("path"),r=ge(),n=_e(),i=We(),o=(S,E,p,y)=>{let u=`${S}(path, data, [options])`;n.argument(u,"path",E,["string"]),n.argument(u,"data",p,["string","buffer","object","array"]),n.options(u,"options",y,{mode:["string","number"],atomic:["boolean"],jsonIndent:["number"]})},c=".__new__",a=(S,E)=>{let p=E;return typeof p!="number"&&(p=2),typeof S=="object"&&!Buffer.isBuffer(S)&&S!==null?JSON.stringify(S,null,p):S},s=(S,E,p)=>{try{r.writeFileSync(S,E,p)}catch(y){if(y.code==="ENOENT")i.createSync(t.dirname(S)),r.writeFileSync(S,E,p);else throw y}},l=(S,E,p)=>{s(S+c,E,p),r.renameSync(S+c,S)},d=(S,E,p)=>{let y=p||{},u=a(E,y.jsonIndent),f=s;y.atomic&&(f=l),f(S,u,{mode:y.mode})},v=(S,E,p)=>new Promise((y,u)=>{r.writeFile(S,E,p).then(y).catch(f=>{f.code==="ENOENT"?i.createAsync(t.dirname(S)).then(()=>r.writeFile(S,E,p)).then(y,u):u(f)})}),_=(S,E,p)=>new Promise((y,u)=>{v(S+c,E,p).then(()=>r.rename(S+c,S)).then(y,u)}),x=(S,E,p)=>{let y=p||{},u=a(E,y.jsonIndent),f=v;return y.atomic&&(f=_),f(S,u,{mode:y.mode})};e.validateInput=o,e.sync=d,e.async=x}}),fu=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/append.js"(e){"use strict";var t=ge(),r=gt(),n=_e(),i=(a,s,l,d)=>{let v=`${a}(path, data, [options])`;n.argument(v,"path",s,["string"]),n.argument(v,"data",l,["string","buffer"]),n.options(v,"options",d,{mode:["string","number"]})},o=(a,s,l)=>{try{t.appendFileSync(a,s,l)}catch(d){if(d.code==="ENOENT")r.sync(a,s,l);else throw d}},c=(a,s,l)=>new Promise((d,v)=>{t.appendFile(a,s,l).then(d).catch(_=>{_.code==="ENOENT"?r.async(a,s,l).then(d,v):v(_)})});e.validateInput=i,e.sync=o,e.async=c}}),du=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/file.js"(e){"use strict";var t=ge(),r=rr(),n=_e(),i=gt(),o=(p,y,u)=>{let f=`${p}(path, [criteria])`;n.argument(f,"path",y,["string"]),n.options(f,"criteria",u,{content:["string","buffer","object","array"],jsonIndent:["number"],mode:["string","number"]})},c=p=>{let y=p||{};return y.mode!==void 0&&(y.mode=r.normalizeFileMode(y.mode)),y},a=p=>new Error(`Path ${p} exists but is not a file. Halting jetpack.file() call for safety reasons.`),s=p=>{let y;try{y=t.statSync(p)}catch(u){if(u.code!=="ENOENT")throw u}if(y&&!y.isFile())throw a(p);return y},l=(p,y,u)=>{let f=r.normalizeFileMode(y.mode),m=()=>u.content!==void 0?(i.sync(p,u.content,{mode:f,jsonIndent:u.jsonIndent}),!0):!1,h=()=>{u.mode!==void 0&&u.mode!==f&&t.chmodSync(p,u.mode)};m()||h()},d=(p,y)=>{let u="";y.content!==void 0&&(u=y.content),i.sync(p,u,{mode:y.mode,jsonIndent:y.jsonIndent})},v=(p,y)=>{let u=c(y),f=s(p);f!==void 0?l(p,f,u):d(p,u)},_=p=>new Promise((y,u)=>{t.stat(p).then(f=>{f.isFile()?y(f):u(a(p))}).catch(f=>{f.code==="ENOENT"?y(void 0):u(f)})}),x=(p,y,u)=>{let f=r.normalizeFileMode(y.mode),m=()=>new Promise((P,g)=>{u.content!==void 0?i.async(p,u.content,{mode:f,jsonIndent:u.jsonIndent}).then(()=>{P(!0)}).catch(g):P(!1)}),h=()=>{if(u.mode!==void 0&&u.mode!==f)return t.chmod(p,u.mode)};return m().then(P=>{if(!P)return h()})},S=(p,y)=>{let u="";return y.content!==void 0&&(u=y.content),i.async(p,u,{mode:y.mode,jsonIndent:y.jsonIndent})},E=(p,y)=>new Promise((u,f)=>{let m=c(y);_(p).then(h=>h!==void 0?x(p,h,m):S(p,m)).then(u,f)});e.validateInput=o,e.sync=v,e.async=E}}),tt=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/inspect.js"(e){"use strict";var t=(0,j.__require)("crypto"),r=(0,j.__require)("path"),n=ge(),i=_e(),o=["md5","sha1","sha256","sha512"],c=["report","follow"],a=(E,p,y)=>{let u=`${E}(path, [options])`;if(i.argument(u,"path",p,["string"]),i.options(u,"options",y,{checksum:["string"],mode:["boolean"],times:["boolean"],absolutePath:["boolean"],symlinks:["string"]}),y&&y.checksum!==void 0&&o.indexOf(y.checksum)===-1)throw new Error(`Argument "options.checksum" passed to ${u} must have one of values: ${o.join(", ")}`);if(y&&y.symlinks!==void 0&&c.indexOf(y.symlinks)===-1)throw new Error(`Argument "options.symlinks" passed to ${u} must have one of values: ${c.join(", ")}`)},s=(E,p,y)=>{let u={};return u.name=r.basename(E),y.isFile()?(u.type="file",u.size=y.size):y.isDirectory()?u.type="dir":y.isSymbolicLink()?u.type="symlink":u.type="other",p.mode&&(u.mode=y.mode),p.times&&(u.accessTime=y.atime,u.modifyTime=y.mtime,u.changeTime=y.ctime,u.birthTime=y.birthtime),p.absolutePath&&(u.absolutePath=E),u},l=(E,p)=>{let y=t.createHash(p),u=n.readFileSync(E);return y.update(u),y.digest("hex")},d=(E,p,y)=>{p.type==="file"&&y.checksum?p[y.checksum]=l(E,y.checksum):p.type==="symlink"&&(p.pointsAt=n.readlinkSync(E))},v=(E,p)=>{let y=n.lstatSync,u,f=p||{};f.symlinks==="follow"&&(y=n.statSync);try{u=y(E)}catch(h){if(h.code==="ENOENT")return;throw h}let m=s(E,f,u);return d(E,m,f),m},_=(E,p)=>new Promise((y,u)=>{let f=t.createHash(p),m=n.createReadStream(E);m.on("data",h=>{f.update(h)}),m.on("end",()=>{y(f.digest("hex"))}),m.on("error",u)}),x=(E,p,y)=>p.type==="file"&&y.checksum?_(E,y.checksum).then(u=>(p[y.checksum]=u,p)):p.type==="symlink"?n.readlink(E).then(u=>(p.pointsAt=u,p)):Promise.resolve(p),S=(E,p)=>new Promise((y,u)=>{let f=n.lstat,m=p||{};m.symlinks==="follow"&&(f=n.stat),f(E).then(h=>{let P=s(E,m,h);x(E,P,m).then(y,u)}).catch(h=>{h.code==="ENOENT"?y(void 0):u(h)})});e.supportedChecksumAlgorithms=o,e.symlinkOptions=c,e.validateInput=a,e.sync=v,e.async=S}}),ir=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/list.js"(e){"use strict";var t=ge(),r=_e(),n=(c,a)=>{let s=`${c}(path)`;r.argument(s,"path",a,["string","undefined"])},i=c=>{try{return t.readdirSync(c)}catch(a){if(a.code==="ENOENT")return;throw a}},o=c=>new Promise((a,s)=>{t.readdir(c).then(l=>{a(l)}).catch(l=>{l.code==="ENOENT"?a(void 0):s(l)})});e.validateInput=n,e.sync=i,e.async=o}}),sr=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/utils/tree_walker.js"(e){"use strict";var t=(0,j.__require)("fs"),r=(0,j.__require)("path"),n=tt(),i=ir(),o=l=>l.isDirectory()?"dir":l.isFile()?"file":l.isSymbolicLink()?"symlink":"other",c=(l,d,v)=>{d.maxLevelsDeep===void 0&&(d.maxLevelsDeep=1/0);let _=d.inspectOptions!==void 0;d.symlinks&&(d.inspectOptions===void 0?d.inspectOptions={symlinks:d.symlinks}:d.inspectOptions.symlinks=d.symlinks);let x=(E,p)=>{t.readdirSync(E,{withFileTypes:!0}).forEach(y=>{let u=typeof y=="string",f;u?f=r.join(E,y):f=r.join(E,y.name);let m;if(_)m=n.sync(f,d.inspectOptions);else if(u){let h=n.sync(f,d.inspectOptions);m={name:h.name,type:h.type}}else{let h=o(y);if(h==="symlink"&&d.symlinks==="follow"){let P=t.statSync(f);m={name:y.name,type:o(P)}}else m={name:y.name,type:h}}m!==void 0&&(v(f,m),m.type==="dir"&&p<d.maxLevelsDeep&&x(f,p+1))})},S=n.sync(l,d.inspectOptions);S?(_?v(l,S):v(l,{name:S.name,type:S.type}),S.type==="dir"&&x(l,1)):v(l,void 0)},a=5,s=(l,d,v,_)=>{d.maxLevelsDeep===void 0&&(d.maxLevelsDeep=1/0);let x=d.inspectOptions!==void 0;d.symlinks&&(d.inspectOptions===void 0?d.inspectOptions={symlinks:d.symlinks}:d.inspectOptions.symlinks=d.symlinks);let S=[],E=0,p=()=>{if(S.length===0&&E===0)_();else if(S.length>0&&E<a){let m=S.pop();E+=1,m()}},y=m=>{S.push(m),p()},u=()=>{E-=1,p()},f=(m,h)=>{let P=(g,A)=>{A.type==="dir"&&h<d.maxLevelsDeep&&f(g,h+1)};y(()=>{t.readdir(m,{withFileTypes:!0},(g,A)=>{g?_(g):(A.forEach(b=>{let T=typeof b=="string",R;if(T?R=r.join(m,b):R=r.join(m,b.name),x||T)y(()=>{n.async(R,d.inspectOptions).then(C=>{C!==void 0&&(x?v(R,C):v(R,{name:C.name,type:C.type}),P(R,C)),u()}).catch(C=>{_(C)})});else{let C=o(b);if(C==="symlink"&&d.symlinks==="follow")y(()=>{t.stat(R,(O,w)=>{if(O)_(O);else{let k={name:b.name,type:o(w)};v(R,k),P(R,k),u()}})});else{let O={name:b.name,type:C};v(R,O),P(R,O)}}}),u())})})};n.async(l,d.inspectOptions).then(m=>{m?(x?v(l,m):v(l,{name:m.name,type:m.type}),m.type==="dir"?f(l,1):_()):(v(l,void 0),_())}).catch(m=>{_(m)})};e.sync=c,e.async=s}}),pu=(0,j.__commonJS)({"../../node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/lib/path.js"(e,t){"use strict";var r=typeof process=="object"&&process&&process.platform==="win32";t.exports=r?{sep:"\\"}:{sep:"/"}}}),Un=(0,j.__commonJS)({"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js"(e,t){"use strict";t.exports=r;function r(o,c,a){o instanceof RegExp&&(o=n(o,a)),c instanceof RegExp&&(c=n(c,a));var s=i(o,c,a);return s&&{start:s[0],end:s[1],pre:a.slice(0,s[0]),body:a.slice(s[0]+o.length,s[1]),post:a.slice(s[1]+c.length)}}function n(o,c){var a=c.match(o);return a?a[0]:null}r.range=i;function i(o,c,a){var s,l,d,v,_,x=a.indexOf(o),S=a.indexOf(c,x+1),E=x;if(x>=0&&S>0){if(o===c)return[x,S];for(s=[],d=a.length;E>=0&&!_;)E==x?(s.push(E),x=a.indexOf(o,E+1)):s.length==1?_=[s.pop(),S]:(l=s.pop(),l<d&&(d=l,v=S),S=a.indexOf(c,E+1)),E=x<S&&x>=0?x:S;s.length&&(_=[d,v])}return _}}}),hu=(0,j.__commonJS)({"../../node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.js"(e,t){"use strict";var r=Un();t.exports=_;var n="\0SLASH"+Math.random()+"\0",i="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",a="\0PERIOD"+Math.random()+"\0";function s(u){return parseInt(u,10)==u?parseInt(u,10):u.charCodeAt(0)}function l(u){return u.split("\\\\").join(n).split("\\{").join(i).split("\\}").join(o).split("\\,").join(c).split("\\.").join(a)}function d(u){return u.split(n).join("\\").split(i).join("{").split(o).join("}").split(c).join(",").split(a).join(".")}function v(u){if(!u)return[""];var f=[],m=r("{","}",u);if(!m)return u.split(",");var h=m.pre,P=m.body,g=m.post,A=h.split(",");A[A.length-1]+="{"+P+"}";var b=v(g);return g.length&&(A[A.length-1]+=b.shift(),A.push.apply(A,b)),f.push.apply(f,A),f}function _(u){return u?(u.substr(0,2)==="{}"&&(u="\\{\\}"+u.substr(2)),y(l(u),!0).map(d)):[]}function x(u){return"{"+u+"}"}function S(u){return/^-?0\d/.test(u)}function E(u,f){return u<=f}function p(u,f){return u>=f}function y(u,f){var m=[],h=r("{","}",u);if(!h)return[u];var P=h.pre,g=h.post.length?y(h.post,!1):[""];if(/\$$/.test(h.pre))for(var A=0;A<g.length;A++){var b=P+"{"+h.body+"}"+g[A];m.push(b)}else{var T=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(h.body),R=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(h.body),C=T||R,O=h.body.indexOf(",")>=0;if(!C&&!O)return h.post.match(/,.*\}/)?(u=h.pre+"{"+h.body+o+h.post,y(u)):[u];var w;if(C)w=h.body.split(/\.\./);else if(w=v(h.body),w.length===1&&(w=y(w[0],!1).map(x),w.length===1))return g.map(function(M){return h.pre+w[0]+M});var k;if(C){var N=s(w[0]),q=s(w[1]),I=Math.max(w[0].length,w[1].length),F=w.length==3?Math.abs(s(w[2])):1,B=E,$=q<N;$&&(F*=-1,B=p);var H=w.some(S);k=[];for(var L=N;B(L,q);L+=F){var V;if(R)V=String.fromCharCode(L),V==="\\"&&(V="");else if(V=String(L),H){var ie=I-V.length;if(ie>0){var K=new Array(ie+1).join("0");L<0?V="-"+K+V.slice(1):V=K+V}}k.push(V)}}else{k=[];for(var D=0;D<w.length;D++)k.push.apply(k,y(w[D],!1))}for(var D=0;D<k.length;D++)for(var A=0;A<g.length;A++){var b=P+k[D]+g[A];(!f||C||b)&&m.push(b)}}return m}}}),mu=(0,j.__commonJS)({"../../node_modules/.pnpm/minimatch@5.1.0/node_modules/minimatch/minimatch.js"(e,t){"use strict";var r=t.exports=(g,A,b={})=>(u(A),!b.nocomment&&A.charAt(0)==="#"?!1:new P(A,b).match(g));t.exports=r;var n=pu();r.sep=n.sep;var i=Symbol("globstar **");r.GLOBSTAR=i;var o=hu(),c={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="[^/]",s=a+"*?",l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",d="(?:(?!(?:\\/|^)\\.).)*?",v=g=>g.split("").reduce((A,b)=>(A[b]=!0,A),{}),_=v("().*{}+?[]^$\\!"),x=v("[.("),S=/\/+/;r.filter=(g,A={})=>(b,T,R)=>r(b,g,A);var E=(g,A={})=>{let b={};return Object.keys(g).forEach(T=>b[T]=g[T]),Object.keys(A).forEach(T=>b[T]=A[T]),b};r.defaults=g=>{if(!g||typeof g!="object"||!Object.keys(g).length)return r;let A=r,b=(T,R,C)=>A(T,R,E(g,C));return b.Minimatch=class extends A.Minimatch{constructor(R,C){super(R,E(g,C))}},b.Minimatch.defaults=T=>A.defaults(E(g,T)).Minimatch,b.filter=(T,R)=>A.filter(T,E(g,R)),b.defaults=T=>A.defaults(E(g,T)),b.makeRe=(T,R)=>A.makeRe(T,E(g,R)),b.braceExpand=(T,R)=>A.braceExpand(T,E(g,R)),b.match=(T,R,C)=>A.match(T,R,E(g,C)),b},r.braceExpand=(g,A)=>p(g,A);var p=(g,A={})=>(u(g),A.nobrace||!/\{(?:(?!\{).)*\}/.test(g)?[g]:o(g)),y=1024*64,u=g=>{if(typeof g!="string")throw new TypeError("invalid pattern");if(g.length>y)throw new TypeError("pattern is too long")},f=Symbol("subparse");r.makeRe=(g,A)=>new P(g,A||{}).makeRe(),r.match=(g,A,b={})=>{let T=new P(A,b);return g=g.filter(R=>T.match(R)),T.options.nonull&&!g.length&&g.push(A),g};var m=g=>g.replace(/\\(.)/g,"$1"),h=g=>g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),P=class{constructor(g,A){u(g),A||(A={}),this.options=A,this.set=[],this.pattern=g,this.windowsPathsNoEscape=!!A.windowsPathsNoEscape||A.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!A.partial,this.make()}debug(){}make(){let g=this.pattern,A=this.options;if(!A.nocomment&&g.charAt(0)==="#"){this.comment=!0;return}if(!g){this.empty=!0;return}this.parseNegate();let b=this.globSet=this.braceExpand();A.debug&&(this.debug=(...T)=>console.error(...T)),this.debug(this.pattern,b),b=this.globParts=b.map(T=>T.split(S)),this.debug(this.pattern,b),b=b.map((T,R,C)=>T.map(this.parse,this)),this.debug(this.pattern,b),b=b.filter(T=>T.indexOf(!1)===-1),this.debug(this.pattern,b),this.set=b}parseNegate(){if(this.options.nonegate)return;let g=this.pattern,A=!1,b=0;for(let T=0;T<g.length&&g.charAt(T)==="!";T++)A=!A,b++;b&&(this.pattern=g.substr(b)),this.negate=A}matchOne(g,A,b){var T=this.options;this.debug("matchOne",{this:this,file:g,pattern:A}),this.debug("matchOne",g.length,A.length);for(var R=0,C=0,O=g.length,w=A.length;R<O&&C<w;R++,C++){this.debug("matchOne loop");var k=A[C],N=g[R];if(this.debug(A,k,N),k===!1)return!1;if(k===i){this.debug("GLOBSTAR",[A,k,N]);var q=R,I=C+1;if(I===w){for(this.debug("** at the end");R<O;R++)if(g[R]==="."||g[R]===".."||!T.dot&&g[R].charAt(0)===".")return!1;return!0}for(;q<O;){var F=g[q];if(this.debug(`
5
+ globstar while`,g,q,A,I,F),this.matchOne(g.slice(q),A.slice(I),b))return this.debug("globstar found match!",q,O,F),!0;if(F==="."||F===".."||!T.dot&&F.charAt(0)==="."){this.debug("dot detected!",g,q,A,I);break}this.debug("globstar swallow a segment, and continue"),q++}return!!(b&&(this.debug(`
6
+ >>> no match, partial?`,g,q,A,I),q===O))}var B;if(typeof k=="string"?(B=N===k,this.debug("string match",k,N,B)):(B=N.match(k),this.debug("pattern match",k,N,B)),!B)return!1}if(R===O&&C===w)return!0;if(R===O)return b;if(C===w)return R===O-1&&g[R]==="";throw new Error("wtf?")}braceExpand(){return p(this.pattern,this.options)}parse(g,A){u(g);let b=this.options;if(g==="**")if(b.noglobstar)g="*";else return i;if(g==="")return"";let T="",R=!!b.nocase,C=!1,O=[],w=[],k,N=!1,q=-1,I=-1,F,B,$,H=g.charAt(0)==="."?"":b.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",L=()=>{if(k){switch(k){case"*":T+=s,R=!0;break;case"?":T+=a,R=!0;break;default:T+="\\"+k;break}this.debug("clearStateChar %j %j",k,T),k=!1}};for(let K=0,D;K<g.length&&(D=g.charAt(K));K++){if(this.debug("%s %s %s %j",g,K,T,D),C){if(D==="/")return!1;_[D]&&(T+="\\"),T+=D,C=!1;continue}switch(D){case"/":return!1;case"\\":L(),C=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",g,K,T,D),N){this.debug(" in class"),D==="!"&&K===I+1&&(D="^"),T+=D;continue}this.debug("call clearStateChar %j",k),L(),k=D,b.noext&&L();continue;case"(":if(N){T+="(";continue}if(!k){T+="\\(";continue}O.push({type:k,start:K-1,reStart:T.length,open:c[k].open,close:c[k].close}),T+=k==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",k,T),k=!1;continue;case")":if(N||!O.length){T+="\\)";continue}L(),R=!0,B=O.pop(),T+=B.close,B.type==="!"&&w.push(B),B.reEnd=T.length;continue;case"|":if(N||!O.length){T+="\\|";continue}L(),T+="|";continue;case"[":if(L(),N){T+="\\"+D;continue}N=!0,I=K,q=T.length,T+=D;continue;case"]":if(K===I+1||!N){T+="\\"+D;continue}F=g.substring(I+1,K);try{RegExp("["+F+"]")}catch{$=this.parse(F,f),T=T.substr(0,q)+"\\["+$[0]+"\\]",R=R||$[1],N=!1;continue}R=!0,N=!1,T+=D;continue;default:L(),_[D]&&!(D==="^"&&N)&&(T+="\\"),T+=D;break}}for(N&&(F=g.substr(I+1),$=this.parse(F,f),T=T.substr(0,q)+"\\["+$[0],R=R||$[1]),B=O.pop();B;B=O.pop()){let K;K=T.slice(B.reStart+B.open.length),this.debug("setting tail",T,B),K=K.replace(/((?:\\{2}){0,64})(\\?)\|/g,(M,G,J)=>(J||(J="\\"),G+G+J+"|")),this.debug(`tail=%j
7
+ %s`,K,K,B,T);let D=B.type==="*"?s:B.type==="?"?a:"\\"+B.type;R=!0,T=T.slice(0,B.reStart)+D+"\\("+K}L(),C&&(T+="\\\\");let V=x[T.charAt(0)];for(let K=w.length-1;K>-1;K--){let D=w[K],M=T.slice(0,D.reStart),G=T.slice(D.reStart,D.reEnd-8),J=T.slice(D.reEnd),ee=T.slice(D.reEnd-8,D.reEnd)+J,re=M.split("(").length-1,X=J;for(let te=0;te<re;te++)X=X.replace(/\)[+*?]?/,"");J=X;let z=J===""&&A!==f?"$":"";T=M+G+J+z+ee}if(T!==""&&R&&(T="(?=.)"+T),V&&(T=H+T),A===f)return[T,R];if(!R)return m(g);let ie=b.nocase?"i":"";try{return Object.assign(new RegExp("^"+T+"$",ie),{_glob:g,_src:T})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let g=this.set;if(!g.length)return this.regexp=!1,this.regexp;let A=this.options,b=A.noglobstar?s:A.dot?l:d,T=A.nocase?"i":"",R=g.map(C=>(C=C.map(O=>typeof O=="string"?h(O):O===i?i:O._src).reduce((O,w)=>(O[O.length-1]===i&&w===i||O.push(w),O),[]),C.forEach((O,w)=>{O!==i||C[w-1]===i||(w===0?C.length>1?C[w+1]="(?:\\/|"+b+"\\/)?"+C[w+1]:C[w]=b:w===C.length-1?C[w-1]+="(?:\\/|"+b+")?":(C[w-1]+="(?:\\/|\\/"+b+"\\/)"+C[w+1],C[w+1]=i))}),C.filter(O=>O!==i).join("/"))).join("|");R="^(?:"+R+")$",this.negate&&(R="^(?!"+R+").*$");try{this.regexp=new RegExp(R,T)}catch{this.regexp=!1}return this.regexp}match(g,A=this.partial){if(this.debug("match",g,this.pattern),this.comment)return!1;if(this.empty)return g==="";if(g==="/"&&A)return!0;let b=this.options;n.sep!=="/"&&(g=g.split(n.sep).join("/")),g=g.split(S),this.debug(this.pattern,"split",g);let T=this.set;this.debug(this.pattern,"set",T);let R;for(let C=g.length-1;C>=0&&(R=g[C],!R);C--);for(let C=0;C<T.length;C++){let O=T[C],w=g;if(b.matchBase&&O.length===1&&(w=[R]),this.matchOne(w,O,A))return b.flipNegate?!0:!this.negate}return b.flipNegate?!1:this.negate}static defaults(g){return r.defaults(g).Minimatch}};r.Minimatch=P}}),Vn=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/utils/matcher.js"(e){"use strict";var t=mu().Minimatch,r=(n,i)=>{let o=i.indexOf("/")!==-1,c=/^!?\//.test(i),a=/^!/.test(i),s;if(!c&&o){let l=i.replace(/^!/,"").replace(/^\.\//,"");return/\/$/.test(n)?s="":s="/",a?`!${n}${s}${l}`:`${n}${s}${l}`}return i};e.create=(n,i,o)=>{let c;typeof i=="string"?c=[i]:c=i;let a=c.map(l=>r(n,l)).map(l=>new t(l,{matchBase:!0,nocomment:!0,nocase:o||!1,dot:!0,windowsPathsNoEscape:!0}));return l=>{let d="matching",v=!1,_,x;for(x=0;x<a.length;x+=1){if(_=a[x],_.negate&&(d="negation",x===0&&(v=!0)),d==="negation"&&v&&!_.match(l))return!1;d==="matching"&&!v&&(v=_.match(l))}return v}}}}),vu=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/find.js"(e){"use strict";var t=(0,j.__require)("path"),r=sr(),n=tt(),i=Vn(),o=_e(),c=(E,p,y)=>{let u=`${E}([path], options)`;o.argument(u,"path",p,["string"]),o.options(u,"options",y,{matching:["string","array of string"],filter:["function"],files:["boolean"],directories:["boolean"],recursive:["boolean"],ignoreCase:["boolean"]})},a=E=>{let p=E||{};return p.matching===void 0&&(p.matching="*"),p.files===void 0&&(p.files=!0),p.ignoreCase===void 0&&(p.ignoreCase=!1),p.directories===void 0&&(p.directories=!1),p.recursive===void 0&&(p.recursive=!0),p},s=(E,p)=>E.map(y=>t.relative(p,y)),l=E=>{let p=new Error(`Path you want to find stuff in doesn't exist ${E}`);return p.code="ENOENT",p},d=E=>{let p=new Error(`Path you want to find stuff in must be a directory ${E}`);return p.code="ENOTDIR",p},v=(E,p)=>{let y=[],u=i.create(E,p.matching,p.ignoreCase),f=1/0;return p.recursive===!1&&(f=1),r.sync(E,{maxLevelsDeep:f,symlinks:"follow",inspectOptions:{times:!0,absolutePath:!0}},(m,h)=>{h&&m!==E&&u(m)&&(h.type==="file"&&p.files===!0||h.type==="dir"&&p.directories===!0)&&(p.filter?p.filter(h)&&y.push(m):y.push(m))}),y.sort(),s(y,p.cwd)},_=(E,p)=>{let y=n.sync(E,{symlinks:"follow"});if(y===void 0)throw l(E);if(y.type!=="dir")throw d(E);return v(E,a(p))},x=(E,p)=>new Promise((y,u)=>{let f=[],m=i.create(E,p.matching,p.ignoreCase),h=1/0;p.recursive===!1&&(h=1);let P=0,g=!1,A=()=>{g&&P===0&&(f.sort(),y(s(f,p.cwd)))};r.async(E,{maxLevelsDeep:h,symlinks:"follow",inspectOptions:{times:!0,absolutePath:!0}},(b,T)=>{if(T&&b!==E&&m(b)&&(T.type==="file"&&p.files===!0||T.type==="dir"&&p.directories===!0))if(p.filter){let C=p.filter(T);typeof C.then=="function"?(P+=1,C.then(w=>{w&&f.push(b),P-=1,A()}).catch(w=>{u(w)})):C&&f.push(b)}else f.push(b)},b=>{b?u(b):(g=!0,A())})}),S=(E,p)=>n.async(E,{symlinks:"follow"}).then(y=>{if(y===void 0)throw l(E);if(y.type!=="dir")throw d(E);return x(E,a(p))});e.validateInput=c,e.sync=_,e.async=S}}),_u=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/inspect_tree.js"(e){"use strict";var t=(0,j.__require)("crypto"),r=(0,j.__require)("path"),n=tt(),i=ir(),o=_e(),c=sr(),a=(S,E,p)=>{let y=`${S}(path, [options])`;if(o.argument(y,"path",E,["string"]),o.options(y,"options",p,{checksum:["string"],relativePath:["boolean"],times:["boolean"],symlinks:["string"]}),p&&p.checksum!==void 0&&n.supportedChecksumAlgorithms.indexOf(p.checksum)===-1)throw new Error(`Argument "options.checksum" passed to ${y} must have one of values: ${n.supportedChecksumAlgorithms.join(", ")}`);if(p&&p.symlinks!==void 0&&n.symlinkOptions.indexOf(p.symlinks)===-1)throw new Error(`Argument "options.symlinks" passed to ${y} must have one of values: ${n.symlinkOptions.join(", ")}`)},s=(S,E)=>S===void 0?".":S.relativePath+"/"+E.name,l=(S,E)=>{let p=t.createHash(E);return S.forEach(y=>{p.update(y.name+y[E])}),p.digest("hex")},d=(S,E,p)=>{p.relativePath&&(E.relativePath=s(S,E)),E.type==="dir"&&(E.children.forEach(y=>{d(E,y,p)}),E.size=0,E.children.sort((y,u)=>y.type==="dir"&&u.type==="file"?-1:y.type==="file"&&u.type==="dir"?1:y.name.localeCompare(u.name)),E.children.forEach(y=>{E.size+=y.size||0}),p.checksum&&(E[p.checksum]=l(E.children,p.checksum)))},v=(S,E,p)=>{let y=E[0];if(E.length>1){let u=S.children.find(f=>f.name===y);return v(u,E.slice(1),p)}return S},_=(S,E)=>{let p=E||{},y;return c.sync(S,{inspectOptions:p},(u,f)=>{if(f){f.type==="dir"&&(f.children=[]);let m=r.relative(S,u);m===""?y=f:v(y,m.split(r.sep),f).children.push(f)}}),y&&d(void 0,y,p),y},x=(S,E)=>{let p=E||{},y;return new Promise((u,f)=>{c.async(S,{inspectOptions:p},(m,h)=>{if(h){h.type==="dir"&&(h.children=[]);let P=r.relative(S,m);P===""?y=h:v(y,P.split(r.sep),h).children.push(h)}},m=>{m?f(m):(y&&d(void 0,y,p),u(y))})})};e.validateInput=a,e.sync=_,e.async=x}}),ar=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/exists.js"(e){"use strict";var t=ge(),r=_e(),n=(c,a)=>{let s=`${c}(path)`;r.argument(s,"path",a,["string"])},i=c=>{try{let a=t.statSync(c);return a.isDirectory()?"dir":a.isFile()?"file":"other"}catch(a){if(a.code!=="ENOENT")throw a}return!1},o=c=>new Promise((a,s)=>{t.stat(c).then(l=>{l.isDirectory()?a("dir"):l.isFile()?a("file"):a("other")}).catch(l=>{l.code==="ENOENT"?a(!1):s(l)})});e.validateInput=n,e.sync=i,e.async=o}}),Kn=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/copy.js"(e){"use strict";var t=(0,j.__require)("path"),r=ge(),n=We(),i=ar(),o=tt(),c=gt(),a=Vn(),s=rr(),l=sr(),d=_e(),v=(O,w,k,N)=>{let q=`${O}(from, to, [options])`;d.argument(q,"from",w,["string"]),d.argument(q,"to",k,["string"]),d.options(q,"options",N,{overwrite:["boolean","function"],matching:["string","array of string"],ignoreCase:["boolean"]})},_=(O,w)=>{let k=O||{},N={};return k.ignoreCase===void 0&&(k.ignoreCase=!1),N.overwrite=k.overwrite,k.matching?N.allowedToCopy=a.create(w,k.matching,k.ignoreCase):N.allowedToCopy=()=>!0,N},x=O=>{let w=new Error(`Path to copy doesn't exist ${O}`);return w.code="ENOENT",w},S=O=>{let w=new Error(`Destination path already exists ${O}`);return w.code="EEXIST",w},E={mode:!0,symlinks:"report",times:!0,absolutePath:!0},p=O=>typeof O.opts.overwrite!="function"&&O.opts.overwrite!==!0,y=(O,w,k)=>{if(!i.sync(O))throw x(O);if(i.sync(w)&&!k.overwrite)throw S(w)},u=O=>{if(typeof O.opts.overwrite=="function"){let w=o.sync(O.destPath,E);return O.opts.overwrite(O.srcInspectData,w)}return O.opts.overwrite===!0},f=(O,w,k,N)=>{let q=r.readFileSync(O);try{r.writeFileSync(w,q,{mode:k,flag:"wx"})}catch(I){if(I.code==="ENOENT")c.sync(w,q,{mode:k});else if(I.code==="EEXIST"){if(u(N))r.writeFileSync(w,q,{mode:k});else if(p(N))throw S(N.destPath)}else throw I}},m=(O,w)=>{let k=r.readlinkSync(O);try{r.symlinkSync(k,w)}catch(N){if(N.code==="EEXIST")r.unlinkSync(w),r.symlinkSync(k,w);else throw N}},h=(O,w,k,N)=>{let q={srcPath:O,destPath:k,srcInspectData:w,opts:N},I=s.normalizeFileMode(w.mode);w.type==="dir"?n.createSync(k,{mode:I}):w.type==="file"?f(O,k,I,q):w.type==="symlink"&&m(O,k)},P=(O,w,k)=>{let N=_(k,O);y(O,w,N),l.sync(O,{inspectOptions:E},(q,I)=>{let F=t.relative(O,q),B=t.resolve(w,F);N.allowedToCopy(q,B,I)&&h(q,I,B,N)})},g=(O,w,k)=>i.async(O).then(N=>{if(N)return i.async(w);throw x(O)}).then(N=>{if(N&&!k.overwrite)throw S(w)}),A=O=>new Promise((w,k)=>{typeof O.opts.overwrite=="function"?o.async(O.destPath,E).then(N=>{w(O.opts.overwrite(O.srcInspectData,N))}).catch(k):w(O.opts.overwrite===!0)}),b=(O,w,k,N,q)=>new Promise((I,F)=>{let B=q||{},$="wx";B.overwrite&&($="w");let H=r.createReadStream(O),L=r.createWriteStream(w,{mode:k,flags:$});H.on("error",F),L.on("error",V=>{H.resume(),V.code==="ENOENT"?n.createAsync(t.dirname(w)).then(()=>{b(O,w,k,N).then(I,F)}).catch(F):V.code==="EEXIST"?A(N).then(ie=>{ie?b(O,w,k,N,{overwrite:!0}).then(I,F):p(N)?F(S(w)):I()}).catch(F):F(V)}),L.on("finish",I),H.pipe(L)}),T=(O,w)=>r.readlink(O).then(k=>new Promise((N,q)=>{r.symlink(k,w).then(N).catch(I=>{I.code==="EEXIST"?r.unlink(w).then(()=>r.symlink(k,w)).then(N,q):q(I)})})),R=(O,w,k,N)=>{let q={srcPath:O,destPath:k,srcInspectData:w,opts:N},I=s.normalizeFileMode(w.mode);return w.type==="dir"?n.createAsync(k,{mode:I}):w.type==="file"?b(O,k,I,q):w.type==="symlink"?T(O,k):Promise.resolve()},C=(O,w,k)=>new Promise((N,q)=>{let I=_(k,O);g(O,w,I).then(()=>{let F=!1,B=0;l.async(O,{inspectOptions:E},($,H)=>{if(H){let L=t.relative(O,$),V=t.resolve(w,L);I.allowedToCopy($,H,V)&&(B+=1,R($,H,V,I).then(()=>{B-=1,F&&B===0&&N()}).catch(q))}},$=>{$?q($):(F=!0,F&&B===0&&N())})}).catch(q)});e.validateInput=v,e.sync=P,e.async=C}}),Xn=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/move.js"(e){"use strict";var t=(0,j.__require)("path"),r=ge(),n=_e(),i=Kn(),o=We(),c=ar(),a=nr(),s=(E,p,y,u)=>{let f=`${E}(from, to, [options])`;n.argument(f,"from",p,["string"]),n.argument(f,"to",y,["string"]),n.options(f,"options",u,{overwrite:["boolean"]})},l=E=>E||{},d=E=>{let p=new Error(`Destination path already exists ${E}`);return p.code="EEXIST",p},v=E=>{let p=new Error(`Path to move doesn't exist ${E}`);return p.code="ENOENT",p},_=(E,p,y)=>{let u=l(y);if(c.sync(p)!==!1&&u.overwrite!==!0)throw d(p);try{r.renameSync(E,p)}catch(f){if(f.code==="EISDIR"||f.code==="EPERM")a.sync(p),r.renameSync(E,p);else if(f.code==="EXDEV")i.sync(E,p,{overwrite:!0}),a.sync(E);else if(f.code==="ENOENT"){if(!c.sync(E))throw v(E);o.createSync(t.dirname(p)),r.renameSync(E,p)}else throw f}},x=E=>new Promise((p,y)=>{let u=t.dirname(E);c.async(u).then(f=>{f?y():o.createAsync(u).then(p,y)}).catch(y)}),S=(E,p,y)=>{let u=l(y);return new Promise((f,m)=>{c.async(p).then(h=>{h!==!1&&u.overwrite!==!0?m(d(p)):r.rename(E,p).then(f).catch(P=>{P.code==="EISDIR"||P.code==="EPERM"?a.async(p).then(()=>r.rename(E,p)).then(f,m):P.code==="EXDEV"?i.async(E,p,{overwrite:!0}).then(()=>a.async(E)).then(f,m):P.code==="ENOENT"?c.async(E).then(g=>{g?x(p).then(()=>r.rename(E,p)).then(f,m):m(v(E))}).catch(m):m(P)})})})};e.validateInput=s,e.sync=_,e.async=S}}),yu=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/read.js"(e){"use strict";var t=ge(),r=_e(),n=["utf8","buffer","json","jsonWithDates"],i=(l,d,v)=>{let _=`${l}(path, returnAs)`;if(r.argument(_,"path",d,["string"]),r.argument(_,"returnAs",v,["string","undefined"]),v&&n.indexOf(v)===-1)throw new Error(`Argument "returnAs" passed to ${_} must have one of values: ${n.join(", ")}`)},o=(l,d)=>typeof d=="string"&&/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*))(?:Z|(\+|-)([\d|:]*))?$/.exec(d)?new Date(d):d,c=(l,d)=>{let v=new Error(`JSON parsing failed while reading ${l} [${d}]`);return v.originalError=d,v},a=(l,d)=>{let v=d||"utf8",_,x="utf8";v==="buffer"&&(x=null);try{_=t.readFileSync(l,{encoding:x})}catch(S){if(S.code==="ENOENT")return;throw S}try{v==="json"?_=JSON.parse(_):v==="jsonWithDates"&&(_=JSON.parse(_,o))}catch(S){throw c(l,S)}return _},s=(l,d)=>new Promise((v,_)=>{let x=d||"utf8",S="utf8";x==="buffer"&&(S=null),t.readFile(l,{encoding:S}).then(E=>{try{v(x==="json"?JSON.parse(E):x==="jsonWithDates"?JSON.parse(E,o):E)}catch(p){_(c(l,p))}}).catch(E=>{E.code==="ENOENT"?v(void 0):_(E)})});e.validateInput=i,e.sync=a,e.async=s}}),gu=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/rename.js"(e){"use strict";var t=(0,j.__require)("path"),r=Xn(),n=_e(),i=(a,s,l,d)=>{let v=`${a}(path, newName, [options])`;if(n.argument(v,"path",s,["string"]),n.argument(v,"newName",l,["string"]),n.options(v,"options",d,{overwrite:["boolean"]}),t.basename(l)!==l)throw new Error(`Argument "newName" passed to ${v} should be a filename, not a path. Received "${l}"`)},o=(a,s,l)=>{let d=t.join(t.dirname(a),s);r.sync(a,d,l)},c=(a,s,l)=>{let d=t.join(t.dirname(a),s);return r.async(a,d,l)};e.validateInput=i,e.sync=o,e.async=c}}),Su=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/symlink.js"(e){"use strict";var t=(0,j.__require)("path"),r=ge(),n=_e(),i=We(),o=(s,l,d)=>{let v=`${s}(symlinkValue, path)`;n.argument(v,"symlinkValue",l,["string"]),n.argument(v,"path",d,["string"])},c=(s,l)=>{try{r.symlinkSync(s,l)}catch(d){if(d.code==="ENOENT")i.createSync(t.dirname(l)),r.symlinkSync(s,l);else throw d}},a=(s,l)=>new Promise((d,v)=>{r.symlink(s,l).then(d).catch(_=>{_.code==="ENOENT"?i.createAsync(t.dirname(l)).then(()=>r.symlink(s,l)).then(d,v):v(_)})});e.validateInput=o,e.sync=c,e.async=a}}),bu=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/streams.js"(e){"use strict";var t=(0,j.__require)("fs");e.createWriteStream=t.createWriteStream,e.createReadStream=t.createReadStream}}),wu=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/tmp_dir.js"(e){"use strict";var t=(0,j.__require)("path"),r=(0,j.__require)("os"),n=(0,j.__require)("crypto"),i=We(),o=ge(),c=_e(),a=(_,x)=>{let S=`${_}([options])`;c.options(S,"options",x,{prefix:["string"],basePath:["string"]})},s=(_,x)=>{_=_||{};let S={};return typeof _.prefix!="string"?S.prefix="":S.prefix=_.prefix,typeof _.basePath=="string"?S.basePath=t.resolve(x,_.basePath):S.basePath=r.tmpdir(),S},l=32,d=(_,x)=>{let S=s(x,_),E=n.randomBytes(l/2).toString("hex"),p=t.join(S.basePath,S.prefix+E);try{o.mkdirSync(p)}catch(y){if(y.code==="ENOENT")i.sync(p);else throw y}return p},v=(_,x)=>new Promise((S,E)=>{let p=s(x,_);n.randomBytes(l/2,(y,u)=>{if(y)E(y);else{let f=u.toString("hex"),m=t.join(p.basePath,p.prefix+f);o.mkdir(m,h=>{h?h.code==="ENOENT"?i.async(m).then(()=>{S(m)},E):E(h):S(m)})}})});e.validateInput=a,e.sync=d,e.async=v}}),Eu=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/lib/jetpack.js"(e,t){"use strict";var r=(0,j.__require)("util"),n=(0,j.__require)("path"),i=fu(),o=We(),c=du(),a=vu(),s=tt(),l=_u(),d=Kn(),v=ar(),_=ir(),x=Xn(),S=yu(),E=nr(),p=gu(),y=Su(),u=bu(),f=wu(),m=gt(),h=P=>{let g=()=>P||process.cwd(),A=function(){if(arguments.length===0)return g();let O=Array.prototype.slice.call(arguments),w=[g()].concat(O);return h(n.resolve.apply(null,w))},b=O=>n.resolve(g(),O),T=function(){return Array.prototype.unshift.call(arguments,g()),n.resolve.apply(null,arguments)},R=O=>{let w=O||{};return w.cwd=g(),w},C={cwd:A,path:T,append:(O,w,k)=>{i.validateInput("append",O,w,k),i.sync(b(O),w,k)},appendAsync:(O,w,k)=>(i.validateInput("appendAsync",O,w,k),i.async(b(O),w,k)),copy:(O,w,k)=>{d.validateInput("copy",O,w,k),d.sync(b(O),b(w),k)},copyAsync:(O,w,k)=>(d.validateInput("copyAsync",O,w,k),d.async(b(O),b(w),k)),createWriteStream:(O,w)=>u.createWriteStream(b(O),w),createReadStream:(O,w)=>u.createReadStream(b(O),w),dir:(O,w)=>{o.validateInput("dir",O,w);let k=b(O);return o.sync(k,w),A(k)},dirAsync:(O,w)=>(o.validateInput("dirAsync",O,w),new Promise((k,N)=>{let q=b(O);o.async(q,w).then(()=>{k(A(q))},N)})),exists:O=>(v.validateInput("exists",O),v.sync(b(O))),existsAsync:O=>(v.validateInput("existsAsync",O),v.async(b(O))),file:(O,w)=>(c.validateInput("file",O,w),c.sync(b(O),w),C),fileAsync:(O,w)=>(c.validateInput("fileAsync",O,w),new Promise((k,N)=>{c.async(b(O),w).then(()=>{k(C)},N)})),find:(O,w)=>(typeof w>"u"&&typeof O=="object"&&(w=O,O="."),a.validateInput("find",O,w),a.sync(b(O),R(w))),findAsync:(O,w)=>(typeof w>"u"&&typeof O=="object"&&(w=O,O="."),a.validateInput("findAsync",O,w),a.async(b(O),R(w))),inspect:(O,w)=>(s.validateInput("inspect",O,w),s.sync(b(O),w)),inspectAsync:(O,w)=>(s.validateInput("inspectAsync",O,w),s.async(b(O),w)),inspectTree:(O,w)=>(l.validateInput("inspectTree",O,w),l.sync(b(O),w)),inspectTreeAsync:(O,w)=>(l.validateInput("inspectTreeAsync",O,w),l.async(b(O),w)),list:O=>(_.validateInput("list",O),_.sync(b(O||"."))),listAsync:O=>(_.validateInput("listAsync",O),_.async(b(O||"."))),move:(O,w,k)=>{x.validateInput("move",O,w,k),x.sync(b(O),b(w),k)},moveAsync:(O,w,k)=>(x.validateInput("moveAsync",O,w,k),x.async(b(O),b(w),k)),read:(O,w)=>(S.validateInput("read",O,w),S.sync(b(O),w)),readAsync:(O,w)=>(S.validateInput("readAsync",O,w),S.async(b(O),w)),remove:O=>{E.validateInput("remove",O),E.sync(b(O||"."))},removeAsync:O=>(E.validateInput("removeAsync",O),E.async(b(O||"."))),rename:(O,w,k)=>{p.validateInput("rename",O,w,k),p.sync(b(O),w,k)},renameAsync:(O,w,k)=>(p.validateInput("renameAsync",O,w,k),p.async(b(O),w,k)),symlink:(O,w)=>{y.validateInput("symlink",O,w),y.sync(O,b(w))},symlinkAsync:(O,w)=>(y.validateInput("symlinkAsync",O,w),y.async(O,b(w))),tmpDir:O=>{f.validateInput("tmpDir",O);let w=f.sync(g(),O);return A(w)},tmpDirAsync:O=>(f.validateInput("tmpDirAsync",O),new Promise((w,k)=>{f.async(g(),O).then(N=>{w(A(N))},k)})),write:(O,w,k)=>{m.validateInput("write",O,w,k),m.sync(b(O),w,k)},writeAsync:(O,w,k)=>(m.validateInput("writeAsync",O,w,k),m.async(b(O),w,k))};return r.inspect.custom!==void 0&&(C[r.inspect.custom]=()=>`[fs-jetpack CWD: ${g()}]`),C};t.exports=h}}),Au=(0,j.__commonJS)({"../../node_modules/.pnpm/fs-jetpack@5.1.0/node_modules/fs-jetpack/main.js"(e,t){"use strict";var r=Eu();t.exports=r()}}),Ou=(0,j.__commonJS)({"../../node_modules/.pnpm/crypto-random-string@2.0.0/node_modules/crypto-random-string/index.js"(e,t){"use strict";var r=(0,j.__require)("crypto");t.exports=n=>{if(!Number.isFinite(n))throw new TypeError("Expected a finite number");return r.randomBytes(Math.ceil(n/2)).toString("hex").slice(0,n)}}}),Pu=(0,j.__commonJS)({"../../node_modules/.pnpm/unique-string@2.0.0/node_modules/unique-string/index.js"(e,t){"use strict";var r=Ou();t.exports=()=>r(32)}}),xu=(0,j.__commonJS)({"../../node_modules/.pnpm/temp-dir@2.0.0/node_modules/temp-dir/index.js"(e,t){"use strict";var r=(0,j.__require)("fs"),n=(0,j.__require)("os"),i=Symbol.for("__RESOLVED_TEMP_DIRECTORY__");global[i]||Object.defineProperty(global,i,{value:r.realpathSync(n.tmpdir())}),t.exports=global[i]}}),Ru=(0,j.__commonJS)({"../../node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js"(e,t){"use strict";var r=n=>n!==null&&typeof n=="object"&&typeof n.pipe=="function";r.writable=n=>r(n)&&n.writable!==!1&&typeof n._write=="function"&&typeof n._writableState=="object",r.readable=n=>r(n)&&n.readable!==!1&&typeof n._read=="function"&&typeof n._readableState=="object",r.duplex=n=>r.writable(n)&&r.readable(n),r.transform=n=>r.duplex(n)&&typeof n._transform=="function",t.exports=r}}),Tu=(0,j.__commonJS)({"../../node_modules/.pnpm/array-union@2.1.0/node_modules/array-union/index.js"(e,t){"use strict";t.exports=(...r)=>[...new Set([].concat(...r))]}}),Yn=(0,j.__commonJS)({"../../node_modules/.pnpm/merge2@1.4.1/node_modules/merge2/index.js"(e,t){"use strict";var r=(0,j.__require)("stream"),n=r.PassThrough,i=Array.prototype.slice;t.exports=o;function o(){let a=[],s=i.call(arguments),l=!1,d=s[s.length-1];d&&!Array.isArray(d)&&d.pipe==null?s.pop():d={};let v=d.end!==!1,_=d.pipeError===!0;d.objectMode==null&&(d.objectMode=!0),d.highWaterMark==null&&(d.highWaterMark=64*1024);let x=n(d);function S(){for(let y=0,u=arguments.length;y<u;y++)a.push(c(arguments[y],d));return E(),this}function E(){if(l)return;l=!0;let y=a.shift();if(!y){process.nextTick(p);return}Array.isArray(y)||(y=[y]);let u=y.length+1;function f(){--u>0||(l=!1,E())}function m(h){function P(){h.removeListener("merge2UnpipeEnd",P),h.removeListener("end",P),_&&h.removeListener("error",g),f()}function g(A){x.emit("error",A)}if(h._readableState.endEmitted)return f();h.on("merge2UnpipeEnd",P),h.on("end",P),_&&h.on("error",g),h.pipe(x,{end:!1}),h.resume()}for(let h=0;h<y.length;h++)m(y[h]);f()}function p(){l=!1,x.emit("queueDrain"),v&&x.end()}return x.setMaxListeners(0),x.add=S,x.on("unpipe",function(y){y.emit("merge2UnpipeEnd")}),s.length&&S.apply(null,s),x}function c(a,s){if(Array.isArray(a))for(let l=0,d=a.length;l<d;l++)a[l]=c(a[l],s);else{if(!a._readableState&&a.pipe&&(a=a.pipe(n(s))),!a._readableState||!a.pause||!a.pipe)throw new Error("Only readable stream can be merged.");a.pause()}return a}}}),ku=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.splitWhen=e.flatten=void 0;function t(n){return n.reduce((i,o)=>[].concat(i,o),[])}e.flatten=t;function r(n,i){let o=[[]],c=0;for(let a of n)i(a)?(c++,o[c]=[]):o[c].push(a);return o}e.splitWhen=r}}),Cu=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEnoentCodeError=void 0;function t(r){return r.code==="ENOENT"}e.isEnoentCodeError=t}}),ju=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDirentFromStats=void 0;var t=class{constructor(n,i){this.name=n,this.isBlockDevice=i.isBlockDevice.bind(i),this.isCharacterDevice=i.isCharacterDevice.bind(i),this.isDirectory=i.isDirectory.bind(i),this.isFIFO=i.isFIFO.bind(i),this.isFile=i.isFile.bind(i),this.isSocket=i.isSocket.bind(i),this.isSymbolicLink=i.isSymbolicLink.bind(i)}};function r(n,i){return new t(n,i)}e.createDirentFromStats=r}}),Iu=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertPosixPathToPattern=e.convertWindowsPathToPattern=e.convertPathToPattern=e.escapePosixPath=e.escapeWindowsPath=e.escape=e.removeLeadingDotSegment=e.makeAbsolute=e.unixify=void 0;var t=(0,j.__require)("os"),r=(0,j.__require)("path"),n=t.platform()==="win32",i=2,o=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,c=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,a=/^\\\\([.?])/,s=/\\(?![!()+@[\]{}])/g;function l(p){return p.replace(/\\/g,"/")}e.unixify=l;function d(p,y){return r.resolve(p,y)}e.makeAbsolute=d;function v(p){if(p.charAt(0)==="."){let y=p.charAt(1);if(y==="/"||y==="\\")return p.slice(i)}return p}e.removeLeadingDotSegment=v,e.escape=n?_:x;function _(p){return p.replace(c,"\\$2")}e.escapeWindowsPath=_;function x(p){return p.replace(o,"\\$2")}e.escapePosixPath=x,e.convertPathToPattern=n?S:E;function S(p){return _(p).replace(a,"//$1").replace(s,"/")}e.convertWindowsPathToPattern=S;function E(p){return x(p)}e.convertPosixPathToPattern=E}}),Du=(0,j.__commonJS)({"../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js"(e,t){"use strict";t.exports=function(n){if(typeof n!="string"||n==="")return!1;for(var i;i=/(\\).|([@?!+*]\(.*\))/g.exec(n);){if(i[2])return!0;n=n.slice(i.index+i[0].length)}return!1}}}),zn=(0,j.__commonJS)({"../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js"(e,t){"use strict";var r=Du(),n={"{":"}","(":")","[":"]"},i=function(c){if(c[0]==="!")return!0;for(var a=0,s=-2,l=-2,d=-2,v=-2,_=-2;a<c.length;){if(c[a]==="*"||c[a+1]==="?"&&/[\].+)]/.test(c[a])||l!==-1&&c[a]==="["&&c[a+1]!=="]"&&(l<a&&(l=c.indexOf("]",a)),l>a&&(_===-1||_>l||(_=c.indexOf("\\",a),_===-1||_>l)))||d!==-1&&c[a]==="{"&&c[a+1]!=="}"&&(d=c.indexOf("}",a),d>a&&(_=c.indexOf("\\",a),_===-1||_>d))||v!==-1&&c[a]==="("&&c[a+1]==="?"&&/[:!=]/.test(c[a+2])&&c[a+3]!==")"&&(v=c.indexOf(")",a),v>a&&(_=c.indexOf("\\",a),_===-1||_>v))||s!==-1&&c[a]==="("&&c[a+1]!=="|"&&(s<a&&(s=c.indexOf("|",a)),s!==-1&&c[s+1]!==")"&&(v=c.indexOf(")",s),v>s&&(_=c.indexOf("\\",s),_===-1||_>v))))return!0;if(c[a]==="\\"){var x=c[a+1];a+=2;var S=n[x];if(S){var E=c.indexOf(S,a);E!==-1&&(a=E+1)}if(c[a]==="!")return!0}else a++}return!1},o=function(c){if(c[0]==="!")return!0;for(var a=0;a<c.length;){if(/[*?{}()[\]]/.test(c[a]))return!0;if(c[a]==="\\"){var s=c[a+1];a+=2;var l=n[s];if(l){var d=c.indexOf(l,a);d!==-1&&(a=d+1)}if(c[a]==="!")return!0}else a++}return!1};t.exports=function(a,s){if(typeof a!="string"||a==="")return!1;if(r(a))return!0;var l=i;return s&&s.strict===!1&&(l=o),l(a)}}}),Lu=(0,j.__commonJS)({"../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js"(e,t){"use strict";var r=zn(),n=(0,j.__require)("path").posix.dirname,i=(0,j.__require)("os").platform()==="win32",o="/",c=/\\/g,a=/[\{\[].*[\}\]]$/,s=/(^|[^\\])([\{\[]|\([^\)]+$)/,l=/\\([\!\*\?\|\[\]\(\)\{\}])/g;t.exports=function(v,_){var x=Object.assign({flipBackslashes:!0},_);x.flipBackslashes&&i&&v.indexOf(o)<0&&(v=v.replace(c,o)),a.test(v)&&(v+=o),v+="a";do v=n(v);while(r(v)||s.test(v));return v.replace(l,"$1")}}}),or=(0,j.__commonJS)({"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js"(e){"use strict";e.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1,e.find=(t,r)=>t.nodes.find(n=>n.type===r),e.exceedsLimit=(t,r,n=1,i)=>i===!1||!e.isInteger(t)||!e.isInteger(r)?!1:(Number(r)-Number(t))/Number(n)>=i,e.escapeNode=(t,r=0,n)=>{let i=t.nodes[r];i&&(n&&i.type===n||i.type==="open"||i.type==="close")&&i.escaped!==!0&&(i.value="\\"+i.value,i.escaped=!0)},e.encloseBrace=t=>t.type!=="brace"?!1:t.commas>>0+t.ranges>>0===0?(t.invalid=!0,!0):!1,e.isInvalidBrace=t=>t.type!=="brace"?!1:t.invalid===!0||t.dollar?!0:t.commas>>0+t.ranges>>0===0||t.open!==!0||t.close!==!0?(t.invalid=!0,!0):!1,e.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0,e.reduce=t=>t.reduce((r,n)=>(n.type==="text"&&r.push(n.value),n.type==="range"&&(n.type="text"),r),[]),e.flatten=(...t)=>{let r=[],n=i=>{for(let o=0;o<i.length;o++){let c=i[o];if(Array.isArray(c)){n(c);continue}c!==void 0&&r.push(c)}return r};return n(t),r}}}),ur=(0,j.__commonJS)({"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js"(e,t){"use strict";var r=or();t.exports=(n,i={})=>{let o=(c,a={})=>{let s=i.escapeInvalid&&r.isInvalidBrace(a),l=c.invalid===!0&&i.escapeInvalid===!0,d="";if(c.value)return(s||l)&&r.isOpenOrClose(c)?"\\"+c.value:c.value;if(c.value)return c.value;if(c.nodes)for(let v of c.nodes)d+=o(v);return d};return o(n)}}}),Nu=(0,j.__commonJS)({"../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js"(e,t){"use strict";t.exports=function(r){return typeof r=="number"?r-r===0:typeof r=="string"&&r.trim()!==""?Number.isFinite?Number.isFinite(+r):isFinite(+r):!1}}}),$u=(0,j.__commonJS)({"../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js"(e,t){"use strict";var r=Nu(),n=(u,f,m)=>{if(r(u)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(f===void 0||u===f)return String(u);if(r(f)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let h={relaxZeros:!0,...m};typeof h.strictZeros=="boolean"&&(h.relaxZeros=h.strictZeros===!1);let P=String(h.relaxZeros),g=String(h.shorthand),A=String(h.capture),b=String(h.wrap),T=u+":"+f+"="+P+g+A+b;if(n.cache.hasOwnProperty(T))return n.cache[T].result;let R=Math.min(u,f),C=Math.max(u,f);if(Math.abs(R-C)===1){let q=u+"|"+f;return h.capture?`(${q})`:h.wrap===!1?q:`(?:${q})`}let O=p(u)||p(f),w={min:u,max:f,a:R,b:C},k=[],N=[];if(O&&(w.isPadded=O,w.maxLen=String(w.max).length),R<0){let q=C<0?Math.abs(C):1;N=a(q,Math.abs(R),w,h),R=w.a=0}return C>=0&&(k=a(R,C,w,h)),w.negatives=N,w.positives=k,w.result=i(N,k,h),h.capture===!0?w.result=`(${w.result})`:h.wrap!==!1&&k.length+N.length>1&&(w.result=`(?:${w.result})`),n.cache[T]=w,w.result};function i(u,f,m){let h=s(u,f,"-",!1,m)||[],P=s(f,u,"",!1,m)||[],g=s(u,f,"-?",!0,m)||[];return h.concat(g).concat(P).join("|")}function o(u,f){let m=1,h=1,P=_(u,m),g=new Set([f]);for(;u<=P&&P<=f;)g.add(P),m+=1,P=_(u,m);for(P=x(f+1,h)-1;u<P&&P<=f;)g.add(P),h+=1,P=x(f+1,h)-1;return g=[...g],g.sort(d),g}function c(u,f,m){if(u===f)return{pattern:u,count:[],digits:0};let h=l(u,f),P=h.length,g="",A=0;for(let b=0;b<P;b++){let[T,R]=h[b];T===R?g+=T:T!=="0"||R!=="9"?g+=E(T,R,m):A++}return A&&(g+=m.shorthand===!0?"\\d":"[0-9]"),{pattern:g,count:[A],digits:P}}function a(u,f,m,h){let P=o(u,f),g=[],A=u,b;for(let T=0;T<P.length;T++){let R=P[T],C=c(String(A),String(R),h),O="";if(!m.isPadded&&b&&b.pattern===C.pattern){b.count.length>1&&b.count.pop(),b.count.push(C.count[0]),b.string=b.pattern+S(b.count),A=R+1;continue}m.isPadded&&(O=y(R,m,h)),C.string=O+C.pattern+S(C.count),g.push(C),A=R+1,b=C}return g}function s(u,f,m,h,P){let g=[];for(let A of u){let{string:b}=A;!h&&!v(f,"string",b)&&g.push(m+b),h&&v(f,"string",b)&&g.push(m+b)}return g}function l(u,f){let m=[];for(let h=0;h<u.length;h++)m.push([u[h],f[h]]);return m}function d(u,f){return u>f?1:f>u?-1:0}function v(u,f,m){return u.some(h=>h[f]===m)}function _(u,f){return Number(String(u).slice(0,-f)+"9".repeat(f))}function x(u,f){return u-u%Math.pow(10,f)}function S(u){let[f=0,m=""]=u;return m||f>1?`{${f+(m?","+m:"")}}`:""}function E(u,f,m){return`[${u}${f-u===1?"":"-"}${f}]`}function p(u){return/^-?(0+)\d/.test(u)}function y(u,f,m){if(!f.isPadded)return u;let h=Math.abs(f.maxLen-String(u).length),P=m.relaxZeros!==!1;switch(h){case 0:return"";case 1:return P?"0?":"0";case 2:return P?"0{0,2}":"00";default:return P?`0{0,${h}}`:`0{${h}}`}}n.cache={},n.clearCache=()=>n.cache={},t.exports=n}}),Qn=(0,j.__commonJS)({"../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js"(e,t){"use strict";var r=(0,j.__require)("util"),n=$u(),i=h=>h!==null&&typeof h=="object"&&!Array.isArray(h),o=h=>P=>h===!0?Number(P):String(P),c=h=>typeof h=="number"||typeof h=="string"&&h!=="",a=h=>Number.isInteger(+h),s=h=>{let P=`${h}`,g=-1;if(P[0]==="-"&&(P=P.slice(1)),P==="0")return!1;for(;P[++g]==="0";);return g>0},l=(h,P,g)=>typeof h=="string"||typeof P=="string"?!0:g.stringify===!0,d=(h,P,g)=>{if(P>0){let A=h[0]==="-"?"-":"";A&&(h=h.slice(1)),h=A+h.padStart(A?P-1:P,"0")}return g===!1?String(h):h},v=(h,P)=>{let g=h[0]==="-"?"-":"";for(g&&(h=h.slice(1),P--);h.length<P;)h="0"+h;return g?"-"+h:h},_=(h,P,g)=>{h.negatives.sort((C,O)=>C<O?-1:C>O?1:0),h.positives.sort((C,O)=>C<O?-1:C>O?1:0);let A=P.capture?"":"?:",b="",T="",R;return h.positives.length&&(b=h.positives.map(C=>v(String(C),g)).join("|")),h.negatives.length&&(T=`-(${A}${h.negatives.map(C=>v(String(C),g)).join("|")})`),b&&T?R=`${b}|${T}`:R=b||T,P.wrap?`(${A}${R})`:R},x=(h,P,g,A)=>{if(g)return n(h,P,{wrap:!1,...A});let b=String.fromCharCode(h);if(h===P)return b;let T=String.fromCharCode(P);return`[${b}-${T}]`},S=(h,P,g)=>{if(Array.isArray(h)){let A=g.wrap===!0,b=g.capture?"":"?:";return A?`(${b}${h.join("|")})`:h.join("|")}return n(h,P,g)},E=(...h)=>new RangeError("Invalid range arguments: "+r.inspect(...h)),p=(h,P,g)=>{if(g.strictRanges===!0)throw E([h,P]);return[]},y=(h,P)=>{if(P.strictRanges===!0)throw new TypeError(`Expected step "${h}" to be a number`);return[]},u=(h,P,g=1,A={})=>{let b=Number(h),T=Number(P);if(!Number.isInteger(b)||!Number.isInteger(T)){if(A.strictRanges===!0)throw E([h,P]);return[]}b===0&&(b=0),T===0&&(T=0);let R=b>T,C=String(h),O=String(P),w=String(g);g=Math.max(Math.abs(g),1);let k=s(C)||s(O)||s(w),N=k?Math.max(C.length,O.length,w.length):0,q=k===!1&&l(h,P,A)===!1,I=A.transform||o(q);if(A.toRegex&&g===1)return x(v(h,N),v(P,N),!0,A);let F={negatives:[],positives:[]},B=L=>F[L<0?"negatives":"positives"].push(Math.abs(L)),$=[],H=0;for(;R?b>=T:b<=T;)A.toRegex===!0&&g>1?B(b):$.push(d(I(b,H),N,q)),b=R?b-g:b+g,H++;return A.toRegex===!0?g>1?_(F,A,N):S($,null,{wrap:!1,...A}):$},f=(h,P,g=1,A={})=>{if(!a(h)&&h.length>1||!a(P)&&P.length>1)return p(h,P,A);let b=A.transform||(q=>String.fromCharCode(q)),T=`${h}`.charCodeAt(0),R=`${P}`.charCodeAt(0),C=T>R,O=Math.min(T,R),w=Math.max(T,R);if(A.toRegex&&g===1)return x(O,w,!1,A);let k=[],N=0;for(;C?T>=R:T<=R;)k.push(b(T,N)),T=C?T-g:T+g,N++;return A.toRegex===!0?S(k,null,{wrap:!1,options:A}):k},m=(h,P,g,A={})=>{if(P==null&&c(h))return[h];if(!c(h)||!c(P))return p(h,P,A);if(typeof g=="function")return m(h,P,1,{transform:g});if(i(g))return m(h,P,0,g);let b={...A};return b.capture===!0&&(b.wrap=!0),g=g||b.step||1,a(g)?a(h)&&a(P)?u(h,P,g,b):f(h,P,Math.max(Math.abs(g),1),b):g!=null&&!i(g)?y(g,b):m(h,P,1,g)};t.exports=m}}),Mu=(0,j.__commonJS)({"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js"(e,t){"use strict";var r=Qn(),n=or(),i=(o,c={})=>{let a=(s,l={})=>{let d=n.isInvalidBrace(l),v=s.invalid===!0&&c.escapeInvalid===!0,_=d===!0||v===!0,x=c.escapeInvalid===!0?"\\":"",S="";if(s.isOpen===!0)return x+s.value;if(s.isClose===!0)return console.log("node.isClose",x,s.value),x+s.value;if(s.type==="open")return _?x+s.value:"(";if(s.type==="close")return _?x+s.value:")";if(s.type==="comma")return s.prev.type==="comma"?"":_?s.value:"|";if(s.value)return s.value;if(s.nodes&&s.ranges>0){let E=n.reduce(s.nodes),p=r(...E,{...c,wrap:!1,toRegex:!0,strictZeros:!0});if(p.length!==0)return E.length>1&&p.length>1?`(${p})`:p}if(s.nodes)for(let E of s.nodes)S+=a(E,s);return S};return a(o)};t.exports=i}}),Fu=(0,j.__commonJS)({"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js"(e,t){"use strict";var r=Qn(),n=ur(),i=or(),o=(a="",s="",l=!1)=>{let d=[];if(a=[].concat(a),s=[].concat(s),!s.length)return a;if(!a.length)return l?i.flatten(s).map(v=>`{${v}}`):s;for(let v of a)if(Array.isArray(v))for(let _ of v)d.push(o(_,s,l));else for(let _ of s)l===!0&&typeof _=="string"&&(_=`{${_}}`),d.push(Array.isArray(_)?o(v,_,l):v+_);return i.flatten(d)},c=(a,s={})=>{let l=s.rangeLimit===void 0?1e3:s.rangeLimit,d=(v,_={})=>{v.queue=[];let x=_,S=_.queue;for(;x.type!=="brace"&&x.type!=="root"&&x.parent;)x=x.parent,S=x.queue;if(v.invalid||v.dollar){S.push(o(S.pop(),n(v,s)));return}if(v.type==="brace"&&v.invalid!==!0&&v.nodes.length===2){S.push(o(S.pop(),["{}"]));return}if(v.nodes&&v.ranges>0){let u=i.reduce(v.nodes);if(i.exceedsLimit(...u,s.step,l))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let f=r(...u,s);f.length===0&&(f=n(v,s)),S.push(o(S.pop(),f)),v.nodes=[];return}let E=i.encloseBrace(v),p=v.queue,y=v;for(;y.type!=="brace"&&y.type!=="root"&&y.parent;)y=y.parent,p=y.queue;for(let u=0;u<v.nodes.length;u++){let f=v.nodes[u];if(f.type==="comma"&&v.type==="brace"){u===1&&p.push(""),p.push("");continue}if(f.type==="close"){S.push(o(S.pop(),p,E));continue}if(f.value&&f.type!=="open"){p.push(o(p.pop(),f.value));continue}f.nodes&&d(f,v)}return p};return i.flatten(d(a))};t.exports=c}}),qu=(0,j.__commonJS)({"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js"(e,t){"use strict";t.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
8
+ `,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}}}),Bu=(0,j.__commonJS)({"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js"(e,t){"use strict";var r=ur(),{MAX_LENGTH:n,CHAR_BACKSLASH:i,CHAR_BACKTICK:o,CHAR_COMMA:c,CHAR_DOT:a,CHAR_LEFT_PARENTHESES:s,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:d,CHAR_RIGHT_CURLY_BRACE:v,CHAR_LEFT_SQUARE_BRACKET:_,CHAR_RIGHT_SQUARE_BRACKET:x,CHAR_DOUBLE_QUOTE:S,CHAR_SINGLE_QUOTE:E,CHAR_NO_BREAK_SPACE:p,CHAR_ZERO_WIDTH_NOBREAK_SPACE:y}=qu(),u=(f,m={})=>{if(typeof f!="string")throw new TypeError("Expected a string");let h=m||{},P=typeof h.maxLength=="number"?Math.min(n,h.maxLength):n;if(f.length>P)throw new SyntaxError(`Input length (${f.length}), exceeds max characters (${P})`);let g={type:"root",input:f,nodes:[]},A=[g],b=g,T=g,R=0,C=f.length,O=0,w=0,k,N=()=>f[O++],q=I=>{if(I.type==="text"&&T.type==="dot"&&(T.type="text"),T&&T.type==="text"&&I.type==="text"){T.value+=I.value;return}return b.nodes.push(I),I.parent=b,I.prev=T,T=I,I};for(q({type:"bos"});O<C;)if(b=A[A.length-1],k=N(),!(k===y||k===p)){if(k===i){q({type:"text",value:(m.keepEscaping?k:"")+N()});continue}if(k===x){q({type:"text",value:"\\"+k});continue}if(k===_){R++;let I;for(;O<C&&(I=N());){if(k+=I,I===_){R++;continue}if(I===i){k+=N();continue}if(I===x&&(R--,R===0))break}q({type:"text",value:k});continue}if(k===s){b=q({type:"paren",nodes:[]}),A.push(b),q({type:"text",value:k});continue}if(k===l){if(b.type!=="paren"){q({type:"text",value:k});continue}b=A.pop(),q({type:"text",value:k}),b=A[A.length-1];continue}if(k===S||k===E||k===o){let I=k,F;for(m.keepQuotes!==!0&&(k="");O<C&&(F=N());){if(F===i){k+=F+N();continue}if(F===I){m.keepQuotes===!0&&(k+=F);break}k+=F}q({type:"text",value:k});continue}if(k===d){w++;let F={type:"brace",open:!0,close:!1,dollar:T.value&&T.value.slice(-1)==="$"||b.dollar===!0,depth:w,commas:0,ranges:0,nodes:[]};b=q(F),A.push(b),q({type:"open",value:k});continue}if(k===v){if(b.type!=="brace"){q({type:"text",value:k});continue}let I="close";b=A.pop(),b.close=!0,q({type:I,value:k}),w--,b=A[A.length-1];continue}if(k===c&&w>0){if(b.ranges>0){b.ranges=0;let I=b.nodes.shift();b.nodes=[I,{type:"text",value:r(b)}]}q({type:"comma",value:k}),b.commas++;continue}if(k===a&&w>0&&b.commas===0){let I=b.nodes;if(w===0||I.length===0){q({type:"text",value:k});continue}if(T.type==="dot"){if(b.range=[],T.value+=k,T.type="range",b.nodes.length!==3&&b.nodes.length!==5){b.invalid=!0,b.ranges=0,T.type="text";continue}b.ranges++,b.args=[];continue}if(T.type==="range"){I.pop();let F=I[I.length-1];F.value+=T.value+k,T=F,b.ranges--;continue}q({type:"dot",value:k});continue}q({type:"text",value:k})}do if(b=A.pop(),b.type!=="root"){b.nodes.forEach(B=>{B.nodes||(B.type==="open"&&(B.isOpen=!0),B.type==="close"&&(B.isClose=!0),B.nodes||(B.type="text"),B.invalid=!0)});let I=A[A.length-1],F=I.nodes.indexOf(b);I.nodes.splice(F,1,...b.nodes)}while(A.length>0);return q({type:"eos"}),g};t.exports=u}}),Hu=(0,j.__commonJS)({"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js"(e,t){"use strict";var r=ur(),n=Mu(),i=Fu(),o=Bu(),c=(a,s={})=>{let l=[];if(Array.isArray(a))for(let d of a){let v=c.create(d,s);Array.isArray(v)?l.push(...v):l.push(v)}else l=[].concat(c.create(a,s));return s&&s.expand===!0&&s.nodupes===!0&&(l=[...new Set(l)]),l};c.parse=(a,s={})=>o(a,s),c.stringify=(a,s={})=>r(typeof a=="string"?c.parse(a,s):a,s),c.compile=(a,s={})=>(typeof a=="string"&&(a=c.parse(a,s)),n(a,s)),c.expand=(a,s={})=>{typeof a=="string"&&(a=c.parse(a,s));let l=i(a,s);return s.noempty===!0&&(l=l.filter(Boolean)),s.nodupes===!0&&(l=[...new Set(l)]),l},c.create=(a,s={})=>a===""||a.length<3?[a]:s.expand!==!0?c.compile(a,s):c.expand(a,s),t.exports=c}}),St=(0,j.__commonJS)({"../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js"(e,t){"use strict";var r=(0,j.__require)("path"),n="\\\\/",i=`[^${n}]`,o="\\.",c="\\+",a="\\?",s="\\/",l="(?=.)",d="[^/]",v=`(?:${s}|$)`,_=`(?:^|${s})`,x=`${o}{1,2}${v}`,S=`(?!${o})`,E=`(?!${_}${x})`,p=`(?!${o}{0,1}${v})`,y=`(?!${x})`,u=`[^.${s}]`,f=`${d}*?`,m={DOT_LITERAL:o,PLUS_LITERAL:c,QMARK_LITERAL:a,SLASH_LITERAL:s,ONE_CHAR:l,QMARK:d,END_ANCHOR:v,DOTS_SLASH:x,NO_DOT:S,NO_DOTS:E,NO_DOT_SLASH:p,NO_DOTS_SLASH:y,QMARK_NO_DOT:u,STAR:f,START_ANCHOR:_},h={...m,SLASH_LITERAL:`[${n}]`,QMARK:i,STAR:`${i}*?`,DOTS_SLASH:`${o}{1,2}(?:[${n}]|$)`,NO_DOT:`(?!${o})`,NO_DOTS:`(?!(?:^|[${n}])${o}{1,2}(?:[${n}]|$))`,NO_DOT_SLASH:`(?!${o}{0,1}(?:[${n}]|$))`,NO_DOTS_SLASH:`(?!${o}{1,2}(?:[${n}]|$))`,QMARK_NO_DOT:`[^.${n}]`,START_ANCHOR:`(?:^|[${n}])`,END_ANCHOR:`(?:[${n}]|$)`},P={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};t.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:P,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:r.sep,extglobChars(g){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${g.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(g){return g===!0?h:m}}}}),bt=(0,j.__commonJS)({"../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js"(e){"use strict";var t=(0,j.__require)("path"),r=process.platform==="win32",{REGEX_BACKSLASH:n,REGEX_REMOVE_BACKSLASH:i,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:c}=St();e.isObject=a=>a!==null&&typeof a=="object"&&!Array.isArray(a),e.hasRegexChars=a=>o.test(a),e.isRegexChar=a=>a.length===1&&e.hasRegexChars(a),e.escapeRegex=a=>a.replace(c,"\\$1"),e.toPosixSlashes=a=>a.replace(n,"/"),e.removeBackslashes=a=>a.replace(i,s=>s==="\\"?"":s),e.supportsLookbehinds=()=>{let a=process.version.slice(1).split(".").map(Number);return a.length===3&&a[0]>=9||a[0]===8&&a[1]>=10},e.isWindows=a=>a&&typeof a.windows=="boolean"?a.windows:r===!0||t.sep==="\\",e.escapeLast=(a,s,l)=>{let d=a.lastIndexOf(s,l);return d===-1?a:a[d-1]==="\\"?e.escapeLast(a,s,d-1):`${a.slice(0,d)}\\${a.slice(d)}`},e.removePrefix=(a,s={})=>{let l=a;return l.startsWith("./")&&(l=l.slice(2),s.prefix="./"),l},e.wrapOutput=(a,s={},l={})=>{let d=l.contains?"":"^",v=l.contains?"":"$",_=`${d}(?:${a})${v}`;return s.negated===!0&&(_=`(?:^(?!${_}).*$)`),_}}}),Gu=(0,j.__commonJS)({"../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js"(e,t){"use strict";var r=bt(),{CHAR_ASTERISK:n,CHAR_AT:i,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:c,CHAR_DOT:a,CHAR_EXCLAMATION_MARK:s,CHAR_FORWARD_SLASH:l,CHAR_LEFT_CURLY_BRACE:d,CHAR_LEFT_PARENTHESES:v,CHAR_LEFT_SQUARE_BRACKET:_,CHAR_PLUS:x,CHAR_QUESTION_MARK:S,CHAR_RIGHT_CURLY_BRACE:E,CHAR_RIGHT_PARENTHESES:p,CHAR_RIGHT_SQUARE_BRACKET:y}=St(),u=h=>h===l||h===o,f=h=>{h.isPrefix!==!0&&(h.depth=h.isGlobstar?1/0:1)},m=(h,P)=>{let g=P||{},A=h.length-1,b=g.parts===!0||g.scanToEnd===!0,T=[],R=[],C=[],O=h,w=-1,k=0,N=0,q=!1,I=!1,F=!1,B=!1,$=!1,H=!1,L=!1,V=!1,ie=!1,K=!1,D=0,M,G,J={value:"",depth:0,isGlob:!1},ee=()=>w>=A,re=()=>O.charCodeAt(w+1),X=()=>(M=G,O.charCodeAt(++w));for(;w<A;){G=X();let Y;if(G===o){L=J.backslashes=!0,G=X(),G===d&&(H=!0);continue}if(H===!0||G===d){for(D++;ee()!==!0&&(G=X());){if(G===o){L=J.backslashes=!0,X();continue}if(G===d){D++;continue}if(H!==!0&&G===a&&(G=X())===a){if(q=J.isBrace=!0,F=J.isGlob=!0,K=!0,b===!0)continue;break}if(H!==!0&&G===c){if(q=J.isBrace=!0,F=J.isGlob=!0,K=!0,b===!0)continue;break}if(G===E&&(D--,D===0)){H=!1,q=J.isBrace=!0,K=!0;break}}if(b===!0)continue;break}if(G===l){if(T.push(w),R.push(J),J={value:"",depth:0,isGlob:!1},K===!0)continue;if(M===a&&w===k+1){k+=2;continue}N=w+1;continue}if(g.noext!==!0&&(G===x||G===i||G===n||G===S||G===s)===!0&&re()===v){if(F=J.isGlob=!0,B=J.isExtglob=!0,K=!0,G===s&&w===k&&(ie=!0),b===!0){for(;ee()!==!0&&(G=X());){if(G===o){L=J.backslashes=!0,G=X();continue}if(G===p){F=J.isGlob=!0,K=!0;break}}continue}break}if(G===n){if(M===n&&($=J.isGlobstar=!0),F=J.isGlob=!0,K=!0,b===!0)continue;break}if(G===S){if(F=J.isGlob=!0,K=!0,b===!0)continue;break}if(G===_){for(;ee()!==!0&&(Y=X());){if(Y===o){L=J.backslashes=!0,X();continue}if(Y===y){I=J.isBracket=!0,F=J.isGlob=!0,K=!0;break}}if(b===!0)continue;break}if(g.nonegate!==!0&&G===s&&w===k){V=J.negated=!0,k++;continue}if(g.noparen!==!0&&G===v){if(F=J.isGlob=!0,b===!0){for(;ee()!==!0&&(G=X());){if(G===v){L=J.backslashes=!0,G=X();continue}if(G===p){K=!0;break}}continue}break}if(F===!0){if(K=!0,b===!0)continue;break}}g.noext===!0&&(B=!1,F=!1);let z=O,te="",ne="";k>0&&(te=O.slice(0,k),O=O.slice(k),N-=k),z&&F===!0&&N>0?(z=O.slice(0,N),ne=O.slice(N)):F===!0?(z="",ne=O):z=O,z&&z!==""&&z!=="/"&&z!==O&&u(z.charCodeAt(z.length-1))&&(z=z.slice(0,-1)),g.unescape===!0&&(ne&&(ne=r.removeBackslashes(ne)),z&&L===!0&&(z=r.removeBackslashes(z)));let Q={prefix:te,input:h,start:k,base:z,glob:ne,isBrace:q,isBracket:I,isGlob:F,isExtglob:B,isGlobstar:$,negated:V,negatedExtglob:ie};if(g.tokens===!0&&(Q.maxDepth=0,u(G)||R.push(J),Q.tokens=R),g.parts===!0||g.tokens===!0){let Y;for(let he=0;he<T.length;he++){let xe=Y?Y+1:k,U=T[he],se=h.slice(xe,U);g.tokens&&(he===0&&k!==0?(R[he].isPrefix=!0,R[he].value=te):R[he].value=se,f(R[he]),Q.maxDepth+=R[he].depth),(he!==0||se!=="")&&C.push(se),Y=U}if(Y&&Y+1<h.length){let he=h.slice(Y+1);C.push(he),g.tokens&&(R[R.length-1].value=he,f(R[R.length-1]),Q.maxDepth+=R[R.length-1].depth)}Q.slashes=T,Q.parts=C}return Q};t.exports=m}}),Wu=(0,j.__commonJS)({"../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js"(e,t){"use strict";var r=St(),n=bt(),{MAX_LENGTH:i,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:c,REGEX_SPECIAL_CHARS_BACKREF:a,REPLACEMENTS:s}=r,l=(_,x)=>{if(typeof x.expandRange=="function")return x.expandRange(..._,x);_.sort();let S=`[${_.join("-")}]`;try{new RegExp(S)}catch{return _.map(p=>n.escapeRegex(p)).join("..")}return S},d=(_,x)=>`Missing ${_}: "${x}" - use "\\\\${x}" to match literal characters`,v=(_,x)=>{if(typeof _!="string")throw new TypeError("Expected a string");_=s[_]||_;let S={...x},E=typeof S.maxLength=="number"?Math.min(i,S.maxLength):i,p=_.length;if(p>E)throw new SyntaxError(`Input length: ${p}, exceeds maximum allowed length: ${E}`);let y={type:"bos",value:"",output:S.prepend||""},u=[y],f=S.capture?"":"?:",m=n.isWindows(x),h=r.globChars(m),P=r.extglobChars(h),{DOT_LITERAL:g,PLUS_LITERAL:A,SLASH_LITERAL:b,ONE_CHAR:T,DOTS_SLASH:R,NO_DOT:C,NO_DOT_SLASH:O,NO_DOTS_SLASH:w,QMARK:k,QMARK_NO_DOT:N,STAR:q,START_ANCHOR:I}=h,F=U=>`(${f}(?:(?!${I}${U.dot?R:g}).)*?)`,B=S.dot?"":C,$=S.dot?k:N,H=S.bash===!0?F(S):q;S.capture&&(H=`(${H})`),typeof S.noext=="boolean"&&(S.noextglob=S.noext);let L={input:_,index:-1,start:0,dot:S.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:u};_=n.removePrefix(_,L),p=_.length;let V=[],ie=[],K=[],D=y,M,G=()=>L.index===p-1,J=L.peek=(U=1)=>_[L.index+U],ee=L.advance=()=>_[++L.index]||"",re=()=>_.slice(L.index+1),X=(U="",se=0)=>{L.consumed+=U,L.index+=se},z=U=>{L.output+=U.output!=null?U.output:U.value,X(U.value)},te=()=>{let U=1;for(;J()==="!"&&(J(2)!=="("||J(3)==="?");)ee(),L.start++,U++;return U%2===0?!1:(L.negated=!0,L.start++,!0)},ne=U=>{L[U]++,K.push(U)},Q=U=>{L[U]--,K.pop()},Y=U=>{if(D.type==="globstar"){let se=L.braces>0&&(U.type==="comma"||U.type==="brace"),W=U.extglob===!0||V.length&&(U.type==="pipe"||U.type==="paren");U.type!=="slash"&&U.type!=="paren"&&!se&&!W&&(L.output=L.output.slice(0,-D.output.length),D.type="star",D.value="*",D.output=H,L.output+=D.output)}if(V.length&&U.type!=="paren"&&(V[V.length-1].inner+=U.value),(U.value||U.output)&&z(U),D&&D.type==="text"&&U.type==="text"){D.value+=U.value,D.output=(D.output||"")+U.value;return}U.prev=D,u.push(U),D=U},he=(U,se)=>{let W={...P[se],conditions:1,inner:""};W.prev=D,W.parens=L.parens,W.output=L.output;let Z=(S.capture?"(":"")+W.open;ne("parens"),Y({type:U,value:se,output:L.output?"":T}),Y({type:"paren",extglob:!0,value:ee(),output:Z}),V.push(W)},xe=U=>{let se=U.close+(S.capture?")":""),W;if(U.type==="negate"){let Z=H;if(U.inner&&U.inner.length>1&&U.inner.includes("/")&&(Z=F(S)),(Z!==H||G()||/^\)+$/.test(re()))&&(se=U.close=`)$))${Z}`),U.inner.includes("*")&&(W=re())&&/^\.[^\\/.]+$/.test(W)){let de=v(W,{...x,fastpaths:!1}).output;se=U.close=`)${de})${Z})`}U.prev.type==="bos"&&(L.negatedExtglob=!0)}Y({type:"paren",extglob:!0,value:M,output:se}),Q("parens")};if(S.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(_)){let U=!1,se=_.replace(a,(W,Z,de,ve,me,Fe)=>ve==="\\"?(U=!0,W):ve==="?"?Z?Z+ve+(me?k.repeat(me.length):""):Fe===0?$+(me?k.repeat(me.length):""):k.repeat(de.length):ve==="."?g.repeat(de.length):ve==="*"?Z?Z+ve+(me?H:""):H:Z?W:`\\${W}`);return U===!0&&(S.unescape===!0?se=se.replace(/\\/g,""):se=se.replace(/\\+/g,W=>W.length%2===0?"\\\\":W?"\\":"")),se===_&&S.contains===!0?(L.output=_,L):(L.output=n.wrapOutput(se,L,x),L)}for(;!G();){if(M=ee(),M==="\0")continue;if(M==="\\"){let W=J();if(W==="/"&&S.bash!==!0||W==="."||W===";")continue;if(!W){M+="\\",Y({type:"text",value:M});continue}let Z=/^\\+/.exec(re()),de=0;if(Z&&Z[0].length>2&&(de=Z[0].length,L.index+=de,de%2!==0&&(M+="\\")),S.unescape===!0?M=ee():M+=ee(),L.brackets===0){Y({type:"text",value:M});continue}}if(L.brackets>0&&(M!=="]"||D.value==="["||D.value==="[^")){if(S.posix!==!1&&M===":"){let W=D.value.slice(1);if(W.includes("[")&&(D.posix=!0,W.includes(":"))){let Z=D.value.lastIndexOf("["),de=D.value.slice(0,Z),ve=D.value.slice(Z+2),me=o[ve];if(me){D.value=de+me,L.backtrack=!0,ee(),!y.output&&u.indexOf(D)===1&&(y.output=T);continue}}}(M==="["&&J()!==":"||M==="-"&&J()==="]")&&(M=`\\${M}`),M==="]"&&(D.value==="["||D.value==="[^")&&(M=`\\${M}`),S.posix===!0&&M==="!"&&D.value==="["&&(M="^"),D.value+=M,z({value:M});continue}if(L.quotes===1&&M!=='"'){M=n.escapeRegex(M),D.value+=M,z({value:M});continue}if(M==='"'){L.quotes=L.quotes===1?0:1,S.keepQuotes===!0&&Y({type:"text",value:M});continue}if(M==="("){ne("parens"),Y({type:"paren",value:M});continue}if(M===")"){if(L.parens===0&&S.strictBrackets===!0)throw new SyntaxError(d("opening","("));let W=V[V.length-1];if(W&&L.parens===W.parens+1){xe(V.pop());continue}Y({type:"paren",value:M,output:L.parens?")":"\\)"}),Q("parens");continue}if(M==="["){if(S.nobracket===!0||!re().includes("]")){if(S.nobracket!==!0&&S.strictBrackets===!0)throw new SyntaxError(d("closing","]"));M=`\\${M}`}else ne("brackets");Y({type:"bracket",value:M});continue}if(M==="]"){if(S.nobracket===!0||D&&D.type==="bracket"&&D.value.length===1){Y({type:"text",value:M,output:`\\${M}`});continue}if(L.brackets===0){if(S.strictBrackets===!0)throw new SyntaxError(d("opening","["));Y({type:"text",value:M,output:`\\${M}`});continue}Q("brackets");let W=D.value.slice(1);if(D.posix!==!0&&W[0]==="^"&&!W.includes("/")&&(M=`/${M}`),D.value+=M,z({value:M}),S.literalBrackets===!1||n.hasRegexChars(W))continue;let Z=n.escapeRegex(D.value);if(L.output=L.output.slice(0,-D.value.length),S.literalBrackets===!0){L.output+=Z,D.value=Z;continue}D.value=`(${f}${Z}|${D.value})`,L.output+=D.value;continue}if(M==="{"&&S.nobrace!==!0){ne("braces");let W={type:"brace",value:M,output:"(",outputIndex:L.output.length,tokensIndex:L.tokens.length};ie.push(W),Y(W);continue}if(M==="}"){let W=ie[ie.length-1];if(S.nobrace===!0||!W){Y({type:"text",value:M,output:M});continue}let Z=")";if(W.dots===!0){let de=u.slice(),ve=[];for(let me=de.length-1;me>=0&&(u.pop(),de[me].type!=="brace");me--)de[me].type!=="dots"&&ve.unshift(de[me].value);Z=l(ve,S),L.backtrack=!0}if(W.comma!==!0&&W.dots!==!0){let de=L.output.slice(0,W.outputIndex),ve=L.tokens.slice(W.tokensIndex);W.value=W.output="\\{",M=Z="\\}",L.output=de;for(let me of ve)L.output+=me.output||me.value}Y({type:"brace",value:M,output:Z}),Q("braces"),ie.pop();continue}if(M==="|"){V.length>0&&V[V.length-1].conditions++,Y({type:"text",value:M});continue}if(M===","){let W=M,Z=ie[ie.length-1];Z&&K[K.length-1]==="braces"&&(Z.comma=!0,W="|"),Y({type:"comma",value:M,output:W});continue}if(M==="/"){if(D.type==="dot"&&L.index===L.start+1){L.start=L.index+1,L.consumed="",L.output="",u.pop(),D=y;continue}Y({type:"slash",value:M,output:b});continue}if(M==="."){if(L.braces>0&&D.type==="dot"){D.value==="."&&(D.output=g);let W=ie[ie.length-1];D.type="dots",D.output+=M,D.value+=M,W.dots=!0;continue}if(L.braces+L.parens===0&&D.type!=="bos"&&D.type!=="slash"){Y({type:"text",value:M,output:g});continue}Y({type:"dot",value:M,output:g});continue}if(M==="?"){if(!(D&&D.value==="(")&&S.noextglob!==!0&&J()==="("&&J(2)!=="?"){he("qmark",M);continue}if(D&&D.type==="paren"){let Z=J(),de=M;if(Z==="<"&&!n.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(D.value==="("&&!/[!=<:]/.test(Z)||Z==="<"&&!/<([!=]|\w+>)/.test(re()))&&(de=`\\${M}`),Y({type:"text",value:M,output:de});continue}if(S.dot!==!0&&(D.type==="slash"||D.type==="bos")){Y({type:"qmark",value:M,output:N});continue}Y({type:"qmark",value:M,output:k});continue}if(M==="!"){if(S.noextglob!==!0&&J()==="("&&(J(2)!=="?"||!/[!=<:]/.test(J(3)))){he("negate",M);continue}if(S.nonegate!==!0&&L.index===0){te();continue}}if(M==="+"){if(S.noextglob!==!0&&J()==="("&&J(2)!=="?"){he("plus",M);continue}if(D&&D.value==="("||S.regex===!1){Y({type:"plus",value:M,output:A});continue}if(D&&(D.type==="bracket"||D.type==="paren"||D.type==="brace")||L.parens>0){Y({type:"plus",value:M});continue}Y({type:"plus",value:A});continue}if(M==="@"){if(S.noextglob!==!0&&J()==="("&&J(2)!=="?"){Y({type:"at",extglob:!0,value:M,output:""});continue}Y({type:"text",value:M});continue}if(M!=="*"){(M==="$"||M==="^")&&(M=`\\${M}`);let W=c.exec(re());W&&(M+=W[0],L.index+=W[0].length),Y({type:"text",value:M});continue}if(D&&(D.type==="globstar"||D.star===!0)){D.type="star",D.star=!0,D.value+=M,D.output=H,L.backtrack=!0,L.globstar=!0,X(M);continue}let U=re();if(S.noextglob!==!0&&/^\([^?]/.test(U)){he("star",M);continue}if(D.type==="star"){if(S.noglobstar===!0){X(M);continue}let W=D.prev,Z=W.prev,de=W.type==="slash"||W.type==="bos",ve=Z&&(Z.type==="star"||Z.type==="globstar");if(S.bash===!0&&(!de||U[0]&&U[0]!=="/")){Y({type:"star",value:M,output:""});continue}let me=L.braces>0&&(W.type==="comma"||W.type==="brace"),Fe=V.length&&(W.type==="pipe"||W.type==="paren");if(!de&&W.type!=="paren"&&!me&&!Fe){Y({type:"star",value:M,output:""});continue}for(;U.slice(0,3)==="/**";){let Te=_[L.index+4];if(Te&&Te!=="/")break;U=U.slice(3),X("/**",3)}if(W.type==="bos"&&G()){D.type="globstar",D.value+=M,D.output=F(S),L.output=D.output,L.globstar=!0,X(M);continue}if(W.type==="slash"&&W.prev.type!=="bos"&&!ve&&G()){L.output=L.output.slice(0,-(W.output+D.output).length),W.output=`(?:${W.output}`,D.type="globstar",D.output=F(S)+(S.strictSlashes?")":"|$)"),D.value+=M,L.globstar=!0,L.output+=W.output+D.output,X(M);continue}if(W.type==="slash"&&W.prev.type!=="bos"&&U[0]==="/"){let Te=U[1]!==void 0?"|$":"";L.output=L.output.slice(0,-(W.output+D.output).length),W.output=`(?:${W.output}`,D.type="globstar",D.output=`${F(S)}${b}|${b}${Te})`,D.value+=M,L.output+=W.output+D.output,L.globstar=!0,X(M+ee()),Y({type:"slash",value:"/",output:""});continue}if(W.type==="bos"&&U[0]==="/"){D.type="globstar",D.value+=M,D.output=`(?:^|${b}|${F(S)}${b})`,L.output=D.output,L.globstar=!0,X(M+ee()),Y({type:"slash",value:"/",output:""});continue}L.output=L.output.slice(0,-D.output.length),D.type="globstar",D.output=F(S),D.value+=M,L.output+=D.output,L.globstar=!0,X(M);continue}let se={type:"star",value:M,output:H};if(S.bash===!0){se.output=".*?",(D.type==="bos"||D.type==="slash")&&(se.output=B+se.output),Y(se);continue}if(D&&(D.type==="bracket"||D.type==="paren")&&S.regex===!0){se.output=M,Y(se);continue}(L.index===L.start||D.type==="slash"||D.type==="dot")&&(D.type==="dot"?(L.output+=O,D.output+=O):S.dot===!0?(L.output+=w,D.output+=w):(L.output+=B,D.output+=B),J()!=="*"&&(L.output+=T,D.output+=T)),Y(se)}for(;L.brackets>0;){if(S.strictBrackets===!0)throw new SyntaxError(d("closing","]"));L.output=n.escapeLast(L.output,"["),Q("brackets")}for(;L.parens>0;){if(S.strictBrackets===!0)throw new SyntaxError(d("closing",")"));L.output=n.escapeLast(L.output,"("),Q("parens")}for(;L.braces>0;){if(S.strictBrackets===!0)throw new SyntaxError(d("closing","}"));L.output=n.escapeLast(L.output,"{"),Q("braces")}if(S.strictSlashes!==!0&&(D.type==="star"||D.type==="bracket")&&Y({type:"maybe_slash",value:"",output:`${b}?`}),L.backtrack===!0){L.output="";for(let U of L.tokens)L.output+=U.output!=null?U.output:U.value,U.suffix&&(L.output+=U.suffix)}return L};v.fastpaths=(_,x)=>{let S={...x},E=typeof S.maxLength=="number"?Math.min(i,S.maxLength):i,p=_.length;if(p>E)throw new SyntaxError(`Input length: ${p}, exceeds maximum allowed length: ${E}`);_=s[_]||_;let y=n.isWindows(x),{DOT_LITERAL:u,SLASH_LITERAL:f,ONE_CHAR:m,DOTS_SLASH:h,NO_DOT:P,NO_DOTS:g,NO_DOTS_SLASH:A,STAR:b,START_ANCHOR:T}=r.globChars(y),R=S.dot?g:P,C=S.dot?A:P,O=S.capture?"":"?:",w={negated:!1,prefix:""},k=S.bash===!0?".*?":b;S.capture&&(k=`(${k})`);let N=B=>B.noglobstar===!0?k:`(${O}(?:(?!${T}${B.dot?h:u}).)*?)`,q=B=>{switch(B){case"*":return`${R}${m}${k}`;case".*":return`${u}${m}${k}`;case"*.*":return`${R}${k}${u}${m}${k}`;case"*/*":return`${R}${k}${f}${m}${C}${k}`;case"**":return R+N(S);case"**/*":return`(?:${R}${N(S)}${f})?${C}${m}${k}`;case"**/*.*":return`(?:${R}${N(S)}${f})?${C}${k}${u}${m}${k}`;case"**/.*":return`(?:${R}${N(S)}${f})?${u}${m}${k}`;default:{let $=/^(.*?)\.(\w+)$/.exec(B);if(!$)return;let H=q($[1]);return H?H+u+$[2]:void 0}}},I=n.removePrefix(_,w),F=q(I);return F&&S.strictSlashes!==!0&&(F+=`${f}?`),F},t.exports=v}}),Ju=(0,j.__commonJS)({"../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js"(e,t){"use strict";var r=(0,j.__require)("path"),n=Gu(),i=Wu(),o=bt(),c=St(),a=l=>l&&typeof l=="object"&&!Array.isArray(l),s=(l,d,v=!1)=>{if(Array.isArray(l)){let f=l.map(h=>s(h,d,v));return h=>{for(let P of f){let g=P(h);if(g)return g}return!1}}let _=a(l)&&l.tokens&&l.input;if(l===""||typeof l!="string"&&!_)throw new TypeError("Expected pattern to be a non-empty string");let x=d||{},S=o.isWindows(d),E=_?s.compileRe(l,d):s.makeRe(l,d,!1,!0),p=E.state;delete E.state;let y=()=>!1;if(x.ignore){let f={...d,ignore:null,onMatch:null,onResult:null};y=s(x.ignore,f,v)}let u=(f,m=!1)=>{let{isMatch:h,match:P,output:g}=s.test(f,E,d,{glob:l,posix:S}),A={glob:l,state:p,regex:E,posix:S,input:f,output:g,match:P,isMatch:h};return typeof x.onResult=="function"&&x.onResult(A),h===!1?(A.isMatch=!1,m?A:!1):y(f)?(typeof x.onIgnore=="function"&&x.onIgnore(A),A.isMatch=!1,m?A:!1):(typeof x.onMatch=="function"&&x.onMatch(A),m?A:!0)};return v&&(u.state=p),u};s.test=(l,d,v,{glob:_,posix:x}={})=>{if(typeof l!="string")throw new TypeError("Expected input to be a string");if(l==="")return{isMatch:!1,output:""};let S=v||{},E=S.format||(x?o.toPosixSlashes:null),p=l===_,y=p&&E?E(l):l;return p===!1&&(y=E?E(l):l,p=y===_),(p===!1||S.capture===!0)&&(S.matchBase===!0||S.basename===!0?p=s.matchBase(l,d,v,x):p=d.exec(y)),{isMatch:!!p,match:p,output:y}},s.matchBase=(l,d,v,_=o.isWindows(v))=>(d instanceof RegExp?d:s.makeRe(d,v)).test(r.basename(l)),s.isMatch=(l,d,v)=>s(d,v)(l),s.parse=(l,d)=>Array.isArray(l)?l.map(v=>s.parse(v,d)):i(l,{...d,fastpaths:!1}),s.scan=(l,d)=>n(l,d),s.compileRe=(l,d,v=!1,_=!1)=>{if(v===!0)return l.output;let x=d||{},S=x.contains?"":"^",E=x.contains?"":"$",p=`${S}(?:${l.output})${E}`;l&&l.negated===!0&&(p=`^(?!${p}).*$`);let y=s.toRegex(p,d);return _===!0&&(y.state=l),y},s.makeRe=(l,d={},v=!1,_=!1)=>{if(!l||typeof l!="string")throw new TypeError("Expected a non-empty string");let x={negated:!1,fastpaths:!0};return d.fastpaths!==!1&&(l[0]==="."||l[0]==="*")&&(x.output=i.fastpaths(l,d)),x.output||(x=i(l,d)),s.compileRe(x,d,v,_)},s.toRegex=(l,d)=>{try{let v=d||{};return new RegExp(l,v.flags||(v.nocase?"i":""))}catch(v){if(d&&d.debug===!0)throw v;return/$^/}},s.constants=c,t.exports=s}}),Uu=(0,j.__commonJS)({"../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.js"(e,t){"use strict";t.exports=Ju()}}),Vu=(0,j.__commonJS)({"../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.js"(e,t){"use strict";var r=(0,j.__require)("util"),n=Hu(),i=Uu(),o=bt(),c=l=>l===""||l==="./",a=l=>{let d=l.indexOf("{");return d>-1&&l.indexOf("}",d)>-1},s=(l,d,v)=>{d=[].concat(d),l=[].concat(l);let _=new Set,x=new Set,S=new Set,E=0,p=f=>{S.add(f.output),v&&v.onResult&&v.onResult(f)};for(let f=0;f<d.length;f++){let m=i(String(d[f]),{...v,onResult:p},!0),h=m.state.negated||m.state.negatedExtglob;h&&E++;for(let P of l){let g=m(P,!0);(h?!g.isMatch:g.isMatch)&&(h?_.add(g.output):(_.delete(g.output),x.add(g.output)))}}let u=(E===d.length?[...S]:[...x]).filter(f=>!_.has(f));if(v&&u.length===0){if(v.failglob===!0)throw new Error(`No matches found for "${d.join(", ")}"`);if(v.nonull===!0||v.nullglob===!0)return v.unescape?d.map(f=>f.replace(/\\/g,"")):d}return u};s.match=s,s.matcher=(l,d)=>i(l,d),s.isMatch=(l,d,v)=>i(d,v)(l),s.any=s.isMatch,s.not=(l,d,v={})=>{d=[].concat(d).map(String);let _=new Set,x=[],S=p=>{v.onResult&&v.onResult(p),x.push(p.output)},E=new Set(s(l,d,{...v,onResult:S}));for(let p of x)E.has(p)||_.add(p);return[..._]},s.contains=(l,d,v)=>{if(typeof l!="string")throw new TypeError(`Expected a string: "${r.inspect(l)}"`);if(Array.isArray(d))return d.some(_=>s.contains(l,_,v));if(typeof d=="string"){if(c(l)||c(d))return!1;if(l.includes(d)||l.startsWith("./")&&l.slice(2).includes(d))return!0}return s.isMatch(l,d,{...v,contains:!0})},s.matchKeys=(l,d,v)=>{if(!o.isObject(l))throw new TypeError("Expected the first argument to be an object");let _=s(Object.keys(l),d,v),x={};for(let S of _)x[S]=l[S];return x},s.some=(l,d,v)=>{let _=[].concat(l);for(let x of[].concat(d)){let S=i(String(x),v);if(_.some(E=>S(E)))return!0}return!1},s.every=(l,d,v)=>{let _=[].concat(l);for(let x of[].concat(d)){let S=i(String(x),v);if(!_.every(E=>S(E)))return!1}return!0},s.all=(l,d,v)=>{if(typeof l!="string")throw new TypeError(`Expected a string: "${r.inspect(l)}"`);return[].concat(d).every(_=>i(_,v)(l))},s.capture=(l,d,v)=>{let _=o.isWindows(v),S=i.makeRe(String(l),{...v,capture:!0}).exec(_?o.toPosixSlashes(d):d);if(S)return S.slice(1).map(E=>E===void 0?"":E)},s.makeRe=(...l)=>i.makeRe(...l),s.scan=(...l)=>i.scan(...l),s.parse=(l,d)=>{let v=[];for(let _ of[].concat(l||[]))for(let x of n(String(_),d))v.push(i.parse(x,d));return v},s.braces=(l,d)=>{if(typeof l!="string")throw new TypeError("Expected a string");return d&&d.nobrace===!0||!a(l)?[l]:n(l,d)},s.braceExpand=(l,d)=>{if(typeof l!="string")throw new TypeError("Expected a string");return s.braces(l,{...d,expand:!0})},s.hasBraces=a,t.exports=s}}),Ku=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isAbsolute=e.partitionAbsoluteAndRelative=e.removeDuplicateSlashes=e.matchAny=e.convertPatternsToRe=e.makeRe=e.getPatternParts=e.expandBraceExpansion=e.expandPatternsWithBraceExpansion=e.isAffectDepthOfReadingPattern=e.endsWithSlashGlobStar=e.hasGlobStar=e.getBaseDirectory=e.isPatternRelatedToParentDirectory=e.getPatternsOutsideCurrentDirectory=e.getPatternsInsideCurrentDirectory=e.getPositivePatterns=e.getNegativePatterns=e.isPositivePattern=e.isNegativePattern=e.convertToNegativePattern=e.convertToPositivePattern=e.isDynamicPattern=e.isStaticPattern=void 0;var t=(0,j.__require)("path"),r=Lu(),n=Vu(),i="**",o="\\",c=/[*?]|^!/,a=/\[[^[]*]/,s=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,l=/[!*+?@]\([^(]*\)/,d=/,|\.\./,v=/(?!^)\/{2,}/g;function _($,H={}){return!x($,H)}e.isStaticPattern=_;function x($,H={}){return $===""?!1:!!(H.caseSensitiveMatch===!1||$.includes(o)||c.test($)||a.test($)||s.test($)||H.extglob!==!1&&l.test($)||H.braceExpansion!==!1&&S($))}e.isDynamicPattern=x;function S($){let H=$.indexOf("{");if(H===-1)return!1;let L=$.indexOf("}",H+1);if(L===-1)return!1;let V=$.slice(H,L);return d.test(V)}function E($){return y($)?$.slice(1):$}e.convertToPositivePattern=E;function p($){return"!"+$}e.convertToNegativePattern=p;function y($){return $.startsWith("!")&&$[1]!=="("}e.isNegativePattern=y;function u($){return!y($)}e.isPositivePattern=u;function f($){return $.filter(y)}e.getNegativePatterns=f;function m($){return $.filter(u)}e.getPositivePatterns=m;function h($){return $.filter(H=>!g(H))}e.getPatternsInsideCurrentDirectory=h;function P($){return $.filter(g)}e.getPatternsOutsideCurrentDirectory=P;function g($){return $.startsWith("..")||$.startsWith("./..")}e.isPatternRelatedToParentDirectory=g;function A($){return r($,{flipBackslashes:!1})}e.getBaseDirectory=A;function b($){return $.includes(i)}e.hasGlobStar=b;function T($){return $.endsWith("/"+i)}e.endsWithSlashGlobStar=T;function R($){let H=t.basename($);return T($)||_(H)}e.isAffectDepthOfReadingPattern=R;function C($){return $.reduce((H,L)=>H.concat(O(L)),[])}e.expandPatternsWithBraceExpansion=C;function O($){let H=n.braces($,{expand:!0,nodupes:!0,keepEscaping:!0});return H.sort((L,V)=>L.length-V.length),H.filter(L=>L!=="")}e.expandBraceExpansion=O;function w($,H){let{parts:L}=n.scan($,Object.assign(Object.assign({},H),{parts:!0}));return L.length===0&&(L=[$]),L[0].startsWith("/")&&(L[0]=L[0].slice(1),L.unshift("")),L}e.getPatternParts=w;function k($,H){return n.makeRe($,H)}e.makeRe=k;function N($,H){return $.map(L=>k(L,H))}e.convertPatternsToRe=N;function q($,H){return H.some(L=>L.test($))}e.matchAny=q;function I($){return $.replace(v,"/")}e.removeDuplicateSlashes=I;function F($){let H=[],L=[];for(let V of $)B(V)?H.push(V):L.push(V);return[H,L]}e.partitionAbsoluteAndRelative=F;function B($){return t.isAbsolute($)}e.isAbsolute=B}}),Xu=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.merge=void 0;var t=Yn();function r(i){let o=t(i);return i.forEach(c=>{c.once("error",a=>o.emit("error",a))}),o.once("close",()=>n(i)),o.once("end",()=>n(i)),o}e.merge=r;function n(i){i.forEach(o=>o.emit("close"))}}}),Yu=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEmpty=e.isString=void 0;function t(n){return typeof n=="string"}e.isString=t;function r(n){return n===""}e.isEmpty=r}}),Ne=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.string=e.stream=e.pattern=e.path=e.fs=e.errno=e.array=void 0;var t=ku();e.array=t;var r=Cu();e.errno=r;var n=ju();e.fs=n;var i=Iu();e.path=i;var o=Ku();e.pattern=o;var c=Xu();e.stream=c;var a=Yu();e.string=a}}),zu=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertPatternGroupToTask=e.convertPatternGroupsToTasks=e.groupPatternsByBaseDirectory=e.getNegativePatternsAsPositive=e.getPositivePatterns=e.convertPatternsToTasks=e.generate=void 0;var t=Ne();function r(d,v){let _=n(d,v),x=n(v.ignore,v),S=o(_),E=c(_,x),p=S.filter(m=>t.pattern.isStaticPattern(m,v)),y=S.filter(m=>t.pattern.isDynamicPattern(m,v)),u=i(p,E,!1),f=i(y,E,!0);return u.concat(f)}e.generate=r;function n(d,v){let _=d;return v.braceExpansion&&(_=t.pattern.expandPatternsWithBraceExpansion(_)),v.baseNameMatch&&(_=_.map(x=>x.includes("/")?x:`**/${x}`)),_.map(x=>t.pattern.removeDuplicateSlashes(x))}function i(d,v,_){let x=[],S=t.pattern.getPatternsOutsideCurrentDirectory(d),E=t.pattern.getPatternsInsideCurrentDirectory(d),p=a(S),y=a(E);return x.push(...s(p,v,_)),"."in y?x.push(l(".",E,v,_)):x.push(...s(y,v,_)),x}e.convertPatternsToTasks=i;function o(d){return t.pattern.getPositivePatterns(d)}e.getPositivePatterns=o;function c(d,v){return t.pattern.getNegativePatterns(d).concat(v).map(t.pattern.convertToPositivePattern)}e.getNegativePatternsAsPositive=c;function a(d){let v={};return d.reduce((_,x)=>{let S=t.pattern.getBaseDirectory(x);return S in _?_[S].push(x):_[S]=[x],_},v)}e.groupPatternsByBaseDirectory=a;function s(d,v,_){return Object.keys(d).map(x=>l(x,d[x],v,_))}e.convertPatternGroupsToTasks=s;function l(d,v,_,x){return{dynamic:x,positive:v,negative:_,base:d,patterns:[].concat(v,_.map(t.pattern.convertToNegativePattern))}}e.convertPatternGroupToTask=l}}),Qu=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.read=void 0;function t(i,o,c){o.fs.lstat(i,(a,s)=>{if(a!==null){r(c,a);return}if(!s.isSymbolicLink()||!o.followSymbolicLink){n(c,s);return}o.fs.stat(i,(l,d)=>{if(l!==null){if(o.throwErrorOnBrokenSymbolicLink){r(c,l);return}n(c,s);return}o.markSymbolicLink&&(d.isSymbolicLink=()=>!0),n(c,d)})})}e.read=t;function r(i,o){i(o)}function n(i,o){i(null,o)}}}),Zu=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.read=void 0;function t(r,n){let i=n.fs.lstatSync(r);if(!i.isSymbolicLink()||!n.followSymbolicLink)return i;try{let o=n.fs.statSync(r);return n.markSymbolicLink&&(o.isSymbolicLink=()=>!0),o}catch(o){if(!n.throwErrorOnBrokenSymbolicLink)return i;throw o}}e.read=t}}),ec=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;var t=(0,j.__require)("fs");e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync};function r(n){return n===void 0?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),n)}e.createFileSystemAdapter=r}}),tc=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=ec(),r=class{constructor(n={}){this._options=n,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=t.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(n,i){return n??i}};e.default=r}}),Je=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.statSync=e.stat=e.Settings=void 0;var t=Qu(),r=Zu(),n=tc();e.Settings=n.default;function i(a,s,l){if(typeof s=="function"){t.read(a,c(),s);return}t.read(a,c(s),l)}e.stat=i;function o(a,s){let l=c(s);return r.read(a,l)}e.statSync=o;function c(a={}){return a instanceof n.default?a:new n.default(a)}}}),rc=(0,j.__commonJS)({"../../node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.js"(e,t){"use strict";var r;t.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):n=>(r||(r=Promise.resolve())).then(n).catch(i=>setTimeout(()=>{throw i},0))}}),nc=(0,j.__commonJS)({"../../node_modules/.pnpm/run-parallel@1.2.0/node_modules/run-parallel/index.js"(e,t){"use strict";t.exports=n;var r=rc();function n(i,o){let c,a,s,l=!0;Array.isArray(i)?(c=[],a=i.length):(s=Object.keys(i),c={},a=s.length);function d(_){function x(){o&&o(_,c),o=null}l?r(x):x()}function v(_,x,S){c[_]=S,(--a===0||x)&&d(x)}a?s?s.forEach(function(_){i[_](function(x,S){v(_,x,S)})}):i.forEach(function(_,x){_(function(S,E){v(x,S,E)})}):d(null),l=!1}}}),Zn=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var t=process.versions.node.split(".");if(t[0]===void 0||t[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var r=Number.parseInt(t[0],10),n=Number.parseInt(t[1],10),i=10,o=10,c=r>i,a=r===i&&n>=o;e.IS_SUPPORT_READDIR_WITH_FILE_TYPES=c||a}}),ic=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createDirentFromStats=void 0;var t=class{constructor(n,i){this.name=n,this.isBlockDevice=i.isBlockDevice.bind(i),this.isCharacterDevice=i.isCharacterDevice.bind(i),this.isDirectory=i.isDirectory.bind(i),this.isFIFO=i.isFIFO.bind(i),this.isFile=i.isFile.bind(i),this.isSocket=i.isSocket.bind(i),this.isSymbolicLink=i.isSymbolicLink.bind(i)}};function r(n,i){return new t(n,i)}e.createDirentFromStats=r}}),ei=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fs=void 0;var t=ic();e.fs=t}}),ti=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.joinPathSegments=void 0;function t(r,n,i){return r.endsWith(i)?r+n:r+i+n}e.joinPathSegments=t}}),sc=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readdir=e.readdirWithFileTypes=e.read=void 0;var t=Je(),r=nc(),n=Zn(),i=ei(),o=ti();function c(_,x,S){if(!x.stats&&n.IS_SUPPORT_READDIR_WITH_FILE_TYPES){a(_,x,S);return}l(_,x,S)}e.read=c;function a(_,x,S){x.fs.readdir(_,{withFileTypes:!0},(E,p)=>{if(E!==null){d(S,E);return}let y=p.map(f=>({dirent:f,name:f.name,path:o.joinPathSegments(_,f.name,x.pathSegmentSeparator)}));if(!x.followSymbolicLinks){v(S,y);return}let u=y.map(f=>s(f,x));r(u,(f,m)=>{if(f!==null){d(S,f);return}v(S,m)})})}e.readdirWithFileTypes=a;function s(_,x){return S=>{if(!_.dirent.isSymbolicLink()){S(null,_);return}x.fs.stat(_.path,(E,p)=>{if(E!==null){if(x.throwErrorOnBrokenSymbolicLink){S(E);return}S(null,_);return}_.dirent=i.fs.createDirentFromStats(_.name,p),S(null,_)})}}function l(_,x,S){x.fs.readdir(_,(E,p)=>{if(E!==null){d(S,E);return}let y=p.map(u=>{let f=o.joinPathSegments(_,u,x.pathSegmentSeparator);return m=>{t.stat(f,x.fsStatSettings,(h,P)=>{if(h!==null){m(h);return}let g={name:u,path:f,dirent:i.fs.createDirentFromStats(u,P)};x.stats&&(g.stats=P),m(null,g)})}});r(y,(u,f)=>{if(u!==null){d(S,u);return}v(S,f)})})}e.readdir=l;function d(_,x){_(x)}function v(_,x){_(null,x)}}}),ac=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readdir=e.readdirWithFileTypes=e.read=void 0;var t=Je(),r=Zn(),n=ei(),i=ti();function o(s,l){return!l.stats&&r.IS_SUPPORT_READDIR_WITH_FILE_TYPES?c(s,l):a(s,l)}e.read=o;function c(s,l){return l.fs.readdirSync(s,{withFileTypes:!0}).map(v=>{let _={dirent:v,name:v.name,path:i.joinPathSegments(s,v.name,l.pathSegmentSeparator)};if(_.dirent.isSymbolicLink()&&l.followSymbolicLinks)try{let x=l.fs.statSync(_.path);_.dirent=n.fs.createDirentFromStats(_.name,x)}catch(x){if(l.throwErrorOnBrokenSymbolicLink)throw x}return _})}e.readdirWithFileTypes=c;function a(s,l){return l.fs.readdirSync(s).map(v=>{let _=i.joinPathSegments(s,v,l.pathSegmentSeparator),x=t.statSync(_,l.fsStatSettings),S={name:v,path:_,dirent:n.fs.createDirentFromStats(v,x)};return l.stats&&(S.stats=x),S})}e.readdir=a}}),oc=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;var t=(0,j.__require)("fs");e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync};function r(n){return n===void 0?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),n)}e.createFileSystemAdapter=r}}),uc=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(0,j.__require)("path"),r=Je(),n=oc(),i=class{constructor(o={}){this._options=o,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=n.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,t.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new r.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(o,c){return o??c}};e.default=i}}),cr=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Settings=e.scandirSync=e.scandir=void 0;var t=sc(),r=ac(),n=uc();e.Settings=n.default;function i(a,s,l){if(typeof s=="function"){t.read(a,c(),s);return}t.read(a,c(s),l)}e.scandir=i;function o(a,s){let l=c(s);return r.read(a,l)}e.scandirSync=o;function c(a={}){return a instanceof n.default?a:new n.default(a)}}}),cc=(0,j.__commonJS)({"../../node_modules/.pnpm/reusify@1.0.4/node_modules/reusify/reusify.js"(e,t){"use strict";function r(n){var i=new n,o=i;function c(){var s=i;return s.next?i=s.next:(i=new n,o=i),s.next=null,s}function a(s){o.next=s,o=s}return{get:c,release:a}}t.exports=r}}),lc=(0,j.__commonJS)({"../../node_modules/.pnpm/fastq@1.15.0/node_modules/fastq/queue.js"(e,t){"use strict";var r=cc();function n(a,s,l){if(typeof a=="function"&&(l=s,s=a,a=null),l<1)throw new Error("fastqueue concurrency must be greater than 1");var d=r(o),v=null,_=null,x=0,S=null,E={push:P,drain:i,saturated:i,pause:y,paused:!1,concurrency:l,running:p,resume:m,idle:h,length:u,getQueue:f,unshift:g,empty:i,kill:b,killAndDrain:T,error:R};return E;function p(){return x}function y(){E.paused=!0}function u(){for(var C=v,O=0;C;)C=C.next,O++;return O}function f(){for(var C=v,O=[];C;)O.push(C.value),C=C.next;return O}function m(){if(E.paused){E.paused=!1;for(var C=0;C<E.concurrency;C++)x++,A()}}function h(){return x===0&&E.length()===0}function P(C,O){var w=d.get();w.context=a,w.release=A,w.value=C,w.callback=O||i,w.errorHandler=S,x===E.concurrency||E.paused?_?(_.next=w,_=w):(v=w,_=w,E.saturated()):(x++,s.call(a,w.value,w.worked))}function g(C,O){var w=d.get();w.context=a,w.release=A,w.value=C,w.callback=O||i,x===E.concurrency||E.paused?v?(w.next=v,v=w):(v=w,_=w,E.saturated()):(x++,s.call(a,w.value,w.worked))}function A(C){C&&d.release(C);var O=v;O?E.paused?x--:(_===v&&(_=null),v=O.next,O.next=null,s.call(a,O.value,O.worked),_===null&&E.empty()):--x===0&&E.drain()}function b(){v=null,_=null,E.drain=i}function T(){v=null,_=null,E.drain(),E.drain=i}function R(C){S=C}}function i(){}function o(){this.value=null,this.callback=i,this.next=null,this.release=i,this.context=null,this.errorHandler=null;var a=this;this.worked=function(l,d){var v=a.callback,_=a.errorHandler,x=a.value;a.value=null,a.callback=i,a.errorHandler&&_(l,x),v.call(a.context,l,d),a.release(a)}}function c(a,s,l){typeof a=="function"&&(l=s,s=a,a=null);function d(y,u){s.call(this,y).then(function(f){u(null,f)},u)}var v=n(a,d,l),_=v.push,x=v.unshift;return v.push=S,v.unshift=E,v.drained=p,v;function S(y){var u=new Promise(function(f,m){_(y,function(h,P){if(h){m(h);return}f(P)})});return u.catch(i),u}function E(y){var u=new Promise(function(f,m){x(y,function(h,P){if(h){m(h);return}f(P)})});return u.catch(i),u}function p(){if(v.idle())return new Promise(function(f){f()});var y=v.drain,u=new Promise(function(f){v.drain=function(){y(),f()}});return u}}t.exports=n,t.exports.promise=c}}),lr=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.joinPathSegments=e.replacePathSegmentSeparator=e.isAppliedFilter=e.isFatalError=void 0;function t(o,c){return o.errorFilter===null?!0:!o.errorFilter(c)}e.isFatalError=t;function r(o,c){return o===null||o(c)}e.isAppliedFilter=r;function n(o,c){return o.split(/[/\\]/).join(c)}e.replacePathSegmentSeparator=n;function i(o,c,a){return o===""?c:o.endsWith(a)?o+c:o+a+c}e.joinPathSegments=i}}),ri=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=lr(),r=class{constructor(n,i){this._root=n,this._settings=i,this._root=t.replacePathSegmentSeparator(n,i.pathSegmentSeparator)}};e.default=r}}),ni=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(0,j.__require)("events"),r=cr(),n=lc(),i=lr(),o=ri(),c=class extends o.default{constructor(a,s){super(a,s),this._settings=s,this._scandir=r.scandir,this._emitter=new t.EventEmitter,this._queue=n(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(a){this._emitter.on("entry",a)}onError(a){this._emitter.once("error",a)}onEnd(a){this._emitter.once("end",a)}_pushToQueue(a,s){let l={directory:a,base:s};this._queue.push(l,d=>{d!==null&&this._handleError(d)})}_worker(a,s){this._scandir(a.directory,this._settings.fsScandirSettings,(l,d)=>{if(l!==null){s(l,void 0);return}for(let v of d)this._handleEntry(v,a.base);s(null,void 0)})}_handleError(a){this._isDestroyed||!i.isFatalError(this._settings,a)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",a))}_handleEntry(a,s){if(this._isDestroyed||this._isFatalError)return;let l=a.path;s!==void 0&&(a.path=i.joinPathSegments(s,a.name,this._settings.pathSegmentSeparator)),i.isAppliedFilter(this._settings.entryFilter,a)&&this._emitEntry(a),a.dirent.isDirectory()&&i.isAppliedFilter(this._settings.deepFilter,a)&&this._pushToQueue(l,s===void 0?void 0:a.path)}_emitEntry(a){this._emitter.emit("entry",a)}};e.default=c}}),fc=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=ni(),r=class{constructor(o,c){this._root=o,this._settings=c,this._reader=new t.default(this._root,this._settings),this._storage=[]}read(o){this._reader.onError(c=>{n(o,c)}),this._reader.onEntry(c=>{this._storage.push(c)}),this._reader.onEnd(()=>{i(o,this._storage)}),this._reader.read()}};e.default=r;function n(o,c){o(c)}function i(o,c){o(null,c)}}}),dc=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(0,j.__require)("stream"),r=ni(),n=class{constructor(i,o){this._root=i,this._settings=o,this._reader=new r.default(this._root,this._settings),this._stream=new t.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(i=>{this._stream.emit("error",i)}),this._reader.onEntry(i=>{this._stream.push(i)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};e.default=n}}),pc=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=cr(),r=lr(),n=ri(),i=class extends n.default{constructor(){super(...arguments),this._scandir=t.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(o,c){this._queue.add({directory:o,base:c})}_handleQueue(){for(let o of this._queue.values())this._handleDirectory(o.directory,o.base)}_handleDirectory(o,c){try{let a=this._scandir(o,this._settings.fsScandirSettings);for(let s of a)this._handleEntry(s,c)}catch(a){this._handleError(a)}}_handleError(o){if(r.isFatalError(this._settings,o))throw o}_handleEntry(o,c){let a=o.path;c!==void 0&&(o.path=r.joinPathSegments(c,o.name,this._settings.pathSegmentSeparator)),r.isAppliedFilter(this._settings.entryFilter,o)&&this._pushToStorage(o),o.dirent.isDirectory()&&r.isAppliedFilter(this._settings.deepFilter,o)&&this._pushToQueue(a,c===void 0?void 0:o.path)}_pushToStorage(o){this._storage.push(o)}};e.default=i}}),hc=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=pc(),r=class{constructor(n,i){this._root=n,this._settings=i,this._reader=new t.default(this._root,this._settings)}read(){return this._reader.read()}};e.default=r}}),mc=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(0,j.__require)("path"),r=cr(),n=class{constructor(i={}){this._options=i,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,t.sep),this.fsScandirSettings=new r.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(i,o){return i??o}};e.default=n}}),fr=(0,j.__commonJS)({"../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Settings=e.walkStream=e.walkSync=e.walk=void 0;var t=fc(),r=dc(),n=hc(),i=mc();e.Settings=i.default;function o(l,d,v){if(typeof d=="function"){new t.default(l,s()).read(d);return}new t.default(l,s(d)).read(v)}e.walk=o;function c(l,d){let v=s(d);return new n.default(l,v).read()}e.walkSync=c;function a(l,d){let v=s(d);return new r.default(l,v).read()}e.walkStream=a;function s(l={}){return l instanceof i.default?l:new i.default(l)}}}),dr=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(0,j.__require)("path"),r=Je(),n=Ne(),i=class{constructor(o){this._settings=o,this._fsStatSettings=new r.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(o){return t.resolve(this._settings.cwd,o)}_makeEntry(o,c){let a={name:c,path:c,dirent:n.fs.createDirentFromStats(c,o)};return this._settings.stats&&(a.stats=o),a}_isFatalError(o){return!n.errno.isEnoentCodeError(o)&&!this._settings.suppressErrors}};e.default=i}}),ii=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(0,j.__require)("stream"),r=Je(),n=fr(),i=dr(),o=class extends i.default{constructor(){super(...arguments),this._walkStream=n.walkStream,this._stat=r.stat}dynamic(c,a){return this._walkStream(c,a)}static(c,a){let s=c.map(this._getFullEntryPath,this),l=new t.PassThrough({objectMode:!0});l._write=(d,v,_)=>this._getEntry(s[d],c[d],a).then(x=>{x!==null&&a.entryFilter(x)&&l.push(x),d===s.length-1&&l.end(),_()}).catch(_);for(let d=0;d<s.length;d++)l.write(d);return l}_getEntry(c,a,s){return this._getStat(c).then(l=>this._makeEntry(l,a)).catch(l=>{if(s.errorFilter(l))return null;throw l})}_getStat(c){return new Promise((a,s)=>{this._stat(c,this._fsStatSettings,(l,d)=>l===null?a(d):s(l))})}};e.default=o}}),vc=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=fr(),r=dr(),n=ii(),i=class extends r.default{constructor(){super(...arguments),this._walkAsync=t.walk,this._readerStream=new n.default(this._settings)}dynamic(o,c){return new Promise((a,s)=>{this._walkAsync(o,c,(l,d)=>{l===null?a(d):s(l)})})}async static(o,c){let a=[],s=this._readerStream.static(o,c);return new Promise((l,d)=>{s.once("error",d),s.on("data",v=>a.push(v)),s.once("end",()=>l(a))})}};e.default=i}}),_c=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Ne(),r=class{constructor(n,i,o){this._patterns=n,this._settings=i,this._micromatchOptions=o,this._storage=[],this._fillStorage()}_fillStorage(){for(let n of this._patterns){let i=this._getPatternSegments(n),o=this._splitSegmentsIntoSections(i);this._storage.push({complete:o.length<=1,pattern:n,segments:i,sections:o})}}_getPatternSegments(n){return t.pattern.getPatternParts(n,this._micromatchOptions).map(o=>t.pattern.isDynamicPattern(o,this._settings)?{dynamic:!0,pattern:o,patternRe:t.pattern.makeRe(o,this._micromatchOptions)}:{dynamic:!1,pattern:o})}_splitSegmentsIntoSections(n){return t.array.splitWhen(n,i=>i.dynamic&&t.pattern.hasGlobStar(i.pattern))}};e.default=r}}),yc=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=_c(),r=class extends t.default{match(n){let i=n.split("/"),o=i.length,c=this._storage.filter(a=>!a.complete||a.segments.length>o);for(let a of c){let s=a.sections[0];if(!a.complete&&o>s.length||i.every((d,v)=>{let _=a.segments[v];return!!(_.dynamic&&_.patternRe.test(d)||!_.dynamic&&_.pattern===d)}))return!0}return!1}};e.default=r}}),gc=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Ne(),r=yc(),n=class{constructor(i,o){this._settings=i,this._micromatchOptions=o}getFilter(i,o,c){let a=this._getMatcher(o),s=this._getNegativePatternsRe(c);return l=>this._filter(i,l,a,s)}_getMatcher(i){return new r.default(i,this._settings,this._micromatchOptions)}_getNegativePatternsRe(i){let o=i.filter(t.pattern.isAffectDepthOfReadingPattern);return t.pattern.convertPatternsToRe(o,this._micromatchOptions)}_filter(i,o,c,a){if(this._isSkippedByDeep(i,o.path)||this._isSkippedSymbolicLink(o))return!1;let s=t.path.removeLeadingDotSegment(o.path);return this._isSkippedByPositivePatterns(s,c)?!1:this._isSkippedByNegativePatterns(s,a)}_isSkippedByDeep(i,o){return this._settings.deep===1/0?!1:this._getEntryLevel(i,o)>=this._settings.deep}_getEntryLevel(i,o){let c=o.split("/").length;if(i==="")return c;let a=i.split("/").length;return c-a}_isSkippedSymbolicLink(i){return!this._settings.followSymbolicLinks&&i.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(i,o){return!this._settings.baseNameMatch&&!o.match(i)}_isSkippedByNegativePatterns(i,o){return!t.pattern.matchAny(i,o)}};e.default=n}}),Sc=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Ne(),r=class{constructor(n,i){this._settings=n,this._micromatchOptions=i,this.index=new Map}getFilter(n,i){let[o,c]=t.pattern.partitionAbsoluteAndRelative(i),a={positive:{all:t.pattern.convertPatternsToRe(n,this._micromatchOptions)},negative:{absolute:t.pattern.convertPatternsToRe(o,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:t.pattern.convertPatternsToRe(c,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return s=>this._filter(s,a)}_filter(n,i){let o=t.path.removeLeadingDotSegment(n.path);if(this._settings.unique&&this._isDuplicateEntry(o)||this._onlyFileFilter(n)||this._onlyDirectoryFilter(n))return!1;let c=this._isMatchToPatternsSet(o,i,n.dirent.isDirectory());return this._settings.unique&&c&&this._createIndexRecord(o),c}_isDuplicateEntry(n){return this.index.has(n)}_createIndexRecord(n){this.index.set(n,void 0)}_onlyFileFilter(n){return this._settings.onlyFiles&&!n.dirent.isFile()}_onlyDirectoryFilter(n){return this._settings.onlyDirectories&&!n.dirent.isDirectory()}_isMatchToPatternsSet(n,i,o){return!(!this._isMatchToPatterns(n,i.positive.all,o)||this._isMatchToPatterns(n,i.negative.relative,o)||this._isMatchToAbsoluteNegative(n,i.negative.absolute,o))}_isMatchToAbsoluteNegative(n,i,o){if(i.length===0)return!1;let c=t.path.makeAbsolute(this._settings.cwd,n);return this._isMatchToPatterns(c,i,o)}_isMatchToPatterns(n,i,o){if(i.length===0)return!1;let c=t.pattern.matchAny(n,i);return!c&&o?t.pattern.matchAny(n+"/",i):c}};e.default=r}}),bc=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Ne(),r=class{constructor(n){this._settings=n}getFilter(){return n=>this._isNonFatalError(n)}_isNonFatalError(n){return t.errno.isEnoentCodeError(n)||this._settings.suppressErrors}};e.default=r}}),wc=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Ne(),r=class{constructor(n){this._settings=n}getTransformer(){return n=>this._transform(n)}_transform(n){let i=n.path;return this._settings.absolute&&(i=t.path.makeAbsolute(this._settings.cwd,i),i=t.path.unixify(i)),this._settings.markDirectories&&n.dirent.isDirectory()&&(i+="/"),this._settings.objectMode?Object.assign(Object.assign({},n),{path:i}):i}};e.default=r}}),pr=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(0,j.__require)("path"),r=gc(),n=Sc(),i=bc(),o=wc(),c=class{constructor(a){this._settings=a,this.errorFilter=new i.default(this._settings),this.entryFilter=new n.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new r.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new o.default(this._settings)}_getRootDirectory(a){return t.resolve(this._settings.cwd,a.base)}_getReaderOptions(a){let s=a.base==="."?"":a.base;return{basePath:s,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(s,a.positive,a.negative),entryFilter:this.entryFilter.getFilter(a.positive,a.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};e.default=c}}),Ec=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=vc(),r=pr(),n=class extends r.default{constructor(){super(...arguments),this._reader=new t.default(this._settings)}async read(i){let o=this._getRootDirectory(i),c=this._getReaderOptions(i);return(await this.api(o,i,c)).map(s=>c.transform(s))}api(i,o,c){return o.dynamic?this._reader.dynamic(i,c):this._reader.static(o.patterns,c)}};e.default=n}}),Ac=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=(0,j.__require)("stream"),r=ii(),n=pr(),i=class extends n.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(o){let c=this._getRootDirectory(o),a=this._getReaderOptions(o),s=this.api(c,o,a),l=new t.Readable({objectMode:!0,read:()=>{}});return s.once("error",d=>l.emit("error",d)).on("data",d=>l.emit("data",a.transform(d))).once("end",()=>l.emit("end")),l.once("close",()=>s.destroy()),l}api(o,c,a){return c.dynamic?this._reader.dynamic(o,a):this._reader.static(c.patterns,a)}};e.default=i}}),Oc=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Je(),r=fr(),n=dr(),i=class extends n.default{constructor(){super(...arguments),this._walkSync=r.walkSync,this._statSync=t.statSync}dynamic(o,c){return this._walkSync(o,c)}static(o,c){let a=[];for(let s of o){let l=this._getFullEntryPath(s),d=this._getEntry(l,s,c);d===null||!c.entryFilter(d)||a.push(d)}return a}_getEntry(o,c,a){try{let s=this._getStat(o);return this._makeEntry(s,c)}catch(s){if(a.errorFilter(s))return null;throw s}}_getStat(o){return this._statSync(o,this._fsStatSettings)}};e.default=i}}),Pc=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=Oc(),r=pr(),n=class extends r.default{constructor(){super(...arguments),this._reader=new t.default(this._settings)}read(i){let o=this._getRootDirectory(i),c=this._getReaderOptions(i);return this.api(o,i,c).map(c.transform)}api(i,o,c){return o.dynamic?this._reader.dynamic(i,c):this._reader.static(o.patterns,c)}};e.default=n}}),xc=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var t=(0,j.__require)("fs"),r=(0,j.__require)("os"),n=Math.max(r.cpus().length,1);e.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:t.lstat,lstatSync:t.lstatSync,stat:t.stat,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync};var i=class{constructor(o={}){this._options=o,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,n),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(o,c){return o===void 0?c:o}_getFileSystemMethods(o={}){return Object.assign(Object.assign({},e.DEFAULT_FILE_SYSTEM_ADAPTER),o)}};e.default=i}}),si=(0,j.__commonJS)({"../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/index.js"(e,t){"use strict";var r=zu(),n=Ec(),i=Ac(),o=Pc(),c=xc(),a=Ne();async function s(v,_){d(v);let x=l(v,n.default,_),S=await Promise.all(x);return a.array.flatten(S)}(function(v){v.glob=v,v.globSync=_,v.globStream=x,v.async=v;function _(m,h){d(m);let P=l(m,o.default,h);return a.array.flatten(P)}v.sync=_;function x(m,h){d(m);let P=l(m,i.default,h);return a.stream.merge(P)}v.stream=x;function S(m,h){d(m);let P=[].concat(m),g=new c.default(h);return r.generate(P,g)}v.generateTasks=S;function E(m,h){d(m);let P=new c.default(h);return a.pattern.isDynamicPattern(m,P)}v.isDynamicPattern=E;function p(m){return d(m),a.path.escape(m)}v.escapePath=p;function y(m){return d(m),a.path.convertPathToPattern(m)}v.convertPathToPattern=y;let u;(function(m){function h(g){return d(g),a.path.escapePosixPath(g)}m.escapePath=h;function P(g){return d(g),a.path.convertPosixPathToPattern(g)}m.convertPathToPattern=P})(u=v.posix||(v.posix={}));let f;(function(m){function h(g){return d(g),a.path.escapeWindowsPath(g)}m.escapePath=h;function P(g){return d(g),a.path.convertWindowsPathToPattern(g)}m.convertPathToPattern=P})(f=v.win32||(v.win32={}))})(s||(s={}));function l(v,_,x){let S=[].concat(v),E=new c.default(x),p=r.generate(S,E),y=new _(E);return p.map(y.read,y)}function d(v){if(![].concat(v).every(S=>a.string.isString(S)&&!a.string.isEmpty(S)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}t.exports=s}}),Rc=(0,j.__commonJS)({"../../node_modules/.pnpm/path-type@4.0.0/node_modules/path-type/index.js"(e){"use strict";var{promisify:t}=(0,j.__require)("util"),r=(0,j.__require)("fs");async function n(o,c,a){if(typeof a!="string")throw new TypeError(`Expected a string, got ${typeof a}`);try{return(await t(r[o])(a))[c]()}catch(s){if(s.code==="ENOENT")return!1;throw s}}function i(o,c,a){if(typeof a!="string")throw new TypeError(`Expected a string, got ${typeof a}`);try{return r[o](a)[c]()}catch(s){if(s.code==="ENOENT")return!1;throw s}}e.isFile=n.bind(null,"stat","isFile"),e.isDirectory=n.bind(null,"stat","isDirectory"),e.isSymlink=n.bind(null,"lstat","isSymbolicLink"),e.isFileSync=i.bind(null,"statSync","isFile"),e.isDirectorySync=i.bind(null,"statSync","isDirectory"),e.isSymlinkSync=i.bind(null,"lstatSync","isSymbolicLink")}}),Tc=(0,j.__commonJS)({"../../node_modules/.pnpm/dir-glob@3.0.1/node_modules/dir-glob/index.js"(e,t){"use strict";var r=(0,j.__require)("path"),n=Rc(),i=s=>s.length>1?`{${s.join(",")}}`:s[0],o=(s,l)=>{let d=s[0]==="!"?s.slice(1):s;return r.isAbsolute(d)?d:r.join(l,d)},c=(s,l)=>r.extname(s)?`**/${s}`:`**/${s}.${i(l)}`,a=(s,l)=>{if(l.files&&!Array.isArray(l.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof l.files}\``);if(l.extensions&&!Array.isArray(l.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof l.extensions}\``);return l.files&&l.extensions?l.files.map(d=>r.posix.join(s,c(d,l.extensions))):l.files?l.files.map(d=>r.posix.join(s,`**/${d}`)):l.extensions?[r.posix.join(s,`**/*.${i(l.extensions)}`)]:[r.posix.join(s,"**")]};t.exports=async(s,l)=>{if(l={cwd:process.cwd(),...l},typeof l.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof l.cwd}\``);let d=await Promise.all([].concat(s).map(async v=>await n.isDirectory(o(v,l.cwd))?a(v,l):v));return[].concat.apply([],d)},t.exports.sync=(s,l)=>{if(l={cwd:process.cwd(),...l},typeof l.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof l.cwd}\``);let d=[].concat(s).map(v=>n.isDirectorySync(o(v,l.cwd))?a(v,l):v);return[].concat.apply([],d)}}}),kc=(0,j.__commonJS)({"../../node_modules/.pnpm/ignore@5.2.4/node_modules/ignore/index.js"(e,t){"use strict";function r(I){return Array.isArray(I)?I:[I]}var n="",i=" ",o="\\",c=/^\s+$/,a=/(?:[^\\]|^)\\$/,s=/^\\!/,l=/^\\#/,d=/\r?\n/g,v=/^\.*\/|^\.+$/,_="/",x="node-ignore";typeof Symbol<"u"&&(x=Symbol.for("node-ignore"));var S=x,E=(I,F,B)=>Object.defineProperty(I,F,{value:B}),p=/([0-z])-([0-z])/g,y=()=>!1,u=I=>I.replace(p,(F,B,$)=>B.charCodeAt(0)<=$.charCodeAt(0)?F:n),f=I=>{let{length:F}=I;return I.slice(0,F-F%2)},m=[[/\\?\s+$/,I=>I.indexOf("\\")===0?i:n],[/\\\s/g,()=>i],[/[\\$.|*+(){^]/g,I=>`\\${I}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(I,F,B)=>F+6<B.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(I,F,B)=>{let $=B.replace(/\\\*/g,"[^\\/]*");return F+$}],[/\\\\\\(?=[$.|*+(){^])/g,()=>o],[/\\\\/g,()=>o],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(I,F,B,$,H)=>F===o?`\\[${B}${f($)}${H}`:H==="]"&&$.length%2===0?`[${u(B)}${$}]`:"[]"],[/(?:[^*])$/,I=>/\/$/.test(I)?`${I}$`:`${I}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(I,F)=>`${F?`${F}[^/]+`:"[^/]*"}(?=$|\\/$)`]],h=Object.create(null),P=(I,F)=>{let B=h[I];return B||(B=m.reduce(($,H)=>$.replace(H[0],H[1].bind(I)),I),h[I]=B),F?new RegExp(B,"i"):new RegExp(B)},g=I=>typeof I=="string",A=I=>I&&g(I)&&!c.test(I)&&!a.test(I)&&I.indexOf("#")!==0,b=I=>I.split(d),T=class{constructor(I,F,B,$){this.origin=I,this.pattern=F,this.negative=B,this.regex=$}},R=(I,F)=>{let B=I,$=!1;I.indexOf("!")===0&&($=!0,I=I.substr(1)),I=I.replace(s,"!").replace(l,"#");let H=P(I,F);return new T(B,I,$,H)},C=(I,F)=>{throw new F(I)},O=(I,F,B)=>g(I)?I?O.isNotRelative(I)?B(`path should be a \`path.relative()\`d string, but got "${F}"`,RangeError):!0:B("path must not be empty",TypeError):B(`path must be a string, but got \`${F}\``,TypeError),w=I=>v.test(I);O.isNotRelative=w,O.convert=I=>I;var k=class{constructor({ignorecase:I=!0,ignoreCase:F=I,allowRelativePaths:B=!1}={}){E(this,S,!0),this._rules=[],this._ignoreCase=F,this._allowRelativePaths=B,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(I){if(I&&I[S]){this._rules=this._rules.concat(I._rules),this._added=!0;return}if(A(I)){let F=R(I,this._ignoreCase);this._added=!0,this._rules.push(F)}}add(I){return this._added=!1,r(g(I)?b(I):I).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(I){return this.add(I)}_testOne(I,F){let B=!1,$=!1;return this._rules.forEach(H=>{let{negative:L}=H;if($===L&&B!==$||L&&!B&&!$&&!F)return;H.regex.test(I)&&(B=!L,$=L)}),{ignored:B,unignored:$}}_test(I,F,B,$){let H=I&&O.convert(I);return O(H,I,this._allowRelativePaths?y:C),this._t(H,F,B,$)}_t(I,F,B,$){if(I in F)return F[I];if($||($=I.split(_)),$.pop(),!$.length)return F[I]=this._testOne(I,B);let H=this._t($.join(_)+_,F,B,$);return F[I]=H.ignored?H:this._testOne(I,B)}ignores(I){return this._test(I,this._ignoreCache,!1).ignored}createFilter(){return I=>!this.ignores(I)}filter(I){return r(I).filter(this.createFilter())}test(I){return this._test(I,this._testCache,!0)}},N=I=>new k(I),q=I=>O(I&&O.convert(I),I,y);if(N.isPathValid=q,N.default=N,t.exports=N,typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let I=B=>/^\\\\\?\\/.test(B)||/["<>|\u0000-\u001F]+/u.test(B)?B:B.replace(/\\/g,"/");O.convert=I;let F=/^[a-z]:\//i;O.isNotRelative=B=>F.test(B)||w(B)}}}),ai=(0,j.__commonJS)({"../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js"(e,t){"use strict";t.exports=r=>{let n=/^\\\\\?\\/.test(r),i=/[^\u0000-\u0080]+/.test(r);return n||i?r:r.replace(/\\/g,"/")}}}),Cc=(0,j.__commonJS)({"../../node_modules/.pnpm/globby@11.1.0/node_modules/globby/gitignore.js"(e,t){"use strict";var{promisify:r}=(0,j.__require)("util"),n=(0,j.__require)("fs"),i=(0,j.__require)("path"),o=si(),c=kc(),a=ai(),s=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],l=r(n.readFile),d=u=>f=>f.startsWith("!")?"!"+i.posix.join(u,f.slice(1)):i.posix.join(u,f),v=(u,f)=>{let m=a(i.relative(f.cwd,i.dirname(f.fileName)));return u.split(/\r?\n/).filter(Boolean).filter(h=>!h.startsWith("#")).map(d(m))},_=u=>{let f=c();for(let m of u)f.add(v(m.content,{cwd:m.cwd,fileName:m.filePath}));return f},x=(u,f)=>{if(u=a(u),i.isAbsolute(f)){if(a(f).startsWith(u))return f;throw new Error(`Path ${f} is not in cwd ${u}`)}return i.join(u,f)},S=(u,f)=>m=>u.ignores(a(i.relative(f,x(f,m.path||m)))),E=async(u,f)=>{let m=i.join(f,u),h=await l(m,"utf8");return{cwd:f,filePath:m,content:h}},p=(u,f)=>{let m=i.join(f,u),h=n.readFileSync(m,"utf8");return{cwd:f,filePath:m,content:h}},y=({ignore:u=[],cwd:f=a(process.cwd())}={})=>({ignore:u,cwd:f});t.exports=async u=>{u=y(u);let f=await o("**/.gitignore",{ignore:s.concat(u.ignore),cwd:u.cwd}),m=await Promise.all(f.map(P=>E(P,u.cwd))),h=_(m);return S(h,u.cwd)},t.exports.sync=u=>{u=y(u);let m=o.sync("**/.gitignore",{ignore:s.concat(u.ignore),cwd:u.cwd}).map(P=>p(P,u.cwd)),h=_(m);return S(h,u.cwd)}}}),jc=(0,j.__commonJS)({"../../node_modules/.pnpm/globby@11.1.0/node_modules/globby/stream-utils.js"(e,t){"use strict";var{Transform:r}=(0,j.__require)("stream"),n=class extends r{constructor(){super({objectMode:!0})}},i=class extends n{constructor(c){super(),this._filter=c}_transform(c,a,s){this._filter(c)&&this.push(c),s()}},o=class extends n{constructor(){super(),this._pushed=new Set}_transform(c,a,s){this._pushed.has(c)||(this.push(c),this._pushed.add(c)),s()}};t.exports={FilterStream:i,UniqueStream:o}}}),Ic=(0,j.__commonJS)({"../../node_modules/.pnpm/globby@11.1.0/node_modules/globby/index.js"(e,t){"use strict";var r=(0,j.__require)("fs"),n=Tu(),i=Yn(),o=si(),c=Tc(),a=Cc(),{FilterStream:s,UniqueStream:l}=jc(),d=()=>!1,v=m=>m[0]==="!",_=m=>{if(!m.every(h=>typeof h=="string"))throw new TypeError("Patterns must be a string or an array of strings")},x=(m={})=>{if(!m.cwd)return;let h;try{h=r.statSync(m.cwd)}catch{return}if(!h.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},S=m=>m.stats instanceof r.Stats?m.path:m,E=(m,h)=>{m=n([].concat(m)),_(m),x(h);let P=[];h={ignore:[],expandDirectories:!0,...h};for(let[g,A]of m.entries()){if(v(A))continue;let b=m.slice(g).filter(R=>v(R)).map(R=>R.slice(1)),T={...h,ignore:h.ignore.concat(b)};P.push({pattern:A,options:T})}return P},p=(m,h)=>{let P={};return m.options.cwd&&(P.cwd=m.options.cwd),Array.isArray(m.options.expandDirectories)?P={...P,files:m.options.expandDirectories}:typeof m.options.expandDirectories=="object"&&(P={...P,...m.options.expandDirectories}),h(m.pattern,P)},y=(m,h)=>m.options.expandDirectories?p(m,h):[m.pattern],u=m=>m&&m.gitignore?a.sync({cwd:m.cwd,ignore:m.ignore}):d,f=m=>h=>{let{options:P}=m;return P.ignore&&Array.isArray(P.ignore)&&P.expandDirectories&&(P.ignore=c.sync(P.ignore)),{pattern:h,options:P}};t.exports=async(m,h)=>{let P=E(m,h),g=async()=>h&&h.gitignore?a({cwd:h.cwd,ignore:h.ignore}):d,A=async()=>{let C=await Promise.all(P.map(async O=>{let w=await y(O,c);return Promise.all(w.map(f(O)))}));return n(...C)},[b,T]=await Promise.all([g(),A()]),R=await Promise.all(T.map(C=>o(C.pattern,C.options)));return n(...R).filter(C=>!b(S(C)))},t.exports.sync=(m,h)=>{let P=E(m,h),g=[];for(let T of P){let R=y(T,c.sync).map(f(T));g.push(...R)}let A=u(h),b=[];for(let T of g)b=n(b,o.sync(T.pattern,T.options));return b.filter(T=>!A(T))},t.exports.stream=(m,h)=>{let P=E(m,h),g=[];for(let R of P){let C=y(R,c.sync).map(f(R));g.push(...C)}let A=u(h),b=new s(R=>!A(R)),T=new l;return i(g.map(R=>o.stream(R.pattern,R.options))).pipe(b).pipe(T)},t.exports.generateGlobTasks=E,t.exports.hasMagic=(m,h)=>[].concat(m).some(P=>o.isDynamicPattern(P,h)),t.exports.gitignore=a}}),Dc=(0,j.__commonJS)({"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/polyfills.js"(e,t){"use strict";var r=(0,j.__require)("constants"),n=process.cwd,i=null,o=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return i||(i=n.call(process)),i};try{process.cwd()}catch{}typeof process.chdir=="function"&&(c=process.chdir,process.chdir=function(s){i=null,c.call(process,s)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,c));var c;t.exports=a;function a(s){r.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&l(s),s.lutimes||d(s),s.chown=x(s.chown),s.fchown=x(s.fchown),s.lchown=x(s.lchown),s.chmod=v(s.chmod),s.fchmod=v(s.fchmod),s.lchmod=v(s.lchmod),s.chownSync=S(s.chownSync),s.fchownSync=S(s.fchownSync),s.lchownSync=S(s.lchownSync),s.chmodSync=_(s.chmodSync),s.fchmodSync=_(s.fchmodSync),s.lchmodSync=_(s.lchmodSync),s.stat=E(s.stat),s.fstat=E(s.fstat),s.lstat=E(s.lstat),s.statSync=p(s.statSync),s.fstatSync=p(s.fstatSync),s.lstatSync=p(s.lstatSync),s.chmod&&!s.lchmod&&(s.lchmod=function(u,f,m){m&&process.nextTick(m)},s.lchmodSync=function(){}),s.chown&&!s.lchown&&(s.lchown=function(u,f,m,h){h&&process.nextTick(h)},s.lchownSync=function(){}),o==="win32"&&(s.rename=typeof s.rename!="function"?s.rename:function(u){function f(m,h,P){var g=Date.now(),A=0;u(m,h,function b(T){if(T&&(T.code==="EACCES"||T.code==="EPERM")&&Date.now()-g<6e4){setTimeout(function(){s.stat(h,function(R,C){R&&R.code==="ENOENT"?u(m,h,b):P(T)})},A),A<100&&(A+=10);return}P&&P(T)})}return Object.setPrototypeOf&&Object.setPrototypeOf(f,u),f}(s.rename)),s.read=typeof s.read!="function"?s.read:function(u){function f(m,h,P,g,A,b){var T;if(b&&typeof b=="function"){var R=0;T=function(C,O,w){if(C&&C.code==="EAGAIN"&&R<10)return R++,u.call(s,m,h,P,g,A,T);b.apply(this,arguments)}}return u.call(s,m,h,P,g,A,T)}return Object.setPrototypeOf&&Object.setPrototypeOf(f,u),f}(s.read),s.readSync=typeof s.readSync!="function"?s.readSync:function(u){return function(f,m,h,P,g){for(var A=0;;)try{return u.call(s,f,m,h,P,g)}catch(b){if(b.code==="EAGAIN"&&A<10){A++;continue}throw b}}}(s.readSync);function l(u){u.lchmod=function(f,m,h){u.open(f,r.O_WRONLY|r.O_SYMLINK,m,function(P,g){if(P){h&&h(P);return}u.fchmod(g,m,function(A){u.close(g,function(b){h&&h(A||b)})})})},u.lchmodSync=function(f,m){var h=u.openSync(f,r.O_WRONLY|r.O_SYMLINK,m),P=!0,g;try{g=u.fchmodSync(h,m),P=!1}finally{if(P)try{u.closeSync(h)}catch{}else u.closeSync(h)}return g}}function d(u){r.hasOwnProperty("O_SYMLINK")&&u.futimes?(u.lutimes=function(f,m,h,P){u.open(f,r.O_SYMLINK,function(g,A){if(g){P&&P(g);return}u.futimes(A,m,h,function(b){u.close(A,function(T){P&&P(b||T)})})})},u.lutimesSync=function(f,m,h){var P=u.openSync(f,r.O_SYMLINK),g,A=!0;try{g=u.futimesSync(P,m,h),A=!1}finally{if(A)try{u.closeSync(P)}catch{}else u.closeSync(P)}return g}):u.futimes&&(u.lutimes=function(f,m,h,P){P&&process.nextTick(P)},u.lutimesSync=function(){})}function v(u){return u&&function(f,m,h){return u.call(s,f,m,function(P){y(P)&&(P=null),h&&h.apply(this,arguments)})}}function _(u){return u&&function(f,m){try{return u.call(s,f,m)}catch(h){if(!y(h))throw h}}}function x(u){return u&&function(f,m,h,P){return u.call(s,f,m,h,function(g){y(g)&&(g=null),P&&P.apply(this,arguments)})}}function S(u){return u&&function(f,m,h){try{return u.call(s,f,m,h)}catch(P){if(!y(P))throw P}}}function E(u){return u&&function(f,m,h){typeof m=="function"&&(h=m,m=null);function P(g,A){A&&(A.uid<0&&(A.uid+=4294967296),A.gid<0&&(A.gid+=4294967296)),h&&h.apply(this,arguments)}return m?u.call(s,f,m,P):u.call(s,f,P)}}function p(u){return u&&function(f,m){var h=m?u.call(s,f,m):u.call(s,f);return h&&(h.uid<0&&(h.uid+=4294967296),h.gid<0&&(h.gid+=4294967296)),h}}function y(u){if(!u||u.code==="ENOSYS")return!0;var f=!process.getuid||process.getuid()!==0;return!!(f&&(u.code==="EINVAL"||u.code==="EPERM"))}}}}),Lc=(0,j.__commonJS)({"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/legacy-streams.js"(e,t){"use strict";var r=(0,j.__require)("stream").Stream;t.exports=n;function n(i){return{ReadStream:o,WriteStream:c};function o(a,s){if(!(this instanceof o))return new o(a,s);r.call(this);var l=this;this.path=a,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,s=s||{};for(var d=Object.keys(s),v=0,_=d.length;v<_;v++){var x=d[v];this[x]=s[x]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){l._read()});return}i.open(this.path,this.flags,this.mode,function(S,E){if(S){l.emit("error",S),l.readable=!1;return}l.fd=E,l.emit("open",E),l._read()})}function c(a,s){if(!(this instanceof c))return new c(a,s);r.call(this),this.path=a,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,s=s||{};for(var l=Object.keys(s),d=0,v=l.length;d<v;d++){var _=l[d];this[_]=s[_]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=i.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}}}),Nc=(0,j.__commonJS)({"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/clone.js"(e,t){"use strict";t.exports=n;var r=Object.getPrototypeOf||function(i){return i.__proto__};function n(i){if(i===null||typeof i!="object")return i;if(i instanceof Object)var o={__proto__:r(i)};else var o=Object.create(null);return Object.getOwnPropertyNames(i).forEach(function(c){Object.defineProperty(o,c,Object.getOwnPropertyDescriptor(i,c))}),o}}}),$c=(0,j.__commonJS)({"../../node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js"(e,t){"use strict";var r=(0,j.__require)("fs"),n=Dc(),i=Lc(),o=Nc(),c=(0,j.__require)("util"),a,s;typeof Symbol=="function"&&typeof Symbol.for=="function"?(a=Symbol.for("graceful-fs.queue"),s=Symbol.for("graceful-fs.previous")):(a="___graceful-fs.queue",s="___graceful-fs.previous");function l(){}function d(u,f){Object.defineProperty(u,a,{get:function(){return f}})}var v=l;c.debuglog?v=c.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(v=function(){var u=c.format.apply(c,arguments);u="GFS4: "+u.split(/\n/).join(`
9
+ GFS4: `),console.error(u)}),r[a]||(_=global[a]||[],d(r,_),r.close=function(u){function f(m,h){return u.call(r,m,function(P){P||p(),typeof h=="function"&&h.apply(this,arguments)})}return Object.defineProperty(f,s,{value:u}),f}(r.close),r.closeSync=function(u){function f(m){u.apply(r,arguments),p()}return Object.defineProperty(f,s,{value:u}),f}(r.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){v(r[a]),(0,j.__require)("assert").equal(r[a].length,0)}));var _;global[a]||d(global,r[a]),t.exports=x(o(r)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!r.__patched&&(t.exports=x(r),r.__patched=!0);function x(u){n(u),u.gracefulify=x,u.createReadStream=L,u.createWriteStream=V;var f=u.readFile;u.readFile=m;function m(D,M,G){return typeof M=="function"&&(G=M,M=null),J(D,M,G);function J(ee,re,X,z){return f(ee,re,function(te){te&&(te.code==="EMFILE"||te.code==="ENFILE")?S([J,[ee,re,X],te,z||Date.now(),Date.now()]):typeof X=="function"&&X.apply(this,arguments)})}}var h=u.writeFile;u.writeFile=P;function P(D,M,G,J){return typeof G=="function"&&(J=G,G=null),ee(D,M,G,J);function ee(re,X,z,te,ne){return h(re,X,z,function(Q){Q&&(Q.code==="EMFILE"||Q.code==="ENFILE")?S([ee,[re,X,z,te],Q,ne||Date.now(),Date.now()]):typeof te=="function"&&te.apply(this,arguments)})}}var g=u.appendFile;g&&(u.appendFile=A);function A(D,M,G,J){return typeof G=="function"&&(J=G,G=null),ee(D,M,G,J);function ee(re,X,z,te,ne){return g(re,X,z,function(Q){Q&&(Q.code==="EMFILE"||Q.code==="ENFILE")?S([ee,[re,X,z,te],Q,ne||Date.now(),Date.now()]):typeof te=="function"&&te.apply(this,arguments)})}}var b=u.copyFile;b&&(u.copyFile=T);function T(D,M,G,J){return typeof G=="function"&&(J=G,G=0),ee(D,M,G,J);function ee(re,X,z,te,ne){return b(re,X,z,function(Q){Q&&(Q.code==="EMFILE"||Q.code==="ENFILE")?S([ee,[re,X,z,te],Q,ne||Date.now(),Date.now()]):typeof te=="function"&&te.apply(this,arguments)})}}var R=u.readdir;u.readdir=O;var C=/^v[0-5]\./;function O(D,M,G){typeof M=="function"&&(G=M,M=null);var J=C.test(process.version)?function(X,z,te,ne){return R(X,ee(X,z,te,ne))}:function(X,z,te,ne){return R(X,z,ee(X,z,te,ne))};return J(D,M,G);function ee(re,X,z,te){return function(ne,Q){ne&&(ne.code==="EMFILE"||ne.code==="ENFILE")?S([J,[re,X,z],ne,te||Date.now(),Date.now()]):(Q&&Q.sort&&Q.sort(),typeof z=="function"&&z.call(this,ne,Q))}}}if(process.version.substr(0,4)==="v0.8"){var w=i(u);F=w.ReadStream,$=w.WriteStream}var k=u.ReadStream;k&&(F.prototype=Object.create(k.prototype),F.prototype.open=B);var N=u.WriteStream;N&&($.prototype=Object.create(N.prototype),$.prototype.open=H),Object.defineProperty(u,"ReadStream",{get:function(){return F},set:function(D){F=D},enumerable:!0,configurable:!0}),Object.defineProperty(u,"WriteStream",{get:function(){return $},set:function(D){$=D},enumerable:!0,configurable:!0});var q=F;Object.defineProperty(u,"FileReadStream",{get:function(){return q},set:function(D){q=D},enumerable:!0,configurable:!0});var I=$;Object.defineProperty(u,"FileWriteStream",{get:function(){return I},set:function(D){I=D},enumerable:!0,configurable:!0});function F(D,M){return this instanceof F?(k.apply(this,arguments),this):F.apply(Object.create(F.prototype),arguments)}function B(){var D=this;K(D.path,D.flags,D.mode,function(M,G){M?(D.autoClose&&D.destroy(),D.emit("error",M)):(D.fd=G,D.emit("open",G),D.read())})}function $(D,M){return this instanceof $?(N.apply(this,arguments),this):$.apply(Object.create($.prototype),arguments)}function H(){var D=this;K(D.path,D.flags,D.mode,function(M,G){M?(D.destroy(),D.emit("error",M)):(D.fd=G,D.emit("open",G))})}function L(D,M){return new u.ReadStream(D,M)}function V(D,M){return new u.WriteStream(D,M)}var ie=u.open;u.open=K;function K(D,M,G,J){return typeof G=="function"&&(J=G,G=null),ee(D,M,G,J);function ee(re,X,z,te,ne){return ie(re,X,z,function(Q,Y){Q&&(Q.code==="EMFILE"||Q.code==="ENFILE")?S([ee,[re,X,z,te],Q,ne||Date.now(),Date.now()]):typeof te=="function"&&te.apply(this,arguments)})}}return u}function S(u){v("ENQUEUE",u[0].name,u[1]),r[a].push(u),y()}var E;function p(){for(var u=Date.now(),f=0;f<r[a].length;++f)r[a][f].length>2&&(r[a][f][3]=u,r[a][f][4]=u);y()}function y(){if(clearTimeout(E),E=void 0,r[a].length!==0){var u=r[a].shift(),f=u[0],m=u[1],h=u[2],P=u[3],g=u[4];if(P===void 0)v("RETRY",f.name,m),f.apply(null,m);else if(Date.now()-P>=6e4){v("TIMEOUT",f.name,m);var A=m.pop();typeof A=="function"&&A.call(null,h)}else{var b=Date.now()-g,T=Math.max(g-P,1),R=Math.min(T*1.2,100);b>=R?(v("RETRY",f.name,m),f.apply(null,m.concat([P]))):r[a].push(u)}E===void 0&&(E=setTimeout(y,0))}}}}),Mc=(0,j.__commonJS)({"../../node_modules/.pnpm/is-path-cwd@2.2.0/node_modules/is-path-cwd/index.js"(e,t){"use strict";var r=(0,j.__require)("path");t.exports=n=>{let i=process.cwd();return n=r.resolve(n),process.platform==="win32"&&(i=i.toLowerCase(),n=n.toLowerCase()),n===i}}}),Fc=(0,j.__commonJS)({"../../node_modules/.pnpm/is-path-inside@3.0.3/node_modules/is-path-inside/index.js"(e,t){"use strict";var r=(0,j.__require)("path");t.exports=(n,i)=>{let o=r.relative(i,n);return!!(o&&o!==".."&&!o.startsWith(`..${r.sep}`)&&o!==r.resolve(n))}}}),qc=(0,j.__commonJS)({"../../node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/old.js"(e){"use strict";var t=(0,j.__require)("path"),r=process.platform==="win32",n=(0,j.__require)("fs"),i=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function o(){var d;if(i){var v=new Error;d=_}else d=x;return d;function _(S){S&&(v.message=S.message,S=v,x(S))}function x(S){if(S){if(process.throwDeprecation)throw S;if(!process.noDeprecation){var E="fs: missing callback "+(S.stack||S.message);process.traceDeprecation?console.trace(E):console.error(E)}}}}function c(d){return typeof d=="function"?d:o()}var a=t.normalize;r?s=/(.*?)(?:[\/\\]+|$)/g:s=/(.*?)(?:[\/]+|$)/g;var s;r?l=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:l=/^[\/]*/;var l;e.realpathSync=function(v,_){if(v=t.resolve(v),_&&Object.prototype.hasOwnProperty.call(_,v))return _[v];var x=v,S={},E={},p,y,u,f;m();function m(){var T=l.exec(v);p=T[0].length,y=T[0],u=T[0],f="",r&&!E[u]&&(n.lstatSync(u),E[u]=!0)}for(;p<v.length;){s.lastIndex=p;var h=s.exec(v);if(f=y,y+=h[0],u=f+h[1],p=s.lastIndex,!(E[u]||_&&_[u]===u)){var P;if(_&&Object.prototype.hasOwnProperty.call(_,u))P=_[u];else{var g=n.lstatSync(u);if(!g.isSymbolicLink()){E[u]=!0,_&&(_[u]=u);continue}var A=null;if(!r){var b=g.dev.toString(32)+":"+g.ino.toString(32);S.hasOwnProperty(b)&&(A=S[b])}A===null&&(n.statSync(u),A=n.readlinkSync(u)),P=t.resolve(f,A),_&&(_[u]=P),r||(S[b]=A)}v=t.resolve(P,v.slice(p)),m()}}return _&&(_[x]=v),v},e.realpath=function(v,_,x){if(typeof x!="function"&&(x=c(_),_=null),v=t.resolve(v),_&&Object.prototype.hasOwnProperty.call(_,v))return process.nextTick(x.bind(null,null,_[v]));var S=v,E={},p={},y,u,f,m;h();function h(){var T=l.exec(v);y=T[0].length,u=T[0],f=T[0],m="",r&&!p[f]?n.lstat(f,function(R){if(R)return x(R);p[f]=!0,P()}):process.nextTick(P)}function P(){if(y>=v.length)return _&&(_[S]=v),x(null,v);s.lastIndex=y;var T=s.exec(v);return m=u,u+=T[0],f=m+T[1],y=s.lastIndex,p[f]||_&&_[f]===f?process.nextTick(P):_&&Object.prototype.hasOwnProperty.call(_,f)?b(_[f]):n.lstat(f,g)}function g(T,R){if(T)return x(T);if(!R.isSymbolicLink())return p[f]=!0,_&&(_[f]=f),process.nextTick(P);if(!r){var C=R.dev.toString(32)+":"+R.ino.toString(32);if(E.hasOwnProperty(C))return A(null,E[C],f)}n.stat(f,function(O){if(O)return x(O);n.readlink(f,function(w,k){r||(E[C]=k),A(w,k)})})}function A(T,R,C){if(T)return x(T);var O=t.resolve(m,R);_&&(_[C]=O),b(O)}function b(T){v=t.resolve(T,v.slice(y)),h()}}}}),oi=(0,j.__commonJS)({"../../node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/index.js"(e,t){"use strict";t.exports=l,l.realpath=l,l.sync=d,l.realpathSync=d,l.monkeypatch=v,l.unmonkeypatch=_;var r=(0,j.__require)("fs"),n=r.realpath,i=r.realpathSync,o=process.version,c=/^v[0-5]\./.test(o),a=qc();function s(x){return x&&x.syscall==="realpath"&&(x.code==="ELOOP"||x.code==="ENOMEM"||x.code==="ENAMETOOLONG")}function l(x,S,E){if(c)return n(x,S,E);typeof S=="function"&&(E=S,S=null),n(x,S,function(p,y){s(p)?a.realpath(x,S,E):E(p,y)})}function d(x,S){if(c)return i(x,S);try{return i(x,S)}catch(E){if(s(E))return a.realpathSync(x,S);throw E}}function v(){r.realpath=l,r.realpathSync=d}function _(){r.realpath=n,r.realpathSync=i}}}),Bc=(0,j.__commonJS)({"../../node_modules/.pnpm/concat-map@0.0.1/node_modules/concat-map/index.js"(e,t){"use strict";t.exports=function(n,i){for(var o=[],c=0;c<n.length;c++){var a=i(n[c],c);r(a)?o.push.apply(o,a):o.push(a)}return o};var r=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"}}}),Hc=(0,j.__commonJS)({"../../node_modules/.pnpm/brace-expansion@1.1.11/node_modules/brace-expansion/index.js"(e,t){"use strict";var r=Bc(),n=Un();t.exports=x;var i="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",c="\0CLOSE"+Math.random()+"\0",a="\0COMMA"+Math.random()+"\0",s="\0PERIOD"+Math.random()+"\0";function l(f){return parseInt(f,10)==f?parseInt(f,10):f.charCodeAt(0)}function d(f){return f.split("\\\\").join(i).split("\\{").join(o).split("\\}").join(c).split("\\,").join(a).split("\\.").join(s)}function v(f){return f.split(i).join("\\").split(o).join("{").split(c).join("}").split(a).join(",").split(s).join(".")}function _(f){if(!f)return[""];var m=[],h=n("{","}",f);if(!h)return f.split(",");var P=h.pre,g=h.body,A=h.post,b=P.split(",");b[b.length-1]+="{"+g+"}";var T=_(A);return A.length&&(b[b.length-1]+=T.shift(),b.push.apply(b,T)),m.push.apply(m,b),m}function x(f){return f?(f.substr(0,2)==="{}"&&(f="\\{\\}"+f.substr(2)),u(d(f),!0).map(v)):[]}function S(f){return"{"+f+"}"}function E(f){return/^-?0\d/.test(f)}function p(f,m){return f<=m}function y(f,m){return f>=m}function u(f,m){var h=[],P=n("{","}",f);if(!P||/\$$/.test(P.pre))return[f];var g=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(P.body),A=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(P.body),b=g||A,T=P.body.indexOf(",")>=0;if(!b&&!T)return P.post.match(/,.*\}/)?(f=P.pre+"{"+P.body+c+P.post,u(f)):[f];var R;if(b)R=P.body.split(/\.\./);else if(R=_(P.body),R.length===1&&(R=u(R[0],!1).map(S),R.length===1)){var O=P.post.length?u(P.post,!1):[""];return O.map(function(J){return P.pre+R[0]+J})}var C=P.pre,O=P.post.length?u(P.post,!1):[""],w;if(b){var k=l(R[0]),N=l(R[1]),q=Math.max(R[0].length,R[1].length),I=R.length==3?Math.abs(l(R[2])):1,F=p,B=N<k;B&&(I*=-1,F=y);var $=R.some(E);w=[];for(var H=k;F(H,N);H+=I){var L;if(A)L=String.fromCharCode(H),L==="\\"&&(L="");else if(L=String(H),$){var V=q-L.length;if(V>0){var ie=new Array(V+1).join("0");H<0?L="-"+ie+L.slice(1):L=ie+L}}w.push(L)}}else w=r(R,function(G){return u(G,!1)});for(var K=0;K<w.length;K++)for(var D=0;D<O.length;D++){var M=C+w[K]+O[D];(!m||b||M)&&h.push(M)}return h}}}),hr=(0,j.__commonJS)({"../../node_modules/.pnpm/minimatch@3.1.2/node_modules/minimatch/minimatch.js"(e,t){"use strict";t.exports=E,E.Minimatch=p;var r=function(){try{return(0,j.__require)("path")}catch{}}()||{sep:"/"};E.sep=r.sep;var n=E.GLOBSTAR=p.GLOBSTAR={},i=Hc(),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},c="[^/]",a=c+"*?",s="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",l="(?:(?!(?:\\/|^)\\.).)*?",d=v("().*{}+?[]^$\\!");function v(R){return R.split("").reduce(function(C,O){return C[O]=!0,C},{})}var _=/\/+/;E.filter=x;function x(R,C){return C=C||{},function(O,w,k){return E(O,R,C)}}function S(R,C){C=C||{};var O={};return Object.keys(R).forEach(function(w){O[w]=R[w]}),Object.keys(C).forEach(function(w){O[w]=C[w]}),O}E.defaults=function(R){if(!R||typeof R!="object"||!Object.keys(R).length)return E;var C=E,O=function(k,N,q){return C(k,N,S(R,q))};return O.Minimatch=function(k,N){return new C.Minimatch(k,S(R,N))},O.Minimatch.defaults=function(k){return C.defaults(S(R,k)).Minimatch},O.filter=function(k,N){return C.filter(k,S(R,N))},O.defaults=function(k){return C.defaults(S(R,k))},O.makeRe=function(k,N){return C.makeRe(k,S(R,N))},O.braceExpand=function(k,N){return C.braceExpand(k,S(R,N))},O.match=function(w,k,N){return C.match(w,k,S(R,N))},O},p.defaults=function(R){return E.defaults(R).Minimatch};function E(R,C,O){return h(C),O||(O={}),!O.nocomment&&C.charAt(0)==="#"?!1:new p(C,O).match(R)}function p(R,C){if(!(this instanceof p))return new p(R,C);h(R),C||(C={}),R=R.trim(),!C.allowWindowsEscape&&r.sep!=="/"&&(R=R.split(r.sep).join("/")),this.options=C,this.set=[],this.pattern=R,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!C.partial,this.make()}p.prototype.debug=function(){},p.prototype.make=y;function y(){var R=this.pattern,C=this.options;if(!C.nocomment&&R.charAt(0)==="#"){this.comment=!0;return}if(!R){this.empty=!0;return}this.parseNegate();var O=this.globSet=this.braceExpand();C.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,O),O=this.globParts=O.map(function(w){return w.split(_)}),this.debug(this.pattern,O),O=O.map(function(w,k,N){return w.map(this.parse,this)},this),this.debug(this.pattern,O),O=O.filter(function(w){return w.indexOf(!1)===-1}),this.debug(this.pattern,O),this.set=O}p.prototype.parseNegate=u;function u(){var R=this.pattern,C=!1,O=this.options,w=0;if(!O.nonegate){for(var k=0,N=R.length;k<N&&R.charAt(k)==="!";k++)C=!C,w++;w&&(this.pattern=R.substr(w)),this.negate=C}}E.braceExpand=function(R,C){return f(R,C)},p.prototype.braceExpand=f;function f(R,C){return C||(this instanceof p?C=this.options:C={}),R=typeof R>"u"?this.pattern:R,h(R),C.nobrace||!/\{(?:(?!\{).)*\}/.test(R)?[R]:i(R)}var m=1024*64,h=function(R){if(typeof R!="string")throw new TypeError("invalid pattern");if(R.length>m)throw new TypeError("pattern is too long")};p.prototype.parse=g;var P={};function g(R,C){h(R);var O=this.options;if(R==="**")if(O.noglobstar)R="*";else return n;if(R==="")return"";var w="",k=!!O.nocase,N=!1,q=[],I=[],F,B=!1,$=-1,H=-1,L=R.charAt(0)==="."?"":O.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",V=this;function ie(){if(F){switch(F){case"*":w+=a,k=!0;break;case"?":w+=c,k=!0;break;default:w+="\\"+F;break}V.debug("clearStateChar %j %j",F,w),F=!1}}for(var K=0,D=R.length,M;K<D&&(M=R.charAt(K));K++){if(this.debug("%s %s %s %j",R,K,w,M),N&&d[M]){w+="\\"+M,N=!1;continue}switch(M){case"/":return!1;case"\\":ie(),N=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",R,K,w,M),B){this.debug(" in class"),M==="!"&&K===H+1&&(M="^"),w+=M;continue}V.debug("call clearStateChar %j",F),ie(),F=M,O.noext&&ie();continue;case"(":if(B){w+="(";continue}if(!F){w+="\\(";continue}q.push({type:F,start:K-1,reStart:w.length,open:o[F].open,close:o[F].close}),w+=F==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",F,w),F=!1;continue;case")":if(B||!q.length){w+="\\)";continue}ie(),k=!0;var G=q.pop();w+=G.close,G.type==="!"&&I.push(G),G.reEnd=w.length;continue;case"|":if(B||!q.length||N){w+="\\|",N=!1;continue}ie(),w+="|";continue;case"[":if(ie(),B){w+="\\"+M;continue}B=!0,H=K,$=w.length,w+=M;continue;case"]":if(K===H+1||!B){w+="\\"+M,N=!1;continue}var J=R.substring(H+1,K);try{RegExp("["+J+"]")}catch{var ee=this.parse(J,P);w=w.substr(0,$)+"\\["+ee[0]+"\\]",k=k||ee[1],B=!1;continue}k=!0,B=!1,w+=M;continue;default:ie(),N?N=!1:d[M]&&!(M==="^"&&B)&&(w+="\\"),w+=M}}for(B&&(J=R.substr(H+1),ee=this.parse(J,P),w=w.substr(0,$)+"\\["+ee[0],k=k||ee[1]),G=q.pop();G;G=q.pop()){var re=w.slice(G.reStart+G.open.length);this.debug("setting tail",w,G),re=re.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(me,Fe,Te){return Te||(Te="\\"),Fe+Fe+Te+"|"}),this.debug(`tail=%j
10
+ %s`,re,re,G,w);var X=G.type==="*"?a:G.type==="?"?c:"\\"+G.type;k=!0,w=w.slice(0,G.reStart)+X+"\\("+re}ie(),N&&(w+="\\\\");var z=!1;switch(w.charAt(0)){case"[":case".":case"(":z=!0}for(var te=I.length-1;te>-1;te--){var ne=I[te],Q=w.slice(0,ne.reStart),Y=w.slice(ne.reStart,ne.reEnd-8),he=w.slice(ne.reEnd-8,ne.reEnd),xe=w.slice(ne.reEnd);he+=xe;var U=Q.split("(").length-1,se=xe;for(K=0;K<U;K++)se=se.replace(/\)[+*?]?/,"");xe=se;var W="";xe===""&&C!==P&&(W="$");var Z=Q+Y+xe+W+he;w=Z}if(w!==""&&k&&(w="(?=.)"+w),z&&(w=L+w),C===P)return[w,k];if(!k)return b(R);var de=O.nocase?"i":"";try{var ve=new RegExp("^"+w+"$",de)}catch{return new RegExp("$.")}return ve._glob=R,ve._src=w,ve}E.makeRe=function(R,C){return new p(R,C||{}).makeRe()},p.prototype.makeRe=A;function A(){if(this.regexp||this.regexp===!1)return this.regexp;var R=this.set;if(!R.length)return this.regexp=!1,this.regexp;var C=this.options,O=C.noglobstar?a:C.dot?s:l,w=C.nocase?"i":"",k=R.map(function(N){return N.map(function(q){return q===n?O:typeof q=="string"?T(q):q._src}).join("\\/")}).join("|");k="^(?:"+k+")$",this.negate&&(k="^(?!"+k+").*$");try{this.regexp=new RegExp(k,w)}catch{this.regexp=!1}return this.regexp}E.match=function(R,C,O){O=O||{};var w=new p(C,O);return R=R.filter(function(k){return w.match(k)}),w.options.nonull&&!R.length&&R.push(C),R},p.prototype.match=function(C,O){if(typeof O>"u"&&(O=this.partial),this.debug("match",C,this.pattern),this.comment)return!1;if(this.empty)return C==="";if(C==="/"&&O)return!0;var w=this.options;r.sep!=="/"&&(C=C.split(r.sep).join("/")),C=C.split(_),this.debug(this.pattern,"split",C);var k=this.set;this.debug(this.pattern,"set",k);var N,q;for(q=C.length-1;q>=0&&(N=C[q],!N);q--);for(q=0;q<k.length;q++){var I=k[q],F=C;w.matchBase&&I.length===1&&(F=[N]);var B=this.matchOne(F,I,O);if(B)return w.flipNegate?!0:!this.negate}return w.flipNegate?!1:this.negate},p.prototype.matchOne=function(R,C,O){var w=this.options;this.debug("matchOne",{this:this,file:R,pattern:C}),this.debug("matchOne",R.length,C.length);for(var k=0,N=0,q=R.length,I=C.length;k<q&&N<I;k++,N++){this.debug("matchOne loop");var F=C[N],B=R[k];if(this.debug(C,F,B),F===!1)return!1;if(F===n){this.debug("GLOBSTAR",[C,F,B]);var $=k,H=N+1;if(H===I){for(this.debug("** at the end");k<q;k++)if(R[k]==="."||R[k]===".."||!w.dot&&R[k].charAt(0)===".")return!1;return!0}for(;$<q;){var L=R[$];if(this.debug(`
11
+ globstar while`,R,$,C,H,L),this.matchOne(R.slice($),C.slice(H),O))return this.debug("globstar found match!",$,q,L),!0;if(L==="."||L===".."||!w.dot&&L.charAt(0)==="."){this.debug("dot detected!",R,$,C,H);break}this.debug("globstar swallow a segment, and continue"),$++}return!!(O&&(this.debug(`
12
+ >>> no match, partial?`,R,$,C,H),$===q))}var V;if(typeof F=="string"?(V=B===F,this.debug("string match",F,B,V)):(V=B.match(F),this.debug("pattern match",F,B,V)),!V)return!1}if(k===q&&N===I)return!0;if(k===q)return O;if(N===I)return k===q-1&&R[k]==="";throw new Error("wtf?")};function b(R){return R.replace(/\\(.)/g,"$1")}function T(R){return R.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}}}),Gc=(0,j.__commonJS)({"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(e,t){"use strict";typeof Object.create=="function"?t.exports=function(n,i){i&&(n.super_=i,n.prototype=Object.create(i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(n,i){if(i){n.super_=i;var o=function(){};o.prototype=i.prototype,n.prototype=new o,n.prototype.constructor=n}}}}),Wc=(0,j.__commonJS)({"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(e,t){"use strict";try{if(r=(0,j.__require)("util"),typeof r.inherits!="function")throw"";t.exports=r.inherits}catch{t.exports=Gc()}var r}}),mr=(0,j.__commonJS)({"../../node_modules/.pnpm/path-is-absolute@1.0.1/node_modules/path-is-absolute/index.js"(e,t){"use strict";function r(i){return i.charAt(0)==="/"}function n(i){var o=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,c=o.exec(i),a=c[1]||"",s=!!(a&&a.charAt(1)!==":");return!!(c[2]||s)}t.exports=process.platform==="win32"?n:r,t.exports.posix=r,t.exports.win32=n}}),ui=(0,j.__commonJS)({"../../node_modules/.pnpm/glob@7.2.3/node_modules/glob/common.js"(e){"use strict";e.setopts=d,e.ownProp=t,e.makeAbs=x,e.finish=v,e.mark=_,e.isIgnored=S,e.childrenIgnored=E;function t(p,y){return Object.prototype.hasOwnProperty.call(p,y)}var r=(0,j.__require)("fs"),n=(0,j.__require)("path"),i=hr(),o=mr(),c=i.Minimatch;function a(p,y){return p.localeCompare(y,"en")}function s(p,y){p.ignore=y.ignore||[],Array.isArray(p.ignore)||(p.ignore=[p.ignore]),p.ignore.length&&(p.ignore=p.ignore.map(l))}function l(p){var y=null;if(p.slice(-3)==="/**"){var u=p.replace(/(\/\*\*)+$/,"");y=new c(u,{dot:!0})}return{matcher:new c(p,{dot:!0}),gmatcher:y}}function d(p,y,u){if(u||(u={}),u.matchBase&&y.indexOf("/")===-1){if(u.noglobstar)throw new Error("base matching requires globstar");y="**/"+y}p.silent=!!u.silent,p.pattern=y,p.strict=u.strict!==!1,p.realpath=!!u.realpath,p.realpathCache=u.realpathCache||Object.create(null),p.follow=!!u.follow,p.dot=!!u.dot,p.mark=!!u.mark,p.nodir=!!u.nodir,p.nodir&&(p.mark=!0),p.sync=!!u.sync,p.nounique=!!u.nounique,p.nonull=!!u.nonull,p.nosort=!!u.nosort,p.nocase=!!u.nocase,p.stat=!!u.stat,p.noprocess=!!u.noprocess,p.absolute=!!u.absolute,p.fs=u.fs||r,p.maxLength=u.maxLength||1/0,p.cache=u.cache||Object.create(null),p.statCache=u.statCache||Object.create(null),p.symlinks=u.symlinks||Object.create(null),s(p,u),p.changedCwd=!1;var f=process.cwd();t(u,"cwd")?(p.cwd=n.resolve(u.cwd),p.changedCwd=p.cwd!==f):p.cwd=f,p.root=u.root||n.resolve(p.cwd,"/"),p.root=n.resolve(p.root),process.platform==="win32"&&(p.root=p.root.replace(/\\/g,"/")),p.cwdAbs=o(p.cwd)?p.cwd:x(p,p.cwd),process.platform==="win32"&&(p.cwdAbs=p.cwdAbs.replace(/\\/g,"/")),p.nomount=!!u.nomount,u.nonegate=!0,u.nocomment=!0,u.allowWindowsEscape=!1,p.minimatch=new c(y,u),p.options=p.minimatch.options}function v(p){for(var y=p.nounique,u=y?[]:Object.create(null),f=0,m=p.matches.length;f<m;f++){var h=p.matches[f];if(!h||Object.keys(h).length===0){if(p.nonull){var P=p.minimatch.globSet[f];y?u.push(P):u[P]=!0}}else{var g=Object.keys(h);y?u.push.apply(u,g):g.forEach(function(A){u[A]=!0})}}if(y||(u=Object.keys(u)),p.nosort||(u=u.sort(a)),p.mark){for(var f=0;f<u.length;f++)u[f]=p._mark(u[f]);p.nodir&&(u=u.filter(function(A){var b=!/\/$/.test(A),T=p.cache[A]||p.cache[x(p,A)];return b&&T&&(b=T!=="DIR"&&!Array.isArray(T)),b}))}p.ignore.length&&(u=u.filter(function(A){return!S(p,A)})),p.found=u}function _(p,y){var u=x(p,y),f=p.cache[u],m=y;if(f){var h=f==="DIR"||Array.isArray(f),P=y.slice(-1)==="/";if(h&&!P?m+="/":!h&&P&&(m=m.slice(0,-1)),m!==y){var g=x(p,m);p.statCache[g]=p.statCache[u],p.cache[g]=p.cache[u]}}return m}function x(p,y){var u=y;return y.charAt(0)==="/"?u=n.join(p.root,y):o(y)||y===""?u=y:p.changedCwd?u=n.resolve(p.cwd,y):u=n.resolve(y),process.platform==="win32"&&(u=u.replace(/\\/g,"/")),u}function S(p,y){return p.ignore.length?p.ignore.some(function(u){return u.matcher.match(y)||!!(u.gmatcher&&u.gmatcher.match(y))}):!1}function E(p,y){return p.ignore.length?p.ignore.some(function(u){return!!(u.gmatcher&&u.gmatcher.match(y))}):!1}}}),Jc=(0,j.__commonJS)({"../../node_modules/.pnpm/glob@7.2.3/node_modules/glob/sync.js"(e,t){"use strict";t.exports=E,E.GlobSync=p;var r=oi(),n=hr(),i=n.Minimatch,o=fi().Glob,c=(0,j.__require)("util"),a=(0,j.__require)("path"),s=(0,j.__require)("assert"),l=mr(),d=ui(),v=d.setopts,_=d.ownProp,x=d.childrenIgnored,S=d.isIgnored;function E(y,u){if(typeof u=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
13
+ See: https://github.com/isaacs/node-glob/issues/167`);return new p(y,u).found}function p(y,u){if(!y)throw new Error("must provide pattern");if(typeof u=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
14
+ See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof p))return new p(y,u);if(v(this,y,u),this.noprocess)return this;var f=this.minimatch.set.length;this.matches=new Array(f);for(var m=0;m<f;m++)this._process(this.minimatch.set[m],m,!1);this._finish()}p.prototype._finish=function(){if(s.ok(this instanceof p),this.realpath){var y=this;this.matches.forEach(function(u,f){var m=y.matches[f]=Object.create(null);for(var h in u)try{h=y._makeAbs(h);var P=r.realpathSync(h,y.realpathCache);m[P]=!0}catch(g){if(g.syscall==="stat")m[y._makeAbs(h)]=!0;else throw g}})}d.finish(this)},p.prototype._process=function(y,u,f){s.ok(this instanceof p);for(var m=0;typeof y[m]=="string";)m++;var h;switch(m){case y.length:this._processSimple(y.join("/"),u);return;case 0:h=null;break;default:h=y.slice(0,m).join("/");break}var P=y.slice(m),g;h===null?g=".":((l(h)||l(y.map(function(T){return typeof T=="string"?T:"[*]"}).join("/")))&&(!h||!l(h))&&(h="/"+h),g=h);var A=this._makeAbs(g);if(!x(this,g)){var b=P[0]===n.GLOBSTAR;b?this._processGlobStar(h,g,A,P,u,f):this._processReaddir(h,g,A,P,u,f)}},p.prototype._processReaddir=function(y,u,f,m,h,P){var g=this._readdir(f,P);if(g){for(var A=m[0],b=!!this.minimatch.negate,T=A._glob,R=this.dot||T.charAt(0)===".",C=[],O=0;O<g.length;O++){var w=g[O];if(w.charAt(0)!=="."||R){var k;b&&!y?k=!w.match(A):k=w.match(A),k&&C.push(w)}}var N=C.length;if(N!==0){if(m.length===1&&!this.mark&&!this.stat){this.matches[h]||(this.matches[h]=Object.create(null));for(var O=0;O<N;O++){var w=C[O];y&&(y.slice(-1)!=="/"?w=y+"/"+w:w=y+w),w.charAt(0)==="/"&&!this.nomount&&(w=a.join(this.root,w)),this._emitMatch(h,w)}return}m.shift();for(var O=0;O<N;O++){var w=C[O],q;y?q=[y,w]:q=[w],this._process(q.concat(m),h,P)}}}},p.prototype._emitMatch=function(y,u){if(!S(this,u)){var f=this._makeAbs(u);if(this.mark&&(u=this._mark(u)),this.absolute&&(u=f),!this.matches[y][u]){if(this.nodir){var m=this.cache[f];if(m==="DIR"||Array.isArray(m))return}this.matches[y][u]=!0,this.stat&&this._stat(u)}}},p.prototype._readdirInGlobStar=function(y){if(this.follow)return this._readdir(y,!1);var u,f,m;try{f=this.fs.lstatSync(y)}catch(P){if(P.code==="ENOENT")return null}var h=f&&f.isSymbolicLink();return this.symlinks[y]=h,!h&&f&&!f.isDirectory()?this.cache[y]="FILE":u=this._readdir(y,!1),u},p.prototype._readdir=function(y,u){var f;if(u&&!_(this.symlinks,y))return this._readdirInGlobStar(y);if(_(this.cache,y)){var m=this.cache[y];if(!m||m==="FILE")return null;if(Array.isArray(m))return m}try{return this._readdirEntries(y,this.fs.readdirSync(y))}catch(h){return this._readdirError(y,h),null}},p.prototype._readdirEntries=function(y,u){if(!this.mark&&!this.stat)for(var f=0;f<u.length;f++){var m=u[f];y==="/"?m=y+m:m=y+"/"+m,this.cache[m]=!0}return this.cache[y]=u,u},p.prototype._readdirError=function(y,u){switch(u.code){case"ENOTSUP":case"ENOTDIR":var f=this._makeAbs(y);if(this.cache[f]="FILE",f===this.cwdAbs){var m=new Error(u.code+" invalid cwd "+this.cwd);throw m.path=this.cwd,m.code=u.code,m}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(y)]=!1;break;default:if(this.cache[this._makeAbs(y)]=!1,this.strict)throw u;this.silent||console.error("glob error",u);break}},p.prototype._processGlobStar=function(y,u,f,m,h,P){var g=this._readdir(f,P);if(g){var A=m.slice(1),b=y?[y]:[],T=b.concat(A);this._process(T,h,!1);var R=g.length,C=this.symlinks[f];if(!(C&&P))for(var O=0;O<R;O++){var w=g[O];if(!(w.charAt(0)==="."&&!this.dot)){var k=b.concat(g[O],A);this._process(k,h,!0);var N=b.concat(g[O],m);this._process(N,h,!0)}}}},p.prototype._processSimple=function(y,u){var f=this._stat(y);if(this.matches[u]||(this.matches[u]=Object.create(null)),!!f){if(y&&l(y)&&!this.nomount){var m=/[\/\\]$/.test(y);y.charAt(0)==="/"?y=a.join(this.root,y):(y=a.resolve(this.root,y),m&&(y+="/"))}process.platform==="win32"&&(y=y.replace(/\\/g,"/")),this._emitMatch(u,y)}},p.prototype._stat=function(y){var u=this._makeAbs(y),f=y.slice(-1)==="/";if(y.length>this.maxLength)return!1;if(!this.stat&&_(this.cache,u)){var g=this.cache[u];if(Array.isArray(g)&&(g="DIR"),!f||g==="DIR")return g;if(f&&g==="FILE")return!1}var m,h=this.statCache[u];if(!h){var P;try{P=this.fs.lstatSync(u)}catch(A){if(A&&(A.code==="ENOENT"||A.code==="ENOTDIR"))return this.statCache[u]=!1,!1}if(P&&P.isSymbolicLink())try{h=this.fs.statSync(u)}catch{h=P}else h=P}this.statCache[u]=h;var g=!0;return h&&(g=h.isDirectory()?"DIR":"FILE"),this.cache[u]=this.cache[u]||g,f&&g==="FILE"?!1:g},p.prototype._mark=function(y){return d.mark(this,y)},p.prototype._makeAbs=function(y){return d.makeAbs(this,y)}}}),ci=(0,j.__commonJS)({"../../node_modules/.pnpm/wrappy@1.0.2/node_modules/wrappy/wrappy.js"(e,t){"use strict";t.exports=r;function r(n,i){if(n&&i)return r(n)(i);if(typeof n!="function")throw new TypeError("need wrapper function");return Object.keys(n).forEach(function(c){o[c]=n[c]}),o;function o(){for(var c=new Array(arguments.length),a=0;a<c.length;a++)c[a]=arguments[a];var s=n.apply(this,c),l=c[c.length-1];return typeof s=="function"&&s!==l&&Object.keys(l).forEach(function(d){s[d]=l[d]}),s}}}}),li=(0,j.__commonJS)({"../../node_modules/.pnpm/once@1.4.0/node_modules/once/once.js"(e,t){"use strict";var r=ci();t.exports=r(n),t.exports.strict=r(i),n.proto=n(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return n(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return i(this)},configurable:!0})});function n(o){var c=function(){return c.called?c.value:(c.called=!0,c.value=o.apply(this,arguments))};return c.called=!1,c}function i(o){var c=function(){if(c.called)throw new Error(c.onceError);return c.called=!0,c.value=o.apply(this,arguments)},a=o.name||"Function wrapped with `once`";return c.onceError=a+" shouldn't be called more than once",c.called=!1,c}}}),Uc=(0,j.__commonJS)({"../../node_modules/.pnpm/inflight@1.0.6/node_modules/inflight/inflight.js"(e,t){"use strict";var r=ci(),n=Object.create(null),i=li();t.exports=r(o);function o(s,l){return n[s]?(n[s].push(l),null):(n[s]=[l],c(s))}function c(s){return i(function l(){var d=n[s],v=d.length,_=a(arguments);try{for(var x=0;x<v;x++)d[x].apply(null,_)}finally{d.length>v?(d.splice(0,v),process.nextTick(function(){l.apply(null,_)})):delete n[s]}})}function a(s){for(var l=s.length,d=[],v=0;v<l;v++)d[v]=s[v];return d}}}),fi=(0,j.__commonJS)({"../../node_modules/.pnpm/glob@7.2.3/node_modules/glob/glob.js"(e,t){"use strict";t.exports=f;var r=oi(),n=hr(),i=n.Minimatch,o=Wc(),c=(0,j.__require)("events").EventEmitter,a=(0,j.__require)("path"),s=(0,j.__require)("assert"),l=mr(),d=Jc(),v=ui(),_=v.setopts,x=v.ownProp,S=Uc(),E=(0,j.__require)("util"),p=v.childrenIgnored,y=v.isIgnored,u=li();function f(A,b,T){if(typeof b=="function"&&(T=b,b={}),b||(b={}),b.sync){if(T)throw new TypeError("callback provided to sync glob");return d(A,b)}return new P(A,b,T)}f.sync=d;var m=f.GlobSync=d.GlobSync;f.glob=f;function h(A,b){if(b===null||typeof b!="object")return A;for(var T=Object.keys(b),R=T.length;R--;)A[T[R]]=b[T[R]];return A}f.hasMagic=function(A,b){var T=h({},b);T.noprocess=!0;var R=new P(A,T),C=R.minimatch.set;if(!A)return!1;if(C.length>1)return!0;for(var O=0;O<C[0].length;O++)if(typeof C[0][O]!="string")return!0;return!1},f.Glob=P,o(P,c);function P(A,b,T){if(typeof b=="function"&&(T=b,b=null),b&&b.sync){if(T)throw new TypeError("callback provided to sync glob");return new m(A,b)}if(!(this instanceof P))return new P(A,b,T);_(this,A,b),this._didRealPath=!1;var R=this.minimatch.set.length;this.matches=new Array(R),typeof T=="function"&&(T=u(T),this.on("error",T),this.on("end",function(N){T(null,N)}));var C=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(R===0)return k();for(var O=!0,w=0;w<R;w++)this._process(this.minimatch.set[w],w,!1,k);O=!1;function k(){--C._processing,C._processing<=0&&(O?process.nextTick(function(){C._finish()}):C._finish())}}P.prototype._finish=function(){if(s(this instanceof P),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();v.finish(this),this.emit("end",this.found)}},P.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var A=this.matches.length;if(A===0)return this._finish();for(var b=this,T=0;T<this.matches.length;T++)this._realpathSet(T,R);function R(){--A===0&&b._finish()}},P.prototype._realpathSet=function(A,b){var T=this.matches[A];if(!T)return b();var R=Object.keys(T),C=this,O=R.length;if(O===0)return b();var w=this.matches[A]=Object.create(null);R.forEach(function(k,N){k=C._makeAbs(k),r.realpath(k,C.realpathCache,function(q,I){q?q.syscall==="stat"?w[k]=!0:C.emit("error",q):w[I]=!0,--O===0&&(C.matches[A]=w,b())})})},P.prototype._mark=function(A){return v.mark(this,A)},P.prototype._makeAbs=function(A){return v.makeAbs(this,A)},P.prototype.abort=function(){this.aborted=!0,this.emit("abort")},P.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},P.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var A=this._emitQueue.slice(0);this._emitQueue.length=0;for(var b=0;b<A.length;b++){var T=A[b];this._emitMatch(T[0],T[1])}}if(this._processQueue.length){var R=this._processQueue.slice(0);this._processQueue.length=0;for(var b=0;b<R.length;b++){var C=R[b];this._processing--,this._process(C[0],C[1],C[2],C[3])}}}},P.prototype._process=function(A,b,T,R){if(s(this instanceof P),s(typeof R=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([A,b,T,R]);return}for(var C=0;typeof A[C]=="string";)C++;var O;switch(C){case A.length:this._processSimple(A.join("/"),b,R);return;case 0:O=null;break;default:O=A.slice(0,C).join("/");break}var w=A.slice(C),k;O===null?k=".":((l(O)||l(A.map(function(I){return typeof I=="string"?I:"[*]"}).join("/")))&&(!O||!l(O))&&(O="/"+O),k=O);var N=this._makeAbs(k);if(p(this,k))return R();var q=w[0]===n.GLOBSTAR;q?this._processGlobStar(O,k,N,w,b,T,R):this._processReaddir(O,k,N,w,b,T,R)}},P.prototype._processReaddir=function(A,b,T,R,C,O,w){var k=this;this._readdir(T,O,function(N,q){return k._processReaddir2(A,b,T,R,C,O,q,w)})},P.prototype._processReaddir2=function(A,b,T,R,C,O,w,k){if(!w)return k();for(var N=R[0],q=!!this.minimatch.negate,I=N._glob,F=this.dot||I.charAt(0)===".",B=[],$=0;$<w.length;$++){var H=w[$];if(H.charAt(0)!=="."||F){var L;q&&!A?L=!H.match(N):L=H.match(N),L&&B.push(H)}}var V=B.length;if(V===0)return k();if(R.length===1&&!this.mark&&!this.stat){this.matches[C]||(this.matches[C]=Object.create(null));for(var $=0;$<V;$++){var H=B[$];A&&(A!=="/"?H=A+"/"+H:H=A+H),H.charAt(0)==="/"&&!this.nomount&&(H=a.join(this.root,H)),this._emitMatch(C,H)}return k()}R.shift();for(var $=0;$<V;$++){var H=B[$],ie;A&&(A!=="/"?H=A+"/"+H:H=A+H),this._process([H].concat(R),C,O,k)}k()},P.prototype._emitMatch=function(A,b){if(!this.aborted&&!y(this,b)){if(this.paused){this._emitQueue.push([A,b]);return}var T=l(b)?b:this._makeAbs(b);if(this.mark&&(b=this._mark(b)),this.absolute&&(b=T),!this.matches[A][b]){if(this.nodir){var R=this.cache[T];if(R==="DIR"||Array.isArray(R))return}this.matches[A][b]=!0;var C=this.statCache[T];C&&this.emit("stat",b,C),this.emit("match",b)}}},P.prototype._readdirInGlobStar=function(A,b){if(this.aborted)return;if(this.follow)return this._readdir(A,!1,b);var T="lstat\0"+A,R=this,C=S(T,O);C&&R.fs.lstat(A,C);function O(w,k){if(w&&w.code==="ENOENT")return b();var N=k&&k.isSymbolicLink();R.symlinks[A]=N,!N&&k&&!k.isDirectory()?(R.cache[A]="FILE",b()):R._readdir(A,!1,b)}},P.prototype._readdir=function(A,b,T){if(!this.aborted&&(T=S("readdir\0"+A+"\0"+b,T),!!T)){if(b&&!x(this.symlinks,A))return this._readdirInGlobStar(A,T);if(x(this.cache,A)){var R=this.cache[A];if(!R||R==="FILE")return T();if(Array.isArray(R))return T(null,R)}var C=this;C.fs.readdir(A,g(this,A,T))}};function g(A,b,T){return function(R,C){R?A._readdirError(b,R,T):A._readdirEntries(b,C,T)}}P.prototype._readdirEntries=function(A,b,T){if(!this.aborted){if(!this.mark&&!this.stat)for(var R=0;R<b.length;R++){var C=b[R];A==="/"?C=A+C:C=A+"/"+C,this.cache[C]=!0}return this.cache[A]=b,T(null,b)}},P.prototype._readdirError=function(A,b,T){if(!this.aborted){switch(b.code){case"ENOTSUP":case"ENOTDIR":var R=this._makeAbs(A);if(this.cache[R]="FILE",R===this.cwdAbs){var C=new Error(b.code+" invalid cwd "+this.cwd);C.path=this.cwd,C.code=b.code,this.emit("error",C),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(A)]=!1;break;default:this.cache[this._makeAbs(A)]=!1,this.strict&&(this.emit("error",b),this.abort()),this.silent||console.error("glob error",b);break}return T()}},P.prototype._processGlobStar=function(A,b,T,R,C,O,w){var k=this;this._readdir(T,O,function(N,q){k._processGlobStar2(A,b,T,R,C,O,q,w)})},P.prototype._processGlobStar2=function(A,b,T,R,C,O,w,k){if(!w)return k();var N=R.slice(1),q=A?[A]:[],I=q.concat(N);this._process(I,C,!1,k);var F=this.symlinks[T],B=w.length;if(F&&O)return k();for(var $=0;$<B;$++){var H=w[$];if(!(H.charAt(0)==="."&&!this.dot)){var L=q.concat(w[$],N);this._process(L,C,!0,k);var V=q.concat(w[$],R);this._process(V,C,!0,k)}}k()},P.prototype._processSimple=function(A,b,T){var R=this;this._stat(A,function(C,O){R._processSimple2(A,b,C,O,T)})},P.prototype._processSimple2=function(A,b,T,R,C){if(this.matches[b]||(this.matches[b]=Object.create(null)),!R)return C();if(A&&l(A)&&!this.nomount){var O=/[\/\\]$/.test(A);A.charAt(0)==="/"?A=a.join(this.root,A):(A=a.resolve(this.root,A),O&&(A+="/"))}process.platform==="win32"&&(A=A.replace(/\\/g,"/")),this._emitMatch(b,A),C()},P.prototype._stat=function(A,b){var T=this._makeAbs(A),R=A.slice(-1)==="/";if(A.length>this.maxLength)return b();if(!this.stat&&x(this.cache,T)){var C=this.cache[T];if(Array.isArray(C)&&(C="DIR"),!R||C==="DIR")return b(null,C);if(R&&C==="FILE")return b()}var O,w=this.statCache[T];if(w!==void 0){if(w===!1)return b(null,w);var k=w.isDirectory()?"DIR":"FILE";return R&&k==="FILE"?b():b(null,k,w)}var N=this,q=S("stat\0"+T,I);q&&N.fs.lstat(T,q);function I(F,B){if(B&&B.isSymbolicLink())return N.fs.stat(T,function($,H){$?N._stat2(A,T,null,B,b):N._stat2(A,T,$,H,b)});N._stat2(A,T,F,B,b)}},P.prototype._stat2=function(A,b,T,R,C){if(T&&(T.code==="ENOENT"||T.code==="ENOTDIR"))return this.statCache[b]=!1,C();var O=A.slice(-1)==="/";if(this.statCache[b]=R,b.slice(-1)==="/"&&R&&!R.isDirectory())return C(null,!1,R);var w=!0;return R&&(w=R.isDirectory()?"DIR":"FILE"),this.cache[b]=this.cache[b]||w,O&&w==="FILE"?C():C(null,w,R)}}}),Vc=(0,j.__commonJS)({"../../node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/rimraf.js"(e,t){"use strict";var r=(0,j.__require)("assert"),n=(0,j.__require)("path"),i=(0,j.__require)("fs"),o=void 0;try{o=fi()}catch{}var c={nosort:!0,silent:!0},a=0,s=process.platform==="win32",l=f=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(h=>{f[h]=f[h]||i[h],h=h+"Sync",f[h]=f[h]||i[h]}),f.maxBusyTries=f.maxBusyTries||3,f.emfileWait=f.emfileWait||1e3,f.glob===!1&&(f.disableGlob=!0),f.disableGlob!==!0&&o===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");f.disableGlob=f.disableGlob||!1,f.glob=f.glob||c},d=(f,m,h)=>{typeof m=="function"&&(h=m,m={}),r(f,"rimraf: missing path"),r.equal(typeof f,"string","rimraf: path should be a string"),r.equal(typeof h,"function","rimraf: callback function required"),r(m,"rimraf: invalid options argument provided"),r.equal(typeof m,"object","rimraf: options should be object"),l(m);let P=0,g=null,A=0,b=R=>{g=g||R,--A===0&&h(g)},T=(R,C)=>{if(R)return h(R);if(A=C.length,A===0)return h();C.forEach(O=>{let w=k=>{if(k){if((k.code==="EBUSY"||k.code==="ENOTEMPTY"||k.code==="EPERM")&&P<m.maxBusyTries)return P++,setTimeout(()=>v(O,m,w),P*100);if(k.code==="EMFILE"&&a<m.emfileWait)return setTimeout(()=>v(O,m,w),a++);k.code==="ENOENT"&&(k=null)}a=0,b(k)};v(O,m,w)})};if(m.disableGlob||!o.hasMagic(f))return T(null,[f]);m.lstat(f,(R,C)=>{if(!R)return T(null,[f]);o(f,m.glob,T)})},v=(f,m,h)=>{r(f),r(m),r(typeof h=="function"),m.lstat(f,(P,g)=>{if(P&&P.code==="ENOENT")return h(null);if(P&&P.code==="EPERM"&&s&&_(f,m,P,h),g&&g.isDirectory())return S(f,m,P,h);m.unlink(f,A=>{if(A){if(A.code==="ENOENT")return h(null);if(A.code==="EPERM")return s?_(f,m,A,h):S(f,m,A,h);if(A.code==="EISDIR")return S(f,m,A,h)}return h(A)})})},_=(f,m,h,P)=>{r(f),r(m),r(typeof P=="function"),m.chmod(f,438,g=>{g?P(g.code==="ENOENT"?null:h):m.stat(f,(A,b)=>{A?P(A.code==="ENOENT"?null:h):b.isDirectory()?S(f,m,h,P):m.unlink(f,P)})})},x=(f,m,h)=>{r(f),r(m);try{m.chmodSync(f,438)}catch(g){if(g.code==="ENOENT")return;throw h}let P;try{P=m.statSync(f)}catch(g){if(g.code==="ENOENT")return;throw h}P.isDirectory()?y(f,m,h):m.unlinkSync(f)},S=(f,m,h,P)=>{r(f),r(m),r(typeof P=="function"),m.rmdir(f,g=>{g&&(g.code==="ENOTEMPTY"||g.code==="EEXIST"||g.code==="EPERM")?E(f,m,P):g&&g.code==="ENOTDIR"?P(h):P(g)})},E=(f,m,h)=>{r(f),r(m),r(typeof h=="function"),m.readdir(f,(P,g)=>{if(P)return h(P);let A=g.length;if(A===0)return m.rmdir(f,h);let b;g.forEach(T=>{d(n.join(f,T),m,R=>{if(!b){if(R)return h(b=R);--A===0&&m.rmdir(f,h)}})})})},p=(f,m)=>{m=m||{},l(m),r(f,"rimraf: missing path"),r.equal(typeof f,"string","rimraf: path should be a string"),r(m,"rimraf: missing options"),r.equal(typeof m,"object","rimraf: options should be object");let h;if(m.disableGlob||!o.hasMagic(f))h=[f];else try{m.lstatSync(f),h=[f]}catch{h=o.sync(f,m.glob)}if(h.length)for(let P=0;P<h.length;P++){let g=h[P],A;try{A=m.lstatSync(g)}catch(b){if(b.code==="ENOENT")return;b.code==="EPERM"&&s&&x(g,m,b)}try{A&&A.isDirectory()?y(g,m,null):m.unlinkSync(g)}catch(b){if(b.code==="ENOENT")return;if(b.code==="EPERM")return s?x(g,m,b):y(g,m,b);if(b.code!=="EISDIR")throw b;y(g,m,b)}}},y=(f,m,h)=>{r(f),r(m);try{m.rmdirSync(f)}catch(P){if(P.code==="ENOENT")return;if(P.code==="ENOTDIR")throw h;(P.code==="ENOTEMPTY"||P.code==="EEXIST"||P.code==="EPERM")&&u(f,m)}},u=(f,m)=>{r(f),r(m),m.readdirSync(f).forEach(g=>p(n.join(f,g),m));let h=s?100:1,P=0;do{let g=!0;try{let A=m.rmdirSync(f,m);return g=!1,A}finally{if(++P<h&&g)continue}}while(!0)};t.exports=d,d.sync=p}}),Kc=(0,j.__commonJS)({"../../node_modules/.pnpm/indent-string@4.0.0/node_modules/indent-string/index.js"(e,t){"use strict";t.exports=(r,n=1,i)=>{if(i={indent:" ",includeEmptyLines:!1,...i},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof i.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof i.indent}\``);if(n===0)return r;let o=i.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(o,i.indent.repeat(n))}}}),Xc=(0,j.__commonJS)({"../../node_modules/.pnpm/clean-stack@2.2.0/node_modules/clean-stack/index.js"(e,t){"use strict";var r=(0,j.__require)("os"),n=/\s+at.*(?:\(|\s)(.*)\)?/,i=/^(?:(?:(?:node|(?:internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)\.js:\d+:\d+)|native)/,o=typeof r.homedir>"u"?"":r.homedir();t.exports=(c,a)=>(a=Object.assign({pretty:!1},a),c.replace(/\\/g,"/").split(`
15
+ `).filter(s=>{let l=s.match(n);if(l===null||!l[1])return!0;let d=l[1];return d.includes(".app/Contents/Resources/electron.asar")||d.includes(".app/Contents/Resources/default_app.asar")?!1:!i.test(d)}).filter(s=>s.trim()!=="").map(s=>a.pretty?s.replace(n,(l,d)=>l.replace(d,d.replace(o,"~"))):s).join(`
16
+ `))}}),Yc=(0,j.__commonJS)({"../../node_modules/.pnpm/aggregate-error@3.1.0/node_modules/aggregate-error/index.js"(e,t){"use strict";var r=Kc(),n=Xc(),i=c=>c.replace(/\s+at .*aggregate-error\/index.js:\d+:\d+\)?/g,""),o=class extends Error{constructor(c){if(!Array.isArray(c))throw new TypeError(`Expected input to be an Array, got ${typeof c}`);c=[...c].map(s=>s instanceof Error?s:s!==null&&typeof s=="object"?Object.assign(new Error(s.message),s):new Error(s));let a=c.map(s=>typeof s.stack=="string"?i(n(s.stack)):String(s)).join(`
17
+ `);a=`
18
+ `+r(a,4),super(a),this.name="AggregateError",Object.defineProperty(this,"_errors",{value:c})}*[Symbol.iterator](){for(let c of this._errors)yield c}};t.exports=o}}),zc=(0,j.__commonJS)({"../../node_modules/.pnpm/p-map@4.0.0/node_modules/p-map/index.js"(e,t){"use strict";var r=Yc();t.exports=async(n,i,{concurrency:o=1/0,stopOnError:c=!0}={})=>new Promise((a,s)=>{if(typeof i!="function")throw new TypeError("Mapper function is required");if(!((Number.isSafeInteger(o)||o===1/0)&&o>=1))throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${o}\` (${typeof o})`);let l=[],d=[],v=n[Symbol.iterator](),_=!1,x=!1,S=0,E=0,p=()=>{if(_)return;let y=v.next(),u=E;if(E++,y.done){x=!0,S===0&&(!c&&d.length!==0?s(new r(d)):a(l));return}S++,(async()=>{try{let f=await y.value;l[u]=await i(f,u),S--,p()}catch(f){c?(_=!0,s(f)):(d.push(f),S--,p())}})()};for(let y=0;y<o&&(p(),!x);y++);})}}),Qc=(0,j.__commonJS)({"../../node_modules/.pnpm/del@6.1.1/node_modules/del/index.js"(e,t){"use strict";var{promisify:r}=(0,j.__require)("util"),n=(0,j.__require)("path"),i=Ic(),o=zn(),c=ai(),a=$c(),s=Mc(),l=Fc(),d=Vc(),v=zc(),_=r(d),x={glob:!1,unlink:a.unlink,unlinkSync:a.unlinkSync,chmod:a.chmod,chmodSync:a.chmodSync,stat:a.stat,statSync:a.statSync,lstat:a.lstat,lstatSync:a.lstatSync,rmdir:a.rmdir,rmdirSync:a.rmdirSync,readdir:a.readdir,readdirSync:a.readdirSync};function S(p,y){if(s(p))throw new Error("Cannot delete the current working directory. Can be overridden with the `force` option.");if(!l(p,y))throw new Error("Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option.")}function E(p){return p=Array.isArray(p)?p:[p],p=p.map(y=>process.platform==="win32"&&o(y)===!1?c(y):y),p}t.exports=async(p,{force:y,dryRun:u,cwd:f=process.cwd(),onProgress:m=()=>{},...h}={})=>{h={expandDirectories:!1,onlyFiles:!1,followSymbolicLinks:!1,cwd:f,...h},p=E(p);let P=(await i(p,h)).sort((T,R)=>R.localeCompare(T));P.length===0&&m({totalCount:0,deletedCount:0,percent:1});let g=0,b=await v(P,async T=>(T=n.resolve(f,T),y||S(T,f),u||await _(T,x),g+=1,m({totalCount:P.length,deletedCount:g,percent:g/P.length}),T),h);return b.sort((T,R)=>T.localeCompare(R)),b},t.exports.sync=(p,{force:y,dryRun:u,cwd:f=process.cwd(),...m}={})=>{m={expandDirectories:!1,onlyFiles:!1,followSymbolicLinks:!1,cwd:f,...m},p=E(p);let P=i.sync(p,m).sort((g,A)=>A.localeCompare(g)).map(g=>(g=n.resolve(f,g),y||S(g,f),u||d.sync(g,x),g));return P.sort((g,A)=>g.localeCompare(A)),P}}}),Zc=(0,j.__commonJS)({"../../node_modules/.pnpm/tempy@1.0.1/node_modules/tempy/index.js"(e,t){"use strict";var r=(0,j.__require)("fs"),n=(0,j.__require)("path"),i=Pu(),o=xu(),c=Ru(),a=Qc(),s=(0,j.__require)("stream"),{promisify:l}=(0,j.__require)("util"),d=l(s.pipeline),{writeFile:v}=r.promises,_=(E="")=>n.join(o,E+i()),x=async(E,p)=>d(p,r.createWriteStream(E)),S=(E,{extraArguments:p=0}={})=>async(...y)=>{let[u,f]=y.slice(p),m=await E(...y.slice(0,p),f);try{return await u(m)}finally{await a(m,{force:!0})}};t.exports.file=E=>{if(E={...E},E.name){if(E.extension!==void 0&&E.extension!==null)throw new Error("The `name` and `extension` options are mutually exclusive");return n.join(t.exports.directory(),E.name)}return _()+(E.extension===void 0||E.extension===null?"":"."+E.extension.replace(/^\./,""))},t.exports.file.task=S(t.exports.file),t.exports.directory=({prefix:E=""}={})=>{let p=_(E);return r.mkdirSync(p),p},t.exports.directory.task=S(t.exports.directory),t.exports.write=async(E,p)=>{let y=t.exports.file(p);return await(c(E)?x:v)(y,E),y},t.exports.write.task=S(t.exports.write,{extraArguments:1}),t.exports.writeSync=(E,p)=>{let y=t.exports.file(p);return r.writeFileSync(y,E),y},Object.defineProperty(t.exports,"root",{get(){return o}})}}),el=(0,j.__toESM)(uu(),1);function tl(e){let t=typeof e=="string"?`
19
+ `:10,r=typeof e=="string"?"\r":13;return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===r&&(e=e.slice(0,-1)),e}function di(e={}){let{env:t=process.env,platform:r=process.platform}=e;return r!=="win32"?"PATH":Object.keys(t).reverse().find(n=>n.toUpperCase()==="PATH")||"Path"}var rl=({cwd:e=pt.default.cwd(),path:t=pt.default.env[di()],preferLocal:r=!0,execPath:n=pt.default.execPath,addExecPath:i=!0}={})=>{let o=e instanceof URL?(0,Wn.fileURLToPath)(e):e,c=et.default.resolve(o),a=[];return r&&nl(a,c),i&&il(a,n,c),[...a,t].join(et.default.delimiter)},nl=(e,t)=>{let r;for(;r!==t;)e.push(et.default.join(t,"node_modules/.bin")),r=t,t=et.default.resolve(t,"..")},il=(e,t,r)=>{let n=t instanceof URL?(0,Wn.fileURLToPath)(t):t;e.push(et.default.resolve(r,n,".."))},sl=({env:e=pt.default.env,...t}={})=>{e={...e};let r=di({env:e});return t.path=e[r],e[r]=rl(t),e},al=(e,t,r,n)=>{if(r==="length"||r==="prototype"||r==="arguments"||r==="caller")return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);!ol(i,o)&&n||Object.defineProperty(e,r,o)},ol=function(e,t){return e===void 0||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value)},ul=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r)},cl=(e,t)=>`/* Wrapped ${e}*/
20
+ ${t}`,ll=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),fl=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),dl=(e,t,r)=>{let n=r===""?"":`with ${r.trim()}() `,i=cl.bind(null,n,t.toString());Object.defineProperty(i,"name",fl),Object.defineProperty(e,"toString",{...ll,value:i})};function pl(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let i of Reflect.ownKeys(t))al(e,t,i,r);return ul(e,t),dl(e,t,n),e}var vt=new WeakMap,pi=(e,t={})=>{if(typeof e!="function")throw new TypeError("Expected a function");let r,n=0,i=e.displayName||e.name||"<anonymous>",o=function(...c){if(vt.set(o,++n),n===1)r=e.apply(this,c),e=null;else if(t.throw===!0)throw new Error(`Function \`${i}\` can only be called once`);return r};return pl(o,e),vt.set(o,n),o};pi.callCount=e=>{if(!vt.has(e))throw new Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return vt.get(e)};var hl=pi,ml=()=>{let e=mi-hi+1;return Array.from({length:e},vl)},vl=(e,t)=>({name:`SIGRT${t+1}`,number:hi+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),hi=34,mi=64,_l=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}],vi=()=>{let e=ml();return[..._l,...e].map(yl)},yl=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:c}}=Bo.constants,a=c!==void 0;return{name:e,number:a?c:t,description:r,supported:a,action:n,forced:i,standard:o}},gl=()=>{let e=vi();return Object.fromEntries(e.map(Sl))},Sl=({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:c})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:c}],bl=gl(),wl=()=>{let e=vi(),t=mi+1,r=Array.from({length:t},(n,i)=>El(i,e));return Object.assign({},...r)},El=(e,t)=>{let r=Al(e,t);if(r===void 0)return{};let{name:n,description:i,supported:o,action:c,forced:a,standard:s}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:c,forced:a,standard:s}}},Al=(e,t)=>{let r=t.find(({name:n})=>qo.constants.signals[n]===e);return r!==void 0?r:t.find(n=>n.number===e)},wp=wl(),Ol=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:c})=>e?`timed out after ${t} milliseconds`:c?"was canceled":r!==void 0?`failed with ${r}`:n!==void 0?`was killed with ${n} (${i})`:o!==void 0?`failed with exit code ${o}`:"failed",_t=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:c,escapedCommand:a,timedOut:s,isCanceled:l,killed:d,parsed:{options:{timeout:v,cwd:_=Fo.default.cwd()}}})=>{o=o===null?void 0:o,i=i===null?void 0:i;let x=i===void 0?void 0:bl[i].description,S=n&&n.code,p=`Command ${Ol({timedOut:s,timeout:v,errorCode:S,signal:i,signalDescription:x,exitCode:o,isCanceled:l})}: ${c}`,y=Object.prototype.toString.call(n)==="[object Error]",u=y?`${p}
21
+ ${n.message}`:p,f=[u,t,e].filter(Boolean).join(`
22
+ `);return y?(n.originalMessage=n.message,n.message=f):n=new Error(f),n.shortMessage=u,n.command=c,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=x,n.stdout=e,n.stderr=t,n.cwd=_,r!==void 0&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!s,n.isCanceled=l,n.killed=d&&!s,n},ht=["stdin","stdout","stderr"],Pl=e=>ht.some(t=>e[t]!==void 0),_i=e=>{if(!e)return;let{stdio:t}=e;if(t===void 0)return ht.map(n=>e[n]);if(Pl(e))throw new Error(`It's not possible to provide \`stdio\` in combination with one of ${ht.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,ht.length);return Array.from({length:r},(n,i)=>t[i])},xl=e=>{let t=_i(e);return t==="ipc"?"ipc":t===void 0||typeof t=="string"?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]},Ge=[];Ge.push("SIGHUP","SIGINT","SIGTERM");process.platform!=="win32"&&Ge.push("SIGALRM","SIGABRT","SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&Ge.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT");var mt=e=>!!e&&typeof e=="object"&&typeof e.removeListener=="function"&&typeof e.emit=="function"&&typeof e.reallyExit=="function"&&typeof e.listeners=="function"&&typeof e.kill=="function"&&typeof e.pid=="number"&&typeof e.on=="function",Xt=Symbol.for("signal-exit emitter"),Yt=globalThis,Rl=Object.defineProperty.bind(Object),Tl=class{emitted={afterExit:!1,exit:!1};listeners={afterExit:[],exit:[]};count=0;id=Math.random();constructor(){if(Yt[Xt])return Yt[Xt];Rl(Yt,Xt,{value:this,writable:!1,enumerable:!1,configurable:!1})}on(e,t){this.listeners[e].push(t)}removeListener(e,t){let r=this.listeners[e],n=r.indexOf(t);n!==-1&&(n===0&&r.length===1?r.length=0:r.splice(n,1))}emit(e,t,r){if(this.emitted[e])return!1;this.emitted[e]=!0;let n=!1;for(let i of this.listeners[e])n=i(t,r)===!0||n;return e==="exit"&&(n=this.emit("afterExit",t,r)||n),n}},yi=class{},kl=e=>({onExit(t,r){return e.onExit(t,r)},load(){return e.load()},unload(){return e.unload()}}),Cl=class extends yi{onExit(){return()=>{}}load(){}unload(){}},jl=class extends yi{#a=tr.platform==="win32"?"SIGINT":"SIGHUP";#t=new Tl;#e;#i;#s;#n={};#r=!1;constructor(e){super(),this.#e=e,this.#n={};for(let t of Ge)this.#n[t]=()=>{let r=this.#e.listeners(t),{count:n}=this.#t,i=e;if(typeof i.__signal_exit_emitter__=="object"&&typeof i.__signal_exit_emitter__.count=="number"&&(n+=i.__signal_exit_emitter__.count),r.length===n){this.unload();let o=this.#t.emit("exit",null,t),c=t==="SIGHUP"?this.#a:t;o||e.kill(e.pid,c)}};this.#s=e.reallyExit,this.#i=e.emit}onExit(e,t){if(!mt(this.#e))return()=>{};this.#r===!1&&this.load();let r=t?.alwaysLast?"afterExit":"exit";return this.#t.on(r,e),()=>{this.#t.removeListener(r,e),this.#t.listeners.exit.length===0&&this.#t.listeners.afterExit.length===0&&this.unload()}}load(){if(!this.#r){this.#r=!0,this.#t.count+=1;for(let e of Ge)try{let t=this.#n[e];t&&this.#e.on(e,t)}catch{}this.#e.emit=(e,...t)=>this.#u(e,...t),this.#e.reallyExit=e=>this.#o(e)}}unload(){this.#r&&(this.#r=!1,Ge.forEach(e=>{let t=this.#n[e];if(!t)throw new Error("Listener not defined for signal: "+e);try{this.#e.removeListener(e,t)}catch{}}),this.#e.emit=this.#i,this.#e.reallyExit=this.#s,this.#t.count-=1)}#o(e){return mt(this.#e)?(this.#e.exitCode=e||0,this.#t.emit("exit",this.#e.exitCode,null),this.#s.call(this.#e,this.#e.exitCode)):0}#u(e,...t){let r=this.#i;if(e==="exit"&&mt(this.#e)){typeof t[0]=="number"&&(this.#e.exitCode=t[0]);let n=r.call(this.#e,e,...t);return this.#t.emit("exit",this.#e.exitCode,null),n}else return r.call(this.#e,e,...t)}},tr=globalThis.process,{onExit:Il,load:Ep,unload:Ap}=kl(mt(tr)?new jl(tr):new Cl),Dl=1e3*5,Ll=(e,t="SIGTERM",r={})=>{let n=e(t);return Nl(e,t,r,n),n},Nl=(e,t,r,n)=>{if(!$l(t,r,n))return;let i=Fl(r),o=setTimeout(()=>{e("SIGKILL")},i);o.unref&&o.unref()},$l=(e,{forceKillAfterTimeout:t},r)=>Ml(e)&&t!==!1&&r,Ml=e=>e===Ho.default.constants.signals.SIGTERM||typeof e=="string"&&e.toUpperCase()==="SIGTERM",Fl=({forceKillAfterTimeout:e=!0})=>{if(e===!0)return Dl;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},ql=(e,t)=>{e.kill()&&(t.isCanceled=!0)},Bl=(e,t,r)=>{e.kill(t),r(Object.assign(new Error("Timed out"),{timedOut:!0,signal:t}))},Hl=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{if(t===0||t===void 0)return n;let i,o=new Promise((a,s)=>{i=setTimeout(()=>{Bl(e,r,s)},t)}),c=n.finally(()=>{clearTimeout(i)});return Promise.race([o,c])},Gl=({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})`)},Wl=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=Il(()=>{e.kill()});return n.finally(()=>{i()})};function vr(e){return e!==null&&typeof e=="object"&&typeof e.pipe=="function"}function kn(e){return vr(e)&&e.writable!==!1&&typeof e._write=="function"&&typeof e._writableState=="object"}var Jl=e=>e instanceof Wo.ChildProcess&&typeof e.then=="function",zt=(e,t,r)=>{if(typeof r=="string")return e[t].pipe((0,Go.createWriteStream)(r)),e;if(kn(r))return e[t].pipe(r),e;if(!Jl(r))throw new TypeError("The second argument must be a string, a stream or an Execa child process.");if(!kn(r.stdin))throw new TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r},Ul=e=>{e.stdout!==null&&(e.pipeStdout=zt.bind(void 0,e,"stdout")),e.stderr!==null&&(e.pipeStderr=zt.bind(void 0,e,"stderr")),e.all!==void 0&&(e.pipeAll=zt.bind(void 0,e,"all"))},gi=async(e,{init:t,convertChunk:r,getSize:n,truncateChunk:i,addChunk:o,getFinalChunk:c,finalize:a},{maxBuffer:s=Number.POSITIVE_INFINITY}={})=>{if(!Kl(e))throw new Error("The first argument must be a Readable, a ReadableStream, or an async iterable.");let l=t();l.length=0;try{for await(let d of e){let v=Xl(d),_=r[v](d,l);Si({convertedChunk:_,state:l,getSize:n,truncateChunk:i,addChunk:o,maxBuffer:s})}return Vl({state:l,convertChunk:r,getSize:n,truncateChunk:i,addChunk:o,getFinalChunk:c,maxBuffer:s}),a(l)}catch(d){throw d.bufferedData=a(l),d}},Vl=({state:e,getSize:t,truncateChunk:r,addChunk:n,getFinalChunk:i,maxBuffer:o})=>{let c=i(e);c!==void 0&&Si({convertedChunk:c,state:e,getSize:t,truncateChunk:r,addChunk:n,maxBuffer:o})},Si=({convertedChunk:e,state:t,getSize:r,truncateChunk:n,addChunk:i,maxBuffer:o})=>{let c=r(e),a=t.length+c;if(a<=o){Cn(e,t,i,a);return}let s=n(e,o-t.length);throw s!==void 0&&Cn(s,t,i,o),new Yl},Cn=(e,t,r,n)=>{t.contents=r(e,t,n),t.length=n},Kl=e=>typeof e=="object"&&e!==null&&typeof e[Symbol.asyncIterator]=="function",Xl=e=>{let t=typeof e;if(t==="string")return"string";if(t!=="object"||e===null)return"others";if(globalThis.Buffer?.isBuffer(e))return"buffer";let r=jn.call(e);return r==="[object ArrayBuffer]"?"arrayBuffer":r==="[object DataView]"?"dataView":Number.isInteger(e.byteLength)&&Number.isInteger(e.byteOffset)&&jn.call(e.buffer)==="[object ArrayBuffer]"?"typedArray":"others"},{toString:jn}=Object.prototype,Yl=class extends Error{name="MaxBufferError";constructor(){super("maxBuffer exceeded")}},zl=e=>e,Ql=()=>{},Zl=({contents:e})=>e,bi=e=>{throw new Error(`Streams in object mode are not supported: ${String(e)}`)},wi=e=>e.length;async function ef(e,t){return gi(e,lf,t)}var tf=()=>({contents:new ArrayBuffer(0)}),rf=e=>nf.encode(e),nf=new TextEncoder,In=e=>new Uint8Array(e),Dn=e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength),sf=(e,t)=>e.slice(0,t),af=(e,{contents:t,length:r},n)=>{let i=Ai()?uf(t,n):of(t,n);return new Uint8Array(i).set(e,r),i},of=(e,t)=>{if(t<=e.byteLength)return e;let r=new ArrayBuffer(Ei(t));return new Uint8Array(r).set(new Uint8Array(e),0),r},uf=(e,t)=>{if(t<=e.maxByteLength)return e.resize(t),e;let r=new ArrayBuffer(t,{maxByteLength:Ei(t)});return new Uint8Array(r).set(new Uint8Array(e),0),r},Ei=e=>Ln**Math.ceil(Math.log(e)/Math.log(Ln)),Ln=2,cf=({contents:e,length:t})=>Ai()?e:e.slice(0,t),Ai=()=>"resize"in ArrayBuffer.prototype,lf={init:tf,convertChunk:{string:rf,buffer:In,arrayBuffer:In,dataView:Dn,typedArray:Dn,others:bi},getSize:wi,truncateChunk:sf,addChunk:af,getFinalChunk:Ql,finalize:cf};async function Oi(e,t){if(!("Buffer"in globalThis))throw new Error("getStreamAsBuffer() is only supported in Node.js");try{return Nn(await ef(e,t))}catch(r){throw r.bufferedData!==void 0&&(r.bufferedData=Nn(r.bufferedData)),r}}var Nn=e=>globalThis.Buffer.from(e);async function ff(e,t){return gi(e,vf,t)}var df=()=>({contents:"",textDecoder:new TextDecoder}),ft=(e,{textDecoder:t})=>t.decode(e,{stream:!0}),pf=(e,{contents:t})=>t+e,hf=(e,t)=>e.slice(0,t),mf=({textDecoder:e})=>{let t=e.decode();return t===""?void 0:t},vf={init:df,convertChunk:{string:zl,buffer:ft,arrayBuffer:ft,dataView:ft,typedArray:ft,others:bi},getSize:wi,truncateChunk:hf,addChunk:pf,getFinalChunk:mf,finalize:Zl},_f=(0,j.__toESM)(cu(),1),Pi=e=>{if(e!==void 0)throw new TypeError("The `input` and `inputFile` options cannot be both set.")},yf=({input:e,inputFile:t})=>typeof t!="string"?e:(Pi(e),(0,Jn.readFileSync)(t)),gf=e=>{let t=yf(e);if(vr(t))throw new TypeError("The `input` option cannot be a stream in sync mode");return t},Sf=({input:e,inputFile:t})=>typeof t!="string"?e:(Pi(e),(0,Jn.createReadStream)(t)),bf=(e,t)=>{let r=Sf(t);r!==void 0&&(vr(r)?r.pipe(e.stdin):e.stdin.end(r))},wf=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=(0,_f.default)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r},Qt=async(e,t)=>{if(!(!e||t===void 0)){await(0,Jo.setTimeout)(0),e.destroy();try{return await t}catch(r){return r.bufferedData}}},Zt=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(!(!e||!r))return t==="utf8"||t==="utf-8"?ff(e,{maxBuffer:n}):t===null||t==="buffer"?Oi(e,{maxBuffer:n}):Ef(e,n,t)},Ef=async(e,t,r)=>(await Oi(e,{maxBuffer:t})).toString(r),Af=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},c)=>{let a=Zt(e,{encoding:n,buffer:i,maxBuffer:o}),s=Zt(t,{encoding:n,buffer:i,maxBuffer:o}),l=Zt(r,{encoding:n,buffer:i,maxBuffer:o*2});try{return await Promise.all([c,a,s,l])}catch(d){return Promise.all([{error:d,signal:d.signal,timedOut:d.timedOut},Qt(e,a),Qt(t,s),Qt(r,l)])}},Of=(async()=>{})().constructor.prototype,Pf=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(Of,e)]),$n=(e,t)=>{for(let[r,n]of Pf){let i=typeof t=="function"?(...o)=>Reflect.apply(n.value,t(),o):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i})}},xf=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)})}),xi=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],Rf=/^[\w.-]+$/,Tf=e=>typeof e!="string"||Rf.test(e)?e:`"${e.replaceAll('"','\\"')}"`,Ri=(e,t)=>xi(e,t).join(" "),Ti=(e,t)=>xi(e,t).map(r=>Tf(r)).join(" "),kf=/ +/g,Mn=e=>{let t=typeof e;if(t==="string")return e;if(t==="number")return String(e);if(t==="object"&&e!==null&&!(e instanceof Vo.ChildProcess)&&"stdout"in e){let r=typeof e.stdout;if(r==="string")return e.stdout;if(Uo.Buffer.isBuffer(e.stdout))return e.stdout.toString();throw new TypeError(`Unexpected "${r}" stdout in template expression`)}throw new TypeError(`Unexpected "${t}" in template expression`)},Fn=(e,t,r)=>r||e.length===0||t.length===0?[...e,...t]:[...e.slice(0,-1),`${e.at(-1)}${t[0]}`,...t.slice(1)],Cf=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],c=o.split(kf).filter(Boolean),a=Fn(r,c,o.startsWith(" "));if(n===t.length)return a;let s=t[n],l=Array.isArray(s)?s.map(d=>Mn(d)):[Mn(s)];return Fn(a,l,o.endsWith(" "))},qn=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=Cf({templates:e,expressions:t,tokens:r,index:n,template:i});return r},jf=(0,Ko.debuglog)("execa").enabled,dt=(e,t)=>String(e).padStart(t,"0"),If=()=>{let e=new Date;return`${dt(e.getHours(),2)}:${dt(e.getMinutes(),2)}:${dt(e.getSeconds(),2)}.${dt(e.getMilliseconds(),3)}`},ki=(e,{verbose:t})=>{t&&Xo.default.stderr.write(`[${If()}] ${e}
23
+ `)},Df=1e3*1e3*100,Lf=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...He.default.env,...e}:e;return r?sl({env:o,cwd:n,execPath:i}):o},Ci=(e,t,r={})=>{let n=el.default._parse(e,t,r);return e=n.command,t=n.args,r=n.options,r={maxBuffer:Df,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:r.cwd||He.default.cwd(),execPath:He.default.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:jf,...r},r.env=Lf(r),r.stdio=_i(r),He.default.platform==="win32"&&Mo.default.basename(e,".exe")==="cmd"&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n}},Ze=(e,t,r)=>typeof t!="string"&&!$o.Buffer.isBuffer(t)?r===void 0?void 0:"":e.stripFinalNewline?tl(t):t;function ji(e,t,r){let n=Ci(e,t,r),i=Ri(e,t),o=Ti(e,t);ki(o,n.options),Gl(n.options);let c;try{c=er.default.spawn(n.file,n.args,n.options)}catch(x){let S=new er.default.ChildProcess,E=Promise.reject(_t({error:x,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}));return $n(S,E),S}let a=xf(c),s=Hl(c,n.options,a),l=Wl(c,n.options,s),d={isCanceled:!1};c.kill=Ll.bind(null,c.kill.bind(c)),c.cancel=ql.bind(null,c,d);let _=hl(async()=>{let[{error:x,exitCode:S,signal:E,timedOut:p},y,u,f]=await Af(c,n.options,l),m=Ze(n.options,y),h=Ze(n.options,u),P=Ze(n.options,f);if(x||S!==0||E!==null){let g=_t({error:x,exitCode:S,signal:E,stdout:m,stderr:h,all:P,command:i,escapedCommand:o,parsed:n,timedOut:p,isCanceled:d.isCanceled||(n.options.signal?n.options.signal.aborted:!1),killed:c.killed});if(!n.options.reject)return g;throw g}return{command:i,escapedCommand:o,exitCode:0,stdout:m,stderr:h,all:P,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return bf(c,n.options),c.all=wf(c,n.options),Ul(c),$n(c,_),c}function Nf(e,t,r){let n=Ci(e,t,r),i=Ri(e,t),o=Ti(e,t);ki(o,n.options);let c=gf(n.options),a;try{a=er.default.spawnSync(n.file,n.args,{...n.options,input:c})}catch(d){throw _t({error:d,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1})}let s=Ze(n.options,a.stdout,a.error),l=Ze(n.options,a.stderr,a.error);if(a.error||a.status!==0||a.signal!==null){let d=_t({stdout:s,stderr:l,error:a.error,signal:a.signal,exitCode:a.status,command:i,escapedCommand:o,parsed:n,timedOut:a.error&&a.error.code==="ETIMEDOUT",isCanceled:!1,killed:a.signal!==null});if(!n.options.reject)return d;throw d}return{command:i,escapedCommand:o,exitCode:0,stdout:s,stderr:l,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}var $f=({input:e,inputFile:t,stdio:r})=>e===void 0&&t===void 0&&r===void 0?{stdin:"inherit"}:{},Bn=(e={})=>({preferLocal:!0,...$f(e),...e});function Ii(e){function t(r,...n){if(!Array.isArray(r))return Ii({...e,...r});let[i,...o]=qn(r,n);return ji(i,o,Bn(e))}return t.sync=(r,...n)=>{if(!Array.isArray(r))throw new TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[i,...o]=qn(r,n);return Nf(i,o,Bn(e))},t}var Op=Ii();function Mf(e,t,r={}){t&&!Array.isArray(t)&&typeof t=="object"&&(r=t,t=[]);let n=xl(r),i=He.default.execArgv.filter(a=>!a.startsWith("--inspect")),{nodePath:o=He.default.execPath,nodeOptions:c=i}=r;return ji(o,[...c,e,...Array.isArray(t)?t:[]],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:n,shell:!1})}});var qi=Ee((dh,Fi)=>{"use strict";ce();var Ff=Object.create,wt=Object.defineProperty,qf=Object.getOwnPropertyDescriptor,Bf=Object.getOwnPropertyNames,Hf=Object.getPrototypeOf,Gf=Object.prototype.hasOwnProperty,Wf=(e,t)=>{for(var r in t)wt(e,r,{get:t[r],enumerable:!0})},Li=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Bf(t))!Gf.call(e,i)&&i!==r&&wt(e,i,{get:()=>t[i],enumerable:!(n=qf(t,i))||n.enumerable});return e},Jf=(e,t,r)=>(r=e!=null?Ff(Hf(e)):{},Li(t||!e||!e.__esModule?wt(r,"default",{value:e,enumerable:!0}):r,e)),Uf=e=>Li(wt({},"__esModule",{value:!0}),e),Ni={};Wf(Ni,{jestConsoleContext:()=>Yf,jestContext:()=>Xf,jestStdoutContext:()=>zf,processExitContext:()=>Qf});Fi.exports=Uf(Ni);var yr=_r(),$i=qe(),$e=Jf(ae("path")),Vf=(0,$i.__toESM)((0,yr.require_main)()),Kf=(0,$i.__toESM)((0,yr.require_tempy)()),Xf={new:function(e={}){let t=e;return beforeEach(()=>{let r=process.cwd();t.mocked=t.mocked??{cwd:process.cwd()},t.tmpDir=Kf.default.directory(),t.fs=Vf.default.cwd(t.tmpDir),t.tree=(n=t.tmpDir,i="")=>{function*o(a,s=""){for(let l of a)l.name==="node_modules"||l.name===".git"||(l.type==="dir"?(yield`${s}\u2514\u2500\u2500 ${l.name}/`,yield*o(l.children,s+" ")):l.type==="symlink"?yield`${s} -> ${l.relativePath}`:yield`${s}\u2514\u2500\u2500 ${l.name}`)}let c=t.fs.inspectTree(n,{relativePath:!0,symlinks:"report"})?.children||[];return`
24
+ ${[...o(c,i)].join(`
25
+ `)}
26
+ `},t.fixture=n=>{t.fs.copy($e.default.join(r,"src","__tests__","fixtures",n),".",{overwrite:!0}),t.fs.symlink($e.default.join(r,"..","client"),$e.default.join(t.fs.cwd(),"node_modules","@prisma","client")),t.fs.symlink($e.default.join(r,"..","config"),$e.default.join(t.fs.cwd(),"node_modules","@prisma","config"))},t.cli=(...n)=>(0,yr.execaNode)($e.default.join(r,"../cli/build/index.js"),n,{cwd:t.fs.cwd(),stdio:"pipe",all:!0}),t.printDir=(n,i)=>{let o=t.fs.list(n)??[];return o.sort((c,a)=>c.localeCompare(a)),o.filter(c=>i.includes($e.default.extname(c))).map(c=>`${c}:
27
+
28
+ ${t.fs.read($e.default.join(n,c))}`).join(`
29
+
30
+ `)},process.chdir(t.tmpDir)}),afterEach(()=>{process.chdir(t.mocked.cwd)}),Mi(e)}};function Mi(e){return{add(t){let r=t(e);return Mi(r)},assemble(){return e}}}var Yf=()=>e=>{let t=e;return beforeEach(()=>{t.mocked["console.error"]=jest.spyOn(console,"error").mockImplementation(()=>{}),t.mocked["console.log"]=jest.spyOn(console,"log").mockImplementation(()=>{}),t.mocked["console.info"]=jest.spyOn(console,"info").mockImplementation(()=>{}),t.mocked["console.warn"]=jest.spyOn(console,"warn").mockImplementation(()=>{})}),afterEach(()=>{t.mocked["console.error"].mockRestore(),t.mocked["console.log"].mockRestore(),t.mocked["console.info"].mockRestore(),t.mocked["console.warn"].mockRestore()}),t},zf=({normalizationRules:e}={normalizationRules:[]})=>t=>{let r=t,n=(i,o)=>{for(let[c,a]of o)i=i.replace(c,a);return i};return beforeEach(()=>{r.mocked["process.stderr.write"]=jest.spyOn(process.stderr,"write").mockImplementation(()=>!0),r.mocked["process.stdout.write"]=jest.spyOn(process.stdout,"write").mockImplementation(()=>!0),r.normalizedCapturedStdout=()=>n(r.mocked["process.stdout.write"].mock.calls.join(""),e),r.normalizedCapturedStderr=()=>n(r.mocked["process.stderr.write"].mock.calls.join(""),e),r.clearCapturedStdout=()=>r.mocked["process.stdout.write"].mockClear(),r.clearCapturedStderr=()=>r.mocked["process.stderr.write"].mockClear()}),afterEach(()=>{r.mocked["process.stderr.write"].mockRestore(),r.mocked["process.stdout.write"].mockRestore()}),r},Qf=()=>e=>{let t=e;return beforeEach(()=>{t.mocked["process.exit"]=jest.spyOn(process,"exit").mockImplementation(r=>{throw new Error("process.exit: "+r)}),t.recordedExitCode=()=>t.mocked["process.exit"].mock.calls[0]?.[0]}),afterEach(()=>{t.mocked["process.exit"].mockRestore()}),t}});var Wi=Ee((gh,Gi)=>{"use strict";ce();var Sr=Object.defineProperty,Zf=Object.getOwnPropertyDescriptor,ed=Object.getOwnPropertyNames,td=Object.prototype.hasOwnProperty,rd=(e,t)=>{for(var r in t)Sr(e,r,{get:t[r],enumerable:!0})},nd=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ed(t))!td.call(e,i)&&i!==r&&Sr(e,i,{get:()=>t[i],enumerable:!(n=Zf(t,i))||n.enumerable});return e},id=e=>nd(Sr({},"__esModule",{value:!0}),e),Bi={};rd(Bi,{binaryTargets:()=>Hi.binaryTargets,getBinaryTargetForCurrentPlatform:()=>gr.getBinaryTargetForCurrentPlatform,getPlatformInfo:()=>gr.getPlatformInfo,getos:()=>gr.getos,jestConsoleContext:()=>Et.jestConsoleContext,jestContext:()=>Et.jestContext,jestStdoutContext:()=>Et.jestStdoutContext,link:()=>sd.link,processExitContext:()=>Et.processExitContext});Gi.exports=id(Bi);var gr=fn(),sd=An(),hh=Tt(),mh=rt(),Hi=Rn(),vh=Tn(),Et=qi(),_h=_r(),yh=qe();(0,Hi.init_binaryTargets)()});ce();ce();var Ui=Ki(Wi(),1);import{createServer as ad}from"http";import{promisify as od}from"util";async function Vi(e,t){let{port:r}=t;if(t.dryRun)return Ji(r,null);let n=await ud(r,e,t),{promise:i,reject:o,resolve:c}=wr(),{serve:a}=await import("@hono/node-server"),s=a({createServer:ad,fetch:n.fetch,overrideGlobalObjects:!1,port:r},c);return s.on("error",l=>{if(typeof l=="object"&&"code"in l&&l.code==="EADDRINUSE")return o(new At(r));console.error("[Accelerate]",l)}),await i,Ji(r,s)}function Ji(e,t){return{async close(){t&&await Promise.allSettled([od(t.close.bind(t))(),Er.stopAll()])},port:e,url:`http://localhost:${e}`}}async function ud(e,t,r){let{debug:n}=r,[{Hono:i},{accelerateRoute:o},{utilityRoute:c}]=await Promise.all([import("hono/tiny"),import("./accelerate-B4RDPMOM.js"),import("./utility-2R6QXHRL.js")]),a=new i,s=await Ui.default.getPlatformInfo();if(n&&console.debug("[Accelerate] platform info: %s",JSON.stringify(s)),n){let{logger:d}=await import("hono/logger");a.use("*",d((...v)=>console.log("[Accelerate]",...v)))}a.use("*",async(d,v)=>(d.set("db",t),d.set("debug",!!n),d.set("platform",s),d.set("port",e),d.set("protocol","http"),d.set("serverState",r),d.set("shadowDBPort",r.shadowDatabasePort),await v()));let l=new i;return l.route("/",o),l.route("/",c),a.route("/",l),a}async function cd(e){let t=await Ar.createExclusively(e),[r,n]=await Promise.all([Ot("database",t),Ot("shadow_database",t)]),i=await Vi(r,t),o=`prisma+postgres://localhost:${i.port}/?${new URLSearchParams({api_key:br({databaseUrl:r.prismaORMConnectionString,name:t.name,shadowDatabaseUrl:n.prismaORMConnectionString})}).toString()}`,c={database:{connectionString:r.connectionString,prismaORMConnectionString:r.prismaORMConnectionString,terminalCommand:r.terminalCommand},http:{url:i.url},ppg:{url:o},shadowDatabase:{connectionString:n.prismaORMConnectionString,prismaORMConnectionString:n.prismaORMConnectionString,terminalCommand:n.terminalCommand}};return await t.writeServerDump(c),{...c,close:()=>a(t,[i,r,n]),name:t.name};async function a(s,l){let v=(await Promise.allSettled(l.map(_=>_.close()))).filter(_=>_.status==="rejected").map(_=>new Error(_.reason));try{await s.close()}catch(_){v.push(_)}if(v.length>0)throw new AggregateError(v,"Failed to close some servers")}}async function Nh(e){return await cd(e)}export{cd as a,Nh as b};
31
+ /*! Bundled license information:
32
+
33
+ @prisma/get-platform/dist/chunk-3UEKS5W6.js:
34
+ (*! Bundled license information:
35
+
36
+ is-extglob/index.js:
37
+ (*!
38
+ * is-extglob <https://github.com/jonschlinkert/is-extglob>
39
+ *
40
+ * Copyright (c) 2014-2016, Jon Schlinkert.
41
+ * Licensed under the MIT License.
42
+ *)
43
+
44
+ is-glob/index.js:
45
+ (*!
46
+ * is-glob <https://github.com/jonschlinkert/is-glob>
47
+ *
48
+ * Copyright (c) 2014-2017, Jon Schlinkert.
49
+ * Released under the MIT License.
50
+ *)
51
+
52
+ is-number/index.js:
53
+ (*!
54
+ * is-number <https://github.com/jonschlinkert/is-number>
55
+ *
56
+ * Copyright (c) 2014-present, Jon Schlinkert.
57
+ * Released under the MIT License.
58
+ *)
59
+
60
+ to-regex-range/index.js:
61
+ (*!
62
+ * to-regex-range <https://github.com/micromatch/to-regex-range>
63
+ *
64
+ * Copyright (c) 2015-present, Jon Schlinkert.
65
+ * Released under the MIT License.
66
+ *)
67
+
68
+ fill-range/index.js:
69
+ (*!
70
+ * fill-range <https://github.com/jonschlinkert/fill-range>
71
+ *
72
+ * Copyright (c) 2014-present, Jon Schlinkert.
73
+ * Licensed under the MIT License.
74
+ *)
75
+
76
+ queue-microtask/index.js:
77
+ (*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
78
+
79
+ run-parallel/index.js:
80
+ (*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
81
+ *)
82
+ */