/home/thecarg/.npm/_npx/2778af9cee32ff87/node_modules/prisma/build/cli.js:46 `)}});var W1e=A((pxr,H1e)=>{"use strict";H1e.exports=G1e()});var K1e=A((dxr,Pvt)=>{Pvt.exports={name:"@prisma/fetch-engine",version:"7.9.1",description:"This package is intended for Prisma's internal use",main:"dist/index.js",types:"dist/index.d.ts",license:"Apache-2.0",author:"Tim Suchanek ",homepage:"https://www.prisma.io",repository:{type:"git",url:"https://github.com/prisma/prisma.git",directory:"packages/fetch-engine"},bugs:"https://github.com/prisma/prisma/issues",enginesOverride:{},devDependencies:{"@types/node":"~20.19.24","@types/progress":"2.0.7",del:"6.1.1",execa:"8.0.1","find-cache-dir":"5.0.0","fs-extra":"11.3.0",hasha:"5.2.2","http-proxy-agent":"7.0.2","https-proxy-agent":"7.0.6",kleur:"4.1.5","node-fetch":"3.3.2","p-filter":"4.1.0","p-map":"4.0.0","p-retry":"4.6.2",progress:"2.0.3","temp-dir":"2.0.0",tempy:"1.0.1","timeout-signal":"2.0.0",typescript:"5.4.5"},dependencies:{"@prisma/debug":"workspace:*","@prisma/engines-version":"7.9.0-1.e922089b7d7502aff4249d5da3420f6fa55fc6ad","@prisma/get-platform":"workspace:*"},scripts:{dev:"DEV=true tsx helpers/build.ts",build:"tsx helpers/build.ts",test:"vitest run",prepublishOnly:"pnpm run build"},files:["README.md","dist"],sideEffects:!1}});var STe=A((zxr,vTe)=>{"use strict";var Gvt=Object.create,ak=Object.defineProperty,Hvt=Object.getOwnPropertyDescriptor,Wvt=Object.getOwnPropertyNames,Vvt=Object.getPrototypeOf,zvt=Object.prototype.hasOwnProperty,Kvt=(e,r)=>{for(var n in r)ak(e,n,{get:r[n],enumerable:!0})},yTe=(e,r,n,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Wvt(r))!zvt.call(e,i)&&i!==n&&ak(e,i,{get:()=>r[i],enumerable:!(o=Hvt(r,i))||o.enumerable});return e},ck=(e,r,n)=>(n=e!=null?Gvt(Vvt(e)):{},yTe(r||!e||!e.__esModule?ak(n,"default",{value:e,enumerable:!0}):n,e)),Jvt=e=>yTe(ak({},"__esModule",{value:!0}),e),xTe={};Kvt(xTe,{CompositeFilesResolver:()=>Yvt,InMemoryFilesResolver:()=>Qvt,ensureType:()=>nSt,loadRelatedSchemaFiles:()=>Xvt,loadSchemaFiles:()=>ETe,realFsResolver:()=>fW});vTe.exports=Jvt(xTe);var lW=ck(require("node:path")),gTe=ck(require("node:path"));function bTe(e){return e.caseSensitive?r=>r:r=>r.toLocaleLowerCase()}var Yvt=class{constructor(e,r,n){this.primary=e,this.secondary=r,this._fileNameToKey=bTe(n)}_fileNameToKey;async listDirContents(e){let r=await this.primary.listDirContents(e),n=await this.secondary.listDirContents(e);return Zvt([...r,...n],this._fileNameToKey)}async getEntryType(e){return await this.primary.getEntryType(e)??await this.secondary.getEntryType(e)}async getFileContents(e){return await this.primary.getFileContents(e)??await this.secondary.getFileContents(e)}};function Zvt(e,r){let n=new Map;for(let o of e){let i=r(o);n.has(i)||n.set(i,o)}return Array.from(n.values())}var Qvt=class{_tree={};_fileNameToKey;constructor(e){this._fileNameToKey=bTe(e)}addFile(e,r){let n=e.split(/[\\/]/),o=n.pop();if(!o)throw new Error("Path is empty");let i=this._tree;for(let a of n){let c=this._fileNameToKey(a),u=i[c];if(u||(u={canonicalName:a,content:{}},i[c]=u),typeof u.content=="string")throw new Error(`${a} is a file`);i=u.content}if(typeof i[o]?.content=="object")throw new Error(`${e} is a directory`);i[this._fileNameToKey(o)]={canonicalName:o,content:r}}getInMemoryContent(e){let r=e.split(/[\\/]/).map(o=>this._fileNameToKey(o)),n=this._tree;for(let o of r){if(typeof n!="object")return;n=n[o]?.content}return n}listDirContents(e){return Promise.resolve().then(()=>{let r=this.getInMemoryContent(e);return typeof r!="object"?[]:Object.values(r).map(n=>n.canonicalName)})}getEntryType(e){return Promise.resolve().then(()=>{let r=this.getInMemoryContent(e);if(typeof r=="string")return{kind:"file"};if(typeof r=="object")return{kind:"directory"}})}getFileContents(e){return Promise.resolve().then(()=>{let r=this.getInMemoryContent(e);if(!(typeof r>"u")){if(typeof r=="object")throw new Error(`${e} is directory`);return r}})}},lD=ck(qh()),fW={listDirContents(e){return lD.default.readdir(e)},async getEntryType(e){let r=await lD.default.lstat(e);return r.isFile()?{kind:"file"}:r.isDirectory()?{kind:"directory",realPath:await lD.default.realpath(e)}:r.isSymbolicLink()?{kind:"symlink",realPath:await lD.default.realpath(e)}:{kind:"other"}},getFileContents(e){return lD.default.readFile(e,"utf8")}};async function ETe(e,r=fW){let n=await r.getEntryType(e);return pW(e,n,r)}async function pW(e,r,n,o=new Set){if(!r)return[];if(r.kind==="symlink"){let i=r.realPath,a=await n.getEntryType(i);return pW(i,a,n,o)}if(r.kind==="file"){if(gTe.default.extname(e)!==".prisma")return[];let i=await n.getFileContents(e);return typeof i>"u"?[]:[[e,i]]}if(r.kind==="directory"){let i=r.realPath??e;if(o.has(i))return[];o.add(i);let a=await n.listDirContents(e);return(await Promise.all(a.map(async u=>{let l=gTe.default.join(e,u),p=await n.getEntryType(l);return pW(l,p,n,o)}))).flat()}return[]}async function Xvt(e,r=fW){let n=await tSt(e,r);return n?await ETe(n,r):eSt(e,r)}async function eSt(e,r){let n=await r.getFileContents(e);return n===void 0?[]:[[e,n]]}async function tSt(e,r){let n=lW.default.dirname(e);for(;n!==e;){let o=lW.default.dirname(n);if((await r.listDirContents(o)).filter(c=>lW.default.extname(c)===".prisma").length===0)return n;n=o}}var rSt=ck(require("node:fs/promises"));async function nSt(e,r){try{let n=await rSt.default.stat(e);return r==="file"&&n.isFile()||r==="directory"&&n.isDirectory()?void 0:{kind:"WrongType",path:e,expectedTypes:[r]}}catch(n){if(n.code==="ENOENT")return{kind:"NotFound",path:e,expectedType:r};throw n}}});var vW=A((yo,PTe)=>{"use strict";var CTe={};CTe.__wbindgen_placeholder__=PTe.exports;var uk=null;function mD(){return(uk===null||uk.byteLength===0)&&(uk=new Uint8Array(ke.memory.buffer)),uk}var ATe=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});ATe.decode();function fSt(e,r){return ATe.decode(mD().subarray(e,e+r))}function As(e,r){return e=e>>>0,fSt(e,r)}function Nv(e){let r=ke.__wbindgen_externrefs.get(e);return ke.__externref_table_dealloc(e),r}function dSt(e,r){return e=e>>>0,mD().subarray(e/1,e/1+r)}var $o=0,hD=new TextEncoder;"encodeInto"in hD||(hD.encodeInto=function(e,r){let n=hD.encode(e);return r.set(n),{read:e.length,written:n.length}});function gi(e,r,n){if(n===void 0){let u=hD.encode(e),l=r(u.length,1)>>>0;return mD().subarray(l,l+u.length).set(u),$o=u.length,l}let o=e.length,i=r(o,1)>>>0,a=mD(),c=0;for(;c127)break;a[i+c]=u}if(c!==o){c!==0&&(e=e.slice(c)),i=n(i,o,o=c+e.length*3,1)>>>0;let u=mD().subarray(i+c,i+o),l=hD.encodeInto(e,u);c+=l.written,i=n(i,o,c,1)>>>0}return $o=c,i}yo.merge_schemas=function(e){let r,n;try{let a=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),c=$o,u=ke.merge_schemas(a,c);var o=u[0],i=u[1];if(u[3])throw o=0,i=0,Nv(u[2]);return r=o,n=i,As(o,i)}finally{ke.__wbindgen_free(r,n,1)}};yo.native_types=function(e){let r,n;try{let o=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),i=$o,a=ke.native_types(o,i);return r=a[0],n=a[1],As(a[0],a[1])}finally{ke.__wbindgen_free(r,n,1)}};yo.lint=function(e){let r,n;try{let o=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),i=$o,a=ke.lint(o,i);return r=a[0],n=a[1],As(a[0],a[1])}finally{ke.__wbindgen_free(r,n,1)}};yo.get_dmmf=function(e){let r,n;try{let a=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),c=$o,u=ke.get_dmmf(a,c);var o=u[0],i=u[1];if(u[3])throw o=0,i=0,Nv(u[2]);return r=o,n=i,As(o,i)}finally{ke.__wbindgen_free(r,n,1)}};yo.references=function(e,r){let n,o;try{let i=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),a=$o,c=gi(r,ke.__wbindgen_malloc,ke.__wbindgen_realloc),u=$o,l=ke.references(i,a,c,u);return n=l[0],o=l[1],As(l[0],l[1])}finally{ke.__wbindgen_free(n,o,1)}};yo.format=function(e,r){let n,o;try{let i=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),a=$o,c=gi(r,ke.__wbindgen_malloc,ke.__wbindgen_realloc),u=$o,l=ke.format(i,a,c,u);return n=l[0],o=l[1],As(l[0],l[1])}finally{ke.__wbindgen_free(n,o,1)}};yo.validate=function(e){let r=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),n=$o,o=ke.validate(r,n);if(o[1])throw Nv(o[0])};yo.debug_panic=function(){ke.debug_panic()};yo.text_document_completion=function(e,r){let n,o;try{let i=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),a=$o,c=gi(r,ke.__wbindgen_malloc,ke.__wbindgen_realloc),u=$o,l=ke.text_document_completion(i,a,c,u);return n=l[0],o=l[1],As(l[0],l[1])}finally{ke.__wbindgen_free(n,o,1)}};yo.referential_actions=function(e){let r,n;try{let o=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),i=$o,a=ke.referential_actions(o,i);return r=a[0],n=a[1],As(a[0],a[1])}finally{ke.__wbindgen_free(r,n,1)}};yo.get_dmmf_buffered=function(e){let r=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),n=$o,o=ke.get_dmmf_buffered(r,n);if(o[2])throw Nv(o[1]);return $v.__wrap(o[0])};yo.get_config=function(e){let r,n;try{let o=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),i=$o,a=ke.get_config(o,i);return r=a[0],n=a[1],As(a[0],a[1])}finally{ke.__wbindgen_free(r,n,1)}};yo.hover=function(e,r){let n,o;try{let i=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),a=$o,c=gi(r,ke.__wbindgen_malloc,ke.__wbindgen_realloc),u=$o,l=ke.hover(i,a,c,u);return n=l[0],o=l[1],As(l[0],l[1])}finally{ke.__wbindgen_free(n,o,1)}};yo.get_datamodel=function(e){let r,n;try{let a=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),c=$o,u=ke.get_datamodel(a,c);var o=u[0],i=u[1];if(u[3])throw o=0,i=0,Nv(u[2]);return r=o,n=i,As(o,i)}finally{ke.__wbindgen_free(r,n,1)}};yo.code_actions=function(e,r){let n,o;try{let i=gi(e,ke.__wbindgen_malloc,ke.__wbindgen_realloc),a=$o,c=gi(r,ke.__wbindgen_malloc,ke.__wbindgen_realloc),u=$o,l=ke.code_actions(i,a,c,u);return n=l[0],o=l[1],As(l[0],l[1])}finally{ke.__wbindgen_free(n,o,1)}};yo.preview_features=function(){let e,r;try{let n=ke.preview_features();return e=n[0],r=n[1],As(n[0],n[1])}finally{ke.__wbindgen_free(e,r,1)}};var DTe=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>ke.__wbg_dmmfbuffer_free(e>>>0,1)),$v=class e{static __wrap(r){r=r>>>0;let n=Object.create(e.prototype);return n.__wbg_ptr=r,DTe.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){let r=this.__wbg_ptr;return this.__wbg_ptr=0,DTe.unregister(this),r}free(){let r=this.__destroy_into_raw();ke.__wbg_dmmfbuffer_free(r,0)}read_chunk(r,n){let o=ke.dmmfbuffer_read_chunk(this.__wbg_ptr,r,n);if(o[3])throw Nv(o[2]);var i=dSt(o[0],o[1]).slice();return ke.__wbindgen_free(o[0],o[1]*1,1),i}len(){return ke.dmmfbuffer_len(this.__wbg_ptr)>>>0}is_empty(){return ke.dmmfbuffer_is_empty(this.__wbg_ptr)!==0}};Symbol.dispose&&($v.prototype[Symbol.dispose]=$v.prototype.free);yo.DmmfBuffer=$v;yo.__wbg_Error_e83987f665cf5504=function(e,r){return Error(As(e,r))};yo.__wbg___wbindgen_throw_b855445ff6a94295=function(e,r){throw new Error(As(e,r))};yo.__wbg_set_message_f22ac4a6869ee695=function(e,r){global.PRISMA_WASM_PANIC_REGISTRY.set_message(As(e,r))};yo.__wbindgen_init_externref_table=function(){let e=ke.__wbindgen_externrefs,r=e.grow(4);e.set(0,void 0),e.set(r+0,void 0),e.set(r+1,null),e.set(r+2,!0),e.set(r+3,!1)};var mSt=`${__dirname}/prisma_schema_build_bg.wasm`,hSt=require("fs").readFileSync(mSt),gSt=new WebAssembly.Module(hSt),ke=yo.__wasm=new WebAssembly.Instance(gSt,CTe).exports;ke.__wbindgen_start()});var SW=A((abr,ySt)=>{ySt.exports={name:"@prisma/internals",version:"7.9.1",description:"This package is intended for Prisma's internal use",main:"dist/index.js",types:"dist/index.d.ts",repository:{type:"git",url:"https://github.com/prisma/prisma.git",directory:"packages/internals"},homepage:"https://www.prisma.io",author:"Tim Suchanek ",bugs:"https://github.com/prisma/prisma/issues",license:"Apache-2.0",scripts:{dev:"DEV=true tsx helpers/build.ts",build:"tsx helpers/build.ts",test:"dotenv -e ../../.db.env -- vitest run --silent",prepublishOnly:"pnpm run build"},files:["README.md","dist","!dist/get-generators/engines/*","scripts"],devDependencies:{"@babel/helper-validator-identifier":"7.25.9","@opentelemetry/api":"1.9.0","@types/babel__helper-validator-identifier":"7.15.2","@types/node":"~20.19.24","@types/resolve":"1.20.6","checkpoint-client":"1.1.33","cli-truncate":"4.0.0",empathic:"2.0.0","escape-string-regexp":"5.0.0",execa:"8.0.1","find-up":"7.0.0","fp-ts":"2.16.9","fs-extra":"11.3.0","global-directory":"4.0.0",globby:"11.1.0","identifier-regex":"1.0.0","indent-string":"4.0.0","is-windows":"1.0.2","is-wsl":"3.1.0",kleur:"4.1.5","mock-stdin":"1.0.0","new-github-issue-url":"0.2.1","node-fetch":"3.3.2","npm-packlist":"5.1.3",open:"7.4.2","p-map":"4.0.0",resolve:"1.22.10","string-width":"7.2.0","strip-indent":"4.0.0","temp-dir":"2.0.0",tempy:"1.0.1","terminal-link":"4.0.0",tmp:"0.2.3","ts-pattern":"5.6.2","ts-toolbelt":"9.6.0",typescript:"5.4.5",yarn:"1.22.22"},dependencies:{"@prisma/config":"workspace:*","@prisma/debug":"workspace:*","@prisma/dmmf":"workspace:*","@prisma/driver-adapter-utils":"workspace:*","@prisma/engines":"workspace:*","@prisma/fetch-engine":"workspace:*","@prisma/generator":"workspace:*","@prisma/generator-helper":"workspace:*","@prisma/get-dmmf":"workspace:*","@prisma/get-platform":"workspace:*","@prisma/prisma-schema-wasm":"7.9.0-1.e922089b7d7502aff4249d5da3420f6fa55fc6ad","@prisma/schema-engine-wasm":"7.9.0-1.e922089b7d7502aff4249d5da3420f6fa55fc6ad","@prisma/schema-files-loader":"workspace:*","@streamparser/json":"0.0.22",arg:"5.0.2",prompts:"2.4.2"},peerDependencies:{typescript:">=5.4.0"},peerDependenciesMeta:{typescript:{optional:!0}},sideEffects:!1}});var vn=A(wt=>{"use strict";var MSt=wt&&wt.__spreadArray||function(e,r,n){if(n||arguments.length===2)for(var o=0,i=r.length,a;o1?e(r[1],r[0]):function(o){return e(o)(r[0])}}}function WTe(e,r,n,o,i,a,c,u,l){switch(arguments.length){case 1:return e;case 2:return function(){return r(e.apply(this,arguments))};case 3:return function(){return n(r(e.apply(this,arguments)))};case 4:return function(){return o(n(r(e.apply(this,arguments))))};case 5:return function(){return i(o(n(r(e.apply(this,arguments)))))};case 6:return function(){return a(i(o(n(r(e.apply(this,arguments))))))};case 7:return function(){return c(a(i(o(n(r(e.apply(this,arguments)))))))};case 8:return function(){return u(c(a(i(o(n(r(e.apply(this,arguments))))))))};case 9:return function(){return l(u(c(a(i(o(n(r(e.apply(this,arguments)))))))))}}}function qSt(){for(var e=[],r=0;r=e}:e;return function(){var o=Array.from(arguments);return n(arguments)?r.apply(this,o):function(i){return r.apply(void 0,MSt([i],o,!1))}}};wt.dual=ZSt});var Ak=A((KW,JW)=>{"use strict";(function(e,r){typeof require=="function"&&typeof KW=="object"&&typeof JW=="object"?JW.exports=r():typeof define=="function"&&define.amd?define(function(){return r()}):e.pluralize=r()})(KW,function(){var e=[],r=[],n={},o={},i={};function a(b){return typeof b=="string"?new RegExp("^"+b+"$","i"):b}function c(b,E){return b===E?E:b===b.toLowerCase()?E.toLowerCase():b===b.toUpperCase()?E.toUpperCase():b[0]===b[0].toUpperCase()?E.charAt(0).toUpperCase()+E.substr(1).toLowerCase():E.toLowerCase()}function u(b,E){return b.replace(/\$(\d{1,2})/g,function(S,_){return E[_]||""})}function l(b,E){return b.replace(E[0],function(S,_){var D=u(E[1],arguments);return c(S===""?b[_-1]:S,D)})}function p(b,E,S){if(!b.length||n.hasOwnProperty(b))return E;for(var _=S.length;_--;){var D=S[_];if(D[0].test(E))return l(E,D)}return E}function f(b,E,S){return function(_){var D=_.toLowerCase();return E.hasOwnProperty(D)?c(_,D):b.hasOwnProperty(D)?c(_,b[D]):p(D,_,S)}}function g(b,E,S,_){return function(D){var O=D.toLowerCase();return E.hasOwnProperty(O)?!0:b.hasOwnProperty(O)?!1:p(O,O,S)===O}}function x(b,E,S){var _=E===1?x.singular(b):x.plural(b);return(S?E+" ":"")+_}return x.plural=f(i,o,e),x.isPlural=g(i,o,e),x.singular=f(o,i,r),x.isSingular=g(o,i,r),x.addPluralRule=function(b,E){e.push([a(b),E])},x.addSingularRule=function(b,E){r.push([a(b),E])},x.addUncountableRule=function(b){if(typeof b=="string"){n[b.toLowerCase()]=!0;return}x.addPluralRule(b,"$0"),x.addSingularRule(b,"$0")},x.addIrregularRule=function(b,E){E=E.toLowerCase(),b=b.toLowerCase(),i[b]=E,o[E]=b},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(b){return x.addIrregularRule(b[0],b[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(b){return x.addPluralRule(b[0],b[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(b){return x.addSingularRule(b[0],b[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(x.addUncountableRule),x})});var iV=A((cwr,HDe)=>{"use strict";var oV=Symbol("arg flag"),hu=class e extends Error{constructor(r,n){super(r),this.name="ArgError",this.code=n,Object.setPrototypeOf(this,e.prototype)}};function PD(e,{argv:r=process.argv.slice(2),permissive:n=!1,stopAtPositional:o=!1}={}){if(!e)throw new hu("argument specification object is required","ARG_CONFIG_NO_SPEC");let i={_:[]},a={},c={};for(let u of Object.keys(e)){if(!u)throw new hu("argument key cannot be an empty string","ARG_CONFIG_EMPTY_KEY");if(u[0]!=="-")throw new hu(`argument key must start with '-' but found: '${u}'`,"ARG_CONFIG_NONOPT_KEY");if(u.length===1)throw new hu(`argument key must have a name; singular '-' keys are not allowed: ${u}`,"ARG_CONFIG_NONAME_KEY");if(typeof e[u]=="string"){a[u]=e[u];continue}let l=e[u],p=!1;if(Array.isArray(l)&&l.length===1&&typeof l[0]=="function"){let[f]=l;l=(g,x,b=[])=>(b.push(f(g,x,b[b.length-1])),b),p=f===Boolean||f[oV]===!0}else if(typeof l=="function")p=l===Boolean||l[oV]===!0;else throw new hu(`type missing or not a function or valid array type: ${u}`,"ARG_CONFIG_VAD_TYPE");if(u[1]!=="-"&&u.length>2)throw new hu(`short argument keys (with a single hyphen) must have only one character: ${u}`,"ARG_CONFIG_SHORTOPT_TOOLONG");c[u]=[l,p]}for(let u=0,l=r.length;u0){i._=i._.concat(r.slice(u));break}if(p==="--"){i._=i._.concat(r.slice(u+1));break}if(p.length>1&&p[0]==="-"){let f=p[1]==="-"||p.length===2?[p]:p.slice(1).split("").map(g=>`-${g}`);for(let g=0;g1&&r[u+1][0]==="-"&&!(r[u+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(_===Number||typeof BigInt<"u"&&_===BigInt))){let O=b===S?"":` (alias for ${S})`;throw new hu(`option requires argument: ${b}${O}`,"ARG_MISSING_REQUIRED_LONGARG")}i[S]=_(r[u+1],S,i[S]),++u}else i[S]=_(E,S,i[S])}}else i._.push(p)}return i}PD.flag=e=>(e[oV]=!0,e);PD.COUNT=PD.flag((e,r,n)=>(n||0)+1);PD.ArgError=hu;HDe.exports=PD});var VDe=A((uwr,WDe)=>{"use strict";WDe.exports=e=>{let r=e.match(/^[ \t]*(?=\S)/gm);return r?r.reduce((n,o)=>Math.min(n,o.length),1/0):0}});var dV=A((A_r,ACe)=>{"use strict";var Xwt=require("os");ACe.exports=Xwt.homedir||function(){var r=process.env.HOME,n=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return process.platform==="win32"?process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||r||null:process.platform==="darwin"?r||(n?"/Users/"+n:null):process.platform==="linux"?r||(process.getuid()===0?"/root":n?"/home/"+n:null):r||null}});var mV=A((P_r,PCe)=>{"use strict";PCe.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(n,o){return o};var r=new Error().stack;return Error.prepareStackTrace=e,r[2].getFileName()}});var OCe=A((O_r,ID)=>{"use strict";var e_t=process.platform==="win32",t_t=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,hV={};function r_t(e){return t_t.exec(e).slice(1)}hV.parse=function(e){if(typeof e!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var r=r_t(e);if(!r||r.length!==5)throw new TypeError("Invalid path '"+e+"'");return{root:r[1],dir:r[0]===r[1]?r[0]:r[0].slice(0,-1),base:r[2],ext:r[4],name:r[3]}};var n_t=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,gV={};function o_t(e){return n_t.exec(e).slice(1)}gV.parse=function(e){if(typeof e!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var r=o_t(e);if(!r||r.length!==5)throw new TypeError("Invalid path '"+e+"'");return{root:r[1],dir:r[0].slice(0,-1),base:r[2],ext:r[4],name:r[3]}};e_t?ID.exports=hV.parse:ID.exports=gV.parse;ID.exports.posix=gV.parse;ID.exports.win32=hV.parse});var yV=A((I_r,MCe)=>{"use strict";var FCe=require("path"),ICe=FCe.parse||OCe(),RCe=function(r,n){var o="/";/^([A-Za-z]:)/.test(r)?o="":/^\\\\/.test(r)&&(o="\\\\");for(var i=[r],a=ICe(r);a.dir!==i[i.length-1];)i.push(a.dir),a=ICe(a.dir);return i.reduce(function(c,u){return c.concat(n.map(function(l){return FCe.resolve(o,u,l)}))},[])};MCe.exports=function(r,n,o){var i=n&&n.moduleDirectory?[].concat(n.moduleDirectory):["node_modules"];if(n&&typeof n.paths=="function")return n.paths(o,r,function(){return RCe(r,i)},n);var a=RCe(r,i);return n&&n.paths?a.concat(n.paths):a}});var xV=A((R_r,kCe)=>{"use strict";kCe.exports=function(e,r){return r||{}}});var LCe=A((F_r,NCe)=>{"use strict";var i_t="Function.prototype.bind called on incompatible ",s_t=Object.prototype.toString,a_t=Math.max,c_t="[object Function]",$Ce=function(r,n){for(var o=[],i=0;i{"use strict";var p_t=LCe();BCe.exports=Function.prototype.bind||p_t});var qCe=A((k_r,jCe)=>{"use strict";var f_t=Function.prototype.call,d_t=Object.prototype.hasOwnProperty,m_t=UCe();jCe.exports=m_t.call(f_t,d_t)});var GCe=A(($_r,h_t)=>{h_t.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],"node:sea":[">= 20.12 && < 21",">= 21.7"],smalloc:">= 0.11.5 && < 3","node:sqlite":[">= 22.13 && < 23",">= 23.4"],_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"test/mock_loader":">= 22.3 && < 22.7","node:test/mock_loader":">= 22.3 && < 22.7","node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var RD=A((N_r,VCe)=>{"use strict";var g_t=qCe();function y_t(e,r){for(var n=e.split("."),o=r.split(" "),i=o.length>1?o[0]:"=",a=(o.length>1?o[1]:o[0]).split("."),c=0;c<3;++c){var u=parseInt(n[c]||0,10),l=parseInt(a[c]||0,10);if(u!==l)return i==="<"?u="?u>=l:!1}return i===">="}function HCe(e,r){var n=r.split(/ ?&& ?/);if(n.length===0)return!1;for(var o=0;o"u"?process.versions&&process.versions.node:e;if(typeof n!="string")throw new TypeError(typeof e>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(r&&typeof r=="object"){for(var o=0;o{"use strict";var Ky=require("fs"),b_t=dV(),Zo=require("path"),E_t=mV(),v_t=yV(),S_t=xV(),w_t=RD(),__t=process.platform!=="win32"&&Ky.realpath&&typeof Ky.realpath.native=="function"?Ky.realpath.native:Ky.realpath,zCe=b_t(),T_t=function(){return[Zo.join(zCe,".node_modules"),Zo.join(zCe,".node_libraries")]},D_t=function(r,n){Ky.stat(r,function(o,i){return o?o.code==="ENOENT"||o.code==="ENOTDIR"?n(null,!1):n(o):n(null,i.isFile()||i.isFIFO())})},C_t=function(r,n){Ky.stat(r,function(o,i){return o?o.code==="ENOENT"||o.code==="ENOTDIR"?n(null,!1):n(o):n(null,i.isDirectory())})},A_t=function(r,n){__t(r,function(o,i){o&&o.code!=="ENOENT"?n(o):n(null,o?r:i)})},FD=function(r,n,o,i){o&&o.preserveSymlinks===!1?r(n,i):i(null,n)},P_t=function(r,n,o){r(n,function(i,a){if(i)o(i);else try{var c=JSON.parse(a);o(null,c)}catch{o(null)}})},O_t=function(r,n,o){for(var i=v_t(n,o,r),a=0;a{I_t.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"inspector/promises":[">= 19"],"node:inspector/promises":[">= 19"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],"node:sea":[">= 20.12 && < 21",">= 21.7"],smalloc:">= 0.11.5 && < 3","node:sqlite":">= 23.4",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"test/reporters":">= 19.9 && < 20.2","node:test/reporters":[">= 18.17 && < 19",">= 19.9",">= 20"],"test/mock_loader":">= 22.3 && < 22.7","node:test/mock_loader":">= 22.3 && < 22.7","node:test":[">= 16.17 && < 17",">= 18"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:[">= 13.4 && < 13.5",">= 18.17 && < 19",">= 20"],"node:wasi":[">= 18.17 && < 19",">= 20"],worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var eAe=A((U_r,XCe)=>{"use strict";var R_t=RD(),ZCe=YCe(),QCe={};for(jk in ZCe)Object.prototype.hasOwnProperty.call(ZCe,jk)&&(QCe[jk]=R_t(jk));var jk;XCe.exports=QCe});var rAe=A((j_r,tAe)=>{"use strict";var F_t=RD();tAe.exports=function(r){return F_t(r)}});var iAe=A((q_r,oAe)=>{"use strict";var M_t=RD(),Jy=require("fs"),Ps=require("path"),k_t=dV(),$_t=mV(),N_t=yV(),L_t=xV(),B_t=process.platform!=="win32"&&Jy.realpathSync&&typeof Jy.realpathSync.native=="function"?Jy.realpathSync.native:Jy.realpathSync,nAe=k_t(),U_t=function(){return[Ps.join(nAe,".node_modules"),Ps.join(nAe,".node_libraries")]},j_t=function(r){try{var n=Jy.statSync(r,{throwIfNoEntry:!1})}catch(o){if(o&&(o.code==="ENOENT"||o.code==="ENOTDIR"))return!1;throw o}return!!n&&(n.isFile()||n.isFIFO())},q_t=function(r){try{var n=Jy.statSync(r,{throwIfNoEntry:!1})}catch(o){if(o&&(o.code==="ENOENT"||o.code==="ENOTDIR"))return!1;throw o}return!!n&&n.isDirectory()},G_t=function(r){try{return B_t(r)}catch(n){if(n.code!=="ENOENT")throw n}return r},MD=function(r,n,o){return o&&o.preserveSymlinks===!1?r(n):n},H_t=function(r,n){var o=r(n);try{var i=JSON.parse(o);return i}catch{}},W_t=function(r,n,o){for(var i=N_t(n,o,r),a=0;a{"use strict";var qk=JCe();qk.core=eAe();qk.isCore=rAe();qk.sync=iAe();sAe.exports=qk});var dAe=A((Y_r,Q_t)=>{Q_t.exports=[{name:"Agola CI",constant:"AGOLA",env:"AGOLA_GIT_REF",pr:"AGOLA_PULL_REQUEST_ID"},{name:"Appcircle",constant:"APPCIRCLE",env:"AC_APPCIRCLE"},{name:"AppVeyor",constant:"APPVEYOR",env:"APPVEYOR",pr:"APPVEYOR_PULL_REQUEST_NUMBER"},{name:"AWS CodeBuild",constant:"CODEBUILD",env:"CODEBUILD_BUILD_ARN"},{name:"Azure Pipelines",constant:"AZURE_PIPELINES",env:"TF_BUILD",pr:{BUILD_REASON:"PullRequest"}},{name:"Bamboo",constant:"BAMBOO",env:"bamboo_planKey"},{name:"Bitbucket Pipelines",constant:"BITBUCKET",env:"BITBUCKET_COMMIT",pr:"BITBUCKET_PR_ID"},{name:"Bitrise",constant:"BITRISE",env:"BITRISE_IO",pr:"BITRISE_PULL_REQUEST"},{name:"Buddy",constant:"BUDDY",env:"BUDDY_WORKSPACE_ID",pr:"BUDDY_EXECUTION_PULL_REQUEST_ID"},{name:"Buildkite",constant:"BUILDKITE",env:"BUILDKITE",pr:{env:"BUILDKITE_PULL_REQUEST",ne:"false"}},{name:"CircleCI",constant:"CIRCLE",env:"CIRCLECI",pr:"CIRCLE_PULL_REQUEST"},{name:"Cirrus CI",constant:"CIRRUS",env:"CIRRUS_CI",pr:"CIRRUS_PR"},{name:"Codefresh",constant:"CODEFRESH",env:"CF_BUILD_ID",pr:{any:["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{name:"Codemagic",constant:"CODEMAGIC",env:"CM_BUILD_ID",pr:"CM_PULL_REQUEST"},{name:"Codeship",constant:"CODESHIP",env:{CI_NAME:"codeship"}},{name:"Drone",constant:"DRONE",env:"DRONE",pr:{DRONE_BUILD_EVENT:"pull_request"}},{name:"dsari",constant:"DSARI",env:"DSARI"},{name:"Earthly",constant:"EARTHLY",env:"EARTHLY_CI"},{name:"Expo Application Services",constant:"EAS",env:"EAS_BUILD"},{name:"Gerrit",constant:"GERRIT",env:"GERRIT_PROJECT"},{name:"Gitea Actions",constant:"GITEA_ACTIONS",env:"GITEA_ACTIONS"},{name:"GitHub Actions",constant:"GITHUB_ACTIONS",env:"GITHUB_ACTIONS",pr:{GITHUB_EVENT_NAME:"pull_request"}},{name:"GitLab CI",constant:"GITLAB",env:"GITLAB_CI",pr:"CI_MERGE_REQUEST_ID"},{name:"GoCD",constant:"GOCD",env:"GO_PIPELINE_LABEL"},{name:"Google Cloud Build",constant:"GOOGLE_CLOUD_BUILD",env:"BUILDER_OUTPUT"},{name:"Harness CI",constant:"HARNESS",env:"HARNESS_BUILD_ID"},{name:"Heroku",constant:"HEROKU",env:{env:"NODE",includes:"/app/.heroku/node/bin/node"}},{name:"Hudson",constant:"HUDSON",env:"HUDSON_URL"},{name:"Jenkins",constant:"JENKINS",env:["JENKINS_URL","BUILD_ID"],pr:{any:["ghprbPullId","CHANGE_ID"]}},{name:"LayerCI",constant:"LAYERCI",env:"LAYERCI",pr:"LAYERCI_PULL_REQUEST"},{name:"Magnum CI",constant:"MAGNUM",env:"MAGNUM"},{name:"Netlify CI",constant:"NETLIFY",env:"NETLIFY",pr:{env:"PULL_REQUEST",ne:"false"}},{name:"Nevercode",constant:"NEVERCODE",env:"NEVERCODE",pr:{env:"NEVERCODE_PULL_REQUEST",ne:"false"}},{name:"Prow",constant:"PROW",env:"PROW_JOB_ID"},{name:"ReleaseHub",constant:"RELEASEHUB",env:"RELEASE_BUILD_ID"},{name:"Render",constant:"RENDER",env:"RENDER",pr:{IS_PULL_REQUEST:"true"}},{name:"Sail CI",constant:"SAIL",env:"SAILCI",pr:"SAIL_PULL_REQUEST_NUMBER"},{name:"Screwdriver",constant:"SCREWDRIVER",env:"SCREWDRIVER",pr:{env:"SD_PULL_REQUEST",ne:"false"}},{name:"Semaphore",constant:"SEMAPHORE",env:"SEMAPHORE",pr:"PULL_REQUEST_NUMBER"},{name:"Sourcehut",constant:"SOURCEHUT",env:{CI_NAME:"sourcehut"}},{name:"Strider CD",constant:"STRIDER",env:"STRIDER"},{name:"TaskCluster",constant:"TASKCLUSTER",env:["TASK_ID","RUN_ID"]},{name:"TeamCity",constant:"TEAMCITY",env:"TEAMCITY_VERSION"},{name:"Travis CI",constant:"TRAVIS",env:"TRAVIS",pr:{env:"TRAVIS_PULL_REQUEST",ne:"false"}},{name:"Vela",constant:"VELA",env:"VELA",pr:{VELA_PULL_REQUEST:"1"}},{name:"Vercel",constant:"VERCEL",env:{any:["NOW_BUILDER","VERCEL"]},pr:"VERCEL_GIT_PULL_REQUEST_ID"},{name:"Visual Studio App Center",constant:"APPCENTER",env:"APPCENTER_BUILD_ID"},{name:"Woodpecker",constant:"WOODPECKER",env:{CI:"woodpecker"},pr:{CI_BUILD_EVENT:"pull_request"}},{name:"Xcode Cloud",constant:"XCODE_CLOUD",env:"CI_XCODE_PROJECT",pr:"CI_PULL_REQUEST_NUMBER"},{name:"Xcode Server",constant:"XCODE_SERVER",env:"XCS"}]});var gAe=A(_c=>{"use strict";var hAe=dAe(),yi=process.env;Object.defineProperty(_c,"_vendors",{value:hAe.map(function(e){return e.constant})});_c.name=null;_c.isPR=null;hAe.forEach(function(e){let n=(Array.isArray(e.env)?e.env:[e.env]).every(function(o){return mAe(o)});if(_c[e.constant]=n,!!n)switch(_c.name=e.name,typeof e.pr){case"string":_c.isPR=!!yi[e.pr];break;case"object":"env"in e.pr?_c.isPR=e.pr.env in yi&&yi[e.pr.env]!==e.pr.ne:"any"in e.pr?_c.isPR=e.pr.any.some(function(o){return!!yi[o]}):_c.isPR=mAe(e.pr);break;default:_c.isPR=null}});_c.isCI=!!(yi.CI!=="false"&&(yi.BUILD_ID||yi.BUILD_NUMBER||yi.CI||yi.CI_APP_ID||yi.CI_BUILD_ID||yi.CI_BUILD_NUMBER||yi.CI_NAME||yi.CONTINUOUS_INTEGRATION||yi.RUN_ID||_c.name));function mAe(e){return typeof e=="string"?!!yi[e]:"env"in e?yi[e.env]&&yi[e.env].includes(e.includes):"any"in e?e.any.some(function(r){return!!yi[r]}):Object.keys(e).every(function(r){return yi[r]===e[r]})}});var Zy=A((exports,module)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var path$2=require("path"),os$1=require("os"),require$$0=require("fs"),require$$2=require("util"),fs$1=require("fs/promises"),crypto=require("crypto"),child_process=require("child_process");function _interopDefaultLegacy(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var path__default=_interopDefaultLegacy(path$2),os__default=_interopDefaultLegacy(os$1),require$$0__default=_interopDefaultLegacy(require$$0),require$$2__default=_interopDefaultLegacy(require$$2),fs__default=_interopDefaultLegacy(fs$1),crypto__default=_interopDefaultLegacy(crypto),rnds8Pool=new Uint8Array(256),poolPtr=rnds8Pool.length;function rng(){return poolPtr>rnds8Pool.length-16&&(crypto__default.default.randomFillSync(rnds8Pool),poolPtr=0),rnds8Pool.slice(poolPtr,poolPtr+=16)}var byteToHex=[];for(let e=0;e<256;++e)byteToHex.push((e+256).toString(16).slice(1));function unsafeStringify(e,r=0){return byteToHex[e[r+0]]+byteToHex[e[r+1]]+byteToHex[e[r+2]]+byteToHex[e[r+3]]+"-"+byteToHex[e[r+4]]+byteToHex[e[r+5]]+"-"+byteToHex[e[r+6]]+byteToHex[e[r+7]]+"-"+byteToHex[e[r+8]]+byteToHex[e[r+9]]+"-"+byteToHex[e[r+10]]+byteToHex[e[r+11]]+byteToHex[e[r+12]]+byteToHex[e[r+13]]+byteToHex[e[r+14]]+byteToHex[e[r+15]]}var native={randomUUID:crypto__default.default.randomUUID};function v4(e,r,n){if(native.randomUUID&&!r&&!e)return native.randomUUID();e=e||{};let o=e.random||(e.rng||rng)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,r){n=n||0;for(let i=0;i<16;++i)r[n+i]=o[i];return r}return unsafeStringify(o)}var envPaths$1={exports:{}},path$1=path__default.default,os=os__default.default,homedir=os.homedir(),tmpdir=os.tmpdir(),{env}=process,macos=e=>{let r=path$1.join(homedir,"Library");return{data:path$1.join(r,"Application Support",e),config:path$1.join(r,"Preferences",e),cache:path$1.join(r,"Caches",e),log:path$1.join(r,"Logs",e),temp:path$1.join(tmpdir,e)}},windows=e=>{let r=env.APPDATA||path$1.join(homedir,"AppData","Roaming"),n=env.LOCALAPPDATA||path$1.join(homedir,"AppData","Local");return{data:path$1.join(n,e,"Data"),config:path$1.join(r,e,"Config"),cache:path$1.join(n,e,"Cache"),log:path$1.join(n,e,"Log"),temp:path$1.join(tmpdir,e)}},linux=e=>{let r=path$1.basename(homedir);return{data:path$1.join(env.XDG_DATA_HOME||path$1.join(homedir,".local","share"),e),config:path$1.join(env.XDG_CONFIG_HOME||path$1.join(homedir,".config"),e),cache:path$1.join(env.XDG_CACHE_HOME||path$1.join(homedir,".cache"),e),log:path$1.join(env.XDG_STATE_HOME||path$1.join(homedir,".local","state"),e),temp:path$1.join(tmpdir,r,e)}},envPaths=(e,r)=>{if(typeof e!="string")throw new TypeError(`Expected string, got ${typeof e}`);return r=Object.assign({suffix:"nodejs"},r),r.suffix&&(e+=`-${r.suffix}`),process.platform==="darwin"?macos(e):process.platform==="win32"?windows(e):linux(e)};envPaths$1.exports=envPaths;envPaths$1.exports.default=envPaths;var paths=envPaths$1.exports,makeDir$2={exports:{}},debug$1=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{},debug_1=debug$1,SEMVER_SPEC_VERSION="2.0.0",MAX_LENGTH$1=256,MAX_SAFE_INTEGER$1=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=MAX_LENGTH$1-6,RELEASE_TYPES=["major","premajor","minor","preminor","patch","prepatch","prerelease"],constants={MAX_LENGTH:MAX_LENGTH$1,MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_BUILD_LENGTH,MAX_SAFE_INTEGER:MAX_SAFE_INTEGER$1,RELEASE_TYPES,SEMVER_SPEC_VERSION,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},re$1={exports:{}};(function(e,r){let{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o}=constants,i=debug_1;r=e.exports={};let a=r.re=[],c=r.safeRe=[],u=r.src=[],l=r.t={},p=0,f="[a-zA-Z0-9-]",g=[["\\s",1],["\\d",n],[f,o]],x=E=>{for(let[S,_]of g)E=E.split(`${S}*`).join(`${S}{0,${_}}`).split(`${S}+`).join(`${S}{1,${_}}`);return E},b=(E,S,_)=>{let D=x(S),O=p++;i(E,O,S),l[E]=O,u[O]=S,a[O]=new RegExp(S,_?"g":void 0),c[O]=new RegExp(D,_?"g":void 0)};b("NUMERICIDENTIFIER","0|[1-9]\\d*"),b("NUMERICIDENTIFIERLOOSE","\\d+"),b("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),b("MAINVERSION",`(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})\\.(${u[l.NUMERICIDENTIFIER]})`),b("MAINVERSIONLOOSE",`(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})\\.(${u[l.NUMERICIDENTIFIERLOOSE]})`),b("PRERELEASEIDENTIFIER",`(?:${u[l.NUMERICIDENTIFIER]}|${u[l.NONNUMERICIDENTIFIER]})`),b("PRERELEASEIDENTIFIERLOOSE",`(?:${u[l.NUMERICIDENTIFIERLOOSE]}|${u[l.NONNUMERICIDENTIFIER]})`),b("PRERELEASE",`(?:-(${u[l.PRERELEASEIDENTIFIER]}(?:\\.${u[l.PRERELEASEIDENTIFIER]})*))`),b("PRERELEASELOOSE",`(?:-?(${u[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[l.PRERELEASEIDENTIFIERLOOSE]})*))`),b("BUILDIDENTIFIER",`${f}+`),b("BUILD",`(?:\\+(${u[l.BUILDIDENTIFIER]}(?:\\.${u[l.BUILDIDENTIFIER]})*))`),b("FULLPLAIN",`v?${u[l.MAINVERSION]}${u[l.PRERELEASE]}?${u[l.BUILD]}?`),b("FULL",`^${u[l.FULLPLAIN]}$`),b("LOOSEPLAIN",`[v=\\s]*${u[l.MAINVERSIONLOOSE]}${u[l.PRERELEASELOOSE]}?${u[l.BUILD]}?`),b("LOOSE",`^${u[l.LOOSEPLAIN]}$`),b("GTLT","((?:<|>)?=?)"),b("XRANGEIDENTIFIERLOOSE",`${u[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),b("XRANGEIDENTIFIER",`${u[l.NUMERICIDENTIFIER]}|x|X|\\*`),b("XRANGEPLAIN",`[v=\\s]*(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:\\.(${u[l.XRANGEIDENTIFIER]})(?:${u[l.PRERELEASE]})?${u[l.BUILD]}?)?)?`),b("XRANGEPLAINLOOSE",`[v=\\s]*(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[l.XRANGEIDENTIFIERLOOSE]})(?:${u[l.PRERELEASELOOSE]})?${u[l.BUILD]}?)?)?`),b("XRANGE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAIN]}$`),b("XRANGELOOSE",`^${u[l.GTLT]}\\s*${u[l.XRANGEPLAINLOOSE]}$`),b("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),b("COERCERTL",u[l.COERCE],!0),b("LONETILDE","(?:~>?)"),b("TILDETRIM",`(\\s*)${u[l.LONETILDE]}\\s+`,!0),r.tildeTrimReplace="$1~",b("TILDE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAIN]}$`),b("TILDELOOSE",`^${u[l.LONETILDE]}${u[l.XRANGEPLAINLOOSE]}$`),b("LONECARET","(?:\\^)"),b("CARETTRIM",`(\\s*)${u[l.LONECARET]}\\s+`,!0),r.caretTrimReplace="$1^",b("CARET",`^${u[l.LONECARET]}${u[l.XRANGEPLAIN]}$`),b("CARETLOOSE",`^${u[l.LONECARET]}${u[l.XRANGEPLAINLOOSE]}$`),b("COMPARATORLOOSE",`^${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]})$|^$`),b("COMPARATOR",`^${u[l.GTLT]}\\s*(${u[l.FULLPLAIN]})$|^$`),b("COMPARATORTRIM",`(\\s*)${u[l.GTLT]}\\s*(${u[l.LOOSEPLAIN]}|${u[l.XRANGEPLAIN]})`,!0),r.comparatorTrimReplace="$1$2$3",b("HYPHENRANGE",`^\\s*(${u[l.XRANGEPLAIN]})\\s+-\\s+(${u[l.XRANGEPLAIN]})\\s*$`),b("HYPHENRANGELOOSE",`^\\s*(${u[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[l.XRANGEPLAINLOOSE]})\\s*$`),b("STAR","(<|>)?=?\\s*\\*"),b("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),b("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(re$1,re$1.exports);var looseOption=Object.freeze({loose:!0}),emptyOpts=Object.freeze({}),parseOptions$1=e=>e?typeof e!="object"?looseOption:e:emptyOpts,parseOptions_1=parseOptions$1,numeric=/^[0-9]+$/,compareIdentifiers$1=(e,r)=>{let n=numeric.test(e),o=numeric.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!n?1:ecompareIdentifiers$1(r,e),identifiers={compareIdentifiers:compareIdentifiers$1,rcompareIdentifiers},debug=debug_1,{MAX_LENGTH,MAX_SAFE_INTEGER}=constants,{safeRe:re,t}=re$1.exports,parseOptions=parseOptions_1,{compareIdentifiers}=identifiers,SemVer$1=class e{constructor(r,n){if(n=parseOptions(n),r instanceof e){if(r.loose===!!n.loose&&r.includePrerelease===!!n.includePrerelease)return r;r=r.version}else if(typeof r!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof r}".`);if(r.length>MAX_LENGTH)throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);debug("SemVer",r,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let o=r.trim().match(n.loose?re[t.LOOSE]:re[t.FULL]);if(!o)throw new TypeError(`Invalid Version: ${r}`);if(this.raw=r,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");o[4]?this.prerelease=o[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let a=+i;if(a>=0&&a=0;)typeof this.prerelease[a]=="number"&&(this.prerelease[a]++,a=-2);if(a===-1){if(n===this.prerelease.join(".")&&o===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(n){let a=[n,i];o===!1&&(a=[n]),compareIdentifiers(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${r}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}},semver=SemVer$1,SemVer=semver,compare$1=(e,r,n)=>new SemVer(e,n).compare(new SemVer(r,n)),compare_1=compare$1,compare=compare_1,gte=(e,r,n)=>compare(e,r,n)>=0,gte_1=gte,fs=require$$0__default.default,path=path__default.default,{promisify}=require$$2__default.default,semverGte=gte_1,useNativeRecursiveOption=semverGte(process.version,"10.12.0"),checkPath=e=>{if(process.platform==="win32"&&/[<>:"|?*]/.test(e.replace(path.parse(e).root,""))){let n=new Error(`Path contains invalid characters: ${e}`);throw n.code="EINVAL",n}},processOptions=e=>({...{mode:511,fs},...e}),permissionError=e=>{let r=new Error(`operation not permitted, mkdir '${e}'`);return r.code="EPERM",r.errno=-4048,r.path=e,r.syscall="mkdir",r},makeDir=async(e,r)=>{checkPath(e),r=processOptions(r);let n=promisify(r.fs.mkdir),o=promisify(r.fs.stat);if(useNativeRecursiveOption&&r.fs.mkdir===fs.mkdir){let a=path.resolve(e);return await n(a,{mode:r.mode,recursive:!0}),a}let i=async a=>{try{return await n(a,r.mode),a}catch(c){if(c.code==="EPERM")throw c;if(c.code==="ENOENT"){if(path.dirname(a)===a)throw permissionError(a);if(c.message.includes("null bytes"))throw c;return await i(path.dirname(a)),i(a)}try{if(!(await o(a)).isDirectory())throw new Error("The path is not a directory")}catch{throw c}return a}};return i(path.resolve(e))};makeDir$2.exports=makeDir;makeDir$2.exports.sync=(e,r)=>{if(checkPath(e),r=processOptions(r),useNativeRecursiveOption&&r.fs.mkdirSync===fs.mkdirSync){let o=path.resolve(e);return fs.mkdirSync(o,{mode:r.mode,recursive:!0}),o}let n=o=>{try{r.fs.mkdirSync(o,r.mode)}catch(i){if(i.code==="EPERM")throw i;if(i.code==="ENOENT"){if(path.dirname(o)===o)throw permissionError(o);if(i.message.includes("null bytes"))throw i;return n(path.dirname(o)),n(o)}try{if(!r.fs.statSync(o).isDirectory())throw new Error("The path is not a directory")}catch{throw i}}return o};return n(path.resolve(e))};var makeDir$1=makeDir$2.exports,PRISMA_SIGNATURE="signature";async function getSignature(e){let r=paths("checkpoint");e=e||path__default.default.join(r.cache,PRISMA_SIGNATURE);let n=await readSignature(e);return n||await createSignatureFile(e)}function isSignatureValid(e){return typeof e=="string"&&e.length===36}async function readSignature(e){try{let r=await fs__default.default.readFile(e,"utf8"),{signature:n}=JSON.parse(r);return isSignatureValid(n)?n:""}catch{return""}}async function createSignatureFile(e,r){let n={signature:r||v4()};return await makeDir$1(path__default.default.dirname(e)),await fs__default.default.writeFile(e,JSON.stringify(n,null," ")),n.signature}async function getInfo(){let e=paths("checkpoint").cache;require$$0.existsSync(e)||await fs__default.default.mkdir(e,{recursive:!0});let r=await fs__default.default.readdir(e),n=[];for(let o of r)if(o.includes("-"))try{let i=JSON.parse(await fs__default.default.readFile(path__default.default.join(e,o),{encoding:"utf-8"}));i.output&&!i.output.cli_path_hash&&(i.output.cli_path_hash=o.split("-")[1]),n.push(i)}catch(i){console.error(i)}return{signature:await getSignature(),cachePath:e,cacheItems:n}}var defaultSchema={last_reminder:0,cached_at:0,version:"",cli_path:"",output:{client_event_id:"",previous_client_event_id:"",product:"",cli_path_hash:"",local_timestamp:"",previous_version:"",current_version:"",current_release_date:0,current_download_url:"",current_changelog_url:"",package:"",release_tag:"",install_command:"",project_website:"",outdated:!1,alerts:[]}},Config=class e{static async new(r,n=defaultSchema){return await makeDir$1(path__default.default.dirname(r.cache_file)),new e(r,n)}constructor(r,n){this.state=r,this.defaultSchema=n}async checkCache(r){let n=r.now(),o=await this.all();return o?r.version!==o.version?{cache:o,stale:!0}:n-o.cached_at>r.cache_duration?{cache:o,stale:!0}:{cache:o,stale:!1}:{cache:void 0,stale:!0}}async set(r){let n=await this.all()||{},o=Object.assign(n,r);for(let i in this.defaultSchema)typeof o[i]>"u"&&(o[i]=this.defaultSchema[i]);await fs__default.default.writeFile(this.state.cache_file,JSON.stringify(o,null," "))}async all(){try{let r=await fs__default.default.readFile(this.state.cache_file,"utf8");return JSON.parse(r)}catch{return}}async get(r){let n=await this.all();if(!(typeof n>"u"))return n[r]}async reset(){await fs__default.default.writeFile(this.state.cache_file,JSON.stringify(this.defaultSchema,null," "))}async delete(){try{await fs__default.default.unlink(this.state.cache_file);return}catch{return}}},s=1e3,m=s*60,h=m*60,d=h*24,w=d*7,y=d*365.25,ms=function(e,r){r=r||{};var n=typeof e;if(n==="string"&&e.length>0)return parse(e);if(n==="number"&&isFinite(e))return r.long?fmtLong(e):fmtShort(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){if(e=String(e),!(e.length>100)){var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(r){var n=parseFloat(r[1]),o=(r[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return n*y;case"weeks":case"week":case"w":return n*w;case"days":case"day":case"d":return n*d;case"hours":case"hour":case"hrs":case"hr":case"h":return n*h;case"minutes":case"minute":case"mins":case"min":case"m":return n*m;case"seconds":case"second":case"secs":case"sec":case"s":return n*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function fmtShort(e){var r=Math.abs(e);return r>=d?Math.round(e/d)+"d":r>=h?Math.round(e/h)+"h":r>=m?Math.round(e/m)+"m":r>=s?Math.round(e/s)+"s":e+"ms"}function fmtLong(e){var r=Math.abs(e);return r>=d?plural(e,r,d,"day"):r>=h?plural(e,r,h,"hour"):r>=m?plural(e,r,m,"minute"):r>=s?plural(e,r,s,"second"):e+" ms"}function plural(e,r,n,o){var i=r>=n*1.5;return Math.round(e/n)+" "+o+(i?"s":"")}var TELEMETRY_ENDPOINT_URL_PRODUCTION="https://checkpoint.prisma.io",childPath=path__default.default.join(eval("__dirname"),"child");async function check(e){let r=getCacheFile(e.product,e.cli_path_hash||"default"),n=gAe(),o=e.endpoint||process.env.PRISMA_TELEMETRY_ENDPOINT||TELEMETRY_ENDPOINT_URL_PRODUCTION,i={product:e.product,version:e.version,cli_install_type:e.cli_install_type||"",information:e.information||"",local_timestamp:e.local_timestamp||rfc3339(new Date),project_hash:e.project_hash,cli_path:e.cli_path||"",cli_path_hash:e.cli_path_hash||"",endpoint:o,disable:typeof e.disable>"u"?!1:e.disable,arch:e.arch||os__default.default.arch(),os:e.os||os__default.default.platform(),node_version:e.node_version||process.version,ci:typeof e.ci<"u"?e.ci:n.isCI,ci_name:typeof e.ci_name<"u"?e.ci_name||"":n.name||"",command:e.command||"",schema_providers:e.schema_providers||[],schema_preview_features:e.schema_preview_features||[],schema_generators_providers:e.schema_generators_providers||[],cache_file:e.cache_file||r,cache_duration:typeof e.cache_duration>"u"?ms("12h"):e.cache_duration,remind_duration:typeof e.remind_duration>"u"?ms("48h"):e.remind_duration,force:typeof e.force>"u"?!1:e.force,timeout:getTimeout(e.timeout),unref:typeof e.unref>"u"?!0:e.unref,child_path:e.child_path||childPath,now:()=>Date.now(),client_event_id:e.client_event_id||"",previous_client_event_id:e.previous_client_event_id||"",check_if_update_available:!1};if((process.env.CHECKPOINT_DISABLE||i.disable)&&!i.force)return{status:"disabled"};let a=await Config.new(i),c=await a.checkCache(i);i.check_if_update_available=c.stale===!0||!c.cache;let u=spawn(i);if(i.unref&&(u.unref(),u.disconnect()),c.stale===!0||!c.cache)return{status:"waiting",data:u};for(let p of Object.keys(i))i[p]&&await a.set({[p]:i[p]});return i.now()-c.cache.last_reminder"u")return 5e3;let n=parseInt(r,10);return isNaN(n)?5e3:n}function getForkOpts(e){return e.unref===!0?{detached:!0,stdio:process.env.CHECKPOINT_DEBUG_STDOUT?"inherit":"ignore",env:process.env}:{detached:!1,stdio:"pipe",env:process.env}}function spawn(e){return child_process.fork(childPath,[JSON.stringify(e)],getForkOpts(e))}function rfc3339(e){function r(o){return o<10?"0"+o:o}function n(o){let i;return o===0?"Z":(i=o>0?"-":"+",o=Math.abs(o),i+r(Math.floor(o/60))+":"+r(o%60))}return e.getFullYear()+"-"+r(e.getMonth()+1)+"-"+r(e.getDate())+"T"+r(e.getHours())+":"+r(e.getMinutes())+":"+r(e.getSeconds())+n(e.getTimezoneOffset())}exports.check=check;exports.getInfo=getInfo;exports.getSignature=getSignature});var RAe=A((Q_r,vd)=>{"use strict";var Qo=require("fs"),_V=require("os"),Tc=require("path"),yAe=require("crypto"),Hp={fs:Qo.constants,os:_V.constants},xAe="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",EAe=/XXXXXX/,X_t=3,vAe=(Hp.O_CREAT||Hp.fs.O_CREAT)|(Hp.O_EXCL||Hp.fs.O_EXCL)|(Hp.O_RDWR||Hp.fs.O_RDWR),e1t=_V.platform()==="win32",t1t=Hp.EBADF||Hp.os.errno.EBADF,r1t=Hp.ENOENT||Hp.os.errno.ENOENT,SAe=448,wAe=384,n1t="exit",Jv=[],_Ae=Qo.rmdirSync.bind(Qo),TAe=!1;function o1t(e,r){return Qo.rm(e,{recursive:!0},r)}function DAe(e){return Qo.rmSync(e,{recursive:!0})}function TV(e,r){let n=Yv(e,r),o=n[0],i=n[1];try{PAe(o)}catch(c){return i(c)}let a=o.tries;(function c(){try{let u=AAe(o);Qo.stat(u,function(l){if(!l)return a-- >0?c():i(new Error("Could not get a unique tmp filename, max tries reached "+u));i(null,u)})}catch(u){i(u)}})()}function DV(e){let r=Yv(e),n=r[0];PAe(n);let o=n.tries;do{let i=AAe(n);try{Qo.statSync(i)}catch{return i}}while(o-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function i1t(e,r){let n=Yv(e,r),o=n[0],i=n[1];TV(o,function(c,u){if(c)return i(c);Qo.open(u,vAe,o.mode||wAe,function(p,f){if(p)return i(p);if(o.discardDescriptor)return Qo.close(f,function(x){return i(x,u,void 0,vV(u,-1,o,!1))});{let g=o.discardDescriptor||o.detachDescriptor;i(null,u,f,vV(u,g?-1:f,o,!1))}})})}function s1t(e){let r=Yv(e),n=r[0],o=n.discardDescriptor||n.detachDescriptor,i=DV(n);var a=Qo.openSync(i,vAe,n.mode||wAe);return n.discardDescriptor&&(Qo.closeSync(a),a=void 0),{name:i,fd:a,removeCallback:vV(i,o?-1:a,n,!0)}}function a1t(e,r){let n=Yv(e,r),o=n[0],i=n[1];TV(o,function(c,u){if(c)return i(c);Qo.mkdir(u,o.mode||SAe,function(p){if(p)return i(p);i(null,u,CAe(u,o,!1))})})}function c1t(e){let r=Yv(e),n=r[0],o=DV(n);return Qo.mkdirSync(o,n.mode||SAe),{name:o,removeCallback:CAe(o,n,!0)}}function u1t(e,r){let n=function(o){if(o&&!wV(o))return r(o);r()};0<=e[0]?Qo.close(e[0],function(){Qo.unlink(e[1],n)}):Qo.unlink(e[1],n)}function l1t(e){let r=null;try{0<=e[0]&&Qo.closeSync(e[0])}catch(n){if(!d1t(n)&&!wV(n))throw n}finally{try{Qo.unlinkSync(e[1])}catch(n){wV(n)||(r=n)}}if(r!==null)throw r}function vV(e,r,n,o){let i=Hk(l1t,[r,e],o),a=Hk(u1t,[r,e],o,i);return n.keep||Jv.unshift(i),o?i:a}function CAe(e,r,n){let o=r.unsafeCleanup?o1t:Qo.rmdir.bind(Qo),i=r.unsafeCleanup?DAe:_Ae,a=Hk(i,e,n),c=Hk(o,e,n,a);return r.keep||Jv.unshift(a),n?a:c}function Hk(e,r,n,o){let i=!1;return function a(c){if(!i){let u=o||a,l=Jv.indexOf(u);return l>=0&&Jv.splice(l,1),i=!0,n||e===_Ae||e===DAe?e(r):e(r,c||function(){})}}}function p1t(){if(TAe)for(;Jv.length;)try{Jv[0]()}catch{}}function bAe(e){let r=[],n=null;try{n=yAe.randomBytes(e)}catch{n=yAe.pseudoRandomBytes(e)}for(var o=0;o"u"}function Yv(e,r){if(typeof e=="function")return[{},e];if(Ra(e))return[{},r];let n={};for(let o of Object.getOwnPropertyNames(e))n[o]=e[o];return[n,r]}function AAe(e){let r=e.tmpdir;if(!Ra(e.name))return Tc.join(r,e.dir,e.name);if(!Ra(e.template))return Tc.join(r,e.dir,e.template).replace(EAe,bAe(6));let n=[e.prefix?e.prefix:"tmp","-",process.pid,"-",bAe(12),e.postfix?"-"+e.postfix:""].join("");return Tc.join(r,e.dir,n)}function PAe(e){e.tmpdir=IAe(e);let r=e.tmpdir;if(Ra(e.name)||EV(e.name,"name",r),Ra(e.dir)||EV(e.dir,"dir",r),!Ra(e.template)&&(EV(e.template,"template",r),!e.template.match(EAe)))throw new Error(`Invalid template, found "${e.template}".`);if(!Ra(e.tries)&&isNaN(e.tries)||e.tries<0)throw new Error(`Invalid tries, found "${e.tries}".`);e.tries=Ra(e.name)?e.tries||X_t:1,e.keep=!!e.keep,e.detachDescriptor=!!e.detachDescriptor,e.discardDescriptor=!!e.discardDescriptor,e.unsafeCleanup=!!e.unsafeCleanup,e.dir=Ra(e.dir)?"":Tc.relative(r,SV(e.dir,r)),e.template=Ra(e.template)?void 0:Tc.relative(r,SV(e.template,r)),e.template=f1t(e.template)?void 0:Tc.relative(e.dir,e.template),e.name=Ra(e.name)?void 0:e.name,e.prefix=Ra(e.prefix)?"":e.prefix,e.postfix=Ra(e.postfix)?"":e.postfix}function SV(e,r){return e.startsWith(r)?Tc.resolve(e):Tc.resolve(Tc.join(r,e))}function EV(e,r,n){if(r==="name"){if(Tc.isAbsolute(e))throw new Error(`${r} option must not contain an absolute path, found "${e}".`);let o=Tc.basename(e);if(o===".."||o==="."||o!==e)throw new Error(`${r} option must not contain a path, found "${e}".`)}else{if(Tc.isAbsolute(e)&&!e.startsWith(n))throw new Error(`${r} option must be relative to "${n}", found "${e}".`);let o=SV(e,n);if(!o.startsWith(n))throw new Error(`${r} option must be relative to "${n}", found "${o}".`)}}function d1t(e){return OAe(e,-t1t,"EBADF")}function wV(e){return OAe(e,-r1t,"ENOENT")}function OAe(e,r,n){return e1t?e.code===n:e.code===n&&e.errno===r}function m1t(){TAe=!0}function IAe(e){return Tc.resolve(e&&e.tmpdir||_V.tmpdir())}process.addListener(n1t,p1t);Object.defineProperty(vd.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return IAe()}});vd.exports.dir=a1t;vd.exports.dirSync=c1t;vd.exports.file=i1t;vd.exports.fileSync=s1t;vd.exports.tmpName=TV;vd.exports.tmpNameSync=DV;vd.exports.setGracefulCleanup=m1t});var xo=A((c1r,jAe)=>{"use strict";var{FORCE_COLOR:g1t,NODE_DISABLE_COLORS:y1t,TERM:x1t}=process.env,Xr={enabled:!y1t&&x1t!=="dumb"&&g1t!=="0",reset:An(0,0),bold:An(1,22),dim:An(2,22),italic:An(3,23),underline:An(4,24),inverse:An(7,27),hidden:An(8,28),strikethrough:An(9,29),black:An(30,39),red:An(31,39),green:An(32,39),yellow:An(33,39),blue:An(34,39),magenta:An(35,39),cyan:An(36,39),white:An(37,39),gray:An(90,39),grey:An(90,39),bgBlack:An(40,49),bgRed:An(41,49),bgGreen:An(42,49),bgYellow:An(43,49),bgBlue:An(44,49),bgMagenta:An(45,49),bgCyan:An(46,49),bgWhite:An(47,49)};function UAe(e,r){let n=0,o,i="",a="";for(;n{"use strict";qAe.exports=(e,r)=>{if(!(e.meta&&e.name!=="escape")){if(e.ctrl){if(e.name==="a")return"first";if(e.name==="c"||e.name==="d")return"abort";if(e.name==="e")return"last";if(e.name==="g")return"reset"}if(r){if(e.name==="j")return"down";if(e.name==="k")return"up"}return e.name==="return"||e.name==="enter"?"submit":e.name==="backspace"?"delete":e.name==="delete"?"deleteForward":e.name==="abort"?"abort":e.name==="escape"?"exit":e.name==="tab"?"next":e.name==="pagedown"?"nextPage":e.name==="pageup"?"prevPage":e.name==="home"?"home":e.name==="end"?"end":e.name==="up"?"up":e.name==="down"?"down":e.name==="right"?"right":e.name==="left"?"left":!1}}});var Vk=A((l1r,HAe)=>{"use strict";HAe.exports=e=>{let r=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|"),n=new RegExp(r,"g");return typeof e=="string"?e.replace(n,""):e}});var Eo=A((p1r,WAe)=>{"use strict";var CV="\x1B",bo=`${CV}[`,E1t="\x07",AV={to(e,r){return r?`${bo}${r+1};${e+1}H`:`${bo}${e+1}G`},move(e,r){let n="";return e<0?n+=`${bo}${-e}D`:e>0&&(n+=`${bo}${e}C`),r<0?n+=`${bo}${-r}A`:r>0&&(n+=`${bo}${r}B`),n},up:(e=1)=>`${bo}${e}A`,down:(e=1)=>`${bo}${e}B`,forward:(e=1)=>`${bo}${e}C`,backward:(e=1)=>`${bo}${e}D`,nextLine:(e=1)=>`${bo}E`.repeat(e),prevLine:(e=1)=>`${bo}F`.repeat(e),left:`${bo}G`,hide:`${bo}?25l`,show:`${bo}?25h`,save:`${CV}7`,restore:`${CV}8`},v1t={up:(e=1)=>`${bo}S`.repeat(e),down:(e=1)=>`${bo}T`.repeat(e)},S1t={screen:`${bo}2J`,up:(e=1)=>`${bo}1J`.repeat(e),down:(e=1)=>`${bo}J`.repeat(e),line:`${bo}2K`,lineEnd:`${bo}K`,lineStart:`${bo}1K`,lines(e){let r="";for(let n=0;n{"use strict";function w1t(e,r){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_1t(e))||r&&e&&typeof e.length=="number"){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(p){throw p},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. RangeError: WebAssembly.Instance(): Out of memory: Cannot allocate Wasm memory for new instance at /home/thecarg/.npm/_npx/2778af9cee32ff87/node_modules/prisma/build/cli.js:46:11117 at /home/thecarg/.npm/_npx/2778af9cee32ff87/node_modules/prisma/build/cli.js:1:263 at Object. (/home/thecarg/.npm/_npx/2778af9cee32ff87/node_modules/prisma/build/cli.js:190:154) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Module.load (node:internal/modules/cjs/loader:1266:32) at Module._load (node:internal/modules/cjs/loader:1091:12) at Module.require (node:internal/modules/cjs/loader:1289:19) at require (node:internal/modules/helpers:182:18) at Object. (/home/thecarg/.npm/_npx/2778af9cee32ff87/node_modules/prisma/build/index.js:2:70) Node.js v20.20.2