functione(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}functiont(e){returne&&e.__esModule?e.default:e;}functionr(e){returne&&e.__esModule?e.default:e;}functionn(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}functiono(e,t,r){if("function"==typeoft&&(r=t,t={}),!r){if("function"!=typeofPromise)thrownewTypeError("callback not provided");returnnewPromise((r,n)=>{o(e,t||{},(e,t)=>{e?n(e):r(t);});});}cr(e,t||{},(e,n)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n);});}functioni(e,t){constr=e.options.env||process.env,n=process.cwd(),o=null!=e.options.cwd,i=o&&void0!==process.chdir&&!process.chdir.disabled;if(i)try{process.chdir(e.options.cwd);}catch(e){}lets;try{s=ir.sync(e.command,{path:r[vr({env:r})],pathExt:t?Et.delimiter:void0});}catch(e){}finally{i&&process.chdir(n);}returns&&(s=(0,Et.resolve)(o?e.options.cwd:"",s)),s;}functions(e,t){returnObject.assign(Error(`${t}${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t}${e.command}`,path:e.command,spawnargs:e.args});}functiona(e,t){return_r&&1===e&&!t.file?s(t.original,"spawn"):null;}functionc(e,t,r){constn=gr(e,t,r),o=(0,Ct.spawn)(n.command,n.args,n.options);returnCr.hookChildProcess(o,n),o;}asyncfunctionl(e,t){if(!e)throwError("Expected a stream");t={maxBuffer:1/0,...t};const{maxBuffer:r}=t,n=Rn(t);returnawaitnewPromise((t,o)=>{consti=e=>{e&&n.getBufferedLength()<=Cn.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),o(e);};(async()=>{try{awaitPn(e,n),t();}catch(e){i(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&i(newAn());});}),n.getBufferedValue();}functionu(){returnnull!==r(ir).sync("sudo",{nothrow:!0});}functiond(){return0===process.getuid?.()||!!process.env.CI;}functionp(){returnd()&&u();}functionf(e){returnp()?"sudo "+e:e;}functionm(e,t=[],n={stdio:"inherit",shell:!0}){returnp()?r(mr).commandSync("sudo "+[e,...t].map(e=>`'${e}'`).join(" "),n):r(mr).sync(e,t,n);}functionh(e,t=[],n={stdio:"inherit",shell:!0}){returnp()?r(mr).command("sudo "+[e,...t].map(e=>`'${e}'`).join(" "),n):r(mr)(e,t,n);}functiong(){return"win32"===process.platform?no():d();}functionv(e){returnp()&&"string"==typeofprocess.env.SUDO_USER?"darwin"===process.platform?(0,Et.join)("/Users/",process.env.SUDO_USER,e):(0,Et.join)("/home/",process.env.SUDO_USER,e):t(Jt)("~/"+e);}functionE(e){returne&&"object"==typeofe&&"default"ine?e:{default:e};}functiony(e,t,r,n){returnnew(r||(r=Promise))((o,i)=>{functions(e){try{c(n.next(e));}catch(e){i(e);}}functiona(e){try{c(n.throw(e));}catch(e){i(e);}}functionc(e){vart;e.done?o(e.value):(t=e.value,tinstanceofr?t:newr(e=>{e(t);})).then(s,a);}c((n=n.apply(e,t||[])).next());});}functionw(e,t){functionr(r){returns=>(r=>{if(n)thrownewTypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(i=2&r[0]?o.return:r[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,r[1])).done)returni;switch(o=0,i&&(r=[2&r[0],i.value]),r[0]){case0:case1:i=r;break;case4:returna.label++,{value:r[1],done:!1};case5:a.label++,o=r[1],r=[0];continue;case7:r=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){a=0;continue;}if(3===r[0]&&(!i||r[1]>i[0]&&i[3]>r[1])){a.label=r[1];break;}if(6===r[0]&&i[1]>a.label){a.label=i[1],i=r;break;}if(i&&i[2]>a.label){a.label=i[2],a.ops.push(r);break;}i[2]&&a.ops.pop(),a.trys.pop();continue;}r=t.call(e,a);}catch(e){r=[6,e],o=0;}finally{n=i=0;}if(5&r[0])throwr[1];return{value:r[0]?r[1]:void0,done:!0};})([r,s]);}varn,o,i,s,a={label:0,sent(){if(1&i[0])throwi[1];returni[1];},trys:[],ops:[]};returns={next:r(0),throw:r(1),return:r(2)},"function"==typeofSymbol&&(s[Symbol.iterator]=function(){returnthis;}),s;}functionx(e){returnnull==e?[]:Array.isArray(e)?e:[e];}functionb(e,t,r,n){varo,i=e[t],s=~n.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeofr?r:~n.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(o=+r)==0?o:r),!!r)):0*(o=+r)==0?o:r;e[t]=null==i?s:Array.isArray(i)?i.concat(s):[i,s];}fun