require('./sourcemap-register.js');module.exports=function(e,t){"use strict";vara={};function__webpack_require__(t){if(a[t]){returna[t].exports}vari=a[t]={i:t,l:false,exports:{}};varn=true;try{e[t].call(i.exports,i,i.exports,__webpack_require__);n=false}finally{if(n)deletea[t]}i.l=true;returni.exports}__webpack_require__.ab=__dirname+"/";functionstartup(){return__webpack_require__(131)}returnstartup()}([,function(e,t,a){"use strict";vari=this&&this.__createBinding||(Object.create?function(e,t,a,i){if(i===undefined)i=a;Object.defineProperty(e,i,{enumerable:true,get:function(){returnt[a]}})}:function(e,t,a,i){if(i===undefined)i=a;e[i]=t[a]});varn=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});varo=this&&this.__importStar||function(e){if(e&&e.__esModule)returne;vart={};if(e!=null)for(varaine)if(a!=="default"&&Object.hasOwnProperty.call(e,a))i(t,e,a);n(t,e);returnt};vars=this&&this.__awaiter||function(e,t,a,i){functionadopt(e){returneinstanceofa?e:newa(function(t){t(e)})}returnnew(a||(a=Promise))(function(a,n){functionfulfilled(e){try{step(i.next(e))}catch(e){n(e)}}functionrejected(e){try{step(i["throw"](e))}catch(e){n(e)}}functionstep(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:true});t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void0;constr=a(357);constp=o(a(129));constl=o(a(622));constc=a(669);constd=o(a(672));constu=c.promisify(p.exec);constm=c.promisify(p.execFile);functioncp(e,t,a={}){returns(this,void0,void0,function*(){const{force:i,recursive:n,copySourceDirectory:o}=readCopyOptions(a);consts=(yieldd.exists(t))?yieldd.stat(t):null;if(s&&s.isFile()&&!i){return}constr=s&&s.isDirectory()&&o?l.join(t,l.basename(e)):t;if(!(yieldd.exists(e))){thrownewError(`no such file or directory: ${e}`)}constp=yieldd.stat(e);if(p.isDirectory()){if(!n){thrownewError(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yieldcpDirRecursive(e,r,0,i)}}else{if(l.relative(e,r)===""){thrownewError(`'${r}' and '${e}' are the same file`)}yieldcopyFile(e,r,i)}})}t.cp=cp;functionmv(e,t,a={}){returns(this,void0,void0,function*(){if(yieldd.exists(t)){leti=true;if(yieldd.isDirectory(t)){t=l.join(t,l.basename(e));i=yieldd.exists(t)}if(i){if(a.force==null||a.force){yieldrmRF(t)}else{thrownewError("Destination already exists")}}}yieldmkdirP(l.dirname(t));yieldd.rename(e,t)})}t.mv=mv;functionrmRF(e){returns(this,void0,void0,function*(){if(d.IS_WINDOWS){if(/[*"<>|]/.test(e)){thrownewError('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}try{constt=d.getCmdPath();if(yieldd.isDirectory(e,true)){yieldu(`${t} /s /c "rd /s /q "%inputPath%""`,{env:{inputPath:e}})}else{yieldu(`${t} /s /c "del /f /a "%inputPath%""`,{env:{inputPath:e}})}}catch(e){if(e.code!=="ENOENT")throwe}try{yieldd.unlink(e)}catch(e){if(e.code!=="ENOENT")throwe}}else{lett=false;try{t=yieldd.isDirectory(e)}catch(e){if(e.code!=="ENOENT")throwe;return}if(t){yieldm(`rm`,[`-rf`,`${e}`])}else{yieldd.unlink(e)}}})}t.rmRF=rmRF;functionmkdirP(e){returns(this,void0,void0,function*(){r.ok(e,"a path argument must be provided");yieldd.mkdir(e,{recursive:true})})}t.mkdirP=mkdirP;functionwhich(e,t){returns(this,void0,void0,function*(){if(!e){thrownewError("parameter 'tool' is required")}if(t){constt=yieldwhich(e,false);if(!t){if(d.IS_WINDOWS){thrownewError(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{thrownewError(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}returnt}cons