!function(t){functione(e){for(vara,o,s=e[0],l=e[1],c=e[2],u=0,m=[];u<s.length;u++)o=s[u],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&m.push(r[o][0]),r[o]=0;for(ainl)Object.prototype.hasOwnProperty.call(l,a)&&(t[a]=l[a]);for(f&&f(e);m.length;)m.shift()();returni.push.apply(i,c||[]),n()}functionn(){for(vart,e=0;e<i.length;e++){for(varn=i[e],a=!0,s=1;s<n.length;s++){varl=n[s];0!==r[l]&&(a=!1)}a&&(i.splice(e--,1),t=o(o.s=n[0]))}returnt}vara={},r={0:0},i=[];functiono(e){if(a[e])returna[e].exports;varn=a[e]={i:e,l:!1,exports:{}};returnt[e].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=t,o.c=a,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)returnt;if(4&e&&"object"==typeoft&&t&&t.__esModule)returnt;varn=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeoft)for(varaint)o.d(n,a,function(e){returnt[e]}.bind(null,a));returnn},o.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returno.d(e,"a",e),e},o.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},o.p="";vars=window.webpackJsonp=window.webpackJsonp||[],l=s.push.bind(s);s.push=e,s=s.slice();for(varc=0;c<s.length;c++)e(s[c]);varf=l;i.push([1563,1]),n()}([,function(t,e,n){"use strict";n.d(e,"a",(function(){returno})),n.d(e,"b",(function(){returns}));vara=n(613),r=n(111),i=n(15);leto=newa.a;functions(t){o=JSON.parse(t,i.c),o.money=parseFloat(o.money+""),o.exploits=Object(r.c)(o.exploits)}},,function(t,e,n){"use strict";n.d(e,"a",(function(){returnS}));vara=n(25),r=n(1),i=n(185),o=n(150),s=n(7),l=n(17),c=n(45),f=n(101),u=n(427),m=n(28),h=n(24),d=n(13),p=n(383),g=n(190),y=n(618),b=n(481),E=n(619),v=n(268),k=n(272),w=n(93);constS={string:_,number:function(t,e,n){if("string"==typeofn){constt=parseFloat(n);if(!isNaN(t))returnt}elseif("number"==typeofn){if(isNaN(n))throwL(t,`'${e}' is NaN.`);returnn}throwL(t,`'${e}' should be a number.`)},scriptArgs:C,argsToString:function(t){lete="";for(letnoft)null!==n?void0!==n?(n=Object(E.a)(n),e+="object"==typeofn?JSON.stringify(n):""+n):e+="undefined":e+="null";returne},isScriptErrorMessage:function(t){if(!Object(o.a)(t))return!1;return4==t.split("|DELIMITER|").length},makeRuntimeRejectMsg:x,makeRuntimeErrorMsg:L,resolveNetscriptRequestedThreads:function(t,e){constn=t.workerScript.scriptRef.threads;if(!e)returnisNaN(n)||n<1?1:n;consta=0|e;if(isNaN(e)||a<1)throwx(t.workerScript,`Invalid thread count passed to ${t.function}: ${e}. Threads must be a positive number.`);if(a>n)throwx(t.workerScript,`Too many threads requested by ${t.function}. Requested: ${e}. Has: ${n}.`);returna},checkEnvFlags:function(t){conste=t.workerScript;if(e.env.stopFlag)thrownewi.a(e);if(e.env.runningFn&&"asleep"!==t.function)throwe.errorMessage=x(e,`Concurrent calls to Netscript functions are not allowed!\n Did you forget to await hack(), grow(), or some other\n promise-returning function?\n Currently running: ${e.env.runningFn} tried to run: ${t.function}`),e.delayReject&&e.delayReject(newi.a(e)),newi.a(e)},checkSingularityAccess:function(t){if(4!==r.a.bitNodeN&&0===r.a.sourceFileLvl(4))throwL(t,"This singularity function requires Source-File 4 to run. A power up you obtain later in the game.\n It will be very obvious when and how you can obtain it.")},netscriptDelay:function(t,e){constn=t.workerScript;returnnewPromise((function(a,r){n.delay=window.setTimeout(()=>{n.delay=null,n.delayReject=void0,n.env.runningFn="",n.env.stopFlag?r(newi.a(n)):a()},e),n.delayReject=r,n.env.runningFn=t.function}))},updateDynamicRam:function(t,e){constn=t.workerScript,a=t.function;if(n.dynamicLoadedFns[a])return;n.dynamicLoadedFns[a]=!0;letr=n.scriptRef.threads;"number"!=typeofr&&(console.warn(`WorkerScript detected NaN for threadcount for ${n
*/r.PARSE_OPTIONS={ecmaVersion:5,locations:!0},r.READONLY_DESCRIPTOR={configurable:!0,enumerable:!0,writable:!1},r.NONENUMERABLE_DESCRIPTOR={configurable:!0,enumerable:!1,writable:!0},r.READONLY_NONENUMERABLE_DESCRIPTOR={configurable:!0,enumerable:!1,writable:!1},r.VARIABLE_DESCRIPTOR={configurable:!1,enumerable:!0,writable:!0},r.STEP_ERROR={},r.SCOPE_REFERENCE={},r.VALUE_IN_DESCRIPTOR={},r.toStringCycles_=[],r.prototype.getErrorLineNumber=function(t){var e=this.sourceCode;if(null==t||null==t.start)return NaN;try{return((e=e.substring(0,t.start)).match(/\n/g)||[]).length+1-this.sourceCodeLineOffset}catch(t){returnNaN}},r.prototype.getErrorLineNumberMessage=function(t){returnisNaN(t)?" (Unknown line number)":t<=0?" (Error occurred in an imported function)":" (Line Number "+t+". This line number is probably incorrect if your script is importing any functions. This is being worked on)"},r.prototype.appendCode=function(t){vare=this.stateStack[0];if(!e||"Program"!==e.node.type)throwError("Expecting original AST to start with a Program node.");if("string"==typeoft&&(t=a.a(t,r.PARSE_OPTIONS)),!t||"Program"!==t.type)throwError("Expecting new AST to start with a Program node.");this.populateScope_(t,e.scope);for(varn,i=0;n=t.body[i];i++)e.node.body.push(n);e.done=!1},r.prototype.step=function(){vart=this.stateStack,e=t[t.length-1];if(!e)return!1;varn=e.node,a=n.type;if("Program"===a&&e.done)return!1;if(this.paused_)return!0;try{vari=this.stepFunctions_[a](t,e,n)}catch(t){if(t!==r.STEP_ERROR)throwt}returni&&t.push(i),!!n.end||this.step()},r.prototype.run=function(){for(;!this.paused_&&this.step(););returnthis.paused_},r.prototype.initGlobalScope=function(t){this.setProperty(t,"NaN",NaN,r.READONLY_DESCRIPTOR),this.setProperty(t,"Infinity",1/0,r.READONLY_DESCRIPTOR),this.setProperty(t,"undefined",void0,r.READONLY_DESCRIPTOR),this.setProperty(t,"window",t,r.READONLY_DESCRIPTOR),this.setProperty(t,"this",t,r.READONLY_DESCRIPTOR),this.setProperty(t,"self",t),this.OBJECT_PROTO=newr.Object(null),this.FUNCTION_PROTO=newr.Object(this.OBJECT_PROTO),this.initFunction(t),this.initObject(t),t.proto=this.OBJECT_PROTO,this.setProperty(t,"constructor",this.OBJECT,r.NONENUMERABLE_DESCRIPTOR),this.initArray(t),this.initString(t),this.initBoolean(t),this.initNumber(t),this.initDate(t),this.initRegExp(t),this.initError(t),this.initMath(t),this.initJSON(t);vare=this,n=this.createNativeFunction((function(t){throwEvalError("Can't happen")}),!1);n.eval=!0,this.setProperty(t,"eval",n),this.setProperty(t,"parseInt",this.createNativeFunction(parseInt,!1)),this.setProperty(t,"parseFloat",this.createNativeFunction(parseFloat,!1)),this.setProperty(t,"isNaN",this.createNativeFunction(isNaN,!1)),this.setProperty(t,"isFinite",this.createNativeFunction(isFinite,!1));for(vara=[[escape,"escape"],[unescape,"unescape"],[decodeURI,"decodeURI"],[decodeURIComponent,"decodeURIComponent"],[encodeURI,"encodeURI"],[encodeURIComponent,"encodeURIComponent"]],i=0;i<a.length;i++){varo=function(t){returnfunction(n){try{returnt(n)}catch(t){e.throwException(e.URI_ERROR,t.message)}}}(a[i][0]);this.setProperty(t,a[i][1],this.createNativeFunction(o,!1),r.NONENUMERABLE_DESCRIPTOR)}this.OBJECT=this.OBJECT,this.OBJECT_PROTO=this.OBJECT_PROTO,this.FUNCTION=this.FUNCTION,this.FUNCTION_PROTO=this.FUNCTION_PROTO,this.ARRAY=this.ARRAY,this.ARRAY_PROTO=this.ARRAY_PROTO,this.REGEXP=this.REGEXP,this.REGEXP_PROTO=this.REGEXP_PROTO,this.DATE=this.DATE,this.DATE_PROTO=this.DATE_PROTO,this.UNDEFINED=void0,this.NULL=null,this.NAN=NaN,this.TRUE=!0,this.FALSE=!1,this.STRING_EMPTY="",this.NUMBER_ZERO=0,this.NUMBER_ONE=1,this.initFunc_&&this.initFunc_(this,t)},r.prototype.initFunction=function(t){vare,n=this,i=/^[A-Za-z_$][\w$]*$/;(e=function(t){if(n.calledWithNew())vare=this;elsee=n.createObjectProto(n.FUNCTION_PROTO);if(arguments.length)varo=String(arguments[arguments.length-1]);elseo="";vars=Array.prototype.slice.call(arguments,0,-1).join(",").trim();if(s){for(varl=s.split(/\s*,\s*/),c=0;c<l.length;c++){varf=l[c];i.test(f)||n.throwException(n.SYNTAX_ERROR,"Invalidfunc