(()=>{vare={816:e=>{constr=Symbol("arg flag");functionarg(e,{argv:t,permissive:n=false,stopAtPositional:o=false}={}){if(!e){thrownewError("Argument specification object is required")}consti={_:[]};t=t||process.argv.slice(2);consta={};consts={};for(consttofObject.keys(e)){if(!t){thrownewTypeError("Argument key cannot be an empty string")}if(t[0]!=="-"){thrownewTypeError(`Argument key must start with '-' but found: '${t}'`)}if(t.length===1){thrownewTypeError(`Argument key must have a name; singular '-' keys are not allowed: ${t}`)}if(typeofe[t]==="string"){a[t]=e[t];continue}letn=e[t];leto=false;if(Array.isArray(n)&&n.length===1&&typeofn[0]==="function"){const[e]=n;n=(r,t,n=[])=>{n.push(e(r,t,n[n.length-1]));returnn};o=e===Boolean||e[r]===true}elseif(typeofn==="function"){o=n===Boolean||n[r]===true}else{thrownewTypeError(`Type missing or not a function or valid array type: ${t}`)}if(t[1]!=="-"&&t.length>2){thrownewTypeError(`Short argument keys (with a single hyphen) must have only one character: ${t}`)}s[t]=[n,o]}for(lete=0,r=t.length;e<r;e++){constr=t[e];if(o&&i._.length>0){i._=i._.concat(t.slice(e));break}if(r==="--"){i._=i._.concat(t.slice(e+1));break}if(r.length>1&&r[0]==="-"){consto=r[1]==="-"||r.length===2?[r]:r.slice(1).split("").map((e=>`-${e}`));for(letr=0;r<o.length;r++){constl=o[r];const[f,u]=l[1]==="-"?l.split("=",2):[l,undefined];letc=f;while(cina){c=a[c]}if(!(cins)){if(n){i._.push(l);continue}else{conste=newError(`Unknown or unexpected option: ${f}`);e.code="ARG_UNKNOWN_OPTION";throwe}}const[p,_]=s[c];if(!_&&r+1<o.length){thrownewTypeError(`Option requires argument (but was followed by another short argument): ${f}`)}if(_){i[c]=p(true,c,i[c])}elseif(u===undefined){if(t.length<e+2||t[e+1].length>1&&t[e+1][0]==="-"){conste=f===c?"":` (alias for ${c})`;thrownewError(`Option requires argument: ${f}${e}`)}i[c]=p(t[e+1],c,i[c]);++e}else{i[c]=p(u,c,i[c])}}}else{i._.push(r)}}returni}arg.flag=e=>{e[r]=true;returne};arg.COUNT=arg.flag(((e,r,t)=>(t||0)+1));e.exports=arg}};varr={};function__nccwpck_require__(t){varn=r[t];if(n!==undefined){returnn.exports}varo=r[t]={exports:{}};vari=true;try{e[t](o,o.exports,__nccwpck_require__);i=false}finally{if(i)deleter[t]}returno.exports}if(typeof__nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";vart=__nccwpck_require__(816);module.exports=t})();