(()=>{var__webpack_modules__={234:(e,t,r)=>{"use strict";e.exports=t;t.mockS3Http=r(6476).get_mockS3Http();t.mockS3Http("on");consta=t.mockS3Http("get");consto=r(7147);consts=r(1017);constu=r(6444);constc=r(7081);c.disableProgress();constd=r(251);constf=r(2361).EventEmitter;constp=r(3837).inherits;consth=["clean","install","reinstall","build","rebuild","package","testpackage","publish","unpublish","info","testbinary","reveal","configure"];constv={};c.heading="node-pre-gyp";if(a){c.warn(`mocking s3 to ${process.env.node_pre_gyp_mock_s3}`)}Object.defineProperty(t,"find",{get:function(){returnr(846).find},enumerable:true});functionRun({package_json_path:e="./package.json",argv:t}){this.package_json_path=e;this.commands={};constr=this;h.forEach((e=>{r.commands[e]=function(t,a){c.verbose("command",e,t);returnrequire("./"+e)(r,t,a)}}));this.parseArgv(t);this.binaryHostSet=false}p(Run,f);t.Run=Run;const_=Run.prototype;_.package=r(7399);_.configDefs={help:Boolean,arch:String,debug:Boolean,directory:String,proxy:String,loglevel:String};_.shorthands={release:"--no-debug",C:"--directory",debug:"--debug",j:"--jobs",silent:"--loglevel=silent",silly:"--loglevel=silly",verbose:"--loglevel=verbose"};_.aliases=v;_.parseArgv=functionparseOpts(e){this.opts=u(this.configDefs,this.shorthands,e);this.argv=this.opts.argv.remain.slice();constt=this.todo=[];e=this.argv.map((e=>{if(einthis.aliases){e=this.aliases[e]}returne}));e.slice().forEach((r=>{if(rinthis.commands){consta=e.splice(0,e.indexOf(r));e.shift();if(t.length>0){t[t.length-1].args=a}t.push({name:r,args:[]})}}));if(t.length>0){t[t.length-1].args=e.splice(0)}letr=this.package_json_path;if(this.opts.directory){r=s.join(this.opts.directory,r)}this.package_json=JSON.parse(o.readFileSync(r));this.todo=d.expand_commands(this.package_json,this.opts,t);consta="npm_config_";Object.keys(process.env).forEach((e=>{if(e.indexOf(a)!==0)return;constt=process.env[e];if(e===a+"loglevel"){c.level=t}else{e=e.substring(a.length);if(e==="argv"){if(this.opts.argv&&this.opts.argv.remain&&this.opts.argv.remain.length){}else{this.opts[e]=t}}else{this.opts[e]=t}}}));if(this.opts.loglevel){c.level=this.opts.loglevel}c.resume()};_.setBinaryHostProperty=function(e){if(this.binaryHostSet){returnthis.package_json.binary.host}constt=this.package_json;if(!t||!t.binary||t.binary.host){return""}if(!t.binary.staging_host||!t.binary.production_host){return""}letr="production_host";if(e==="publish"){r="staging_host"}consta=process.env.node_pre_gyp_s3_host;if(a==="staging"||a==="production"){r=`${a}_host`}elseif(this.opts["s3_host"]==="staging"||this.opts["s3_host"]==="production"){r=`${this.opts["s3_host"]}_host`}elseif(this.opts["s3_host"]||a){thrownewError(`invalid s3_host ${this.opts["s3_host"]||a}`)}t.binary.host=t.binary[r];this.binaryHostSet=true;returnt.binary.host};_.usage=functionusage(){conste=[""," Usage: node-pre-gyp <command> [options]",""," where <command> is one of:",h.map((e=>" - "+e+" - "+require("./"+e).usage)).join("\n"),"","node-pre-gyp@"+this.version+" "+s.resolve(__dirname,".."),"node@"+process.versions.node].join("\n");returne};Object.defineProperty(_,"version",{get:function(){returnthis.package.version},enumerable:true})},846:(e,t,r)=>{"use strict";consta=r(234);consto=r(2998);consts=r(251);constu=r(7147).existsSync||r(1017).existsSync;constc=r(1017);e.exports=t;t.usage="Finds the require path for the node-pre-gyp installed module";t.validate=function(e,t){o.validate_config(e,t)};t.find=function(e,t){if(!u(e)){thrownewError(e+"does not exist")}constr=newa.Run({package_json_path:e,argv:process.argv});r.setBinaryHostProperty();constd=r.package_json;o.validate_config(d,t);letf;if(s.get_napi_build_versions(d,t)){f=s.get_best_napi_build_version(d,t)}t=t||{};if(!t.module_root)t.module_root=c.dirname(e);constp=o.evaluate(d,t,f);returnp.module}},251:(e,t,r)=>{"use strict";consta=r(7147);e.exports=t;consto=process.version.substr(1).replace(/-.*$/,"").split(".").map((e=>+e));consts=["build","clean","configure","package","publish","reveal","testb