From f99c3fd0cddcfd2bb8aa0430cabee7f950b306f8 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Fri, 29 Oct 2021 13:09:58 -0400 Subject: [PATCH 1/6] dont double log --- src/ui/React/LogBoxManager.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/React/LogBoxManager.tsx b/src/ui/React/LogBoxManager.tsx index 78f89265f..68814eea6 100644 --- a/src/ui/React/LogBoxManager.tsx +++ b/src/ui/React/LogBoxManager.tsx @@ -27,6 +27,7 @@ export function LogBoxManager(): React.ReactElement { () => LogBoxEvents.subscribe((script: RunningScript) => { const id = script.server + "-" + script.filename + script.args.map((x: any): string => `${x}`).join("-"); + if (logs.find((l) => l.id === id)) return; setLogs((old) => { return [ ...old, From c9b467506100a901be363d2607653bbe160b7335 Mon Sep 17 00:00:00 2001 From: "tyasuh.taeragan@gmail.com" Date: Fri, 29 Oct 2021 16:20:38 -0400 Subject: [PATCH 2/6] Going Public Exploit Fix. --- src/Corporation/ui/GoPublicModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Corporation/ui/GoPublicModal.tsx b/src/Corporation/ui/GoPublicModal.tsx index e2bf55333..e4cab1d4c 100644 --- a/src/Corporation/ui/GoPublicModal.tsx +++ b/src/Corporation/ui/GoPublicModal.tsx @@ -70,8 +70,9 @@ export function GoPublicModal(props: IProps): React.ReactElement { type="number" placeholder="Shares to issue" onKeyDown={onKeyDown} + /> - From 55a2f0cd9eb192d2d3733484f8e3e55ba685acf3 Mon Sep 17 00:00:00 2001 From: "tyasuh.taeragan@gmail.com" Date: Fri, 29 Oct 2021 18:01:51 -0400 Subject: [PATCH 3/6] Args now stringified next to script names --- src/ui/ActiveScripts/WorkerScriptAccordion.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/ActiveScripts/WorkerScriptAccordion.tsx b/src/ui/ActiveScripts/WorkerScriptAccordion.tsx index 189c90676..751c21b78 100644 --- a/src/ui/ActiveScripts/WorkerScriptAccordion.tsx +++ b/src/ui/ActiveScripts/WorkerScriptAccordion.tsx @@ -67,7 +67,7 @@ export function WorkerScriptAccordion(props: IProps): React.ReactElement { return ( <> setOpen((old) => !old)} component={Paper}> - └ {props.workerScript.name}} /> + └ {props.workerScript.name} {JSON.stringify(props.workerScript.args)}} /> {open ? : } From afd34ef9ca4ebdec4f0e914de8aaf10505a80807 Mon Sep 17 00:00:00 2001 From: "tyasuh.taeragan@gmail.com" Date: Fri, 29 Oct 2021 20:27:20 -0400 Subject: [PATCH 4/6] Programs grant int exp based on time --- src/Constants.ts | 2 +- src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Constants.ts b/src/Constants.ts index dbd9d86e8..e08786974 100644 --- a/src/Constants.ts +++ b/src/Constants.ts @@ -187,7 +187,7 @@ export const CONSTANTS: { IntelligenceCrimeWeight: 0.025, // Weight for how much int affects crime success rates IntelligenceInfiltrationWeight: 0.1, // Weight for how much int affects infiltration success rates IntelligenceCrimeBaseExpGain: 0.05, - IntelligenceProgramBaseExpGain: 2.5, // Program required hack level divided by this to determine int exp gain + IntelligenceProgramBaseExpGain: 0.1, // Program required hack level divided by this to determine int exp gain IntelligenceTerminalHackBaseExpGain: 200, // Hacking exp divided by this to determine int exp gain IntelligenceSingFnBaseExpGain: 1.5, IntelligenceClassBaseExpGain: 0.01, diff --git a/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx b/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx index 2397f2a89..e8f44ecec 100644 --- a/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx +++ b/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx @@ -1293,7 +1293,7 @@ export function finishCreateProgramWork(this: IPlayer, cancelled: boolean): stri } if (!cancelled) { - this.gainIntelligenceExp(this.createProgramReqLvl / CONSTANTS.IntelligenceProgramBaseExpGain); + this.gainIntelligenceExp(CONSTANTS.IntelligenceProgramBaseExpGain * this.timeWorked/1000); } this.isWorking = false; From 43fc5dfd489e3dc68febd73aa31392f46b190803 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Sat, 30 Oct 2021 12:34:14 -0400 Subject: [PATCH 5/6] work on doc --- api-extractor.json | 364 + dist/bitburner.d.ts | 4939 ++++ input/bitburner.api.json | 20752 ++++++++++++++++ ...rner.augmentationstats.agility_exp_mult.md | 13 + ...itburner.augmentationstats.agility_mult.md | 13 + ...entationstats.bladeburner_analysis_mult.md | 13 + ...ationstats.bladeburner_max_stamina_mult.md | 13 + ...tionstats.bladeburner_stamina_gain_mult.md | 13 + ...onstats.bladeburner_success_chance_mult.md | 13 + ...ner.augmentationstats.charisma_exp_mult.md | 13 + ...tburner.augmentationstats.charisma_mult.md | 13 + ...rner.augmentationstats.company_rep_mult.md | 13 + ...rner.augmentationstats.crime_money_mult.md | 13 + ...er.augmentationstats.crime_success_mult.md | 13 + ...rner.augmentationstats.defense_exp_mult.md | 13 + ...itburner.augmentationstats.defense_mult.md | 13 + ...er.augmentationstats.dexterity_exp_mult.md | 13 + ...burner.augmentationstats.dexterity_mult.md | 13 + ...rner.augmentationstats.faction_rep_mult.md | 13 + ...r.augmentationstats.hacking_chance_mult.md | 13 + ...rner.augmentationstats.hacking_exp_mult.md | 13 + ...ner.augmentationstats.hacking_grow_mult.md | 13 + ...er.augmentationstats.hacking_money_mult.md | 13 + ...itburner.augmentationstats.hacking_mult.md | 13 + ...er.augmentationstats.hacking_speed_mult.md | 13 + ...tationstats.hacknet_node_core_cost_mult.md | 13 + ...ationstats.hacknet_node_level_cost_mult.md | 13 + ...gmentationstats.hacknet_node_money_mult.md | 13 + ...onstats.hacknet_node_purchase_cost_mult.md | 13 + ...ntationstats.hacknet_node_ram_cost_mult.md | 13 + markdown/bitburner.augmentationstats.md | 48 + ...ner.augmentationstats.strength_exp_mult.md | 13 + ...tburner.augmentationstats.strength_mult.md | 13 + ...urner.augmentationstats.work_money_mult.md | 13 + markdown/bitburner.augmentname.md | 116 + markdown/bitburner.augmentpair.cost.md | 13 + markdown/bitburner.augmentpair.md | 20 + markdown/bitburner.augmentpair.name.md | 13 + markdown/bitburner.basichgwoptions.md | 19 + markdown/bitburner.basichgwoptions.threads.md | 13 + ...tnodemultipliers.agilitylevelmultiplier.md | 13 + ...itnodemultipliers.augmentationmoneycost.md | 13 + ....bitnodemultipliers.augmentationrepcost.md | 13 + ...rner.bitnodemultipliers.bladeburnerrank.md | 13 + ...bitnodemultipliers.bladeburnerskillcost.md | 13 + ...nodemultipliers.charismalevelmultiplier.md | 13 + ...rner.bitnodemultipliers.classgymexpgain.md | 13 + ....bitnodemultipliers.codingcontractmoney.md | 13 + ...r.bitnodemultipliers.companyworkexpgain.md | 13 + ...ner.bitnodemultipliers.companyworkmoney.md | 13 + ...bitnodemultipliers.corporationvaluation.md | 13 + ...tburner.bitnodemultipliers.crimeexpgain.md | 13 + ...bitburner.bitnodemultipliers.crimemoney.md | 13 + ...nodemultipliers.daedalusaugsrequirement.md | 13 + ...tnodemultipliers.defenselevelmultiplier.md | 13 + ...odemultipliers.dexteritylevelmultiplier.md | 13 + ...itnodemultipliers.factionpassiverepgain.md | 13 + ...r.bitnodemultipliers.factionworkexpgain.md | 13 + ...r.bitnodemultipliers.factionworkrepgain.md | 13 + ...emultipliers.foursigmamarketdataapicost.md | 13 + ...nodemultipliers.foursigmamarketdatacost.md | 13 + ...itburner.bitnodemultipliers.hackexpgain.md | 13 + ...tnodemultipliers.hackinglevelmultiplier.md | 13 + ...ner.bitnodemultipliers.hacknetnodemoney.md | 13 + ....bitnodemultipliers.homecomputerramcost.md | 13 + ...er.bitnodemultipliers.infiltrationmoney.md | 13 + ...rner.bitnodemultipliers.infiltrationrep.md | 13 + ...rner.bitnodemultipliers.manualhackmoney.md | 13 + markdown/bitburner.bitnodemultipliers.md | 57 + ....bitnodemultipliers.purchasedservercost.md | 13 + ...bitnodemultipliers.purchasedserverlimit.md | 13 + ...itnodemultipliers.purchasedservermaxram.md | 13 + ...bitnodemultipliers.reptodonatetofaction.md | 13 + ...rner.bitnodemultipliers.scripthackmoney.md | 13 + ...ner.bitnodemultipliers.servergrowthrate.md | 13 + ...urner.bitnodemultipliers.servermaxmoney.md | 13 + ....bitnodemultipliers.serverstartingmoney.md | 13 + ...tnodemultipliers.serverstartingsecurity.md | 13 + ...ner.bitnodemultipliers.serverweakenrate.md | 13 + ...nodemultipliers.strengthlevelmultiplier.md | 13 + ...itburner.bladeburner.getactionautolevel.md | 38 + ...ner.bladeburner.getactioncountremaining.md | 38 + ...urner.bladeburner.getactioncurrentlevel.md | 38 + ...eburner.getactionestimatedsuccesschance.md | 36 + ...bitburner.bladeburner.getactionmaxlevel.md | 38 + .../bitburner.bladeburner.getactionrepgain.md | 38 + .../bitburner.bladeburner.getactiontime.md | 36 + .../bitburner.bladeburner.getblackopnames.md | 25 + .../bitburner.bladeburner.getblackoprank.md | 34 + .../bitburner.bladeburner.getbonustime.md | 29 + markdown/bitburner.bladeburner.getcity.md | 25 + .../bitburner.bladeburner.getcitychaos.md | 32 + ...itburner.bladeburner.getcitycommunities.md | 32 + ....bladeburner.getcityestimatedpopulation.md | 32 + .../bitburner.bladeburner.getcontractnames.md | 25 + .../bitburner.bladeburner.getcurrentaction.md | 25 + ...urner.bladeburner.getgeneralactionnames.md | 25 + ...bitburner.bladeburner.getoperationnames.md | 25 + markdown/bitburner.bladeburner.getrank.md | 25 + .../bitburner.bladeburner.getskilllevel.md | 34 + .../bitburner.bladeburner.getskillnames.md | 25 + .../bitburner.bladeburner.getskillpoints.md | 25 + ...tburner.bladeburner.getskillupgradecost.md | 34 + markdown/bitburner.bladeburner.getstamina.md | 35 + markdown/bitburner.bladeburner.getteamsize.md | 38 + ...ner.bladeburner.joinbladeburnerdivision.md | 29 + ...rner.bladeburner.joinbladeburnerfaction.md | 29 + markdown/bitburner.bladeburner.md | 51 + ...itburner.bladeburner.setactionautolevel.md | 36 + .../bitburner.bladeburner.setactionlevel.md | 36 + markdown/bitburner.bladeburner.setteamsize.md | 40 + markdown/bitburner.bladeburner.startaction.md | 36 + ...urner.bladeburner.stopbladeburneraction.md | 23 + markdown/bitburner.bladeburner.switchcity.md | 34 + .../bitburner.bladeburner.upgradeskill.md | 34 + markdown/bitburner.bladeburneracttypes.md | 11 + markdown/bitburner.bladeburnerblackops.md | 32 + markdown/bitburner.bladeburnercontracts.md | 11 + markdown/bitburner.bladeburnercuraction.md | 20 + .../bitburner.bladeburnercuraction.name.md | 13 + .../bitburner.bladeburnercuraction.type.md | 13 + markdown/bitburner.bladeburnergenactions.md | 16 + markdown/bitburner.bladeburneroperations.md | 17 + markdown/bitburner.bladeburnerskills.md | 25 + markdown/bitburner.characterinfo.bitnode.md | 13 + markdown/bitburner.characterinfo.city.md | 13 + markdown/bitburner.characterinfo.company.md | 13 + markdown/bitburner.characterinfo.factions.md | 13 + markdown/bitburner.characterinfo.hp.md | 13 + markdown/bitburner.characterinfo.jobtitle.md | 13 + markdown/bitburner.characterinfo.maxhp.md | 13 + markdown/bitburner.characterinfo.md | 35 + markdown/bitburner.characterinfo.mult.md | 13 + .../bitburner.characterinfo.timeworked.md | 13 + markdown/bitburner.characterinfo.tor.md | 13 + .../bitburner.characterinfo.workagiexpgain.md | 13 + .../bitburner.characterinfo.workchaexpgain.md | 13 + .../bitburner.characterinfo.workdefexpgain.md | 13 + .../bitburner.characterinfo.workdexexpgain.md | 13 + ...bitburner.characterinfo.workhackexpgain.md | 13 + .../bitburner.characterinfo.workmoneygain.md | 13 + .../bitburner.characterinfo.workrepgain.md | 13 + .../bitburner.characterinfo.workstrexpgain.md | 13 + markdown/bitburner.charactermult.agility.md | 13 + .../bitburner.charactermult.agilityexp.md | 13 + .../bitburner.charactermult.companyrep.md | 13 + .../bitburner.charactermult.crimemoney.md | 13 + .../bitburner.charactermult.crimesuccess.md | 13 + markdown/bitburner.charactermult.defense.md | 13 + .../bitburner.charactermult.defenseexp.md | 13 + markdown/bitburner.charactermult.dexterity.md | 13 + .../bitburner.charactermult.dexterityexp.md | 13 + .../bitburner.charactermult.factionrep.md | 13 + markdown/bitburner.charactermult.hacking.md | 13 + .../bitburner.charactermult.hackingexp.md | 13 + markdown/bitburner.charactermult.md | 33 + markdown/bitburner.charactermult.strength.md | 13 + .../bitburner.charactermult.strengthexp.md | 13 + markdown/bitburner.charactermult.workmoney.md | 13 + markdown/bitburner.city.md | 11 + markdown/bitburner.codingattemptoptions.md | 19 + ...urner.codingattemptoptions.returnreward.md | 13 + markdown/bitburner.codingcontract.attempt.md | 32 + .../bitburner.codingcontract.attempt_1.md | 33 + ...itburner.codingcontract.getcontracttype.md | 31 + markdown/bitburner.codingcontract.getdata.md | 31 + ...bitburner.codingcontract.getdescription.md | 31 + ...ner.codingcontract.getnumtriesremaining.md | 31 + markdown/bitburner.codingcontract.md | 24 + markdown/bitburner.codingcontracttypes.md | 27 + markdown/bitburner.companyfield.md | 24 + markdown/bitburner.companyname.md | 60 + markdown/bitburner.creatableprogram.md | 13 + markdown/bitburner.crime.md | 23 + markdown/bitburner.crimestats.agility_exp.md | 13 + ...urner.crimestats.agility_success_weight.md | 13 + markdown/bitburner.crimestats.charisma_exp.md | 13 + ...rner.crimestats.charisma_success_weight.md | 13 + markdown/bitburner.crimestats.defense_exp.md | 13 + ...urner.crimestats.defense_success_weight.md | 13 + .../bitburner.crimestats.dexterity_exp.md | 13 + ...ner.crimestats.dexterity_success_weight.md | 13 + markdown/bitburner.crimestats.difficulty.md | 13 + markdown/bitburner.crimestats.hacking_exp.md | 13 + ...urner.crimestats.hacking_success_weight.md | 13 + .../bitburner.crimestats.intelligence_exp.md | 13 + markdown/bitburner.crimestats.karma.md | 13 + markdown/bitburner.crimestats.kills.md | 13 + markdown/bitburner.crimestats.md | 38 + markdown/bitburner.crimestats.money.md | 13 + markdown/bitburner.crimestats.name.md | 13 + markdown/bitburner.crimestats.strength_exp.md | 13 + ...rner.crimestats.strength_success_weight.md | 13 + markdown/bitburner.crimestats.time.md | 13 + markdown/bitburner.crimestats.type.md | 13 + markdown/bitburner.factionname.md | 43 + markdown/bitburner.factionwork.md | 11 + markdown/bitburner.gang.ascendmember.md | 32 + markdown/bitburner.gang.canrecruitmember.md | 25 + markdown/bitburner.gang.getbonustime.md | 29 + .../bitburner.gang.getchancetowinclash.md | 32 + markdown/bitburner.gang.getequipmentcost.md | 32 + markdown/bitburner.gang.getequipmentnames.md | 25 + markdown/bitburner.gang.getequipmentstats.md | 32 + markdown/bitburner.gang.getequipmenttype.md | 32 + markdown/bitburner.gang.getganginformation.md | 25 + .../bitburner.gang.getmemberinformation.md | 32 + markdown/bitburner.gang.getmembernames.md | 25 + .../bitburner.gang.getotherganginformation.md | 25 + markdown/bitburner.gang.gettasknames.md | 25 + markdown/bitburner.gang.gettaskstats.md | 32 + markdown/bitburner.gang.md | 36 + markdown/bitburner.gang.purchaseequipment.md | 33 + markdown/bitburner.gang.recruitmember.md | 34 + markdown/bitburner.gang.setmembertask.md | 33 + .../bitburner.gang.setterritorywarfare.md | 30 + markdown/bitburner.gangaugmentations.md | 22 + markdown/bitburner.gangequipment.md | 32 + markdown/bitburner.gangequipmentstats.agi.md | 13 + markdown/bitburner.gangequipmentstats.cha.md | 13 + markdown/bitburner.gangequipmentstats.def.md | 13 + markdown/bitburner.gangequipmentstats.dex.md | 13 + markdown/bitburner.gangequipmentstats.hack.md | 13 + markdown/bitburner.gangequipmentstats.md | 24 + markdown/bitburner.gangequipmentstats.str.md | 13 + markdown/bitburner.gangequipmenttype.md | 11 + markdown/bitburner.ganggeninfo.faction.md | 13 + markdown/bitburner.ganggeninfo.ishacking.md | 13 + markdown/bitburner.ganggeninfo.md | 28 + .../bitburner.ganggeninfo.moneygainrate.md | 13 + markdown/bitburner.ganggeninfo.power.md | 13 + markdown/bitburner.ganggeninfo.respect.md | 13 + .../bitburner.ganggeninfo.respectgainrate.md | 13 + markdown/bitburner.ganggeninfo.territory.md | 13 + ...burner.ganggeninfo.territoryclashchance.md | 13 + markdown/bitburner.ganggeninfo.wantedlevel.md | 13 + ...tburner.ganggeninfo.wantedlevelgainrate.md | 13 + markdown/bitburner.gangmemberascension.agi.md | 13 + markdown/bitburner.gangmemberascension.cha.md | 13 + markdown/bitburner.gangmemberascension.def.md | 13 + markdown/bitburner.gangmemberascension.dex.md | 13 + .../bitburner.gangmemberascension.hack.md | 13 + markdown/bitburner.gangmemberascension.md | 25 + .../bitburner.gangmemberascension.respect.md | 13 + markdown/bitburner.gangmemberascension.str.md | 13 + markdown/bitburner.gangmemberinfo.agility.md | 13 + ...ner.gangmemberinfo.agilityascensionmult.md | 13 + ...tburner.gangmemberinfo.agilityequipmult.md | 13 + .../bitburner.gangmemberinfo.augmentations.md | 13 + markdown/bitburner.gangmemberinfo.charisma.md | 13 + ...er.gangmemberinfo.charismaascensionmult.md | 13 + ...burner.gangmemberinfo.charismaequipmult.md | 13 + markdown/bitburner.gangmemberinfo.defense.md | 13 + ...ner.gangmemberinfo.defenseascensionmult.md | 13 + ...tburner.gangmemberinfo.defenseequipmult.md | 13 + .../bitburner.gangmemberinfo.dexterity.md | 13 + ...r.gangmemberinfo.dexterityascensionmult.md | 13 + ...urner.gangmemberinfo.dexterityequipmult.md | 13 + .../bitburner.gangmemberinfo.equipment.md | 13 + markdown/bitburner.gangmemberinfo.hacking.md | 13 + ...ner.gangmemberinfo.hackingascensionmult.md | 13 + ...tburner.gangmemberinfo.hackingequipmult.md | 13 + markdown/bitburner.gangmemberinfo.md | 39 + markdown/bitburner.gangmemberinfo.strength.md | 13 + ...er.gangmemberinfo.strengthascensionmult.md | 13 + ...burner.gangmemberinfo.strengthequipmult.md | 13 + markdown/bitburner.gangmemberinfo.task.md | 13 + markdown/bitburner.gangname.md | 18 + markdown/bitburner.gangotherinfo.md | 16 + markdown/bitburner.gangotherinfoobject.md | 20 + .../bitburner.gangotherinfoobject.power.md | 13 + ...bitburner.gangotherinfoobject.territory.md | 13 + markdown/bitburner.gangtasks.md | 35 + .../bitburner.gangtasksstats.agiweight.md | 13 + .../bitburner.gangtasksstats.basemoney.md | 13 + .../bitburner.gangtasksstats.baserespect.md | 13 + .../bitburner.gangtasksstats.basewanted.md | 13 + .../bitburner.gangtasksstats.chaweight.md | 13 + .../bitburner.gangtasksstats.defweight.md | 13 + markdown/bitburner.gangtasksstats.desc.md | 13 + .../bitburner.gangtasksstats.dexweight.md | 13 + .../bitburner.gangtasksstats.difficulty.md | 13 + .../bitburner.gangtasksstats.hackweight.md | 13 + markdown/bitburner.gangtasksstats.iscombat.md | 13 + .../bitburner.gangtasksstats.ishacking.md | 13 + markdown/bitburner.gangtasksstats.md | 33 + markdown/bitburner.gangtasksstats.name.md | 13 + .../bitburner.gangtasksstats.strweight.md | 13 + .../bitburner.gangtasksstats.territory.md | 13 + markdown/bitburner.gangtasksterritory.md | 21 + .../bitburner.gangtasksterritory.money.md | 13 + .../bitburner.gangtasksterritory.respect.md | 13 + .../bitburner.gangtasksterritory.wanted.md | 13 + markdown/bitburner.gym.md | 11 + markdown/bitburner.gymstat.md | 11 + .../bitburner.hackingmultipliers.chance.md | 13 + .../bitburner.hackingmultipliers.growth.md | 13 + markdown/bitburner.hackingmultipliers.md | 22 + .../bitburner.hackingmultipliers.money.md | 13 + .../bitburner.hackingmultipliers.speed.md | 13 + .../bitburner.hacknet.getcacheupgradecost.md | 35 + .../bitburner.hacknet.getcoreupgradecost.md | 33 + .../bitburner.hacknet.getlevelupgradecost.md | 33 + markdown/bitburner.hacknet.getnodestats.md | 32 + .../bitburner.hacknet.getpurchasenodecost.md | 23 + .../bitburner.hacknet.getramupgradecost.md | 33 + markdown/bitburner.hacknet.hashcost.md | 42 + markdown/bitburner.hacknet.md | 33 + markdown/bitburner.hacknet.numhashes.md | 25 + markdown/bitburner.hacknet.numnodes.md | 23 + markdown/bitburner.hacknet.purchasenode.md | 25 + markdown/bitburner.hacknet.spendhashes.md | 43 + markdown/bitburner.hacknet.upgradecache.md | 37 + markdown/bitburner.hacknet.upgradecore.md | 35 + markdown/bitburner.hacknet.upgradelevel.md | 35 + markdown/bitburner.hacknet.upgraderam.md | 35 + .../bitburner.hacknetmultipliers.corecost.md | 13 + .../bitburner.hacknetmultipliers.levelcost.md | 13 + markdown/bitburner.hacknetmultipliers.md | 23 + ...bitburner.hacknetmultipliers.production.md | 13 + ...tburner.hacknetmultipliers.purchasecost.md | 13 + .../bitburner.hacknetmultipliers.ramcost.md | 13 + markdown/bitburner.handle.md | 13 + markdown/bitburner.hashupgrades.md | 21 + markdown/bitburner.host.md | 11 + markdown/bitburner.md | 87 + markdown/bitburner.nodestats.cache.md | 13 + markdown/bitburner.nodestats.cores.md | 13 + markdown/bitburner.nodestats.hashcapacity.md | 13 + markdown/bitburner.nodestats.level.md | 13 + markdown/bitburner.nodestats.md | 27 + markdown/bitburner.nodestats.name.md | 13 + markdown/bitburner.nodestats.production.md | 13 + markdown/bitburner.nodestats.ram.md | 13 + markdown/bitburner.nodestats.timeonline.md | 13 + .../bitburner.nodestats.totalproduction.md | 13 + markdown/bitburner.ns.args.md | 25 + markdown/bitburner.ns.bladeburner.md | 16 + markdown/bitburner.ns.brutessh.md | 35 + markdown/bitburner.ns.clear.md | 32 + markdown/bitburner.ns.clearlog.md | 21 + markdown/bitburner.ns.codingcontract.md | 16 + markdown/bitburner.ns.deleteserver.md | 32 + markdown/bitburner.ns.disablelog.md | 32 + markdown/bitburner.ns.enablelog.md | 28 + markdown/bitburner.ns.exec.md | 63 + markdown/bitburner.ns.exit.md | 21 + markdown/bitburner.ns.fileexists.md | 49 + markdown/bitburner.ns.ftpcrack.md | 35 + markdown/bitburner.ns.gang.md | 16 + .../bitburner.ns.getbitnodemultipliers.md | 43 + markdown/bitburner.ns.getfavortodonate.md | 23 + markdown/bitburner.ns.getgrowtime.md | 32 + markdown/bitburner.ns.gethackinglevel.md | 23 + .../bitburner.ns.gethackingmultipliers.md | 33 + .../bitburner.ns.gethacknetmultipliers.md | 33 + markdown/bitburner.ns.gethacktime.md | 32 + markdown/bitburner.ns.gethostname.md | 23 + markdown/bitburner.ns.getporthandle.md | 32 + .../bitburner.ns.getpurchasedservercost.md | 39 + .../bitburner.ns.getpurchasedserverlimit.md | 23 + .../bitburner.ns.getpurchasedservermaxram.md | 23 + markdown/bitburner.ns.getpurchasedservers.md | 30 + markdown/bitburner.ns.getscriptexpgain.md | 34 + markdown/bitburner.ns.getscriptincome.md | 34 + markdown/bitburner.ns.getscriptlogs.md | 58 + markdown/bitburner.ns.getscriptname.md | 23 + markdown/bitburner.ns.getscriptram.md | 31 + markdown/bitburner.ns.getserver.md | 30 + ...bitburner.ns.getserverbasesecuritylevel.md | 30 + markdown/bitburner.ns.getservergrowth.md | 30 + markdown/bitburner.ns.getservermaxmoney.md | 30 + .../bitburner.ns.getserverminsecuritylevel.md | 30 + .../bitburner.ns.getservermoneyavailable.md | 38 + .../bitburner.ns.getservernumportsrequired.md | 30 + markdown/bitburner.ns.getserverram.md | 39 + ...burner.ns.getserverrequiredhackinglevel.md | 30 + .../bitburner.ns.getserversecuritylevel.md | 30 + markdown/bitburner.ns.gettimesincelastaug.md | 23 + markdown/bitburner.ns.getweakentime.md | 32 + markdown/bitburner.ns.grow.md | 41 + markdown/bitburner.ns.growthanalyze.md | 42 + .../bitburner.ns.growthanalyzesecurity.md | 30 + markdown/bitburner.ns.hack.md | 44 + markdown/bitburner.ns.hackanalyzepercent.md | 39 + markdown/bitburner.ns.hackanalyzesecurity.md | 30 + markdown/bitburner.ns.hackanalyzethreads.md | 42 + markdown/bitburner.ns.hackchance.md | 32 + markdown/bitburner.ns.hacknet.md | 22 + markdown/bitburner.ns.hasrootaccess.md | 39 + markdown/bitburner.ns.httpworm.md | 35 + markdown/bitburner.ns.islogenabled.md | 30 + markdown/bitburner.ns.isrunning.md | 56 + markdown/bitburner.ns.kill.md | 56 + markdown/bitburner.ns.kill_1.md | 39 + markdown/bitburner.ns.killall.md | 30 + markdown/bitburner.ns.ls.md | 31 + markdown/bitburner.ns.md | 120 + markdown/bitburner.ns.nformat.md | 31 + markdown/bitburner.ns.nuke.md | 35 + markdown/bitburner.ns.peek.md | 30 + markdown/bitburner.ns.print.md | 28 + markdown/bitburner.ns.prompt.md | 30 + markdown/bitburner.ns.ps.md | 44 + markdown/bitburner.ns.purchaseserver.md | 48 + markdown/bitburner.ns.read.md | 34 + markdown/bitburner.ns.relaysmtp.md | 35 + markdown/bitburner.ns.rm.md | 31 + markdown/bitburner.ns.run.md | 62 + markdown/bitburner.ns.scan.md | 31 + markdown/bitburner.ns.scp.md | 39 + markdown/bitburner.ns.scp_1.md | 54 + markdown/bitburner.ns.scriptkill.md | 31 + markdown/bitburner.ns.scriptrunning.md | 49 + markdown/bitburner.ns.serverexists.md | 30 + markdown/bitburner.ns.sleep.md | 29 + markdown/bitburner.ns.sleeve.md | 16 + markdown/bitburner.ns.spawn.md | 40 + markdown/bitburner.ns.sprintf.md | 31 + markdown/bitburner.ns.sqlinject.md | 35 + markdown/bitburner.ns.stock.md | 16 + markdown/bitburner.ns.tail.md | 58 + markdown/bitburner.ns.tprint.md | 28 + markdown/bitburner.ns.trywrite.md | 31 + markdown/bitburner.ns.vsprintf.md | 31 + markdown/bitburner.ns.weaken.md | 41 + markdown/bitburner.ns.weakenanalyze.md | 31 + markdown/bitburner.ns.wget.md | 43 + markdown/bitburner.ns.write.md | 34 + markdown/bitburner.orderpos.md | 11 + markdown/bitburner.ordertype.md | 11 + markdown/bitburner.playerstats.agility.md | 13 + markdown/bitburner.playerstats.charisma.md | 13 + markdown/bitburner.playerstats.defense.md | 13 + markdown/bitburner.playerstats.dexterity.md | 13 + markdown/bitburner.playerstats.hacking.md | 13 + .../bitburner.playerstats.intelligence.md | 13 + markdown/bitburner.playerstats.md | 25 + markdown/bitburner.playerstats.strength.md | 13 + markdown/bitburner.port.md | 15 + markdown/bitburner.processinfo.args.md | 13 + markdown/bitburner.processinfo.filename.md | 13 + markdown/bitburner.processinfo.md | 21 + markdown/bitburner.processinfo.threads.md | 13 + markdown/bitburner.purchaseableprogram.md | 19 + markdown/bitburner.script.md | 11 + markdown/bitburner.server.cpucores.md | 11 + markdown/bitburner.server.ftpportopen.md | 11 + markdown/bitburner.server.hasadminrights.md | 11 + markdown/bitburner.server.hostname.md | 11 + markdown/bitburner.server.httpportopen.md | 11 + markdown/bitburner.server.ip.md | 11 + markdown/bitburner.server.isconnectedto.md | 11 + markdown/bitburner.server.maxram.md | 11 + markdown/bitburner.server.md | 31 + markdown/bitburner.server.organizationname.md | 11 + markdown/bitburner.server.ramused.md | 11 + markdown/bitburner.server.smtpportopen.md | 11 + markdown/bitburner.server.sqlportopen.md | 11 + markdown/bitburner.server.sshportopen.md | 11 + .../bitburner.singularity.applytocompany.md | 35 + ...ner.singularity.checkfactioninvitations.md | 25 + markdown/bitburner.singularity.commitcrime.md | 36 + .../bitburner.singularity.createprogram.md | 43 + .../bitburner.singularity.donatetofaction.md | 33 + ...tburner.singularity.getaugmentationcost.md | 34 + ...urner.singularity.getaugmentationprereq.md | 32 + ...singularity.getaugmentationsfromfaction.md | 32 + ...burner.singularity.getaugmentationstats.md | 32 + ...ner.singularity.getcharacterinformation.md | 25 + .../bitburner.singularity.getcompanyfavor.md | 32 + ...tburner.singularity.getcompanyfavorgain.md | 32 + .../bitburner.singularity.getcompanyrep.md | 32 + .../bitburner.singularity.getcrimechance.md | 32 + .../bitburner.singularity.getcrimestats.md | 32 + .../bitburner.singularity.getfactionfavor.md | 32 + ...tburner.singularity.getfactionfavorgain.md | 32 + .../bitburner.singularity.getfactionrep.md | 32 + ...urner.singularity.getownedaugmentations.md | 32 + ...tburner.singularity.getownedsourcefiles.md | 25 + markdown/bitburner.singularity.getstats.md | 33 + ...urner.singularity.getupgradehomeramcost.md | 25 + markdown/bitburner.singularity.gymworkout.md | 35 + ...burner.singularity.installaugmentations.md | 30 + markdown/bitburner.singularity.isbusy.md | 25 + markdown/bitburner.singularity.joinfaction.md | 32 + markdown/bitburner.singularity.md | 54 + ...burner.singularity.purchaseaugmentation.md | 35 + .../bitburner.singularity.purchaseprogram.md | 39 + markdown/bitburner.singularity.purchasetor.md | 25 + markdown/bitburner.singularity.softreset.md | 23 + markdown/bitburner.singularity.stopaction.md | 31 + .../bitburner.singularity.traveltocity.md | 32 + .../bitburner.singularity.universitycourse.md | 35 + .../bitburner.singularity.upgradehomeram.md | 27 + .../bitburner.singularity.workforcompany.md | 48 + .../bitburner.singularity.workforfaction.md | 49 + markdown/bitburner.sleeve.getinformation.md | 32 + markdown/bitburner.sleeve.getnumsleeves.md | 25 + ...bitburner.sleeve.getsleeveaugmentations.md | 32 + ...tburner.sleeve.getsleevepurchasableaugs.md | 32 + markdown/bitburner.sleeve.getsleevestats.md | 32 + markdown/bitburner.sleeve.gettask.md | 32 + markdown/bitburner.sleeve.md | 33 + .../bitburner.sleeve.purchasesleeveaug.md | 33 + markdown/bitburner.sleeve.settocommitcrime.md | 35 + markdown/bitburner.sleeve.settocompanywork.md | 33 + markdown/bitburner.sleeve.settofactionwork.md | 34 + markdown/bitburner.sleeve.settogymworkout.md | 34 + .../bitburner.sleeve.settoshockrecovery.md | 32 + markdown/bitburner.sleeve.settosynchronize.md | 32 + .../bitburner.sleeve.settouniversitycourse.md | 34 + markdown/bitburner.sleeve.travel.md | 33 + markdown/bitburner.sleeveinformation.city.md | 13 + ...ner.sleeveinformation.earningsforplayer.md | 13 + ...er.sleeveinformation.earningsforsleeves.md | 13 + ...urner.sleeveinformation.earningsfortask.md | 13 + markdown/bitburner.sleeveinformation.hp.md | 13 + markdown/bitburner.sleeveinformation.jobs.md | 13 + .../bitburner.sleeveinformation.jobtitle.md | 13 + markdown/bitburner.sleeveinformation.maxhp.md | 13 + markdown/bitburner.sleeveinformation.md | 30 + markdown/bitburner.sleeveinformation.mult.md | 13 + .../bitburner.sleeveinformation.timeworked.md | 13 + markdown/bitburner.sleeveinformation.tor.md | 13 + ...bitburner.sleeveinformation.workrepgain.md | 13 + markdown/bitburner.sleevestats.agility.md | 13 + markdown/bitburner.sleevestats.charisma.md | 13 + markdown/bitburner.sleevestats.defense.md | 13 + markdown/bitburner.sleevestats.dexterity.md | 13 + .../bitburner.sleevestats.hacking_skill.md | 13 + markdown/bitburner.sleevestats.md | 26 + markdown/bitburner.sleevestats.shock.md | 114 + markdown/bitburner.sleevestats.strength.md | 13 + markdown/bitburner.sleevestats.sync.md | 114 + markdown/bitburner.sleevetask.crime.md | 13 + .../bitburner.sleevetask.factionworktype.md | 13 + markdown/bitburner.sleevetask.gymstattype.md | 13 + markdown/bitburner.sleevetask.location.md | 13 + markdown/bitburner.sleevetask.md | 23 + markdown/bitburner.sleevetask.task.md | 13 + markdown/bitburner.sleeveworkgains.md | 25 + ...itburner.sleeveworkgains.workagiexpgain.md | 13 + ...itburner.sleeveworkgains.workchaexpgain.md | 13 + ...itburner.sleeveworkgains.workdefexpgain.md | 13 + ...itburner.sleeveworkgains.workdexexpgain.md | 13 + ...tburner.sleeveworkgains.workhackexpgain.md | 13 + ...bitburner.sleeveworkgains.workmoneygain.md | 13 + ...itburner.sleeveworkgains.workstrexpgain.md | 13 + markdown/bitburner.sourcefilelvl.lvl.md | 13 + markdown/bitburner.sourcefilelvl.md | 20 + markdown/bitburner.sourcefilelvl.n.md | 13 + markdown/bitburner.stockorder.md | 16 + markdown/bitburner.stockorderobject.md | 22 + .../bitburner.stockorderobject.position.md | 13 + markdown/bitburner.stockorderobject.price.md | 13 + markdown/bitburner.stockorderobject.shares.md | 13 + markdown/bitburner.stockorderobject.type.md | 13 + markdown/bitburner.stocksymbol.md | 44 + markdown/bitburner.tix.buy.md | 35 + markdown/bitburner.tix.cancelorder.md | 34 + markdown/bitburner.tix.getaskprice.md | 30 + markdown/bitburner.tix.getbidprice.md | 30 + markdown/bitburner.tix.getforecast.md | 36 + markdown/bitburner.tix.getmaxshares.md | 30 + markdown/bitburner.tix.getorders.md | 78 + markdown/bitburner.tix.getposition.md | 47 + markdown/bitburner.tix.getprice.md | 39 + markdown/bitburner.tix.getpurchasecost.md | 32 + markdown/bitburner.tix.getsalegain.md | 32 + markdown/bitburner.tix.getsymbols.md | 23 + markdown/bitburner.tix.getvolatility.md | 34 + markdown/bitburner.tix.md | 58 + markdown/bitburner.tix.placeorder.md | 38 + .../bitburner.tix.purchase4smarketdata.md | 25 + ...itburner.tix.purchase4smarketdatatixapi.md | 25 + markdown/bitburner.tix.sell.md | 39 + markdown/bitburner.tix.sellshort.md | 37 + markdown/bitburner.tix.short.md | 37 + markdown/bitburner.university.md | 11 + markdown/bitburner.universitycourse.md | 17 + markdown/index.md | 12 + package-lock.json | 911 +- package.json | 2 + ...finitions.ts => NetscriptDefinitions.d.ts} | 2057 +- src/ScriptEditor/ui/ScriptEditorRoot.tsx | 2 +- temp/bitburner.api.json | 20752 ++++++++++++++++ temp/bitburner.api.md | 1590 ++ tsdoc-metadata.json | 11 + 589 files changed, 63720 insertions(+), 1168 deletions(-) create mode 100644 api-extractor.json create mode 100644 dist/bitburner.d.ts create mode 100644 input/bitburner.api.json create mode 100644 markdown/bitburner.augmentationstats.agility_exp_mult.md create mode 100644 markdown/bitburner.augmentationstats.agility_mult.md create mode 100644 markdown/bitburner.augmentationstats.bladeburner_analysis_mult.md create mode 100644 markdown/bitburner.augmentationstats.bladeburner_max_stamina_mult.md create mode 100644 markdown/bitburner.augmentationstats.bladeburner_stamina_gain_mult.md create mode 100644 markdown/bitburner.augmentationstats.bladeburner_success_chance_mult.md create mode 100644 markdown/bitburner.augmentationstats.charisma_exp_mult.md create mode 100644 markdown/bitburner.augmentationstats.charisma_mult.md create mode 100644 markdown/bitburner.augmentationstats.company_rep_mult.md create mode 100644 markdown/bitburner.augmentationstats.crime_money_mult.md create mode 100644 markdown/bitburner.augmentationstats.crime_success_mult.md create mode 100644 markdown/bitburner.augmentationstats.defense_exp_mult.md create mode 100644 markdown/bitburner.augmentationstats.defense_mult.md create mode 100644 markdown/bitburner.augmentationstats.dexterity_exp_mult.md create mode 100644 markdown/bitburner.augmentationstats.dexterity_mult.md create mode 100644 markdown/bitburner.augmentationstats.faction_rep_mult.md create mode 100644 markdown/bitburner.augmentationstats.hacking_chance_mult.md create mode 100644 markdown/bitburner.augmentationstats.hacking_exp_mult.md create mode 100644 markdown/bitburner.augmentationstats.hacking_grow_mult.md create mode 100644 markdown/bitburner.augmentationstats.hacking_money_mult.md create mode 100644 markdown/bitburner.augmentationstats.hacking_mult.md create mode 100644 markdown/bitburner.augmentationstats.hacking_speed_mult.md create mode 100644 markdown/bitburner.augmentationstats.hacknet_node_core_cost_mult.md create mode 100644 markdown/bitburner.augmentationstats.hacknet_node_level_cost_mult.md create mode 100644 markdown/bitburner.augmentationstats.hacknet_node_money_mult.md create mode 100644 markdown/bitburner.augmentationstats.hacknet_node_purchase_cost_mult.md create mode 100644 markdown/bitburner.augmentationstats.hacknet_node_ram_cost_mult.md create mode 100644 markdown/bitburner.augmentationstats.md create mode 100644 markdown/bitburner.augmentationstats.strength_exp_mult.md create mode 100644 markdown/bitburner.augmentationstats.strength_mult.md create mode 100644 markdown/bitburner.augmentationstats.work_money_mult.md create mode 100644 markdown/bitburner.augmentname.md create mode 100644 markdown/bitburner.augmentpair.cost.md create mode 100644 markdown/bitburner.augmentpair.md create mode 100644 markdown/bitburner.augmentpair.name.md create mode 100644 markdown/bitburner.basichgwoptions.md create mode 100644 markdown/bitburner.basichgwoptions.threads.md create mode 100644 markdown/bitburner.bitnodemultipliers.agilitylevelmultiplier.md create mode 100644 markdown/bitburner.bitnodemultipliers.augmentationmoneycost.md create mode 100644 markdown/bitburner.bitnodemultipliers.augmentationrepcost.md create mode 100644 markdown/bitburner.bitnodemultipliers.bladeburnerrank.md create mode 100644 markdown/bitburner.bitnodemultipliers.bladeburnerskillcost.md create mode 100644 markdown/bitburner.bitnodemultipliers.charismalevelmultiplier.md create mode 100644 markdown/bitburner.bitnodemultipliers.classgymexpgain.md create mode 100644 markdown/bitburner.bitnodemultipliers.codingcontractmoney.md create mode 100644 markdown/bitburner.bitnodemultipliers.companyworkexpgain.md create mode 100644 markdown/bitburner.bitnodemultipliers.companyworkmoney.md create mode 100644 markdown/bitburner.bitnodemultipliers.corporationvaluation.md create mode 100644 markdown/bitburner.bitnodemultipliers.crimeexpgain.md create mode 100644 markdown/bitburner.bitnodemultipliers.crimemoney.md create mode 100644 markdown/bitburner.bitnodemultipliers.daedalusaugsrequirement.md create mode 100644 markdown/bitburner.bitnodemultipliers.defenselevelmultiplier.md create mode 100644 markdown/bitburner.bitnodemultipliers.dexteritylevelmultiplier.md create mode 100644 markdown/bitburner.bitnodemultipliers.factionpassiverepgain.md create mode 100644 markdown/bitburner.bitnodemultipliers.factionworkexpgain.md create mode 100644 markdown/bitburner.bitnodemultipliers.factionworkrepgain.md create mode 100644 markdown/bitburner.bitnodemultipliers.foursigmamarketdataapicost.md create mode 100644 markdown/bitburner.bitnodemultipliers.foursigmamarketdatacost.md create mode 100644 markdown/bitburner.bitnodemultipliers.hackexpgain.md create mode 100644 markdown/bitburner.bitnodemultipliers.hackinglevelmultiplier.md create mode 100644 markdown/bitburner.bitnodemultipliers.hacknetnodemoney.md create mode 100644 markdown/bitburner.bitnodemultipliers.homecomputerramcost.md create mode 100644 markdown/bitburner.bitnodemultipliers.infiltrationmoney.md create mode 100644 markdown/bitburner.bitnodemultipliers.infiltrationrep.md create mode 100644 markdown/bitburner.bitnodemultipliers.manualhackmoney.md create mode 100644 markdown/bitburner.bitnodemultipliers.md create mode 100644 markdown/bitburner.bitnodemultipliers.purchasedservercost.md create mode 100644 markdown/bitburner.bitnodemultipliers.purchasedserverlimit.md create mode 100644 markdown/bitburner.bitnodemultipliers.purchasedservermaxram.md create mode 100644 markdown/bitburner.bitnodemultipliers.reptodonatetofaction.md create mode 100644 markdown/bitburner.bitnodemultipliers.scripthackmoney.md create mode 100644 markdown/bitburner.bitnodemultipliers.servergrowthrate.md create mode 100644 markdown/bitburner.bitnodemultipliers.servermaxmoney.md create mode 100644 markdown/bitburner.bitnodemultipliers.serverstartingmoney.md create mode 100644 markdown/bitburner.bitnodemultipliers.serverstartingsecurity.md create mode 100644 markdown/bitburner.bitnodemultipliers.serverweakenrate.md create mode 100644 markdown/bitburner.bitnodemultipliers.strengthlevelmultiplier.md create mode 100644 markdown/bitburner.bladeburner.getactionautolevel.md create mode 100644 markdown/bitburner.bladeburner.getactioncountremaining.md create mode 100644 markdown/bitburner.bladeburner.getactioncurrentlevel.md create mode 100644 markdown/bitburner.bladeburner.getactionestimatedsuccesschance.md create mode 100644 markdown/bitburner.bladeburner.getactionmaxlevel.md create mode 100644 markdown/bitburner.bladeburner.getactionrepgain.md create mode 100644 markdown/bitburner.bladeburner.getactiontime.md create mode 100644 markdown/bitburner.bladeburner.getblackopnames.md create mode 100644 markdown/bitburner.bladeburner.getblackoprank.md create mode 100644 markdown/bitburner.bladeburner.getbonustime.md create mode 100644 markdown/bitburner.bladeburner.getcity.md create mode 100644 markdown/bitburner.bladeburner.getcitychaos.md create mode 100644 markdown/bitburner.bladeburner.getcitycommunities.md create mode 100644 markdown/bitburner.bladeburner.getcityestimatedpopulation.md create mode 100644 markdown/bitburner.bladeburner.getcontractnames.md create mode 100644 markdown/bitburner.bladeburner.getcurrentaction.md create mode 100644 markdown/bitburner.bladeburner.getgeneralactionnames.md create mode 100644 markdown/bitburner.bladeburner.getoperationnames.md create mode 100644 markdown/bitburner.bladeburner.getrank.md create mode 100644 markdown/bitburner.bladeburner.getskilllevel.md create mode 100644 markdown/bitburner.bladeburner.getskillnames.md create mode 100644 markdown/bitburner.bladeburner.getskillpoints.md create mode 100644 markdown/bitburner.bladeburner.getskillupgradecost.md create mode 100644 markdown/bitburner.bladeburner.getstamina.md create mode 100644 markdown/bitburner.bladeburner.getteamsize.md create mode 100644 markdown/bitburner.bladeburner.joinbladeburnerdivision.md create mode 100644 markdown/bitburner.bladeburner.joinbladeburnerfaction.md create mode 100644 markdown/bitburner.bladeburner.md create mode 100644 markdown/bitburner.bladeburner.setactionautolevel.md create mode 100644 markdown/bitburner.bladeburner.setactionlevel.md create mode 100644 markdown/bitburner.bladeburner.setteamsize.md create mode 100644 markdown/bitburner.bladeburner.startaction.md create mode 100644 markdown/bitburner.bladeburner.stopbladeburneraction.md create mode 100644 markdown/bitburner.bladeburner.switchcity.md create mode 100644 markdown/bitburner.bladeburner.upgradeskill.md create mode 100644 markdown/bitburner.bladeburneracttypes.md create mode 100644 markdown/bitburner.bladeburnerblackops.md create mode 100644 markdown/bitburner.bladeburnercontracts.md create mode 100644 markdown/bitburner.bladeburnercuraction.md create mode 100644 markdown/bitburner.bladeburnercuraction.name.md create mode 100644 markdown/bitburner.bladeburnercuraction.type.md create mode 100644 markdown/bitburner.bladeburnergenactions.md create mode 100644 markdown/bitburner.bladeburneroperations.md create mode 100644 markdown/bitburner.bladeburnerskills.md create mode 100644 markdown/bitburner.characterinfo.bitnode.md create mode 100644 markdown/bitburner.characterinfo.city.md create mode 100644 markdown/bitburner.characterinfo.company.md create mode 100644 markdown/bitburner.characterinfo.factions.md create mode 100644 markdown/bitburner.characterinfo.hp.md create mode 100644 markdown/bitburner.characterinfo.jobtitle.md create mode 100644 markdown/bitburner.characterinfo.maxhp.md create mode 100644 markdown/bitburner.characterinfo.md create mode 100644 markdown/bitburner.characterinfo.mult.md create mode 100644 markdown/bitburner.characterinfo.timeworked.md create mode 100644 markdown/bitburner.characterinfo.tor.md create mode 100644 markdown/bitburner.characterinfo.workagiexpgain.md create mode 100644 markdown/bitburner.characterinfo.workchaexpgain.md create mode 100644 markdown/bitburner.characterinfo.workdefexpgain.md create mode 100644 markdown/bitburner.characterinfo.workdexexpgain.md create mode 100644 markdown/bitburner.characterinfo.workhackexpgain.md create mode 100644 markdown/bitburner.characterinfo.workmoneygain.md create mode 100644 markdown/bitburner.characterinfo.workrepgain.md create mode 100644 markdown/bitburner.characterinfo.workstrexpgain.md create mode 100644 markdown/bitburner.charactermult.agility.md create mode 100644 markdown/bitburner.charactermult.agilityexp.md create mode 100644 markdown/bitburner.charactermult.companyrep.md create mode 100644 markdown/bitburner.charactermult.crimemoney.md create mode 100644 markdown/bitburner.charactermult.crimesuccess.md create mode 100644 markdown/bitburner.charactermult.defense.md create mode 100644 markdown/bitburner.charactermult.defenseexp.md create mode 100644 markdown/bitburner.charactermult.dexterity.md create mode 100644 markdown/bitburner.charactermult.dexterityexp.md create mode 100644 markdown/bitburner.charactermult.factionrep.md create mode 100644 markdown/bitburner.charactermult.hacking.md create mode 100644 markdown/bitburner.charactermult.hackingexp.md create mode 100644 markdown/bitburner.charactermult.md create mode 100644 markdown/bitburner.charactermult.strength.md create mode 100644 markdown/bitburner.charactermult.strengthexp.md create mode 100644 markdown/bitburner.charactermult.workmoney.md create mode 100644 markdown/bitburner.city.md create mode 100644 markdown/bitburner.codingattemptoptions.md create mode 100644 markdown/bitburner.codingattemptoptions.returnreward.md create mode 100644 markdown/bitburner.codingcontract.attempt.md create mode 100644 markdown/bitburner.codingcontract.attempt_1.md create mode 100644 markdown/bitburner.codingcontract.getcontracttype.md create mode 100644 markdown/bitburner.codingcontract.getdata.md create mode 100644 markdown/bitburner.codingcontract.getdescription.md create mode 100644 markdown/bitburner.codingcontract.getnumtriesremaining.md create mode 100644 markdown/bitburner.codingcontract.md create mode 100644 markdown/bitburner.codingcontracttypes.md create mode 100644 markdown/bitburner.companyfield.md create mode 100644 markdown/bitburner.companyname.md create mode 100644 markdown/bitburner.creatableprogram.md create mode 100644 markdown/bitburner.crime.md create mode 100644 markdown/bitburner.crimestats.agility_exp.md create mode 100644 markdown/bitburner.crimestats.agility_success_weight.md create mode 100644 markdown/bitburner.crimestats.charisma_exp.md create mode 100644 markdown/bitburner.crimestats.charisma_success_weight.md create mode 100644 markdown/bitburner.crimestats.defense_exp.md create mode 100644 markdown/bitburner.crimestats.defense_success_weight.md create mode 100644 markdown/bitburner.crimestats.dexterity_exp.md create mode 100644 markdown/bitburner.crimestats.dexterity_success_weight.md create mode 100644 markdown/bitburner.crimestats.difficulty.md create mode 100644 markdown/bitburner.crimestats.hacking_exp.md create mode 100644 markdown/bitburner.crimestats.hacking_success_weight.md create mode 100644 markdown/bitburner.crimestats.intelligence_exp.md create mode 100644 markdown/bitburner.crimestats.karma.md create mode 100644 markdown/bitburner.crimestats.kills.md create mode 100644 markdown/bitburner.crimestats.md create mode 100644 markdown/bitburner.crimestats.money.md create mode 100644 markdown/bitburner.crimestats.name.md create mode 100644 markdown/bitburner.crimestats.strength_exp.md create mode 100644 markdown/bitburner.crimestats.strength_success_weight.md create mode 100644 markdown/bitburner.crimestats.time.md create mode 100644 markdown/bitburner.crimestats.type.md create mode 100644 markdown/bitburner.factionname.md create mode 100644 markdown/bitburner.factionwork.md create mode 100644 markdown/bitburner.gang.ascendmember.md create mode 100644 markdown/bitburner.gang.canrecruitmember.md create mode 100644 markdown/bitburner.gang.getbonustime.md create mode 100644 markdown/bitburner.gang.getchancetowinclash.md create mode 100644 markdown/bitburner.gang.getequipmentcost.md create mode 100644 markdown/bitburner.gang.getequipmentnames.md create mode 100644 markdown/bitburner.gang.getequipmentstats.md create mode 100644 markdown/bitburner.gang.getequipmenttype.md create mode 100644 markdown/bitburner.gang.getganginformation.md create mode 100644 markdown/bitburner.gang.getmemberinformation.md create mode 100644 markdown/bitburner.gang.getmembernames.md create mode 100644 markdown/bitburner.gang.getotherganginformation.md create mode 100644 markdown/bitburner.gang.gettasknames.md create mode 100644 markdown/bitburner.gang.gettaskstats.md create mode 100644 markdown/bitburner.gang.md create mode 100644 markdown/bitburner.gang.purchaseequipment.md create mode 100644 markdown/bitburner.gang.recruitmember.md create mode 100644 markdown/bitburner.gang.setmembertask.md create mode 100644 markdown/bitburner.gang.setterritorywarfare.md create mode 100644 markdown/bitburner.gangaugmentations.md create mode 100644 markdown/bitburner.gangequipment.md create mode 100644 markdown/bitburner.gangequipmentstats.agi.md create mode 100644 markdown/bitburner.gangequipmentstats.cha.md create mode 100644 markdown/bitburner.gangequipmentstats.def.md create mode 100644 markdown/bitburner.gangequipmentstats.dex.md create mode 100644 markdown/bitburner.gangequipmentstats.hack.md create mode 100644 markdown/bitburner.gangequipmentstats.md create mode 100644 markdown/bitburner.gangequipmentstats.str.md create mode 100644 markdown/bitburner.gangequipmenttype.md create mode 100644 markdown/bitburner.ganggeninfo.faction.md create mode 100644 markdown/bitburner.ganggeninfo.ishacking.md create mode 100644 markdown/bitburner.ganggeninfo.md create mode 100644 markdown/bitburner.ganggeninfo.moneygainrate.md create mode 100644 markdown/bitburner.ganggeninfo.power.md create mode 100644 markdown/bitburner.ganggeninfo.respect.md create mode 100644 markdown/bitburner.ganggeninfo.respectgainrate.md create mode 100644 markdown/bitburner.ganggeninfo.territory.md create mode 100644 markdown/bitburner.ganggeninfo.territoryclashchance.md create mode 100644 markdown/bitburner.ganggeninfo.wantedlevel.md create mode 100644 markdown/bitburner.ganggeninfo.wantedlevelgainrate.md create mode 100644 markdown/bitburner.gangmemberascension.agi.md create mode 100644 markdown/bitburner.gangmemberascension.cha.md create mode 100644 markdown/bitburner.gangmemberascension.def.md create mode 100644 markdown/bitburner.gangmemberascension.dex.md create mode 100644 markdown/bitburner.gangmemberascension.hack.md create mode 100644 markdown/bitburner.gangmemberascension.md create mode 100644 markdown/bitburner.gangmemberascension.respect.md create mode 100644 markdown/bitburner.gangmemberascension.str.md create mode 100644 markdown/bitburner.gangmemberinfo.agility.md create mode 100644 markdown/bitburner.gangmemberinfo.agilityascensionmult.md create mode 100644 markdown/bitburner.gangmemberinfo.agilityequipmult.md create mode 100644 markdown/bitburner.gangmemberinfo.augmentations.md create mode 100644 markdown/bitburner.gangmemberinfo.charisma.md create mode 100644 markdown/bitburner.gangmemberinfo.charismaascensionmult.md create mode 100644 markdown/bitburner.gangmemberinfo.charismaequipmult.md create mode 100644 markdown/bitburner.gangmemberinfo.defense.md create mode 100644 markdown/bitburner.gangmemberinfo.defenseascensionmult.md create mode 100644 markdown/bitburner.gangmemberinfo.defenseequipmult.md create mode 100644 markdown/bitburner.gangmemberinfo.dexterity.md create mode 100644 markdown/bitburner.gangmemberinfo.dexterityascensionmult.md create mode 100644 markdown/bitburner.gangmemberinfo.dexterityequipmult.md create mode 100644 markdown/bitburner.gangmemberinfo.equipment.md create mode 100644 markdown/bitburner.gangmemberinfo.hacking.md create mode 100644 markdown/bitburner.gangmemberinfo.hackingascensionmult.md create mode 100644 markdown/bitburner.gangmemberinfo.hackingequipmult.md create mode 100644 markdown/bitburner.gangmemberinfo.md create mode 100644 markdown/bitburner.gangmemberinfo.strength.md create mode 100644 markdown/bitburner.gangmemberinfo.strengthascensionmult.md create mode 100644 markdown/bitburner.gangmemberinfo.strengthequipmult.md create mode 100644 markdown/bitburner.gangmemberinfo.task.md create mode 100644 markdown/bitburner.gangname.md create mode 100644 markdown/bitburner.gangotherinfo.md create mode 100644 markdown/bitburner.gangotherinfoobject.md create mode 100644 markdown/bitburner.gangotherinfoobject.power.md create mode 100644 markdown/bitburner.gangotherinfoobject.territory.md create mode 100644 markdown/bitburner.gangtasks.md create mode 100644 markdown/bitburner.gangtasksstats.agiweight.md create mode 100644 markdown/bitburner.gangtasksstats.basemoney.md create mode 100644 markdown/bitburner.gangtasksstats.baserespect.md create mode 100644 markdown/bitburner.gangtasksstats.basewanted.md create mode 100644 markdown/bitburner.gangtasksstats.chaweight.md create mode 100644 markdown/bitburner.gangtasksstats.defweight.md create mode 100644 markdown/bitburner.gangtasksstats.desc.md create mode 100644 markdown/bitburner.gangtasksstats.dexweight.md create mode 100644 markdown/bitburner.gangtasksstats.difficulty.md create mode 100644 markdown/bitburner.gangtasksstats.hackweight.md create mode 100644 markdown/bitburner.gangtasksstats.iscombat.md create mode 100644 markdown/bitburner.gangtasksstats.ishacking.md create mode 100644 markdown/bitburner.gangtasksstats.md create mode 100644 markdown/bitburner.gangtasksstats.name.md create mode 100644 markdown/bitburner.gangtasksstats.strweight.md create mode 100644 markdown/bitburner.gangtasksstats.territory.md create mode 100644 markdown/bitburner.gangtasksterritory.md create mode 100644 markdown/bitburner.gangtasksterritory.money.md create mode 100644 markdown/bitburner.gangtasksterritory.respect.md create mode 100644 markdown/bitburner.gangtasksterritory.wanted.md create mode 100644 markdown/bitburner.gym.md create mode 100644 markdown/bitburner.gymstat.md create mode 100644 markdown/bitburner.hackingmultipliers.chance.md create mode 100644 markdown/bitburner.hackingmultipliers.growth.md create mode 100644 markdown/bitburner.hackingmultipliers.md create mode 100644 markdown/bitburner.hackingmultipliers.money.md create mode 100644 markdown/bitburner.hackingmultipliers.speed.md create mode 100644 markdown/bitburner.hacknet.getcacheupgradecost.md create mode 100644 markdown/bitburner.hacknet.getcoreupgradecost.md create mode 100644 markdown/bitburner.hacknet.getlevelupgradecost.md create mode 100644 markdown/bitburner.hacknet.getnodestats.md create mode 100644 markdown/bitburner.hacknet.getpurchasenodecost.md create mode 100644 markdown/bitburner.hacknet.getramupgradecost.md create mode 100644 markdown/bitburner.hacknet.hashcost.md create mode 100644 markdown/bitburner.hacknet.md create mode 100644 markdown/bitburner.hacknet.numhashes.md create mode 100644 markdown/bitburner.hacknet.numnodes.md create mode 100644 markdown/bitburner.hacknet.purchasenode.md create mode 100644 markdown/bitburner.hacknet.spendhashes.md create mode 100644 markdown/bitburner.hacknet.upgradecache.md create mode 100644 markdown/bitburner.hacknet.upgradecore.md create mode 100644 markdown/bitburner.hacknet.upgradelevel.md create mode 100644 markdown/bitburner.hacknet.upgraderam.md create mode 100644 markdown/bitburner.hacknetmultipliers.corecost.md create mode 100644 markdown/bitburner.hacknetmultipliers.levelcost.md create mode 100644 markdown/bitburner.hacknetmultipliers.md create mode 100644 markdown/bitburner.hacknetmultipliers.production.md create mode 100644 markdown/bitburner.hacknetmultipliers.purchasecost.md create mode 100644 markdown/bitburner.hacknetmultipliers.ramcost.md create mode 100644 markdown/bitburner.handle.md create mode 100644 markdown/bitburner.hashupgrades.md create mode 100644 markdown/bitburner.host.md create mode 100644 markdown/bitburner.md create mode 100644 markdown/bitburner.nodestats.cache.md create mode 100644 markdown/bitburner.nodestats.cores.md create mode 100644 markdown/bitburner.nodestats.hashcapacity.md create mode 100644 markdown/bitburner.nodestats.level.md create mode 100644 markdown/bitburner.nodestats.md create mode 100644 markdown/bitburner.nodestats.name.md create mode 100644 markdown/bitburner.nodestats.production.md create mode 100644 markdown/bitburner.nodestats.ram.md create mode 100644 markdown/bitburner.nodestats.timeonline.md create mode 100644 markdown/bitburner.nodestats.totalproduction.md create mode 100644 markdown/bitburner.ns.args.md create mode 100644 markdown/bitburner.ns.bladeburner.md create mode 100644 markdown/bitburner.ns.brutessh.md create mode 100644 markdown/bitburner.ns.clear.md create mode 100644 markdown/bitburner.ns.clearlog.md create mode 100644 markdown/bitburner.ns.codingcontract.md create mode 100644 markdown/bitburner.ns.deleteserver.md create mode 100644 markdown/bitburner.ns.disablelog.md create mode 100644 markdown/bitburner.ns.enablelog.md create mode 100644 markdown/bitburner.ns.exec.md create mode 100644 markdown/bitburner.ns.exit.md create mode 100644 markdown/bitburner.ns.fileexists.md create mode 100644 markdown/bitburner.ns.ftpcrack.md create mode 100644 markdown/bitburner.ns.gang.md create mode 100644 markdown/bitburner.ns.getbitnodemultipliers.md create mode 100644 markdown/bitburner.ns.getfavortodonate.md create mode 100644 markdown/bitburner.ns.getgrowtime.md create mode 100644 markdown/bitburner.ns.gethackinglevel.md create mode 100644 markdown/bitburner.ns.gethackingmultipliers.md create mode 100644 markdown/bitburner.ns.gethacknetmultipliers.md create mode 100644 markdown/bitburner.ns.gethacktime.md create mode 100644 markdown/bitburner.ns.gethostname.md create mode 100644 markdown/bitburner.ns.getporthandle.md create mode 100644 markdown/bitburner.ns.getpurchasedservercost.md create mode 100644 markdown/bitburner.ns.getpurchasedserverlimit.md create mode 100644 markdown/bitburner.ns.getpurchasedservermaxram.md create mode 100644 markdown/bitburner.ns.getpurchasedservers.md create mode 100644 markdown/bitburner.ns.getscriptexpgain.md create mode 100644 markdown/bitburner.ns.getscriptincome.md create mode 100644 markdown/bitburner.ns.getscriptlogs.md create mode 100644 markdown/bitburner.ns.getscriptname.md create mode 100644 markdown/bitburner.ns.getscriptram.md create mode 100644 markdown/bitburner.ns.getserver.md create mode 100644 markdown/bitburner.ns.getserverbasesecuritylevel.md create mode 100644 markdown/bitburner.ns.getservergrowth.md create mode 100644 markdown/bitburner.ns.getservermaxmoney.md create mode 100644 markdown/bitburner.ns.getserverminsecuritylevel.md create mode 100644 markdown/bitburner.ns.getservermoneyavailable.md create mode 100644 markdown/bitburner.ns.getservernumportsrequired.md create mode 100644 markdown/bitburner.ns.getserverram.md create mode 100644 markdown/bitburner.ns.getserverrequiredhackinglevel.md create mode 100644 markdown/bitburner.ns.getserversecuritylevel.md create mode 100644 markdown/bitburner.ns.gettimesincelastaug.md create mode 100644 markdown/bitburner.ns.getweakentime.md create mode 100644 markdown/bitburner.ns.grow.md create mode 100644 markdown/bitburner.ns.growthanalyze.md create mode 100644 markdown/bitburner.ns.growthanalyzesecurity.md create mode 100644 markdown/bitburner.ns.hack.md create mode 100644 markdown/bitburner.ns.hackanalyzepercent.md create mode 100644 markdown/bitburner.ns.hackanalyzesecurity.md create mode 100644 markdown/bitburner.ns.hackanalyzethreads.md create mode 100644 markdown/bitburner.ns.hackchance.md create mode 100644 markdown/bitburner.ns.hacknet.md create mode 100644 markdown/bitburner.ns.hasrootaccess.md create mode 100644 markdown/bitburner.ns.httpworm.md create mode 100644 markdown/bitburner.ns.islogenabled.md create mode 100644 markdown/bitburner.ns.isrunning.md create mode 100644 markdown/bitburner.ns.kill.md create mode 100644 markdown/bitburner.ns.kill_1.md create mode 100644 markdown/bitburner.ns.killall.md create mode 100644 markdown/bitburner.ns.ls.md create mode 100644 markdown/bitburner.ns.md create mode 100644 markdown/bitburner.ns.nformat.md create mode 100644 markdown/bitburner.ns.nuke.md create mode 100644 markdown/bitburner.ns.peek.md create mode 100644 markdown/bitburner.ns.print.md create mode 100644 markdown/bitburner.ns.prompt.md create mode 100644 markdown/bitburner.ns.ps.md create mode 100644 markdown/bitburner.ns.purchaseserver.md create mode 100644 markdown/bitburner.ns.read.md create mode 100644 markdown/bitburner.ns.relaysmtp.md create mode 100644 markdown/bitburner.ns.rm.md create mode 100644 markdown/bitburner.ns.run.md create mode 100644 markdown/bitburner.ns.scan.md create mode 100644 markdown/bitburner.ns.scp.md create mode 100644 markdown/bitburner.ns.scp_1.md create mode 100644 markdown/bitburner.ns.scriptkill.md create mode 100644 markdown/bitburner.ns.scriptrunning.md create mode 100644 markdown/bitburner.ns.serverexists.md create mode 100644 markdown/bitburner.ns.sleep.md create mode 100644 markdown/bitburner.ns.sleeve.md create mode 100644 markdown/bitburner.ns.spawn.md create mode 100644 markdown/bitburner.ns.sprintf.md create mode 100644 markdown/bitburner.ns.sqlinject.md create mode 100644 markdown/bitburner.ns.stock.md create mode 100644 markdown/bitburner.ns.tail.md create mode 100644 markdown/bitburner.ns.tprint.md create mode 100644 markdown/bitburner.ns.trywrite.md create mode 100644 markdown/bitburner.ns.vsprintf.md create mode 100644 markdown/bitburner.ns.weaken.md create mode 100644 markdown/bitburner.ns.weakenanalyze.md create mode 100644 markdown/bitburner.ns.wget.md create mode 100644 markdown/bitburner.ns.write.md create mode 100644 markdown/bitburner.orderpos.md create mode 100644 markdown/bitburner.ordertype.md create mode 100644 markdown/bitburner.playerstats.agility.md create mode 100644 markdown/bitburner.playerstats.charisma.md create mode 100644 markdown/bitburner.playerstats.defense.md create mode 100644 markdown/bitburner.playerstats.dexterity.md create mode 100644 markdown/bitburner.playerstats.hacking.md create mode 100644 markdown/bitburner.playerstats.intelligence.md create mode 100644 markdown/bitburner.playerstats.md create mode 100644 markdown/bitburner.playerstats.strength.md create mode 100644 markdown/bitburner.port.md create mode 100644 markdown/bitburner.processinfo.args.md create mode 100644 markdown/bitburner.processinfo.filename.md create mode 100644 markdown/bitburner.processinfo.md create mode 100644 markdown/bitburner.processinfo.threads.md create mode 100644 markdown/bitburner.purchaseableprogram.md create mode 100644 markdown/bitburner.script.md create mode 100644 markdown/bitburner.server.cpucores.md create mode 100644 markdown/bitburner.server.ftpportopen.md create mode 100644 markdown/bitburner.server.hasadminrights.md create mode 100644 markdown/bitburner.server.hostname.md create mode 100644 markdown/bitburner.server.httpportopen.md create mode 100644 markdown/bitburner.server.ip.md create mode 100644 markdown/bitburner.server.isconnectedto.md create mode 100644 markdown/bitburner.server.maxram.md create mode 100644 markdown/bitburner.server.md create mode 100644 markdown/bitburner.server.organizationname.md create mode 100644 markdown/bitburner.server.ramused.md create mode 100644 markdown/bitburner.server.smtpportopen.md create mode 100644 markdown/bitburner.server.sqlportopen.md create mode 100644 markdown/bitburner.server.sshportopen.md create mode 100644 markdown/bitburner.singularity.applytocompany.md create mode 100644 markdown/bitburner.singularity.checkfactioninvitations.md create mode 100644 markdown/bitburner.singularity.commitcrime.md create mode 100644 markdown/bitburner.singularity.createprogram.md create mode 100644 markdown/bitburner.singularity.donatetofaction.md create mode 100644 markdown/bitburner.singularity.getaugmentationcost.md create mode 100644 markdown/bitburner.singularity.getaugmentationprereq.md create mode 100644 markdown/bitburner.singularity.getaugmentationsfromfaction.md create mode 100644 markdown/bitburner.singularity.getaugmentationstats.md create mode 100644 markdown/bitburner.singularity.getcharacterinformation.md create mode 100644 markdown/bitburner.singularity.getcompanyfavor.md create mode 100644 markdown/bitburner.singularity.getcompanyfavorgain.md create mode 100644 markdown/bitburner.singularity.getcompanyrep.md create mode 100644 markdown/bitburner.singularity.getcrimechance.md create mode 100644 markdown/bitburner.singularity.getcrimestats.md create mode 100644 markdown/bitburner.singularity.getfactionfavor.md create mode 100644 markdown/bitburner.singularity.getfactionfavorgain.md create mode 100644 markdown/bitburner.singularity.getfactionrep.md create mode 100644 markdown/bitburner.singularity.getownedaugmentations.md create mode 100644 markdown/bitburner.singularity.getownedsourcefiles.md create mode 100644 markdown/bitburner.singularity.getstats.md create mode 100644 markdown/bitburner.singularity.getupgradehomeramcost.md create mode 100644 markdown/bitburner.singularity.gymworkout.md create mode 100644 markdown/bitburner.singularity.installaugmentations.md create mode 100644 markdown/bitburner.singularity.isbusy.md create mode 100644 markdown/bitburner.singularity.joinfaction.md create mode 100644 markdown/bitburner.singularity.md create mode 100644 markdown/bitburner.singularity.purchaseaugmentation.md create mode 100644 markdown/bitburner.singularity.purchaseprogram.md create mode 100644 markdown/bitburner.singularity.purchasetor.md create mode 100644 markdown/bitburner.singularity.softreset.md create mode 100644 markdown/bitburner.singularity.stopaction.md create mode 100644 markdown/bitburner.singularity.traveltocity.md create mode 100644 markdown/bitburner.singularity.universitycourse.md create mode 100644 markdown/bitburner.singularity.upgradehomeram.md create mode 100644 markdown/bitburner.singularity.workforcompany.md create mode 100644 markdown/bitburner.singularity.workforfaction.md create mode 100644 markdown/bitburner.sleeve.getinformation.md create mode 100644 markdown/bitburner.sleeve.getnumsleeves.md create mode 100644 markdown/bitburner.sleeve.getsleeveaugmentations.md create mode 100644 markdown/bitburner.sleeve.getsleevepurchasableaugs.md create mode 100644 markdown/bitburner.sleeve.getsleevestats.md create mode 100644 markdown/bitburner.sleeve.gettask.md create mode 100644 markdown/bitburner.sleeve.md create mode 100644 markdown/bitburner.sleeve.purchasesleeveaug.md create mode 100644 markdown/bitburner.sleeve.settocommitcrime.md create mode 100644 markdown/bitburner.sleeve.settocompanywork.md create mode 100644 markdown/bitburner.sleeve.settofactionwork.md create mode 100644 markdown/bitburner.sleeve.settogymworkout.md create mode 100644 markdown/bitburner.sleeve.settoshockrecovery.md create mode 100644 markdown/bitburner.sleeve.settosynchronize.md create mode 100644 markdown/bitburner.sleeve.settouniversitycourse.md create mode 100644 markdown/bitburner.sleeve.travel.md create mode 100644 markdown/bitburner.sleeveinformation.city.md create mode 100644 markdown/bitburner.sleeveinformation.earningsforplayer.md create mode 100644 markdown/bitburner.sleeveinformation.earningsforsleeves.md create mode 100644 markdown/bitburner.sleeveinformation.earningsfortask.md create mode 100644 markdown/bitburner.sleeveinformation.hp.md create mode 100644 markdown/bitburner.sleeveinformation.jobs.md create mode 100644 markdown/bitburner.sleeveinformation.jobtitle.md create mode 100644 markdown/bitburner.sleeveinformation.maxhp.md create mode 100644 markdown/bitburner.sleeveinformation.md create mode 100644 markdown/bitburner.sleeveinformation.mult.md create mode 100644 markdown/bitburner.sleeveinformation.timeworked.md create mode 100644 markdown/bitburner.sleeveinformation.tor.md create mode 100644 markdown/bitburner.sleeveinformation.workrepgain.md create mode 100644 markdown/bitburner.sleevestats.agility.md create mode 100644 markdown/bitburner.sleevestats.charisma.md create mode 100644 markdown/bitburner.sleevestats.defense.md create mode 100644 markdown/bitburner.sleevestats.dexterity.md create mode 100644 markdown/bitburner.sleevestats.hacking_skill.md create mode 100644 markdown/bitburner.sleevestats.md create mode 100644 markdown/bitburner.sleevestats.shock.md create mode 100644 markdown/bitburner.sleevestats.strength.md create mode 100644 markdown/bitburner.sleevestats.sync.md create mode 100644 markdown/bitburner.sleevetask.crime.md create mode 100644 markdown/bitburner.sleevetask.factionworktype.md create mode 100644 markdown/bitburner.sleevetask.gymstattype.md create mode 100644 markdown/bitburner.sleevetask.location.md create mode 100644 markdown/bitburner.sleevetask.md create mode 100644 markdown/bitburner.sleevetask.task.md create mode 100644 markdown/bitburner.sleeveworkgains.md create mode 100644 markdown/bitburner.sleeveworkgains.workagiexpgain.md create mode 100644 markdown/bitburner.sleeveworkgains.workchaexpgain.md create mode 100644 markdown/bitburner.sleeveworkgains.workdefexpgain.md create mode 100644 markdown/bitburner.sleeveworkgains.workdexexpgain.md create mode 100644 markdown/bitburner.sleeveworkgains.workhackexpgain.md create mode 100644 markdown/bitburner.sleeveworkgains.workmoneygain.md create mode 100644 markdown/bitburner.sleeveworkgains.workstrexpgain.md create mode 100644 markdown/bitburner.sourcefilelvl.lvl.md create mode 100644 markdown/bitburner.sourcefilelvl.md create mode 100644 markdown/bitburner.sourcefilelvl.n.md create mode 100644 markdown/bitburner.stockorder.md create mode 100644 markdown/bitburner.stockorderobject.md create mode 100644 markdown/bitburner.stockorderobject.position.md create mode 100644 markdown/bitburner.stockorderobject.price.md create mode 100644 markdown/bitburner.stockorderobject.shares.md create mode 100644 markdown/bitburner.stockorderobject.type.md create mode 100644 markdown/bitburner.stocksymbol.md create mode 100644 markdown/bitburner.tix.buy.md create mode 100644 markdown/bitburner.tix.cancelorder.md create mode 100644 markdown/bitburner.tix.getaskprice.md create mode 100644 markdown/bitburner.tix.getbidprice.md create mode 100644 markdown/bitburner.tix.getforecast.md create mode 100644 markdown/bitburner.tix.getmaxshares.md create mode 100644 markdown/bitburner.tix.getorders.md create mode 100644 markdown/bitburner.tix.getposition.md create mode 100644 markdown/bitburner.tix.getprice.md create mode 100644 markdown/bitburner.tix.getpurchasecost.md create mode 100644 markdown/bitburner.tix.getsalegain.md create mode 100644 markdown/bitburner.tix.getsymbols.md create mode 100644 markdown/bitburner.tix.getvolatility.md create mode 100644 markdown/bitburner.tix.md create mode 100644 markdown/bitburner.tix.placeorder.md create mode 100644 markdown/bitburner.tix.purchase4smarketdata.md create mode 100644 markdown/bitburner.tix.purchase4smarketdatatixapi.md create mode 100644 markdown/bitburner.tix.sell.md create mode 100644 markdown/bitburner.tix.sellshort.md create mode 100644 markdown/bitburner.tix.short.md create mode 100644 markdown/bitburner.university.md create mode 100644 markdown/bitburner.universitycourse.md create mode 100644 markdown/index.md rename src/ScriptEditor/{NetscriptDefinitions.ts => NetscriptDefinitions.d.ts} (72%) create mode 100644 temp/bitburner.api.json create mode 100644 temp/bitburner.api.md create mode 100644 tsdoc-metadata.json diff --git a/api-extractor.json b/api-extractor.json new file mode 100644 index 000000000..1a8222877 --- /dev/null +++ b/api-extractor.json @@ -0,0 +1,364 @@ +/** + * Config file for API Extractor. For more info, please visit: https://api-extractor.com + */ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + + /** + * Optionally specifies another JSON config file that this file extends from. This provides a way for + * standard settings to be shared across multiple projects. + * + * If the path starts with "./" or "../", the path is resolved relative to the folder of the file that contains + * the "extends" field. Otherwise, the first path segment is interpreted as an NPM package name, and will be + * resolved using NodeJS require(). + * + * SUPPORTED TOKENS: none + * DEFAULT VALUE: "" + */ + // "extends": "./shared/api-extractor-base.json" + // "extends": "my-package/include/api-extractor-base.json" + + /** + * Determines the "" token that can be used with other config file settings. The project folder + * typically contains the tsconfig.json and package.json config files, but the path is user-defined. + * + * The path is resolved relative to the folder of the config file that contains the setting. + * + * The default value for "projectFolder" is the token "", which means the folder is determined by traversing + * parent folders, starting from the folder containing api-extractor.json, and stopping at the first folder + * that contains a tsconfig.json file. If a tsconfig.json file cannot be found in this way, then an error + * will be reported. + * + * SUPPORTED TOKENS: + * DEFAULT VALUE: "" + */ + // "projectFolder": "..", + + /** + * (REQUIRED) Specifies the .d.ts file to be used as the starting point for analysis. API Extractor + * analyzes the symbols exported by this module. + * + * The file extension must be ".d.ts" and not ".ts". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + */ + "mainEntryPointFilePath": "src/ScriptEditor/NetscriptDefinitions.d.ts", + + /** + * A list of NPM package names whose exports should be treated as part of this package. + * + * For example, suppose that Webpack is used to generate a distributed bundle for the project "library1", + * and another NPM package "library2" is embedded in this bundle. Some types from library2 may become part + * of the exported API for library1, but by default API Extractor would generate a .d.ts rollup that explicitly + * imports library2. To avoid this, we can specify: + * + * "bundledPackages": [ "library2" ], + * + * This would direct API Extractor to embed those types directly in the .d.ts rollup, as if they had been + * local files for library1. + */ + "bundledPackages": [], + + /** + * Determines how the TypeScript compiler engine will be invoked by API Extractor. + */ + "compiler": { + /** + * Specifies the path to the tsconfig.json file to be used by API Extractor when analyzing the project. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * Note: This setting will be ignored if "overrideTsconfig" is used. + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/tsconfig.json" + */ + // "tsconfigFilePath": "/tsconfig.json", + /** + * Provides a compiler configuration that will be used instead of reading the tsconfig.json file from disk. + * The object must conform to the TypeScript tsconfig schema: + * + * http://json.schemastore.org/tsconfig + * + * If omitted, then the tsconfig.json file will be read from the "projectFolder". + * + * DEFAULT VALUE: no overrideTsconfig section + */ + // "overrideTsconfig": { + // . . . + // } + /** + * This option causes the compiler to be invoked with the --skipLibCheck option. This option is not recommended + * and may cause API Extractor to produce incomplete or incorrect declarations, but it may be required when + * dependencies contain declarations that are incompatible with the TypeScript engine that API Extractor uses + * for its analysis. Where possible, the underlying issue should be fixed rather than relying on skipLibCheck. + * + * DEFAULT VALUE: false + */ + // "skipLibCheck": true, + }, + + /** + * Configures how the API report file (*.api.md) will be generated. + */ + "apiReport": { + /** + * (REQUIRED) Whether to generate an API report. + */ + "enabled": true + + /** + * The filename for the API report files. It will be combined with "reportFolder" or "reportTempFolder" to produce + * a full file path. + * + * The file extension should be ".api.md", and the string should not contain a path separator such as "\" or "/". + * + * SUPPORTED TOKENS: , + * DEFAULT VALUE: ".api.md" + */ + // "reportFileName": ".api.md", + + /** + * Specifies the folder where the API report file is written. The file name portion is determined by + * the "reportFileName" setting. + * + * The API report file is normally tracked by Git. Changes to it can be used to trigger a branch policy, + * e.g. for an API review. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/etc/" + */ + // "reportFolder": "/etc/", + + /** + * Specifies the folder where the temporary report file is written. The file name portion is determined by + * the "reportFileName" setting. + * + * After the temporary file is written to disk, it is compared with the file in the "reportFolder". + * If they are different, a production build will fail. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/temp/" + */ + // "reportTempFolder": "/temp/" + }, + + /** + * Configures how the doc model file (*.api.json) will be generated. + */ + "docModel": { + /** + * (REQUIRED) Whether to generate a doc model file. + */ + "enabled": true + + /** + * The output path for the doc model file. The file extension should be ".api.json". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/temp/.api.json" + */ + // "apiJsonFilePath": "/temp/.api.json" + }, + + /** + * Configures how the .d.ts rollup file will be generated. + */ + "dtsRollup": { + /** + * (REQUIRED) Whether to generate the .d.ts rollup file. + */ + "enabled": true + + /** + * Specifies the output path for a .d.ts rollup file to be generated without any trimming. + * This file will include all declarations that are exported by the main entry point. + * + * If the path is an empty string, then this file will not be written. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "/dist/.d.ts" + */ + // "untrimmedFilePath": "/dist/.d.ts", + + /** + * Specifies the output path for a .d.ts rollup file to be generated with trimming for a "beta" release. + * This file will include only declarations that are marked as "@public" or "@beta". + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "betaTrimmedFilePath": "/dist/-beta.d.ts", + + /** + * Specifies the output path for a .d.ts rollup file to be generated with trimming for a "public" release. + * This file will include only declarations that are marked as "@public". + * + * If the path is an empty string, then this file will not be written. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "publicTrimmedFilePath": "/dist/-public.d.ts", + + /** + * When a declaration is trimmed, by default it will be replaced by a code comment such as + * "Excluded from this release type: exampleMember". Set "omitTrimmingComments" to true to remove the + * declaration completely. + * + * DEFAULT VALUE: false + */ + // "omitTrimmingComments": true + }, + + /** + * Configures how the tsdoc-metadata.json file will be generated. + */ + "tsdocMetadata": { + /** + * Whether to generate the tsdoc-metadata.json file. + * + * DEFAULT VALUE: true + */ + // "enabled": true, + /** + * Specifies where the TSDoc metadata file should be written. + * + * The path is resolved relative to the folder of the config file that contains the setting; to change this, + * prepend a folder token such as "". + * + * The default value is "", which causes the path to be automatically inferred from the "tsdocMetadata", + * "typings" or "main" fields of the project's package.json. If none of these fields are set, the lookup + * falls back to "tsdoc-metadata.json" in the package folder. + * + * SUPPORTED TOKENS: , , + * DEFAULT VALUE: "" + */ + // "tsdocMetadataFilePath": "/dist/tsdoc-metadata.json" + }, + + /** + * Specifies what type of newlines API Extractor should use when writing output files. By default, the output files + * will be written with Windows-style newlines. To use POSIX-style newlines, specify "lf" instead. + * To use the OS's default newline kind, specify "os". + * + * DEFAULT VALUE: "crlf" + */ + // "newlineKind": "crlf", + + /** + * Configures how API Extractor reports error and warning messages produced during analysis. + * + * There are three sources of messages: compiler messages, API Extractor messages, and TSDoc messages. + */ + "messages": { + /** + * Configures handling of diagnostic messages reported by the TypeScript compiler engine while analyzing + * the input .d.ts files. + * + * TypeScript message identifiers start with "TS" followed by an integer. For example: "TS2551" + * + * DEFAULT VALUE: A single "default" entry with logLevel=warning. + */ + "compilerMessageReporting": { + /** + * Configures the default routing for messages that don't match an explicit rule in this table. + */ + "default": { + /** + * Specifies whether the message should be written to the the tool's output log. Note that + * the "addToApiReportFile" property may supersede this option. + * + * Possible values: "error", "warning", "none" + * + * Errors cause the build to fail and return a nonzero exit code. Warnings cause a production build fail + * and return a nonzero exit code. For a non-production build (e.g. when "api-extractor run" includes + * the "--local" option), the warning is displayed but the build will not fail. + * + * DEFAULT VALUE: "warning" + */ + "logLevel": "warning" + + /** + * When addToApiReportFile is true: If API Extractor is configured to write an API report file (.api.md), + * then the message will be written inside that file; otherwise, the message is instead logged according to + * the "logLevel" option. + * + * DEFAULT VALUE: false + */ + // "addToApiReportFile": false + } + + // "TS2551": { + // "logLevel": "warning", + // "addToApiReportFile": true + // }, + // + // . . . + }, + + /** + * Configures handling of messages reported by API Extractor during its analysis. + * + * API Extractor message identifiers start with "ae-". For example: "ae-extra-release-tag" + * + * DEFAULT VALUE: See api-extractor-defaults.json for the complete table of extractorMessageReporting mappings + */ + "extractorMessageReporting": { + "default": { + "logLevel": "warning" + // "addToApiReportFile": false + } + + // "ae-extra-release-tag": { + // "logLevel": "warning", + // "addToApiReportFile": true + // }, + // + // . . . + }, + + /** + * Configures handling of messages reported by the TSDoc parser when analyzing code comments. + * + * TSDoc message identifiers start with "tsdoc-". For example: "tsdoc-link-tag-unescaped-text" + * + * DEFAULT VALUE: A single "default" entry with logLevel=warning. + */ + "tsdocMessageReporting": { + "default": { + "logLevel": "warning" + // "addToApiReportFile": false + } + + // "tsdoc-link-tag-unescaped-text": { + // "logLevel": "warning", + // "addToApiReportFile": true + // }, + // + // . . . + } + } +} diff --git a/dist/bitburner.d.ts b/dist/bitburner.d.ts new file mode 100644 index 000000000..e1848cb71 --- /dev/null +++ b/dist/bitburner.d.ts @@ -0,0 +1,4939 @@ +/** + * @public + */ +export declare interface AugmentationStats { + /** Multipler to hacking skill */ + hacking_mult?: number; + /** Multipler to strength skill */ + strength_mult?: number; + /** Multipler to defense skill */ + defense_mult?: number; + /** Multipler to dexterity skill */ + dexterity_mult?: number; + /** Multipler to agility skill */ + agility_mult?: number; + /** Multipler to charisma skill */ + charisma_mult?: number; + /** Multipler to hacking experience gain rate */ + hacking_exp_mult?: number; + /** Multipler to strength experience gain rate */ + strength_exp_mult?: number; + /** Multipler to defense experience gain rate */ + defense_exp_mult?: number; + /** Multipler to dexterity experience gain rate */ + dexterity_exp_mult?: number; + /** Multipler to agility experience gain rate */ + agility_exp_mult?: number; + /** Multipler to charisma experience gain rate */ + charisma_exp_mult?: number; + /** Multipler to chance of successfully performing a hack */ + hacking_chance_mult?: number; + /** Multipler to hacking speed */ + hacking_speed_mult?: number; + /** Multipler to amount of money the player gains from hacking */ + hacking_money_mult?: number; + /** Multipler to amount of money injected into servers using grow */ + hacking_grow_mult?: number; + /** Multipler to amount of reputation gained when working */ + company_rep_mult?: number; + /** Multipler to amount of reputation gained when working */ + faction_rep_mult?: number; + /** Multipler to amount of money gained from crimes */ + crime_money_mult?: number; + /** Multipler to crime success rate */ + crime_success_mult?: number; + /** Multipler to amount of money gained from working */ + work_money_mult?: number; + /** Multipler to amount of money produced by Hacknet Nodes */ + hacknet_node_money_mult?: number; + /** Multipler to cost of purchasing a Hacknet Node */ + hacknet_node_purchase_cost_mult?: number; + /** Multipler to cost of ram for a Hacknet Node */ + hacknet_node_ram_cost_mult?: number; + /** Multipler to cost of core for a Hacknet Node */ + hacknet_node_core_cost_mult?: number; + /** Multipler to cost of leveling up a Hacknet Node */ + hacknet_node_level_cost_mult?: number; + /** Multipler to Bladeburner max stamina */ + bladeburner_max_stamina_mult?: number; + /** Multipler to Bladeburner stamina gain rate */ + bladeburner_stamina_gain_mult?: number; + /** Multipler to effectiveness in Bladeburner Field Analysis */ + bladeburner_analysis_mult?: number; + /** Multipler to success chance in Bladeburner contracts/operations */ + bladeburner_success_chance_mult?: number; +} + +/** + * @public + */ +export declare type AugmentName = +| "Augmented Targeting I" +| "Augmented Targeting II" +| "Augmented Targeting III" +| "Synthetic Heart" +| "Synfibril Muscle" +| "Combat Rib I" +| "Combat Rib II" +| "Combat Rib III" +| "Nanofiber Weave" +| "NEMEAN Subdermal Weave" +| "Wired Reflexes" +| "Graphene Bone Lacings" +| "Bionic Spine" +| "Graphene Bionic Spine Upgrade" +| "Bionic Legs" +| "Graphene Bionic Legs Upgrade" +| "Speech Processor Implant" +| "TITN-41 Gene-Modification Injection" +| "Enhanced Social Interaction Implant" +| "BitWire" +| "Artificial Bio-neural Network Implant" +| "Artificial Synaptic Potentiation" +| "Enhanced Myelin Sheathing" +| "Synaptic Enhancement Implant" +| "Neural-Retention Enhancement" +| "DataJack" +| "Embedded Netburner Module" +| "Embedded Netburner Module Core Implant" +| "Embedded Netburner Module Core V2 Upgrade" +| "Embedded Netburner Module Core V3 Upgrade" +| "Embedded Netburner Module Analyze Engine" +| "Embedded Netburner Module Direct Memory Access Upgrade" +| "Neuralstimulator" +| "Neural Accelerator" +| "Cranial Signal Processors - Gen I" +| "Cranial Signal Processors - Gen II" +| "Cranial Signal Processors - Gen III" +| "Cranial Signal Processors - Gen IV" +| "Cranial Signal Processors - Gen V" +| "Neuronal Densification" +| "Nuoptimal Nootropic Injector Implant" +| "Speech Enhancement" +| "FocusWire" +| "PC Direct-Neural Interface" +| "PC Direct-Neural Interface Optimization Submodule" +| "PC Direct-Neural Interface NeuroNet Injector" +| "ADR-V1 Pheromone Gene" +| "ADR-V2 Pheromone Gene" +| "The Shadow's Simulacrum" +| "Hacknet Node CPU Architecture Neural-Upload" +| "Hacknet Node Cache Architecture Neural-Upload" +| "Hacknet Node NIC Architecture Neural-Upload" +| "Hacknet Node Kernel Direct-Neural Interface" +| "Hacknet Node Core Direct-Neural Interface" +| "NeuroFlux Governor" +| "Neurotrainer I" +| "Neurotrainer II" +| "Neurotrainer III" +| "HyperSight Corneal Implant" +| "LuminCloaking-V1 Skin Implant" +| "LuminCloaking-V2 Skin Implant" +| "HemoRecirculator" +| "SmartSonar Implant" +| "Power Recirculation Core" +| "QLink" +| "The Red Pill" +| "SPTN-97 Gene Modification" +| "ECorp HVMind Implant" +| "CordiARC Fusion Reactor" +| "SmartJaw" +| "Neotra" +| "Xanipher" +| "nextSENS Gene Modification" +| "OmniTek InfoLoad" +| "Photosynthetic Cells" +| "BitRunners Neurolink" +| "The Black Hand" +| "CRTX42-AA Gene Modification" +| "Neuregen Gene Modification" +| "CashRoot Starter Kit" +| "NutriGen Implant" +| "INFRARET Enhancement" +| "DermaForce Particle Barrier" +| "Graphene BranchiBlades Upgrade" +| "Graphene Bionic Arms Upgrade" +| "BrachiBlades" +| "Bionic Arms" +| "Social Negotiation Assistant (S.N.A)" +| "EsperTech Bladeburner Eyewear" +| "EMS-4 Recombination" +| "ORION-MKIV Shoulder" +| "Hyperion Plasma Cannon V1" +| "Hyperion Plasma Cannon V2" +| "GOLEM Serum" +| "Vangelis Virus" +| "Vangelis Virus 3.0" +| "I.N.T.E.R.L.I.N.K.E.D" +| "Blade's Runners" +| "BLADE-51b Tesla Armor" +| "BLADE-51b Tesla Armor: Power Cells Upgrade" +| "BLADE-51b Tesla Armor: Energy Shielding Upgrade" +| "BLADE-51b Tesla Armor: Unibeam Upgrade" +| "BLADE-51b Tesla Armor: Omnibeam Upgrade" +| "BLADE-51b Tesla Armor: IPU Upgrade" +| "The Blade's Simulacrum"; + +/** + * @public + */ +export declare interface AugmentPair { + /** augmentation name */ + name: AugmentName; + /** augmentation cost */ + cost: number; +} + +/** + * @public + */ +export declare interface BasicHGWOptions { + /** Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. */ + threads: number; +} + +/** + * @public + */ +export declare interface BitNodeMultipliers { + /** Influences how quickly the player's agility level (not exp) scales */ + AgilityLevelMultiplier: number; + /** Influences the base cost to purchase an augmentation. */ + AugmentationMoneyCost: number; + /** Influences the base rep the player must have with a faction to purchase an augmentation. */ + AugmentationRepCost: number; + /** Influences how quickly the player can gain rank within Bladeburner. */ + BladeburnerRank: number; + /** Influences the cost of skill levels from Bladeburner. */ + BladeburnerSkillCost: number; + /** Influences how quickly the player's charisma level (not exp) scales */ + CharismaLevelMultiplier: number; + /** Influences the experience gained for each ability when a player completes a class. */ + ClassGymExpGain: number; + /** Influences the amount of money gained from completing Coding Contracts */ + CodingContractMoney: number; + /** Influences the experience gained for each ability when the player completes working their job. */ + CompanyWorkExpGain: number; + /** Influences how much money the player earns when completing working their job. */ + CompanyWorkMoney: number; + /** Influences the valuation of corporations created by the player. */ + CorporationValuation: number; + /** Influences the base experience gained for each ability when the player commits a crime. */ + CrimeExpGain: number; + /** Influences the base money gained when the player commits a crime. */ + CrimeMoney: number; + /** Influences how many Augmentations you need in order to get invited to the Daedalus faction */ + DaedalusAugsRequirement: number; + /** Influences how quickly the player's defense level (not exp) scales */ + DefenseLevelMultiplier: number; + /** Influences how quickly the player's dexterity level (not exp) scales */ + DexterityLevelMultiplier: number; + /** Influences how much rep the player gains in each faction simply by being a member. */ + FactionPassiveRepGain: number; + /** Influences the experience gained for each ability when the player completes work for a Faction. */ + FactionWorkExpGain: number; + /** Influences how much rep the player gains when performing work for a faction. */ + FactionWorkRepGain: number; + /** Influences how much it costs to unlock the stock market's 4S Market Data API */ + FourSigmaMarketDataApiCost: number; + /** Influences how much it costs to unlock the stock market's 4S Market Data (NOT API) */ + FourSigmaMarketDataCost: number; + /** Influences the experienced gained when hacking a server. */ + HackExpGain: number; + /** Influences how quickly the player's hacking level (not experience) scales */ + HackingLevelMultiplier: number; + /** Influences how much money is produced by Hacknet Nodes and the hash rate of Hacknet Servers (unlocked in BitNode-9) */ + HacknetNodeMoney: number; + /** Influences how much money it costs to upgrade your home computer's RAM */ + HomeComputerRamCost: number; + /** Influences how much money is gained when the player infiltrates a company. */ + InfiltrationMoney: number; + /** Influences how much rep the player can gain from factions when selling stolen documents and secrets */ + InfiltrationRep: number; + /** Influences how much money can be stolen from a server when the player performs a hack against it through the Terminal. */ + ManualHackMoney: number; + /** Influence how much it costs to purchase a server */ + PurchasedServerCost: number; + /** Influences the maximum number of purchased servers you can have */ + PurchasedServerLimit: number; + /** Influences the maximum allowed RAM for a purchased server */ + PurchasedServerMaxRam: number; + /** Influences the minimum favor the player must have with a faction before they can donate to gain rep. */ + RepToDonateToFaction: number; + /** Influences how much money can be stolen from a server when a script performs a hack against it. */ + ScriptHackMoney: number; + /** Influences the growth percentage per cycle against a server. */ + ServerGrowthRate: number; + /** Influences the maxmimum money that a server can grow to. */ + ServerMaxMoney: number; + /** Influences the initial money that a server starts with. */ + ServerStartingMoney: number; + /** Influences the initial security level (hackDifficulty) of a server. */ + ServerStartingSecurity: number; + /** Influences the weaken amount per invocation against a server. */ + ServerWeakenRate: number; + /** Influences how quickly the player's strength level (not exp) scales */ + StrengthLevelMultiplier: number; +} + +/** + * @public + */ +export declare interface Bladeburner { + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns an array of strings containing the names of all Bladeburner contracts. + * + * @remarks 0.4 GB + * @returns Array of strings containing the names of all Bladeburner contracts. + */ + getContractNames(): BladeburnerContracts[]; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns an array of strings containing the names of all Bladeburner operations. + * + * @remarks 0.4 GB + * @returns Array of strings containing the names of all Bladeburner operations. + */ + getOperationNames(): BladeburnerOperations[]; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns an array of strings containing the names of all Bladeburner Black Ops. + * + * @remarks 0.4 GB + * @returns Array of strings containing the names of all Bladeburner Black Ops. + */ + getBlackOpNames(): BladeburnerBlackOps[]; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns an array of strings containing the names of all general Bladeburner actions. + * + * @remarks 0.4 GB + * @returns Array of strings containing the names of all general Bladeburner actions. + */ + getGeneralActionNames(): BladeburnerGenActions[]; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns an array of strings containing the names of all general Bladeburner skills. + * + * @remarks 0.4 GB + * @returns Array of strings containing the names of all general Bladeburner skills. + */ + getSkillNames(): BladeburnerSkills[]; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Attempts to start the specified Bladeburner action. + * Returns true if the action was started successfully, and false otherwise. + * + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match + * @returns True if the action was started successfully, and false otherwise. + */ + startAction( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): boolean; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Stops the current Bladeburner action. + * + * @remarks 2 GB + */ + stopBladeburnerAction(): void; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns an object that represents the player’s current Bladeburner action. + * If the player is not performing an action, the function will return an object with the ‘type’ property set to “Idle”. + * + * @remarks 1 GB + * @returns Object that represents the player’s current Bladeburner action. + */ + getCurrentAction(): BladeburnerCurAction; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the number of seconds it takes to complete the specified action + * + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns Number of seconds it takes to complete the specified action. + */ + getActionTime( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the estimated success chance for the specified action. + * This chance is returned as a decimal value, NOT a percentage + * (e.g. if you have an estimated success chance of 80%, then this function will return 0.80, NOT 80). + * + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns Estimated success chance for the specified action. + */ + getActionEstimatedSuccessChance( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the average Bladeburner reputation gain for successfully + * completing the specified action. + * Note that this value is an ‘average’ and the real reputation gain may vary slightly from this value. + * + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @param level - Optional action level at which to calculate the gain + * @returns Average Bladeburner reputation gain for successfully completing the specified action. + */ + getActionRepGain( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + level: number, + ): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the remaining count of the specified action. + * + * Note that this is meant to be used for Contracts and Operations. + * This function will return ‘Infinity’ for actions such as Training and Field Analysis. + * This function will return 1 for BlackOps not yet completed regardless of wether + * the player has the required rank to attempt the mission or not. + * + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns Remaining count of the specified action. + */ + getActionCountRemaining( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the maximum level for this action. + * + * Returns -1 if an invalid action is specified. + * + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns Maximum level of the specified action. + */ + getActionMaxLevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the current level of this action. + * + * Returns -1 if an invalid action is specified. + * + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns Current level of the specified action. + */ + getActionCurrentLevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Return a boolean indicating whether or not this action is currently set to autolevel. + * + * Returns false if an invalid action is specified. + * + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns True if the action is set to autolevel, and false otherwise. + */ + getActionAutolevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): boolean; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Enable/disable autoleveling for the specified action. + * + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @param autoLevel - Whether or not to autolevel this action + */ + setActionAutolevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + autoLevel: boolean, + ): void; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Set the level for the specified action. + * + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @param level - Level to set this action to. + */ + setActionLevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + level: number, + ): void; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the player’s Bladeburner Rank. + * + * @remarks 4 GB + * @returns Player’s Bladeburner Rank. + */ + getRank(): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the rank required to complete this BlackOp. + * + * Returns -1 if an invalid action is specified. + * + * @remarks 2 GB + * @param name - Name of BlackOp. Must be an exact match. + * @returns Rank required to complete this BlackOp. + */ + getBlackOpRank(name: BladeburnerBlackOps): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the number of Bladeburner skill points you have. + * + * @remarks 4 GB + * @returns Number of Bladeburner skill points you have. + */ + getSkillPoints(): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * This function returns your level in the specified skill. + * + * The function returns -1 if an invalid skill name is passed in. + * + * @remarks 4 GB + * @param skillName - Name of skill. Case-sensitive and must be an exact match + * @returns Level in the specified skill. + */ + getSkillLevel(name: BladeburnerSkills): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * This function returns the number of skill points needed to upgrade the specified skill. + * + * The function returns -1 if an invalid skill name is passed in. + * + * @remarks 4 GB + * @param skillName - Name of skill. Case-sensitive and must be an exact match + * @returns Number of skill points needed to upgrade the specified skill. + */ + getSkillUpgradeCost(name: BladeburnerSkills): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Attempts to upgrade the specified Bladeburner skill. + * + * Returns true if the skill is successfully upgraded, and false otherwise. + * + * @remarks 4 GB + * @param skillName - Name of skill to be upgraded. Case-sensitive and must be an exact match + * @returns true if the skill is successfully upgraded, and false otherwise. + */ + upgradeSkill(name: BladeburnerSkills): boolean; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the number of Bladeburner team members you have assigned to the specified action. + * + * Setting a team is only applicable for Operations and BlackOps. This function will return 0 for other action types. + * + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns Number of Bladeburner team members that were assigned to the specified action. + */ + getTeamSize( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Set the team size for the specified Bladeburner action. + * + * Returns the team size that was set, or -1 if the function failed. + * + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @param size - Number of team members to set. Will be converted using Math.round(). + * @returns Number of Bladeburner team members you assigned to the specified action. + */ + setTeamSize( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + size: number, + ): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the estimated number of Synthoids in the specified city, + * or -1 if an invalid city was specified. + * + * @remarks 4 GB + * @param cityName - Name of city. Case-sensitive + * @returns Estimated number of Synthoids in the specified city. + */ + getCityEstimatedPopulation(name: City): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the estimated number of Synthoid communities in the specified city, + * or -1 if an invalid city was specified. + * + * @remarks 4 GB + * @param cityName - Name of city. Case-sensitive + * @returns Number of Synthoids communities in the specified city. + */ + getCityCommunities(name: City): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the chaos in the specified city, + * or -1 if an invalid city was specified. + * + * @remarks 4 GB + * @param cityName - Name of city. Case-sensitive + * @returns Chaos in the specified city. + */ + getCityChaos(name: City): number; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the city that the player is currently in (for Bladeburner). + * + * @remarks 4 GB + * @returns City that the player is currently in (for Bladeburner). + */ + getCity(): City; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Attempts to switch to the specified city (for Bladeburner only). + * + * Returns true if successful, and false otherwise + * + * @remarks 4 GB + * @param cityName - Name of city. Case-sensitive + * @returns true if successful, and false otherwise + */ + switchCity(name: City): boolean; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns an array with two elements: + * * [Current stamina, Max stamina] + * @example + * ```js + * function getStaminaPercentage() { + * let res = bladeburner.getStamina(); + * return res[0] / res[1]; + * } + * ``` + * @remarks 4 GB + * @returns Array containing current stamina and max stamina. + */ + getStamina(): [number, number]; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Attempts to join the Bladeburner faction. + * + * Returns true if you successfully join the Bladeburner faction, or if you are already a member. + * + * Returns false otherwise. + * + * @remarks 4 GB + * @returns True if you successfully join the Bladeburner faction, or if you are already a member, false otherwise. + */ + joinBladeburnerFaction(): boolean; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Attempts to join the Bladeburner division. + * + * Returns true if you successfully join the Bladeburner division, or if you are already a member. + * + * Returns false otherwise. + * + * @remarks 4 GB + * @returns True if you successfully join the Bladeburner division, or if you are already a member, false otherwise. + */ + joinBladeburnerDivision(): boolean; + + /** + * You have to be employed in the Bladeburner division and be in BitNode-7 + * or have Source-File 7 in order to use this function. + * + * Returns the amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic. + * + * “Bonus time” is accumulated when the game is offline or if the game is inactive in the browser. + * + * “Bonus time” makes the game progress faster, up to 5x the normal speed. + * For example, if an action takes 30 seconds to complete but you’ve accumulated over + * 30 seconds in bonus time, then the action will only take 6 seconds in real life to complete. + * + * @remarks 0 GB + * @returns Amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic. + */ + getBonusTime(): number; +} + +/** + * @public + */ +export declare type BladeburnerActTypes = "contracts" | "operations" | "black ops" | "general"; + +/** + * @public + */ +export declare type BladeburnerBlackOps = +| "Operation Typhoon" +| "Operation Zero" +| "Operation X" +| "Operation Titan" +| "Operation Ares" +| "Operation Archangel" +| "Operation Juggernaut" +| "Operation Red Dragon" +| "Operation K" +| "Operation Deckard" +| "Operation Tyrell" +| "Operation Wallace" +| "Operation Shoulder of Orion" +| "Operation Hyron" +| "Operation Morpheus" +| "Operation Ion Storm" +| "Operation Annihilus" +| "Operation Ultron" +| "Operation Centurion" +| "Operation Vindictus" +| "Operation Daedalus"; + +/** + * @public + */ +export declare type BladeburnerContracts = "Tracking" | "Bounty Hunter" | "Retirement"; + +/** + * @public + */ +export declare interface BladeburnerCurAction { + /** Type of Action */ + type: BladeburnerActTypes | "Idle"; + /** Name of Action */ + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps; +} + +/** + * @public + */ +export declare type BladeburnerGenActions = +| "Training" +| "Field Analysis" +| "Recruitment" +| "Diplomacy" +| "Hyperbolic Regeneration Chamber"; + +/** + * @public + */ +export declare type BladeburnerOperations = +| "Investigation" +| "Undercover Operation" +| "Sting Operation" +| "Raid" +| "Stealth Retirement Operation" +| "Assassination"; + +/** + * @public + */ +export declare type BladeburnerSkills = +| "Blade's Intuition" +| "Cloak" +| "Marksman" +| "Weapon Proficiency" +| "Short-Circuit" +| "Digital Observer" +| "Tracer" +| "Overclock" +| "Reaper" +| "Evasive System" +| "Datamancer" +| "Cyber's Edge" +| "Hands of Midas" +| "Hyperdrive"; + +/** + * @public + */ +export declare interface CharacterInfo { + /** Current BitNode number */ + bitnode: number; + /** Name of city you are currently in */ + city: City; + /** Array of factions you are currently a member of */ + factions: FactionName[]; + /** Current health points */ + hp: number; + /** Array of all companies at which you have jobs */ + company: CompanyName[]; + /** Array of job positions for all companies you are employed at. Same order as 'jobs' */ + jobTitle: CompanyField[]; + /** Maximum health points */ + maxHp: number; + /** Boolean indicating whether or not you have a tor router */ + tor: boolean; + /** Object with many of the player's multipliers from Augmentations/Source Files */ + mult: CharacterMult; + /** Timed worked in ms */ + timeWorked: number; + /** Hacking experience earned so far from work */ + workHackExpGain: number; + /** Str experience earned so far from work */ + workStrExpGain: number; + /** Def experience earned so far from work */ + workDefExpGain: number; + /** Dex experience earned so far from work */ + workDexExpGain: number; + /** Agi experience earned so far from work */ + workAgiExpGain: number; + /** Cha experience earned so far from work */ + workChaExpGain: number; + /** Reputation earned so far from work, if applicable */ + workRepGain: number; + /** Money earned so far from work, if applicable */ + workMoneyGain: number; +} + +/** + * @public + */ +export declare interface CharacterMult { + /** Agility stat */ + agility: number; + /** Agility exp */ + agilityExp: number; + /** Company reputation */ + companyRep: number; + /** Money earned from crimes */ + crimeMoney: number; + /** Crime success chance */ + crimeSuccess: number; + /** Defense stat */ + defense: number; + /** Defense exp */ + defenseExp: number; + /** Dexterity stat */ + dexterity: number; + /** Dexterity exp */ + dexterityExp: number; + /** Faction reputation */ + factionRep: number; + /** Hacking stat */ + hacking: number; + /** Hacking exp */ + hackingExp: number; + /** Strength stat */ + strength: number; + /** Strength exp */ + strengthExp: number; + /** Money earned from jobs */ + workMoney: number; +} + +/** + * @public + */ +export declare type City = "Aevum" | "Chongqing" | "Sector-12" | "New Tokyo" | "Ishima" | "Volhaven"; + +/** + * @public + */ +export declare interface CodingAttemptOptions { + /** If truthy, then the function will return a string that states the contract’s reward when it is successfully solved. */ + returnReward: boolean; +} + +/** + * @public + */ +export declare interface CodingContract { + /** + * Attempts to solve the Coding Contract with the provided solution. + * + * @remarks 10 GB + * @param answer - Solution for the contract. + * @param fn - Filename of the contract. + * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. + * @returns True if the solution was correct, false otherwise. + */ + attempt(answer: string | string[] | number, fn: string, host?: Host): boolean; + + /** + * Attempts to solve the Coding Contract with the provided solution. + * + * @remarks 10 GB + * @param answer - Solution for the contract. + * @param fn - Filename of the contract. + * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. + * @param opts - Optional parameters for configuring function behavior. + * @returns True if the solution was correct, false otherwise. If the returnReward option is configured, then the function will instead return a string. If the contract is successfully solved, the string will contain a description of the contract’s reward. Otherwise, it will be an empty string. + */ + attempt(answer: string | string[] | number, fn: string, host?: Host, opts?: CodingAttemptOptions): boolean | string; + + /** + * Returns a name describing the type of problem posed by the Coding Contract. + * (e.g. Find Largest Prime Factor, Total Ways to Sum, etc.) + * + * @remarks 5 GB + * @param fn - Filename of the contract. + * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. + * @returns Name describing the type of problem posed by the Coding Contract. + */ + getContractType(fn: string, host?: Host): CodingContractTypes; + + /** + * Get the full text description for the problem posed by the Coding Contract. + * + * @remarks 5 GB + * @param fn - Filename of the contract. + * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. + * @returns Contract’s text description. + */ + getDescription(fn: string, host?: Host): string; + + /** + * Get the data associated with the specific Coding Contract. + * Note that this is not the same as the contract’s description. + * This is just the data that the contract wants you to act on in order to solve + * + * @remarks 5 GB + * @param fn - Filename of the contract. + * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. + * @returns The specified contract’s data; + */ + getData(fn: string, host?: Host): string; + + /** + * Get the number of tries remaining on the contract before it self-destructs. + * + * @remarks 2 GB + * @param fn - Filename of the contract. + * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. + * @returns How many attempts are remaining for the contract; + */ + getNumTriesRemaining(fn: string, host?: Host): number; +} + +/** + * @public + */ +export declare type CodingContractTypes = +| "Find Largest Prime Factor" +| "Subarray with Maximum Sum" +| "Total Ways to Sum" +| "Spiralize Matrix" +| "Array Jumping Game" +| "Merge Overlapping Intervals" +| "Generate IP Addresses" +| "Algorithmic Stock Trader I" +| "Algorithmic Stock Trader II" +| "Algorithmic Stock Trader III" +| "Algorithmic Stock Trader IV" +| "Minimum Path Sum in a Triangle" +| "Unique Paths in a Grid I" +| "Unique Paths in a Grid II" +| "Sanitize Parentheses in Expression" +| "Find All Valid Math Expressions"; + +/** + * @public + */ +export declare type CompanyField = +| "software" +| "software consultant" +| "it" +| "security engineer" +| "network engineer" +| "business" +| "business consultant" +| "security" +| "agent" +| "employee" +| "part-time employee" +| "waiter" +| "part-time waiter"; + +/** + * @public + */ +export declare type CompanyName = +// Sector-12 +| "MegaCorp" +| "BladeIndustries" +| "FourSigma" +| "IcarusMicrosystems" +| "UniversalEnergy" +| "DeltaOne" +| "CIA" +| "NSA" +| "AlphaEnterprises" +| "CarmichaelSecurity" +| "FoodNStuff" +| "JoesGuns" + +// Aevum +| "ECorp" +| "BachmanAndAssociates" +| "ClarkeIncorporated" +| "OmniTekIncorporated" +| "FulcrumTechnologies" +| "GalacticCybersystems" +| "AeroCorp" +| "WatchdogSecurity" +| "RhoConstruction" +| "AevumPolice" +| "NetLinkTechnologies" + +// Volhaven +| "NWO" +| "HeliosLabs" +| "OmniaCybersystems" +| "LexoCorp" +| "SysCoreSecurities" +| "CompuTek" + +// Chongqing +| "KuaiGongInternational" +| "SolarisSpaceSystems" + +// Ishima +| "StormTechnologies" +| "NovaMedical" +| "OmegaSoftware" + +// New Tokyo +| "DefComm" +| "VitaLife" +| "GlobalPharmaceuticals" +| "NoodleBar"; + +/** + * @public + */ +export declare type CreatableProgram = PurchaseableProgram | "serverprofiler.exe"; + +/** + * @public + */ +export declare type Crime = +| "shoplift" +| "rob store" +| "mug" +| "larceny" +| "deal drugs" +| "bond forgery" +| "traffick arms" +| "homicide" +| "grand theft auto" +| "kidnap" +| "assassinate" +| "heist"; + +/** + * @public + */ +export declare interface CrimeStats { + /** Number representing the difficulty of the crime. Used for success chance calculations */ + difficulty: number; + /** Amount of karma lost for SUCCESSFULLY committing this crime */ + karma: number; + /** How many people die as a result of this crime */ + kills: number; + /** How much money is given */ + money: number; + /** Name of crime */ + name: number; + /** Milliseconds it takes to attempt the crime */ + time: number; + /** Description of the crime activity */ + type: string; + /** hacking level impact on success change of the crime */ + hacking_success_weight: number; + /** strength level impact on success change of the crime */ + strength_success_weight: number; + /** defense level impact on success change of the crime */ + defense_success_weight: number; + /** dexterity level impact on success change of the crime */ + dexterity_success_weight: number; + /** agility level impact on success change of the crime */ + agility_success_weight: number; + /** charisma level impact on success change of the crime */ + charisma_success_weight: number; + /** hacking exp gained from crime */ + hacking_exp: number; + /** strength exp gained from crime */ + strength_exp: number; + /** defense exp gained from crime */ + defense_exp: number; + /** dexterity exp gained from crime */ + dexterity_exp: number; + /** agility exp gained from crime */ + agility_exp: number; + /** charisma exp gained from crime */ + charisma_exp: number; + /** intelligence exp gained from crime */ + intelligence_exp: number; +} + +/** + * @public + */ +export declare type FactionName = +| "Illuminati" +| "Daedalus" +| "The Covenant" +| "ECorp" +| "MegaCorp" +| "Bachman & Associates" +| "Blade Industries" +| "NWO" +| "Clarke Incorporated" +| "OmniTek Incorporated" +| "Four Sigma" +| "KuaiGong International" +| "Fulcrum Secret Technologies" +| "BitRunners" +| "The Black Hand" +| "NiteSec" +| "Aevum" +| "Chongqing" +| "Ishima" +| "New Tokyo" +| "Sector-12" +| "Volhaven" +| "Speakers for the Dead" +| "The Dark Army" +| "The Syndicate" +| "Silhouette" +| "Tetrads" +| "Slum Snakes" +| "Netburners" +| "Tian Di Hui" +| "CyberSec" +| "Bladeburners"; + +/** + * @public + */ +export declare type FactionWork = "hacking" | "field" | "security"; + +/** + * @public + */ +export declare interface Gang { + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Get the names of all Gang members + * + * @remarks 1 GB + * @returns Names of all Gang members. + */ + getMemberNames(): string[]; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Get general information about the gang. + * + * @remarks 2 GB + * @returns Object containing general information about the gang. + */ + getGangInformation(): GangGenInfo; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Get territory and power information about all gangs. + * + * @remarks 2 GB + * @returns Object containing territory and power information about all gangs. + */ + getOtherGangInformation(): GangOtherInfo; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Get stat and equipment-related information about a Gang Member + * + * @remarks 2 GB + * @param name - Name of member. + * @returns Object containing stat and equipment-related information about a Gang Member. + */ + getMemberInformation(name: string): GangMemberInfo; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Returns boolean indicating whether a member can currently be recruited + * + * @remarks 1 GB + * @returns True if a member can currently be recruited, false otherwise. + */ + canRecruitMember(): boolean; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Attempt to recruit a new gang member. + * + * Possible reasons for failure: + * * Cannot currently recruit a new member + * * There already exists a member with the specified name + * + * @remarks 2 GB + * @param name - Name of member to recruit. + * @returns True if the member was successfully recruited, false otherwise. + */ + recruitMember(name: string): boolean; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Get the name of all valid tasks that Gang members can be assigned to. + * + * @remarks 1 GB + * @returns All valid tasks that Gang members can be assigned to. + */ + getTaskNames(): GangTasks[]; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Attempts to assign the specified Gang Member to the specified task. + * If an invalid task is specified, the Gang member will be set to idle (“Unassigned”). + * + * @remarks 2 GB + * @param memberName - Name of Gang member to assign. + * @param taskName - Task to assign. + * @returns True if the Gang Member was successfully assigned to the task, false otherwise. + */ + setMemberTask(memberName: string, taskName: GangTasks): boolean; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next. + * + * @remarks 1 GB + * @param name - Name of the task. + * @returns Detailed stats of a task. + */ + getTaskStats(name: GangTasks): GangTasksStats; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Get the name of all possible equipment/upgrades you can purchase for your Gang Members. + * This includes Augmentations. + * + * @remarks 1 GB + * @returns Names of all Equpiment/Augmentations. + */ + getEquipmentNames(): (GangEquipment | GangAugmentations)[]; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Get the amount of money it takes to purchase a piece of Equipment or an Augmentation. + * If an invalid Equipment/Augmentation is specified, this function will return Infinity. + * + * @remarks 2 GB + * @param equipName - Name of equipment. + * @returns Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments + */ + getEquipmentCost(equipName: GangEquipment | GangAugmentations): number; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Get the specified equipment type. + * + * @remarks 2 GB + * @param equipName - Name of equipment. + * @returns Type of the equipment. + */ + getEquipmentType(equipName: GangEquipment | GangAugmentations): GangEquipmentType; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Get the specified equipment stats. + * + * @remarks 2 GB + * @param equipName - Name of equipment. + * @returns A dictionary containing the stats of the equipment. + */ + getEquipmentStats(equipName: GangEquipment | GangAugmentations): GangEquipmentStats; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Attempt to purchase the specified Equipment/Augmentation for the specified Gang member. + * + * @remarks 4 GB + * @param memberName - Name of Gang member to purchase the equipment for. + * @param equipName - Name of Equipment/Augmentation to purchase. + * @returns True if the equipment was successfully purchased. False otherwise + */ + purchaseEquipment(memberName: string, equipName: GangEquipment | GangAugmentations): boolean; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Ascend the specified Gang Member. + * + * @remarks 4 GB + * @param memberName - Name of member to ascend. + * @returns Object with info about the ascension results. + */ + ascendMember(memberName: string): GangMemberAscension; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Set whether or not the gang should engage in territory warfare + * + * @remarks 2 GB + * @param engage - Whether or not to engage in territory warfare. + */ + setTerritoryWarfare(engage: boolean): void; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Returns the chance you have to win a clash with the specified gang. The chance is returned in decimal form, not percentage + * + * @remarks 4 GB + * @param gangName - Target gang + * @returns Chance you have to win a clash with the specified gang. + */ + getChanceToWinClash(gangName: GangName): number; + + /** + * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + * + * Returns the amount of accumulated “bonus time” (seconds) for the Gang mechanic. + * + * “Bonus time” is accumulated when the game is offline or if the game is inactive in the browser. + * + * “Bonus time” makes the game progress faster, up to 10x the normal speed. + * + * @remarks 0 GB + * @returns Bonus time for the Gang mechanic in seconds. + */ + getBonusTime(): number; +} + +/** + * @public + */ +export declare type GangAugmentations = +| "Bionic Arms" +| "Bionic Legs" +| "Bionic Spine" +| "BrachiBlades" +| "Nanofiber Weave" +| "Synthetic Heart" +| "Synfibril Muscle" +| "BitWire" +| "Neuralstimulator" +| "DataJack" +| "Graphene Bone Lacings"; + +/** + * @public + */ +export declare type GangEquipment = +| "Baseball Bat" +| "Katana" +| "Glock 18C" +| "P90C" +| "Steyr AUG" +| "AK-47" +| "M15A10 Assault Rifle" +| "AWM Sniper Rifle" +| "Bulletproof Vest" +| "Full Body Armor" +| "Liquid Body Armor" +| "Graphene Plating Armor" +| "Ford Flex V20" +| "ATX1070 Superbike" +| "Mercedes-Benz S9001" +| "White Ferrari" +| "NUKE Rootkit" +| "Soulstealer Rootkit" +| "Demon Rootkit" +| "Hmap Node" +| "Jack the Ripper"; + +/** + * @public + */ +export declare interface GangEquipmentStats { + /** Strength multiplier */ + str: number; + /** Defense multiplier */ + def: number; + /** Dexterity multiplier */ + dex: number; + /** Agility multiplier */ + agi: number; + /** Charisma multiplier */ + cha: number; + /** Hacking multiplier */ + hack: number; +} + +/** + * @public + */ +export declare type GangEquipmentType = "Weapon" | "Armor" | "Vehicle" | "Rootkit" | "Augmentation"; + +/** + * @public + */ +export declare interface GangGenInfo { + /** Name of faction that the gang belongs to ("Slum Snakes", etc.) */ + faction: GangName; + /** Boolean indicating whether or not its a hacking gang */ + isHacking: boolean; + /** Money earned per second */ + moneyGainRate: number; + /** Gang's power for territory warfare */ + power: number; + /** Gang's respect */ + respect: number; + /** Respect earned per second */ + respectGainRate: number; + /** Amount of territory held. Returned in decimal form, not percentage */ + territory: number; + /** Clash chance. Returned in decimal form, not percentage */ + territoryClashChance: number; + /** Gang's wanted level */ + wantedLevel: number; + /** Wanted level gained/lost per second (negative for losses) */ + wantedLevelGainRate: number; +} + +/** + * @public + */ +export declare interface GangMemberAscension { + /** Amount of respect lost from ascending */ + respect: number; + /** Hacking multiplier gained from ascending. Decimal form */ + hack: number; + /** Strength multiplier gained from ascending. Decimal form */ + str: number; + /** Defense multiplier gained from ascending. Decimal form */ + def: number; + /** Dexterity multiplier gained from ascending. Decimal form */ + dex: number; + /** Agility multiplier gained from ascending. Decimal form */ + agi: number; + /** Charisma multiplier gained from ascending. Decimal form */ + cha: number; +} + +/** + * @public + */ +export declare interface GangMemberInfo { + /** Agility stat */ + agility: number; + /** Agility multiplier from equipment. Decimal form */ + agilityEquipMult: number; + /** Agility multiplier from ascension. Decimal form */ + agilityAscensionMult: number; + /** Array of names of all owned Augmentations */ + augmentations: GangAugmentations[]; + /** Charisma stat */ + charisma: number; + /** Charisma multiplier from equipment. Decimal form */ + charismaEquipMult: number; + /** Charisma multiplier from ascension. Decimal form */ + charismaAscensionMult: number; + /** Defense stat */ + defense: number; + /** Defense multiplier from equipment. Decimal form */ + defenseEquipMult: number; + /** Defense multiplier from ascension. Decimal form */ + defenseAscensionMult: number; + /** Dexterity stat */ + dexterity: number; + /** Dexterity multiplier from equipment. Decimal form */ + dexterityEquipMult: number; + /** Dexterity multiplier from ascension. Decimal form */ + dexterityAscensionMult: number; + /** Array of names of all owned Non-Augmentation Equipment */ + equipment: GangEquipment[]; + /** Hacking stat */ + hacking: number; + /** Hacking multiplier from equipment. Decimal form */ + hackingEquipMult: number; + /** Hacking multiplier from ascension. Decimal form */ + hackingAscensionMult: number; + /** Strength stat */ + strength: number; + /** Strength multiplier from equipment. Decimal form */ + strengthEquipMult: number; + /** Strength multiplier from ascension. Decimal form */ + strengthAscensionMult: number; + /** Name of currently assigned task */ + task: GangTasks; +} + +/** + * @public + */ +export declare type GangName = +| "Slum Snakes" +| "Tetrads" +| "The Syndicate" +| "The Dark Army" +| "Speakers for the Dead" +| "NiteSec" +| "The Black Hand"; + +/** + * @public + */ +export declare type GangOtherInfo = { + /** Stock Symbol */ + [key in GangName]: GangOtherInfoObject[]; +}; + +/** + * @public + */ +export declare interface GangOtherInfoObject { + /** Gang power */ + power: number; + /** Gang territory, in decimal form */ + territory: number; +} + +/** + * @public + */ +export declare type GangTasks = +| "Unassigned" +| "Ransomware" +| "Phishing" +| "Identity Theft" +| "DDoS Attacks" +| "Plant Virus" +| "Fraud & Counterfeiting" +| "Money Laundering" +| "Cyberterrorism" +| "Ethical Hacking" +| "Mug People" +| "Deal Drugs" +| "Strongarm Civilians" +| "Run a Con" +| "Armed Robbery" +| "Traffick Illegal Arms" +| "Threaten & Blackmail" +| "Human Trafficking" +| "Terrorism" +| "Vigilante Justice" +| "Train Combat" +| "Train Hacking" +| "Train Charisma" +| "Territory Warfare"; + +/** + * @public + */ +export declare interface GangTasksStats { + /** Task name */ + name: GangTasks; + /** Task Description */ + desc: string; + /** Is a task of a hacking gang */ + isHacking: boolean; + /** Is a task of a combat gang */ + isCombat: boolean; + /** Base respect earned */ + baseRespect: number; + /** Base wanted earned */ + baseWanted: number; + /** Base money earned */ + baseMoney: number; + /** Hacking skill impact on task scaling */ + hackWeight: number; + /** Stength skill impact on task scaling */ + strWeight: number; + /** Defense skill impact on task scaling */ + defWeight: number; + /** Dexterity skill impact on task scaling */ + dexWeight: number; + /** Agility skill impact on task scaling */ + agiWeight: number; + /** Charisma skill impact on task scaling */ + chaWeight: number; + /** Number representing the difficulty of the task */ + difficulty: number; + /** Territory impact on task scaling */ + territory: GangTasksTerritory; +} + +/** + * @public + */ +export declare interface GangTasksTerritory { + /** Money gain impact on task scaling */ + money: number; + /** Respect gain impact on task scaling */ + respect: number; + /** Wanted gain impact on task scaling */ + wanted: number; +} + +/** + * @public + */ +export declare type Gym = "Crush Fitness Gym" | "Snap Fitness Gym" | "Iron Gym" | "Powerhouse Gym" | "Millenium Fitness Gym"; + +/** + * @public + */ +export declare type GymStat = "str" | "def" | "dex" | "agi"; + +/** + * @public + */ +export declare interface HackingMultipliers { + /** Player's hacking chance multiplier. */ + chance: number; + /** Player's hacking speed multiplier. */ + speed: number; + /** Player's hacking money stolen multiplier. */ + money: number; + /** Player's hacking growth multiplier */ + growth: number; +} + +/** + * @public + */ +export declare interface HackNet { + /** + * Returns the number of Hacknet Nodes you own. + * + * @remarks 0 GB + * @returns number of hacknet nodes. + */ + numNodes(): number; + + /** + * Purchases a new Hacknet Node. Returns a number with the index of the + * Hacknet Node. This index is equivalent to the number at the end of + * the Hacknet Node’s name (e.g The Hacknet Node named \`hacknet-node-4\` + * will have an index of 4). + * + * If the player cannot afford to purchase a new Hacknet Node then the function will return -1. + * + * @remarks 0 GB + * @returns The index of the Hacknet Node or if the player cannot afford to purchase a new Hacknet Node the function will return -1. + */ + purchaseNode(): number; + + /** + * Returns the cost of purchasing a new Hacknet Node. + * + * @remarks 0 GB + * @returns Cost of purchasing a new Hacknet Node. + */ + getPurchaseNodeCost(): number; + + /** + * Returns an object containing a variety of stats about the specified Hacknet Node. + * + * Note that for Hacknet Nodes, production refers to the amount of money the node generates. + * For Hacknet Servers (the upgraded version of Hacknet Nodes), production refers to the + * amount of hashes the node generates. + * + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node + * @returns Object containing a variety of stats about the specified Hacknet Node. + */ + getNodeStats(index: number): NodeStats; + + /** + * Tries to upgrade the level of the specified Hacknet Node by n. + * + * Returns true if the Hacknet Node’s level is successfully upgraded by n + * or if it is upgraded by some positive amount and the Node reaches its max level. + * + * Returns false otherwise. + * + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of levels to purchase. Must be positive. Rounded to nearest integer. + * @returns True if the Hacknet Node’s level is successfully upgraded, false otherwise. + */ + upgradeLevel(index: number, n: number): boolean; + + /** + * Tries to upgrade the specified Hacknet Node’s RAM n times. + * Note that each upgrade doubles the Node’s RAM. + * So this is equivalent to multiplying the Node’s RAM by 2 n. + * + * Returns true if the Hacknet Node’s RAM is successfully upgraded n times + * or if it is upgraded some positive number of times and the Node reaches it max RAM. + * + * Returns false otherwise. + * + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of times to upgrade RAM. Must be positive. Rounded to nearest integer. + * @returns True if the Hacknet Node’s ram is successfully upgraded, false otherwise. + */ + upgradeRam(index: number, n: number): boolean; + + /** + * Tries to purchase n cores for the specified Hacknet Node. + * + * Returns true if it successfully purchases n cores for the Hacknet Node + * or if it purchases some positive amount and the Node reaches its max number of cores. + * + * Returns false otherwise. + * + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of cores to purchase. Must be positive. Rounded to nearest integer. + * @returns True if the Hacknet Node’s cores are successfully purchased, false otherwise. + */ + upgradeCore(index: number, n: number): boolean; + + /** + * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node). + * + * Tries to upgrade the specified Hacknet Server’s cache n times. + * + * Returns true if it successfully upgrades the Server’s cache n times, + * or if it purchases some positive amount and the Server reaches its max cache level. + * + * Returns false otherwise. + * + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of cache levels to purchase. Must be positive. Rounded to nearest integer. + * @returns True if the Hacknet Node’s cores are successfully purchased, false otherwise. + */ + upgradeCache(index: number, n: number): boolean; + + /** + * Returns the cost of upgrading the specified Hacknet Node by n levels. + * + * If an invalid value for n is provided, then this function returns 0. + * If the specified Hacknet Node is already at max level, then Infinity is returned. + * + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of levels to upgrade. Must be positive. Rounded to nearest integer. + * @returns Cost of upgrading the specified Hacknet Node. + */ + getLevelUpgradeCost(index: number, n: number): number; + + /** + * Returns the cost of upgrading the RAM of the specified Hacknet Node n times. + * + * If an invalid value for n is provided, then this function returns 0. + * If the specified Hacknet Node is already at max level, then Infinity is returned. + * + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of times to upgrade RAM. Must be positive. Rounded to nearest integer. + * @returns Cost of upgrading the specified Hacknet Node's ram. + */ + getRamUpgradeCost(index: number, n: number): number; + + /** + * Returns the cost of upgrading the number of cores of the specified Hacknet Node by n. + * + * If an invalid value for n is provided, then this function returns 0. + * If the specified Hacknet Node is already at max level, then Infinity is returned. + * + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of times to upgrade cores. Must be positive. Rounded to nearest integer. + * @returns Cost of upgrading the specified Hacknet Node's number of cores. + */ + getCoreUpgradeCost(index: number, n: number): number; + + /** + * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node). + * + * Returns the cost of upgrading the cache level of the specified Hacknet Server by n. + * + * If an invalid value for n is provided, then this function returns 0. + * If the specified Hacknet Node is already at max level, then Infinity is returned. + * + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of times to upgrade cache. Must be positive. Rounded to nearest integer. + * @returns Cost of upgrading the specified Hacknet Node's cache. + */ + getCacheUpgradeCost(index: number, n: number): number; + + /** + * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node). + * + * Returns the number of hashes you have. + * + * @remarks 0 GB + * @returns Number of hashes you have. + */ + numHashes(): number; + + /** + * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node). + * + * Returns the number of hashes required for the specified upgrade. The name of the upgrade must be an exact match. + * + * @example + * ```js + * var upgradeName = "Sell for Corporation Funds"; + * if (hacknet.numHashes() > hacknet.hashCost(upgradeName)) { + * hacknet.spendHashes(upgName); + * } + * ``` + * @remarks 0 GB + * @param upgName - Name of the upgrade of Hacknet Node. + * @returns Number of hashes required for the specified upgrade. + */ + hashCost(upgName: HashUpgrades): number; + + /** + * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node). + * + * Spend the hashes generated by your Hacknet Servers on an upgrade. + * Returns a boolean value - true if the upgrade is successfully purchased, and false otherwise. + * + * The name of the upgrade must be an exact match. + * The \`upgTarget\` argument is used for upgrades such as \`Reduce Minimum Security\`, which applies to a specific server. + * In this case, the \`upgTarget\` argument must be the hostname of the server. + * + * @example + * ```js + * hacknet.spendHashes("Sell for Corporation Funds"); + * hacknet.spendHashes("Increase Maximum Money", "foodnstuff"); + * ``` + * @remarks 0 GB + * @param upgName - Name of the upgrade of Hacknet Node. + * @param upgTarget - Object to which upgrade applies. Required for certain upgrades. + * @returns True if the upgrade is successfully purchased, and false otherwise.. + */ + spendHashes(upgName: HashUpgrades, upgTarget?: Host): boolean; +} + +/** + * @public + */ +export declare interface HacknetMultipliers { + /** Player's hacknet production multiplier */ + production: number; + /** Player's hacknet purchase cost multiplier */ + purchaseCost: number; + /** Player's hacknet ram cost multiplier */ + ramCost: number; + /** Player's hacknet core cost multiplier */ + coreCost: number; + /** Player's hacknet level cost multiplier */ + levelCost: number; +} + +/** + * @public + */ +export declare type Handle = string | Port; + +/** + * @public + */ +export declare type HashUpgrades = +| "Sell for Money" +| "Sell for Corporation Funds" +| "Reduce Minimum Security" +| "Increase Maximum Money" +| "Improve Studying" +| "Improve Gym Training" +| "Exchange for Corporation Research" +| "Exchange for Bladeburner Rank" +| "Exchange for Bladeburner SP" +| "Generate Coding Contract"; + +/** + * @public + */ +export declare type Host = string; + +/** + * @public + */ +export declare interface NodeStats { + /** Node's name ("hacknet-node-5") */ + name: string; + /** Node's level */ + level: number; + /** Node's RAM */ + ram: number; + /** Node's number of cores */ + cores: number; + /** Cache level. Only applicable for Hacknet Servers */ + cache: number; + /** Hash Capacity provided by this Node. Only applicable for Hacknet Servers */ + hashCapacity: number; + /** Node's production per second */ + production: number; + /** Number of seconds since Node has been purchased */ + timeOnline: number; + /** Total number of money Node has produced */ + totalProduction: number; +} + +/** + * @public + */ +export declare interface NS extends Singularity { + /** + * Not all functions in the Hacknet Node API are immediately available. + * + * Note that none of these functions will write to the script’s logs. + * + * If you want to see what your script is doing you will have to print to the logs yourself. + * + * @remarks 4 GB + */ + readonly hacknet: HackNet; + /** + * @remarks 0 GB + */ + readonly bladeburner: Bladeburner; + /** + * @remarks 0 GB + */ + readonly codingcontract: CodingContract; + /** + * @remarks 0 GB + */ + readonly gang: Gang; + /** + * @remarks 0 GB + */ + readonly sleeve: Sleeve; + /** + * @remarks 0 GB + */ + readonly stock: TIX; + + /** + * Arguments passed into a script can be accessed using a normal + * array using the [] operator (args[0], args[1], etc…). + * + * It is also possible to get the number of arguments that was passed into a script using: + * ```js + * args.length + * ``` + * WARNING: Do not try to modify the args array. This will break the game. + * + * @remarks 0 GB + */ + readonly args: any[]; + + /** + * Function that is used to try and hack servers to steal money and gain hacking experience. + * The runtime for this command depends on your hacking level and the target server’s + * security level. In order to hack a server you must first gain root access to that server + * and also have the required hacking level. + * + * A script can hack a server from anywhere. It does not need to be running on the same + * server to hack that server. For example, you can create a script that hacks the \`foodnstuff\` + * server and run that script on any server in the game. + * + * A successful \`hack()\` on a server will raise that server’s security level by 0.002. + * + * @example + * ```js + * hack("foodnstuff"); + * hack("10.1.2.3"); + * hack("foodnstuff", { threads: 5 }); // Only use 5 threads to hack + * ``` + * @remarks 0.1 GB + * @param host - Hostname or IP of the target server to hack. + * @param opts - Optional parameters for configuring function behavior. + * @returns The amount of money stolen if the hack is successful, and zero otherwise. + */ + hack(host: Host, opts?: BasicHGWOptions): Promise; + + /** + * Use your hacking skills to increase the amount of money available on a server. + * The runtime for this command depends on your hacking level and the target server’s + * security level. When \`grow\` completes, the money available on a target server will + * be increased by a certain, fixed percentage. This percentage is determined by the + * target server’s growth rate (which varies between servers) and security level. Generally, + * higher-level servers have higher growth rates. The getServerGrowth() function can be used + * to obtain a server’s growth rate. + * + * Like hack, \`grow\` can be called on any server, regardless of where the script is running. + * The grow() command requires root access to the target server, but there is no required hacking + * level to run the command. It also raises the security level of the target server by 0.004. + * + * @example + * ```js + * grow("foodnstuff"); + * grow("foodnstuff", { threads: 5 }); // Only use 5 threads to grow + * ``` + * @remarks 0.15 GB + * @param host - Hostname or IP of the target server to grow. + * @param opts - Optional parameters for configuring function behavior. + * @returns The number by which the money on the server was multiplied for the growth. + */ + grow(host: Host, opts?: BasicHGWOptions): Promise; + + /** + * Use your hacking skills to attack a server’s security, lowering the server’s security level. + * The runtime for this command depends on your hacking level and the target server’s security + * level. This function lowers the security level of the target server by 0.05. + * + * Like hack and grow, \`weaken\` can be called on any server, regardless of + * where the script is running. This command requires root access to the target server, but + * there is no required hacking level to run the command. + * + * @example + * ```js + * weaken("foodnstuff"); + * weaken("foodnstuff", { threads: 5 }); // Only use 5 threads to weaken + * ``` + * @remarks 0.15 GB + * @param host - Hostname or IP of the target server to weaken. + * @param opts - Optional parameters for configuring function behavior. + * @returns The amount by which the target server’s security level was decreased. This is equivalent to 0.05 multiplied by the number of script threads. + */ + weaken(host: Host, opts?: BasicHGWOptions): Promise; + + /** + * Returns the security decrease that would occur if a weaken with this many threads happened. + * + * @remarks 1 GB + * @param threads - Amount of threads that will be used. + * @param cores - Optional. The number of cores of the server that would run weaken. + * @returns The security decrease. + */ + weakenAnalyze(threads: number, cores?: number): number; + + /** + * This function returns the number of script threads you need when running the hack command + * to steal the specified amount of money from the target server. + * If hackAmount is less than zero or greater than the amount of money available on the server, + * then this function returns -1. + * + * Warning: The value returned by this function isn’t necessarily a whole number. + * + * @example + * ```js + * //For example, let’s say the foodnstuff server has $10m and you run: + * hackAnalyzeThreads("foodnstuff", 1e6); + * //If this function returns 50, this means that if your next hack call is run on a script with 50 threads, it will steal $1m from the foodnstuff server. + * ``` + * @remarks 1 GB + * @param host - Hostname or IP of the target server to analyze. + * @param hackAmount - Amount of money you want to hack from the server. + * @returns The number of threads needed to hack the server for hackAmount money. + */ + hackAnalyzeThreads(host: Host, hackAmount: number): number; + + /** + * Returns the percentage of the specified server’s money you will steal with a single hack. + * This value is returned in percentage form, not decimal + * (Netscript functions typically return in decimal form, but not this one). + * + * @example + * ```js + * //For example, assume the following returns 1: + * hackAnalyzePercent("foodnstuff"); + * //This means that if hack the foodnstuff server, then you will steal 1% of its total money. If you hack using N threads, then you will steal N% of its total money. + * ``` + * @remarks 1 GB + * @param host - Hostname or IP of the target server. + * @returns The percentage of money you will steal from the target server with a single hack. + */ + hackAnalyzePercent(host: Host): number; + + /** + * Returns the security increase that would occur if a hack with this many threads happened. + * + * @remarks 1 GB + * @param threads - Amount of threads that will be used. + * @returns The security increase. + */ + hackAnalyzeSecurity(threads: number): number; + + /** + * Returns the chance you have of successfully hacking the specified server. + * + * This returned value is in decimal form, not percentage. + * + * @remarks 1 GB + * @param host - Hostname or IP of the target server. + * @returns The chance you have of successfully hacking the target server. + */ + hackChance(host: Host): number; + + /** + * This function returns the number of “growths” needed in order to increase + * the amount of money available on the specified server by the specified amount. + * The specified amount is multiplicative and is in decimal form, not percentage. + * + * Warning: The value returned by this function isn’t necessarily a whole number. + * + * @example + * ```js + * //For example, if you want to determine how many grow calls you need to double the amount of money on foodnstuff, you would use: + * growthAnalyze("foodnstuff", 2); + * //If this returns 100, then this means you need to call grow 100 times in order to double the money (or once with 100 threads). + * ``` + * @remarks 1 GB + * @param host - Hostname or IP of the target server. + * @param growthAmount - Multiplicative factor by which the server is grown. Decimal form.. + * @returns The amount of grow calls needed to grow the specified server by the specified amount + */ + growthAnalyze(host: Host, growthAmount: number): number; + + /** + * Returns the security increase that would occur if a grow with this many threads happened. + * + * @remarks 1 GB + * @param threads - Amount of threads that will be used. + * @returns The security increase. + */ + growthAnalyzeSecurity(threads: number): number; + + /** + * Suspends the script for n milliseconds. + * + * @remarks 0 GB + * @param millis - Number of milliseconds to sleep. + * @returns + */ + sleep(millis: number): Promise; + + /** + * Prints a value or a variable to the script’s logs. + * + * @remarks 0 GB + * @param msg - Value to be printed. + */ + print(msg: string | number | string[] | number[]): void; + + /** + * Prints a value or a variable to the Terminal. + * + * @remarks 0 GB + * @param msg - Value to be printed. + */ + tprint(msg: string | number | string[] | number[]): void; + + /** + * Clears the script’s logs. + * + * @remarks 0 GB + */ + clearLog(): void; + + /** + * Disables logging for the given function. Logging can be disabled + * for all functions by passing \`ALL\` as the argument. + * + * Note that this does not completely remove all logging functionality. + * This only stops a function from logging when the function is successful. + * If the function fails, it will still log the reason for failure. + * + * Notable functions that cannot have their logs disabled: run, + * exec, exit. + * + * @remarks 0 GB + * @param fn - Name of function for which to disable logging. + */ + disableLog(fn: string): void; + + /** + * Re-enables logging for the given function. If \`ALL\` is passed into this + * function as an argument, then it will revert the effects of disableLog(\`ALL\`). + * + * @remarks 0 GB + * @param fn - Name of function for which to enable logging. + */ + enableLog(fn: string): void; + + /** + * Checks the status of the logging for the given function. + * + * @remarks 0 GB + * @param fn - Name of function to check. + * @returns Returns a boolean indicating whether or not logging is enabled for that function (or \`ALL\`) + */ + isLogEnabled(fn: string): boolean; + + /** + * Returns a script’s logs. The logs are returned as an array, where each line is an element in the array. + * The most recently logged line is at the end of the array. + * Note that there is a maximum number of lines that a script stores in its logs. This is configurable in the game’s options. + * If the function is called with no arguments, it will return the current script’s logs. + * + * Otherwise, the fn, hostname/ip, and args… arguments can be used to get the logs from another script. + * Remember that scripts are uniquely identified by both their names and arguments. + * + * @example + * ```js + * //Get logs from foo.script on the current server that was run with no args + * getScriptLogs("foo.script"); + * ``` + * @example + * ```js + * //Open logs from foo.script on the foodnstuff server that was run with no args + * getScriptLogs("foo.script", "foodnstuff"); + * ``` + * @example + * ```js + * //Open logs from foo.script on the foodnstuff server that was run with the arguments [1, "test"] + * getScriptLogs("foo.script", "foodnstuff", 1, "test"); + * ``` + * @remarks 0 GB + * @param fn - Optional. Filename of script to get logs from. + * @param host - Optional. Hostname or IP of the server that the script is on. + * @param args - Arguments to identify which scripts to get logs for. + * @returns Returns an string array, where each line is an element in the array. The most recently logged line is at the end of the array. + */ + getScriptLogs(fn?: Script, host?: Host, ...args: any[]): string[]; + + /** + * Opens a script’s logs. This is functionally the same as the tail Terminal command. + * + * If the function is called with no arguments, it will open the current script’s logs. + * + * Otherwise, the fn, hostname/ip, and args… arguments can be used to get the logs from another script. + * Remember that scripts are uniquely identified by both their names and arguments. + * + * @example + * ```js + * //Open logs from foo.script on the current server that was run with no args + * tail("foo.script"); + * ``` + * @example + * ```js + * //Get logs from foo.script on the foodnstuff server that was run with no args + * tail("foo.script", "foodnstuff"); + * ``` + * @example + * ```js + * //Get logs from foo.script on the foodnstuff server that was run with the arguments [1, "test"] + * tail("foo.script", "foodnstuff", 1, "test"); + * ``` + * @remarks 0 GB + * @param fn - Optional. Filename of the script being tailed. If omitted, the current script is tailed. + * @param host - Optional. Hostname or IP of the script being tailed. Defaults to the server this script is running on. If args are specified, this is not optional. + * @param args - Arguments for the script being tailed. + */ + tail(fn?: Script, host?: Host, ...args: any[]): void; + + /** + * Returns an array containing the hostnames or IPs of all servers that are one + * node way from the specified target server. The hostnames/IPs in the returned + * array are strings. + * + * @remarks 0.2 GB + * @param host - Hostname or IP of the server to scan. + * @param hostnames - Optional boolean specifying whether the function should output hostnames (if true) or IP addresses (if false). + * @returns Returns an string of hostnames or IP. + */ + scan(host: Host, hostnames?: boolean): Host[]; + + /** + * Runs the NUKE.exe program on the target server. NUKE.exe must exist on your home computer. + * + * @example + * ```js + * nuke("foodnstuff"); + * ``` + * @remarks 0.05 GB + * @param host - Hostname or IP of the target server. + */ + nuke(host: Host): void; + + /** + * Runs the BruteSSH.exe program on the target server. BruteSSH.exe must exist on your home computer. + * + * @example + * ```js + * brutessh("foodnstuff"); + * ``` + * @remarks 0.05 GB + * @param host - Hostname or IP of the target server. + */ + brutessh(host: Host): void; + + /** + * Runs the FTPCrack.exe program on the target server. FTPCrack.exe must exist on your home computer. + * + * @example + * ```js + * ftpcrack("foodnstuff"); + * ``` + * @remarks 0.05 GB + * @param host - Hostname or IP of the target server. + */ + ftpcrack(host: Host): void; + + /** + * Runs the relaySMTP.exe program on the target server. relaySMTP.exe must exist on your home computer. + * + * @example + * ```js + * relaysmtp("foodnstuff"); + * ``` + * @remarks 0.05 GB + * @param host - Hostname or IP of the target server. + */ + relaysmtp(host: Host): void; + + /** + * Runs the HTTPWorm.exe program on the target server. HTTPWorm.exe must exist on your home computer. + * + * @example + * ```js + * httpworm("foodnstuff"); + * ``` + * @remarks 0.05 GB + * @param host - Hostname or IP of the target server. + */ + httpworm(host: Host): void; + + /** + * Runs the SQLInject.exe program on the target server. SQLInject.exe must exist on your home computer. + * + * @example + * ```js + * sqlinject("foodnstuff"); + * ``` + * @remarks 0.05 GB + * @param host - Hostname or IP of the target server. + */ + sqlinject(host: Host): void; + + /** + * Run a script as a separate process. This function can only be used to run scripts located on the + * current server (the server running the script that calls this function). Requires a significant + * amount of RAM to run this command. + * + * If the script was successfully started, then this functions returns the PID of that script. + * Otherwise, it returns 0. + * + * PID stands for Process ID. The PID is a unique identifier for each script. + * The PID will always be a positive integer. + * + * Running this function with a numThreads argument of 0 will return 0 without running the script. + * However, running this function with a negative numThreads argument will cause a runtime error. + * + * @example + * ```js + * //The simplest way to use the run command is to call it with just the script name. The following example will run ‘foo.script’ single-threaded with no arguments: + * run("foo.script"); + * ``` + * @example + * ```js + * //The following example will run ‘foo.script’ but with 5 threads instead of single-threaded: + * run("foo.script", 5); + * ``` + * @example + * ```js + * //This next example will run ‘foo.script’ single-threaded, and will pass the string ‘foodnstuff’ into the script as an argument: + * run("foo.script", 1, 'foodnstuff'); + * ``` + * @remarks 1 GB + * @param script - Filename of script to run. + * @param numThreads - Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer. + * @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the second argument numThreads must be filled in with a value. + * @returns Returns the PID of a successfully started script, and 0 otherwise. + */ + run(script: Script, numThreads?: number, ...args: string[]): number; + + /** + * Run a script as a separate process on a specified server. This is similar to the run function + * except that it can be used to run a script on any server, instead of just the current server. + * + * If the script was successfully started, then this functions returns the PID of that script. + * Otherwise, it returns 0. + * + * PID stands for Process ID. The PID is a unique identifier for each script. + * The PID will always be a positive integer. + * + * Running this function with a numThreads argument of 0 will return 0 without running the script. + * However, running this function with a negative numThreads argument will cause a runtime error. + * + * @example + * ```js + * //The simplest way to use the exec command is to call it with just the script name and the target server. The following example will try to run generic-hack.script on the foodnstuff server: + * exec("generic-hack.script", "foodnstuff"); + * ``` + * @example + * ```js + * //The following example will try to run the script generic-hack.script on the joesguns server with 10 threads: + * exec("generic-hack.script", "joesguns", 10); + * ``` + * @example + * ```js + * //This last example will try to run the script foo.script on the foodnstuff server with 5 threads. It will also pass the number 1 and the string “test” in as arguments to the script: + * exec("foo.script", "foodnstuff", 5, 1, "test"); + * ``` + * @remarks 1.3 GB + * @param script - Filename of script to execute. + * @param host - Hostname or IP of the \`target server\` on which to execute the script. + * @param numThreads - Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer. + * @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the third argument numThreads must be filled in with a value. + * @returns Returns the PID of a successfully started script, and 0 otherwise. + */ + exec(script: Script, host: Host, numThreads?: number, ...args: string[]): number; + + /** + * Terminates the current script, and then after a delay of about 10 seconds it will execute the + * newly-specified script. The purpose of this function is to execute a new script without being + * constrained by the RAM usage of the current one. This function can only be used to run scripts + * on the local server. + * + * Because this function immediately terminates the script, it does not have a return value. + * + * @example + * ```js + * //The following example will execute the script ‘foo.script’ with 10 threads and the arguments ‘foodnstuff’ and 90: + * spawn('foo.script', 10, 'foodnstuff', 90); + * ``` + * @remarks 2 GB + * @param script - Filename of script to execute. + * @param numThreads - Number of threads to spawn new script with. Will be rounded to nearest integer. + * @param args - Additional arguments to pass into the new script that is being run. + */ + spawn(script: Script, numThreads?: number, ...args: string[]): void; + + /** + * Kills the script on the target server specified by the script’s name and arguments. + * Remember that scripts are uniquely identified by both their name and arguments. + * For example, if \`foo.script\` is run with the argument 1, then this is not the same as + * \`foo.script\` run with the argument 2, even though they have the same code. + * + * @example + * ```js + * //The following example will try to kill a script named foo.script on the foodnstuff server that was ran with no arguments: + * kill("foo.script", "foodnstuff"); + * ``` + * @example + * ```js + * //The following will try to kill a script named foo.script on the current server that was ran with no arguments: + * kill("foo.script", getHostname()); + * ``` + * @example + * ```js + * //The following will try to kill a script named foo.script on the current server that was ran with the arguments 1 and “foodnstuff”: + * kill("foo.script", getHostname(), 1, "foodnstuff"); + * ``` + * @remarks 0.5 GB + * @param script - Filename of the script to kill + * @param host - Hostname or IP of the server on which to kill the script. + * @param args - Arguments to identify which script to kill. + * @returns True if the script is successfully killed, and false otherwise. + */ + kill(script: Script, host: Host, ...args: string[]): boolean; + + /** + * Kills the script with the specified PID. + * Killing a script by its PID will typically have better performance, + * especially if you have many scripts running. + * If this function successfully kills the specified script, then it will return true. + * Otherwise, it will return false. + * + * @example + * ```js + * if (kill(10)) { + * print("Killed script with PID 10!"); + * } + * ``` + * @remarks 0.5 GB + * @param scriptPid - PID of the script to kill + * @returns True if the script is successfully killed, and false otherwise. + */ + kill(scriptPid: number): boolean; + + /** + * Kills all running scripts on the specified server. This function returns true + * if any scripts were killed, and false otherwise. In other words, it will return + * true if there are any scripts running on the target server. + * + * @remarks 0.5 GB + * @param host - IP or hostname of the server on which to kill all scripts. + * @returns True if any scripts were killed, and false otherwise. + */ + killall(host: Host): boolean; + + /** + * Terminates the current script immediately. + * + * @remarks 0 GB + */ + exit(): void; + + /** + * Copies a script or literature (.lit) file(s) to another server. The files argument can be either a string + * specifying a single file to copy, or an array of strings specifying multiple files to copy. + * + * @example + * ```js + * //Copies hack-template.script from the current server to foodnstuff: + * scp("hack-template.script", "foodnstuff"); + * ``` + * @remarks 0.6 GB + * @param files - Filename or an array of filenames of script/literature files to copy. + * @param destination - Host or IP of the destination server, which is the server to which the file will be copied. + * @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied. + */ + scp(files: string | ReadonlyArray, destination: Host): boolean; + + /** + * Copies a script or literature (.lit) file(s) to another server. The files argument can be either a string + * specifying a single file to copy, or an array of strings specifying multiple files to copy. + * + * @example + * ```js + * //Copies foo.lit from the helios server to the home computer: + * scp("foo.lit", "helios", "home"); + * ``` + * @example + * ```js + * //Tries to copy three files from rothman-uni to home computer: + * files = ["foo1.lit", "foo2.script", "foo3.script"]; + * scp(files, "rothman-uni", "home"); + * ``` + * @remarks 0.6 GB + * @param files - Filename or an array of filenames of script/literature files to copy. + * @param source - Host or IP of the source server, which is the server from which the file will be copied. This argument is optional and if it’s omitted the source will be the current server. + * @param destination - Host or IP of the destination server, which is the server to which the file will be copied. + * @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied. + */ + scp( + files: string | ReadonlyArray, + source: Host, + // tslint:disable-next-line:unified-signatures + destination: Host, + ): boolean; + + /** + * Returns an array with the filenames of all files on the specified server + * (as strings). The returned array is sorted in alphabetic order. + * + * @remarks 0.2 GB + * @param host - Host or IP of the target server. + * @param grep - A substring to search for in the filename. + * @returns Array with the filenames of all files on the specified server. + */ + ls(host: Host, grep?: string): string[]; + + /** + * Returns an array with general information about all scripts running on the specified target server. + * + * @example + * ```js + * //(using NetscriptJS (Netscript 2.0)) + * export async function main(ns) { + * const ps = ns.ps("home"); + * for (let i = 0; i < ps.length; ++i) { + * ns.tprint(ps[i].filename + ' ' + ps[i].threads); + * ns.tprint(ps[i].args); + * } + * } + * ``` + * @remarks 0.2 GB + * @param host - Host or IP address of the target server. If not specified, it will be the current server’s IP by default. + * @returns Array with general information about all scripts running on the specified target server. + */ + ps(host?: Host): ProcessInfo[]; + + /** + * Returns a boolean indicating whether or not the player has root access to the specified target server. + * + * @example + * ```js + * if (hasRootAccess("foodnstuff") == false) { + * nuke("foodnstuff"); + * } + * ``` + * @remarks 0.05 GB + * @param host - Host or IP of the target server + * @returns True if player has root access to the specified target server, and false otherwise. + */ + hasRootAccess(host: Host): boolean; + + /** + * Returns a string with the hostname of the server that the script is running on. + * + * @remarks 0.05 GB + * @returns Hostname of the server that the script is on. + */ + getHostname(): Host; + + /** + * Returns the player’s current hacking level. + * + * @remarks 0.05 GB + * @returns Player’s current hacking level + */ + getHackingLevel(): number; + + /** + * Returns an object containing the Player’s hacking related multipliers. + * These multipliers are returned in fractional forms, not percentages + * (e.g. 1.5 instead of 150%). + * + * @example + * ```js + * //Example of how this can be used: + * mults = getHackingMultipliers(); + * print(mults.chance); + * print(mults.growth); + * ``` + * @remarks 4 GB + * @returns Object containing the Player’s hacking related multipliers. + */ + getHackingMultipliers(): HackingMultipliers; + + /** + * Returns an object containing the Player’s hacknet related multipliers. + * These multipliers are returned in fractional forms, not percentages + * (e.g. 1.5 instead of 150%). + * + * @example + * ```js + * //Example of how this can be used: + * mults = getHacknetMultipliers(); + * print(mults.production); + * print(mults.purchaseCost); + * ``` + * @remarks 4 GB + * @returns Object containing the Player’s hacknet related multipliers. + */ + getHacknetMultipliers(): HacknetMultipliers; + + /** + * Returns a server object for the given server. Defaults to the running script's server if host is not specified. + * + * @remarks 2 GB + * @param host - Optional. Hostname or IP for the requested server object. + * @returns The requested server object. + */ + getServer(host?: Host): Server; + + /** + * Returns the amount of money available on a server. + * Running this function on the home computer will return the player’s money. + * + * @example + * ```js + * getServerMoneyAvailable("foodnstuff"); + * getServerMoneyAvailable("home"); //Returns player's money + * ``` + * @remarks 0.1 GB + * @param host - Host or IP of target server + * @returns Amount of money available on the server. + */ + getServerMoneyAvailable(host: Host): number; + + /** + * Returns the maximum amount of money that can be available on a server. + * + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns Maximum amount of money available on the server. + */ + getServerMaxMoney(host: Host): number; + + /** + * Returns the server’s instrinsic “growth parameter”. This growth + * parameter is a number between 1 and 100 that represents how + * quickly the server’s money grows. This parameter affects the + * percentage by which the server’s money is increased when using the + * grow function. A higher growth parameter will result in a + * higher percentage increase from grow. + * + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns Parameter that affects the percentage by which the server’s money is increased when using the grow function. + */ + getServerGrowth(host: Host): number; + + /** + * Returns the security level of the target server. A server’s security + * level is denoted by a number, typically between 1 and 100 + * (but it can go above 100). + * + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns Security level of the target server. + */ + getServerSecurityLevel(host: Host): number; + + /** + * Returns the base security level of the target server. This is the security + * level that the server starts out with. This is different than + * getServerSecurityLevel because getServerSecurityLevel returns + * the current security level of a server, which can constantly change due to + * hack, grow, and weaken, calls on that server. + * The base security level will stay the same until you reset by + * installing an Augmentation(s). + * + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns Base security level of the target server. + */ + getServerBaseSecurityLevel(host: Host): number; + + /** + * Returns the minimum security level of the target server. + * + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns Minimum security level of the target server. + */ + getServerMinSecurityLevel(host: Host): number; + + /** + * Returns the required hacking level of the target server. + * + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns The required hacking level of the target server. + */ + getServerRequiredHackingLevel(host: Host): number; + + /** + * Returns the number of open ports required to successfully run NUKE.exe on the specified server. + * + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns The number of open ports required to successfully run NUKE.exe on the specified server. + */ + getServerNumPortsRequired(host: Host): number; + + /** + * Returns an array with two elements that gives information about a server’s memory (RAM). + * The first element in the array is the amount of RAM that the server has total (in GB). + * The second element in the array is the amount of RAM that is currently being used on + * the server (in GB). + * + * @example + * ```js + * res = getServerRam("helios"); + * totalRam = res[0]; + * ramUsed = res[1]; + * ``` + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns Array with total and used memory on the specified server. + */ + getServerRam(host: Host): [number, number]; + + /** + * Returns a boolean denoting whether or not the specified server exists. + * + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns True if specified server exists, and false otherwise. + */ + serverExists(host: Host): boolean; + + /** + * Returns a boolean indicating whether the specified file exists on the target server. + * The filename for scripts is case-sensitive, but for other types of files it is not. + * For example, fileExists(“brutessh.exe”) will work fine, even though the actual program + * is named 'BruteSSH.exe'. + * + * If the hostname/ip argument is omitted, then the function will search through the current + * server (the server running the script that calls this function) for the file. + * + * @example + * ```js + * //The function call will return true if the script named foo.script exists on the foodnstuff server, and false otherwise. + * fileExists("foo.script", "foodnstuff"); + * ``` + * @example + * ```js + * //The function call will return true if the current server contains the FTPCrack.exe program, and false otherwise. + * fileExists("ftpcrack.exe"); + * ``` + * @remarks 0.1 GB + * @param filename - Filename of file to check. + * @param host - Host or IP of target server. This is optional. If it is not specified then the function will use the current server as the target server. + * @returns True if specified file exists, and false otherwise. + */ + fileExists(filename: string, host?: Host): boolean; + + /** + * Returns a boolean indicating whether the specified script is running on the target server. + * Remember that a script is uniquely identified by both its name and its arguments. + * + * @example + * ```js + * //The function call will return true if there is a script named foo.script with no arguments running on the foodnstuff server, and false otherwise: + * isRunning("foo.script", "foodnstuff"); + * ``` + * @example + * ```js + * //The function call will return true if there is a script named foo.script with no arguments running on the current server, and false otherwise: + * isRunning("foo.script", getHostname()); + * ``` + * @example + * ```js + * //The function call will return true if there is a script named foo.script running with the arguments 1, 5, and “test” (in that order) on the joesguns server, and false otherwise: + * isRunning("foo.script", "joesguns", 1, 5, "test"); + * ``` + * @remarks 0.1 GB + * @param script - Filename of script to check. This is case-sensitive. + * @param host - Host or IP of target server. + * @param args - Arguments to specify/identify which scripts to search for. + * @returns True if specified script is running on the target server, and false otherwise. + */ + isRunning(script: Script, host: Host, ...args: string[]): boolean; + + /** + * Returns the cost to purchase a server with the specified amount of ram. + * + * @example + * ```js + * for (i = 1; i <= 20; i++) { + * tprint(i + " -- " + getPurchasedServerCost(Math.pow(2, i))); + * } + * ``` + * @remarks 0.25 GB + * @param ram - Amount of RAM of a potential purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20). + * @returns The cost to purchase a server with the specified amount of ram. + */ + getPurchasedServerCost(ram: number): number; + + /** + * Purchased a server with the specified hostname and amount of RAM. + * + * The hostname argument can be any data type, but it will be converted to a string + * and have whitespace removed. Anything that resolves to an empty string will cause + * the function to fail. If there is already a server with the specified hostname, + * then the function will automatically append a number at the end of the hostname + * argument value until it finds a unique hostname. For example, if the script calls + * \`purchaseServer(“foo”, 4)\` but a server named “foo” already exists, the it will + * automatically change the hostname to \`foo-0\`. If there is already a server with the + * hostname \`foo-0\`, then it will change the hostname to \`foo-1\`, and so on. + * + * Note that there is a maximum limit to the amount of servers you can purchase. + * + * Returns the hostname of the newly purchased server as a string. If the function + * fails to purchase a server, then it will return an empty string. The function will + * fail if the arguments passed in are invalid, if the player does not have enough + * money to purchase the specified server, or if the player has exceeded the maximum + * amount of servers. + * + * @example + * ```js + * ram = 64; + * hn = "pserv-"; + * for (i = 0; i < 5; ++i) { + * purchaseServer(hn + i, ram); + * } + * ``` + * @remarks 2.25 GB + * @param hostname - Host of the purchased server. + * @param ram - Amount of RAM of the purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20). + * @returns The hostname of the newly purchased server. + */ + purchaseServer(hostname: Host, ram: number): Host | ""; + + /** + * Deletes one of your purchased servers, which is specified by its hostname. + * + * The hostname argument can be any data type, but it will be converted to a string. + * Whitespace is automatically removed from the string. This function will not delete a + * server that still has scripts running on it. + * + * @remarks 2.25 GB + * @param host - Host of the server to delete. + * @returns True if successful, and false otherwise. + */ + deleteServer(host: Host): boolean; + + /** + * Returns an array with either the hostnames or IPs of all of the servers you have purchased. + * + * @remarks 2.25 GB + * @param hostnameMode -] Optional. Defaults to true. Returns hostnames if true, and IPs if false. + * @returns Returns an array with either the hostnames or IPs of all of the servers you have purchased. + */ + getPurchasedServers(hostnameMode?: boolean): Host[]; + + /** + * Returns the maximum number of servers you can purchase. + * + * @remarks 0.05 GB + * @returns Returns the maximum number of servers you can purchase. + */ + getPurchasedServerLimit(): number; + + /** + * Returns the maximum RAM that a purchased server can have. + * + * @remarks 0.05 GB + * @returns Returns the maximum RAM that a purchased server can have. + */ + getPurchasedServerMaxRam(): number; + + /** + * This function can be used to either write data to a port or to a text file (.txt). + * + * If the first argument is a number between 1 and 20, then it specifies a port and this + * function will write data to that port. The third argument, mode, is not used when writing + * to a port. + * + * If the first argument is a string, then it specifies the name of a text file (.txt) and + * this function will write data to that text file. If the specified text file does not exist, + * then it will be created. The third argument mode, defines how the data will be written to + * the text file. If *mode is set to “w”, then the data is written in “write” mode which means + * that it will overwrite all existing data on the text file. If mode is set to any other value + * then the data will be written in “append” mode which means that the data will be added at the + * end of the text file. + * + * @remarks 1 GB + * @param handle - Port or text file that will be written to. + * @param data - Data to write. + * @param mode - Defines the write mode. Only valid when writing to text files. + */ + write(handle: Handle, data?: string | string[] | number, mode?: "w" | "a"): void; + + /** + * Attempts to write data to the specified Netscript Port. + * If the port is full, the data will not be written. + * Otherwise, the data will be written normally. + * + * @remarks 1 GB + * @param port - Port or text file that will be written to. + * @param data - Data to write. + * @returns True if the data is successfully written to the port, and false otherwise. + */ + tryWrite(port: Handle, data: string | string[] | number): boolean; + + /** + * This function is used to read data from a port or from a text file (.txt). + * + * If the argument port/fn is a number between 1 and 20, then it specifies a + * port and it will read data from that port. A port is a serialized queue. + * This function will remove the first element from that queue and return it. + * If the queue is empty, then the string “NULL PORT DATA” will be returned. + * + * If the argument port/fn is a string, then it specifies the name of a text + * file (.txt) and this function will return the data in the specified text + * file. If the text file does not exist, an empty string will be returned. + * + * @remarks 1 GB + * @param handle - Port or text file to read from. + * @returns Data in the specified text file or port. + */ + read(handle: Handle): string | number | object; + + /** + * This function is used to peek at the data from a port. It returns the + * first element in the specified port without removing that element. If + * the port is empty, the string “NULL PORT DATA” will be returned. + * + * @remarks 1 GB + * @param port - Port to peek. Must be an integer between 1 and 20. + * @returns Data in the specified port. + */ + peek(port: Port): string | number | object; + + /** + * This function is used to clear data in a Netscript Ports or a text file. + * + * If the port/fn argument is a number between 1 and 20, then it specifies a + * port and will clear it (deleting all data from the underlying queue). + * + * If the port/fn argument is a string, then it specifies the name of a + * text file (.txt) and will delete all data from that text file. + * + * @remarks 1 GB + * @param handle - Port or text file to clear. + */ + clear(handle: Handle): void; + + /** + * Get a handle to a Netscript Port. + * + * WARNING: Port Handles only work in NetscriptJS (Netscript 2.0). They will not work in Netscript 1.0. + * + * @see https://bitburner.readthedocs.io/en/latest/netscript/netscriptmisc.html#netscript-ports + * @remarks 10 GB + * @param port - Port number. Must be an integer between 1 and 20. + * @returns Data in the specified port. + */ + getPortHandle(port: Port): any[]; + + /** + * Removes the specified file from the current server. This function works for every file + * type except message (.msg) files. + * + * @remarks 1 GB + * @param name - Filename of file to remove. Must include the extension. + * @param host - Host or IP Address of the server on which to delete the file. Optional. Defaults to current server. + * @returns True if it successfully deletes the file, and false otherwise. + */ + rm(name: string, host?: Host): boolean; + + /** + * Returns a boolean indicating whether any instance of the specified script is running + * on the target server, regardless of its arguments. + * + * This is different than the isRunning function because it does not try to + * identify a specific instance of a running script by its arguments. + * + * @example + * ```js + * //The function call will return true if there is any script named foo.script running on the foodnstuff server, and false otherwise: + * scriptRunning("foo.script", "foodnstuff"); + * ``` + * @example + * ```js + * //The function call will return true if there is any script named “foo.script” running on the current server, and false otherwise: + * scriptRunning("foo.script", getHostname()); + * ``` + * @remarks 1 GB + * @param script - Filename of script to check. This is case-sensitive. + * @param host - Host or IP of target server. + * @returns True if the specified script is running, and false otherwise. + */ + scriptRunning(script: Script, host: Host): boolean; + + /** + * Kills all scripts with the specified filename on the target server specified by hostname/ip, + * regardless of arguments. + * + * @remarks 1 GB + * @param script - Filename of script to kill. This is case-sensitive. + * @param host - Host or IP of target server. + * @returns true if one or more scripts were successfully killed, and false if none were. + */ + scriptKill(script: Script, host: Host): boolean; + + /** + * Returns the current script name. + * + * @remarks 0 GB + * @returns Current script name. + */ + getScriptName(): string; + + /** + * Returns the amount of RAM required to run the specified script on the target server. + * Returns 0 if the script does not exist. + * + * @remarks 0.1 GB + * @param script - Filename of script. This is case-sensitive. + * @param host - Host or IP of target server the script is located on. This is optional, If it is not specified then the function will se the current server as the target server. + * @returns Amount of RAM required to run the specified script on the target server, and 0 if the script does not exist. + */ + getScriptRam(script: Script, host?: Host): number; + + /** + * Returns the amount of time in seconds it takes to execute the hack Netscript function on the target server. + * The function takes in an optional hackLvl parameter that can be specified to see what the hack time would be at different hacking levels. + * + * @remarks 0.05 GB + * @param host - Host or IP of target server. + * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level. + * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). + * @returns Returns the amount of time in seconds it takes to execute the hack Netscript function. Returns Infinity if called on a Hacknet Server. + */ + getHackTime(host: Host, hackLvl?: number, intLvl?: number): number; + + /** + * Returns the amount of time in seconds it takes to execute the grow Netscript function on the target server. + * The function takes in an optional hackLvl parameter that can be specified to see what the grow time would be at different hacking levels. + * + * @remarks 0.05 GB + * @param host - Host or IP of target server. + * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level. + * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). + * @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server. + */ + getGrowTime(host: Host, hackLvl?: number, intLvl?: number): number; + + /** + * Returns the amount of time in seconds it takes to execute the weaken() Netscript function on the target server. + * The function takes in an optional hackLvl parameter that can be specified to see what the weaken time would be at different hacking levels. + * + * @remarks 0.05 GB + * @param host - Host or IP of target server. + * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level. + * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). + * @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server. + */ + getWeakenTime(host: Host, hackLvl?: number, intLvl?: number): number; + + /** + * Returns the amount of income the specified script generates while online + * (when the game is open, does not apply for offline income). Remember that + * a script is uniquely identified by both its name and its arguments. So for + * example if you ran a script with the arguments “foodnstuff” and “5” then + * in order to use this function to get that script’s income you must specify + * those same arguments in the same order in this function call. + * + * This function can also be called with no arguments. + * If called with no arguments, then this function will return an array of two values. + * The first value is the total income ($ / second) of all of your active scripts + * (scripts that are currently running on any server). + * The second value is the total income ($ / second) that you’ve earned from scripts + * since you last installed Augmentations. + * + * @remarks 0.1 GB + * @param script - Filename of script. + * @param host - Server on which script is running. + * @param args - Arguments that the script is running with. + * @returns Amount of income the specified script generates while online. + */ + getScriptIncome(script: Script, host: Host, ...args: string[]): number | [number, number]; + + /** + * Returns the amount of hacking experience the specified script generates while online + * (when the game is open, does not apply for offline experience gains). Remember that a + * script is uniquely identified by both its name and its arguments. + * + * This function can also return the total experience gain rate of all of your active + * scripts by running the function with no arguments. + * + * @remarks 0.1 GB + * @param script - Filename of script. + * @param host - Server on which script is running. + * @param args - Arguments that the script is running with. + * @returns Amount of hacking experience the specified script generates while online. + */ + getScriptExpGain(script: Script, host: Host, ...args: string[]): number; + + /** + * Returns the amount of time in milliseconds that have passed since you last installed Augmentations. + * + * @remarks 0.05 GB + * @returns Time in milliseconds that have passed since you last installed Augmentations. + */ + getTimeSinceLastAug(): number; + + /** + * Complete open source JavaScript sprintf implementation + * + * @see https://github.com/alexei/sprintf.js + * @remarks 0 GB + * @param format - String to format. + * @param args - Formating arguments. + * @returns Formated text. + */ + sprintf(format: string, ...args: string[]): string; + + /** + * Complete open source JavaScript sprintf implementation + * + * @see https://github.com/alexei/sprintf.js + * @remarks 0 GB + * @param format - String to format. + * @param args - Formating arguments. + * @returns Formated text. + */ + vsprintf(format: string, args: string[]): string; + + /** + * Converts a number into a string with the specified formatter. + * This uses the numeraljs library, so the formatters must be compatible with that. + * This is the same function that the game itself uses to display numbers. + * + * @see http://numeraljs.com/ + * @remarks 0 GB + * @param n - Number to format. + * @param format - Formatter. + * @returns Formated number. + */ + nFormat(n: number, format: string): number; + + /** + * Prompts the player with a dialog box with two options: “Yes” and “No”. + * This function will return true if the player click “Yes” and false if + * the player clicks “No”. The script’s execution is halted until the player + * selects one of the options. + * + * @remarks 0 GB + * @param txt - Text to appear in the prompt dialog box. + * @returns True if the player click “Yes” and false if the player clicks “No”. + */ + prompt(txt: string): Promise; + + /** + * Retrieves data from a URL and downloads it to a file on the specified server. + * The data can only be downloaded to a script (.script, .ns, .js) or a text file (.txt). + * If the file already exists, it will be overwritten by this command. + * Note that it will not be possible to download data from many websites because they + * do not allow cross-origin resource sharing (CORS). + * + * IMPORTANT: This is an asynchronous function that returns a Promise. + * The Promise’s resolved value will be a boolean indicating whether or not the data was + * successfully retrieved from the URL. Because the function is async and returns a Promise, + * it is recommended you use wget in NetscriptJS (Netscript 2.0). + * + * In NetscriptJS, you must preface any call to wget with the await keyword (like you would hack or sleep). + * wget will still work in Netscript 1.0, but the functions execution will not be synchronous + * (i.e. it may not execute when you expect/want it to). + * Furthermore, since Promises are not supported in ES5, + * you will not be able to process the returned value of wget in Netscript 1.0. + * + * @example + * ```js + * wget("https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md", "game_readme.txt"); + * ``` + * @remarks 0 GB + * @param url - URL to pull data from. + * @param target - Filename to write data to. Must be script or text file. + * @param host - Optional hostname/ip of server for target file. + * @returns True if the data was successfully retrieved from the URL, false otherwise. + */ + wget(url: string, target: string, host?: string): Promise; + + /** + * Returns the amount of Faction favor required to be able to donate to a faction. + * + * @remarks 0.1 GB + * @returns Amount of Faction favor required to be able to donate to a faction. + */ + getFavorToDonate(): number; + + /** + * Returns an object containing the current BitNode multipliers. + * This function requires Source-File 5 in order to run. + * The multipliers are returned in decimal forms (e.g. 1.5 instead of 150%). + * The multipliers represent the difference between the current BitNode and + * the original BitNode (BitNode-1). + * + * For example, if the CrimeMoney multiplier has a value of 0.1, then that means + * that committing crimes in the current BitNode will only give 10% of the money + * you would have received in BitNode-1. + * + * @example + * ```js + * mults = getBitNodeMultipliers(); + * print(mults.ServerMaxMoney); + * print(mults.HackExpGain); + * ``` + * @remarks 4 GB + * @returns Object containing the current BitNode multipliers. + */ + getBitNodeMultipliers(url: string, target: string, host: string): BitNodeMultipliers; +} + +/** + * @public + */ +export declare type OrderPos = "long" | "short"; + +/** + * @public + */ +export declare type OrderType = "limitbuy" | "limitsell" | "stopbuy" | "stopsell"; + +/** + * @public + */ +export declare interface PlayerStats { + /** Hacking level */ + hacking: number; + /** Strength level */ + strength: number; + /** Defense level */ + defense: number; + /** Dexterity level */ + dexterity: number; + /** Agility level */ + agility: number; + /** Chraisma level */ + charisma: number; + /** Intelligence level */ + intelligence: number; +} + +/** + * A port is implemented as a sort of serialized queue, + * where you can only write and read one element at a time from the port. + * When you read data from a port, the element that is read is removed from the port. + * + * IMPORTANT: The data inside ports are not saved! + * This means if you close and re-open the game, or reload the page + * then you will lose all of the data in the ports! + * @public + */ +export declare type Port = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20; + +/** + * @public + */ +export declare interface ProcessInfo { + /** Script name. */ + filename: Script; + /** Number of threads script is running with */ + threads: number; + /** Script's arguments */ + args: string[]; +} + +/** + * @public + */ +export declare type PurchaseableProgram = +| "brutessh.exe" +| "ftpcrack.exe" +| "relaysmtp.exe" +| "httpworm.exe" +| "sqlinject.exe" +| "deepscanv1.exe" +| "deepscanv2.exe" +| "autolink.exe"; + +/** + * @public + */ +export declare type Script = string; + +/** + * @public + */ +export declare interface Server { + // How many CPU cores this server has. Maximum of 8. + // Currently, this only affects hacking missions + cpuCores: number; + + // Flag indicating whether the FTP port is open + ftpPortOpen: boolean; + + // Flag indicating whether player has admin/root access to this server + hasAdminRights: boolean; + + // Hostname. Must be unique + hostname: string; + + // Flag indicating whether HTTP Port is open + httpPortOpen: boolean; + + // IP Address. Must be unique + ip: string; + + // Flag indicating whether player is curently connected to this server + isConnectedTo: boolean; + + // RAM (GB) available on this server + maxRam: number; + + // Name of company/faction/etc. that this server belongs to. + // Optional, not applicable to all Servers + organizationName: string; + + // RAM (GB) used. i.e. unavailable RAM + ramUsed: number; + + // Flag indicating whether SMTP Port is open + smtpPortOpen: boolean; + + // Flag indicating whether SQL Port is open + sqlPortOpen: boolean; + + // Flag indicating whether the SSH Port is open + sshPortOpen: boolean; +} + +/** + * @public + */ +export declare interface Singularity { + /** + * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will automatically set you to start taking a course at a university. + * If you are already in the middle of some “working” action (such as working at a + * company, for a faction, or on a program), then running this function will automatically + * cancel that action and give you your earnings. + * + * The cost and experience gains for all of these universities and classes are the same as + * if you were to manually visit and take these classes. + * + * @remarks 2 GB + * @remarks Singularity - Level 1 + * @param universityName - Name of university. You must be in the correct city for whatever university you specify. + * @param courseName - Name of course. + * @returns True if actions is successfully started, false otherwise. + */ + universityCourse(universityName: University, courseName: UniversityCourse): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will automatically set you to start working out at a gym to train + * a particular stat. If you are already in the middle of some “working” action + * (such as working at a company, for a faction, or on a program), then running + * this function will automatically cancel that action and give you your earnings. + * + * The cost and experience gains for all of these gyms are the same as if you were + * to manually visit these gyms and train + * + * @remarks 2 GB + * @remarks Singularity - Level 1 + * @param gymName - Name of gym. You must be in the correct city for whatever gym you specify. + * @param stat - The stat you want to train. + * @returns True if actions is successfully started, false otherwise. + */ + gymWorkout(gymName: Gym, stat: GymStat): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function allows the player to travel to any city. The cost for using this + * function is the same as the cost for traveling through the Travel Agency. + * + * @remarks 2 GB + * @remarks Singularity - Level 1 + * @param city - City to travel to. + * @returns True if actions is successful, false otherwise. + */ + travelToCity(city: City): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function allows you to automatically purchase a TOR router. The cost for + * purchasing a TOR router using this function is the same as if you were to + * manually purchase one. + * + * @remarks 2 GB + * @remarks Singularity - Level 1 + * @returns True if actions is successful, false otherwise. + */ + purchaseTor(): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function allows you to automatically purchase programs. You MUST have a + * TOR router in order to use this function. The cost of purchasing programs + * using this function is the same as if you were purchasing them through the Dark + * Web using the Terminal buy command. + * + * @example + * ```js + * purchaseProgram("brutessh.exe"); + * ``` + * @remarks 2 GB + * @remarks Singularity - Level 1 + * @param programName - Name of program to purchase. + * @returns True if the specified program is purchased, and false otherwise. + */ + purchaseProgram(programName: PurchaseableProgram): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * Returns an object with the Player’s stats. + * + * @example + * ```js + * res = getStats(); + * print('My charisma level is: ' + res.charisma); + * ``` + * @remarks 0.5 GB + * @remarks Singularity - Level 1 + * @returns Object with the Player’s stats. + */ + getStats(): PlayerStats; + + /** + * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * Returns an object with various information about your character. + * + * @remarks 0.5 GB + * @remarks Singularity - Level 1 + * @returns Object with various information about your character. + */ + getCharacterInformation(): CharacterInfo; + + /** + * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * Returns a boolean indicating whether or not the player is currently performing an + * ‘action’. These actions include working for a company/faction, studying at a univeristy, + * working out at a gym, creating a program, committing a crime, or carrying out a Hacking Mission. + * + * @remarks 0.5 GB + * @remarks Singularity - Level 1 + * @returns True if the player is currently performing an ‘action’, false otherwise. + */ + isBusy(): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function is used to end whatever ‘action’ the player is currently performing. + * The player will receive whatever money/experience/etc. he has earned from that action. + * + * The actions that can be stopped with this function are: + * + * * Studying at a university + * * Working for a company/faction + * * Creating a program + * * Committing a Crime + * + * This function will return true if the player’s action was ended. + * It will return false if the player was not performing an action when this function was called. + * + * @remarks 1 GB + * @remarks Singularity - Level 1 + * @returns True if the player’s action was ended, false if the player was not performing an action. + */ + stopAction(): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will upgrade amount of RAM on the player’s home computer. The cost is + * the same as if you were to do it manually. + * + * This function will return true if the player’s home computer RAM is successfully upgraded, and false otherwise. + * + * @remarks 3 GB + * @remarks Singularity - Level 2 + * @returns True if the player’s home computer RAM is successfully upgraded, and false otherwise. + */ + upgradeHomeRam(): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * Returns the cost of upgrading the player’s home computer RAM. + * + * @remarks 1.5 GB + * @remarks Singularity - Level 2 + * @returns Cost of upgrading the player’s home computer RAM. + */ + getUpgradeHomeRamCost(): number; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will automatically set you to start working at the company + * at which you are employed. If you are already in the middle of some “working” + * action (such as working for a faction, training at a gym, or creating a program), + * then running this function will automatically cancel that action and give you + * your earnings. + * + * This function will return true if the player starts working, and false otherwise. + * + * Note that when you are working for a company, you will not actually receive your earnings (reputation, money, experience) until you FINISH the action. + * + * @example + * ```js + * //If you only want to work until you get 100,000 company reputation. One small hack to get around this is to continuously restart the action to receive your earnings: + * while (getCompanyRep(COMPANY HERE) < VALUE) { + * workForCompany(); + * sleep(60000); + * } + * //This way, your company reputation will be updated every minute. + * ``` + * @remarks 3 GB + * @remarks Singularity - Level 2 + * @param companyName - Name of company to work for. Must be an exact match. Optional. If not specified, this argument defaults to the last job that you worked + * @returns True if the player starts working, and false otherwise. + */ + workForCompany(companyName?: CompanyName): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will automatically try to apply to the specified company + * for a position in the specified field. This function can also be used to + * apply for promotions by specifying the company and field you are already + * employed at. + * + * This function will return true if you successfully get a job/promotion, + * and false otherwise. Note that if you are trying to use this function to + * apply for a promotion and you don’t get one, it will return false. + * + * @remarks 3 GB + * @remarks Singularity - Level 2 + * @param companyName - Name of company to apply to. + * @param field - Field to which you want to apply. + * @returns True if the player successfully get a job/promotion, and false otherwise. + */ + applyToCompany(companyName: CompanyName, field: CompanyField): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will return the amount of reputation you have at the specified company. + * If the company passed in as an argument is invalid, -1 will be returned. + * + * @remarks 1 GB + * @remarks Singularity - Level 2 + * @param companyName - Name of the company. + * @returns Amount of reputation you have at the specified company. + */ + getCompanyRep(companyName: CompanyName): number; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will return the amount of favor you have at the specified company. + * If the company passed in as an argument is invalid, -1 will be returned. + * + * @remarks 1 GB + * @remarks Singularity - Level 2 + * @param companyName - Name of the company. + * @returns Amount of favor you have at the specified company. + */ + getCompanyFavor(companyName: CompanyName): number; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will return the amount of favor you will gain for the specified + * company when you reset by installing Augmentations. + * + * @remarks 0.75 GB + * @remarks Singularity - Level 2 + * @param companyName - Name of the company. + * @returns Amount of favor you gain at the specified company when you reset by installing Augmentations. + */ + getCompanyFavorGain(companyName: CompanyName): number; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * Returns an array with the name of all Factions you currently have oustanding invitations from. + * + * @remarks 3 GB + * @remarks Singularity - Level 2 + * @returns Array with the name of all Factions you currently have oustanding invitations from. + */ + checkFactionInvitations(): FactionName[]; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will automatically accept an invitation from a faction and join it. + * + * @remarks 3 GB + * @remarks Singularity - Level 2 + * @param faction - Name of faction to join. + * @returns True if player joined the faction, and false otherwise. + */ + joinFaction(faction: FactionName): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will automatically set you to start working for the specified faction. + * Obviously, you must be a member of the faction or else this function will fail. If + * you are already in the middle of some “working” action (such as working for a company, + * training at a gym, or creating a program), then running this function will automatically + * cancel that action and give you your earnings. + * + * This function will return true if you successfully start working for the specified faction, and false otherwise. + * + * Note that when you are working for a faction, you will not actually receive your earnings (reputation, experience) until you FINISH the action. + * + * @example + * ```js + * //If you only want to work until you get 100,000 faction reputation. One small hack to get around this is to continuously restart the action to receive your earnings: + * while (getFactionRep(FACTION NAME) < VALUE) { + * workForFaction(FACNAME, WORKTYPE); + * sleep(60000); + * } + * //This way, your faction reputation will be updated every minute. + * ``` + * @remarks 3 GB + * @remarks Singularity - Level 2 + * @param faction - Name of faction to work for. + * @param workType - Type of work to perform for the faction. + * @returns True if the player starts working, and false otherwise. + */ + workForFaction(faction: FactionName, workType: FactionWork): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function returns the amount of reputation you have for the specified faction. + * + * @remarks 1 GB + * @remarks Singularity - Level 2 + * @param faction - Name of faction to work for. + * @returns Amount of reputation you have for the specified faction. + */ + getFactionRep(faction: FactionName): number; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function returns the amount of favor you have for the specified faction. + * + * @remarks 1 GB + * @remarks Singularity - Level 2 + * @param faction - Name of faction. + * @returns Amount of favor you have for the specified faction. + */ + getFactionFavor(faction: FactionName): number; + + /** + * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function returns the amount of favor you will gain for the specified + * faction when you reset by installing Augmentations. + * + * @remarks 0.75 GB + * @remarks Singularity - Level 2 + * @param faction - Name of faction. + * @returns Amount of favor you will gain for the specified faction when you reset by installing Augmentations. + */ + getFactionFavorGain(faction: FactionName): number; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * Attempts to donate money to the specified faction in exchange for reputation. + * Returns true if you successfully donate the money, and false otherwise. + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param faction - Name of faction to donate to. + * @param amount - Amount of money to donate. + * @returns True if the money was donated, and false otherwise. + */ + donateToFaction(faction: FactionName, amount: number): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will automatically set you to start working on creating the + * specified program. If you are already in the middle of some “working” action + * (such as working for a company, training at a gym, or taking a course), then + * running this function will automatically cancel that action and give you your + * earnings. + * + * This function returns true if you successfully start working on the specified program, and false otherwise. + * + * Note that creating a program using this function has the same hacking level requirements as it normally would. These level requirements are: + * * BruteSSH.exe: 50 + * * FTPCrack.exe: 100 + * * relaySMTP.exe: 250 + * * HTTPWorm.exe: 500 + * * SQLInject.exe: 750 + * * DeepscanV1.exe: 75 + * * DeepscanV2.exe: 400 + * * ServerProfiler.exe: 75 + * * AutoLink.exe: 25 + * + * @example + * ```js + * createProgram(“relaysmtp.exe”); + * ``` + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param program - Name of program to create. + * @returns True if you successfully start working on the specified program, and false otherwise. + */ + createProgram(program: CreatableProgram): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function is used to automatically attempt to commit crimes. + * If you are already in the middle of some ‘working’ action (such + * as working for a company or training at a gym), then running this + * function will automatically cancel that action and give you your + * earnings. + * + * This function returns the number of seconds it takes to attempt the specified + * crime (e.g It takes 60 seconds to attempt the ‘Rob Store’ crime, so running + * \`commitCrime('rob store')\` will return 60). + * + * Warning: I do not recommend using the time returned from this function to try + * and schedule your crime attempts. Instead, I would use the isBusy Singularity + * function to check whether you have finished attempting a crime. This is because + * although the game sets a certain crime to be X amount of seconds, there is no + * guarantee that your browser will follow that time limit. + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param crime - Name of crime to attempt. + * @returns True if you successfully start working on the specified program, and false otherwise. + */ + commitCrime(crime: Crime): number; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function returns your chance of success at commiting the specified crime. + * The chance is returned as a decimal (i.e. 60% would be returned as 0.6). + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param crime - Name of crime. + * @returns Chance of success at commiting the specified crime as a decimal. + */ + getCrimeChance(crime: Crime): number; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * Returns the stats of the crime. + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param crime - Name of crime. Not case-sensitive + * @returns The stats of the crime. + */ + getCrimeStats(crime: Crime): CrimeStats; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function returns an array containing the names (as strings) of all Augmentations you have. + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param purchased - Specifies whether the returned array should include Augmentations you have purchased but not yet installed. By default, this argument is false which means that the return value will NOT have the purchased Augmentations. + * @returns Array containing the names (as strings) of all Augmentations you have. + */ + getOwnedAugmentations(purchased?: boolean): AugmentName[]; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * Returns an array of source files + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @returns Array containing an object with number and level of the source file. + */ + getOwnedSourceFiles(): SourceFileLvl[]; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * Returns an array containing the names (as strings) of all Augmentations + * that are available from the specified faction. + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param faction - Name of faction. + * @returns Array containing the names of all Augmentations. + */ + getAugmentationsFromFaction(faction: FactionName): AugmentName[]; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function returns an array with the names of the prerequisite Augmentation(s) for the specified Augmentation. + * If there are no prerequisites, a blank array is returned. + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param augName - Name of Augmentation. + * @returns Array with the names of the prerequisite Augmentation(s) for the specified Augmentation. + */ + getAugmentationPrereq(augName: AugmentName): AugmentName[]; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function returns an array with two elements that gives the cost for + * the specified Augmentation. The first element in the returned array is the + * reputation requirement of the Augmentation, and the second element is the + * money cost. + * + * If an invalid Augmentation name is passed in for the augName argument, this + * function will return the array [-1, -1]. + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param augName - Name of Augmentation. + * @returns Array with first element as a reputation requirement and second element as the money cost. + */ + getAugmentationCost(augName: AugmentName): [number, number]; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will try to purchase the specified Augmentation through the given Faction. + * + * This function will return true if the Augmentation is successfully purchased, and false otherwise. + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param faction - Name of faction to purchase Augmentation from. + * @param augmnet - Name of Augmentation to purchase. + * @returns True if the Augmentation is successfully purchased, and false otherwise. + */ + purchaseAugmentation(faction: FactionName, augmnet: AugmentName): boolean; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function returns augmentation stats. + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param name - Name of Augmentation. CASE-SENSITIVE. + * @returns Augmentation stats. + */ + getAugmentationStats(name: AugmentName): AugmentationStats; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will automatically install your Augmentations, resetting the game as usual. + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param cbScript - Optional callback script. This is a script that will automatically be run after Augmentations are installed (after the reset). This script will be run with no arguments and 1 thread. It must be located on your home computer. + */ + installAugmentations(cbScript?: Script): void; + + /** + * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + * + * This function will perform a reset even if you don’t have any augmentation installed. + * + * @remarks 5 GB + * @remarks Singularity - Level 3 + */ + softReset(): void; +} + +/** + * @public + */ +export declare interface Sleeve { + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return the number of duplicate sleeves the player has. + * + * @remarks 4 GB + * @returns number of duplicate sleeves the player has. + */ + getNumSleeves(): number; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return a structure containing the stats of the sleeve. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to get stats of. + * @returns Object containing the stats of the sleeve. + */ + getSleeveStats(sleeveNumber: number): SleeveStats; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return a struct containing tons of information about this sleeve + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to retrieve information. + * @returns Object containing tons of information about this sleeve. + */ + getInformation(sleeveNumber: number): SleeveInformation; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return the current task that the sleeve is performing. type is set to “Idle” if the sleeve isn’t doing anything. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to retrieve task from. + * @returns Object containing information the current task that the sleeve is performing. + */ + getTask(sleeveNumber: number): SleeveTask; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return a boolean indicating whether or not this action was set successfully. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to start recovery. + * @returns True if this action was set successfully, false otherwise. + */ + setToShockRecovery(sleeveNumber: number): boolean; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return a boolean indicating whether or not this action was set successfully. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to start synchronizing. + * @returns True if this action was set successfully, false otherwise. + */ + setToSynchronize(sleeveNumber: number): boolean; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return a boolean indicating whether or not this action was set successfully. + * + * Returns false if an invalid action is specified. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to start commiting crime. + * @param name - Name of the crime. Must be an exact match. + * @returns True if this action was set successfully, false otherwise. + */ + setToCommitCrime(sleeveNumber: number, name: Crime): boolean; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return a boolean indicating whether or not the sleeve started working or this faction. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to work for the faction. + * @param factionName - Name of the faction to work for. + * @param factionWorkType - Name of the action to perform for this faction. + * @returns True if the sleeve started working on this faction, false otherwise. + */ + setToFactionWork(sleeveNumber: number, factionName: FactionName, factionWorkType: FactionWork): boolean; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return a boolean indicating whether or not the sleeve started working or this company. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to work for the company. + * @param companyName - Name of the company to work for. + * @returns True if the sleeve started working on this company, false otherwise. + */ + setToCompanyWork(sleeveNumber: number, companyName: CompanyName): boolean; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return a boolean indicating whether or not this action was set successfully. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to start taking class. + * @param university - Name of the university to attend. + * @param className - Name of the class to follow. + * @returns True if this action was set successfully, false otherwise. + */ + setToUniversityCourse(sleeveNumber: number, university: University, className: UniversityCourse): boolean; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return a boolean indicating whether or not the sleeve started working out. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to workout at the gym. + * @param gymName - Name of the gym. + * @param stat - Name of the stat to train. + * @returns True if the sleeve started working out, false otherwise. + */ + setToGymWorkout(sleeveNumber: number, gymName: Gym, stat: GymStat): boolean; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return a boolean indicating whether or not the sleeve reached destination. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to travel. + * @param cityName - Name of the destination city. + * @returns True if the sleeve reached destination, false otherwise. + */ + travel(sleeveNumber: number, cityName: City): boolean; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return a list of augmentation names that this sleeve has installed. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to retrieve augmentations from. + * @returns List of augmentation names that this sleeve has installed. + */ + getSleeveAugmentations(sleeveNumber: number): AugmentName[]; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return a list of augmentations that the player can buy for this sleeve. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to retrieve purchasable augmentations from. + * @returns List of augmentations that the player can buy for this sleeve. + */ + getSleevePurchasableAugs(sleeveNumber: number): AugmentPair[]; + + /** + * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + * + * Return true if the aug was purchased and installed on the sleeve. + * + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to buy an aug for. + * @param augName - Name of the aug to buy. Must be an exact match. + * @returns True if the aug was purchased and installed on the sleeve, false otherwise. + */ + purchaseSleeveAug(sleeveNumber: number, augName: AugmentName): boolean; +} + +/** + * @public + */ +export declare interface SleeveInformation { + /** location of the sleeve */ + city: City; + /** current hp of the sleeve */ + hp: number; + /** max hp of the sleeve */ + maxHp: number; + /** jobs available to the sleeve */ + jobs: string[]; + /** job titles available to the sleeve */ + jobTitle: CompanyField[]; + /** does this sleeve have access to the tor router */ + tor: boolean; + /** sleeve multipliers */ + mult: CharacterMult; + /** time spent on the current task in milliseconds */ + timeWorked: number; + /** earnings synchronized to other sleeves */ + earningsForSleeves: SleeveWorkGains; + /** earnings synchronized to the player */ + earningsForPlayer: SleeveWorkGains; + /** earnings for this sleeve */ + earningsForTask: SleeveWorkGains; + /** faction or company reputation gained for the current task */ + workRepGain: number; +} + +/** + * @public + */ +export declare interface SleeveStats { + /** current shock of the sleeve [0-100] */ + shock: + | 0 + | 1 + | 2 + | 3 + | 4 + | 5 + | 6 + | 7 + | 8 + | 9 + | 10 + | 11 + | 12 + | 13 + | 14 + | 15 + | 16 + | 17 + | 18 + | 19 + | 20 + | 21 + | 22 + | 23 + | 24 + | 25 + | 26 + | 27 + | 28 + | 29 + | 30 + | 31 + | 32 + | 33 + | 34 + | 35 + | 36 + | 37 + | 38 + | 39 + | 40 + | 41 + | 42 + | 43 + | 44 + | 45 + | 46 + | 47 + | 48 + | 49 + | 50 + | 51 + | 52 + | 53 + | 54 + | 55 + | 56 + | 57 + | 58 + | 59 + | 60 + | 61 + | 62 + | 63 + | 64 + | 65 + | 66 + | 67 + | 68 + | 69 + | 70 + | 71 + | 72 + | 73 + | 74 + | 75 + | 76 + | 77 + | 78 + | 79 + | 80 + | 81 + | 82 + | 83 + | 84 + | 85 + | 86 + | 87 + | 88 + | 89 + | 90 + | 91 + | 92 + | 93 + | 94 + | 95 + | 96 + | 97 + | 98 + | 99 + | 100; + /** current sync of the sleeve [0-100] */ + sync: + | 0 + | 1 + | 2 + | 3 + | 4 + | 5 + | 6 + | 7 + | 8 + | 9 + | 10 + | 11 + | 12 + | 13 + | 14 + | 15 + | 16 + | 17 + | 18 + | 19 + | 20 + | 21 + | 22 + | 23 + | 24 + | 25 + | 26 + | 27 + | 28 + | 29 + | 30 + | 31 + | 32 + | 33 + | 34 + | 35 + | 36 + | 37 + | 38 + | 39 + | 40 + | 41 + | 42 + | 43 + | 44 + | 45 + | 46 + | 47 + | 48 + | 49 + | 50 + | 51 + | 52 + | 53 + | 54 + | 55 + | 56 + | 57 + | 58 + | 59 + | 60 + | 61 + | 62 + | 63 + | 64 + | 65 + | 66 + | 67 + | 68 + | 69 + | 70 + | 71 + | 72 + | 73 + | 74 + | 75 + | 76 + | 77 + | 78 + | 79 + | 80 + | 81 + | 82 + | 83 + | 84 + | 85 + | 86 + | 87 + | 88 + | 89 + | 90 + | 91 + | 92 + | 93 + | 94 + | 95 + | 96 + | 97 + | 98 + | 99 + | 100; + /** current hacking skill of the sleeve */ + hacking_skill: number; + /** current strength of the sleeve */ + strength: number; + /** current defense of the sleeve */ + defense: number; + /** current dexterity of the sleeve */ + dexterity: number; + /** current agility of the sleeve */ + agility: number; + /** current charisma of the sleeve */ + charisma: number; +} + +/** + * @public + */ +export declare interface SleeveTask { + /** task type */ + task: string; + /** crime currently attempting, if any */ + crime: Crime | ""; + /** location of the task, if any */ + location: City | ""; + /** stat being trained at the gym, if any */ + gymStatType: GymStat | ""; + /** faction work type being performed, if any */ + factionWorkType: FactionWork | ""; +} + +/** + * @public + */ +export declare interface SleeveWorkGains { + /** hacking exp gained from work */ + workHackExpGain: number; + /** strength exp gained from work */ + workStrExpGain: number; + /** defense exp gained from work, */ + workDefExpGain: number; + /** dexterity exp gained from work */ + workDexExpGain: number; + /** agility exp gained from work */ + workAgiExpGain: number; + /** charisma exp gained from work */ + workChaExpGain: number; + /** money gained from work */ + workMoneyGain: number; +} + +/** + * @public + */ +export declare interface SourceFileLvl { + /** The number of the source file */ + n: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; + /** The level of the source file */ + lvl: number; +} + +/** + * @public + */ +export declare type StockOrder = { + /** Stock Symbol */ + [key in StockSymbol]?: StockOrderObject[]; +}; + +/** + * @public + */ +export declare interface StockOrderObject { + /** Number of shares */ + shares: number; + /** Price per share */ + price: number; + /** Order type */ + type: "Limit Buy Order" | "Limit Sell Order" | "Stop Buy Order" | "Stop Buy Order"; + /** Order position */ + position: "S" | "L"; +} + +/** + * @public + */ +export declare type StockSymbol = +| "ECP" +| "MGCP" +| "BLD" +| "CLRK" +| "OMTK" +| "FSIG" +| "KGI" +| "FLCM" +| "STM" +| "DCOMM" +| "HLS" +| "VITA" +| "ICRS" +| "UNV" +| "AERO" +| "OMN" +| "SLRS" +| "GPH" +| "NVMD" +| "WDS" +| "LXO" +| "RHOC" +| "APHE" +| "SYSC" +| "CTK" +| "NTLK" +| "OMGA" +| "FNS" +| "SGC" +| "JGN" +| "CTYS" +| "MDYN" +| "TITN"; + +/** + * @public + */ +export declare interface TIX { + /** + * Returns an array of the symbols of the tradable stocks + * + * @remarks 2 GB + * @returns Array of the symbols of the tradable stocks. + */ + getSymbols(): StockSymbol[]; + + /** + * Returns the price of a stock, given its symbol (NOT the company name). + * The symbol is a sequence of two to four capital letters. + * + * The stock’s price is the average of its bid and ask price + * + * @example + * ```js + * getPrice("FISG"); + * ``` + * @remarks 2 GB + * @param sym - Stock symbol. + * @returns The price of a stock. + */ + getPrice(sym: StockSymbol): number; + + /** + * Given a stock’s symbol (NOT the company name), returns the ask price of that stock. + * The symbol is a sequence of two to four capital letters. + * + * @remarks 2 GB + * @param sym - Stock symbol. + * @returns The ask price of a stock. + */ + getAskPrice(sym: StockSymbol): number; + + /** + * Given a stock’s symbol (NOT the company name), returns the bid price of that stock. + * The symbol is a sequence of two to four capital letters. + * + * @remarks 2 GB + * @param sym - Stock symbol. + * @returns The bid price of a stock. + */ + getBidPrice(sym: StockSymbol): number; + + /** + * Returns an array of four elements that represents the player’s position in a stock. + * + * The first element is the returned array is the number of shares the player owns of + * the stock in the Long position. The second element in the array is the average price + * of the player’s shares in the Long position. + * + * The third element in the array is the number of shares the player owns of the stock + * in the Short position. The fourth element in the array is the average price of the + * player’s Short position. + * + * All elements in the returned array are numeric. + * + * @example + * ```js + * pos = getPosition("ECP"); + * shares = pos[0]; + * avgPx = pos[1]; + * sharesShort = pos[2]; + * avgPxShort = pos[3]; + * ``` + * @remarks 2 GB + * @param sym - Stock symbol. + * @returns Array of four elements that represents the player’s position in a stock. + */ + getPosition(sym: StockSymbol): [number, number, number, number]; + + /** + * Returns the maximum number of shares that the stock has. + * This is the maximum amount of the stock that can be purchased + * in both the Long and Short positions combined. + * + * @remarks 2 GB + * @param sym - Stock symbol. + * @returns Maximum number of shares that the stock has. + */ + getMaxShares(sym: StockSymbol): number; + + /** + * Calculates and returns how much it would cost to buy a given number of shares of a stock. + * This takes into account spread, large transactions influencing the price of the stock and commission fees. + * + * @remarks 2 GB + * @param sym - Stock symbol. + * @param shares - Number of shares to purchase. + * @param posType - Specifies whether the order is a “Long” or “Short” position. + * @returns Cost to buy a given number of shares of a stock. + */ + getPurchaseCost(sym: StockSymbol, shares: number, posType: OrderPos): number; + + /** + * Calculates and returns how much you would gain from selling a given number of shares of a stock. + * This takes into account spread, large transactions influencing the price of the stock and commission fees. + * + * @remarks 2 GB + * @param sym - Stock symbol. + * @param shares - Number of shares to sell. + * @param posType - Specifies whether the order is a “Long” or “Short” position. + * @returns Gain from selling a given number of shares of a stock. + */ + getSaleGain(sym: StockSymbol, shares: number, posType: OrderPos): number; + + /** + * Attempts to purchase shares of a stock using a Market Order. + * + * If the player does not have enough money to purchase the specified number of shares, + * then no shares will be purchased. Remember that every transaction on the stock exchange + * costs a certain commission fee. + * + * If this function successfully purchases the shares, it will return the stock price at which + * each share was purchased. Otherwise, it will return 0. + * + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @param shares - Number of shares to purchased. Must be positive. Will be rounded to nearest integer. + * @returns The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased. + */ + buy(sym: StockSymbol, shares: number): number; + + /** + * Attempts to sell shares of a stock using a Market Order. + * + * If the specified number of shares in the function exceeds the amount that the player + * actually owns, then this function will sell all owned shares. Remember that every + * transaction on the stock exchange costs a certain commission fee. + * + * The net profit made from selling stocks with this function is reflected in the script’s + * statistics. This net profit is calculated as: + * + * shares * (sell_price - average_price_of_purchased_shares) + * + * If the sale is successful, this function will return the stock price at + * which each share was sold. Otherwise, it will return 0. + * + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @param shares - Number of shares to sell. Must be positive. Will be rounded to nearest integer. + * @returns The stock price at which each share was sold, otherwise 0 if the shares weren't sold. + */ + sell(sym: StockSymbol, shares: number): number; + + /** + * Attempts to purchase a short position of a stock using a Market Order. + * + * The ability to short a stock is **not** immediately available to the player and + * must be unlocked later on in the game. + * + * If the player does not have enough money to purchase the specified number of shares, + * then no shares will be purchased. Remember that every transaction on the stock exchange + * costs a certain commission fee. + * + * If the purchase is successful, this function will return the stock price at which each + * share was purchased. Otherwise, it will return 0. + * + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @param shares - Number of shares to short. Must be positive. Will be rounded to nearest integer. + * @returns The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased. + */ + short(sym: StockSymbol, shares: number): number; + + /** + * Attempts to sell a short position of a stock using a Market Order. + * + * The ability to short a stock is **not** immediately available to the player and + * must be unlocked later on in the game. + * + * If the specified number of shares exceeds the amount that the player actually owns, + * then this function will sell all owned shares. Remember that every transaction on + * the stock exchange costs a certain commission fee. + * + * If the sale is successful, this function will return the stock price at which each + * share was sold. Otherwise it will return 0. + * + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @param shares - Number of shares to sell. Must be positive. Will be rounded to nearest integer. + * @returns The stock price at which each share was sold, otherwise 0 if the shares weren't sold. + */ + sellShort(sym: StockSymbol, shares: number): number; + + /** + * Places an order on the stock market. This function only works for Limit and Stop Orders. + * + * The ability to place limit and stop orders is **not** immediately available to the player and + * must be unlocked later on in the game. + * + * Returns true if the order is successfully placed, and false otherwise. + * + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @param shares - Number of shares for order. Must be positive. Will be rounded to nearest integer. + * @param price - Execution price for the order. + * @param type - Type of order. + * @param pos - Specifies whether the order is a “Long” or “Short” position. + * @returns True if the order is successfully placed, and false otherwise. + */ + placeOrder(sym: StockSymbol, shares: number, price: number, type: OrderType, pos: OrderPos): boolean; + + /** + * Cancels an oustanding Limit or Stop order on the stock market. + * + * The ability to use limit and stop orders is **not** immediately available to the player and + * must be unlocked later on in the game. + * + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @param shares - Number of shares for order. Must be positive. Will be rounded to nearest integer. + * @param price - Execution price for the order. + * @param type - Type of order. + * @param pos - Specifies whether the order is a “Long” or “Short” position. + */ + cancelOrder(sym: StockSymbol, shares: number, price: number, type: OrderType, pos: OrderPos): void; + + /** + * Returns your order book for the stock market. + * + * This is an object containing information for all the Limit and Stop Orders you have in the stock market. + * The object has the following structure: + * + * ```js + * { + * StockSymbol1: [ // Array of orders for this stock + * { + * shares: Order quantity + * price: Order price + * type: Order type + * position: Either "L" or "S" for Long or Short position + * }, + * { + * ... + * }, + * ... + * ], + * StockSymbol2: [ // Array of orders for this stock + * ... + * ], + * ... + * } + * ``` + * The “Order type” property can have one of the following four values: + * * “Limit Buy Order” + * * “Limit Sell Order” + * * “Stop Buy Order” + * * “Stop Sell Order” + * Note that the order book will only contain information for stocks that you actually have orders in. + * + * @example + * ```js + * "If you do not have orders in Nova Medical (NVMD), then the returned object will not have a “NVMD” property." + * { + * ECP: [ + * { + * shares: 5, + * price: 100,000 + * type: "Stop Buy Order", + * position: "S", + * }, + * { + * shares: 25, + * price: 125,000 + * type: "Limit Sell Order", + * position: "L", + * }, + * ], + * SYSC: [ + * { + * shares: 100, + * price: 10,000 + * type: "Limit Buy Order", + * position: "L", + * }, + * ], + * } + * ``` + * @remarks 2.5 GB + * @returns Object containing information for all the Limit and Stop Orders you have in the stock market. + */ + getOrders(): StockOrder; + + /** + * Returns the volatility of the specified stock. + * + * Volatility represents the maximum percentage by which a stock’s price can change every tick. + * The volatility is returned as a decimal value, NOT a percentage + * (e.g. if a stock has a volatility of 3%, then this function will return 0.03, NOT 3). + * + * In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API. + * + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @returns Volatility of the specified stock. + */ + getVolatility(sym: StockSymbol): number; + + /** + * Returns the probability that the specified stock’s price will increase (as opposed to decrease) during the next tick. + * + * The probability is returned as a decimal value, NOT a percentage + * (e.g. if a stock has a 60% chance of increasing, then this function will return 0.6, NOT 60). + * + * In other words, if this function returned 0.30 for a stock, then this means that the stock’s price has a + * 30% chance of increasing and a 70% chance of decreasing during the next tick. + * + * In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API. + * + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @returns Probability that the specified stock’s price will increase (as opposed to decrease) during the next tick. + */ + getForecast(sym: StockSymbol): number; + + /** + * Purchase 4S Market Data Access. + * + * Returns true if you successfully purchased it or if you already have access. Returns false otherwise. + * + * @remarks 2.5 GB + * @returns True if you successfully purchased it or if you already have access, false otherwise. + */ + purchase4SMarketData(): boolean; + + /** + * Purchase 4S Market Data TIX API Access. + * + * Returns true if you successfully purchased it or if you already have access. Returns false otherwise. + * + * @remarks 2.5 GB + * @returns True if you successfully purchased it or if you already have access, false otherwise. + */ + purchase4SMarketDataTixApi(): boolean; +} + +/** + * @public + */ +export declare type University = "Summit University" | "Rothman University" | "ZB Institute Of Technology"; + +/** + * @public + */ +export declare type UniversityCourse = +| "Study Computer Science" +| "Data Strucures" +| "Networks" +| "Algorithms" +| "Management" +| "Leadership"; + +export { } diff --git a/input/bitburner.api.json b/input/bitburner.api.json new file mode 100644 index 000000000..4e849f832 --- /dev/null +++ b/input/bitburner.api.json @@ -0,0 +1,20752 @@ +{ + "metadata": { + "toolPackage": "@microsoft/api-extractor", + "toolVersion": "7.18.17", + "schemaVersion": 1004, + "oldestForwardsCompatibleVersion": 1001, + "tsdocConfig": { + "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", + "noStandardTags": true, + "tagDefinitions": [ + { + "tagName": "@alpha", + "syntaxKind": "modifier" + }, + { + "tagName": "@beta", + "syntaxKind": "modifier" + }, + { + "tagName": "@defaultValue", + "syntaxKind": "block" + }, + { + "tagName": "@decorator", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@deprecated", + "syntaxKind": "block" + }, + { + "tagName": "@eventProperty", + "syntaxKind": "modifier" + }, + { + "tagName": "@example", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@experimental", + "syntaxKind": "modifier" + }, + { + "tagName": "@inheritDoc", + "syntaxKind": "inline" + }, + { + "tagName": "@internal", + "syntaxKind": "modifier" + }, + { + "tagName": "@label", + "syntaxKind": "inline" + }, + { + "tagName": "@link", + "syntaxKind": "inline", + "allowMultiple": true + }, + { + "tagName": "@override", + "syntaxKind": "modifier" + }, + { + "tagName": "@packageDocumentation", + "syntaxKind": "modifier" + }, + { + "tagName": "@param", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@privateRemarks", + "syntaxKind": "block" + }, + { + "tagName": "@public", + "syntaxKind": "modifier" + }, + { + "tagName": "@readonly", + "syntaxKind": "modifier" + }, + { + "tagName": "@remarks", + "syntaxKind": "block" + }, + { + "tagName": "@returns", + "syntaxKind": "block" + }, + { + "tagName": "@sealed", + "syntaxKind": "modifier" + }, + { + "tagName": "@see", + "syntaxKind": "block" + }, + { + "tagName": "@throws", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@typeParam", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@virtual", + "syntaxKind": "modifier" + }, + { + "tagName": "@betaDocumentation", + "syntaxKind": "modifier" + }, + { + "tagName": "@internalRemarks", + "syntaxKind": "block" + }, + { + "tagName": "@preapproved", + "syntaxKind": "modifier" + } + ], + "supportForTags": { + "@alpha": true, + "@beta": true, + "@defaultValue": true, + "@decorator": true, + "@deprecated": true, + "@eventProperty": true, + "@example": true, + "@experimental": true, + "@inheritDoc": true, + "@internal": true, + "@label": true, + "@link": true, + "@override": true, + "@packageDocumentation": true, + "@param": true, + "@privateRemarks": true, + "@public": true, + "@readonly": true, + "@remarks": true, + "@returns": true, + "@sealed": true, + "@see": true, + "@throws": true, + "@typeParam": true, + "@virtual": true, + "@betaDocumentation": true, + "@internalRemarks": true, + "@preapproved": true + } + } + }, + "kind": "Package", + "canonicalReference": "bitburner!", + "docComment": "", + "name": "bitburner", + "members": [ + { + "kind": "EntryPoint", + "canonicalReference": "bitburner!", + "name": "", + "members": [ + { + "kind": "Interface", + "canonicalReference": "bitburner!AugmentationStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface AugmentationStats " + } + ], + "releaseTag": "Public", + "name": "AugmentationStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#agility_exp_mult:member", + "docComment": "/**\n * Multipler to agility experience gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility_exp_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "agility_exp_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#agility_mult:member", + "docComment": "/**\n * Multipler to agility skill\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "agility_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#bladeburner_analysis_mult:member", + "docComment": "/**\n * Multipler to effectiveness in Bladeburner Field Analysis\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "bladeburner_analysis_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "bladeburner_analysis_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#bladeburner_max_stamina_mult:member", + "docComment": "/**\n * Multipler to Bladeburner max stamina\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "bladeburner_max_stamina_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "bladeburner_max_stamina_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#bladeburner_stamina_gain_mult:member", + "docComment": "/**\n * Multipler to Bladeburner stamina gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "bladeburner_stamina_gain_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "bladeburner_stamina_gain_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#bladeburner_success_chance_mult:member", + "docComment": "/**\n * Multipler to success chance in Bladeburner contracts/operations\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "bladeburner_success_chance_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "bladeburner_success_chance_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#charisma_exp_mult:member", + "docComment": "/**\n * Multipler to charisma experience gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma_exp_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "charisma_exp_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#charisma_mult:member", + "docComment": "/**\n * Multipler to charisma skill\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "charisma_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#company_rep_mult:member", + "docComment": "/**\n * Multipler to amount of reputation gained when working\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "company_rep_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "company_rep_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#crime_money_mult:member", + "docComment": "/**\n * Multipler to amount of money gained from crimes\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "crime_money_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "crime_money_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#crime_success_mult:member", + "docComment": "/**\n * Multipler to crime success rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "crime_success_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "crime_success_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#defense_exp_mult:member", + "docComment": "/**\n * Multipler to defense experience gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense_exp_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "defense_exp_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#defense_mult:member", + "docComment": "/**\n * Multipler to defense skill\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "defense_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#dexterity_exp_mult:member", + "docComment": "/**\n * Multipler to dexterity experience gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity_exp_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "dexterity_exp_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#dexterity_mult:member", + "docComment": "/**\n * Multipler to dexterity skill\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "dexterity_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#faction_rep_mult:member", + "docComment": "/**\n * Multipler to amount of reputation gained when working\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "faction_rep_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "faction_rep_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacking_chance_mult:member", + "docComment": "/**\n * Multipler to chance of successfully performing a hack\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_chance_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacking_chance_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacking_exp_mult:member", + "docComment": "/**\n * Multipler to hacking experience gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_exp_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacking_exp_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacking_grow_mult:member", + "docComment": "/**\n * Multipler to amount of money injected into servers using grow)}\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_grow_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacking_grow_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacking_money_mult:member", + "docComment": "/**\n * Multipler to amount of money the player gains from hacking\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_money_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacking_money_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacking_mult:member", + "docComment": "/**\n * Multipler to hacking skill\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacking_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacking_speed_mult:member", + "docComment": "/**\n * Multipler to hacking speed\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_speed_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacking_speed_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacknet_node_core_cost_mult:member", + "docComment": "/**\n * Multipler to cost of core for a Hacknet Node\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacknet_node_core_cost_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacknet_node_core_cost_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacknet_node_level_cost_mult:member", + "docComment": "/**\n * Multipler to cost of leveling up a Hacknet Node\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacknet_node_level_cost_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacknet_node_level_cost_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacknet_node_money_mult:member", + "docComment": "/**\n * Multipler to amount of money produced by Hacknet Nodes\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacknet_node_money_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacknet_node_money_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacknet_node_purchase_cost_mult:member", + "docComment": "/**\n * Multipler to cost of purchasing a Hacknet Node\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacknet_node_purchase_cost_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacknet_node_purchase_cost_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacknet_node_ram_cost_mult:member", + "docComment": "/**\n * Multipler to cost of ram for a Hacknet Node\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacknet_node_ram_cost_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacknet_node_ram_cost_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#strength_exp_mult:member", + "docComment": "/**\n * Multipler to strength experience gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength_exp_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "strength_exp_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#strength_mult:member", + "docComment": "/**\n * Multipler to strength skill\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "strength_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#work_money_mult:member", + "docComment": "/**\n * Multipler to amount of money gained from working\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "work_money_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "work_money_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!AugmentName:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type AugmentName =\n " + }, + { + "kind": "Content", + "text": "| \"Augmented Targeting I\"\n | \"Augmented Targeting II\"\n | \"Augmented Targeting III\"\n | \"Synthetic Heart\"\n | \"Synfibril Muscle\"\n | \"Combat Rib I\"\n | \"Combat Rib II\"\n | \"Combat Rib III\"\n | \"Nanofiber Weave\"\n | \"NEMEAN Subdermal Weave\"\n | \"Wired Reflexes\"\n | \"Graphene Bone Lacings\"\n | \"Bionic Spine\"\n | \"Graphene Bionic Spine Upgrade\"\n | \"Bionic Legs\"\n | \"Graphene Bionic Legs Upgrade\"\n | \"Speech Processor Implant\"\n | \"TITN-41 Gene-Modification Injection\"\n | \"Enhanced Social Interaction Implant\"\n | \"BitWire\"\n | \"Artificial Bio-neural Network Implant\"\n | \"Artificial Synaptic Potentiation\"\n | \"Enhanced Myelin Sheathing\"\n | \"Synaptic Enhancement Implant\"\n | \"Neural-Retention Enhancement\"\n | \"DataJack\"\n | \"Embedded Netburner Module\"\n | \"Embedded Netburner Module Core Implant\"\n | \"Embedded Netburner Module Core V2 Upgrade\"\n | \"Embedded Netburner Module Core V3 Upgrade\"\n | \"Embedded Netburner Module Analyze Engine\"\n | \"Embedded Netburner Module Direct Memory Access Upgrade\"\n | \"Neuralstimulator\"\n | \"Neural Accelerator\"\n | \"Cranial Signal Processors - Gen I\"\n | \"Cranial Signal Processors - Gen II\"\n | \"Cranial Signal Processors - Gen III\"\n | \"Cranial Signal Processors - Gen IV\"\n | \"Cranial Signal Processors - Gen V\"\n | \"Neuronal Densification\"\n | \"Nuoptimal Nootropic Injector Implant\"\n | \"Speech Enhancement\"\n | \"FocusWire\"\n | \"PC Direct-Neural Interface\"\n | \"PC Direct-Neural Interface Optimization Submodule\"\n | \"PC Direct-Neural Interface NeuroNet Injector\"\n | \"ADR-V1 Pheromone Gene\"\n | \"ADR-V2 Pheromone Gene\"\n | \"The Shadow's Simulacrum\"\n | \"Hacknet Node CPU Architecture Neural-Upload\"\n | \"Hacknet Node Cache Architecture Neural-Upload\"\n | \"Hacknet Node NIC Architecture Neural-Upload\"\n | \"Hacknet Node Kernel Direct-Neural Interface\"\n | \"Hacknet Node Core Direct-Neural Interface\"\n | \"NeuroFlux Governor\"\n | \"Neurotrainer I\"\n | \"Neurotrainer II\"\n | \"Neurotrainer III\"\n | \"HyperSight Corneal Implant\"\n | \"LuminCloaking-V1 Skin Implant\"\n | \"LuminCloaking-V2 Skin Implant\"\n | \"HemoRecirculator\"\n | \"SmartSonar Implant\"\n | \"Power Recirculation Core\"\n | \"QLink\"\n | \"The Red Pill\"\n | \"SPTN-97 Gene Modification\"\n | \"ECorp HVMind Implant\"\n | \"CordiARC Fusion Reactor\"\n | \"SmartJaw\"\n | \"Neotra\"\n | \"Xanipher\"\n | \"nextSENS Gene Modification\"\n | \"OmniTek InfoLoad\"\n | \"Photosynthetic Cells\"\n | \"BitRunners Neurolink\"\n | \"The Black Hand\"\n | \"CRTX42-AA Gene Modification\"\n | \"Neuregen Gene Modification\"\n | \"CashRoot Starter Kit\"\n | \"NutriGen Implant\"\n | \"INFRARET Enhancement\"\n | \"DermaForce Particle Barrier\"\n | \"Graphene BranchiBlades Upgrade\"\n | \"Graphene Bionic Arms Upgrade\"\n | \"BrachiBlades\"\n | \"Bionic Arms\"\n | \"Social Negotiation Assistant (S.N.A)\"\n | \"EsperTech Bladeburner Eyewear\"\n | \"EMS-4 Recombination\"\n | \"ORION-MKIV Shoulder\"\n | \"Hyperion Plasma Cannon V1\"\n | \"Hyperion Plasma Cannon V2\"\n | \"GOLEM Serum\"\n | \"Vangelis Virus\"\n | \"Vangelis Virus 3.0\"\n | \"I.N.T.E.R.L.I.N.K.E.D\"\n | \"Blade's Runners\"\n | \"BLADE-51b Tesla Armor\"\n | \"BLADE-51b Tesla Armor: Power Cells Upgrade\"\n | \"BLADE-51b Tesla Armor: Energy Shielding Upgrade\"\n | \"BLADE-51b Tesla Armor: Unibeam Upgrade\"\n | \"BLADE-51b Tesla Armor: Omnibeam Upgrade\"\n | \"BLADE-51b Tesla Armor: IPU Upgrade\"\n | \"The Blade's Simulacrum\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "AugmentName", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!AugmentPair:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface AugmentPair " + } + ], + "releaseTag": "Public", + "name": "AugmentPair", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentPair#cost:member", + "docComment": "/**\n * augmentation cost\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "cost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "cost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentPair#name:member", + "docComment": "/**\n * augmentation name\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "name: " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "name", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!BasicHGWOptions:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface BasicHGWOptions " + } + ], + "releaseTag": "Public", + "name": "BasicHGWOptions", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BasicHGWOptions#threads:member", + "docComment": "/**\n * Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "threads: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "threads", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!BitNodeMultipliers:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface BitNodeMultipliers " + } + ], + "releaseTag": "Public", + "name": "BitNodeMultipliers", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#AgilityLevelMultiplier:member", + "docComment": "/**\n * Influences how quickly the player's agility level (not exp) scales\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "AgilityLevelMultiplier: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "AgilityLevelMultiplier", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#AugmentationMoneyCost:member", + "docComment": "/**\n * Influences the base cost to purchase an augmentation.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "AugmentationMoneyCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "AugmentationMoneyCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#AugmentationRepCost:member", + "docComment": "/**\n * Influences the base rep the player must have with a faction to purchase an augmentation.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "AugmentationRepCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "AugmentationRepCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#BladeburnerRank:member", + "docComment": "/**\n * Influences how quickly the player can gain rank within Bladeburner.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "BladeburnerRank: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "BladeburnerRank", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#BladeburnerSkillCost:member", + "docComment": "/**\n * Influences the cost of skill levels from Bladeburner.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "BladeburnerSkillCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "BladeburnerSkillCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CharismaLevelMultiplier:member", + "docComment": "/**\n * Influences how quickly the player's charisma level (not exp) scales\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CharismaLevelMultiplier: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CharismaLevelMultiplier", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ClassGymExpGain:member", + "docComment": "/**\n * Influences the experience gained for each ability when a player completes a class.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ClassGymExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ClassGymExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CodingContractMoney:member", + "docComment": "/**\n * Influences the amount of money gained from completing Coding Contracts\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CodingContractMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CodingContractMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CompanyWorkExpGain:member", + "docComment": "/**\n * Influences the experience gained for each ability when the player completes working their job.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CompanyWorkExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CompanyWorkExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CompanyWorkMoney:member", + "docComment": "/**\n * Influences how much money the player earns when completing working their job.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CompanyWorkMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CompanyWorkMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CorporationValuation:member", + "docComment": "/**\n * Influences the valuation of corporations created by the player.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CorporationValuation: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CorporationValuation", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CrimeExpGain:member", + "docComment": "/**\n * Influences the base experience gained for each ability when the player commits a crime.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CrimeExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CrimeExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CrimeMoney:member", + "docComment": "/**\n * Influences the base money gained when the player commits a crime.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CrimeMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CrimeMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#DaedalusAugsRequirement:member", + "docComment": "/**\n * Influences how many Augmentations you need in order to get invited to the Daedalus faction\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "DaedalusAugsRequirement: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "DaedalusAugsRequirement", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#DefenseLevelMultiplier:member", + "docComment": "/**\n * Influences how quickly the player's defense level (not exp) scales\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "DefenseLevelMultiplier: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "DefenseLevelMultiplier", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#DexterityLevelMultiplier:member", + "docComment": "/**\n * Influences how quickly the player's dexterity level (not exp) scales\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "DexterityLevelMultiplier: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "DexterityLevelMultiplier", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#FactionPassiveRepGain:member", + "docComment": "/**\n * Influences how much rep the player gains in each faction simply by being a member.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "FactionPassiveRepGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "FactionPassiveRepGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#FactionWorkExpGain:member", + "docComment": "/**\n * Influences the experience gained for each ability when the player completes work for a Faction.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "FactionWorkExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "FactionWorkExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#FactionWorkRepGain:member", + "docComment": "/**\n * Influences how much rep the player gains when performing work for a faction.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "FactionWorkRepGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "FactionWorkRepGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#FourSigmaMarketDataApiCost:member", + "docComment": "/**\n * Influences how much it costs to unlock the stock market's 4S Market Data API\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "FourSigmaMarketDataApiCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "FourSigmaMarketDataApiCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#FourSigmaMarketDataCost:member", + "docComment": "/**\n * Influences how much it costs to unlock the stock market's 4S Market Data (NOT API)\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "FourSigmaMarketDataCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "FourSigmaMarketDataCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#HackExpGain:member", + "docComment": "/**\n * Influences the experienced gained when hacking a server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "HackExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "HackExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#HackingLevelMultiplier:member", + "docComment": "/**\n * Influences how quickly the player's hacking level (not experience) scales\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "HackingLevelMultiplier: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "HackingLevelMultiplier", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#HacknetNodeMoney:member", + "docComment": "/**\n * Influences how much money is produced by Hacknet Nodes and the hash rate of Hacknet Servers (unlocked in BitNode-9)\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "HacknetNodeMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "HacknetNodeMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#HomeComputerRamCost:member", + "docComment": "/**\n * Influences how much money it costs to upgrade your home computer's RAM\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "HomeComputerRamCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "HomeComputerRamCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#InfiltrationMoney:member", + "docComment": "/**\n * Influences how much money is gained when the player infiltrates a company.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "InfiltrationMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "InfiltrationMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#InfiltrationRep:member", + "docComment": "/**\n * Influences how much rep the player can gain from factions when selling stolen documents and secrets\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "InfiltrationRep: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "InfiltrationRep", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ManualHackMoney:member", + "docComment": "/**\n * Influences how much money can be stolen from a server when the player performs a hack against it through the Terminal.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ManualHackMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ManualHackMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerCost:member", + "docComment": "/**\n * Influence how much it costs to purchase a server\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "PurchasedServerCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "PurchasedServerCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerLimit:member", + "docComment": "/**\n * Influences the maximum number of purchased servers you can have\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "PurchasedServerLimit: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "PurchasedServerLimit", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerMaxRam:member", + "docComment": "/**\n * Influences the maximum allowed RAM for a purchased server\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "PurchasedServerMaxRam: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "PurchasedServerMaxRam", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#RepToDonateToFaction:member", + "docComment": "/**\n * Influences the minimum favor the player must have with a faction before they can donate to gain rep.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "RepToDonateToFaction: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "RepToDonateToFaction", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ScriptHackMoney:member", + "docComment": "/**\n * Influences how much money can be stolen from a server when a script performs a hack against it.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ScriptHackMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ScriptHackMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ServerGrowthRate:member", + "docComment": "/**\n * Influences the growth percentage per cycle against a server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ServerGrowthRate: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ServerGrowthRate", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ServerMaxMoney:member", + "docComment": "/**\n * Influences the maxmimum money that a server can grow to.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ServerMaxMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ServerMaxMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ServerStartingMoney:member", + "docComment": "/**\n * Influences the initial money that a server starts with.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ServerStartingMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ServerStartingMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ServerStartingSecurity:member", + "docComment": "/**\n * Influences the initial security level (hackDifficulty) of a server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ServerStartingSecurity: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ServerStartingSecurity", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ServerWeakenRate:member", + "docComment": "/**\n * Influences the weaken amount per invocation against a server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ServerWeakenRate: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ServerWeakenRate", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#StrengthLevelMultiplier:member", + "docComment": "/**\n * Influences how quickly the player's strength level (not exp) scales\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "StrengthLevelMultiplier: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "StrengthLevelMultiplier", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!Bladeburner:interface", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface Bladeburner " + } + ], + "releaseTag": "Public", + "name": "Bladeburner", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionAutolevel:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Return a boolean indicating whether or not this action is currently set to autolevel.\n *\n * Returns false if an invalid action is specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns True if the action is set to autolevel, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionAutolevel(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getActionAutolevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionCountRemaining:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the remaining count of the specified action.\n *\n * Note that this is meant to be used for Contracts and Operations. This function will return ‘Infinity’ for actions such as Training and Field Analysis. This function will return 1 for BlackOps not yet completed regardless of wether the player has the required rank to attempt the mission or not.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Remaining count of the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionCountRemaining(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getActionCountRemaining" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionCurrentLevel:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the current level of this action.\n *\n * Returns -1 if an invalid action is specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Current level of the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionCurrentLevel(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getActionCurrentLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionEstimatedSuccessChance:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the estimated success chance for the specified action. This chance is returned as a decimal value, NOT a percentage (e.g. if you have an estimated success chance of 80%, then this function will return 0.80, NOT 80).\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Estimated success chance for the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionEstimatedSuccessChance(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getActionEstimatedSuccessChance" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionMaxLevel:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the maximum level for this action.\n *\n * Returns -1 if an invalid action is specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Maximum level of the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionMaxLevel(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getActionMaxLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionRepGain:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the average Bladeburner reputation gain for successfully completing the specified action. Note that this value is an ‘average’ and the real reputation gain may vary slightly from this value.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param level - Optional action level at which to calculate the gain\n *\n * @returns Average Bladeburner reputation gain for successfully completing the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionRepGain(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n level: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 13, + "endIndex": 14 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + }, + { + "parameterName": "level", + "parameterTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + } + } + ], + "name": "getActionRepGain" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionTime:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the number of seconds it takes to complete the specified action\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Number of seconds it takes to complete the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionTime(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getActionTime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getBlackOpNames:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all Bladeburner Black Ops.\n *\n * @remarks\n *\n * 0.4 GB\n *\n * @returns Array of strings containing the names of all Bladeburner Black Ops.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getBlackOpNames(): " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getBlackOpNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getBlackOpRank:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the rank required to complete this BlackOp.\n *\n * Returns -1 if an invalid action is specified.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param name - Name of BlackOp. Must be an exact match.\n *\n * @returns Rank required to complete this BlackOp.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getBlackOpRank(name: " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getBlackOpRank" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getBonusTime:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic.\n *\n * “Bonus time” is accumulated when the game is offline or if the game is inactive in the browser.\n *\n * “Bonus time” makes the game progress faster, up to 5x the normal speed. For example, if an action takes 30 seconds to complete but you’ve accumulated over 30 seconds in bonus time, then the action will only take 6 seconds in real life to complete.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns Amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getBonusTime(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getBonusTime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getCity:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the city that the player is currently in (for Bladeburner).\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns City that the player is currently in (for Bladeburner).\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCity(): " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getCity" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getCityChaos:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the chaos in the specified city, or -1 if an invalid city was specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns Chaos in the specified city.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCityChaos(name: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCityChaos" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getCityCommunities:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the estimated number of Synthoid communities in the specified city, or -1 if an invalid city was specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns Number of Synthoids communities in the specified city.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCityCommunities(name: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCityCommunities" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getCityEstimatedPopulation:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the estimated number of Synthoids in the specified city, or -1 if an invalid city was specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns Estimated number of Synthoids in the specified city.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCityEstimatedPopulation(name: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCityEstimatedPopulation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getContractNames:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all Bladeburner contracts.\n *\n * @remarks\n *\n * 0.4 GB\n *\n * @returns Array of strings containing the names of all Bladeburner contracts.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getContractNames(): " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getContractNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getCurrentAction:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an object that represents the player’s current Bladeburner action. If the player is not performing an action, the function will return an object with the ‘type’ property set to “Idle”.\n *\n * @remarks\n *\n * 1 GB\n *\n * @returns Object that represents the player’s current Bladeburner action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCurrentAction(): " + }, + { + "kind": "Reference", + "text": "BladeburnerCurAction", + "canonicalReference": "bitburner!BladeburnerCurAction:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getCurrentAction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getGeneralActionNames:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all general Bladeburner actions.\n *\n * @remarks\n *\n * 0.4 GB\n *\n * @returns Array of strings containing the names of all general Bladeburner actions.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getGeneralActionNames(): " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getGeneralActionNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getOperationNames:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all Bladeburner operations.\n *\n * @remarks\n *\n * 0.4 GB\n *\n * @returns Array of strings containing the names of all Bladeburner operations.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getOperationNames(): " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getOperationNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getRank:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the player’s Bladeburner Rank.\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns Player’s Bladeburner Rank.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getRank(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getRank" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getSkillLevel:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * This function returns your level in the specified skill.\n *\n * The function returns -1 if an invalid skill name is passed in.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param skillName - Name of skill. Case-sensitive and must be an exact match\n *\n * @returns Level in the specified skill.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSkillLevel(name: " + }, + { + "kind": "Reference", + "text": "BladeburnerSkills", + "canonicalReference": "bitburner!BladeburnerSkills:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getSkillLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getSkillNames:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all general Bladeburner skills.\n *\n * @remarks\n *\n * 0.4 GB\n *\n * @returns Array of strings containing the names of all general Bladeburner skills.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSkillNames(): " + }, + { + "kind": "Reference", + "text": "BladeburnerSkills", + "canonicalReference": "bitburner!BladeburnerSkills:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getSkillNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getSkillPoints:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the number of Bladeburner skill points you have.\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns Number of Bladeburner skill points you have.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSkillPoints(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getSkillPoints" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getSkillUpgradeCost:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * This function returns the number of skill points needed to upgrade the specified skill.\n *\n * The function returns -1 if an invalid skill name is passed in.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param skillName - Name of skill. Case-sensitive and must be an exact match\n *\n * @returns Number of skill points needed to upgrade the specified skill.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSkillUpgradeCost(name: " + }, + { + "kind": "Reference", + "text": "BladeburnerSkills", + "canonicalReference": "bitburner!BladeburnerSkills:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getSkillUpgradeCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getStamina:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array with two elements: * [Current stamina, Max stamina]\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns Array containing current stamina and max stamina.\n *\n * @example\n * ```js\n * function getStaminaPercentage() {\n * let res = bladeburner.getStamina();\n * return res[0] / res[1];\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getStamina(): " + }, + { + "kind": "Content", + "text": "[number, number]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getStamina" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getTeamSize:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the number of Bladeburner team members you have assigned to the specified action.\n *\n * Setting a team is only applicable for Operations and BlackOps. This function will return 0 for other action types.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Number of Bladeburner team members that were assigned to the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getTeamSize(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getTeamSize" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#joinBladeburnerDivision:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Attempts to join the Bladeburner division.\n *\n * Returns true if you successfully join the Bladeburner division, or if you are already a member.\n *\n * Returns false otherwise.\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns True if you successfully join the Bladeburner division, or if you are already a member, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "joinBladeburnerDivision(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "joinBladeburnerDivision" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#joinBladeburnerFaction:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Attempts to join the Bladeburner faction.\n *\n * Returns true if you successfully join the Bladeburner faction, or if you are already a member.\n *\n * Returns false otherwise.\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns True if you successfully join the Bladeburner faction, or if you are already a member, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "joinBladeburnerFaction(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "joinBladeburnerFaction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#setActionAutolevel:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Enable/disable autoleveling for the specified action.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param autoLevel - Whether or not to autolevel this action\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setActionAutolevel(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n autoLevel: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 13, + "endIndex": 14 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + }, + { + "parameterName": "autoLevel", + "parameterTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + } + } + ], + "name": "setActionAutolevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#setActionLevel:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Set the level for the specified action.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param level - Level to set this action to.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setActionLevel(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n level: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 13, + "endIndex": 14 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + }, + { + "parameterName": "level", + "parameterTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + } + } + ], + "name": "setActionLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#setTeamSize:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Set the team size for the specified Bladeburner action.\n *\n * Returns the team size that was set, or -1 if the function failed.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param size - Number of team members to set. Will be converted using Math.round().\n *\n * @returns Number of Bladeburner team members you assigned to the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setTeamSize(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n size: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 13, + "endIndex": 14 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + }, + { + "parameterName": "size", + "parameterTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + } + } + ], + "name": "setTeamSize" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#startAction:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Attempts to start the specified Bladeburner action. Returns true if the action was started successfully, and false otherwise.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match\n *\n * @returns True if the action was started successfully, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "startAction(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "startAction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#stopBladeburnerAction:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Stops the current Bladeburner action.\n *\n * @remarks\n *\n * 2 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "stopBladeburnerAction(): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "stopBladeburnerAction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#switchCity:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Attempts to switch to the specified city (for Bladeburner only).\n *\n * Returns true if successful, and false otherwise\n *\n * @remarks\n *\n * 4 GB\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns true if successful, and false otherwise\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "switchCity(name: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "switchCity" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#upgradeSkill:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Attempts to upgrade the specified Bladeburner skill.\n *\n * Returns true if the skill is successfully upgraded, and false otherwise.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param skillName - Name of skill to be upgraded. Case-sensitive and must be an exact match\n *\n * @returns true if the skill is successfully upgraded, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "upgradeSkill(name: " + }, + { + "kind": "Reference", + "text": "BladeburnerSkills", + "canonicalReference": "bitburner!BladeburnerSkills:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "upgradeSkill" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!BladeburnerActTypes:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type BladeburnerActTypes = " + }, + { + "kind": "Content", + "text": "\"contracts\" | \"operations\" | \"black ops\" | \"general\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "BladeburnerActTypes", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!BladeburnerBlackOps:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type BladeburnerBlackOps =\n " + }, + { + "kind": "Content", + "text": "| \"Operation Typhoon\"\n | \"Operation Zero\"\n | \"Operation X\"\n | \"Operation Titan\"\n | \"Operation Ares\"\n | \"Operation Archangel\"\n | \"Operation Juggernaut\"\n | \"Operation Red Dragon\"\n | \"Operation K\"\n | \"Operation Deckard\"\n | \"Operation Tyrell\"\n | \"Operation Wallace\"\n | \"Operation Shoulder of Orion\"\n | \"Operation Hyron\"\n | \"Operation Morpheus\"\n | \"Operation Ion Storm\"\n | \"Operation Annihilus\"\n | \"Operation Ultron\"\n | \"Operation Centurion\"\n | \"Operation Vindictus\"\n | \"Operation Daedalus\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "BladeburnerBlackOps", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!BladeburnerContracts:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type BladeburnerContracts = " + }, + { + "kind": "Content", + "text": "\"Tracking\" | \"Bounty Hunter\" | \"Retirement\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "BladeburnerContracts", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!BladeburnerCurAction:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface BladeburnerCurAction " + } + ], + "releaseTag": "Public", + "name": "BladeburnerCurAction", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BladeburnerCurAction#name:member", + "docComment": "/**\n * Name of Action\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "name", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 8 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BladeburnerCurAction#type:member", + "docComment": "/**\n * Type of Action\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": " | \"Idle\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "type", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!BladeburnerGenActions:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type BladeburnerGenActions =\n " + }, + { + "kind": "Content", + "text": "| \"Training\"\n | \"Field Analysis\"\n | \"Recruitment\"\n | \"Diplomacy\"\n | \"Hyperbolic Regeneration Chamber\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "BladeburnerGenActions", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!BladeburnerOperations:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type BladeburnerOperations =\n " + }, + { + "kind": "Content", + "text": "| \"Investigation\"\n | \"Undercover Operation\"\n | \"Sting Operation\"\n | \"Raid\"\n | \"Stealth Retirement Operation\"\n | \"Assassination\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "BladeburnerOperations", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!BladeburnerSkills:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type BladeburnerSkills =\n " + }, + { + "kind": "Content", + "text": "| \"Blade's Intuition\"\n | \"Cloak\"\n | \"Marksman\"\n | \"Weapon Proficiency\"\n | \"Short-Circuit\"\n | \"Digital Observer\"\n | \"Tracer\"\n | \"Overclock\"\n | \"Reaper\"\n | \"Evasive System\"\n | \"Datamancer\"\n | \"Cyber's Edge\"\n | \"Hands of Midas\"\n | \"Hyperdrive\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "BladeburnerSkills", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!CharacterInfo:interface", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface CharacterInfo " + } + ], + "releaseTag": "Public", + "name": "CharacterInfo", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#bitnode:member", + "docComment": "/**\n * Current BitNode number\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "bitnode: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "bitnode", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#city:member", + "docComment": "/**\n * Name of city you are currently in\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "city: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "city", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#company:member", + "docComment": "/**\n * Array of all companies at which you have jobs\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "company: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "company", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#factions:member", + "docComment": "/**\n * Array of factions you are currently a member of\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "factions: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "factions", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#hp:member", + "docComment": "/**\n * Current health points\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#jobTitle:member", + "docComment": "/**\n * Array of job positions for all companies you are employed at. Same order as 'jobs'\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "jobTitle: " + }, + { + "kind": "Reference", + "text": "CompanyField", + "canonicalReference": "bitburner!CompanyField:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "jobTitle", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#maxHp:member", + "docComment": "/**\n * Maximum health points\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "maxHp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "maxHp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#mult:member", + "docComment": "/**\n * Object with many of the player's multipliers from Augmentations/Source Files\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "mult: " + }, + { + "kind": "Reference", + "text": "CharacterMult", + "canonicalReference": "bitburner!CharacterMult:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#timeWorked:member", + "docComment": "/**\n * Timed worked in ms\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "timeWorked: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "timeWorked", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#tor:member", + "docComment": "/**\n * Boolean indicating whether or not you have a tor router\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "tor: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "tor", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workAgiExpGain:member", + "docComment": "/**\n * Agi experience earned so far from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workAgiExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workAgiExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workChaExpGain:member", + "docComment": "/**\n * Cha experience earned so far from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workChaExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workChaExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workDefExpGain:member", + "docComment": "/**\n * Def experience earned so far from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workDefExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workDefExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workDexExpGain:member", + "docComment": "/**\n * Dex experience earned so far from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workDexExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workDexExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workHackExpGain:member", + "docComment": "/**\n * Hacking experience earned so far from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workHackExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workHackExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workMoneyGain:member", + "docComment": "/**\n * Money earned so far from work, if applicable\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workMoneyGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workMoneyGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workRepGain:member", + "docComment": "/**\n * Reputation earned so far from work, if applicable\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workRepGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workRepGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workStrExpGain:member", + "docComment": "/**\n * Str experience earned so far from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workStrExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workStrExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!CharacterMult:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface CharacterMult " + } + ], + "releaseTag": "Public", + "name": "CharacterMult", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#agility:member", + "docComment": "/**\n * Agility stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agility", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#agilityExp:member", + "docComment": "/**\n * Agility exp\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agilityExp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agilityExp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#companyRep:member", + "docComment": "/**\n * Company reputation\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "companyRep: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "companyRep", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#crimeMoney:member", + "docComment": "/**\n * Money earned from crimes\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "crimeMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "crimeMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#crimeSuccess:member", + "docComment": "/**\n * Crime success chance\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "crimeSuccess: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "crimeSuccess", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#defense:member", + "docComment": "/**\n * Defense stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defense", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#defenseExp:member", + "docComment": "/**\n * Defense exp\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defenseExp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defenseExp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#dexterity:member", + "docComment": "/**\n * Dexterity stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterity", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#dexterityExp:member", + "docComment": "/**\n * Dexterity exp\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterityExp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterityExp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#factionRep:member", + "docComment": "/**\n * Faction reputation\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "factionRep: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "factionRep", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#hacking:member", + "docComment": "/**\n * Hacking stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacking", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#hackingExp:member", + "docComment": "/**\n * Hacking exp\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackingExp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hackingExp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#strength:member", + "docComment": "/**\n * Strength stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strength", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#strengthExp:member", + "docComment": "/**\n * Strength exp\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strengthExp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strengthExp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#workMoney:member", + "docComment": "/**\n * Money earned from jobs\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!City:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type City = " + }, + { + "kind": "Content", + "text": "\"Aevum\" | \"Chongqing\" | \"Sector-12\" | \"New Tokyo\" | \"Ishima\" | \"Volhaven\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "City", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!CodingAttemptOptions:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface CodingAttemptOptions " + } + ], + "releaseTag": "Public", + "name": "CodingAttemptOptions", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CodingAttemptOptions#returnReward:member", + "docComment": "/**\n * If truthy, then the function will return a string that states the contract’s reward when it is successfully solved.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "returnReward: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "returnReward", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!CodingContract:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface CodingContract " + } + ], + "releaseTag": "Public", + "name": "CodingContract", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!CodingContract#attempt:member(1)", + "docComment": "/**\n * Attempts to solve the Coding Contract with the provided solution.\n *\n * @remarks\n *\n * 10 GB @paramanswer - Solution for the contract.\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns True if the solution was correct, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "attempt(answer: " + }, + { + "kind": "Content", + "text": "string | string[] | number" + }, + { + "kind": "Content", + "text": ", fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "answer", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "attempt" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!CodingContract#attempt:member(2)", + "docComment": "/**\n * Attempts to solve the Coding Contract with the provided solution.\n *\n * @remarks\n *\n * 10 GB\n *\n * @param answer - Solution for the contract.\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns True if the solution was correct, false otherwise. If the returnReward option is configured, then the function will instead return a string. If the contract is successfully solved, the string will contain a description of the contract’s reward. Otherwise, it will be an empty string.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "attempt(answer: " + }, + { + "kind": "Content", + "text": "string | string[] | number" + }, + { + "kind": "Content", + "text": ", fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", opts?: " + }, + { + "kind": "Reference", + "text": "CodingAttemptOptions", + "canonicalReference": "bitburner!CodingAttemptOptions:interface" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean | string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 9, + "endIndex": 10 + }, + "releaseTag": "Public", + "overloadIndex": 2, + "parameters": [ + { + "parameterName": "answer", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + }, + { + "parameterName": "opts", + "parameterTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + } + } + ], + "name": "attempt" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!CodingContract#getContractType:member(1)", + "docComment": "/**\n * Returns a name describing the type of problem posed by the Coding Contract. (e.g. Find Largest Prime Factor, Total Ways to Sum, etc.)\n *\n * @remarks\n *\n * 5 GB\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns Name describing the type of problem posed by the Coding Contract.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getContractType(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "CodingContractTypes", + "canonicalReference": "bitburner!CodingContractTypes:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getContractType" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!CodingContract#getData:member(1)", + "docComment": "/**\n * Get the data associated with the specific Coding Contract. Note that this is not the same as the contract’s description. This is just the data that the contract wants you to act on in order to solve\n *\n * @remarks\n *\n * 5 GB\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns The specified contract’s data;\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getData(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getData" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!CodingContract#getDescription:member(1)", + "docComment": "/**\n * Get the full text description for the problem posed by the Coding Contract.\n *\n * @remarks\n *\n * 5 GB\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns Contract’s text description.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getDescription(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getDescription" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!CodingContract#getNumTriesRemaining:member(1)", + "docComment": "/**\n * Get the number of tries remaining on the contract before it self-destructs.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns How many attempts are remaining for the contract;\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getNumTriesRemaining(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getNumTriesRemaining" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!CodingContractTypes:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type CodingContractTypes =\n " + }, + { + "kind": "Content", + "text": "| \"Find Largest Prime Factor\"\n | \"Subarray with Maximum Sum\"\n | \"Total Ways to Sum\"\n | \"Spiralize Matrix\"\n | \"Array Jumping Game\"\n | \"Merge Overlapping Intervals\"\n | \"Generate IP Addresses\"\n | \"Algorithmic Stock Trader I\"\n | \"Algorithmic Stock Trader II\"\n | \"Algorithmic Stock Trader III\"\n | \"Algorithmic Stock Trader IV\"\n | \"Minimum Path Sum in a Triangle\"\n | \"Unique Paths in a Grid I\"\n | \"Unique Paths in a Grid II\"\n | \"Sanitize Parentheses in Expression\"\n | \"Find All Valid Math Expressions\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "CodingContractTypes", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!CompanyField:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type CompanyField =\n " + }, + { + "kind": "Content", + "text": "| \"software\"\n | \"software consultant\"\n | \"it\"\n | \"security engineer\"\n | \"network engineer\"\n | \"business\"\n | \"business consultant\"\n | \"security\"\n | \"agent\"\n | \"employee\"\n | \"part-time employee\"\n | \"waiter\"\n | \"part-time waiter\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "CompanyField", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!CompanyName:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type CompanyName =\n // Sector-12\n " + }, + { + "kind": "Content", + "text": "| \"MegaCorp\"\n | \"BladeIndustries\"\n | \"FourSigma\"\n | \"IcarusMicrosystems\"\n | \"UniversalEnergy\"\n | \"DeltaOne\"\n | \"CIA\"\n | \"NSA\"\n | \"AlphaEnterprises\"\n | \"CarmichaelSecurity\"\n | \"FoodNStuff\"\n | \"JoesGuns\"\n\n // Aevum\n | \"ECorp\"\n | \"BachmanAndAssociates\"\n | \"ClarkeIncorporated\"\n | \"OmniTekIncorporated\"\n | \"FulcrumTechnologies\"\n | \"GalacticCybersystems\"\n | \"AeroCorp\"\n | \"WatchdogSecurity\"\n | \"RhoConstruction\"\n | \"AevumPolice\"\n | \"NetLinkTechnologies\"\n\n // Volhaven\n | \"NWO\"\n | \"HeliosLabs\"\n | \"OmniaCybersystems\"\n | \"LexoCorp\"\n | \"SysCoreSecurities\"\n | \"CompuTek\"\n\n // Chongqing\n | \"KuaiGongInternational\"\n | \"SolarisSpaceSystems\"\n\n // Ishima\n | \"StormTechnologies\"\n | \"NovaMedical\"\n | \"OmegaSoftware\"\n\n // New Tokyo\n | \"DefComm\"\n | \"VitaLife\"\n | \"GlobalPharmaceuticals\"\n | \"NoodleBar\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "CompanyName", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!CreatableProgram:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type CreatableProgram = " + }, + { + "kind": "Reference", + "text": "PurchaseableProgram", + "canonicalReference": "bitburner!PurchaseableProgram:type" + }, + { + "kind": "Content", + "text": " | \"serverprofiler.exe\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "CreatableProgram", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!Crime:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type Crime =\n " + }, + { + "kind": "Content", + "text": "| \"shoplift\"\n | \"rob store\"\n | \"mug\"\n | \"larceny\"\n | \"deal drugs\"\n | \"bond forgery\"\n | \"traffick arms\"\n | \"homicide\"\n | \"grand theft auto\"\n | \"kidnap\"\n | \"assassinate\"\n | \"heist\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "Crime", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!CrimeStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface CrimeStats " + } + ], + "releaseTag": "Public", + "name": "CrimeStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#agility_exp:member", + "docComment": "/**\n * agility exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agility_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#agility_success_weight:member", + "docComment": "/**\n * agility level impact on success change of the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility_success_weight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agility_success_weight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#charisma_exp:member", + "docComment": "/**\n * charisma exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charisma_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#charisma_success_weight:member", + "docComment": "/**\n * charisma level impact on success change of the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma_success_weight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charisma_success_weight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#defense_exp:member", + "docComment": "/**\n * defense exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defense_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#defense_success_weight:member", + "docComment": "/**\n * defense level impact on success change of the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense_success_weight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defense_success_weight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#dexterity_exp:member", + "docComment": "/**\n * dexterity exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterity_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#dexterity_success_weight:member", + "docComment": "/**\n * dexterity level impact on success change of the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity_success_weight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterity_success_weight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#difficulty:member", + "docComment": "/**\n * Number representing the difficulty of the crime. Used for success chance calculations\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "difficulty: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "difficulty", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#hacking_exp:member", + "docComment": "/**\n * hacking exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacking_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#hacking_success_weight:member", + "docComment": "/**\n * hacking level impact on success change of the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_success_weight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacking_success_weight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#intelligence_exp:member", + "docComment": "/**\n * intelligence exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "intelligence_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "intelligence_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#karma:member", + "docComment": "/**\n * Amount of karma lost for SUCCESSFULLY committing this crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "karma: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "karma", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#kills:member", + "docComment": "/**\n * How many people die as a result of this crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "kills: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "kills", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#money:member", + "docComment": "/**\n * How much money is given\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "money: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "money", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#name:member", + "docComment": "/**\n * Name of crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "name: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "name", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#strength_exp:member", + "docComment": "/**\n * strength exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strength_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#strength_success_weight:member", + "docComment": "/**\n * strength level impact on success change of the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength_success_weight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strength_success_weight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#time:member", + "docComment": "/**\n * Milliseconds it takes to attempt the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "time: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "time", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#type:member", + "docComment": "/**\n * Description of the crime activity\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "type", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!FactionName:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type FactionName =\n " + }, + { + "kind": "Content", + "text": "| \"Illuminati\"\n | \"Daedalus\"\n | \"The Covenant\"\n | \"ECorp\"\n | \"MegaCorp\"\n | \"Bachman & Associates\"\n | \"Blade Industries\"\n | \"NWO\"\n | \"Clarke Incorporated\"\n | \"OmniTek Incorporated\"\n | \"Four Sigma\"\n | \"KuaiGong International\"\n | \"Fulcrum Secret Technologies\"\n | \"BitRunners\"\n | \"The Black Hand\"\n | \"NiteSec\"\n | \"Aevum\"\n | \"Chongqing\"\n | \"Ishima\"\n | \"New Tokyo\"\n | \"Sector-12\"\n | \"Volhaven\"\n | \"Speakers for the Dead\"\n | \"The Dark Army\"\n | \"The Syndicate\"\n | \"Silhouette\"\n | \"Tetrads\"\n | \"Slum Snakes\"\n | \"Netburners\"\n | \"Tian Di Hui\"\n | \"CyberSec\"\n | \"Bladeburners\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "FactionName", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!FactionWork:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type FactionWork = " + }, + { + "kind": "Content", + "text": "\"hacking\" | \"field\" | \"security\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "FactionWork", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!Gang:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface Gang " + } + ], + "releaseTag": "Public", + "name": "Gang", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#ascendMember:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Ascend the specified Gang Member.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param memberName - Name of member to ascend.\n *\n * @returns Object with info about the ascension results.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ascendMember(memberName: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "GangMemberAscension", + "canonicalReference": "bitburner!GangMemberAscension:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "memberName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "ascendMember" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#canRecruitMember:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Returns boolean indicating whether a member can currently be recruited\n *\n * @remarks\n *\n * 1 GB\n *\n * @returns True if a member can currently be recruited, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "canRecruitMember(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "canRecruitMember" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getBonusTime:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Returns the amount of accumulated “bonus time” (seconds) for the Gang mechanic.\n *\n * “Bonus time” is accumulated when the game is offline or if the game is inactive in the browser.\n *\n * “Bonus time” makes the game progress faster, up to 10x the normal speed.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns Bonus time for the Gang mechanic in seconds.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getBonusTime(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getBonusTime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getChanceToWinClash:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Returns the chance you have to win a clash with the specified gang. The chance is returned in decimal form, not percentage\n *\n * @remarks\n *\n * 4 GB\n *\n * @param gangName - Target gang\n *\n * @returns Chance you have to win a clash with the specified gang.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getChanceToWinClash(gangName: " + }, + { + "kind": "Reference", + "text": "GangName", + "canonicalReference": "bitburner!GangName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "gangName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getChanceToWinClash" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getEquipmentCost:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the amount of money it takes to purchase a piece of Equipment or an Augmentation. If an invalid Equipment/Augmentation is specified, this function will return Infinity.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param equipName - Name of equipment.\n *\n * @returns Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getEquipmentCost(equipName: " + }, + { + "kind": "Reference", + "text": "GangEquipment", + "canonicalReference": "bitburner!GangEquipment:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "GangAugmentations", + "canonicalReference": "bitburner!GangAugmentations:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "equipName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + } + ], + "name": "getEquipmentCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getEquipmentNames:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the name of all possible equipment/upgrades you can purchase for your Gang Members. This includes Augmentations.\n *\n * @remarks\n *\n * 1 GB\n *\n * @returns Names of all Equpiment/Augmentations.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getEquipmentNames(): " + }, + { + "kind": "Content", + "text": "(" + }, + { + "kind": "Reference", + "text": "GangEquipment", + "canonicalReference": "bitburner!GangEquipment:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "GangAugmentations", + "canonicalReference": "bitburner!GangAugmentations:type" + }, + { + "kind": "Content", + "text": ")[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getEquipmentNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getEquipmentStats:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the specified equipment stats.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param equipName - Name of equipment.\n *\n * @returns A dictionary containing the stats of the equipment.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getEquipmentStats(equipName: " + }, + { + "kind": "Reference", + "text": "GangEquipment", + "canonicalReference": "bitburner!GangEquipment:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "GangAugmentations", + "canonicalReference": "bitburner!GangAugmentations:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "GangEquipmentStats", + "canonicalReference": "bitburner!GangEquipmentStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "equipName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + } + ], + "name": "getEquipmentStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getEquipmentType:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the specified equipment type.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param equipName - Name of equipment.\n *\n * @returns Type of the equipment.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getEquipmentType(equipName: " + }, + { + "kind": "Reference", + "text": "GangEquipment", + "canonicalReference": "bitburner!GangEquipment:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "GangAugmentations", + "canonicalReference": "bitburner!GangAugmentations:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "GangEquipmentType", + "canonicalReference": "bitburner!GangEquipmentType:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "equipName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + } + ], + "name": "getEquipmentType" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getGangInformation:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get general information about the gang.\n *\n * @remarks\n *\n * 2 GB\n *\n * @returns Object containing general information about the gang.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getGangInformation(): " + }, + { + "kind": "Reference", + "text": "GangGenInfo", + "canonicalReference": "bitburner!GangGenInfo:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getGangInformation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getMemberInformation:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get stat and equipment-related information about a Gang Member\n *\n * @remarks\n *\n * 2 GB\n *\n * @param name - Name of member.\n *\n * @returns Object containing stat and equipment-related information about a Gang Member.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getMemberInformation(name: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "GangMemberInfo", + "canonicalReference": "bitburner!GangMemberInfo:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getMemberInformation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getMemberNames:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the names of all Gang members\n *\n * @remarks\n *\n * 1 GB\n *\n * @returns Names of all Gang members.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getMemberNames(): " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getMemberNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getOtherGangInformation:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get territory and power information about all gangs.\n *\n * @remarks\n *\n * 2 GB\n *\n * @returns Object containing territory and power information about all gangs.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getOtherGangInformation(): " + }, + { + "kind": "Reference", + "text": "GangOtherInfo", + "canonicalReference": "bitburner!GangOtherInfo:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getOtherGangInformation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getTaskNames:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the name of all valid tasks that Gang members can be assigned to.\n *\n * @remarks\n *\n * 1 GB\n *\n * @returns All valid tasks that Gang members can be assigned to.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getTaskNames(): " + }, + { + "kind": "Reference", + "text": "GangTasks", + "canonicalReference": "bitburner!GangTasks:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getTaskNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getTaskStats:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param name - Name of the task.\n *\n * @returns Detailed stats of a task.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getTaskStats(name: " + }, + { + "kind": "Reference", + "text": "GangTasks", + "canonicalReference": "bitburner!GangTasks:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "GangTasksStats", + "canonicalReference": "bitburner!GangTasksStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getTaskStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#purchaseEquipment:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Attempt to purchase the specified Equipment/Augmentation for the specified Gang member.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param memberName - Name of Gang member to purchase the equipment for.\n *\n * @param equipName - Name of Equipment/Augmentation to purchase.\n *\n * @returns True if the equipment was successfully purchased. False otherwise\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseEquipment(memberName: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", equipName: " + }, + { + "kind": "Reference", + "text": "GangEquipment", + "canonicalReference": "bitburner!GangEquipment:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "GangAugmentations", + "canonicalReference": "bitburner!GangAugmentations:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "memberName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "equipName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 6 + } + } + ], + "name": "purchaseEquipment" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#recruitMember:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Attempt to recruit a new gang member.\n *\n * Possible reasons for failure: * Cannot currently recruit a new member * There already exists a member with the specified name\n *\n * @remarks\n *\n * 2 GB\n *\n * @param name - Name of member to recruit.\n *\n * @returns True if the member was successfully recruited, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "recruitMember(name: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "recruitMember" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#setMemberTask:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Attempts to assign the specified Gang Member to the specified task. If an invalid task is specified, the Gang member will be set to idle (“Unassigned”).\n *\n * @remarks\n *\n * 2 GB\n *\n * @param memberName - Name of Gang member to assign.\n *\n * @param taskName - Task to assign.\n *\n * @returns True if the Gang Member was successfully assigned to the task, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setMemberTask(memberName: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", taskName: " + }, + { + "kind": "Reference", + "text": "GangTasks", + "canonicalReference": "bitburner!GangTasks:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "memberName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "taskName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "setMemberTask" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#setTerritoryWarfare:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Set whether or not the gang should engage in territory warfare\n *\n * @remarks\n *\n * 2 GB\n *\n * @param engage - Whether or not to engage in territory warfare.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setTerritoryWarfare(engage: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "engage", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "setTerritoryWarfare" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GangAugmentations:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GangAugmentations =\n " + }, + { + "kind": "Content", + "text": "| \"Bionic Arms\"\n | \"Bionic Legs\"\n | \"Bionic Spine\"\n | \"BrachiBlades\"\n | \"Nanofiber Weave\"\n | \"Synthetic Heart\"\n | \"Synfibril Muscle\"\n | \"BitWire\"\n | \"Neuralstimulator\"\n | \"DataJack\"\n | \"Graphene Bone Lacings\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GangAugmentations", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GangEquipment:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GangEquipment =\n " + }, + { + "kind": "Content", + "text": "| \"Baseball Bat\"\n | \"Katana\"\n | \"Glock 18C\"\n | \"P90C\"\n | \"Steyr AUG\"\n | \"AK-47\"\n | \"M15A10 Assault Rifle\"\n | \"AWM Sniper Rifle\"\n | \"Bulletproof Vest\"\n | \"Full Body Armor\"\n | \"Liquid Body Armor\"\n | \"Graphene Plating Armor\"\n | \"Ford Flex V20\"\n | \"ATX1070 Superbike\"\n | \"Mercedes-Benz S9001\"\n | \"White Ferrari\"\n | \"NUKE Rootkit\"\n | \"Soulstealer Rootkit\"\n | \"Demon Rootkit\"\n | \"Hmap Node\"\n | \"Jack the Ripper\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GangEquipment", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangEquipmentStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangEquipmentStats " + } + ], + "releaseTag": "Public", + "name": "GangEquipmentStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangEquipmentStats#agi:member", + "docComment": "/**\n * Agility multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agi: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agi", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangEquipmentStats#cha:member", + "docComment": "/**\n * Charisma multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "cha: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "cha", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangEquipmentStats#def:member", + "docComment": "/**\n * Defense multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "def: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "def", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangEquipmentStats#dex:member", + "docComment": "/**\n * Dexterity multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dex: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dex", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangEquipmentStats#hack:member", + "docComment": "/**\n * Hacking multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hack: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hack", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangEquipmentStats#str:member", + "docComment": "/**\n * Strength multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "str: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "str", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GangEquipmentType:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GangEquipmentType = " + }, + { + "kind": "Content", + "text": "\"Weapon\" | \"Armor\" | \"Vehicle\" | \"Rootkit\" | \"Augmentation\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GangEquipmentType", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangGenInfo:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangGenInfo " + } + ], + "releaseTag": "Public", + "name": "GangGenInfo", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#faction:member", + "docComment": "/**\n * Name of faction that the gang belongs to (\"Slum Snakes\", etc.)\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "faction: " + }, + { + "kind": "Reference", + "text": "GangName", + "canonicalReference": "bitburner!GangName:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "faction", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#isHacking:member", + "docComment": "/**\n * Boolean indicating whether or not its a hacking gang\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "isHacking: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "isHacking", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#moneyGainRate:member", + "docComment": "/**\n * Money earned per second\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "moneyGainRate: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "moneyGainRate", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#power:member", + "docComment": "/**\n * Gang's power for territory warfare\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "power: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "power", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#respect:member", + "docComment": "/**\n * Gang's respect\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "respect: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "respect", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#respectGainRate:member", + "docComment": "/**\n * Respect earned per second\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "respectGainRate: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "respectGainRate", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#territory:member", + "docComment": "/**\n * Amount of territory held. Returned in decimal form, not percentage\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "territory: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "territory", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#territoryClashChance:member", + "docComment": "/**\n * Clash chance. Returned in decimal form, not percentage\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "territoryClashChance: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "territoryClashChance", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#wantedLevel:member", + "docComment": "/**\n * Gang's wanted level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "wantedLevel: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "wantedLevel", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#wantedLevelGainRate:member", + "docComment": "/**\n * Wanted level gained/lost per second (negative for losses)\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "wantedLevelGainRate: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "wantedLevelGainRate", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangMemberAscension:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangMemberAscension " + } + ], + "releaseTag": "Public", + "name": "GangMemberAscension", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#agi:member", + "docComment": "/**\n * Agility multiplier gained from ascending. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agi: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agi", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#cha:member", + "docComment": "/**\n * Charisma multiplier gained from ascending. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "cha: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "cha", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#def:member", + "docComment": "/**\n * Defense multiplier gained from ascending. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "def: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "def", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#dex:member", + "docComment": "/**\n * Dexterity multiplier gained from ascending. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dex: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dex", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#hack:member", + "docComment": "/**\n * Hacking multiplier gained from ascending. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hack: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hack", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#respect:member", + "docComment": "/**\n * Amount of respect lost from ascending\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "respect: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "respect", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#str:member", + "docComment": "/**\n * Strength multiplier gained from ascending. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "str: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "str", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangMemberInfo:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangMemberInfo " + } + ], + "releaseTag": "Public", + "name": "GangMemberInfo", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#agility:member", + "docComment": "/**\n * Agility stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agility", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#agilityAscensionMult:member", + "docComment": "/**\n * Agility multiplier from ascension. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agilityAscensionMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agilityAscensionMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#agilityEquipMult:member", + "docComment": "/**\n * Agility multiplier from equipment. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agilityEquipMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agilityEquipMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#augmentations:member", + "docComment": "/**\n * Array of names of all owned Augmentations\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "augmentations: " + }, + { + "kind": "Reference", + "text": "GangAugmentations", + "canonicalReference": "bitburner!GangAugmentations:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "augmentations", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#charisma:member", + "docComment": "/**\n * Charisma stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charisma", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#charismaAscensionMult:member", + "docComment": "/**\n * Charisma multiplier from ascension. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charismaAscensionMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charismaAscensionMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#charismaEquipMult:member", + "docComment": "/**\n * Charisma multiplier from equipment. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charismaEquipMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charismaEquipMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#defense:member", + "docComment": "/**\n * Defense stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defense", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#defenseAscensionMult:member", + "docComment": "/**\n * Defense multiplier from ascension. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defenseAscensionMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defenseAscensionMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#defenseEquipMult:member", + "docComment": "/**\n * Defense multiplier from equipment. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defenseEquipMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defenseEquipMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#dexterity:member", + "docComment": "/**\n * Dexterity stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterity", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#dexterityAscensionMult:member", + "docComment": "/**\n * Dexterity multiplier from ascension. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterityAscensionMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterityAscensionMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#dexterityEquipMult:member", + "docComment": "/**\n * Dexterity multiplier from equipment. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterityEquipMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterityEquipMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#equipment:member", + "docComment": "/**\n * Array of names of all owned Non-Augmentation Equipment\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "equipment: " + }, + { + "kind": "Reference", + "text": "GangEquipment", + "canonicalReference": "bitburner!GangEquipment:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "equipment", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#hacking:member", + "docComment": "/**\n * Hacking stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacking", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#hackingAscensionMult:member", + "docComment": "/**\n * Hacking multiplier from ascension. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackingAscensionMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hackingAscensionMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#hackingEquipMult:member", + "docComment": "/**\n * Hacking multiplier from equipment. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackingEquipMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hackingEquipMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#strength:member", + "docComment": "/**\n * Strength stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strength", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#strengthAscensionMult:member", + "docComment": "/**\n * Strength multiplier from ascension. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strengthAscensionMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strengthAscensionMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#strengthEquipMult:member", + "docComment": "/**\n * Strength multiplier from equipment. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strengthEquipMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strengthEquipMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#task:member", + "docComment": "/**\n * Name of currently assigned task\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "task: " + }, + { + "kind": "Reference", + "text": "GangTasks", + "canonicalReference": "bitburner!GangTasks:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "task", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GangName:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GangName =\n " + }, + { + "kind": "Content", + "text": "| \"Slum Snakes\"\n | \"Tetrads\"\n | \"The Syndicate\"\n | \"The Dark Army\"\n | \"Speakers for the Dead\"\n | \"NiteSec\"\n | \"The Black Hand\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GangName", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GangOtherInfo:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GangOtherInfo = " + }, + { + "kind": "Content", + "text": "{\n /** Stock Symbol */\n [key in " + }, + { + "kind": "Reference", + "text": "GangName", + "canonicalReference": "bitburner!GangName:type" + }, + { + "kind": "Content", + "text": "]: " + }, + { + "kind": "Reference", + "text": "GangOtherInfoObject", + "canonicalReference": "bitburner!GangOtherInfoObject:interface" + }, + { + "kind": "Content", + "text": "[];\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GangOtherInfo", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 6 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangOtherInfoObject:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangOtherInfoObject " + } + ], + "releaseTag": "Public", + "name": "GangOtherInfoObject", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangOtherInfoObject#power:member", + "docComment": "/**\n * Gang power\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "power: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "power", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangOtherInfoObject#territory:member", + "docComment": "/**\n * Gang territory, in decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "territory: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "territory", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GangTasks:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GangTasks =\n " + }, + { + "kind": "Content", + "text": "| \"Unassigned\"\n | \"Ransomware\"\n | \"Phishing\"\n | \"Identity Theft\"\n | \"DDoS Attacks\"\n | \"Plant Virus\"\n | \"Fraud & Counterfeiting\"\n | \"Money Laundering\"\n | \"Cyberterrorism\"\n | \"Ethical Hacking\"\n | \"Mug People\"\n | \"Deal Drugs\"\n | \"Strongarm Civilians\"\n | \"Run a Con\"\n | \"Armed Robbery\"\n | \"Traffick Illegal Arms\"\n | \"Threaten & Blackmail\"\n | \"Human Trafficking\"\n | \"Terrorism\"\n | \"Vigilante Justice\"\n | \"Train Combat\"\n | \"Train Hacking\"\n | \"Train Charisma\"\n | \"Territory Warfare\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GangTasks", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangTasksStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangTasksStats " + } + ], + "releaseTag": "Public", + "name": "GangTasksStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#agiWeight:member", + "docComment": "/**\n * Agility skill impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agiWeight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agiWeight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#baseMoney:member", + "docComment": "/**\n * Base money earned\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "baseMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "baseMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#baseRespect:member", + "docComment": "/**\n * Base respect earned\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "baseRespect: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "baseRespect", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#baseWanted:member", + "docComment": "/**\n * Base wanted earned\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "baseWanted: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "baseWanted", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#chaWeight:member", + "docComment": "/**\n * Charisma skill impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "chaWeight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "chaWeight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#defWeight:member", + "docComment": "/**\n * Defense skill impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defWeight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defWeight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#desc:member", + "docComment": "/**\n * Task Description\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "desc: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "desc", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#dexWeight:member", + "docComment": "/**\n * Dexterity skill impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexWeight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexWeight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#difficulty:member", + "docComment": "/**\n * Number representing the difficulty of the task\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "difficulty: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "difficulty", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#hackWeight:member", + "docComment": "/**\n * Hacking skill impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackWeight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hackWeight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#isCombat:member", + "docComment": "/**\n * Is a task of a combat gang\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "isCombat: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "isCombat", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#isHacking:member", + "docComment": "/**\n * Is a task of a hacking gang\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "isHacking: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "isHacking", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#name:member", + "docComment": "/**\n * Task name\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "name: " + }, + { + "kind": "Reference", + "text": "GangTasks", + "canonicalReference": "bitburner!GangTasks:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "name", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#strWeight:member", + "docComment": "/**\n * Stength skill impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strWeight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strWeight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#territory:member", + "docComment": "/**\n * Territory impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "territory: " + }, + { + "kind": "Reference", + "text": "GangTasksTerritory", + "canonicalReference": "bitburner!GangTasksTerritory:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "territory", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangTasksTerritory:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangTasksTerritory " + } + ], + "releaseTag": "Public", + "name": "GangTasksTerritory", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksTerritory#money:member", + "docComment": "/**\n * Money gain impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "money: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "money", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksTerritory#respect:member", + "docComment": "/**\n * Respect gain impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "respect: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "respect", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksTerritory#wanted:member", + "docComment": "/**\n * Wanted gain impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "wanted: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "wanted", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!Gym:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type Gym = " + }, + { + "kind": "Content", + "text": "\"Crush Fitness Gym\" | \"Snap Fitness Gym\" | \"Iron Gym\" | \"Powerhouse Gym\" | \"Millenium Fitness Gym\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "Gym", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GymStat:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GymStat = " + }, + { + "kind": "Content", + "text": "\"str\" | \"def\" | \"dex\" | \"agi\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GymStat", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!HackingMultipliers:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface HackingMultipliers " + } + ], + "releaseTag": "Public", + "name": "HackingMultipliers", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HackingMultipliers#chance:member", + "docComment": "/**\n * Player's hacking chance multiplier.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "chance: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "chance", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HackingMultipliers#growth:member", + "docComment": "/**\n * Player's hacking growth multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "growth: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "growth", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HackingMultipliers#money:member", + "docComment": "/**\n * Player's hacking money stolen multiplier.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "money: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "money", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HackingMultipliers#speed:member", + "docComment": "/**\n * Player's hacking speed multiplier.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "speed: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "speed", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!HackNet:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface HackNet " + } + ], + "releaseTag": "Public", + "name": "HackNet", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#getCacheUpgradeCost:member(1)", + "docComment": "/**\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the cost of upgrading the cache level of the specified Hacknet Server by n.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade cache. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node's cache.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCacheUpgradeCost(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getCacheUpgradeCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#getCoreUpgradeCost:member(1)", + "docComment": "/**\n * Returns the cost of upgrading the number of cores of the specified Hacknet Node by n.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade cores. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node's number of cores.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCoreUpgradeCost(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getCoreUpgradeCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#getLevelUpgradeCost:member(1)", + "docComment": "/**\n * Returns the cost of upgrading the specified Hacknet Node by n levels.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of levels to upgrade. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getLevelUpgradeCost(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getLevelUpgradeCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#getNodeStats:member(1)", + "docComment": "/**\n * Returns an object containing a variety of stats about the specified Hacknet Node.\n *\n * Note that for Hacknet Nodes, production refers to the amount of money the node generates. For Hacknet Servers (the upgraded version of Hacknet Nodes), production refers to the amount of hashes the node generates.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node\n *\n * @returns Object containing a variety of stats about the specified Hacknet Node.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getNodeStats(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "NodeStats", + "canonicalReference": "bitburner!NodeStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getNodeStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#getPurchaseNodeCost:member(1)", + "docComment": "/**\n * Returns the cost of purchasing a new Hacknet Node.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns Cost of purchasing a new Hacknet Node.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPurchaseNodeCost(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getPurchaseNodeCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#getRamUpgradeCost:member(1)", + "docComment": "/**\n * Returns the cost of upgrading the RAM of the specified Hacknet Node n times.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade RAM. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node's ram.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getRamUpgradeCost(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getRamUpgradeCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#hashCost:member(1)", + "docComment": "/**\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the number of hashes required for the specified upgrade. The name of the upgrade must be an exact match.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param upgName - Name of the upgrade of Hacknet Node.\n *\n * @returns Number of hashes required for the specified upgrade.\n *\n * @example\n * ```js\n * var upgradeName = \"Sell for Corporation Funds\";\n * if (hacknet.numHashes() > hacknet.hashCost(upgradeName)) {\n * hacknet.spendHashes(upgName);\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hashCost(upgName: " + }, + { + "kind": "Reference", + "text": "HashUpgrades", + "canonicalReference": "bitburner!HashUpgrades:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "upgName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "hashCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#numHashes:member(1)", + "docComment": "/**\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the number of hashes you have.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns Number of hashes you have.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "numHashes(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "numHashes" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#numNodes:member(1)", + "docComment": "/**\n * Returns the number of Hacknet Nodes you own.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns number of hacknet nodes.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "numNodes(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "numNodes" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#purchaseNode:member(1)", + "docComment": "/**\n * Purchases a new Hacknet Node. Returns a number with the index of the Hacknet Node. This index is equivalent to the number at the end of the Hacknet Node’s name (e.g The Hacknet Node named \\`hacknet-node-4\\` will have an index of 4).\n *\n * If the player cannot afford to purchase a new Hacknet Node then the function will return -1.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns The index of the Hacknet Node or if the player cannot afford to purchase a new Hacknet Node the function will return -1.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseNode(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "purchaseNode" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#spendHashes:member(1)", + "docComment": "/**\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Spend the hashes generated by your Hacknet Servers on an upgrade. Returns a boolean value - true if the upgrade is successfully purchased, and false otherwise.\n *\n * The name of the upgrade must be an exact match. The \\`upgTarget\\` argument is used for upgrades such as \\`Reduce Minimum Security\\`, which applies to a specific server. In this case, the \\`upgTarget\\` argument must be the hostname of the server.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param upgName - Name of the upgrade of Hacknet Node.\n *\n * @param upgTarget - Object to which upgrade applies. Required for certain upgrades.\n *\n * @returns True if the upgrade is successfully purchased, and false otherwise..\n *\n * @example\n * ```js\n * hacknet.spendHashes(\"Sell for Corporation Funds\");\n * hacknet.spendHashes(\"Increase Maximum Money\", \"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "spendHashes(upgName: " + }, + { + "kind": "Reference", + "text": "HashUpgrades", + "canonicalReference": "bitburner!HashUpgrades:type" + }, + { + "kind": "Content", + "text": ", upgTarget?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "upgName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "upgTarget", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "spendHashes" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#upgradeCache:member(1)", + "docComment": "/**\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Tries to upgrade the specified Hacknet Server’s cache n times.\n *\n * Returns true if it successfully upgrades the Server’s cache n times, or if it purchases some positive amount and the Server reaches its max cache level.\n *\n * Returns false otherwise.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of cache levels to purchase. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Node’s cores are successfully purchased, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "upgradeCache(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "upgradeCache" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#upgradeCore:member(1)", + "docComment": "/**\n * Tries to purchase n cores for the specified Hacknet Node.\n *\n * Returns true if it successfully purchases n cores for the Hacknet Node or if it purchases some positive amount and the Node reaches its max number of cores.\n *\n * Returns false otherwise.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of cores to purchase. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Node’s cores are successfully purchased, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "upgradeCore(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "upgradeCore" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#upgradeLevel:member(1)", + "docComment": "/**\n * Tries to upgrade the level of the specified Hacknet Node by n.\n *\n * Returns true if the Hacknet Node’s level is successfully upgraded by n or if it is upgraded by some positive amount and the Node reaches its max level.\n *\n * Returns false otherwise.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of levels to purchase. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Node’s level is successfully upgraded, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "upgradeLevel(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "upgradeLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#upgradeRam:member(1)", + "docComment": "/**\n * Tries to upgrade the specified Hacknet Node’s RAM n times. Note that each upgrade doubles the Node’s RAM. So this is equivalent to multiplying the Node’s RAM by 2 n.\n *\n * Returns true if the Hacknet Node’s RAM is successfully upgraded n times or if it is upgraded some positive number of times and the Node reaches it max RAM.\n *\n * Returns false otherwise.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade RAM. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Node’s ram is successfully upgraded, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "upgradeRam(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "upgradeRam" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!HacknetMultipliers:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface HacknetMultipliers " + } + ], + "releaseTag": "Public", + "name": "HacknetMultipliers", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HacknetMultipliers#coreCost:member", + "docComment": "/**\n * Player's hacknet core cost multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "coreCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "coreCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HacknetMultipliers#levelCost:member", + "docComment": "/**\n * Player's hacknet level cost multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "levelCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "levelCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HacknetMultipliers#production:member", + "docComment": "/**\n * Player's hacknet production multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "production: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "production", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HacknetMultipliers#purchaseCost:member", + "docComment": "/**\n * Player's hacknet purchase cost multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "purchaseCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HacknetMultipliers#ramCost:member", + "docComment": "/**\n * Player's hacknet ram cost multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ramCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ramCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!Handle:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type Handle = " + }, + { + "kind": "Content", + "text": "string | " + }, + { + "kind": "Reference", + "text": "Port", + "canonicalReference": "bitburner!Port:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "Handle", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!HashUpgrades:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type HashUpgrades =\n " + }, + { + "kind": "Content", + "text": "| \"Sell for Money\"\n | \"Sell for Corporation Funds\"\n | \"Reduce Minimum Security\"\n | \"Increase Maximum Money\"\n | \"Improve Studying\"\n | \"Improve Gym Training\"\n | \"Exchange for Corporation Research\"\n | \"Exchange for Bladeburner Rank\"\n | \"Exchange for Bladeburner SP\"\n | \"Generate Coding Contract\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "HashUpgrades", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!Host:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type Host = " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "Host", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!NodeStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface NodeStats " + } + ], + "releaseTag": "Public", + "name": "NodeStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#cache:member", + "docComment": "/**\n * Cache level. Only applicable for Hacknet Servers\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "cache: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "cache", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#cores:member", + "docComment": "/**\n * Node's number of cores\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "cores: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "cores", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#hashCapacity:member", + "docComment": "/**\n * Hash Capacity provided by this Node. Only applicable for Hacknet Servers\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hashCapacity: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hashCapacity", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#level:member", + "docComment": "/**\n * Node's level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "level: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "level", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#name:member", + "docComment": "/**\n * Node's name (\"hacknet-node-5\")\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "name: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "name", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#production:member", + "docComment": "/**\n * Node's production per second\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "production: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "production", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#ram:member", + "docComment": "/**\n * Node's RAM\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ram: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ram", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#timeOnline:member", + "docComment": "/**\n * Number of seconds since Node has been purchased\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "timeOnline: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "timeOnline", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#totalProduction:member", + "docComment": "/**\n * Total number of money Node has produced\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "totalProduction: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "totalProduction", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!NS:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface NS extends " + }, + { + "kind": "Reference", + "text": "Singularity", + "canonicalReference": "bitburner!Singularity:interface" + }, + { + "kind": "Content", + "text": " " + } + ], + "releaseTag": "Public", + "name": "NS", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#args:member", + "docComment": "/**\n * Arguments passed into a script can be accessed using a normal array using the [] operator (args[0], args[1], etc…).\n *\n * It is also possible to get the number of arguments that was passed into a script using:\n * ```js\n * args.length\n * ```\n *\n * WARNING: Do not try to modify the args array. This will break the game.\n *\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly args: " + }, + { + "kind": "Content", + "text": "any[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "args", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#bladeburner:member", + "docComment": "/**\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly bladeburner: " + }, + { + "kind": "Reference", + "text": "Bladeburner", + "canonicalReference": "bitburner!Bladeburner:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "bladeburner", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#brutessh:member(1)", + "docComment": "/**\n * Runs the BruteSSH.exe program on the target server. BruteSSH.exe must exist on your home computer.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @example\n * ```js\n * brutessh(\"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "brutessh(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "brutessh" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#clear:member(1)", + "docComment": "/**\n * This function is used to clear data in a Netscript Ports or a text file.\n *\n * If the port/fn argument is a number between 1 and 20, then it specifies a port and will clear it (deleting all data from the underlying queue).\n *\n * If the port/fn argument is a string, then it specifies the name of a text file (.txt) and will delete all data from that text file.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param handle - Port or text file to clear.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "clear(handle: " + }, + { + "kind": "Reference", + "text": "Handle", + "canonicalReference": "bitburner!Handle:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "handle", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "clear" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#clearLog:member(1)", + "docComment": "/**\n * Clears the script’s logs.\n *\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "clearLog(): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "clearLog" + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#codingcontract:member", + "docComment": "/**\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly codingcontract: " + }, + { + "kind": "Reference", + "text": "CodingContract", + "canonicalReference": "bitburner!CodingContract:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "codingcontract", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#deleteServer:member(1)", + "docComment": "/**\n * Deletes one of your purchased servers, which is specified by its hostname.\n *\n * The hostname argument can be any data type, but it will be converted to a string. Whitespace is automatically removed from the string. This function will not delete a server that still has scripts running on it.\n *\n * @remarks\n *\n * 2.25 GB\n *\n * @param host - Host of the server to delete.\n *\n * @returns True if successful, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "deleteServer(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "deleteServer" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#disableLog:member(1)", + "docComment": "/**\n * Disables logging for the given function. Logging can be disabled for all functions by passing \\`ALL\\` as the argument.\n *\n * Note that this does not completely remove all logging functionality. This only stops a function from logging when the function is successful. If the function fails, it will still log the reason for failure.\n *\n * Notable functions that cannot have their logs disabled: run, exec, exit.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param fn - Name of function for which to disable logging.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "disableLog(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "disableLog" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#enableLog:member(1)", + "docComment": "/**\n * Re-enables logging for the given function. If \\`ALL\\` is passed into this function as an argument, then it will revert the effects of disableLog(\\`ALL\\`).\n *\n * @remarks\n *\n * 0 GB\n *\n * @param fn - Name of function for which to enable logging.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "enableLog(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "enableLog" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#exec:member(1)", + "docComment": "/**\n * Run a script as a separate process on a specified server. This is similar to the run function except that it can be used to run a script on any server, instead of just the current server.\n *\n * If the script was successfully started, then this functions returns the PID of that script. Otherwise, it returns 0.\n *\n * PID stands for Process ID. The PID is a unique identifier for each script. The PID will always be a positive integer.\n *\n * Running this function with a numThreads argument of 0 will return 0 without running the script. However, running this function with a negative numThreads argument will cause a runtime error.\n *\n * @remarks\n *\n * 1.3 GB\n *\n * @param script - Filename of script to execute.\n *\n * @param host - Hostname or IP of the \\`target server\\` on which to execute the script.\n *\n * @param numThreads - Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer.\n *\n * @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the third argument numThreads must be filled in with a value.\n *\n * @returns Returns the PID of a successfully started script, and 0 otherwise.\n *\n * @example\n * ```js\n * //The simplest way to use the exec command is to call it with just the script name and the target server. The following example will try to run generic-hack.script on the foodnstuff server:\n * exec(\"generic-hack.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //The following example will try to run the script generic-hack.script on the joesguns server with 10 threads:\n * exec(\"generic-hack.script\", \"joesguns\", 10);\n * ```\n *\n * @example\n * ```js\n * //This last example will try to run the script foo.script on the foodnstuff server with 5 threads. It will also pass the number 1 and the string “test” in as arguments to the script:\n * exec(\"foo.script\", \"foodnstuff\", 5, 1, \"test\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "exec(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", numThreads?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 9, + "endIndex": 10 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "numThreads", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + } + } + ], + "name": "exec" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#exit:member(1)", + "docComment": "/**\n * Terminates the current script immediately.\n *\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "exit(): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "exit" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#fileExists:member(1)", + "docComment": "/**\n * Returns a boolean indicating whether the specified file exists on the target server. The filename for scripts is case-sensitive, but for other types of files it is not. For example, fileExists(“brutessh.exe”) will work fine, even though the actual program is named 'BruteSSH.exe'.\n *\n * If the hostname/ip argument is omitted, then the function will search through the current server (the server running the script that calls this function) for the file.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param filename - Filename of file to check.\n *\n * @param host - Host or IP of target server. This is optional. If it is not specified then the function will use the current server as the target server.\n *\n * @returns True if specified file exists, and false otherwise.\n *\n * @example\n * ```js\n * //The function call will return true if the script named foo.script exists on the foodnstuff server, and false otherwise.\n * fileExists(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //The function call will return true if the current server contains the FTPCrack.exe program, and false otherwise.\n * fileExists(\"ftpcrack.exe\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "fileExists(filename: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "filename", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "fileExists" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#ftpcrack:member(1)", + "docComment": "/**\n * Runs the FTPCrack.exe program on the target server. FTPCrack.exe must exist on your home computer.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @example\n * ```js\n * ftpcrack(\"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ftpcrack(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "ftpcrack" + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#gang:member", + "docComment": "/**\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly gang: " + }, + { + "kind": "Reference", + "text": "Gang", + "canonicalReference": "bitburner!Gang:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "gang", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getBitNodeMultipliers:member(1)", + "docComment": "/**\n * Returns an object containing the current BitNode multipliers. This function requires Source-File 5 in order to run. The multipliers are returned in decimal forms (e.g. 1.5 instead of 150%). The multipliers represent the difference between the current BitNode and the original BitNode (BitNode-1).\n *\n * For example, if the CrimeMoney multiplier has a value of 0.1, then that means that committing crimes in the current BitNode will only give 10% of the money you would have received in BitNode-1.\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns Object containing the current BitNode multipliers.\n *\n * @example\n * ```js\n * mults = getBitNodeMultipliers();\n * print(mults.ServerMaxMoney);\n * print(mults.HackExpGain);\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getBitNodeMultipliers(url: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", target: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "BitNodeMultipliers", + "canonicalReference": "bitburner!BitNodeMultipliers:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "url", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "target", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getBitNodeMultipliers" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getFavorToDonate:member(1)", + "docComment": "/**\n * Returns the amount of Faction favor required to be able to donate to a faction.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @returns Amount of Faction favor required to be able to donate to a faction.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getFavorToDonate(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getFavorToDonate" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getGrowTime:member(1)", + "docComment": "/**\n * Returns the amount of time in seconds it takes to execute the grow Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the grow time would be at different hacking levels.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Host or IP of target server.\n *\n * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level.\n *\n * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).\n *\n * @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getGrowTime(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", hackLvl?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", intLvl?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "hackLvl", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "intLvl", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getGrowTime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getHackingLevel:member(1)", + "docComment": "/**\n * Returns the player’s current hacking level.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @returns Player’s current hacking level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getHackingLevel(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getHackingLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getHackingMultipliers:member(1)", + "docComment": "/**\n * Returns an object containing the Player’s hacking related multipliers. These multipliers are returned in fractional forms, not percentages (e.g. 1.5 instead of 150%).\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns Object containing the Player’s hacking related multipliers.\n *\n * @example\n * ```js\n * //Example of how this can be used:\n * mults = getHackingMultipliers();\n * print(mults.chance);\n * print(mults.growth);\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getHackingMultipliers(): " + }, + { + "kind": "Reference", + "text": "HackingMultipliers", + "canonicalReference": "bitburner!HackingMultipliers:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getHackingMultipliers" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getHacknetMultipliers:member(1)", + "docComment": "/**\n * Returns an object containing the Player’s hacknet related multipliers. These multipliers are returned in fractional forms, not percentages (e.g. 1.5 instead of 150%).\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns Object containing the Player’s hacknet related multipliers.\n *\n * @example\n * ```js\n * //Example of how this can be used:\n * mults = getHacknetMultipliers();\n * print(mults.production);\n * print(mults.purchaseCost);\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getHacknetMultipliers(): " + }, + { + "kind": "Reference", + "text": "HacknetMultipliers", + "canonicalReference": "bitburner!HacknetMultipliers:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getHacknetMultipliers" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getHackTime:member(1)", + "docComment": "/**\n * Returns the amount of time in seconds it takes to execute the hack Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the hack time would be at different hacking levels.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Host or IP of target server.\n *\n * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level.\n *\n * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).\n *\n * @returns Returns the amount of time in seconds it takes to execute the hack Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getHackTime(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", hackLvl?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", intLvl?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "hackLvl", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "intLvl", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getHackTime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getHostname:member(1)", + "docComment": "/**\n * Returns a string with the hostname of the server that the script is running on.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @returns Hostname of the server that the script is on.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getHostname(): " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getHostname" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getPortHandle:member(1)", + "docComment": "/**\n * Get a handle to a Netscript Port.\n *\n * WARNING: Port Handles only work in NetscriptJS (Netscript 2.0). They will not work in Netscript 1.0.\n *\n * @remarks\n *\n * 10 GB\n *\n * @param port - Port number. Must be an integer between 1 and 20.\n *\n * @returns Data in the specified port.\n *\n * @see\n *\n * https://bitburner.readthedocs.io/en/latest/netscript/netscriptmisc.html#netscript-ports\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPortHandle(port: " + }, + { + "kind": "Reference", + "text": "Port", + "canonicalReference": "bitburner!Port:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "any[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "port", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getPortHandle" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getPurchasedServerCost:member(1)", + "docComment": "/**\n * Returns the cost to purchase a server with the specified amount of ram.\n *\n * @remarks\n *\n * 0.25 GB\n *\n * @param ram - Amount of RAM of a potential purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20).\n *\n * @returns The cost to purchase a server with the specified amount of ram.\n *\n * @example\n * ```js\n * for (i = 1; i <= 20; i++) {\n * tprint(i + \" -- \" + getPurchasedServerCost(Math.pow(2, i)));\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPurchasedServerCost(ram: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "ram", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getPurchasedServerCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getPurchasedServerLimit:member(1)", + "docComment": "/**\n * Returns the maximum number of servers you can purchase.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @returns Returns the maximum number of servers you can purchase.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPurchasedServerLimit(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getPurchasedServerLimit" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getPurchasedServerMaxRam:member(1)", + "docComment": "/**\n * Returns the maximum RAM that a purchased server can have.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @returns Returns the maximum RAM that a purchased server can have.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPurchasedServerMaxRam(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getPurchasedServerMaxRam" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getPurchasedServers:member(1)", + "docComment": "/**\n * Returns an array with either the hostnames or IPs of all of the servers you have purchased.\n *\n * @remarks\n *\n * 2.25 GB\n *\n * @param hostnameMode - ] Optional. Defaults to true. Returns hostnames if true, and IPs if false.\n *\n * @returns Returns an array with either the hostnames or IPs of all of the servers you have purchased.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPurchasedServers(hostnameMode?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "hostnameMode", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getPurchasedServers" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getScriptExpGain:member(1)", + "docComment": "/**\n * Returns the amount of hacking experience the specified script generates while online (when the game is open, does not apply for offline experience gains). Remember that a script is uniquely identified by both its name and its arguments.\n *\n * This function can also return the total experience gain rate of all of your active scripts by running the function with no arguments.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param script - Filename of script.\n *\n * @param host - Server on which script is running.\n *\n * @param args - Arguments that the script is running with.\n *\n * @returns Amount of hacking experience the specified script generates while online.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getScriptExpGain(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getScriptExpGain" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getScriptIncome:member(1)", + "docComment": "/**\n * Returns the amount of income the specified script generates while online (when the game is open, does not apply for offline income). Remember that a script is uniquely identified by both its name and its arguments. So for example if you ran a script with the arguments “foodnstuff” and “5” then in order to use this function to get that script’s income you must specify those same arguments in the same order in this function call.\n *\n * This function can also be called with no arguments. If called with no arguments, then this function will return an array of two values. The first value is the total income ($ / second) of all of your active scripts (scripts that are currently running on any server). The second value is the total income ($ / second) that you’ve earned from scripts since you last installed Augmentations.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param script - Filename of script.\n *\n * @param host - Server on which script is running.\n *\n * @param args - Arguments that the script is running with.\n *\n * @returns Amount of income the specified script generates while online.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getScriptIncome(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number | [number, number]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getScriptIncome" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getScriptLogs:member(1)", + "docComment": "/**\n * Returns a script’s logs. The logs are returned as an array, where each line is an element in the array. The most recently logged line is at the end of the array. Note that there is a maximum number of lines that a script stores in its logs. This is configurable in the game’s options. If the function is called with no arguments, it will return the current script’s logs.\n *\n * Otherwise, the fn, hostname/ip, and args… arguments can be used to get the logs from another script. Remember that scripts are uniquely identified by both their names and arguments.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param fn - Optional. Filename of script to get logs from.\n *\n * @param host - Optional. Hostname or IP of the server that the script is on.\n *\n * @param args - Arguments to identify which scripts to get logs for.\n *\n * @returns Returns an string array, where each line is an element in the array. The most recently logged line is at the end of the array.\n *\n * @example\n * ```js\n * //Get logs from foo.script on the current server that was run with no args\n * getScriptLogs(\"foo.script\");\n * ```\n *\n * @example\n * ```js\n * //Open logs from foo.script on the foodnstuff server that was run with no args\n * getScriptLogs(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //Open logs from foo.script on the foodnstuff server that was run with the arguments [1, \"test\"]\n * getScriptLogs(\"foo.script\", \"foodnstuff\", 1, \"test\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getScriptLogs(fn?: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "any[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getScriptLogs" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getScriptName:member(1)", + "docComment": "/**\n * Returns the current script name.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns Current script name.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getScriptName(): " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getScriptName" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getScriptRam:member(1)", + "docComment": "/**\n * Returns the amount of RAM required to run the specified script on the target server. Returns 0 if the script does not exist.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param script - Filename of script. This is case-sensitive.\n *\n * @param host - Host or IP of target server the script is located on. This is optional, If it is not specified then the function will se the current server as the target server.\n *\n * @returns Amount of RAM required to run the specified script on the target server, and 0 if the script does not exist.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getScriptRam(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getScriptRam" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServer:member(1)", + "docComment": "/**\n * Returns a server object for the given server. Defaults to the running script's server if host is not specified.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param host - Optional. Hostname or IP for the requested server object.\n *\n * @returns The requested server object.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServer(host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Server", + "canonicalReference": "bitburner!Server:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServer" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerBaseSecurityLevel:member(1)", + "docComment": "/**\n * Returns the base security level of the target server. This is the security level that the server starts out with. This is different than getServerSecurityLevel because getServerSecurityLevel returns the current security level of a server, which can constantly change due to hack, grow, and weaken, calls on that server. The base security level will stay the same until you reset by installing an Augmentation(s).\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Base security level of the target server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerBaseSecurityLevel(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerBaseSecurityLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerGrowth:member(1)", + "docComment": "/**\n * Returns the server’s instrinsic “growth parameter”. This growth parameter is a number between 1 and 100 that represents how quickly the server’s money grows. This parameter affects the percentage by which the server’s money is increased when using the grow function. A higher growth parameter will result in a higher percentage increase from grow.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Parameter that affects the percentage by which the server’s money is increased when using the grow function.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerGrowth(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerGrowth" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerMaxMoney:member(1)", + "docComment": "/**\n * Returns the maximum amount of money that can be available on a server.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Maximum amount of money available on the server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerMaxMoney(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerMaxMoney" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerMinSecurityLevel:member(1)", + "docComment": "/**\n * Returns the minimum security level of the target server.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Minimum security level of the target server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerMinSecurityLevel(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerMinSecurityLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerMoneyAvailable:member(1)", + "docComment": "/**\n * Returns the amount of money available on a server. Running this function on the home computer will return the player’s money.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server\n *\n * @returns Amount of money available on the server.\n *\n * @example\n * ```js\n * getServerMoneyAvailable(\"foodnstuff\");\n * getServerMoneyAvailable(\"home\"); //Returns player's money\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerMoneyAvailable(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerMoneyAvailable" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerNumPortsRequired:member(1)", + "docComment": "/**\n * Returns the number of open ports required to successfully run NUKE.exe on the specified server.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns The number of open ports required to successfully run NUKE.exe on the specified server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerNumPortsRequired(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerNumPortsRequired" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerRam:member(1)", + "docComment": "/**\n * Returns an array with two elements that gives information about a server’s memory (RAM). The first element in the array is the amount of RAM that the server has total (in GB). The second element in the array is the amount of RAM that is currently being used on the server (in GB).\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Array with total and used memory on the specified server.\n *\n * @example\n * ```js\n * res = getServerRam(\"helios\");\n * totalRam = res[0];\n * ramUsed = res[1];\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerRam(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "[number, number]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerRam" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerRequiredHackingLevel:member(1)", + "docComment": "/**\n * Returns the required hacking level of the target server.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns The required hacking level of the target server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerRequiredHackingLevel(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerRequiredHackingLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerSecurityLevel:member(1)", + "docComment": "/**\n * Returns the security level of the target server. A server’s security level is denoted by a number, typically between 1 and 100 (but it can go above 100).\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Security level of the target server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerSecurityLevel(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerSecurityLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getTimeSinceLastAug:member(1)", + "docComment": "/**\n * Returns the amount of time in milliseconds that have passed since you last installed Augmentations.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @returns Time in milliseconds that have passed since you last installed Augmentations.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getTimeSinceLastAug(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getTimeSinceLastAug" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getWeakenTime:member(1)", + "docComment": "/**\n * Returns the amount of time in seconds it takes to execute the weaken() Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the weaken time would be at different hacking levels.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Host or IP of target server.\n *\n * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level.\n *\n * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).\n *\n * @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getWeakenTime(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", hackLvl?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", intLvl?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "hackLvl", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "intLvl", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getWeakenTime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#grow:member(1)", + "docComment": "/**\n * Use your hacking skills to increase the amount of money available on a server. The runtime for this command depends on your hacking level and the target server’s security level. When \\`grow\\` completes, the money available on a target server will be increased by a certain, fixed percentage. This percentage is determined by the target server’s growth rate (which varies between servers) and security level. Generally, higher-level servers have higher growth rates. The getServerGrowth() function can be used to obtain a server’s growth rate.\n *\n * Like hack, \\`grow\\` can be called on any server, regardless of where the script is running. The grow() command requires root access to the target server, but there is no required hacking level to run the command. It also raises the security level of the target server by 0.004.\n *\n * @remarks\n *\n * 0.15 GB\n *\n * @param host - Hostname or IP of the target server to grow.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns The number by which the money on the server was multiplied for the growth.\n *\n * @example\n * ```js\n * grow(\"foodnstuff\");\n * grow(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to grow\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "grow(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", opts?: " + }, + { + "kind": "Reference", + "text": "BasicHGWOptions", + "canonicalReference": "bitburner!BasicHGWOptions:interface" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 7 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "opts", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "grow" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#growthAnalyze:member(1)", + "docComment": "/**\n * This function returns the number of “growths” needed in order to increase the amount of money available on the specified server by the specified amount. The specified amount is multiplicative and is in decimal form, not percentage.\n *\n * Warning: The value returned by this function isn’t necessarily a whole number.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @param growthAmount - Multiplicative factor by which the server is grown. Decimal form..\n *\n * @returns The amount of grow calls needed to grow the specified server by the specified amount\n *\n * @example\n * ```js\n * //For example, if you want to determine how many grow calls you need to double the amount of money on foodnstuff, you would use:\n * growthAnalyze(\"foodnstuff\", 2);\n * //If this returns 100, then this means you need to call grow 100 times in order to double the money (or once with 100 threads).\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "growthAnalyze(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", growthAmount: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "growthAmount", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "growthAnalyze" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#growthAnalyzeSecurity:member(1)", + "docComment": "/**\n * Returns the security increase that would occur if a grow with this many threads happened.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param threads - Amount of threads that will be used.\n *\n * @returns The security increase.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "growthAnalyzeSecurity(threads: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "threads", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "growthAnalyzeSecurity" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#hack:member(1)", + "docComment": "/**\n * Function that is used to try and hack servers to steal money and gain hacking experience. The runtime for this command depends on your hacking level and the target server’s security level. In order to hack a server you must first gain root access to that server and also have the required hacking level.\n *\n * A script can hack a server from anywhere. It does not need to be running on the same server to hack that server. For example, you can create a script that hacks the \\`foodnstuff\\` server and run that script on any server in the game.\n *\n * A successful \\`hack()\\` on a server will raise that server’s security level by 0.002.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Hostname or IP of the target server to hack.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns The amount of money stolen if the hack is successful, and zero otherwise.\n *\n * @example\n * ```js\n * hack(\"foodnstuff\");\n * hack(\"10.1.2.3\");\n * hack(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to hack\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hack(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", opts?: " + }, + { + "kind": "Reference", + "text": "BasicHGWOptions", + "canonicalReference": "bitburner!BasicHGWOptions:interface" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 7 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "opts", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "hack" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#hackAnalyzePercent:member(1)", + "docComment": "/**\n * Returns the percentage of the specified server’s money you will steal with a single hack. This value is returned in percentage form, not decimal (Netscript functions typically return in decimal form, but not this one).\n *\n * @remarks\n *\n * 1 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @returns The percentage of money you will steal from the target server with a single hack.\n *\n * @example\n * ```js\n * //For example, assume the following returns 1:\n * hackAnalyzePercent(\"foodnstuff\");\n * //This means that if hack the foodnstuff server, then you will steal 1% of its total money. If you hack using N threads, then you will steal N% of its total money.\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackAnalyzePercent(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "hackAnalyzePercent" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#hackAnalyzeSecurity:member(1)", + "docComment": "/**\n * Returns the security increase that would occur if a hack with this many threads happened.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param threads - Amount of threads that will be used.\n *\n * @returns The security increase.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackAnalyzeSecurity(threads: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "threads", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "hackAnalyzeSecurity" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#hackAnalyzeThreads:member(1)", + "docComment": "/**\n * This function returns the number of script threads you need when running the hack command to steal the specified amount of money from the target server. If hackAmount is less than zero or greater than the amount of money available on the server, then this function returns -1.\n *\n * Warning: The value returned by this function isn’t necessarily a whole number.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param host - Hostname or IP of the target server to analyze.\n *\n * @param hackAmount - Amount of money you want to hack from the server.\n *\n * @returns The number of threads needed to hack the server for hackAmount money.\n *\n * @example\n * ```js\n * //For example, let’s say the foodnstuff server has $10m and you run:\n * hackAnalyzeThreads(\"foodnstuff\", 1e6);\n * //If this function returns 50, this means that if your next hack call is run on a script with 50 threads, it will steal $1m from the foodnstuff server.\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackAnalyzeThreads(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", hackAmount: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "hackAmount", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "hackAnalyzeThreads" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#hackChance:member(1)", + "docComment": "/**\n * Returns the chance you have of successfully hacking the specified server.\n *\n * This returned value is in decimal form, not percentage.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @returns The chance you have of successfully hacking the target server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackChance(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "hackChance" + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#hacknet:member", + "docComment": "/**\n * Not all functions in the Hacknet Node API are immediately available.\n *\n * Note that none of these functions will write to the script’s logs.\n *\n * If you want to see what your script is doing you will have to print to the logs yourself.\n *\n * @remarks\n *\n * 4 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly hacknet: " + }, + { + "kind": "Reference", + "text": "HackNet", + "canonicalReference": "bitburner!HackNet:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacknet", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#hasRootAccess:member(1)", + "docComment": "/**\n * Returns a boolean indicating whether or not the player has root access to the specified target server.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Host or IP of the target server\n *\n * @returns True if player has root access to the specified target server, and false otherwise.\n *\n * @example\n * ```js\n * if (hasRootAccess(\"foodnstuff\") == false) {\n * nuke(\"foodnstuff\");\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hasRootAccess(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "hasRootAccess" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#httpworm:member(1)", + "docComment": "/**\n * Runs the HTTPWorm.exe program on the target server. HTTPWorm.exe must exist on your home computer.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @example\n * ```js\n * httpworm(\"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "httpworm(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "httpworm" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#isLogEnabled:member(1)", + "docComment": "/**\n * Checks the status of the logging for the given function.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param fn - Name of function to check.\n *\n * @returns Returns a boolean indicating whether or not logging is enabled for that function (or \\`ALL\\`)\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "isLogEnabled(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "isLogEnabled" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#isRunning:member(1)", + "docComment": "/**\n * Returns a boolean indicating whether the specified script is running on the target server. Remember that a script is uniquely identified by both its name and its arguments.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param script - Filename of script to check. This is case-sensitive.\n *\n * @param host - Host or IP of target server.\n *\n * @param args - Arguments to specify/identify which scripts to search for.\n *\n * @returns True if specified script is running on the target server, and false otherwise.\n *\n * @example\n * ```js\n * //The function call will return true if there is a script named foo.script with no arguments running on the foodnstuff server, and false otherwise:\n * isRunning(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //The function call will return true if there is a script named foo.script with no arguments running on the current server, and false otherwise:\n * isRunning(\"foo.script\", getHostname());\n * ```\n *\n * @example\n * ```js\n * //The function call will return true if there is a script named foo.script running with the arguments 1, 5, and “test” (in that order) on the joesguns server, and false otherwise:\n * isRunning(\"foo.script\", \"joesguns\", 1, 5, \"test\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "isRunning(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "isRunning" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#kill:member(1)", + "docComment": "/**\n * Kills the script on the target server specified by the script’s name and arguments. Remember that scripts are uniquely identified by both their name and arguments. For example, if \\`foo.script\\` is run with the argument 1, then this is not the same as \\`foo.script\\` run with the argument 2, even though they have the same code.\n *\n * @remarks\n *\n * 0.5 GB\n *\n * @param script - Filename of the script to kill\n *\n * @param host - Hostname or IP of the server on which to kill the script.\n *\n * @param args - Arguments to identify which script to kill.\n *\n * @returns True if the script is successfully killed, and false otherwise.\n *\n * @example\n * ```js\n * //The following example will try to kill a script named foo.script on the foodnstuff server that was ran with no arguments:\n * kill(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //The following will try to kill a script named foo.script on the current server that was ran with no arguments:\n * kill(\"foo.script\", getHostname());\n * ```\n *\n * @example\n * ```js\n * //The following will try to kill a script named foo.script on the current server that was ran with the arguments 1 and “foodnstuff”:\n * kill(\"foo.script\", getHostname(), 1, \"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "kill(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "kill" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#kill:member(2)", + "docComment": "/**\n * Kills the script with the specified PID. Killing a script by its PID will typically have better performance, especially if you have many scripts running. If this function successfully kills the specified script, then it will return true. Otherwise, it will return false.\n *\n * @remarks\n *\n * 0.5 GB\n *\n * @param scriptPid - PID of the script to kill\n *\n * @returns True if the script is successfully killed, and false otherwise.\n *\n * @example\n * ```js\n * if (kill(10)) {\n * print(\"Killed script with PID 10!\");\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "kill(scriptPid: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 2, + "parameters": [ + { + "parameterName": "scriptPid", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "kill" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#killall:member(1)", + "docComment": "/**\n * Kills all running scripts on the specified server. This function returns true if any scripts were killed, and false otherwise. In other words, it will return true if there are any scripts running on the target server.\n *\n * @remarks\n *\n * 0.5 GB\n *\n * @param host - IP or hostname of the server on which to kill all scripts.\n *\n * @returns True if any scripts were killed, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "killall(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "killall" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#ls:member(1)", + "docComment": "/**\n * Returns an array with the filenames of all files on the specified server (as strings). The returned array is sorted in alphabetic order.\n *\n * @remarks\n *\n * 0.2 GB\n *\n * @param host - Host or IP of the target server.\n *\n * @param grep - A substring to search for in the filename.\n *\n * @returns Array with the filenames of all files on the specified server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ls(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", grep?: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "grep", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "ls" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#nFormat:member(1)", + "docComment": "/**\n * Converts a number into a string with the specified formatter. This uses the numeraljs library, so the formatters must be compatible with that. This is the same function that the game itself uses to display numbers.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param n - Number to format.\n *\n * @param format - Formatter.\n *\n * @returns Formated number.\n *\n * @see\n *\n * http://numeraljs.com/\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "nFormat(n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", format: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "format", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "nFormat" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#nuke:member(1)", + "docComment": "/**\n * Runs the NUKE.exe program on the target server. NUKE.exe must exist on your home computer.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @example\n * ```js\n * nuke(\"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "nuke(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "nuke" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#peek:member(1)", + "docComment": "/**\n * This function is used to peek at the data from a port. It returns the first element in the specified port without removing that element. If the port is empty, the string “NULL PORT DATA” will be returned.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param port - Port to peek. Must be an integer between 1 and 20.\n *\n * @returns Data in the specified port.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "peek(port: " + }, + { + "kind": "Reference", + "text": "Port", + "canonicalReference": "bitburner!Port:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string | number | object" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "port", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "peek" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#print:member(1)", + "docComment": "/**\n * Prints a value or a variable to the script’s logs.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param msg - Value to be printed.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "print(msg: " + }, + { + "kind": "Content", + "text": "string | number | string[] | number[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "msg", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "print" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#prompt:member(1)", + "docComment": "/**\n * Prompts the player with a dialog box with two options: “Yes” and “No”. This function will return true if the player click “Yes” and false if the player clicks “No”. The script’s execution is halted until the player selects one of the options.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param txt - Text to appear in the prompt dialog box.\n *\n * @returns True if the player click “Yes” and false if the player clicks “No”.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "prompt(txt: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "txt", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "prompt" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#ps:member(1)", + "docComment": "/**\n * Returns an array with general information about all scripts running on the specified target server.\n *\n * @remarks\n *\n * 0.2 GB\n *\n * @param host - Host or IP address of the target server. If not specified, it will be the current server’s IP by default.\n *\n * @returns Array with general information about all scripts running on the specified target server.\n *\n * @example\n * ```js\n * //(using NetscriptJS (Netscript 2.0))\n * export async function main(ns) {\n * const ps = ns.ps(\"home\");\n * for (let i = 0; i < ps.length; ++i) {\n * ns.tprint(ps[i].filename + ' ' + ps[i].threads);\n * ns.tprint(ps[i].args);\n * }\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ps(host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "ProcessInfo", + "canonicalReference": "bitburner!ProcessInfo:interface" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "ps" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#purchaseServer:member(1)", + "docComment": "/**\n * Purchased a server with the specified hostname and amount of RAM.\n *\n * The hostname argument can be any data type, but it will be converted to a string and have whitespace removed. Anything that resolves to an empty string will cause the function to fail. If there is already a server with the specified hostname, then the function will automatically append a number at the end of the hostname argument value until it finds a unique hostname. For example, if the script calls \\`purchaseServer(“foo”, 4)\\` but a server named “foo” already exists, the it will automatically change the hostname to \\`foo-0\\`. If there is already a server with the hostname \\`foo-0\\`, then it will change the hostname to \\`foo-1\\`, and so on.\n *\n * Note that there is a maximum limit to the amount of servers you can purchase.\n *\n * Returns the hostname of the newly purchased server as a string. If the function fails to purchase a server, then it will return an empty string. The function will fail if the arguments passed in are invalid, if the player does not have enough money to purchase the specified server, or if the player has exceeded the maximum amount of servers.\n *\n * @remarks\n *\n * 2.25 GB\n *\n * @param hostname - Host of the purchased server.\n *\n * @param ram - Amount of RAM of the purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20).\n *\n * @returns The hostname of the newly purchased server.\n *\n * @example\n * ```js\n * ram = 64;\n * hn = \"pserv-\";\n * for (i = 0; i < 5; ++i) {\n * purchaseServer(hn + i, ram);\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseServer(hostname: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ram: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": " | \"\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 7 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "hostname", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "ram", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "purchaseServer" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#read:member(1)", + "docComment": "/**\n * This function is used to read data from a port or from a text file (.txt).\n *\n * If the argument port/fn is a number between 1 and 20, then it specifies a port and it will read data from that port. A port is a serialized queue. This function will remove the first element from that queue and return it. If the queue is empty, then the string “NULL PORT DATA” will be returned.\n *\n * If the argument port/fn is a string, then it specifies the name of a text file (.txt) and this function will return the data in the specified text file. If the text file does not exist, an empty string will be returned.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param handle - Port or text file to read from.\n *\n * @returns Data in the specified text file or port.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "read(handle: " + }, + { + "kind": "Reference", + "text": "Handle", + "canonicalReference": "bitburner!Handle:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string | number | object" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "handle", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "read" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#relaysmtp:member(1)", + "docComment": "/**\n * Runs the relaySMTP.exe program on the target server. relaySMTP.exe must exist on your home computer.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @example\n * ```js\n * relaysmtp(\"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "relaysmtp(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "relaysmtp" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#rm:member(1)", + "docComment": "/**\n * Removes the specified file from the current server. This function works for every file type except message (.msg) files.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param name - Filename of file to remove. Must include the extension.\n *\n * @param host - Host or IP Address of the server on which to delete the file. Optional. Defaults to current server.\n *\n * @returns True if it successfully deletes the file, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "rm(name: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "rm" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#run:member(1)", + "docComment": "/**\n * Run a script as a separate process. This function can only be used to run scripts located on the current server (the server running the script that calls this function). Requires a significant amount of RAM to run this command.\n *\n * If the script was successfully started, then this functions returns the PID of that script. Otherwise, it returns 0.\n *\n * PID stands for Process ID. The PID is a unique identifier for each script. The PID will always be a positive integer.\n *\n * Running this function with a numThreads argument of 0 will return 0 without running the script. However, running this function with a negative numThreads argument will cause a runtime error.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param script - Filename of script to run.\n *\n * @param numThreads - Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer.\n *\n * @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the second argument numThreads must be filled in with a value.\n *\n * @returns Returns the PID of a successfully started script, and 0 otherwise.\n *\n * @example\n * ```js\n * //The simplest way to use the run command is to call it with just the script name. The following example will run ‘foo.script’ single-threaded with no arguments:\n * run(\"foo.script\");\n * ```\n *\n * @example\n * ```js\n * //The following example will run ‘foo.script’ but with 5 threads instead of single-threaded:\n * run(\"foo.script\", 5);\n * ```\n *\n * @example\n * ```js\n * //This next example will run ‘foo.script’ single-threaded, and will pass the string ‘foodnstuff’ into the script as an argument:\n * run(\"foo.script\", 1, 'foodnstuff');\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "run(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", numThreads?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "numThreads", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "run" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#scan:member(1)", + "docComment": "/**\n * Returns an array containing the hostnames or IPs of all servers that are one node way from the specified target server. The hostnames/IPs in the returned array are strings.\n *\n * @remarks\n *\n * 0.2 GB\n *\n * @param host - Hostname or IP of the server to scan.\n *\n * @param hostnames - Optional boolean specifying whether the function should output hostnames (if true) or IP addresses (if false).\n *\n * @returns Returns an string of hostnames or IP.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "scan(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", hostnames?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 7 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "hostnames", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "scan" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#scp:member(1)", + "docComment": "/**\n * Copies a script or literature (.lit) file(s) to another server. The files argument can be either a string specifying a single file to copy, or an array of strings specifying multiple files to copy.\n *\n * @remarks\n *\n * 0.6 GB\n *\n * @param files - Filename or an array of filenames of script/literature files to copy.\n *\n * @param destination - Host or IP of the destination server, which is the server to which the file will be copied.\n *\n * @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied.\n *\n * @example\n * ```js\n * //Copies hack-template.script from the current server to foodnstuff:\n * scp(\"hack-template.script\", \"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "scp(files: " + }, + { + "kind": "Content", + "text": "string | " + }, + { + "kind": "Reference", + "text": "ReadonlyArray", + "canonicalReference": "!ReadonlyArray:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ", destination: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "files", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + }, + { + "parameterName": "destination", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "scp" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#scp:member(2)", + "docComment": "/**\n * Copies a script or literature (.lit) file(s) to another server. The files argument can be either a string specifying a single file to copy, or an array of strings specifying multiple files to copy.\n *\n * @remarks\n *\n * 0.6 GB\n *\n * @param files - Filename or an array of filenames of script/literature files to copy.\n *\n * @param source - Host or IP of the source server, which is the server from which the file will be copied. This argument is optional and if it’s omitted the source will be the current server.\n *\n * @param destination - Host or IP of the destination server, which is the server to which the file will be copied.\n *\n * @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied.\n *\n * @example\n * ```js\n * //Copies foo.lit from the helios server to the home computer:\n * scp(\"foo.lit\", \"helios\", \"home\");\n * ```\n *\n * @example\n * ```js\n * //Tries to copy three files from rothman-uni to home computer:\n * files = [\"foo1.lit\", \"foo2.script\", \"foo3.script\"];\n * scp(files, \"rothman-uni\", \"home\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "scp(\n files: " + }, + { + "kind": "Content", + "text": "string | " + }, + { + "kind": "Reference", + "text": "ReadonlyArray", + "canonicalReference": "!ReadonlyArray:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ",\n source: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ",\n // tslint:disable-next-line:unified-signatures\n destination: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 9, + "endIndex": 10 + }, + "releaseTag": "Public", + "overloadIndex": 2, + "parameters": [ + { + "parameterName": "files", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + }, + { + "parameterName": "source", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + }, + { + "parameterName": "destination", + "parameterTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + } + } + ], + "name": "scp" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#scriptKill:member(1)", + "docComment": "/**\n * Kills all scripts with the specified filename on the target server specified by hostname/ip, regardless of arguments.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param script - Filename of script to kill. This is case-sensitive.\n *\n * @param host - Host or IP of target server.\n *\n * @returns true if one or more scripts were successfully killed, and false if none were.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "scriptKill(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "scriptKill" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#scriptRunning:member(1)", + "docComment": "/**\n * Returns a boolean indicating whether any instance of the specified script is running on the target server, regardless of its arguments.\n *\n * This is different than the isRunning function because it does not try to identify a specific instance of a running script by its arguments.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param script - Filename of script to check. This is case-sensitive.\n *\n * @param host - Host or IP of target server.\n *\n * @returns True if the specified script is running, and false otherwise.\n *\n * @example\n * ```js\n * //The function call will return true if there is any script named foo.script running on the foodnstuff server, and false otherwise:\n * scriptRunning(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //The function call will return true if there is any script named “foo.script” running on the current server, and false otherwise:\n * scriptRunning(\"foo.script\", getHostname());\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "scriptRunning(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "scriptRunning" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#serverExists:member(1)", + "docComment": "/**\n * Returns a boolean denoting whether or not the specified server exists.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns True if specified server exists, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "serverExists(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "serverExists" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#sleep:member(1)", + "docComment": "/**\n * Suspends the script for n milliseconds.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param millis - Number of milliseconds to sleep.\n *\n * @returns \n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "sleep(millis: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "millis", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "sleep" + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#sleeve:member", + "docComment": "/**\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly sleeve: " + }, + { + "kind": "Reference", + "text": "Sleeve", + "canonicalReference": "bitburner!Sleeve:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "sleeve", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#spawn:member(1)", + "docComment": "/**\n * Terminates the current script, and then after a delay of about 10 seconds it will execute the newly-specified script. The purpose of this function is to execute a new script without being constrained by the RAM usage of the current one. This function can only be used to run scripts on the local server.\n *\n * Because this function immediately terminates the script, it does not have a return value.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param script - Filename of script to execute.\n *\n * @param numThreads - Number of threads to spawn new script with. Will be rounded to nearest integer.\n *\n * @param args - Additional arguments to pass into the new script that is being run.\n *\n * @example\n * ```js\n * //The following example will execute the script ‘foo.script’ with 10 threads and the arguments ‘foodnstuff’ and 90:\n * spawn('foo.script', 10, 'foodnstuff', 90);\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "spawn(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", numThreads?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "numThreads", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "spawn" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#sprintf:member(1)", + "docComment": "/**\n * Complete open source JavaScript sprintf implementation\n *\n * @remarks\n *\n * 0 GB\n *\n * @param format - String to format.\n *\n * @param args - Formating arguments.\n *\n * @returns Formated text.\n *\n * @see\n *\n * https://github.com/alexei/sprintf.js\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "sprintf(format: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "format", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "sprintf" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#sqlinject:member(1)", + "docComment": "/**\n * Runs the SQLInject.exe program on the target server. SQLInject.exe must exist on your home computer.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @example\n * ```js\n * sqlinject(\"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "sqlinject(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "sqlinject" + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#stock:member", + "docComment": "/**\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly stock: " + }, + { + "kind": "Reference", + "text": "TIX", + "canonicalReference": "bitburner!TIX:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "stock", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#tail:member(1)", + "docComment": "/**\n * Opens a script’s logs. This is functionally the same as the tail Terminal command.\n *\n * If the function is called with no arguments, it will open the current script’s logs.\n *\n * Otherwise, the fn, hostname/ip, and args… arguments can be used to get the logs from another script. Remember that scripts are uniquely identified by both their names and arguments.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param fn - Optional. Filename of the script being tailed. If omitted, the current script is tailed.\n *\n * @param host - Optional. Hostname or IP of the script being tailed. Defaults to the server this script is running on. If args are specified, this is not optional.\n *\n * @param args - Arguments for the script being tailed.\n *\n * @example\n * ```js\n * //Open logs from foo.script on the current server that was run with no args\n * tail(\"foo.script\");\n * ```\n *\n * @example\n * ```js\n * //Get logs from foo.script on the foodnstuff server that was run with no args\n * tail(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //Get logs from foo.script on the foodnstuff server that was run with the arguments [1, \"test\"]\n * tail(\"foo.script\", \"foodnstuff\", 1, \"test\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "tail(fn?: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "any[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "tail" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#tprint:member(1)", + "docComment": "/**\n * Prints a value or a variable to the Terminal.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param msg - Value to be printed.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "tprint(msg: " + }, + { + "kind": "Content", + "text": "string | number | string[] | number[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "msg", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "tprint" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#tryWrite:member(1)", + "docComment": "/**\n * Attempts to write data to the specified Netscript Port. If the port is full, the data will not be written. Otherwise, the data will be written normally.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param port - Port or text file that will be written to.\n *\n * @param data - Data to write.\n *\n * @returns True if the data is successfully written to the port, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "tryWrite(port: " + }, + { + "kind": "Reference", + "text": "Handle", + "canonicalReference": "bitburner!Handle:type" + }, + { + "kind": "Content", + "text": ", data: " + }, + { + "kind": "Content", + "text": "string | string[] | number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "port", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "data", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "tryWrite" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#vsprintf:member(1)", + "docComment": "/**\n * Complete open source JavaScript sprintf implementation\n *\n * @remarks\n *\n * 0 GB\n *\n * @param format - String to format.\n *\n * @param args - Formating arguments.\n *\n * @returns Formated text.\n *\n * @see\n *\n * https://github.com/alexei/sprintf.js\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "vsprintf(format: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "format", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "vsprintf" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#weaken:member(1)", + "docComment": "/**\n * Use your hacking skills to attack a server’s security, lowering the server’s security level. The runtime for this command depends on your hacking level and the target server’s security level. This function lowers the security level of the target server by 0.05.\n *\n * Like hack and grow, \\`weaken\\` can be called on any server, regardless of where the script is running. This command requires root access to the target server, but there is no required hacking level to run the command.\n *\n * @remarks\n *\n * 0.15 GB\n *\n * @param host - Hostname or IP of the target server to weaken.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns The amount by which the target server’s security level was decreased. This is equivalent to 0.05 multiplied by the number of script threads.\n *\n * @example\n * ```js\n * weaken(\"foodnstuff\");\n * weaken(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to weaken\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "weaken(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", opts?: " + }, + { + "kind": "Reference", + "text": "BasicHGWOptions", + "canonicalReference": "bitburner!BasicHGWOptions:interface" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 7 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "opts", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "weaken" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#weakenAnalyze:member(1)", + "docComment": "/**\n * Returns the security decrease that would occur if a weaken with this many threads happened.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param threads - Amount of threads that will be used.\n *\n * @param cores - Optional. The number of cores of the server that would run weaken.\n *\n * @returns The security decrease.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "weakenAnalyze(threads: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", cores?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "threads", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "cores", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "weakenAnalyze" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#wget:member(1)", + "docComment": "/**\n * Retrieves data from a URL and downloads it to a file on the specified server. The data can only be downloaded to a script (.script, .ns, .js) or a text file (.txt). If the file already exists, it will be overwritten by this command. Note that it will not be possible to download data from many websites because they do not allow cross-origin resource sharing (CORS).\n *\n * IMPORTANT: This is an asynchronous function that returns a Promise. The Promise’s resolved value will be a boolean indicating whether or not the data was successfully retrieved from the URL. Because the function is async and returns a Promise, it is recommended you use wget in NetscriptJS (Netscript 2.0).\n *\n * In NetscriptJS, you must preface any call to wget with the await keyword (like you would hack or sleep). wget will still work in Netscript 1.0, but the functions execution will not be synchronous (i.e. it may not execute when you expect/want it to). Furthermore, since Promises are not supported in ES5, you will not be able to process the returned value of wget in Netscript 1.0.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param url - URL to pull data from.\n *\n * @param target - Filename to write data to. Must be script or text file.\n *\n * @param host - Optional hostname/ip of server for target file.\n *\n * @returns True if the data was successfully retrieved from the URL, false otherwise.\n *\n * @example\n * ```js\n * wget(\"https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md\", \"game_readme.txt\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "wget(url: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", target: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 9 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "url", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "target", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "wget" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#write:member(1)", + "docComment": "/**\n * This function can be used to either write data to a port or to a text file (.txt).\n *\n * If the first argument is a number between 1 and 20, then it specifies a port and this function will write data to that port. The third argument, mode, is not used when writing to a port.\n *\n * If the first argument is a string, then it specifies the name of a text file (.txt) and this function will write data to that text file. If the specified text file does not exist, then it will be created. The third argument mode, defines how the data will be written to the text file. If *mode is set to “w”, then the data is written in “write” mode which means that it will overwrite all existing data on the text file. If mode is set to any other value then the data will be written in “append” mode which means that the data will be added at the end of the text file.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param handle - Port or text file that will be written to.\n *\n * @param data - Data to write.\n *\n * @param mode - Defines the write mode. Only valid when writing to text files.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "write(handle: " + }, + { + "kind": "Reference", + "text": "Handle", + "canonicalReference": "bitburner!Handle:type" + }, + { + "kind": "Content", + "text": ", data?: " + }, + { + "kind": "Content", + "text": "string | string[] | number" + }, + { + "kind": "Content", + "text": ", mode?: " + }, + { + "kind": "Content", + "text": "\"w\" | \"a\"" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "handle", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "data", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "mode", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "write" + } + ], + "extendsTokenRanges": [ + { + "startIndex": 1, + "endIndex": 3 + } + ] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!OrderPos:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type OrderPos = " + }, + { + "kind": "Content", + "text": "\"long\" | \"short\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "OrderPos", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!OrderType:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type OrderType = " + }, + { + "kind": "Content", + "text": "\"limitbuy\" | \"limitsell\" | \"stopbuy\" | \"stopsell\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "OrderType", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!PlayerStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface PlayerStats " + } + ], + "releaseTag": "Public", + "name": "PlayerStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#agility:member", + "docComment": "/**\n * Agility level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agility", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#charisma:member", + "docComment": "/**\n * Chraisma level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charisma", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#defense:member", + "docComment": "/**\n * Defense level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defense", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#dexterity:member", + "docComment": "/**\n * Dexterity level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterity", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#hacking:member", + "docComment": "/**\n * Hacking level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacking", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#intelligence:member", + "docComment": "/**\n * Intelligence level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "intelligence: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "intelligence", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#strength:member", + "docComment": "/**\n * Strength level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strength", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!Port:type", + "docComment": "/**\n * A port is implemented as a sort of serialized queue, where you can only write and read one element at a time from the port. When you read data from a port, the element that is read is removed from the port.\n *\n * IMPORTANT: The data inside ports are not saved! This means if you close and re-open the game, or reload the page then you will lose all of the data in the ports!\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type Port = " + }, + { + "kind": "Content", + "text": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "Port", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!ProcessInfo:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface ProcessInfo " + } + ], + "releaseTag": "Public", + "name": "ProcessInfo", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!ProcessInfo#args:member", + "docComment": "/**\n * Script's arguments\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "args", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!ProcessInfo#filename:member", + "docComment": "/**\n * Script name.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "filename: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "filename", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!ProcessInfo#threads:member", + "docComment": "/**\n * Number of threads script is running with\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "threads: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "threads", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!PurchaseableProgram:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type PurchaseableProgram =\n " + }, + { + "kind": "Content", + "text": "| \"brutessh.exe\"\n | \"ftpcrack.exe\"\n | \"relaysmtp.exe\"\n | \"httpworm.exe\"\n | \"sqlinject.exe\"\n | \"deepscanv1.exe\"\n | \"deepscanv2.exe\"\n | \"autolink.exe\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "PurchaseableProgram", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!Script:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type Script = " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "Script", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!Server:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface Server " + } + ], + "releaseTag": "Public", + "name": "Server", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#cpuCores:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "cpuCores: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "cpuCores", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#ftpPortOpen:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "ftpPortOpen: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ftpPortOpen", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#hasAdminRights:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "hasAdminRights: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hasAdminRights", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#hostname:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "hostname: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hostname", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#httpPortOpen:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "httpPortOpen: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "httpPortOpen", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#ip:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "ip: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ip", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#isConnectedTo:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "isConnectedTo: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "isConnectedTo", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#maxRam:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "maxRam: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "maxRam", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#organizationName:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "organizationName: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "organizationName", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#ramUsed:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "ramUsed: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ramUsed", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#smtpPortOpen:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "smtpPortOpen: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "smtpPortOpen", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#sqlPortOpen:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "sqlPortOpen: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "sqlPortOpen", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#sshPortOpen:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "sshPortOpen: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "sshPortOpen", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!Singularity:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface Singularity " + } + ], + "releaseTag": "Public", + "name": "Singularity", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#applyToCompany:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically try to apply to the specified company for a position in the specified field. This function can also be used to apply for promotions by specifying the company and field you are already employed at.\n *\n * This function will return true if you successfully get a job/promotion, and false otherwise. Note that if you are trying to use this function to apply for a promotion and you don’t get one, it will return false.\n *\n * @remarks\n *\n * 3 GB @singularity Level 2\n *\n * @param companyName - Name of company to apply to.\n *\n * @param field - Field to which you want to apply.\n *\n * @returns True if the player successfully get a job/promotion, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "applyToCompany(companyName: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": ", field: " + }, + { + "kind": "Reference", + "text": "CompanyField", + "canonicalReference": "bitburner!CompanyField:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "companyName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "field", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "applyToCompany" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#checkFactionInvitations:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an array with the name of all Factions you currently have oustanding invitations from.\n *\n * @remarks\n *\n * 3 GB @singularity Level 2\n *\n * @returns Array with the name of all Factions you currently have oustanding invitations from.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "checkFactionInvitations(): " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "checkFactionInvitations" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#commitCrime:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function is used to automatically attempt to commit crimes. If you are already in the middle of some ‘working’ action (such as working for a company or training at a gym), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function returns the number of seconds it takes to attempt the specified crime (e.g It takes 60 seconds to attempt the ‘Rob Store’ crime, so running \\`commitCrime('rob store')\\` will return 60).\n *\n * Warning: I do not recommend using the time returned from this function to try and schedule your crime attempts. Instead, I would use the isBusy Singularity function to check whether you have finished attempting a crime. This is because although the game sets a certain crime to be X amount of seconds, there is no guarantee that your browser will follow that time limit.\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @param crime - Name of crime to attempt.\n *\n * @returns True if you successfully start working on the specified program, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "commitCrime(crime: " + }, + { + "kind": "Reference", + "text": "Crime", + "canonicalReference": "bitburner!Crime:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "crime", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "commitCrime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#createProgram:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically set you to start working on creating the specified program. If you are already in the middle of some “working” action (such as working for a company, training at a gym, or taking a course), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function returns true if you successfully start working on the specified program, and false otherwise.\n *\n * Note that creating a program using this function has the same hacking level requirements as it normally would. These level requirements are: * BruteSSH.exe: 50 * FTPCrack.exe: 100 * relaySMTP.exe: 250 * HTTPWorm.exe: 500 * SQLInject.exe: 750 * DeepscanV1.exe: 75 * DeepscanV2.exe: 400 * ServerProfiler.exe: 75 * AutoLink.exe: 25\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @param program - Name of program to create.\n *\n * @returns True if you successfully start working on the specified program, and false otherwise.\n *\n * @example\n * ```js\n * createProgram(“relaysmtp.exe”);\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "createProgram(program: " + }, + { + "kind": "Reference", + "text": "CreatableProgram", + "canonicalReference": "bitburner!CreatableProgram:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "program", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "createProgram" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#donateToFaction:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Attempts to donate money to the specified faction in exchange for reputation. Returns true if you successfully donate the money, and false otherwise.\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @param faction - Name of faction to donate to.\n *\n * @param amount - Amount of money to donate.\n *\n * @returns True if the money was donated, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "donateToFaction(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": ", amount: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "amount", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "donateToFaction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getAugmentationCost:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns an array with two elements that gives the cost for the specified Augmentation. The first element in the returned array is the reputation requirement of the Augmentation, and the second element is the money cost.\n *\n * If an invalid Augmentation name is passed in for the augName argument, this function will return the array [-1, -1].\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @param augName - Name of Augmentation.\n *\n * @returns Array with first element as a reputation requirement and second element as the money cost.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getAugmentationCost(augName: " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "[number, number]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "augName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getAugmentationCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getAugmentationPrereq:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns an array with the names of the prerequisite Augmentation(s) for the specified Augmentation. If there are no prerequisites, a blank array is returned.\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @param augName - Name of Augmentation.\n *\n * @returns Array with the names of the prerequisite Augmentation(s) for the specified Augmentation.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getAugmentationPrereq(augName: " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "augName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getAugmentationPrereq" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getAugmentationsFromFaction:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an array containing the names (as strings) of all Augmentations that are available from the specified faction.\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @param faction - Name of faction.\n *\n * @returns Array containing the names of all Augmentations.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getAugmentationsFromFaction(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getAugmentationsFromFaction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getAugmentationStats:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns augmentation stats.\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @param name - Name of Augmentation. CASE-SENSITIVE.\n *\n * @returns Augmentation stats.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getAugmentationStats(name: " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "AugmentationStats", + "canonicalReference": "bitburner!AugmentationStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getAugmentationStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getCharacterInformation:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an object with various information about your character.\n *\n * @remarks\n *\n * 0.5 GB @singularity Level 1\n *\n * @returns Object with various information about your character.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCharacterInformation(): " + }, + { + "kind": "Reference", + "text": "CharacterInfo", + "canonicalReference": "bitburner!CharacterInfo:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getCharacterInformation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getCompanyFavor:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will return the amount of favor you have at the specified company. If the company passed in as an argument is invalid, -1 will be returned.\n *\n * @remarks\n *\n * 1 GB @singularity Level 2\n *\n * @param companyName - Name of the company.\n *\n * @returns Amount of favor you have at the specified company.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCompanyFavor(companyName: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "companyName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCompanyFavor" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getCompanyFavorGain:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will return the amount of favor you will gain for the specified company when you reset by installing Augmentations.\n *\n * @remarks\n *\n * 0.75 GB @singularity Level 2\n *\n * @param companyName - Name of the company.\n *\n * @returns Amount of favor you gain at the specified company when you reset by installing Augmentations.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCompanyFavorGain(companyName: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "companyName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCompanyFavorGain" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getCompanyRep:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will return the amount of reputation you have at the specified company. If the company passed in as an argument is invalid, -1 will be returned.\n *\n * @remarks\n *\n * 1 GB @singularity Level 2\n *\n * @param companyName - Name of the company.\n *\n * @returns Amount of reputation you have at the specified company.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCompanyRep(companyName: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "companyName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCompanyRep" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getCrimeChance:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns your chance of success at commiting the specified crime. The chance is returned as a decimal (i.e. 60% would be returned as 0.6).\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @param crime - Name of crime.\n *\n * @returns Chance of success at commiting the specified crime as a decimal.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCrimeChance(crime: " + }, + { + "kind": "Reference", + "text": "Crime", + "canonicalReference": "bitburner!Crime:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "crime", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCrimeChance" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getCrimeStats:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns the stats of the crime.\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @param crime - Name of crime. Not case-sensitive\n *\n * @returns The stats of the crime.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCrimeStats(crime: " + }, + { + "kind": "Reference", + "text": "Crime", + "canonicalReference": "bitburner!Crime:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "CrimeStats", + "canonicalReference": "bitburner!CrimeStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "crime", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCrimeStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getFactionFavor:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns the amount of favor you have for the specified faction.\n *\n * @remarks\n *\n * 1 GB @singularity Level 2\n *\n * @param faction - Name of faction.\n *\n * @returns Amount of favor you have for the specified faction.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getFactionFavor(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getFactionFavor" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getFactionFavorGain:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns the amount of favor you will gain for the specified faction when you reset by installing Augmentations.\n *\n * @remarks\n *\n * 0.75 GB @singularity Level 2\n *\n * @param faction - Name of faction.\n *\n * @returns Amount of favor you will gain for the specified faction when you reset by installing Augmentations.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getFactionFavorGain(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getFactionFavorGain" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getFactionRep:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns the amount of reputation you have for the specified faction.\n *\n * @remarks\n *\n * 1 GB @singularity Level 2\n *\n * @param faction - Name of faction to work for.\n *\n * @returns Amount of reputation you have for the specified faction.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getFactionRep(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getFactionRep" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getOwnedAugmentations:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns an array containing the names (as strings) of all Augmentations you have.\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @param purchased - Specifies whether the returned array should include Augmentations you have purchased but not yet installed. By default, this argument is false which means that the return value will NOT have the purchased Augmentations.\n *\n * @returns Array containing the names (as strings) of all Augmentations you have.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getOwnedAugmentations(purchased?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "purchased", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getOwnedAugmentations" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getOwnedSourceFiles:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an array of source files\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @returns Array containing an object with number and level of the source file.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getOwnedSourceFiles(): " + }, + { + "kind": "Reference", + "text": "SourceFileLvl", + "canonicalReference": "bitburner!SourceFileLvl:interface" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getOwnedSourceFiles" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getStats:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an object with the Player’s stats.\n *\n * @remarks\n *\n * 0.5 GB @singularity Level 1\n *\n * @returns Object with the Player’s stats.\n *\n * @example\n * ```js\n * res = getStats();\n * print('My charisma level is: ' + res.charisma);\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getStats(): " + }, + { + "kind": "Reference", + "text": "PlayerStats", + "canonicalReference": "bitburner!PlayerStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getUpgradeHomeRamCost:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns the cost of upgrading the player’s home computer RAM.\n *\n * @remarks\n *\n * 1.5 GB @singularity Level 2\n *\n * @returns Cost of upgrading the player’s home computer RAM.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getUpgradeHomeRamCost(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getUpgradeHomeRamCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#gymWorkout:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically set you to start working out at a gym to train a particular stat. If you are already in the middle of some “working” action (such as working at a company, for a faction, or on a program), then running this function will automatically cancel that action and give you your earnings.\n *\n * The cost and experience gains for all of these gyms are the same as if you were to manually visit these gyms and train\n *\n * @remarks\n *\n * 2 GB @singularity Level 1\n *\n * @param gymName - Name of gym. You must be in the correct city for whatever gym you specify.\n *\n * @param stat - The stat you want to train.\n *\n * @returns True if actions is successfully started, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "gymWorkout(gymName: " + }, + { + "kind": "Reference", + "text": "Gym", + "canonicalReference": "bitburner!Gym:type" + }, + { + "kind": "Content", + "text": ", stat: " + }, + { + "kind": "Reference", + "text": "GymStat", + "canonicalReference": "bitburner!GymStat:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "gymName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "stat", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "gymWorkout" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#installAugmentations:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically install your Augmentations, resetting the game as usual.\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @param cbScript - Optional callback script. This is a script that will automatically be run after Augmentations are installed (after the reset). This script will be run with no arguments and 1 thread. It must be located on your home computer.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "installAugmentations(cbScript?: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "cbScript", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "installAugmentations" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#isBusy:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns a boolean indicating whether or not the player is currently performing an ‘action’. These actions include working for a company/faction, studying at a univeristy, working out at a gym, creating a program, committing a crime, or carrying out a Hacking Mission.\n *\n * @remarks\n *\n * 0.5 GB @singularity Level 1\n *\n * @returns True if the player is currently performing an ‘action’, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "isBusy(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "isBusy" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#joinFaction:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically accept an invitation from a faction and join it.\n *\n * @remarks\n *\n * 3 GB @singularity Level 2\n *\n * @param faction - Name of faction to join.\n *\n * @returns True if player joined the faction, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "joinFaction(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "joinFaction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#purchaseAugmentation:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will try to purchase the specified Augmentation through the given Faction.\n *\n * This function will return true if the Augmentation is successfully purchased, and false otherwise.\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n *\n * @param faction - Name of faction to purchase Augmentation from.\n *\n * @param augmnet - Name of Augmentation to purchase.\n *\n * @returns True if the Augmentation is successfully purchased, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseAugmentation(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": ", augmnet: " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "augmnet", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "purchaseAugmentation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#purchaseProgram:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function allows you to automatically purchase programs. You MUST have a TOR router in order to use this function. The cost of purchasing programs using this function is the same as if you were purchasing them through the Dark Web using the Terminal buy command.\n *\n * @remarks\n *\n * 2 GB @singularity Level 1\n *\n * @param programName - Name of program to purchase.\n *\n * @returns True if the specified program is purchased, and false otherwise.\n *\n * @example\n * ```js\n * purchaseProgram(\"brutessh.exe\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseProgram(programName: " + }, + { + "kind": "Reference", + "text": "PurchaseableProgram", + "canonicalReference": "bitburner!PurchaseableProgram:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "programName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "purchaseProgram" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#purchaseTor:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function allows you to automatically purchase a TOR router. The cost for purchasing a TOR router using this function is the same as if you were to manually purchase one.\n *\n * @remarks\n *\n * 2 GB @singularity Level 1\n *\n * @returns True if actions is successful, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseTor(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "purchaseTor" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#softReset:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will perform a reset even if you don’t have any augmentation installed.\n *\n * @remarks\n *\n * 5 GB @singularity Level 3\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "softReset(): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "softReset" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#stopAction:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function is used to end whatever ‘action’ the player is currently performing. The player will receive whatever money/experience/etc. he has earned from that action.\n *\n * The actions that can be stopped with this function are:\n *\n * * Studying at a university * Working for a company/faction * Creating a program * Committing a Crime\n *\n * This function will return true if the player’s action was ended. It will return false if the player was not performing an action when this function was called.\n *\n * @remarks\n *\n * 1 GB @singularity Level 1\n *\n * @returns True if the player’s action was ended, false if the player was not performing an action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "stopAction(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "stopAction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#travelToCity:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function allows the player to travel to any city. The cost for using this function is the same as the cost for traveling through the Travel Agency.\n *\n * @remarks\n *\n * 2 GB @singularity Level 1\n *\n * @param city - City to travel to.\n *\n * @returns True if actions is successful, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "travelToCity(city: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "city", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "travelToCity" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#universityCourse:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically set you to start taking a course at a university. If you are already in the middle of some “working” action (such as working at a company, for a faction, or on a program), then running this function will automatically cancel that action and give you your earnings.\n *\n * The cost and experience gains for all of these universities and classes are the same as if you were to manually visit and take these classes.\n *\n * @remarks\n *\n * 2 GB @singularity Level 1\n *\n * @param universityName - Name of university. You must be in the correct city for whatever university you specify.\n *\n * @param courseName - Name of course.\n *\n * @returns True if actions is successfully started, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "universityCourse(universityName: " + }, + { + "kind": "Reference", + "text": "University", + "canonicalReference": "bitburner!University:type" + }, + { + "kind": "Content", + "text": ", courseName: " + }, + { + "kind": "Reference", + "text": "UniversityCourse", + "canonicalReference": "bitburner!UniversityCourse:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "universityName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "courseName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "universityCourse" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#upgradeHomeRam:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will upgrade amount of RAM on the player’s home computer. The cost is the same as if you were to do it manually.\n *\n * This function will return true if the player’s home computer RAM is successfully upgraded, and false otherwise.\n *\n * @remarks\n *\n * 3 GB @singularity Level 2\n *\n * @returns True if the player’s home computer RAM is successfully upgraded, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "upgradeHomeRam(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "upgradeHomeRam" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#workForCompany:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically set you to start working at the company at which you are employed. If you are already in the middle of some “working” action (such as working for a faction, training at a gym, or creating a program), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function will return true if the player starts working, and false otherwise.\n *\n * Note that when you are working for a company, you will not actually receive your earnings (reputation, money, experience) until you FINISH the action.\n *\n * @remarks\n *\n * 3 GB @singularity Level 2\n *\n * @param companyName - Name of company to work for. Must be an exact match. Optional. If not specified, this argument defaults to the last job that you worked\n *\n * @returns True if the player starts working, and false otherwise.\n *\n * @example\n * ```js\n * //If you only want to work until you get 100,000 company reputation. One small hack to get around this is to continuously restart the action to receive your earnings:\n * while (getCompanyRep(COMPANY HERE) < VALUE) {\n * workForCompany();\n * sleep(60000);\n * }\n * //This way, your company reputation will be updated every minute.\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workForCompany(companyName?: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "companyName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "workForCompany" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#workForFaction:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically set you to start working for the specified faction. Obviously, you must be a member of the faction or else this function will fail. If you are already in the middle of some “working” action (such as working for a company, training at a gym, or creating a program), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function will return true if you successfully start working for the specified faction, and false otherwise.\n *\n * Note that when you are working for a faction, you will not actually receive your earnings (reputation, experience) until you FINISH the action.\n *\n * @remarks\n *\n * 3 GB @singularity Level 2\n *\n * @param faction - Name of faction to work for.\n *\n * @param workType - Type of work to perform for the faction.\n *\n * @returns True if the player starts working, and false otherwise.\n *\n * @example\n * ```js\n * //If you only want to work until you get 100,000 faction reputation. One small hack to get around this is to continuously restart the action to receive your earnings:\n * while (getFactionRep(FACTION NAME) < VALUE) {\n * workForFaction(FACNAME, WORKTYPE);\n * sleep(60000);\n * }\n * //This way, your faction reputation will be updated every minute.\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workForFaction(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": ", workType: " + }, + { + "kind": "Reference", + "text": "FactionWork", + "canonicalReference": "bitburner!FactionWork:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "workType", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "workForFaction" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!Sleeve:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface Sleeve " + } + ], + "releaseTag": "Public", + "name": "Sleeve", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#getInformation:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a struct containing tons of information about this sleeve\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to retrieve information.\n *\n * @returns Object containing tons of information about this sleeve.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getInformation(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "SleeveInformation", + "canonicalReference": "bitburner!SleeveInformation:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getInformation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#getNumSleeves:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return the number of duplicate sleeves the player has.\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns number of duplicate sleeves the player has.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getNumSleeves(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getNumSleeves" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#getSleeveAugmentations:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a list of augmentation names that this sleeve has installed.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to retrieve augmentations from.\n *\n * @returns List of augmentation names that this sleeve has installed.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSleeveAugmentations(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getSleeveAugmentations" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#getSleevePurchasableAugs:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a list of augmentations that the player can buy for this sleeve.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to retrieve purchasable augmentations from.\n *\n * @returns List of augmentations that the player can buy for this sleeve.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSleevePurchasableAugs(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "AugmentPair", + "canonicalReference": "bitburner!AugmentPair:interface" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getSleevePurchasableAugs" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#getSleeveStats:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a structure containing the stats of the sleeve.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to get stats of.\n *\n * @returns Object containing the stats of the sleeve.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSleeveStats(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "SleeveStats", + "canonicalReference": "bitburner!SleeveStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getSleeveStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#getTask:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return the current task that the sleeve is performing. type is set to “Idle” if the sleeve isn’t doing anything.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to retrieve task from.\n *\n * @returns Object containing information the current task that the sleeve is performing.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getTask(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "SleeveTask", + "canonicalReference": "bitburner!SleeveTask:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getTask" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#purchaseSleeveAug:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return true if the aug was purchased and installed on the sleeve.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to buy an aug for.\n *\n * @param augName - Name of the aug to buy. Must be an exact match.\n *\n * @returns True if the aug was purchased and installed on the sleeve, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseSleeveAug(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", augName: " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "augName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "purchaseSleeveAug" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToCommitCrime:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * Returns false if an invalid action is specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to start commiting crime.\n *\n * @param name - Name of the crime. Must be an exact match.\n *\n * @returns True if this action was set successfully, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToCommitCrime(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", name: " + }, + { + "kind": "Reference", + "text": "Crime", + "canonicalReference": "bitburner!Crime:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "setToCommitCrime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToCompanyWork:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not the sleeve started working or this company.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to work for the company.\n *\n * @param companyName - Name of the company to work for.\n *\n * @returns True if the sleeve started working on this company, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToCompanyWork(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", companyName: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "companyName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "setToCompanyWork" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToFactionWork:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not the sleeve started working or this faction.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to work for the faction.\n *\n * @param factionName - Name of the faction to work for.\n *\n * @param factionWorkType - Name of the action to perform for this faction.\n *\n * @returns True if the sleeve started working on this faction, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToFactionWork(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", factionName: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": ", factionWorkType: " + }, + { + "kind": "Reference", + "text": "FactionWork", + "canonicalReference": "bitburner!FactionWork:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "factionName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "factionWorkType", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "setToFactionWork" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToGymWorkout:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not the sleeve started working out.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to workout at the gym.\n *\n * @param gymName - Name of the gym.\n *\n * @param stat - Name of the stat to train.\n *\n * @returns True if the sleeve started working out, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToGymWorkout(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", gymName: " + }, + { + "kind": "Reference", + "text": "Gym", + "canonicalReference": "bitburner!Gym:type" + }, + { + "kind": "Content", + "text": ", stat: " + }, + { + "kind": "Reference", + "text": "GymStat", + "canonicalReference": "bitburner!GymStat:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "gymName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "stat", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "setToGymWorkout" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToShockRecovery:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to start recovery.\n *\n * @returns True if this action was set successfully, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToShockRecovery(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "setToShockRecovery" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToSynchronize:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to start synchronizing.\n *\n * @returns True if this action was set successfully, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToSynchronize(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "setToSynchronize" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToUniversityCourse:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to start taking class.\n *\n * @param university - Name of the university to attend.\n *\n * @param className - Name of the class to follow.\n *\n * @returns True if this action was set successfully, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToUniversityCourse(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", university: " + }, + { + "kind": "Reference", + "text": "University", + "canonicalReference": "bitburner!University:type" + }, + { + "kind": "Content", + "text": ", className: " + }, + { + "kind": "Reference", + "text": "UniversityCourse", + "canonicalReference": "bitburner!UniversityCourse:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "university", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "className", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "setToUniversityCourse" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#travel:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not the sleeve reached destination.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to travel.\n *\n * @param cityName - Name of the destination city.\n *\n * @returns True if the sleeve reached destination, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "travel(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", cityName: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "cityName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "travel" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!SleeveInformation:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface SleeveInformation " + } + ], + "releaseTag": "Public", + "name": "SleeveInformation", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#city:member", + "docComment": "/**\n * location of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "city: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "city", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#earningsForPlayer:member", + "docComment": "/**\n * earnings synchronized to the player\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "earningsForPlayer: " + }, + { + "kind": "Reference", + "text": "SleeveWorkGains", + "canonicalReference": "bitburner!SleeveWorkGains:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "earningsForPlayer", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#earningsForSleeves:member", + "docComment": "/**\n * earnings synchronized to other sleeves\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "earningsForSleeves: " + }, + { + "kind": "Reference", + "text": "SleeveWorkGains", + "canonicalReference": "bitburner!SleeveWorkGains:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "earningsForSleeves", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#earningsForTask:member", + "docComment": "/**\n * earnings for this sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "earningsForTask: " + }, + { + "kind": "Reference", + "text": "SleeveWorkGains", + "canonicalReference": "bitburner!SleeveWorkGains:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "earningsForTask", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#hp:member", + "docComment": "/**\n * current hp of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#jobs:member", + "docComment": "/**\n * jobs available to the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "jobs: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "jobs", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#jobTitle:member", + "docComment": "/**\n * job titles available to the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "jobTitle: " + }, + { + "kind": "Reference", + "text": "CompanyField", + "canonicalReference": "bitburner!CompanyField:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "jobTitle", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#maxHp:member", + "docComment": "/**\n * max hp of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "maxHp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "maxHp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#mult:member", + "docComment": "/**\n * sleeve multipliers\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "mult: " + }, + { + "kind": "Reference", + "text": "CharacterMult", + "canonicalReference": "bitburner!CharacterMult:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#timeWorked:member", + "docComment": "/**\n * time spent on the current task in milliseconds\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "timeWorked: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "timeWorked", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#tor:member", + "docComment": "/**\n * does this sleeve have access to the tor router\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "tor: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "tor", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#workRepGain:member", + "docComment": "/**\n * faction or company reputation gained for the current task\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workRepGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workRepGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!SleeveStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface SleeveStats " + } + ], + "releaseTag": "Public", + "name": "SleeveStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#agility:member", + "docComment": "/**\n * current agility of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agility", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#charisma:member", + "docComment": "/**\n * current charisma of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charisma", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#defense:member", + "docComment": "/**\n * current defense of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defense", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#dexterity:member", + "docComment": "/**\n * current dexterity of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterity", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#hacking_skill:member", + "docComment": "/**\n * current hacking skill of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_skill: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacking_skill", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#shock:member", + "docComment": "/**\n * current shock of the sleeve [0-100]\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "shock:\n " + }, + { + "kind": "Content", + "text": "| 0\n | 1\n | 2\n | 3\n | 4\n | 5\n | 6\n | 7\n | 8\n | 9\n | 10\n | 11\n | 12\n | 13\n | 14\n | 15\n | 16\n | 17\n | 18\n | 19\n | 20\n | 21\n | 22\n | 23\n | 24\n | 25\n | 26\n | 27\n | 28\n | 29\n | 30\n | 31\n | 32\n | 33\n | 34\n | 35\n | 36\n | 37\n | 38\n | 39\n | 40\n | 41\n | 42\n | 43\n | 44\n | 45\n | 46\n | 47\n | 48\n | 49\n | 50\n | 51\n | 52\n | 53\n | 54\n | 55\n | 56\n | 57\n | 58\n | 59\n | 60\n | 61\n | 62\n | 63\n | 64\n | 65\n | 66\n | 67\n | 68\n | 69\n | 70\n | 71\n | 72\n | 73\n | 74\n | 75\n | 76\n | 77\n | 78\n | 79\n | 80\n | 81\n | 82\n | 83\n | 84\n | 85\n | 86\n | 87\n | 88\n | 89\n | 90\n | 91\n | 92\n | 93\n | 94\n | 95\n | 96\n | 97\n | 98\n | 99\n | 100" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "shock", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#strength:member", + "docComment": "/**\n * current strength of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strength", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#sync:member", + "docComment": "/**\n * current sync of the sleeve [0-100]\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "sync:\n " + }, + { + "kind": "Content", + "text": "| 0\n | 1\n | 2\n | 3\n | 4\n | 5\n | 6\n | 7\n | 8\n | 9\n | 10\n | 11\n | 12\n | 13\n | 14\n | 15\n | 16\n | 17\n | 18\n | 19\n | 20\n | 21\n | 22\n | 23\n | 24\n | 25\n | 26\n | 27\n | 28\n | 29\n | 30\n | 31\n | 32\n | 33\n | 34\n | 35\n | 36\n | 37\n | 38\n | 39\n | 40\n | 41\n | 42\n | 43\n | 44\n | 45\n | 46\n | 47\n | 48\n | 49\n | 50\n | 51\n | 52\n | 53\n | 54\n | 55\n | 56\n | 57\n | 58\n | 59\n | 60\n | 61\n | 62\n | 63\n | 64\n | 65\n | 66\n | 67\n | 68\n | 69\n | 70\n | 71\n | 72\n | 73\n | 74\n | 75\n | 76\n | 77\n | 78\n | 79\n | 80\n | 81\n | 82\n | 83\n | 84\n | 85\n | 86\n | 87\n | 88\n | 89\n | 90\n | 91\n | 92\n | 93\n | 94\n | 95\n | 96\n | 97\n | 98\n | 99\n | 100" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "sync", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!SleeveTask:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface SleeveTask " + } + ], + "releaseTag": "Public", + "name": "SleeveTask", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveTask#crime:member", + "docComment": "/**\n * crime currently attempting, if any\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "crime: " + }, + { + "kind": "Reference", + "text": "Crime", + "canonicalReference": "bitburner!Crime:type" + }, + { + "kind": "Content", + "text": " | \"\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "crime", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveTask#factionWorkType:member", + "docComment": "/**\n * faction work type being performed, if any\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "factionWorkType: " + }, + { + "kind": "Reference", + "text": "FactionWork", + "canonicalReference": "bitburner!FactionWork:type" + }, + { + "kind": "Content", + "text": " | \"\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "factionWorkType", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveTask#gymStatType:member", + "docComment": "/**\n * stat being trained at the gym, if any\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "gymStatType: " + }, + { + "kind": "Reference", + "text": "GymStat", + "canonicalReference": "bitburner!GymStat:type" + }, + { + "kind": "Content", + "text": " | \"\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "gymStatType", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveTask#location:member", + "docComment": "/**\n * location of the task, if any\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "location: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": " | \"\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "location", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveTask#task:member", + "docComment": "/**\n * task type\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "task: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "task", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!SleeveWorkGains:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface SleeveWorkGains " + } + ], + "releaseTag": "Public", + "name": "SleeveWorkGains", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workAgiExpGain:member", + "docComment": "/**\n * agility exp gained from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workAgiExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workAgiExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workChaExpGain:member", + "docComment": "/**\n * charisma exp gained from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workChaExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workChaExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workDefExpGain:member", + "docComment": "/**\n * defense exp gained from work,\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workDefExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workDefExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workDexExpGain:member", + "docComment": "/**\n * dexterity exp gained from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workDexExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workDexExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workHackExpGain:member", + "docComment": "/**\n * hacking exp gained from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workHackExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workHackExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workMoneyGain:member", + "docComment": "/**\n * money gained from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workMoneyGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workMoneyGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workStrExpGain:member", + "docComment": "/**\n * strength exp gained from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workStrExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workStrExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!SourceFileLvl:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface SourceFileLvl " + } + ], + "releaseTag": "Public", + "name": "SourceFileLvl", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SourceFileLvl#lvl:member", + "docComment": "/**\n * The level of the source file\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "lvl: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "lvl", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SourceFileLvl#n:member", + "docComment": "/**\n * The number of the source file\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "n: " + }, + { + "kind": "Content", + "text": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "n", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!StockOrder:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type StockOrder = " + }, + { + "kind": "Content", + "text": "{\n /** Stock Symbol */\n [key in " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "]?: " + }, + { + "kind": "Reference", + "text": "StockOrderObject", + "canonicalReference": "bitburner!StockOrderObject:interface" + }, + { + "kind": "Content", + "text": "[];\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "StockOrder", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 6 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!StockOrderObject:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface StockOrderObject " + } + ], + "releaseTag": "Public", + "name": "StockOrderObject", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!StockOrderObject#position:member", + "docComment": "/**\n * Order position\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "position: " + }, + { + "kind": "Content", + "text": "\"S\" | \"L\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "position", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!StockOrderObject#price:member", + "docComment": "/**\n * Price per share\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "price: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "price", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!StockOrderObject#shares:member", + "docComment": "/**\n * Number of shares\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "shares", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!StockOrderObject#type:member", + "docComment": "/**\n * Order type\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type: " + }, + { + "kind": "Content", + "text": "\"Limit Buy Order\" | \"Limit Sell Order\" | \"Stop Buy Order\" | \"Stop Buy Order\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "type", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!StockSymbol:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type StockSymbol =\n " + }, + { + "kind": "Content", + "text": "| \"ECP\"\n | \"MGCP\"\n | \"BLD\"\n | \"CLRK\"\n | \"OMTK\"\n | \"FSIG\"\n | \"KGI\"\n | \"FLCM\"\n | \"STM\"\n | \"DCOMM\"\n | \"HLS\"\n | \"VITA\"\n | \"ICRS\"\n | \"UNV\"\n | \"AERO\"\n | \"OMN\"\n | \"SLRS\"\n | \"GPH\"\n | \"NVMD\"\n | \"WDS\"\n | \"LXO\"\n | \"RHOC\"\n | \"APHE\"\n | \"SYSC\"\n | \"CTK\"\n | \"NTLK\"\n | \"OMGA\"\n | \"FNS\"\n | \"SGC\"\n | \"JGN\"\n | \"CTYS\"\n | \"MDYN\"\n | \"TITN\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "StockSymbol", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!TIX:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface TIX " + } + ], + "releaseTag": "Public", + "name": "TIX", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#buy:member(1)", + "docComment": "/**\n * Attempts to purchase shares of a stock using a Market Order.\n *\n * If the player does not have enough money to purchase the specified number of shares, then no shares will be purchased. Remember that every transaction on the stock exchange costs a certain commission fee.\n *\n * If this function successfully purchases the shares, it will return the stock price at which each share was purchased. Otherwise, it will return 0.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to purchased. Must be positive. Will be rounded to nearest integer.\n *\n * @returns The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "buy(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "buy" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#cancelOrder:member(1)", + "docComment": "/**\n * Cancels an oustanding Limit or Stop order on the stock market.\n *\n * The ability to use limit and stop orders is **not** immediately available to the player and must be unlocked later on in the game.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares for order. Must be positive. Will be rounded to nearest integer.\n *\n * @param price - Execution price for the order.\n *\n * @param type - Type of order.\n *\n * @param pos - Specifies whether the order is a “Long” or “Short” position.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "cancelOrder(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", price: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", type: " + }, + { + "kind": "Reference", + "text": "OrderType", + "canonicalReference": "bitburner!OrderType:type" + }, + { + "kind": "Content", + "text": ", pos: " + }, + { + "kind": "Reference", + "text": "OrderPos", + "canonicalReference": "bitburner!OrderPos:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "price", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + }, + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + } + }, + { + "parameterName": "pos", + "parameterTypeTokenRange": { + "startIndex": 9, + "endIndex": 10 + } + } + ], + "name": "cancelOrder" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getAskPrice:member(1)", + "docComment": "/**\n * Given a stock’s symbol (NOT the company name), returns the ask price of that stock. The symbol is a sequence of two to four capital letters.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns The ask price of a stock.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getAskPrice(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getAskPrice" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getBidPrice:member(1)", + "docComment": "/**\n * Given a stock’s symbol (NOT the company name), returns the bid price of that stock. The symbol is a sequence of two to four capital letters.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns The bid price of a stock.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getBidPrice(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getBidPrice" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getForecast:member(1)", + "docComment": "/**\n * Returns the probability that the specified stock’s price will increase (as opposed to decrease) during the next tick.\n *\n * The probability is returned as a decimal value, NOT a percentage (e.g. if a stock has a 60% chance of increasing, then this function will return 0.6, NOT 60).\n *\n * In other words, if this function returned 0.30 for a stock, then this means that the stock’s price has a 30% chance of increasing and a 70% chance of decreasing during the next tick.\n *\n * In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns Probability that the specified stock’s price will increase (as opposed to decrease) during the next tick.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getForecast(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getForecast" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getMaxShares:member(1)", + "docComment": "/**\n * Returns the maximum number of shares that the stock has. This is the maximum amount of the stock that can be purchased in both the Long and Short positions combined.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns Maximum number of shares that the stock has.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getMaxShares(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getMaxShares" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getOrders:member(1)", + "docComment": "/**\n * Returns your order book for the stock market.\n *\n * This is an object containing information for all the Limit and Stop Orders you have in the stock market. The object has the following structure:\n * ```js\n * {\n * StockSymbol1: [ // Array of orders for this stock\n * {\n * shares: Order quantity\n * price: Order price\n * type: Order type\n * position: Either \"L\" or \"S\" for Long or Short position\n * },\n * {\n * ...\n * },\n * ...\n * ],\n * StockSymbol2: [ // Array of orders for this stock\n * ...\n * ],\n * ...\n * }\n * ```\n *\n * The “Order type” property can have one of the following four values: * “Limit Buy Order” * “Limit Sell Order” * “Stop Buy Order” * “Stop Sell Order” Note that the order book will only contain information for stocks that you actually have orders in.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @returns Object containing information for all the Limit and Stop Orders you have in the stock market.\n *\n * @example\n * ```js\n * \"If you do not have orders in Nova Medical (NVMD), then the returned object will not have a “NVMD” property.\"\n * {\n * ECP: [\n * {\n * shares: 5,\n * price: 100,000\n * type: \"Stop Buy Order\",\n * position: \"S\",\n * },\n * {\n * shares: 25,\n * price: 125,000\n * type: \"Limit Sell Order\",\n * position: \"L\",\n * },\n * ],\n * SYSC: [\n * {\n * shares: 100,\n * price: 10,000\n * type: \"Limit Buy Order\",\n * position: \"L\",\n * },\n * ],\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getOrders(): " + }, + { + "kind": "Reference", + "text": "StockOrder", + "canonicalReference": "bitburner!StockOrder:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getOrders" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getPosition:member(1)", + "docComment": "/**\n * Returns an array of four elements that represents the player’s position in a stock.\n *\n * The first element is the returned array is the number of shares the player owns of the stock in the Long position. The second element in the array is the average price of the player’s shares in the Long position.\n *\n * The third element in the array is the number of shares the player owns of the stock in the Short position. The fourth element in the array is the average price of the player’s Short position.\n *\n * All elements in the returned array are numeric.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns Array of four elements that represents the player’s position in a stock.\n *\n * @example\n * ```js\n * pos = getPosition(\"ECP\");\n * shares = pos[0];\n * avgPx = pos[1];\n * sharesShort = pos[2];\n * avgPxShort = pos[3];\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPosition(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "[number, number, number, number]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getPosition" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getPrice:member(1)", + "docComment": "/**\n * Returns the price of a stock, given its symbol (NOT the company name). The symbol is a sequence of two to four capital letters.\n *\n * The stock’s price is the average of its bid and ask price\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns The price of a stock.\n *\n * @example\n * ```js\n * getPrice(\"FISG\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPrice(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getPrice" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getPurchaseCost:member(1)", + "docComment": "/**\n * Calculates and returns how much it would cost to buy a given number of shares of a stock. This takes into account spread, large transactions influencing the price of the stock and commission fees.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to purchase.\n *\n * @param posType - Specifies whether the order is a “Long” or “Short” position.\n *\n * @returns Cost to buy a given number of shares of a stock.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPurchaseCost(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", posType: " + }, + { + "kind": "Reference", + "text": "OrderPos", + "canonicalReference": "bitburner!OrderPos:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "posType", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getPurchaseCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getSaleGain:member(1)", + "docComment": "/**\n * Calculates and returns how much you would gain from selling a given number of shares of a stock. This takes into account spread, large transactions influencing the price of the stock and commission fees.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to sell.\n *\n * @param posType - Specifies whether the order is a “Long” or “Short” position.\n *\n * @returns Gain from selling a given number of shares of a stock.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSaleGain(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", posType: " + }, + { + "kind": "Reference", + "text": "OrderPos", + "canonicalReference": "bitburner!OrderPos:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "posType", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getSaleGain" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getSymbols:member(1)", + "docComment": "/**\n * Returns an array of the symbols of the tradable stocks\n *\n * @remarks\n *\n * 2 GB\n *\n * @returns Array of the symbols of the tradable stocks.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSymbols(): " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getSymbols" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getVolatility:member(1)", + "docComment": "/**\n * Returns the volatility of the specified stock.\n *\n * Volatility represents the maximum percentage by which a stock’s price can change every tick. The volatility is returned as a decimal value, NOT a percentage (e.g. if a stock has a volatility of 3%, then this function will return 0.03, NOT 3).\n *\n * In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns Volatility of the specified stock.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getVolatility(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getVolatility" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#placeOrder:member(1)", + "docComment": "/**\n * Places an order on the stock market. This function only works for Limit and Stop Orders.\n *\n * The ability to place limit and stop orders is **not** immediately available to the player and must be unlocked later on in the game.\n *\n * Returns true if the order is successfully placed, and false otherwise.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares for order. Must be positive. Will be rounded to nearest integer.\n *\n * @param price - Execution price for the order.\n *\n * @param type - Type of order.\n *\n * @param pos - Specifies whether the order is a “Long” or “Short” position.\n *\n * @returns True if the order is successfully placed, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "placeOrder(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", price: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", type: " + }, + { + "kind": "Reference", + "text": "OrderType", + "canonicalReference": "bitburner!OrderType:type" + }, + { + "kind": "Content", + "text": ", pos: " + }, + { + "kind": "Reference", + "text": "OrderPos", + "canonicalReference": "bitburner!OrderPos:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "price", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + }, + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + } + }, + { + "parameterName": "pos", + "parameterTypeTokenRange": { + "startIndex": 9, + "endIndex": 10 + } + } + ], + "name": "placeOrder" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#purchase4SMarketData:member(1)", + "docComment": "/**\n * Purchase 4S Market Data Access.\n *\n * Returns true if you successfully purchased it or if you already have access. Returns false otherwise.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @returns True if you successfully purchased it or if you already have access, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchase4SMarketData(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "purchase4SMarketData" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#purchase4SMarketDataTixApi:member(1)", + "docComment": "/**\n * Purchase 4S Market Data TIX API Access.\n *\n * Returns true if you successfully purchased it or if you already have access. Returns false otherwise.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @returns True if you successfully purchased it or if you already have access, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchase4SMarketDataTixApi(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "purchase4SMarketDataTixApi" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#sell:member(1)", + "docComment": "/**\n * Attempts to sell shares of a stock using a Market Order.\n *\n * If the specified number of shares in the function exceeds the amount that the player actually owns, then this function will sell all owned shares. Remember that every transaction on the stock exchange costs a certain commission fee.\n *\n * The net profit made from selling stocks with this function is reflected in the script’s statistics. This net profit is calculated as:\n *\n * shares * (sell_price - average_price_of_purchased_shares)\n *\n * If the sale is successful, this function will return the stock price at which each share was sold. Otherwise, it will return 0.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to sell. Must be positive. Will be rounded to nearest integer.\n *\n * @returns The stock price at which each share was sold, otherwise 0 if the shares weren't sold.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "sell(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "sell" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#sellShort:member(1)", + "docComment": "/**\n * Attempts to sell a short position of a stock using a Market Order.\n *\n * The ability to short a stock is **not** immediately available to the player and must be unlocked later on in the game.\n *\n * If the specified number of shares exceeds the amount that the player actually owns, then this function will sell all owned shares. Remember that every transaction on the stock exchange costs a certain commission fee.\n *\n * If the sale is successful, this function will return the stock price at which each share was sold. Otherwise it will return 0.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to sell. Must be positive. Will be rounded to nearest integer.\n *\n * @returns The stock price at which each share was sold, otherwise 0 if the shares weren't sold.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "sellShort(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "sellShort" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#short:member(1)", + "docComment": "/**\n * Attempts to purchase a short position of a stock using a Market Order.\n *\n * The ability to short a stock is **not** immediately available to the player and must be unlocked later on in the game.\n *\n * If the player does not have enough money to purchase the specified number of shares, then no shares will be purchased. Remember that every transaction on the stock exchange costs a certain commission fee.\n *\n * If the purchase is successful, this function will return the stock price at which each share was purchased. Otherwise, it will return 0.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to short. Must be positive. Will be rounded to nearest integer.\n *\n * @returns The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "short(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "short" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!University:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type University = " + }, + { + "kind": "Content", + "text": "\"Summit University\" | \"Rothman University\" | \"ZB Institute Of Technology\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "University", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!UniversityCourse:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "type UniversityCourse =\n " + }, + { + "kind": "Content", + "text": "| \"Study Computer Science\"\n | \"Data Strucures\"\n | \"Networks\"\n | \"Algorithms\"\n | \"Management\"\n | \"Leadership\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "UniversityCourse", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ] + } + ] +} diff --git a/markdown/bitburner.augmentationstats.agility_exp_mult.md b/markdown/bitburner.augmentationstats.agility_exp_mult.md new file mode 100644 index 000000000..cd4fdd78b --- /dev/null +++ b/markdown/bitburner.augmentationstats.agility_exp_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [agility\_exp\_mult](./bitburner.augmentationstats.agility_exp_mult.md) + +## AugmentationStats.agility\_exp\_mult property + +Multipler to agility experience gain rate + +Signature: + +```typescript +agility_exp_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.agility_mult.md b/markdown/bitburner.augmentationstats.agility_mult.md new file mode 100644 index 000000000..295432788 --- /dev/null +++ b/markdown/bitburner.augmentationstats.agility_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [agility\_mult](./bitburner.augmentationstats.agility_mult.md) + +## AugmentationStats.agility\_mult property + +Multipler to agility skill + +Signature: + +```typescript +agility_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.bladeburner_analysis_mult.md b/markdown/bitburner.augmentationstats.bladeburner_analysis_mult.md new file mode 100644 index 000000000..60512677e --- /dev/null +++ b/markdown/bitburner.augmentationstats.bladeburner_analysis_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [bladeburner\_analysis\_mult](./bitburner.augmentationstats.bladeburner_analysis_mult.md) + +## AugmentationStats.bladeburner\_analysis\_mult property + +Multipler to effectiveness in Bladeburner Field Analysis + +Signature: + +```typescript +bladeburner_analysis_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.bladeburner_max_stamina_mult.md b/markdown/bitburner.augmentationstats.bladeburner_max_stamina_mult.md new file mode 100644 index 000000000..4fc39f044 --- /dev/null +++ b/markdown/bitburner.augmentationstats.bladeburner_max_stamina_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [bladeburner\_max\_stamina\_mult](./bitburner.augmentationstats.bladeburner_max_stamina_mult.md) + +## AugmentationStats.bladeburner\_max\_stamina\_mult property + +Multipler to Bladeburner max stamina + +Signature: + +```typescript +bladeburner_max_stamina_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.bladeburner_stamina_gain_mult.md b/markdown/bitburner.augmentationstats.bladeburner_stamina_gain_mult.md new file mode 100644 index 000000000..5826b004b --- /dev/null +++ b/markdown/bitburner.augmentationstats.bladeburner_stamina_gain_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [bladeburner\_stamina\_gain\_mult](./bitburner.augmentationstats.bladeburner_stamina_gain_mult.md) + +## AugmentationStats.bladeburner\_stamina\_gain\_mult property + +Multipler to Bladeburner stamina gain rate + +Signature: + +```typescript +bladeburner_stamina_gain_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.bladeburner_success_chance_mult.md b/markdown/bitburner.augmentationstats.bladeburner_success_chance_mult.md new file mode 100644 index 000000000..854e28643 --- /dev/null +++ b/markdown/bitburner.augmentationstats.bladeburner_success_chance_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [bladeburner\_success\_chance\_mult](./bitburner.augmentationstats.bladeburner_success_chance_mult.md) + +## AugmentationStats.bladeburner\_success\_chance\_mult property + +Multipler to success chance in Bladeburner contracts/operations + +Signature: + +```typescript +bladeburner_success_chance_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.charisma_exp_mult.md b/markdown/bitburner.augmentationstats.charisma_exp_mult.md new file mode 100644 index 000000000..52b9eb5ab --- /dev/null +++ b/markdown/bitburner.augmentationstats.charisma_exp_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [charisma\_exp\_mult](./bitburner.augmentationstats.charisma_exp_mult.md) + +## AugmentationStats.charisma\_exp\_mult property + +Multipler to charisma experience gain rate + +Signature: + +```typescript +charisma_exp_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.charisma_mult.md b/markdown/bitburner.augmentationstats.charisma_mult.md new file mode 100644 index 000000000..19194d8b6 --- /dev/null +++ b/markdown/bitburner.augmentationstats.charisma_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [charisma\_mult](./bitburner.augmentationstats.charisma_mult.md) + +## AugmentationStats.charisma\_mult property + +Multipler to charisma skill + +Signature: + +```typescript +charisma_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.company_rep_mult.md b/markdown/bitburner.augmentationstats.company_rep_mult.md new file mode 100644 index 000000000..4c75ae56e --- /dev/null +++ b/markdown/bitburner.augmentationstats.company_rep_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [company\_rep\_mult](./bitburner.augmentationstats.company_rep_mult.md) + +## AugmentationStats.company\_rep\_mult property + +Multipler to amount of reputation gained when working + +Signature: + +```typescript +company_rep_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.crime_money_mult.md b/markdown/bitburner.augmentationstats.crime_money_mult.md new file mode 100644 index 000000000..7909912ba --- /dev/null +++ b/markdown/bitburner.augmentationstats.crime_money_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [crime\_money\_mult](./bitburner.augmentationstats.crime_money_mult.md) + +## AugmentationStats.crime\_money\_mult property + +Multipler to amount of money gained from crimes + +Signature: + +```typescript +crime_money_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.crime_success_mult.md b/markdown/bitburner.augmentationstats.crime_success_mult.md new file mode 100644 index 000000000..d7b3215f6 --- /dev/null +++ b/markdown/bitburner.augmentationstats.crime_success_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [crime\_success\_mult](./bitburner.augmentationstats.crime_success_mult.md) + +## AugmentationStats.crime\_success\_mult property + +Multipler to crime success rate + +Signature: + +```typescript +crime_success_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.defense_exp_mult.md b/markdown/bitburner.augmentationstats.defense_exp_mult.md new file mode 100644 index 000000000..ede435e1f --- /dev/null +++ b/markdown/bitburner.augmentationstats.defense_exp_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [defense\_exp\_mult](./bitburner.augmentationstats.defense_exp_mult.md) + +## AugmentationStats.defense\_exp\_mult property + +Multipler to defense experience gain rate + +Signature: + +```typescript +defense_exp_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.defense_mult.md b/markdown/bitburner.augmentationstats.defense_mult.md new file mode 100644 index 000000000..789554f79 --- /dev/null +++ b/markdown/bitburner.augmentationstats.defense_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [defense\_mult](./bitburner.augmentationstats.defense_mult.md) + +## AugmentationStats.defense\_mult property + +Multipler to defense skill + +Signature: + +```typescript +defense_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.dexterity_exp_mult.md b/markdown/bitburner.augmentationstats.dexterity_exp_mult.md new file mode 100644 index 000000000..f09300982 --- /dev/null +++ b/markdown/bitburner.augmentationstats.dexterity_exp_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [dexterity\_exp\_mult](./bitburner.augmentationstats.dexterity_exp_mult.md) + +## AugmentationStats.dexterity\_exp\_mult property + +Multipler to dexterity experience gain rate + +Signature: + +```typescript +dexterity_exp_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.dexterity_mult.md b/markdown/bitburner.augmentationstats.dexterity_mult.md new file mode 100644 index 000000000..374310f1c --- /dev/null +++ b/markdown/bitburner.augmentationstats.dexterity_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [dexterity\_mult](./bitburner.augmentationstats.dexterity_mult.md) + +## AugmentationStats.dexterity\_mult property + +Multipler to dexterity skill + +Signature: + +```typescript +dexterity_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.faction_rep_mult.md b/markdown/bitburner.augmentationstats.faction_rep_mult.md new file mode 100644 index 000000000..2bbd1121f --- /dev/null +++ b/markdown/bitburner.augmentationstats.faction_rep_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [faction\_rep\_mult](./bitburner.augmentationstats.faction_rep_mult.md) + +## AugmentationStats.faction\_rep\_mult property + +Multipler to amount of reputation gained when working + +Signature: + +```typescript +faction_rep_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.hacking_chance_mult.md b/markdown/bitburner.augmentationstats.hacking_chance_mult.md new file mode 100644 index 000000000..0b3c6df42 --- /dev/null +++ b/markdown/bitburner.augmentationstats.hacking_chance_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_chance\_mult](./bitburner.augmentationstats.hacking_chance_mult.md) + +## AugmentationStats.hacking\_chance\_mult property + +Multipler to chance of successfully performing a hack + +Signature: + +```typescript +hacking_chance_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.hacking_exp_mult.md b/markdown/bitburner.augmentationstats.hacking_exp_mult.md new file mode 100644 index 000000000..4042d76cd --- /dev/null +++ b/markdown/bitburner.augmentationstats.hacking_exp_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_exp\_mult](./bitburner.augmentationstats.hacking_exp_mult.md) + +## AugmentationStats.hacking\_exp\_mult property + +Multipler to hacking experience gain rate + +Signature: + +```typescript +hacking_exp_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.hacking_grow_mult.md b/markdown/bitburner.augmentationstats.hacking_grow_mult.md new file mode 100644 index 000000000..ebc51a928 --- /dev/null +++ b/markdown/bitburner.augmentationstats.hacking_grow_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_grow\_mult](./bitburner.augmentationstats.hacking_grow_mult.md) + +## AugmentationStats.hacking\_grow\_mult property + +Multipler to amount of money injected into servers using grow)} + +Signature: + +```typescript +hacking_grow_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.hacking_money_mult.md b/markdown/bitburner.augmentationstats.hacking_money_mult.md new file mode 100644 index 000000000..06bbf5e49 --- /dev/null +++ b/markdown/bitburner.augmentationstats.hacking_money_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_money\_mult](./bitburner.augmentationstats.hacking_money_mult.md) + +## AugmentationStats.hacking\_money\_mult property + +Multipler to amount of money the player gains from hacking + +Signature: + +```typescript +hacking_money_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.hacking_mult.md b/markdown/bitburner.augmentationstats.hacking_mult.md new file mode 100644 index 000000000..a4e1f479b --- /dev/null +++ b/markdown/bitburner.augmentationstats.hacking_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_mult](./bitburner.augmentationstats.hacking_mult.md) + +## AugmentationStats.hacking\_mult property + +Multipler to hacking skill + +Signature: + +```typescript +hacking_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.hacking_speed_mult.md b/markdown/bitburner.augmentationstats.hacking_speed_mult.md new file mode 100644 index 000000000..dff7b4e98 --- /dev/null +++ b/markdown/bitburner.augmentationstats.hacking_speed_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacking\_speed\_mult](./bitburner.augmentationstats.hacking_speed_mult.md) + +## AugmentationStats.hacking\_speed\_mult property + +Multipler to hacking speed + +Signature: + +```typescript +hacking_speed_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.hacknet_node_core_cost_mult.md b/markdown/bitburner.augmentationstats.hacknet_node_core_cost_mult.md new file mode 100644 index 000000000..f7a1b53e0 --- /dev/null +++ b/markdown/bitburner.augmentationstats.hacknet_node_core_cost_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_core\_cost\_mult](./bitburner.augmentationstats.hacknet_node_core_cost_mult.md) + +## AugmentationStats.hacknet\_node\_core\_cost\_mult property + +Multipler to cost of core for a Hacknet Node + +Signature: + +```typescript +hacknet_node_core_cost_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.hacknet_node_level_cost_mult.md b/markdown/bitburner.augmentationstats.hacknet_node_level_cost_mult.md new file mode 100644 index 000000000..6dc473e27 --- /dev/null +++ b/markdown/bitburner.augmentationstats.hacknet_node_level_cost_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_level\_cost\_mult](./bitburner.augmentationstats.hacknet_node_level_cost_mult.md) + +## AugmentationStats.hacknet\_node\_level\_cost\_mult property + +Multipler to cost of leveling up a Hacknet Node + +Signature: + +```typescript +hacknet_node_level_cost_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.hacknet_node_money_mult.md b/markdown/bitburner.augmentationstats.hacknet_node_money_mult.md new file mode 100644 index 000000000..17d754ab9 --- /dev/null +++ b/markdown/bitburner.augmentationstats.hacknet_node_money_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_money\_mult](./bitburner.augmentationstats.hacknet_node_money_mult.md) + +## AugmentationStats.hacknet\_node\_money\_mult property + +Multipler to amount of money produced by Hacknet Nodes + +Signature: + +```typescript +hacknet_node_money_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.hacknet_node_purchase_cost_mult.md b/markdown/bitburner.augmentationstats.hacknet_node_purchase_cost_mult.md new file mode 100644 index 000000000..a5512e433 --- /dev/null +++ b/markdown/bitburner.augmentationstats.hacknet_node_purchase_cost_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_purchase\_cost\_mult](./bitburner.augmentationstats.hacknet_node_purchase_cost_mult.md) + +## AugmentationStats.hacknet\_node\_purchase\_cost\_mult property + +Multipler to cost of purchasing a Hacknet Node + +Signature: + +```typescript +hacknet_node_purchase_cost_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.hacknet_node_ram_cost_mult.md b/markdown/bitburner.augmentationstats.hacknet_node_ram_cost_mult.md new file mode 100644 index 000000000..f216ac42d --- /dev/null +++ b/markdown/bitburner.augmentationstats.hacknet_node_ram_cost_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [hacknet\_node\_ram\_cost\_mult](./bitburner.augmentationstats.hacknet_node_ram_cost_mult.md) + +## AugmentationStats.hacknet\_node\_ram\_cost\_mult property + +Multipler to cost of ram for a Hacknet Node + +Signature: + +```typescript +hacknet_node_ram_cost_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.md b/markdown/bitburner.augmentationstats.md new file mode 100644 index 000000000..765aae957 --- /dev/null +++ b/markdown/bitburner.augmentationstats.md @@ -0,0 +1,48 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) + +## AugmentationStats interface + + +Signature: + +```typescript +interface AugmentationStats +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [agility\_exp\_mult?](./bitburner.augmentationstats.agility_exp_mult.md) | number | (Optional) Multipler to agility experience gain rate | +| [agility\_mult?](./bitburner.augmentationstats.agility_mult.md) | number | (Optional) Multipler to agility skill | +| [bladeburner\_analysis\_mult?](./bitburner.augmentationstats.bladeburner_analysis_mult.md) | number | (Optional) Multipler to effectiveness in Bladeburner Field Analysis | +| [bladeburner\_max\_stamina\_mult?](./bitburner.augmentationstats.bladeburner_max_stamina_mult.md) | number | (Optional) Multipler to Bladeburner max stamina | +| [bladeburner\_stamina\_gain\_mult?](./bitburner.augmentationstats.bladeburner_stamina_gain_mult.md) | number | (Optional) Multipler to Bladeburner stamina gain rate | +| [bladeburner\_success\_chance\_mult?](./bitburner.augmentationstats.bladeburner_success_chance_mult.md) | number | (Optional) Multipler to success chance in Bladeburner contracts/operations | +| [charisma\_exp\_mult?](./bitburner.augmentationstats.charisma_exp_mult.md) | number | (Optional) Multipler to charisma experience gain rate | +| [charisma\_mult?](./bitburner.augmentationstats.charisma_mult.md) | number | (Optional) Multipler to charisma skill | +| [company\_rep\_mult?](./bitburner.augmentationstats.company_rep_mult.md) | number | (Optional) Multipler to amount of reputation gained when working | +| [crime\_money\_mult?](./bitburner.augmentationstats.crime_money_mult.md) | number | (Optional) Multipler to amount of money gained from crimes | +| [crime\_success\_mult?](./bitburner.augmentationstats.crime_success_mult.md) | number | (Optional) Multipler to crime success rate | +| [defense\_exp\_mult?](./bitburner.augmentationstats.defense_exp_mult.md) | number | (Optional) Multipler to defense experience gain rate | +| [defense\_mult?](./bitburner.augmentationstats.defense_mult.md) | number | (Optional) Multipler to defense skill | +| [dexterity\_exp\_mult?](./bitburner.augmentationstats.dexterity_exp_mult.md) | number | (Optional) Multipler to dexterity experience gain rate | +| [dexterity\_mult?](./bitburner.augmentationstats.dexterity_mult.md) | number | (Optional) Multipler to dexterity skill | +| [faction\_rep\_mult?](./bitburner.augmentationstats.faction_rep_mult.md) | number | (Optional) Multipler to amount of reputation gained when working | +| [hacking\_chance\_mult?](./bitburner.augmentationstats.hacking_chance_mult.md) | number | (Optional) Multipler to chance of successfully performing a hack | +| [hacking\_exp\_mult?](./bitburner.augmentationstats.hacking_exp_mult.md) | number | (Optional) Multipler to hacking experience gain rate | +| [hacking\_grow\_mult?](./bitburner.augmentationstats.hacking_grow_mult.md) | number | (Optional) Multipler to amount of money injected into servers using grow)} | +| [hacking\_money\_mult?](./bitburner.augmentationstats.hacking_money_mult.md) | number | (Optional) Multipler to amount of money the player gains from hacking | +| [hacking\_mult?](./bitburner.augmentationstats.hacking_mult.md) | number | (Optional) Multipler to hacking skill | +| [hacking\_speed\_mult?](./bitburner.augmentationstats.hacking_speed_mult.md) | number | (Optional) Multipler to hacking speed | +| [hacknet\_node\_core\_cost\_mult?](./bitburner.augmentationstats.hacknet_node_core_cost_mult.md) | number | (Optional) Multipler to cost of core for a Hacknet Node | +| [hacknet\_node\_level\_cost\_mult?](./bitburner.augmentationstats.hacknet_node_level_cost_mult.md) | number | (Optional) Multipler to cost of leveling up a Hacknet Node | +| [hacknet\_node\_money\_mult?](./bitburner.augmentationstats.hacknet_node_money_mult.md) | number | (Optional) Multipler to amount of money produced by Hacknet Nodes | +| [hacknet\_node\_purchase\_cost\_mult?](./bitburner.augmentationstats.hacknet_node_purchase_cost_mult.md) | number | (Optional) Multipler to cost of purchasing a Hacknet Node | +| [hacknet\_node\_ram\_cost\_mult?](./bitburner.augmentationstats.hacknet_node_ram_cost_mult.md) | number | (Optional) Multipler to cost of ram for a Hacknet Node | +| [strength\_exp\_mult?](./bitburner.augmentationstats.strength_exp_mult.md) | number | (Optional) Multipler to strength experience gain rate | +| [strength\_mult?](./bitburner.augmentationstats.strength_mult.md) | number | (Optional) Multipler to strength skill | +| [work\_money\_mult?](./bitburner.augmentationstats.work_money_mult.md) | number | (Optional) Multipler to amount of money gained from working | + diff --git a/markdown/bitburner.augmentationstats.strength_exp_mult.md b/markdown/bitburner.augmentationstats.strength_exp_mult.md new file mode 100644 index 000000000..1a592c8be --- /dev/null +++ b/markdown/bitburner.augmentationstats.strength_exp_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [strength\_exp\_mult](./bitburner.augmentationstats.strength_exp_mult.md) + +## AugmentationStats.strength\_exp\_mult property + +Multipler to strength experience gain rate + +Signature: + +```typescript +strength_exp_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.strength_mult.md b/markdown/bitburner.augmentationstats.strength_mult.md new file mode 100644 index 000000000..5bcd49885 --- /dev/null +++ b/markdown/bitburner.augmentationstats.strength_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [strength\_mult](./bitburner.augmentationstats.strength_mult.md) + +## AugmentationStats.strength\_mult property + +Multipler to strength skill + +Signature: + +```typescript +strength_mult?: number; +``` diff --git a/markdown/bitburner.augmentationstats.work_money_mult.md b/markdown/bitburner.augmentationstats.work_money_mult.md new file mode 100644 index 000000000..557f491d8 --- /dev/null +++ b/markdown/bitburner.augmentationstats.work_money_mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentationStats](./bitburner.augmentationstats.md) > [work\_money\_mult](./bitburner.augmentationstats.work_money_mult.md) + +## AugmentationStats.work\_money\_mult property + +Multipler to amount of money gained from working + +Signature: + +```typescript +work_money_mult?: number; +``` diff --git a/markdown/bitburner.augmentname.md b/markdown/bitburner.augmentname.md new file mode 100644 index 000000000..a5ab4d07f --- /dev/null +++ b/markdown/bitburner.augmentname.md @@ -0,0 +1,116 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentName](./bitburner.augmentname.md) + +## AugmentName type + +Signature: + +```typescript +type AugmentName = + | "Augmented Targeting I" + | "Augmented Targeting II" + | "Augmented Targeting III" + | "Synthetic Heart" + | "Synfibril Muscle" + | "Combat Rib I" + | "Combat Rib II" + | "Combat Rib III" + | "Nanofiber Weave" + | "NEMEAN Subdermal Weave" + | "Wired Reflexes" + | "Graphene Bone Lacings" + | "Bionic Spine" + | "Graphene Bionic Spine Upgrade" + | "Bionic Legs" + | "Graphene Bionic Legs Upgrade" + | "Speech Processor Implant" + | "TITN-41 Gene-Modification Injection" + | "Enhanced Social Interaction Implant" + | "BitWire" + | "Artificial Bio-neural Network Implant" + | "Artificial Synaptic Potentiation" + | "Enhanced Myelin Sheathing" + | "Synaptic Enhancement Implant" + | "Neural-Retention Enhancement" + | "DataJack" + | "Embedded Netburner Module" + | "Embedded Netburner Module Core Implant" + | "Embedded Netburner Module Core V2 Upgrade" + | "Embedded Netburner Module Core V3 Upgrade" + | "Embedded Netburner Module Analyze Engine" + | "Embedded Netburner Module Direct Memory Access Upgrade" + | "Neuralstimulator" + | "Neural Accelerator" + | "Cranial Signal Processors - Gen I" + | "Cranial Signal Processors - Gen II" + | "Cranial Signal Processors - Gen III" + | "Cranial Signal Processors - Gen IV" + | "Cranial Signal Processors - Gen V" + | "Neuronal Densification" + | "Nuoptimal Nootropic Injector Implant" + | "Speech Enhancement" + | "FocusWire" + | "PC Direct-Neural Interface" + | "PC Direct-Neural Interface Optimization Submodule" + | "PC Direct-Neural Interface NeuroNet Injector" + | "ADR-V1 Pheromone Gene" + | "ADR-V2 Pheromone Gene" + | "The Shadow's Simulacrum" + | "Hacknet Node CPU Architecture Neural-Upload" + | "Hacknet Node Cache Architecture Neural-Upload" + | "Hacknet Node NIC Architecture Neural-Upload" + | "Hacknet Node Kernel Direct-Neural Interface" + | "Hacknet Node Core Direct-Neural Interface" + | "NeuroFlux Governor" + | "Neurotrainer I" + | "Neurotrainer II" + | "Neurotrainer III" + | "HyperSight Corneal Implant" + | "LuminCloaking-V1 Skin Implant" + | "LuminCloaking-V2 Skin Implant" + | "HemoRecirculator" + | "SmartSonar Implant" + | "Power Recirculation Core" + | "QLink" + | "The Red Pill" + | "SPTN-97 Gene Modification" + | "ECorp HVMind Implant" + | "CordiARC Fusion Reactor" + | "SmartJaw" + | "Neotra" + | "Xanipher" + | "nextSENS Gene Modification" + | "OmniTek InfoLoad" + | "Photosynthetic Cells" + | "BitRunners Neurolink" + | "The Black Hand" + | "CRTX42-AA Gene Modification" + | "Neuregen Gene Modification" + | "CashRoot Starter Kit" + | "NutriGen Implant" + | "INFRARET Enhancement" + | "DermaForce Particle Barrier" + | "Graphene BranchiBlades Upgrade" + | "Graphene Bionic Arms Upgrade" + | "BrachiBlades" + | "Bionic Arms" + | "Social Negotiation Assistant (S.N.A)" + | "EsperTech Bladeburner Eyewear" + | "EMS-4 Recombination" + | "ORION-MKIV Shoulder" + | "Hyperion Plasma Cannon V1" + | "Hyperion Plasma Cannon V2" + | "GOLEM Serum" + | "Vangelis Virus" + | "Vangelis Virus 3.0" + | "I.N.T.E.R.L.I.N.K.E.D" + | "Blade's Runners" + | "BLADE-51b Tesla Armor" + | "BLADE-51b Tesla Armor: Power Cells Upgrade" + | "BLADE-51b Tesla Armor: Energy Shielding Upgrade" + | "BLADE-51b Tesla Armor: Unibeam Upgrade" + | "BLADE-51b Tesla Armor: Omnibeam Upgrade" + | "BLADE-51b Tesla Armor: IPU Upgrade" + | "The Blade's Simulacrum"; +``` diff --git a/markdown/bitburner.augmentpair.cost.md b/markdown/bitburner.augmentpair.cost.md new file mode 100644 index 000000000..f165f095b --- /dev/null +++ b/markdown/bitburner.augmentpair.cost.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentPair](./bitburner.augmentpair.md) > [cost](./bitburner.augmentpair.cost.md) + +## AugmentPair.cost property + +augmentation cost + +Signature: + +```typescript +cost: number; +``` diff --git a/markdown/bitburner.augmentpair.md b/markdown/bitburner.augmentpair.md new file mode 100644 index 000000000..9c78fab82 --- /dev/null +++ b/markdown/bitburner.augmentpair.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentPair](./bitburner.augmentpair.md) + +## AugmentPair interface + + +Signature: + +```typescript +interface AugmentPair +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [cost](./bitburner.augmentpair.cost.md) | number | augmentation cost | +| [name](./bitburner.augmentpair.name.md) | [AugmentName](./bitburner.augmentname.md) | augmentation name | + diff --git a/markdown/bitburner.augmentpair.name.md b/markdown/bitburner.augmentpair.name.md new file mode 100644 index 000000000..60513dff8 --- /dev/null +++ b/markdown/bitburner.augmentpair.name.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [AugmentPair](./bitburner.augmentpair.md) > [name](./bitburner.augmentpair.name.md) + +## AugmentPair.name property + +augmentation name + +Signature: + +```typescript +name: AugmentName; +``` diff --git a/markdown/bitburner.basichgwoptions.md b/markdown/bitburner.basichgwoptions.md new file mode 100644 index 000000000..e80942844 --- /dev/null +++ b/markdown/bitburner.basichgwoptions.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BasicHGWOptions](./bitburner.basichgwoptions.md) + +## BasicHGWOptions interface + + +Signature: + +```typescript +interface BasicHGWOptions +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [threads](./bitburner.basichgwoptions.threads.md) | number | Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. | + diff --git a/markdown/bitburner.basichgwoptions.threads.md b/markdown/bitburner.basichgwoptions.threads.md new file mode 100644 index 000000000..e80785bae --- /dev/null +++ b/markdown/bitburner.basichgwoptions.threads.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BasicHGWOptions](./bitburner.basichgwoptions.md) > [threads](./bitburner.basichgwoptions.threads.md) + +## BasicHGWOptions.threads property + +Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. + +Signature: + +```typescript +threads: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.agilitylevelmultiplier.md b/markdown/bitburner.bitnodemultipliers.agilitylevelmultiplier.md new file mode 100644 index 000000000..c142d8512 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.agilitylevelmultiplier.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [AgilityLevelMultiplier](./bitburner.bitnodemultipliers.agilitylevelmultiplier.md) + +## BitNodeMultipliers.AgilityLevelMultiplier property + +Influences how quickly the player's agility level (not exp) scales + +Signature: + +```typescript +AgilityLevelMultiplier: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.augmentationmoneycost.md b/markdown/bitburner.bitnodemultipliers.augmentationmoneycost.md new file mode 100644 index 000000000..ef89b6397 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.augmentationmoneycost.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [AugmentationMoneyCost](./bitburner.bitnodemultipliers.augmentationmoneycost.md) + +## BitNodeMultipliers.AugmentationMoneyCost property + +Influences the base cost to purchase an augmentation. + +Signature: + +```typescript +AugmentationMoneyCost: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.augmentationrepcost.md b/markdown/bitburner.bitnodemultipliers.augmentationrepcost.md new file mode 100644 index 000000000..4022dede5 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.augmentationrepcost.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [AugmentationRepCost](./bitburner.bitnodemultipliers.augmentationrepcost.md) + +## BitNodeMultipliers.AugmentationRepCost property + +Influences the base rep the player must have with a faction to purchase an augmentation. + +Signature: + +```typescript +AugmentationRepCost: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.bladeburnerrank.md b/markdown/bitburner.bitnodemultipliers.bladeburnerrank.md new file mode 100644 index 000000000..32493fb37 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.bladeburnerrank.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [BladeburnerRank](./bitburner.bitnodemultipliers.bladeburnerrank.md) + +## BitNodeMultipliers.BladeburnerRank property + +Influences how quickly the player can gain rank within Bladeburner. + +Signature: + +```typescript +BladeburnerRank: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.bladeburnerskillcost.md b/markdown/bitburner.bitnodemultipliers.bladeburnerskillcost.md new file mode 100644 index 000000000..cd881ac4b --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.bladeburnerskillcost.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [BladeburnerSkillCost](./bitburner.bitnodemultipliers.bladeburnerskillcost.md) + +## BitNodeMultipliers.BladeburnerSkillCost property + +Influences the cost of skill levels from Bladeburner. + +Signature: + +```typescript +BladeburnerSkillCost: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.charismalevelmultiplier.md b/markdown/bitburner.bitnodemultipliers.charismalevelmultiplier.md new file mode 100644 index 000000000..9b1baa72d --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.charismalevelmultiplier.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [CharismaLevelMultiplier](./bitburner.bitnodemultipliers.charismalevelmultiplier.md) + +## BitNodeMultipliers.CharismaLevelMultiplier property + +Influences how quickly the player's charisma level (not exp) scales + +Signature: + +```typescript +CharismaLevelMultiplier: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.classgymexpgain.md b/markdown/bitburner.bitnodemultipliers.classgymexpgain.md new file mode 100644 index 000000000..91cfa80cb --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.classgymexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [ClassGymExpGain](./bitburner.bitnodemultipliers.classgymexpgain.md) + +## BitNodeMultipliers.ClassGymExpGain property + +Influences the experience gained for each ability when a player completes a class. + +Signature: + +```typescript +ClassGymExpGain: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.codingcontractmoney.md b/markdown/bitburner.bitnodemultipliers.codingcontractmoney.md new file mode 100644 index 000000000..dab83a4f6 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.codingcontractmoney.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [CodingContractMoney](./bitburner.bitnodemultipliers.codingcontractmoney.md) + +## BitNodeMultipliers.CodingContractMoney property + +Influences the amount of money gained from completing Coding Contracts + +Signature: + +```typescript +CodingContractMoney: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.companyworkexpgain.md b/markdown/bitburner.bitnodemultipliers.companyworkexpgain.md new file mode 100644 index 000000000..d24fed4b2 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.companyworkexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [CompanyWorkExpGain](./bitburner.bitnodemultipliers.companyworkexpgain.md) + +## BitNodeMultipliers.CompanyWorkExpGain property + +Influences the experience gained for each ability when the player completes working their job. + +Signature: + +```typescript +CompanyWorkExpGain: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.companyworkmoney.md b/markdown/bitburner.bitnodemultipliers.companyworkmoney.md new file mode 100644 index 000000000..be534d6c3 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.companyworkmoney.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [CompanyWorkMoney](./bitburner.bitnodemultipliers.companyworkmoney.md) + +## BitNodeMultipliers.CompanyWorkMoney property + +Influences how much money the player earns when completing working their job. + +Signature: + +```typescript +CompanyWorkMoney: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.corporationvaluation.md b/markdown/bitburner.bitnodemultipliers.corporationvaluation.md new file mode 100644 index 000000000..b9be862b8 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.corporationvaluation.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [CorporationValuation](./bitburner.bitnodemultipliers.corporationvaluation.md) + +## BitNodeMultipliers.CorporationValuation property + +Influences the valuation of corporations created by the player. + +Signature: + +```typescript +CorporationValuation: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.crimeexpgain.md b/markdown/bitburner.bitnodemultipliers.crimeexpgain.md new file mode 100644 index 000000000..472819f16 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.crimeexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [CrimeExpGain](./bitburner.bitnodemultipliers.crimeexpgain.md) + +## BitNodeMultipliers.CrimeExpGain property + +Influences the base experience gained for each ability when the player commits a crime. + +Signature: + +```typescript +CrimeExpGain: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.crimemoney.md b/markdown/bitburner.bitnodemultipliers.crimemoney.md new file mode 100644 index 000000000..c3fffbdac --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.crimemoney.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [CrimeMoney](./bitburner.bitnodemultipliers.crimemoney.md) + +## BitNodeMultipliers.CrimeMoney property + +Influences the base money gained when the player commits a crime. + +Signature: + +```typescript +CrimeMoney: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.daedalusaugsrequirement.md b/markdown/bitburner.bitnodemultipliers.daedalusaugsrequirement.md new file mode 100644 index 000000000..b16ad9a81 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.daedalusaugsrequirement.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [DaedalusAugsRequirement](./bitburner.bitnodemultipliers.daedalusaugsrequirement.md) + +## BitNodeMultipliers.DaedalusAugsRequirement property + +Influences how many Augmentations you need in order to get invited to the Daedalus faction + +Signature: + +```typescript +DaedalusAugsRequirement: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.defenselevelmultiplier.md b/markdown/bitburner.bitnodemultipliers.defenselevelmultiplier.md new file mode 100644 index 000000000..6ae574d3c --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.defenselevelmultiplier.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [DefenseLevelMultiplier](./bitburner.bitnodemultipliers.defenselevelmultiplier.md) + +## BitNodeMultipliers.DefenseLevelMultiplier property + +Influences how quickly the player's defense level (not exp) scales + +Signature: + +```typescript +DefenseLevelMultiplier: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.dexteritylevelmultiplier.md b/markdown/bitburner.bitnodemultipliers.dexteritylevelmultiplier.md new file mode 100644 index 000000000..2d1c6f2db --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.dexteritylevelmultiplier.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [DexterityLevelMultiplier](./bitburner.bitnodemultipliers.dexteritylevelmultiplier.md) + +## BitNodeMultipliers.DexterityLevelMultiplier property + +Influences how quickly the player's dexterity level (not exp) scales + +Signature: + +```typescript +DexterityLevelMultiplier: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.factionpassiverepgain.md b/markdown/bitburner.bitnodemultipliers.factionpassiverepgain.md new file mode 100644 index 000000000..0ae7112d6 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.factionpassiverepgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [FactionPassiveRepGain](./bitburner.bitnodemultipliers.factionpassiverepgain.md) + +## BitNodeMultipliers.FactionPassiveRepGain property + +Influences how much rep the player gains in each faction simply by being a member. + +Signature: + +```typescript +FactionPassiveRepGain: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.factionworkexpgain.md b/markdown/bitburner.bitnodemultipliers.factionworkexpgain.md new file mode 100644 index 000000000..0c248a1b9 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.factionworkexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [FactionWorkExpGain](./bitburner.bitnodemultipliers.factionworkexpgain.md) + +## BitNodeMultipliers.FactionWorkExpGain property + +Influences the experience gained for each ability when the player completes work for a Faction. + +Signature: + +```typescript +FactionWorkExpGain: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.factionworkrepgain.md b/markdown/bitburner.bitnodemultipliers.factionworkrepgain.md new file mode 100644 index 000000000..7de8b0d31 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.factionworkrepgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [FactionWorkRepGain](./bitburner.bitnodemultipliers.factionworkrepgain.md) + +## BitNodeMultipliers.FactionWorkRepGain property + +Influences how much rep the player gains when performing work for a faction. + +Signature: + +```typescript +FactionWorkRepGain: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.foursigmamarketdataapicost.md b/markdown/bitburner.bitnodemultipliers.foursigmamarketdataapicost.md new file mode 100644 index 000000000..640bc066a --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.foursigmamarketdataapicost.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [FourSigmaMarketDataApiCost](./bitburner.bitnodemultipliers.foursigmamarketdataapicost.md) + +## BitNodeMultipliers.FourSigmaMarketDataApiCost property + +Influences how much it costs to unlock the stock market's 4S Market Data API + +Signature: + +```typescript +FourSigmaMarketDataApiCost: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.foursigmamarketdatacost.md b/markdown/bitburner.bitnodemultipliers.foursigmamarketdatacost.md new file mode 100644 index 000000000..781f09ad3 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.foursigmamarketdatacost.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [FourSigmaMarketDataCost](./bitburner.bitnodemultipliers.foursigmamarketdatacost.md) + +## BitNodeMultipliers.FourSigmaMarketDataCost property + +Influences how much it costs to unlock the stock market's 4S Market Data (NOT API) + +Signature: + +```typescript +FourSigmaMarketDataCost: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.hackexpgain.md b/markdown/bitburner.bitnodemultipliers.hackexpgain.md new file mode 100644 index 000000000..b31f69168 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.hackexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [HackExpGain](./bitburner.bitnodemultipliers.hackexpgain.md) + +## BitNodeMultipliers.HackExpGain property + +Influences the experienced gained when hacking a server. + +Signature: + +```typescript +HackExpGain: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.hackinglevelmultiplier.md b/markdown/bitburner.bitnodemultipliers.hackinglevelmultiplier.md new file mode 100644 index 000000000..ae7779522 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.hackinglevelmultiplier.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [HackingLevelMultiplier](./bitburner.bitnodemultipliers.hackinglevelmultiplier.md) + +## BitNodeMultipliers.HackingLevelMultiplier property + +Influences how quickly the player's hacking level (not experience) scales + +Signature: + +```typescript +HackingLevelMultiplier: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.hacknetnodemoney.md b/markdown/bitburner.bitnodemultipliers.hacknetnodemoney.md new file mode 100644 index 000000000..314143a8f --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.hacknetnodemoney.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [HacknetNodeMoney](./bitburner.bitnodemultipliers.hacknetnodemoney.md) + +## BitNodeMultipliers.HacknetNodeMoney property + +Influences how much money is produced by Hacknet Nodes and the hash rate of Hacknet Servers (unlocked in BitNode-9) + +Signature: + +```typescript +HacknetNodeMoney: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.homecomputerramcost.md b/markdown/bitburner.bitnodemultipliers.homecomputerramcost.md new file mode 100644 index 000000000..b911069be --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.homecomputerramcost.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [HomeComputerRamCost](./bitburner.bitnodemultipliers.homecomputerramcost.md) + +## BitNodeMultipliers.HomeComputerRamCost property + +Influences how much money it costs to upgrade your home computer's RAM + +Signature: + +```typescript +HomeComputerRamCost: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.infiltrationmoney.md b/markdown/bitburner.bitnodemultipliers.infiltrationmoney.md new file mode 100644 index 000000000..60a00b135 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.infiltrationmoney.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [InfiltrationMoney](./bitburner.bitnodemultipliers.infiltrationmoney.md) + +## BitNodeMultipliers.InfiltrationMoney property + +Influences how much money is gained when the player infiltrates a company. + +Signature: + +```typescript +InfiltrationMoney: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.infiltrationrep.md b/markdown/bitburner.bitnodemultipliers.infiltrationrep.md new file mode 100644 index 000000000..7c357559c --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.infiltrationrep.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [InfiltrationRep](./bitburner.bitnodemultipliers.infiltrationrep.md) + +## BitNodeMultipliers.InfiltrationRep property + +Influences how much rep the player can gain from factions when selling stolen documents and secrets + +Signature: + +```typescript +InfiltrationRep: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.manualhackmoney.md b/markdown/bitburner.bitnodemultipliers.manualhackmoney.md new file mode 100644 index 000000000..ed941abf9 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.manualhackmoney.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [ManualHackMoney](./bitburner.bitnodemultipliers.manualhackmoney.md) + +## BitNodeMultipliers.ManualHackMoney property + +Influences how much money can be stolen from a server when the player performs a hack against it through the Terminal. + +Signature: + +```typescript +ManualHackMoney: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.md b/markdown/bitburner.bitnodemultipliers.md new file mode 100644 index 000000000..8a3c63a14 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.md @@ -0,0 +1,57 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) + +## BitNodeMultipliers interface + + +Signature: + +```typescript +interface BitNodeMultipliers +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [AgilityLevelMultiplier](./bitburner.bitnodemultipliers.agilitylevelmultiplier.md) | number | Influences how quickly the player's agility level (not exp) scales | +| [AugmentationMoneyCost](./bitburner.bitnodemultipliers.augmentationmoneycost.md) | number | Influences the base cost to purchase an augmentation. | +| [AugmentationRepCost](./bitburner.bitnodemultipliers.augmentationrepcost.md) | number | Influences the base rep the player must have with a faction to purchase an augmentation. | +| [BladeburnerRank](./bitburner.bitnodemultipliers.bladeburnerrank.md) | number | Influences how quickly the player can gain rank within Bladeburner. | +| [BladeburnerSkillCost](./bitburner.bitnodemultipliers.bladeburnerskillcost.md) | number | Influences the cost of skill levels from Bladeburner. | +| [CharismaLevelMultiplier](./bitburner.bitnodemultipliers.charismalevelmultiplier.md) | number | Influences how quickly the player's charisma level (not exp) scales | +| [ClassGymExpGain](./bitburner.bitnodemultipliers.classgymexpgain.md) | number | Influences the experience gained for each ability when a player completes a class. | +| [CodingContractMoney](./bitburner.bitnodemultipliers.codingcontractmoney.md) | number | Influences the amount of money gained from completing Coding Contracts | +| [CompanyWorkExpGain](./bitburner.bitnodemultipliers.companyworkexpgain.md) | number | Influences the experience gained for each ability when the player completes working their job. | +| [CompanyWorkMoney](./bitburner.bitnodemultipliers.companyworkmoney.md) | number | Influences how much money the player earns when completing working their job. | +| [CorporationValuation](./bitburner.bitnodemultipliers.corporationvaluation.md) | number | Influences the valuation of corporations created by the player. | +| [CrimeExpGain](./bitburner.bitnodemultipliers.crimeexpgain.md) | number | Influences the base experience gained for each ability when the player commits a crime. | +| [CrimeMoney](./bitburner.bitnodemultipliers.crimemoney.md) | number | Influences the base money gained when the player commits a crime. | +| [DaedalusAugsRequirement](./bitburner.bitnodemultipliers.daedalusaugsrequirement.md) | number | Influences how many Augmentations you need in order to get invited to the Daedalus faction | +| [DefenseLevelMultiplier](./bitburner.bitnodemultipliers.defenselevelmultiplier.md) | number | Influences how quickly the player's defense level (not exp) scales | +| [DexterityLevelMultiplier](./bitburner.bitnodemultipliers.dexteritylevelmultiplier.md) | number | Influences how quickly the player's dexterity level (not exp) scales | +| [FactionPassiveRepGain](./bitburner.bitnodemultipliers.factionpassiverepgain.md) | number | Influences how much rep the player gains in each faction simply by being a member. | +| [FactionWorkExpGain](./bitburner.bitnodemultipliers.factionworkexpgain.md) | number | Influences the experience gained for each ability when the player completes work for a Faction. | +| [FactionWorkRepGain](./bitburner.bitnodemultipliers.factionworkrepgain.md) | number | Influences how much rep the player gains when performing work for a faction. | +| [FourSigmaMarketDataApiCost](./bitburner.bitnodemultipliers.foursigmamarketdataapicost.md) | number | Influences how much it costs to unlock the stock market's 4S Market Data API | +| [FourSigmaMarketDataCost](./bitburner.bitnodemultipliers.foursigmamarketdatacost.md) | number | Influences how much it costs to unlock the stock market's 4S Market Data (NOT API) | +| [HackExpGain](./bitburner.bitnodemultipliers.hackexpgain.md) | number | Influences the experienced gained when hacking a server. | +| [HackingLevelMultiplier](./bitburner.bitnodemultipliers.hackinglevelmultiplier.md) | number | Influences how quickly the player's hacking level (not experience) scales | +| [HacknetNodeMoney](./bitburner.bitnodemultipliers.hacknetnodemoney.md) | number | Influences how much money is produced by Hacknet Nodes and the hash rate of Hacknet Servers (unlocked in BitNode-9) | +| [HomeComputerRamCost](./bitburner.bitnodemultipliers.homecomputerramcost.md) | number | Influences how much money it costs to upgrade your home computer's RAM | +| [InfiltrationMoney](./bitburner.bitnodemultipliers.infiltrationmoney.md) | number | Influences how much money is gained when the player infiltrates a company. | +| [InfiltrationRep](./bitburner.bitnodemultipliers.infiltrationrep.md) | number | Influences how much rep the player can gain from factions when selling stolen documents and secrets | +| [ManualHackMoney](./bitburner.bitnodemultipliers.manualhackmoney.md) | number | Influences how much money can be stolen from a server when the player performs a hack against it through the Terminal. | +| [PurchasedServerCost](./bitburner.bitnodemultipliers.purchasedservercost.md) | number | Influence how much it costs to purchase a server | +| [PurchasedServerLimit](./bitburner.bitnodemultipliers.purchasedserverlimit.md) | number | Influences the maximum number of purchased servers you can have | +| [PurchasedServerMaxRam](./bitburner.bitnodemultipliers.purchasedservermaxram.md) | number | Influences the maximum allowed RAM for a purchased server | +| [RepToDonateToFaction](./bitburner.bitnodemultipliers.reptodonatetofaction.md) | number | Influences the minimum favor the player must have with a faction before they can donate to gain rep. | +| [ScriptHackMoney](./bitburner.bitnodemultipliers.scripthackmoney.md) | number | Influences how much money can be stolen from a server when a script performs a hack against it. | +| [ServerGrowthRate](./bitburner.bitnodemultipliers.servergrowthrate.md) | number | Influences the growth percentage per cycle against a server. | +| [ServerMaxMoney](./bitburner.bitnodemultipliers.servermaxmoney.md) | number | Influences the maxmimum money that a server can grow to. | +| [ServerStartingMoney](./bitburner.bitnodemultipliers.serverstartingmoney.md) | number | Influences the initial money that a server starts with. | +| [ServerStartingSecurity](./bitburner.bitnodemultipliers.serverstartingsecurity.md) | number | Influences the initial security level (hackDifficulty) of a server. | +| [ServerWeakenRate](./bitburner.bitnodemultipliers.serverweakenrate.md) | number | Influences the weaken amount per invocation against a server. | +| [StrengthLevelMultiplier](./bitburner.bitnodemultipliers.strengthlevelmultiplier.md) | number | Influences how quickly the player's strength level (not exp) scales | + diff --git a/markdown/bitburner.bitnodemultipliers.purchasedservercost.md b/markdown/bitburner.bitnodemultipliers.purchasedservercost.md new file mode 100644 index 000000000..3881f4ba7 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.purchasedservercost.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [PurchasedServerCost](./bitburner.bitnodemultipliers.purchasedservercost.md) + +## BitNodeMultipliers.PurchasedServerCost property + +Influence how much it costs to purchase a server + +Signature: + +```typescript +PurchasedServerCost: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.purchasedserverlimit.md b/markdown/bitburner.bitnodemultipliers.purchasedserverlimit.md new file mode 100644 index 000000000..fdaf15067 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.purchasedserverlimit.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [PurchasedServerLimit](./bitburner.bitnodemultipliers.purchasedserverlimit.md) + +## BitNodeMultipliers.PurchasedServerLimit property + +Influences the maximum number of purchased servers you can have + +Signature: + +```typescript +PurchasedServerLimit: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.purchasedservermaxram.md b/markdown/bitburner.bitnodemultipliers.purchasedservermaxram.md new file mode 100644 index 000000000..91913734c --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.purchasedservermaxram.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [PurchasedServerMaxRam](./bitburner.bitnodemultipliers.purchasedservermaxram.md) + +## BitNodeMultipliers.PurchasedServerMaxRam property + +Influences the maximum allowed RAM for a purchased server + +Signature: + +```typescript +PurchasedServerMaxRam: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.reptodonatetofaction.md b/markdown/bitburner.bitnodemultipliers.reptodonatetofaction.md new file mode 100644 index 000000000..35f28e704 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.reptodonatetofaction.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [RepToDonateToFaction](./bitburner.bitnodemultipliers.reptodonatetofaction.md) + +## BitNodeMultipliers.RepToDonateToFaction property + +Influences the minimum favor the player must have with a faction before they can donate to gain rep. + +Signature: + +```typescript +RepToDonateToFaction: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.scripthackmoney.md b/markdown/bitburner.bitnodemultipliers.scripthackmoney.md new file mode 100644 index 000000000..2216e1c60 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.scripthackmoney.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [ScriptHackMoney](./bitburner.bitnodemultipliers.scripthackmoney.md) + +## BitNodeMultipliers.ScriptHackMoney property + +Influences how much money can be stolen from a server when a script performs a hack against it. + +Signature: + +```typescript +ScriptHackMoney: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.servergrowthrate.md b/markdown/bitburner.bitnodemultipliers.servergrowthrate.md new file mode 100644 index 000000000..0f27490f1 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.servergrowthrate.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [ServerGrowthRate](./bitburner.bitnodemultipliers.servergrowthrate.md) + +## BitNodeMultipliers.ServerGrowthRate property + +Influences the growth percentage per cycle against a server. + +Signature: + +```typescript +ServerGrowthRate: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.servermaxmoney.md b/markdown/bitburner.bitnodemultipliers.servermaxmoney.md new file mode 100644 index 000000000..5a8c3d3eb --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.servermaxmoney.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [ServerMaxMoney](./bitburner.bitnodemultipliers.servermaxmoney.md) + +## BitNodeMultipliers.ServerMaxMoney property + +Influences the maxmimum money that a server can grow to. + +Signature: + +```typescript +ServerMaxMoney: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.serverstartingmoney.md b/markdown/bitburner.bitnodemultipliers.serverstartingmoney.md new file mode 100644 index 000000000..c7455592e --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.serverstartingmoney.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [ServerStartingMoney](./bitburner.bitnodemultipliers.serverstartingmoney.md) + +## BitNodeMultipliers.ServerStartingMoney property + +Influences the initial money that a server starts with. + +Signature: + +```typescript +ServerStartingMoney: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.serverstartingsecurity.md b/markdown/bitburner.bitnodemultipliers.serverstartingsecurity.md new file mode 100644 index 000000000..85eed7975 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.serverstartingsecurity.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [ServerStartingSecurity](./bitburner.bitnodemultipliers.serverstartingsecurity.md) + +## BitNodeMultipliers.ServerStartingSecurity property + +Influences the initial security level (hackDifficulty) of a server. + +Signature: + +```typescript +ServerStartingSecurity: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.serverweakenrate.md b/markdown/bitburner.bitnodemultipliers.serverweakenrate.md new file mode 100644 index 000000000..152821446 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.serverweakenrate.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [ServerWeakenRate](./bitburner.bitnodemultipliers.serverweakenrate.md) + +## BitNodeMultipliers.ServerWeakenRate property + +Influences the weaken amount per invocation against a server. + +Signature: + +```typescript +ServerWeakenRate: number; +``` diff --git a/markdown/bitburner.bitnodemultipliers.strengthlevelmultiplier.md b/markdown/bitburner.bitnodemultipliers.strengthlevelmultiplier.md new file mode 100644 index 000000000..379d42239 --- /dev/null +++ b/markdown/bitburner.bitnodemultipliers.strengthlevelmultiplier.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) > [StrengthLevelMultiplier](./bitburner.bitnodemultipliers.strengthlevelmultiplier.md) + +## BitNodeMultipliers.StrengthLevelMultiplier property + +Influences how quickly the player's strength level (not exp) scales + +Signature: + +```typescript +StrengthLevelMultiplier: number; +``` diff --git a/markdown/bitburner.bladeburner.getactionautolevel.md b/markdown/bitburner.bladeburner.getactionautolevel.md new file mode 100644 index 000000000..34f149737 --- /dev/null +++ b/markdown/bitburner.bladeburner.getactionautolevel.md @@ -0,0 +1,38 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getActionAutolevel](./bitburner.bladeburner.getactionautolevel.md) + +## Bladeburner.getActionAutolevel() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Return a boolean indicating whether or not this action is currently set to autolevel. + +Returns false if an invalid action is specified. + +Signature: + +```typescript +getActionAutolevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| type | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | Type of action. | +| name | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of action. Must be an exact match. | + +Returns: + +boolean + +True if the action is set to autolevel, and false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getactioncountremaining.md b/markdown/bitburner.bladeburner.getactioncountremaining.md new file mode 100644 index 000000000..18b62d262 --- /dev/null +++ b/markdown/bitburner.bladeburner.getactioncountremaining.md @@ -0,0 +1,38 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getActionCountRemaining](./bitburner.bladeburner.getactioncountremaining.md) + +## Bladeburner.getActionCountRemaining() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the remaining count of the specified action. + +Note that this is meant to be used for Contracts and Operations. This function will return ‘Infinity’ for actions such as Training and Field Analysis. This function will return 1 for BlackOps not yet completed regardless of wether the player has the required rank to attempt the mission or not. + +Signature: + +```typescript +getActionCountRemaining( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| type | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | Type of action. | +| name | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of action. Must be an exact match. | + +Returns: + +number + +Remaining count of the specified action. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getactioncurrentlevel.md b/markdown/bitburner.bladeburner.getactioncurrentlevel.md new file mode 100644 index 000000000..8927d85e1 --- /dev/null +++ b/markdown/bitburner.bladeburner.getactioncurrentlevel.md @@ -0,0 +1,38 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getActionCurrentLevel](./bitburner.bladeburner.getactioncurrentlevel.md) + +## Bladeburner.getActionCurrentLevel() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the current level of this action. + +Returns -1 if an invalid action is specified. + +Signature: + +```typescript +getActionCurrentLevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| type | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | Type of action. | +| name | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of action. Must be an exact match. | + +Returns: + +number + +Current level of the specified action. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getactionestimatedsuccesschance.md b/markdown/bitburner.bladeburner.getactionestimatedsuccesschance.md new file mode 100644 index 000000000..0db76c3eb --- /dev/null +++ b/markdown/bitburner.bladeburner.getactionestimatedsuccesschance.md @@ -0,0 +1,36 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getActionEstimatedSuccessChance](./bitburner.bladeburner.getactionestimatedsuccesschance.md) + +## Bladeburner.getActionEstimatedSuccessChance() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the estimated success chance for the specified action. This chance is returned as a decimal value, NOT a percentage (e.g. if you have an estimated success chance of 80%, then this function will return 0.80, NOT 80). + +Signature: + +```typescript +getActionEstimatedSuccessChance( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| type | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | Type of action. | +| name | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of action. Must be an exact match. | + +Returns: + +number + +Estimated success chance for the specified action. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getactionmaxlevel.md b/markdown/bitburner.bladeburner.getactionmaxlevel.md new file mode 100644 index 000000000..04950ad2f --- /dev/null +++ b/markdown/bitburner.bladeburner.getactionmaxlevel.md @@ -0,0 +1,38 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getActionMaxLevel](./bitburner.bladeburner.getactionmaxlevel.md) + +## Bladeburner.getActionMaxLevel() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the maximum level for this action. + +Returns -1 if an invalid action is specified. + +Signature: + +```typescript +getActionMaxLevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| type | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | Type of action. | +| name | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of action. Must be an exact match. | + +Returns: + +number + +Maximum level of the specified action. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getactionrepgain.md b/markdown/bitburner.bladeburner.getactionrepgain.md new file mode 100644 index 000000000..c6d7da2da --- /dev/null +++ b/markdown/bitburner.bladeburner.getactionrepgain.md @@ -0,0 +1,38 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getActionRepGain](./bitburner.bladeburner.getactionrepgain.md) + +## Bladeburner.getActionRepGain() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the average Bladeburner reputation gain for successfully completing the specified action. Note that this value is an ‘average’ and the real reputation gain may vary slightly from this value. + +Signature: + +```typescript +getActionRepGain( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + level: number, + ): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| type | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | Type of action. | +| name | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of action. Must be an exact match. | +| level | number | Optional action level at which to calculate the gain | + +Returns: + +number + +Average Bladeburner reputation gain for successfully completing the specified action. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getactiontime.md b/markdown/bitburner.bladeburner.getactiontime.md new file mode 100644 index 000000000..38fe1ac5a --- /dev/null +++ b/markdown/bitburner.bladeburner.getactiontime.md @@ -0,0 +1,36 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getActionTime](./bitburner.bladeburner.getactiontime.md) + +## Bladeburner.getActionTime() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the number of seconds it takes to complete the specified action + +Signature: + +```typescript +getActionTime( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| type | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | Type of action. | +| name | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of action. Must be an exact match. | + +Returns: + +number + +Number of seconds it takes to complete the specified action. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getblackopnames.md b/markdown/bitburner.bladeburner.getblackopnames.md new file mode 100644 index 000000000..6314d6a36 --- /dev/null +++ b/markdown/bitburner.bladeburner.getblackopnames.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getBlackOpNames](./bitburner.bladeburner.getblackopnames.md) + +## Bladeburner.getBlackOpNames() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns an array of strings containing the names of all Bladeburner Black Ops. + +Signature: + +```typescript +getBlackOpNames(): BladeburnerBlackOps[]; +``` +Returns: + +[BladeburnerBlackOps](./bitburner.bladeburnerblackops.md)\[\] + +Array of strings containing the names of all Bladeburner Black Ops. + +## Remarks + +0.4 GB + diff --git a/markdown/bitburner.bladeburner.getblackoprank.md b/markdown/bitburner.bladeburner.getblackoprank.md new file mode 100644 index 000000000..7f58b403a --- /dev/null +++ b/markdown/bitburner.bladeburner.getblackoprank.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getBlackOpRank](./bitburner.bladeburner.getblackoprank.md) + +## Bladeburner.getBlackOpRank() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the rank required to complete this BlackOp. + +Returns -1 if an invalid action is specified. + +Signature: + +```typescript +getBlackOpRank(name: BladeburnerBlackOps): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of BlackOp. Must be an exact match. | + +Returns: + +number + +Rank required to complete this BlackOp. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.bladeburner.getbonustime.md b/markdown/bitburner.bladeburner.getbonustime.md new file mode 100644 index 000000000..cb16d21e0 --- /dev/null +++ b/markdown/bitburner.bladeburner.getbonustime.md @@ -0,0 +1,29 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getBonusTime](./bitburner.bladeburner.getbonustime.md) + +## Bladeburner.getBonusTime() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic. + +“Bonus time” is accumulated when the game is offline or if the game is inactive in the browser. + +“Bonus time” makes the game progress faster, up to 5x the normal speed. For example, if an action takes 30 seconds to complete but you’ve accumulated over 30 seconds in bonus time, then the action will only take 6 seconds in real life to complete. + +Signature: + +```typescript +getBonusTime(): number; +``` +Returns: + +number + +Amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.bladeburner.getcity.md b/markdown/bitburner.bladeburner.getcity.md new file mode 100644 index 000000000..8fb65121b --- /dev/null +++ b/markdown/bitburner.bladeburner.getcity.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getCity](./bitburner.bladeburner.getcity.md) + +## Bladeburner.getCity() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the city that the player is currently in (for Bladeburner). + +Signature: + +```typescript +getCity(): City; +``` +Returns: + +[City](./bitburner.city.md) + +City that the player is currently in (for Bladeburner). + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getcitychaos.md b/markdown/bitburner.bladeburner.getcitychaos.md new file mode 100644 index 000000000..61c2f575e --- /dev/null +++ b/markdown/bitburner.bladeburner.getcitychaos.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getCityChaos](./bitburner.bladeburner.getcitychaos.md) + +## Bladeburner.getCityChaos() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the chaos in the specified city, or -1 if an invalid city was specified. + +Signature: + +```typescript +getCityChaos(name: City): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | [City](./bitburner.city.md) | | + +Returns: + +number + +Chaos in the specified city. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getcitycommunities.md b/markdown/bitburner.bladeburner.getcitycommunities.md new file mode 100644 index 000000000..88addcc9e --- /dev/null +++ b/markdown/bitburner.bladeburner.getcitycommunities.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getCityCommunities](./bitburner.bladeburner.getcitycommunities.md) + +## Bladeburner.getCityCommunities() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the estimated number of Synthoid communities in the specified city, or -1 if an invalid city was specified. + +Signature: + +```typescript +getCityCommunities(name: City): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | [City](./bitburner.city.md) | | + +Returns: + +number + +Number of Synthoids communities in the specified city. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getcityestimatedpopulation.md b/markdown/bitburner.bladeburner.getcityestimatedpopulation.md new file mode 100644 index 000000000..3305effa3 --- /dev/null +++ b/markdown/bitburner.bladeburner.getcityestimatedpopulation.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getCityEstimatedPopulation](./bitburner.bladeburner.getcityestimatedpopulation.md) + +## Bladeburner.getCityEstimatedPopulation() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the estimated number of Synthoids in the specified city, or -1 if an invalid city was specified. + +Signature: + +```typescript +getCityEstimatedPopulation(name: City): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | [City](./bitburner.city.md) | | + +Returns: + +number + +Estimated number of Synthoids in the specified city. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getcontractnames.md b/markdown/bitburner.bladeburner.getcontractnames.md new file mode 100644 index 000000000..b96248f57 --- /dev/null +++ b/markdown/bitburner.bladeburner.getcontractnames.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getContractNames](./bitburner.bladeburner.getcontractnames.md) + +## Bladeburner.getContractNames() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns an array of strings containing the names of all Bladeburner contracts. + +Signature: + +```typescript +getContractNames(): BladeburnerContracts[]; +``` +Returns: + +[BladeburnerContracts](./bitburner.bladeburnercontracts.md)\[\] + +Array of strings containing the names of all Bladeburner contracts. + +## Remarks + +0.4 GB + diff --git a/markdown/bitburner.bladeburner.getcurrentaction.md b/markdown/bitburner.bladeburner.getcurrentaction.md new file mode 100644 index 000000000..541827683 --- /dev/null +++ b/markdown/bitburner.bladeburner.getcurrentaction.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getCurrentAction](./bitburner.bladeburner.getcurrentaction.md) + +## Bladeburner.getCurrentAction() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns an object that represents the player’s current Bladeburner action. If the player is not performing an action, the function will return an object with the ‘type’ property set to “Idle”. + +Signature: + +```typescript +getCurrentAction(): BladeburnerCurAction; +``` +Returns: + +[BladeburnerCurAction](./bitburner.bladeburnercuraction.md) + +Object that represents the player’s current Bladeburner action. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.bladeburner.getgeneralactionnames.md b/markdown/bitburner.bladeburner.getgeneralactionnames.md new file mode 100644 index 000000000..80fd46e95 --- /dev/null +++ b/markdown/bitburner.bladeburner.getgeneralactionnames.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getGeneralActionNames](./bitburner.bladeburner.getgeneralactionnames.md) + +## Bladeburner.getGeneralActionNames() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns an array of strings containing the names of all general Bladeburner actions. + +Signature: + +```typescript +getGeneralActionNames(): BladeburnerGenActions[]; +``` +Returns: + +[BladeburnerGenActions](./bitburner.bladeburnergenactions.md)\[\] + +Array of strings containing the names of all general Bladeburner actions. + +## Remarks + +0.4 GB + diff --git a/markdown/bitburner.bladeburner.getoperationnames.md b/markdown/bitburner.bladeburner.getoperationnames.md new file mode 100644 index 000000000..f6bd166a3 --- /dev/null +++ b/markdown/bitburner.bladeburner.getoperationnames.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getOperationNames](./bitburner.bladeburner.getoperationnames.md) + +## Bladeburner.getOperationNames() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns an array of strings containing the names of all Bladeburner operations. + +Signature: + +```typescript +getOperationNames(): BladeburnerOperations[]; +``` +Returns: + +[BladeburnerOperations](./bitburner.bladeburneroperations.md)\[\] + +Array of strings containing the names of all Bladeburner operations. + +## Remarks + +0.4 GB + diff --git a/markdown/bitburner.bladeburner.getrank.md b/markdown/bitburner.bladeburner.getrank.md new file mode 100644 index 000000000..4fa764544 --- /dev/null +++ b/markdown/bitburner.bladeburner.getrank.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getRank](./bitburner.bladeburner.getrank.md) + +## Bladeburner.getRank() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the player’s Bladeburner Rank. + +Signature: + +```typescript +getRank(): number; +``` +Returns: + +number + +Player’s Bladeburner Rank. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getskilllevel.md b/markdown/bitburner.bladeburner.getskilllevel.md new file mode 100644 index 000000000..249799df9 --- /dev/null +++ b/markdown/bitburner.bladeburner.getskilllevel.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getSkillLevel](./bitburner.bladeburner.getskilllevel.md) + +## Bladeburner.getSkillLevel() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +This function returns your level in the specified skill. + +The function returns -1 if an invalid skill name is passed in. + +Signature: + +```typescript +getSkillLevel(name: BladeburnerSkills): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | [BladeburnerSkills](./bitburner.bladeburnerskills.md) | | + +Returns: + +number + +Level in the specified skill. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getskillnames.md b/markdown/bitburner.bladeburner.getskillnames.md new file mode 100644 index 000000000..8ca0f6b9e --- /dev/null +++ b/markdown/bitburner.bladeburner.getskillnames.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getSkillNames](./bitburner.bladeburner.getskillnames.md) + +## Bladeburner.getSkillNames() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns an array of strings containing the names of all general Bladeburner skills. + +Signature: + +```typescript +getSkillNames(): BladeburnerSkills[]; +``` +Returns: + +[BladeburnerSkills](./bitburner.bladeburnerskills.md)\[\] + +Array of strings containing the names of all general Bladeburner skills. + +## Remarks + +0.4 GB + diff --git a/markdown/bitburner.bladeburner.getskillpoints.md b/markdown/bitburner.bladeburner.getskillpoints.md new file mode 100644 index 000000000..145fca00c --- /dev/null +++ b/markdown/bitburner.bladeburner.getskillpoints.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getSkillPoints](./bitburner.bladeburner.getskillpoints.md) + +## Bladeburner.getSkillPoints() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the number of Bladeburner skill points you have. + +Signature: + +```typescript +getSkillPoints(): number; +``` +Returns: + +number + +Number of Bladeburner skill points you have. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getskillupgradecost.md b/markdown/bitburner.bladeburner.getskillupgradecost.md new file mode 100644 index 000000000..c1d11a97b --- /dev/null +++ b/markdown/bitburner.bladeburner.getskillupgradecost.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getSkillUpgradeCost](./bitburner.bladeburner.getskillupgradecost.md) + +## Bladeburner.getSkillUpgradeCost() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +This function returns the number of skill points needed to upgrade the specified skill. + +The function returns -1 if an invalid skill name is passed in. + +Signature: + +```typescript +getSkillUpgradeCost(name: BladeburnerSkills): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | [BladeburnerSkills](./bitburner.bladeburnerskills.md) | | + +Returns: + +number + +Number of skill points needed to upgrade the specified skill. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.getstamina.md b/markdown/bitburner.bladeburner.getstamina.md new file mode 100644 index 000000000..89ce3f828 --- /dev/null +++ b/markdown/bitburner.bladeburner.getstamina.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getStamina](./bitburner.bladeburner.getstamina.md) + +## Bladeburner.getStamina() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns an array with two elements: \* \[Current stamina, Max stamina\] + +Signature: + +```typescript +getStamina(): [number, number]; +``` +Returns: + +\[number, number\] + +Array containing current stamina and max stamina. + +## Remarks + +4 GB + +## Example + + +```js +function getStaminaPercentage() { + let res = bladeburner.getStamina(); + return res[0] / res[1]; +} +``` + diff --git a/markdown/bitburner.bladeburner.getteamsize.md b/markdown/bitburner.bladeburner.getteamsize.md new file mode 100644 index 000000000..309e8b130 --- /dev/null +++ b/markdown/bitburner.bladeburner.getteamsize.md @@ -0,0 +1,38 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getTeamSize](./bitburner.bladeburner.getteamsize.md) + +## Bladeburner.getTeamSize() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Returns the number of Bladeburner team members you have assigned to the specified action. + +Setting a team is only applicable for Operations and BlackOps. This function will return 0 for other action types. + +Signature: + +```typescript +getTeamSize( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| type | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | Type of action. | +| name | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of action. Must be an exact match. | + +Returns: + +number + +Number of Bladeburner team members that were assigned to the specified action. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.joinbladeburnerdivision.md b/markdown/bitburner.bladeburner.joinbladeburnerdivision.md new file mode 100644 index 000000000..2cd16cd8d --- /dev/null +++ b/markdown/bitburner.bladeburner.joinbladeburnerdivision.md @@ -0,0 +1,29 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [joinBladeburnerDivision](./bitburner.bladeburner.joinbladeburnerdivision.md) + +## Bladeburner.joinBladeburnerDivision() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Attempts to join the Bladeburner division. + +Returns true if you successfully join the Bladeburner division, or if you are already a member. + +Returns false otherwise. + +Signature: + +```typescript +joinBladeburnerDivision(): boolean; +``` +Returns: + +boolean + +True if you successfully join the Bladeburner division, or if you are already a member, false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.joinbladeburnerfaction.md b/markdown/bitburner.bladeburner.joinbladeburnerfaction.md new file mode 100644 index 000000000..3565c328a --- /dev/null +++ b/markdown/bitburner.bladeburner.joinbladeburnerfaction.md @@ -0,0 +1,29 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [joinBladeburnerFaction](./bitburner.bladeburner.joinbladeburnerfaction.md) + +## Bladeburner.joinBladeburnerFaction() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Attempts to join the Bladeburner faction. + +Returns true if you successfully join the Bladeburner faction, or if you are already a member. + +Returns false otherwise. + +Signature: + +```typescript +joinBladeburnerFaction(): boolean; +``` +Returns: + +boolean + +True if you successfully join the Bladeburner faction, or if you are already a member, false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.md b/markdown/bitburner.bladeburner.md new file mode 100644 index 000000000..42b969478 --- /dev/null +++ b/markdown/bitburner.bladeburner.md @@ -0,0 +1,51 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) + +## Bladeburner interface + +Signature: + +```typescript +export interface Bladeburner +``` + +## Methods + +| Method | Description | +| --- | --- | +| [getActionAutolevel(type, name)](./bitburner.bladeburner.getactionautolevel.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Return a boolean indicating whether or not this action is currently set to autolevel.Returns false if an invalid action is specified. | +| [getActionCountRemaining(type, name)](./bitburner.bladeburner.getactioncountremaining.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the remaining count of the specified action.Note that this is meant to be used for Contracts and Operations. This function will return ‘Infinity’ for actions such as Training and Field Analysis. This function will return 1 for BlackOps not yet completed regardless of wether the player has the required rank to attempt the mission or not. | +| [getActionCurrentLevel(type, name)](./bitburner.bladeburner.getactioncurrentlevel.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the current level of this action.Returns -1 if an invalid action is specified. | +| [getActionEstimatedSuccessChance(type, name)](./bitburner.bladeburner.getactionestimatedsuccesschance.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the estimated success chance for the specified action. This chance is returned as a decimal value, NOT a percentage (e.g. if you have an estimated success chance of 80%, then this function will return 0.80, NOT 80). | +| [getActionMaxLevel(type, name)](./bitburner.bladeburner.getactionmaxlevel.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the maximum level for this action.Returns -1 if an invalid action is specified. | +| [getActionRepGain(type, name, level)](./bitburner.bladeburner.getactionrepgain.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the average Bladeburner reputation gain for successfully completing the specified action. Note that this value is an ‘average’ and the real reputation gain may vary slightly from this value. | +| [getActionTime(type, name)](./bitburner.bladeburner.getactiontime.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the number of seconds it takes to complete the specified action | +| [getBlackOpNames()](./bitburner.bladeburner.getblackopnames.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns an array of strings containing the names of all Bladeburner Black Ops. | +| [getBlackOpRank(name)](./bitburner.bladeburner.getblackoprank.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the rank required to complete this BlackOp.Returns -1 if an invalid action is specified. | +| [getBonusTime()](./bitburner.bladeburner.getbonustime.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic.“Bonus time” is accumulated when the game is offline or if the game is inactive in the browser.“Bonus time” makes the game progress faster, up to 5x the normal speed. For example, if an action takes 30 seconds to complete but you’ve accumulated over 30 seconds in bonus time, then the action will only take 6 seconds in real life to complete. | +| [getCity()](./bitburner.bladeburner.getcity.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the city that the player is currently in (for Bladeburner). | +| [getCityChaos(name)](./bitburner.bladeburner.getcitychaos.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the chaos in the specified city, or -1 if an invalid city was specified. | +| [getCityCommunities(name)](./bitburner.bladeburner.getcitycommunities.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the estimated number of Synthoid communities in the specified city, or -1 if an invalid city was specified. | +| [getCityEstimatedPopulation(name)](./bitburner.bladeburner.getcityestimatedpopulation.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the estimated number of Synthoids in the specified city, or -1 if an invalid city was specified. | +| [getContractNames()](./bitburner.bladeburner.getcontractnames.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns an array of strings containing the names of all Bladeburner contracts. | +| [getCurrentAction()](./bitburner.bladeburner.getcurrentaction.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns an object that represents the player’s current Bladeburner action. If the player is not performing an action, the function will return an object with the ‘type’ property set to “Idle”. | +| [getGeneralActionNames()](./bitburner.bladeburner.getgeneralactionnames.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns an array of strings containing the names of all general Bladeburner actions. | +| [getOperationNames()](./bitburner.bladeburner.getoperationnames.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns an array of strings containing the names of all Bladeburner operations. | +| [getRank()](./bitburner.bladeburner.getrank.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the player’s Bladeburner Rank. | +| [getSkillLevel(name)](./bitburner.bladeburner.getskilllevel.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.This function returns your level in the specified skill.The function returns -1 if an invalid skill name is passed in. | +| [getSkillNames()](./bitburner.bladeburner.getskillnames.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns an array of strings containing the names of all general Bladeburner skills. | +| [getSkillPoints()](./bitburner.bladeburner.getskillpoints.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the number of Bladeburner skill points you have. | +| [getSkillUpgradeCost(name)](./bitburner.bladeburner.getskillupgradecost.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.This function returns the number of skill points needed to upgrade the specified skill.The function returns -1 if an invalid skill name is passed in. | +| [getStamina()](./bitburner.bladeburner.getstamina.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns an array with two elements: \* \[Current stamina, Max stamina\] | +| [getTeamSize(type, name)](./bitburner.bladeburner.getteamsize.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Returns the number of Bladeburner team members you have assigned to the specified action.Setting a team is only applicable for Operations and BlackOps. This function will return 0 for other action types. | +| [joinBladeburnerDivision()](./bitburner.bladeburner.joinbladeburnerdivision.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Attempts to join the Bladeburner division.Returns true if you successfully join the Bladeburner division, or if you are already a member.Returns false otherwise. | +| [joinBladeburnerFaction()](./bitburner.bladeburner.joinbladeburnerfaction.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Attempts to join the Bladeburner faction.Returns true if you successfully join the Bladeburner faction, or if you are already a member.Returns false otherwise. | +| [setActionAutolevel(type, name, autoLevel)](./bitburner.bladeburner.setactionautolevel.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Enable/disable autoleveling for the specified action. | +| [setActionLevel(type, name, level)](./bitburner.bladeburner.setactionlevel.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Set the level for the specified action. | +| [setTeamSize(type, name, size)](./bitburner.bladeburner.setteamsize.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Set the team size for the specified Bladeburner action.Returns the team size that was set, or -1 if the function failed. | +| [startAction(type, name)](./bitburner.bladeburner.startaction.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Attempts to start the specified Bladeburner action. Returns true if the action was started successfully, and false otherwise. | +| [stopBladeburnerAction()](./bitburner.bladeburner.stopbladeburneraction.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Stops the current Bladeburner action. | +| [switchCity(name)](./bitburner.bladeburner.switchcity.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Attempts to switch to the specified city (for Bladeburner only).Returns true if successful, and false otherwise | +| [upgradeSkill(name)](./bitburner.bladeburner.upgradeskill.md) | You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.Attempts to upgrade the specified Bladeburner skill.Returns true if the skill is successfully upgraded, and false otherwise. | + diff --git a/markdown/bitburner.bladeburner.setactionautolevel.md b/markdown/bitburner.bladeburner.setactionautolevel.md new file mode 100644 index 000000000..f61ca5c3e --- /dev/null +++ b/markdown/bitburner.bladeburner.setactionautolevel.md @@ -0,0 +1,36 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [setActionAutolevel](./bitburner.bladeburner.setactionautolevel.md) + +## Bladeburner.setActionAutolevel() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Enable/disable autoleveling for the specified action. + +Signature: + +```typescript +setActionAutolevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + autoLevel: boolean, + ): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| type | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | Type of action. | +| name | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of action. Must be an exact match. | +| autoLevel | boolean | Whether or not to autolevel this action | + +Returns: + +void + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.setactionlevel.md b/markdown/bitburner.bladeburner.setactionlevel.md new file mode 100644 index 000000000..17f9e16c8 --- /dev/null +++ b/markdown/bitburner.bladeburner.setactionlevel.md @@ -0,0 +1,36 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [setActionLevel](./bitburner.bladeburner.setactionlevel.md) + +## Bladeburner.setActionLevel() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Set the level for the specified action. + +Signature: + +```typescript +setActionLevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + level: number, + ): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| type | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | Type of action. | +| name | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of action. Must be an exact match. | +| level | number | Level to set this action to. | + +Returns: + +void + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.setteamsize.md b/markdown/bitburner.bladeburner.setteamsize.md new file mode 100644 index 000000000..c8535df9e --- /dev/null +++ b/markdown/bitburner.bladeburner.setteamsize.md @@ -0,0 +1,40 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [setTeamSize](./bitburner.bladeburner.setteamsize.md) + +## Bladeburner.setTeamSize() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Set the team size for the specified Bladeburner action. + +Returns the team size that was set, or -1 if the function failed. + +Signature: + +```typescript +setTeamSize( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + size: number, + ): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| type | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | Type of action. | +| name | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of action. Must be an exact match. | +| size | number | Number of team members to set. Will be converted using Math.round(). | + +Returns: + +number + +Number of Bladeburner team members you assigned to the specified action. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.startaction.md b/markdown/bitburner.bladeburner.startaction.md new file mode 100644 index 000000000..f6e015086 --- /dev/null +++ b/markdown/bitburner.bladeburner.startaction.md @@ -0,0 +1,36 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [startAction](./bitburner.bladeburner.startaction.md) + +## Bladeburner.startAction() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Attempts to start the specified Bladeburner action. Returns true if the action was started successfully, and false otherwise. + +Signature: + +```typescript +startAction( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| type | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | Type of action. | +| name | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of action. Must be an exact match | + +Returns: + +boolean + +True if the action was started successfully, and false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.stopbladeburneraction.md b/markdown/bitburner.bladeburner.stopbladeburneraction.md new file mode 100644 index 000000000..6f15aa4de --- /dev/null +++ b/markdown/bitburner.bladeburner.stopbladeburneraction.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [stopBladeburnerAction](./bitburner.bladeburner.stopbladeburneraction.md) + +## Bladeburner.stopBladeburnerAction() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Stops the current Bladeburner action. + +Signature: + +```typescript +stopBladeburnerAction(): void; +``` +Returns: + +void + +## Remarks + +2 GB + diff --git a/markdown/bitburner.bladeburner.switchcity.md b/markdown/bitburner.bladeburner.switchcity.md new file mode 100644 index 000000000..5b68c5708 --- /dev/null +++ b/markdown/bitburner.bladeburner.switchcity.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [switchCity](./bitburner.bladeburner.switchcity.md) + +## Bladeburner.switchCity() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Attempts to switch to the specified city (for Bladeburner only). + +Returns true if successful, and false otherwise + +Signature: + +```typescript +switchCity(name: City): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | [City](./bitburner.city.md) | | + +Returns: + +boolean + +true if successful, and false otherwise + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburner.upgradeskill.md b/markdown/bitburner.bladeburner.upgradeskill.md new file mode 100644 index 000000000..fcf11c402 --- /dev/null +++ b/markdown/bitburner.bladeburner.upgradeskill.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [upgradeSkill](./bitburner.bladeburner.upgradeskill.md) + +## Bladeburner.upgradeSkill() method + +You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function. + +Attempts to upgrade the specified Bladeburner skill. + +Returns true if the skill is successfully upgraded, and false otherwise. + +Signature: + +```typescript +upgradeSkill(name: BladeburnerSkills): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | [BladeburnerSkills](./bitburner.bladeburnerskills.md) | | + +Returns: + +boolean + +true if the skill is successfully upgraded, and false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.bladeburneracttypes.md b/markdown/bitburner.bladeburneracttypes.md new file mode 100644 index 000000000..5156e49f4 --- /dev/null +++ b/markdown/bitburner.bladeburneracttypes.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) + +## BladeburnerActTypes type + +Signature: + +```typescript +type BladeburnerActTypes = "contracts" | "operations" | "black ops" | "general"; +``` diff --git a/markdown/bitburner.bladeburnerblackops.md b/markdown/bitburner.bladeburnerblackops.md new file mode 100644 index 000000000..f60c99235 --- /dev/null +++ b/markdown/bitburner.bladeburnerblackops.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) + +## BladeburnerBlackOps type + +Signature: + +```typescript +type BladeburnerBlackOps = + | "Operation Typhoon" + | "Operation Zero" + | "Operation X" + | "Operation Titan" + | "Operation Ares" + | "Operation Archangel" + | "Operation Juggernaut" + | "Operation Red Dragon" + | "Operation K" + | "Operation Deckard" + | "Operation Tyrell" + | "Operation Wallace" + | "Operation Shoulder of Orion" + | "Operation Hyron" + | "Operation Morpheus" + | "Operation Ion Storm" + | "Operation Annihilus" + | "Operation Ultron" + | "Operation Centurion" + | "Operation Vindictus" + | "Operation Daedalus"; +``` diff --git a/markdown/bitburner.bladeburnercontracts.md b/markdown/bitburner.bladeburnercontracts.md new file mode 100644 index 000000000..ae593a253 --- /dev/null +++ b/markdown/bitburner.bladeburnercontracts.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BladeburnerContracts](./bitburner.bladeburnercontracts.md) + +## BladeburnerContracts type + +Signature: + +```typescript +type BladeburnerContracts = "Tracking" | "Bounty Hunter" | "Retirement"; +``` diff --git a/markdown/bitburner.bladeburnercuraction.md b/markdown/bitburner.bladeburnercuraction.md new file mode 100644 index 000000000..15356500e --- /dev/null +++ b/markdown/bitburner.bladeburnercuraction.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BladeburnerCurAction](./bitburner.bladeburnercuraction.md) + +## BladeburnerCurAction interface + + +Signature: + +```typescript +interface BladeburnerCurAction +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [name](./bitburner.bladeburnercuraction.name.md) | [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) \| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) \| [BladeburnerOperations](./bitburner.bladeburneroperations.md) \| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | Name of Action | +| [type](./bitburner.bladeburnercuraction.type.md) | [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) \| "Idle" | Type of Action | + diff --git a/markdown/bitburner.bladeburnercuraction.name.md b/markdown/bitburner.bladeburnercuraction.name.md new file mode 100644 index 000000000..23a38ff9b --- /dev/null +++ b/markdown/bitburner.bladeburnercuraction.name.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BladeburnerCurAction](./bitburner.bladeburnercuraction.md) > [name](./bitburner.bladeburnercuraction.name.md) + +## BladeburnerCurAction.name property + +Name of Action + +Signature: + +```typescript +name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps; +``` diff --git a/markdown/bitburner.bladeburnercuraction.type.md b/markdown/bitburner.bladeburnercuraction.type.md new file mode 100644 index 000000000..0e5078292 --- /dev/null +++ b/markdown/bitburner.bladeburnercuraction.type.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BladeburnerCurAction](./bitburner.bladeburnercuraction.md) > [type](./bitburner.bladeburnercuraction.type.md) + +## BladeburnerCurAction.type property + +Type of Action + +Signature: + +```typescript +type: BladeburnerActTypes | "Idle"; +``` diff --git a/markdown/bitburner.bladeburnergenactions.md b/markdown/bitburner.bladeburnergenactions.md new file mode 100644 index 000000000..702af3c21 --- /dev/null +++ b/markdown/bitburner.bladeburnergenactions.md @@ -0,0 +1,16 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) + +## BladeburnerGenActions type + +Signature: + +```typescript +type BladeburnerGenActions = + | "Training" + | "Field Analysis" + | "Recruitment" + | "Diplomacy" + | "Hyperbolic Regeneration Chamber"; +``` diff --git a/markdown/bitburner.bladeburneroperations.md b/markdown/bitburner.bladeburneroperations.md new file mode 100644 index 000000000..6a703e6c6 --- /dev/null +++ b/markdown/bitburner.bladeburneroperations.md @@ -0,0 +1,17 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BladeburnerOperations](./bitburner.bladeburneroperations.md) + +## BladeburnerOperations type + +Signature: + +```typescript +type BladeburnerOperations = + | "Investigation" + | "Undercover Operation" + | "Sting Operation" + | "Raid" + | "Stealth Retirement Operation" + | "Assassination"; +``` diff --git a/markdown/bitburner.bladeburnerskills.md b/markdown/bitburner.bladeburnerskills.md new file mode 100644 index 000000000..778cac7df --- /dev/null +++ b/markdown/bitburner.bladeburnerskills.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [BladeburnerSkills](./bitburner.bladeburnerskills.md) + +## BladeburnerSkills type + +Signature: + +```typescript +type BladeburnerSkills = + | "Blade's Intuition" + | "Cloak" + | "Marksman" + | "Weapon Proficiency" + | "Short-Circuit" + | "Digital Observer" + | "Tracer" + | "Overclock" + | "Reaper" + | "Evasive System" + | "Datamancer" + | "Cyber's Edge" + | "Hands of Midas" + | "Hyperdrive"; +``` diff --git a/markdown/bitburner.characterinfo.bitnode.md b/markdown/bitburner.characterinfo.bitnode.md new file mode 100644 index 000000000..846bfaa43 --- /dev/null +++ b/markdown/bitburner.characterinfo.bitnode.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [bitnode](./bitburner.characterinfo.bitnode.md) + +## CharacterInfo.bitnode property + +Current BitNode number + +Signature: + +```typescript +bitnode: number; +``` diff --git a/markdown/bitburner.characterinfo.city.md b/markdown/bitburner.characterinfo.city.md new file mode 100644 index 000000000..1a5e41ed3 --- /dev/null +++ b/markdown/bitburner.characterinfo.city.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [city](./bitburner.characterinfo.city.md) + +## CharacterInfo.city property + +Name of city you are currently in + +Signature: + +```typescript +city: City; +``` diff --git a/markdown/bitburner.characterinfo.company.md b/markdown/bitburner.characterinfo.company.md new file mode 100644 index 000000000..dd9555acb --- /dev/null +++ b/markdown/bitburner.characterinfo.company.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [company](./bitburner.characterinfo.company.md) + +## CharacterInfo.company property + +Array of all companies at which you have jobs + +Signature: + +```typescript +company: CompanyName[]; +``` diff --git a/markdown/bitburner.characterinfo.factions.md b/markdown/bitburner.characterinfo.factions.md new file mode 100644 index 000000000..225b9e789 --- /dev/null +++ b/markdown/bitburner.characterinfo.factions.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [factions](./bitburner.characterinfo.factions.md) + +## CharacterInfo.factions property + +Array of factions you are currently a member of + +Signature: + +```typescript +factions: FactionName[]; +``` diff --git a/markdown/bitburner.characterinfo.hp.md b/markdown/bitburner.characterinfo.hp.md new file mode 100644 index 000000000..5425ec5c2 --- /dev/null +++ b/markdown/bitburner.characterinfo.hp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [hp](./bitburner.characterinfo.hp.md) + +## CharacterInfo.hp property + +Current health points + +Signature: + +```typescript +hp: number; +``` diff --git a/markdown/bitburner.characterinfo.jobtitle.md b/markdown/bitburner.characterinfo.jobtitle.md new file mode 100644 index 000000000..1cd212d12 --- /dev/null +++ b/markdown/bitburner.characterinfo.jobtitle.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [jobTitle](./bitburner.characterinfo.jobtitle.md) + +## CharacterInfo.jobTitle property + +Array of job positions for all companies you are employed at. Same order as 'jobs' + +Signature: + +```typescript +jobTitle: CompanyField[]; +``` diff --git a/markdown/bitburner.characterinfo.maxhp.md b/markdown/bitburner.characterinfo.maxhp.md new file mode 100644 index 000000000..26aa07e2c --- /dev/null +++ b/markdown/bitburner.characterinfo.maxhp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [maxHp](./bitburner.characterinfo.maxhp.md) + +## CharacterInfo.maxHp property + +Maximum health points + +Signature: + +```typescript +maxHp: number; +``` diff --git a/markdown/bitburner.characterinfo.md b/markdown/bitburner.characterinfo.md new file mode 100644 index 000000000..cf32d5412 --- /dev/null +++ b/markdown/bitburner.characterinfo.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) + +## CharacterInfo interface + +Signature: + +```typescript +interface CharacterInfo +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [bitnode](./bitburner.characterinfo.bitnode.md) | number | Current BitNode number | +| [city](./bitburner.characterinfo.city.md) | [City](./bitburner.city.md) | Name of city you are currently in | +| [company](./bitburner.characterinfo.company.md) | [CompanyName](./bitburner.companyname.md)\[\] | Array of all companies at which you have jobs | +| [factions](./bitburner.characterinfo.factions.md) | [FactionName](./bitburner.factionname.md)\[\] | Array of factions you are currently a member of | +| [hp](./bitburner.characterinfo.hp.md) | number | Current health points | +| [jobTitle](./bitburner.characterinfo.jobtitle.md) | [CompanyField](./bitburner.companyfield.md)\[\] | Array of job positions for all companies you are employed at. Same order as 'jobs' | +| [maxHp](./bitburner.characterinfo.maxhp.md) | number | Maximum health points | +| [mult](./bitburner.characterinfo.mult.md) | [CharacterMult](./bitburner.charactermult.md) | Object with many of the player's multipliers from Augmentations/Source Files | +| [timeWorked](./bitburner.characterinfo.timeworked.md) | number | Timed worked in ms | +| [tor](./bitburner.characterinfo.tor.md) | boolean | Boolean indicating whether or not you have a tor router | +| [workAgiExpGain](./bitburner.characterinfo.workagiexpgain.md) | number | Agi experience earned so far from work | +| [workChaExpGain](./bitburner.characterinfo.workchaexpgain.md) | number | Cha experience earned so far from work | +| [workDefExpGain](./bitburner.characterinfo.workdefexpgain.md) | number | Def experience earned so far from work | +| [workDexExpGain](./bitburner.characterinfo.workdexexpgain.md) | number | Dex experience earned so far from work | +| [workHackExpGain](./bitburner.characterinfo.workhackexpgain.md) | number | Hacking experience earned so far from work | +| [workMoneyGain](./bitburner.characterinfo.workmoneygain.md) | number | Money earned so far from work, if applicable | +| [workRepGain](./bitburner.characterinfo.workrepgain.md) | number | Reputation earned so far from work, if applicable | +| [workStrExpGain](./bitburner.characterinfo.workstrexpgain.md) | number | Str experience earned so far from work | + diff --git a/markdown/bitburner.characterinfo.mult.md b/markdown/bitburner.characterinfo.mult.md new file mode 100644 index 000000000..7d5422c3c --- /dev/null +++ b/markdown/bitburner.characterinfo.mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [mult](./bitburner.characterinfo.mult.md) + +## CharacterInfo.mult property + +Object with many of the player's multipliers from Augmentations/Source Files + +Signature: + +```typescript +mult: CharacterMult; +``` diff --git a/markdown/bitburner.characterinfo.timeworked.md b/markdown/bitburner.characterinfo.timeworked.md new file mode 100644 index 000000000..80243c6a5 --- /dev/null +++ b/markdown/bitburner.characterinfo.timeworked.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [timeWorked](./bitburner.characterinfo.timeworked.md) + +## CharacterInfo.timeWorked property + +Timed worked in ms + +Signature: + +```typescript +timeWorked: number; +``` diff --git a/markdown/bitburner.characterinfo.tor.md b/markdown/bitburner.characterinfo.tor.md new file mode 100644 index 000000000..abbfe3c36 --- /dev/null +++ b/markdown/bitburner.characterinfo.tor.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [tor](./bitburner.characterinfo.tor.md) + +## CharacterInfo.tor property + +Boolean indicating whether or not you have a tor router + +Signature: + +```typescript +tor: boolean; +``` diff --git a/markdown/bitburner.characterinfo.workagiexpgain.md b/markdown/bitburner.characterinfo.workagiexpgain.md new file mode 100644 index 000000000..2587c9b86 --- /dev/null +++ b/markdown/bitburner.characterinfo.workagiexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workAgiExpGain](./bitburner.characterinfo.workagiexpgain.md) + +## CharacterInfo.workAgiExpGain property + +Agi experience earned so far from work + +Signature: + +```typescript +workAgiExpGain: number; +``` diff --git a/markdown/bitburner.characterinfo.workchaexpgain.md b/markdown/bitburner.characterinfo.workchaexpgain.md new file mode 100644 index 000000000..010d098af --- /dev/null +++ b/markdown/bitburner.characterinfo.workchaexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workChaExpGain](./bitburner.characterinfo.workchaexpgain.md) + +## CharacterInfo.workChaExpGain property + +Cha experience earned so far from work + +Signature: + +```typescript +workChaExpGain: number; +``` diff --git a/markdown/bitburner.characterinfo.workdefexpgain.md b/markdown/bitburner.characterinfo.workdefexpgain.md new file mode 100644 index 000000000..cd2aa5895 --- /dev/null +++ b/markdown/bitburner.characterinfo.workdefexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workDefExpGain](./bitburner.characterinfo.workdefexpgain.md) + +## CharacterInfo.workDefExpGain property + +Def experience earned so far from work + +Signature: + +```typescript +workDefExpGain: number; +``` diff --git a/markdown/bitburner.characterinfo.workdexexpgain.md b/markdown/bitburner.characterinfo.workdexexpgain.md new file mode 100644 index 000000000..491542572 --- /dev/null +++ b/markdown/bitburner.characterinfo.workdexexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workDexExpGain](./bitburner.characterinfo.workdexexpgain.md) + +## CharacterInfo.workDexExpGain property + +Dex experience earned so far from work + +Signature: + +```typescript +workDexExpGain: number; +``` diff --git a/markdown/bitburner.characterinfo.workhackexpgain.md b/markdown/bitburner.characterinfo.workhackexpgain.md new file mode 100644 index 000000000..a344589ed --- /dev/null +++ b/markdown/bitburner.characterinfo.workhackexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workHackExpGain](./bitburner.characterinfo.workhackexpgain.md) + +## CharacterInfo.workHackExpGain property + +Hacking experience earned so far from work + +Signature: + +```typescript +workHackExpGain: number; +``` diff --git a/markdown/bitburner.characterinfo.workmoneygain.md b/markdown/bitburner.characterinfo.workmoneygain.md new file mode 100644 index 000000000..95ac3c5d4 --- /dev/null +++ b/markdown/bitburner.characterinfo.workmoneygain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workMoneyGain](./bitburner.characterinfo.workmoneygain.md) + +## CharacterInfo.workMoneyGain property + +Money earned so far from work, if applicable + +Signature: + +```typescript +workMoneyGain: number; +``` diff --git a/markdown/bitburner.characterinfo.workrepgain.md b/markdown/bitburner.characterinfo.workrepgain.md new file mode 100644 index 000000000..590391acd --- /dev/null +++ b/markdown/bitburner.characterinfo.workrepgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workRepGain](./bitburner.characterinfo.workrepgain.md) + +## CharacterInfo.workRepGain property + +Reputation earned so far from work, if applicable + +Signature: + +```typescript +workRepGain: number; +``` diff --git a/markdown/bitburner.characterinfo.workstrexpgain.md b/markdown/bitburner.characterinfo.workstrexpgain.md new file mode 100644 index 000000000..b6601dfa0 --- /dev/null +++ b/markdown/bitburner.characterinfo.workstrexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterInfo](./bitburner.characterinfo.md) > [workStrExpGain](./bitburner.characterinfo.workstrexpgain.md) + +## CharacterInfo.workStrExpGain property + +Str experience earned so far from work + +Signature: + +```typescript +workStrExpGain: number; +``` diff --git a/markdown/bitburner.charactermult.agility.md b/markdown/bitburner.charactermult.agility.md new file mode 100644 index 000000000..cc7c326db --- /dev/null +++ b/markdown/bitburner.charactermult.agility.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [agility](./bitburner.charactermult.agility.md) + +## CharacterMult.agility property + +Agility stat + +Signature: + +```typescript +agility: number; +``` diff --git a/markdown/bitburner.charactermult.agilityexp.md b/markdown/bitburner.charactermult.agilityexp.md new file mode 100644 index 000000000..2221c4f9a --- /dev/null +++ b/markdown/bitburner.charactermult.agilityexp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [agilityExp](./bitburner.charactermult.agilityexp.md) + +## CharacterMult.agilityExp property + +Agility exp + +Signature: + +```typescript +agilityExp: number; +``` diff --git a/markdown/bitburner.charactermult.companyrep.md b/markdown/bitburner.charactermult.companyrep.md new file mode 100644 index 000000000..e12e6b4c1 --- /dev/null +++ b/markdown/bitburner.charactermult.companyrep.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [companyRep](./bitburner.charactermult.companyrep.md) + +## CharacterMult.companyRep property + +Company reputation + +Signature: + +```typescript +companyRep: number; +``` diff --git a/markdown/bitburner.charactermult.crimemoney.md b/markdown/bitburner.charactermult.crimemoney.md new file mode 100644 index 000000000..4e3608874 --- /dev/null +++ b/markdown/bitburner.charactermult.crimemoney.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [crimeMoney](./bitburner.charactermult.crimemoney.md) + +## CharacterMult.crimeMoney property + +Money earned from crimes + +Signature: + +```typescript +crimeMoney: number; +``` diff --git a/markdown/bitburner.charactermult.crimesuccess.md b/markdown/bitburner.charactermult.crimesuccess.md new file mode 100644 index 000000000..2660f01cc --- /dev/null +++ b/markdown/bitburner.charactermult.crimesuccess.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [crimeSuccess](./bitburner.charactermult.crimesuccess.md) + +## CharacterMult.crimeSuccess property + +Crime success chance + +Signature: + +```typescript +crimeSuccess: number; +``` diff --git a/markdown/bitburner.charactermult.defense.md b/markdown/bitburner.charactermult.defense.md new file mode 100644 index 000000000..1165811f2 --- /dev/null +++ b/markdown/bitburner.charactermult.defense.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [defense](./bitburner.charactermult.defense.md) + +## CharacterMult.defense property + +Defense stat + +Signature: + +```typescript +defense: number; +``` diff --git a/markdown/bitburner.charactermult.defenseexp.md b/markdown/bitburner.charactermult.defenseexp.md new file mode 100644 index 000000000..9b1b55e5e --- /dev/null +++ b/markdown/bitburner.charactermult.defenseexp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [defenseExp](./bitburner.charactermult.defenseexp.md) + +## CharacterMult.defenseExp property + +Defense exp + +Signature: + +```typescript +defenseExp: number; +``` diff --git a/markdown/bitburner.charactermult.dexterity.md b/markdown/bitburner.charactermult.dexterity.md new file mode 100644 index 000000000..56a6fb1e5 --- /dev/null +++ b/markdown/bitburner.charactermult.dexterity.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [dexterity](./bitburner.charactermult.dexterity.md) + +## CharacterMult.dexterity property + +Dexterity stat + +Signature: + +```typescript +dexterity: number; +``` diff --git a/markdown/bitburner.charactermult.dexterityexp.md b/markdown/bitburner.charactermult.dexterityexp.md new file mode 100644 index 000000000..8adadcad4 --- /dev/null +++ b/markdown/bitburner.charactermult.dexterityexp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [dexterityExp](./bitburner.charactermult.dexterityexp.md) + +## CharacterMult.dexterityExp property + +Dexterity exp + +Signature: + +```typescript +dexterityExp: number; +``` diff --git a/markdown/bitburner.charactermult.factionrep.md b/markdown/bitburner.charactermult.factionrep.md new file mode 100644 index 000000000..ee97e45f4 --- /dev/null +++ b/markdown/bitburner.charactermult.factionrep.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [factionRep](./bitburner.charactermult.factionrep.md) + +## CharacterMult.factionRep property + +Faction reputation + +Signature: + +```typescript +factionRep: number; +``` diff --git a/markdown/bitburner.charactermult.hacking.md b/markdown/bitburner.charactermult.hacking.md new file mode 100644 index 000000000..b1a9d4c8f --- /dev/null +++ b/markdown/bitburner.charactermult.hacking.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [hacking](./bitburner.charactermult.hacking.md) + +## CharacterMult.hacking property + +Hacking stat + +Signature: + +```typescript +hacking: number; +``` diff --git a/markdown/bitburner.charactermult.hackingexp.md b/markdown/bitburner.charactermult.hackingexp.md new file mode 100644 index 000000000..3d715cdeb --- /dev/null +++ b/markdown/bitburner.charactermult.hackingexp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [hackingExp](./bitburner.charactermult.hackingexp.md) + +## CharacterMult.hackingExp property + +Hacking exp + +Signature: + +```typescript +hackingExp: number; +``` diff --git a/markdown/bitburner.charactermult.md b/markdown/bitburner.charactermult.md new file mode 100644 index 000000000..05071b5ac --- /dev/null +++ b/markdown/bitburner.charactermult.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) + +## CharacterMult interface + + +Signature: + +```typescript +interface CharacterMult +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [agility](./bitburner.charactermult.agility.md) | number | Agility stat | +| [agilityExp](./bitburner.charactermult.agilityexp.md) | number | Agility exp | +| [companyRep](./bitburner.charactermult.companyrep.md) | number | Company reputation | +| [crimeMoney](./bitburner.charactermult.crimemoney.md) | number | Money earned from crimes | +| [crimeSuccess](./bitburner.charactermult.crimesuccess.md) | number | Crime success chance | +| [defense](./bitburner.charactermult.defense.md) | number | Defense stat | +| [defenseExp](./bitburner.charactermult.defenseexp.md) | number | Defense exp | +| [dexterity](./bitburner.charactermult.dexterity.md) | number | Dexterity stat | +| [dexterityExp](./bitburner.charactermult.dexterityexp.md) | number | Dexterity exp | +| [factionRep](./bitburner.charactermult.factionrep.md) | number | Faction reputation | +| [hacking](./bitburner.charactermult.hacking.md) | number | Hacking stat | +| [hackingExp](./bitburner.charactermult.hackingexp.md) | number | Hacking exp | +| [strength](./bitburner.charactermult.strength.md) | number | Strength stat | +| [strengthExp](./bitburner.charactermult.strengthexp.md) | number | Strength exp | +| [workMoney](./bitburner.charactermult.workmoney.md) | number | Money earned from jobs | + diff --git a/markdown/bitburner.charactermult.strength.md b/markdown/bitburner.charactermult.strength.md new file mode 100644 index 000000000..57369507e --- /dev/null +++ b/markdown/bitburner.charactermult.strength.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [strength](./bitburner.charactermult.strength.md) + +## CharacterMult.strength property + +Strength stat + +Signature: + +```typescript +strength: number; +``` diff --git a/markdown/bitburner.charactermult.strengthexp.md b/markdown/bitburner.charactermult.strengthexp.md new file mode 100644 index 000000000..760e17669 --- /dev/null +++ b/markdown/bitburner.charactermult.strengthexp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [strengthExp](./bitburner.charactermult.strengthexp.md) + +## CharacterMult.strengthExp property + +Strength exp + +Signature: + +```typescript +strengthExp: number; +``` diff --git a/markdown/bitburner.charactermult.workmoney.md b/markdown/bitburner.charactermult.workmoney.md new file mode 100644 index 000000000..0232e0f19 --- /dev/null +++ b/markdown/bitburner.charactermult.workmoney.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CharacterMult](./bitburner.charactermult.md) > [workMoney](./bitburner.charactermult.workmoney.md) + +## CharacterMult.workMoney property + +Money earned from jobs + +Signature: + +```typescript +workMoney: number; +``` diff --git a/markdown/bitburner.city.md b/markdown/bitburner.city.md new file mode 100644 index 000000000..e0e326909 --- /dev/null +++ b/markdown/bitburner.city.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [City](./bitburner.city.md) + +## City type + +Signature: + +```typescript +type City = "Aevum" | "Chongqing" | "Sector-12" | "New Tokyo" | "Ishima" | "Volhaven"; +``` diff --git a/markdown/bitburner.codingattemptoptions.md b/markdown/bitburner.codingattemptoptions.md new file mode 100644 index 000000000..cc715c167 --- /dev/null +++ b/markdown/bitburner.codingattemptoptions.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CodingAttemptOptions](./bitburner.codingattemptoptions.md) + +## CodingAttemptOptions interface + + +Signature: + +```typescript +interface CodingAttemptOptions +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [returnReward](./bitburner.codingattemptoptions.returnreward.md) | boolean | If truthy, then the function will return a string that states the contract’s reward when it is successfully solved. | + diff --git a/markdown/bitburner.codingattemptoptions.returnreward.md b/markdown/bitburner.codingattemptoptions.returnreward.md new file mode 100644 index 000000000..f97ed6959 --- /dev/null +++ b/markdown/bitburner.codingattemptoptions.returnreward.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CodingAttemptOptions](./bitburner.codingattemptoptions.md) > [returnReward](./bitburner.codingattemptoptions.returnreward.md) + +## CodingAttemptOptions.returnReward property + +If truthy, then the function will return a string that states the contract’s reward when it is successfully solved. + +Signature: + +```typescript +returnReward: boolean; +``` diff --git a/markdown/bitburner.codingcontract.attempt.md b/markdown/bitburner.codingcontract.attempt.md new file mode 100644 index 000000000..fa1dfc956 --- /dev/null +++ b/markdown/bitburner.codingcontract.attempt.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CodingContract](./bitburner.codingcontract.md) > [attempt](./bitburner.codingcontract.attempt.md) + +## CodingContract.attempt() method + +Attempts to solve the Coding Contract with the provided solution. + +Signature: + +```typescript +attempt(answer: string | string[] | number, fn: string, host?: Host): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| answer | string \| string\[\] \| number | | +| fn | string | Filename of the contract. | +| host | [Host](./bitburner.host.md) | Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. | + +Returns: + +boolean + +True if the solution was correct, false otherwise. + +## Remarks + +10 GB - Solution for the contract. + diff --git a/markdown/bitburner.codingcontract.attempt_1.md b/markdown/bitburner.codingcontract.attempt_1.md new file mode 100644 index 000000000..d0f0008b5 --- /dev/null +++ b/markdown/bitburner.codingcontract.attempt_1.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CodingContract](./bitburner.codingcontract.md) > [attempt](./bitburner.codingcontract.attempt_1.md) + +## CodingContract.attempt() method + +Attempts to solve the Coding Contract with the provided solution. + +Signature: + +```typescript +attempt(answer: string | string[] | number, fn: string, host?: Host, opts?: CodingAttemptOptions): boolean | string; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| answer | string \| string\[\] \| number | Solution for the contract. | +| fn | string | Filename of the contract. | +| host | [Host](./bitburner.host.md) | Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. | +| opts | [CodingAttemptOptions](./bitburner.codingattemptoptions.md) | Optional parameters for configuring function behavior. | + +Returns: + +boolean \| string + +True if the solution was correct, false otherwise. If the returnReward option is configured, then the function will instead return a string. If the contract is successfully solved, the string will contain a description of the contract’s reward. Otherwise, it will be an empty string. + +## Remarks + +10 GB + diff --git a/markdown/bitburner.codingcontract.getcontracttype.md b/markdown/bitburner.codingcontract.getcontracttype.md new file mode 100644 index 000000000..4faf0bd1e --- /dev/null +++ b/markdown/bitburner.codingcontract.getcontracttype.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CodingContract](./bitburner.codingcontract.md) > [getContractType](./bitburner.codingcontract.getcontracttype.md) + +## CodingContract.getContractType() method + +Returns a name describing the type of problem posed by the Coding Contract. (e.g. Find Largest Prime Factor, Total Ways to Sum, etc.) + +Signature: + +```typescript +getContractType(fn: string, host?: Host): CodingContractTypes; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| fn | string | Filename of the contract. | +| host | [Host](./bitburner.host.md) | Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. | + +Returns: + +[CodingContractTypes](./bitburner.codingcontracttypes.md) + +Name describing the type of problem posed by the Coding Contract. + +## Remarks + +5 GB + diff --git a/markdown/bitburner.codingcontract.getdata.md b/markdown/bitburner.codingcontract.getdata.md new file mode 100644 index 000000000..d0cc4011d --- /dev/null +++ b/markdown/bitburner.codingcontract.getdata.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CodingContract](./bitburner.codingcontract.md) > [getData](./bitburner.codingcontract.getdata.md) + +## CodingContract.getData() method + +Get the data associated with the specific Coding Contract. Note that this is not the same as the contract’s description. This is just the data that the contract wants you to act on in order to solve + +Signature: + +```typescript +getData(fn: string, host?: Host): string; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| fn | string | Filename of the contract. | +| host | [Host](./bitburner.host.md) | Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. | + +Returns: + +string + +The specified contract’s data; + +## Remarks + +5 GB + diff --git a/markdown/bitburner.codingcontract.getdescription.md b/markdown/bitburner.codingcontract.getdescription.md new file mode 100644 index 000000000..2226eb59b --- /dev/null +++ b/markdown/bitburner.codingcontract.getdescription.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CodingContract](./bitburner.codingcontract.md) > [getDescription](./bitburner.codingcontract.getdescription.md) + +## CodingContract.getDescription() method + +Get the full text description for the problem posed by the Coding Contract. + +Signature: + +```typescript +getDescription(fn: string, host?: Host): string; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| fn | string | Filename of the contract. | +| host | [Host](./bitburner.host.md) | Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. | + +Returns: + +string + +Contract’s text description. + +## Remarks + +5 GB + diff --git a/markdown/bitburner.codingcontract.getnumtriesremaining.md b/markdown/bitburner.codingcontract.getnumtriesremaining.md new file mode 100644 index 000000000..61849e053 --- /dev/null +++ b/markdown/bitburner.codingcontract.getnumtriesremaining.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CodingContract](./bitburner.codingcontract.md) > [getNumTriesRemaining](./bitburner.codingcontract.getnumtriesremaining.md) + +## CodingContract.getNumTriesRemaining() method + +Get the number of tries remaining on the contract before it self-destructs. + +Signature: + +```typescript +getNumTriesRemaining(fn: string, host?: Host): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| fn | string | Filename of the contract. | +| host | [Host](./bitburner.host.md) | Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. | + +Returns: + +number + +How many attempts are remaining for the contract; + +## Remarks + +2 GB + diff --git a/markdown/bitburner.codingcontract.md b/markdown/bitburner.codingcontract.md new file mode 100644 index 000000000..06266a9e7 --- /dev/null +++ b/markdown/bitburner.codingcontract.md @@ -0,0 +1,24 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CodingContract](./bitburner.codingcontract.md) + +## CodingContract interface + + +Signature: + +```typescript +interface CodingContract +``` + +## Methods + +| Method | Description | +| --- | --- | +| [attempt(answer, fn, host)](./bitburner.codingcontract.attempt.md) | Attempts to solve the Coding Contract with the provided solution. | +| [attempt(answer, fn, host, opts)](./bitburner.codingcontract.attempt_1.md) | Attempts to solve the Coding Contract with the provided solution. | +| [getContractType(fn, host)](./bitburner.codingcontract.getcontracttype.md) | Returns a name describing the type of problem posed by the Coding Contract. (e.g. Find Largest Prime Factor, Total Ways to Sum, etc.) | +| [getData(fn, host)](./bitburner.codingcontract.getdata.md) | Get the data associated with the specific Coding Contract. Note that this is not the same as the contract’s description. This is just the data that the contract wants you to act on in order to solve | +| [getDescription(fn, host)](./bitburner.codingcontract.getdescription.md) | Get the full text description for the problem posed by the Coding Contract. | +| [getNumTriesRemaining(fn, host)](./bitburner.codingcontract.getnumtriesremaining.md) | Get the number of tries remaining on the contract before it self-destructs. | + diff --git a/markdown/bitburner.codingcontracttypes.md b/markdown/bitburner.codingcontracttypes.md new file mode 100644 index 000000000..10833bf04 --- /dev/null +++ b/markdown/bitburner.codingcontracttypes.md @@ -0,0 +1,27 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CodingContractTypes](./bitburner.codingcontracttypes.md) + +## CodingContractTypes type + +Signature: + +```typescript +type CodingContractTypes = + | "Find Largest Prime Factor" + | "Subarray with Maximum Sum" + | "Total Ways to Sum" + | "Spiralize Matrix" + | "Array Jumping Game" + | "Merge Overlapping Intervals" + | "Generate IP Addresses" + | "Algorithmic Stock Trader I" + | "Algorithmic Stock Trader II" + | "Algorithmic Stock Trader III" + | "Algorithmic Stock Trader IV" + | "Minimum Path Sum in a Triangle" + | "Unique Paths in a Grid I" + | "Unique Paths in a Grid II" + | "Sanitize Parentheses in Expression" + | "Find All Valid Math Expressions"; +``` diff --git a/markdown/bitburner.companyfield.md b/markdown/bitburner.companyfield.md new file mode 100644 index 000000000..058ff925a --- /dev/null +++ b/markdown/bitburner.companyfield.md @@ -0,0 +1,24 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CompanyField](./bitburner.companyfield.md) + +## CompanyField type + +Signature: + +```typescript +type CompanyField = + | "software" + | "software consultant" + | "it" + | "security engineer" + | "network engineer" + | "business" + | "business consultant" + | "security" + | "agent" + | "employee" + | "part-time employee" + | "waiter" + | "part-time waiter"; +``` diff --git a/markdown/bitburner.companyname.md b/markdown/bitburner.companyname.md new file mode 100644 index 000000000..0c3b95517 --- /dev/null +++ b/markdown/bitburner.companyname.md @@ -0,0 +1,60 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CompanyName](./bitburner.companyname.md) + +## CompanyName type + +Signature: + +```typescript +type CompanyName = + // Sector-12 + | "MegaCorp" + | "BladeIndustries" + | "FourSigma" + | "IcarusMicrosystems" + | "UniversalEnergy" + | "DeltaOne" + | "CIA" + | "NSA" + | "AlphaEnterprises" + | "CarmichaelSecurity" + | "FoodNStuff" + | "JoesGuns" + + // Aevum + | "ECorp" + | "BachmanAndAssociates" + | "ClarkeIncorporated" + | "OmniTekIncorporated" + | "FulcrumTechnologies" + | "GalacticCybersystems" + | "AeroCorp" + | "WatchdogSecurity" + | "RhoConstruction" + | "AevumPolice" + | "NetLinkTechnologies" + + // Volhaven + | "NWO" + | "HeliosLabs" + | "OmniaCybersystems" + | "LexoCorp" + | "SysCoreSecurities" + | "CompuTek" + + // Chongqing + | "KuaiGongInternational" + | "SolarisSpaceSystems" + + // Ishima + | "StormTechnologies" + | "NovaMedical" + | "OmegaSoftware" + + // New Tokyo + | "DefComm" + | "VitaLife" + | "GlobalPharmaceuticals" + | "NoodleBar"; +``` diff --git a/markdown/bitburner.creatableprogram.md b/markdown/bitburner.creatableprogram.md new file mode 100644 index 000000000..5ad5d60ca --- /dev/null +++ b/markdown/bitburner.creatableprogram.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CreatableProgram](./bitburner.creatableprogram.md) + +## CreatableProgram type + +Signature: + +```typescript +type CreatableProgram = PurchaseableProgram | "serverprofiler.exe"; +``` +References: [PurchaseableProgram](./bitburner.purchaseableprogram.md) + diff --git a/markdown/bitburner.crime.md b/markdown/bitburner.crime.md new file mode 100644 index 000000000..7f00f076e --- /dev/null +++ b/markdown/bitburner.crime.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Crime](./bitburner.crime.md) + +## Crime type + +Signature: + +```typescript +type Crime = + | "shoplift" + | "rob store" + | "mug" + | "larceny" + | "deal drugs" + | "bond forgery" + | "traffick arms" + | "homicide" + | "grand theft auto" + | "kidnap" + | "assassinate" + | "heist"; +``` diff --git a/markdown/bitburner.crimestats.agility_exp.md b/markdown/bitburner.crimestats.agility_exp.md new file mode 100644 index 000000000..0ed46e84f --- /dev/null +++ b/markdown/bitburner.crimestats.agility_exp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [agility\_exp](./bitburner.crimestats.agility_exp.md) + +## CrimeStats.agility\_exp property + +agility exp gained from crime + +Signature: + +```typescript +agility_exp: number; +``` diff --git a/markdown/bitburner.crimestats.agility_success_weight.md b/markdown/bitburner.crimestats.agility_success_weight.md new file mode 100644 index 000000000..6f803dd53 --- /dev/null +++ b/markdown/bitburner.crimestats.agility_success_weight.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [agility\_success\_weight](./bitburner.crimestats.agility_success_weight.md) + +## CrimeStats.agility\_success\_weight property + +agility level impact on success change of the crime + +Signature: + +```typescript +agility_success_weight: number; +``` diff --git a/markdown/bitburner.crimestats.charisma_exp.md b/markdown/bitburner.crimestats.charisma_exp.md new file mode 100644 index 000000000..c4e10072c --- /dev/null +++ b/markdown/bitburner.crimestats.charisma_exp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [charisma\_exp](./bitburner.crimestats.charisma_exp.md) + +## CrimeStats.charisma\_exp property + +charisma exp gained from crime + +Signature: + +```typescript +charisma_exp: number; +``` diff --git a/markdown/bitburner.crimestats.charisma_success_weight.md b/markdown/bitburner.crimestats.charisma_success_weight.md new file mode 100644 index 000000000..37e0d18d0 --- /dev/null +++ b/markdown/bitburner.crimestats.charisma_success_weight.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [charisma\_success\_weight](./bitburner.crimestats.charisma_success_weight.md) + +## CrimeStats.charisma\_success\_weight property + +charisma level impact on success change of the crime + +Signature: + +```typescript +charisma_success_weight: number; +``` diff --git a/markdown/bitburner.crimestats.defense_exp.md b/markdown/bitburner.crimestats.defense_exp.md new file mode 100644 index 000000000..e9f24d83c --- /dev/null +++ b/markdown/bitburner.crimestats.defense_exp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [defense\_exp](./bitburner.crimestats.defense_exp.md) + +## CrimeStats.defense\_exp property + +defense exp gained from crime + +Signature: + +```typescript +defense_exp: number; +``` diff --git a/markdown/bitburner.crimestats.defense_success_weight.md b/markdown/bitburner.crimestats.defense_success_weight.md new file mode 100644 index 000000000..1afef799a --- /dev/null +++ b/markdown/bitburner.crimestats.defense_success_weight.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [defense\_success\_weight](./bitburner.crimestats.defense_success_weight.md) + +## CrimeStats.defense\_success\_weight property + +defense level impact on success change of the crime + +Signature: + +```typescript +defense_success_weight: number; +``` diff --git a/markdown/bitburner.crimestats.dexterity_exp.md b/markdown/bitburner.crimestats.dexterity_exp.md new file mode 100644 index 000000000..960176994 --- /dev/null +++ b/markdown/bitburner.crimestats.dexterity_exp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [dexterity\_exp](./bitburner.crimestats.dexterity_exp.md) + +## CrimeStats.dexterity\_exp property + +dexterity exp gained from crime + +Signature: + +```typescript +dexterity_exp: number; +``` diff --git a/markdown/bitburner.crimestats.dexterity_success_weight.md b/markdown/bitburner.crimestats.dexterity_success_weight.md new file mode 100644 index 000000000..26b846f7a --- /dev/null +++ b/markdown/bitburner.crimestats.dexterity_success_weight.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [dexterity\_success\_weight](./bitburner.crimestats.dexterity_success_weight.md) + +## CrimeStats.dexterity\_success\_weight property + +dexterity level impact on success change of the crime + +Signature: + +```typescript +dexterity_success_weight: number; +``` diff --git a/markdown/bitburner.crimestats.difficulty.md b/markdown/bitburner.crimestats.difficulty.md new file mode 100644 index 000000000..36bfa92ea --- /dev/null +++ b/markdown/bitburner.crimestats.difficulty.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [difficulty](./bitburner.crimestats.difficulty.md) + +## CrimeStats.difficulty property + +Number representing the difficulty of the crime. Used for success chance calculations + +Signature: + +```typescript +difficulty: number; +``` diff --git a/markdown/bitburner.crimestats.hacking_exp.md b/markdown/bitburner.crimestats.hacking_exp.md new file mode 100644 index 000000000..56a96c971 --- /dev/null +++ b/markdown/bitburner.crimestats.hacking_exp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [hacking\_exp](./bitburner.crimestats.hacking_exp.md) + +## CrimeStats.hacking\_exp property + +hacking exp gained from crime + +Signature: + +```typescript +hacking_exp: number; +``` diff --git a/markdown/bitburner.crimestats.hacking_success_weight.md b/markdown/bitburner.crimestats.hacking_success_weight.md new file mode 100644 index 000000000..f57d9fbb8 --- /dev/null +++ b/markdown/bitburner.crimestats.hacking_success_weight.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [hacking\_success\_weight](./bitburner.crimestats.hacking_success_weight.md) + +## CrimeStats.hacking\_success\_weight property + +hacking level impact on success change of the crime + +Signature: + +```typescript +hacking_success_weight: number; +``` diff --git a/markdown/bitburner.crimestats.intelligence_exp.md b/markdown/bitburner.crimestats.intelligence_exp.md new file mode 100644 index 000000000..b2fb67f2a --- /dev/null +++ b/markdown/bitburner.crimestats.intelligence_exp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [intelligence\_exp](./bitburner.crimestats.intelligence_exp.md) + +## CrimeStats.intelligence\_exp property + +intelligence exp gained from crime + +Signature: + +```typescript +intelligence_exp: number; +``` diff --git a/markdown/bitburner.crimestats.karma.md b/markdown/bitburner.crimestats.karma.md new file mode 100644 index 000000000..22323833a --- /dev/null +++ b/markdown/bitburner.crimestats.karma.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [karma](./bitburner.crimestats.karma.md) + +## CrimeStats.karma property + +Amount of karma lost for SUCCESSFULLY committing this crime + +Signature: + +```typescript +karma: number; +``` diff --git a/markdown/bitburner.crimestats.kills.md b/markdown/bitburner.crimestats.kills.md new file mode 100644 index 000000000..963b8edc4 --- /dev/null +++ b/markdown/bitburner.crimestats.kills.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [kills](./bitburner.crimestats.kills.md) + +## CrimeStats.kills property + +How many people die as a result of this crime + +Signature: + +```typescript +kills: number; +``` diff --git a/markdown/bitburner.crimestats.md b/markdown/bitburner.crimestats.md new file mode 100644 index 000000000..3855265ee --- /dev/null +++ b/markdown/bitburner.crimestats.md @@ -0,0 +1,38 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) + +## CrimeStats interface + + +Signature: + +```typescript +interface CrimeStats +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [agility\_exp](./bitburner.crimestats.agility_exp.md) | number | agility exp gained from crime | +| [agility\_success\_weight](./bitburner.crimestats.agility_success_weight.md) | number | agility level impact on success change of the crime | +| [charisma\_exp](./bitburner.crimestats.charisma_exp.md) | number | charisma exp gained from crime | +| [charisma\_success\_weight](./bitburner.crimestats.charisma_success_weight.md) | number | charisma level impact on success change of the crime | +| [defense\_exp](./bitburner.crimestats.defense_exp.md) | number | defense exp gained from crime | +| [defense\_success\_weight](./bitburner.crimestats.defense_success_weight.md) | number | defense level impact on success change of the crime | +| [dexterity\_exp](./bitburner.crimestats.dexterity_exp.md) | number | dexterity exp gained from crime | +| [dexterity\_success\_weight](./bitburner.crimestats.dexterity_success_weight.md) | number | dexterity level impact on success change of the crime | +| [difficulty](./bitburner.crimestats.difficulty.md) | number | Number representing the difficulty of the crime. Used for success chance calculations | +| [hacking\_exp](./bitburner.crimestats.hacking_exp.md) | number | hacking exp gained from crime | +| [hacking\_success\_weight](./bitburner.crimestats.hacking_success_weight.md) | number | hacking level impact on success change of the crime | +| [intelligence\_exp](./bitburner.crimestats.intelligence_exp.md) | number | intelligence exp gained from crime | +| [karma](./bitburner.crimestats.karma.md) | number | Amount of karma lost for SUCCESSFULLY committing this crime | +| [kills](./bitburner.crimestats.kills.md) | number | How many people die as a result of this crime | +| [money](./bitburner.crimestats.money.md) | number | How much money is given | +| [name](./bitburner.crimestats.name.md) | number | Name of crime | +| [strength\_exp](./bitburner.crimestats.strength_exp.md) | number | strength exp gained from crime | +| [strength\_success\_weight](./bitburner.crimestats.strength_success_weight.md) | number | strength level impact on success change of the crime | +| [time](./bitburner.crimestats.time.md) | number | Milliseconds it takes to attempt the crime | +| [type](./bitburner.crimestats.type.md) | string | Description of the crime activity | + diff --git a/markdown/bitburner.crimestats.money.md b/markdown/bitburner.crimestats.money.md new file mode 100644 index 000000000..6260a2059 --- /dev/null +++ b/markdown/bitburner.crimestats.money.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [money](./bitburner.crimestats.money.md) + +## CrimeStats.money property + +How much money is given + +Signature: + +```typescript +money: number; +``` diff --git a/markdown/bitburner.crimestats.name.md b/markdown/bitburner.crimestats.name.md new file mode 100644 index 000000000..927337120 --- /dev/null +++ b/markdown/bitburner.crimestats.name.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [name](./bitburner.crimestats.name.md) + +## CrimeStats.name property + +Name of crime + +Signature: + +```typescript +name: number; +``` diff --git a/markdown/bitburner.crimestats.strength_exp.md b/markdown/bitburner.crimestats.strength_exp.md new file mode 100644 index 000000000..e30f029b7 --- /dev/null +++ b/markdown/bitburner.crimestats.strength_exp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [strength\_exp](./bitburner.crimestats.strength_exp.md) + +## CrimeStats.strength\_exp property + +strength exp gained from crime + +Signature: + +```typescript +strength_exp: number; +``` diff --git a/markdown/bitburner.crimestats.strength_success_weight.md b/markdown/bitburner.crimestats.strength_success_weight.md new file mode 100644 index 000000000..e8806edeb --- /dev/null +++ b/markdown/bitburner.crimestats.strength_success_weight.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [strength\_success\_weight](./bitburner.crimestats.strength_success_weight.md) + +## CrimeStats.strength\_success\_weight property + +strength level impact on success change of the crime + +Signature: + +```typescript +strength_success_weight: number; +``` diff --git a/markdown/bitburner.crimestats.time.md b/markdown/bitburner.crimestats.time.md new file mode 100644 index 000000000..60218a10f --- /dev/null +++ b/markdown/bitburner.crimestats.time.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [time](./bitburner.crimestats.time.md) + +## CrimeStats.time property + +Milliseconds it takes to attempt the crime + +Signature: + +```typescript +time: number; +``` diff --git a/markdown/bitburner.crimestats.type.md b/markdown/bitburner.crimestats.type.md new file mode 100644 index 000000000..d6fba340b --- /dev/null +++ b/markdown/bitburner.crimestats.type.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [CrimeStats](./bitburner.crimestats.md) > [type](./bitburner.crimestats.type.md) + +## CrimeStats.type property + +Description of the crime activity + +Signature: + +```typescript +type: string; +``` diff --git a/markdown/bitburner.factionname.md b/markdown/bitburner.factionname.md new file mode 100644 index 000000000..a7557390e --- /dev/null +++ b/markdown/bitburner.factionname.md @@ -0,0 +1,43 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [FactionName](./bitburner.factionname.md) + +## FactionName type + +Signature: + +```typescript +type FactionName = + | "Illuminati" + | "Daedalus" + | "The Covenant" + | "ECorp" + | "MegaCorp" + | "Bachman & Associates" + | "Blade Industries" + | "NWO" + | "Clarke Incorporated" + | "OmniTek Incorporated" + | "Four Sigma" + | "KuaiGong International" + | "Fulcrum Secret Technologies" + | "BitRunners" + | "The Black Hand" + | "NiteSec" + | "Aevum" + | "Chongqing" + | "Ishima" + | "New Tokyo" + | "Sector-12" + | "Volhaven" + | "Speakers for the Dead" + | "The Dark Army" + | "The Syndicate" + | "Silhouette" + | "Tetrads" + | "Slum Snakes" + | "Netburners" + | "Tian Di Hui" + | "CyberSec" + | "Bladeburners"; +``` diff --git a/markdown/bitburner.factionwork.md b/markdown/bitburner.factionwork.md new file mode 100644 index 000000000..5daa57496 --- /dev/null +++ b/markdown/bitburner.factionwork.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [FactionWork](./bitburner.factionwork.md) + +## FactionWork type + +Signature: + +```typescript +type FactionWork = "hacking" | "field" | "security"; +``` diff --git a/markdown/bitburner.gang.ascendmember.md b/markdown/bitburner.gang.ascendmember.md new file mode 100644 index 000000000..bdfeef567 --- /dev/null +++ b/markdown/bitburner.gang.ascendmember.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [ascendMember](./bitburner.gang.ascendmember.md) + +## Gang.ascendMember() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Ascend the specified Gang Member. + +Signature: + +```typescript +ascendMember(memberName: string): GangMemberAscension; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| memberName | string | Name of member to ascend. | + +Returns: + +[GangMemberAscension](./bitburner.gangmemberascension.md) + +Object with info about the ascension results. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.gang.canrecruitmember.md b/markdown/bitburner.gang.canrecruitmember.md new file mode 100644 index 000000000..e61a61aac --- /dev/null +++ b/markdown/bitburner.gang.canrecruitmember.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [canRecruitMember](./bitburner.gang.canrecruitmember.md) + +## Gang.canRecruitMember() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Returns boolean indicating whether a member can currently be recruited + +Signature: + +```typescript +canRecruitMember(): boolean; +``` +Returns: + +boolean + +True if a member can currently be recruited, false otherwise. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.gang.getbonustime.md b/markdown/bitburner.gang.getbonustime.md new file mode 100644 index 000000000..239cd1f0f --- /dev/null +++ b/markdown/bitburner.gang.getbonustime.md @@ -0,0 +1,29 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getBonusTime](./bitburner.gang.getbonustime.md) + +## Gang.getBonusTime() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Returns the amount of accumulated “bonus time” (seconds) for the Gang mechanic. + +“Bonus time” is accumulated when the game is offline or if the game is inactive in the browser. + +“Bonus time” makes the game progress faster, up to 10x the normal speed. + +Signature: + +```typescript +getBonusTime(): number; +``` +Returns: + +number + +Bonus time for the Gang mechanic in seconds. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.gang.getchancetowinclash.md b/markdown/bitburner.gang.getchancetowinclash.md new file mode 100644 index 000000000..c86f33240 --- /dev/null +++ b/markdown/bitburner.gang.getchancetowinclash.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getChanceToWinClash](./bitburner.gang.getchancetowinclash.md) + +## Gang.getChanceToWinClash() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Returns the chance you have to win a clash with the specified gang. The chance is returned in decimal form, not percentage + +Signature: + +```typescript +getChanceToWinClash(gangName: GangName): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| gangName | [GangName](./bitburner.gangname.md) | Target gang | + +Returns: + +number + +Chance you have to win a clash with the specified gang. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.gang.getequipmentcost.md b/markdown/bitburner.gang.getequipmentcost.md new file mode 100644 index 000000000..898288453 --- /dev/null +++ b/markdown/bitburner.gang.getequipmentcost.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getEquipmentCost](./bitburner.gang.getequipmentcost.md) + +## Gang.getEquipmentCost() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Get the amount of money it takes to purchase a piece of Equipment or an Augmentation. If an invalid Equipment/Augmentation is specified, this function will return Infinity. + +Signature: + +```typescript +getEquipmentCost(equipName: GangEquipment | GangAugmentations): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| equipName | [GangEquipment](./bitburner.gangequipment.md) \| [GangAugmentations](./bitburner.gangaugmentations.md) | Name of equipment. | + +Returns: + +number + +Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments + +## Remarks + +2 GB + diff --git a/markdown/bitburner.gang.getequipmentnames.md b/markdown/bitburner.gang.getequipmentnames.md new file mode 100644 index 000000000..e5f6bf262 --- /dev/null +++ b/markdown/bitburner.gang.getequipmentnames.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getEquipmentNames](./bitburner.gang.getequipmentnames.md) + +## Gang.getEquipmentNames() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Get the name of all possible equipment/upgrades you can purchase for your Gang Members. This includes Augmentations. + +Signature: + +```typescript +getEquipmentNames(): (GangEquipment | GangAugmentations)[]; +``` +Returns: + +([GangEquipment](./bitburner.gangequipment.md) \| [GangAugmentations](./bitburner.gangaugmentations.md))\[\] + +Names of all Equpiment/Augmentations. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.gang.getequipmentstats.md b/markdown/bitburner.gang.getequipmentstats.md new file mode 100644 index 000000000..c01e4bd73 --- /dev/null +++ b/markdown/bitburner.gang.getequipmentstats.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getEquipmentStats](./bitburner.gang.getequipmentstats.md) + +## Gang.getEquipmentStats() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Get the specified equipment stats. + +Signature: + +```typescript +getEquipmentStats(equipName: GangEquipment | GangAugmentations): GangEquipmentStats; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| equipName | [GangEquipment](./bitburner.gangequipment.md) \| [GangAugmentations](./bitburner.gangaugmentations.md) | Name of equipment. | + +Returns: + +[GangEquipmentStats](./bitburner.gangequipmentstats.md) + +A dictionary containing the stats of the equipment. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.gang.getequipmenttype.md b/markdown/bitburner.gang.getequipmenttype.md new file mode 100644 index 000000000..380cd875e --- /dev/null +++ b/markdown/bitburner.gang.getequipmenttype.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getEquipmentType](./bitburner.gang.getequipmenttype.md) + +## Gang.getEquipmentType() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Get the specified equipment type. + +Signature: + +```typescript +getEquipmentType(equipName: GangEquipment | GangAugmentations): GangEquipmentType; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| equipName | [GangEquipment](./bitburner.gangequipment.md) \| [GangAugmentations](./bitburner.gangaugmentations.md) | Name of equipment. | + +Returns: + +[GangEquipmentType](./bitburner.gangequipmenttype.md) + +Type of the equipment. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.gang.getganginformation.md b/markdown/bitburner.gang.getganginformation.md new file mode 100644 index 000000000..45e0a91a8 --- /dev/null +++ b/markdown/bitburner.gang.getganginformation.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getGangInformation](./bitburner.gang.getganginformation.md) + +## Gang.getGangInformation() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Get general information about the gang. + +Signature: + +```typescript +getGangInformation(): GangGenInfo; +``` +Returns: + +[GangGenInfo](./bitburner.ganggeninfo.md) + +Object containing general information about the gang. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.gang.getmemberinformation.md b/markdown/bitburner.gang.getmemberinformation.md new file mode 100644 index 000000000..9fa53eafd --- /dev/null +++ b/markdown/bitburner.gang.getmemberinformation.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getMemberInformation](./bitburner.gang.getmemberinformation.md) + +## Gang.getMemberInformation() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Get stat and equipment-related information about a Gang Member + +Signature: + +```typescript +getMemberInformation(name: string): GangMemberInfo; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | string | Name of member. | + +Returns: + +[GangMemberInfo](./bitburner.gangmemberinfo.md) + +Object containing stat and equipment-related information about a Gang Member. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.gang.getmembernames.md b/markdown/bitburner.gang.getmembernames.md new file mode 100644 index 000000000..d25c10354 --- /dev/null +++ b/markdown/bitburner.gang.getmembernames.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getMemberNames](./bitburner.gang.getmembernames.md) + +## Gang.getMemberNames() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Get the names of all Gang members + +Signature: + +```typescript +getMemberNames(): string[]; +``` +Returns: + +string\[\] + +Names of all Gang members. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.gang.getotherganginformation.md b/markdown/bitburner.gang.getotherganginformation.md new file mode 100644 index 000000000..7508e1096 --- /dev/null +++ b/markdown/bitburner.gang.getotherganginformation.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getOtherGangInformation](./bitburner.gang.getotherganginformation.md) + +## Gang.getOtherGangInformation() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Get territory and power information about all gangs. + +Signature: + +```typescript +getOtherGangInformation(): GangOtherInfo; +``` +Returns: + +[GangOtherInfo](./bitburner.gangotherinfo.md) + +Object containing territory and power information about all gangs. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.gang.gettasknames.md b/markdown/bitburner.gang.gettasknames.md new file mode 100644 index 000000000..a31e1d9e9 --- /dev/null +++ b/markdown/bitburner.gang.gettasknames.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getTaskNames](./bitburner.gang.gettasknames.md) + +## Gang.getTaskNames() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Get the name of all valid tasks that Gang members can be assigned to. + +Signature: + +```typescript +getTaskNames(): GangTasks[]; +``` +Returns: + +[GangTasks](./bitburner.gangtasks.md)\[\] + +All valid tasks that Gang members can be assigned to. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.gang.gettaskstats.md b/markdown/bitburner.gang.gettaskstats.md new file mode 100644 index 000000000..83e0defc9 --- /dev/null +++ b/markdown/bitburner.gang.gettaskstats.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [getTaskStats](./bitburner.gang.gettaskstats.md) + +## Gang.getTaskStats() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next. + +Signature: + +```typescript +getTaskStats(name: GangTasks): GangTasksStats; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | [GangTasks](./bitburner.gangtasks.md) | Name of the task. | + +Returns: + +[GangTasksStats](./bitburner.gangtasksstats.md) + +Detailed stats of a task. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.gang.md b/markdown/bitburner.gang.md new file mode 100644 index 000000000..e23ceae6a --- /dev/null +++ b/markdown/bitburner.gang.md @@ -0,0 +1,36 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) + +## Gang interface + + +Signature: + +```typescript +interface Gang +``` + +## Methods + +| Method | Description | +| --- | --- | +| [ascendMember(memberName)](./bitburner.gang.ascendmember.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Ascend the specified Gang Member. | +| [canRecruitMember()](./bitburner.gang.canrecruitmember.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Returns boolean indicating whether a member can currently be recruited | +| [getBonusTime()](./bitburner.gang.getbonustime.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Returns the amount of accumulated “bonus time” (seconds) for the Gang mechanic.“Bonus time” is accumulated when the game is offline or if the game is inactive in the browser.“Bonus time” makes the game progress faster, up to 10x the normal speed. | +| [getChanceToWinClash(gangName)](./bitburner.gang.getchancetowinclash.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Returns the chance you have to win a clash with the specified gang. The chance is returned in decimal form, not percentage | +| [getEquipmentCost(equipName)](./bitburner.gang.getequipmentcost.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Get the amount of money it takes to purchase a piece of Equipment or an Augmentation. If an invalid Equipment/Augmentation is specified, this function will return Infinity. | +| [getEquipmentNames()](./bitburner.gang.getequipmentnames.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Get the name of all possible equipment/upgrades you can purchase for your Gang Members. This includes Augmentations. | +| [getEquipmentStats(equipName)](./bitburner.gang.getequipmentstats.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Get the specified equipment stats. | +| [getEquipmentType(equipName)](./bitburner.gang.getequipmenttype.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Get the specified equipment type. | +| [getGangInformation()](./bitburner.gang.getganginformation.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Get general information about the gang. | +| [getMemberInformation(name)](./bitburner.gang.getmemberinformation.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Get stat and equipment-related information about a Gang Member | +| [getMemberNames()](./bitburner.gang.getmembernames.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Get the names of all Gang members | +| [getOtherGangInformation()](./bitburner.gang.getotherganginformation.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Get territory and power information about all gangs. | +| [getTaskNames()](./bitburner.gang.gettasknames.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Get the name of all valid tasks that Gang members can be assigned to. | +| [getTaskStats(name)](./bitburner.gang.gettaskstats.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next. | +| [purchaseEquipment(memberName, equipName)](./bitburner.gang.purchaseequipment.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Attempt to purchase the specified Equipment/Augmentation for the specified Gang member. | +| [recruitMember(name)](./bitburner.gang.recruitmember.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Attempt to recruit a new gang member.Possible reasons for failure: \* Cannot currently recruit a new member \* There already exists a member with the specified name | +| [setMemberTask(memberName, taskName)](./bitburner.gang.setmembertask.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Attempts to assign the specified Gang Member to the specified task. If an invalid task is specified, the Gang member will be set to idle (“Unassigned”). | +| [setTerritoryWarfare(engage)](./bitburner.gang.setterritorywarfare.md) | If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.Set whether or not the gang should engage in territory warfare | + diff --git a/markdown/bitburner.gang.purchaseequipment.md b/markdown/bitburner.gang.purchaseequipment.md new file mode 100644 index 000000000..04e947f84 --- /dev/null +++ b/markdown/bitburner.gang.purchaseequipment.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [purchaseEquipment](./bitburner.gang.purchaseequipment.md) + +## Gang.purchaseEquipment() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Attempt to purchase the specified Equipment/Augmentation for the specified Gang member. + +Signature: + +```typescript +purchaseEquipment(memberName: string, equipName: GangEquipment | GangAugmentations): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| memberName | string | Name of Gang member to purchase the equipment for. | +| equipName | [GangEquipment](./bitburner.gangequipment.md) \| [GangAugmentations](./bitburner.gangaugmentations.md) | Name of Equipment/Augmentation to purchase. | + +Returns: + +boolean + +True if the equipment was successfully purchased. False otherwise + +## Remarks + +4 GB + diff --git a/markdown/bitburner.gang.recruitmember.md b/markdown/bitburner.gang.recruitmember.md new file mode 100644 index 000000000..06e3053d1 --- /dev/null +++ b/markdown/bitburner.gang.recruitmember.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [recruitMember](./bitburner.gang.recruitmember.md) + +## Gang.recruitMember() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Attempt to recruit a new gang member. + +Possible reasons for failure: \* Cannot currently recruit a new member \* There already exists a member with the specified name + +Signature: + +```typescript +recruitMember(name: string): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | string | Name of member to recruit. | + +Returns: + +boolean + +True if the member was successfully recruited, false otherwise. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.gang.setmembertask.md b/markdown/bitburner.gang.setmembertask.md new file mode 100644 index 000000000..03ee458d6 --- /dev/null +++ b/markdown/bitburner.gang.setmembertask.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [setMemberTask](./bitburner.gang.setmembertask.md) + +## Gang.setMemberTask() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Attempts to assign the specified Gang Member to the specified task. If an invalid task is specified, the Gang member will be set to idle (“Unassigned”). + +Signature: + +```typescript +setMemberTask(memberName: string, taskName: GangTasks): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| memberName | string | Name of Gang member to assign. | +| taskName | [GangTasks](./bitburner.gangtasks.md) | Task to assign. | + +Returns: + +boolean + +True if the Gang Member was successfully assigned to the task, false otherwise. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.gang.setterritorywarfare.md b/markdown/bitburner.gang.setterritorywarfare.md new file mode 100644 index 000000000..3e53202fc --- /dev/null +++ b/markdown/bitburner.gang.setterritorywarfare.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gang](./bitburner.gang.md) > [setTerritoryWarfare](./bitburner.gang.setterritorywarfare.md) + +## Gang.setTerritoryWarfare() method + +If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. + +Set whether or not the gang should engage in territory warfare + +Signature: + +```typescript +setTerritoryWarfare(engage: boolean): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| engage | boolean | Whether or not to engage in territory warfare. | + +Returns: + +void + +## Remarks + +2 GB + diff --git a/markdown/bitburner.gangaugmentations.md b/markdown/bitburner.gangaugmentations.md new file mode 100644 index 000000000..3b5d36d08 --- /dev/null +++ b/markdown/bitburner.gangaugmentations.md @@ -0,0 +1,22 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangAugmentations](./bitburner.gangaugmentations.md) + +## GangAugmentations type + +Signature: + +```typescript +type GangAugmentations = + | "Bionic Arms" + | "Bionic Legs" + | "Bionic Spine" + | "BrachiBlades" + | "Nanofiber Weave" + | "Synthetic Heart" + | "Synfibril Muscle" + | "BitWire" + | "Neuralstimulator" + | "DataJack" + | "Graphene Bone Lacings"; +``` diff --git a/markdown/bitburner.gangequipment.md b/markdown/bitburner.gangequipment.md new file mode 100644 index 000000000..8e068dac7 --- /dev/null +++ b/markdown/bitburner.gangequipment.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangEquipment](./bitburner.gangequipment.md) + +## GangEquipment type + +Signature: + +```typescript +type GangEquipment = + | "Baseball Bat" + | "Katana" + | "Glock 18C" + | "P90C" + | "Steyr AUG" + | "AK-47" + | "M15A10 Assault Rifle" + | "AWM Sniper Rifle" + | "Bulletproof Vest" + | "Full Body Armor" + | "Liquid Body Armor" + | "Graphene Plating Armor" + | "Ford Flex V20" + | "ATX1070 Superbike" + | "Mercedes-Benz S9001" + | "White Ferrari" + | "NUKE Rootkit" + | "Soulstealer Rootkit" + | "Demon Rootkit" + | "Hmap Node" + | "Jack the Ripper"; +``` diff --git a/markdown/bitburner.gangequipmentstats.agi.md b/markdown/bitburner.gangequipmentstats.agi.md new file mode 100644 index 000000000..392c3b24d --- /dev/null +++ b/markdown/bitburner.gangequipmentstats.agi.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangEquipmentStats](./bitburner.gangequipmentstats.md) > [agi](./bitburner.gangequipmentstats.agi.md) + +## GangEquipmentStats.agi property + +Agility multiplier + +Signature: + +```typescript +agi: number; +``` diff --git a/markdown/bitburner.gangequipmentstats.cha.md b/markdown/bitburner.gangequipmentstats.cha.md new file mode 100644 index 000000000..198f8bea6 --- /dev/null +++ b/markdown/bitburner.gangequipmentstats.cha.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangEquipmentStats](./bitburner.gangequipmentstats.md) > [cha](./bitburner.gangequipmentstats.cha.md) + +## GangEquipmentStats.cha property + +Charisma multiplier + +Signature: + +```typescript +cha: number; +``` diff --git a/markdown/bitburner.gangequipmentstats.def.md b/markdown/bitburner.gangequipmentstats.def.md new file mode 100644 index 000000000..0f6b028f0 --- /dev/null +++ b/markdown/bitburner.gangequipmentstats.def.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangEquipmentStats](./bitburner.gangequipmentstats.md) > [def](./bitburner.gangequipmentstats.def.md) + +## GangEquipmentStats.def property + +Defense multiplier + +Signature: + +```typescript +def: number; +``` diff --git a/markdown/bitburner.gangequipmentstats.dex.md b/markdown/bitburner.gangequipmentstats.dex.md new file mode 100644 index 000000000..ebdcb5d27 --- /dev/null +++ b/markdown/bitburner.gangequipmentstats.dex.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangEquipmentStats](./bitburner.gangequipmentstats.md) > [dex](./bitburner.gangequipmentstats.dex.md) + +## GangEquipmentStats.dex property + +Dexterity multiplier + +Signature: + +```typescript +dex: number; +``` diff --git a/markdown/bitburner.gangequipmentstats.hack.md b/markdown/bitburner.gangequipmentstats.hack.md new file mode 100644 index 000000000..25f4f1ea3 --- /dev/null +++ b/markdown/bitburner.gangequipmentstats.hack.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangEquipmentStats](./bitburner.gangequipmentstats.md) > [hack](./bitburner.gangequipmentstats.hack.md) + +## GangEquipmentStats.hack property + +Hacking multiplier + +Signature: + +```typescript +hack: number; +``` diff --git a/markdown/bitburner.gangequipmentstats.md b/markdown/bitburner.gangequipmentstats.md new file mode 100644 index 000000000..344671b8f --- /dev/null +++ b/markdown/bitburner.gangequipmentstats.md @@ -0,0 +1,24 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangEquipmentStats](./bitburner.gangequipmentstats.md) + +## GangEquipmentStats interface + + +Signature: + +```typescript +interface GangEquipmentStats +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [agi](./bitburner.gangequipmentstats.agi.md) | number | Agility multiplier | +| [cha](./bitburner.gangequipmentstats.cha.md) | number | Charisma multiplier | +| [def](./bitburner.gangequipmentstats.def.md) | number | Defense multiplier | +| [dex](./bitburner.gangequipmentstats.dex.md) | number | Dexterity multiplier | +| [hack](./bitburner.gangequipmentstats.hack.md) | number | Hacking multiplier | +| [str](./bitburner.gangequipmentstats.str.md) | number | Strength multiplier | + diff --git a/markdown/bitburner.gangequipmentstats.str.md b/markdown/bitburner.gangequipmentstats.str.md new file mode 100644 index 000000000..945af13f8 --- /dev/null +++ b/markdown/bitburner.gangequipmentstats.str.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangEquipmentStats](./bitburner.gangequipmentstats.md) > [str](./bitburner.gangequipmentstats.str.md) + +## GangEquipmentStats.str property + +Strength multiplier + +Signature: + +```typescript +str: number; +``` diff --git a/markdown/bitburner.gangequipmenttype.md b/markdown/bitburner.gangequipmenttype.md new file mode 100644 index 000000000..215818f57 --- /dev/null +++ b/markdown/bitburner.gangequipmenttype.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangEquipmentType](./bitburner.gangequipmenttype.md) + +## GangEquipmentType type + +Signature: + +```typescript +type GangEquipmentType = "Weapon" | "Armor" | "Vehicle" | "Rootkit" | "Augmentation"; +``` diff --git a/markdown/bitburner.ganggeninfo.faction.md b/markdown/bitburner.ganggeninfo.faction.md new file mode 100644 index 000000000..a8242a2fe --- /dev/null +++ b/markdown/bitburner.ganggeninfo.faction.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangGenInfo](./bitburner.ganggeninfo.md) > [faction](./bitburner.ganggeninfo.faction.md) + +## GangGenInfo.faction property + +Name of faction that the gang belongs to ("Slum Snakes", etc.) + +Signature: + +```typescript +faction: GangName; +``` diff --git a/markdown/bitburner.ganggeninfo.ishacking.md b/markdown/bitburner.ganggeninfo.ishacking.md new file mode 100644 index 000000000..a63c3aa83 --- /dev/null +++ b/markdown/bitburner.ganggeninfo.ishacking.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangGenInfo](./bitburner.ganggeninfo.md) > [isHacking](./bitburner.ganggeninfo.ishacking.md) + +## GangGenInfo.isHacking property + +Boolean indicating whether or not its a hacking gang + +Signature: + +```typescript +isHacking: boolean; +``` diff --git a/markdown/bitburner.ganggeninfo.md b/markdown/bitburner.ganggeninfo.md new file mode 100644 index 000000000..d2758d885 --- /dev/null +++ b/markdown/bitburner.ganggeninfo.md @@ -0,0 +1,28 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangGenInfo](./bitburner.ganggeninfo.md) + +## GangGenInfo interface + + +Signature: + +```typescript +interface GangGenInfo +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [faction](./bitburner.ganggeninfo.faction.md) | [GangName](./bitburner.gangname.md) | Name of faction that the gang belongs to ("Slum Snakes", etc.) | +| [isHacking](./bitburner.ganggeninfo.ishacking.md) | boolean | Boolean indicating whether or not its a hacking gang | +| [moneyGainRate](./bitburner.ganggeninfo.moneygainrate.md) | number | Money earned per second | +| [power](./bitburner.ganggeninfo.power.md) | number | Gang's power for territory warfare | +| [respect](./bitburner.ganggeninfo.respect.md) | number | Gang's respect | +| [respectGainRate](./bitburner.ganggeninfo.respectgainrate.md) | number | Respect earned per second | +| [territory](./bitburner.ganggeninfo.territory.md) | number | Amount of territory held. Returned in decimal form, not percentage | +| [territoryClashChance](./bitburner.ganggeninfo.territoryclashchance.md) | number | Clash chance. Returned in decimal form, not percentage | +| [wantedLevel](./bitburner.ganggeninfo.wantedlevel.md) | number | Gang's wanted level | +| [wantedLevelGainRate](./bitburner.ganggeninfo.wantedlevelgainrate.md) | number | Wanted level gained/lost per second (negative for losses) | + diff --git a/markdown/bitburner.ganggeninfo.moneygainrate.md b/markdown/bitburner.ganggeninfo.moneygainrate.md new file mode 100644 index 000000000..509f1b987 --- /dev/null +++ b/markdown/bitburner.ganggeninfo.moneygainrate.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangGenInfo](./bitburner.ganggeninfo.md) > [moneyGainRate](./bitburner.ganggeninfo.moneygainrate.md) + +## GangGenInfo.moneyGainRate property + +Money earned per second + +Signature: + +```typescript +moneyGainRate: number; +``` diff --git a/markdown/bitburner.ganggeninfo.power.md b/markdown/bitburner.ganggeninfo.power.md new file mode 100644 index 000000000..013893ba8 --- /dev/null +++ b/markdown/bitburner.ganggeninfo.power.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangGenInfo](./bitburner.ganggeninfo.md) > [power](./bitburner.ganggeninfo.power.md) + +## GangGenInfo.power property + +Gang's power for territory warfare + +Signature: + +```typescript +power: number; +``` diff --git a/markdown/bitburner.ganggeninfo.respect.md b/markdown/bitburner.ganggeninfo.respect.md new file mode 100644 index 000000000..981fd3014 --- /dev/null +++ b/markdown/bitburner.ganggeninfo.respect.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangGenInfo](./bitburner.ganggeninfo.md) > [respect](./bitburner.ganggeninfo.respect.md) + +## GangGenInfo.respect property + +Gang's respect + +Signature: + +```typescript +respect: number; +``` diff --git a/markdown/bitburner.ganggeninfo.respectgainrate.md b/markdown/bitburner.ganggeninfo.respectgainrate.md new file mode 100644 index 000000000..90c3415bf --- /dev/null +++ b/markdown/bitburner.ganggeninfo.respectgainrate.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangGenInfo](./bitburner.ganggeninfo.md) > [respectGainRate](./bitburner.ganggeninfo.respectgainrate.md) + +## GangGenInfo.respectGainRate property + +Respect earned per second + +Signature: + +```typescript +respectGainRate: number; +``` diff --git a/markdown/bitburner.ganggeninfo.territory.md b/markdown/bitburner.ganggeninfo.territory.md new file mode 100644 index 000000000..d9d02e6b3 --- /dev/null +++ b/markdown/bitburner.ganggeninfo.territory.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangGenInfo](./bitburner.ganggeninfo.md) > [territory](./bitburner.ganggeninfo.territory.md) + +## GangGenInfo.territory property + +Amount of territory held. Returned in decimal form, not percentage + +Signature: + +```typescript +territory: number; +``` diff --git a/markdown/bitburner.ganggeninfo.territoryclashchance.md b/markdown/bitburner.ganggeninfo.territoryclashchance.md new file mode 100644 index 000000000..51737c095 --- /dev/null +++ b/markdown/bitburner.ganggeninfo.territoryclashchance.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangGenInfo](./bitburner.ganggeninfo.md) > [territoryClashChance](./bitburner.ganggeninfo.territoryclashchance.md) + +## GangGenInfo.territoryClashChance property + +Clash chance. Returned in decimal form, not percentage + +Signature: + +```typescript +territoryClashChance: number; +``` diff --git a/markdown/bitburner.ganggeninfo.wantedlevel.md b/markdown/bitburner.ganggeninfo.wantedlevel.md new file mode 100644 index 000000000..62e803bd4 --- /dev/null +++ b/markdown/bitburner.ganggeninfo.wantedlevel.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangGenInfo](./bitburner.ganggeninfo.md) > [wantedLevel](./bitburner.ganggeninfo.wantedlevel.md) + +## GangGenInfo.wantedLevel property + +Gang's wanted level + +Signature: + +```typescript +wantedLevel: number; +``` diff --git a/markdown/bitburner.ganggeninfo.wantedlevelgainrate.md b/markdown/bitburner.ganggeninfo.wantedlevelgainrate.md new file mode 100644 index 000000000..f0cb3c85f --- /dev/null +++ b/markdown/bitburner.ganggeninfo.wantedlevelgainrate.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangGenInfo](./bitburner.ganggeninfo.md) > [wantedLevelGainRate](./bitburner.ganggeninfo.wantedlevelgainrate.md) + +## GangGenInfo.wantedLevelGainRate property + +Wanted level gained/lost per second (negative for losses) + +Signature: + +```typescript +wantedLevelGainRate: number; +``` diff --git a/markdown/bitburner.gangmemberascension.agi.md b/markdown/bitburner.gangmemberascension.agi.md new file mode 100644 index 000000000..e71a93d18 --- /dev/null +++ b/markdown/bitburner.gangmemberascension.agi.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberAscension](./bitburner.gangmemberascension.md) > [agi](./bitburner.gangmemberascension.agi.md) + +## GangMemberAscension.agi property + +Agility multiplier gained from ascending. Decimal form + +Signature: + +```typescript +agi: number; +``` diff --git a/markdown/bitburner.gangmemberascension.cha.md b/markdown/bitburner.gangmemberascension.cha.md new file mode 100644 index 000000000..4d063a046 --- /dev/null +++ b/markdown/bitburner.gangmemberascension.cha.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberAscension](./bitburner.gangmemberascension.md) > [cha](./bitburner.gangmemberascension.cha.md) + +## GangMemberAscension.cha property + +Charisma multiplier gained from ascending. Decimal form + +Signature: + +```typescript +cha: number; +``` diff --git a/markdown/bitburner.gangmemberascension.def.md b/markdown/bitburner.gangmemberascension.def.md new file mode 100644 index 000000000..e2fa14cbf --- /dev/null +++ b/markdown/bitburner.gangmemberascension.def.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberAscension](./bitburner.gangmemberascension.md) > [def](./bitburner.gangmemberascension.def.md) + +## GangMemberAscension.def property + +Defense multiplier gained from ascending. Decimal form + +Signature: + +```typescript +def: number; +``` diff --git a/markdown/bitburner.gangmemberascension.dex.md b/markdown/bitburner.gangmemberascension.dex.md new file mode 100644 index 000000000..aa5bcefdd --- /dev/null +++ b/markdown/bitburner.gangmemberascension.dex.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberAscension](./bitburner.gangmemberascension.md) > [dex](./bitburner.gangmemberascension.dex.md) + +## GangMemberAscension.dex property + +Dexterity multiplier gained from ascending. Decimal form + +Signature: + +```typescript +dex: number; +``` diff --git a/markdown/bitburner.gangmemberascension.hack.md b/markdown/bitburner.gangmemberascension.hack.md new file mode 100644 index 000000000..a39992c1a --- /dev/null +++ b/markdown/bitburner.gangmemberascension.hack.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberAscension](./bitburner.gangmemberascension.md) > [hack](./bitburner.gangmemberascension.hack.md) + +## GangMemberAscension.hack property + +Hacking multiplier gained from ascending. Decimal form + +Signature: + +```typescript +hack: number; +``` diff --git a/markdown/bitburner.gangmemberascension.md b/markdown/bitburner.gangmemberascension.md new file mode 100644 index 000000000..359bf0bc7 --- /dev/null +++ b/markdown/bitburner.gangmemberascension.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberAscension](./bitburner.gangmemberascension.md) + +## GangMemberAscension interface + + +Signature: + +```typescript +interface GangMemberAscension +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [agi](./bitburner.gangmemberascension.agi.md) | number | Agility multiplier gained from ascending. Decimal form | +| [cha](./bitburner.gangmemberascension.cha.md) | number | Charisma multiplier gained from ascending. Decimal form | +| [def](./bitburner.gangmemberascension.def.md) | number | Defense multiplier gained from ascending. Decimal form | +| [dex](./bitburner.gangmemberascension.dex.md) | number | Dexterity multiplier gained from ascending. Decimal form | +| [hack](./bitburner.gangmemberascension.hack.md) | number | Hacking multiplier gained from ascending. Decimal form | +| [respect](./bitburner.gangmemberascension.respect.md) | number | Amount of respect lost from ascending | +| [str](./bitburner.gangmemberascension.str.md) | number | Strength multiplier gained from ascending. Decimal form | + diff --git a/markdown/bitburner.gangmemberascension.respect.md b/markdown/bitburner.gangmemberascension.respect.md new file mode 100644 index 000000000..45b3bd042 --- /dev/null +++ b/markdown/bitburner.gangmemberascension.respect.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberAscension](./bitburner.gangmemberascension.md) > [respect](./bitburner.gangmemberascension.respect.md) + +## GangMemberAscension.respect property + +Amount of respect lost from ascending + +Signature: + +```typescript +respect: number; +``` diff --git a/markdown/bitburner.gangmemberascension.str.md b/markdown/bitburner.gangmemberascension.str.md new file mode 100644 index 000000000..884e79dea --- /dev/null +++ b/markdown/bitburner.gangmemberascension.str.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberAscension](./bitburner.gangmemberascension.md) > [str](./bitburner.gangmemberascension.str.md) + +## GangMemberAscension.str property + +Strength multiplier gained from ascending. Decimal form + +Signature: + +```typescript +str: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.agility.md b/markdown/bitburner.gangmemberinfo.agility.md new file mode 100644 index 000000000..33c24d603 --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.agility.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [agility](./bitburner.gangmemberinfo.agility.md) + +## GangMemberInfo.agility property + +Agility stat + +Signature: + +```typescript +agility: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.agilityascensionmult.md b/markdown/bitburner.gangmemberinfo.agilityascensionmult.md new file mode 100644 index 000000000..944b4667b --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.agilityascensionmult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [agilityAscensionMult](./bitburner.gangmemberinfo.agilityascensionmult.md) + +## GangMemberInfo.agilityAscensionMult property + +Agility multiplier from ascension. Decimal form + +Signature: + +```typescript +agilityAscensionMult: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.agilityequipmult.md b/markdown/bitburner.gangmemberinfo.agilityequipmult.md new file mode 100644 index 000000000..d785bcafa --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.agilityequipmult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [agilityEquipMult](./bitburner.gangmemberinfo.agilityequipmult.md) + +## GangMemberInfo.agilityEquipMult property + +Agility multiplier from equipment. Decimal form + +Signature: + +```typescript +agilityEquipMult: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.augmentations.md b/markdown/bitburner.gangmemberinfo.augmentations.md new file mode 100644 index 000000000..de464b6e1 --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.augmentations.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [augmentations](./bitburner.gangmemberinfo.augmentations.md) + +## GangMemberInfo.augmentations property + +Array of names of all owned Augmentations + +Signature: + +```typescript +augmentations: GangAugmentations[]; +``` diff --git a/markdown/bitburner.gangmemberinfo.charisma.md b/markdown/bitburner.gangmemberinfo.charisma.md new file mode 100644 index 000000000..a54e293ee --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.charisma.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [charisma](./bitburner.gangmemberinfo.charisma.md) + +## GangMemberInfo.charisma property + +Charisma stat + +Signature: + +```typescript +charisma: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.charismaascensionmult.md b/markdown/bitburner.gangmemberinfo.charismaascensionmult.md new file mode 100644 index 000000000..2456cf45b --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.charismaascensionmult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [charismaAscensionMult](./bitburner.gangmemberinfo.charismaascensionmult.md) + +## GangMemberInfo.charismaAscensionMult property + +Charisma multiplier from ascension. Decimal form + +Signature: + +```typescript +charismaAscensionMult: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.charismaequipmult.md b/markdown/bitburner.gangmemberinfo.charismaequipmult.md new file mode 100644 index 000000000..cc2665e05 --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.charismaequipmult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [charismaEquipMult](./bitburner.gangmemberinfo.charismaequipmult.md) + +## GangMemberInfo.charismaEquipMult property + +Charisma multiplier from equipment. Decimal form + +Signature: + +```typescript +charismaEquipMult: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.defense.md b/markdown/bitburner.gangmemberinfo.defense.md new file mode 100644 index 000000000..596640f4f --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.defense.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [defense](./bitburner.gangmemberinfo.defense.md) + +## GangMemberInfo.defense property + +Defense stat + +Signature: + +```typescript +defense: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.defenseascensionmult.md b/markdown/bitburner.gangmemberinfo.defenseascensionmult.md new file mode 100644 index 000000000..59089da48 --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.defenseascensionmult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [defenseAscensionMult](./bitburner.gangmemberinfo.defenseascensionmult.md) + +## GangMemberInfo.defenseAscensionMult property + +Defense multiplier from ascension. Decimal form + +Signature: + +```typescript +defenseAscensionMult: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.defenseequipmult.md b/markdown/bitburner.gangmemberinfo.defenseequipmult.md new file mode 100644 index 000000000..69d6af006 --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.defenseequipmult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [defenseEquipMult](./bitburner.gangmemberinfo.defenseequipmult.md) + +## GangMemberInfo.defenseEquipMult property + +Defense multiplier from equipment. Decimal form + +Signature: + +```typescript +defenseEquipMult: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.dexterity.md b/markdown/bitburner.gangmemberinfo.dexterity.md new file mode 100644 index 000000000..ca2ab1b5c --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.dexterity.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [dexterity](./bitburner.gangmemberinfo.dexterity.md) + +## GangMemberInfo.dexterity property + +Dexterity stat + +Signature: + +```typescript +dexterity: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.dexterityascensionmult.md b/markdown/bitburner.gangmemberinfo.dexterityascensionmult.md new file mode 100644 index 000000000..db2ecbd94 --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.dexterityascensionmult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [dexterityAscensionMult](./bitburner.gangmemberinfo.dexterityascensionmult.md) + +## GangMemberInfo.dexterityAscensionMult property + +Dexterity multiplier from ascension. Decimal form + +Signature: + +```typescript +dexterityAscensionMult: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.dexterityequipmult.md b/markdown/bitburner.gangmemberinfo.dexterityequipmult.md new file mode 100644 index 000000000..461b442d8 --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.dexterityequipmult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [dexterityEquipMult](./bitburner.gangmemberinfo.dexterityequipmult.md) + +## GangMemberInfo.dexterityEquipMult property + +Dexterity multiplier from equipment. Decimal form + +Signature: + +```typescript +dexterityEquipMult: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.equipment.md b/markdown/bitburner.gangmemberinfo.equipment.md new file mode 100644 index 000000000..513416db3 --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.equipment.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [equipment](./bitburner.gangmemberinfo.equipment.md) + +## GangMemberInfo.equipment property + +Array of names of all owned Non-Augmentation Equipment + +Signature: + +```typescript +equipment: GangEquipment[]; +``` diff --git a/markdown/bitburner.gangmemberinfo.hacking.md b/markdown/bitburner.gangmemberinfo.hacking.md new file mode 100644 index 000000000..81fb64d49 --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.hacking.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [hacking](./bitburner.gangmemberinfo.hacking.md) + +## GangMemberInfo.hacking property + +Hacking stat + +Signature: + +```typescript +hacking: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.hackingascensionmult.md b/markdown/bitburner.gangmemberinfo.hackingascensionmult.md new file mode 100644 index 000000000..384cd30ee --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.hackingascensionmult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [hackingAscensionMult](./bitburner.gangmemberinfo.hackingascensionmult.md) + +## GangMemberInfo.hackingAscensionMult property + +Hacking multiplier from ascension. Decimal form + +Signature: + +```typescript +hackingAscensionMult: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.hackingequipmult.md b/markdown/bitburner.gangmemberinfo.hackingequipmult.md new file mode 100644 index 000000000..50c5ca60f --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.hackingequipmult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [hackingEquipMult](./bitburner.gangmemberinfo.hackingequipmult.md) + +## GangMemberInfo.hackingEquipMult property + +Hacking multiplier from equipment. Decimal form + +Signature: + +```typescript +hackingEquipMult: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.md b/markdown/bitburner.gangmemberinfo.md new file mode 100644 index 000000000..5d23e8245 --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.md @@ -0,0 +1,39 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) + +## GangMemberInfo interface + + +Signature: + +```typescript +interface GangMemberInfo +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [agility](./bitburner.gangmemberinfo.agility.md) | number | Agility stat | +| [agilityAscensionMult](./bitburner.gangmemberinfo.agilityascensionmult.md) | number | Agility multiplier from ascension. Decimal form | +| [agilityEquipMult](./bitburner.gangmemberinfo.agilityequipmult.md) | number | Agility multiplier from equipment. Decimal form | +| [augmentations](./bitburner.gangmemberinfo.augmentations.md) | [GangAugmentations](./bitburner.gangaugmentations.md)\[\] | Array of names of all owned Augmentations | +| [charisma](./bitburner.gangmemberinfo.charisma.md) | number | Charisma stat | +| [charismaAscensionMult](./bitburner.gangmemberinfo.charismaascensionmult.md) | number | Charisma multiplier from ascension. Decimal form | +| [charismaEquipMult](./bitburner.gangmemberinfo.charismaequipmult.md) | number | Charisma multiplier from equipment. Decimal form | +| [defense](./bitburner.gangmemberinfo.defense.md) | number | Defense stat | +| [defenseAscensionMult](./bitburner.gangmemberinfo.defenseascensionmult.md) | number | Defense multiplier from ascension. Decimal form | +| [defenseEquipMult](./bitburner.gangmemberinfo.defenseequipmult.md) | number | Defense multiplier from equipment. Decimal form | +| [dexterity](./bitburner.gangmemberinfo.dexterity.md) | number | Dexterity stat | +| [dexterityAscensionMult](./bitburner.gangmemberinfo.dexterityascensionmult.md) | number | Dexterity multiplier from ascension. Decimal form | +| [dexterityEquipMult](./bitburner.gangmemberinfo.dexterityequipmult.md) | number | Dexterity multiplier from equipment. Decimal form | +| [equipment](./bitburner.gangmemberinfo.equipment.md) | [GangEquipment](./bitburner.gangequipment.md)\[\] | Array of names of all owned Non-Augmentation Equipment | +| [hacking](./bitburner.gangmemberinfo.hacking.md) | number | Hacking stat | +| [hackingAscensionMult](./bitburner.gangmemberinfo.hackingascensionmult.md) | number | Hacking multiplier from ascension. Decimal form | +| [hackingEquipMult](./bitburner.gangmemberinfo.hackingequipmult.md) | number | Hacking multiplier from equipment. Decimal form | +| [strength](./bitburner.gangmemberinfo.strength.md) | number | Strength stat | +| [strengthAscensionMult](./bitburner.gangmemberinfo.strengthascensionmult.md) | number | Strength multiplier from ascension. Decimal form | +| [strengthEquipMult](./bitburner.gangmemberinfo.strengthequipmult.md) | number | Strength multiplier from equipment. Decimal form | +| [task](./bitburner.gangmemberinfo.task.md) | [GangTasks](./bitburner.gangtasks.md) | Name of currently assigned task | + diff --git a/markdown/bitburner.gangmemberinfo.strength.md b/markdown/bitburner.gangmemberinfo.strength.md new file mode 100644 index 000000000..0e12ed3f2 --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.strength.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [strength](./bitburner.gangmemberinfo.strength.md) + +## GangMemberInfo.strength property + +Strength stat + +Signature: + +```typescript +strength: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.strengthascensionmult.md b/markdown/bitburner.gangmemberinfo.strengthascensionmult.md new file mode 100644 index 000000000..26aee7b8e --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.strengthascensionmult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [strengthAscensionMult](./bitburner.gangmemberinfo.strengthascensionmult.md) + +## GangMemberInfo.strengthAscensionMult property + +Strength multiplier from ascension. Decimal form + +Signature: + +```typescript +strengthAscensionMult: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.strengthequipmult.md b/markdown/bitburner.gangmemberinfo.strengthequipmult.md new file mode 100644 index 000000000..3cfbac037 --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.strengthequipmult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [strengthEquipMult](./bitburner.gangmemberinfo.strengthequipmult.md) + +## GangMemberInfo.strengthEquipMult property + +Strength multiplier from equipment. Decimal form + +Signature: + +```typescript +strengthEquipMult: number; +``` diff --git a/markdown/bitburner.gangmemberinfo.task.md b/markdown/bitburner.gangmemberinfo.task.md new file mode 100644 index 000000000..240642ebb --- /dev/null +++ b/markdown/bitburner.gangmemberinfo.task.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangMemberInfo](./bitburner.gangmemberinfo.md) > [task](./bitburner.gangmemberinfo.task.md) + +## GangMemberInfo.task property + +Name of currently assigned task + +Signature: + +```typescript +task: GangTasks; +``` diff --git a/markdown/bitburner.gangname.md b/markdown/bitburner.gangname.md new file mode 100644 index 000000000..6b65be140 --- /dev/null +++ b/markdown/bitburner.gangname.md @@ -0,0 +1,18 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangName](./bitburner.gangname.md) + +## GangName type + +Signature: + +```typescript +type GangName = + | "Slum Snakes" + | "Tetrads" + | "The Syndicate" + | "The Dark Army" + | "Speakers for the Dead" + | "NiteSec" + | "The Black Hand"; +``` diff --git a/markdown/bitburner.gangotherinfo.md b/markdown/bitburner.gangotherinfo.md new file mode 100644 index 000000000..def8ff124 --- /dev/null +++ b/markdown/bitburner.gangotherinfo.md @@ -0,0 +1,16 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfo](./bitburner.gangotherinfo.md) + +## GangOtherInfo type + +Signature: + +```typescript +type GangOtherInfo = { + /** Stock Symbol */ + [key in GangName]: GangOtherInfoObject[]; +}; +``` +References: [GangName](./bitburner.gangname.md), [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) + diff --git a/markdown/bitburner.gangotherinfoobject.md b/markdown/bitburner.gangotherinfoobject.md new file mode 100644 index 000000000..32c870ca1 --- /dev/null +++ b/markdown/bitburner.gangotherinfoobject.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) + +## GangOtherInfoObject interface + + +Signature: + +```typescript +interface GangOtherInfoObject +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [power](./bitburner.gangotherinfoobject.power.md) | number | Gang power | +| [territory](./bitburner.gangotherinfoobject.territory.md) | number | Gang territory, in decimal form | + diff --git a/markdown/bitburner.gangotherinfoobject.power.md b/markdown/bitburner.gangotherinfoobject.power.md new file mode 100644 index 000000000..58986c561 --- /dev/null +++ b/markdown/bitburner.gangotherinfoobject.power.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) > [power](./bitburner.gangotherinfoobject.power.md) + +## GangOtherInfoObject.power property + +Gang power + +Signature: + +```typescript +power: number; +``` diff --git a/markdown/bitburner.gangotherinfoobject.territory.md b/markdown/bitburner.gangotherinfoobject.territory.md new file mode 100644 index 000000000..9314c4fc4 --- /dev/null +++ b/markdown/bitburner.gangotherinfoobject.territory.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) > [territory](./bitburner.gangotherinfoobject.territory.md) + +## GangOtherInfoObject.territory property + +Gang territory, in decimal form + +Signature: + +```typescript +territory: number; +``` diff --git a/markdown/bitburner.gangtasks.md b/markdown/bitburner.gangtasks.md new file mode 100644 index 000000000..af6323826 --- /dev/null +++ b/markdown/bitburner.gangtasks.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasks](./bitburner.gangtasks.md) + +## GangTasks type + +Signature: + +```typescript +type GangTasks = + | "Unassigned" + | "Ransomware" + | "Phishing" + | "Identity Theft" + | "DDoS Attacks" + | "Plant Virus" + | "Fraud & Counterfeiting" + | "Money Laundering" + | "Cyberterrorism" + | "Ethical Hacking" + | "Mug People" + | "Deal Drugs" + | "Strongarm Civilians" + | "Run a Con" + | "Armed Robbery" + | "Traffick Illegal Arms" + | "Threaten & Blackmail" + | "Human Trafficking" + | "Terrorism" + | "Vigilante Justice" + | "Train Combat" + | "Train Hacking" + | "Train Charisma" + | "Territory Warfare"; +``` diff --git a/markdown/bitburner.gangtasksstats.agiweight.md b/markdown/bitburner.gangtasksstats.agiweight.md new file mode 100644 index 000000000..78d3d9372 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.agiweight.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [agiWeight](./bitburner.gangtasksstats.agiweight.md) + +## GangTasksStats.agiWeight property + +Agility skill impact on task scaling + +Signature: + +```typescript +agiWeight: number; +``` diff --git a/markdown/bitburner.gangtasksstats.basemoney.md b/markdown/bitburner.gangtasksstats.basemoney.md new file mode 100644 index 000000000..ddec18ff4 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.basemoney.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [baseMoney](./bitburner.gangtasksstats.basemoney.md) + +## GangTasksStats.baseMoney property + +Base money earned + +Signature: + +```typescript +baseMoney: number; +``` diff --git a/markdown/bitburner.gangtasksstats.baserespect.md b/markdown/bitburner.gangtasksstats.baserespect.md new file mode 100644 index 000000000..2cebf8a23 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.baserespect.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [baseRespect](./bitburner.gangtasksstats.baserespect.md) + +## GangTasksStats.baseRespect property + +Base respect earned + +Signature: + +```typescript +baseRespect: number; +``` diff --git a/markdown/bitburner.gangtasksstats.basewanted.md b/markdown/bitburner.gangtasksstats.basewanted.md new file mode 100644 index 000000000..635ff5755 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.basewanted.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [baseWanted](./bitburner.gangtasksstats.basewanted.md) + +## GangTasksStats.baseWanted property + +Base wanted earned + +Signature: + +```typescript +baseWanted: number; +``` diff --git a/markdown/bitburner.gangtasksstats.chaweight.md b/markdown/bitburner.gangtasksstats.chaweight.md new file mode 100644 index 000000000..c2ac795ff --- /dev/null +++ b/markdown/bitburner.gangtasksstats.chaweight.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [chaWeight](./bitburner.gangtasksstats.chaweight.md) + +## GangTasksStats.chaWeight property + +Charisma skill impact on task scaling + +Signature: + +```typescript +chaWeight: number; +``` diff --git a/markdown/bitburner.gangtasksstats.defweight.md b/markdown/bitburner.gangtasksstats.defweight.md new file mode 100644 index 000000000..67299a579 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.defweight.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [defWeight](./bitburner.gangtasksstats.defweight.md) + +## GangTasksStats.defWeight property + +Defense skill impact on task scaling + +Signature: + +```typescript +defWeight: number; +``` diff --git a/markdown/bitburner.gangtasksstats.desc.md b/markdown/bitburner.gangtasksstats.desc.md new file mode 100644 index 000000000..eff5d3490 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.desc.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [desc](./bitburner.gangtasksstats.desc.md) + +## GangTasksStats.desc property + +Task Description + +Signature: + +```typescript +desc: string; +``` diff --git a/markdown/bitburner.gangtasksstats.dexweight.md b/markdown/bitburner.gangtasksstats.dexweight.md new file mode 100644 index 000000000..d3a5d8cdf --- /dev/null +++ b/markdown/bitburner.gangtasksstats.dexweight.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [dexWeight](./bitburner.gangtasksstats.dexweight.md) + +## GangTasksStats.dexWeight property + +Dexterity skill impact on task scaling + +Signature: + +```typescript +dexWeight: number; +``` diff --git a/markdown/bitburner.gangtasksstats.difficulty.md b/markdown/bitburner.gangtasksstats.difficulty.md new file mode 100644 index 000000000..ad17933b1 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.difficulty.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [difficulty](./bitburner.gangtasksstats.difficulty.md) + +## GangTasksStats.difficulty property + +Number representing the difficulty of the task + +Signature: + +```typescript +difficulty: number; +``` diff --git a/markdown/bitburner.gangtasksstats.hackweight.md b/markdown/bitburner.gangtasksstats.hackweight.md new file mode 100644 index 000000000..fec445565 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.hackweight.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [hackWeight](./bitburner.gangtasksstats.hackweight.md) + +## GangTasksStats.hackWeight property + +Hacking skill impact on task scaling + +Signature: + +```typescript +hackWeight: number; +``` diff --git a/markdown/bitburner.gangtasksstats.iscombat.md b/markdown/bitburner.gangtasksstats.iscombat.md new file mode 100644 index 000000000..f1c4d610b --- /dev/null +++ b/markdown/bitburner.gangtasksstats.iscombat.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [isCombat](./bitburner.gangtasksstats.iscombat.md) + +## GangTasksStats.isCombat property + +Is a task of a combat gang + +Signature: + +```typescript +isCombat: boolean; +``` diff --git a/markdown/bitburner.gangtasksstats.ishacking.md b/markdown/bitburner.gangtasksstats.ishacking.md new file mode 100644 index 000000000..1f0f615c8 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.ishacking.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [isHacking](./bitburner.gangtasksstats.ishacking.md) + +## GangTasksStats.isHacking property + +Is a task of a hacking gang + +Signature: + +```typescript +isHacking: boolean; +``` diff --git a/markdown/bitburner.gangtasksstats.md b/markdown/bitburner.gangtasksstats.md new file mode 100644 index 000000000..e2125e8f4 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) + +## GangTasksStats interface + + +Signature: + +```typescript +interface GangTasksStats +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [agiWeight](./bitburner.gangtasksstats.agiweight.md) | number | Agility skill impact on task scaling | +| [baseMoney](./bitburner.gangtasksstats.basemoney.md) | number | Base money earned | +| [baseRespect](./bitburner.gangtasksstats.baserespect.md) | number | Base respect earned | +| [baseWanted](./bitburner.gangtasksstats.basewanted.md) | number | Base wanted earned | +| [chaWeight](./bitburner.gangtasksstats.chaweight.md) | number | Charisma skill impact on task scaling | +| [defWeight](./bitburner.gangtasksstats.defweight.md) | number | Defense skill impact on task scaling | +| [desc](./bitburner.gangtasksstats.desc.md) | string | Task Description | +| [dexWeight](./bitburner.gangtasksstats.dexweight.md) | number | Dexterity skill impact on task scaling | +| [difficulty](./bitburner.gangtasksstats.difficulty.md) | number | Number representing the difficulty of the task | +| [hackWeight](./bitburner.gangtasksstats.hackweight.md) | number | Hacking skill impact on task scaling | +| [isCombat](./bitburner.gangtasksstats.iscombat.md) | boolean | Is a task of a combat gang | +| [isHacking](./bitburner.gangtasksstats.ishacking.md) | boolean | Is a task of a hacking gang | +| [name](./bitburner.gangtasksstats.name.md) | [GangTasks](./bitburner.gangtasks.md) | Task name | +| [strWeight](./bitburner.gangtasksstats.strweight.md) | number | Stength skill impact on task scaling | +| [territory](./bitburner.gangtasksstats.territory.md) | [GangTasksTerritory](./bitburner.gangtasksterritory.md) | Territory impact on task scaling | + diff --git a/markdown/bitburner.gangtasksstats.name.md b/markdown/bitburner.gangtasksstats.name.md new file mode 100644 index 000000000..bb6287ba2 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.name.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [name](./bitburner.gangtasksstats.name.md) + +## GangTasksStats.name property + +Task name + +Signature: + +```typescript +name: GangTasks; +``` diff --git a/markdown/bitburner.gangtasksstats.strweight.md b/markdown/bitburner.gangtasksstats.strweight.md new file mode 100644 index 000000000..49be07da6 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.strweight.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [strWeight](./bitburner.gangtasksstats.strweight.md) + +## GangTasksStats.strWeight property + +Stength skill impact on task scaling + +Signature: + +```typescript +strWeight: number; +``` diff --git a/markdown/bitburner.gangtasksstats.territory.md b/markdown/bitburner.gangtasksstats.territory.md new file mode 100644 index 000000000..0d4ec5ae3 --- /dev/null +++ b/markdown/bitburner.gangtasksstats.territory.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksStats](./bitburner.gangtasksstats.md) > [territory](./bitburner.gangtasksstats.territory.md) + +## GangTasksStats.territory property + +Territory impact on task scaling + +Signature: + +```typescript +territory: GangTasksTerritory; +``` diff --git a/markdown/bitburner.gangtasksterritory.md b/markdown/bitburner.gangtasksterritory.md new file mode 100644 index 000000000..042c68d35 --- /dev/null +++ b/markdown/bitburner.gangtasksterritory.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksTerritory](./bitburner.gangtasksterritory.md) + +## GangTasksTerritory interface + + +Signature: + +```typescript +interface GangTasksTerritory +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [money](./bitburner.gangtasksterritory.money.md) | number | Money gain impact on task scaling | +| [respect](./bitburner.gangtasksterritory.respect.md) | number | Respect gain impact on task scaling | +| [wanted](./bitburner.gangtasksterritory.wanted.md) | number | Wanted gain impact on task scaling | + diff --git a/markdown/bitburner.gangtasksterritory.money.md b/markdown/bitburner.gangtasksterritory.money.md new file mode 100644 index 000000000..8fe1175e7 --- /dev/null +++ b/markdown/bitburner.gangtasksterritory.money.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksTerritory](./bitburner.gangtasksterritory.md) > [money](./bitburner.gangtasksterritory.money.md) + +## GangTasksTerritory.money property + +Money gain impact on task scaling + +Signature: + +```typescript +money: number; +``` diff --git a/markdown/bitburner.gangtasksterritory.respect.md b/markdown/bitburner.gangtasksterritory.respect.md new file mode 100644 index 000000000..8d5c77e47 --- /dev/null +++ b/markdown/bitburner.gangtasksterritory.respect.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksTerritory](./bitburner.gangtasksterritory.md) > [respect](./bitburner.gangtasksterritory.respect.md) + +## GangTasksTerritory.respect property + +Respect gain impact on task scaling + +Signature: + +```typescript +respect: number; +``` diff --git a/markdown/bitburner.gangtasksterritory.wanted.md b/markdown/bitburner.gangtasksterritory.wanted.md new file mode 100644 index 000000000..05f776eeb --- /dev/null +++ b/markdown/bitburner.gangtasksterritory.wanted.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GangTasksTerritory](./bitburner.gangtasksterritory.md) > [wanted](./bitburner.gangtasksterritory.wanted.md) + +## GangTasksTerritory.wanted property + +Wanted gain impact on task scaling + +Signature: + +```typescript +wanted: number; +``` diff --git a/markdown/bitburner.gym.md b/markdown/bitburner.gym.md new file mode 100644 index 000000000..aa9d0fef5 --- /dev/null +++ b/markdown/bitburner.gym.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Gym](./bitburner.gym.md) + +## Gym type + +Signature: + +```typescript +type Gym = "Crush Fitness Gym" | "Snap Fitness Gym" | "Iron Gym" | "Powerhouse Gym" | "Millenium Fitness Gym"; +``` diff --git a/markdown/bitburner.gymstat.md b/markdown/bitburner.gymstat.md new file mode 100644 index 000000000..665f77e47 --- /dev/null +++ b/markdown/bitburner.gymstat.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [GymStat](./bitburner.gymstat.md) + +## GymStat type + +Signature: + +```typescript +type GymStat = "str" | "def" | "dex" | "agi"; +``` diff --git a/markdown/bitburner.hackingmultipliers.chance.md b/markdown/bitburner.hackingmultipliers.chance.md new file mode 100644 index 000000000..9f7b5c2b5 --- /dev/null +++ b/markdown/bitburner.hackingmultipliers.chance.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackingMultipliers](./bitburner.hackingmultipliers.md) > [chance](./bitburner.hackingmultipliers.chance.md) + +## HackingMultipliers.chance property + +Player's hacking chance multiplier. + +Signature: + +```typescript +chance: number; +``` diff --git a/markdown/bitburner.hackingmultipliers.growth.md b/markdown/bitburner.hackingmultipliers.growth.md new file mode 100644 index 000000000..43ad29e2d --- /dev/null +++ b/markdown/bitburner.hackingmultipliers.growth.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackingMultipliers](./bitburner.hackingmultipliers.md) > [growth](./bitburner.hackingmultipliers.growth.md) + +## HackingMultipliers.growth property + +Player's hacking growth multiplier + +Signature: + +```typescript +growth: number; +``` diff --git a/markdown/bitburner.hackingmultipliers.md b/markdown/bitburner.hackingmultipliers.md new file mode 100644 index 000000000..78f4fab06 --- /dev/null +++ b/markdown/bitburner.hackingmultipliers.md @@ -0,0 +1,22 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackingMultipliers](./bitburner.hackingmultipliers.md) + +## HackingMultipliers interface + + +Signature: + +```typescript +interface HackingMultipliers +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [chance](./bitburner.hackingmultipliers.chance.md) | number | Player's hacking chance multiplier. | +| [growth](./bitburner.hackingmultipliers.growth.md) | number | Player's hacking growth multiplier | +| [money](./bitburner.hackingmultipliers.money.md) | number | Player's hacking money stolen multiplier. | +| [speed](./bitburner.hackingmultipliers.speed.md) | number | Player's hacking speed multiplier. | + diff --git a/markdown/bitburner.hackingmultipliers.money.md b/markdown/bitburner.hackingmultipliers.money.md new file mode 100644 index 000000000..e578aaa14 --- /dev/null +++ b/markdown/bitburner.hackingmultipliers.money.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackingMultipliers](./bitburner.hackingmultipliers.md) > [money](./bitburner.hackingmultipliers.money.md) + +## HackingMultipliers.money property + +Player's hacking money stolen multiplier. + +Signature: + +```typescript +money: number; +``` diff --git a/markdown/bitburner.hackingmultipliers.speed.md b/markdown/bitburner.hackingmultipliers.speed.md new file mode 100644 index 000000000..646bec789 --- /dev/null +++ b/markdown/bitburner.hackingmultipliers.speed.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackingMultipliers](./bitburner.hackingmultipliers.md) > [speed](./bitburner.hackingmultipliers.speed.md) + +## HackingMultipliers.speed property + +Player's hacking speed multiplier. + +Signature: + +```typescript +speed: number; +``` diff --git a/markdown/bitburner.hacknet.getcacheupgradecost.md b/markdown/bitburner.hacknet.getcacheupgradecost.md new file mode 100644 index 000000000..d7feb4bee --- /dev/null +++ b/markdown/bitburner.hacknet.getcacheupgradecost.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [getCacheUpgradeCost](./bitburner.hacknet.getcacheupgradecost.md) + +## HackNet.getCacheUpgradeCost() method + +This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node). + +Returns the cost of upgrading the cache level of the specified Hacknet Server by n. + +If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned. + +Signature: + +```typescript +getCacheUpgradeCost(index: number, n: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| index | number | Index/Identifier of Hacknet Node. | +| n | number | Number of times to upgrade cache. Must be positive. Rounded to nearest integer. | + +Returns: + +number + +Cost of upgrading the specified Hacknet Node's cache. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknet.getcoreupgradecost.md b/markdown/bitburner.hacknet.getcoreupgradecost.md new file mode 100644 index 000000000..6d773bf0e --- /dev/null +++ b/markdown/bitburner.hacknet.getcoreupgradecost.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [getCoreUpgradeCost](./bitburner.hacknet.getcoreupgradecost.md) + +## HackNet.getCoreUpgradeCost() method + +Returns the cost of upgrading the number of cores of the specified Hacknet Node by n. + +If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned. + +Signature: + +```typescript +getCoreUpgradeCost(index: number, n: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| index | number | Index/Identifier of Hacknet Node. | +| n | number | Number of times to upgrade cores. Must be positive. Rounded to nearest integer. | + +Returns: + +number + +Cost of upgrading the specified Hacknet Node's number of cores. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknet.getlevelupgradecost.md b/markdown/bitburner.hacknet.getlevelupgradecost.md new file mode 100644 index 000000000..adda51ea7 --- /dev/null +++ b/markdown/bitburner.hacknet.getlevelupgradecost.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [getLevelUpgradeCost](./bitburner.hacknet.getlevelupgradecost.md) + +## HackNet.getLevelUpgradeCost() method + +Returns the cost of upgrading the specified Hacknet Node by n levels. + +If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned. + +Signature: + +```typescript +getLevelUpgradeCost(index: number, n: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| index | number | Index/Identifier of Hacknet Node. | +| n | number | Number of levels to upgrade. Must be positive. Rounded to nearest integer. | + +Returns: + +number + +Cost of upgrading the specified Hacknet Node. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknet.getnodestats.md b/markdown/bitburner.hacknet.getnodestats.md new file mode 100644 index 000000000..9129252ac --- /dev/null +++ b/markdown/bitburner.hacknet.getnodestats.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [getNodeStats](./bitburner.hacknet.getnodestats.md) + +## HackNet.getNodeStats() method + +Returns an object containing a variety of stats about the specified Hacknet Node. + +Note that for Hacknet Nodes, production refers to the amount of money the node generates. For Hacknet Servers (the upgraded version of Hacknet Nodes), production refers to the amount of hashes the node generates. + +Signature: + +```typescript +getNodeStats(index: number): NodeStats; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| index | number | Index/Identifier of Hacknet Node | + +Returns: + +[NodeStats](./bitburner.nodestats.md) + +Object containing a variety of stats about the specified Hacknet Node. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknet.getpurchasenodecost.md b/markdown/bitburner.hacknet.getpurchasenodecost.md new file mode 100644 index 000000000..105af5ea8 --- /dev/null +++ b/markdown/bitburner.hacknet.getpurchasenodecost.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [getPurchaseNodeCost](./bitburner.hacknet.getpurchasenodecost.md) + +## HackNet.getPurchaseNodeCost() method + +Returns the cost of purchasing a new Hacknet Node. + +Signature: + +```typescript +getPurchaseNodeCost(): number; +``` +Returns: + +number + +Cost of purchasing a new Hacknet Node. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknet.getramupgradecost.md b/markdown/bitburner.hacknet.getramupgradecost.md new file mode 100644 index 000000000..4bf38cf34 --- /dev/null +++ b/markdown/bitburner.hacknet.getramupgradecost.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [getRamUpgradeCost](./bitburner.hacknet.getramupgradecost.md) + +## HackNet.getRamUpgradeCost() method + +Returns the cost of upgrading the RAM of the specified Hacknet Node n times. + +If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned. + +Signature: + +```typescript +getRamUpgradeCost(index: number, n: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| index | number | Index/Identifier of Hacknet Node. | +| n | number | Number of times to upgrade RAM. Must be positive. Rounded to nearest integer. | + +Returns: + +number + +Cost of upgrading the specified Hacknet Node's ram. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknet.hashcost.md b/markdown/bitburner.hacknet.hashcost.md new file mode 100644 index 000000000..52e4055d1 --- /dev/null +++ b/markdown/bitburner.hacknet.hashcost.md @@ -0,0 +1,42 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [hashCost](./bitburner.hacknet.hashcost.md) + +## HackNet.hashCost() method + +This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node). + +Returns the number of hashes required for the specified upgrade. The name of the upgrade must be an exact match. + +Signature: + +```typescript +hashCost(upgName: HashUpgrades): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| upgName | [HashUpgrades](./bitburner.hashupgrades.md) | Name of the upgrade of Hacknet Node. | + +Returns: + +number + +Number of hashes required for the specified upgrade. + +## Remarks + +0 GB + +## Example + + +```js +var upgradeName = "Sell for Corporation Funds"; +if (hacknet.numHashes() > hacknet.hashCost(upgradeName)) { + hacknet.spendHashes(upgName); +} +``` + diff --git a/markdown/bitburner.hacknet.md b/markdown/bitburner.hacknet.md new file mode 100644 index 000000000..29eb4069f --- /dev/null +++ b/markdown/bitburner.hacknet.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) + +## HackNet interface + + +Signature: + +```typescript +interface HackNet +``` + +## Methods + +| Method | Description | +| --- | --- | +| [getCacheUpgradeCost(index, n)](./bitburner.hacknet.getcacheupgradecost.md) | This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).Returns the cost of upgrading the cache level of the specified Hacknet Server by n.If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned. | +| [getCoreUpgradeCost(index, n)](./bitburner.hacknet.getcoreupgradecost.md) | Returns the cost of upgrading the number of cores of the specified Hacknet Node by n.If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned. | +| [getLevelUpgradeCost(index, n)](./bitburner.hacknet.getlevelupgradecost.md) | Returns the cost of upgrading the specified Hacknet Node by n levels.If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned. | +| [getNodeStats(index)](./bitburner.hacknet.getnodestats.md) | Returns an object containing a variety of stats about the specified Hacknet Node.Note that for Hacknet Nodes, production refers to the amount of money the node generates. For Hacknet Servers (the upgraded version of Hacknet Nodes), production refers to the amount of hashes the node generates. | +| [getPurchaseNodeCost()](./bitburner.hacknet.getpurchasenodecost.md) | Returns the cost of purchasing a new Hacknet Node. | +| [getRamUpgradeCost(index, n)](./bitburner.hacknet.getramupgradecost.md) | Returns the cost of upgrading the RAM of the specified Hacknet Node n times.If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned. | +| [hashCost(upgName)](./bitburner.hacknet.hashcost.md) | This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).Returns the number of hashes required for the specified upgrade. The name of the upgrade must be an exact match. | +| [numHashes()](./bitburner.hacknet.numhashes.md) | This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).Returns the number of hashes you have. | +| [numNodes()](./bitburner.hacknet.numnodes.md) | Returns the number of Hacknet Nodes you own. | +| [purchaseNode()](./bitburner.hacknet.purchasenode.md) | Purchases a new Hacknet Node. Returns a number with the index of the Hacknet Node. This index is equivalent to the number at the end of the Hacknet Node’s name (e.g The Hacknet Node named \`hacknet-node-4\` will have an index of 4).If the player cannot afford to purchase a new Hacknet Node then the function will return -1. | +| [spendHashes(upgName, upgTarget)](./bitburner.hacknet.spendhashes.md) | This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).Spend the hashes generated by your Hacknet Servers on an upgrade. Returns a boolean value - true if the upgrade is successfully purchased, and false otherwise.The name of the upgrade must be an exact match. The \`upgTarget\` argument is used for upgrades such as \`Reduce Minimum Security\`, which applies to a specific server. In this case, the \`upgTarget\` argument must be the hostname of the server. | +| [upgradeCache(index, n)](./bitburner.hacknet.upgradecache.md) | This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).Tries to upgrade the specified Hacknet Server’s cache n times.Returns true if it successfully upgrades the Server’s cache n times, or if it purchases some positive amount and the Server reaches its max cache level.Returns false otherwise. | +| [upgradeCore(index, n)](./bitburner.hacknet.upgradecore.md) | Tries to purchase n cores for the specified Hacknet Node.Returns true if it successfully purchases n cores for the Hacknet Node or if it purchases some positive amount and the Node reaches its max number of cores.Returns false otherwise. | +| [upgradeLevel(index, n)](./bitburner.hacknet.upgradelevel.md) | Tries to upgrade the level of the specified Hacknet Node by n.Returns true if the Hacknet Node’s level is successfully upgraded by n or if it is upgraded by some positive amount and the Node reaches its max level.Returns false otherwise. | +| [upgradeRam(index, n)](./bitburner.hacknet.upgraderam.md) | Tries to upgrade the specified Hacknet Node’s RAM n times. Note that each upgrade doubles the Node’s RAM. So this is equivalent to multiplying the Node’s RAM by 2 n.Returns true if the Hacknet Node’s RAM is successfully upgraded n times or if it is upgraded some positive number of times and the Node reaches it max RAM.Returns false otherwise. | + diff --git a/markdown/bitburner.hacknet.numhashes.md b/markdown/bitburner.hacknet.numhashes.md new file mode 100644 index 000000000..42d84c97f --- /dev/null +++ b/markdown/bitburner.hacknet.numhashes.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [numHashes](./bitburner.hacknet.numhashes.md) + +## HackNet.numHashes() method + +This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node). + +Returns the number of hashes you have. + +Signature: + +```typescript +numHashes(): number; +``` +Returns: + +number + +Number of hashes you have. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknet.numnodes.md b/markdown/bitburner.hacknet.numnodes.md new file mode 100644 index 000000000..5e96a545a --- /dev/null +++ b/markdown/bitburner.hacknet.numnodes.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [numNodes](./bitburner.hacknet.numnodes.md) + +## HackNet.numNodes() method + +Returns the number of Hacknet Nodes you own. + +Signature: + +```typescript +numNodes(): number; +``` +Returns: + +number + +number of hacknet nodes. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknet.purchasenode.md b/markdown/bitburner.hacknet.purchasenode.md new file mode 100644 index 000000000..d4b8bc580 --- /dev/null +++ b/markdown/bitburner.hacknet.purchasenode.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [purchaseNode](./bitburner.hacknet.purchasenode.md) + +## HackNet.purchaseNode() method + +Purchases a new Hacknet Node. Returns a number with the index of the Hacknet Node. This index is equivalent to the number at the end of the Hacknet Node’s name (e.g The Hacknet Node named \`hacknet-node-4\` will have an index of 4). + +If the player cannot afford to purchase a new Hacknet Node then the function will return -1. + +Signature: + +```typescript +purchaseNode(): number; +``` +Returns: + +number + +The index of the Hacknet Node or if the player cannot afford to purchase a new Hacknet Node the function will return -1. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknet.spendhashes.md b/markdown/bitburner.hacknet.spendhashes.md new file mode 100644 index 000000000..168389e76 --- /dev/null +++ b/markdown/bitburner.hacknet.spendhashes.md @@ -0,0 +1,43 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [spendHashes](./bitburner.hacknet.spendhashes.md) + +## HackNet.spendHashes() method + +This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node). + +Spend the hashes generated by your Hacknet Servers on an upgrade. Returns a boolean value - true if the upgrade is successfully purchased, and false otherwise. + +The name of the upgrade must be an exact match. The \`upgTarget\` argument is used for upgrades such as \`Reduce Minimum Security\`, which applies to a specific server. In this case, the \`upgTarget\` argument must be the hostname of the server. + +Signature: + +```typescript +spendHashes(upgName: HashUpgrades, upgTarget?: Host): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| upgName | [HashUpgrades](./bitburner.hashupgrades.md) | Name of the upgrade of Hacknet Node. | +| upgTarget | [Host](./bitburner.host.md) | Object to which upgrade applies. Required for certain upgrades. | + +Returns: + +boolean + +True if the upgrade is successfully purchased, and false otherwise.. + +## Remarks + +0 GB + +## Example + + +```js +hacknet.spendHashes("Sell for Corporation Funds"); +hacknet.spendHashes("Increase Maximum Money", "foodnstuff"); +``` + diff --git a/markdown/bitburner.hacknet.upgradecache.md b/markdown/bitburner.hacknet.upgradecache.md new file mode 100644 index 000000000..86f9260c1 --- /dev/null +++ b/markdown/bitburner.hacknet.upgradecache.md @@ -0,0 +1,37 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [upgradeCache](./bitburner.hacknet.upgradecache.md) + +## HackNet.upgradeCache() method + +This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node). + +Tries to upgrade the specified Hacknet Server’s cache n times. + +Returns true if it successfully upgrades the Server’s cache n times, or if it purchases some positive amount and the Server reaches its max cache level. + +Returns false otherwise. + +Signature: + +```typescript +upgradeCache(index: number, n: number): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| index | number | Index/Identifier of Hacknet Node. | +| n | number | Number of cache levels to purchase. Must be positive. Rounded to nearest integer. | + +Returns: + +boolean + +True if the Hacknet Node’s cores are successfully purchased, false otherwise. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknet.upgradecore.md b/markdown/bitburner.hacknet.upgradecore.md new file mode 100644 index 000000000..8bc1fe761 --- /dev/null +++ b/markdown/bitburner.hacknet.upgradecore.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [upgradeCore](./bitburner.hacknet.upgradecore.md) + +## HackNet.upgradeCore() method + +Tries to purchase n cores for the specified Hacknet Node. + +Returns true if it successfully purchases n cores for the Hacknet Node or if it purchases some positive amount and the Node reaches its max number of cores. + +Returns false otherwise. + +Signature: + +```typescript +upgradeCore(index: number, n: number): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| index | number | Index/Identifier of Hacknet Node. | +| n | number | Number of cores to purchase. Must be positive. Rounded to nearest integer. | + +Returns: + +boolean + +True if the Hacknet Node’s cores are successfully purchased, false otherwise. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknet.upgradelevel.md b/markdown/bitburner.hacknet.upgradelevel.md new file mode 100644 index 000000000..0a674e093 --- /dev/null +++ b/markdown/bitburner.hacknet.upgradelevel.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [upgradeLevel](./bitburner.hacknet.upgradelevel.md) + +## HackNet.upgradeLevel() method + +Tries to upgrade the level of the specified Hacknet Node by n. + +Returns true if the Hacknet Node’s level is successfully upgraded by n or if it is upgraded by some positive amount and the Node reaches its max level. + +Returns false otherwise. + +Signature: + +```typescript +upgradeLevel(index: number, n: number): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| index | number | Index/Identifier of Hacknet Node. | +| n | number | Number of levels to purchase. Must be positive. Rounded to nearest integer. | + +Returns: + +boolean + +True if the Hacknet Node’s level is successfully upgraded, false otherwise. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknet.upgraderam.md b/markdown/bitburner.hacknet.upgraderam.md new file mode 100644 index 000000000..daa0fc6b5 --- /dev/null +++ b/markdown/bitburner.hacknet.upgraderam.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HackNet](./bitburner.hacknet.md) > [upgradeRam](./bitburner.hacknet.upgraderam.md) + +## HackNet.upgradeRam() method + +Tries to upgrade the specified Hacknet Node’s RAM n times. Note that each upgrade doubles the Node’s RAM. So this is equivalent to multiplying the Node’s RAM by 2 n. + +Returns true if the Hacknet Node’s RAM is successfully upgraded n times or if it is upgraded some positive number of times and the Node reaches it max RAM. + +Returns false otherwise. + +Signature: + +```typescript +upgradeRam(index: number, n: number): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| index | number | Index/Identifier of Hacknet Node. | +| n | number | Number of times to upgrade RAM. Must be positive. Rounded to nearest integer. | + +Returns: + +boolean + +True if the Hacknet Node’s ram is successfully upgraded, false otherwise. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.hacknetmultipliers.corecost.md b/markdown/bitburner.hacknetmultipliers.corecost.md new file mode 100644 index 000000000..2e9abb0dc --- /dev/null +++ b/markdown/bitburner.hacknetmultipliers.corecost.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetMultipliers](./bitburner.hacknetmultipliers.md) > [coreCost](./bitburner.hacknetmultipliers.corecost.md) + +## HacknetMultipliers.coreCost property + +Player's hacknet core cost multiplier + +Signature: + +```typescript +coreCost: number; +``` diff --git a/markdown/bitburner.hacknetmultipliers.levelcost.md b/markdown/bitburner.hacknetmultipliers.levelcost.md new file mode 100644 index 000000000..a09526c7e --- /dev/null +++ b/markdown/bitburner.hacknetmultipliers.levelcost.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetMultipliers](./bitburner.hacknetmultipliers.md) > [levelCost](./bitburner.hacknetmultipliers.levelcost.md) + +## HacknetMultipliers.levelCost property + +Player's hacknet level cost multiplier + +Signature: + +```typescript +levelCost: number; +``` diff --git a/markdown/bitburner.hacknetmultipliers.md b/markdown/bitburner.hacknetmultipliers.md new file mode 100644 index 000000000..f2b7c1eeb --- /dev/null +++ b/markdown/bitburner.hacknetmultipliers.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetMultipliers](./bitburner.hacknetmultipliers.md) + +## HacknetMultipliers interface + + +Signature: + +```typescript +interface HacknetMultipliers +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [coreCost](./bitburner.hacknetmultipliers.corecost.md) | number | Player's hacknet core cost multiplier | +| [levelCost](./bitburner.hacknetmultipliers.levelcost.md) | number | Player's hacknet level cost multiplier | +| [production](./bitburner.hacknetmultipliers.production.md) | number | Player's hacknet production multiplier | +| [purchaseCost](./bitburner.hacknetmultipliers.purchasecost.md) | number | Player's hacknet purchase cost multiplier | +| [ramCost](./bitburner.hacknetmultipliers.ramcost.md) | number | Player's hacknet ram cost multiplier | + diff --git a/markdown/bitburner.hacknetmultipliers.production.md b/markdown/bitburner.hacknetmultipliers.production.md new file mode 100644 index 000000000..5b60f1d4a --- /dev/null +++ b/markdown/bitburner.hacknetmultipliers.production.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetMultipliers](./bitburner.hacknetmultipliers.md) > [production](./bitburner.hacknetmultipliers.production.md) + +## HacknetMultipliers.production property + +Player's hacknet production multiplier + +Signature: + +```typescript +production: number; +``` diff --git a/markdown/bitburner.hacknetmultipliers.purchasecost.md b/markdown/bitburner.hacknetmultipliers.purchasecost.md new file mode 100644 index 000000000..04a481172 --- /dev/null +++ b/markdown/bitburner.hacknetmultipliers.purchasecost.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetMultipliers](./bitburner.hacknetmultipliers.md) > [purchaseCost](./bitburner.hacknetmultipliers.purchasecost.md) + +## HacknetMultipliers.purchaseCost property + +Player's hacknet purchase cost multiplier + +Signature: + +```typescript +purchaseCost: number; +``` diff --git a/markdown/bitburner.hacknetmultipliers.ramcost.md b/markdown/bitburner.hacknetmultipliers.ramcost.md new file mode 100644 index 000000000..94ac4a3c8 --- /dev/null +++ b/markdown/bitburner.hacknetmultipliers.ramcost.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetMultipliers](./bitburner.hacknetmultipliers.md) > [ramCost](./bitburner.hacknetmultipliers.ramcost.md) + +## HacknetMultipliers.ramCost property + +Player's hacknet ram cost multiplier + +Signature: + +```typescript +ramCost: number; +``` diff --git a/markdown/bitburner.handle.md b/markdown/bitburner.handle.md new file mode 100644 index 000000000..3ed082733 --- /dev/null +++ b/markdown/bitburner.handle.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Handle](./bitburner.handle.md) + +## Handle type + +Signature: + +```typescript +type Handle = string | Port; +``` +References: [Port](./bitburner.port.md) + diff --git a/markdown/bitburner.hashupgrades.md b/markdown/bitburner.hashupgrades.md new file mode 100644 index 000000000..ed7def030 --- /dev/null +++ b/markdown/bitburner.hashupgrades.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [HashUpgrades](./bitburner.hashupgrades.md) + +## HashUpgrades type + +Signature: + +```typescript +type HashUpgrades = + | "Sell for Money" + | "Sell for Corporation Funds" + | "Reduce Minimum Security" + | "Increase Maximum Money" + | "Improve Studying" + | "Improve Gym Training" + | "Exchange for Corporation Research" + | "Exchange for Bladeburner Rank" + | "Exchange for Bladeburner SP" + | "Generate Coding Contract"; +``` diff --git a/markdown/bitburner.host.md b/markdown/bitburner.host.md new file mode 100644 index 000000000..cf5b83f4e --- /dev/null +++ b/markdown/bitburner.host.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Host](./bitburner.host.md) + +## Host type + +Signature: + +```typescript +type Host = string; +``` diff --git a/markdown/bitburner.md b/markdown/bitburner.md new file mode 100644 index 000000000..bce5f6a48 --- /dev/null +++ b/markdown/bitburner.md @@ -0,0 +1,87 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) + +## bitburner package + +## Interfaces + +| Interface | Description | +| --- | --- | +| [AugmentationStats](./bitburner.augmentationstats.md) | | +| [AugmentPair](./bitburner.augmentpair.md) | | +| [BasicHGWOptions](./bitburner.basichgwoptions.md) | | +| [BitNodeMultipliers](./bitburner.bitnodemultipliers.md) | | +| [Bladeburner](./bitburner.bladeburner.md) | | +| [BladeburnerCurAction](./bitburner.bladeburnercuraction.md) | | +| [CharacterInfo](./bitburner.characterinfo.md) | | +| [CharacterMult](./bitburner.charactermult.md) | | +| [CodingAttemptOptions](./bitburner.codingattemptoptions.md) | | +| [CodingContract](./bitburner.codingcontract.md) | | +| [CrimeStats](./bitburner.crimestats.md) | | +| [Gang](./bitburner.gang.md) | | +| [GangEquipmentStats](./bitburner.gangequipmentstats.md) | | +| [GangGenInfo](./bitburner.ganggeninfo.md) | | +| [GangMemberAscension](./bitburner.gangmemberascension.md) | | +| [GangMemberInfo](./bitburner.gangmemberinfo.md) | | +| [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | | +| [GangTasksStats](./bitburner.gangtasksstats.md) | | +| [GangTasksTerritory](./bitburner.gangtasksterritory.md) | | +| [HackingMultipliers](./bitburner.hackingmultipliers.md) | | +| [HackNet](./bitburner.hacknet.md) | | +| [HacknetMultipliers](./bitburner.hacknetmultipliers.md) | | +| [NodeStats](./bitburner.nodestats.md) | | +| [NS](./bitburner.ns.md) | | +| [PlayerStats](./bitburner.playerstats.md) | | +| [ProcessInfo](./bitburner.processinfo.md) | | +| [Server](./bitburner.server.md) | | +| [Singularity](./bitburner.singularity.md) | | +| [Sleeve](./bitburner.sleeve.md) | | +| [SleeveInformation](./bitburner.sleeveinformation.md) | | +| [SleeveStats](./bitburner.sleevestats.md) | | +| [SleeveTask](./bitburner.sleevetask.md) | | +| [SleeveWorkGains](./bitburner.sleeveworkgains.md) | | +| [SourceFileLvl](./bitburner.sourcefilelvl.md) | | +| [StockOrderObject](./bitburner.stockorderobject.md) | | +| [TIX](./bitburner.tix.md) | | + +## Type Aliases + +| Type Alias | Description | +| --- | --- | +| [AugmentName](./bitburner.augmentname.md) | | +| [BladeburnerActTypes](./bitburner.bladeburneracttypes.md) | | +| [BladeburnerBlackOps](./bitburner.bladeburnerblackops.md) | | +| [BladeburnerContracts](./bitburner.bladeburnercontracts.md) | | +| [BladeburnerGenActions](./bitburner.bladeburnergenactions.md) | | +| [BladeburnerOperations](./bitburner.bladeburneroperations.md) | | +| [BladeburnerSkills](./bitburner.bladeburnerskills.md) | | +| [City](./bitburner.city.md) | | +| [CodingContractTypes](./bitburner.codingcontracttypes.md) | | +| [CompanyField](./bitburner.companyfield.md) | | +| [CompanyName](./bitburner.companyname.md) | | +| [CreatableProgram](./bitburner.creatableprogram.md) | | +| [Crime](./bitburner.crime.md) | | +| [FactionName](./bitburner.factionname.md) | | +| [FactionWork](./bitburner.factionwork.md) | | +| [GangAugmentations](./bitburner.gangaugmentations.md) | | +| [GangEquipment](./bitburner.gangequipment.md) | | +| [GangEquipmentType](./bitburner.gangequipmenttype.md) | | +| [GangName](./bitburner.gangname.md) | | +| [GangOtherInfo](./bitburner.gangotherinfo.md) | | +| [GangTasks](./bitburner.gangtasks.md) | | +| [Gym](./bitburner.gym.md) | | +| [GymStat](./bitburner.gymstat.md) | | +| [Handle](./bitburner.handle.md) | | +| [HashUpgrades](./bitburner.hashupgrades.md) | | +| [Host](./bitburner.host.md) | | +| [OrderPos](./bitburner.orderpos.md) | | +| [OrderType](./bitburner.ordertype.md) | | +| [Port](./bitburner.port.md) | A port is implemented as a sort of serialized queue, where you can only write and read one element at a time from the port. When you read data from a port, the element that is read is removed from the port.IMPORTANT: The data inside ports are not saved! This means if you close and re-open the game, or reload the page then you will lose all of the data in the ports! | +| [PurchaseableProgram](./bitburner.purchaseableprogram.md) | | +| [Script](./bitburner.script.md) | | +| [StockOrder](./bitburner.stockorder.md) | | +| [StockSymbol](./bitburner.stocksymbol.md) | | +| [University](./bitburner.university.md) | | +| [UniversityCourse](./bitburner.universitycourse.md) | | + diff --git a/markdown/bitburner.nodestats.cache.md b/markdown/bitburner.nodestats.cache.md new file mode 100644 index 000000000..ddd45db91 --- /dev/null +++ b/markdown/bitburner.nodestats.cache.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NodeStats](./bitburner.nodestats.md) > [cache](./bitburner.nodestats.cache.md) + +## NodeStats.cache property + +Cache level. Only applicable for Hacknet Servers + +Signature: + +```typescript +cache: number; +``` diff --git a/markdown/bitburner.nodestats.cores.md b/markdown/bitburner.nodestats.cores.md new file mode 100644 index 000000000..1f172625d --- /dev/null +++ b/markdown/bitburner.nodestats.cores.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NodeStats](./bitburner.nodestats.md) > [cores](./bitburner.nodestats.cores.md) + +## NodeStats.cores property + +Node's number of cores + +Signature: + +```typescript +cores: number; +``` diff --git a/markdown/bitburner.nodestats.hashcapacity.md b/markdown/bitburner.nodestats.hashcapacity.md new file mode 100644 index 000000000..dda77dcb0 --- /dev/null +++ b/markdown/bitburner.nodestats.hashcapacity.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NodeStats](./bitburner.nodestats.md) > [hashCapacity](./bitburner.nodestats.hashcapacity.md) + +## NodeStats.hashCapacity property + +Hash Capacity provided by this Node. Only applicable for Hacknet Servers + +Signature: + +```typescript +hashCapacity: number; +``` diff --git a/markdown/bitburner.nodestats.level.md b/markdown/bitburner.nodestats.level.md new file mode 100644 index 000000000..f4831524c --- /dev/null +++ b/markdown/bitburner.nodestats.level.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NodeStats](./bitburner.nodestats.md) > [level](./bitburner.nodestats.level.md) + +## NodeStats.level property + +Node's level + +Signature: + +```typescript +level: number; +``` diff --git a/markdown/bitburner.nodestats.md b/markdown/bitburner.nodestats.md new file mode 100644 index 000000000..cb99a4cb7 --- /dev/null +++ b/markdown/bitburner.nodestats.md @@ -0,0 +1,27 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NodeStats](./bitburner.nodestats.md) + +## NodeStats interface + + +Signature: + +```typescript +interface NodeStats +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [cache](./bitburner.nodestats.cache.md) | number | Cache level. Only applicable for Hacknet Servers | +| [cores](./bitburner.nodestats.cores.md) | number | Node's number of cores | +| [hashCapacity](./bitburner.nodestats.hashcapacity.md) | number | Hash Capacity provided by this Node. Only applicable for Hacknet Servers | +| [level](./bitburner.nodestats.level.md) | number | Node's level | +| [name](./bitburner.nodestats.name.md) | string | Node's name ("hacknet-node-5") | +| [production](./bitburner.nodestats.production.md) | number | Node's production per second | +| [ram](./bitburner.nodestats.ram.md) | number | Node's RAM | +| [timeOnline](./bitburner.nodestats.timeonline.md) | number | Number of seconds since Node has been purchased | +| [totalProduction](./bitburner.nodestats.totalproduction.md) | number | Total number of money Node has produced | + diff --git a/markdown/bitburner.nodestats.name.md b/markdown/bitburner.nodestats.name.md new file mode 100644 index 000000000..e74e9c5dc --- /dev/null +++ b/markdown/bitburner.nodestats.name.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NodeStats](./bitburner.nodestats.md) > [name](./bitburner.nodestats.name.md) + +## NodeStats.name property + +Node's name ("hacknet-node-5") + +Signature: + +```typescript +name: string; +``` diff --git a/markdown/bitburner.nodestats.production.md b/markdown/bitburner.nodestats.production.md new file mode 100644 index 000000000..efa0eecb0 --- /dev/null +++ b/markdown/bitburner.nodestats.production.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NodeStats](./bitburner.nodestats.md) > [production](./bitburner.nodestats.production.md) + +## NodeStats.production property + +Node's production per second + +Signature: + +```typescript +production: number; +``` diff --git a/markdown/bitburner.nodestats.ram.md b/markdown/bitburner.nodestats.ram.md new file mode 100644 index 000000000..48acd6ccc --- /dev/null +++ b/markdown/bitburner.nodestats.ram.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NodeStats](./bitburner.nodestats.md) > [ram](./bitburner.nodestats.ram.md) + +## NodeStats.ram property + +Node's RAM + +Signature: + +```typescript +ram: number; +``` diff --git a/markdown/bitburner.nodestats.timeonline.md b/markdown/bitburner.nodestats.timeonline.md new file mode 100644 index 000000000..0ce7e92e9 --- /dev/null +++ b/markdown/bitburner.nodestats.timeonline.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NodeStats](./bitburner.nodestats.md) > [timeOnline](./bitburner.nodestats.timeonline.md) + +## NodeStats.timeOnline property + +Number of seconds since Node has been purchased + +Signature: + +```typescript +timeOnline: number; +``` diff --git a/markdown/bitburner.nodestats.totalproduction.md b/markdown/bitburner.nodestats.totalproduction.md new file mode 100644 index 000000000..d5e3c7b7e --- /dev/null +++ b/markdown/bitburner.nodestats.totalproduction.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NodeStats](./bitburner.nodestats.md) > [totalProduction](./bitburner.nodestats.totalproduction.md) + +## NodeStats.totalProduction property + +Total number of money Node has produced + +Signature: + +```typescript +totalProduction: number; +``` diff --git a/markdown/bitburner.ns.args.md b/markdown/bitburner.ns.args.md new file mode 100644 index 000000000..2b0ddbfb9 --- /dev/null +++ b/markdown/bitburner.ns.args.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [args](./bitburner.ns.args.md) + +## NS.args property + +Arguments passed into a script can be accessed using a normal array using the \[\] operator (args\[0\], args\[1\], etc…). + +It is also possible to get the number of arguments that was passed into a script using: + +```js +args.length +``` +WARNING: Do not try to modify the args array. This will break the game. + +Signature: + +```typescript +readonly args: any[]; +``` + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.bladeburner.md b/markdown/bitburner.ns.bladeburner.md new file mode 100644 index 000000000..fe82f244a --- /dev/null +++ b/markdown/bitburner.ns.bladeburner.md @@ -0,0 +1,16 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [bladeburner](./bitburner.ns.bladeburner.md) + +## NS.bladeburner property + +Signature: + +```typescript +readonly bladeburner: Bladeburner; +``` + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.brutessh.md b/markdown/bitburner.ns.brutessh.md new file mode 100644 index 000000000..7e75b62c8 --- /dev/null +++ b/markdown/bitburner.ns.brutessh.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [brutessh](./bitburner.ns.brutessh.md) + +## NS.brutessh() method + +Runs the BruteSSH.exe program on the target server. BruteSSH.exe must exist on your home computer. + +Signature: + +```typescript +brutessh(host: Host): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server. | + +Returns: + +void + +## Remarks + +0.05 GB + +## Example + + +```js +brutessh("foodnstuff"); +``` + diff --git a/markdown/bitburner.ns.clear.md b/markdown/bitburner.ns.clear.md new file mode 100644 index 000000000..54e1e7b52 --- /dev/null +++ b/markdown/bitburner.ns.clear.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [clear](./bitburner.ns.clear.md) + +## NS.clear() method + +This function is used to clear data in a Netscript Ports or a text file. + +If the port/fn argument is a number between 1 and 20, then it specifies a port and will clear it (deleting all data from the underlying queue). + +If the port/fn argument is a string, then it specifies the name of a text file (.txt) and will delete all data from that text file. + +Signature: + +```typescript +clear(handle: Handle): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| handle | [Handle](./bitburner.handle.md) | Port or text file to clear. | + +Returns: + +void + +## Remarks + +1 GB + diff --git a/markdown/bitburner.ns.clearlog.md b/markdown/bitburner.ns.clearlog.md new file mode 100644 index 000000000..66d5daba3 --- /dev/null +++ b/markdown/bitburner.ns.clearlog.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [clearLog](./bitburner.ns.clearlog.md) + +## NS.clearLog() method + +Clears the script’s logs. + +Signature: + +```typescript +clearLog(): void; +``` +Returns: + +void + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.codingcontract.md b/markdown/bitburner.ns.codingcontract.md new file mode 100644 index 000000000..67c54cd58 --- /dev/null +++ b/markdown/bitburner.ns.codingcontract.md @@ -0,0 +1,16 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [codingcontract](./bitburner.ns.codingcontract.md) + +## NS.codingcontract property + +Signature: + +```typescript +readonly codingcontract: CodingContract; +``` + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.deleteserver.md b/markdown/bitburner.ns.deleteserver.md new file mode 100644 index 000000000..67eede3e2 --- /dev/null +++ b/markdown/bitburner.ns.deleteserver.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [deleteServer](./bitburner.ns.deleteserver.md) + +## NS.deleteServer() method + +Deletes one of your purchased servers, which is specified by its hostname. + +The hostname argument can be any data type, but it will be converted to a string. Whitespace is automatically removed from the string. This function will not delete a server that still has scripts running on it. + +Signature: + +```typescript +deleteServer(host: Host): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host of the server to delete. | + +Returns: + +boolean + +True if successful, and false otherwise. + +## Remarks + +2.25 GB + diff --git a/markdown/bitburner.ns.disablelog.md b/markdown/bitburner.ns.disablelog.md new file mode 100644 index 000000000..14605f2bd --- /dev/null +++ b/markdown/bitburner.ns.disablelog.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [disableLog](./bitburner.ns.disablelog.md) + +## NS.disableLog() method + +Disables logging for the given function. Logging can be disabled for all functions by passing \`ALL\` as the argument. + +Note that this does not completely remove all logging functionality. This only stops a function from logging when the function is successful. If the function fails, it will still log the reason for failure. + +Notable functions that cannot have their logs disabled: run, exec, exit. + +Signature: + +```typescript +disableLog(fn: string): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| fn | string | Name of function for which to disable logging. | + +Returns: + +void + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.enablelog.md b/markdown/bitburner.ns.enablelog.md new file mode 100644 index 000000000..637109a20 --- /dev/null +++ b/markdown/bitburner.ns.enablelog.md @@ -0,0 +1,28 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [enableLog](./bitburner.ns.enablelog.md) + +## NS.enableLog() method + +Re-enables logging for the given function. If \`ALL\` is passed into this function as an argument, then it will revert the effects of disableLog(\`ALL\`). + +Signature: + +```typescript +enableLog(fn: string): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| fn | string | Name of function for which to enable logging. | + +Returns: + +void + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.exec.md b/markdown/bitburner.ns.exec.md new file mode 100644 index 000000000..2bcbc235f --- /dev/null +++ b/markdown/bitburner.ns.exec.md @@ -0,0 +1,63 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [exec](./bitburner.ns.exec.md) + +## NS.exec() method + +Run a script as a separate process on a specified server. This is similar to the run function except that it can be used to run a script on any server, instead of just the current server. + +If the script was successfully started, then this functions returns the PID of that script. Otherwise, it returns 0. + +PID stands for Process ID. The PID is a unique identifier for each script. The PID will always be a positive integer. + +Running this function with a numThreads argument of 0 will return 0 without running the script. However, running this function with a negative numThreads argument will cause a runtime error. + +Signature: + +```typescript +exec(script: Script, host: Host, numThreads?: number, ...args: string[]): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| script | [Script](./bitburner.script.md) | Filename of script to execute. | +| host | [Host](./bitburner.host.md) | Hostname or IP of the \`target server\` on which to execute the script. | +| numThreads | number | Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer. | +| args | string\[\] | Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the third argument numThreads must be filled in with a value. | + +Returns: + +number + +Returns the PID of a successfully started script, and 0 otherwise. + +## Remarks + +1.3 GB + +## Example 1 + + +```js +//The simplest way to use the exec command is to call it with just the script name and the target server. The following example will try to run generic-hack.script on the foodnstuff server: +exec("generic-hack.script", "foodnstuff"); +``` + +## Example 2 + + +```js +//The following example will try to run the script generic-hack.script on the joesguns server with 10 threads: +exec("generic-hack.script", "joesguns", 10); +``` + +## Example 3 + + +```js +//This last example will try to run the script foo.script on the foodnstuff server with 5 threads. It will also pass the number 1 and the string “test” in as arguments to the script: +exec("foo.script", "foodnstuff", 5, 1, "test"); +``` + diff --git a/markdown/bitburner.ns.exit.md b/markdown/bitburner.ns.exit.md new file mode 100644 index 000000000..986d11e89 --- /dev/null +++ b/markdown/bitburner.ns.exit.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [exit](./bitburner.ns.exit.md) + +## NS.exit() method + +Terminates the current script immediately. + +Signature: + +```typescript +exit(): void; +``` +Returns: + +void + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.fileexists.md b/markdown/bitburner.ns.fileexists.md new file mode 100644 index 000000000..8972e19cb --- /dev/null +++ b/markdown/bitburner.ns.fileexists.md @@ -0,0 +1,49 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [fileExists](./bitburner.ns.fileexists.md) + +## NS.fileExists() method + +Returns a boolean indicating whether the specified file exists on the target server. The filename for scripts is case-sensitive, but for other types of files it is not. For example, fileExists(“brutessh.exe”) will work fine, even though the actual program is named 'BruteSSH.exe'. + +If the hostname/ip argument is omitted, then the function will search through the current server (the server running the script that calls this function) for the file. + +Signature: + +```typescript +fileExists(filename: string, host?: Host): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| filename | string | Filename of file to check. | +| host | [Host](./bitburner.host.md) | Host or IP of target server. This is optional. If it is not specified then the function will use the current server as the target server. | + +Returns: + +boolean + +True if specified file exists, and false otherwise. + +## Remarks + +0.1 GB + +## Example 1 + + +```js +//The function call will return true if the script named foo.script exists on the foodnstuff server, and false otherwise. +fileExists("foo.script", "foodnstuff"); +``` + +## Example 2 + + +```js +//The function call will return true if the current server contains the FTPCrack.exe program, and false otherwise. +fileExists("ftpcrack.exe"); +``` + diff --git a/markdown/bitburner.ns.ftpcrack.md b/markdown/bitburner.ns.ftpcrack.md new file mode 100644 index 000000000..b9d47d7d7 --- /dev/null +++ b/markdown/bitburner.ns.ftpcrack.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [ftpcrack](./bitburner.ns.ftpcrack.md) + +## NS.ftpcrack() method + +Runs the FTPCrack.exe program on the target server. FTPCrack.exe must exist on your home computer. + +Signature: + +```typescript +ftpcrack(host: Host): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server. | + +Returns: + +void + +## Remarks + +0.05 GB + +## Example + + +```js +ftpcrack("foodnstuff"); +``` + diff --git a/markdown/bitburner.ns.gang.md b/markdown/bitburner.ns.gang.md new file mode 100644 index 000000000..7302145c5 --- /dev/null +++ b/markdown/bitburner.ns.gang.md @@ -0,0 +1,16 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [gang](./bitburner.ns.gang.md) + +## NS.gang property + +Signature: + +```typescript +readonly gang: Gang; +``` + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.getbitnodemultipliers.md b/markdown/bitburner.ns.getbitnodemultipliers.md new file mode 100644 index 000000000..2c8244949 --- /dev/null +++ b/markdown/bitburner.ns.getbitnodemultipliers.md @@ -0,0 +1,43 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getBitNodeMultipliers](./bitburner.ns.getbitnodemultipliers.md) + +## NS.getBitNodeMultipliers() method + +Returns an object containing the current BitNode multipliers. This function requires Source-File 5 in order to run. The multipliers are returned in decimal forms (e.g. 1.5 instead of 150%). The multipliers represent the difference between the current BitNode and the original BitNode (BitNode-1). + +For example, if the CrimeMoney multiplier has a value of 0.1, then that means that committing crimes in the current BitNode will only give 10% of the money you would have received in BitNode-1. + +Signature: + +```typescript +getBitNodeMultipliers(url: string, target: string, host: string): BitNodeMultipliers; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| url | string | | +| target | string | | +| host | string | | + +Returns: + +[BitNodeMultipliers](./bitburner.bitnodemultipliers.md) + +Object containing the current BitNode multipliers. + +## Remarks + +4 GB + +## Example + + +```js +mults = getBitNodeMultipliers(); +print(mults.ServerMaxMoney); +print(mults.HackExpGain); +``` + diff --git a/markdown/bitburner.ns.getfavortodonate.md b/markdown/bitburner.ns.getfavortodonate.md new file mode 100644 index 000000000..6f4520ec6 --- /dev/null +++ b/markdown/bitburner.ns.getfavortodonate.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getFavorToDonate](./bitburner.ns.getfavortodonate.md) + +## NS.getFavorToDonate() method + +Returns the amount of Faction favor required to be able to donate to a faction. + +Signature: + +```typescript +getFavorToDonate(): number; +``` +Returns: + +number + +Amount of Faction favor required to be able to donate to a faction. + +## Remarks + +0.1 GB + diff --git a/markdown/bitburner.ns.getgrowtime.md b/markdown/bitburner.ns.getgrowtime.md new file mode 100644 index 000000000..e27a24a40 --- /dev/null +++ b/markdown/bitburner.ns.getgrowtime.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getGrowTime](./bitburner.ns.getgrowtime.md) + +## NS.getGrowTime() method + +Returns the amount of time in seconds it takes to execute the grow Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the grow time would be at different hacking levels. + +Signature: + +```typescript +getGrowTime(host: Host, hackLvl?: number, intLvl?: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | +| hackLvl | number | Optional hacking level for the calculation. Defaults to player’s current hacking level. | +| intLvl | number | Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). | + +Returns: + +number + +Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server. + +## Remarks + +0.05 GB + diff --git a/markdown/bitburner.ns.gethackinglevel.md b/markdown/bitburner.ns.gethackinglevel.md new file mode 100644 index 000000000..2a513b34e --- /dev/null +++ b/markdown/bitburner.ns.gethackinglevel.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getHackingLevel](./bitburner.ns.gethackinglevel.md) + +## NS.getHackingLevel() method + +Returns the player’s current hacking level. + +Signature: + +```typescript +getHackingLevel(): number; +``` +Returns: + +number + +Player’s current hacking level + +## Remarks + +0.05 GB + diff --git a/markdown/bitburner.ns.gethackingmultipliers.md b/markdown/bitburner.ns.gethackingmultipliers.md new file mode 100644 index 000000000..cb6a700e2 --- /dev/null +++ b/markdown/bitburner.ns.gethackingmultipliers.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getHackingMultipliers](./bitburner.ns.gethackingmultipliers.md) + +## NS.getHackingMultipliers() method + +Returns an object containing the Player’s hacking related multipliers. These multipliers are returned in fractional forms, not percentages (e.g. 1.5 instead of 150%). + +Signature: + +```typescript +getHackingMultipliers(): HackingMultipliers; +``` +Returns: + +[HackingMultipliers](./bitburner.hackingmultipliers.md) + +Object containing the Player’s hacking related multipliers. + +## Remarks + +4 GB + +## Example + + +```js +//Example of how this can be used: +mults = getHackingMultipliers(); +print(mults.chance); +print(mults.growth); +``` + diff --git a/markdown/bitburner.ns.gethacknetmultipliers.md b/markdown/bitburner.ns.gethacknetmultipliers.md new file mode 100644 index 000000000..4498c06c4 --- /dev/null +++ b/markdown/bitburner.ns.gethacknetmultipliers.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getHacknetMultipliers](./bitburner.ns.gethacknetmultipliers.md) + +## NS.getHacknetMultipliers() method + +Returns an object containing the Player’s hacknet related multipliers. These multipliers are returned in fractional forms, not percentages (e.g. 1.5 instead of 150%). + +Signature: + +```typescript +getHacknetMultipliers(): HacknetMultipliers; +``` +Returns: + +[HacknetMultipliers](./bitburner.hacknetmultipliers.md) + +Object containing the Player’s hacknet related multipliers. + +## Remarks + +4 GB + +## Example + + +```js +//Example of how this can be used: +mults = getHacknetMultipliers(); +print(mults.production); +print(mults.purchaseCost); +``` + diff --git a/markdown/bitburner.ns.gethacktime.md b/markdown/bitburner.ns.gethacktime.md new file mode 100644 index 000000000..f11156e15 --- /dev/null +++ b/markdown/bitburner.ns.gethacktime.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getHackTime](./bitburner.ns.gethacktime.md) + +## NS.getHackTime() method + +Returns the amount of time in seconds it takes to execute the hack Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the hack time would be at different hacking levels. + +Signature: + +```typescript +getHackTime(host: Host, hackLvl?: number, intLvl?: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | +| hackLvl | number | Optional hacking level for the calculation. Defaults to player’s current hacking level. | +| intLvl | number | Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). | + +Returns: + +number + +Returns the amount of time in seconds it takes to execute the hack Netscript function. Returns Infinity if called on a Hacknet Server. + +## Remarks + +0.05 GB + diff --git a/markdown/bitburner.ns.gethostname.md b/markdown/bitburner.ns.gethostname.md new file mode 100644 index 000000000..9ed50761b --- /dev/null +++ b/markdown/bitburner.ns.gethostname.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getHostname](./bitburner.ns.gethostname.md) + +## NS.getHostname() method + +Returns a string with the hostname of the server that the script is running on. + +Signature: + +```typescript +getHostname(): Host; +``` +Returns: + +[Host](./bitburner.host.md) + +Hostname of the server that the script is on. + +## Remarks + +0.05 GB + diff --git a/markdown/bitburner.ns.getporthandle.md b/markdown/bitburner.ns.getporthandle.md new file mode 100644 index 000000000..432683bd0 --- /dev/null +++ b/markdown/bitburner.ns.getporthandle.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getPortHandle](./bitburner.ns.getporthandle.md) + +## NS.getPortHandle() method + +Get a handle to a Netscript Port. + +WARNING: Port Handles only work in NetscriptJS (Netscript 2.0). They will not work in Netscript 1.0. + +Signature: + +```typescript +getPortHandle(port: Port): any[]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| port | [Port](./bitburner.port.md) | Port number. Must be an integer between 1 and 20. | + +Returns: + +any\[\] + +Data in the specified port. + +## Remarks + +10 GB + diff --git a/markdown/bitburner.ns.getpurchasedservercost.md b/markdown/bitburner.ns.getpurchasedservercost.md new file mode 100644 index 000000000..9a7bd9c44 --- /dev/null +++ b/markdown/bitburner.ns.getpurchasedservercost.md @@ -0,0 +1,39 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getPurchasedServerCost](./bitburner.ns.getpurchasedservercost.md) + +## NS.getPurchasedServerCost() method + +Returns the cost to purchase a server with the specified amount of ram. + +Signature: + +```typescript +getPurchasedServerCost(ram: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| ram | number | Amount of RAM of a potential purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20). | + +Returns: + +number + +The cost to purchase a server with the specified amount of ram. + +## Remarks + +0.25 GB + +## Example + + +```js +for (i = 1; i <= 20; i++) { + tprint(i + " -- " + getPurchasedServerCost(Math.pow(2, i))); +} +``` + diff --git a/markdown/bitburner.ns.getpurchasedserverlimit.md b/markdown/bitburner.ns.getpurchasedserverlimit.md new file mode 100644 index 000000000..329e1d945 --- /dev/null +++ b/markdown/bitburner.ns.getpurchasedserverlimit.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getPurchasedServerLimit](./bitburner.ns.getpurchasedserverlimit.md) + +## NS.getPurchasedServerLimit() method + +Returns the maximum number of servers you can purchase. + +Signature: + +```typescript +getPurchasedServerLimit(): number; +``` +Returns: + +number + +Returns the maximum number of servers you can purchase. + +## Remarks + +0.05 GB + diff --git a/markdown/bitburner.ns.getpurchasedservermaxram.md b/markdown/bitburner.ns.getpurchasedservermaxram.md new file mode 100644 index 000000000..ab44a3542 --- /dev/null +++ b/markdown/bitburner.ns.getpurchasedservermaxram.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getPurchasedServerMaxRam](./bitburner.ns.getpurchasedservermaxram.md) + +## NS.getPurchasedServerMaxRam() method + +Returns the maximum RAM that a purchased server can have. + +Signature: + +```typescript +getPurchasedServerMaxRam(): number; +``` +Returns: + +number + +Returns the maximum RAM that a purchased server can have. + +## Remarks + +0.05 GB + diff --git a/markdown/bitburner.ns.getpurchasedservers.md b/markdown/bitburner.ns.getpurchasedservers.md new file mode 100644 index 000000000..58efbc407 --- /dev/null +++ b/markdown/bitburner.ns.getpurchasedservers.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getPurchasedServers](./bitburner.ns.getpurchasedservers.md) + +## NS.getPurchasedServers() method + +Returns an array with either the hostnames or IPs of all of the servers you have purchased. + +Signature: + +```typescript +getPurchasedServers(hostnameMode?: boolean): Host[]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| hostnameMode | boolean | \] Optional. Defaults to true. Returns hostnames if true, and IPs if false. | + +Returns: + +[Host](./bitburner.host.md)\[\] + +Returns an array with either the hostnames or IPs of all of the servers you have purchased. + +## Remarks + +2.25 GB + diff --git a/markdown/bitburner.ns.getscriptexpgain.md b/markdown/bitburner.ns.getscriptexpgain.md new file mode 100644 index 000000000..ad79a4683 --- /dev/null +++ b/markdown/bitburner.ns.getscriptexpgain.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getScriptExpGain](./bitburner.ns.getscriptexpgain.md) + +## NS.getScriptExpGain() method + +Returns the amount of hacking experience the specified script generates while online (when the game is open, does not apply for offline experience gains). Remember that a script is uniquely identified by both its name and its arguments. + +This function can also return the total experience gain rate of all of your active scripts by running the function with no arguments. + +Signature: + +```typescript +getScriptExpGain(script: Script, host: Host, ...args: string[]): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| script | [Script](./bitburner.script.md) | Filename of script. | +| host | [Host](./bitburner.host.md) | Server on which script is running. | +| args | string\[\] | Arguments that the script is running with. | + +Returns: + +number + +Amount of hacking experience the specified script generates while online. + +## Remarks + +0.1 GB + diff --git a/markdown/bitburner.ns.getscriptincome.md b/markdown/bitburner.ns.getscriptincome.md new file mode 100644 index 000000000..ae85dfb4e --- /dev/null +++ b/markdown/bitburner.ns.getscriptincome.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getScriptIncome](./bitburner.ns.getscriptincome.md) + +## NS.getScriptIncome() method + +Returns the amount of income the specified script generates while online (when the game is open, does not apply for offline income). Remember that a script is uniquely identified by both its name and its arguments. So for example if you ran a script with the arguments “foodnstuff” and “5” then in order to use this function to get that script’s income you must specify those same arguments in the same order in this function call. + +This function can also be called with no arguments. If called with no arguments, then this function will return an array of two values. The first value is the total income ($ / second) of all of your active scripts (scripts that are currently running on any server). The second value is the total income ($ / second) that you’ve earned from scripts since you last installed Augmentations. + +Signature: + +```typescript +getScriptIncome(script: Script, host: Host, ...args: string[]): number | [number, number]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| script | [Script](./bitburner.script.md) | Filename of script. | +| host | [Host](./bitburner.host.md) | Server on which script is running. | +| args | string\[\] | Arguments that the script is running with. | + +Returns: + +number \| \[number, number\] + +Amount of income the specified script generates while online. + +## Remarks + +0.1 GB + diff --git a/markdown/bitburner.ns.getscriptlogs.md b/markdown/bitburner.ns.getscriptlogs.md new file mode 100644 index 000000000..d3c4f581c --- /dev/null +++ b/markdown/bitburner.ns.getscriptlogs.md @@ -0,0 +1,58 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getScriptLogs](./bitburner.ns.getscriptlogs.md) + +## NS.getScriptLogs() method + +Returns a script’s logs. The logs are returned as an array, where each line is an element in the array. The most recently logged line is at the end of the array. Note that there is a maximum number of lines that a script stores in its logs. This is configurable in the game’s options. If the function is called with no arguments, it will return the current script’s logs. + +Otherwise, the fn, hostname/ip, and args… arguments can be used to get the logs from another script. Remember that scripts are uniquely identified by both their names and arguments. + +Signature: + +```typescript +getScriptLogs(fn?: Script, host?: Host, ...args: any[]): string[]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| fn | [Script](./bitburner.script.md) | Optional. Filename of script to get logs from. | +| host | [Host](./bitburner.host.md) | Optional. Hostname or IP of the server that the script is on. | +| args | any\[\] | Arguments to identify which scripts to get logs for. | + +Returns: + +string\[\] + +Returns an string array, where each line is an element in the array. The most recently logged line is at the end of the array. + +## Remarks + +0 GB + +## Example 1 + + +```js +//Get logs from foo.script on the current server that was run with no args +getScriptLogs("foo.script"); +``` + +## Example 2 + + +```js +//Open logs from foo.script on the foodnstuff server that was run with no args +getScriptLogs("foo.script", "foodnstuff"); +``` + +## Example 3 + + +```js +//Open logs from foo.script on the foodnstuff server that was run with the arguments [1, "test"] +getScriptLogs("foo.script", "foodnstuff", 1, "test"); +``` + diff --git a/markdown/bitburner.ns.getscriptname.md b/markdown/bitburner.ns.getscriptname.md new file mode 100644 index 000000000..5f6d479d9 --- /dev/null +++ b/markdown/bitburner.ns.getscriptname.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getScriptName](./bitburner.ns.getscriptname.md) + +## NS.getScriptName() method + +Returns the current script name. + +Signature: + +```typescript +getScriptName(): string; +``` +Returns: + +string + +Current script name. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.getscriptram.md b/markdown/bitburner.ns.getscriptram.md new file mode 100644 index 000000000..7c7eded33 --- /dev/null +++ b/markdown/bitburner.ns.getscriptram.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getScriptRam](./bitburner.ns.getscriptram.md) + +## NS.getScriptRam() method + +Returns the amount of RAM required to run the specified script on the target server. Returns 0 if the script does not exist. + +Signature: + +```typescript +getScriptRam(script: Script, host?: Host): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| script | [Script](./bitburner.script.md) | Filename of script. This is case-sensitive. | +| host | [Host](./bitburner.host.md) | Host or IP of target server the script is located on. This is optional, If it is not specified then the function will se the current server as the target server. | + +Returns: + +number + +Amount of RAM required to run the specified script on the target server, and 0 if the script does not exist. + +## Remarks + +0.1 GB + diff --git a/markdown/bitburner.ns.getserver.md b/markdown/bitburner.ns.getserver.md new file mode 100644 index 000000000..3693511f1 --- /dev/null +++ b/markdown/bitburner.ns.getserver.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getServer](./bitburner.ns.getserver.md) + +## NS.getServer() method + +Returns a server object for the given server. Defaults to the running script's server if host is not specified. + +Signature: + +```typescript +getServer(host?: Host): Server; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Optional. Hostname or IP for the requested server object. | + +Returns: + +[Server](./bitburner.server.md) + +The requested server object. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.ns.getserverbasesecuritylevel.md b/markdown/bitburner.ns.getserverbasesecuritylevel.md new file mode 100644 index 000000000..bcf7e92f1 --- /dev/null +++ b/markdown/bitburner.ns.getserverbasesecuritylevel.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getServerBaseSecurityLevel](./bitburner.ns.getserverbasesecuritylevel.md) + +## NS.getServerBaseSecurityLevel() method + +Returns the base security level of the target server. This is the security level that the server starts out with. This is different than getServerSecurityLevel because getServerSecurityLevel returns the current security level of a server, which can constantly change due to hack, grow, and weaken, calls on that server. The base security level will stay the same until you reset by installing an Augmentation(s). + +Signature: + +```typescript +getServerBaseSecurityLevel(host: Host): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | + +Returns: + +number + +Base security level of the target server. + +## Remarks + +0.1 GB + diff --git a/markdown/bitburner.ns.getservergrowth.md b/markdown/bitburner.ns.getservergrowth.md new file mode 100644 index 000000000..0de3c460e --- /dev/null +++ b/markdown/bitburner.ns.getservergrowth.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getServerGrowth](./bitburner.ns.getservergrowth.md) + +## NS.getServerGrowth() method + +Returns the server’s instrinsic “growth parameter”. This growth parameter is a number between 1 and 100 that represents how quickly the server’s money grows. This parameter affects the percentage by which the server’s money is increased when using the grow function. A higher growth parameter will result in a higher percentage increase from grow. + +Signature: + +```typescript +getServerGrowth(host: Host): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | + +Returns: + +number + +Parameter that affects the percentage by which the server’s money is increased when using the grow function. + +## Remarks + +0.1 GB + diff --git a/markdown/bitburner.ns.getservermaxmoney.md b/markdown/bitburner.ns.getservermaxmoney.md new file mode 100644 index 000000000..827daf4aa --- /dev/null +++ b/markdown/bitburner.ns.getservermaxmoney.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getServerMaxMoney](./bitburner.ns.getservermaxmoney.md) + +## NS.getServerMaxMoney() method + +Returns the maximum amount of money that can be available on a server. + +Signature: + +```typescript +getServerMaxMoney(host: Host): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | + +Returns: + +number + +Maximum amount of money available on the server. + +## Remarks + +0.1 GB + diff --git a/markdown/bitburner.ns.getserverminsecuritylevel.md b/markdown/bitburner.ns.getserverminsecuritylevel.md new file mode 100644 index 000000000..ae5d4c774 --- /dev/null +++ b/markdown/bitburner.ns.getserverminsecuritylevel.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getServerMinSecurityLevel](./bitburner.ns.getserverminsecuritylevel.md) + +## NS.getServerMinSecurityLevel() method + +Returns the minimum security level of the target server. + +Signature: + +```typescript +getServerMinSecurityLevel(host: Host): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | + +Returns: + +number + +Minimum security level of the target server. + +## Remarks + +0.1 GB + diff --git a/markdown/bitburner.ns.getservermoneyavailable.md b/markdown/bitburner.ns.getservermoneyavailable.md new file mode 100644 index 000000000..f76a37baa --- /dev/null +++ b/markdown/bitburner.ns.getservermoneyavailable.md @@ -0,0 +1,38 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getServerMoneyAvailable](./bitburner.ns.getservermoneyavailable.md) + +## NS.getServerMoneyAvailable() method + +Returns the amount of money available on a server. Running this function on the home computer will return the player’s money. + +Signature: + +```typescript +getServerMoneyAvailable(host: Host): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server | + +Returns: + +number + +Amount of money available on the server. + +## Remarks + +0.1 GB + +## Example + + +```js +getServerMoneyAvailable("foodnstuff"); +getServerMoneyAvailable("home"); //Returns player's money +``` + diff --git a/markdown/bitburner.ns.getservernumportsrequired.md b/markdown/bitburner.ns.getservernumportsrequired.md new file mode 100644 index 000000000..aa57acd23 --- /dev/null +++ b/markdown/bitburner.ns.getservernumportsrequired.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getServerNumPortsRequired](./bitburner.ns.getservernumportsrequired.md) + +## NS.getServerNumPortsRequired() method + +Returns the number of open ports required to successfully run NUKE.exe on the specified server. + +Signature: + +```typescript +getServerNumPortsRequired(host: Host): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | + +Returns: + +number + +The number of open ports required to successfully run NUKE.exe on the specified server. + +## Remarks + +0.1 GB + diff --git a/markdown/bitburner.ns.getserverram.md b/markdown/bitburner.ns.getserverram.md new file mode 100644 index 000000000..22b34ca40 --- /dev/null +++ b/markdown/bitburner.ns.getserverram.md @@ -0,0 +1,39 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getServerRam](./bitburner.ns.getserverram.md) + +## NS.getServerRam() method + +Returns an array with two elements that gives information about a server’s memory (RAM). The first element in the array is the amount of RAM that the server has total (in GB). The second element in the array is the amount of RAM that is currently being used on the server (in GB). + +Signature: + +```typescript +getServerRam(host: Host): [number, number]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | + +Returns: + +\[number, number\] + +Array with total and used memory on the specified server. + +## Remarks + +0.1 GB + +## Example + + +```js +res = getServerRam("helios"); +totalRam = res[0]; +ramUsed = res[1]; +``` + diff --git a/markdown/bitburner.ns.getserverrequiredhackinglevel.md b/markdown/bitburner.ns.getserverrequiredhackinglevel.md new file mode 100644 index 000000000..3085f17d5 --- /dev/null +++ b/markdown/bitburner.ns.getserverrequiredhackinglevel.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getServerRequiredHackingLevel](./bitburner.ns.getserverrequiredhackinglevel.md) + +## NS.getServerRequiredHackingLevel() method + +Returns the required hacking level of the target server. + +Signature: + +```typescript +getServerRequiredHackingLevel(host: Host): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | + +Returns: + +number + +The required hacking level of the target server. + +## Remarks + +0.1 GB + diff --git a/markdown/bitburner.ns.getserversecuritylevel.md b/markdown/bitburner.ns.getserversecuritylevel.md new file mode 100644 index 000000000..1f300a15d --- /dev/null +++ b/markdown/bitburner.ns.getserversecuritylevel.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getServerSecurityLevel](./bitburner.ns.getserversecuritylevel.md) + +## NS.getServerSecurityLevel() method + +Returns the security level of the target server. A server’s security level is denoted by a number, typically between 1 and 100 (but it can go above 100). + +Signature: + +```typescript +getServerSecurityLevel(host: Host): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | + +Returns: + +number + +Security level of the target server. + +## Remarks + +0.1 GB + diff --git a/markdown/bitburner.ns.gettimesincelastaug.md b/markdown/bitburner.ns.gettimesincelastaug.md new file mode 100644 index 000000000..3d8790263 --- /dev/null +++ b/markdown/bitburner.ns.gettimesincelastaug.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getTimeSinceLastAug](./bitburner.ns.gettimesincelastaug.md) + +## NS.getTimeSinceLastAug() method + +Returns the amount of time in milliseconds that have passed since you last installed Augmentations. + +Signature: + +```typescript +getTimeSinceLastAug(): number; +``` +Returns: + +number + +Time in milliseconds that have passed since you last installed Augmentations. + +## Remarks + +0.05 GB + diff --git a/markdown/bitburner.ns.getweakentime.md b/markdown/bitburner.ns.getweakentime.md new file mode 100644 index 000000000..409e0b80c --- /dev/null +++ b/markdown/bitburner.ns.getweakentime.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getWeakenTime](./bitburner.ns.getweakentime.md) + +## NS.getWeakenTime() method + +Returns the amount of time in seconds it takes to execute the weaken() Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the weaken time would be at different hacking levels. + +Signature: + +```typescript +getWeakenTime(host: Host, hackLvl?: number, intLvl?: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | +| hackLvl | number | Optional hacking level for the calculation. Defaults to player’s current hacking level. | +| intLvl | number | Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). | + +Returns: + +number + +Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server. + +## Remarks + +0.05 GB + diff --git a/markdown/bitburner.ns.grow.md b/markdown/bitburner.ns.grow.md new file mode 100644 index 000000000..2c8e8d6cc --- /dev/null +++ b/markdown/bitburner.ns.grow.md @@ -0,0 +1,41 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [grow](./bitburner.ns.grow.md) + +## NS.grow() method + +Use your hacking skills to increase the amount of money available on a server. The runtime for this command depends on your hacking level and the target server’s security level. When \`grow\` completes, the money available on a target server will be increased by a certain, fixed percentage. This percentage is determined by the target server’s growth rate (which varies between servers) and security level. Generally, higher-level servers have higher growth rates. The getServerGrowth() function can be used to obtain a server’s growth rate. + +Like hack, \`grow\` can be called on any server, regardless of where the script is running. The grow() command requires root access to the target server, but there is no required hacking level to run the command. It also raises the security level of the target server by 0.004. + +Signature: + +```typescript +grow(host: Host, opts?: BasicHGWOptions): Promise; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server to grow. | +| opts | [BasicHGWOptions](./bitburner.basichgwoptions.md) | Optional parameters for configuring function behavior. | + +Returns: + +Promise<number> + +The number by which the money on the server was multiplied for the growth. + +## Remarks + +0.15 GB + +## Example + + +```js +grow("foodnstuff"); +grow("foodnstuff", { threads: 5 }); // Only use 5 threads to grow +``` + diff --git a/markdown/bitburner.ns.growthanalyze.md b/markdown/bitburner.ns.growthanalyze.md new file mode 100644 index 000000000..f7c2a929d --- /dev/null +++ b/markdown/bitburner.ns.growthanalyze.md @@ -0,0 +1,42 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [growthAnalyze](./bitburner.ns.growthanalyze.md) + +## NS.growthAnalyze() method + +This function returns the number of “growths” needed in order to increase the amount of money available on the specified server by the specified amount. The specified amount is multiplicative and is in decimal form, not percentage. + +Warning: The value returned by this function isn’t necessarily a whole number. + +Signature: + +```typescript +growthAnalyze(host: Host, growthAmount: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server. | +| growthAmount | number | Multiplicative factor by which the server is grown. Decimal form.. | + +Returns: + +number + +The amount of grow calls needed to grow the specified server by the specified amount + +## Remarks + +1 GB + +## Example + + +```js +//For example, if you want to determine how many grow calls you need to double the amount of money on foodnstuff, you would use: +growthAnalyze("foodnstuff", 2); +//If this returns 100, then this means you need to call grow 100 times in order to double the money (or once with 100 threads). +``` + diff --git a/markdown/bitburner.ns.growthanalyzesecurity.md b/markdown/bitburner.ns.growthanalyzesecurity.md new file mode 100644 index 000000000..9f749e9d5 --- /dev/null +++ b/markdown/bitburner.ns.growthanalyzesecurity.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [growthAnalyzeSecurity](./bitburner.ns.growthanalyzesecurity.md) + +## NS.growthAnalyzeSecurity() method + +Returns the security increase that would occur if a grow with this many threads happened. + +Signature: + +```typescript +growthAnalyzeSecurity(threads: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| threads | number | Amount of threads that will be used. | + +Returns: + +number + +The security increase. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.ns.hack.md b/markdown/bitburner.ns.hack.md new file mode 100644 index 000000000..7c13ad23a --- /dev/null +++ b/markdown/bitburner.ns.hack.md @@ -0,0 +1,44 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [hack](./bitburner.ns.hack.md) + +## NS.hack() method + +Function that is used to try and hack servers to steal money and gain hacking experience. The runtime for this command depends on your hacking level and the target server’s security level. In order to hack a server you must first gain root access to that server and also have the required hacking level. + +A script can hack a server from anywhere. It does not need to be running on the same server to hack that server. For example, you can create a script that hacks the \`foodnstuff\` server and run that script on any server in the game. + +A successful \`hack()\` on a server will raise that server’s security level by 0.002. + +Signature: + +```typescript +hack(host: Host, opts?: BasicHGWOptions): Promise; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server to hack. | +| opts | [BasicHGWOptions](./bitburner.basichgwoptions.md) | Optional parameters for configuring function behavior. | + +Returns: + +Promise<number> + +The amount of money stolen if the hack is successful, and zero otherwise. + +## Remarks + +0.1 GB + +## Example + + +```js +hack("foodnstuff"); +hack("10.1.2.3"); +hack("foodnstuff", { threads: 5 }); // Only use 5 threads to hack +``` + diff --git a/markdown/bitburner.ns.hackanalyzepercent.md b/markdown/bitburner.ns.hackanalyzepercent.md new file mode 100644 index 000000000..1810d3deb --- /dev/null +++ b/markdown/bitburner.ns.hackanalyzepercent.md @@ -0,0 +1,39 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [hackAnalyzePercent](./bitburner.ns.hackanalyzepercent.md) + +## NS.hackAnalyzePercent() method + +Returns the percentage of the specified server’s money you will steal with a single hack. This value is returned in percentage form, not decimal (Netscript functions typically return in decimal form, but not this one). + +Signature: + +```typescript +hackAnalyzePercent(host: Host): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server. | + +Returns: + +number + +The percentage of money you will steal from the target server with a single hack. + +## Remarks + +1 GB + +## Example + + +```js +//For example, assume the following returns 1: +hackAnalyzePercent("foodnstuff"); +//This means that if hack the foodnstuff server, then you will steal 1% of its total money. If you hack using N threads, then you will steal N% of its total money. +``` + diff --git a/markdown/bitburner.ns.hackanalyzesecurity.md b/markdown/bitburner.ns.hackanalyzesecurity.md new file mode 100644 index 000000000..34e819ccb --- /dev/null +++ b/markdown/bitburner.ns.hackanalyzesecurity.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [hackAnalyzeSecurity](./bitburner.ns.hackanalyzesecurity.md) + +## NS.hackAnalyzeSecurity() method + +Returns the security increase that would occur if a hack with this many threads happened. + +Signature: + +```typescript +hackAnalyzeSecurity(threads: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| threads | number | Amount of threads that will be used. | + +Returns: + +number + +The security increase. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.ns.hackanalyzethreads.md b/markdown/bitburner.ns.hackanalyzethreads.md new file mode 100644 index 000000000..3955d1f7e --- /dev/null +++ b/markdown/bitburner.ns.hackanalyzethreads.md @@ -0,0 +1,42 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [hackAnalyzeThreads](./bitburner.ns.hackanalyzethreads.md) + +## NS.hackAnalyzeThreads() method + +This function returns the number of script threads you need when running the hack command to steal the specified amount of money from the target server. If hackAmount is less than zero or greater than the amount of money available on the server, then this function returns -1. + +Warning: The value returned by this function isn’t necessarily a whole number. + +Signature: + +```typescript +hackAnalyzeThreads(host: Host, hackAmount: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server to analyze. | +| hackAmount | number | Amount of money you want to hack from the server. | + +Returns: + +number + +The number of threads needed to hack the server for hackAmount money. + +## Remarks + +1 GB + +## Example + + +```js +//For example, let’s say the foodnstuff server has $10m and you run: +hackAnalyzeThreads("foodnstuff", 1e6); +//If this function returns 50, this means that if your next hack call is run on a script with 50 threads, it will steal $1m from the foodnstuff server. +``` + diff --git a/markdown/bitburner.ns.hackchance.md b/markdown/bitburner.ns.hackchance.md new file mode 100644 index 000000000..4c78c4540 --- /dev/null +++ b/markdown/bitburner.ns.hackchance.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [hackChance](./bitburner.ns.hackchance.md) + +## NS.hackChance() method + +Returns the chance you have of successfully hacking the specified server. + +This returned value is in decimal form, not percentage. + +Signature: + +```typescript +hackChance(host: Host): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server. | + +Returns: + +number + +The chance you have of successfully hacking the target server. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.ns.hacknet.md b/markdown/bitburner.ns.hacknet.md new file mode 100644 index 000000000..2042b8dbd --- /dev/null +++ b/markdown/bitburner.ns.hacknet.md @@ -0,0 +1,22 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [hacknet](./bitburner.ns.hacknet.md) + +## NS.hacknet property + +Not all functions in the Hacknet Node API are immediately available. + +Note that none of these functions will write to the script’s logs. + +If you want to see what your script is doing you will have to print to the logs yourself. + +Signature: + +```typescript +readonly hacknet: HackNet; +``` + +## Remarks + +4 GB + diff --git a/markdown/bitburner.ns.hasrootaccess.md b/markdown/bitburner.ns.hasrootaccess.md new file mode 100644 index 000000000..e46329295 --- /dev/null +++ b/markdown/bitburner.ns.hasrootaccess.md @@ -0,0 +1,39 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [hasRootAccess](./bitburner.ns.hasrootaccess.md) + +## NS.hasRootAccess() method + +Returns a boolean indicating whether or not the player has root access to the specified target server. + +Signature: + +```typescript +hasRootAccess(host: Host): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of the target server | + +Returns: + +boolean + +True if player has root access to the specified target server, and false otherwise. + +## Remarks + +0.05 GB + +## Example + + +```js +if (hasRootAccess("foodnstuff") == false) { + nuke("foodnstuff"); +} +``` + diff --git a/markdown/bitburner.ns.httpworm.md b/markdown/bitburner.ns.httpworm.md new file mode 100644 index 000000000..1d427ca34 --- /dev/null +++ b/markdown/bitburner.ns.httpworm.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [httpworm](./bitburner.ns.httpworm.md) + +## NS.httpworm() method + +Runs the HTTPWorm.exe program on the target server. HTTPWorm.exe must exist on your home computer. + +Signature: + +```typescript +httpworm(host: Host): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server. | + +Returns: + +void + +## Remarks + +0.05 GB + +## Example + + +```js +httpworm("foodnstuff"); +``` + diff --git a/markdown/bitburner.ns.islogenabled.md b/markdown/bitburner.ns.islogenabled.md new file mode 100644 index 000000000..567be2000 --- /dev/null +++ b/markdown/bitburner.ns.islogenabled.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [isLogEnabled](./bitburner.ns.islogenabled.md) + +## NS.isLogEnabled() method + +Checks the status of the logging for the given function. + +Signature: + +```typescript +isLogEnabled(fn: string): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| fn | string | Name of function to check. | + +Returns: + +boolean + +Returns a boolean indicating whether or not logging is enabled for that function (or \`ALL\`) + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.isrunning.md b/markdown/bitburner.ns.isrunning.md new file mode 100644 index 000000000..999900ca7 --- /dev/null +++ b/markdown/bitburner.ns.isrunning.md @@ -0,0 +1,56 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [isRunning](./bitburner.ns.isrunning.md) + +## NS.isRunning() method + +Returns a boolean indicating whether the specified script is running on the target server. Remember that a script is uniquely identified by both its name and its arguments. + +Signature: + +```typescript +isRunning(script: Script, host: Host, ...args: string[]): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| script | [Script](./bitburner.script.md) | Filename of script to check. This is case-sensitive. | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | +| args | string\[\] | Arguments to specify/identify which scripts to search for. | + +Returns: + +boolean + +True if specified script is running on the target server, and false otherwise. + +## Remarks + +0.1 GB + +## Example 1 + + +```js +//The function call will return true if there is a script named foo.script with no arguments running on the foodnstuff server, and false otherwise: +isRunning("foo.script", "foodnstuff"); +``` + +## Example 2 + + +```js +//The function call will return true if there is a script named foo.script with no arguments running on the current server, and false otherwise: +isRunning("foo.script", getHostname()); +``` + +## Example 3 + + +```js +//The function call will return true if there is a script named foo.script running with the arguments 1, 5, and “test” (in that order) on the joesguns server, and false otherwise: +isRunning("foo.script", "joesguns", 1, 5, "test"); +``` + diff --git a/markdown/bitburner.ns.kill.md b/markdown/bitburner.ns.kill.md new file mode 100644 index 000000000..51bb4e629 --- /dev/null +++ b/markdown/bitburner.ns.kill.md @@ -0,0 +1,56 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [kill](./bitburner.ns.kill.md) + +## NS.kill() method + +Kills the script on the target server specified by the script’s name and arguments. Remember that scripts are uniquely identified by both their name and arguments. For example, if \`foo.script\` is run with the argument 1, then this is not the same as \`foo.script\` run with the argument 2, even though they have the same code. + +Signature: + +```typescript +kill(script: Script, host: Host, ...args: string[]): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| script | [Script](./bitburner.script.md) | Filename of the script to kill | +| host | [Host](./bitburner.host.md) | Hostname or IP of the server on which to kill the script. | +| args | string\[\] | Arguments to identify which script to kill. | + +Returns: + +boolean + +True if the script is successfully killed, and false otherwise. + +## Remarks + +0.5 GB + +## Example 1 + + +```js +//The following example will try to kill a script named foo.script on the foodnstuff server that was ran with no arguments: +kill("foo.script", "foodnstuff"); +``` + +## Example 2 + + +```js +//The following will try to kill a script named foo.script on the current server that was ran with no arguments: +kill("foo.script", getHostname()); +``` + +## Example 3 + + +```js +//The following will try to kill a script named foo.script on the current server that was ran with the arguments 1 and “foodnstuff”: +kill("foo.script", getHostname(), 1, "foodnstuff"); +``` + diff --git a/markdown/bitburner.ns.kill_1.md b/markdown/bitburner.ns.kill_1.md new file mode 100644 index 000000000..b1d74b4ae --- /dev/null +++ b/markdown/bitburner.ns.kill_1.md @@ -0,0 +1,39 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [kill](./bitburner.ns.kill_1.md) + +## NS.kill() method + +Kills the script with the specified PID. Killing a script by its PID will typically have better performance, especially if you have many scripts running. If this function successfully kills the specified script, then it will return true. Otherwise, it will return false. + +Signature: + +```typescript +kill(scriptPid: number): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| scriptPid | number | PID of the script to kill | + +Returns: + +boolean + +True if the script is successfully killed, and false otherwise. + +## Remarks + +0.5 GB + +## Example + + +```js +if (kill(10)) { + print("Killed script with PID 10!"); +} +``` + diff --git a/markdown/bitburner.ns.killall.md b/markdown/bitburner.ns.killall.md new file mode 100644 index 000000000..ebb82381b --- /dev/null +++ b/markdown/bitburner.ns.killall.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [killall](./bitburner.ns.killall.md) + +## NS.killall() method + +Kills all running scripts on the specified server. This function returns true if any scripts were killed, and false otherwise. In other words, it will return true if there are any scripts running on the target server. + +Signature: + +```typescript +killall(host: Host): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | IP or hostname of the server on which to kill all scripts. | + +Returns: + +boolean + +True if any scripts were killed, and false otherwise. + +## Remarks + +0.5 GB + diff --git a/markdown/bitburner.ns.ls.md b/markdown/bitburner.ns.ls.md new file mode 100644 index 000000000..3d8b0a01e --- /dev/null +++ b/markdown/bitburner.ns.ls.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [ls](./bitburner.ns.ls.md) + +## NS.ls() method + +Returns an array with the filenames of all files on the specified server (as strings). The returned array is sorted in alphabetic order. + +Signature: + +```typescript +ls(host: Host, grep?: string): string[]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of the target server. | +| grep | string | A substring to search for in the filename. | + +Returns: + +string\[\] + +Array with the filenames of all files on the specified server. + +## Remarks + +0.2 GB + diff --git a/markdown/bitburner.ns.md b/markdown/bitburner.ns.md new file mode 100644 index 000000000..ad0faf2c6 --- /dev/null +++ b/markdown/bitburner.ns.md @@ -0,0 +1,120 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) + +## NS interface + + +Signature: + +```typescript +export interface NS extends Singularity +``` +Extends: [Singularity](./bitburner.singularity.md) + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [args](./bitburner.ns.args.md) | any\[\] | Arguments passed into a script can be accessed using a normal array using the \[\] operator (args\[0\], args\[1\], etc…).It is also possible to get the number of arguments that was passed into a script using: +```js +args.length +``` +WARNING: Do not try to modify the args array. This will break the game. | +| [bladeburner](./bitburner.ns.bladeburner.md) | [Bladeburner](./bitburner.bladeburner.md) | | +| [codingcontract](./bitburner.ns.codingcontract.md) | [CodingContract](./bitburner.codingcontract.md) | | +| [gang](./bitburner.ns.gang.md) | [Gang](./bitburner.gang.md) | | +| [hacknet](./bitburner.ns.hacknet.md) | [HackNet](./bitburner.hacknet.md) | Not all functions in the Hacknet Node API are immediately available.Note that none of these functions will write to the script’s logs.If you want to see what your script is doing you will have to print to the logs yourself. | +| [sleeve](./bitburner.ns.sleeve.md) | [Sleeve](./bitburner.sleeve.md) | | +| [stock](./bitburner.ns.stock.md) | [TIX](./bitburner.tix.md) | | + +## Methods + +| Method | Description | +| --- | --- | +| [brutessh(host)](./bitburner.ns.brutessh.md) | Runs the BruteSSH.exe program on the target server. BruteSSH.exe must exist on your home computer. | +| [clear(handle)](./bitburner.ns.clear.md) | This function is used to clear data in a Netscript Ports or a text file.If the port/fn argument is a number between 1 and 20, then it specifies a port and will clear it (deleting all data from the underlying queue).If the port/fn argument is a string, then it specifies the name of a text file (.txt) and will delete all data from that text file. | +| [clearLog()](./bitburner.ns.clearlog.md) | Clears the script’s logs. | +| [deleteServer(host)](./bitburner.ns.deleteserver.md) | Deletes one of your purchased servers, which is specified by its hostname.The hostname argument can be any data type, but it will be converted to a string. Whitespace is automatically removed from the string. This function will not delete a server that still has scripts running on it. | +| [disableLog(fn)](./bitburner.ns.disablelog.md) | Disables logging for the given function. Logging can be disabled for all functions by passing \`ALL\` as the argument.Note that this does not completely remove all logging functionality. This only stops a function from logging when the function is successful. If the function fails, it will still log the reason for failure.Notable functions that cannot have their logs disabled: run, exec, exit. | +| [enableLog(fn)](./bitburner.ns.enablelog.md) | Re-enables logging for the given function. If \`ALL\` is passed into this function as an argument, then it will revert the effects of disableLog(\`ALL\`). | +| [exec(script, host, numThreads, args)](./bitburner.ns.exec.md) | Run a script as a separate process on a specified server. This is similar to the run function except that it can be used to run a script on any server, instead of just the current server.If the script was successfully started, then this functions returns the PID of that script. Otherwise, it returns 0.PID stands for Process ID. The PID is a unique identifier for each script. The PID will always be a positive integer.Running this function with a numThreads argument of 0 will return 0 without running the script. However, running this function with a negative numThreads argument will cause a runtime error. | +| [exit()](./bitburner.ns.exit.md) | Terminates the current script immediately. | +| [fileExists(filename, host)](./bitburner.ns.fileexists.md) | Returns a boolean indicating whether the specified file exists on the target server. The filename for scripts is case-sensitive, but for other types of files it is not. For example, fileExists(“brutessh.exe”) will work fine, even though the actual program is named 'BruteSSH.exe'.If the hostname/ip argument is omitted, then the function will search through the current server (the server running the script that calls this function) for the file. | +| [ftpcrack(host)](./bitburner.ns.ftpcrack.md) | Runs the FTPCrack.exe program on the target server. FTPCrack.exe must exist on your home computer. | +| [getBitNodeMultipliers(url, target, host)](./bitburner.ns.getbitnodemultipliers.md) | Returns an object containing the current BitNode multipliers. This function requires Source-File 5 in order to run. The multipliers are returned in decimal forms (e.g. 1.5 instead of 150%). The multipliers represent the difference between the current BitNode and the original BitNode (BitNode-1).For example, if the CrimeMoney multiplier has a value of 0.1, then that means that committing crimes in the current BitNode will only give 10% of the money you would have received in BitNode-1. | +| [getFavorToDonate()](./bitburner.ns.getfavortodonate.md) | Returns the amount of Faction favor required to be able to donate to a faction. | +| [getGrowTime(host, hackLvl, intLvl)](./bitburner.ns.getgrowtime.md) | Returns the amount of time in seconds it takes to execute the grow Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the grow time would be at different hacking levels. | +| [getHackingLevel()](./bitburner.ns.gethackinglevel.md) | Returns the player’s current hacking level. | +| [getHackingMultipliers()](./bitburner.ns.gethackingmultipliers.md) | Returns an object containing the Player’s hacking related multipliers. These multipliers are returned in fractional forms, not percentages (e.g. 1.5 instead of 150%). | +| [getHacknetMultipliers()](./bitburner.ns.gethacknetmultipliers.md) | Returns an object containing the Player’s hacknet related multipliers. These multipliers are returned in fractional forms, not percentages (e.g. 1.5 instead of 150%). | +| [getHackTime(host, hackLvl, intLvl)](./bitburner.ns.gethacktime.md) | Returns the amount of time in seconds it takes to execute the hack Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the hack time would be at different hacking levels. | +| [getHostname()](./bitburner.ns.gethostname.md) | Returns a string with the hostname of the server that the script is running on. | +| [getPortHandle(port)](./bitburner.ns.getporthandle.md) | Get a handle to a Netscript Port.WARNING: Port Handles only work in NetscriptJS (Netscript 2.0). They will not work in Netscript 1.0. | +| [getPurchasedServerCost(ram)](./bitburner.ns.getpurchasedservercost.md) | Returns the cost to purchase a server with the specified amount of ram. | +| [getPurchasedServerLimit()](./bitburner.ns.getpurchasedserverlimit.md) | Returns the maximum number of servers you can purchase. | +| [getPurchasedServerMaxRam()](./bitburner.ns.getpurchasedservermaxram.md) | Returns the maximum RAM that a purchased server can have. | +| [getPurchasedServers(hostnameMode)](./bitburner.ns.getpurchasedservers.md) | Returns an array with either the hostnames or IPs of all of the servers you have purchased. | +| [getScriptExpGain(script, host, args)](./bitburner.ns.getscriptexpgain.md) | Returns the amount of hacking experience the specified script generates while online (when the game is open, does not apply for offline experience gains). Remember that a script is uniquely identified by both its name and its arguments.This function can also return the total experience gain rate of all of your active scripts by running the function with no arguments. | +| [getScriptIncome(script, host, args)](./bitburner.ns.getscriptincome.md) | Returns the amount of income the specified script generates while online (when the game is open, does not apply for offline income). Remember that a script is uniquely identified by both its name and its arguments. So for example if you ran a script with the arguments “foodnstuff” and “5” then in order to use this function to get that script’s income you must specify those same arguments in the same order in this function call.This function can also be called with no arguments. If called with no arguments, then this function will return an array of two values. The first value is the total income ($ / second) of all of your active scripts (scripts that are currently running on any server). The second value is the total income ($ / second) that you’ve earned from scripts since you last installed Augmentations. | +| [getScriptLogs(fn, host, args)](./bitburner.ns.getscriptlogs.md) | Returns a script’s logs. The logs are returned as an array, where each line is an element in the array. The most recently logged line is at the end of the array. Note that there is a maximum number of lines that a script stores in its logs. This is configurable in the game’s options. If the function is called with no arguments, it will return the current script’s logs.Otherwise, the fn, hostname/ip, and args… arguments can be used to get the logs from another script. Remember that scripts are uniquely identified by both their names and arguments. | +| [getScriptName()](./bitburner.ns.getscriptname.md) | Returns the current script name. | +| [getScriptRam(script, host)](./bitburner.ns.getscriptram.md) | Returns the amount of RAM required to run the specified script on the target server. Returns 0 if the script does not exist. | +| [getServer(host)](./bitburner.ns.getserver.md) | Returns a server object for the given server. Defaults to the running script's server if host is not specified. | +| [getServerBaseSecurityLevel(host)](./bitburner.ns.getserverbasesecuritylevel.md) | Returns the base security level of the target server. This is the security level that the server starts out with. This is different than getServerSecurityLevel because getServerSecurityLevel returns the current security level of a server, which can constantly change due to hack, grow, and weaken, calls on that server. The base security level will stay the same until you reset by installing an Augmentation(s). | +| [getServerGrowth(host)](./bitburner.ns.getservergrowth.md) | Returns the server’s instrinsic “growth parameter”. This growth parameter is a number between 1 and 100 that represents how quickly the server’s money grows. This parameter affects the percentage by which the server’s money is increased when using the grow function. A higher growth parameter will result in a higher percentage increase from grow. | +| [getServerMaxMoney(host)](./bitburner.ns.getservermaxmoney.md) | Returns the maximum amount of money that can be available on a server. | +| [getServerMinSecurityLevel(host)](./bitburner.ns.getserverminsecuritylevel.md) | Returns the minimum security level of the target server. | +| [getServerMoneyAvailable(host)](./bitburner.ns.getservermoneyavailable.md) | Returns the amount of money available on a server. Running this function on the home computer will return the player’s money. | +| [getServerNumPortsRequired(host)](./bitburner.ns.getservernumportsrequired.md) | Returns the number of open ports required to successfully run NUKE.exe on the specified server. | +| [getServerRam(host)](./bitburner.ns.getserverram.md) | Returns an array with two elements that gives information about a server’s memory (RAM). The first element in the array is the amount of RAM that the server has total (in GB). The second element in the array is the amount of RAM that is currently being used on the server (in GB). | +| [getServerRequiredHackingLevel(host)](./bitburner.ns.getserverrequiredhackinglevel.md) | Returns the required hacking level of the target server. | +| [getServerSecurityLevel(host)](./bitburner.ns.getserversecuritylevel.md) | Returns the security level of the target server. A server’s security level is denoted by a number, typically between 1 and 100 (but it can go above 100). | +| [getTimeSinceLastAug()](./bitburner.ns.gettimesincelastaug.md) | Returns the amount of time in milliseconds that have passed since you last installed Augmentations. | +| [getWeakenTime(host, hackLvl, intLvl)](./bitburner.ns.getweakentime.md) | Returns the amount of time in seconds it takes to execute the weaken() Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the weaken time would be at different hacking levels. | +| [grow(host, opts)](./bitburner.ns.grow.md) | Use your hacking skills to increase the amount of money available on a server. The runtime for this command depends on your hacking level and the target server’s security level. When \`grow\` completes, the money available on a target server will be increased by a certain, fixed percentage. This percentage is determined by the target server’s growth rate (which varies between servers) and security level. Generally, higher-level servers have higher growth rates. The getServerGrowth() function can be used to obtain a server’s growth rate.Like hack, \`grow\` can be called on any server, regardless of where the script is running. The grow() command requires root access to the target server, but there is no required hacking level to run the command. It also raises the security level of the target server by 0.004. | +| [growthAnalyze(host, growthAmount)](./bitburner.ns.growthanalyze.md) | This function returns the number of “growths” needed in order to increase the amount of money available on the specified server by the specified amount. The specified amount is multiplicative and is in decimal form, not percentage.Warning: The value returned by this function isn’t necessarily a whole number. | +| [growthAnalyzeSecurity(threads)](./bitburner.ns.growthanalyzesecurity.md) | Returns the security increase that would occur if a grow with this many threads happened. | +| [hack(host, opts)](./bitburner.ns.hack.md) | Function that is used to try and hack servers to steal money and gain hacking experience. The runtime for this command depends on your hacking level and the target server’s security level. In order to hack a server you must first gain root access to that server and also have the required hacking level.A script can hack a server from anywhere. It does not need to be running on the same server to hack that server. For example, you can create a script that hacks the \`foodnstuff\` server and run that script on any server in the game.A successful \`hack()\` on a server will raise that server’s security level by 0.002. | +| [hackAnalyzePercent(host)](./bitburner.ns.hackanalyzepercent.md) | Returns the percentage of the specified server’s money you will steal with a single hack. This value is returned in percentage form, not decimal (Netscript functions typically return in decimal form, but not this one). | +| [hackAnalyzeSecurity(threads)](./bitburner.ns.hackanalyzesecurity.md) | Returns the security increase that would occur if a hack with this many threads happened. | +| [hackAnalyzeThreads(host, hackAmount)](./bitburner.ns.hackanalyzethreads.md) | This function returns the number of script threads you need when running the hack command to steal the specified amount of money from the target server. If hackAmount is less than zero or greater than the amount of money available on the server, then this function returns -1.Warning: The value returned by this function isn’t necessarily a whole number. | +| [hackChance(host)](./bitburner.ns.hackchance.md) | Returns the chance you have of successfully hacking the specified server.This returned value is in decimal form, not percentage. | +| [hasRootAccess(host)](./bitburner.ns.hasrootaccess.md) | Returns a boolean indicating whether or not the player has root access to the specified target server. | +| [httpworm(host)](./bitburner.ns.httpworm.md) | Runs the HTTPWorm.exe program on the target server. HTTPWorm.exe must exist on your home computer. | +| [isLogEnabled(fn)](./bitburner.ns.islogenabled.md) | Checks the status of the logging for the given function. | +| [isRunning(script, host, args)](./bitburner.ns.isrunning.md) | Returns a boolean indicating whether the specified script is running on the target server. Remember that a script is uniquely identified by both its name and its arguments. | +| [kill(script, host, args)](./bitburner.ns.kill.md) | Kills the script on the target server specified by the script’s name and arguments. Remember that scripts are uniquely identified by both their name and arguments. For example, if \`foo.script\` is run with the argument 1, then this is not the same as \`foo.script\` run with the argument 2, even though they have the same code. | +| [kill(scriptPid)](./bitburner.ns.kill_1.md) | Kills the script with the specified PID. Killing a script by its PID will typically have better performance, especially if you have many scripts running. If this function successfully kills the specified script, then it will return true. Otherwise, it will return false. | +| [killall(host)](./bitburner.ns.killall.md) | Kills all running scripts on the specified server. This function returns true if any scripts were killed, and false otherwise. In other words, it will return true if there are any scripts running on the target server. | +| [ls(host, grep)](./bitburner.ns.ls.md) | Returns an array with the filenames of all files on the specified server (as strings). The returned array is sorted in alphabetic order. | +| [nFormat(n, format)](./bitburner.ns.nformat.md) | Converts a number into a string with the specified formatter. This uses the numeraljs library, so the formatters must be compatible with that. This is the same function that the game itself uses to display numbers. | +| [nuke(host)](./bitburner.ns.nuke.md) | Runs the NUKE.exe program on the target server. NUKE.exe must exist on your home computer. | +| [peek(port)](./bitburner.ns.peek.md) | This function is used to peek at the data from a port. It returns the first element in the specified port without removing that element. If the port is empty, the string “NULL PORT DATA” will be returned. | +| [print(msg)](./bitburner.ns.print.md) | Prints a value or a variable to the script’s logs. | +| [prompt(txt)](./bitburner.ns.prompt.md) | Prompts the player with a dialog box with two options: “Yes” and “No”. This function will return true if the player click “Yes” and false if the player clicks “No”. The script’s execution is halted until the player selects one of the options. | +| [ps(host)](./bitburner.ns.ps.md) | Returns an array with general information about all scripts running on the specified target server. | +| [purchaseServer(hostname, ram)](./bitburner.ns.purchaseserver.md) | Purchased a server with the specified hostname and amount of RAM.The hostname argument can be any data type, but it will be converted to a string and have whitespace removed. Anything that resolves to an empty string will cause the function to fail. If there is already a server with the specified hostname, then the function will automatically append a number at the end of the hostname argument value until it finds a unique hostname. For example, if the script calls \`purchaseServer(“foo”, 4)\` but a server named “foo” already exists, the it will automatically change the hostname to \`foo-0\`. If there is already a server with the hostname \`foo-0\`, then it will change the hostname to \`foo-1\`, and so on.Note that there is a maximum limit to the amount of servers you can purchase.Returns the hostname of the newly purchased server as a string. If the function fails to purchase a server, then it will return an empty string. The function will fail if the arguments passed in are invalid, if the player does not have enough money to purchase the specified server, or if the player has exceeded the maximum amount of servers. | +| [read(handle)](./bitburner.ns.read.md) | This function is used to read data from a port or from a text file (.txt).If the argument port/fn is a number between 1 and 20, then it specifies a port and it will read data from that port. A port is a serialized queue. This function will remove the first element from that queue and return it. If the queue is empty, then the string “NULL PORT DATA” will be returned.If the argument port/fn is a string, then it specifies the name of a text file (.txt) and this function will return the data in the specified text file. If the text file does not exist, an empty string will be returned. | +| [relaysmtp(host)](./bitburner.ns.relaysmtp.md) | Runs the relaySMTP.exe program on the target server. relaySMTP.exe must exist on your home computer. | +| [rm(name, host)](./bitburner.ns.rm.md) | Removes the specified file from the current server. This function works for every file type except message (.msg) files. | +| [run(script, numThreads, args)](./bitburner.ns.run.md) | Run a script as a separate process. This function can only be used to run scripts located on the current server (the server running the script that calls this function). Requires a significant amount of RAM to run this command.If the script was successfully started, then this functions returns the PID of that script. Otherwise, it returns 0.PID stands for Process ID. The PID is a unique identifier for each script. The PID will always be a positive integer.Running this function with a numThreads argument of 0 will return 0 without running the script. However, running this function with a negative numThreads argument will cause a runtime error. | +| [scan(host, hostnames)](./bitburner.ns.scan.md) | Returns an array containing the hostnames or IPs of all servers that are one node way from the specified target server. The hostnames/IPs in the returned array are strings. | +| [scp(files, destination)](./bitburner.ns.scp.md) | Copies a script or literature (.lit) file(s) to another server. The files argument can be either a string specifying a single file to copy, or an array of strings specifying multiple files to copy. | +| [scp(files, source, destination)](./bitburner.ns.scp_1.md) | Copies a script or literature (.lit) file(s) to another server. The files argument can be either a string specifying a single file to copy, or an array of strings specifying multiple files to copy. | +| [scriptKill(script, host)](./bitburner.ns.scriptkill.md) | Kills all scripts with the specified filename on the target server specified by hostname/ip, regardless of arguments. | +| [scriptRunning(script, host)](./bitburner.ns.scriptrunning.md) | Returns a boolean indicating whether any instance of the specified script is running on the target server, regardless of its arguments.This is different than the isRunning function because it does not try to identify a specific instance of a running script by its arguments. | +| [serverExists(host)](./bitburner.ns.serverexists.md) | Returns a boolean denoting whether or not the specified server exists. | +| [sleep(millis)](./bitburner.ns.sleep.md) | Suspends the script for n milliseconds. | +| [spawn(script, numThreads, args)](./bitburner.ns.spawn.md) | Terminates the current script, and then after a delay of about 10 seconds it will execute the newly-specified script. The purpose of this function is to execute a new script without being constrained by the RAM usage of the current one. This function can only be used to run scripts on the local server.Because this function immediately terminates the script, it does not have a return value. | +| [sprintf(format, args)](./bitburner.ns.sprintf.md) | Complete open source JavaScript sprintf implementation | +| [sqlinject(host)](./bitburner.ns.sqlinject.md) | Runs the SQLInject.exe program on the target server. SQLInject.exe must exist on your home computer. | +| [tail(fn, host, args)](./bitburner.ns.tail.md) | Opens a script’s logs. This is functionally the same as the tail Terminal command.If the function is called with no arguments, it will open the current script’s logs.Otherwise, the fn, hostname/ip, and args… arguments can be used to get the logs from another script. Remember that scripts are uniquely identified by both their names and arguments. | +| [tprint(msg)](./bitburner.ns.tprint.md) | Prints a value or a variable to the Terminal. | +| [tryWrite(port, data)](./bitburner.ns.trywrite.md) | Attempts to write data to the specified Netscript Port. If the port is full, the data will not be written. Otherwise, the data will be written normally. | +| [vsprintf(format, args)](./bitburner.ns.vsprintf.md) | Complete open source JavaScript sprintf implementation | +| [weaken(host, opts)](./bitburner.ns.weaken.md) | Use your hacking skills to attack a server’s security, lowering the server’s security level. The runtime for this command depends on your hacking level and the target server’s security level. This function lowers the security level of the target server by 0.05.Like hack and grow, \`weaken\` can be called on any server, regardless of where the script is running. This command requires root access to the target server, but there is no required hacking level to run the command. | +| [weakenAnalyze(threads, cores)](./bitburner.ns.weakenanalyze.md) | Returns the security decrease that would occur if a weaken with this many threads happened. | +| [wget(url, target, host)](./bitburner.ns.wget.md) | Retrieves data from a URL and downloads it to a file on the specified server. The data can only be downloaded to a script (.script, .ns, .js) or a text file (.txt). If the file already exists, it will be overwritten by this command. Note that it will not be possible to download data from many websites because they do not allow cross-origin resource sharing (CORS).IMPORTANT: This is an asynchronous function that returns a Promise. The Promise’s resolved value will be a boolean indicating whether or not the data was successfully retrieved from the URL. Because the function is async and returns a Promise, it is recommended you use wget in NetscriptJS (Netscript 2.0).In NetscriptJS, you must preface any call to wget with the await keyword (like you would hack or sleep). wget will still work in Netscript 1.0, but the functions execution will not be synchronous (i.e. it may not execute when you expect/want it to). Furthermore, since Promises are not supported in ES5, you will not be able to process the returned value of wget in Netscript 1.0. | +| [write(handle, data, mode)](./bitburner.ns.write.md) | This function can be used to either write data to a port or to a text file (.txt).If the first argument is a number between 1 and 20, then it specifies a port and this function will write data to that port. The third argument, mode, is not used when writing to a port.If the first argument is a string, then it specifies the name of a text file (.txt) and this function will write data to that text file. If the specified text file does not exist, then it will be created. The third argument mode, defines how the data will be written to the text file. If \*mode is set to “w”, then the data is written in “write” mode which means that it will overwrite all existing data on the text file. If mode is set to any other value then the data will be written in “append” mode which means that the data will be added at the end of the text file. | + diff --git a/markdown/bitburner.ns.nformat.md b/markdown/bitburner.ns.nformat.md new file mode 100644 index 000000000..9477c5352 --- /dev/null +++ b/markdown/bitburner.ns.nformat.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [nFormat](./bitburner.ns.nformat.md) + +## NS.nFormat() method + +Converts a number into a string with the specified formatter. This uses the numeraljs library, so the formatters must be compatible with that. This is the same function that the game itself uses to display numbers. + +Signature: + +```typescript +nFormat(n: number, format: string): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| n | number | Number to format. | +| format | string | Formatter. | + +Returns: + +number + +Formated number. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.nuke.md b/markdown/bitburner.ns.nuke.md new file mode 100644 index 000000000..a5032e886 --- /dev/null +++ b/markdown/bitburner.ns.nuke.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [nuke](./bitburner.ns.nuke.md) + +## NS.nuke() method + +Runs the NUKE.exe program on the target server. NUKE.exe must exist on your home computer. + +Signature: + +```typescript +nuke(host: Host): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server. | + +Returns: + +void + +## Remarks + +0.05 GB + +## Example + + +```js +nuke("foodnstuff"); +``` + diff --git a/markdown/bitburner.ns.peek.md b/markdown/bitburner.ns.peek.md new file mode 100644 index 000000000..40c1931b6 --- /dev/null +++ b/markdown/bitburner.ns.peek.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [peek](./bitburner.ns.peek.md) + +## NS.peek() method + +This function is used to peek at the data from a port. It returns the first element in the specified port without removing that element. If the port is empty, the string “NULL PORT DATA” will be returned. + +Signature: + +```typescript +peek(port: Port): string | number | object; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| port | [Port](./bitburner.port.md) | Port to peek. Must be an integer between 1 and 20. | + +Returns: + +string \| number \| object + +Data in the specified port. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.ns.print.md b/markdown/bitburner.ns.print.md new file mode 100644 index 000000000..a12625ae7 --- /dev/null +++ b/markdown/bitburner.ns.print.md @@ -0,0 +1,28 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [print](./bitburner.ns.print.md) + +## NS.print() method + +Prints a value or a variable to the script’s logs. + +Signature: + +```typescript +print(msg: string | number | string[] | number[]): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| msg | string \| number \| string\[\] \| number\[\] | Value to be printed. | + +Returns: + +void + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.prompt.md b/markdown/bitburner.ns.prompt.md new file mode 100644 index 000000000..98530c40a --- /dev/null +++ b/markdown/bitburner.ns.prompt.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [prompt](./bitburner.ns.prompt.md) + +## NS.prompt() method + +Prompts the player with a dialog box with two options: “Yes” and “No”. This function will return true if the player click “Yes” and false if the player clicks “No”. The script’s execution is halted until the player selects one of the options. + +Signature: + +```typescript +prompt(txt: string): Promise; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| txt | string | Text to appear in the prompt dialog box. | + +Returns: + +Promise<boolean> + +True if the player click “Yes” and false if the player clicks “No”. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.ps.md b/markdown/bitburner.ns.ps.md new file mode 100644 index 000000000..33f1381e1 --- /dev/null +++ b/markdown/bitburner.ns.ps.md @@ -0,0 +1,44 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [ps](./bitburner.ns.ps.md) + +## NS.ps() method + +Returns an array with general information about all scripts running on the specified target server. + +Signature: + +```typescript +ps(host?: Host): ProcessInfo[]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP address of the target server. If not specified, it will be the current server’s IP by default. | + +Returns: + +[ProcessInfo](./bitburner.processinfo.md)\[\] + +Array with general information about all scripts running on the specified target server. + +## Remarks + +0.2 GB + +## Example + + +```js +//(using NetscriptJS (Netscript 2.0)) +export async function main(ns) { + const ps = ns.ps("home"); + for (let i = 0; i < ps.length; ++i) { + ns.tprint(ps[i].filename + ' ' + ps[i].threads); + ns.tprint(ps[i].args); + } +} +``` + diff --git a/markdown/bitburner.ns.purchaseserver.md b/markdown/bitburner.ns.purchaseserver.md new file mode 100644 index 000000000..95174df35 --- /dev/null +++ b/markdown/bitburner.ns.purchaseserver.md @@ -0,0 +1,48 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [purchaseServer](./bitburner.ns.purchaseserver.md) + +## NS.purchaseServer() method + +Purchased a server with the specified hostname and amount of RAM. + +The hostname argument can be any data type, but it will be converted to a string and have whitespace removed. Anything that resolves to an empty string will cause the function to fail. If there is already a server with the specified hostname, then the function will automatically append a number at the end of the hostname argument value until it finds a unique hostname. For example, if the script calls \`purchaseServer(“foo”, 4)\` but a server named “foo” already exists, the it will automatically change the hostname to \`foo-0\`. If there is already a server with the hostname \`foo-0\`, then it will change the hostname to \`foo-1\`, and so on. + +Note that there is a maximum limit to the amount of servers you can purchase. + +Returns the hostname of the newly purchased server as a string. If the function fails to purchase a server, then it will return an empty string. The function will fail if the arguments passed in are invalid, if the player does not have enough money to purchase the specified server, or if the player has exceeded the maximum amount of servers. + +Signature: + +```typescript +purchaseServer(hostname: Host, ram: number): Host | ""; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| hostname | [Host](./bitburner.host.md) | Host of the purchased server. | +| ram | number | Amount of RAM of the purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20). | + +Returns: + +[Host](./bitburner.host.md) \| "" + +The hostname of the newly purchased server. + +## Remarks + +2.25 GB + +## Example + + +```js +ram = 64; +hn = "pserv-"; +for (i = 0; i < 5; ++i) { + purchaseServer(hn + i, ram); +} +``` + diff --git a/markdown/bitburner.ns.read.md b/markdown/bitburner.ns.read.md new file mode 100644 index 000000000..7d740379c --- /dev/null +++ b/markdown/bitburner.ns.read.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [read](./bitburner.ns.read.md) + +## NS.read() method + +This function is used to read data from a port or from a text file (.txt). + +If the argument port/fn is a number between 1 and 20, then it specifies a port and it will read data from that port. A port is a serialized queue. This function will remove the first element from that queue and return it. If the queue is empty, then the string “NULL PORT DATA” will be returned. + +If the argument port/fn is a string, then it specifies the name of a text file (.txt) and this function will return the data in the specified text file. If the text file does not exist, an empty string will be returned. + +Signature: + +```typescript +read(handle: Handle): string | number | object; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| handle | [Handle](./bitburner.handle.md) | Port or text file to read from. | + +Returns: + +string \| number \| object + +Data in the specified text file or port. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.ns.relaysmtp.md b/markdown/bitburner.ns.relaysmtp.md new file mode 100644 index 000000000..6ad90724d --- /dev/null +++ b/markdown/bitburner.ns.relaysmtp.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [relaysmtp](./bitburner.ns.relaysmtp.md) + +## NS.relaysmtp() method + +Runs the relaySMTP.exe program on the target server. relaySMTP.exe must exist on your home computer. + +Signature: + +```typescript +relaysmtp(host: Host): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server. | + +Returns: + +void + +## Remarks + +0.05 GB + +## Example + + +```js +relaysmtp("foodnstuff"); +``` + diff --git a/markdown/bitburner.ns.rm.md b/markdown/bitburner.ns.rm.md new file mode 100644 index 000000000..18c84e5b0 --- /dev/null +++ b/markdown/bitburner.ns.rm.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [rm](./bitburner.ns.rm.md) + +## NS.rm() method + +Removes the specified file from the current server. This function works for every file type except message (.msg) files. + +Signature: + +```typescript +rm(name: string, host?: Host): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | string | Filename of file to remove. Must include the extension. | +| host | [Host](./bitburner.host.md) | Host or IP Address of the server on which to delete the file. Optional. Defaults to current server. | + +Returns: + +boolean + +True if it successfully deletes the file, and false otherwise. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.ns.run.md b/markdown/bitburner.ns.run.md new file mode 100644 index 000000000..fce12ef76 --- /dev/null +++ b/markdown/bitburner.ns.run.md @@ -0,0 +1,62 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [run](./bitburner.ns.run.md) + +## NS.run() method + +Run a script as a separate process. This function can only be used to run scripts located on the current server (the server running the script that calls this function). Requires a significant amount of RAM to run this command. + +If the script was successfully started, then this functions returns the PID of that script. Otherwise, it returns 0. + +PID stands for Process ID. The PID is a unique identifier for each script. The PID will always be a positive integer. + +Running this function with a numThreads argument of 0 will return 0 without running the script. However, running this function with a negative numThreads argument will cause a runtime error. + +Signature: + +```typescript +run(script: Script, numThreads?: number, ...args: string[]): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| script | [Script](./bitburner.script.md) | Filename of script to run. | +| numThreads | number | Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer. | +| args | string\[\] | Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the second argument numThreads must be filled in with a value. | + +Returns: + +number + +Returns the PID of a successfully started script, and 0 otherwise. + +## Remarks + +1 GB + +## Example 1 + + +```js +//The simplest way to use the run command is to call it with just the script name. The following example will run ‘foo.script’ single-threaded with no arguments: +run("foo.script"); +``` + +## Example 2 + + +```js +//The following example will run ‘foo.script’ but with 5 threads instead of single-threaded: +run("foo.script", 5); +``` + +## Example 3 + + +```js +//This next example will run ‘foo.script’ single-threaded, and will pass the string ‘foodnstuff’ into the script as an argument: +run("foo.script", 1, 'foodnstuff'); +``` + diff --git a/markdown/bitburner.ns.scan.md b/markdown/bitburner.ns.scan.md new file mode 100644 index 000000000..b287f8ac9 --- /dev/null +++ b/markdown/bitburner.ns.scan.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [scan](./bitburner.ns.scan.md) + +## NS.scan() method + +Returns an array containing the hostnames or IPs of all servers that are one node way from the specified target server. The hostnames/IPs in the returned array are strings. + +Signature: + +```typescript +scan(host: Host, hostnames?: boolean): Host[]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the server to scan. | +| hostnames | boolean | Optional boolean specifying whether the function should output hostnames (if true) or IP addresses (if false). | + +Returns: + +[Host](./bitburner.host.md)\[\] + +Returns an string of hostnames or IP. + +## Remarks + +0.2 GB + diff --git a/markdown/bitburner.ns.scp.md b/markdown/bitburner.ns.scp.md new file mode 100644 index 000000000..554cf7db1 --- /dev/null +++ b/markdown/bitburner.ns.scp.md @@ -0,0 +1,39 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [scp](./bitburner.ns.scp.md) + +## NS.scp() method + +Copies a script or literature (.lit) file(s) to another server. The files argument can be either a string specifying a single file to copy, or an array of strings specifying multiple files to copy. + +Signature: + +```typescript +scp(files: string | ReadonlyArray, destination: Host): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| files | string \| ReadonlyArray<string> | Filename or an array of filenames of script/literature files to copy. | +| destination | [Host](./bitburner.host.md) | Host or IP of the destination server, which is the server to which the file will be copied. | + +Returns: + +boolean + +True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied. + +## Remarks + +0.6 GB + +## Example + + +```js +//Copies hack-template.script from the current server to foodnstuff: +scp("hack-template.script", "foodnstuff"); +``` + diff --git a/markdown/bitburner.ns.scp_1.md b/markdown/bitburner.ns.scp_1.md new file mode 100644 index 000000000..829083ed0 --- /dev/null +++ b/markdown/bitburner.ns.scp_1.md @@ -0,0 +1,54 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [scp](./bitburner.ns.scp_1.md) + +## NS.scp() method + +Copies a script or literature (.lit) file(s) to another server. The files argument can be either a string specifying a single file to copy, or an array of strings specifying multiple files to copy. + +Signature: + +```typescript +scp( + files: string | ReadonlyArray, + source: Host, + // tslint:disable-next-line:unified-signatures + destination: Host, + ): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| files | string \| ReadonlyArray<string> | Filename or an array of filenames of script/literature files to copy. | +| source | [Host](./bitburner.host.md) | Host or IP of the source server, which is the server from which the file will be copied. This argument is optional and if it’s omitted the source will be the current server. | +| destination | [Host](./bitburner.host.md) | Host or IP of the destination server, which is the server to which the file will be copied. | + +Returns: + +boolean + +True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied. + +## Remarks + +0.6 GB + +## Example 1 + + +```js +//Copies foo.lit from the helios server to the home computer: +scp("foo.lit", "helios", "home"); +``` + +## Example 2 + + +```js +//Tries to copy three files from rothman-uni to home computer: +files = ["foo1.lit", "foo2.script", "foo3.script"]; +scp(files, "rothman-uni", "home"); +``` + diff --git a/markdown/bitburner.ns.scriptkill.md b/markdown/bitburner.ns.scriptkill.md new file mode 100644 index 000000000..79623fdb2 --- /dev/null +++ b/markdown/bitburner.ns.scriptkill.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [scriptKill](./bitburner.ns.scriptkill.md) + +## NS.scriptKill() method + +Kills all scripts with the specified filename on the target server specified by hostname/ip, regardless of arguments. + +Signature: + +```typescript +scriptKill(script: Script, host: Host): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| script | [Script](./bitburner.script.md) | Filename of script to kill. This is case-sensitive. | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | + +Returns: + +boolean + +true if one or more scripts were successfully killed, and false if none were. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.ns.scriptrunning.md b/markdown/bitburner.ns.scriptrunning.md new file mode 100644 index 000000000..7949d81c1 --- /dev/null +++ b/markdown/bitburner.ns.scriptrunning.md @@ -0,0 +1,49 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [scriptRunning](./bitburner.ns.scriptrunning.md) + +## NS.scriptRunning() method + +Returns a boolean indicating whether any instance of the specified script is running on the target server, regardless of its arguments. + +This is different than the isRunning function because it does not try to identify a specific instance of a running script by its arguments. + +Signature: + +```typescript +scriptRunning(script: Script, host: Host): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| script | [Script](./bitburner.script.md) | Filename of script to check. This is case-sensitive. | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | + +Returns: + +boolean + +True if the specified script is running, and false otherwise. + +## Remarks + +1 GB + +## Example 1 + + +```js +//The function call will return true if there is any script named foo.script running on the foodnstuff server, and false otherwise: +scriptRunning("foo.script", "foodnstuff"); +``` + +## Example 2 + + +```js +//The function call will return true if there is any script named “foo.script” running on the current server, and false otherwise: +scriptRunning("foo.script", getHostname()); +``` + diff --git a/markdown/bitburner.ns.serverexists.md b/markdown/bitburner.ns.serverexists.md new file mode 100644 index 000000000..31f1bbcf5 --- /dev/null +++ b/markdown/bitburner.ns.serverexists.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [serverExists](./bitburner.ns.serverexists.md) + +## NS.serverExists() method + +Returns a boolean denoting whether or not the specified server exists. + +Signature: + +```typescript +serverExists(host: Host): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Host or IP of target server. | + +Returns: + +boolean + +True if specified server exists, and false otherwise. + +## Remarks + +0.1 GB + diff --git a/markdown/bitburner.ns.sleep.md b/markdown/bitburner.ns.sleep.md new file mode 100644 index 000000000..4ae000f63 --- /dev/null +++ b/markdown/bitburner.ns.sleep.md @@ -0,0 +1,29 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [sleep](./bitburner.ns.sleep.md) + +## NS.sleep() method + +Suspends the script for n milliseconds. + +Signature: + +```typescript +sleep(millis: number): Promise; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| millis | number | Number of milliseconds to sleep. | + +Returns: + +Promise<void> + + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.sleeve.md b/markdown/bitburner.ns.sleeve.md new file mode 100644 index 000000000..41da5cdfc --- /dev/null +++ b/markdown/bitburner.ns.sleeve.md @@ -0,0 +1,16 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [sleeve](./bitburner.ns.sleeve.md) + +## NS.sleeve property + +Signature: + +```typescript +readonly sleeve: Sleeve; +``` + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.spawn.md b/markdown/bitburner.ns.spawn.md new file mode 100644 index 000000000..0db57bba1 --- /dev/null +++ b/markdown/bitburner.ns.spawn.md @@ -0,0 +1,40 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [spawn](./bitburner.ns.spawn.md) + +## NS.spawn() method + +Terminates the current script, and then after a delay of about 10 seconds it will execute the newly-specified script. The purpose of this function is to execute a new script without being constrained by the RAM usage of the current one. This function can only be used to run scripts on the local server. + +Because this function immediately terminates the script, it does not have a return value. + +Signature: + +```typescript +spawn(script: Script, numThreads?: number, ...args: string[]): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| script | [Script](./bitburner.script.md) | Filename of script to execute. | +| numThreads | number | Number of threads to spawn new script with. Will be rounded to nearest integer. | +| args | string\[\] | Additional arguments to pass into the new script that is being run. | + +Returns: + +void + +## Remarks + +2 GB + +## Example + + +```js +//The following example will execute the script ‘foo.script’ with 10 threads and the arguments ‘foodnstuff’ and 90: +spawn('foo.script', 10, 'foodnstuff', 90); +``` + diff --git a/markdown/bitburner.ns.sprintf.md b/markdown/bitburner.ns.sprintf.md new file mode 100644 index 000000000..1ebede9a1 --- /dev/null +++ b/markdown/bitburner.ns.sprintf.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [sprintf](./bitburner.ns.sprintf.md) + +## NS.sprintf() method + +Complete open source JavaScript sprintf implementation + +Signature: + +```typescript +sprintf(format: string, ...args: string[]): string; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| format | string | String to format. | +| args | string\[\] | Formating arguments. | + +Returns: + +string + +Formated text. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.sqlinject.md b/markdown/bitburner.ns.sqlinject.md new file mode 100644 index 000000000..d36d4462f --- /dev/null +++ b/markdown/bitburner.ns.sqlinject.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [sqlinject](./bitburner.ns.sqlinject.md) + +## NS.sqlinject() method + +Runs the SQLInject.exe program on the target server. SQLInject.exe must exist on your home computer. + +Signature: + +```typescript +sqlinject(host: Host): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server. | + +Returns: + +void + +## Remarks + +0.05 GB + +## Example + + +```js +sqlinject("foodnstuff"); +``` + diff --git a/markdown/bitburner.ns.stock.md b/markdown/bitburner.ns.stock.md new file mode 100644 index 000000000..970b78f52 --- /dev/null +++ b/markdown/bitburner.ns.stock.md @@ -0,0 +1,16 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [stock](./bitburner.ns.stock.md) + +## NS.stock property + +Signature: + +```typescript +readonly stock: TIX; +``` + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.tail.md b/markdown/bitburner.ns.tail.md new file mode 100644 index 000000000..81b233bf6 --- /dev/null +++ b/markdown/bitburner.ns.tail.md @@ -0,0 +1,58 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [tail](./bitburner.ns.tail.md) + +## NS.tail() method + +Opens a script’s logs. This is functionally the same as the tail Terminal command. + +If the function is called with no arguments, it will open the current script’s logs. + +Otherwise, the fn, hostname/ip, and args… arguments can be used to get the logs from another script. Remember that scripts are uniquely identified by both their names and arguments. + +Signature: + +```typescript +tail(fn?: Script, host?: Host, ...args: any[]): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| fn | [Script](./bitburner.script.md) | Optional. Filename of the script being tailed. If omitted, the current script is tailed. | +| host | [Host](./bitburner.host.md) | Optional. Hostname or IP of the script being tailed. Defaults to the server this script is running on. If args are specified, this is not optional. | +| args | any\[\] | Arguments for the script being tailed. | + +Returns: + +void + +## Remarks + +0 GB + +## Example 1 + + +```js +//Open logs from foo.script on the current server that was run with no args +tail("foo.script"); +``` + +## Example 2 + + +```js +//Get logs from foo.script on the foodnstuff server that was run with no args +tail("foo.script", "foodnstuff"); +``` + +## Example 3 + + +```js +//Get logs from foo.script on the foodnstuff server that was run with the arguments [1, "test"] +tail("foo.script", "foodnstuff", 1, "test"); +``` + diff --git a/markdown/bitburner.ns.tprint.md b/markdown/bitburner.ns.tprint.md new file mode 100644 index 000000000..7c60ad2d1 --- /dev/null +++ b/markdown/bitburner.ns.tprint.md @@ -0,0 +1,28 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [tprint](./bitburner.ns.tprint.md) + +## NS.tprint() method + +Prints a value or a variable to the Terminal. + +Signature: + +```typescript +tprint(msg: string | number | string[] | number[]): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| msg | string \| number \| string\[\] \| number\[\] | Value to be printed. | + +Returns: + +void + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.trywrite.md b/markdown/bitburner.ns.trywrite.md new file mode 100644 index 000000000..bf76f1ff2 --- /dev/null +++ b/markdown/bitburner.ns.trywrite.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [tryWrite](./bitburner.ns.trywrite.md) + +## NS.tryWrite() method + +Attempts to write data to the specified Netscript Port. If the port is full, the data will not be written. Otherwise, the data will be written normally. + +Signature: + +```typescript +tryWrite(port: Handle, data: string | string[] | number): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| port | [Handle](./bitburner.handle.md) | Port or text file that will be written to. | +| data | string \| string\[\] \| number | Data to write. | + +Returns: + +boolean + +True if the data is successfully written to the port, and false otherwise. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.ns.vsprintf.md b/markdown/bitburner.ns.vsprintf.md new file mode 100644 index 000000000..8604f0891 --- /dev/null +++ b/markdown/bitburner.ns.vsprintf.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [vsprintf](./bitburner.ns.vsprintf.md) + +## NS.vsprintf() method + +Complete open source JavaScript sprintf implementation + +Signature: + +```typescript +vsprintf(format: string, args: string[]): string; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| format | string | String to format. | +| args | string\[\] | Formating arguments. | + +Returns: + +string + +Formated text. + +## Remarks + +0 GB + diff --git a/markdown/bitburner.ns.weaken.md b/markdown/bitburner.ns.weaken.md new file mode 100644 index 000000000..a9fcf6683 --- /dev/null +++ b/markdown/bitburner.ns.weaken.md @@ -0,0 +1,41 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [weaken](./bitburner.ns.weaken.md) + +## NS.weaken() method + +Use your hacking skills to attack a server’s security, lowering the server’s security level. The runtime for this command depends on your hacking level and the target server’s security level. This function lowers the security level of the target server by 0.05. + +Like hack and grow, \`weaken\` can be called on any server, regardless of where the script is running. This command requires root access to the target server, but there is no required hacking level to run the command. + +Signature: + +```typescript +weaken(host: Host, opts?: BasicHGWOptions): Promise; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| host | [Host](./bitburner.host.md) | Hostname or IP of the target server to weaken. | +| opts | [BasicHGWOptions](./bitburner.basichgwoptions.md) | Optional parameters for configuring function behavior. | + +Returns: + +Promise<number> + +The amount by which the target server’s security level was decreased. This is equivalent to 0.05 multiplied by the number of script threads. + +## Remarks + +0.15 GB + +## Example + + +```js +weaken("foodnstuff"); +weaken("foodnstuff", { threads: 5 }); // Only use 5 threads to weaken +``` + diff --git a/markdown/bitburner.ns.weakenanalyze.md b/markdown/bitburner.ns.weakenanalyze.md new file mode 100644 index 000000000..8e9fe8f34 --- /dev/null +++ b/markdown/bitburner.ns.weakenanalyze.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [weakenAnalyze](./bitburner.ns.weakenanalyze.md) + +## NS.weakenAnalyze() method + +Returns the security decrease that would occur if a weaken with this many threads happened. + +Signature: + +```typescript +weakenAnalyze(threads: number, cores?: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| threads | number | Amount of threads that will be used. | +| cores | number | Optional. The number of cores of the server that would run weaken. | + +Returns: + +number + +The security decrease. + +## Remarks + +1 GB + diff --git a/markdown/bitburner.ns.wget.md b/markdown/bitburner.ns.wget.md new file mode 100644 index 000000000..8789f26e0 --- /dev/null +++ b/markdown/bitburner.ns.wget.md @@ -0,0 +1,43 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [wget](./bitburner.ns.wget.md) + +## NS.wget() method + +Retrieves data from a URL and downloads it to a file on the specified server. The data can only be downloaded to a script (.script, .ns, .js) or a text file (.txt). If the file already exists, it will be overwritten by this command. Note that it will not be possible to download data from many websites because they do not allow cross-origin resource sharing (CORS). + +IMPORTANT: This is an asynchronous function that returns a Promise. The Promise’s resolved value will be a boolean indicating whether or not the data was successfully retrieved from the URL. Because the function is async and returns a Promise, it is recommended you use wget in NetscriptJS (Netscript 2.0). + +In NetscriptJS, you must preface any call to wget with the await keyword (like you would hack or sleep). wget will still work in Netscript 1.0, but the functions execution will not be synchronous (i.e. it may not execute when you expect/want it to). Furthermore, since Promises are not supported in ES5, you will not be able to process the returned value of wget in Netscript 1.0. + +Signature: + +```typescript +wget(url: string, target: string, host?: string): Promise; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| url | string | URL to pull data from. | +| target | string | Filename to write data to. Must be script or text file. | +| host | string | Optional hostname/ip of server for target file. | + +Returns: + +Promise<boolean> + +True if the data was successfully retrieved from the URL, false otherwise. + +## Remarks + +0 GB + +## Example + + +```js +wget("https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md", "game_readme.txt"); +``` + diff --git a/markdown/bitburner.ns.write.md b/markdown/bitburner.ns.write.md new file mode 100644 index 000000000..780f67257 --- /dev/null +++ b/markdown/bitburner.ns.write.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [write](./bitburner.ns.write.md) + +## NS.write() method + +This function can be used to either write data to a port or to a text file (.txt). + +If the first argument is a number between 1 and 20, then it specifies a port and this function will write data to that port. The third argument, mode, is not used when writing to a port. + +If the first argument is a string, then it specifies the name of a text file (.txt) and this function will write data to that text file. If the specified text file does not exist, then it will be created. The third argument mode, defines how the data will be written to the text file. If \*mode is set to “w”, then the data is written in “write” mode which means that it will overwrite all existing data on the text file. If mode is set to any other value then the data will be written in “append” mode which means that the data will be added at the end of the text file. + +Signature: + +```typescript +write(handle: Handle, data?: string | string[] | number, mode?: "w" | "a"): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| handle | [Handle](./bitburner.handle.md) | Port or text file that will be written to. | +| data | string \| string\[\] \| number | Data to write. | +| mode | "w" \| "a" | Defines the write mode. Only valid when writing to text files. | + +Returns: + +void + +## Remarks + +1 GB + diff --git a/markdown/bitburner.orderpos.md b/markdown/bitburner.orderpos.md new file mode 100644 index 000000000..f86aec943 --- /dev/null +++ b/markdown/bitburner.orderpos.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [OrderPos](./bitburner.orderpos.md) + +## OrderPos type + +Signature: + +```typescript +type OrderPos = "long" | "short"; +``` diff --git a/markdown/bitburner.ordertype.md b/markdown/bitburner.ordertype.md new file mode 100644 index 000000000..ed2fd3c88 --- /dev/null +++ b/markdown/bitburner.ordertype.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [OrderType](./bitburner.ordertype.md) + +## OrderType type + +Signature: + +```typescript +type OrderType = "limitbuy" | "limitsell" | "stopbuy" | "stopsell"; +``` diff --git a/markdown/bitburner.playerstats.agility.md b/markdown/bitburner.playerstats.agility.md new file mode 100644 index 000000000..440d589f7 --- /dev/null +++ b/markdown/bitburner.playerstats.agility.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [PlayerStats](./bitburner.playerstats.md) > [agility](./bitburner.playerstats.agility.md) + +## PlayerStats.agility property + +Agility level + +Signature: + +```typescript +agility: number; +``` diff --git a/markdown/bitburner.playerstats.charisma.md b/markdown/bitburner.playerstats.charisma.md new file mode 100644 index 000000000..f16654c5e --- /dev/null +++ b/markdown/bitburner.playerstats.charisma.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [PlayerStats](./bitburner.playerstats.md) > [charisma](./bitburner.playerstats.charisma.md) + +## PlayerStats.charisma property + +Chraisma level + +Signature: + +```typescript +charisma: number; +``` diff --git a/markdown/bitburner.playerstats.defense.md b/markdown/bitburner.playerstats.defense.md new file mode 100644 index 000000000..fbebeb7f3 --- /dev/null +++ b/markdown/bitburner.playerstats.defense.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [PlayerStats](./bitburner.playerstats.md) > [defense](./bitburner.playerstats.defense.md) + +## PlayerStats.defense property + +Defense level + +Signature: + +```typescript +defense: number; +``` diff --git a/markdown/bitburner.playerstats.dexterity.md b/markdown/bitburner.playerstats.dexterity.md new file mode 100644 index 000000000..5068d65db --- /dev/null +++ b/markdown/bitburner.playerstats.dexterity.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [PlayerStats](./bitburner.playerstats.md) > [dexterity](./bitburner.playerstats.dexterity.md) + +## PlayerStats.dexterity property + +Dexterity level + +Signature: + +```typescript +dexterity: number; +``` diff --git a/markdown/bitburner.playerstats.hacking.md b/markdown/bitburner.playerstats.hacking.md new file mode 100644 index 000000000..d1ff032b7 --- /dev/null +++ b/markdown/bitburner.playerstats.hacking.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [PlayerStats](./bitburner.playerstats.md) > [hacking](./bitburner.playerstats.hacking.md) + +## PlayerStats.hacking property + +Hacking level + +Signature: + +```typescript +hacking: number; +``` diff --git a/markdown/bitburner.playerstats.intelligence.md b/markdown/bitburner.playerstats.intelligence.md new file mode 100644 index 000000000..16a8ca804 --- /dev/null +++ b/markdown/bitburner.playerstats.intelligence.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [PlayerStats](./bitburner.playerstats.md) > [intelligence](./bitburner.playerstats.intelligence.md) + +## PlayerStats.intelligence property + +Intelligence level + +Signature: + +```typescript +intelligence: number; +``` diff --git a/markdown/bitburner.playerstats.md b/markdown/bitburner.playerstats.md new file mode 100644 index 000000000..d634116c9 --- /dev/null +++ b/markdown/bitburner.playerstats.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [PlayerStats](./bitburner.playerstats.md) + +## PlayerStats interface + + +Signature: + +```typescript +interface PlayerStats +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [agility](./bitburner.playerstats.agility.md) | number | Agility level | +| [charisma](./bitburner.playerstats.charisma.md) | number | Chraisma level | +| [defense](./bitburner.playerstats.defense.md) | number | Defense level | +| [dexterity](./bitburner.playerstats.dexterity.md) | number | Dexterity level | +| [hacking](./bitburner.playerstats.hacking.md) | number | Hacking level | +| [intelligence](./bitburner.playerstats.intelligence.md) | number | Intelligence level | +| [strength](./bitburner.playerstats.strength.md) | number | Strength level | + diff --git a/markdown/bitburner.playerstats.strength.md b/markdown/bitburner.playerstats.strength.md new file mode 100644 index 000000000..6e11eda13 --- /dev/null +++ b/markdown/bitburner.playerstats.strength.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [PlayerStats](./bitburner.playerstats.md) > [strength](./bitburner.playerstats.strength.md) + +## PlayerStats.strength property + +Strength level + +Signature: + +```typescript +strength: number; +``` diff --git a/markdown/bitburner.port.md b/markdown/bitburner.port.md new file mode 100644 index 000000000..b5e18af07 --- /dev/null +++ b/markdown/bitburner.port.md @@ -0,0 +1,15 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Port](./bitburner.port.md) + +## Port type + +A port is implemented as a sort of serialized queue, where you can only write and read one element at a time from the port. When you read data from a port, the element that is read is removed from the port. + +IMPORTANT: The data inside ports are not saved! This means if you close and re-open the game, or reload the page then you will lose all of the data in the ports! + +Signature: + +```typescript +type Port = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20; +``` diff --git a/markdown/bitburner.processinfo.args.md b/markdown/bitburner.processinfo.args.md new file mode 100644 index 000000000..cf9e6318e --- /dev/null +++ b/markdown/bitburner.processinfo.args.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [ProcessInfo](./bitburner.processinfo.md) > [args](./bitburner.processinfo.args.md) + +## ProcessInfo.args property + +Script's arguments + +Signature: + +```typescript +args: string[]; +``` diff --git a/markdown/bitburner.processinfo.filename.md b/markdown/bitburner.processinfo.filename.md new file mode 100644 index 000000000..e4654dec6 --- /dev/null +++ b/markdown/bitburner.processinfo.filename.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [ProcessInfo](./bitburner.processinfo.md) > [filename](./bitburner.processinfo.filename.md) + +## ProcessInfo.filename property + +Script name. + +Signature: + +```typescript +filename: Script; +``` diff --git a/markdown/bitburner.processinfo.md b/markdown/bitburner.processinfo.md new file mode 100644 index 000000000..f0ab544f1 --- /dev/null +++ b/markdown/bitburner.processinfo.md @@ -0,0 +1,21 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [ProcessInfo](./bitburner.processinfo.md) + +## ProcessInfo interface + + +Signature: + +```typescript +interface ProcessInfo +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [args](./bitburner.processinfo.args.md) | string\[\] | Script's arguments | +| [filename](./bitburner.processinfo.filename.md) | [Script](./bitburner.script.md) | Script name. | +| [threads](./bitburner.processinfo.threads.md) | number | Number of threads script is running with | + diff --git a/markdown/bitburner.processinfo.threads.md b/markdown/bitburner.processinfo.threads.md new file mode 100644 index 000000000..8ba00b6ce --- /dev/null +++ b/markdown/bitburner.processinfo.threads.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [ProcessInfo](./bitburner.processinfo.md) > [threads](./bitburner.processinfo.threads.md) + +## ProcessInfo.threads property + +Number of threads script is running with + +Signature: + +```typescript +threads: number; +``` diff --git a/markdown/bitburner.purchaseableprogram.md b/markdown/bitburner.purchaseableprogram.md new file mode 100644 index 000000000..e5f7e2641 --- /dev/null +++ b/markdown/bitburner.purchaseableprogram.md @@ -0,0 +1,19 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [PurchaseableProgram](./bitburner.purchaseableprogram.md) + +## PurchaseableProgram type + +Signature: + +```typescript +type PurchaseableProgram = + | "brutessh.exe" + | "ftpcrack.exe" + | "relaysmtp.exe" + | "httpworm.exe" + | "sqlinject.exe" + | "deepscanv1.exe" + | "deepscanv2.exe" + | "autolink.exe"; +``` diff --git a/markdown/bitburner.script.md b/markdown/bitburner.script.md new file mode 100644 index 000000000..390781ac1 --- /dev/null +++ b/markdown/bitburner.script.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Script](./bitburner.script.md) + +## Script type + +Signature: + +```typescript +type Script = string; +``` diff --git a/markdown/bitburner.server.cpucores.md b/markdown/bitburner.server.cpucores.md new file mode 100644 index 000000000..931108397 --- /dev/null +++ b/markdown/bitburner.server.cpucores.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [cpuCores](./bitburner.server.cpucores.md) + +## Server.cpuCores property + +Signature: + +```typescript +cpuCores: number; +``` diff --git a/markdown/bitburner.server.ftpportopen.md b/markdown/bitburner.server.ftpportopen.md new file mode 100644 index 000000000..fc78fcf4d --- /dev/null +++ b/markdown/bitburner.server.ftpportopen.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [ftpPortOpen](./bitburner.server.ftpportopen.md) + +## Server.ftpPortOpen property + +Signature: + +```typescript +ftpPortOpen: boolean; +``` diff --git a/markdown/bitburner.server.hasadminrights.md b/markdown/bitburner.server.hasadminrights.md new file mode 100644 index 000000000..a2909c408 --- /dev/null +++ b/markdown/bitburner.server.hasadminrights.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [hasAdminRights](./bitburner.server.hasadminrights.md) + +## Server.hasAdminRights property + +Signature: + +```typescript +hasAdminRights: boolean; +``` diff --git a/markdown/bitburner.server.hostname.md b/markdown/bitburner.server.hostname.md new file mode 100644 index 000000000..658bb0b2b --- /dev/null +++ b/markdown/bitburner.server.hostname.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [hostname](./bitburner.server.hostname.md) + +## Server.hostname property + +Signature: + +```typescript +hostname: string; +``` diff --git a/markdown/bitburner.server.httpportopen.md b/markdown/bitburner.server.httpportopen.md new file mode 100644 index 000000000..1c86308a4 --- /dev/null +++ b/markdown/bitburner.server.httpportopen.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [httpPortOpen](./bitburner.server.httpportopen.md) + +## Server.httpPortOpen property + +Signature: + +```typescript +httpPortOpen: boolean; +``` diff --git a/markdown/bitburner.server.ip.md b/markdown/bitburner.server.ip.md new file mode 100644 index 000000000..75a3667ef --- /dev/null +++ b/markdown/bitburner.server.ip.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [ip](./bitburner.server.ip.md) + +## Server.ip property + +Signature: + +```typescript +ip: string; +``` diff --git a/markdown/bitburner.server.isconnectedto.md b/markdown/bitburner.server.isconnectedto.md new file mode 100644 index 000000000..32730c9eb --- /dev/null +++ b/markdown/bitburner.server.isconnectedto.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [isConnectedTo](./bitburner.server.isconnectedto.md) + +## Server.isConnectedTo property + +Signature: + +```typescript +isConnectedTo: boolean; +``` diff --git a/markdown/bitburner.server.maxram.md b/markdown/bitburner.server.maxram.md new file mode 100644 index 000000000..20127a31b --- /dev/null +++ b/markdown/bitburner.server.maxram.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [maxRam](./bitburner.server.maxram.md) + +## Server.maxRam property + +Signature: + +```typescript +maxRam: number; +``` diff --git a/markdown/bitburner.server.md b/markdown/bitburner.server.md new file mode 100644 index 000000000..21c855799 --- /dev/null +++ b/markdown/bitburner.server.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) + +## Server interface + + +Signature: + +```typescript +interface Server +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [cpuCores](./bitburner.server.cpucores.md) | number | | +| [ftpPortOpen](./bitburner.server.ftpportopen.md) | boolean | | +| [hasAdminRights](./bitburner.server.hasadminrights.md) | boolean | | +| [hostname](./bitburner.server.hostname.md) | string | | +| [httpPortOpen](./bitburner.server.httpportopen.md) | boolean | | +| [ip](./bitburner.server.ip.md) | string | | +| [isConnectedTo](./bitburner.server.isconnectedto.md) | boolean | | +| [maxRam](./bitburner.server.maxram.md) | number | | +| [organizationName](./bitburner.server.organizationname.md) | string | | +| [ramUsed](./bitburner.server.ramused.md) | number | | +| [smtpPortOpen](./bitburner.server.smtpportopen.md) | boolean | | +| [sqlPortOpen](./bitburner.server.sqlportopen.md) | boolean | | +| [sshPortOpen](./bitburner.server.sshportopen.md) | boolean | | + diff --git a/markdown/bitburner.server.organizationname.md b/markdown/bitburner.server.organizationname.md new file mode 100644 index 000000000..ec269f993 --- /dev/null +++ b/markdown/bitburner.server.organizationname.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [organizationName](./bitburner.server.organizationname.md) + +## Server.organizationName property + +Signature: + +```typescript +organizationName: string; +``` diff --git a/markdown/bitburner.server.ramused.md b/markdown/bitburner.server.ramused.md new file mode 100644 index 000000000..5591e8bf2 --- /dev/null +++ b/markdown/bitburner.server.ramused.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [ramUsed](./bitburner.server.ramused.md) + +## Server.ramUsed property + +Signature: + +```typescript +ramUsed: number; +``` diff --git a/markdown/bitburner.server.smtpportopen.md b/markdown/bitburner.server.smtpportopen.md new file mode 100644 index 000000000..97ffd1a73 --- /dev/null +++ b/markdown/bitburner.server.smtpportopen.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [smtpPortOpen](./bitburner.server.smtpportopen.md) + +## Server.smtpPortOpen property + +Signature: + +```typescript +smtpPortOpen: boolean; +``` diff --git a/markdown/bitburner.server.sqlportopen.md b/markdown/bitburner.server.sqlportopen.md new file mode 100644 index 000000000..ed01542e2 --- /dev/null +++ b/markdown/bitburner.server.sqlportopen.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [sqlPortOpen](./bitburner.server.sqlportopen.md) + +## Server.sqlPortOpen property + +Signature: + +```typescript +sqlPortOpen: boolean; +``` diff --git a/markdown/bitburner.server.sshportopen.md b/markdown/bitburner.server.sshportopen.md new file mode 100644 index 000000000..5d5bdc4bc --- /dev/null +++ b/markdown/bitburner.server.sshportopen.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Server](./bitburner.server.md) > [sshPortOpen](./bitburner.server.sshportopen.md) + +## Server.sshPortOpen property + +Signature: + +```typescript +sshPortOpen: boolean; +``` diff --git a/markdown/bitburner.singularity.applytocompany.md b/markdown/bitburner.singularity.applytocompany.md new file mode 100644 index 000000000..e76dfcdfe --- /dev/null +++ b/markdown/bitburner.singularity.applytocompany.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [applyToCompany](./bitburner.singularity.applytocompany.md) + +## Singularity.applyToCompany() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will automatically try to apply to the specified company for a position in the specified field. This function can also be used to apply for promotions by specifying the company and field you are already employed at. + +This function will return true if you successfully get a job/promotion, and false otherwise. Note that if you are trying to use this function to apply for a promotion and you don’t get one, it will return false. + +Signature: + +```typescript +applyToCompany(companyName: CompanyName, field: CompanyField): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| companyName | [CompanyName](./bitburner.companyname.md) | Name of company to apply to. | +| field | [CompanyField](./bitburner.companyfield.md) | Field to which you want to apply. | + +Returns: + +boolean + +True if the player successfully get a job/promotion, and false otherwise. + +## Remarks + +3 GB Level 2 + diff --git a/markdown/bitburner.singularity.checkfactioninvitations.md b/markdown/bitburner.singularity.checkfactioninvitations.md new file mode 100644 index 000000000..4ad4cf4c9 --- /dev/null +++ b/markdown/bitburner.singularity.checkfactioninvitations.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [checkFactionInvitations](./bitburner.singularity.checkfactioninvitations.md) + +## Singularity.checkFactionInvitations() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +Returns an array with the name of all Factions you currently have oustanding invitations from. + +Signature: + +```typescript +checkFactionInvitations(): FactionName[]; +``` +Returns: + +[FactionName](./bitburner.factionname.md)\[\] + +Array with the name of all Factions you currently have oustanding invitations from. + +## Remarks + +3 GB Level 2 + diff --git a/markdown/bitburner.singularity.commitcrime.md b/markdown/bitburner.singularity.commitcrime.md new file mode 100644 index 000000000..baef61386 --- /dev/null +++ b/markdown/bitburner.singularity.commitcrime.md @@ -0,0 +1,36 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [commitCrime](./bitburner.singularity.commitcrime.md) + +## Singularity.commitCrime() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function is used to automatically attempt to commit crimes. If you are already in the middle of some ‘working’ action (such as working for a company or training at a gym), then running this function will automatically cancel that action and give you your earnings. + +This function returns the number of seconds it takes to attempt the specified crime (e.g It takes 60 seconds to attempt the ‘Rob Store’ crime, so running \`commitCrime('rob store')\` will return 60). + +Warning: I do not recommend using the time returned from this function to try and schedule your crime attempts. Instead, I would use the isBusy Singularity function to check whether you have finished attempting a crime. This is because although the game sets a certain crime to be X amount of seconds, there is no guarantee that your browser will follow that time limit. + +Signature: + +```typescript +commitCrime(crime: Crime): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| crime | [Crime](./bitburner.crime.md) | Name of crime to attempt. | + +Returns: + +number + +True if you successfully start working on the specified program, and false otherwise. + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.createprogram.md b/markdown/bitburner.singularity.createprogram.md new file mode 100644 index 000000000..2128c9789 --- /dev/null +++ b/markdown/bitburner.singularity.createprogram.md @@ -0,0 +1,43 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [createProgram](./bitburner.singularity.createprogram.md) + +## Singularity.createProgram() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will automatically set you to start working on creating the specified program. If you are already in the middle of some “working” action (such as working for a company, training at a gym, or taking a course), then running this function will automatically cancel that action and give you your earnings. + +This function returns true if you successfully start working on the specified program, and false otherwise. + +Note that creating a program using this function has the same hacking level requirements as it normally would. These level requirements are: \* BruteSSH.exe: 50 \* FTPCrack.exe: 100 \* relaySMTP.exe: 250 \* HTTPWorm.exe: 500 \* SQLInject.exe: 750 \* DeepscanV1.exe: 75 \* DeepscanV2.exe: 400 \* ServerProfiler.exe: 75 \* AutoLink.exe: 25 + +Signature: + +```typescript +createProgram(program: CreatableProgram): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| program | [CreatableProgram](./bitburner.creatableprogram.md) | Name of program to create. | + +Returns: + +boolean + +True if you successfully start working on the specified program, and false otherwise. + +## Remarks + +5 GB Level 3 + +## Example + + +```js +createProgram(“relaysmtp.exe”); +``` + diff --git a/markdown/bitburner.singularity.donatetofaction.md b/markdown/bitburner.singularity.donatetofaction.md new file mode 100644 index 000000000..339ef2d21 --- /dev/null +++ b/markdown/bitburner.singularity.donatetofaction.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [donateToFaction](./bitburner.singularity.donatetofaction.md) + +## Singularity.donateToFaction() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +Attempts to donate money to the specified faction in exchange for reputation. Returns true if you successfully donate the money, and false otherwise. + +Signature: + +```typescript +donateToFaction(faction: FactionName, amount: number): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| faction | [FactionName](./bitburner.factionname.md) | Name of faction to donate to. | +| amount | number | Amount of money to donate. | + +Returns: + +boolean + +True if the money was donated, and false otherwise. + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.getaugmentationcost.md b/markdown/bitburner.singularity.getaugmentationcost.md new file mode 100644 index 000000000..d6d914cc0 --- /dev/null +++ b/markdown/bitburner.singularity.getaugmentationcost.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getAugmentationCost](./bitburner.singularity.getaugmentationcost.md) + +## Singularity.getAugmentationCost() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function returns an array with two elements that gives the cost for the specified Augmentation. The first element in the returned array is the reputation requirement of the Augmentation, and the second element is the money cost. + +If an invalid Augmentation name is passed in for the augName argument, this function will return the array \[-1, -1\]. + +Signature: + +```typescript +getAugmentationCost(augName: AugmentName): [number, number]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| augName | [AugmentName](./bitburner.augmentname.md) | Name of Augmentation. | + +Returns: + +\[number, number\] + +Array with first element as a reputation requirement and second element as the money cost. + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.getaugmentationprereq.md b/markdown/bitburner.singularity.getaugmentationprereq.md new file mode 100644 index 000000000..c75dbcf6e --- /dev/null +++ b/markdown/bitburner.singularity.getaugmentationprereq.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getAugmentationPrereq](./bitburner.singularity.getaugmentationprereq.md) + +## Singularity.getAugmentationPrereq() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function returns an array with the names of the prerequisite Augmentation(s) for the specified Augmentation. If there are no prerequisites, a blank array is returned. + +Signature: + +```typescript +getAugmentationPrereq(augName: AugmentName): AugmentName[]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| augName | [AugmentName](./bitburner.augmentname.md) | Name of Augmentation. | + +Returns: + +[AugmentName](./bitburner.augmentname.md)\[\] + +Array with the names of the prerequisite Augmentation(s) for the specified Augmentation. + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.getaugmentationsfromfaction.md b/markdown/bitburner.singularity.getaugmentationsfromfaction.md new file mode 100644 index 000000000..4f663b554 --- /dev/null +++ b/markdown/bitburner.singularity.getaugmentationsfromfaction.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getAugmentationsFromFaction](./bitburner.singularity.getaugmentationsfromfaction.md) + +## Singularity.getAugmentationsFromFaction() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +Returns an array containing the names (as strings) of all Augmentations that are available from the specified faction. + +Signature: + +```typescript +getAugmentationsFromFaction(faction: FactionName): AugmentName[]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| faction | [FactionName](./bitburner.factionname.md) | Name of faction. | + +Returns: + +[AugmentName](./bitburner.augmentname.md)\[\] + +Array containing the names of all Augmentations. + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.getaugmentationstats.md b/markdown/bitburner.singularity.getaugmentationstats.md new file mode 100644 index 000000000..d67d6774d --- /dev/null +++ b/markdown/bitburner.singularity.getaugmentationstats.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getAugmentationStats](./bitburner.singularity.getaugmentationstats.md) + +## Singularity.getAugmentationStats() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function returns augmentation stats. + +Signature: + +```typescript +getAugmentationStats(name: AugmentName): AugmentationStats; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| name | [AugmentName](./bitburner.augmentname.md) | Name of Augmentation. CASE-SENSITIVE. | + +Returns: + +[AugmentationStats](./bitburner.augmentationstats.md) + +Augmentation stats. + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.getcharacterinformation.md b/markdown/bitburner.singularity.getcharacterinformation.md new file mode 100644 index 000000000..320b58c76 --- /dev/null +++ b/markdown/bitburner.singularity.getcharacterinformation.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCharacterInformation](./bitburner.singularity.getcharacterinformation.md) + +## Singularity.getCharacterInformation() method + +If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + +Returns an object with various information about your character. + +Signature: + +```typescript +getCharacterInformation(): CharacterInfo; +``` +Returns: + +[CharacterInfo](./bitburner.characterinfo.md) + +Object with various information about your character. + +## Remarks + +0.5 GB Level 1 + diff --git a/markdown/bitburner.singularity.getcompanyfavor.md b/markdown/bitburner.singularity.getcompanyfavor.md new file mode 100644 index 000000000..255d54df6 --- /dev/null +++ b/markdown/bitburner.singularity.getcompanyfavor.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCompanyFavor](./bitburner.singularity.getcompanyfavor.md) + +## Singularity.getCompanyFavor() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will return the amount of favor you have at the specified company. If the company passed in as an argument is invalid, -1 will be returned. + +Signature: + +```typescript +getCompanyFavor(companyName: CompanyName): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| companyName | [CompanyName](./bitburner.companyname.md) | Name of the company. | + +Returns: + +number + +Amount of favor you have at the specified company. + +## Remarks + +1 GB Level 2 + diff --git a/markdown/bitburner.singularity.getcompanyfavorgain.md b/markdown/bitburner.singularity.getcompanyfavorgain.md new file mode 100644 index 000000000..9d7b57b10 --- /dev/null +++ b/markdown/bitburner.singularity.getcompanyfavorgain.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCompanyFavorGain](./bitburner.singularity.getcompanyfavorgain.md) + +## Singularity.getCompanyFavorGain() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will return the amount of favor you will gain for the specified company when you reset by installing Augmentations. + +Signature: + +```typescript +getCompanyFavorGain(companyName: CompanyName): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| companyName | [CompanyName](./bitburner.companyname.md) | Name of the company. | + +Returns: + +number + +Amount of favor you gain at the specified company when you reset by installing Augmentations. + +## Remarks + +0.75 GB Level 2 + diff --git a/markdown/bitburner.singularity.getcompanyrep.md b/markdown/bitburner.singularity.getcompanyrep.md new file mode 100644 index 000000000..875d0151b --- /dev/null +++ b/markdown/bitburner.singularity.getcompanyrep.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCompanyRep](./bitburner.singularity.getcompanyrep.md) + +## Singularity.getCompanyRep() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will return the amount of reputation you have at the specified company. If the company passed in as an argument is invalid, -1 will be returned. + +Signature: + +```typescript +getCompanyRep(companyName: CompanyName): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| companyName | [CompanyName](./bitburner.companyname.md) | Name of the company. | + +Returns: + +number + +Amount of reputation you have at the specified company. + +## Remarks + +1 GB Level 2 + diff --git a/markdown/bitburner.singularity.getcrimechance.md b/markdown/bitburner.singularity.getcrimechance.md new file mode 100644 index 000000000..ff5962732 --- /dev/null +++ b/markdown/bitburner.singularity.getcrimechance.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCrimeChance](./bitburner.singularity.getcrimechance.md) + +## Singularity.getCrimeChance() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function returns your chance of success at commiting the specified crime. The chance is returned as a decimal (i.e. 60% would be returned as 0.6). + +Signature: + +```typescript +getCrimeChance(crime: Crime): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| crime | [Crime](./bitburner.crime.md) | Name of crime. | + +Returns: + +number + +Chance of success at commiting the specified crime as a decimal. + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.getcrimestats.md b/markdown/bitburner.singularity.getcrimestats.md new file mode 100644 index 000000000..a3d59f77f --- /dev/null +++ b/markdown/bitburner.singularity.getcrimestats.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCrimeStats](./bitburner.singularity.getcrimestats.md) + +## Singularity.getCrimeStats() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +Returns the stats of the crime. + +Signature: + +```typescript +getCrimeStats(crime: Crime): CrimeStats; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| crime | [Crime](./bitburner.crime.md) | Name of crime. Not case-sensitive | + +Returns: + +[CrimeStats](./bitburner.crimestats.md) + +The stats of the crime. + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.getfactionfavor.md b/markdown/bitburner.singularity.getfactionfavor.md new file mode 100644 index 000000000..16e7a70b3 --- /dev/null +++ b/markdown/bitburner.singularity.getfactionfavor.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getFactionFavor](./bitburner.singularity.getfactionfavor.md) + +## Singularity.getFactionFavor() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function returns the amount of favor you have for the specified faction. + +Signature: + +```typescript +getFactionFavor(faction: FactionName): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| faction | [FactionName](./bitburner.factionname.md) | Name of faction. | + +Returns: + +number + +Amount of favor you have for the specified faction. + +## Remarks + +1 GB Level 2 + diff --git a/markdown/bitburner.singularity.getfactionfavorgain.md b/markdown/bitburner.singularity.getfactionfavorgain.md new file mode 100644 index 000000000..1ab1f2bc4 --- /dev/null +++ b/markdown/bitburner.singularity.getfactionfavorgain.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getFactionFavorGain](./bitburner.singularity.getfactionfavorgain.md) + +## Singularity.getFactionFavorGain() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function returns the amount of favor you will gain for the specified faction when you reset by installing Augmentations. + +Signature: + +```typescript +getFactionFavorGain(faction: FactionName): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| faction | [FactionName](./bitburner.factionname.md) | Name of faction. | + +Returns: + +number + +Amount of favor you will gain for the specified faction when you reset by installing Augmentations. + +## Remarks + +0.75 GB Level 2 + diff --git a/markdown/bitburner.singularity.getfactionrep.md b/markdown/bitburner.singularity.getfactionrep.md new file mode 100644 index 000000000..3243de8fc --- /dev/null +++ b/markdown/bitburner.singularity.getfactionrep.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getFactionRep](./bitburner.singularity.getfactionrep.md) + +## Singularity.getFactionRep() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function returns the amount of reputation you have for the specified faction. + +Signature: + +```typescript +getFactionRep(faction: FactionName): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| faction | [FactionName](./bitburner.factionname.md) | Name of faction to work for. | + +Returns: + +number + +Amount of reputation you have for the specified faction. + +## Remarks + +1 GB Level 2 + diff --git a/markdown/bitburner.singularity.getownedaugmentations.md b/markdown/bitburner.singularity.getownedaugmentations.md new file mode 100644 index 000000000..386955550 --- /dev/null +++ b/markdown/bitburner.singularity.getownedaugmentations.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getOwnedAugmentations](./bitburner.singularity.getownedaugmentations.md) + +## Singularity.getOwnedAugmentations() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function returns an array containing the names (as strings) of all Augmentations you have. + +Signature: + +```typescript +getOwnedAugmentations(purchased?: boolean): AugmentName[]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| purchased | boolean | Specifies whether the returned array should include Augmentations you have purchased but not yet installed. By default, this argument is false which means that the return value will NOT have the purchased Augmentations. | + +Returns: + +[AugmentName](./bitburner.augmentname.md)\[\] + +Array containing the names (as strings) of all Augmentations you have. + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.getownedsourcefiles.md b/markdown/bitburner.singularity.getownedsourcefiles.md new file mode 100644 index 000000000..4268c73d7 --- /dev/null +++ b/markdown/bitburner.singularity.getownedsourcefiles.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getOwnedSourceFiles](./bitburner.singularity.getownedsourcefiles.md) + +## Singularity.getOwnedSourceFiles() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +Returns an array of source files + +Signature: + +```typescript +getOwnedSourceFiles(): SourceFileLvl[]; +``` +Returns: + +[SourceFileLvl](./bitburner.sourcefilelvl.md)\[\] + +Array containing an object with number and level of the source file. + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.getstats.md b/markdown/bitburner.singularity.getstats.md new file mode 100644 index 000000000..a2f07f979 --- /dev/null +++ b/markdown/bitburner.singularity.getstats.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getStats](./bitburner.singularity.getstats.md) + +## Singularity.getStats() method + +If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + +Returns an object with the Player’s stats. + +Signature: + +```typescript +getStats(): PlayerStats; +``` +Returns: + +[PlayerStats](./bitburner.playerstats.md) + +Object with the Player’s stats. + +## Remarks + +0.5 GB Level 1 + +## Example + + +```js +res = getStats(); +print('My charisma level is: ' + res.charisma); +``` + diff --git a/markdown/bitburner.singularity.getupgradehomeramcost.md b/markdown/bitburner.singularity.getupgradehomeramcost.md new file mode 100644 index 000000000..1ee8d3028 --- /dev/null +++ b/markdown/bitburner.singularity.getupgradehomeramcost.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getUpgradeHomeRamCost](./bitburner.singularity.getupgradehomeramcost.md) + +## Singularity.getUpgradeHomeRamCost() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +Returns the cost of upgrading the player’s home computer RAM. + +Signature: + +```typescript +getUpgradeHomeRamCost(): number; +``` +Returns: + +number + +Cost of upgrading the player’s home computer RAM. + +## Remarks + +1.5 GB Level 2 + diff --git a/markdown/bitburner.singularity.gymworkout.md b/markdown/bitburner.singularity.gymworkout.md new file mode 100644 index 000000000..880204deb --- /dev/null +++ b/markdown/bitburner.singularity.gymworkout.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [gymWorkout](./bitburner.singularity.gymworkout.md) + +## Singularity.gymWorkout() method + +If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will automatically set you to start working out at a gym to train a particular stat. If you are already in the middle of some “working” action (such as working at a company, for a faction, or on a program), then running this function will automatically cancel that action and give you your earnings. + +The cost and experience gains for all of these gyms are the same as if you were to manually visit these gyms and train + +Signature: + +```typescript +gymWorkout(gymName: Gym, stat: GymStat): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| gymName | [Gym](./bitburner.gym.md) | Name of gym. You must be in the correct city for whatever gym you specify. | +| stat | [GymStat](./bitburner.gymstat.md) | The stat you want to train. | + +Returns: + +boolean + +True if actions is successfully started, false otherwise. + +## Remarks + +2 GB Level 1 + diff --git a/markdown/bitburner.singularity.installaugmentations.md b/markdown/bitburner.singularity.installaugmentations.md new file mode 100644 index 000000000..61fe8184d --- /dev/null +++ b/markdown/bitburner.singularity.installaugmentations.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [installAugmentations](./bitburner.singularity.installaugmentations.md) + +## Singularity.installAugmentations() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will automatically install your Augmentations, resetting the game as usual. + +Signature: + +```typescript +installAugmentations(cbScript?: Script): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| cbScript | [Script](./bitburner.script.md) | Optional callback script. This is a script that will automatically be run after Augmentations are installed (after the reset). This script will be run with no arguments and 1 thread. It must be located on your home computer. | + +Returns: + +void + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.isbusy.md b/markdown/bitburner.singularity.isbusy.md new file mode 100644 index 000000000..655174e5b --- /dev/null +++ b/markdown/bitburner.singularity.isbusy.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [isBusy](./bitburner.singularity.isbusy.md) + +## Singularity.isBusy() method + +If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + +Returns a boolean indicating whether or not the player is currently performing an ‘action’. These actions include working for a company/faction, studying at a univeristy, working out at a gym, creating a program, committing a crime, or carrying out a Hacking Mission. + +Signature: + +```typescript +isBusy(): boolean; +``` +Returns: + +boolean + +True if the player is currently performing an ‘action’, false otherwise. + +## Remarks + +0.5 GB Level 1 + diff --git a/markdown/bitburner.singularity.joinfaction.md b/markdown/bitburner.singularity.joinfaction.md new file mode 100644 index 000000000..847d28859 --- /dev/null +++ b/markdown/bitburner.singularity.joinfaction.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [joinFaction](./bitburner.singularity.joinfaction.md) + +## Singularity.joinFaction() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will automatically accept an invitation from a faction and join it. + +Signature: + +```typescript +joinFaction(faction: FactionName): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| faction | [FactionName](./bitburner.factionname.md) | Name of faction to join. | + +Returns: + +boolean + +True if player joined the faction, and false otherwise. + +## Remarks + +3 GB Level 2 + diff --git a/markdown/bitburner.singularity.md b/markdown/bitburner.singularity.md new file mode 100644 index 000000000..a6c4a17b4 --- /dev/null +++ b/markdown/bitburner.singularity.md @@ -0,0 +1,54 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) + +## Singularity interface + + +Signature: + +```typescript +interface Singularity +``` + +## Methods + +| Method | Description | +| --- | --- | +| [applyToCompany(companyName, field)](./bitburner.singularity.applytocompany.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will automatically try to apply to the specified company for a position in the specified field. This function can also be used to apply for promotions by specifying the company and field you are already employed at.This function will return true if you successfully get a job/promotion, and false otherwise. Note that if you are trying to use this function to apply for a promotion and you don’t get one, it will return false. | +| [checkFactionInvitations()](./bitburner.singularity.checkfactioninvitations.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.Returns an array with the name of all Factions you currently have oustanding invitations from. | +| [commitCrime(crime)](./bitburner.singularity.commitcrime.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.This function is used to automatically attempt to commit crimes. If you are already in the middle of some ‘working’ action (such as working for a company or training at a gym), then running this function will automatically cancel that action and give you your earnings.This function returns the number of seconds it takes to attempt the specified crime (e.g It takes 60 seconds to attempt the ‘Rob Store’ crime, so running \`commitCrime('rob store')\` will return 60).Warning: I do not recommend using the time returned from this function to try and schedule your crime attempts. Instead, I would use the isBusy Singularity function to check whether you have finished attempting a crime. This is because although the game sets a certain crime to be X amount of seconds, there is no guarantee that your browser will follow that time limit. | +| [createProgram(program)](./bitburner.singularity.createprogram.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will automatically set you to start working on creating the specified program. If you are already in the middle of some “working” action (such as working for a company, training at a gym, or taking a course), then running this function will automatically cancel that action and give you your earnings.This function returns true if you successfully start working on the specified program, and false otherwise.Note that creating a program using this function has the same hacking level requirements as it normally would. These level requirements are: \* BruteSSH.exe: 50 \* FTPCrack.exe: 100 \* relaySMTP.exe: 250 \* HTTPWorm.exe: 500 \* SQLInject.exe: 750 \* DeepscanV1.exe: 75 \* DeepscanV2.exe: 400 \* ServerProfiler.exe: 75 \* AutoLink.exe: 25 | +| [donateToFaction(faction, amount)](./bitburner.singularity.donatetofaction.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.Attempts to donate money to the specified faction in exchange for reputation. Returns true if you successfully donate the money, and false otherwise. | +| [getAugmentationCost(augName)](./bitburner.singularity.getaugmentationcost.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.This function returns an array with two elements that gives the cost for the specified Augmentation. The first element in the returned array is the reputation requirement of the Augmentation, and the second element is the money cost.If an invalid Augmentation name is passed in for the augName argument, this function will return the array \[-1, -1\]. | +| [getAugmentationPrereq(augName)](./bitburner.singularity.getaugmentationprereq.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.This function returns an array with the names of the prerequisite Augmentation(s) for the specified Augmentation. If there are no prerequisites, a blank array is returned. | +| [getAugmentationsFromFaction(faction)](./bitburner.singularity.getaugmentationsfromfaction.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.Returns an array containing the names (as strings) of all Augmentations that are available from the specified faction. | +| [getAugmentationStats(name)](./bitburner.singularity.getaugmentationstats.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.This function returns augmentation stats. | +| [getCharacterInformation()](./bitburner.singularity.getcharacterinformation.md) | If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.Returns an object with various information about your character. | +| [getCompanyFavor(companyName)](./bitburner.singularity.getcompanyfavor.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will return the amount of favor you have at the specified company. If the company passed in as an argument is invalid, -1 will be returned. | +| [getCompanyFavorGain(companyName)](./bitburner.singularity.getcompanyfavorgain.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will return the amount of favor you will gain for the specified company when you reset by installing Augmentations. | +| [getCompanyRep(companyName)](./bitburner.singularity.getcompanyrep.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will return the amount of reputation you have at the specified company. If the company passed in as an argument is invalid, -1 will be returned. | +| [getCrimeChance(crime)](./bitburner.singularity.getcrimechance.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.This function returns your chance of success at commiting the specified crime. The chance is returned as a decimal (i.e. 60% would be returned as 0.6). | +| [getCrimeStats(crime)](./bitburner.singularity.getcrimestats.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.Returns the stats of the crime. | +| [getFactionFavor(faction)](./bitburner.singularity.getfactionfavor.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.This function returns the amount of favor you have for the specified faction. | +| [getFactionFavorGain(faction)](./bitburner.singularity.getfactionfavorgain.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.This function returns the amount of favor you will gain for the specified faction when you reset by installing Augmentations. | +| [getFactionRep(faction)](./bitburner.singularity.getfactionrep.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.This function returns the amount of reputation you have for the specified faction. | +| [getOwnedAugmentations(purchased)](./bitburner.singularity.getownedaugmentations.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.This function returns an array containing the names (as strings) of all Augmentations you have. | +| [getOwnedSourceFiles()](./bitburner.singularity.getownedsourcefiles.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.Returns an array of source files | +| [getStats()](./bitburner.singularity.getstats.md) | If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.Returns an object with the Player’s stats. | +| [getUpgradeHomeRamCost()](./bitburner.singularity.getupgradehomeramcost.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.Returns the cost of upgrading the player’s home computer RAM. | +| [gymWorkout(gymName, stat)](./bitburner.singularity.gymworkout.md) | If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will automatically set you to start working out at a gym to train a particular stat. If you are already in the middle of some “working” action (such as working at a company, for a faction, or on a program), then running this function will automatically cancel that action and give you your earnings.The cost and experience gains for all of these gyms are the same as if you were to manually visit these gyms and train | +| [installAugmentations(cbScript)](./bitburner.singularity.installaugmentations.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will automatically install your Augmentations, resetting the game as usual. | +| [isBusy()](./bitburner.singularity.isbusy.md) | If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.Returns a boolean indicating whether or not the player is currently performing an ‘action’. These actions include working for a company/faction, studying at a univeristy, working out at a gym, creating a program, committing a crime, or carrying out a Hacking Mission. | +| [joinFaction(faction)](./bitburner.singularity.joinfaction.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will automatically accept an invitation from a faction and join it. | +| [purchaseAugmentation(faction, augmnet)](./bitburner.singularity.purchaseaugmentation.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will try to purchase the specified Augmentation through the given Faction.This function will return true if the Augmentation is successfully purchased, and false otherwise. | +| [purchaseProgram(programName)](./bitburner.singularity.purchaseprogram.md) | If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.This function allows you to automatically purchase programs. You MUST have a TOR router in order to use this function. The cost of purchasing programs using this function is the same as if you were purchasing them through the Dark Web using the Terminal buy command. | +| [purchaseTor()](./bitburner.singularity.purchasetor.md) | If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.This function allows you to automatically purchase a TOR router. The cost for purchasing a TOR router using this function is the same as if you were to manually purchase one. | +| [softReset()](./bitburner.singularity.softreset.md) | If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will perform a reset even if you don’t have any augmentation installed. | +| [stopAction()](./bitburner.singularity.stopaction.md) | If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.This function is used to end whatever ‘action’ the player is currently performing. The player will receive whatever money/experience/etc. he has earned from that action.The actions that can be stopped with this function are:\* Studying at a university \* Working for a company/faction \* Creating a program \* Committing a CrimeThis function will return true if the player’s action was ended. It will return false if the player was not performing an action when this function was called. | +| [travelToCity(city)](./bitburner.singularity.traveltocity.md) | If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.This function allows the player to travel to any city. The cost for using this function is the same as the cost for traveling through the Travel Agency. | +| [universityCourse(universityName, courseName)](./bitburner.singularity.universitycourse.md) | If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will automatically set you to start taking a course at a university. If you are already in the middle of some “working” action (such as working at a company, for a faction, or on a program), then running this function will automatically cancel that action and give you your earnings.The cost and experience gains for all of these universities and classes are the same as if you were to manually visit and take these classes. | +| [upgradeHomeRam()](./bitburner.singularity.upgradehomeram.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will upgrade amount of RAM on the player’s home computer. The cost is the same as if you were to do it manually.This function will return true if the player’s home computer RAM is successfully upgraded, and false otherwise. | +| [workForCompany(companyName)](./bitburner.singularity.workforcompany.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will automatically set you to start working at the company at which you are employed. If you are already in the middle of some “working” action (such as working for a faction, training at a gym, or creating a program), then running this function will automatically cancel that action and give you your earnings.This function will return true if the player starts working, and false otherwise.Note that when you are working for a company, you will not actually receive your earnings (reputation, money, experience) until you FINISH the action. | +| [workForFaction(faction, workType)](./bitburner.singularity.workforfaction.md) | If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.This function will automatically set you to start working for the specified faction. Obviously, you must be a member of the faction or else this function will fail. If you are already in the middle of some “working” action (such as working for a company, training at a gym, or creating a program), then running this function will automatically cancel that action and give you your earnings.This function will return true if you successfully start working for the specified faction, and false otherwise.Note that when you are working for a faction, you will not actually receive your earnings (reputation, experience) until you FINISH the action. | + diff --git a/markdown/bitburner.singularity.purchaseaugmentation.md b/markdown/bitburner.singularity.purchaseaugmentation.md new file mode 100644 index 000000000..adc4fc308 --- /dev/null +++ b/markdown/bitburner.singularity.purchaseaugmentation.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [purchaseAugmentation](./bitburner.singularity.purchaseaugmentation.md) + +## Singularity.purchaseAugmentation() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will try to purchase the specified Augmentation through the given Faction. + +This function will return true if the Augmentation is successfully purchased, and false otherwise. + +Signature: + +```typescript +purchaseAugmentation(faction: FactionName, augmnet: AugmentName): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| faction | [FactionName](./bitburner.factionname.md) | Name of faction to purchase Augmentation from. | +| augmnet | [AugmentName](./bitburner.augmentname.md) | Name of Augmentation to purchase. | + +Returns: + +boolean + +True if the Augmentation is successfully purchased, and false otherwise. + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.purchaseprogram.md b/markdown/bitburner.singularity.purchaseprogram.md new file mode 100644 index 000000000..799d7e206 --- /dev/null +++ b/markdown/bitburner.singularity.purchaseprogram.md @@ -0,0 +1,39 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [purchaseProgram](./bitburner.singularity.purchaseprogram.md) + +## Singularity.purchaseProgram() method + +If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function allows you to automatically purchase programs. You MUST have a TOR router in order to use this function. The cost of purchasing programs using this function is the same as if you were purchasing them through the Dark Web using the Terminal buy command. + +Signature: + +```typescript +purchaseProgram(programName: PurchaseableProgram): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| programName | [PurchaseableProgram](./bitburner.purchaseableprogram.md) | Name of program to purchase. | + +Returns: + +boolean + +True if the specified program is purchased, and false otherwise. + +## Remarks + +2 GB Level 1 + +## Example + + +```js +purchaseProgram("brutessh.exe"); +``` + diff --git a/markdown/bitburner.singularity.purchasetor.md b/markdown/bitburner.singularity.purchasetor.md new file mode 100644 index 000000000..e221fead9 --- /dev/null +++ b/markdown/bitburner.singularity.purchasetor.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [purchaseTor](./bitburner.singularity.purchasetor.md) + +## Singularity.purchaseTor() method + +If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function allows you to automatically purchase a TOR router. The cost for purchasing a TOR router using this function is the same as if you were to manually purchase one. + +Signature: + +```typescript +purchaseTor(): boolean; +``` +Returns: + +boolean + +True if actions is successful, false otherwise. + +## Remarks + +2 GB Level 1 + diff --git a/markdown/bitburner.singularity.softreset.md b/markdown/bitburner.singularity.softreset.md new file mode 100644 index 000000000..b1d0a0f84 --- /dev/null +++ b/markdown/bitburner.singularity.softreset.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [softReset](./bitburner.singularity.softreset.md) + +## Singularity.softReset() method + +If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will perform a reset even if you don’t have any augmentation installed. + +Signature: + +```typescript +softReset(): void; +``` +Returns: + +void + +## Remarks + +5 GB Level 3 + diff --git a/markdown/bitburner.singularity.stopaction.md b/markdown/bitburner.singularity.stopaction.md new file mode 100644 index 000000000..a5e24d583 --- /dev/null +++ b/markdown/bitburner.singularity.stopaction.md @@ -0,0 +1,31 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [stopAction](./bitburner.singularity.stopaction.md) + +## Singularity.stopAction() method + +If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function is used to end whatever ‘action’ the player is currently performing. The player will receive whatever money/experience/etc. he has earned from that action. + +The actions that can be stopped with this function are: + +\* Studying at a university \* Working for a company/faction \* Creating a program \* Committing a Crime + +This function will return true if the player’s action was ended. It will return false if the player was not performing an action when this function was called. + +Signature: + +```typescript +stopAction(): boolean; +``` +Returns: + +boolean + +True if the player’s action was ended, false if the player was not performing an action. + +## Remarks + +1 GB Level 1 + diff --git a/markdown/bitburner.singularity.traveltocity.md b/markdown/bitburner.singularity.traveltocity.md new file mode 100644 index 000000000..93aff0792 --- /dev/null +++ b/markdown/bitburner.singularity.traveltocity.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [travelToCity](./bitburner.singularity.traveltocity.md) + +## Singularity.travelToCity() method + +If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function allows the player to travel to any city. The cost for using this function is the same as the cost for traveling through the Travel Agency. + +Signature: + +```typescript +travelToCity(city: City): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| city | [City](./bitburner.city.md) | City to travel to. | + +Returns: + +boolean + +True if actions is successful, false otherwise. + +## Remarks + +2 GB Level 1 + diff --git a/markdown/bitburner.singularity.universitycourse.md b/markdown/bitburner.singularity.universitycourse.md new file mode 100644 index 000000000..000cf88c9 --- /dev/null +++ b/markdown/bitburner.singularity.universitycourse.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [universityCourse](./bitburner.singularity.universitycourse.md) + +## Singularity.universityCourse() method + +If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will automatically set you to start taking a course at a university. If you are already in the middle of some “working” action (such as working at a company, for a faction, or on a program), then running this function will automatically cancel that action and give you your earnings. + +The cost and experience gains for all of these universities and classes are the same as if you were to manually visit and take these classes. + +Signature: + +```typescript +universityCourse(universityName: University, courseName: UniversityCourse): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| universityName | [University](./bitburner.university.md) | Name of university. You must be in the correct city for whatever university you specify. | +| courseName | [UniversityCourse](./bitburner.universitycourse.md) | Name of course. | + +Returns: + +boolean + +True if actions is successfully started, false otherwise. + +## Remarks + +2 GB Level 1 + diff --git a/markdown/bitburner.singularity.upgradehomeram.md b/markdown/bitburner.singularity.upgradehomeram.md new file mode 100644 index 000000000..e30cfd83a --- /dev/null +++ b/markdown/bitburner.singularity.upgradehomeram.md @@ -0,0 +1,27 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [upgradeHomeRam](./bitburner.singularity.upgradehomeram.md) + +## Singularity.upgradeHomeRam() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will upgrade amount of RAM on the player’s home computer. The cost is the same as if you were to do it manually. + +This function will return true if the player’s home computer RAM is successfully upgraded, and false otherwise. + +Signature: + +```typescript +upgradeHomeRam(): boolean; +``` +Returns: + +boolean + +True if the player’s home computer RAM is successfully upgraded, and false otherwise. + +## Remarks + +3 GB Level 2 + diff --git a/markdown/bitburner.singularity.workforcompany.md b/markdown/bitburner.singularity.workforcompany.md new file mode 100644 index 000000000..9c0eaf3c7 --- /dev/null +++ b/markdown/bitburner.singularity.workforcompany.md @@ -0,0 +1,48 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [workForCompany](./bitburner.singularity.workforcompany.md) + +## Singularity.workForCompany() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will automatically set you to start working at the company at which you are employed. If you are already in the middle of some “working” action (such as working for a faction, training at a gym, or creating a program), then running this function will automatically cancel that action and give you your earnings. + +This function will return true if the player starts working, and false otherwise. + +Note that when you are working for a company, you will not actually receive your earnings (reputation, money, experience) until you FINISH the action. + +Signature: + +```typescript +workForCompany(companyName?: CompanyName): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| companyName | [CompanyName](./bitburner.companyname.md) | Name of company to work for. Must be an exact match. Optional. If not specified, this argument defaults to the last job that you worked | + +Returns: + +boolean + +True if the player starts working, and false otherwise. + +## Remarks + +3 GB Level 2 + +## Example + + +```js +//If you only want to work until you get 100,000 company reputation. One small hack to get around this is to continuously restart the action to receive your earnings: +while (getCompanyRep(COMPANY HERE) < VALUE) { + workForCompany(); + sleep(60000); +} +//This way, your company reputation will be updated every minute. +``` + diff --git a/markdown/bitburner.singularity.workforfaction.md b/markdown/bitburner.singularity.workforfaction.md new file mode 100644 index 000000000..095db2ae6 --- /dev/null +++ b/markdown/bitburner.singularity.workforfaction.md @@ -0,0 +1,49 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [workForFaction](./bitburner.singularity.workforfaction.md) + +## Singularity.workForFaction() method + +If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled. + +This function will automatically set you to start working for the specified faction. Obviously, you must be a member of the faction or else this function will fail. If you are already in the middle of some “working” action (such as working for a company, training at a gym, or creating a program), then running this function will automatically cancel that action and give you your earnings. + +This function will return true if you successfully start working for the specified faction, and false otherwise. + +Note that when you are working for a faction, you will not actually receive your earnings (reputation, experience) until you FINISH the action. + +Signature: + +```typescript +workForFaction(faction: FactionName, workType: FactionWork): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| faction | [FactionName](./bitburner.factionname.md) | Name of faction to work for. | +| workType | [FactionWork](./bitburner.factionwork.md) | Type of work to perform for the faction. | + +Returns: + +boolean + +True if the player starts working, and false otherwise. + +## Remarks + +3 GB Level 2 + +## Example + + +```js +//If you only want to work until you get 100,000 faction reputation. One small hack to get around this is to continuously restart the action to receive your earnings: +while (getFactionRep(FACTION NAME) < VALUE) { + workForFaction(FACNAME, WORKTYPE); + sleep(60000); +} +//This way, your faction reputation will be updated every minute. +``` + diff --git a/markdown/bitburner.sleeve.getinformation.md b/markdown/bitburner.sleeve.getinformation.md new file mode 100644 index 000000000..a227b279d --- /dev/null +++ b/markdown/bitburner.sleeve.getinformation.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [getInformation](./bitburner.sleeve.getinformation.md) + +## Sleeve.getInformation() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return a struct containing tons of information about this sleeve + +Signature: + +```typescript +getInformation(sleeveNumber: number): SleeveInformation; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to retrieve information. | + +Returns: + +[SleeveInformation](./bitburner.sleeveinformation.md) + +Object containing tons of information about this sleeve. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.getnumsleeves.md b/markdown/bitburner.sleeve.getnumsleeves.md new file mode 100644 index 000000000..7f202d5d9 --- /dev/null +++ b/markdown/bitburner.sleeve.getnumsleeves.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [getNumSleeves](./bitburner.sleeve.getnumsleeves.md) + +## Sleeve.getNumSleeves() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return the number of duplicate sleeves the player has. + +Signature: + +```typescript +getNumSleeves(): number; +``` +Returns: + +number + +number of duplicate sleeves the player has. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.getsleeveaugmentations.md b/markdown/bitburner.sleeve.getsleeveaugmentations.md new file mode 100644 index 000000000..0c9d768db --- /dev/null +++ b/markdown/bitburner.sleeve.getsleeveaugmentations.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [getSleeveAugmentations](./bitburner.sleeve.getsleeveaugmentations.md) + +## Sleeve.getSleeveAugmentations() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return a list of augmentation names that this sleeve has installed. + +Signature: + +```typescript +getSleeveAugmentations(sleeveNumber: number): AugmentName[]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to retrieve augmentations from. | + +Returns: + +[AugmentName](./bitburner.augmentname.md)\[\] + +List of augmentation names that this sleeve has installed. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.getsleevepurchasableaugs.md b/markdown/bitburner.sleeve.getsleevepurchasableaugs.md new file mode 100644 index 000000000..fb4cabe9c --- /dev/null +++ b/markdown/bitburner.sleeve.getsleevepurchasableaugs.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [getSleevePurchasableAugs](./bitburner.sleeve.getsleevepurchasableaugs.md) + +## Sleeve.getSleevePurchasableAugs() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return a list of augmentations that the player can buy for this sleeve. + +Signature: + +```typescript +getSleevePurchasableAugs(sleeveNumber: number): AugmentPair[]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to retrieve purchasable augmentations from. | + +Returns: + +[AugmentPair](./bitburner.augmentpair.md)\[\] + +List of augmentations that the player can buy for this sleeve. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.getsleevestats.md b/markdown/bitburner.sleeve.getsleevestats.md new file mode 100644 index 000000000..3958ed8be --- /dev/null +++ b/markdown/bitburner.sleeve.getsleevestats.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [getSleeveStats](./bitburner.sleeve.getsleevestats.md) + +## Sleeve.getSleeveStats() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return a structure containing the stats of the sleeve. + +Signature: + +```typescript +getSleeveStats(sleeveNumber: number): SleeveStats; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to get stats of. | + +Returns: + +[SleeveStats](./bitburner.sleevestats.md) + +Object containing the stats of the sleeve. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.gettask.md b/markdown/bitburner.sleeve.gettask.md new file mode 100644 index 000000000..c7f0dc545 --- /dev/null +++ b/markdown/bitburner.sleeve.gettask.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [getTask](./bitburner.sleeve.gettask.md) + +## Sleeve.getTask() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return the current task that the sleeve is performing. type is set to “Idle” if the sleeve isn’t doing anything. + +Signature: + +```typescript +getTask(sleeveNumber: number): SleeveTask; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to retrieve task from. | + +Returns: + +[SleeveTask](./bitburner.sleevetask.md) + +Object containing information the current task that the sleeve is performing. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.md b/markdown/bitburner.sleeve.md new file mode 100644 index 000000000..4189c591e --- /dev/null +++ b/markdown/bitburner.sleeve.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) + +## Sleeve interface + + +Signature: + +```typescript +interface Sleeve +``` + +## Methods + +| Method | Description | +| --- | --- | +| [getInformation(sleeveNumber)](./bitburner.sleeve.getinformation.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return a struct containing tons of information about this sleeve | +| [getNumSleeves()](./bitburner.sleeve.getnumsleeves.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return the number of duplicate sleeves the player has. | +| [getSleeveAugmentations(sleeveNumber)](./bitburner.sleeve.getsleeveaugmentations.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return a list of augmentation names that this sleeve has installed. | +| [getSleevePurchasableAugs(sleeveNumber)](./bitburner.sleeve.getsleevepurchasableaugs.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return a list of augmentations that the player can buy for this sleeve. | +| [getSleeveStats(sleeveNumber)](./bitburner.sleeve.getsleevestats.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return a structure containing the stats of the sleeve. | +| [getTask(sleeveNumber)](./bitburner.sleeve.gettask.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return the current task that the sleeve is performing. type is set to “Idle” if the sleeve isn’t doing anything. | +| [purchaseSleeveAug(sleeveNumber, augName)](./bitburner.sleeve.purchasesleeveaug.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return true if the aug was purchased and installed on the sleeve. | +| [setToCommitCrime(sleeveNumber, name)](./bitburner.sleeve.settocommitcrime.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return a boolean indicating whether or not this action was set successfully.Returns false if an invalid action is specified. | +| [setToCompanyWork(sleeveNumber, companyName)](./bitburner.sleeve.settocompanywork.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return a boolean indicating whether or not the sleeve started working or this company. | +| [setToFactionWork(sleeveNumber, factionName, factionWorkType)](./bitburner.sleeve.settofactionwork.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return a boolean indicating whether or not the sleeve started working or this faction. | +| [setToGymWorkout(sleeveNumber, gymName, stat)](./bitburner.sleeve.settogymworkout.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return a boolean indicating whether or not the sleeve started working out. | +| [setToShockRecovery(sleeveNumber)](./bitburner.sleeve.settoshockrecovery.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return a boolean indicating whether or not this action was set successfully. | +| [setToSynchronize(sleeveNumber)](./bitburner.sleeve.settosynchronize.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return a boolean indicating whether or not this action was set successfully. | +| [setToUniversityCourse(sleeveNumber, university, className)](./bitburner.sleeve.settouniversitycourse.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return a boolean indicating whether or not this action was set successfully. | +| [travel(sleeveNumber, cityName)](./bitburner.sleeve.travel.md) | If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.Return a boolean indicating whether or not the sleeve reached destination. | + diff --git a/markdown/bitburner.sleeve.purchasesleeveaug.md b/markdown/bitburner.sleeve.purchasesleeveaug.md new file mode 100644 index 000000000..57e17f630 --- /dev/null +++ b/markdown/bitburner.sleeve.purchasesleeveaug.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [purchaseSleeveAug](./bitburner.sleeve.purchasesleeveaug.md) + +## Sleeve.purchaseSleeveAug() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return true if the aug was purchased and installed on the sleeve. + +Signature: + +```typescript +purchaseSleeveAug(sleeveNumber: number, augName: AugmentName): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to buy an aug for. | +| augName | [AugmentName](./bitburner.augmentname.md) | Name of the aug to buy. Must be an exact match. | + +Returns: + +boolean + +True if the aug was purchased and installed on the sleeve, false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.settocommitcrime.md b/markdown/bitburner.sleeve.settocommitcrime.md new file mode 100644 index 000000000..849c1455a --- /dev/null +++ b/markdown/bitburner.sleeve.settocommitcrime.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [setToCommitCrime](./bitburner.sleeve.settocommitcrime.md) + +## Sleeve.setToCommitCrime() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return a boolean indicating whether or not this action was set successfully. + +Returns false if an invalid action is specified. + +Signature: + +```typescript +setToCommitCrime(sleeveNumber: number, name: Crime): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to start commiting crime. | +| name | [Crime](./bitburner.crime.md) | Name of the crime. Must be an exact match. | + +Returns: + +boolean + +True if this action was set successfully, false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.settocompanywork.md b/markdown/bitburner.sleeve.settocompanywork.md new file mode 100644 index 000000000..6a3057a68 --- /dev/null +++ b/markdown/bitburner.sleeve.settocompanywork.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [setToCompanyWork](./bitburner.sleeve.settocompanywork.md) + +## Sleeve.setToCompanyWork() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return a boolean indicating whether or not the sleeve started working or this company. + +Signature: + +```typescript +setToCompanyWork(sleeveNumber: number, companyName: CompanyName): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to work for the company. | +| companyName | [CompanyName](./bitburner.companyname.md) | Name of the company to work for. | + +Returns: + +boolean + +True if the sleeve started working on this company, false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.settofactionwork.md b/markdown/bitburner.sleeve.settofactionwork.md new file mode 100644 index 000000000..cd5e45314 --- /dev/null +++ b/markdown/bitburner.sleeve.settofactionwork.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [setToFactionWork](./bitburner.sleeve.settofactionwork.md) + +## Sleeve.setToFactionWork() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return a boolean indicating whether or not the sleeve started working or this faction. + +Signature: + +```typescript +setToFactionWork(sleeveNumber: number, factionName: FactionName, factionWorkType: FactionWork): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to work for the faction. | +| factionName | [FactionName](./bitburner.factionname.md) | Name of the faction to work for. | +| factionWorkType | [FactionWork](./bitburner.factionwork.md) | Name of the action to perform for this faction. | + +Returns: + +boolean + +True if the sleeve started working on this faction, false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.settogymworkout.md b/markdown/bitburner.sleeve.settogymworkout.md new file mode 100644 index 000000000..11f45058d --- /dev/null +++ b/markdown/bitburner.sleeve.settogymworkout.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [setToGymWorkout](./bitburner.sleeve.settogymworkout.md) + +## Sleeve.setToGymWorkout() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return a boolean indicating whether or not the sleeve started working out. + +Signature: + +```typescript +setToGymWorkout(sleeveNumber: number, gymName: Gym, stat: GymStat): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to workout at the gym. | +| gymName | [Gym](./bitburner.gym.md) | Name of the gym. | +| stat | [GymStat](./bitburner.gymstat.md) | Name of the stat to train. | + +Returns: + +boolean + +True if the sleeve started working out, false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.settoshockrecovery.md b/markdown/bitburner.sleeve.settoshockrecovery.md new file mode 100644 index 000000000..fdb5b0b99 --- /dev/null +++ b/markdown/bitburner.sleeve.settoshockrecovery.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [setToShockRecovery](./bitburner.sleeve.settoshockrecovery.md) + +## Sleeve.setToShockRecovery() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return a boolean indicating whether or not this action was set successfully. + +Signature: + +```typescript +setToShockRecovery(sleeveNumber: number): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to start recovery. | + +Returns: + +boolean + +True if this action was set successfully, false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.settosynchronize.md b/markdown/bitburner.sleeve.settosynchronize.md new file mode 100644 index 000000000..1e325a196 --- /dev/null +++ b/markdown/bitburner.sleeve.settosynchronize.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [setToSynchronize](./bitburner.sleeve.settosynchronize.md) + +## Sleeve.setToSynchronize() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return a boolean indicating whether or not this action was set successfully. + +Signature: + +```typescript +setToSynchronize(sleeveNumber: number): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to start synchronizing. | + +Returns: + +boolean + +True if this action was set successfully, false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.settouniversitycourse.md b/markdown/bitburner.sleeve.settouniversitycourse.md new file mode 100644 index 000000000..dfbb39786 --- /dev/null +++ b/markdown/bitburner.sleeve.settouniversitycourse.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [setToUniversityCourse](./bitburner.sleeve.settouniversitycourse.md) + +## Sleeve.setToUniversityCourse() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return a boolean indicating whether or not this action was set successfully. + +Signature: + +```typescript +setToUniversityCourse(sleeveNumber: number, university: University, className: UniversityCourse): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to start taking class. | +| university | [University](./bitburner.university.md) | Name of the university to attend. | +| className | [UniversityCourse](./bitburner.universitycourse.md) | Name of the class to follow. | + +Returns: + +boolean + +True if this action was set successfully, false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeve.travel.md b/markdown/bitburner.sleeve.travel.md new file mode 100644 index 000000000..4b7ecbb8a --- /dev/null +++ b/markdown/bitburner.sleeve.travel.md @@ -0,0 +1,33 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [Sleeve](./bitburner.sleeve.md) > [travel](./bitburner.sleeve.travel.md) + +## Sleeve.travel() method + +If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. + +Return a boolean indicating whether or not the sleeve reached destination. + +Signature: + +```typescript +travel(sleeveNumber: number, cityName: City): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sleeveNumber | number | Index of the sleeve to travel. | +| cityName | [City](./bitburner.city.md) | Name of the destination city. | + +Returns: + +boolean + +True if the sleeve reached destination, false otherwise. + +## Remarks + +4 GB + diff --git a/markdown/bitburner.sleeveinformation.city.md b/markdown/bitburner.sleeveinformation.city.md new file mode 100644 index 000000000..4fecd52db --- /dev/null +++ b/markdown/bitburner.sleeveinformation.city.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) > [city](./bitburner.sleeveinformation.city.md) + +## SleeveInformation.city property + +location of the sleeve + +Signature: + +```typescript +city: City; +``` diff --git a/markdown/bitburner.sleeveinformation.earningsforplayer.md b/markdown/bitburner.sleeveinformation.earningsforplayer.md new file mode 100644 index 000000000..c21471c17 --- /dev/null +++ b/markdown/bitburner.sleeveinformation.earningsforplayer.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) > [earningsForPlayer](./bitburner.sleeveinformation.earningsforplayer.md) + +## SleeveInformation.earningsForPlayer property + +earnings synchronized to the player + +Signature: + +```typescript +earningsForPlayer: SleeveWorkGains; +``` diff --git a/markdown/bitburner.sleeveinformation.earningsforsleeves.md b/markdown/bitburner.sleeveinformation.earningsforsleeves.md new file mode 100644 index 000000000..5fbb35ae1 --- /dev/null +++ b/markdown/bitburner.sleeveinformation.earningsforsleeves.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) > [earningsForSleeves](./bitburner.sleeveinformation.earningsforsleeves.md) + +## SleeveInformation.earningsForSleeves property + +earnings synchronized to other sleeves + +Signature: + +```typescript +earningsForSleeves: SleeveWorkGains; +``` diff --git a/markdown/bitburner.sleeveinformation.earningsfortask.md b/markdown/bitburner.sleeveinformation.earningsfortask.md new file mode 100644 index 000000000..cf35cd51f --- /dev/null +++ b/markdown/bitburner.sleeveinformation.earningsfortask.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) > [earningsForTask](./bitburner.sleeveinformation.earningsfortask.md) + +## SleeveInformation.earningsForTask property + +earnings for this sleeve + +Signature: + +```typescript +earningsForTask: SleeveWorkGains; +``` diff --git a/markdown/bitburner.sleeveinformation.hp.md b/markdown/bitburner.sleeveinformation.hp.md new file mode 100644 index 000000000..7e6703964 --- /dev/null +++ b/markdown/bitburner.sleeveinformation.hp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) > [hp](./bitburner.sleeveinformation.hp.md) + +## SleeveInformation.hp property + +current hp of the sleeve + +Signature: + +```typescript +hp: number; +``` diff --git a/markdown/bitburner.sleeveinformation.jobs.md b/markdown/bitburner.sleeveinformation.jobs.md new file mode 100644 index 000000000..3619099e6 --- /dev/null +++ b/markdown/bitburner.sleeveinformation.jobs.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) > [jobs](./bitburner.sleeveinformation.jobs.md) + +## SleeveInformation.jobs property + +jobs available to the sleeve + +Signature: + +```typescript +jobs: string[]; +``` diff --git a/markdown/bitburner.sleeveinformation.jobtitle.md b/markdown/bitburner.sleeveinformation.jobtitle.md new file mode 100644 index 000000000..d97fdfc77 --- /dev/null +++ b/markdown/bitburner.sleeveinformation.jobtitle.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) > [jobTitle](./bitburner.sleeveinformation.jobtitle.md) + +## SleeveInformation.jobTitle property + +job titles available to the sleeve + +Signature: + +```typescript +jobTitle: CompanyField[]; +``` diff --git a/markdown/bitburner.sleeveinformation.maxhp.md b/markdown/bitburner.sleeveinformation.maxhp.md new file mode 100644 index 000000000..66fee3209 --- /dev/null +++ b/markdown/bitburner.sleeveinformation.maxhp.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) > [maxHp](./bitburner.sleeveinformation.maxhp.md) + +## SleeveInformation.maxHp property + +max hp of the sleeve + +Signature: + +```typescript +maxHp: number; +``` diff --git a/markdown/bitburner.sleeveinformation.md b/markdown/bitburner.sleeveinformation.md new file mode 100644 index 000000000..b08294068 --- /dev/null +++ b/markdown/bitburner.sleeveinformation.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) + +## SleeveInformation interface + + +Signature: + +```typescript +interface SleeveInformation +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [city](./bitburner.sleeveinformation.city.md) | [City](./bitburner.city.md) | location of the sleeve | +| [earningsForPlayer](./bitburner.sleeveinformation.earningsforplayer.md) | [SleeveWorkGains](./bitburner.sleeveworkgains.md) | earnings synchronized to the player | +| [earningsForSleeves](./bitburner.sleeveinformation.earningsforsleeves.md) | [SleeveWorkGains](./bitburner.sleeveworkgains.md) | earnings synchronized to other sleeves | +| [earningsForTask](./bitburner.sleeveinformation.earningsfortask.md) | [SleeveWorkGains](./bitburner.sleeveworkgains.md) | earnings for this sleeve | +| [hp](./bitburner.sleeveinformation.hp.md) | number | current hp of the sleeve | +| [jobs](./bitburner.sleeveinformation.jobs.md) | string\[\] | jobs available to the sleeve | +| [jobTitle](./bitburner.sleeveinformation.jobtitle.md) | [CompanyField](./bitburner.companyfield.md)\[\] | job titles available to the sleeve | +| [maxHp](./bitburner.sleeveinformation.maxhp.md) | number | max hp of the sleeve | +| [mult](./bitburner.sleeveinformation.mult.md) | [CharacterMult](./bitburner.charactermult.md) | sleeve multipliers | +| [timeWorked](./bitburner.sleeveinformation.timeworked.md) | number | time spent on the current task in milliseconds | +| [tor](./bitburner.sleeveinformation.tor.md) | boolean | does this sleeve have access to the tor router | +| [workRepGain](./bitburner.sleeveinformation.workrepgain.md) | number | faction or company reputation gained for the current task | + diff --git a/markdown/bitburner.sleeveinformation.mult.md b/markdown/bitburner.sleeveinformation.mult.md new file mode 100644 index 000000000..1f8fa2c68 --- /dev/null +++ b/markdown/bitburner.sleeveinformation.mult.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) > [mult](./bitburner.sleeveinformation.mult.md) + +## SleeveInformation.mult property + +sleeve multipliers + +Signature: + +```typescript +mult: CharacterMult; +``` diff --git a/markdown/bitburner.sleeveinformation.timeworked.md b/markdown/bitburner.sleeveinformation.timeworked.md new file mode 100644 index 000000000..0d723af85 --- /dev/null +++ b/markdown/bitburner.sleeveinformation.timeworked.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) > [timeWorked](./bitburner.sleeveinformation.timeworked.md) + +## SleeveInformation.timeWorked property + +time spent on the current task in milliseconds + +Signature: + +```typescript +timeWorked: number; +``` diff --git a/markdown/bitburner.sleeveinformation.tor.md b/markdown/bitburner.sleeveinformation.tor.md new file mode 100644 index 000000000..56fcb54ef --- /dev/null +++ b/markdown/bitburner.sleeveinformation.tor.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) > [tor](./bitburner.sleeveinformation.tor.md) + +## SleeveInformation.tor property + +does this sleeve have access to the tor router + +Signature: + +```typescript +tor: boolean; +``` diff --git a/markdown/bitburner.sleeveinformation.workrepgain.md b/markdown/bitburner.sleeveinformation.workrepgain.md new file mode 100644 index 000000000..c3bc973dd --- /dev/null +++ b/markdown/bitburner.sleeveinformation.workrepgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveInformation](./bitburner.sleeveinformation.md) > [workRepGain](./bitburner.sleeveinformation.workrepgain.md) + +## SleeveInformation.workRepGain property + +faction or company reputation gained for the current task + +Signature: + +```typescript +workRepGain: number; +``` diff --git a/markdown/bitburner.sleevestats.agility.md b/markdown/bitburner.sleevestats.agility.md new file mode 100644 index 000000000..787cb8bad --- /dev/null +++ b/markdown/bitburner.sleevestats.agility.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveStats](./bitburner.sleevestats.md) > [agility](./bitburner.sleevestats.agility.md) + +## SleeveStats.agility property + +current agility of the sleeve + +Signature: + +```typescript +agility: number; +``` diff --git a/markdown/bitburner.sleevestats.charisma.md b/markdown/bitburner.sleevestats.charisma.md new file mode 100644 index 000000000..19f681d6f --- /dev/null +++ b/markdown/bitburner.sleevestats.charisma.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveStats](./bitburner.sleevestats.md) > [charisma](./bitburner.sleevestats.charisma.md) + +## SleeveStats.charisma property + +current charisma of the sleeve + +Signature: + +```typescript +charisma: number; +``` diff --git a/markdown/bitburner.sleevestats.defense.md b/markdown/bitburner.sleevestats.defense.md new file mode 100644 index 000000000..ad09b5191 --- /dev/null +++ b/markdown/bitburner.sleevestats.defense.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveStats](./bitburner.sleevestats.md) > [defense](./bitburner.sleevestats.defense.md) + +## SleeveStats.defense property + +current defense of the sleeve + +Signature: + +```typescript +defense: number; +``` diff --git a/markdown/bitburner.sleevestats.dexterity.md b/markdown/bitburner.sleevestats.dexterity.md new file mode 100644 index 000000000..9aec90821 --- /dev/null +++ b/markdown/bitburner.sleevestats.dexterity.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveStats](./bitburner.sleevestats.md) > [dexterity](./bitburner.sleevestats.dexterity.md) + +## SleeveStats.dexterity property + +current dexterity of the sleeve + +Signature: + +```typescript +dexterity: number; +``` diff --git a/markdown/bitburner.sleevestats.hacking_skill.md b/markdown/bitburner.sleevestats.hacking_skill.md new file mode 100644 index 000000000..50238cf43 --- /dev/null +++ b/markdown/bitburner.sleevestats.hacking_skill.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveStats](./bitburner.sleevestats.md) > [hacking\_skill](./bitburner.sleevestats.hacking_skill.md) + +## SleeveStats.hacking\_skill property + +current hacking skill of the sleeve + +Signature: + +```typescript +hacking_skill: number; +``` diff --git a/markdown/bitburner.sleevestats.md b/markdown/bitburner.sleevestats.md new file mode 100644 index 000000000..a7bd6ec7b --- /dev/null +++ b/markdown/bitburner.sleevestats.md @@ -0,0 +1,26 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveStats](./bitburner.sleevestats.md) + +## SleeveStats interface + + +Signature: + +```typescript +interface SleeveStats +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [agility](./bitburner.sleevestats.agility.md) | number | current agility of the sleeve | +| [charisma](./bitburner.sleevestats.charisma.md) | number | current charisma of the sleeve | +| [defense](./bitburner.sleevestats.defense.md) | number | current defense of the sleeve | +| [dexterity](./bitburner.sleevestats.dexterity.md) | number | current dexterity of the sleeve | +| [hacking\_skill](./bitburner.sleevestats.hacking_skill.md) | number | current hacking skill of the sleeve | +| [shock](./bitburner.sleevestats.shock.md) | \| 0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 11 \| 12 \| 13 \| 14 \| 15 \| 16 \| 17 \| 18 \| 19 \| 20 \| 21 \| 22 \| 23 \| 24 \| 25 \| 26 \| 27 \| 28 \| 29 \| 30 \| 31 \| 32 \| 33 \| 34 \| 35 \| 36 \| 37 \| 38 \| 39 \| 40 \| 41 \| 42 \| 43 \| 44 \| 45 \| 46 \| 47 \| 48 \| 49 \| 50 \| 51 \| 52 \| 53 \| 54 \| 55 \| 56 \| 57 \| 58 \| 59 \| 60 \| 61 \| 62 \| 63 \| 64 \| 65 \| 66 \| 67 \| 68 \| 69 \| 70 \| 71 \| 72 \| 73 \| 74 \| 75 \| 76 \| 77 \| 78 \| 79 \| 80 \| 81 \| 82 \| 83 \| 84 \| 85 \| 86 \| 87 \| 88 \| 89 \| 90 \| 91 \| 92 \| 93 \| 94 \| 95 \| 96 \| 97 \| 98 \| 99 \| 100 | current shock of the sleeve \[0-100\] | +| [strength](./bitburner.sleevestats.strength.md) | number | current strength of the sleeve | +| [sync](./bitburner.sleevestats.sync.md) | \| 0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 11 \| 12 \| 13 \| 14 \| 15 \| 16 \| 17 \| 18 \| 19 \| 20 \| 21 \| 22 \| 23 \| 24 \| 25 \| 26 \| 27 \| 28 \| 29 \| 30 \| 31 \| 32 \| 33 \| 34 \| 35 \| 36 \| 37 \| 38 \| 39 \| 40 \| 41 \| 42 \| 43 \| 44 \| 45 \| 46 \| 47 \| 48 \| 49 \| 50 \| 51 \| 52 \| 53 \| 54 \| 55 \| 56 \| 57 \| 58 \| 59 \| 60 \| 61 \| 62 \| 63 \| 64 \| 65 \| 66 \| 67 \| 68 \| 69 \| 70 \| 71 \| 72 \| 73 \| 74 \| 75 \| 76 \| 77 \| 78 \| 79 \| 80 \| 81 \| 82 \| 83 \| 84 \| 85 \| 86 \| 87 \| 88 \| 89 \| 90 \| 91 \| 92 \| 93 \| 94 \| 95 \| 96 \| 97 \| 98 \| 99 \| 100 | current sync of the sleeve \[0-100\] | + diff --git a/markdown/bitburner.sleevestats.shock.md b/markdown/bitburner.sleevestats.shock.md new file mode 100644 index 000000000..da035fd69 --- /dev/null +++ b/markdown/bitburner.sleevestats.shock.md @@ -0,0 +1,114 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveStats](./bitburner.sleevestats.md) > [shock](./bitburner.sleevestats.shock.md) + +## SleeveStats.shock property + +current shock of the sleeve \[0-100\] + +Signature: + +```typescript +shock: + | 0 + | 1 + | 2 + | 3 + | 4 + | 5 + | 6 + | 7 + | 8 + | 9 + | 10 + | 11 + | 12 + | 13 + | 14 + | 15 + | 16 + | 17 + | 18 + | 19 + | 20 + | 21 + | 22 + | 23 + | 24 + | 25 + | 26 + | 27 + | 28 + | 29 + | 30 + | 31 + | 32 + | 33 + | 34 + | 35 + | 36 + | 37 + | 38 + | 39 + | 40 + | 41 + | 42 + | 43 + | 44 + | 45 + | 46 + | 47 + | 48 + | 49 + | 50 + | 51 + | 52 + | 53 + | 54 + | 55 + | 56 + | 57 + | 58 + | 59 + | 60 + | 61 + | 62 + | 63 + | 64 + | 65 + | 66 + | 67 + | 68 + | 69 + | 70 + | 71 + | 72 + | 73 + | 74 + | 75 + | 76 + | 77 + | 78 + | 79 + | 80 + | 81 + | 82 + | 83 + | 84 + | 85 + | 86 + | 87 + | 88 + | 89 + | 90 + | 91 + | 92 + | 93 + | 94 + | 95 + | 96 + | 97 + | 98 + | 99 + | 100; +``` diff --git a/markdown/bitburner.sleevestats.strength.md b/markdown/bitburner.sleevestats.strength.md new file mode 100644 index 000000000..4d5ce6fe1 --- /dev/null +++ b/markdown/bitburner.sleevestats.strength.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveStats](./bitburner.sleevestats.md) > [strength](./bitburner.sleevestats.strength.md) + +## SleeveStats.strength property + +current strength of the sleeve + +Signature: + +```typescript +strength: number; +``` diff --git a/markdown/bitburner.sleevestats.sync.md b/markdown/bitburner.sleevestats.sync.md new file mode 100644 index 000000000..d536419e5 --- /dev/null +++ b/markdown/bitburner.sleevestats.sync.md @@ -0,0 +1,114 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveStats](./bitburner.sleevestats.md) > [sync](./bitburner.sleevestats.sync.md) + +## SleeveStats.sync property + +current sync of the sleeve \[0-100\] + +Signature: + +```typescript +sync: + | 0 + | 1 + | 2 + | 3 + | 4 + | 5 + | 6 + | 7 + | 8 + | 9 + | 10 + | 11 + | 12 + | 13 + | 14 + | 15 + | 16 + | 17 + | 18 + | 19 + | 20 + | 21 + | 22 + | 23 + | 24 + | 25 + | 26 + | 27 + | 28 + | 29 + | 30 + | 31 + | 32 + | 33 + | 34 + | 35 + | 36 + | 37 + | 38 + | 39 + | 40 + | 41 + | 42 + | 43 + | 44 + | 45 + | 46 + | 47 + | 48 + | 49 + | 50 + | 51 + | 52 + | 53 + | 54 + | 55 + | 56 + | 57 + | 58 + | 59 + | 60 + | 61 + | 62 + | 63 + | 64 + | 65 + | 66 + | 67 + | 68 + | 69 + | 70 + | 71 + | 72 + | 73 + | 74 + | 75 + | 76 + | 77 + | 78 + | 79 + | 80 + | 81 + | 82 + | 83 + | 84 + | 85 + | 86 + | 87 + | 88 + | 89 + | 90 + | 91 + | 92 + | 93 + | 94 + | 95 + | 96 + | 97 + | 98 + | 99 + | 100; +``` diff --git a/markdown/bitburner.sleevetask.crime.md b/markdown/bitburner.sleevetask.crime.md new file mode 100644 index 000000000..e5ed9ce17 --- /dev/null +++ b/markdown/bitburner.sleevetask.crime.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveTask](./bitburner.sleevetask.md) > [crime](./bitburner.sleevetask.crime.md) + +## SleeveTask.crime property + +crime currently attempting, if any + +Signature: + +```typescript +crime: Crime | ""; +``` diff --git a/markdown/bitburner.sleevetask.factionworktype.md b/markdown/bitburner.sleevetask.factionworktype.md new file mode 100644 index 000000000..e643e96a3 --- /dev/null +++ b/markdown/bitburner.sleevetask.factionworktype.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveTask](./bitburner.sleevetask.md) > [factionWorkType](./bitburner.sleevetask.factionworktype.md) + +## SleeveTask.factionWorkType property + +faction work type being performed, if any + +Signature: + +```typescript +factionWorkType: FactionWork | ""; +``` diff --git a/markdown/bitburner.sleevetask.gymstattype.md b/markdown/bitburner.sleevetask.gymstattype.md new file mode 100644 index 000000000..c7fb7612f --- /dev/null +++ b/markdown/bitburner.sleevetask.gymstattype.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveTask](./bitburner.sleevetask.md) > [gymStatType](./bitburner.sleevetask.gymstattype.md) + +## SleeveTask.gymStatType property + +stat being trained at the gym, if any + +Signature: + +```typescript +gymStatType: GymStat | ""; +``` diff --git a/markdown/bitburner.sleevetask.location.md b/markdown/bitburner.sleevetask.location.md new file mode 100644 index 000000000..6aa91a33a --- /dev/null +++ b/markdown/bitburner.sleevetask.location.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveTask](./bitburner.sleevetask.md) > [location](./bitburner.sleevetask.location.md) + +## SleeveTask.location property + +location of the task, if any + +Signature: + +```typescript +location: City | ""; +``` diff --git a/markdown/bitburner.sleevetask.md b/markdown/bitburner.sleevetask.md new file mode 100644 index 000000000..1ada3a188 --- /dev/null +++ b/markdown/bitburner.sleevetask.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveTask](./bitburner.sleevetask.md) + +## SleeveTask interface + + +Signature: + +```typescript +interface SleeveTask +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [crime](./bitburner.sleevetask.crime.md) | [Crime](./bitburner.crime.md) \| "" | crime currently attempting, if any | +| [factionWorkType](./bitburner.sleevetask.factionworktype.md) | [FactionWork](./bitburner.factionwork.md) \| "" | faction work type being performed, if any | +| [gymStatType](./bitburner.sleevetask.gymstattype.md) | [GymStat](./bitburner.gymstat.md) \| "" | stat being trained at the gym, if any | +| [location](./bitburner.sleevetask.location.md) | [City](./bitburner.city.md) \| "" | location of the task, if any | +| [task](./bitburner.sleevetask.task.md) | string | task type | + diff --git a/markdown/bitburner.sleevetask.task.md b/markdown/bitburner.sleevetask.task.md new file mode 100644 index 000000000..25570a5d5 --- /dev/null +++ b/markdown/bitburner.sleevetask.task.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveTask](./bitburner.sleevetask.md) > [task](./bitburner.sleevetask.task.md) + +## SleeveTask.task property + +task type + +Signature: + +```typescript +task: string; +``` diff --git a/markdown/bitburner.sleeveworkgains.md b/markdown/bitburner.sleeveworkgains.md new file mode 100644 index 000000000..80df4a1b9 --- /dev/null +++ b/markdown/bitburner.sleeveworkgains.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveWorkGains](./bitburner.sleeveworkgains.md) + +## SleeveWorkGains interface + + +Signature: + +```typescript +interface SleeveWorkGains +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [workAgiExpGain](./bitburner.sleeveworkgains.workagiexpgain.md) | number | agility exp gained from work | +| [workChaExpGain](./bitburner.sleeveworkgains.workchaexpgain.md) | number | charisma exp gained from work | +| [workDefExpGain](./bitburner.sleeveworkgains.workdefexpgain.md) | number | defense exp gained from work, | +| [workDexExpGain](./bitburner.sleeveworkgains.workdexexpgain.md) | number | dexterity exp gained from work | +| [workHackExpGain](./bitburner.sleeveworkgains.workhackexpgain.md) | number | hacking exp gained from work | +| [workMoneyGain](./bitburner.sleeveworkgains.workmoneygain.md) | number | money gained from work | +| [workStrExpGain](./bitburner.sleeveworkgains.workstrexpgain.md) | number | strength exp gained from work | + diff --git a/markdown/bitburner.sleeveworkgains.workagiexpgain.md b/markdown/bitburner.sleeveworkgains.workagiexpgain.md new file mode 100644 index 000000000..94ef15e1f --- /dev/null +++ b/markdown/bitburner.sleeveworkgains.workagiexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveWorkGains](./bitburner.sleeveworkgains.md) > [workAgiExpGain](./bitburner.sleeveworkgains.workagiexpgain.md) + +## SleeveWorkGains.workAgiExpGain property + +agility exp gained from work + +Signature: + +```typescript +workAgiExpGain: number; +``` diff --git a/markdown/bitburner.sleeveworkgains.workchaexpgain.md b/markdown/bitburner.sleeveworkgains.workchaexpgain.md new file mode 100644 index 000000000..8a973c5b7 --- /dev/null +++ b/markdown/bitburner.sleeveworkgains.workchaexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveWorkGains](./bitburner.sleeveworkgains.md) > [workChaExpGain](./bitburner.sleeveworkgains.workchaexpgain.md) + +## SleeveWorkGains.workChaExpGain property + +charisma exp gained from work + +Signature: + +```typescript +workChaExpGain: number; +``` diff --git a/markdown/bitburner.sleeveworkgains.workdefexpgain.md b/markdown/bitburner.sleeveworkgains.workdefexpgain.md new file mode 100644 index 000000000..c116a88f6 --- /dev/null +++ b/markdown/bitburner.sleeveworkgains.workdefexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveWorkGains](./bitburner.sleeveworkgains.md) > [workDefExpGain](./bitburner.sleeveworkgains.workdefexpgain.md) + +## SleeveWorkGains.workDefExpGain property + +defense exp gained from work, + +Signature: + +```typescript +workDefExpGain: number; +``` diff --git a/markdown/bitburner.sleeveworkgains.workdexexpgain.md b/markdown/bitburner.sleeveworkgains.workdexexpgain.md new file mode 100644 index 000000000..2f61c9c4e --- /dev/null +++ b/markdown/bitburner.sleeveworkgains.workdexexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveWorkGains](./bitburner.sleeveworkgains.md) > [workDexExpGain](./bitburner.sleeveworkgains.workdexexpgain.md) + +## SleeveWorkGains.workDexExpGain property + +dexterity exp gained from work + +Signature: + +```typescript +workDexExpGain: number; +``` diff --git a/markdown/bitburner.sleeveworkgains.workhackexpgain.md b/markdown/bitburner.sleeveworkgains.workhackexpgain.md new file mode 100644 index 000000000..92a88a4f1 --- /dev/null +++ b/markdown/bitburner.sleeveworkgains.workhackexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveWorkGains](./bitburner.sleeveworkgains.md) > [workHackExpGain](./bitburner.sleeveworkgains.workhackexpgain.md) + +## SleeveWorkGains.workHackExpGain property + +hacking exp gained from work + +Signature: + +```typescript +workHackExpGain: number; +``` diff --git a/markdown/bitburner.sleeveworkgains.workmoneygain.md b/markdown/bitburner.sleeveworkgains.workmoneygain.md new file mode 100644 index 000000000..265560067 --- /dev/null +++ b/markdown/bitburner.sleeveworkgains.workmoneygain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveWorkGains](./bitburner.sleeveworkgains.md) > [workMoneyGain](./bitburner.sleeveworkgains.workmoneygain.md) + +## SleeveWorkGains.workMoneyGain property + +money gained from work + +Signature: + +```typescript +workMoneyGain: number; +``` diff --git a/markdown/bitburner.sleeveworkgains.workstrexpgain.md b/markdown/bitburner.sleeveworkgains.workstrexpgain.md new file mode 100644 index 000000000..760528cc4 --- /dev/null +++ b/markdown/bitburner.sleeveworkgains.workstrexpgain.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SleeveWorkGains](./bitburner.sleeveworkgains.md) > [workStrExpGain](./bitburner.sleeveworkgains.workstrexpgain.md) + +## SleeveWorkGains.workStrExpGain property + +strength exp gained from work + +Signature: + +```typescript +workStrExpGain: number; +``` diff --git a/markdown/bitburner.sourcefilelvl.lvl.md b/markdown/bitburner.sourcefilelvl.lvl.md new file mode 100644 index 000000000..067dd01ce --- /dev/null +++ b/markdown/bitburner.sourcefilelvl.lvl.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SourceFileLvl](./bitburner.sourcefilelvl.md) > [lvl](./bitburner.sourcefilelvl.lvl.md) + +## SourceFileLvl.lvl property + +The level of the source file + +Signature: + +```typescript +lvl: number; +``` diff --git a/markdown/bitburner.sourcefilelvl.md b/markdown/bitburner.sourcefilelvl.md new file mode 100644 index 000000000..df0a1b51d --- /dev/null +++ b/markdown/bitburner.sourcefilelvl.md @@ -0,0 +1,20 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SourceFileLvl](./bitburner.sourcefilelvl.md) + +## SourceFileLvl interface + + +Signature: + +```typescript +interface SourceFileLvl +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [lvl](./bitburner.sourcefilelvl.lvl.md) | number | The level of the source file | +| [n](./bitburner.sourcefilelvl.n.md) | 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 11 \| 12 | The number of the source file | + diff --git a/markdown/bitburner.sourcefilelvl.n.md b/markdown/bitburner.sourcefilelvl.n.md new file mode 100644 index 000000000..c42971a0b --- /dev/null +++ b/markdown/bitburner.sourcefilelvl.n.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [SourceFileLvl](./bitburner.sourcefilelvl.md) > [n](./bitburner.sourcefilelvl.n.md) + +## SourceFileLvl.n property + +The number of the source file + +Signature: + +```typescript +n: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; +``` diff --git a/markdown/bitburner.stockorder.md b/markdown/bitburner.stockorder.md new file mode 100644 index 000000000..9d2e087d6 --- /dev/null +++ b/markdown/bitburner.stockorder.md @@ -0,0 +1,16 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [StockOrder](./bitburner.stockorder.md) + +## StockOrder type + +Signature: + +```typescript +type StockOrder = { + /** Stock Symbol */ + [key in StockSymbol]?: StockOrderObject[]; +}; +``` +References: [StockSymbol](./bitburner.stocksymbol.md), [StockOrderObject](./bitburner.stockorderobject.md) + diff --git a/markdown/bitburner.stockorderobject.md b/markdown/bitburner.stockorderobject.md new file mode 100644 index 000000000..2ce6dd021 --- /dev/null +++ b/markdown/bitburner.stockorderobject.md @@ -0,0 +1,22 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [StockOrderObject](./bitburner.stockorderobject.md) + +## StockOrderObject interface + + +Signature: + +```typescript +interface StockOrderObject +``` + +## Properties + +| Property | Type | Description | +| --- | --- | --- | +| [position](./bitburner.stockorderobject.position.md) | "S" \| "L" | Order position | +| [price](./bitburner.stockorderobject.price.md) | number | Price per share | +| [shares](./bitburner.stockorderobject.shares.md) | number | Number of shares | +| [type](./bitburner.stockorderobject.type.md) | "Limit Buy Order" \| "Limit Sell Order" \| "Stop Buy Order" \| "Stop Buy Order" | Order type | + diff --git a/markdown/bitburner.stockorderobject.position.md b/markdown/bitburner.stockorderobject.position.md new file mode 100644 index 000000000..0f10d9d39 --- /dev/null +++ b/markdown/bitburner.stockorderobject.position.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [StockOrderObject](./bitburner.stockorderobject.md) > [position](./bitburner.stockorderobject.position.md) + +## StockOrderObject.position property + +Order position + +Signature: + +```typescript +position: "S" | "L"; +``` diff --git a/markdown/bitburner.stockorderobject.price.md b/markdown/bitburner.stockorderobject.price.md new file mode 100644 index 000000000..8c96a4820 --- /dev/null +++ b/markdown/bitburner.stockorderobject.price.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [StockOrderObject](./bitburner.stockorderobject.md) > [price](./bitburner.stockorderobject.price.md) + +## StockOrderObject.price property + +Price per share + +Signature: + +```typescript +price: number; +``` diff --git a/markdown/bitburner.stockorderobject.shares.md b/markdown/bitburner.stockorderobject.shares.md new file mode 100644 index 000000000..6553ff33c --- /dev/null +++ b/markdown/bitburner.stockorderobject.shares.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [StockOrderObject](./bitburner.stockorderobject.md) > [shares](./bitburner.stockorderobject.shares.md) + +## StockOrderObject.shares property + +Number of shares + +Signature: + +```typescript +shares: number; +``` diff --git a/markdown/bitburner.stockorderobject.type.md b/markdown/bitburner.stockorderobject.type.md new file mode 100644 index 000000000..e7acd7490 --- /dev/null +++ b/markdown/bitburner.stockorderobject.type.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [StockOrderObject](./bitburner.stockorderobject.md) > [type](./bitburner.stockorderobject.type.md) + +## StockOrderObject.type property + +Order type + +Signature: + +```typescript +type: "Limit Buy Order" | "Limit Sell Order" | "Stop Buy Order" | "Stop Buy Order"; +``` diff --git a/markdown/bitburner.stocksymbol.md b/markdown/bitburner.stocksymbol.md new file mode 100644 index 000000000..a4d48662e --- /dev/null +++ b/markdown/bitburner.stocksymbol.md @@ -0,0 +1,44 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [StockSymbol](./bitburner.stocksymbol.md) + +## StockSymbol type + +Signature: + +```typescript +type StockSymbol = + | "ECP" + | "MGCP" + | "BLD" + | "CLRK" + | "OMTK" + | "FSIG" + | "KGI" + | "FLCM" + | "STM" + | "DCOMM" + | "HLS" + | "VITA" + | "ICRS" + | "UNV" + | "AERO" + | "OMN" + | "SLRS" + | "GPH" + | "NVMD" + | "WDS" + | "LXO" + | "RHOC" + | "APHE" + | "SYSC" + | "CTK" + | "NTLK" + | "OMGA" + | "FNS" + | "SGC" + | "JGN" + | "CTYS" + | "MDYN" + | "TITN"; +``` diff --git a/markdown/bitburner.tix.buy.md b/markdown/bitburner.tix.buy.md new file mode 100644 index 000000000..e94536a22 --- /dev/null +++ b/markdown/bitburner.tix.buy.md @@ -0,0 +1,35 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [buy](./bitburner.tix.buy.md) + +## TIX.buy() method + +Attempts to purchase shares of a stock using a Market Order. + +If the player does not have enough money to purchase the specified number of shares, then no shares will be purchased. Remember that every transaction on the stock exchange costs a certain commission fee. + +If this function successfully purchases the shares, it will return the stock price at which each share was purchased. Otherwise, it will return 0. + +Signature: + +```typescript +buy(sym: StockSymbol, shares: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | +| shares | number | Number of shares to purchased. Must be positive. Will be rounded to nearest integer. | + +Returns: + +number + +The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased. + +## Remarks + +2.5 GB + diff --git a/markdown/bitburner.tix.cancelorder.md b/markdown/bitburner.tix.cancelorder.md new file mode 100644 index 000000000..98325a2ee --- /dev/null +++ b/markdown/bitburner.tix.cancelorder.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [cancelOrder](./bitburner.tix.cancelorder.md) + +## TIX.cancelOrder() method + +Cancels an oustanding Limit or Stop order on the stock market. + +The ability to use limit and stop orders is \*\*not\*\* immediately available to the player and must be unlocked later on in the game. + +Signature: + +```typescript +cancelOrder(sym: StockSymbol, shares: number, price: number, type: OrderType, pos: OrderPos): void; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | +| shares | number | Number of shares for order. Must be positive. Will be rounded to nearest integer. | +| price | number | Execution price for the order. | +| type | [OrderType](./bitburner.ordertype.md) | Type of order. | +| pos | [OrderPos](./bitburner.orderpos.md) | Specifies whether the order is a “Long” or “Short” position. | + +Returns: + +void + +## Remarks + +2.5 GB + diff --git a/markdown/bitburner.tix.getaskprice.md b/markdown/bitburner.tix.getaskprice.md new file mode 100644 index 000000000..edd070542 --- /dev/null +++ b/markdown/bitburner.tix.getaskprice.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getAskPrice](./bitburner.tix.getaskprice.md) + +## TIX.getAskPrice() method + +Given a stock’s symbol (NOT the company name), returns the ask price of that stock. The symbol is a sequence of two to four capital letters. + +Signature: + +```typescript +getAskPrice(sym: StockSymbol): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | + +Returns: + +number + +The ask price of a stock. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.tix.getbidprice.md b/markdown/bitburner.tix.getbidprice.md new file mode 100644 index 000000000..0328a33ce --- /dev/null +++ b/markdown/bitburner.tix.getbidprice.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getBidPrice](./bitburner.tix.getbidprice.md) + +## TIX.getBidPrice() method + +Given a stock’s symbol (NOT the company name), returns the bid price of that stock. The symbol is a sequence of two to four capital letters. + +Signature: + +```typescript +getBidPrice(sym: StockSymbol): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | + +Returns: + +number + +The bid price of a stock. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.tix.getforecast.md b/markdown/bitburner.tix.getforecast.md new file mode 100644 index 000000000..f912d2988 --- /dev/null +++ b/markdown/bitburner.tix.getforecast.md @@ -0,0 +1,36 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getForecast](./bitburner.tix.getforecast.md) + +## TIX.getForecast() method + +Returns the probability that the specified stock’s price will increase (as opposed to decrease) during the next tick. + +The probability is returned as a decimal value, NOT a percentage (e.g. if a stock has a 60% chance of increasing, then this function will return 0.6, NOT 60). + +In other words, if this function returned 0.30 for a stock, then this means that the stock’s price has a 30% chance of increasing and a 70% chance of decreasing during the next tick. + +In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API. + +Signature: + +```typescript +getForecast(sym: StockSymbol): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | + +Returns: + +number + +Probability that the specified stock’s price will increase (as opposed to decrease) during the next tick. + +## Remarks + +2.5 GB + diff --git a/markdown/bitburner.tix.getmaxshares.md b/markdown/bitburner.tix.getmaxshares.md new file mode 100644 index 000000000..f1bc6c1d6 --- /dev/null +++ b/markdown/bitburner.tix.getmaxshares.md @@ -0,0 +1,30 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getMaxShares](./bitburner.tix.getmaxshares.md) + +## TIX.getMaxShares() method + +Returns the maximum number of shares that the stock has. This is the maximum amount of the stock that can be purchased in both the Long and Short positions combined. + +Signature: + +```typescript +getMaxShares(sym: StockSymbol): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | + +Returns: + +number + +Maximum number of shares that the stock has. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.tix.getorders.md b/markdown/bitburner.tix.getorders.md new file mode 100644 index 000000000..49d305188 --- /dev/null +++ b/markdown/bitburner.tix.getorders.md @@ -0,0 +1,78 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getOrders](./bitburner.tix.getorders.md) + +## TIX.getOrders() method + +Returns your order book for the stock market. + +This is an object containing information for all the Limit and Stop Orders you have in the stock market. The object has the following structure: + +```js +{ + StockSymbol1: [ // Array of orders for this stock + { + shares: Order quantity + price: Order price + type: Order type + position: Either "L" or "S" for Long or Short position + }, + { + ... + }, + ... + ], + StockSymbol2: [ // Array of orders for this stock + ... + ], + ... +} +``` +The “Order type” property can have one of the following four values: \* “Limit Buy Order” \* “Limit Sell Order” \* “Stop Buy Order” \* “Stop Sell Order” Note that the order book will only contain information for stocks that you actually have orders in. + +Signature: + +```typescript +getOrders(): StockOrder; +``` +Returns: + +[StockOrder](./bitburner.stockorder.md) + +Object containing information for all the Limit and Stop Orders you have in the stock market. + +## Remarks + +2.5 GB + +## Example + + +```js +"If you do not have orders in Nova Medical (NVMD), then the returned object will not have a “NVMD” property." +{ + ECP: [ + { + shares: 5, + price: 100,000 + type: "Stop Buy Order", + position: "S", + }, + { + shares: 25, + price: 125,000 + type: "Limit Sell Order", + position: "L", + }, + ], + SYSC: [ + { + shares: 100, + price: 10,000 + type: "Limit Buy Order", + position: "L", + }, + ], +} +``` + diff --git a/markdown/bitburner.tix.getposition.md b/markdown/bitburner.tix.getposition.md new file mode 100644 index 000000000..2901311eb --- /dev/null +++ b/markdown/bitburner.tix.getposition.md @@ -0,0 +1,47 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getPosition](./bitburner.tix.getposition.md) + +## TIX.getPosition() method + +Returns an array of four elements that represents the player’s position in a stock. + +The first element is the returned array is the number of shares the player owns of the stock in the Long position. The second element in the array is the average price of the player’s shares in the Long position. + +The third element in the array is the number of shares the player owns of the stock in the Short position. The fourth element in the array is the average price of the player’s Short position. + +All elements in the returned array are numeric. + +Signature: + +```typescript +getPosition(sym: StockSymbol): [number, number, number, number]; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | + +Returns: + +\[number, number, number, number\] + +Array of four elements that represents the player’s position in a stock. + +## Remarks + +2 GB + +## Example + + +```js +pos = getPosition("ECP"); +shares = pos[0]; +avgPx = pos[1]; +sharesShort = pos[2]; +avgPxShort = pos[3]; +``` + diff --git a/markdown/bitburner.tix.getprice.md b/markdown/bitburner.tix.getprice.md new file mode 100644 index 000000000..5c538f5ce --- /dev/null +++ b/markdown/bitburner.tix.getprice.md @@ -0,0 +1,39 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getPrice](./bitburner.tix.getprice.md) + +## TIX.getPrice() method + +Returns the price of a stock, given its symbol (NOT the company name). The symbol is a sequence of two to four capital letters. + +The stock’s price is the average of its bid and ask price + +Signature: + +```typescript +getPrice(sym: StockSymbol): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | + +Returns: + +number + +The price of a stock. + +## Remarks + +2 GB + +## Example + + +```js +getPrice("FISG"); +``` + diff --git a/markdown/bitburner.tix.getpurchasecost.md b/markdown/bitburner.tix.getpurchasecost.md new file mode 100644 index 000000000..6b55b2cc7 --- /dev/null +++ b/markdown/bitburner.tix.getpurchasecost.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getPurchaseCost](./bitburner.tix.getpurchasecost.md) + +## TIX.getPurchaseCost() method + +Calculates and returns how much it would cost to buy a given number of shares of a stock. This takes into account spread, large transactions influencing the price of the stock and commission fees. + +Signature: + +```typescript +getPurchaseCost(sym: StockSymbol, shares: number, posType: OrderPos): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | +| shares | number | Number of shares to purchase. | +| posType | [OrderPos](./bitburner.orderpos.md) | Specifies whether the order is a “Long” or “Short” position. | + +Returns: + +number + +Cost to buy a given number of shares of a stock. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.tix.getsalegain.md b/markdown/bitburner.tix.getsalegain.md new file mode 100644 index 000000000..92494e5c9 --- /dev/null +++ b/markdown/bitburner.tix.getsalegain.md @@ -0,0 +1,32 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getSaleGain](./bitburner.tix.getsalegain.md) + +## TIX.getSaleGain() method + +Calculates and returns how much you would gain from selling a given number of shares of a stock. This takes into account spread, large transactions influencing the price of the stock and commission fees. + +Signature: + +```typescript +getSaleGain(sym: StockSymbol, shares: number, posType: OrderPos): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | +| shares | number | Number of shares to sell. | +| posType | [OrderPos](./bitburner.orderpos.md) | Specifies whether the order is a “Long” or “Short” position. | + +Returns: + +number + +Gain from selling a given number of shares of a stock. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.tix.getsymbols.md b/markdown/bitburner.tix.getsymbols.md new file mode 100644 index 000000000..725b11683 --- /dev/null +++ b/markdown/bitburner.tix.getsymbols.md @@ -0,0 +1,23 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getSymbols](./bitburner.tix.getsymbols.md) + +## TIX.getSymbols() method + +Returns an array of the symbols of the tradable stocks + +Signature: + +```typescript +getSymbols(): StockSymbol[]; +``` +Returns: + +[StockSymbol](./bitburner.stocksymbol.md)\[\] + +Array of the symbols of the tradable stocks. + +## Remarks + +2 GB + diff --git a/markdown/bitburner.tix.getvolatility.md b/markdown/bitburner.tix.getvolatility.md new file mode 100644 index 000000000..2a983a390 --- /dev/null +++ b/markdown/bitburner.tix.getvolatility.md @@ -0,0 +1,34 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [getVolatility](./bitburner.tix.getvolatility.md) + +## TIX.getVolatility() method + +Returns the volatility of the specified stock. + +Volatility represents the maximum percentage by which a stock’s price can change every tick. The volatility is returned as a decimal value, NOT a percentage (e.g. if a stock has a volatility of 3%, then this function will return 0.03, NOT 3). + +In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API. + +Signature: + +```typescript +getVolatility(sym: StockSymbol): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | + +Returns: + +number + +Volatility of the specified stock. + +## Remarks + +2.5 GB + diff --git a/markdown/bitburner.tix.md b/markdown/bitburner.tix.md new file mode 100644 index 000000000..0eb2273b9 --- /dev/null +++ b/markdown/bitburner.tix.md @@ -0,0 +1,58 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) + +## TIX interface + + +Signature: + +```typescript +interface TIX +``` + +## Methods + +| Method | Description | +| --- | --- | +| [buy(sym, shares)](./bitburner.tix.buy.md) | Attempts to purchase shares of a stock using a Market Order.If the player does not have enough money to purchase the specified number of shares, then no shares will be purchased. Remember that every transaction on the stock exchange costs a certain commission fee.If this function successfully purchases the shares, it will return the stock price at which each share was purchased. Otherwise, it will return 0. | +| [cancelOrder(sym, shares, price, type, pos)](./bitburner.tix.cancelorder.md) | Cancels an oustanding Limit or Stop order on the stock market.The ability to use limit and stop orders is \*\*not\*\* immediately available to the player and must be unlocked later on in the game. | +| [getAskPrice(sym)](./bitburner.tix.getaskprice.md) | Given a stock’s symbol (NOT the company name), returns the ask price of that stock. The symbol is a sequence of two to four capital letters. | +| [getBidPrice(sym)](./bitburner.tix.getbidprice.md) | Given a stock’s symbol (NOT the company name), returns the bid price of that stock. The symbol is a sequence of two to four capital letters. | +| [getForecast(sym)](./bitburner.tix.getforecast.md) | Returns the probability that the specified stock’s price will increase (as opposed to decrease) during the next tick.The probability is returned as a decimal value, NOT a percentage (e.g. if a stock has a 60% chance of increasing, then this function will return 0.6, NOT 60).In other words, if this function returned 0.30 for a stock, then this means that the stock’s price has a 30% chance of increasing and a 70% chance of decreasing during the next tick.In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API. | +| [getMaxShares(sym)](./bitburner.tix.getmaxshares.md) | Returns the maximum number of shares that the stock has. This is the maximum amount of the stock that can be purchased in both the Long and Short positions combined. | +| [getOrders()](./bitburner.tix.getorders.md) | Returns your order book for the stock market.This is an object containing information for all the Limit and Stop Orders you have in the stock market. The object has the following structure: +```js +{ + StockSymbol1: [ // Array of orders for this stock + { + shares: Order quantity + price: Order price + type: Order type + position: Either "L" or "S" for Long or Short position + }, + { + ... + }, + ... + ], + StockSymbol2: [ // Array of orders for this stock + ... + ], + ... +} +``` +The “Order type” property can have one of the following four values: \* “Limit Buy Order” \* “Limit Sell Order” \* “Stop Buy Order” \* “Stop Sell Order” Note that the order book will only contain information for stocks that you actually have orders in. | +| [getPosition(sym)](./bitburner.tix.getposition.md) | Returns an array of four elements that represents the player’s position in a stock.The first element is the returned array is the number of shares the player owns of the stock in the Long position. The second element in the array is the average price of the player’s shares in the Long position.The third element in the array is the number of shares the player owns of the stock in the Short position. The fourth element in the array is the average price of the player’s Short position.All elements in the returned array are numeric. | +| [getPrice(sym)](./bitburner.tix.getprice.md) | Returns the price of a stock, given its symbol (NOT the company name). The symbol is a sequence of two to four capital letters.The stock’s price is the average of its bid and ask price | +| [getPurchaseCost(sym, shares, posType)](./bitburner.tix.getpurchasecost.md) | Calculates and returns how much it would cost to buy a given number of shares of a stock. This takes into account spread, large transactions influencing the price of the stock and commission fees. | +| [getSaleGain(sym, shares, posType)](./bitburner.tix.getsalegain.md) | Calculates and returns how much you would gain from selling a given number of shares of a stock. This takes into account spread, large transactions influencing the price of the stock and commission fees. | +| [getSymbols()](./bitburner.tix.getsymbols.md) | Returns an array of the symbols of the tradable stocks | +| [getVolatility(sym)](./bitburner.tix.getvolatility.md) | Returns the volatility of the specified stock.Volatility represents the maximum percentage by which a stock’s price can change every tick. The volatility is returned as a decimal value, NOT a percentage (e.g. if a stock has a volatility of 3%, then this function will return 0.03, NOT 3).In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API. | +| [placeOrder(sym, shares, price, type, pos)](./bitburner.tix.placeorder.md) | Places an order on the stock market. This function only works for Limit and Stop Orders.The ability to place limit and stop orders is \*\*not\*\* immediately available to the player and must be unlocked later on in the game.Returns true if the order is successfully placed, and false otherwise. | +| [purchase4SMarketData()](./bitburner.tix.purchase4smarketdata.md) | Purchase 4S Market Data Access.Returns true if you successfully purchased it or if you already have access. Returns false otherwise. | +| [purchase4SMarketDataTixApi()](./bitburner.tix.purchase4smarketdatatixapi.md) | Purchase 4S Market Data TIX API Access.Returns true if you successfully purchased it or if you already have access. Returns false otherwise. | +| [sell(sym, shares)](./bitburner.tix.sell.md) | Attempts to sell shares of a stock using a Market Order.If the specified number of shares in the function exceeds the amount that the player actually owns, then this function will sell all owned shares. Remember that every transaction on the stock exchange costs a certain commission fee.The net profit made from selling stocks with this function is reflected in the script’s statistics. This net profit is calculated as:shares \* (sell\_price - average\_price\_of\_purchased\_shares)If the sale is successful, this function will return the stock price at which each share was sold. Otherwise, it will return 0. | +| [sellShort(sym, shares)](./bitburner.tix.sellshort.md) | Attempts to sell a short position of a stock using a Market Order.The ability to short a stock is \*\*not\*\* immediately available to the player and must be unlocked later on in the game.If the specified number of shares exceeds the amount that the player actually owns, then this function will sell all owned shares. Remember that every transaction on the stock exchange costs a certain commission fee.If the sale is successful, this function will return the stock price at which each share was sold. Otherwise it will return 0. | +| [short(sym, shares)](./bitburner.tix.short.md) | Attempts to purchase a short position of a stock using a Market Order.The ability to short a stock is \*\*not\*\* immediately available to the player and must be unlocked later on in the game.If the player does not have enough money to purchase the specified number of shares, then no shares will be purchased. Remember that every transaction on the stock exchange costs a certain commission fee.If the purchase is successful, this function will return the stock price at which each share was purchased. Otherwise, it will return 0. | + diff --git a/markdown/bitburner.tix.placeorder.md b/markdown/bitburner.tix.placeorder.md new file mode 100644 index 000000000..c9798a13c --- /dev/null +++ b/markdown/bitburner.tix.placeorder.md @@ -0,0 +1,38 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [placeOrder](./bitburner.tix.placeorder.md) + +## TIX.placeOrder() method + +Places an order on the stock market. This function only works for Limit and Stop Orders. + +The ability to place limit and stop orders is \*\*not\*\* immediately available to the player and must be unlocked later on in the game. + +Returns true if the order is successfully placed, and false otherwise. + +Signature: + +```typescript +placeOrder(sym: StockSymbol, shares: number, price: number, type: OrderType, pos: OrderPos): boolean; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | +| shares | number | Number of shares for order. Must be positive. Will be rounded to nearest integer. | +| price | number | Execution price for the order. | +| type | [OrderType](./bitburner.ordertype.md) | Type of order. | +| pos | [OrderPos](./bitburner.orderpos.md) | Specifies whether the order is a “Long” or “Short” position. | + +Returns: + +boolean + +True if the order is successfully placed, and false otherwise. + +## Remarks + +2.5 GB + diff --git a/markdown/bitburner.tix.purchase4smarketdata.md b/markdown/bitburner.tix.purchase4smarketdata.md new file mode 100644 index 000000000..7cb196c11 --- /dev/null +++ b/markdown/bitburner.tix.purchase4smarketdata.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [purchase4SMarketData](./bitburner.tix.purchase4smarketdata.md) + +## TIX.purchase4SMarketData() method + +Purchase 4S Market Data Access. + +Returns true if you successfully purchased it or if you already have access. Returns false otherwise. + +Signature: + +```typescript +purchase4SMarketData(): boolean; +``` +Returns: + +boolean + +True if you successfully purchased it or if you already have access, false otherwise. + +## Remarks + +2.5 GB + diff --git a/markdown/bitburner.tix.purchase4smarketdatatixapi.md b/markdown/bitburner.tix.purchase4smarketdatatixapi.md new file mode 100644 index 000000000..754b6465e --- /dev/null +++ b/markdown/bitburner.tix.purchase4smarketdatatixapi.md @@ -0,0 +1,25 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [purchase4SMarketDataTixApi](./bitburner.tix.purchase4smarketdatatixapi.md) + +## TIX.purchase4SMarketDataTixApi() method + +Purchase 4S Market Data TIX API Access. + +Returns true if you successfully purchased it or if you already have access. Returns false otherwise. + +Signature: + +```typescript +purchase4SMarketDataTixApi(): boolean; +``` +Returns: + +boolean + +True if you successfully purchased it or if you already have access, false otherwise. + +## Remarks + +2.5 GB + diff --git a/markdown/bitburner.tix.sell.md b/markdown/bitburner.tix.sell.md new file mode 100644 index 000000000..09017a174 --- /dev/null +++ b/markdown/bitburner.tix.sell.md @@ -0,0 +1,39 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [sell](./bitburner.tix.sell.md) + +## TIX.sell() method + +Attempts to sell shares of a stock using a Market Order. + +If the specified number of shares in the function exceeds the amount that the player actually owns, then this function will sell all owned shares. Remember that every transaction on the stock exchange costs a certain commission fee. + +The net profit made from selling stocks with this function is reflected in the script’s statistics. This net profit is calculated as: + +shares \* (sell\_price - average\_price\_of\_purchased\_shares) + +If the sale is successful, this function will return the stock price at which each share was sold. Otherwise, it will return 0. + +Signature: + +```typescript +sell(sym: StockSymbol, shares: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | +| shares | number | Number of shares to sell. Must be positive. Will be rounded to nearest integer. | + +Returns: + +number + +The stock price at which each share was sold, otherwise 0 if the shares weren't sold. + +## Remarks + +2.5 GB + diff --git a/markdown/bitburner.tix.sellshort.md b/markdown/bitburner.tix.sellshort.md new file mode 100644 index 000000000..fccc46190 --- /dev/null +++ b/markdown/bitburner.tix.sellshort.md @@ -0,0 +1,37 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [sellShort](./bitburner.tix.sellshort.md) + +## TIX.sellShort() method + +Attempts to sell a short position of a stock using a Market Order. + +The ability to short a stock is \*\*not\*\* immediately available to the player and must be unlocked later on in the game. + +If the specified number of shares exceeds the amount that the player actually owns, then this function will sell all owned shares. Remember that every transaction on the stock exchange costs a certain commission fee. + +If the sale is successful, this function will return the stock price at which each share was sold. Otherwise it will return 0. + +Signature: + +```typescript +sellShort(sym: StockSymbol, shares: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | +| shares | number | Number of shares to sell. Must be positive. Will be rounded to nearest integer. | + +Returns: + +number + +The stock price at which each share was sold, otherwise 0 if the shares weren't sold. + +## Remarks + +2.5 GB + diff --git a/markdown/bitburner.tix.short.md b/markdown/bitburner.tix.short.md new file mode 100644 index 000000000..7847106cc --- /dev/null +++ b/markdown/bitburner.tix.short.md @@ -0,0 +1,37 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [TIX](./bitburner.tix.md) > [short](./bitburner.tix.short.md) + +## TIX.short() method + +Attempts to purchase a short position of a stock using a Market Order. + +The ability to short a stock is \*\*not\*\* immediately available to the player and must be unlocked later on in the game. + +If the player does not have enough money to purchase the specified number of shares, then no shares will be purchased. Remember that every transaction on the stock exchange costs a certain commission fee. + +If the purchase is successful, this function will return the stock price at which each share was purchased. Otherwise, it will return 0. + +Signature: + +```typescript +short(sym: StockSymbol, shares: number): number; +``` + +## Parameters + +| Parameter | Type | Description | +| --- | --- | --- | +| sym | [StockSymbol](./bitburner.stocksymbol.md) | Stock symbol. | +| shares | number | Number of shares to short. Must be positive. Will be rounded to nearest integer. | + +Returns: + +number + +The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased. + +## Remarks + +2.5 GB + diff --git a/markdown/bitburner.university.md b/markdown/bitburner.university.md new file mode 100644 index 000000000..f9d3694e8 --- /dev/null +++ b/markdown/bitburner.university.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [University](./bitburner.university.md) + +## University type + +Signature: + +```typescript +type University = "Summit University" | "Rothman University" | "ZB Institute Of Technology"; +``` diff --git a/markdown/bitburner.universitycourse.md b/markdown/bitburner.universitycourse.md new file mode 100644 index 000000000..6a35e52e5 --- /dev/null +++ b/markdown/bitburner.universitycourse.md @@ -0,0 +1,17 @@ + + +[Home](./index.md) > [bitburner](./bitburner.md) > [UniversityCourse](./bitburner.universitycourse.md) + +## UniversityCourse type + +Signature: + +```typescript +type UniversityCourse = + | "Study Computer Science" + | "Data Strucures" + | "Networks" + | "Algorithms" + | "Management" + | "Leadership"; +``` diff --git a/markdown/index.md b/markdown/index.md new file mode 100644 index 000000000..b6bea5e27 --- /dev/null +++ b/markdown/index.md @@ -0,0 +1,12 @@ + + +[Home](./index.md) + +## API Reference + +## Packages + +| Package | Description | +| --- | --- | +| [bitburner](./bitburner.md) | | + diff --git a/package-lock.json b/package-lock.json index 5ef4af5f3..674a43d0c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,8 @@ "dependencies": { "@emotion/react": "^11.4.1", "@emotion/styled": "^11.3.0", + "@microsoft/api-documenter": "^7.13.65", + "@microsoft/api-extractor": "^7.18.17", "@monaco-editor/react": "^4.2.2", "@mui/icons-material": "^5.0.3", "@mui/material": "^5.0.3", @@ -3033,6 +3035,155 @@ "react-dom": "^16.8.0 || ^17.0.0" } }, + "node_modules/@microsoft/api-documenter": { + "version": "7.13.65", + "resolved": "https://registry.npmjs.org/@microsoft/api-documenter/-/api-documenter-7.13.65.tgz", + "integrity": "sha512-cajrUQaNTjzRXMzftUhTku5J4BHSqrCiPXv3tCzdWnii9FxZpqvAYZelfW0/Tz9gjM9kYEMp9Msetf41AR1u7A==", + "dependencies": { + "@microsoft/api-extractor-model": "7.13.14", + "@microsoft/tsdoc": "0.13.2", + "@rushstack/node-core-library": "3.43.0", + "@rushstack/ts-command-line": "4.10.3", + "colors": "~1.2.1", + "js-yaml": "~3.13.1", + "resolve": "~1.17.0" + }, + "bin": { + "api-documenter": "bin/api-documenter" + } + }, + "node_modules/@microsoft/api-documenter/node_modules/colors": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.2.5.tgz", + "integrity": "sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg==", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@microsoft/api-documenter/node_modules/js-yaml": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", + "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@microsoft/api-documenter/node_modules/resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "dependencies": { + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/@microsoft/api-extractor": { + "version": "7.18.17", + "resolved": "https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.18.17.tgz", + "integrity": "sha512-gZuJ//FAyfrOqWssY0cyU2bEo8FOIaIYVs+pU5IDyfImkye6YkT2Qnm5PAFhyYSkfUjV5SjvyuP4+VsDfS3jww==", + "dependencies": { + "@microsoft/api-extractor-model": "7.13.14", + "@microsoft/tsdoc": "0.13.2", + "@microsoft/tsdoc-config": "~0.15.2", + "@rushstack/node-core-library": "3.43.0", + "@rushstack/rig-package": "0.3.4", + "@rushstack/ts-command-line": "4.10.3", + "colors": "~1.2.1", + "lodash": "~4.17.15", + "resolve": "~1.17.0", + "semver": "~7.3.0", + "source-map": "~0.6.1", + "typescript": "~4.4.2" + }, + "bin": { + "api-extractor": "bin/api-extractor" + } + }, + "node_modules/@microsoft/api-extractor-model": { + "version": "7.13.14", + "resolved": "https://registry.npmjs.org/@microsoft/api-extractor-model/-/api-extractor-model-7.13.14.tgz", + "integrity": "sha512-mKc917+QhOuOZebSnE77i8Tavj/G5ydIFoJqDIY9LpmAfJjsVHgL2pc7vkvW58QTxH2wadIDK1tLzcteOMEt4w==", + "dependencies": { + "@microsoft/tsdoc": "0.13.2", + "@microsoft/tsdoc-config": "~0.15.2", + "@rushstack/node-core-library": "3.43.0" + } + }, + "node_modules/@microsoft/api-extractor/node_modules/colors": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.2.5.tgz", + "integrity": "sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg==", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@microsoft/api-extractor/node_modules/resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "dependencies": { + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/@microsoft/api-extractor/node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@microsoft/api-extractor/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@microsoft/tsdoc": { + "version": "0.13.2", + "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.13.2.tgz", + "integrity": "sha512-WrHvO8PDL8wd8T2+zBGKrMwVL5IyzR3ryWUsl0PXgEV0QHup4mTLi0QcATefGI6Gx9Anu7vthPyyyLpY0EpiQg==" + }, + "node_modules/@microsoft/tsdoc-config": { + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/@microsoft/tsdoc-config/-/tsdoc-config-0.15.2.tgz", + "integrity": "sha512-mK19b2wJHSdNf8znXSMYVShAHktVr/ib0Ck2FA3lsVBSEhSI/TfXT7DJQkAYgcztTuwazGcg58ZjYdk0hTCVrA==", + "dependencies": { + "@microsoft/tsdoc": "0.13.2", + "ajv": "~6.12.6", + "jju": "~1.4.0", + "resolve": "~1.19.0" + } + }, + "node_modules/@microsoft/tsdoc-config/node_modules/resolve": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", + "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", + "dependencies": { + "is-core-module": "^2.1.0", + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/@monaco-editor/loader": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.2.0.tgz", @@ -3439,6 +3590,128 @@ "url": "https://opencollective.com/popperjs" } }, + "node_modules/@rushstack/node-core-library": { + "version": "3.43.0", + "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-3.43.0.tgz", + "integrity": "sha512-MFLW+6X83k6o8m8KnWkDhL/8NCJYHbFnnDokPSX1UHC3JwiEvVhHmEnxZv2YEzwnXeFYoKViub2G2t2liHbHLA==", + "dependencies": { + "@types/node": "12.20.24", + "colors": "~1.2.1", + "fs-extra": "~7.0.1", + "import-lazy": "~4.0.0", + "jju": "~1.4.0", + "resolve": "~1.17.0", + "semver": "~7.3.0", + "timsort": "~0.3.0", + "z-schema": "~3.18.3" + } + }, + "node_modules/@rushstack/node-core-library/node_modules/@types/node": { + "version": "12.20.24", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.24.tgz", + "integrity": "sha512-yxDeaQIAJlMav7fH5AQqPH1u8YIuhYJXYBzxaQ4PifsU0GDO38MSdmEDeRlIxrKbC6NbEaaEHDanWb+y30U8SQ==" + }, + "node_modules/@rushstack/node-core-library/node_modules/colors": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.2.5.tgz", + "integrity": "sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg==", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/@rushstack/node-core-library/node_modules/fs-extra": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", + "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/@rushstack/node-core-library/node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/@rushstack/node-core-library/node_modules/resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "dependencies": { + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/@rushstack/node-core-library/node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@rushstack/node-core-library/node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/@rushstack/rig-package": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@rushstack/rig-package/-/rig-package-0.3.4.tgz", + "integrity": "sha512-NsCzPxPQ8cu7lnqa/4xBQXuCJwaBrb5vEbOC8Q/bMQK7GDOxeVUN3/f+NCYjgQSl39toAm8jQJ7TJe+RYYX3yQ==", + "dependencies": { + "resolve": "~1.17.0", + "strip-json-comments": "~3.1.1" + } + }, + "node_modules/@rushstack/rig-package/node_modules/resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "dependencies": { + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/@rushstack/ts-command-line": { + "version": "4.10.3", + "resolved": "https://registry.npmjs.org/@rushstack/ts-command-line/-/ts-command-line-4.10.3.tgz", + "integrity": "sha512-DdDfwr8CO6CP/kBZlQrrwKyA6UxOteujaIBrmoHa+J+dyLZC19YA/LK0fAHjr2qHLAJHHXVpZwPH8BpqN84oVg==", + "dependencies": { + "@types/argparse": "1.0.38", + "argparse": "~1.0.9", + "colors": "~1.2.1", + "string-argv": "~0.3.1" + } + }, + "node_modules/@rushstack/ts-command-line/node_modules/colors": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.2.5.tgz", + "integrity": "sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg==", + "engines": { + "node": ">=0.1.90" + } + }, "node_modules/@sideway/address": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.2.tgz", @@ -3622,6 +3895,11 @@ "@types/estree": "*" } }, + "node_modules/@types/argparse": { + "version": "1.0.38", + "resolved": "https://registry.npmjs.org/@types/argparse/-/argparse-1.0.38.tgz", + "integrity": "sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==" + }, "node_modules/@types/aria-query": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-4.2.2.tgz", @@ -3894,18 +4172,6 @@ } } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -3921,12 +4187,6 @@ "node": ">=10" } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@typescript-eslint/experimental-utils": { "version": "4.33.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.33.0.tgz", @@ -4035,18 +4295,6 @@ } } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -4062,12 +4310,6 @@ "node": ">=10" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/@typescript-eslint/visitor-keys": { "version": "4.33.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.33.0.tgz", @@ -4501,7 +4743,6 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, "dependencies": { "sprintf-js": "~1.0.2" } @@ -4509,8 +4750,7 @@ "node_modules/argparse/node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", - "dev": true + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, "node_modules/aria-query": { "version": "4.2.2", @@ -7427,18 +7667,6 @@ "url": "https://github.com/electron/electron-packager?sponsor=1" } }, - "node_modules/electron-packager/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/electron-packager/node_modules/semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -7454,12 +7682,6 @@ "node": ">=10" } }, - "node_modules/electron-packager/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/electron-to-chromium": { "version": "1.3.867", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.867.tgz", @@ -7989,18 +8211,6 @@ "node": ">= 4" } }, - "node_modules/eslint/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/eslint/node_modules/optionator": { "version": "0.9.1", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", @@ -8057,12 +8267,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/esm": { "version": "3.2.25", "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz", @@ -9262,18 +9466,6 @@ "node": ">=8" } }, - "node_modules/fork-ts-checker-webpack-plugin/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/fork-ts-checker-webpack-plugin/node_modules/schema-utils": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", @@ -9319,12 +9511,6 @@ "node": ">=8" } }, - "node_modules/fork-ts-checker-webpack-plugin/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/form-data": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", @@ -9684,19 +9870,6 @@ "node": ">=10.0" } }, - "node_modules/global-agent/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "optional": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/global-agent/node_modules/semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -9713,13 +9886,6 @@ "node": ">=10" } }, - "node_modules/global-agent/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true, - "optional": true - }, "node_modules/global-dirs": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.0.tgz", @@ -10653,6 +10819,14 @@ "node": ">=4" } }, + "node_modules/import-lazy": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz", + "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==", + "engines": { + "node": ">=8" + } + }, "node_modules/import-local": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.3.tgz", @@ -13105,18 +13279,6 @@ "node": ">=8" } }, - "node_modules/jest-snapshot/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/jest-snapshot/node_modules/semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -13144,12 +13306,6 @@ "node": ">=8" } }, - "node_modules/jest-snapshot/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/jest-util": { "version": "27.2.5", "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-27.2.5.tgz", @@ -13462,6 +13618,11 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/jju": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/jju/-/jju-1.4.0.tgz", + "integrity": "sha1-o6vicYryQaKykE+EpiWXDzia4yo=" + }, "node_modules/joi": { "version": "17.4.2", "resolved": "https://registry.npmjs.org/joi/-/joi-17.4.2.tgz", @@ -13970,8 +14131,7 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "node_modules/lodash.clonedeep": { "version": "4.5.0", @@ -13988,8 +14148,12 @@ "node_modules/lodash.get": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", - "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", - "dev": true + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" + }, + "node_modules/lodash.isequal": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", + "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=" }, "node_modules/lodash.merge": { "version": "4.6.2", @@ -14222,6 +14386,17 @@ "node": ">=0.10.0" } }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/lz-string": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz", @@ -18236,6 +18411,14 @@ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" }, + "node_modules/string-argv": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz", + "integrity": "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==", + "engines": { + "node": ">=0.6.19" + } + }, "node_modules/string-length": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", @@ -18332,7 +18515,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, "engines": { "node": ">=8" }, @@ -18942,6 +19124,11 @@ "node": ">=0.6.0" } }, + "node_modules/timsort": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz", + "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=" + }, "node_modules/tiny-warning": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", @@ -19216,7 +19403,6 @@ "version": "4.4.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz", "integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==", - "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -19600,6 +19786,14 @@ "spdx-expression-parse": "^3.0.0" } }, + "node_modules/validator": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/validator/-/validator-8.2.0.tgz", + "integrity": "sha512-Yw5wW34fSv5spzTXNkokD6S6/Oq92d8q/t14TqsS3fAiA1RYnxSFSIZ+CY3n6PGGRCq5HhJTSepQvFUS2QUDxA==", + "engines": { + "node": ">= 0.10" + } + }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", @@ -21525,6 +21719,11 @@ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, "node_modules/yaml": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", @@ -21590,6 +21789,28 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } + }, + "node_modules/z-schema": { + "version": "3.18.4", + "resolved": "https://registry.npmjs.org/z-schema/-/z-schema-3.18.4.tgz", + "integrity": "sha512-DUOKC/IhbkdLKKiV89gw9DUauTV8U/8yJl1sjf6MtDmzevLKOF2duNJ495S3MFVjqZarr+qNGCPbkg4mu4PpLw==", + "dependencies": { + "lodash.get": "^4.0.0", + "lodash.isequal": "^4.0.0", + "validator": "^8.0.0" + }, + "bin": { + "z-schema": "bin/z-schema" + }, + "optionalDependencies": { + "commander": "^2.7.1" + } + }, + "node_modules/z-schema/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "optional": true } }, "dependencies": { @@ -23699,6 +23920,128 @@ "react-is": "^16.8.0 || ^17.0.0" } }, + "@microsoft/api-documenter": { + "version": "7.13.65", + "resolved": "https://registry.npmjs.org/@microsoft/api-documenter/-/api-documenter-7.13.65.tgz", + "integrity": "sha512-cajrUQaNTjzRXMzftUhTku5J4BHSqrCiPXv3tCzdWnii9FxZpqvAYZelfW0/Tz9gjM9kYEMp9Msetf41AR1u7A==", + "requires": { + "@microsoft/api-extractor-model": "7.13.14", + "@microsoft/tsdoc": "0.13.2", + "@rushstack/node-core-library": "3.43.0", + "@rushstack/ts-command-line": "4.10.3", + "colors": "~1.2.1", + "js-yaml": "~3.13.1", + "resolve": "~1.17.0" + }, + "dependencies": { + "colors": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.2.5.tgz", + "integrity": "sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg==" + }, + "js-yaml": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", + "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "requires": { + "path-parse": "^1.0.6" + } + } + } + }, + "@microsoft/api-extractor": { + "version": "7.18.17", + "resolved": "https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.18.17.tgz", + "integrity": "sha512-gZuJ//FAyfrOqWssY0cyU2bEo8FOIaIYVs+pU5IDyfImkye6YkT2Qnm5PAFhyYSkfUjV5SjvyuP4+VsDfS3jww==", + "requires": { + "@microsoft/api-extractor-model": "7.13.14", + "@microsoft/tsdoc": "0.13.2", + "@microsoft/tsdoc-config": "~0.15.2", + "@rushstack/node-core-library": "3.43.0", + "@rushstack/rig-package": "0.3.4", + "@rushstack/ts-command-line": "4.10.3", + "colors": "~1.2.1", + "lodash": "~4.17.15", + "resolve": "~1.17.0", + "semver": "~7.3.0", + "source-map": "~0.6.1", + "typescript": "~4.4.2" + }, + "dependencies": { + "colors": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.2.5.tgz", + "integrity": "sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg==" + }, + "resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "requires": { + "path-parse": "^1.0.6" + } + }, + "semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "requires": { + "lru-cache": "^6.0.0" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + } + } + }, + "@microsoft/api-extractor-model": { + "version": "7.13.14", + "resolved": "https://registry.npmjs.org/@microsoft/api-extractor-model/-/api-extractor-model-7.13.14.tgz", + "integrity": "sha512-mKc917+QhOuOZebSnE77i8Tavj/G5ydIFoJqDIY9LpmAfJjsVHgL2pc7vkvW58QTxH2wadIDK1tLzcteOMEt4w==", + "requires": { + "@microsoft/tsdoc": "0.13.2", + "@microsoft/tsdoc-config": "~0.15.2", + "@rushstack/node-core-library": "3.43.0" + } + }, + "@microsoft/tsdoc": { + "version": "0.13.2", + "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.13.2.tgz", + "integrity": "sha512-WrHvO8PDL8wd8T2+zBGKrMwVL5IyzR3ryWUsl0PXgEV0QHup4mTLi0QcATefGI6Gx9Anu7vthPyyyLpY0EpiQg==" + }, + "@microsoft/tsdoc-config": { + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/@microsoft/tsdoc-config/-/tsdoc-config-0.15.2.tgz", + "integrity": "sha512-mK19b2wJHSdNf8znXSMYVShAHktVr/ib0Ck2FA3lsVBSEhSI/TfXT7DJQkAYgcztTuwazGcg58ZjYdk0hTCVrA==", + "requires": { + "@microsoft/tsdoc": "0.13.2", + "ajv": "~6.12.6", + "jju": "~1.4.0", + "resolve": "~1.19.0" + }, + "dependencies": { + "resolve": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", + "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", + "requires": { + "is-core-module": "^2.1.0", + "path-parse": "^1.0.6" + } + } + } + }, "@monaco-editor/loader": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.2.0.tgz", @@ -23904,6 +24247,110 @@ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.10.2.tgz", "integrity": "sha512-IXf3XA7+XyN7CP9gGh/XB0UxVMlvARGEgGXLubFICsUMGz6Q+DU+i4gGlpOxTjKvXjkJDJC8YdqdKkDj9qZHEQ==" }, + "@rushstack/node-core-library": { + "version": "3.43.0", + "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-3.43.0.tgz", + "integrity": "sha512-MFLW+6X83k6o8m8KnWkDhL/8NCJYHbFnnDokPSX1UHC3JwiEvVhHmEnxZv2YEzwnXeFYoKViub2G2t2liHbHLA==", + "requires": { + "@types/node": "12.20.24", + "colors": "~1.2.1", + "fs-extra": "~7.0.1", + "import-lazy": "~4.0.0", + "jju": "~1.4.0", + "resolve": "~1.17.0", + "semver": "~7.3.0", + "timsort": "~0.3.0", + "z-schema": "~3.18.3" + }, + "dependencies": { + "@types/node": { + "version": "12.20.24", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.24.tgz", + "integrity": "sha512-yxDeaQIAJlMav7fH5AQqPH1u8YIuhYJXYBzxaQ4PifsU0GDO38MSdmEDeRlIxrKbC6NbEaaEHDanWb+y30U8SQ==" + }, + "colors": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.2.5.tgz", + "integrity": "sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg==" + }, + "fs-extra": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", + "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "requires": { + "path-parse": "^1.0.6" + } + }, + "semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "requires": { + "lru-cache": "^6.0.0" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" + } + } + }, + "@rushstack/rig-package": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@rushstack/rig-package/-/rig-package-0.3.4.tgz", + "integrity": "sha512-NsCzPxPQ8cu7lnqa/4xBQXuCJwaBrb5vEbOC8Q/bMQK7GDOxeVUN3/f+NCYjgQSl39toAm8jQJ7TJe+RYYX3yQ==", + "requires": { + "resolve": "~1.17.0", + "strip-json-comments": "~3.1.1" + }, + "dependencies": { + "resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "requires": { + "path-parse": "^1.0.6" + } + } + } + }, + "@rushstack/ts-command-line": { + "version": "4.10.3", + "resolved": "https://registry.npmjs.org/@rushstack/ts-command-line/-/ts-command-line-4.10.3.tgz", + "integrity": "sha512-DdDfwr8CO6CP/kBZlQrrwKyA6UxOteujaIBrmoHa+J+dyLZC19YA/LK0fAHjr2qHLAJHHXVpZwPH8BpqN84oVg==", + "requires": { + "@types/argparse": "1.0.38", + "argparse": "~1.0.9", + "colors": "~1.2.1", + "string-argv": "~0.3.1" + }, + "dependencies": { + "colors": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.2.5.tgz", + "integrity": "sha512-erNRLao/Y3Fv54qUa0LBB+//Uf3YwMUmdJinN20yMXm9zdKKqH9wt7R9IIVZ+K7ShzfpLV/Zg8+VyrBJYB4lpg==" + } + } + }, "@sideway/address": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.2.tgz", @@ -24049,6 +24496,11 @@ "@types/estree": "*" } }, + "@types/argparse": { + "version": "1.0.38", + "resolved": "https://registry.npmjs.org/@types/argparse/-/argparse-1.0.38.tgz", + "integrity": "sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==" + }, "@types/aria-query": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-4.2.2.tgz", @@ -24305,15 +24757,6 @@ "tsutils": "^3.21.0" }, "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, "semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -24322,12 +24765,6 @@ "requires": { "lru-cache": "^6.0.0" } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true } } }, @@ -24388,15 +24825,6 @@ "tsutils": "^3.21.0" }, "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, "semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -24405,12 +24833,6 @@ "requires": { "lru-cache": "^6.0.0" } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true } } }, @@ -24761,7 +25183,6 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, "requires": { "sprintf-js": "~1.0.2" }, @@ -24769,8 +25190,7 @@ "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", - "dev": true + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" } } }, @@ -27183,15 +27603,6 @@ "yargs-parser": "^20.0.0" }, "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, "semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -27200,12 +27611,6 @@ "requires": { "lru-cache": "^6.0.0" } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true } } }, @@ -27565,15 +27970,6 @@ "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, "optionator": { "version": "0.9.1", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", @@ -27611,12 +28007,6 @@ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true } } }, @@ -28594,15 +28984,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, "schema-utils": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz", @@ -28631,12 +29012,6 @@ "requires": { "has-flag": "^4.0.0" } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true } } }, @@ -28946,16 +29321,6 @@ "serialize-error": "^7.0.1" }, "dependencies": { - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "optional": true, - "requires": { - "yallist": "^4.0.0" - } - }, "semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -28965,13 +29330,6 @@ "requires": { "lru-cache": "^6.0.0" } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true, - "optional": true } } }, @@ -29724,6 +30082,11 @@ } } }, + "import-lazy": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz", + "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==" + }, "import-local": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.3.tgz", @@ -31529,15 +31892,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "requires": { - "yallist": "^4.0.0" - } - }, "semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -31555,12 +31909,6 @@ "requires": { "has-flag": "^4.0.0" } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true } } }, @@ -31794,6 +32142,11 @@ } } }, + "jju": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/jju/-/jju-1.4.0.tgz", + "integrity": "sha1-o6vicYryQaKykE+EpiWXDzia4yo=" + }, "joi": { "version": "17.4.2", "resolved": "https://registry.npmjs.org/joi/-/joi-17.4.2.tgz", @@ -32222,8 +32575,7 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash.clonedeep": { "version": "4.5.0", @@ -32240,8 +32592,12 @@ "lodash.get": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", - "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=", - "dev": true + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" + }, + "lodash.isequal": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", + "integrity": "sha1-QVxEePK8wwEgwizhDtMib30+GOA=" }, "lodash.merge": { "version": "4.6.2", @@ -32414,6 +32770,14 @@ "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", "dev": true }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "requires": { + "yallist": "^4.0.0" + } + }, "lz-string": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz", @@ -35620,6 +35984,11 @@ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" }, + "string-argv": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz", + "integrity": "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==" + }, "string-length": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", @@ -35691,8 +36060,7 @@ "strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==" }, "strip-outer": { "version": "1.0.1", @@ -36177,6 +36545,11 @@ "setimmediate": "^1.0.4" } }, + "timsort": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz", + "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=" + }, "tiny-warning": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", @@ -36394,8 +36767,7 @@ "typescript": { "version": "4.4.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.4.tgz", - "integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==", - "dev": true + "integrity": "sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==" }, "uglify-js": { "version": "3.4.10", @@ -36709,6 +37081,11 @@ "spdx-expression-parse": "^3.0.0" } }, + "validator": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/validator/-/validator-8.2.0.tgz", + "integrity": "sha512-Yw5wW34fSv5spzTXNkokD6S6/Oq92d8q/t14TqsS3fAiA1RYnxSFSIZ+CY3n6PGGRCq5HhJTSepQvFUS2QUDxA==" + }, "vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", @@ -38265,6 +38642,11 @@ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, "yaml": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", @@ -38314,6 +38696,25 @@ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true + }, + "z-schema": { + "version": "3.18.4", + "resolved": "https://registry.npmjs.org/z-schema/-/z-schema-3.18.4.tgz", + "integrity": "sha512-DUOKC/IhbkdLKKiV89gw9DUauTV8U/8yJl1sjf6MtDmzevLKOF2duNJ495S3MFVjqZarr+qNGCPbkg4mu4PpLw==", + "requires": { + "commander": "^2.7.1", + "lodash.get": "^4.0.0", + "lodash.isequal": "^4.0.0", + "validator": "^8.0.0" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "optional": true + } + } } } } diff --git a/package.json b/package.json index 18aff3a2e..b92085710 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,8 @@ "dependencies": { "@emotion/react": "^11.4.1", "@emotion/styled": "^11.3.0", + "@microsoft/api-documenter": "^7.13.65", + "@microsoft/api-extractor": "^7.18.17", "@monaco-editor/react": "^4.2.2", "@mui/icons-material": "^5.0.3", "@mui/material": "^5.0.3", diff --git a/src/ScriptEditor/NetscriptDefinitions.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts similarity index 72% rename from src/ScriptEditor/NetscriptDefinitions.ts rename to src/ScriptEditor/NetscriptDefinitions.d.ts index 3e60291b9..978579aac 100644 --- a/src/ScriptEditor/NetscriptDefinitions.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -1,5 +1,16 @@ +/** + * @public + */ type Host = string; + +/** + * @public + */ type Script = string; + +/** + * @public + */ type StockSymbol = | "ECP" | "MGCP" @@ -34,9 +45,25 @@ type StockSymbol = | "CTYS" | "MDYN" | "TITN"; + +/** + * @public + */ type OrderType = "limitbuy" | "limitsell" | "stopbuy" | "stopsell"; + +/** + * @public + */ type OrderPos = "long" | "short"; + +/** + * @public + */ type University = "Summit University" | "Rothman University" | "ZB Institute Of Technology"; + +/** + * @public + */ type UniversityCourse = | "Study Computer Science" | "Data Strucures" @@ -44,9 +71,25 @@ type UniversityCourse = | "Algorithms" | "Management" | "Leadership"; + +/** + * @public + */ type Gym = "Crush Fitness Gym" | "Snap Fitness Gym" | "Iron Gym" | "Powerhouse Gym" | "Millenium Fitness Gym"; + +/** + * @public + */ type GymStat = "str" | "def" | "dex" | "agi"; + +/** + * @public + */ type City = "Aevum" | "Chongqing" | "Sector-12" | "New Tokyo" | "Ishima" | "Volhaven"; + +/** + * @public + */ type PurchaseableProgram = | "brutessh.exe" | "ftpcrack.exe" @@ -56,7 +99,15 @@ type PurchaseableProgram = | "deepscanv1.exe" | "deepscanv2.exe" | "autolink.exe"; + +/** + * @public + */ type CreatableProgram = PurchaseableProgram | "serverprofiler.exe"; + +/** + * @public + */ type CompanyName = // Sector-12 | "MegaCorp" @@ -107,6 +158,10 @@ type CompanyName = | "VitaLife" | "GlobalPharmaceuticals" | "NoodleBar"; + +/** + * @public + */ type CompanyField = | "software" | "software consultant" @@ -121,6 +176,10 @@ type CompanyField = | "part-time employee" | "waiter" | "part-time waiter"; + +/** + * @public + */ type FactionName = | "Illuminati" | "Daedalus" @@ -155,6 +214,9 @@ type FactionName = | "CyberSec" | "Bladeburners"; +/** + * @public + */ type GangName = | "Slum Snakes" | "Tetrads" @@ -163,7 +225,15 @@ type GangName = | "Speakers for the Dead" | "NiteSec" | "The Black Hand"; + +/** + * @public + */ type FactionWork = "hacking" | "field" | "security"; + +/** + * @public + */ type Crime = | "shoplift" | "rob store" @@ -177,6 +247,10 @@ type Crime = | "kidnap" | "assassinate" | "heist"; + +/** + * @public + */ type AugmentName = | "Augmented Targeting I" | "Augmented Targeting II" @@ -284,6 +358,9 @@ type AugmentName = | "BLADE-51b Tesla Armor: IPU Upgrade" | "The Blade's Simulacrum"; +/** + * @public + */ interface CrimeStats { /** Number representing the difficulty of the crime. Used for success chance calculations */ difficulty: number; @@ -327,6 +404,9 @@ interface CrimeStats { intelligence_exp: number; } +/** + * @public + */ interface AugmentationStats { /** Multipler to hacking skill */ hacking_mult?: number; @@ -358,7 +438,7 @@ interface AugmentationStats { hacking_speed_mult?: number; /** Multipler to amount of money the player gains from hacking */ hacking_money_mult?: number; - /** Multipler to amount of money injected into servers using {@link grow()} */ + /** Multipler to amount of money injected into servers using grow */ hacking_grow_mult?: number; /** Multipler to amount of reputation gained when working */ company_rep_mult?: number; @@ -389,16 +469,26 @@ interface AugmentationStats { /** Multipler to success chance in Bladeburner contracts/operations */ bladeburner_success_chance_mult?: number; } + +/** + * @public + */ interface BasicHGWOptions { /** Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. */ threads: number; } +/** + * @public + */ interface CodingAttemptOptions { /** If truthy, then the function will return a string that states the contract’s reward when it is successfully solved. */ returnReward: boolean; } +/** + * @public + */ interface AugmentPair { /** augmentation name */ name: AugmentName; @@ -406,6 +496,9 @@ interface AugmentPair { cost: number; } +/** + * @public + */ interface StockOrderObject { /** Number of shares */ shares: number; @@ -416,11 +509,18 @@ interface StockOrderObject { /** Order position */ position: "S" | "L"; } + +/** + * @public + */ type StockOrder = { /** Stock Symbol */ [key in StockSymbol]?: StockOrderObject[]; }; +/** + * @public + */ interface ProcessInfo { /** Script name. */ filename: Script; @@ -430,6 +530,9 @@ interface ProcessInfo { args: string[]; } +/** + * @public + */ interface HackingMultipliers { /** Player's hacking chance multiplier. */ chance: number; @@ -441,6 +544,9 @@ interface HackingMultipliers { growth: number; } +/** + * @public + */ interface HacknetMultipliers { /** Player's hacknet production multiplier */ production: number; @@ -454,6 +560,9 @@ interface HacknetMultipliers { levelCost: number; } +/** + * @public + */ interface Server { // How many CPU cores this server has. Maximum of 8. // Currently, this only affects hacking missions @@ -497,6 +606,9 @@ interface Server { sshPortOpen: boolean; } +/** + * @public + */ interface BitNodeMultipliers { /** Influences how quickly the player's agility level (not exp) scales */ AgilityLevelMultiplier: number; @@ -585,10 +697,18 @@ interface BitNodeMultipliers { * IMPORTANT: The data inside ports are not saved! * This means if you close and re-open the game, or reload the page * then you will lose all of the data in the ports! + * @public */ type Port = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20; + +/** + * @public + */ type Handle = string | Port; +/** + * @public + */ interface NodeStats { /** Node's name ("hacknet-node-5") */ name: string; @@ -610,6 +730,9 @@ interface NodeStats { totalProduction: number; } +/** + * @public + */ type HashUpgrades = | "Sell for Money" | "Sell for Corporation Funds" @@ -622,6 +745,9 @@ type HashUpgrades = | "Exchange for Bladeburner SP" | "Generate Coding Contract"; +/** + * @public + */ interface PlayerStats { /** Hacking level */ hacking: number; @@ -639,6 +765,9 @@ interface PlayerStats { intelligence: number; } +/** + * @public + */ interface CharacterMult { /** Agility stat */ agility: number; @@ -671,6 +800,10 @@ interface CharacterMult { /** Money earned from jobs */ workMoney: number; } + +/** + * @public + */ interface CharacterInfo { /** Current BitNode number */ bitnode: number; @@ -710,6 +843,9 @@ interface CharacterInfo { workMoneyGain: number; } +/** + * @public + */ interface SleeveWorkGains { /** hacking exp gained from work */ workHackExpGain: number; @@ -727,6 +863,9 @@ interface SleeveWorkGains { workMoneyGain: number; } +/** + * @public + */ interface SourceFileLvl { /** The number of the source file */ n: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; @@ -734,8 +873,14 @@ interface SourceFileLvl { lvl: number; } +/** + * @public + */ type BladeburnerContracts = "Tracking" | "Bounty Hunter" | "Retirement"; +/** + * @public + */ type BladeburnerOperations = | "Investigation" | "Undercover Operation" @@ -744,6 +889,9 @@ type BladeburnerOperations = | "Stealth Retirement Operation" | "Assassination"; +/** + * @public + */ type BladeburnerBlackOps = | "Operation Typhoon" | "Operation Zero" @@ -767,6 +915,9 @@ type BladeburnerBlackOps = | "Operation Vindictus" | "Operation Daedalus"; +/** + * @public + */ type BladeburnerGenActions = | "Training" | "Field Analysis" @@ -774,6 +925,9 @@ type BladeburnerGenActions = | "Diplomacy" | "Hyperbolic Regeneration Chamber"; +/** + * @public + */ type BladeburnerSkills = | "Blade's Intuition" | "Cloak" @@ -790,8 +944,14 @@ type BladeburnerSkills = | "Hands of Midas" | "Hyperdrive"; +/** + * @public + */ type BladeburnerActTypes = "contracts" | "operations" | "black ops" | "general"; +/** + * @public + */ interface BladeburnerCurAction { /** Type of Action */ type: BladeburnerActTypes | "Idle"; @@ -799,6 +959,9 @@ interface BladeburnerCurAction { name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps; } +/** + * @public + */ type CodingContractTypes = | "Find Largest Prime Factor" | "Subarray with Maximum Sum" @@ -817,6 +980,9 @@ type CodingContractTypes = | "Sanitize Parentheses in Expression" | "Find All Valid Math Expressions"; +/** + * @public + */ interface GangGenInfo { /** Name of faction that the gang belongs to ("Slum Snakes", etc.) */ faction: GangName; @@ -840,17 +1006,27 @@ interface GangGenInfo { wantedLevelGainRate: number; } +/** + * @public + */ interface GangOtherInfoObject { /** Gang power */ power: number; /** Gang territory, in decimal form */ territory: number; } + +/** + * @public + */ type GangOtherInfo = { /** Stock Symbol */ [key in GangName]: GangOtherInfoObject[]; }; +/** + * @public + */ type GangEquipment = | "Baseball Bat" | "Katana" @@ -874,8 +1050,14 @@ type GangEquipment = | "Hmap Node" | "Jack the Ripper"; +/** + * @public + */ type GangEquipmentType = "Weapon" | "Armor" | "Vehicle" | "Rootkit" | "Augmentation"; +/** + * @public + */ type GangAugmentations = | "Bionic Arms" | "Bionic Legs" @@ -889,6 +1071,9 @@ type GangAugmentations = | "DataJack" | "Graphene Bone Lacings"; +/** + * @public + */ type GangTasks = | "Unassigned" | "Ransomware" @@ -915,6 +1100,9 @@ type GangTasks = | "Train Charisma" | "Territory Warfare"; +/** + * @public + */ interface GangTasksStats { /** Task name */ name: GangTasks; @@ -948,6 +1136,9 @@ interface GangTasksStats { territory: GangTasksTerritory; } +/** + * @public + */ interface GangEquipmentStats { /** Strength multiplier */ str: number; @@ -963,6 +1154,9 @@ interface GangEquipmentStats { hack: number; } +/** + * @public + */ interface GangTasksTerritory { /** Money gain impact on task scaling */ money: number; @@ -972,6 +1166,9 @@ interface GangTasksTerritory { wanted: number; } +/** + * @public + */ interface GangMemberInfo { /** Agility stat */ agility: number; @@ -1017,6 +1214,9 @@ interface GangMemberInfo { task: GangTasks; } +/** + * @public + */ interface GangMemberAscension { /** Amount of respect lost from ascending */ respect: number; @@ -1034,6 +1234,9 @@ interface GangMemberAscension { cha: number; } +/** + * @public + */ interface SleeveStats { /** current shock of the sleeve [0-100] */ shock: @@ -1255,6 +1458,9 @@ interface SleeveStats { charisma: number; } +/** + * @public + */ interface SleeveInformation { /** location of the sleeve */ city: City; @@ -1282,6 +1488,9 @@ interface SleeveInformation { workRepGain: number; } +/** + * @public + */ interface SleeveTask { /** task type */ task: string; @@ -1295,12 +1504,15 @@ interface SleeveTask { factionWorkType: FactionWork | ""; } +/** + * @public + */ interface TIX { /** * Returns an array of the symbols of the tradable stocks * - * @ramCost 2 GB - * @returns {string[]} Array of the symbols of the tradable stocks. + * @remarks 2 GB + * @returns Array of the symbols of the tradable stocks. */ getSymbols(): StockSymbol[]; @@ -1311,12 +1523,12 @@ interface TIX { * The stock’s price is the average of its bid and ask price * * @example - * \`\`\`js + * ```js * getPrice("FISG"); - * \`\`\` - * @ramCost 2 GB - * @param {string} sym Stock symbol. - * @returns {number} The price of a stock. + * ``` + * @remarks 2 GB + * @param sym - Stock symbol. + * @returns The price of a stock. */ getPrice(sym: StockSymbol): number; @@ -1324,9 +1536,9 @@ interface TIX { * Given a stock’s symbol (NOT the company name), returns the ask price of that stock. * The symbol is a sequence of two to four capital letters. * - * @ramCost 2 GB - * @param {string} sym Stock symbol. - * @returns {number} The ask price of a stock. + * @remarks 2 GB + * @param sym - Stock symbol. + * @returns The ask price of a stock. */ getAskPrice(sym: StockSymbol): number; @@ -1334,9 +1546,9 @@ interface TIX { * Given a stock’s symbol (NOT the company name), returns the bid price of that stock. * The symbol is a sequence of two to four capital letters. * - * @ramCost 2 GB - * @param {string} sym Stock symbol. - * @returns {number} The bid price of a stock. + * @remarks 2 GB + * @param sym - Stock symbol. + * @returns The bid price of a stock. */ getBidPrice(sym: StockSymbol): number; @@ -1354,16 +1566,16 @@ interface TIX { * All elements in the returned array are numeric. * * @example - * \`\`\`js + * ```js * pos = getPosition("ECP"); * shares = pos[0]; * avgPx = pos[1]; * sharesShort = pos[2]; * avgPxShort = pos[3]; - * \`\`\` - * @ramCost 2 GB - * @param {string} sym Stock symbol. - * @returns {[number,number,number,number]} Array of four elements that represents the player’s position in a stock. + * ``` + * @remarks 2 GB + * @param sym - Stock symbol. + * @returns Array of four elements that represents the player’s position in a stock. */ getPosition(sym: StockSymbol): [number, number, number, number]; @@ -1372,9 +1584,9 @@ interface TIX { * This is the maximum amount of the stock that can be purchased * in both the Long and Short positions combined. * - * @ramCost 2 GB - * @param {string} sym Stock symbol. - * @returns {number} Maximum number of shares that the stock has. + * @remarks 2 GB + * @param sym - Stock symbol. + * @returns Maximum number of shares that the stock has. */ getMaxShares(sym: StockSymbol): number; @@ -1382,11 +1594,11 @@ interface TIX { * Calculates and returns how much it would cost to buy a given number of shares of a stock. * This takes into account spread, large transactions influencing the price of the stock and commission fees. * - * @ramCost 2 GB - * @param {string} sym Stock symbol. - * @param {number} shares Number of shares to purchase. - * @param {string} posType Specifies whether the order is a “Long” or “Short” position. - * @returns {number} Cost to buy a given number of shares of a stock. + * @remarks 2 GB + * @param sym - Stock symbol. + * @param shares - Number of shares to purchase. + * @param posType - Specifies whether the order is a “Long” or “Short” position. + * @returns Cost to buy a given number of shares of a stock. */ getPurchaseCost(sym: StockSymbol, shares: number, posType: OrderPos): number; @@ -1394,11 +1606,11 @@ interface TIX { * Calculates and returns how much you would gain from selling a given number of shares of a stock. * This takes into account spread, large transactions influencing the price of the stock and commission fees. * - * @ramCost 2 GB - * @param {string} sym Stock symbol. - * @param {number} shares Number of shares to sell. - * @param {string} posType Specifies whether the order is a “Long” or “Short” position. - * @returns {number} Gain from selling a given number of shares of a stock. + * @remarks 2 GB + * @param sym - Stock symbol. + * @param shares - Number of shares to sell. + * @param posType - Specifies whether the order is a “Long” or “Short” position. + * @returns Gain from selling a given number of shares of a stock. */ getSaleGain(sym: StockSymbol, shares: number, posType: OrderPos): number; @@ -1412,10 +1624,10 @@ interface TIX { * If this function successfully purchases the shares, it will return the stock price at which * each share was purchased. Otherwise, it will return 0. * - * @ramCost 2.5 GB - * @param {string} sym Stock symbol. - * @param {number} shares Number of shares to purchased. Must be positive. Will be rounded to nearest integer. - * @returns {number} The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased. + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @param shares - Number of shares to purchased. Must be positive. Will be rounded to nearest integer. + * @returns The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased. */ buy(sym: StockSymbol, shares: number): number; @@ -1434,10 +1646,10 @@ interface TIX { * If the sale is successful, this function will return the stock price at * which each share was sold. Otherwise, it will return 0. * - * @ramCost 2.5 GB - * @param {string} sym Stock symbol. - * @param {number} shares Number of shares to sell. Must be positive. Will be rounded to nearest integer. - * @returns {number} The stock price at which each share was sold, otherwise 0 if the shares weren't sold. + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @param shares - Number of shares to sell. Must be positive. Will be rounded to nearest integer. + * @returns The stock price at which each share was sold, otherwise 0 if the shares weren't sold. */ sell(sym: StockSymbol, shares: number): number; @@ -1454,10 +1666,10 @@ interface TIX { * If the purchase is successful, this function will return the stock price at which each * share was purchased. Otherwise, it will return 0. * - * @ramCost 2.5 GB - * @param {string} sym Stock symbol. - * @param {number} shares Number of shares to short. Must be positive. Will be rounded to nearest integer. - * @returns {number} The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased. + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @param shares - Number of shares to short. Must be positive. Will be rounded to nearest integer. + * @returns The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased. */ short(sym: StockSymbol, shares: number): number; @@ -1474,10 +1686,10 @@ interface TIX { * If the sale is successful, this function will return the stock price at which each * share was sold. Otherwise it will return 0. * - * @ramCost 2.5 GB - * @param {string} sym Stock symbol. - * @param {number} shares Number of shares to sell. Must be positive. Will be rounded to nearest integer. - * @returns {number} The stock price at which each share was sold, otherwise 0 if the shares weren't sold. + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @param shares - Number of shares to sell. Must be positive. Will be rounded to nearest integer. + * @returns The stock price at which each share was sold, otherwise 0 if the shares weren't sold. */ sellShort(sym: StockSymbol, shares: number): number; @@ -1489,13 +1701,13 @@ interface TIX { * * Returns true if the order is successfully placed, and false otherwise. * - * @ramCost 2.5 GB - * @param {string} sym Stock symbol. - * @param {number} shares Number of shares for order. Must be positive. Will be rounded to nearest integer. - * @param {number} price Execution price for the order. - * @param {string} type Type of order. - * @param {string} pos Specifies whether the order is a “Long” or “Short” position. - * @returns {boolean} True if the order is successfully placed, and false otherwise. + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @param shares - Number of shares for order. Must be positive. Will be rounded to nearest integer. + * @param price - Execution price for the order. + * @param type - Type of order. + * @param pos - Specifies whether the order is a “Long” or “Short” position. + * @returns True if the order is successfully placed, and false otherwise. */ placeOrder(sym: StockSymbol, shares: number, price: number, type: OrderType, pos: OrderPos): boolean; @@ -1505,12 +1717,12 @@ interface TIX { * The ability to use limit and stop orders is **not** immediately available to the player and * must be unlocked later on in the game. * - * @ramCost 2.5 GB - * @param {string} sym Stock symbol. - * @param {number} shares Number of shares for order. Must be positive. Will be rounded to nearest integer. - * @param {number} price Execution price for the order. - * @param {string} type Type of order. - * @param {string} pos Specifies whether the order is a “Long” or “Short” position. + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @param shares - Number of shares for order. Must be positive. Will be rounded to nearest integer. + * @param price - Execution price for the order. + * @param type - Type of order. + * @param pos - Specifies whether the order is a “Long” or “Short” position. */ cancelOrder(sym: StockSymbol, shares: number, price: number, type: OrderType, pos: OrderPos): void; @@ -1520,7 +1732,7 @@ interface TIX { * This is an object containing information for all the Limit and Stop Orders you have in the stock market. * The object has the following structure: * - * \`\`\`js + * ```js * { * StockSymbol1: [ // Array of orders for this stock * { @@ -1539,7 +1751,7 @@ interface TIX { * ], * ... * } - * \`\`\` + * ``` * The “Order type” property can have one of the following four values: * * “Limit Buy Order” * * “Limit Sell Order” @@ -1548,7 +1760,7 @@ interface TIX { * Note that the order book will only contain information for stocks that you actually have orders in. * * @example - * \`\`\`js + * ```js * "If you do not have orders in Nova Medical (NVMD), then the returned object will not have a “NVMD” property." * { * ECP: [ @@ -1574,9 +1786,9 @@ interface TIX { * }, * ], * } - * \`\`\` - * @ramCost 2.5 GB - * @returns {object} Object containing information for all the Limit and Stop Orders you have in the stock market. + * ``` + * @remarks 2.5 GB + * @returns Object containing information for all the Limit and Stop Orders you have in the stock market. */ getOrders(): StockOrder; @@ -1589,9 +1801,9 @@ interface TIX { * * In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API. * - * @ramCost 2.5 GB - * @param {string} sym Stock symbol. - * @returns {number} Volatility of the specified stock. + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @returns Volatility of the specified stock. */ getVolatility(sym: StockSymbol): number; @@ -1606,9 +1818,9 @@ interface TIX { * * In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API. * - * @ramCost 2.5 GB - * @param {string} sym Stock symbol. - * @returns {number} Probability that the specified stock’s price will increase (as opposed to decrease) during the next tick. + * @remarks 2.5 GB + * @param sym - Stock symbol. + * @returns Probability that the specified stock’s price will increase (as opposed to decrease) during the next tick. */ getForecast(sym: StockSymbol): number; @@ -1617,8 +1829,8 @@ interface TIX { * * Returns true if you successfully purchased it or if you already have access. Returns false otherwise. * - * @ramCost 2.5 GB - * @returns {boolean} True if you successfully purchased it or if you already have access, false otherwise. + * @remarks 2.5 GB + * @returns True if you successfully purchased it or if you already have access, false otherwise. */ purchase4SMarketData(): boolean; @@ -1627,12 +1839,15 @@ interface TIX { * * Returns true if you successfully purchased it or if you already have access. Returns false otherwise. * - * @ramCost 2.5 GB - * @returns {boolean} True if you successfully purchased it or if you already have access, false otherwise. + * @remarks 2.5 GB + * @returns True if you successfully purchased it or if you already have access, false otherwise. */ purchase4SMarketDataTixApi(): boolean; } +/** + * @public + */ interface Singularity { /** * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled. @@ -1645,11 +1860,11 @@ interface Singularity { * The cost and experience gains for all of these universities and classes are the same as * if you were to manually visit and take these classes. * - * @ramCost 2 GB - * @singularity Level 1 - * @param {string} universityName Name of university. You must be in the correct city for whatever university you specify. - * @param {string} courseName Name of course. - * @returns {boolean} True if actions is successfully started, false otherwise. + * @remarks 2 GB + * @remarks Singularity - Level 1 + * @param universityName - Name of university. You must be in the correct city for whatever university you specify. + * @param courseName - Name of course. + * @returns True if actions is successfully started, false otherwise. */ universityCourse(universityName: University, courseName: UniversityCourse): boolean; @@ -1664,11 +1879,11 @@ interface Singularity { * The cost and experience gains for all of these gyms are the same as if you were * to manually visit these gyms and train * - * @ramCost 2 GB - * @singularity Level 1 - * @param {string} gymName Name of gym. You must be in the correct city for whatever gym you specify. - * @param {string} stat The stat you want to train. - * @returns {boolean} True if actions is successfully started, false otherwise. + * @remarks 2 GB + * @remarks Singularity - Level 1 + * @param gymName - Name of gym. You must be in the correct city for whatever gym you specify. + * @param stat - The stat you want to train. + * @returns True if actions is successfully started, false otherwise. */ gymWorkout(gymName: Gym, stat: GymStat): boolean; @@ -1678,10 +1893,10 @@ interface Singularity { * This function allows the player to travel to any city. The cost for using this * function is the same as the cost for traveling through the Travel Agency. * - * @ramCost 2 GB - * @singularity Level 1 - * @param {string} city City to travel to. - * @returns {boolean} True if actions is successful, false otherwise. + * @remarks 2 GB + * @remarks Singularity - Level 1 + * @param city - City to travel to. + * @returns True if actions is successful, false otherwise. */ travelToCity(city: City): boolean; @@ -1692,9 +1907,9 @@ interface Singularity { * purchasing a TOR router using this function is the same as if you were to * manually purchase one. * - * @ramCost 2 GB - * @singularity Level 1 - * @returns {boolean} True if actions is successful, false otherwise. + * @remarks 2 GB + * @remarks Singularity - Level 1 + * @returns True if actions is successful, false otherwise. */ purchaseTor(): boolean; @@ -1707,13 +1922,13 @@ interface Singularity { * Web using the Terminal buy command. * * @example - * \`\`\`js + * ```js * purchaseProgram("brutessh.exe"); - * \`\`\` - * @ramCost 2 GB - * @singularity Level 1 - * @param {string} programName Name of program to purchase. - * @returns {boolean} True if the specified program is purchased, and false otherwise. + * ``` + * @remarks 2 GB + * @remarks Singularity - Level 1 + * @param programName - Name of program to purchase. + * @returns True if the specified program is purchased, and false otherwise. */ purchaseProgram(programName: PurchaseableProgram): boolean; @@ -1723,13 +1938,13 @@ interface Singularity { * Returns an object with the Player’s stats. * * @example - * \`\`\`js + * ```js * res = getStats(); * print('My charisma level is: ' + res.charisma); - * \`\`\` - * @ramCost 0.5 GB - * @singularity Level 1 - * @returns {object} Object with the Player’s stats. + * ``` + * @remarks 0.5 GB + * @remarks Singularity - Level 1 + * @returns Object with the Player’s stats. */ getStats(): PlayerStats; @@ -1738,9 +1953,9 @@ interface Singularity { * * Returns an object with various information about your character. * - * @ramCost 0.5 GB - * @singularity Level 1 - * @returns {object} Object with various information about your character. + * @remarks 0.5 GB + * @remarks Singularity - Level 1 + * @returns Object with various information about your character. */ getCharacterInformation(): CharacterInfo; @@ -1751,9 +1966,9 @@ interface Singularity { * ‘action’. These actions include working for a company/faction, studying at a univeristy, * working out at a gym, creating a program, committing a crime, or carrying out a Hacking Mission. * - * @ramCost 0.5 GB - * @singularity Level 1 - * @returns {boolean} True if the player is currently performing an ‘action’, false otherwise. + * @remarks 0.5 GB + * @remarks Singularity - Level 1 + * @returns True if the player is currently performing an ‘action’, false otherwise. */ isBusy(): boolean; @@ -1773,9 +1988,9 @@ interface Singularity { * This function will return true if the player’s action was ended. * It will return false if the player was not performing an action when this function was called. * - * @ramCost 1 GB - * @singularity Level 1 - * @returns {boolean} True if the player’s action was ended, false if the player was not performing an action. + * @remarks 1 GB + * @remarks Singularity - Level 1 + * @returns True if the player’s action was ended, false if the player was not performing an action. */ stopAction(): boolean; @@ -1787,9 +2002,9 @@ interface Singularity { * * This function will return true if the player’s home computer RAM is successfully upgraded, and false otherwise. * - * @ramCost 3 GB - * @singularity Level 2 - * @returns {boolean} True if the player’s home computer RAM is successfully upgraded, and false otherwise. + * @remarks 3 GB + * @remarks Singularity - Level 2 + * @returns True if the player’s home computer RAM is successfully upgraded, and false otherwise. */ upgradeHomeRam(): boolean; @@ -1798,9 +2013,9 @@ interface Singularity { * * Returns the cost of upgrading the player’s home computer RAM. * - * @ramCost 1.5 GB - * @singularity Level 2 - * @returns {number} Cost of upgrading the player’s home computer RAM. + * @remarks 1.5 GB + * @remarks Singularity - Level 2 + * @returns Cost of upgrading the player’s home computer RAM. */ getUpgradeHomeRamCost(): number; @@ -1818,18 +2033,18 @@ interface Singularity { * Note that when you are working for a company, you will not actually receive your earnings (reputation, money, experience) until you FINISH the action. * * @example - * \`\`\`js + * ```js * //If you only want to work until you get 100,000 company reputation. One small hack to get around this is to continuously restart the action to receive your earnings: * while (getCompanyRep(COMPANY HERE) < VALUE) { * workForCompany(); * sleep(60000); * } * //This way, your company reputation will be updated every minute. - * \`\`\` - * @ramCost 3 GB - * @singularity Level 2 - * @param {string} [companyName] Name of company to work for. Must be an exact match. Optional. If not specified, this argument defaults to the last job that you worked - * @returns {boolean} True if the player starts working, and false otherwise. + * ``` + * @remarks 3 GB + * @remarks Singularity - Level 2 + * @param companyName - Name of company to work for. Must be an exact match. Optional. If not specified, this argument defaults to the last job that you worked + * @returns True if the player starts working, and false otherwise. */ workForCompany(companyName?: CompanyName): boolean; @@ -1845,11 +2060,11 @@ interface Singularity { * and false otherwise. Note that if you are trying to use this function to * apply for a promotion and you don’t get one, it will return false. * - * @ramCost 3 GB - * @singularity Level 2 - * @param {string} companyName Name of company to apply to. - * @param {string} field Field to which you want to apply. - * @returns {boolean} True if the player successfully get a job/promotion, and false otherwise. + * @remarks 3 GB + * @remarks Singularity - Level 2 + * @param companyName - Name of company to apply to. + * @param field - Field to which you want to apply. + * @returns True if the player successfully get a job/promotion, and false otherwise. */ applyToCompany(companyName: CompanyName, field: CompanyField): boolean; @@ -1859,10 +2074,10 @@ interface Singularity { * This function will return the amount of reputation you have at the specified company. * If the company passed in as an argument is invalid, -1 will be returned. * - * @ramCost 1 GB - * @singularity Level 2 - * @param {string} companyName Name of the company. - * @returns {number} Amount of reputation you have at the specified company. + * @remarks 1 GB + * @remarks Singularity - Level 2 + * @param companyName - Name of the company. + * @returns Amount of reputation you have at the specified company. */ getCompanyRep(companyName: CompanyName): number; @@ -1872,10 +2087,10 @@ interface Singularity { * This function will return the amount of favor you have at the specified company. * If the company passed in as an argument is invalid, -1 will be returned. * - * @ramCost 1 GB - * @singularity Level 2 - * @param {string} companyName Name of the company. - * @returns {number} Amount of favor you have at the specified company. + * @remarks 1 GB + * @remarks Singularity - Level 2 + * @param companyName - Name of the company. + * @returns Amount of favor you have at the specified company. */ getCompanyFavor(companyName: CompanyName): number; @@ -1885,10 +2100,10 @@ interface Singularity { * This function will return the amount of favor you will gain for the specified * company when you reset by installing Augmentations. * - * @ramCost 0.75 GB - * @singularity Level 2 - * @param {string} companyName Name of the company. - * @returns {number} Amount of favor you gain at the specified company when you reset by installing Augmentations. + * @remarks 0.75 GB + * @remarks Singularity - Level 2 + * @param companyName - Name of the company. + * @returns Amount of favor you gain at the specified company when you reset by installing Augmentations. */ getCompanyFavorGain(companyName: CompanyName): number; @@ -1897,9 +2112,9 @@ interface Singularity { * * Returns an array with the name of all Factions you currently have oustanding invitations from. * - * @ramCost 3 GB - * @singularity Level 2 - * @returns {string[]} Array with the name of all Factions you currently have oustanding invitations from. + * @remarks 3 GB + * @remarks Singularity - Level 2 + * @returns Array with the name of all Factions you currently have oustanding invitations from. */ checkFactionInvitations(): FactionName[]; @@ -1908,10 +2123,10 @@ interface Singularity { * * This function will automatically accept an invitation from a faction and join it. * - * @ramCost 3 GB - * @singularity Level 2 - * @param {string} faction Name of faction to join. - * @returns {boolean} True if player joined the faction, and false otherwise. + * @remarks 3 GB + * @remarks Singularity - Level 2 + * @param faction - Name of faction to join. + * @returns True if player joined the faction, and false otherwise. */ joinFaction(faction: FactionName): boolean; @@ -1929,19 +2144,19 @@ interface Singularity { * Note that when you are working for a faction, you will not actually receive your earnings (reputation, experience) until you FINISH the action. * * @example - * \`\`\`js + * ```js * //If you only want to work until you get 100,000 faction reputation. One small hack to get around this is to continuously restart the action to receive your earnings: * while (getFactionRep(FACTION NAME) < VALUE) { * workForFaction(FACNAME, WORKTYPE); * sleep(60000); * } * //This way, your faction reputation will be updated every minute. - * \`\`\` - * @ramCost 3 GB - * @singularity Level 2 - * @param {string} faction Name of faction to work for. - * @param {string} workType Type of work to perform for the faction. - * @returns {boolean} True if the player starts working, and false otherwise. + * ``` + * @remarks 3 GB + * @remarks Singularity - Level 2 + * @param faction - Name of faction to work for. + * @param workType - Type of work to perform for the faction. + * @returns True if the player starts working, and false otherwise. */ workForFaction(faction: FactionName, workType: FactionWork): boolean; @@ -1950,10 +2165,10 @@ interface Singularity { * * This function returns the amount of reputation you have for the specified faction. * - * @ramCost 1 GB - * @singularity Level 2 - * @param {string} faction Name of faction to work for. - * @returns {number} Amount of reputation you have for the specified faction. + * @remarks 1 GB + * @remarks Singularity - Level 2 + * @param faction - Name of faction to work for. + * @returns Amount of reputation you have for the specified faction. */ getFactionRep(faction: FactionName): number; @@ -1962,10 +2177,10 @@ interface Singularity { * * This function returns the amount of favor you have for the specified faction. * - * @ramCost 1 GB - * @singularity Level 2 - * @param {string} faction Name of faction. - * @returns {number} Amount of favor you have for the specified faction. + * @remarks 1 GB + * @remarks Singularity - Level 2 + * @param faction - Name of faction. + * @returns Amount of favor you have for the specified faction. */ getFactionFavor(faction: FactionName): number; @@ -1975,10 +2190,10 @@ interface Singularity { * This function returns the amount of favor you will gain for the specified * faction when you reset by installing Augmentations. * - * @ramCost 0.75 GB - * @singularity Level 2 - * @param {string} faction Name of faction. - * @returns {number} Amount of favor you will gain for the specified faction when you reset by installing Augmentations. + * @remarks 0.75 GB + * @remarks Singularity - Level 2 + * @param faction - Name of faction. + * @returns Amount of favor you will gain for the specified faction when you reset by installing Augmentations. */ getFactionFavorGain(faction: FactionName): number; @@ -1988,11 +2203,11 @@ interface Singularity { * Attempts to donate money to the specified faction in exchange for reputation. * Returns true if you successfully donate the money, and false otherwise. * - * @ramCost 5 GB - * @singularity Level 3 - * @param {string} faction Name of faction to donate to. - * @param {string} amount Amount of money to donate. - * @returns {boolean} True if the money was donated, and false otherwise. + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param faction - Name of faction to donate to. + * @param amount - Amount of money to donate. + * @returns True if the money was donated, and false otherwise. */ donateToFaction(faction: FactionName, amount: number): boolean; @@ -2019,13 +2234,13 @@ interface Singularity { * * AutoLink.exe: 25 * * @example - * \`\`\`js + * ```js * createProgram(“relaysmtp.exe”); - * \`\`\` - * @ramCost 5 GB - * @singularity Level 3 - * @param {string} program Name of program to create. - * @returns {boolean} True if you successfully start working on the specified program, and false otherwise. + * ``` + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param program - Name of program to create. + * @returns True if you successfully start working on the specified program, and false otherwise. */ createProgram(program: CreatableProgram): boolean; @@ -2043,15 +2258,15 @@ interface Singularity { * \`commitCrime('rob store')\` will return 60). * * Warning: I do not recommend using the time returned from this function to try - * and schedule your crime attempts. Instead, I would use the {@link isBusy} Singularity + * and schedule your crime attempts. Instead, I would use the isBusy Singularity * function to check whether you have finished attempting a crime. This is because * although the game sets a certain crime to be X amount of seconds, there is no * guarantee that your browser will follow that time limit. * - * @ramCost 5 GB - * @singularity Level 3 - * @param {string} crime Name of crime to attempt. - * @returns {number} True if you successfully start working on the specified program, and false otherwise. + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param crime - Name of crime to attempt. + * @returns True if you successfully start working on the specified program, and false otherwise. */ commitCrime(crime: Crime): number; @@ -2061,10 +2276,10 @@ interface Singularity { * This function returns your chance of success at commiting the specified crime. * The chance is returned as a decimal (i.e. 60% would be returned as 0.6). * - * @ramCost 5 GB - * @singularity Level 3 - * @param {string} crime Name of crime. - * @returns {number} Chance of success at commiting the specified crime as a decimal. + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param crime - Name of crime. + * @returns Chance of success at commiting the specified crime as a decimal. */ getCrimeChance(crime: Crime): number; @@ -2073,10 +2288,10 @@ interface Singularity { * * Returns the stats of the crime. * - * @ramCost 5 GB - * @singularity Level 3 - * @param {string} crime Name of crime. Not case-sensitive - * @returns {number} The stats of the crime. + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param crime - Name of crime. Not case-sensitive + * @returns The stats of the crime. */ getCrimeStats(crime: Crime): CrimeStats; @@ -2085,10 +2300,10 @@ interface Singularity { * * This function returns an array containing the names (as strings) of all Augmentations you have. * - * @ramCost 5 GB - * @singularity Level 3 - * @param {boolean} [purchased] Specifies whether the returned array should include Augmentations you have purchased but not yet installed. By default, this argument is false which means that the return value will NOT have the purchased Augmentations. - * @returns {string[]} Array containing the names (as strings) of all Augmentations you have. + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param purchased - Specifies whether the returned array should include Augmentations you have purchased but not yet installed. By default, this argument is false which means that the return value will NOT have the purchased Augmentations. + * @returns Array containing the names (as strings) of all Augmentations you have. */ getOwnedAugmentations(purchased?: boolean): AugmentName[]; @@ -2097,9 +2312,9 @@ interface Singularity { * * Returns an array of source files * - * @ramCost 5 GB - * @singularity Level 3 - * @returns {object[]} Array containing an object with number and level of the source file. + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @returns Array containing an object with number and level of the source file. */ getOwnedSourceFiles(): SourceFileLvl[]; @@ -2109,10 +2324,10 @@ interface Singularity { * Returns an array containing the names (as strings) of all Augmentations * that are available from the specified faction. * - * @ramCost 5 GB - * @singularity Level 3 - * @param {string} faction Name of faction. - * @returns {string[]} Array containing the names of all Augmentations. + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param faction - Name of faction. + * @returns Array containing the names of all Augmentations. */ getAugmentationsFromFaction(faction: FactionName): AugmentName[]; @@ -2122,10 +2337,10 @@ interface Singularity { * This function returns an array with the names of the prerequisite Augmentation(s) for the specified Augmentation. * If there are no prerequisites, a blank array is returned. * - * @ramCost 5 GB - * @singularity Level 3 - * @param {string} augName Name of Augmentation. - * @returns {string[]} Array with the names of the prerequisite Augmentation(s) for the specified Augmentation. + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param augName - Name of Augmentation. + * @returns Array with the names of the prerequisite Augmentation(s) for the specified Augmentation. */ getAugmentationPrereq(augName: AugmentName): AugmentName[]; @@ -2140,10 +2355,10 @@ interface Singularity { * If an invalid Augmentation name is passed in for the augName argument, this * function will return the array [-1, -1]. * - * @ramCost 5 GB - * @singularity Level 3 - * @param {string} augName Name of Augmentation. - * @returns {[number, number]} Array with first element as a reputation requirement and second element as the money cost. + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param augName - Name of Augmentation. + * @returns Array with first element as a reputation requirement and second element as the money cost. */ getAugmentationCost(augName: AugmentName): [number, number]; @@ -2154,11 +2369,11 @@ interface Singularity { * * This function will return true if the Augmentation is successfully purchased, and false otherwise. * - * @ramCost 5 GB - * @singularity Level 3 - * @param {string} faction Name of faction to purchase Augmentation from. - * @param {string} augmnet Name of Augmentation to purchase. - * @returns {boolean} True if the Augmentation is successfully purchased, and false otherwise. + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param faction - Name of faction to purchase Augmentation from. + * @param augmnet - Name of Augmentation to purchase. + * @returns True if the Augmentation is successfully purchased, and false otherwise. */ purchaseAugmentation(faction: FactionName, augmnet: AugmentName): boolean; @@ -2167,10 +2382,10 @@ interface Singularity { * * This function returns augmentation stats. * - * @ramCost 5 GB - * @singularity Level 3 - * @param {string} name Name of Augmentation. CASE-SENSITIVE. - * @returns {object} Augmentation stats. + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param name - Name of Augmentation. CASE-SENSITIVE. + * @returns Augmentation stats. */ getAugmentationStats(name: AugmentName): AugmentationStats; @@ -2179,9 +2394,9 @@ interface Singularity { * * This function will automatically install your Augmentations, resetting the game as usual. * - * @ramCost 5 GB - * @singularity Level 3 - * @param {string} cbScript Optional callback script. This is a script that will automatically be run after Augmentations are installed (after the reset). This script will be run with no arguments and 1 thread. It must be located on your home computer. + * @remarks 5 GB + * @remarks Singularity - Level 3 + * @param cbScript - Optional callback script. This is a script that will automatically be run after Augmentations are installed (after the reset). This script will be run with no arguments and 1 thread. It must be located on your home computer. */ installAugmentations(cbScript?: Script): void; @@ -2190,18 +2405,21 @@ interface Singularity { * * This function will perform a reset even if you don’t have any augmentation installed. * - * @ramCost 5 GB - * @singularity Level 3 + * @remarks 5 GB + * @remarks Singularity - Level 3 */ softReset(): void; } +/** + * @public + */ interface HackNet { /** * Returns the number of Hacknet Nodes you own. * - * @ramCost 0 GB - * @returns {number} number of hacknet nodes. + * @remarks 0 GB + * @returns number of hacknet nodes. */ numNodes(): number; @@ -2213,16 +2431,16 @@ interface HackNet { * * If the player cannot afford to purchase a new Hacknet Node then the function will return -1. * - * @ramCost 0 GB - * @returns {number} The index of the Hacknet Node or if the player cannot afford to purchase a new Hacknet Node the function will return -1. + * @remarks 0 GB + * @returns The index of the Hacknet Node or if the player cannot afford to purchase a new Hacknet Node the function will return -1. */ purchaseNode(): number; /** * Returns the cost of purchasing a new Hacknet Node. * - * @ramCost 0 GB - * @returns {number} Cost of purchasing a new Hacknet Node. + * @remarks 0 GB + * @returns Cost of purchasing a new Hacknet Node. */ getPurchaseNodeCost(): number; @@ -2233,9 +2451,9 @@ interface HackNet { * For Hacknet Servers (the upgraded version of Hacknet Nodes), production refers to the * amount of hashes the node generates. * - * @ramCost 0 GB - * @param {number} index Index/Identifier of Hacknet Node - * @returns {object} Object containing a variety of stats about the specified Hacknet Node. + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node + * @returns Object containing a variety of stats about the specified Hacknet Node. */ getNodeStats(index: number): NodeStats; @@ -2247,10 +2465,10 @@ interface HackNet { * * Returns false otherwise. * - * @ramCost 0 GB - * @param {number} index Index/Identifier of Hacknet Node. - * @param {number} n Number of levels to purchase. Must be positive. Rounded to nearest integer. - * @returns {boolean} True if the Hacknet Node’s level is successfully upgraded, false otherwise. + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of levels to purchase. Must be positive. Rounded to nearest integer. + * @returns True if the Hacknet Node’s level is successfully upgraded, false otherwise. */ upgradeLevel(index: number, n: number): boolean; @@ -2264,10 +2482,10 @@ interface HackNet { * * Returns false otherwise. * - * @ramCost 0 GB - * @param {number} index Index/Identifier of Hacknet Node. - * @param {number} n Number of times to upgrade RAM. Must be positive. Rounded to nearest integer. - * @returns {boolean} True if the Hacknet Node’s ram is successfully upgraded, false otherwise. + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of times to upgrade RAM. Must be positive. Rounded to nearest integer. + * @returns True if the Hacknet Node’s ram is successfully upgraded, false otherwise. */ upgradeRam(index: number, n: number): boolean; @@ -2279,10 +2497,10 @@ interface HackNet { * * Returns false otherwise. * - * @ramCost 0 GB - * @param {number} index Index/Identifier of Hacknet Node. - * @param {number} n Number of cores to purchase. Must be positive. Rounded to nearest integer. - * @returns {boolean} True if the Hacknet Node’s cores are successfully purchased, false otherwise. + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of cores to purchase. Must be positive. Rounded to nearest integer. + * @returns True if the Hacknet Node’s cores are successfully purchased, false otherwise. */ upgradeCore(index: number, n: number): boolean; @@ -2296,10 +2514,10 @@ interface HackNet { * * Returns false otherwise. * - * @ramCost 0 GB - * @param {number} index Index/Identifier of Hacknet Node. - * @param {number} n Number of cache levels to purchase. Must be positive. Rounded to nearest integer. - * @returns {boolean} True if the Hacknet Node’s cores are successfully purchased, false otherwise. + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of cache levels to purchase. Must be positive. Rounded to nearest integer. + * @returns True if the Hacknet Node’s cores are successfully purchased, false otherwise. */ upgradeCache(index: number, n: number): boolean; @@ -2309,10 +2527,10 @@ interface HackNet { * If an invalid value for n is provided, then this function returns 0. * If the specified Hacknet Node is already at max level, then Infinity is returned. * - * @ramCost 0 GB - * @param {number} index Index/Identifier of Hacknet Node. - * @param {number} n Number of levels to upgrade. Must be positive. Rounded to nearest integer. - * @returns {number} Cost of upgrading the specified Hacknet Node. + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of levels to upgrade. Must be positive. Rounded to nearest integer. + * @returns Cost of upgrading the specified Hacknet Node. */ getLevelUpgradeCost(index: number, n: number): number; @@ -2322,10 +2540,10 @@ interface HackNet { * If an invalid value for n is provided, then this function returns 0. * If the specified Hacknet Node is already at max level, then Infinity is returned. * - * @ramCost 0 GB - * @param {number} index Index/Identifier of Hacknet Node. - * @param {number} n Number of times to upgrade RAM. Must be positive. Rounded to nearest integer. - * @returns {number} Cost of upgrading the specified Hacknet Node's ram. + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of times to upgrade RAM. Must be positive. Rounded to nearest integer. + * @returns Cost of upgrading the specified Hacknet Node's ram. */ getRamUpgradeCost(index: number, n: number): number; @@ -2335,10 +2553,10 @@ interface HackNet { * If an invalid value for n is provided, then this function returns 0. * If the specified Hacknet Node is already at max level, then Infinity is returned. * - * @ramCost 0 GB - * @param {number} index Index/Identifier of Hacknet Node. - * @param {number} n Number of times to upgrade cores. Must be positive. Rounded to nearest integer. - * @returns {number} Cost of upgrading the specified Hacknet Node's number of cores. + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of times to upgrade cores. Must be positive. Rounded to nearest integer. + * @returns Cost of upgrading the specified Hacknet Node's number of cores. */ getCoreUpgradeCost(index: number, n: number): number; @@ -2350,10 +2568,10 @@ interface HackNet { * If an invalid value for n is provided, then this function returns 0. * If the specified Hacknet Node is already at max level, then Infinity is returned. * - * @ramCost 0 GB - * @param {number} index Index/Identifier of Hacknet Node. - * @param {number} n Number of times to upgrade cache. Must be positive. Rounded to nearest integer. - * @returns {number} Cost of upgrading the specified Hacknet Node's cache. + * @remarks 0 GB + * @param index - Index/Identifier of Hacknet Node. + * @param n - Number of times to upgrade cache. Must be positive. Rounded to nearest integer. + * @returns Cost of upgrading the specified Hacknet Node's cache. */ getCacheUpgradeCost(index: number, n: number): number; @@ -2362,8 +2580,8 @@ interface HackNet { * * Returns the number of hashes you have. * - * @ramCost 0 GB - * @returns {number} Number of hashes you have. + * @remarks 0 GB + * @returns Number of hashes you have. */ numHashes(): number; @@ -2373,15 +2591,15 @@ interface HackNet { * Returns the number of hashes required for the specified upgrade. The name of the upgrade must be an exact match. * * @example - * \`\`\`js + * ```js * var upgradeName = "Sell for Corporation Funds"; * if (hacknet.numHashes() > hacknet.hashCost(upgradeName)) { * hacknet.spendHashes(upgName); * } - * \`\`\` - * @ramCost 0 GB - * @param {string} upgName Name of the upgrade of Hacknet Node. - * @returns {number} Number of hashes required for the specified upgrade. + * ``` + * @remarks 0 GB + * @param upgName - Name of the upgrade of Hacknet Node. + * @returns Number of hashes required for the specified upgrade. */ hashCost(upgName: HashUpgrades): number; @@ -2396,18 +2614,21 @@ interface HackNet { * In this case, the \`upgTarget\` argument must be the hostname of the server. * * @example - * \`\`\`js + * ```js * hacknet.spendHashes("Sell for Corporation Funds"); * hacknet.spendHashes("Increase Maximum Money", "foodnstuff"); - * \`\`\` - * @ramCost 0 GB - * @param {string} upgName Name of the upgrade of Hacknet Node. - * @param {string} [upgTarget] Object to which upgrade applies. Required for certain upgrades. - * @returns {boolean} True if the upgrade is successfully purchased, and false otherwise.. + * ``` + * @remarks 0 GB + * @param upgName - Name of the upgrade of Hacknet Node. + * @param upgTarget - Object to which upgrade applies. Required for certain upgrades. + * @returns True if the upgrade is successfully purchased, and false otherwise.. */ spendHashes(upgName: HashUpgrades, upgTarget?: Host): boolean; } +/** + * @public + */ export interface Bladeburner { /** * You have to be employed in the Bladeburner division and be in BitNode-7 @@ -2415,8 +2636,8 @@ export interface Bladeburner { * * Returns an array of strings containing the names of all Bladeburner contracts. * - * @ramCost 0.4 GB - * @returns {string[]} Array of strings containing the names of all Bladeburner contracts. + * @remarks 0.4 GB + * @returns Array of strings containing the names of all Bladeburner contracts. */ getContractNames(): BladeburnerContracts[]; @@ -2426,8 +2647,8 @@ export interface Bladeburner { * * Returns an array of strings containing the names of all Bladeburner operations. * - * @ramCost 0.4 GB - * @returns {string[]} Array of strings containing the names of all Bladeburner operations. + * @remarks 0.4 GB + * @returns Array of strings containing the names of all Bladeburner operations. */ getOperationNames(): BladeburnerOperations[]; @@ -2437,8 +2658,8 @@ export interface Bladeburner { * * Returns an array of strings containing the names of all Bladeburner Black Ops. * - * @ramCost 0.4 GB - * @returns {string[]} Array of strings containing the names of all Bladeburner Black Ops. + * @remarks 0.4 GB + * @returns Array of strings containing the names of all Bladeburner Black Ops. */ getBlackOpNames(): BladeburnerBlackOps[]; @@ -2448,8 +2669,8 @@ export interface Bladeburner { * * Returns an array of strings containing the names of all general Bladeburner actions. * - * @ramCost 0.4 GB - * @returns {string[]} Array of strings containing the names of all general Bladeburner actions. + * @remarks 0.4 GB + * @returns Array of strings containing the names of all general Bladeburner actions. */ getGeneralActionNames(): BladeburnerGenActions[]; @@ -2459,8 +2680,8 @@ export interface Bladeburner { * * Returns an array of strings containing the names of all general Bladeburner skills. * - * @ramCost 0.4 GB - * @returns {string[]} Array of strings containing the names of all general Bladeburner skills. + * @remarks 0.4 GB + * @returns Array of strings containing the names of all general Bladeburner skills. */ getSkillNames(): BladeburnerSkills[]; @@ -2471,10 +2692,10 @@ export interface Bladeburner { * Attempts to start the specified Bladeburner action. * Returns true if the action was started successfully, and false otherwise. * - * @ramCost 4 GB - * @param {string} type Type of action. - * @param {string} name Name of action. Must be an exact match - * @returns {boolean} True if the action was started successfully, and false otherwise. + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match + * @returns True if the action was started successfully, and false otherwise. */ startAction( type: BladeburnerActTypes, @@ -2487,7 +2708,7 @@ export interface Bladeburner { * * Stops the current Bladeburner action. * - * @ramCost 2 GB + * @remarks 2 GB */ stopBladeburnerAction(): void; @@ -2498,8 +2719,8 @@ export interface Bladeburner { * Returns an object that represents the player’s current Bladeburner action. * If the player is not performing an action, the function will return an object with the ‘type’ property set to “Idle”. * - * @ramCost 1 GB - * @returns {object} Object that represents the player’s current Bladeburner action. + * @remarks 1 GB + * @returns Object that represents the player’s current Bladeburner action. */ getCurrentAction(): BladeburnerCurAction; @@ -2509,10 +2730,10 @@ export interface Bladeburner { * * Returns the number of seconds it takes to complete the specified action * - * @ramCost 4 GB - * @param {string} type Type of action. - * @param {string} name Name of action. Must be an exact match. - * @returns {number} Number of seconds it takes to complete the specified action. + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns Number of seconds it takes to complete the specified action. */ getActionTime( type: BladeburnerActTypes, @@ -2527,10 +2748,10 @@ export interface Bladeburner { * This chance is returned as a decimal value, NOT a percentage * (e.g. if you have an estimated success chance of 80%, then this function will return 0.80, NOT 80). * - * @ramCost 4 GB - * @param {string} type Type of action. - * @param {string} name Name of action. Must be an exact match. - * @returns {number} Estimated success chance for the specified action. + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns Estimated success chance for the specified action. */ getActionEstimatedSuccessChance( type: BladeburnerActTypes, @@ -2545,11 +2766,11 @@ export interface Bladeburner { * completing the specified action. * Note that this value is an ‘average’ and the real reputation gain may vary slightly from this value. * - * @ramCost 4 GB - * @param {string} type Type of action. - * @param {string} name Name of action. Must be an exact match. - * @param {number} [level] Optional action level at which to calculate the gain - * @returns {number} Average Bladeburner reputation gain for successfully completing the specified action. + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @param level - Optional action level at which to calculate the gain + * @returns Average Bladeburner reputation gain for successfully completing the specified action. */ getActionRepGain( type: BladeburnerActTypes, @@ -2568,10 +2789,10 @@ export interface Bladeburner { * This function will return 1 for BlackOps not yet completed regardless of wether * the player has the required rank to attempt the mission or not. * - * @ramCost 4 GB - * @param {string} type Type of action. - * @param {string} name Name of action. Must be an exact match. - * @returns {number} Remaining count of the specified action. + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns Remaining count of the specified action. */ getActionCountRemaining( type: BladeburnerActTypes, @@ -2586,10 +2807,10 @@ export interface Bladeburner { * * Returns -1 if an invalid action is specified. * - * @ramCost 4 GB - * @param {string} type Type of action. - * @param {string} name Name of action. Must be an exact match. - * @returns {number} Maximum level of the specified action. + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns Maximum level of the specified action. */ getActionMaxLevel( type: BladeburnerActTypes, @@ -2604,10 +2825,10 @@ export interface Bladeburner { * * Returns -1 if an invalid action is specified. * - * @ramCost 4 GB - * @param {string} type Type of action. - * @param {string} name Name of action. Must be an exact match. - * @returns {number} Current level of the specified action. + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns Current level of the specified action. */ getActionCurrentLevel( type: BladeburnerActTypes, @@ -2622,10 +2843,10 @@ export interface Bladeburner { * * Returns false if an invalid action is specified. * - * @ramCost 4 GB - * @param {string} type Type of action. - * @param {string} name Name of action. Must be an exact match. - * @returns {boolean} True if the action is set to autolevel, and false otherwise. + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns True if the action is set to autolevel, and false otherwise. */ getActionAutolevel( type: BladeburnerActTypes, @@ -2638,10 +2859,10 @@ export interface Bladeburner { * * Enable/disable autoleveling for the specified action. * - * @ramCost 4 GB - * @param {string} type Type of action. - * @param {string} name Name of action. Must be an exact match. - * @param {boolean} autoLevel Whether or not to autolevel this action + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @param autoLevel - Whether or not to autolevel this action */ setActionAutolevel( type: BladeburnerActTypes, @@ -2655,10 +2876,10 @@ export interface Bladeburner { * * Set the level for the specified action. * - * @ramCost 4 GB - * @param {string} type Type of action. - * @param {string} name Name of action. Must be an exact match. - * @param {number} level Level to set this action to. + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @param level - Level to set this action to. */ setActionLevel( type: BladeburnerActTypes, @@ -2672,8 +2893,8 @@ export interface Bladeburner { * * Returns the player’s Bladeburner Rank. * - * @ramCost 4 GB - * @returns {number} Player’s Bladeburner Rank. + * @remarks 4 GB + * @returns Player’s Bladeburner Rank. */ getRank(): number; @@ -2685,9 +2906,9 @@ export interface Bladeburner { * * Returns -1 if an invalid action is specified. * - * @ramCost 2 GB - * @param {string} name Name of BlackOp. Must be an exact match. - * @returns {number} Rank required to complete this BlackOp. + * @remarks 2 GB + * @param name - Name of BlackOp. Must be an exact match. + * @returns Rank required to complete this BlackOp. */ getBlackOpRank(name: BladeburnerBlackOps): number; @@ -2697,8 +2918,8 @@ export interface Bladeburner { * * Returns the number of Bladeburner skill points you have. * - * @ramCost 4 GB - * @returns {number} Number of Bladeburner skill points you have. + * @remarks 4 GB + * @returns Number of Bladeburner skill points you have. */ getSkillPoints(): number; @@ -2710,9 +2931,9 @@ export interface Bladeburner { * * The function returns -1 if an invalid skill name is passed in. * - * @ramCost 4 GB - * @param {string} skillName Name of skill. Case-sensitive and must be an exact match - * @returns {number} Level in the specified skill. + * @remarks 4 GB + * @param skillName - Name of skill. Case-sensitive and must be an exact match + * @returns Level in the specified skill. */ getSkillLevel(name: BladeburnerSkills): number; @@ -2724,9 +2945,9 @@ export interface Bladeburner { * * The function returns -1 if an invalid skill name is passed in. * - * @ramCost 4 GB - * @param {string} skillName Name of skill. Case-sensitive and must be an exact match - * @returns {number} Number of skill points needed to upgrade the specified skill. + * @remarks 4 GB + * @param skillName - Name of skill. Case-sensitive and must be an exact match + * @returns Number of skill points needed to upgrade the specified skill. */ getSkillUpgradeCost(name: BladeburnerSkills): number; @@ -2738,9 +2959,9 @@ export interface Bladeburner { * * Returns true if the skill is successfully upgraded, and false otherwise. * - * @ramCost 4 GB - * @param {string} skillName Name of skill to be upgraded. Case-sensitive and must be an exact match - * @returns {boolean} true if the skill is successfully upgraded, and false otherwise. + * @remarks 4 GB + * @param skillName - Name of skill to be upgraded. Case-sensitive and must be an exact match + * @returns true if the skill is successfully upgraded, and false otherwise. */ upgradeSkill(name: BladeburnerSkills): boolean; @@ -2752,10 +2973,10 @@ export interface Bladeburner { * * Setting a team is only applicable for Operations and BlackOps. This function will return 0 for other action types. * - * @ramCost 4 GB - * @param {string} type Type of action. - * @param {string} name Name of action. Must be an exact match. - * @returns {number} Number of Bladeburner team members that were assigned to the specified action. + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @returns Number of Bladeburner team members that were assigned to the specified action. */ getTeamSize( type: BladeburnerActTypes, @@ -2770,11 +2991,11 @@ export interface Bladeburner { * * Returns the team size that was set, or -1 if the function failed. * - * @ramCost 4 GB - * @param {string} type Type of action. - * @param {string} name Name of action. Must be an exact match. - * @param {number} size Number of team members to set. Will be converted using Math.round(). - * @returns {number} Number of Bladeburner team members you assigned to the specified action. + * @remarks 4 GB + * @param type - Type of action. + * @param name - Name of action. Must be an exact match. + * @param size - Number of team members to set. Will be converted using Math.round(). + * @returns Number of Bladeburner team members you assigned to the specified action. */ setTeamSize( type: BladeburnerActTypes, @@ -2789,9 +3010,9 @@ export interface Bladeburner { * Returns the estimated number of Synthoids in the specified city, * or -1 if an invalid city was specified. * - * @ramCost 4 GB - * @param {string} cityName Name of city. Case-sensitive - * @returns {number} Estimated number of Synthoids in the specified city. + * @remarks 4 GB + * @param cityName - Name of city. Case-sensitive + * @returns Estimated number of Synthoids in the specified city. */ getCityEstimatedPopulation(name: City): number; @@ -2802,9 +3023,9 @@ export interface Bladeburner { * Returns the estimated number of Synthoid communities in the specified city, * or -1 if an invalid city was specified. * - * @ramCost 4 GB - * @param {string} cityName Name of city. Case-sensitive - * @returns {number} Number of Synthoids communities in the specified city. + * @remarks 4 GB + * @param cityName - Name of city. Case-sensitive + * @returns Number of Synthoids communities in the specified city. */ getCityCommunities(name: City): number; @@ -2815,9 +3036,9 @@ export interface Bladeburner { * Returns the chaos in the specified city, * or -1 if an invalid city was specified. * - * @ramCost 4 GB - * @param {string} cityName Name of city. Case-sensitive - * @returns {number} Chaos in the specified city. + * @remarks 4 GB + * @param cityName - Name of city. Case-sensitive + * @returns Chaos in the specified city. */ getCityChaos(name: City): number; @@ -2827,8 +3048,8 @@ export interface Bladeburner { * * Returns the city that the player is currently in (for Bladeburner). * - * @ramCost 4 GB - * @returns {string} City that the player is currently in (for Bladeburner). + * @remarks 4 GB + * @returns City that the player is currently in (for Bladeburner). */ getCity(): City; @@ -2840,9 +3061,9 @@ export interface Bladeburner { * * Returns true if successful, and false otherwise * - * @ramCost 4 GB - * @param {string} cityName Name of city. Case-sensitive - * @returns {boolean} true if successful, and false otherwise + * @remarks 4 GB + * @param cityName - Name of city. Case-sensitive + * @returns true if successful, and false otherwise */ switchCity(name: City): boolean; @@ -2853,14 +3074,14 @@ export interface Bladeburner { * Returns an array with two elements: * * [Current stamina, Max stamina] * @example - * \`\`\`js + * ```js * function getStaminaPercentage() { * let res = bladeburner.getStamina(); * return res[0] / res[1]; * } - * \`\`\` - * @ramCost 4 GB - * @returns {[number, number]} Array containing current stamina and max stamina. + * ``` + * @remarks 4 GB + * @returns Array containing current stamina and max stamina. */ getStamina(): [number, number]; @@ -2874,8 +3095,8 @@ export interface Bladeburner { * * Returns false otherwise. * - * @ramCost 4 GB - * @returns {boolean} True if you successfully join the Bladeburner faction, or if you are already a member, false otherwise. + * @remarks 4 GB + * @returns True if you successfully join the Bladeburner faction, or if you are already a member, false otherwise. */ joinBladeburnerFaction(): boolean; @@ -2889,8 +3110,8 @@ export interface Bladeburner { * * Returns false otherwise. * - * @ramCost 4 GB - * @returns {boolean} True if you successfully join the Bladeburner division, or if you are already a member, false otherwise. + * @remarks 4 GB + * @returns True if you successfully join the Bladeburner division, or if you are already a member, false otherwise. */ joinBladeburnerDivision(): boolean; @@ -2906,33 +3127,36 @@ export interface Bladeburner { * For example, if an action takes 30 seconds to complete but you’ve accumulated over * 30 seconds in bonus time, then the action will only take 6 seconds in real life to complete. * - * @ramCost 0 GB - * @returns {number} Amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic. + * @remarks 0 GB + * @returns Amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic. */ getBonusTime(): number; } +/** + * @public + */ interface CodingContract { /** * Attempts to solve the Coding Contract with the provided solution. * - * @ramCost 10 GB - * @param {string|string[]|number}answer Solution for the contract. - * @param {string} fn Filename of the contract. - * @param {string} [host] Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. - * @returns {boolean} True if the solution was correct, false otherwise. + * @remarks 10 GB + * @param answer - Solution for the contract. + * @param fn - Filename of the contract. + * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. + * @returns True if the solution was correct, false otherwise. */ attempt(answer: string | string[] | number, fn: string, host?: Host): boolean; /** * Attempts to solve the Coding Contract with the provided solution. * - * @ramCost 10 GB - * @param {string|string[]|number}answer Solution for the contract. - * @param {string} fn Filename of the contract. - * @param {string} [host] Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. - * @param {object} [opts] Optional parameters for configuring function behavior. - * @returns {boolean} True if the solution was correct, false otherwise. If the returnReward option is configured, then the function will instead return a string. If the contract is successfully solved, the string will contain a description of the contract’s reward. Otherwise, it will be an empty string. + * @remarks 10 GB + * @param answer - Solution for the contract. + * @param fn - Filename of the contract. + * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. + * @param opts - Optional parameters for configuring function behavior. + * @returns True if the solution was correct, false otherwise. If the returnReward option is configured, then the function will instead return a string. If the contract is successfully solved, the string will contain a description of the contract’s reward. Otherwise, it will be an empty string. */ attempt(answer: string | string[] | number, fn: string, host?: Host, opts?: CodingAttemptOptions): boolean | string; @@ -2940,20 +3164,20 @@ interface CodingContract { * Returns a name describing the type of problem posed by the Coding Contract. * (e.g. Find Largest Prime Factor, Total Ways to Sum, etc.) * - * @ramCost 5 GB - * @param {string} fn Filename of the contract. - * @param {string} [host] Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. - * @returns {string} Name describing the type of problem posed by the Coding Contract. + * @remarks 5 GB + * @param fn - Filename of the contract. + * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. + * @returns Name describing the type of problem posed by the Coding Contract. */ getContractType(fn: string, host?: Host): CodingContractTypes; /** * Get the full text description for the problem posed by the Coding Contract. * - * @ramCost 5 GB - * @param {string} fn Filename of the contract. - * @param {string} [host] Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. - * @returns {string} Contract’s text description. + * @remarks 5 GB + * @param fn - Filename of the contract. + * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. + * @returns Contract’s text description. */ getDescription(fn: string, host?: Host): string; @@ -2962,32 +3186,35 @@ interface CodingContract { * Note that this is not the same as the contract’s description. * This is just the data that the contract wants you to act on in order to solve * - * @ramCost 5 GB - * @param {string} fn Filename of the contract. - * @param {string} [host] Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. - * @returns {string} The specified contract’s data; + * @remarks 5 GB + * @param fn - Filename of the contract. + * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. + * @returns The specified contract’s data; */ getData(fn: string, host?: Host): string; /** * Get the number of tries remaining on the contract before it self-destructs. * - * @ramCost 2 GB - * @param {string} fn Filename of the contract. - * @param {string} [host] Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. - * @returns {number} How many attempts are remaining for the contract; + * @remarks 2 GB + * @param fn - Filename of the contract. + * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided. + * @returns How many attempts are remaining for the contract; */ getNumTriesRemaining(fn: string, host?: Host): number; } +/** + * @public + */ interface Gang { /** * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function. * * Get the names of all Gang members * - * @ramCost 1 GB - * @returns {string[]} Names of all Gang members. + * @remarks 1 GB + * @returns Names of all Gang members. */ getMemberNames(): string[]; @@ -2996,8 +3223,8 @@ interface Gang { * * Get general information about the gang. * - * @ramCost 2 GB - * @returns {object} Object containing general information about the gang. + * @remarks 2 GB + * @returns Object containing general information about the gang. */ getGangInformation(): GangGenInfo; @@ -3006,8 +3233,8 @@ interface Gang { * * Get territory and power information about all gangs. * - * @ramCost 2 GB - * @returns {object} Object containing territory and power information about all gangs. + * @remarks 2 GB + * @returns Object containing territory and power information about all gangs. */ getOtherGangInformation(): GangOtherInfo; @@ -3016,9 +3243,9 @@ interface Gang { * * Get stat and equipment-related information about a Gang Member * - * @ramCost 2 GB - * @param {string} name Name of member. - * @returns {object} Object containing stat and equipment-related information about a Gang Member. + * @remarks 2 GB + * @param name - Name of member. + * @returns Object containing stat and equipment-related information about a Gang Member. */ getMemberInformation(name: string): GangMemberInfo; @@ -3027,8 +3254,8 @@ interface Gang { * * Returns boolean indicating whether a member can currently be recruited * - * @ramCost 1 GB - * @returns {boolean} True if a member can currently be recruited, false otherwise. + * @remarks 1 GB + * @returns True if a member can currently be recruited, false otherwise. */ canRecruitMember(): boolean; @@ -3041,9 +3268,9 @@ interface Gang { * * Cannot currently recruit a new member * * There already exists a member with the specified name * - * @ramCost 2 GB - * @param {string} name Name of member to recruit. - * @returns {boolean} True if the member was successfully recruited, false otherwise. + * @remarks 2 GB + * @param name - Name of member to recruit. + * @returns True if the member was successfully recruited, false otherwise. */ recruitMember(name: string): boolean; @@ -3052,8 +3279,8 @@ interface Gang { * * Get the name of all valid tasks that Gang members can be assigned to. * - * @ramCost 1 GB - * @returns {string[]} All valid tasks that Gang members can be assigned to. + * @remarks 1 GB + * @returns All valid tasks that Gang members can be assigned to. */ getTaskNames(): GangTasks[]; @@ -3063,10 +3290,10 @@ interface Gang { * Attempts to assign the specified Gang Member to the specified task. * If an invalid task is specified, the Gang member will be set to idle (“Unassigned”). * - * @ramCost 2 GB - * @param {string} memberName Name of Gang member to assign. - * @param {string} taskName Task to assign. - * @returns {boolean} True if the Gang Member was successfully assigned to the task, false otherwise. + * @remarks 2 GB + * @param memberName - Name of Gang member to assign. + * @param taskName - Task to assign. + * @returns True if the Gang Member was successfully assigned to the task, false otherwise. */ setMemberTask(memberName: string, taskName: GangTasks): boolean; @@ -3075,9 +3302,9 @@ interface Gang { * * Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next. * - * @ramCost 1 GB - * @param {string} name Name of the task. - * @returns {boolean} Detailed stats of a task. + * @remarks 1 GB + * @param name - Name of the task. + * @returns Detailed stats of a task. */ getTaskStats(name: GangTasks): GangTasksStats; @@ -3087,8 +3314,8 @@ interface Gang { * Get the name of all possible equipment/upgrades you can purchase for your Gang Members. * This includes Augmentations. * - * @ramCost 1 GB - * @returns {string[]} Names of all Equpiment/Augmentations. + * @remarks 1 GB + * @returns Names of all Equpiment/Augmentations. */ getEquipmentNames(): (GangEquipment | GangAugmentations)[]; @@ -3098,9 +3325,9 @@ interface Gang { * Get the amount of money it takes to purchase a piece of Equipment or an Augmentation. * If an invalid Equipment/Augmentation is specified, this function will return Infinity. * - * @ramCost 2 GB - * @param {string} equipName Name of equipment. - * @returns {number} Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments + * @remarks 2 GB + * @param equipName - Name of equipment. + * @returns Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments */ getEquipmentCost(equipName: GangEquipment | GangAugmentations): number; @@ -3109,9 +3336,9 @@ interface Gang { * * Get the specified equipment type. * - * @ramCost 2 GB - * @param {string} equipName Name of equipment. - * @returns {number} Type of the equipment. + * @remarks 2 GB + * @param equipName - Name of equipment. + * @returns Type of the equipment. */ getEquipmentType(equipName: GangEquipment | GangAugmentations): GangEquipmentType; @@ -3120,9 +3347,9 @@ interface Gang { * * Get the specified equipment stats. * - * @ramCost 2 GB - * @param {string} equipName Name of equipment. - * @returns {object} A dictionary containing the stats of the equipment. + * @remarks 2 GB + * @param equipName - Name of equipment. + * @returns A dictionary containing the stats of the equipment. */ getEquipmentStats(equipName: GangEquipment | GangAugmentations): GangEquipmentStats; @@ -3131,10 +3358,10 @@ interface Gang { * * Attempt to purchase the specified Equipment/Augmentation for the specified Gang member. * - * @ramCost 4 GB - * @param {string} memberName Name of Gang member to purchase the equipment for. - * @param {string} equipName Name of Equipment/Augmentation to purchase. - * @returns {boolean} True if the equipment was successfully purchased. False otherwise + * @remarks 4 GB + * @param memberName - Name of Gang member to purchase the equipment for. + * @param equipName - Name of Equipment/Augmentation to purchase. + * @returns True if the equipment was successfully purchased. False otherwise */ purchaseEquipment(memberName: string, equipName: GangEquipment | GangAugmentations): boolean; @@ -3143,9 +3370,9 @@ interface Gang { * * Ascend the specified Gang Member. * - * @ramCost 4 GB - * @param {string} memberName Name of member to ascend. - * @returns {object} Object with info about the ascension results. + * @remarks 4 GB + * @param memberName - Name of member to ascend. + * @returns Object with info about the ascension results. */ ascendMember(memberName: string): GangMemberAscension; @@ -3154,8 +3381,8 @@ interface Gang { * * Set whether or not the gang should engage in territory warfare * - * @ramCost 2 GB - * @param {boolean} engage Whether or not to engage in territory warfare. + * @remarks 2 GB + * @param engage - Whether or not to engage in territory warfare. */ setTerritoryWarfare(engage: boolean): void; @@ -3164,9 +3391,9 @@ interface Gang { * * Returns the chance you have to win a clash with the specified gang. The chance is returned in decimal form, not percentage * - * @ramCost 4 GB - * @param {string} gangName Target gang - * @returns {number} Chance you have to win a clash with the specified gang. + * @remarks 4 GB + * @param gangName - Target gang + * @returns Chance you have to win a clash with the specified gang. */ getChanceToWinClash(gangName: GangName): number; @@ -3179,20 +3406,23 @@ interface Gang { * * “Bonus time” makes the game progress faster, up to 10x the normal speed. * - * @ramCost 0 GB - * @returns {number} Bonus time for the Gang mechanic in seconds. + * @remarks 0 GB + * @returns Bonus time for the Gang mechanic in seconds. */ getBonusTime(): number; } +/** + * @public + */ interface Sleeve { /** * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function. * * Return the number of duplicate sleeves the player has. * - * @ramCost 4 GB - * @returns {number} number of duplicate sleeves the player has. + * @remarks 4 GB + * @returns number of duplicate sleeves the player has. */ getNumSleeves(): number; @@ -3201,9 +3431,9 @@ interface Sleeve { * * Return a structure containing the stats of the sleeve. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to get stats of. - * @returns {object} Object containing the stats of the sleeve. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to get stats of. + * @returns Object containing the stats of the sleeve. */ getSleeveStats(sleeveNumber: number): SleeveStats; @@ -3212,9 +3442,9 @@ interface Sleeve { * * Return a struct containing tons of information about this sleeve * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to retrieve information. - * @returns {object} Object containing tons of information about this sleeve. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to retrieve information. + * @returns Object containing tons of information about this sleeve. */ getInformation(sleeveNumber: number): SleeveInformation; @@ -3223,9 +3453,9 @@ interface Sleeve { * * Return the current task that the sleeve is performing. type is set to “Idle” if the sleeve isn’t doing anything. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to retrieve task from. - * @returns {object} Object containing information the current task that the sleeve is performing. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to retrieve task from. + * @returns Object containing information the current task that the sleeve is performing. */ getTask(sleeveNumber: number): SleeveTask; @@ -3234,9 +3464,9 @@ interface Sleeve { * * Return a boolean indicating whether or not this action was set successfully. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to start recovery. - * @returns {boolean} True if this action was set successfully, false otherwise. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to start recovery. + * @returns True if this action was set successfully, false otherwise. */ setToShockRecovery(sleeveNumber: number): boolean; @@ -3245,9 +3475,9 @@ interface Sleeve { * * Return a boolean indicating whether or not this action was set successfully. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to start synchronizing. - * @returns {boolean} True if this action was set successfully, false otherwise. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to start synchronizing. + * @returns True if this action was set successfully, false otherwise. */ setToSynchronize(sleeveNumber: number): boolean; @@ -3258,10 +3488,10 @@ interface Sleeve { * * Returns false if an invalid action is specified. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to start commiting crime. - * @param {string} name Name of the crime. Must be an exact match. - * @returns {boolean} True if this action was set successfully, false otherwise. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to start commiting crime. + * @param name - Name of the crime. Must be an exact match. + * @returns True if this action was set successfully, false otherwise. */ setToCommitCrime(sleeveNumber: number, name: Crime): boolean; @@ -3270,11 +3500,11 @@ interface Sleeve { * * Return a boolean indicating whether or not the sleeve started working or this faction. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to work for the faction. - * @param {string} factionName Name of the faction to work for. - * @param {string} factionWorkType Name of the action to perform for this faction. - * @returns {boolean} True if the sleeve started working on this faction, false otherwise. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to work for the faction. + * @param factionName - Name of the faction to work for. + * @param factionWorkType - Name of the action to perform for this faction. + * @returns True if the sleeve started working on this faction, false otherwise. */ setToFactionWork(sleeveNumber: number, factionName: FactionName, factionWorkType: FactionWork): boolean; @@ -3283,10 +3513,10 @@ interface Sleeve { * * Return a boolean indicating whether or not the sleeve started working or this company. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to work for the company. - * @param {string} companyName Name of the company to work for. - * @returns {boolean} True if the sleeve started working on this company, false otherwise. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to work for the company. + * @param companyName - Name of the company to work for. + * @returns True if the sleeve started working on this company, false otherwise. */ setToCompanyWork(sleeveNumber: number, companyName: CompanyName): boolean; @@ -3295,11 +3525,11 @@ interface Sleeve { * * Return a boolean indicating whether or not this action was set successfully. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to start taking class. - * @param {string} university Name of the university to attend. - * @param {string} className Name of the class to follow. - * @returns {boolean} True if this action was set successfully, false otherwise. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to start taking class. + * @param university - Name of the university to attend. + * @param className - Name of the class to follow. + * @returns True if this action was set successfully, false otherwise. */ setToUniversityCourse(sleeveNumber: number, university: University, className: UniversityCourse): boolean; @@ -3308,11 +3538,11 @@ interface Sleeve { * * Return a boolean indicating whether or not the sleeve started working out. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to workout at the gym. - * @param {string} gymName Name of the gym. - * @param {string} stat Name of the stat to train. - * @returns {boolean} True if the sleeve started working out, false otherwise. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to workout at the gym. + * @param gymName - Name of the gym. + * @param stat - Name of the stat to train. + * @returns True if the sleeve started working out, false otherwise. */ setToGymWorkout(sleeveNumber: number, gymName: Gym, stat: GymStat): boolean; @@ -3321,10 +3551,10 @@ interface Sleeve { * * Return a boolean indicating whether or not the sleeve reached destination. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to travel. - * @param {string} cityName Name of the destination city. - * @returns {boolean} True if the sleeve reached destination, false otherwise. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to travel. + * @param cityName - Name of the destination city. + * @returns True if the sleeve reached destination, false otherwise. */ travel(sleeveNumber: number, cityName: City): boolean; @@ -3333,9 +3563,9 @@ interface Sleeve { * * Return a list of augmentation names that this sleeve has installed. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to retrieve augmentations from. - * @returns {string[]} List of augmentation names that this sleeve has installed. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to retrieve augmentations from. + * @returns List of augmentation names that this sleeve has installed. */ getSleeveAugmentations(sleeveNumber: number): AugmentName[]; @@ -3344,9 +3574,9 @@ interface Sleeve { * * Return a list of augmentations that the player can buy for this sleeve. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to retrieve purchasable augmentations from. - * @returns {string[]} List of augmentations that the player can buy for this sleeve. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to retrieve purchasable augmentations from. + * @returns List of augmentations that the player can buy for this sleeve. */ getSleevePurchasableAugs(sleeveNumber: number): AugmentPair[]; @@ -3355,14 +3585,17 @@ interface Sleeve { * * Return true if the aug was purchased and installed on the sleeve. * - * @ramCost 4 GB - * @param {number} sleeveNumber Index of the sleeve to buy an aug for. - * @param {string} augName Name of the aug to buy. Must be an exact match. - * @returns {boolean} True if the aug was purchased and installed on the sleeve, false otherwise. + * @remarks 4 GB + * @param sleeveNumber - Index of the sleeve to buy an aug for. + * @param augName - Name of the aug to buy. Must be an exact match. + * @returns True if the aug was purchased and installed on the sleeve, false otherwise. */ purchaseSleeveAug(sleeveNumber: number, augName: AugmentName): boolean; } +/** + * @public + */ export interface NS extends Singularity { /** * Not all functions in the Hacknet Node API are immediately available. @@ -3371,27 +3604,27 @@ export interface NS extends Singularity { * * If you want to see what your script is doing you will have to print to the logs yourself. * - * @ramCost 4 GB + * @remarks 4 GB */ readonly hacknet: HackNet; /** - * @ramCost 0 GB + * @remarks 0 GB */ readonly bladeburner: Bladeburner; /** - * @ramCost 0 GB + * @remarks 0 GB */ readonly codingcontract: CodingContract; /** - * @ramCost 0 GB + * @remarks 0 GB */ readonly gang: Gang; /** - * @ramCost 0 GB + * @remarks 0 GB */ readonly sleeve: Sleeve; /** - * @ramCost 0 GB + * @remarks 0 GB */ readonly stock: TIX; @@ -3400,12 +3633,12 @@ export interface NS extends Singularity { * array using the [] operator (args[0], args[1], etc…). * * It is also possible to get the number of arguments that was passed into a script using: - * \`\`\`js + * ```js * args.length - * \`\`\` + * ``` * WARNING: Do not try to modify the args array. This will break the game. * - * @ramCost 0 GB + * @remarks 0 GB */ readonly args: any[]; @@ -3422,15 +3655,15 @@ export interface NS extends Singularity { * A successful \`hack()\` on a server will raise that server’s security level by 0.002. * * @example - * \`\`\`js + * ```js * hack("foodnstuff"); * hack("10.1.2.3"); * hack("foodnstuff", { threads: 5 }); // Only use 5 threads to hack - * \`\`\` - * @ramCost 0.1 GB - * @param {string} host Hostname or IP of the target server to hack. - * @param {object} [opts] Optional parameters for configuring function behavior. - * @returns {Promise} The amount of money stolen if the hack is successful, and zero otherwise. + * ``` + * @remarks 0.1 GB + * @param host - Hostname or IP of the target server to hack. + * @param opts - Optional parameters for configuring function behavior. + * @returns The amount of money stolen if the hack is successful, and zero otherwise. */ hack(host: Host, opts?: BasicHGWOptions): Promise; @@ -3443,19 +3676,19 @@ export interface NS extends Singularity { * higher-level servers have higher growth rates. The getServerGrowth() function can be used * to obtain a server’s growth rate. * - * Like {@link hack}, \`grow\` can be called on any server, regardless of where the script is running. + * Like hack, \`grow\` can be called on any server, regardless of where the script is running. * The grow() command requires root access to the target server, but there is no required hacking * level to run the command. It also raises the security level of the target server by 0.004. * * @example - * \`\`\`js + * ```js * grow("foodnstuff"); * grow("foodnstuff", { threads: 5 }); // Only use 5 threads to grow - * \`\`\` - * @ramCost 0.15 GB - * @param {string} host Hostname or IP of the target server to grow. - * @param {object} [opts] Optional parameters for configuring function behavior. - * @returns {Promise} The number by which the money on the server was multiplied for the growth. + * ``` + * @remarks 0.15 GB + * @param host - Hostname or IP of the target server to grow. + * @param opts - Optional parameters for configuring function behavior. + * @returns The number by which the money on the server was multiplied for the growth. */ grow(host: Host, opts?: BasicHGWOptions): Promise; @@ -3464,34 +3697,34 @@ export interface NS extends Singularity { * The runtime for this command depends on your hacking level and the target server’s security * level. This function lowers the security level of the target server by 0.05. * - * Like {@link hack} and {@link grow}, \`weaken\` can be called on any server, regardless of + * Like hack and grow, \`weaken\` can be called on any server, regardless of * where the script is running. This command requires root access to the target server, but * there is no required hacking level to run the command. * * @example - * \`\`\`js + * ```js * weaken("foodnstuff"); * weaken("foodnstuff", { threads: 5 }); // Only use 5 threads to weaken - * \`\`\` - * @ramCost 0.15 GB - * @param {string} host Hostname or IP of the target server to weaken. - * @param {object} [opts] Optional parameters for configuring function behavior. - * @returns {Promise} The amount by which the target server’s security level was decreased. This is equivalent to 0.05 multiplied by the number of script threads. + * ``` + * @remarks 0.15 GB + * @param host - Hostname or IP of the target server to weaken. + * @param opts - Optional parameters for configuring function behavior. + * @returns The amount by which the target server’s security level was decreased. This is equivalent to 0.05 multiplied by the number of script threads. */ weaken(host: Host, opts?: BasicHGWOptions): Promise; /** * Returns the security decrease that would occur if a weaken with this many threads happened. * - * @ramCost 1 GB - * @param {number} threads Amount of threads that will be used. - * @param {number} cores Optional. The number of cores of the server that would run weaken. - * @returns {number} The security decrease. + * @remarks 1 GB + * @param threads - Amount of threads that will be used. + * @param cores - Optional. The number of cores of the server that would run weaken. + * @returns The security decrease. */ weakenAnalyze(threads: number, cores?: number): number; /** - * This function returns the number of script threads you need when running the {@link hack} command + * This function returns the number of script threads you need when running the hack command * to steal the specified amount of money from the target server. * If hackAmount is less than zero or greater than the amount of money available on the server, * then this function returns -1. @@ -3499,15 +3732,15 @@ export interface NS extends Singularity { * Warning: The value returned by this function isn’t necessarily a whole number. * * @example - * \`\`\`js + * ```js * //For example, let’s say the foodnstuff server has $10m and you run: * hackAnalyzeThreads("foodnstuff", 1e6); - * //If this function returns 50, this means that if your next {@link hack} call is run on a script with 50 threads, it will steal $1m from the foodnstuff server. - * \`\`\` - * @ramCost 1 GB - * @param {string} host Hostname or IP of the target server to analyze. - * @param {number} hackAmount Amount of money you want to hack from the server. - * @returns {number} The number of threads needed to {@link hack} the server for hackAmount money. + * //If this function returns 50, this means that if your next hack call is run on a script with 50 threads, it will steal $1m from the foodnstuff server. + * ``` + * @remarks 1 GB + * @param host - Hostname or IP of the target server to analyze. + * @param hackAmount - Amount of money you want to hack from the server. + * @returns The number of threads needed to hack the server for hackAmount money. */ hackAnalyzeThreads(host: Host, hackAmount: number): number; @@ -3517,23 +3750,23 @@ export interface NS extends Singularity { * (Netscript functions typically return in decimal form, but not this one). * * @example - * \`\`\`js + * ```js * //For example, assume the following returns 1: * hackAnalyzePercent("foodnstuff"); - * //This means that if hack the foodnstuff server, then you will steal 1% of its total money. If you {@link hack} using N threads, then you will steal N% of its total money. - * \`\`\` - * @ramCost 1 GB - * @param {string} host Hostname or IP of the target server. - * @returns {number} The percentage of money you will steal from the target server with a single hack. + * //This means that if hack the foodnstuff server, then you will steal 1% of its total money. If you hack using N threads, then you will steal N% of its total money. + * ``` + * @remarks 1 GB + * @param host - Hostname or IP of the target server. + * @returns The percentage of money you will steal from the target server with a single hack. */ hackAnalyzePercent(host: Host): number; /** * Returns the security increase that would occur if a hack with this many threads happened. * - * @ramCost 1 GB - * @param {number} threads Amount of threads that will be used. - * @returns {number} The security increase. + * @remarks 1 GB + * @param threads - Amount of threads that will be used. + * @returns The security increase. */ hackAnalyzeSecurity(threads: number): number; @@ -3542,9 +3775,9 @@ export interface NS extends Singularity { * * This returned value is in decimal form, not percentage. * - * @ramCost 1 GB - * @param {string} host Hostname or IP of the target server. - * @returns {number} The chance you have of successfully hacking the target server. + * @remarks 1 GB + * @param host - Hostname or IP of the target server. + * @returns The chance you have of successfully hacking the target server. */ hackChance(host: Host): number; @@ -3556,56 +3789,56 @@ export interface NS extends Singularity { * Warning: The value returned by this function isn’t necessarily a whole number. * * @example - * \`\`\`js - * //For example, if you want to determine how many {@link grow} calls you need to double the amount of money on foodnstuff, you would use: + * ```js + * //For example, if you want to determine how many grow calls you need to double the amount of money on foodnstuff, you would use: * growthAnalyze("foodnstuff", 2); - * //If this returns 100, then this means you need to call {@link grow} 100 times in order to double the money (or once with 100 threads). - * \`\`\` - * @ramCost 1 GB - * @param {string} host Hostname or IP of the target server. - * @param {number} growthAmount Multiplicative factor by which the server is grown. Decimal form.. - * @returns {number} The amount of {@link grow} calls needed to grow the specified server by the specified amount + * //If this returns 100, then this means you need to call grow 100 times in order to double the money (or once with 100 threads). + * ``` + * @remarks 1 GB + * @param host - Hostname or IP of the target server. + * @param growthAmount - Multiplicative factor by which the server is grown. Decimal form.. + * @returns The amount of grow calls needed to grow the specified server by the specified amount */ growthAnalyze(host: Host, growthAmount: number): number; /** * Returns the security increase that would occur if a grow with this many threads happened. * - * @ramCost 1 GB - * @param {number} threads Amount of threads that will be used. - * @returns {number} The security increase. + * @remarks 1 GB + * @param threads - Amount of threads that will be used. + * @returns The security increase. */ growthAnalyzeSecurity(threads: number): number; /** * Suspends the script for n milliseconds. * - * @ramCost 0 GB - * @param {number} millis Number of milliseconds to sleep. - * @returns {Promise} + * @remarks 0 GB + * @param millis - Number of milliseconds to sleep. + * @returns */ sleep(millis: number): Promise; /** * Prints a value or a variable to the script’s logs. * - * @ramCost 0 GB - * @param {string} msg Value to be printed. + * @remarks 0 GB + * @param msg - Value to be printed. */ print(msg: string | number | string[] | number[]): void; /** * Prints a value or a variable to the Terminal. * - * @ramCost 0 GB - * @param {string} msg Value to be printed. + * @remarks 0 GB + * @param msg - Value to be printed. */ tprint(msg: string | number | string[] | number[]): void; /** * Clears the script’s logs. * - * @ramCost 0 GB + * @remarks 0 GB */ clearLog(): void; @@ -3617,11 +3850,11 @@ export interface NS extends Singularity { * This only stops a function from logging when the function is successful. * If the function fails, it will still log the reason for failure. * - * Notable functions that cannot have their logs disabled: {@link run}, - * {@link exec}, {@link exit}. + * Notable functions that cannot have their logs disabled: run, + * exec, exit. * - * @ramCost 0 GB - * @param {string} fn Name of function for which to disable logging. + * @remarks 0 GB + * @param fn - Name of function for which to disable logging. */ disableLog(fn: string): void; @@ -3629,17 +3862,17 @@ export interface NS extends Singularity { * Re-enables logging for the given function. If \`ALL\` is passed into this * function as an argument, then it will revert the effects of disableLog(\`ALL\`). * - * @ramCost 0 GB - * @param {string} fn Name of function for which to enable logging. + * @remarks 0 GB + * @param fn - Name of function for which to enable logging. */ enableLog(fn: string): void; /** * Checks the status of the logging for the given function. * - * @ramCost 0 GB - * @param {string} fn Name of function to check. - * @returns {boolean} Returns a boolean indicating whether or not logging is enabled for that function (or \`ALL\`) + * @remarks 0 GB + * @param fn - Name of function to check. + * @returns Returns a boolean indicating whether or not logging is enabled for that function (or \`ALL\`) */ isLogEnabled(fn: string): boolean; @@ -3653,25 +3886,25 @@ export interface NS extends Singularity { * Remember that scripts are uniquely identified by both their names and arguments. * * @example - * \`\`\`js + * ```js * //Get logs from foo.script on the current server that was run with no args * getScriptLogs("foo.script"); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //Open logs from foo.script on the foodnstuff server that was run with no args * getScriptLogs("foo.script", "foodnstuff"); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //Open logs from foo.script on the foodnstuff server that was run with the arguments [1, "test"] * getScriptLogs("foo.script", "foodnstuff", 1, "test"); - * \`\`\` - * @ramCost 0 GB - * @param {string} [fn] Optional. Filename of script to get logs from. - * @param {string} [host] Optional. Hostname or IP of the server that the script is on. - * @param {...string} [args] Arguments to identify which scripts to get logs for. - * @returns {string[]} Returns an string array, where each line is an element in the array. The most recently logged line is at the end of the array. + * ``` + * @remarks 0 GB + * @param fn - Optional. Filename of script to get logs from. + * @param host - Optional. Hostname or IP of the server that the script is on. + * @param args - Arguments to identify which scripts to get logs for. + * @returns Returns an string array, where each line is an element in the array. The most recently logged line is at the end of the array. */ getScriptLogs(fn?: Script, host?: Host, ...args: any[]): string[]; @@ -3684,24 +3917,24 @@ export interface NS extends Singularity { * Remember that scripts are uniquely identified by both their names and arguments. * * @example - * \`\`\`js + * ```js * //Open logs from foo.script on the current server that was run with no args * tail("foo.script"); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //Get logs from foo.script on the foodnstuff server that was run with no args * tail("foo.script", "foodnstuff"); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //Get logs from foo.script on the foodnstuff server that was run with the arguments [1, "test"] * tail("foo.script", "foodnstuff", 1, "test"); - * \`\`\` - * @ramCost 0 GB - * @param {string} [fn] Optional. Filename of the script being tailed. If omitted, the current script is tailed. - * @param {string} [host] Optional. Hostname or IP of the script being tailed. Defaults to the server this script is running on. If args are specified, this is not optional. - * @param {any[]} ...args Arguments for the script being tailed. + * ``` + * @remarks 0 GB + * @param fn - Optional. Filename of the script being tailed. If omitted, the current script is tailed. + * @param host - Optional. Hostname or IP of the script being tailed. Defaults to the server this script is running on. If args are specified, this is not optional. + * @param args - Arguments for the script being tailed. */ tail(fn?: Script, host?: Host, ...args: any[]): void; @@ -3710,10 +3943,10 @@ export interface NS extends Singularity { * node way from the specified target server. The hostnames/IPs in the returned * array are strings. * - * @ramCost 0.2 GB - * @param {string} host Hostname or IP of the server to scan. - * @param {boolean} hostnames Optional boolean specifying whether the function should output hostnames (if true) or IP addresses (if false). - * @returns {string[]} Returns an string of hostnames or IP. + * @remarks 0.2 GB + * @param host - Hostname or IP of the server to scan. + * @param hostnames - Optional boolean specifying whether the function should output hostnames (if true) or IP addresses (if false). + * @returns Returns an string of hostnames or IP. */ scan(host: Host, hostnames?: boolean): Host[]; @@ -3721,11 +3954,11 @@ export interface NS extends Singularity { * Runs the NUKE.exe program on the target server. NUKE.exe must exist on your home computer. * * @example - * \`\`\`js + * ```js * nuke("foodnstuff"); - * \`\`\` - * @ramCost 0.05 GB - * @param {string} host Hostname or IP of the target server. + * ``` + * @remarks 0.05 GB + * @param host - Hostname or IP of the target server. */ nuke(host: Host): void; @@ -3733,11 +3966,11 @@ export interface NS extends Singularity { * Runs the BruteSSH.exe program on the target server. BruteSSH.exe must exist on your home computer. * * @example - * \`\`\`js + * ```js * brutessh("foodnstuff"); - * \`\`\` - * @ramCost 0.05 GB - * @param {string} host Hostname or IP of the target server. + * ``` + * @remarks 0.05 GB + * @param host - Hostname or IP of the target server. */ brutessh(host: Host): void; @@ -3745,11 +3978,11 @@ export interface NS extends Singularity { * Runs the FTPCrack.exe program on the target server. FTPCrack.exe must exist on your home computer. * * @example - * \`\`\`js + * ```js * ftpcrack("foodnstuff"); - * \`\`\` - * @ramCost 0.05 GB - * @param {string} host Hostname or IP of the target server. + * ``` + * @remarks 0.05 GB + * @param host - Hostname or IP of the target server. */ ftpcrack(host: Host): void; @@ -3757,11 +3990,11 @@ export interface NS extends Singularity { * Runs the relaySMTP.exe program on the target server. relaySMTP.exe must exist on your home computer. * * @example - * \`\`\`js + * ```js * relaysmtp("foodnstuff"); - * \`\`\` - * @ramCost 0.05 GB - * @param {string} host Hostname or IP of the target server. + * ``` + * @remarks 0.05 GB + * @param host - Hostname or IP of the target server. */ relaysmtp(host: Host): void; @@ -3769,11 +4002,11 @@ export interface NS extends Singularity { * Runs the HTTPWorm.exe program on the target server. HTTPWorm.exe must exist on your home computer. * * @example - * \`\`\`js + * ```js * httpworm("foodnstuff"); - * \`\`\` - * @ramCost 0.05 GB - * @param {string} host Hostname or IP of the target server. + * ``` + * @remarks 0.05 GB + * @param host - Hostname or IP of the target server. */ httpworm(host: Host): void; @@ -3781,11 +4014,11 @@ export interface NS extends Singularity { * Runs the SQLInject.exe program on the target server. SQLInject.exe must exist on your home computer. * * @example - * \`\`\`js + * ```js * sqlinject("foodnstuff"); - * \`\`\` - * @ramCost 0.05 GB - * @param {string} host Hostname or IP of the target server. + * ``` + * @remarks 0.05 GB + * @param host - Hostname or IP of the target server. */ sqlinject(host: Host): void; @@ -3804,25 +4037,25 @@ export interface NS extends Singularity { * However, running this function with a negative numThreads argument will cause a runtime error. * * @example - * \`\`\`js + * ```js * //The simplest way to use the run command is to call it with just the script name. The following example will run ‘foo.script’ single-threaded with no arguments: * run("foo.script"); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //The following example will run ‘foo.script’ but with 5 threads instead of single-threaded: * run("foo.script", 5); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //This next example will run ‘foo.script’ single-threaded, and will pass the string ‘foodnstuff’ into the script as an argument: * run("foo.script", 1, 'foodnstuff'); - * \`\`\` - * @ramCost 1 GB - * @param {string} script Filename of script to run. - * @param {number} [numThreads] Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer. - * @param {...string} [args] Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the second argument numThreads must be filled in with a value. - * @returns {number} Returns the PID of a successfully started script, and 0 otherwise. + * ``` + * @remarks 1 GB + * @param script - Filename of script to run. + * @param numThreads - Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer. + * @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the second argument numThreads must be filled in with a value. + * @returns Returns the PID of a successfully started script, and 0 otherwise. */ run(script: Script, numThreads?: number, ...args: string[]): number; @@ -3840,26 +4073,26 @@ export interface NS extends Singularity { * However, running this function with a negative numThreads argument will cause a runtime error. * * @example - * \`\`\`js + * ```js * //The simplest way to use the exec command is to call it with just the script name and the target server. The following example will try to run generic-hack.script on the foodnstuff server: * exec("generic-hack.script", "foodnstuff"); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //The following example will try to run the script generic-hack.script on the joesguns server with 10 threads: * exec("generic-hack.script", "joesguns", 10); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //This last example will try to run the script foo.script on the foodnstuff server with 5 threads. It will also pass the number 1 and the string “test” in as arguments to the script: * exec("foo.script", "foodnstuff", 5, 1, "test"); - * \`\`\` - * @ramCost 1.3 GB - * @param {string} script Filename of script to execute. - * @param {string} host Hostname or IP of the \`target server\` on which to execute the script. - * @param {number} [numThreads] Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer. - * @param {...string} [args] Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the third argument numThreads must be filled in with a value. - * @returns {number} Returns the PID of a successfully started script, and 0 otherwise. + * ``` + * @remarks 1.3 GB + * @param script - Filename of script to execute. + * @param host - Hostname or IP of the \`target server\` on which to execute the script. + * @param numThreads - Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer. + * @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the third argument numThreads must be filled in with a value. + * @returns Returns the PID of a successfully started script, and 0 otherwise. */ exec(script: Script, host: Host, numThreads?: number, ...args: string[]): number; @@ -3872,14 +4105,14 @@ export interface NS extends Singularity { * Because this function immediately terminates the script, it does not have a return value. * * @example - * \`\`\`js + * ```js * //The following example will execute the script ‘foo.script’ with 10 threads and the arguments ‘foodnstuff’ and 90: * spawn('foo.script', 10, 'foodnstuff', 90); - * \`\`\` - * @ramCost 2 GB - * @param {string} script Filename of script to execute. - * @param {string} numThreads Number of threads to spawn new script with. Will be rounded to nearest integer. - * @param {...string} [args] Additional arguments to pass into the new script that is being run. + * ``` + * @remarks 2 GB + * @param script - Filename of script to execute. + * @param numThreads - Number of threads to spawn new script with. Will be rounded to nearest integer. + * @param args - Additional arguments to pass into the new script that is being run. */ spawn(script: Script, numThreads?: number, ...args: string[]): void; @@ -3890,25 +4123,25 @@ export interface NS extends Singularity { * \`foo.script\` run with the argument 2, even though they have the same code. * * @example - * \`\`\`js + * ```js * //The following example will try to kill a script named foo.script on the foodnstuff server that was ran with no arguments: * kill("foo.script", "foodnstuff"); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //The following will try to kill a script named foo.script on the current server that was ran with no arguments: * kill("foo.script", getHostname()); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //The following will try to kill a script named foo.script on the current server that was ran with the arguments 1 and “foodnstuff”: * kill("foo.script", getHostname(), 1, "foodnstuff"); - * \`\`\` - * @ramCost 0.5 GB - * @param {string} script Filename of the script to kill - * @param {string} host Hostname or IP of the server on which to kill the script. - * @param {...string} [args] Arguments to identify which script to kill. - * @returns {boolean} True if the script is successfully killed, and false otherwise. + * ``` + * @remarks 0.5 GB + * @param script - Filename of the script to kill + * @param host - Hostname or IP of the server on which to kill the script. + * @param args - Arguments to identify which script to kill. + * @returns True if the script is successfully killed, and false otherwise. */ kill(script: Script, host: Host, ...args: string[]): boolean; @@ -3920,14 +4153,14 @@ export interface NS extends Singularity { * Otherwise, it will return false. * * @example - * \`\`\`js + * ```js * if (kill(10)) { * print("Killed script with PID 10!"); * } - * \`\`\` - * @ramCost 0.5 GB - * @param {number} scriptPid PID of the script to kill - * @returns {boolean} True if the script is successfully killed, and false otherwise. + * ``` + * @remarks 0.5 GB + * @param scriptPid - PID of the script to kill + * @returns True if the script is successfully killed, and false otherwise. */ kill(scriptPid: number): boolean; @@ -3936,16 +4169,16 @@ export interface NS extends Singularity { * if any scripts were killed, and false otherwise. In other words, it will return * true if there are any scripts running on the target server. * - * @ramCost 0.5 GB - * @param host {string} IP or hostname of the server on which to kill all scripts. - * @returns {boolean} True if any scripts were killed, and false otherwise. + * @remarks 0.5 GB + * @param host - IP or hostname of the server on which to kill all scripts. + * @returns True if any scripts were killed, and false otherwise. */ killall(host: Host): boolean; /** * Terminates the current script immediately. * - * @ramCost 0 GB + * @remarks 0 GB */ exit(): void; @@ -3954,14 +4187,14 @@ export interface NS extends Singularity { * specifying a single file to copy, or an array of strings specifying multiple files to copy. * * @example - * \`\`\`js + * ```js * //Copies hack-template.script from the current server to foodnstuff: * scp("hack-template.script", "foodnstuff"); - * \`\`\` - * @ramCost 0.6 GB - * @param {(string|string[])} files Filename or an array of filenames of script/literature files to copy. - * @param {(string|number)} destination Host or IP of the destination server, which is the server to which the file will be copied. - * @returns {boolean} True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied. + * ``` + * @remarks 0.6 GB + * @param files - Filename or an array of filenames of script/literature files to copy. + * @param destination - Host or IP of the destination server, which is the server to which the file will be copied. + * @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied. */ scp(files: string | ReadonlyArray, destination: Host): boolean; @@ -3970,21 +4203,21 @@ export interface NS extends Singularity { * specifying a single file to copy, or an array of strings specifying multiple files to copy. * * @example - * \`\`\`js + * ```js * //Copies foo.lit from the helios server to the home computer: * scp("foo.lit", "helios", "home"); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //Tries to copy three files from rothman-uni to home computer: * files = ["foo1.lit", "foo2.script", "foo3.script"]; * scp(files, "rothman-uni", "home"); - * \`\`\` - * @ramCost 0.6 GB - * @param {(string|string[])} files Filename or an array of filenames of script/literature files to copy. - * @param {(string|number)} source Host or IP of the source server, which is the server from which the file will be copied. This argument is optional and if it’s omitted the source will be the current server. - * @param {(string|number)} destination Host or IP of the destination server, which is the server to which the file will be copied. - * @returns {boolean} True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied. + * ``` + * @remarks 0.6 GB + * @param files - Filename or an array of filenames of script/literature files to copy. + * @param source - Host or IP of the source server, which is the server from which the file will be copied. This argument is optional and if it’s omitted the source will be the current server. + * @param destination - Host or IP of the destination server, which is the server to which the file will be copied. + * @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied. */ scp( files: string | ReadonlyArray, @@ -3997,10 +4230,10 @@ export interface NS extends Singularity { * Returns an array with the filenames of all files on the specified server * (as strings). The returned array is sorted in alphabetic order. * - * @ramCost 0.2 GB - * @param {string} host Host or IP of the target server. - * @param {string} grep A substring to search for in the filename. - * @returns {string[]} Array with the filenames of all files on the specified server. + * @remarks 0.2 GB + * @param host - Host or IP of the target server. + * @param grep - A substring to search for in the filename. + * @returns Array with the filenames of all files on the specified server. */ ls(host: Host, grep?: string): string[]; @@ -4008,7 +4241,7 @@ export interface NS extends Singularity { * Returns an array with general information about all scripts running on the specified target server. * * @example - * \`\`\`js + * ```js * //(using NetscriptJS (Netscript 2.0)) * export async function main(ns) { * const ps = ns.ps("home"); @@ -4017,10 +4250,10 @@ export interface NS extends Singularity { * ns.tprint(ps[i].args); * } * } - * \`\`\` - * @ramCost 0.2 GB - * @param {string} host Host or IP address of the target server. If not specified, it will be the current server’s IP by default. - * @returns {object} Array with general information about all scripts running on the specified target server. + * ``` + * @remarks 0.2 GB + * @param host - Host or IP address of the target server. If not specified, it will be the current server’s IP by default. + * @returns Array with general information about all scripts running on the specified target server. */ ps(host?: Host): ProcessInfo[]; @@ -4028,30 +4261,30 @@ export interface NS extends Singularity { * Returns a boolean indicating whether or not the player has root access to the specified target server. * * @example - * \`\`\`js + * ```js * if (hasRootAccess("foodnstuff") == false) { * nuke("foodnstuff"); * } - * \`\`\` - * @ramCost 0.05 GB - * @param {string} host Host or IP of the target server - * @returns {boolean} True if player has root access to the specified target server, and false otherwise. + * ``` + * @remarks 0.05 GB + * @param host - Host or IP of the target server + * @returns True if player has root access to the specified target server, and false otherwise. */ hasRootAccess(host: Host): boolean; /** * Returns a string with the hostname of the server that the script is running on. * - * @ramCost 0.05 GB - * @returns {string} Hostname of the server that the script is on. + * @remarks 0.05 GB + * @returns Hostname of the server that the script is on. */ getHostname(): Host; /** * Returns the player’s current hacking level. * - * @ramCost 0.05 GB - * @returns {number} Player’s current hacking level + * @remarks 0.05 GB + * @returns Player’s current hacking level */ getHackingLevel(): number; @@ -4061,14 +4294,14 @@ export interface NS extends Singularity { * (e.g. 1.5 instead of 150%). * * @example - * \`\`\`js + * ```js * //Example of how this can be used: * mults = getHackingMultipliers(); * print(mults.chance); * print(mults.growth); - * \`\`\` - * @ramCost 4 GB - * @returns {object} Object containing the Player’s hacking related multipliers. + * ``` + * @remarks 4 GB + * @returns Object containing the Player’s hacking related multipliers. */ getHackingMultipliers(): HackingMultipliers; @@ -4078,23 +4311,23 @@ export interface NS extends Singularity { * (e.g. 1.5 instead of 150%). * * @example - * \`\`\`js + * ```js * //Example of how this can be used: * mults = getHacknetMultipliers(); * print(mults.production); * print(mults.purchaseCost); - * \`\`\` - * @ramCost 4 GB - * @returns {object} Object containing the Player’s hacknet related multipliers. + * ``` + * @remarks 4 GB + * @returns Object containing the Player’s hacknet related multipliers. */ getHacknetMultipliers(): HacknetMultipliers; /** * Returns a server object for the given server. Defaults to the running script's server if host is not specified. * - * @ramCost 2 GB - * @param {string} [host] Optional. Hostname or IP for the requested server object. - * @returns {Server} The requested server object. + * @remarks 2 GB + * @param host - Optional. Hostname or IP for the requested server object. + * @returns The requested server object. */ getServer(host?: Host): Server; @@ -4103,22 +4336,22 @@ export interface NS extends Singularity { * Running this function on the home computer will return the player’s money. * * @example - * \`\`\`js + * ```js * getServerMoneyAvailable("foodnstuff"); * getServerMoneyAvailable("home"); //Returns player's money - * \`\`\` - * @ramCost 0.1 GB - * @param {string} host Host or IP of target server - * @returns {number} Amount of money available on the server. + * ``` + * @remarks 0.1 GB + * @param host - Host or IP of target server + * @returns Amount of money available on the server. */ getServerMoneyAvailable(host: Host): number; /** * Returns the maximum amount of money that can be available on a server. * - * @ramCost 0.1 GB - * @param {string} host Host or IP of target server. - * @returns {number} Maximum amount of money available on the server. + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns Maximum amount of money available on the server. */ getServerMaxMoney(host: Host): number; @@ -4127,12 +4360,12 @@ export interface NS extends Singularity { * parameter is a number between 1 and 100 that represents how * quickly the server’s money grows. This parameter affects the * percentage by which the server’s money is increased when using the - * {@link grow} function. A higher growth parameter will result in a - * higher percentage increase from {@link grow}. + * grow function. A higher growth parameter will result in a + * higher percentage increase from grow. * - * @ramCost 0.1 GB - * @param {string} host Host or IP of target server. - * @returns {number} Parameter that affects the percentage by which the server’s money is increased when using the {@link grow} function. + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns Parameter that affects the percentage by which the server’s money is increased when using the grow function. */ getServerGrowth(host: Host): number; @@ -4141,51 +4374,51 @@ export interface NS extends Singularity { * level is denoted by a number, typically between 1 and 100 * (but it can go above 100). * - * @ramCost 0.1 GB - * @param {string} host Host or IP of target server. - * @returns {number} Security level of the target server. + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns Security level of the target server. */ getServerSecurityLevel(host: Host): number; /** * Returns the base security level of the target server. This is the security * level that the server starts out with. This is different than - * {@link getServerSecurityLevel} because {@link getServerSecurityLevel} returns + * getServerSecurityLevel because getServerSecurityLevel returns * the current security level of a server, which can constantly change due to - * {@link hack}, {@link grow}, and {@link weaken}, calls on that server. + * hack, grow, and weaken, calls on that server. * The base security level will stay the same until you reset by * installing an Augmentation(s). * - * @ramCost 0.1 GB - * @param {string} host Host or IP of target server. - * @returns {number} Base security level of the target server. + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns Base security level of the target server. */ getServerBaseSecurityLevel(host: Host): number; /** * Returns the minimum security level of the target server. * - * @ramCost 0.1 GB - * @param {string} host Host or IP of target server. - * @returns {number} Minimum security level of the target server. + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns Minimum security level of the target server. */ getServerMinSecurityLevel(host: Host): number; /** * Returns the required hacking level of the target server. * - * @ramCost 0.1 GB - * @param {string} host Host or IP of target server. - * @returns {number} The required hacking level of the target server. + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns The required hacking level of the target server. */ getServerRequiredHackingLevel(host: Host): number; /** * Returns the number of open ports required to successfully run NUKE.exe on the specified server. * - * @ramCost 0.1 GB - * @param {string} host Host or IP of target server. - * @returns {number} The number of open ports required to successfully run NUKE.exe on the specified server. + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns The number of open ports required to successfully run NUKE.exe on the specified server. */ getServerNumPortsRequired(host: Host): number; @@ -4196,23 +4429,23 @@ export interface NS extends Singularity { * the server (in GB). * * @example - * \`\`\`js + * ```js * res = getServerRam("helios"); * totalRam = res[0]; * ramUsed = res[1]; - * \`\`\` - * @ramCost 0.1 GB - * @param {string} host Host or IP of target server. - * @returns {[number,number]} Array with total and used memory on the specified server. + * ``` + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns Array with total and used memory on the specified server. */ getServerRam(host: Host): [number, number]; /** * Returns a boolean denoting whether or not the specified server exists. * - * @ramCost 0.1 GB - * @param {string} host Host or IP of target server. - * @returns {boolean} True if specified server exists, and false otherwise. + * @remarks 0.1 GB + * @param host - Host or IP of target server. + * @returns True if specified server exists, and false otherwise. */ serverExists(host: Host): boolean; @@ -4226,19 +4459,19 @@ export interface NS extends Singularity { * server (the server running the script that calls this function) for the file. * * @example - * \`\`\`js + * ```js * //The function call will return true if the script named foo.script exists on the foodnstuff server, and false otherwise. * fileExists("foo.script", "foodnstuff"); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //The function call will return true if the current server contains the FTPCrack.exe program, and false otherwise. * fileExists("ftpcrack.exe"); - * \`\`\` - * @ramCost 0.1 GB - * @param {string} filename Filename of file to check. - * @param {(string|number)} [host] Host or IP of target server. This is optional. If it is not specified then the function will use the current server as the target server. - * @returns {boolean} True if specified file exists, and false otherwise. + * ``` + * @remarks 0.1 GB + * @param filename - Filename of file to check. + * @param host - Host or IP of target server. This is optional. If it is not specified then the function will use the current server as the target server. + * @returns True if specified file exists, and false otherwise. */ fileExists(filename: string, host?: Host): boolean; @@ -4247,25 +4480,25 @@ export interface NS extends Singularity { * Remember that a script is uniquely identified by both its name and its arguments. * * @example - * \`\`\`js + * ```js * //The function call will return true if there is a script named foo.script with no arguments running on the foodnstuff server, and false otherwise: * isRunning("foo.script", "foodnstuff"); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //The function call will return true if there is a script named foo.script with no arguments running on the current server, and false otherwise: * isRunning("foo.script", getHostname()); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //The function call will return true if there is a script named foo.script running with the arguments 1, 5, and “test” (in that order) on the joesguns server, and false otherwise: * isRunning("foo.script", "joesguns", 1, 5, "test"); - * \`\`\` - * @ramCost 0.1 GB - * @param {string} script Filename of script to check. This is case-sensitive. - * @param {string} host Host or IP of target server. - * @param {...string} [args] Arguments to specify/identify which scripts to search for. - * @returns {boolean} True if specified script is running on the target server, and false otherwise. + * ``` + * @remarks 0.1 GB + * @param script - Filename of script to check. This is case-sensitive. + * @param host - Host or IP of target server. + * @param args - Arguments to specify/identify which scripts to search for. + * @returns True if specified script is running on the target server, and false otherwise. */ isRunning(script: Script, host: Host, ...args: string[]): boolean; @@ -4273,14 +4506,14 @@ export interface NS extends Singularity { * Returns the cost to purchase a server with the specified amount of ram. * * @example - * \`\`\`js + * ```js * for (i = 1; i <= 20; i++) { * tprint(i + " -- " + getPurchasedServerCost(Math.pow(2, i))); * } - * \`\`\` - * @ramCost 0.25 GB - * @param {number} ram Amount of RAM of a potential purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20). - * @returns {number} The cost to purchase a server with the specified amount of ram. + * ``` + * @remarks 0.25 GB + * @param ram - Amount of RAM of a potential purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20). + * @returns The cost to purchase a server with the specified amount of ram. */ getPurchasedServerCost(ram: number): number; @@ -4305,17 +4538,17 @@ export interface NS extends Singularity { * amount of servers. * * @example - * \`\`\`js + * ```js * ram = 64; * hn = "pserv-"; * for (i = 0; i < 5; ++i) { * purchaseServer(hn + i, ram); * } - * \`\`\` - * @ramCost 2.25 GB - * @param {string} hostname Host of the purchased server. - * @param {number} ram Amount of RAM of the purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20). - * @returns {string} The hostname of the newly purchased server. + * ``` + * @remarks 2.25 GB + * @param hostname - Host of the purchased server. + * @param ram - Amount of RAM of the purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20). + * @returns The hostname of the newly purchased server. */ purchaseServer(hostname: Host, ram: number): Host | ""; @@ -4326,34 +4559,34 @@ export interface NS extends Singularity { * Whitespace is automatically removed from the string. This function will not delete a * server that still has scripts running on it. * - * @ramCost 2.25 GB - * @param {string} host Host of the server to delete. - * @returns {boolean} True if successful, and false otherwise. + * @remarks 2.25 GB + * @param host - Host of the server to delete. + * @returns True if successful, and false otherwise. */ deleteServer(host: Host): boolean; /** * Returns an array with either the hostnames or IPs of all of the servers you have purchased. * - * @ramCost 2.25 GB - * @param {boolean} [hostnameMode]. Optional. Defaults to true. Returns hostnames if true, and IPs if false. - * @returns {string[]} Returns an array with either the hostnames or IPs of all of the servers you have purchased. + * @remarks 2.25 GB + * @param hostnameMode -] Optional. Defaults to true. Returns hostnames if true, and IPs if false. + * @returns Returns an array with either the hostnames or IPs of all of the servers you have purchased. */ getPurchasedServers(hostnameMode?: boolean): Host[]; /** * Returns the maximum number of servers you can purchase. * - * @ramCost 0.05 GB - * @returns {number} Returns the maximum number of servers you can purchase. + * @remarks 0.05 GB + * @returns Returns the maximum number of servers you can purchase. */ getPurchasedServerLimit(): number; /** * Returns the maximum RAM that a purchased server can have. * - * @ramCost 0.05 GB - * @returns {number} Returns the maximum RAM that a purchased server can have. + * @remarks 0.05 GB + * @returns Returns the maximum RAM that a purchased server can have. */ getPurchasedServerMaxRam(): number; @@ -4372,10 +4605,10 @@ export interface NS extends Singularity { * then the data will be written in “append” mode which means that the data will be added at the * end of the text file. * - * @ramCost 1 GB - * @param {(string|number)} handle Port or text file that will be written to. - * @param {string} data Data to write. - * @param {string} mode Defines the write mode. Only valid when writing to text files. + * @remarks 1 GB + * @param handle - Port or text file that will be written to. + * @param data - Data to write. + * @param mode - Defines the write mode. Only valid when writing to text files. */ write(handle: Handle, data?: string | string[] | number, mode?: "w" | "a"): void; @@ -4384,10 +4617,10 @@ export interface NS extends Singularity { * If the port is full, the data will not be written. * Otherwise, the data will be written normally. * - * @ramCost 1 GB - * @param {number} port Port or text file that will be written to. - * @param {string} data Data to write. - * @returns {boolean} True if the data is successfully written to the port, and false otherwise. + * @remarks 1 GB + * @param port - Port or text file that will be written to. + * @param data - Data to write. + * @returns True if the data is successfully written to the port, and false otherwise. */ tryWrite(port: Handle, data: string | string[] | number): boolean; @@ -4403,9 +4636,9 @@ export interface NS extends Singularity { * file (.txt) and this function will return the data in the specified text * file. If the text file does not exist, an empty string will be returned. * - * @ramCost 1 GB - * @param {(string|number)} handle Port or text file to read from. - * @returns {(string|number|object)} Data in the specified text file or port. + * @remarks 1 GB + * @param handle - Port or text file to read from. + * @returns Data in the specified text file or port. */ read(handle: Handle): string | number | object; @@ -4414,9 +4647,9 @@ export interface NS extends Singularity { * first element in the specified port without removing that element. If * the port is empty, the string “NULL PORT DATA” will be returned. * - * @ramCost 1 GB - * @param {number} port Port to peek. Must be an integer between 1 and 20. - * @returns {(string|number|object)} Data in the specified port. + * @remarks 1 GB + * @param port - Port to peek. Must be an integer between 1 and 20. + * @returns Data in the specified port. */ peek(port: Port): string | number | object; @@ -4429,8 +4662,8 @@ export interface NS extends Singularity { * If the port/fn argument is a string, then it specifies the name of a * text file (.txt) and will delete all data from that text file. * - * @ramCost 1 GB - * @param {(string|number)} handle Port or text file to clear. + * @remarks 1 GB + * @param handle - Port or text file to clear. */ clear(handle: Handle): void; @@ -4440,9 +4673,9 @@ export interface NS extends Singularity { * WARNING: Port Handles only work in NetscriptJS (Netscript 2.0). They will not work in Netscript 1.0. * * @see https://bitburner.readthedocs.io/en/latest/netscript/netscriptmisc.html#netscript-ports - * @ramCost 10 GB - * @param {number} port Port number. Must be an integer between 1 and 20. - * @returns {Array} Data in the specified port. + * @remarks 10 GB + * @param port - Port number. Must be an integer between 1 and 20. + * @returns Data in the specified port. */ getPortHandle(port: Port): any[]; @@ -4450,10 +4683,10 @@ export interface NS extends Singularity { * Removes the specified file from the current server. This function works for every file * type except message (.msg) files. * - * @ramCost 1 GB - * @param {string} name Filename of file to remove. Must include the extension. - * @param {string} [host] Host or IP Address of the server on which to delete the file. Optional. Defaults to current server. - * @returns {boolean} True if it successfully deletes the file, and false otherwise. + * @remarks 1 GB + * @param name - Filename of file to remove. Must include the extension. + * @param host - Host or IP Address of the server on which to delete the file. Optional. Defaults to current server. + * @returns True if it successfully deletes the file, and false otherwise. */ rm(name: string, host?: Host): boolean; @@ -4461,23 +4694,23 @@ export interface NS extends Singularity { * Returns a boolean indicating whether any instance of the specified script is running * on the target server, regardless of its arguments. * - * This is different than the {@link isRunning} function because it does not try to + * This is different than the isRunning function because it does not try to * identify a specific instance of a running script by its arguments. * * @example - * \`\`\`js + * ```js * //The function call will return true if there is any script named foo.script running on the foodnstuff server, and false otherwise: * scriptRunning("foo.script", "foodnstuff"); - * \`\`\` + * ``` * @example - * \`\`\`js + * ```js * //The function call will return true if there is any script named “foo.script” running on the current server, and false otherwise: * scriptRunning("foo.script", getHostname()); - * \`\`\` - * @ramCost 1 GB - * @param {string} script Filename of script to check. This is case-sensitive. - * @param {string} host Host or IP of target server. - * @returns {boolean} True if the specified script is running, and false otherwise. + * ``` + * @remarks 1 GB + * @param script - Filename of script to check. This is case-sensitive. + * @param host - Host or IP of target server. + * @returns True if the specified script is running, and false otherwise. */ scriptRunning(script: Script, host: Host): boolean; @@ -4485,18 +4718,18 @@ export interface NS extends Singularity { * Kills all scripts with the specified filename on the target server specified by hostname/ip, * regardless of arguments. * - * @ramCost 1 GB - * @param {string} script Filename of script to kill. This is case-sensitive. - * @param {string} host Host or IP of target server. - * @returns {boolean} true if one or more scripts were successfully killed, and false if none were. + * @remarks 1 GB + * @param script - Filename of script to kill. This is case-sensitive. + * @param host - Host or IP of target server. + * @returns true if one or more scripts were successfully killed, and false if none were. */ scriptKill(script: Script, host: Host): boolean; /** * Returns the current script name. * - * @ramCost 0 GB - * @returns {string} Current script name. + * @remarks 0 GB + * @returns Current script name. */ getScriptName(): string; @@ -4504,34 +4737,34 @@ export interface NS extends Singularity { * Returns the amount of RAM required to run the specified script on the target server. * Returns 0 if the script does not exist. * - * @ramCost 0.1 GB - * @param {string} script Filename of script. This is case-sensitive. - * @param {string} [host] Host or IP of target server the script is located on. This is optional, If it is not specified then the function will se the current server as the target server. - * @returns {string} Amount of RAM required to run the specified script on the target server, and 0 if the script does not exist. + * @remarks 0.1 GB + * @param script - Filename of script. This is case-sensitive. + * @param host - Host or IP of target server the script is located on. This is optional, If it is not specified then the function will se the current server as the target server. + * @returns Amount of RAM required to run the specified script on the target server, and 0 if the script does not exist. */ getScriptRam(script: Script, host?: Host): number; /** - * Returns the amount of time in seconds it takes to execute the {@link hack} Netscript function on the target server. + * Returns the amount of time in seconds it takes to execute the hack Netscript function on the target server. * The function takes in an optional hackLvl parameter that can be specified to see what the hack time would be at different hacking levels. * - * @ramCost 0.05 GB - * @param {string} host Host or IP of target server. - * @param {number} [hackLvl] Optional hacking level for the calculation. Defaults to player’s current hacking level. - * @param {number} [intLvl] Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). - * @returns {number} Returns the amount of time in seconds it takes to execute the {@link hack} Netscript function. Returns Infinity if called on a Hacknet Server. + * @remarks 0.05 GB + * @param host - Host or IP of target server. + * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level. + * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). + * @returns Returns the amount of time in seconds it takes to execute the hack Netscript function. Returns Infinity if called on a Hacknet Server. */ getHackTime(host: Host, hackLvl?: number, intLvl?: number): number; /** - * Returns the amount of time in seconds it takes to execute the {@link grow} Netscript function on the target server. + * Returns the amount of time in seconds it takes to execute the grow Netscript function on the target server. * The function takes in an optional hackLvl parameter that can be specified to see what the grow time would be at different hacking levels. * - * @ramCost 0.05 GB - * @param {string} host Host or IP of target server. - * @param {number} [hackLvl] Optional hacking level for the calculation. Defaults to player’s current hacking level. - * @param {number} [intLvl] Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). - * @returns {number} Returns the amount of time in seconds it takes to execute the {@link grow} Netscript function. Returns Infinity if called on a Hacknet Server. + * @remarks 0.05 GB + * @param host - Host or IP of target server. + * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level. + * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). + * @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server. */ getGrowTime(host: Host, hackLvl?: number, intLvl?: number): number; @@ -4539,11 +4772,11 @@ export interface NS extends Singularity { * Returns the amount of time in seconds it takes to execute the weaken() Netscript function on the target server. * The function takes in an optional hackLvl parameter that can be specified to see what the weaken time would be at different hacking levels. * - * @ramCost 0.05 GB - * @param {string} host Host or IP of target server. - * @param {number} [hackLvl] Optional hacking level for the calculation. Defaults to player’s current hacking level. - * @param {number} [intLvl] Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). - * @returns {number} Returns the amount of time in seconds it takes to execute the {@link grow} Netscript function. Returns Infinity if called on a Hacknet Server. + * @remarks 0.05 GB + * @param host - Host or IP of target server. + * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level. + * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5). + * @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server. */ getWeakenTime(host: Host, hackLvl?: number, intLvl?: number): number; @@ -4562,11 +4795,11 @@ export interface NS extends Singularity { * The second value is the total income ($ / second) that you’ve earned from scripts * since you last installed Augmentations. * - * @ramCost 0.1 GB - * @param {string} script Filename of script. - * @param {string} host Server on which script is running. - * @param {string} [args] Arguments that the script is running with. - * @returns {(number|[number,number])} Amount of income the specified script generates while online. + * @remarks 0.1 GB + * @param script - Filename of script. + * @param host - Server on which script is running. + * @param args - Arguments that the script is running with. + * @returns Amount of income the specified script generates while online. */ getScriptIncome(script: Script, host: Host, ...args: string[]): number | [number, number]; @@ -4578,19 +4811,19 @@ export interface NS extends Singularity { * This function can also return the total experience gain rate of all of your active * scripts by running the function with no arguments. * - * @ramCost 0.1 GB - * @param {string} script Filename of script. - * @param {string} host Server on which script is running. - * @param {...string[]} [args] Arguments that the script is running with. - * @returns {number} Amount of hacking experience the specified script generates while online. + * @remarks 0.1 GB + * @param script - Filename of script. + * @param host - Server on which script is running. + * @param args - Arguments that the script is running with. + * @returns Amount of hacking experience the specified script generates while online. */ getScriptExpGain(script: Script, host: Host, ...args: string[]): number; /** * Returns the amount of time in milliseconds that have passed since you last installed Augmentations. * - * @ramCost 0.05 GB - * @returns {number} Time in milliseconds that have passed since you last installed Augmentations. + * @remarks 0.05 GB + * @returns Time in milliseconds that have passed since you last installed Augmentations. */ getTimeSinceLastAug(): number; @@ -4598,10 +4831,10 @@ export interface NS extends Singularity { * Complete open source JavaScript sprintf implementation * * @see https://github.com/alexei/sprintf.js - * @ramCost 0 GB - * @param {string} format String to format. - * @param {...string} args Formating arguments. - * @returns {string} Formated text. + * @remarks 0 GB + * @param format - String to format. + * @param args - Formating arguments. + * @returns Formated text. */ sprintf(format: string, ...args: string[]): string; @@ -4609,10 +4842,10 @@ export interface NS extends Singularity { * Complete open source JavaScript sprintf implementation * * @see https://github.com/alexei/sprintf.js - * @ramCost 0 GB - * @param {string} format String to format. - * @param {string[]} args Formating arguments. - * @returns {string} Formated text. + * @remarks 0 GB + * @param format - String to format. + * @param args - Formating arguments. + * @returns Formated text. */ vsprintf(format: string, args: string[]): string; @@ -4622,10 +4855,10 @@ export interface NS extends Singularity { * This is the same function that the game itself uses to display numbers. * * @see http://numeraljs.com/ - * @ramCost 0 GB - * @param {number} n Number to format. - * @param {string} format Formatter. - * @returns {string} Formated number. + * @remarks 0 GB + * @param n - Number to format. + * @param format - Formatter. + * @returns Formated number. */ nFormat(n: number, format: string): number; @@ -4635,9 +4868,9 @@ export interface NS extends Singularity { * the player clicks “No”. The script’s execution is halted until the player * selects one of the options. * - * @ramCost 0 GB - * @param {string} txt Text to appear in the prompt dialog box. - * @returns {Promise} True if the player click “Yes” and false if the player clicks “No”. + * @remarks 0 GB + * @param txt - Text to appear in the prompt dialog box. + * @returns True if the player click “Yes” and false if the player clicks “No”. */ prompt(txt: string): Promise; @@ -4660,22 +4893,22 @@ export interface NS extends Singularity { * you will not be able to process the returned value of wget in Netscript 1.0. * * @example - * \`\`\`js + * ```js * wget("https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md", "game_readme.txt"); - * \`\`\` - * @ramCost 0 GB - * @param {string} url URL to pull data from. - * @param {string} target Filename to write data to. Must be script or text file. - * @param {string} [host] Optional hostname/ip of server for target file. - * @returns {Promise} True if the data was successfully retrieved from the URL, false otherwise. + * ``` + * @remarks 0 GB + * @param url - URL to pull data from. + * @param target - Filename to write data to. Must be script or text file. + * @param host - Optional hostname/ip of server for target file. + * @returns True if the data was successfully retrieved from the URL, false otherwise. */ wget(url: string, target: string, host?: string): Promise; /** * Returns the amount of Faction favor required to be able to donate to a faction. * - * @ramCost 0.1 GB - * @returns {number} Amount of Faction favor required to be able to donate to a faction. + * @remarks 0.1 GB + * @returns Amount of Faction favor required to be able to donate to a faction. */ getFavorToDonate(): number; @@ -4691,13 +4924,13 @@ export interface NS extends Singularity { * you would have received in BitNode-1. * * @example - * \`\`\`js + * ```js * mults = getBitNodeMultipliers(); * print(mults.ServerMaxMoney); * print(mults.HackExpGain); - * \`\`\` - * @ramCost 4 GB - * @returns {object} Object containing the current BitNode multipliers. + * ``` + * @remarks 4 GB + * @returns Object containing the current BitNode multipliers. */ getBitNodeMultipliers(url: string, target: string, host: string): BitNodeMultipliers; } diff --git a/src/ScriptEditor/ui/ScriptEditorRoot.tsx b/src/ScriptEditor/ui/ScriptEditorRoot.tsx index b9aa0cad4..4eed1293d 100644 --- a/src/ScriptEditor/ui/ScriptEditorRoot.tsx +++ b/src/ScriptEditor/ui/ScriptEditorRoot.tsx @@ -32,7 +32,7 @@ import TextField from "@mui/material/TextField"; import IconButton from "@mui/material/IconButton"; import SettingsIcon from "@mui/icons-material/Settings"; -import libSource from "!!raw-loader!../NetscriptDefinitions"; +import libSource from "!!raw-loader!../NetscriptDefinitions.d.ts"; let symbolsLoaded = false; let symbols: string[] = []; diff --git a/temp/bitburner.api.json b/temp/bitburner.api.json new file mode 100644 index 000000000..786ff350f --- /dev/null +++ b/temp/bitburner.api.json @@ -0,0 +1,20752 @@ +{ + "metadata": { + "toolPackage": "@microsoft/api-extractor", + "toolVersion": "7.18.17", + "schemaVersion": 1004, + "oldestForwardsCompatibleVersion": 1001, + "tsdocConfig": { + "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", + "noStandardTags": true, + "tagDefinitions": [ + { + "tagName": "@alpha", + "syntaxKind": "modifier" + }, + { + "tagName": "@beta", + "syntaxKind": "modifier" + }, + { + "tagName": "@defaultValue", + "syntaxKind": "block" + }, + { + "tagName": "@decorator", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@deprecated", + "syntaxKind": "block" + }, + { + "tagName": "@eventProperty", + "syntaxKind": "modifier" + }, + { + "tagName": "@example", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@experimental", + "syntaxKind": "modifier" + }, + { + "tagName": "@inheritDoc", + "syntaxKind": "inline" + }, + { + "tagName": "@internal", + "syntaxKind": "modifier" + }, + { + "tagName": "@label", + "syntaxKind": "inline" + }, + { + "tagName": "@link", + "syntaxKind": "inline", + "allowMultiple": true + }, + { + "tagName": "@override", + "syntaxKind": "modifier" + }, + { + "tagName": "@packageDocumentation", + "syntaxKind": "modifier" + }, + { + "tagName": "@param", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@privateRemarks", + "syntaxKind": "block" + }, + { + "tagName": "@public", + "syntaxKind": "modifier" + }, + { + "tagName": "@readonly", + "syntaxKind": "modifier" + }, + { + "tagName": "@remarks", + "syntaxKind": "block" + }, + { + "tagName": "@returns", + "syntaxKind": "block" + }, + { + "tagName": "@sealed", + "syntaxKind": "modifier" + }, + { + "tagName": "@see", + "syntaxKind": "block" + }, + { + "tagName": "@throws", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@typeParam", + "syntaxKind": "block", + "allowMultiple": true + }, + { + "tagName": "@virtual", + "syntaxKind": "modifier" + }, + { + "tagName": "@betaDocumentation", + "syntaxKind": "modifier" + }, + { + "tagName": "@internalRemarks", + "syntaxKind": "block" + }, + { + "tagName": "@preapproved", + "syntaxKind": "modifier" + } + ], + "supportForTags": { + "@alpha": true, + "@beta": true, + "@defaultValue": true, + "@decorator": true, + "@deprecated": true, + "@eventProperty": true, + "@example": true, + "@experimental": true, + "@inheritDoc": true, + "@internal": true, + "@label": true, + "@link": true, + "@override": true, + "@packageDocumentation": true, + "@param": true, + "@privateRemarks": true, + "@public": true, + "@readonly": true, + "@remarks": true, + "@returns": true, + "@sealed": true, + "@see": true, + "@throws": true, + "@typeParam": true, + "@virtual": true, + "@betaDocumentation": true, + "@internalRemarks": true, + "@preapproved": true + } + } + }, + "kind": "Package", + "canonicalReference": "bitburner!", + "docComment": "", + "name": "bitburner", + "members": [ + { + "kind": "EntryPoint", + "canonicalReference": "bitburner!", + "name": "", + "members": [ + { + "kind": "Interface", + "canonicalReference": "bitburner!AugmentationStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface AugmentationStats " + } + ], + "releaseTag": "Public", + "name": "AugmentationStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#agility_exp_mult:member", + "docComment": "/**\n * Multipler to agility experience gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility_exp_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "agility_exp_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#agility_mult:member", + "docComment": "/**\n * Multipler to agility skill\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "agility_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#bladeburner_analysis_mult:member", + "docComment": "/**\n * Multipler to effectiveness in Bladeburner Field Analysis\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "bladeburner_analysis_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "bladeburner_analysis_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#bladeburner_max_stamina_mult:member", + "docComment": "/**\n * Multipler to Bladeburner max stamina\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "bladeburner_max_stamina_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "bladeburner_max_stamina_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#bladeburner_stamina_gain_mult:member", + "docComment": "/**\n * Multipler to Bladeburner stamina gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "bladeburner_stamina_gain_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "bladeburner_stamina_gain_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#bladeburner_success_chance_mult:member", + "docComment": "/**\n * Multipler to success chance in Bladeburner contracts/operations\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "bladeburner_success_chance_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "bladeburner_success_chance_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#charisma_exp_mult:member", + "docComment": "/**\n * Multipler to charisma experience gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma_exp_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "charisma_exp_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#charisma_mult:member", + "docComment": "/**\n * Multipler to charisma skill\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "charisma_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#company_rep_mult:member", + "docComment": "/**\n * Multipler to amount of reputation gained when working\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "company_rep_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "company_rep_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#crime_money_mult:member", + "docComment": "/**\n * Multipler to amount of money gained from crimes\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "crime_money_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "crime_money_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#crime_success_mult:member", + "docComment": "/**\n * Multipler to crime success rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "crime_success_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "crime_success_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#defense_exp_mult:member", + "docComment": "/**\n * Multipler to defense experience gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense_exp_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "defense_exp_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#defense_mult:member", + "docComment": "/**\n * Multipler to defense skill\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "defense_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#dexterity_exp_mult:member", + "docComment": "/**\n * Multipler to dexterity experience gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity_exp_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "dexterity_exp_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#dexterity_mult:member", + "docComment": "/**\n * Multipler to dexterity skill\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "dexterity_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#faction_rep_mult:member", + "docComment": "/**\n * Multipler to amount of reputation gained when working\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "faction_rep_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "faction_rep_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacking_chance_mult:member", + "docComment": "/**\n * Multipler to chance of successfully performing a hack\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_chance_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacking_chance_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacking_exp_mult:member", + "docComment": "/**\n * Multipler to hacking experience gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_exp_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacking_exp_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacking_grow_mult:member", + "docComment": "/**\n * Multipler to amount of money injected into servers using grow\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_grow_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacking_grow_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacking_money_mult:member", + "docComment": "/**\n * Multipler to amount of money the player gains from hacking\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_money_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacking_money_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacking_mult:member", + "docComment": "/**\n * Multipler to hacking skill\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacking_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacking_speed_mult:member", + "docComment": "/**\n * Multipler to hacking speed\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_speed_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacking_speed_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacknet_node_core_cost_mult:member", + "docComment": "/**\n * Multipler to cost of core for a Hacknet Node\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacknet_node_core_cost_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacknet_node_core_cost_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacknet_node_level_cost_mult:member", + "docComment": "/**\n * Multipler to cost of leveling up a Hacknet Node\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacknet_node_level_cost_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacknet_node_level_cost_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacknet_node_money_mult:member", + "docComment": "/**\n * Multipler to amount of money produced by Hacknet Nodes\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacknet_node_money_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacknet_node_money_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacknet_node_purchase_cost_mult:member", + "docComment": "/**\n * Multipler to cost of purchasing a Hacknet Node\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacknet_node_purchase_cost_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacknet_node_purchase_cost_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#hacknet_node_ram_cost_mult:member", + "docComment": "/**\n * Multipler to cost of ram for a Hacknet Node\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacknet_node_ram_cost_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "hacknet_node_ram_cost_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#strength_exp_mult:member", + "docComment": "/**\n * Multipler to strength experience gain rate\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength_exp_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "strength_exp_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#strength_mult:member", + "docComment": "/**\n * Multipler to strength skill\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "strength_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentationStats#work_money_mult:member", + "docComment": "/**\n * Multipler to amount of money gained from working\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "work_money_mult?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": true, + "releaseTag": "Public", + "name": "work_money_mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!AugmentName:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type AugmentName =\n " + }, + { + "kind": "Content", + "text": "| \"Augmented Targeting I\"\n | \"Augmented Targeting II\"\n | \"Augmented Targeting III\"\n | \"Synthetic Heart\"\n | \"Synfibril Muscle\"\n | \"Combat Rib I\"\n | \"Combat Rib II\"\n | \"Combat Rib III\"\n | \"Nanofiber Weave\"\n | \"NEMEAN Subdermal Weave\"\n | \"Wired Reflexes\"\n | \"Graphene Bone Lacings\"\n | \"Bionic Spine\"\n | \"Graphene Bionic Spine Upgrade\"\n | \"Bionic Legs\"\n | \"Graphene Bionic Legs Upgrade\"\n | \"Speech Processor Implant\"\n | \"TITN-41 Gene-Modification Injection\"\n | \"Enhanced Social Interaction Implant\"\n | \"BitWire\"\n | \"Artificial Bio-neural Network Implant\"\n | \"Artificial Synaptic Potentiation\"\n | \"Enhanced Myelin Sheathing\"\n | \"Synaptic Enhancement Implant\"\n | \"Neural-Retention Enhancement\"\n | \"DataJack\"\n | \"Embedded Netburner Module\"\n | \"Embedded Netburner Module Core Implant\"\n | \"Embedded Netburner Module Core V2 Upgrade\"\n | \"Embedded Netburner Module Core V3 Upgrade\"\n | \"Embedded Netburner Module Analyze Engine\"\n | \"Embedded Netburner Module Direct Memory Access Upgrade\"\n | \"Neuralstimulator\"\n | \"Neural Accelerator\"\n | \"Cranial Signal Processors - Gen I\"\n | \"Cranial Signal Processors - Gen II\"\n | \"Cranial Signal Processors - Gen III\"\n | \"Cranial Signal Processors - Gen IV\"\n | \"Cranial Signal Processors - Gen V\"\n | \"Neuronal Densification\"\n | \"Nuoptimal Nootropic Injector Implant\"\n | \"Speech Enhancement\"\n | \"FocusWire\"\n | \"PC Direct-Neural Interface\"\n | \"PC Direct-Neural Interface Optimization Submodule\"\n | \"PC Direct-Neural Interface NeuroNet Injector\"\n | \"ADR-V1 Pheromone Gene\"\n | \"ADR-V2 Pheromone Gene\"\n | \"The Shadow's Simulacrum\"\n | \"Hacknet Node CPU Architecture Neural-Upload\"\n | \"Hacknet Node Cache Architecture Neural-Upload\"\n | \"Hacknet Node NIC Architecture Neural-Upload\"\n | \"Hacknet Node Kernel Direct-Neural Interface\"\n | \"Hacknet Node Core Direct-Neural Interface\"\n | \"NeuroFlux Governor\"\n | \"Neurotrainer I\"\n | \"Neurotrainer II\"\n | \"Neurotrainer III\"\n | \"HyperSight Corneal Implant\"\n | \"LuminCloaking-V1 Skin Implant\"\n | \"LuminCloaking-V2 Skin Implant\"\n | \"HemoRecirculator\"\n | \"SmartSonar Implant\"\n | \"Power Recirculation Core\"\n | \"QLink\"\n | \"The Red Pill\"\n | \"SPTN-97 Gene Modification\"\n | \"ECorp HVMind Implant\"\n | \"CordiARC Fusion Reactor\"\n | \"SmartJaw\"\n | \"Neotra\"\n | \"Xanipher\"\n | \"nextSENS Gene Modification\"\n | \"OmniTek InfoLoad\"\n | \"Photosynthetic Cells\"\n | \"BitRunners Neurolink\"\n | \"The Black Hand\"\n | \"CRTX42-AA Gene Modification\"\n | \"Neuregen Gene Modification\"\n | \"CashRoot Starter Kit\"\n | \"NutriGen Implant\"\n | \"INFRARET Enhancement\"\n | \"DermaForce Particle Barrier\"\n | \"Graphene BranchiBlades Upgrade\"\n | \"Graphene Bionic Arms Upgrade\"\n | \"BrachiBlades\"\n | \"Bionic Arms\"\n | \"Social Negotiation Assistant (S.N.A)\"\n | \"EsperTech Bladeburner Eyewear\"\n | \"EMS-4 Recombination\"\n | \"ORION-MKIV Shoulder\"\n | \"Hyperion Plasma Cannon V1\"\n | \"Hyperion Plasma Cannon V2\"\n | \"GOLEM Serum\"\n | \"Vangelis Virus\"\n | \"Vangelis Virus 3.0\"\n | \"I.N.T.E.R.L.I.N.K.E.D\"\n | \"Blade's Runners\"\n | \"BLADE-51b Tesla Armor\"\n | \"BLADE-51b Tesla Armor: Power Cells Upgrade\"\n | \"BLADE-51b Tesla Armor: Energy Shielding Upgrade\"\n | \"BLADE-51b Tesla Armor: Unibeam Upgrade\"\n | \"BLADE-51b Tesla Armor: Omnibeam Upgrade\"\n | \"BLADE-51b Tesla Armor: IPU Upgrade\"\n | \"The Blade's Simulacrum\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "AugmentName", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!AugmentPair:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface AugmentPair " + } + ], + "releaseTag": "Public", + "name": "AugmentPair", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentPair#cost:member", + "docComment": "/**\n * augmentation cost\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "cost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "cost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!AugmentPair#name:member", + "docComment": "/**\n * augmentation name\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "name: " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "name", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!BasicHGWOptions:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface BasicHGWOptions " + } + ], + "releaseTag": "Public", + "name": "BasicHGWOptions", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BasicHGWOptions#threads:member", + "docComment": "/**\n * Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "threads: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "threads", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!BitNodeMultipliers:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface BitNodeMultipliers " + } + ], + "releaseTag": "Public", + "name": "BitNodeMultipliers", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#AgilityLevelMultiplier:member", + "docComment": "/**\n * Influences how quickly the player's agility level (not exp) scales\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "AgilityLevelMultiplier: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "AgilityLevelMultiplier", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#AugmentationMoneyCost:member", + "docComment": "/**\n * Influences the base cost to purchase an augmentation.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "AugmentationMoneyCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "AugmentationMoneyCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#AugmentationRepCost:member", + "docComment": "/**\n * Influences the base rep the player must have with a faction to purchase an augmentation.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "AugmentationRepCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "AugmentationRepCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#BladeburnerRank:member", + "docComment": "/**\n * Influences how quickly the player can gain rank within Bladeburner.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "BladeburnerRank: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "BladeburnerRank", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#BladeburnerSkillCost:member", + "docComment": "/**\n * Influences the cost of skill levels from Bladeburner.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "BladeburnerSkillCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "BladeburnerSkillCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CharismaLevelMultiplier:member", + "docComment": "/**\n * Influences how quickly the player's charisma level (not exp) scales\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CharismaLevelMultiplier: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CharismaLevelMultiplier", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ClassGymExpGain:member", + "docComment": "/**\n * Influences the experience gained for each ability when a player completes a class.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ClassGymExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ClassGymExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CodingContractMoney:member", + "docComment": "/**\n * Influences the amount of money gained from completing Coding Contracts\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CodingContractMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CodingContractMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CompanyWorkExpGain:member", + "docComment": "/**\n * Influences the experience gained for each ability when the player completes working their job.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CompanyWorkExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CompanyWorkExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CompanyWorkMoney:member", + "docComment": "/**\n * Influences how much money the player earns when completing working their job.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CompanyWorkMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CompanyWorkMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CorporationValuation:member", + "docComment": "/**\n * Influences the valuation of corporations created by the player.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CorporationValuation: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CorporationValuation", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CrimeExpGain:member", + "docComment": "/**\n * Influences the base experience gained for each ability when the player commits a crime.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CrimeExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CrimeExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#CrimeMoney:member", + "docComment": "/**\n * Influences the base money gained when the player commits a crime.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "CrimeMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "CrimeMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#DaedalusAugsRequirement:member", + "docComment": "/**\n * Influences how many Augmentations you need in order to get invited to the Daedalus faction\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "DaedalusAugsRequirement: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "DaedalusAugsRequirement", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#DefenseLevelMultiplier:member", + "docComment": "/**\n * Influences how quickly the player's defense level (not exp) scales\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "DefenseLevelMultiplier: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "DefenseLevelMultiplier", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#DexterityLevelMultiplier:member", + "docComment": "/**\n * Influences how quickly the player's dexterity level (not exp) scales\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "DexterityLevelMultiplier: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "DexterityLevelMultiplier", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#FactionPassiveRepGain:member", + "docComment": "/**\n * Influences how much rep the player gains in each faction simply by being a member.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "FactionPassiveRepGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "FactionPassiveRepGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#FactionWorkExpGain:member", + "docComment": "/**\n * Influences the experience gained for each ability when the player completes work for a Faction.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "FactionWorkExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "FactionWorkExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#FactionWorkRepGain:member", + "docComment": "/**\n * Influences how much rep the player gains when performing work for a faction.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "FactionWorkRepGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "FactionWorkRepGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#FourSigmaMarketDataApiCost:member", + "docComment": "/**\n * Influences how much it costs to unlock the stock market's 4S Market Data API\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "FourSigmaMarketDataApiCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "FourSigmaMarketDataApiCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#FourSigmaMarketDataCost:member", + "docComment": "/**\n * Influences how much it costs to unlock the stock market's 4S Market Data (NOT API)\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "FourSigmaMarketDataCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "FourSigmaMarketDataCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#HackExpGain:member", + "docComment": "/**\n * Influences the experienced gained when hacking a server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "HackExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "HackExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#HackingLevelMultiplier:member", + "docComment": "/**\n * Influences how quickly the player's hacking level (not experience) scales\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "HackingLevelMultiplier: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "HackingLevelMultiplier", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#HacknetNodeMoney:member", + "docComment": "/**\n * Influences how much money is produced by Hacknet Nodes and the hash rate of Hacknet Servers (unlocked in BitNode-9)\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "HacknetNodeMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "HacknetNodeMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#HomeComputerRamCost:member", + "docComment": "/**\n * Influences how much money it costs to upgrade your home computer's RAM\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "HomeComputerRamCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "HomeComputerRamCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#InfiltrationMoney:member", + "docComment": "/**\n * Influences how much money is gained when the player infiltrates a company.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "InfiltrationMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "InfiltrationMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#InfiltrationRep:member", + "docComment": "/**\n * Influences how much rep the player can gain from factions when selling stolen documents and secrets\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "InfiltrationRep: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "InfiltrationRep", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ManualHackMoney:member", + "docComment": "/**\n * Influences how much money can be stolen from a server when the player performs a hack against it through the Terminal.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ManualHackMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ManualHackMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerCost:member", + "docComment": "/**\n * Influence how much it costs to purchase a server\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "PurchasedServerCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "PurchasedServerCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerLimit:member", + "docComment": "/**\n * Influences the maximum number of purchased servers you can have\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "PurchasedServerLimit: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "PurchasedServerLimit", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#PurchasedServerMaxRam:member", + "docComment": "/**\n * Influences the maximum allowed RAM for a purchased server\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "PurchasedServerMaxRam: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "PurchasedServerMaxRam", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#RepToDonateToFaction:member", + "docComment": "/**\n * Influences the minimum favor the player must have with a faction before they can donate to gain rep.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "RepToDonateToFaction: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "RepToDonateToFaction", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ScriptHackMoney:member", + "docComment": "/**\n * Influences how much money can be stolen from a server when a script performs a hack against it.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ScriptHackMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ScriptHackMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ServerGrowthRate:member", + "docComment": "/**\n * Influences the growth percentage per cycle against a server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ServerGrowthRate: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ServerGrowthRate", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ServerMaxMoney:member", + "docComment": "/**\n * Influences the maxmimum money that a server can grow to.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ServerMaxMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ServerMaxMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ServerStartingMoney:member", + "docComment": "/**\n * Influences the initial money that a server starts with.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ServerStartingMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ServerStartingMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ServerStartingSecurity:member", + "docComment": "/**\n * Influences the initial security level (hackDifficulty) of a server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ServerStartingSecurity: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ServerStartingSecurity", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#ServerWeakenRate:member", + "docComment": "/**\n * Influences the weaken amount per invocation against a server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ServerWeakenRate: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ServerWeakenRate", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BitNodeMultipliers#StrengthLevelMultiplier:member", + "docComment": "/**\n * Influences how quickly the player's strength level (not exp) scales\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "StrengthLevelMultiplier: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "StrengthLevelMultiplier", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!Bladeburner:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface Bladeburner " + } + ], + "releaseTag": "Public", + "name": "Bladeburner", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionAutolevel:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Return a boolean indicating whether or not this action is currently set to autolevel.\n *\n * Returns false if an invalid action is specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns True if the action is set to autolevel, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionAutolevel(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getActionAutolevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionCountRemaining:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the remaining count of the specified action.\n *\n * Note that this is meant to be used for Contracts and Operations. This function will return ‘Infinity’ for actions such as Training and Field Analysis. This function will return 1 for BlackOps not yet completed regardless of wether the player has the required rank to attempt the mission or not.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Remaining count of the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionCountRemaining(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getActionCountRemaining" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionCurrentLevel:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the current level of this action.\n *\n * Returns -1 if an invalid action is specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Current level of the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionCurrentLevel(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getActionCurrentLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionEstimatedSuccessChance:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the estimated success chance for the specified action. This chance is returned as a decimal value, NOT a percentage (e.g. if you have an estimated success chance of 80%, then this function will return 0.80, NOT 80).\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Estimated success chance for the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionEstimatedSuccessChance(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getActionEstimatedSuccessChance" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionMaxLevel:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the maximum level for this action.\n *\n * Returns -1 if an invalid action is specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Maximum level of the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionMaxLevel(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getActionMaxLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionRepGain:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the average Bladeburner reputation gain for successfully completing the specified action. Note that this value is an ‘average’ and the real reputation gain may vary slightly from this value.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param level - Optional action level at which to calculate the gain\n *\n * @returns Average Bladeburner reputation gain for successfully completing the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionRepGain(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n level: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 13, + "endIndex": 14 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + }, + { + "parameterName": "level", + "parameterTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + } + } + ], + "name": "getActionRepGain" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getActionTime:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the number of seconds it takes to complete the specified action\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Number of seconds it takes to complete the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getActionTime(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getActionTime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getBlackOpNames:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all Bladeburner Black Ops.\n *\n * @remarks\n *\n * 0.4 GB\n *\n * @returns Array of strings containing the names of all Bladeburner Black Ops.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getBlackOpNames(): " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getBlackOpNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getBlackOpRank:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the rank required to complete this BlackOp.\n *\n * Returns -1 if an invalid action is specified.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param name - Name of BlackOp. Must be an exact match.\n *\n * @returns Rank required to complete this BlackOp.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getBlackOpRank(name: " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getBlackOpRank" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getBonusTime:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic.\n *\n * “Bonus time” is accumulated when the game is offline or if the game is inactive in the browser.\n *\n * “Bonus time” makes the game progress faster, up to 5x the normal speed. For example, if an action takes 30 seconds to complete but you’ve accumulated over 30 seconds in bonus time, then the action will only take 6 seconds in real life to complete.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns Amount of accumulated “bonus time” (seconds) for the Bladeburner mechanic.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getBonusTime(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getBonusTime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getCity:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the city that the player is currently in (for Bladeburner).\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns City that the player is currently in (for Bladeburner).\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCity(): " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getCity" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getCityChaos:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the chaos in the specified city, or -1 if an invalid city was specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns Chaos in the specified city.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCityChaos(name: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCityChaos" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getCityCommunities:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the estimated number of Synthoid communities in the specified city, or -1 if an invalid city was specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns Number of Synthoids communities in the specified city.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCityCommunities(name: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCityCommunities" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getCityEstimatedPopulation:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the estimated number of Synthoids in the specified city, or -1 if an invalid city was specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns Estimated number of Synthoids in the specified city.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCityEstimatedPopulation(name: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCityEstimatedPopulation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getContractNames:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all Bladeburner contracts.\n *\n * @remarks\n *\n * 0.4 GB\n *\n * @returns Array of strings containing the names of all Bladeburner contracts.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getContractNames(): " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getContractNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getCurrentAction:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an object that represents the player’s current Bladeburner action. If the player is not performing an action, the function will return an object with the ‘type’ property set to “Idle”.\n *\n * @remarks\n *\n * 1 GB\n *\n * @returns Object that represents the player’s current Bladeburner action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCurrentAction(): " + }, + { + "kind": "Reference", + "text": "BladeburnerCurAction", + "canonicalReference": "bitburner!BladeburnerCurAction:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getCurrentAction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getGeneralActionNames:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all general Bladeburner actions.\n *\n * @remarks\n *\n * 0.4 GB\n *\n * @returns Array of strings containing the names of all general Bladeburner actions.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getGeneralActionNames(): " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getGeneralActionNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getOperationNames:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all Bladeburner operations.\n *\n * @remarks\n *\n * 0.4 GB\n *\n * @returns Array of strings containing the names of all Bladeburner operations.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getOperationNames(): " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getOperationNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getRank:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the player’s Bladeburner Rank.\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns Player’s Bladeburner Rank.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getRank(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getRank" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getSkillLevel:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * This function returns your level in the specified skill.\n *\n * The function returns -1 if an invalid skill name is passed in.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param skillName - Name of skill. Case-sensitive and must be an exact match\n *\n * @returns Level in the specified skill.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSkillLevel(name: " + }, + { + "kind": "Reference", + "text": "BladeburnerSkills", + "canonicalReference": "bitburner!BladeburnerSkills:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getSkillLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getSkillNames:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array of strings containing the names of all general Bladeburner skills.\n *\n * @remarks\n *\n * 0.4 GB\n *\n * @returns Array of strings containing the names of all general Bladeburner skills.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSkillNames(): " + }, + { + "kind": "Reference", + "text": "BladeburnerSkills", + "canonicalReference": "bitburner!BladeburnerSkills:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getSkillNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getSkillPoints:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the number of Bladeburner skill points you have.\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns Number of Bladeburner skill points you have.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSkillPoints(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getSkillPoints" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getSkillUpgradeCost:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * This function returns the number of skill points needed to upgrade the specified skill.\n *\n * The function returns -1 if an invalid skill name is passed in.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param skillName - Name of skill. Case-sensitive and must be an exact match\n *\n * @returns Number of skill points needed to upgrade the specified skill.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSkillUpgradeCost(name: " + }, + { + "kind": "Reference", + "text": "BladeburnerSkills", + "canonicalReference": "bitburner!BladeburnerSkills:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getSkillUpgradeCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getStamina:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns an array with two elements: * [Current stamina, Max stamina]\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns Array containing current stamina and max stamina.\n *\n * @example\n * ```js\n * function getStaminaPercentage() {\n * let res = bladeburner.getStamina();\n * return res[0] / res[1];\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getStamina(): " + }, + { + "kind": "Content", + "text": "[number, number]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getStamina" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#getTeamSize:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Returns the number of Bladeburner team members you have assigned to the specified action.\n *\n * Setting a team is only applicable for Operations and BlackOps. This function will return 0 for other action types.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @returns Number of Bladeburner team members that were assigned to the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getTeamSize(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "getTeamSize" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#joinBladeburnerDivision:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Attempts to join the Bladeburner division.\n *\n * Returns true if you successfully join the Bladeburner division, or if you are already a member.\n *\n * Returns false otherwise.\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns True if you successfully join the Bladeburner division, or if you are already a member, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "joinBladeburnerDivision(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "joinBladeburnerDivision" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#joinBladeburnerFaction:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Attempts to join the Bladeburner faction.\n *\n * Returns true if you successfully join the Bladeburner faction, or if you are already a member.\n *\n * Returns false otherwise.\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns True if you successfully join the Bladeburner faction, or if you are already a member, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "joinBladeburnerFaction(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "joinBladeburnerFaction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#setActionAutolevel:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Enable/disable autoleveling for the specified action.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param autoLevel - Whether or not to autolevel this action\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setActionAutolevel(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n autoLevel: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 13, + "endIndex": 14 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + }, + { + "parameterName": "autoLevel", + "parameterTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + } + } + ], + "name": "setActionAutolevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#setActionLevel:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Set the level for the specified action.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param level - Level to set this action to.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setActionLevel(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n level: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 13, + "endIndex": 14 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + }, + { + "parameterName": "level", + "parameterTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + } + } + ], + "name": "setActionLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#setTeamSize:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Set the team size for the specified Bladeburner action.\n *\n * Returns the team size that was set, or -1 if the function failed.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match.\n *\n * @param size - Number of team members to set. Will be converted using Math.round().\n *\n * @returns Number of Bladeburner team members you assigned to the specified action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setTeamSize(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n size: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 13, + "endIndex": 14 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + }, + { + "parameterName": "size", + "parameterTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + } + } + ], + "name": "setTeamSize" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#startAction:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Attempts to start the specified Bladeburner action. Returns true if the action was started successfully, and false otherwise.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param type - Type of action.\n *\n * @param name - Name of action. Must be an exact match\n *\n * @returns True if the action was started successfully, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "startAction(\n type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": ",\n name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 10 + } + } + ], + "name": "startAction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#stopBladeburnerAction:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Stops the current Bladeburner action.\n *\n * @remarks\n *\n * 2 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "stopBladeburnerAction(): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "stopBladeburnerAction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#switchCity:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Attempts to switch to the specified city (for Bladeburner only).\n *\n * Returns true if successful, and false otherwise\n *\n * @remarks\n *\n * 4 GB\n *\n * @param cityName - Name of city. Case-sensitive\n *\n * @returns true if successful, and false otherwise\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "switchCity(name: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "switchCity" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Bladeburner#upgradeSkill:member(1)", + "docComment": "/**\n * You have to be employed in the Bladeburner division and be in BitNode-7 or have Source-File 7 in order to use this function.\n *\n * Attempts to upgrade the specified Bladeburner skill.\n *\n * Returns true if the skill is successfully upgraded, and false otherwise.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param skillName - Name of skill to be upgraded. Case-sensitive and must be an exact match\n *\n * @returns true if the skill is successfully upgraded, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "upgradeSkill(name: " + }, + { + "kind": "Reference", + "text": "BladeburnerSkills", + "canonicalReference": "bitburner!BladeburnerSkills:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "upgradeSkill" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!BladeburnerActTypes:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type BladeburnerActTypes = " + }, + { + "kind": "Content", + "text": "\"contracts\" | \"operations\" | \"black ops\" | \"general\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "BladeburnerActTypes", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!BladeburnerBlackOps:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type BladeburnerBlackOps =\n " + }, + { + "kind": "Content", + "text": "| \"Operation Typhoon\"\n | \"Operation Zero\"\n | \"Operation X\"\n | \"Operation Titan\"\n | \"Operation Ares\"\n | \"Operation Archangel\"\n | \"Operation Juggernaut\"\n | \"Operation Red Dragon\"\n | \"Operation K\"\n | \"Operation Deckard\"\n | \"Operation Tyrell\"\n | \"Operation Wallace\"\n | \"Operation Shoulder of Orion\"\n | \"Operation Hyron\"\n | \"Operation Morpheus\"\n | \"Operation Ion Storm\"\n | \"Operation Annihilus\"\n | \"Operation Ultron\"\n | \"Operation Centurion\"\n | \"Operation Vindictus\"\n | \"Operation Daedalus\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "BladeburnerBlackOps", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!BladeburnerContracts:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type BladeburnerContracts = " + }, + { + "kind": "Content", + "text": "\"Tracking\" | \"Bounty Hunter\" | \"Retirement\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "BladeburnerContracts", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!BladeburnerCurAction:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface BladeburnerCurAction " + } + ], + "releaseTag": "Public", + "name": "BladeburnerCurAction", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BladeburnerCurAction#name:member", + "docComment": "/**\n * Name of Action\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "name: " + }, + { + "kind": "Reference", + "text": "BladeburnerGenActions", + "canonicalReference": "bitburner!BladeburnerGenActions:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerContracts", + "canonicalReference": "bitburner!BladeburnerContracts:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerOperations", + "canonicalReference": "bitburner!BladeburnerOperations:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "BladeburnerBlackOps", + "canonicalReference": "bitburner!BladeburnerBlackOps:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "name", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 8 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!BladeburnerCurAction#type:member", + "docComment": "/**\n * Type of Action\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type: " + }, + { + "kind": "Reference", + "text": "BladeburnerActTypes", + "canonicalReference": "bitburner!BladeburnerActTypes:type" + }, + { + "kind": "Content", + "text": " | \"Idle\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "type", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!BladeburnerGenActions:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type BladeburnerGenActions =\n " + }, + { + "kind": "Content", + "text": "| \"Training\"\n | \"Field Analysis\"\n | \"Recruitment\"\n | \"Diplomacy\"\n | \"Hyperbolic Regeneration Chamber\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "BladeburnerGenActions", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!BladeburnerOperations:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type BladeburnerOperations =\n " + }, + { + "kind": "Content", + "text": "| \"Investigation\"\n | \"Undercover Operation\"\n | \"Sting Operation\"\n | \"Raid\"\n | \"Stealth Retirement Operation\"\n | \"Assassination\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "BladeburnerOperations", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!BladeburnerSkills:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type BladeburnerSkills =\n " + }, + { + "kind": "Content", + "text": "| \"Blade's Intuition\"\n | \"Cloak\"\n | \"Marksman\"\n | \"Weapon Proficiency\"\n | \"Short-Circuit\"\n | \"Digital Observer\"\n | \"Tracer\"\n | \"Overclock\"\n | \"Reaper\"\n | \"Evasive System\"\n | \"Datamancer\"\n | \"Cyber's Edge\"\n | \"Hands of Midas\"\n | \"Hyperdrive\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "BladeburnerSkills", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!CharacterInfo:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface CharacterInfo " + } + ], + "releaseTag": "Public", + "name": "CharacterInfo", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#bitnode:member", + "docComment": "/**\n * Current BitNode number\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "bitnode: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "bitnode", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#city:member", + "docComment": "/**\n * Name of city you are currently in\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "city: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "city", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#company:member", + "docComment": "/**\n * Array of all companies at which you have jobs\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "company: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "company", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#factions:member", + "docComment": "/**\n * Array of factions you are currently a member of\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "factions: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "factions", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#hp:member", + "docComment": "/**\n * Current health points\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#jobTitle:member", + "docComment": "/**\n * Array of job positions for all companies you are employed at. Same order as 'jobs'\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "jobTitle: " + }, + { + "kind": "Reference", + "text": "CompanyField", + "canonicalReference": "bitburner!CompanyField:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "jobTitle", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#maxHp:member", + "docComment": "/**\n * Maximum health points\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "maxHp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "maxHp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#mult:member", + "docComment": "/**\n * Object with many of the player's multipliers from Augmentations/Source Files\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "mult: " + }, + { + "kind": "Reference", + "text": "CharacterMult", + "canonicalReference": "bitburner!CharacterMult:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#timeWorked:member", + "docComment": "/**\n * Timed worked in ms\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "timeWorked: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "timeWorked", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#tor:member", + "docComment": "/**\n * Boolean indicating whether or not you have a tor router\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "tor: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "tor", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workAgiExpGain:member", + "docComment": "/**\n * Agi experience earned so far from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workAgiExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workAgiExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workChaExpGain:member", + "docComment": "/**\n * Cha experience earned so far from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workChaExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workChaExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workDefExpGain:member", + "docComment": "/**\n * Def experience earned so far from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workDefExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workDefExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workDexExpGain:member", + "docComment": "/**\n * Dex experience earned so far from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workDexExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workDexExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workHackExpGain:member", + "docComment": "/**\n * Hacking experience earned so far from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workHackExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workHackExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workMoneyGain:member", + "docComment": "/**\n * Money earned so far from work, if applicable\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workMoneyGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workMoneyGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workRepGain:member", + "docComment": "/**\n * Reputation earned so far from work, if applicable\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workRepGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workRepGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterInfo#workStrExpGain:member", + "docComment": "/**\n * Str experience earned so far from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workStrExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workStrExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!CharacterMult:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface CharacterMult " + } + ], + "releaseTag": "Public", + "name": "CharacterMult", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#agility:member", + "docComment": "/**\n * Agility stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agility", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#agilityExp:member", + "docComment": "/**\n * Agility exp\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agilityExp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agilityExp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#companyRep:member", + "docComment": "/**\n * Company reputation\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "companyRep: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "companyRep", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#crimeMoney:member", + "docComment": "/**\n * Money earned from crimes\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "crimeMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "crimeMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#crimeSuccess:member", + "docComment": "/**\n * Crime success chance\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "crimeSuccess: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "crimeSuccess", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#defense:member", + "docComment": "/**\n * Defense stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defense", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#defenseExp:member", + "docComment": "/**\n * Defense exp\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defenseExp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defenseExp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#dexterity:member", + "docComment": "/**\n * Dexterity stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterity", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#dexterityExp:member", + "docComment": "/**\n * Dexterity exp\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterityExp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterityExp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#factionRep:member", + "docComment": "/**\n * Faction reputation\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "factionRep: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "factionRep", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#hacking:member", + "docComment": "/**\n * Hacking stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacking", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#hackingExp:member", + "docComment": "/**\n * Hacking exp\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackingExp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hackingExp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#strength:member", + "docComment": "/**\n * Strength stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strength", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#strengthExp:member", + "docComment": "/**\n * Strength exp\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strengthExp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strengthExp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CharacterMult#workMoney:member", + "docComment": "/**\n * Money earned from jobs\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!City:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type City = " + }, + { + "kind": "Content", + "text": "\"Aevum\" | \"Chongqing\" | \"Sector-12\" | \"New Tokyo\" | \"Ishima\" | \"Volhaven\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "City", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!CodingAttemptOptions:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface CodingAttemptOptions " + } + ], + "releaseTag": "Public", + "name": "CodingAttemptOptions", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CodingAttemptOptions#returnReward:member", + "docComment": "/**\n * If truthy, then the function will return a string that states the contract’s reward when it is successfully solved.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "returnReward: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "returnReward", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!CodingContract:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface CodingContract " + } + ], + "releaseTag": "Public", + "name": "CodingContract", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!CodingContract#attempt:member(1)", + "docComment": "/**\n * Attempts to solve the Coding Contract with the provided solution.\n *\n * @remarks\n *\n * 10 GB\n *\n * @param answer - Solution for the contract.\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns True if the solution was correct, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "attempt(answer: " + }, + { + "kind": "Content", + "text": "string | string[] | number" + }, + { + "kind": "Content", + "text": ", fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "answer", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "attempt" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!CodingContract#attempt:member(2)", + "docComment": "/**\n * Attempts to solve the Coding Contract with the provided solution.\n *\n * @remarks\n *\n * 10 GB\n *\n * @param answer - Solution for the contract.\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns True if the solution was correct, false otherwise. If the returnReward option is configured, then the function will instead return a string. If the contract is successfully solved, the string will contain a description of the contract’s reward. Otherwise, it will be an empty string.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "attempt(answer: " + }, + { + "kind": "Content", + "text": "string | string[] | number" + }, + { + "kind": "Content", + "text": ", fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", opts?: " + }, + { + "kind": "Reference", + "text": "CodingAttemptOptions", + "canonicalReference": "bitburner!CodingAttemptOptions:interface" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean | string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 9, + "endIndex": 10 + }, + "releaseTag": "Public", + "overloadIndex": 2, + "parameters": [ + { + "parameterName": "answer", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + }, + { + "parameterName": "opts", + "parameterTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + } + } + ], + "name": "attempt" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!CodingContract#getContractType:member(1)", + "docComment": "/**\n * Returns a name describing the type of problem posed by the Coding Contract. (e.g. Find Largest Prime Factor, Total Ways to Sum, etc.)\n *\n * @remarks\n *\n * 5 GB\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns Name describing the type of problem posed by the Coding Contract.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getContractType(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "CodingContractTypes", + "canonicalReference": "bitburner!CodingContractTypes:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getContractType" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!CodingContract#getData:member(1)", + "docComment": "/**\n * Get the data associated with the specific Coding Contract. Note that this is not the same as the contract’s description. This is just the data that the contract wants you to act on in order to solve\n *\n * @remarks\n *\n * 5 GB\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns The specified contract’s data;\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getData(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getData" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!CodingContract#getDescription:member(1)", + "docComment": "/**\n * Get the full text description for the problem posed by the Coding Contract.\n *\n * @remarks\n *\n * 5 GB\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns Contract’s text description.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getDescription(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getDescription" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!CodingContract#getNumTriesRemaining:member(1)", + "docComment": "/**\n * Get the number of tries remaining on the contract before it self-destructs.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param fn - Filename of the contract.\n *\n * @param host - Host or IP of the server containing the contract. Optional. Defaults to current server if not provided.\n *\n * @returns How many attempts are remaining for the contract;\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getNumTriesRemaining(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getNumTriesRemaining" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!CodingContractTypes:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type CodingContractTypes =\n " + }, + { + "kind": "Content", + "text": "| \"Find Largest Prime Factor\"\n | \"Subarray with Maximum Sum\"\n | \"Total Ways to Sum\"\n | \"Spiralize Matrix\"\n | \"Array Jumping Game\"\n | \"Merge Overlapping Intervals\"\n | \"Generate IP Addresses\"\n | \"Algorithmic Stock Trader I\"\n | \"Algorithmic Stock Trader II\"\n | \"Algorithmic Stock Trader III\"\n | \"Algorithmic Stock Trader IV\"\n | \"Minimum Path Sum in a Triangle\"\n | \"Unique Paths in a Grid I\"\n | \"Unique Paths in a Grid II\"\n | \"Sanitize Parentheses in Expression\"\n | \"Find All Valid Math Expressions\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "CodingContractTypes", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!CompanyField:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type CompanyField =\n " + }, + { + "kind": "Content", + "text": "| \"software\"\n | \"software consultant\"\n | \"it\"\n | \"security engineer\"\n | \"network engineer\"\n | \"business\"\n | \"business consultant\"\n | \"security\"\n | \"agent\"\n | \"employee\"\n | \"part-time employee\"\n | \"waiter\"\n | \"part-time waiter\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "CompanyField", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!CompanyName:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type CompanyName =\n // Sector-12\n " + }, + { + "kind": "Content", + "text": "| \"MegaCorp\"\n | \"BladeIndustries\"\n | \"FourSigma\"\n | \"IcarusMicrosystems\"\n | \"UniversalEnergy\"\n | \"DeltaOne\"\n | \"CIA\"\n | \"NSA\"\n | \"AlphaEnterprises\"\n | \"CarmichaelSecurity\"\n | \"FoodNStuff\"\n | \"JoesGuns\"\n\n // Aevum\n | \"ECorp\"\n | \"BachmanAndAssociates\"\n | \"ClarkeIncorporated\"\n | \"OmniTekIncorporated\"\n | \"FulcrumTechnologies\"\n | \"GalacticCybersystems\"\n | \"AeroCorp\"\n | \"WatchdogSecurity\"\n | \"RhoConstruction\"\n | \"AevumPolice\"\n | \"NetLinkTechnologies\"\n\n // Volhaven\n | \"NWO\"\n | \"HeliosLabs\"\n | \"OmniaCybersystems\"\n | \"LexoCorp\"\n | \"SysCoreSecurities\"\n | \"CompuTek\"\n\n // Chongqing\n | \"KuaiGongInternational\"\n | \"SolarisSpaceSystems\"\n\n // Ishima\n | \"StormTechnologies\"\n | \"NovaMedical\"\n | \"OmegaSoftware\"\n\n // New Tokyo\n | \"DefComm\"\n | \"VitaLife\"\n | \"GlobalPharmaceuticals\"\n | \"NoodleBar\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "CompanyName", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!CreatableProgram:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type CreatableProgram = " + }, + { + "kind": "Reference", + "text": "PurchaseableProgram", + "canonicalReference": "bitburner!PurchaseableProgram:type" + }, + { + "kind": "Content", + "text": " | \"serverprofiler.exe\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "CreatableProgram", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!Crime:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type Crime =\n " + }, + { + "kind": "Content", + "text": "| \"shoplift\"\n | \"rob store\"\n | \"mug\"\n | \"larceny\"\n | \"deal drugs\"\n | \"bond forgery\"\n | \"traffick arms\"\n | \"homicide\"\n | \"grand theft auto\"\n | \"kidnap\"\n | \"assassinate\"\n | \"heist\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "Crime", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!CrimeStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface CrimeStats " + } + ], + "releaseTag": "Public", + "name": "CrimeStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#agility_exp:member", + "docComment": "/**\n * agility exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agility_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#agility_success_weight:member", + "docComment": "/**\n * agility level impact on success change of the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility_success_weight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agility_success_weight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#charisma_exp:member", + "docComment": "/**\n * charisma exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charisma_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#charisma_success_weight:member", + "docComment": "/**\n * charisma level impact on success change of the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma_success_weight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charisma_success_weight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#defense_exp:member", + "docComment": "/**\n * defense exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defense_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#defense_success_weight:member", + "docComment": "/**\n * defense level impact on success change of the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense_success_weight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defense_success_weight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#dexterity_exp:member", + "docComment": "/**\n * dexterity exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterity_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#dexterity_success_weight:member", + "docComment": "/**\n * dexterity level impact on success change of the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity_success_weight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterity_success_weight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#difficulty:member", + "docComment": "/**\n * Number representing the difficulty of the crime. Used for success chance calculations\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "difficulty: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "difficulty", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#hacking_exp:member", + "docComment": "/**\n * hacking exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacking_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#hacking_success_weight:member", + "docComment": "/**\n * hacking level impact on success change of the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_success_weight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacking_success_weight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#intelligence_exp:member", + "docComment": "/**\n * intelligence exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "intelligence_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "intelligence_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#karma:member", + "docComment": "/**\n * Amount of karma lost for SUCCESSFULLY committing this crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "karma: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "karma", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#kills:member", + "docComment": "/**\n * How many people die as a result of this crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "kills: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "kills", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#money:member", + "docComment": "/**\n * How much money is given\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "money: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "money", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#name:member", + "docComment": "/**\n * Name of crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "name: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "name", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#strength_exp:member", + "docComment": "/**\n * strength exp gained from crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength_exp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strength_exp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#strength_success_weight:member", + "docComment": "/**\n * strength level impact on success change of the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength_success_weight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strength_success_weight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#time:member", + "docComment": "/**\n * Milliseconds it takes to attempt the crime\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "time: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "time", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!CrimeStats#type:member", + "docComment": "/**\n * Description of the crime activity\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "type", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!FactionName:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type FactionName =\n " + }, + { + "kind": "Content", + "text": "| \"Illuminati\"\n | \"Daedalus\"\n | \"The Covenant\"\n | \"ECorp\"\n | \"MegaCorp\"\n | \"Bachman & Associates\"\n | \"Blade Industries\"\n | \"NWO\"\n | \"Clarke Incorporated\"\n | \"OmniTek Incorporated\"\n | \"Four Sigma\"\n | \"KuaiGong International\"\n | \"Fulcrum Secret Technologies\"\n | \"BitRunners\"\n | \"The Black Hand\"\n | \"NiteSec\"\n | \"Aevum\"\n | \"Chongqing\"\n | \"Ishima\"\n | \"New Tokyo\"\n | \"Sector-12\"\n | \"Volhaven\"\n | \"Speakers for the Dead\"\n | \"The Dark Army\"\n | \"The Syndicate\"\n | \"Silhouette\"\n | \"Tetrads\"\n | \"Slum Snakes\"\n | \"Netburners\"\n | \"Tian Di Hui\"\n | \"CyberSec\"\n | \"Bladeburners\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "FactionName", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!FactionWork:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type FactionWork = " + }, + { + "kind": "Content", + "text": "\"hacking\" | \"field\" | \"security\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "FactionWork", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!Gang:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface Gang " + } + ], + "releaseTag": "Public", + "name": "Gang", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#ascendMember:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Ascend the specified Gang Member.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param memberName - Name of member to ascend.\n *\n * @returns Object with info about the ascension results.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ascendMember(memberName: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "GangMemberAscension", + "canonicalReference": "bitburner!GangMemberAscension:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "memberName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "ascendMember" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#canRecruitMember:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Returns boolean indicating whether a member can currently be recruited\n *\n * @remarks\n *\n * 1 GB\n *\n * @returns True if a member can currently be recruited, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "canRecruitMember(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "canRecruitMember" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getBonusTime:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Returns the amount of accumulated “bonus time” (seconds) for the Gang mechanic.\n *\n * “Bonus time” is accumulated when the game is offline or if the game is inactive in the browser.\n *\n * “Bonus time” makes the game progress faster, up to 10x the normal speed.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns Bonus time for the Gang mechanic in seconds.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getBonusTime(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getBonusTime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getChanceToWinClash:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Returns the chance you have to win a clash with the specified gang. The chance is returned in decimal form, not percentage\n *\n * @remarks\n *\n * 4 GB\n *\n * @param gangName - Target gang\n *\n * @returns Chance you have to win a clash with the specified gang.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getChanceToWinClash(gangName: " + }, + { + "kind": "Reference", + "text": "GangName", + "canonicalReference": "bitburner!GangName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "gangName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getChanceToWinClash" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getEquipmentCost:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the amount of money it takes to purchase a piece of Equipment or an Augmentation. If an invalid Equipment/Augmentation is specified, this function will return Infinity.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param equipName - Name of equipment.\n *\n * @returns Cost to purchase the specified Equipment/Augmentation (number). Infinity for invalid arguments\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getEquipmentCost(equipName: " + }, + { + "kind": "Reference", + "text": "GangEquipment", + "canonicalReference": "bitburner!GangEquipment:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "GangAugmentations", + "canonicalReference": "bitburner!GangAugmentations:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "equipName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + } + ], + "name": "getEquipmentCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getEquipmentNames:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the name of all possible equipment/upgrades you can purchase for your Gang Members. This includes Augmentations.\n *\n * @remarks\n *\n * 1 GB\n *\n * @returns Names of all Equpiment/Augmentations.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getEquipmentNames(): " + }, + { + "kind": "Content", + "text": "(" + }, + { + "kind": "Reference", + "text": "GangEquipment", + "canonicalReference": "bitburner!GangEquipment:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "GangAugmentations", + "canonicalReference": "bitburner!GangAugmentations:type" + }, + { + "kind": "Content", + "text": ")[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getEquipmentNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getEquipmentStats:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the specified equipment stats.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param equipName - Name of equipment.\n *\n * @returns A dictionary containing the stats of the equipment.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getEquipmentStats(equipName: " + }, + { + "kind": "Reference", + "text": "GangEquipment", + "canonicalReference": "bitburner!GangEquipment:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "GangAugmentations", + "canonicalReference": "bitburner!GangAugmentations:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "GangEquipmentStats", + "canonicalReference": "bitburner!GangEquipmentStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "equipName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + } + ], + "name": "getEquipmentStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getEquipmentType:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the specified equipment type.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param equipName - Name of equipment.\n *\n * @returns Type of the equipment.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getEquipmentType(equipName: " + }, + { + "kind": "Reference", + "text": "GangEquipment", + "canonicalReference": "bitburner!GangEquipment:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "GangAugmentations", + "canonicalReference": "bitburner!GangAugmentations:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "GangEquipmentType", + "canonicalReference": "bitburner!GangEquipmentType:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "equipName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + } + ], + "name": "getEquipmentType" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getGangInformation:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get general information about the gang.\n *\n * @remarks\n *\n * 2 GB\n *\n * @returns Object containing general information about the gang.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getGangInformation(): " + }, + { + "kind": "Reference", + "text": "GangGenInfo", + "canonicalReference": "bitburner!GangGenInfo:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getGangInformation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getMemberInformation:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get stat and equipment-related information about a Gang Member\n *\n * @remarks\n *\n * 2 GB\n *\n * @param name - Name of member.\n *\n * @returns Object containing stat and equipment-related information about a Gang Member.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getMemberInformation(name: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "GangMemberInfo", + "canonicalReference": "bitburner!GangMemberInfo:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getMemberInformation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getMemberNames:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the names of all Gang members\n *\n * @remarks\n *\n * 1 GB\n *\n * @returns Names of all Gang members.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getMemberNames(): " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getMemberNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getOtherGangInformation:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get territory and power information about all gangs.\n *\n * @remarks\n *\n * 2 GB\n *\n * @returns Object containing territory and power information about all gangs.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getOtherGangInformation(): " + }, + { + "kind": "Reference", + "text": "GangOtherInfo", + "canonicalReference": "bitburner!GangOtherInfo:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getOtherGangInformation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getTaskNames:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the name of all valid tasks that Gang members can be assigned to.\n *\n * @remarks\n *\n * 1 GB\n *\n * @returns All valid tasks that Gang members can be assigned to.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getTaskNames(): " + }, + { + "kind": "Reference", + "text": "GangTasks", + "canonicalReference": "bitburner!GangTasks:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getTaskNames" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#getTaskStats:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Get the stats of a gang task stats. This is typically used to evaluate which action should be executed next.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param name - Name of the task.\n *\n * @returns Detailed stats of a task.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getTaskStats(name: " + }, + { + "kind": "Reference", + "text": "GangTasks", + "canonicalReference": "bitburner!GangTasks:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "GangTasksStats", + "canonicalReference": "bitburner!GangTasksStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getTaskStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#purchaseEquipment:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Attempt to purchase the specified Equipment/Augmentation for the specified Gang member.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param memberName - Name of Gang member to purchase the equipment for.\n *\n * @param equipName - Name of Equipment/Augmentation to purchase.\n *\n * @returns True if the equipment was successfully purchased. False otherwise\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseEquipment(memberName: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", equipName: " + }, + { + "kind": "Reference", + "text": "GangEquipment", + "canonicalReference": "bitburner!GangEquipment:type" + }, + { + "kind": "Content", + "text": " | " + }, + { + "kind": "Reference", + "text": "GangAugmentations", + "canonicalReference": "bitburner!GangAugmentations:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "memberName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "equipName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 6 + } + } + ], + "name": "purchaseEquipment" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#recruitMember:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Attempt to recruit a new gang member.\n *\n * Possible reasons for failure: * Cannot currently recruit a new member * There already exists a member with the specified name\n *\n * @remarks\n *\n * 2 GB\n *\n * @param name - Name of member to recruit.\n *\n * @returns True if the member was successfully recruited, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "recruitMember(name: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "recruitMember" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#setMemberTask:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Attempts to assign the specified Gang Member to the specified task. If an invalid task is specified, the Gang member will be set to idle (“Unassigned”).\n *\n * @remarks\n *\n * 2 GB\n *\n * @param memberName - Name of Gang member to assign.\n *\n * @param taskName - Task to assign.\n *\n * @returns True if the Gang Member was successfully assigned to the task, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setMemberTask(memberName: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", taskName: " + }, + { + "kind": "Reference", + "text": "GangTasks", + "canonicalReference": "bitburner!GangTasks:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "memberName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "taskName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "setMemberTask" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Gang#setTerritoryWarfare:member(1)", + "docComment": "/**\n * If you are not in BitNode-2, then you must have Source-File 2 in order to use this function.\n *\n * Set whether or not the gang should engage in territory warfare\n *\n * @remarks\n *\n * 2 GB\n *\n * @param engage - Whether or not to engage in territory warfare.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setTerritoryWarfare(engage: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "engage", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "setTerritoryWarfare" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GangAugmentations:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GangAugmentations =\n " + }, + { + "kind": "Content", + "text": "| \"Bionic Arms\"\n | \"Bionic Legs\"\n | \"Bionic Spine\"\n | \"BrachiBlades\"\n | \"Nanofiber Weave\"\n | \"Synthetic Heart\"\n | \"Synfibril Muscle\"\n | \"BitWire\"\n | \"Neuralstimulator\"\n | \"DataJack\"\n | \"Graphene Bone Lacings\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GangAugmentations", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GangEquipment:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GangEquipment =\n " + }, + { + "kind": "Content", + "text": "| \"Baseball Bat\"\n | \"Katana\"\n | \"Glock 18C\"\n | \"P90C\"\n | \"Steyr AUG\"\n | \"AK-47\"\n | \"M15A10 Assault Rifle\"\n | \"AWM Sniper Rifle\"\n | \"Bulletproof Vest\"\n | \"Full Body Armor\"\n | \"Liquid Body Armor\"\n | \"Graphene Plating Armor\"\n | \"Ford Flex V20\"\n | \"ATX1070 Superbike\"\n | \"Mercedes-Benz S9001\"\n | \"White Ferrari\"\n | \"NUKE Rootkit\"\n | \"Soulstealer Rootkit\"\n | \"Demon Rootkit\"\n | \"Hmap Node\"\n | \"Jack the Ripper\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GangEquipment", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangEquipmentStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangEquipmentStats " + } + ], + "releaseTag": "Public", + "name": "GangEquipmentStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangEquipmentStats#agi:member", + "docComment": "/**\n * Agility multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agi: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agi", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangEquipmentStats#cha:member", + "docComment": "/**\n * Charisma multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "cha: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "cha", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangEquipmentStats#def:member", + "docComment": "/**\n * Defense multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "def: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "def", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangEquipmentStats#dex:member", + "docComment": "/**\n * Dexterity multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dex: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dex", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangEquipmentStats#hack:member", + "docComment": "/**\n * Hacking multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hack: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hack", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangEquipmentStats#str:member", + "docComment": "/**\n * Strength multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "str: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "str", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GangEquipmentType:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GangEquipmentType = " + }, + { + "kind": "Content", + "text": "\"Weapon\" | \"Armor\" | \"Vehicle\" | \"Rootkit\" | \"Augmentation\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GangEquipmentType", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangGenInfo:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangGenInfo " + } + ], + "releaseTag": "Public", + "name": "GangGenInfo", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#faction:member", + "docComment": "/**\n * Name of faction that the gang belongs to (\"Slum Snakes\", etc.)\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "faction: " + }, + { + "kind": "Reference", + "text": "GangName", + "canonicalReference": "bitburner!GangName:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "faction", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#isHacking:member", + "docComment": "/**\n * Boolean indicating whether or not its a hacking gang\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "isHacking: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "isHacking", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#moneyGainRate:member", + "docComment": "/**\n * Money earned per second\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "moneyGainRate: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "moneyGainRate", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#power:member", + "docComment": "/**\n * Gang's power for territory warfare\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "power: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "power", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#respect:member", + "docComment": "/**\n * Gang's respect\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "respect: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "respect", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#respectGainRate:member", + "docComment": "/**\n * Respect earned per second\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "respectGainRate: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "respectGainRate", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#territory:member", + "docComment": "/**\n * Amount of territory held. Returned in decimal form, not percentage\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "territory: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "territory", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#territoryClashChance:member", + "docComment": "/**\n * Clash chance. Returned in decimal form, not percentage\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "territoryClashChance: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "territoryClashChance", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#wantedLevel:member", + "docComment": "/**\n * Gang's wanted level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "wantedLevel: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "wantedLevel", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangGenInfo#wantedLevelGainRate:member", + "docComment": "/**\n * Wanted level gained/lost per second (negative for losses)\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "wantedLevelGainRate: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "wantedLevelGainRate", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangMemberAscension:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangMemberAscension " + } + ], + "releaseTag": "Public", + "name": "GangMemberAscension", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#agi:member", + "docComment": "/**\n * Agility multiplier gained from ascending. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agi: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agi", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#cha:member", + "docComment": "/**\n * Charisma multiplier gained from ascending. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "cha: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "cha", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#def:member", + "docComment": "/**\n * Defense multiplier gained from ascending. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "def: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "def", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#dex:member", + "docComment": "/**\n * Dexterity multiplier gained from ascending. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dex: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dex", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#hack:member", + "docComment": "/**\n * Hacking multiplier gained from ascending. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hack: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hack", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#respect:member", + "docComment": "/**\n * Amount of respect lost from ascending\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "respect: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "respect", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberAscension#str:member", + "docComment": "/**\n * Strength multiplier gained from ascending. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "str: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "str", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangMemberInfo:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangMemberInfo " + } + ], + "releaseTag": "Public", + "name": "GangMemberInfo", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#agility:member", + "docComment": "/**\n * Agility stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agility", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#agilityAscensionMult:member", + "docComment": "/**\n * Agility multiplier from ascension. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agilityAscensionMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agilityAscensionMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#agilityEquipMult:member", + "docComment": "/**\n * Agility multiplier from equipment. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agilityEquipMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agilityEquipMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#augmentations:member", + "docComment": "/**\n * Array of names of all owned Augmentations\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "augmentations: " + }, + { + "kind": "Reference", + "text": "GangAugmentations", + "canonicalReference": "bitburner!GangAugmentations:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "augmentations", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#charisma:member", + "docComment": "/**\n * Charisma stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charisma", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#charismaAscensionMult:member", + "docComment": "/**\n * Charisma multiplier from ascension. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charismaAscensionMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charismaAscensionMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#charismaEquipMult:member", + "docComment": "/**\n * Charisma multiplier from equipment. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charismaEquipMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charismaEquipMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#defense:member", + "docComment": "/**\n * Defense stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defense", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#defenseAscensionMult:member", + "docComment": "/**\n * Defense multiplier from ascension. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defenseAscensionMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defenseAscensionMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#defenseEquipMult:member", + "docComment": "/**\n * Defense multiplier from equipment. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defenseEquipMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defenseEquipMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#dexterity:member", + "docComment": "/**\n * Dexterity stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterity", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#dexterityAscensionMult:member", + "docComment": "/**\n * Dexterity multiplier from ascension. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterityAscensionMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterityAscensionMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#dexterityEquipMult:member", + "docComment": "/**\n * Dexterity multiplier from equipment. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterityEquipMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterityEquipMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#equipment:member", + "docComment": "/**\n * Array of names of all owned Non-Augmentation Equipment\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "equipment: " + }, + { + "kind": "Reference", + "text": "GangEquipment", + "canonicalReference": "bitburner!GangEquipment:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "equipment", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#hacking:member", + "docComment": "/**\n * Hacking stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacking", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#hackingAscensionMult:member", + "docComment": "/**\n * Hacking multiplier from ascension. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackingAscensionMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hackingAscensionMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#hackingEquipMult:member", + "docComment": "/**\n * Hacking multiplier from equipment. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackingEquipMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hackingEquipMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#strength:member", + "docComment": "/**\n * Strength stat\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strength", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#strengthAscensionMult:member", + "docComment": "/**\n * Strength multiplier from ascension. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strengthAscensionMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strengthAscensionMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#strengthEquipMult:member", + "docComment": "/**\n * Strength multiplier from equipment. Decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strengthEquipMult: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strengthEquipMult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangMemberInfo#task:member", + "docComment": "/**\n * Name of currently assigned task\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "task: " + }, + { + "kind": "Reference", + "text": "GangTasks", + "canonicalReference": "bitburner!GangTasks:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "task", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GangName:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GangName =\n " + }, + { + "kind": "Content", + "text": "| \"Slum Snakes\"\n | \"Tetrads\"\n | \"The Syndicate\"\n | \"The Dark Army\"\n | \"Speakers for the Dead\"\n | \"NiteSec\"\n | \"The Black Hand\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GangName", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GangOtherInfo:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GangOtherInfo = " + }, + { + "kind": "Content", + "text": "{\n /** Stock Symbol */\n [key in " + }, + { + "kind": "Reference", + "text": "GangName", + "canonicalReference": "bitburner!GangName:type" + }, + { + "kind": "Content", + "text": "]: " + }, + { + "kind": "Reference", + "text": "GangOtherInfoObject", + "canonicalReference": "bitburner!GangOtherInfoObject:interface" + }, + { + "kind": "Content", + "text": "[];\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GangOtherInfo", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 6 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangOtherInfoObject:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangOtherInfoObject " + } + ], + "releaseTag": "Public", + "name": "GangOtherInfoObject", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangOtherInfoObject#power:member", + "docComment": "/**\n * Gang power\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "power: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "power", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangOtherInfoObject#territory:member", + "docComment": "/**\n * Gang territory, in decimal form\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "territory: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "territory", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GangTasks:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GangTasks =\n " + }, + { + "kind": "Content", + "text": "| \"Unassigned\"\n | \"Ransomware\"\n | \"Phishing\"\n | \"Identity Theft\"\n | \"DDoS Attacks\"\n | \"Plant Virus\"\n | \"Fraud & Counterfeiting\"\n | \"Money Laundering\"\n | \"Cyberterrorism\"\n | \"Ethical Hacking\"\n | \"Mug People\"\n | \"Deal Drugs\"\n | \"Strongarm Civilians\"\n | \"Run a Con\"\n | \"Armed Robbery\"\n | \"Traffick Illegal Arms\"\n | \"Threaten & Blackmail\"\n | \"Human Trafficking\"\n | \"Terrorism\"\n | \"Vigilante Justice\"\n | \"Train Combat\"\n | \"Train Hacking\"\n | \"Train Charisma\"\n | \"Territory Warfare\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GangTasks", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangTasksStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangTasksStats " + } + ], + "releaseTag": "Public", + "name": "GangTasksStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#agiWeight:member", + "docComment": "/**\n * Agility skill impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agiWeight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agiWeight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#baseMoney:member", + "docComment": "/**\n * Base money earned\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "baseMoney: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "baseMoney", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#baseRespect:member", + "docComment": "/**\n * Base respect earned\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "baseRespect: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "baseRespect", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#baseWanted:member", + "docComment": "/**\n * Base wanted earned\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "baseWanted: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "baseWanted", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#chaWeight:member", + "docComment": "/**\n * Charisma skill impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "chaWeight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "chaWeight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#defWeight:member", + "docComment": "/**\n * Defense skill impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defWeight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defWeight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#desc:member", + "docComment": "/**\n * Task Description\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "desc: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "desc", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#dexWeight:member", + "docComment": "/**\n * Dexterity skill impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexWeight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexWeight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#difficulty:member", + "docComment": "/**\n * Number representing the difficulty of the task\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "difficulty: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "difficulty", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#hackWeight:member", + "docComment": "/**\n * Hacking skill impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackWeight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hackWeight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#isCombat:member", + "docComment": "/**\n * Is a task of a combat gang\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "isCombat: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "isCombat", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#isHacking:member", + "docComment": "/**\n * Is a task of a hacking gang\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "isHacking: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "isHacking", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#name:member", + "docComment": "/**\n * Task name\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "name: " + }, + { + "kind": "Reference", + "text": "GangTasks", + "canonicalReference": "bitburner!GangTasks:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "name", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#strWeight:member", + "docComment": "/**\n * Stength skill impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strWeight: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strWeight", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksStats#territory:member", + "docComment": "/**\n * Territory impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "territory: " + }, + { + "kind": "Reference", + "text": "GangTasksTerritory", + "canonicalReference": "bitburner!GangTasksTerritory:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "territory", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!GangTasksTerritory:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface GangTasksTerritory " + } + ], + "releaseTag": "Public", + "name": "GangTasksTerritory", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksTerritory#money:member", + "docComment": "/**\n * Money gain impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "money: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "money", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksTerritory#respect:member", + "docComment": "/**\n * Respect gain impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "respect: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "respect", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!GangTasksTerritory#wanted:member", + "docComment": "/**\n * Wanted gain impact on task scaling\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "wanted: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "wanted", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!Gym:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type Gym = " + }, + { + "kind": "Content", + "text": "\"Crush Fitness Gym\" | \"Snap Fitness Gym\" | \"Iron Gym\" | \"Powerhouse Gym\" | \"Millenium Fitness Gym\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "Gym", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!GymStat:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type GymStat = " + }, + { + "kind": "Content", + "text": "\"str\" | \"def\" | \"dex\" | \"agi\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "GymStat", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!HackingMultipliers:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface HackingMultipliers " + } + ], + "releaseTag": "Public", + "name": "HackingMultipliers", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HackingMultipliers#chance:member", + "docComment": "/**\n * Player's hacking chance multiplier.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "chance: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "chance", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HackingMultipliers#growth:member", + "docComment": "/**\n * Player's hacking growth multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "growth: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "growth", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HackingMultipliers#money:member", + "docComment": "/**\n * Player's hacking money stolen multiplier.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "money: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "money", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HackingMultipliers#speed:member", + "docComment": "/**\n * Player's hacking speed multiplier.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "speed: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "speed", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!HackNet:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface HackNet " + } + ], + "releaseTag": "Public", + "name": "HackNet", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#getCacheUpgradeCost:member(1)", + "docComment": "/**\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the cost of upgrading the cache level of the specified Hacknet Server by n.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade cache. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node's cache.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCacheUpgradeCost(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getCacheUpgradeCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#getCoreUpgradeCost:member(1)", + "docComment": "/**\n * Returns the cost of upgrading the number of cores of the specified Hacknet Node by n.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade cores. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node's number of cores.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCoreUpgradeCost(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getCoreUpgradeCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#getLevelUpgradeCost:member(1)", + "docComment": "/**\n * Returns the cost of upgrading the specified Hacknet Node by n levels.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of levels to upgrade. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getLevelUpgradeCost(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getLevelUpgradeCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#getNodeStats:member(1)", + "docComment": "/**\n * Returns an object containing a variety of stats about the specified Hacknet Node.\n *\n * Note that for Hacknet Nodes, production refers to the amount of money the node generates. For Hacknet Servers (the upgraded version of Hacknet Nodes), production refers to the amount of hashes the node generates.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node\n *\n * @returns Object containing a variety of stats about the specified Hacknet Node.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getNodeStats(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "NodeStats", + "canonicalReference": "bitburner!NodeStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getNodeStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#getPurchaseNodeCost:member(1)", + "docComment": "/**\n * Returns the cost of purchasing a new Hacknet Node.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns Cost of purchasing a new Hacknet Node.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPurchaseNodeCost(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getPurchaseNodeCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#getRamUpgradeCost:member(1)", + "docComment": "/**\n * Returns the cost of upgrading the RAM of the specified Hacknet Node n times.\n *\n * If an invalid value for n is provided, then this function returns 0. If the specified Hacknet Node is already at max level, then Infinity is returned.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade RAM. Must be positive. Rounded to nearest integer.\n *\n * @returns Cost of upgrading the specified Hacknet Node's ram.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getRamUpgradeCost(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getRamUpgradeCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#hashCost:member(1)", + "docComment": "/**\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the number of hashes required for the specified upgrade. The name of the upgrade must be an exact match.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param upgName - Name of the upgrade of Hacknet Node.\n *\n * @returns Number of hashes required for the specified upgrade.\n *\n * @example\n * ```js\n * var upgradeName = \"Sell for Corporation Funds\";\n * if (hacknet.numHashes() > hacknet.hashCost(upgradeName)) {\n * hacknet.spendHashes(upgName);\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hashCost(upgName: " + }, + { + "kind": "Reference", + "text": "HashUpgrades", + "canonicalReference": "bitburner!HashUpgrades:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "upgName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "hashCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#numHashes:member(1)", + "docComment": "/**\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Returns the number of hashes you have.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns Number of hashes you have.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "numHashes(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "numHashes" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#numNodes:member(1)", + "docComment": "/**\n * Returns the number of Hacknet Nodes you own.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns number of hacknet nodes.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "numNodes(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "numNodes" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#purchaseNode:member(1)", + "docComment": "/**\n * Purchases a new Hacknet Node. Returns a number with the index of the Hacknet Node. This index is equivalent to the number at the end of the Hacknet Node’s name (e.g The Hacknet Node named \\`hacknet-node-4\\` will have an index of 4).\n *\n * If the player cannot afford to purchase a new Hacknet Node then the function will return -1.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns The index of the Hacknet Node or if the player cannot afford to purchase a new Hacknet Node the function will return -1.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseNode(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "purchaseNode" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#spendHashes:member(1)", + "docComment": "/**\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Spend the hashes generated by your Hacknet Servers on an upgrade. Returns a boolean value - true if the upgrade is successfully purchased, and false otherwise.\n *\n * The name of the upgrade must be an exact match. The \\`upgTarget\\` argument is used for upgrades such as \\`Reduce Minimum Security\\`, which applies to a specific server. In this case, the \\`upgTarget\\` argument must be the hostname of the server.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param upgName - Name of the upgrade of Hacknet Node.\n *\n * @param upgTarget - Object to which upgrade applies. Required for certain upgrades.\n *\n * @returns True if the upgrade is successfully purchased, and false otherwise..\n *\n * @example\n * ```js\n * hacknet.spendHashes(\"Sell for Corporation Funds\");\n * hacknet.spendHashes(\"Increase Maximum Money\", \"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "spendHashes(upgName: " + }, + { + "kind": "Reference", + "text": "HashUpgrades", + "canonicalReference": "bitburner!HashUpgrades:type" + }, + { + "kind": "Content", + "text": ", upgTarget?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "upgName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "upgTarget", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "spendHashes" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#upgradeCache:member(1)", + "docComment": "/**\n * This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).\n *\n * Tries to upgrade the specified Hacknet Server’s cache n times.\n *\n * Returns true if it successfully upgrades the Server’s cache n times, or if it purchases some positive amount and the Server reaches its max cache level.\n *\n * Returns false otherwise.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of cache levels to purchase. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Node’s cores are successfully purchased, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "upgradeCache(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "upgradeCache" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#upgradeCore:member(1)", + "docComment": "/**\n * Tries to purchase n cores for the specified Hacknet Node.\n *\n * Returns true if it successfully purchases n cores for the Hacknet Node or if it purchases some positive amount and the Node reaches its max number of cores.\n *\n * Returns false otherwise.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of cores to purchase. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Node’s cores are successfully purchased, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "upgradeCore(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "upgradeCore" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#upgradeLevel:member(1)", + "docComment": "/**\n * Tries to upgrade the level of the specified Hacknet Node by n.\n *\n * Returns true if the Hacknet Node’s level is successfully upgraded by n or if it is upgraded by some positive amount and the Node reaches its max level.\n *\n * Returns false otherwise.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of levels to purchase. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Node’s level is successfully upgraded, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "upgradeLevel(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "upgradeLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!HackNet#upgradeRam:member(1)", + "docComment": "/**\n * Tries to upgrade the specified Hacknet Node’s RAM n times. Note that each upgrade doubles the Node’s RAM. So this is equivalent to multiplying the Node’s RAM by 2 n.\n *\n * Returns true if the Hacknet Node’s RAM is successfully upgraded n times or if it is upgraded some positive number of times and the Node reaches it max RAM.\n *\n * Returns false otherwise.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param index - Index/Identifier of Hacknet Node.\n *\n * @param n - Number of times to upgrade RAM. Must be positive. Rounded to nearest integer.\n *\n * @returns True if the Hacknet Node’s ram is successfully upgraded, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "upgradeRam(index: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "index", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "upgradeRam" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!HacknetMultipliers:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface HacknetMultipliers " + } + ], + "releaseTag": "Public", + "name": "HacknetMultipliers", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HacknetMultipliers#coreCost:member", + "docComment": "/**\n * Player's hacknet core cost multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "coreCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "coreCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HacknetMultipliers#levelCost:member", + "docComment": "/**\n * Player's hacknet level cost multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "levelCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "levelCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HacknetMultipliers#production:member", + "docComment": "/**\n * Player's hacknet production multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "production: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "production", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HacknetMultipliers#purchaseCost:member", + "docComment": "/**\n * Player's hacknet purchase cost multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "purchaseCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!HacknetMultipliers#ramCost:member", + "docComment": "/**\n * Player's hacknet ram cost multiplier\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ramCost: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ramCost", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!Handle:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type Handle = " + }, + { + "kind": "Content", + "text": "string | " + }, + { + "kind": "Reference", + "text": "Port", + "canonicalReference": "bitburner!Port:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "Handle", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!HashUpgrades:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type HashUpgrades =\n " + }, + { + "kind": "Content", + "text": "| \"Sell for Money\"\n | \"Sell for Corporation Funds\"\n | \"Reduce Minimum Security\"\n | \"Increase Maximum Money\"\n | \"Improve Studying\"\n | \"Improve Gym Training\"\n | \"Exchange for Corporation Research\"\n | \"Exchange for Bladeburner Rank\"\n | \"Exchange for Bladeburner SP\"\n | \"Generate Coding Contract\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "HashUpgrades", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!Host:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type Host = " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "Host", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!NodeStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface NodeStats " + } + ], + "releaseTag": "Public", + "name": "NodeStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#cache:member", + "docComment": "/**\n * Cache level. Only applicable for Hacknet Servers\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "cache: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "cache", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#cores:member", + "docComment": "/**\n * Node's number of cores\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "cores: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "cores", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#hashCapacity:member", + "docComment": "/**\n * Hash Capacity provided by this Node. Only applicable for Hacknet Servers\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hashCapacity: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hashCapacity", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#level:member", + "docComment": "/**\n * Node's level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "level: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "level", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#name:member", + "docComment": "/**\n * Node's name (\"hacknet-node-5\")\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "name: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "name", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#production:member", + "docComment": "/**\n * Node's production per second\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "production: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "production", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#ram:member", + "docComment": "/**\n * Node's RAM\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ram: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ram", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#timeOnline:member", + "docComment": "/**\n * Number of seconds since Node has been purchased\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "timeOnline: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "timeOnline", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NodeStats#totalProduction:member", + "docComment": "/**\n * Total number of money Node has produced\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "totalProduction: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "totalProduction", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!NS:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "export interface NS extends " + }, + { + "kind": "Reference", + "text": "Singularity", + "canonicalReference": "bitburner!Singularity:interface" + }, + { + "kind": "Content", + "text": " " + } + ], + "releaseTag": "Public", + "name": "NS", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#args:member", + "docComment": "/**\n * Arguments passed into a script can be accessed using a normal array using the [] operator (args[0], args[1], etc…).\n *\n * It is also possible to get the number of arguments that was passed into a script using:\n * ```js\n * args.length\n * ```\n *\n * WARNING: Do not try to modify the args array. This will break the game.\n *\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly args: " + }, + { + "kind": "Content", + "text": "any[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "args", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#bladeburner:member", + "docComment": "/**\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly bladeburner: " + }, + { + "kind": "Reference", + "text": "Bladeburner", + "canonicalReference": "bitburner!Bladeburner:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "bladeburner", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#brutessh:member(1)", + "docComment": "/**\n * Runs the BruteSSH.exe program on the target server. BruteSSH.exe must exist on your home computer.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @example\n * ```js\n * brutessh(\"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "brutessh(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "brutessh" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#clear:member(1)", + "docComment": "/**\n * This function is used to clear data in a Netscript Ports or a text file.\n *\n * If the port/fn argument is a number between 1 and 20, then it specifies a port and will clear it (deleting all data from the underlying queue).\n *\n * If the port/fn argument is a string, then it specifies the name of a text file (.txt) and will delete all data from that text file.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param handle - Port or text file to clear.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "clear(handle: " + }, + { + "kind": "Reference", + "text": "Handle", + "canonicalReference": "bitburner!Handle:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "handle", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "clear" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#clearLog:member(1)", + "docComment": "/**\n * Clears the script’s logs.\n *\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "clearLog(): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "clearLog" + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#codingcontract:member", + "docComment": "/**\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly codingcontract: " + }, + { + "kind": "Reference", + "text": "CodingContract", + "canonicalReference": "bitburner!CodingContract:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "codingcontract", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#deleteServer:member(1)", + "docComment": "/**\n * Deletes one of your purchased servers, which is specified by its hostname.\n *\n * The hostname argument can be any data type, but it will be converted to a string. Whitespace is automatically removed from the string. This function will not delete a server that still has scripts running on it.\n *\n * @remarks\n *\n * 2.25 GB\n *\n * @param host - Host of the server to delete.\n *\n * @returns True if successful, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "deleteServer(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "deleteServer" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#disableLog:member(1)", + "docComment": "/**\n * Disables logging for the given function. Logging can be disabled for all functions by passing \\`ALL\\` as the argument.\n *\n * Note that this does not completely remove all logging functionality. This only stops a function from logging when the function is successful. If the function fails, it will still log the reason for failure.\n *\n * Notable functions that cannot have their logs disabled: run, exec, exit.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param fn - Name of function for which to disable logging.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "disableLog(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "disableLog" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#enableLog:member(1)", + "docComment": "/**\n * Re-enables logging for the given function. If \\`ALL\\` is passed into this function as an argument, then it will revert the effects of disableLog(\\`ALL\\`).\n *\n * @remarks\n *\n * 0 GB\n *\n * @param fn - Name of function for which to enable logging.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "enableLog(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "enableLog" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#exec:member(1)", + "docComment": "/**\n * Run a script as a separate process on a specified server. This is similar to the run function except that it can be used to run a script on any server, instead of just the current server.\n *\n * If the script was successfully started, then this functions returns the PID of that script. Otherwise, it returns 0.\n *\n * PID stands for Process ID. The PID is a unique identifier for each script. The PID will always be a positive integer.\n *\n * Running this function with a numThreads argument of 0 will return 0 without running the script. However, running this function with a negative numThreads argument will cause a runtime error.\n *\n * @remarks\n *\n * 1.3 GB\n *\n * @param script - Filename of script to execute.\n *\n * @param host - Hostname or IP of the \\`target server\\` on which to execute the script.\n *\n * @param numThreads - Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer.\n *\n * @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the third argument numThreads must be filled in with a value.\n *\n * @returns Returns the PID of a successfully started script, and 0 otherwise.\n *\n * @example\n * ```js\n * //The simplest way to use the exec command is to call it with just the script name and the target server. The following example will try to run generic-hack.script on the foodnstuff server:\n * exec(\"generic-hack.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //The following example will try to run the script generic-hack.script on the joesguns server with 10 threads:\n * exec(\"generic-hack.script\", \"joesguns\", 10);\n * ```\n *\n * @example\n * ```js\n * //This last example will try to run the script foo.script on the foodnstuff server with 5 threads. It will also pass the number 1 and the string “test” in as arguments to the script:\n * exec(\"foo.script\", \"foodnstuff\", 5, 1, \"test\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "exec(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", numThreads?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 9, + "endIndex": 10 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "numThreads", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + } + } + ], + "name": "exec" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#exit:member(1)", + "docComment": "/**\n * Terminates the current script immediately.\n *\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "exit(): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "exit" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#fileExists:member(1)", + "docComment": "/**\n * Returns a boolean indicating whether the specified file exists on the target server. The filename for scripts is case-sensitive, but for other types of files it is not. For example, fileExists(“brutessh.exe”) will work fine, even though the actual program is named 'BruteSSH.exe'.\n *\n * If the hostname/ip argument is omitted, then the function will search through the current server (the server running the script that calls this function) for the file.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param filename - Filename of file to check.\n *\n * @param host - Host or IP of target server. This is optional. If it is not specified then the function will use the current server as the target server.\n *\n * @returns True if specified file exists, and false otherwise.\n *\n * @example\n * ```js\n * //The function call will return true if the script named foo.script exists on the foodnstuff server, and false otherwise.\n * fileExists(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //The function call will return true if the current server contains the FTPCrack.exe program, and false otherwise.\n * fileExists(\"ftpcrack.exe\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "fileExists(filename: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "filename", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "fileExists" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#ftpcrack:member(1)", + "docComment": "/**\n * Runs the FTPCrack.exe program on the target server. FTPCrack.exe must exist on your home computer.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @example\n * ```js\n * ftpcrack(\"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ftpcrack(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "ftpcrack" + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#gang:member", + "docComment": "/**\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly gang: " + }, + { + "kind": "Reference", + "text": "Gang", + "canonicalReference": "bitburner!Gang:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "gang", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getBitNodeMultipliers:member(1)", + "docComment": "/**\n * Returns an object containing the current BitNode multipliers. This function requires Source-File 5 in order to run. The multipliers are returned in decimal forms (e.g. 1.5 instead of 150%). The multipliers represent the difference between the current BitNode and the original BitNode (BitNode-1).\n *\n * For example, if the CrimeMoney multiplier has a value of 0.1, then that means that committing crimes in the current BitNode will only give 10% of the money you would have received in BitNode-1.\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns Object containing the current BitNode multipliers.\n *\n * @example\n * ```js\n * mults = getBitNodeMultipliers();\n * print(mults.ServerMaxMoney);\n * print(mults.HackExpGain);\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getBitNodeMultipliers(url: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", target: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "BitNodeMultipliers", + "canonicalReference": "bitburner!BitNodeMultipliers:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "url", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "target", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getBitNodeMultipliers" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getFavorToDonate:member(1)", + "docComment": "/**\n * Returns the amount of Faction favor required to be able to donate to a faction.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @returns Amount of Faction favor required to be able to donate to a faction.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getFavorToDonate(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getFavorToDonate" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getGrowTime:member(1)", + "docComment": "/**\n * Returns the amount of time in seconds it takes to execute the grow Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the grow time would be at different hacking levels.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Host or IP of target server.\n *\n * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level.\n *\n * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).\n *\n * @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getGrowTime(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", hackLvl?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", intLvl?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "hackLvl", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "intLvl", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getGrowTime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getHackingLevel:member(1)", + "docComment": "/**\n * Returns the player’s current hacking level.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @returns Player’s current hacking level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getHackingLevel(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getHackingLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getHackingMultipliers:member(1)", + "docComment": "/**\n * Returns an object containing the Player’s hacking related multipliers. These multipliers are returned in fractional forms, not percentages (e.g. 1.5 instead of 150%).\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns Object containing the Player’s hacking related multipliers.\n *\n * @example\n * ```js\n * //Example of how this can be used:\n * mults = getHackingMultipliers();\n * print(mults.chance);\n * print(mults.growth);\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getHackingMultipliers(): " + }, + { + "kind": "Reference", + "text": "HackingMultipliers", + "canonicalReference": "bitburner!HackingMultipliers:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getHackingMultipliers" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getHacknetMultipliers:member(1)", + "docComment": "/**\n * Returns an object containing the Player’s hacknet related multipliers. These multipliers are returned in fractional forms, not percentages (e.g. 1.5 instead of 150%).\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns Object containing the Player’s hacknet related multipliers.\n *\n * @example\n * ```js\n * //Example of how this can be used:\n * mults = getHacknetMultipliers();\n * print(mults.production);\n * print(mults.purchaseCost);\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getHacknetMultipliers(): " + }, + { + "kind": "Reference", + "text": "HacknetMultipliers", + "canonicalReference": "bitburner!HacknetMultipliers:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getHacknetMultipliers" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getHackTime:member(1)", + "docComment": "/**\n * Returns the amount of time in seconds it takes to execute the hack Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the hack time would be at different hacking levels.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Host or IP of target server.\n *\n * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level.\n *\n * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).\n *\n * @returns Returns the amount of time in seconds it takes to execute the hack Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getHackTime(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", hackLvl?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", intLvl?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "hackLvl", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "intLvl", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getHackTime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getHostname:member(1)", + "docComment": "/**\n * Returns a string with the hostname of the server that the script is running on.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @returns Hostname of the server that the script is on.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getHostname(): " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getHostname" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getPortHandle:member(1)", + "docComment": "/**\n * Get a handle to a Netscript Port.\n *\n * WARNING: Port Handles only work in NetscriptJS (Netscript 2.0). They will not work in Netscript 1.0.\n *\n * @remarks\n *\n * 10 GB\n *\n * @param port - Port number. Must be an integer between 1 and 20.\n *\n * @returns Data in the specified port.\n *\n * @see\n *\n * https://bitburner.readthedocs.io/en/latest/netscript/netscriptmisc.html#netscript-ports\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPortHandle(port: " + }, + { + "kind": "Reference", + "text": "Port", + "canonicalReference": "bitburner!Port:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "any[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "port", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getPortHandle" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getPurchasedServerCost:member(1)", + "docComment": "/**\n * Returns the cost to purchase a server with the specified amount of ram.\n *\n * @remarks\n *\n * 0.25 GB\n *\n * @param ram - Amount of RAM of a potential purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20).\n *\n * @returns The cost to purchase a server with the specified amount of ram.\n *\n * @example\n * ```js\n * for (i = 1; i <= 20; i++) {\n * tprint(i + \" -- \" + getPurchasedServerCost(Math.pow(2, i)));\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPurchasedServerCost(ram: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "ram", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getPurchasedServerCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getPurchasedServerLimit:member(1)", + "docComment": "/**\n * Returns the maximum number of servers you can purchase.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @returns Returns the maximum number of servers you can purchase.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPurchasedServerLimit(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getPurchasedServerLimit" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getPurchasedServerMaxRam:member(1)", + "docComment": "/**\n * Returns the maximum RAM that a purchased server can have.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @returns Returns the maximum RAM that a purchased server can have.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPurchasedServerMaxRam(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getPurchasedServerMaxRam" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getPurchasedServers:member(1)", + "docComment": "/**\n * Returns an array with either the hostnames or IPs of all of the servers you have purchased.\n *\n * @remarks\n *\n * 2.25 GB\n *\n * @param hostnameMode - ] Optional. Defaults to true. Returns hostnames if true, and IPs if false.\n *\n * @returns Returns an array with either the hostnames or IPs of all of the servers you have purchased.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPurchasedServers(hostnameMode?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "hostnameMode", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getPurchasedServers" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getScriptExpGain:member(1)", + "docComment": "/**\n * Returns the amount of hacking experience the specified script generates while online (when the game is open, does not apply for offline experience gains). Remember that a script is uniquely identified by both its name and its arguments.\n *\n * This function can also return the total experience gain rate of all of your active scripts by running the function with no arguments.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param script - Filename of script.\n *\n * @param host - Server on which script is running.\n *\n * @param args - Arguments that the script is running with.\n *\n * @returns Amount of hacking experience the specified script generates while online.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getScriptExpGain(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getScriptExpGain" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getScriptIncome:member(1)", + "docComment": "/**\n * Returns the amount of income the specified script generates while online (when the game is open, does not apply for offline income). Remember that a script is uniquely identified by both its name and its arguments. So for example if you ran a script with the arguments “foodnstuff” and “5” then in order to use this function to get that script’s income you must specify those same arguments in the same order in this function call.\n *\n * This function can also be called with no arguments. If called with no arguments, then this function will return an array of two values. The first value is the total income ($ / second) of all of your active scripts (scripts that are currently running on any server). The second value is the total income ($ / second) that you’ve earned from scripts since you last installed Augmentations.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param script - Filename of script.\n *\n * @param host - Server on which script is running.\n *\n * @param args - Arguments that the script is running with.\n *\n * @returns Amount of income the specified script generates while online.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getScriptIncome(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number | [number, number]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getScriptIncome" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getScriptLogs:member(1)", + "docComment": "/**\n * Returns a script’s logs. The logs are returned as an array, where each line is an element in the array. The most recently logged line is at the end of the array. Note that there is a maximum number of lines that a script stores in its logs. This is configurable in the game’s options. If the function is called with no arguments, it will return the current script’s logs.\n *\n * Otherwise, the fn, hostname/ip, and args… arguments can be used to get the logs from another script. Remember that scripts are uniquely identified by both their names and arguments.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param fn - Optional. Filename of script to get logs from.\n *\n * @param host - Optional. Hostname or IP of the server that the script is on.\n *\n * @param args - Arguments to identify which scripts to get logs for.\n *\n * @returns Returns an string array, where each line is an element in the array. The most recently logged line is at the end of the array.\n *\n * @example\n * ```js\n * //Get logs from foo.script on the current server that was run with no args\n * getScriptLogs(\"foo.script\");\n * ```\n *\n * @example\n * ```js\n * //Open logs from foo.script on the foodnstuff server that was run with no args\n * getScriptLogs(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //Open logs from foo.script on the foodnstuff server that was run with the arguments [1, \"test\"]\n * getScriptLogs(\"foo.script\", \"foodnstuff\", 1, \"test\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getScriptLogs(fn?: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "any[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getScriptLogs" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getScriptName:member(1)", + "docComment": "/**\n * Returns the current script name.\n *\n * @remarks\n *\n * 0 GB\n *\n * @returns Current script name.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getScriptName(): " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getScriptName" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getScriptRam:member(1)", + "docComment": "/**\n * Returns the amount of RAM required to run the specified script on the target server. Returns 0 if the script does not exist.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param script - Filename of script. This is case-sensitive.\n *\n * @param host - Host or IP of target server the script is located on. This is optional, If it is not specified then the function will se the current server as the target server.\n *\n * @returns Amount of RAM required to run the specified script on the target server, and 0 if the script does not exist.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getScriptRam(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "getScriptRam" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServer:member(1)", + "docComment": "/**\n * Returns a server object for the given server. Defaults to the running script's server if host is not specified.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param host - Optional. Hostname or IP for the requested server object.\n *\n * @returns The requested server object.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServer(host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Server", + "canonicalReference": "bitburner!Server:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServer" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerBaseSecurityLevel:member(1)", + "docComment": "/**\n * Returns the base security level of the target server. This is the security level that the server starts out with. This is different than getServerSecurityLevel because getServerSecurityLevel returns the current security level of a server, which can constantly change due to hack, grow, and weaken, calls on that server. The base security level will stay the same until you reset by installing an Augmentation(s).\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Base security level of the target server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerBaseSecurityLevel(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerBaseSecurityLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerGrowth:member(1)", + "docComment": "/**\n * Returns the server’s instrinsic “growth parameter”. This growth parameter is a number between 1 and 100 that represents how quickly the server’s money grows. This parameter affects the percentage by which the server’s money is increased when using the grow function. A higher growth parameter will result in a higher percentage increase from grow.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Parameter that affects the percentage by which the server’s money is increased when using the grow function.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerGrowth(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerGrowth" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerMaxMoney:member(1)", + "docComment": "/**\n * Returns the maximum amount of money that can be available on a server.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Maximum amount of money available on the server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerMaxMoney(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerMaxMoney" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerMinSecurityLevel:member(1)", + "docComment": "/**\n * Returns the minimum security level of the target server.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Minimum security level of the target server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerMinSecurityLevel(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerMinSecurityLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerMoneyAvailable:member(1)", + "docComment": "/**\n * Returns the amount of money available on a server. Running this function on the home computer will return the player’s money.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server\n *\n * @returns Amount of money available on the server.\n *\n * @example\n * ```js\n * getServerMoneyAvailable(\"foodnstuff\");\n * getServerMoneyAvailable(\"home\"); //Returns player's money\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerMoneyAvailable(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerMoneyAvailable" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerNumPortsRequired:member(1)", + "docComment": "/**\n * Returns the number of open ports required to successfully run NUKE.exe on the specified server.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns The number of open ports required to successfully run NUKE.exe on the specified server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerNumPortsRequired(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerNumPortsRequired" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerRam:member(1)", + "docComment": "/**\n * Returns an array with two elements that gives information about a server’s memory (RAM). The first element in the array is the amount of RAM that the server has total (in GB). The second element in the array is the amount of RAM that is currently being used on the server (in GB).\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Array with total and used memory on the specified server.\n *\n * @example\n * ```js\n * res = getServerRam(\"helios\");\n * totalRam = res[0];\n * ramUsed = res[1];\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerRam(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "[number, number]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerRam" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerRequiredHackingLevel:member(1)", + "docComment": "/**\n * Returns the required hacking level of the target server.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns The required hacking level of the target server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerRequiredHackingLevel(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerRequiredHackingLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getServerSecurityLevel:member(1)", + "docComment": "/**\n * Returns the security level of the target server. A server’s security level is denoted by a number, typically between 1 and 100 (but it can go above 100).\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns Security level of the target server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getServerSecurityLevel(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getServerSecurityLevel" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getTimeSinceLastAug:member(1)", + "docComment": "/**\n * Returns the amount of time in milliseconds that have passed since you last installed Augmentations.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @returns Time in milliseconds that have passed since you last installed Augmentations.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getTimeSinceLastAug(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getTimeSinceLastAug" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#getWeakenTime:member(1)", + "docComment": "/**\n * Returns the amount of time in seconds it takes to execute the weaken() Netscript function on the target server. The function takes in an optional hackLvl parameter that can be specified to see what the weaken time would be at different hacking levels.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Host or IP of target server.\n *\n * @param hackLvl - Optional hacking level for the calculation. Defaults to player’s current hacking level.\n *\n * @param intLvl - Optional intelligence level for the calculation. Defaults to player’s current intelligence level. (Intelligence is unlocked after obtaining Source-File 5).\n *\n * @returns Returns the amount of time in seconds it takes to execute the grow Netscript function. Returns Infinity if called on a Hacknet Server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getWeakenTime(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", hackLvl?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", intLvl?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "hackLvl", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "intLvl", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getWeakenTime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#grow:member(1)", + "docComment": "/**\n * Use your hacking skills to increase the amount of money available on a server. The runtime for this command depends on your hacking level and the target server’s security level. When \\`grow\\` completes, the money available on a target server will be increased by a certain, fixed percentage. This percentage is determined by the target server’s growth rate (which varies between servers) and security level. Generally, higher-level servers have higher growth rates. The getServerGrowth() function can be used to obtain a server’s growth rate.\n *\n * Like hack, \\`grow\\` can be called on any server, regardless of where the script is running. The grow() command requires root access to the target server, but there is no required hacking level to run the command. It also raises the security level of the target server by 0.004.\n *\n * @remarks\n *\n * 0.15 GB\n *\n * @param host - Hostname or IP of the target server to grow.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns The number by which the money on the server was multiplied for the growth.\n *\n * @example\n * ```js\n * grow(\"foodnstuff\");\n * grow(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to grow\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "grow(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", opts?: " + }, + { + "kind": "Reference", + "text": "BasicHGWOptions", + "canonicalReference": "bitburner!BasicHGWOptions:interface" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 7 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "opts", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "grow" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#growthAnalyze:member(1)", + "docComment": "/**\n * This function returns the number of “growths” needed in order to increase the amount of money available on the specified server by the specified amount. The specified amount is multiplicative and is in decimal form, not percentage.\n *\n * Warning: The value returned by this function isn’t necessarily a whole number.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @param growthAmount - Multiplicative factor by which the server is grown. Decimal form..\n *\n * @returns The amount of grow calls needed to grow the specified server by the specified amount\n *\n * @example\n * ```js\n * //For example, if you want to determine how many grow calls you need to double the amount of money on foodnstuff, you would use:\n * growthAnalyze(\"foodnstuff\", 2);\n * //If this returns 100, then this means you need to call grow 100 times in order to double the money (or once with 100 threads).\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "growthAnalyze(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", growthAmount: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "growthAmount", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "growthAnalyze" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#growthAnalyzeSecurity:member(1)", + "docComment": "/**\n * Returns the security increase that would occur if a grow with this many threads happened.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param threads - Amount of threads that will be used.\n *\n * @returns The security increase.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "growthAnalyzeSecurity(threads: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "threads", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "growthAnalyzeSecurity" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#hack:member(1)", + "docComment": "/**\n * Function that is used to try and hack servers to steal money and gain hacking experience. The runtime for this command depends on your hacking level and the target server’s security level. In order to hack a server you must first gain root access to that server and also have the required hacking level.\n *\n * A script can hack a server from anywhere. It does not need to be running on the same server to hack that server. For example, you can create a script that hacks the \\`foodnstuff\\` server and run that script on any server in the game.\n *\n * A successful \\`hack()\\` on a server will raise that server’s security level by 0.002.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Hostname or IP of the target server to hack.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns The amount of money stolen if the hack is successful, and zero otherwise.\n *\n * @example\n * ```js\n * hack(\"foodnstuff\");\n * hack(\"10.1.2.3\");\n * hack(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to hack\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hack(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", opts?: " + }, + { + "kind": "Reference", + "text": "BasicHGWOptions", + "canonicalReference": "bitburner!BasicHGWOptions:interface" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 7 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "opts", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "hack" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#hackAnalyzePercent:member(1)", + "docComment": "/**\n * Returns the percentage of the specified server’s money you will steal with a single hack. This value is returned in percentage form, not decimal (Netscript functions typically return in decimal form, but not this one).\n *\n * @remarks\n *\n * 1 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @returns The percentage of money you will steal from the target server with a single hack.\n *\n * @example\n * ```js\n * //For example, assume the following returns 1:\n * hackAnalyzePercent(\"foodnstuff\");\n * //This means that if hack the foodnstuff server, then you will steal 1% of its total money. If you hack using N threads, then you will steal N% of its total money.\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackAnalyzePercent(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "hackAnalyzePercent" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#hackAnalyzeSecurity:member(1)", + "docComment": "/**\n * Returns the security increase that would occur if a hack with this many threads happened.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param threads - Amount of threads that will be used.\n *\n * @returns The security increase.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackAnalyzeSecurity(threads: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "threads", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "hackAnalyzeSecurity" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#hackAnalyzeThreads:member(1)", + "docComment": "/**\n * This function returns the number of script threads you need when running the hack command to steal the specified amount of money from the target server. If hackAmount is less than zero or greater than the amount of money available on the server, then this function returns -1.\n *\n * Warning: The value returned by this function isn’t necessarily a whole number.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param host - Hostname or IP of the target server to analyze.\n *\n * @param hackAmount - Amount of money you want to hack from the server.\n *\n * @returns The number of threads needed to hack the server for hackAmount money.\n *\n * @example\n * ```js\n * //For example, let’s say the foodnstuff server has $10m and you run:\n * hackAnalyzeThreads(\"foodnstuff\", 1e6);\n * //If this function returns 50, this means that if your next hack call is run on a script with 50 threads, it will steal $1m from the foodnstuff server.\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackAnalyzeThreads(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", hackAmount: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "hackAmount", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "hackAnalyzeThreads" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#hackChance:member(1)", + "docComment": "/**\n * Returns the chance you have of successfully hacking the specified server.\n *\n * This returned value is in decimal form, not percentage.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @returns The chance you have of successfully hacking the target server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hackChance(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "hackChance" + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#hacknet:member", + "docComment": "/**\n * Not all functions in the Hacknet Node API are immediately available.\n *\n * Note that none of these functions will write to the script’s logs.\n *\n * If you want to see what your script is doing you will have to print to the logs yourself.\n *\n * @remarks\n *\n * 4 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly hacknet: " + }, + { + "kind": "Reference", + "text": "HackNet", + "canonicalReference": "bitburner!HackNet:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacknet", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#hasRootAccess:member(1)", + "docComment": "/**\n * Returns a boolean indicating whether or not the player has root access to the specified target server.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Host or IP of the target server\n *\n * @returns True if player has root access to the specified target server, and false otherwise.\n *\n * @example\n * ```js\n * if (hasRootAccess(\"foodnstuff\") == false) {\n * nuke(\"foodnstuff\");\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hasRootAccess(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "hasRootAccess" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#httpworm:member(1)", + "docComment": "/**\n * Runs the HTTPWorm.exe program on the target server. HTTPWorm.exe must exist on your home computer.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @example\n * ```js\n * httpworm(\"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "httpworm(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "httpworm" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#isLogEnabled:member(1)", + "docComment": "/**\n * Checks the status of the logging for the given function.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param fn - Name of function to check.\n *\n * @returns Returns a boolean indicating whether or not logging is enabled for that function (or \\`ALL\\`)\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "isLogEnabled(fn: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "isLogEnabled" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#isRunning:member(1)", + "docComment": "/**\n * Returns a boolean indicating whether the specified script is running on the target server. Remember that a script is uniquely identified by both its name and its arguments.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param script - Filename of script to check. This is case-sensitive.\n *\n * @param host - Host or IP of target server.\n *\n * @param args - Arguments to specify/identify which scripts to search for.\n *\n * @returns True if specified script is running on the target server, and false otherwise.\n *\n * @example\n * ```js\n * //The function call will return true if there is a script named foo.script with no arguments running on the foodnstuff server, and false otherwise:\n * isRunning(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //The function call will return true if there is a script named foo.script with no arguments running on the current server, and false otherwise:\n * isRunning(\"foo.script\", getHostname());\n * ```\n *\n * @example\n * ```js\n * //The function call will return true if there is a script named foo.script running with the arguments 1, 5, and “test” (in that order) on the joesguns server, and false otherwise:\n * isRunning(\"foo.script\", \"joesguns\", 1, 5, \"test\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "isRunning(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "isRunning" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#kill:member(1)", + "docComment": "/**\n * Kills the script on the target server specified by the script’s name and arguments. Remember that scripts are uniquely identified by both their name and arguments. For example, if \\`foo.script\\` is run with the argument 1, then this is not the same as \\`foo.script\\` run with the argument 2, even though they have the same code.\n *\n * @remarks\n *\n * 0.5 GB\n *\n * @param script - Filename of the script to kill\n *\n * @param host - Hostname or IP of the server on which to kill the script.\n *\n * @param args - Arguments to identify which script to kill.\n *\n * @returns True if the script is successfully killed, and false otherwise.\n *\n * @example\n * ```js\n * //The following example will try to kill a script named foo.script on the foodnstuff server that was ran with no arguments:\n * kill(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //The following will try to kill a script named foo.script on the current server that was ran with no arguments:\n * kill(\"foo.script\", getHostname());\n * ```\n *\n * @example\n * ```js\n * //The following will try to kill a script named foo.script on the current server that was ran with the arguments 1 and “foodnstuff”:\n * kill(\"foo.script\", getHostname(), 1, \"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "kill(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "kill" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#kill:member(2)", + "docComment": "/**\n * Kills the script with the specified PID. Killing a script by its PID will typically have better performance, especially if you have many scripts running. If this function successfully kills the specified script, then it will return true. Otherwise, it will return false.\n *\n * @remarks\n *\n * 0.5 GB\n *\n * @param scriptPid - PID of the script to kill\n *\n * @returns True if the script is successfully killed, and false otherwise.\n *\n * @example\n * ```js\n * if (kill(10)) {\n * print(\"Killed script with PID 10!\");\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "kill(scriptPid: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 2, + "parameters": [ + { + "parameterName": "scriptPid", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "kill" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#killall:member(1)", + "docComment": "/**\n * Kills all running scripts on the specified server. This function returns true if any scripts were killed, and false otherwise. In other words, it will return true if there are any scripts running on the target server.\n *\n * @remarks\n *\n * 0.5 GB\n *\n * @param host - IP or hostname of the server on which to kill all scripts.\n *\n * @returns True if any scripts were killed, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "killall(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "killall" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#ls:member(1)", + "docComment": "/**\n * Returns an array with the filenames of all files on the specified server (as strings). The returned array is sorted in alphabetic order.\n *\n * @remarks\n *\n * 0.2 GB\n *\n * @param host - Host or IP of the target server.\n *\n * @param grep - A substring to search for in the filename.\n *\n * @returns Array with the filenames of all files on the specified server.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ls(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", grep?: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "grep", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "ls" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#nFormat:member(1)", + "docComment": "/**\n * Converts a number into a string with the specified formatter. This uses the numeraljs library, so the formatters must be compatible with that. This is the same function that the game itself uses to display numbers.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param n - Number to format.\n *\n * @param format - Formatter.\n *\n * @returns Formated number.\n *\n * @see\n *\n * http://numeraljs.com/\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "nFormat(n: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", format: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "n", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "format", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "nFormat" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#nuke:member(1)", + "docComment": "/**\n * Runs the NUKE.exe program on the target server. NUKE.exe must exist on your home computer.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @example\n * ```js\n * nuke(\"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "nuke(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "nuke" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#peek:member(1)", + "docComment": "/**\n * This function is used to peek at the data from a port. It returns the first element in the specified port without removing that element. If the port is empty, the string “NULL PORT DATA” will be returned.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param port - Port to peek. Must be an integer between 1 and 20.\n *\n * @returns Data in the specified port.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "peek(port: " + }, + { + "kind": "Reference", + "text": "Port", + "canonicalReference": "bitburner!Port:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string | number | object" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "port", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "peek" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#print:member(1)", + "docComment": "/**\n * Prints a value or a variable to the script’s logs.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param msg - Value to be printed.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "print(msg: " + }, + { + "kind": "Content", + "text": "string | number | string[] | number[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "msg", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "print" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#prompt:member(1)", + "docComment": "/**\n * Prompts the player with a dialog box with two options: “Yes” and “No”. This function will return true if the player click “Yes” and false if the player clicks “No”. The script’s execution is halted until the player selects one of the options.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param txt - Text to appear in the prompt dialog box.\n *\n * @returns True if the player click “Yes” and false if the player clicks “No”.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "prompt(txt: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "txt", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "prompt" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#ps:member(1)", + "docComment": "/**\n * Returns an array with general information about all scripts running on the specified target server.\n *\n * @remarks\n *\n * 0.2 GB\n *\n * @param host - Host or IP address of the target server. If not specified, it will be the current server’s IP by default.\n *\n * @returns Array with general information about all scripts running on the specified target server.\n *\n * @example\n * ```js\n * //(using NetscriptJS (Netscript 2.0))\n * export async function main(ns) {\n * const ps = ns.ps(\"home\");\n * for (let i = 0; i < ps.length; ++i) {\n * ns.tprint(ps[i].filename + ' ' + ps[i].threads);\n * ns.tprint(ps[i].args);\n * }\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "ps(host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "ProcessInfo", + "canonicalReference": "bitburner!ProcessInfo:interface" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "ps" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#purchaseServer:member(1)", + "docComment": "/**\n * Purchased a server with the specified hostname and amount of RAM.\n *\n * The hostname argument can be any data type, but it will be converted to a string and have whitespace removed. Anything that resolves to an empty string will cause the function to fail. If there is already a server with the specified hostname, then the function will automatically append a number at the end of the hostname argument value until it finds a unique hostname. For example, if the script calls \\`purchaseServer(“foo”, 4)\\` but a server named “foo” already exists, the it will automatically change the hostname to \\`foo-0\\`. If there is already a server with the hostname \\`foo-0\\`, then it will change the hostname to \\`foo-1\\`, and so on.\n *\n * Note that there is a maximum limit to the amount of servers you can purchase.\n *\n * Returns the hostname of the newly purchased server as a string. If the function fails to purchase a server, then it will return an empty string. The function will fail if the arguments passed in are invalid, if the player does not have enough money to purchase the specified server, or if the player has exceeded the maximum amount of servers.\n *\n * @remarks\n *\n * 2.25 GB\n *\n * @param hostname - Host of the purchased server.\n *\n * @param ram - Amount of RAM of the purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of 1048576 (2^20).\n *\n * @returns The hostname of the newly purchased server.\n *\n * @example\n * ```js\n * ram = 64;\n * hn = \"pserv-\";\n * for (i = 0; i < 5; ++i) {\n * purchaseServer(hn + i, ram);\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseServer(hostname: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ram: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": " | \"\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 7 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "hostname", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "ram", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "purchaseServer" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#read:member(1)", + "docComment": "/**\n * This function is used to read data from a port or from a text file (.txt).\n *\n * If the argument port/fn is a number between 1 and 20, then it specifies a port and it will read data from that port. A port is a serialized queue. This function will remove the first element from that queue and return it. If the queue is empty, then the string “NULL PORT DATA” will be returned.\n *\n * If the argument port/fn is a string, then it specifies the name of a text file (.txt) and this function will return the data in the specified text file. If the text file does not exist, an empty string will be returned.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param handle - Port or text file to read from.\n *\n * @returns Data in the specified text file or port.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "read(handle: " + }, + { + "kind": "Reference", + "text": "Handle", + "canonicalReference": "bitburner!Handle:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string | number | object" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "handle", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "read" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#relaysmtp:member(1)", + "docComment": "/**\n * Runs the relaySMTP.exe program on the target server. relaySMTP.exe must exist on your home computer.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @example\n * ```js\n * relaysmtp(\"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "relaysmtp(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "relaysmtp" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#rm:member(1)", + "docComment": "/**\n * Removes the specified file from the current server. This function works for every file type except message (.msg) files.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param name - Filename of file to remove. Must include the extension.\n *\n * @param host - Host or IP Address of the server on which to delete the file. Optional. Defaults to current server.\n *\n * @returns True if it successfully deletes the file, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "rm(name: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "rm" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#run:member(1)", + "docComment": "/**\n * Run a script as a separate process. This function can only be used to run scripts located on the current server (the server running the script that calls this function). Requires a significant amount of RAM to run this command.\n *\n * If the script was successfully started, then this functions returns the PID of that script. Otherwise, it returns 0.\n *\n * PID stands for Process ID. The PID is a unique identifier for each script. The PID will always be a positive integer.\n *\n * Running this function with a numThreads argument of 0 will return 0 without running the script. However, running this function with a negative numThreads argument will cause a runtime error.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param script - Filename of script to run.\n *\n * @param numThreads - Optional thread count for new script. Set to 1 by default. Will be rounded to nearest integer.\n *\n * @param args - Additional arguments to pass into the new script that is being run. Note that if any arguments are being passed into the new script, then the second argument numThreads must be filled in with a value.\n *\n * @returns Returns the PID of a successfully started script, and 0 otherwise.\n *\n * @example\n * ```js\n * //The simplest way to use the run command is to call it with just the script name. The following example will run ‘foo.script’ single-threaded with no arguments:\n * run(\"foo.script\");\n * ```\n *\n * @example\n * ```js\n * //The following example will run ‘foo.script’ but with 5 threads instead of single-threaded:\n * run(\"foo.script\", 5);\n * ```\n *\n * @example\n * ```js\n * //This next example will run ‘foo.script’ single-threaded, and will pass the string ‘foodnstuff’ into the script as an argument:\n * run(\"foo.script\", 1, 'foodnstuff');\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "run(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", numThreads?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "numThreads", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "run" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#scan:member(1)", + "docComment": "/**\n * Returns an array containing the hostnames or IPs of all servers that are one node way from the specified target server. The hostnames/IPs in the returned array are strings.\n *\n * @remarks\n *\n * 0.2 GB\n *\n * @param host - Hostname or IP of the server to scan.\n *\n * @param hostnames - Optional boolean specifying whether the function should output hostnames (if true) or IP addresses (if false).\n *\n * @returns Returns an string of hostnames or IP.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "scan(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", hostnames?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 7 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "hostnames", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "scan" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#scp:member(1)", + "docComment": "/**\n * Copies a script or literature (.lit) file(s) to another server. The files argument can be either a string specifying a single file to copy, or an array of strings specifying multiple files to copy.\n *\n * @remarks\n *\n * 0.6 GB\n *\n * @param files - Filename or an array of filenames of script/literature files to copy.\n *\n * @param destination - Host or IP of the destination server, which is the server to which the file will be copied.\n *\n * @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied.\n *\n * @example\n * ```js\n * //Copies hack-template.script from the current server to foodnstuff:\n * scp(\"hack-template.script\", \"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "scp(files: " + }, + { + "kind": "Content", + "text": "string | " + }, + { + "kind": "Reference", + "text": "ReadonlyArray", + "canonicalReference": "!ReadonlyArray:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ", destination: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "files", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + }, + { + "parameterName": "destination", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "scp" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#scp:member(2)", + "docComment": "/**\n * Copies a script or literature (.lit) file(s) to another server. The files argument can be either a string specifying a single file to copy, or an array of strings specifying multiple files to copy.\n *\n * @remarks\n *\n * 0.6 GB\n *\n * @param files - Filename or an array of filenames of script/literature files to copy.\n *\n * @param source - Host or IP of the source server, which is the server from which the file will be copied. This argument is optional and if it’s omitted the source will be the current server.\n *\n * @param destination - Host or IP of the destination server, which is the server to which the file will be copied.\n *\n * @returns True if the script/literature file is successfully copied over and false otherwise. If the files argument is an array then this function will return true if at least one of the files in the array is successfully copied.\n *\n * @example\n * ```js\n * //Copies foo.lit from the helios server to the home computer:\n * scp(\"foo.lit\", \"helios\", \"home\");\n * ```\n *\n * @example\n * ```js\n * //Tries to copy three files from rothman-uni to home computer:\n * files = [\"foo1.lit\", \"foo2.script\", \"foo3.script\"];\n * scp(files, \"rothman-uni\", \"home\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "scp(\n files: " + }, + { + "kind": "Content", + "text": "string | " + }, + { + "kind": "Reference", + "text": "ReadonlyArray", + "canonicalReference": "!ReadonlyArray:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ",\n source: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ",\n // tslint:disable-next-line:unified-signatures\n destination: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ",\n ): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 9, + "endIndex": 10 + }, + "releaseTag": "Public", + "overloadIndex": 2, + "parameters": [ + { + "parameterName": "files", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 4 + } + }, + { + "parameterName": "source", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + }, + { + "parameterName": "destination", + "parameterTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + } + } + ], + "name": "scp" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#scriptKill:member(1)", + "docComment": "/**\n * Kills all scripts with the specified filename on the target server specified by hostname/ip, regardless of arguments.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param script - Filename of script to kill. This is case-sensitive.\n *\n * @param host - Host or IP of target server.\n *\n * @returns true if one or more scripts were successfully killed, and false if none were.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "scriptKill(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "scriptKill" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#scriptRunning:member(1)", + "docComment": "/**\n * Returns a boolean indicating whether any instance of the specified script is running on the target server, regardless of its arguments.\n *\n * This is different than the isRunning function because it does not try to identify a specific instance of a running script by its arguments.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param script - Filename of script to check. This is case-sensitive.\n *\n * @param host - Host or IP of target server.\n *\n * @returns True if the specified script is running, and false otherwise.\n *\n * @example\n * ```js\n * //The function call will return true if there is any script named foo.script running on the foodnstuff server, and false otherwise:\n * scriptRunning(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //The function call will return true if there is any script named “foo.script” running on the current server, and false otherwise:\n * scriptRunning(\"foo.script\", getHostname());\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "scriptRunning(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "scriptRunning" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#serverExists:member(1)", + "docComment": "/**\n * Returns a boolean denoting whether or not the specified server exists.\n *\n * @remarks\n *\n * 0.1 GB\n *\n * @param host - Host or IP of target server.\n *\n * @returns True if specified server exists, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "serverExists(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "serverExists" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#sleep:member(1)", + "docComment": "/**\n * Suspends the script for n milliseconds.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param millis - Number of milliseconds to sleep.\n *\n * @returns \n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "sleep(millis: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "millis", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "sleep" + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#sleeve:member", + "docComment": "/**\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly sleeve: " + }, + { + "kind": "Reference", + "text": "Sleeve", + "canonicalReference": "bitburner!Sleeve:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "sleeve", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#spawn:member(1)", + "docComment": "/**\n * Terminates the current script, and then after a delay of about 10 seconds it will execute the newly-specified script. The purpose of this function is to execute a new script without being constrained by the RAM usage of the current one. This function can only be used to run scripts on the local server.\n *\n * Because this function immediately terminates the script, it does not have a return value.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param script - Filename of script to execute.\n *\n * @param numThreads - Number of threads to spawn new script with. Will be rounded to nearest integer.\n *\n * @param args - Additional arguments to pass into the new script that is being run.\n *\n * @example\n * ```js\n * //The following example will execute the script ‘foo.script’ with 10 threads and the arguments ‘foodnstuff’ and 90:\n * spawn('foo.script', 10, 'foodnstuff', 90);\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "spawn(script: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", numThreads?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "script", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "numThreads", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "spawn" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#sprintf:member(1)", + "docComment": "/**\n * Complete open source JavaScript sprintf implementation\n *\n * @remarks\n *\n * 0 GB\n *\n * @param format - String to format.\n *\n * @param args - Formating arguments.\n *\n * @returns Formated text.\n *\n * @see\n *\n * https://github.com/alexei/sprintf.js\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "sprintf(format: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "format", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "sprintf" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#sqlinject:member(1)", + "docComment": "/**\n * Runs the SQLInject.exe program on the target server. SQLInject.exe must exist on your home computer.\n *\n * @remarks\n *\n * 0.05 GB\n *\n * @param host - Hostname or IP of the target server.\n *\n * @example\n * ```js\n * sqlinject(\"foodnstuff\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "sqlinject(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "sqlinject" + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!NS#stock:member", + "docComment": "/**\n * @remarks\n *\n * 0 GB\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "readonly stock: " + }, + { + "kind": "Reference", + "text": "TIX", + "canonicalReference": "bitburner!TIX:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "stock", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#tail:member(1)", + "docComment": "/**\n * Opens a script’s logs. This is functionally the same as the tail Terminal command.\n *\n * If the function is called with no arguments, it will open the current script’s logs.\n *\n * Otherwise, the fn, hostname/ip, and args… arguments can be used to get the logs from another script. Remember that scripts are uniquely identified by both their names and arguments.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param fn - Optional. Filename of the script being tailed. If omitted, the current script is tailed.\n *\n * @param host - Optional. Hostname or IP of the script being tailed. Defaults to the server this script is running on. If args are specified, this is not optional.\n *\n * @param args - Arguments for the script being tailed.\n *\n * @example\n * ```js\n * //Open logs from foo.script on the current server that was run with no args\n * tail(\"foo.script\");\n * ```\n *\n * @example\n * ```js\n * //Get logs from foo.script on the foodnstuff server that was run with no args\n * tail(\"foo.script\", \"foodnstuff\");\n * ```\n *\n * @example\n * ```js\n * //Get logs from foo.script on the foodnstuff server that was run with the arguments [1, \"test\"]\n * tail(\"foo.script\", \"foodnstuff\", 1, \"test\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "tail(fn?: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", ...args: " + }, + { + "kind": "Content", + "text": "any[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "fn", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "tail" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#tprint:member(1)", + "docComment": "/**\n * Prints a value or a variable to the Terminal.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param msg - Value to be printed.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "tprint(msg: " + }, + { + "kind": "Content", + "text": "string | number | string[] | number[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "msg", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "tprint" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#tryWrite:member(1)", + "docComment": "/**\n * Attempts to write data to the specified Netscript Port. If the port is full, the data will not be written. Otherwise, the data will be written normally.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param port - Port or text file that will be written to.\n *\n * @param data - Data to write.\n *\n * @returns True if the data is successfully written to the port, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "tryWrite(port: " + }, + { + "kind": "Reference", + "text": "Handle", + "canonicalReference": "bitburner!Handle:type" + }, + { + "kind": "Content", + "text": ", data: " + }, + { + "kind": "Content", + "text": "string | string[] | number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "port", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "data", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "tryWrite" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#vsprintf:member(1)", + "docComment": "/**\n * Complete open source JavaScript sprintf implementation\n *\n * @remarks\n *\n * 0 GB\n *\n * @param format - String to format.\n *\n * @param args - Formating arguments.\n *\n * @returns Formated text.\n *\n * @see\n *\n * https://github.com/alexei/sprintf.js\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "vsprintf(format: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "format", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "args", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "vsprintf" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#weaken:member(1)", + "docComment": "/**\n * Use your hacking skills to attack a server’s security, lowering the server’s security level. The runtime for this command depends on your hacking level and the target server’s security level. This function lowers the security level of the target server by 0.05.\n *\n * Like hack and grow, \\`weaken\\` can be called on any server, regardless of where the script is running. This command requires root access to the target server, but there is no required hacking level to run the command.\n *\n * @remarks\n *\n * 0.15 GB\n *\n * @param host - Hostname or IP of the target server to weaken.\n *\n * @param opts - Optional parameters for configuring function behavior.\n *\n * @returns The amount by which the target server’s security level was decreased. This is equivalent to 0.05 multiplied by the number of script threads.\n *\n * @example\n * ```js\n * weaken(\"foodnstuff\");\n * weaken(\"foodnstuff\", { threads: 5 }); // Only use 5 threads to weaken\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "weaken(host: " + }, + { + "kind": "Reference", + "text": "Host", + "canonicalReference": "bitburner!Host:type" + }, + { + "kind": "Content", + "text": ", opts?: " + }, + { + "kind": "Reference", + "text": "BasicHGWOptions", + "canonicalReference": "bitburner!BasicHGWOptions:interface" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 7 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "opts", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "weaken" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#weakenAnalyze:member(1)", + "docComment": "/**\n * Returns the security decrease that would occur if a weaken with this many threads happened.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param threads - Amount of threads that will be used.\n *\n * @param cores - Optional. The number of cores of the server that would run weaken.\n *\n * @returns The security decrease.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "weakenAnalyze(threads: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", cores?: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "threads", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "cores", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "weakenAnalyze" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#wget:member(1)", + "docComment": "/**\n * Retrieves data from a URL and downloads it to a file on the specified server. The data can only be downloaded to a script (.script, .ns, .js) or a text file (.txt). If the file already exists, it will be overwritten by this command. Note that it will not be possible to download data from many websites because they do not allow cross-origin resource sharing (CORS).\n *\n * IMPORTANT: This is an asynchronous function that returns a Promise. The Promise’s resolved value will be a boolean indicating whether or not the data was successfully retrieved from the URL. Because the function is async and returns a Promise, it is recommended you use wget in NetscriptJS (Netscript 2.0).\n *\n * In NetscriptJS, you must preface any call to wget with the await keyword (like you would hack or sleep). wget will still work in Netscript 1.0, but the functions execution will not be synchronous (i.e. it may not execute when you expect/want it to). Furthermore, since Promises are not supported in ES5, you will not be able to process the returned value of wget in Netscript 1.0.\n *\n * @remarks\n *\n * 0 GB\n *\n * @param url - URL to pull data from.\n *\n * @param target - Filename to write data to. Must be script or text file.\n *\n * @param host - Optional hostname/ip of server for target file.\n *\n * @returns True if the data was successfully retrieved from the URL, false otherwise.\n *\n * @example\n * ```js\n * wget(\"https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md\", \"game_readme.txt\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "wget(url: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", target: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ", host?: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "Promise", + "canonicalReference": "!Promise:interface" + }, + { + "kind": "Content", + "text": "" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 9 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "url", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "target", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "host", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "wget" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!NS#write:member(1)", + "docComment": "/**\n * This function can be used to either write data to a port or to a text file (.txt).\n *\n * If the first argument is a number between 1 and 20, then it specifies a port and this function will write data to that port. The third argument, mode, is not used when writing to a port.\n *\n * If the first argument is a string, then it specifies the name of a text file (.txt) and this function will write data to that text file. If the specified text file does not exist, then it will be created. The third argument mode, defines how the data will be written to the text file. If *mode is set to “w”, then the data is written in “write” mode which means that it will overwrite all existing data on the text file. If mode is set to any other value then the data will be written in “append” mode which means that the data will be added at the end of the text file.\n *\n * @remarks\n *\n * 1 GB\n *\n * @param handle - Port or text file that will be written to.\n *\n * @param data - Data to write.\n *\n * @param mode - Defines the write mode. Only valid when writing to text files.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "write(handle: " + }, + { + "kind": "Reference", + "text": "Handle", + "canonicalReference": "bitburner!Handle:type" + }, + { + "kind": "Content", + "text": ", data?: " + }, + { + "kind": "Content", + "text": "string | string[] | number" + }, + { + "kind": "Content", + "text": ", mode?: " + }, + { + "kind": "Content", + "text": "\"w\" | \"a\"" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "handle", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "data", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "mode", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "write" + } + ], + "extendsTokenRanges": [ + { + "startIndex": 1, + "endIndex": 3 + } + ] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!OrderPos:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type OrderPos = " + }, + { + "kind": "Content", + "text": "\"long\" | \"short\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "OrderPos", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!OrderType:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type OrderType = " + }, + { + "kind": "Content", + "text": "\"limitbuy\" | \"limitsell\" | \"stopbuy\" | \"stopsell\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "OrderType", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!PlayerStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface PlayerStats " + } + ], + "releaseTag": "Public", + "name": "PlayerStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#agility:member", + "docComment": "/**\n * Agility level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agility", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#charisma:member", + "docComment": "/**\n * Chraisma level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charisma", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#defense:member", + "docComment": "/**\n * Defense level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defense", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#dexterity:member", + "docComment": "/**\n * Dexterity level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterity", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#hacking:member", + "docComment": "/**\n * Hacking level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacking", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#intelligence:member", + "docComment": "/**\n * Intelligence level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "intelligence: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "intelligence", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!PlayerStats#strength:member", + "docComment": "/**\n * Strength level\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strength", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!Port:type", + "docComment": "/**\n * A port is implemented as a sort of serialized queue, where you can only write and read one element at a time from the port. When you read data from a port, the element that is read is removed from the port.\n *\n * IMPORTANT: The data inside ports are not saved! This means if you close and re-open the game, or reload the page then you will lose all of the data in the ports!\n *\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type Port = " + }, + { + "kind": "Content", + "text": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "Port", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!ProcessInfo:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface ProcessInfo " + } + ], + "releaseTag": "Public", + "name": "ProcessInfo", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!ProcessInfo#args:member", + "docComment": "/**\n * Script's arguments\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "args: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "args", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!ProcessInfo#filename:member", + "docComment": "/**\n * Script name.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "filename: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "filename", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!ProcessInfo#threads:member", + "docComment": "/**\n * Number of threads script is running with\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "threads: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "threads", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!PurchaseableProgram:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type PurchaseableProgram =\n " + }, + { + "kind": "Content", + "text": "| \"brutessh.exe\"\n | \"ftpcrack.exe\"\n | \"relaysmtp.exe\"\n | \"httpworm.exe\"\n | \"sqlinject.exe\"\n | \"deepscanv1.exe\"\n | \"deepscanv2.exe\"\n | \"autolink.exe\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "PurchaseableProgram", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!Script:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type Script = " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "Script", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!Server:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface Server " + } + ], + "releaseTag": "Public", + "name": "Server", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#cpuCores:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "cpuCores: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "cpuCores", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#ftpPortOpen:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "ftpPortOpen: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ftpPortOpen", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#hasAdminRights:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "hasAdminRights: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hasAdminRights", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#hostname:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "hostname: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hostname", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#httpPortOpen:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "httpPortOpen: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "httpPortOpen", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#ip:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "ip: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ip", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#isConnectedTo:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "isConnectedTo: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "isConnectedTo", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#maxRam:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "maxRam: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "maxRam", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#organizationName:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "organizationName: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "organizationName", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#ramUsed:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "ramUsed: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "ramUsed", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#smtpPortOpen:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "smtpPortOpen: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "smtpPortOpen", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#sqlPortOpen:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "sqlPortOpen: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "sqlPortOpen", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!Server#sshPortOpen:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "sshPortOpen: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "sshPortOpen", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!Singularity:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface Singularity " + } + ], + "releaseTag": "Public", + "name": "Singularity", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#applyToCompany:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically try to apply to the specified company for a position in the specified field. This function can also be used to apply for promotions by specifying the company and field you are already employed at.\n *\n * This function will return true if you successfully get a job/promotion, and false otherwise. Note that if you are trying to use this function to apply for a promotion and you don’t get one, it will return false.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param companyName - Name of company to apply to.\n *\n * @param field - Field to which you want to apply.\n *\n * @returns True if the player successfully get a job/promotion, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "applyToCompany(companyName: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": ", field: " + }, + { + "kind": "Reference", + "text": "CompanyField", + "canonicalReference": "bitburner!CompanyField:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "companyName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "field", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "applyToCompany" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#checkFactionInvitations:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an array with the name of all Factions you currently have oustanding invitations from.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @returns Array with the name of all Factions you currently have oustanding invitations from.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "checkFactionInvitations(): " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "checkFactionInvitations" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#commitCrime:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function is used to automatically attempt to commit crimes. If you are already in the middle of some ‘working’ action (such as working for a company or training at a gym), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function returns the number of seconds it takes to attempt the specified crime (e.g It takes 60 seconds to attempt the ‘Rob Store’ crime, so running \\`commitCrime('rob store')\\` will return 60).\n *\n * Warning: I do not recommend using the time returned from this function to try and schedule your crime attempts. Instead, I would use the isBusy Singularity function to check whether you have finished attempting a crime. This is because although the game sets a certain crime to be X amount of seconds, there is no guarantee that your browser will follow that time limit.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param crime - Name of crime to attempt.\n *\n * @returns True if you successfully start working on the specified program, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "commitCrime(crime: " + }, + { + "kind": "Reference", + "text": "Crime", + "canonicalReference": "bitburner!Crime:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "crime", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "commitCrime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#createProgram:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically set you to start working on creating the specified program. If you are already in the middle of some “working” action (such as working for a company, training at a gym, or taking a course), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function returns true if you successfully start working on the specified program, and false otherwise.\n *\n * Note that creating a program using this function has the same hacking level requirements as it normally would. These level requirements are: * BruteSSH.exe: 50 * FTPCrack.exe: 100 * relaySMTP.exe: 250 * HTTPWorm.exe: 500 * SQLInject.exe: 750 * DeepscanV1.exe: 75 * DeepscanV2.exe: 400 * ServerProfiler.exe: 75 * AutoLink.exe: 25\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param program - Name of program to create.\n *\n * @returns True if you successfully start working on the specified program, and false otherwise.\n *\n * @example\n * ```js\n * createProgram(“relaysmtp.exe”);\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "createProgram(program: " + }, + { + "kind": "Reference", + "text": "CreatableProgram", + "canonicalReference": "bitburner!CreatableProgram:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "program", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "createProgram" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#donateToFaction:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Attempts to donate money to the specified faction in exchange for reputation. Returns true if you successfully donate the money, and false otherwise.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param faction - Name of faction to donate to.\n *\n * @param amount - Amount of money to donate.\n *\n * @returns True if the money was donated, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "donateToFaction(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": ", amount: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "amount", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "donateToFaction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getAugmentationCost:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns an array with two elements that gives the cost for the specified Augmentation. The first element in the returned array is the reputation requirement of the Augmentation, and the second element is the money cost.\n *\n * If an invalid Augmentation name is passed in for the augName argument, this function will return the array [-1, -1].\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param augName - Name of Augmentation.\n *\n * @returns Array with first element as a reputation requirement and second element as the money cost.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getAugmentationCost(augName: " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "[number, number]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "augName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getAugmentationCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getAugmentationPrereq:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns an array with the names of the prerequisite Augmentation(s) for the specified Augmentation. If there are no prerequisites, a blank array is returned.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param augName - Name of Augmentation.\n *\n * @returns Array with the names of the prerequisite Augmentation(s) for the specified Augmentation.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getAugmentationPrereq(augName: " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "augName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getAugmentationPrereq" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getAugmentationsFromFaction:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an array containing the names (as strings) of all Augmentations that are available from the specified faction.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param faction - Name of faction.\n *\n * @returns Array containing the names of all Augmentations.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getAugmentationsFromFaction(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getAugmentationsFromFaction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getAugmentationStats:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns augmentation stats.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param name - Name of Augmentation. CASE-SENSITIVE.\n *\n * @returns Augmentation stats.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getAugmentationStats(name: " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "AugmentationStats", + "canonicalReference": "bitburner!AugmentationStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getAugmentationStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getCharacterInformation:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an object with various information about your character.\n *\n * @remarks\n *\n * Singularity - Level 1\n *\n * @returns Object with various information about your character.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCharacterInformation(): " + }, + { + "kind": "Reference", + "text": "CharacterInfo", + "canonicalReference": "bitburner!CharacterInfo:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getCharacterInformation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getCompanyFavor:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will return the amount of favor you have at the specified company. If the company passed in as an argument is invalid, -1 will be returned.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param companyName - Name of the company.\n *\n * @returns Amount of favor you have at the specified company.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCompanyFavor(companyName: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "companyName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCompanyFavor" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getCompanyFavorGain:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will return the amount of favor you will gain for the specified company when you reset by installing Augmentations.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param companyName - Name of the company.\n *\n * @returns Amount of favor you gain at the specified company when you reset by installing Augmentations.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCompanyFavorGain(companyName: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "companyName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCompanyFavorGain" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getCompanyRep:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will return the amount of reputation you have at the specified company. If the company passed in as an argument is invalid, -1 will be returned.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param companyName - Name of the company.\n *\n * @returns Amount of reputation you have at the specified company.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCompanyRep(companyName: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "companyName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCompanyRep" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getCrimeChance:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns your chance of success at commiting the specified crime. The chance is returned as a decimal (i.e. 60% would be returned as 0.6).\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param crime - Name of crime.\n *\n * @returns Chance of success at commiting the specified crime as a decimal.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCrimeChance(crime: " + }, + { + "kind": "Reference", + "text": "Crime", + "canonicalReference": "bitburner!Crime:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "crime", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCrimeChance" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getCrimeStats:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns the stats of the crime.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param crime - Name of crime. Not case-sensitive\n *\n * @returns The stats of the crime.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getCrimeStats(crime: " + }, + { + "kind": "Reference", + "text": "Crime", + "canonicalReference": "bitburner!Crime:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "CrimeStats", + "canonicalReference": "bitburner!CrimeStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "crime", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getCrimeStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getFactionFavor:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns the amount of favor you have for the specified faction.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param faction - Name of faction.\n *\n * @returns Amount of favor you have for the specified faction.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getFactionFavor(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getFactionFavor" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getFactionFavorGain:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns the amount of favor you will gain for the specified faction when you reset by installing Augmentations.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param faction - Name of faction.\n *\n * @returns Amount of favor you will gain for the specified faction when you reset by installing Augmentations.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getFactionFavorGain(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getFactionFavorGain" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getFactionRep:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns the amount of reputation you have for the specified faction.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param faction - Name of faction to work for.\n *\n * @returns Amount of reputation you have for the specified faction.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getFactionRep(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getFactionRep" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getOwnedAugmentations:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function returns an array containing the names (as strings) of all Augmentations you have.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param purchased - Specifies whether the returned array should include Augmentations you have purchased but not yet installed. By default, this argument is false which means that the return value will NOT have the purchased Augmentations.\n *\n * @returns Array containing the names (as strings) of all Augmentations you have.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getOwnedAugmentations(purchased?: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "purchased", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getOwnedAugmentations" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getOwnedSourceFiles:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an array of source files\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @returns Array containing an object with number and level of the source file.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getOwnedSourceFiles(): " + }, + { + "kind": "Reference", + "text": "SourceFileLvl", + "canonicalReference": "bitburner!SourceFileLvl:interface" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getOwnedSourceFiles" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getStats:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns an object with the Player’s stats.\n *\n * @remarks\n *\n * Singularity - Level 1\n *\n * @returns Object with the Player’s stats.\n *\n * @example\n * ```js\n * res = getStats();\n * print('My charisma level is: ' + res.charisma);\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getStats(): " + }, + { + "kind": "Reference", + "text": "PlayerStats", + "canonicalReference": "bitburner!PlayerStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#getUpgradeHomeRamCost:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns the cost of upgrading the player’s home computer RAM.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @returns Cost of upgrading the player’s home computer RAM.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getUpgradeHomeRamCost(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getUpgradeHomeRamCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#gymWorkout:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically set you to start working out at a gym to train a particular stat. If you are already in the middle of some “working” action (such as working at a company, for a faction, or on a program), then running this function will automatically cancel that action and give you your earnings.\n *\n * The cost and experience gains for all of these gyms are the same as if you were to manually visit these gyms and train\n *\n * @remarks\n *\n * Singularity - Level 1\n *\n * @param gymName - Name of gym. You must be in the correct city for whatever gym you specify.\n *\n * @param stat - The stat you want to train.\n *\n * @returns True if actions is successfully started, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "gymWorkout(gymName: " + }, + { + "kind": "Reference", + "text": "Gym", + "canonicalReference": "bitburner!Gym:type" + }, + { + "kind": "Content", + "text": ", stat: " + }, + { + "kind": "Reference", + "text": "GymStat", + "canonicalReference": "bitburner!GymStat:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "gymName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "stat", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "gymWorkout" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#installAugmentations:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically install your Augmentations, resetting the game as usual.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param cbScript - Optional callback script. This is a script that will automatically be run after Augmentations are installed (after the reset). This script will be run with no arguments and 1 thread. It must be located on your home computer.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "installAugmentations(cbScript?: " + }, + { + "kind": "Reference", + "text": "Script", + "canonicalReference": "bitburner!Script:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "cbScript", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "installAugmentations" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#isBusy:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * Returns a boolean indicating whether or not the player is currently performing an ‘action’. These actions include working for a company/faction, studying at a univeristy, working out at a gym, creating a program, committing a crime, or carrying out a Hacking Mission.\n *\n * @remarks\n *\n * Singularity - Level 1\n *\n * @returns True if the player is currently performing an ‘action’, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "isBusy(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "isBusy" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#joinFaction:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically accept an invitation from a faction and join it.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param faction - Name of faction to join.\n *\n * @returns True if player joined the faction, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "joinFaction(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "joinFaction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#purchaseAugmentation:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will try to purchase the specified Augmentation through the given Faction.\n *\n * This function will return true if the Augmentation is successfully purchased, and false otherwise.\n *\n * @remarks\n *\n * Singularity - Level 3\n *\n * @param faction - Name of faction to purchase Augmentation from.\n *\n * @param augmnet - Name of Augmentation to purchase.\n *\n * @returns True if the Augmentation is successfully purchased, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseAugmentation(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": ", augmnet: " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "augmnet", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "purchaseAugmentation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#purchaseProgram:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function allows you to automatically purchase programs. You MUST have a TOR router in order to use this function. The cost of purchasing programs using this function is the same as if you were purchasing them through the Dark Web using the Terminal buy command.\n *\n * @remarks\n *\n * Singularity - Level 1\n *\n * @param programName - Name of program to purchase.\n *\n * @returns True if the specified program is purchased, and false otherwise.\n *\n * @example\n * ```js\n * purchaseProgram(\"brutessh.exe\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseProgram(programName: " + }, + { + "kind": "Reference", + "text": "PurchaseableProgram", + "canonicalReference": "bitburner!PurchaseableProgram:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "programName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "purchaseProgram" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#purchaseTor:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function allows you to automatically purchase a TOR router. The cost for purchasing a TOR router using this function is the same as if you were to manually purchase one.\n *\n * @remarks\n *\n * Singularity - Level 1\n *\n * @returns True if actions is successful, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseTor(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "purchaseTor" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#softReset:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will perform a reset even if you don’t have any augmentation installed.\n *\n * @remarks\n *\n * Singularity - Level 3\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "softReset(): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "softReset" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#stopAction:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function is used to end whatever ‘action’ the player is currently performing. The player will receive whatever money/experience/etc. he has earned from that action.\n *\n * The actions that can be stopped with this function are:\n *\n * * Studying at a university * Working for a company/faction * Creating a program * Committing a Crime\n *\n * This function will return true if the player’s action was ended. It will return false if the player was not performing an action when this function was called.\n *\n * @remarks\n *\n * Singularity - Level 1\n *\n * @returns True if the player’s action was ended, false if the player was not performing an action.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "stopAction(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "stopAction" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#travelToCity:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function allows the player to travel to any city. The cost for using this function is the same as the cost for traveling through the Travel Agency.\n *\n * @remarks\n *\n * Singularity - Level 1\n *\n * @param city - City to travel to.\n *\n * @returns True if actions is successful, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "travelToCity(city: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "city", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "travelToCity" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#universityCourse:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically set you to start taking a course at a university. If you are already in the middle of some “working” action (such as working at a company, for a faction, or on a program), then running this function will automatically cancel that action and give you your earnings.\n *\n * The cost and experience gains for all of these universities and classes are the same as if you were to manually visit and take these classes.\n *\n * @remarks\n *\n * Singularity - Level 1\n *\n * @param universityName - Name of university. You must be in the correct city for whatever university you specify.\n *\n * @param courseName - Name of course.\n *\n * @returns True if actions is successfully started, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "universityCourse(universityName: " + }, + { + "kind": "Reference", + "text": "University", + "canonicalReference": "bitburner!University:type" + }, + { + "kind": "Content", + "text": ", courseName: " + }, + { + "kind": "Reference", + "text": "UniversityCourse", + "canonicalReference": "bitburner!UniversityCourse:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "universityName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "courseName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "universityCourse" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#upgradeHomeRam:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will upgrade amount of RAM on the player’s home computer. The cost is the same as if you were to do it manually.\n *\n * This function will return true if the player’s home computer RAM is successfully upgraded, and false otherwise.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @returns True if the player’s home computer RAM is successfully upgraded, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "upgradeHomeRam(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "upgradeHomeRam" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#workForCompany:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically set you to start working at the company at which you are employed. If you are already in the middle of some “working” action (such as working for a faction, training at a gym, or creating a program), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function will return true if the player starts working, and false otherwise.\n *\n * Note that when you are working for a company, you will not actually receive your earnings (reputation, money, experience) until you FINISH the action.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param companyName - Name of company to work for. Must be an exact match. Optional. If not specified, this argument defaults to the last job that you worked\n *\n * @returns True if the player starts working, and false otherwise.\n *\n * @example\n * ```js\n * //If you only want to work until you get 100,000 company reputation. One small hack to get around this is to continuously restart the action to receive your earnings:\n * while (getCompanyRep(COMPANY HERE) < VALUE) {\n * workForCompany();\n * sleep(60000);\n * }\n * //This way, your company reputation will be updated every minute.\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workForCompany(companyName?: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "companyName", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "workForCompany" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Singularity#workForFaction:member(1)", + "docComment": "/**\n * If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function and the RAM cost is doubled.\n *\n * This function will automatically set you to start working for the specified faction. Obviously, you must be a member of the faction or else this function will fail. If you are already in the middle of some “working” action (such as working for a company, training at a gym, or creating a program), then running this function will automatically cancel that action and give you your earnings.\n *\n * This function will return true if you successfully start working for the specified faction, and false otherwise.\n *\n * Note that when you are working for a faction, you will not actually receive your earnings (reputation, experience) until you FINISH the action.\n *\n * @remarks\n *\n * Singularity - Level 2\n *\n * @param faction - Name of faction to work for.\n *\n * @param workType - Type of work to perform for the faction.\n *\n * @returns True if the player starts working, and false otherwise.\n *\n * @example\n * ```js\n * //If you only want to work until you get 100,000 faction reputation. One small hack to get around this is to continuously restart the action to receive your earnings:\n * while (getFactionRep(FACTION NAME) < VALUE) {\n * workForFaction(FACNAME, WORKTYPE);\n * sleep(60000);\n * }\n * //This way, your faction reputation will be updated every minute.\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workForFaction(faction: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": ", workType: " + }, + { + "kind": "Reference", + "text": "FactionWork", + "canonicalReference": "bitburner!FactionWork:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "faction", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "workType", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "workForFaction" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!Sleeve:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface Sleeve " + } + ], + "releaseTag": "Public", + "name": "Sleeve", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#getInformation:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a struct containing tons of information about this sleeve\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to retrieve information.\n *\n * @returns Object containing tons of information about this sleeve.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getInformation(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "SleeveInformation", + "canonicalReference": "bitburner!SleeveInformation:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getInformation" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#getNumSleeves:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return the number of duplicate sleeves the player has.\n *\n * @remarks\n *\n * 4 GB\n *\n * @returns number of duplicate sleeves the player has.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getNumSleeves(): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getNumSleeves" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#getSleeveAugmentations:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a list of augmentation names that this sleeve has installed.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to retrieve augmentations from.\n *\n * @returns List of augmentation names that this sleeve has installed.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSleeveAugmentations(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getSleeveAugmentations" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#getSleevePurchasableAugs:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a list of augmentations that the player can buy for this sleeve.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to retrieve purchasable augmentations from.\n *\n * @returns List of augmentations that the player can buy for this sleeve.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSleevePurchasableAugs(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "AugmentPair", + "canonicalReference": "bitburner!AugmentPair:interface" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 5 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getSleevePurchasableAugs" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#getSleeveStats:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a structure containing the stats of the sleeve.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to get stats of.\n *\n * @returns Object containing the stats of the sleeve.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSleeveStats(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "SleeveStats", + "canonicalReference": "bitburner!SleeveStats:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getSleeveStats" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#getTask:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return the current task that the sleeve is performing. type is set to “Idle” if the sleeve isn’t doing anything.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to retrieve task from.\n *\n * @returns Object containing information the current task that the sleeve is performing.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getTask(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Reference", + "text": "SleeveTask", + "canonicalReference": "bitburner!SleeveTask:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getTask" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#purchaseSleeveAug:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return true if the aug was purchased and installed on the sleeve.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to buy an aug for.\n *\n * @param augName - Name of the aug to buy. Must be an exact match.\n *\n * @returns True if the aug was purchased and installed on the sleeve, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchaseSleeveAug(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", augName: " + }, + { + "kind": "Reference", + "text": "AugmentName", + "canonicalReference": "bitburner!AugmentName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "augName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "purchaseSleeveAug" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToCommitCrime:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * Returns false if an invalid action is specified.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to start commiting crime.\n *\n * @param name - Name of the crime. Must be an exact match.\n *\n * @returns True if this action was set successfully, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToCommitCrime(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", name: " + }, + { + "kind": "Reference", + "text": "Crime", + "canonicalReference": "bitburner!Crime:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "name", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "setToCommitCrime" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToCompanyWork:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not the sleeve started working or this company.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to work for the company.\n *\n * @param companyName - Name of the company to work for.\n *\n * @returns True if the sleeve started working on this company, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToCompanyWork(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", companyName: " + }, + { + "kind": "Reference", + "text": "CompanyName", + "canonicalReference": "bitburner!CompanyName:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "companyName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "setToCompanyWork" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToFactionWork:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not the sleeve started working or this faction.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to work for the faction.\n *\n * @param factionName - Name of the faction to work for.\n *\n * @param factionWorkType - Name of the action to perform for this faction.\n *\n * @returns True if the sleeve started working on this faction, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToFactionWork(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", factionName: " + }, + { + "kind": "Reference", + "text": "FactionName", + "canonicalReference": "bitburner!FactionName:type" + }, + { + "kind": "Content", + "text": ", factionWorkType: " + }, + { + "kind": "Reference", + "text": "FactionWork", + "canonicalReference": "bitburner!FactionWork:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "factionName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "factionWorkType", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "setToFactionWork" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToGymWorkout:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not the sleeve started working out.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to workout at the gym.\n *\n * @param gymName - Name of the gym.\n *\n * @param stat - Name of the stat to train.\n *\n * @returns True if the sleeve started working out, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToGymWorkout(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", gymName: " + }, + { + "kind": "Reference", + "text": "Gym", + "canonicalReference": "bitburner!Gym:type" + }, + { + "kind": "Content", + "text": ", stat: " + }, + { + "kind": "Reference", + "text": "GymStat", + "canonicalReference": "bitburner!GymStat:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "gymName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "stat", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "setToGymWorkout" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToShockRecovery:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to start recovery.\n *\n * @returns True if this action was set successfully, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToShockRecovery(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "setToShockRecovery" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToSynchronize:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to start synchronizing.\n *\n * @returns True if this action was set successfully, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToSynchronize(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "setToSynchronize" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#setToUniversityCourse:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not this action was set successfully.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to start taking class.\n *\n * @param university - Name of the university to attend.\n *\n * @param className - Name of the class to follow.\n *\n * @returns True if this action was set successfully, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "setToUniversityCourse(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", university: " + }, + { + "kind": "Reference", + "text": "University", + "canonicalReference": "bitburner!University:type" + }, + { + "kind": "Content", + "text": ", className: " + }, + { + "kind": "Reference", + "text": "UniversityCourse", + "canonicalReference": "bitburner!UniversityCourse:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "university", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "className", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "setToUniversityCourse" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!Sleeve#travel:member(1)", + "docComment": "/**\n * If you are not in BitNode-10, then you must have Source-File 10 in order to use this function.\n *\n * Return a boolean indicating whether or not the sleeve reached destination.\n *\n * @remarks\n *\n * 4 GB\n *\n * @param sleeveNumber - Index of the sleeve to travel.\n *\n * @param cityName - Name of the destination city.\n *\n * @returns True if the sleeve reached destination, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "travel(sleeveNumber: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", cityName: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sleeveNumber", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "cityName", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "travel" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!SleeveInformation:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface SleeveInformation " + } + ], + "releaseTag": "Public", + "name": "SleeveInformation", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#city:member", + "docComment": "/**\n * location of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "city: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "city", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#earningsForPlayer:member", + "docComment": "/**\n * earnings synchronized to the player\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "earningsForPlayer: " + }, + { + "kind": "Reference", + "text": "SleeveWorkGains", + "canonicalReference": "bitburner!SleeveWorkGains:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "earningsForPlayer", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#earningsForSleeves:member", + "docComment": "/**\n * earnings synchronized to other sleeves\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "earningsForSleeves: " + }, + { + "kind": "Reference", + "text": "SleeveWorkGains", + "canonicalReference": "bitburner!SleeveWorkGains:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "earningsForSleeves", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#earningsForTask:member", + "docComment": "/**\n * earnings for this sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "earningsForTask: " + }, + { + "kind": "Reference", + "text": "SleeveWorkGains", + "canonicalReference": "bitburner!SleeveWorkGains:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "earningsForTask", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#hp:member", + "docComment": "/**\n * current hp of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#jobs:member", + "docComment": "/**\n * jobs available to the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "jobs: " + }, + { + "kind": "Content", + "text": "string[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "jobs", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#jobTitle:member", + "docComment": "/**\n * job titles available to the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "jobTitle: " + }, + { + "kind": "Reference", + "text": "CompanyField", + "canonicalReference": "bitburner!CompanyField:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "jobTitle", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#maxHp:member", + "docComment": "/**\n * max hp of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "maxHp: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "maxHp", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#mult:member", + "docComment": "/**\n * sleeve multipliers\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "mult: " + }, + { + "kind": "Reference", + "text": "CharacterMult", + "canonicalReference": "bitburner!CharacterMult:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "mult", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#timeWorked:member", + "docComment": "/**\n * time spent on the current task in milliseconds\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "timeWorked: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "timeWorked", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#tor:member", + "docComment": "/**\n * does this sleeve have access to the tor router\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "tor: " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "tor", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveInformation#workRepGain:member", + "docComment": "/**\n * faction or company reputation gained for the current task\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workRepGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workRepGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!SleeveStats:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface SleeveStats " + } + ], + "releaseTag": "Public", + "name": "SleeveStats", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#agility:member", + "docComment": "/**\n * current agility of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "agility: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "agility", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#charisma:member", + "docComment": "/**\n * current charisma of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "charisma: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "charisma", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#defense:member", + "docComment": "/**\n * current defense of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "defense: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "defense", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#dexterity:member", + "docComment": "/**\n * current dexterity of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dexterity: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "dexterity", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#hacking_skill:member", + "docComment": "/**\n * current hacking skill of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "hacking_skill: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "hacking_skill", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#shock:member", + "docComment": "/**\n * current shock of the sleeve [0-100]\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "shock:\n " + }, + { + "kind": "Content", + "text": "| 0\n | 1\n | 2\n | 3\n | 4\n | 5\n | 6\n | 7\n | 8\n | 9\n | 10\n | 11\n | 12\n | 13\n | 14\n | 15\n | 16\n | 17\n | 18\n | 19\n | 20\n | 21\n | 22\n | 23\n | 24\n | 25\n | 26\n | 27\n | 28\n | 29\n | 30\n | 31\n | 32\n | 33\n | 34\n | 35\n | 36\n | 37\n | 38\n | 39\n | 40\n | 41\n | 42\n | 43\n | 44\n | 45\n | 46\n | 47\n | 48\n | 49\n | 50\n | 51\n | 52\n | 53\n | 54\n | 55\n | 56\n | 57\n | 58\n | 59\n | 60\n | 61\n | 62\n | 63\n | 64\n | 65\n | 66\n | 67\n | 68\n | 69\n | 70\n | 71\n | 72\n | 73\n | 74\n | 75\n | 76\n | 77\n | 78\n | 79\n | 80\n | 81\n | 82\n | 83\n | 84\n | 85\n | 86\n | 87\n | 88\n | 89\n | 90\n | 91\n | 92\n | 93\n | 94\n | 95\n | 96\n | 97\n | 98\n | 99\n | 100" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "shock", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#strength:member", + "docComment": "/**\n * current strength of the sleeve\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "strength: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "strength", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveStats#sync:member", + "docComment": "/**\n * current sync of the sleeve [0-100]\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "sync:\n " + }, + { + "kind": "Content", + "text": "| 0\n | 1\n | 2\n | 3\n | 4\n | 5\n | 6\n | 7\n | 8\n | 9\n | 10\n | 11\n | 12\n | 13\n | 14\n | 15\n | 16\n | 17\n | 18\n | 19\n | 20\n | 21\n | 22\n | 23\n | 24\n | 25\n | 26\n | 27\n | 28\n | 29\n | 30\n | 31\n | 32\n | 33\n | 34\n | 35\n | 36\n | 37\n | 38\n | 39\n | 40\n | 41\n | 42\n | 43\n | 44\n | 45\n | 46\n | 47\n | 48\n | 49\n | 50\n | 51\n | 52\n | 53\n | 54\n | 55\n | 56\n | 57\n | 58\n | 59\n | 60\n | 61\n | 62\n | 63\n | 64\n | 65\n | 66\n | 67\n | 68\n | 69\n | 70\n | 71\n | 72\n | 73\n | 74\n | 75\n | 76\n | 77\n | 78\n | 79\n | 80\n | 81\n | 82\n | 83\n | 84\n | 85\n | 86\n | 87\n | 88\n | 89\n | 90\n | 91\n | 92\n | 93\n | 94\n | 95\n | 96\n | 97\n | 98\n | 99\n | 100" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "sync", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!SleeveTask:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface SleeveTask " + } + ], + "releaseTag": "Public", + "name": "SleeveTask", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveTask#crime:member", + "docComment": "/**\n * crime currently attempting, if any\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "crime: " + }, + { + "kind": "Reference", + "text": "Crime", + "canonicalReference": "bitburner!Crime:type" + }, + { + "kind": "Content", + "text": " | \"\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "crime", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveTask#factionWorkType:member", + "docComment": "/**\n * faction work type being performed, if any\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "factionWorkType: " + }, + { + "kind": "Reference", + "text": "FactionWork", + "canonicalReference": "bitburner!FactionWork:type" + }, + { + "kind": "Content", + "text": " | \"\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "factionWorkType", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveTask#gymStatType:member", + "docComment": "/**\n * stat being trained at the gym, if any\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "gymStatType: " + }, + { + "kind": "Reference", + "text": "GymStat", + "canonicalReference": "bitburner!GymStat:type" + }, + { + "kind": "Content", + "text": " | \"\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "gymStatType", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveTask#location:member", + "docComment": "/**\n * location of the task, if any\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "location: " + }, + { + "kind": "Reference", + "text": "City", + "canonicalReference": "bitburner!City:type" + }, + { + "kind": "Content", + "text": " | \"\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "location", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveTask#task:member", + "docComment": "/**\n * task type\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "task: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "task", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!SleeveWorkGains:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface SleeveWorkGains " + } + ], + "releaseTag": "Public", + "name": "SleeveWorkGains", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workAgiExpGain:member", + "docComment": "/**\n * agility exp gained from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workAgiExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workAgiExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workChaExpGain:member", + "docComment": "/**\n * charisma exp gained from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workChaExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workChaExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workDefExpGain:member", + "docComment": "/**\n * defense exp gained from work,\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workDefExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workDefExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workDexExpGain:member", + "docComment": "/**\n * dexterity exp gained from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workDexExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workDexExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workHackExpGain:member", + "docComment": "/**\n * hacking exp gained from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workHackExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workHackExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workMoneyGain:member", + "docComment": "/**\n * money gained from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workMoneyGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workMoneyGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SleeveWorkGains#workStrExpGain:member", + "docComment": "/**\n * strength exp gained from work\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "workStrExpGain: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "workStrExpGain", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!SourceFileLvl:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface SourceFileLvl " + } + ], + "releaseTag": "Public", + "name": "SourceFileLvl", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SourceFileLvl#lvl:member", + "docComment": "/**\n * The level of the source file\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "lvl: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "lvl", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!SourceFileLvl#n:member", + "docComment": "/**\n * The number of the source file\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "n: " + }, + { + "kind": "Content", + "text": "1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "n", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!StockOrder:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type StockOrder = " + }, + { + "kind": "Content", + "text": "{\n /** Stock Symbol */\n [key in " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "]?: " + }, + { + "kind": "Reference", + "text": "StockOrderObject", + "canonicalReference": "bitburner!StockOrderObject:interface" + }, + { + "kind": "Content", + "text": "[];\n}" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "StockOrder", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 6 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!StockOrderObject:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface StockOrderObject " + } + ], + "releaseTag": "Public", + "name": "StockOrderObject", + "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!StockOrderObject#position:member", + "docComment": "/**\n * Order position\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "position: " + }, + { + "kind": "Content", + "text": "\"S\" | \"L\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "position", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!StockOrderObject#price:member", + "docComment": "/**\n * Price per share\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "price: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "price", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!StockOrderObject#shares:member", + "docComment": "/**\n * Number of shares\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "shares", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "bitburner!StockOrderObject#type:member", + "docComment": "/**\n * Order type\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type: " + }, + { + "kind": "Content", + "text": "\"Limit Buy Order\" | \"Limit Sell Order\" | \"Stop Buy Order\" | \"Stop Buy Order\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "releaseTag": "Public", + "name": "type", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!StockSymbol:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type StockSymbol =\n " + }, + { + "kind": "Content", + "text": "| \"ECP\"\n | \"MGCP\"\n | \"BLD\"\n | \"CLRK\"\n | \"OMTK\"\n | \"FSIG\"\n | \"KGI\"\n | \"FLCM\"\n | \"STM\"\n | \"DCOMM\"\n | \"HLS\"\n | \"VITA\"\n | \"ICRS\"\n | \"UNV\"\n | \"AERO\"\n | \"OMN\"\n | \"SLRS\"\n | \"GPH\"\n | \"NVMD\"\n | \"WDS\"\n | \"LXO\"\n | \"RHOC\"\n | \"APHE\"\n | \"SYSC\"\n | \"CTK\"\n | \"NTLK\"\n | \"OMGA\"\n | \"FNS\"\n | \"SGC\"\n | \"JGN\"\n | \"CTYS\"\n | \"MDYN\"\n | \"TITN\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "StockSymbol", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "Interface", + "canonicalReference": "bitburner!TIX:interface", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "interface TIX " + } + ], + "releaseTag": "Public", + "name": "TIX", + "members": [ + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#buy:member(1)", + "docComment": "/**\n * Attempts to purchase shares of a stock using a Market Order.\n *\n * If the player does not have enough money to purchase the specified number of shares, then no shares will be purchased. Remember that every transaction on the stock exchange costs a certain commission fee.\n *\n * If this function successfully purchases the shares, it will return the stock price at which each share was purchased. Otherwise, it will return 0.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to purchased. Must be positive. Will be rounded to nearest integer.\n *\n * @returns The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "buy(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "buy" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#cancelOrder:member(1)", + "docComment": "/**\n * Cancels an oustanding Limit or Stop order on the stock market.\n *\n * The ability to use limit and stop orders is **not** immediately available to the player and must be unlocked later on in the game.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares for order. Must be positive. Will be rounded to nearest integer.\n *\n * @param price - Execution price for the order.\n *\n * @param type - Type of order.\n *\n * @param pos - Specifies whether the order is a “Long” or “Short” position.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "cancelOrder(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", price: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", type: " + }, + { + "kind": "Reference", + "text": "OrderType", + "canonicalReference": "bitburner!OrderType:type" + }, + { + "kind": "Content", + "text": ", pos: " + }, + { + "kind": "Reference", + "text": "OrderPos", + "canonicalReference": "bitburner!OrderPos:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "price", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + }, + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + } + }, + { + "parameterName": "pos", + "parameterTypeTokenRange": { + "startIndex": 9, + "endIndex": 10 + } + } + ], + "name": "cancelOrder" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getAskPrice:member(1)", + "docComment": "/**\n * Given a stock’s symbol (NOT the company name), returns the ask price of that stock. The symbol is a sequence of two to four capital letters.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns The ask price of a stock.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getAskPrice(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getAskPrice" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getBidPrice:member(1)", + "docComment": "/**\n * Given a stock’s symbol (NOT the company name), returns the bid price of that stock. The symbol is a sequence of two to four capital letters.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns The bid price of a stock.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getBidPrice(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getBidPrice" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getForecast:member(1)", + "docComment": "/**\n * Returns the probability that the specified stock’s price will increase (as opposed to decrease) during the next tick.\n *\n * The probability is returned as a decimal value, NOT a percentage (e.g. if a stock has a 60% chance of increasing, then this function will return 0.6, NOT 60).\n *\n * In other words, if this function returned 0.30 for a stock, then this means that the stock’s price has a 30% chance of increasing and a 70% chance of decreasing during the next tick.\n *\n * In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns Probability that the specified stock’s price will increase (as opposed to decrease) during the next tick.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getForecast(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getForecast" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getMaxShares:member(1)", + "docComment": "/**\n * Returns the maximum number of shares that the stock has. This is the maximum amount of the stock that can be purchased in both the Long and Short positions combined.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns Maximum number of shares that the stock has.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getMaxShares(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getMaxShares" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getOrders:member(1)", + "docComment": "/**\n * Returns your order book for the stock market.\n *\n * This is an object containing information for all the Limit and Stop Orders you have in the stock market. The object has the following structure:\n * ```js\n * {\n * StockSymbol1: [ // Array of orders for this stock\n * {\n * shares: Order quantity\n * price: Order price\n * type: Order type\n * position: Either \"L\" or \"S\" for Long or Short position\n * },\n * {\n * ...\n * },\n * ...\n * ],\n * StockSymbol2: [ // Array of orders for this stock\n * ...\n * ],\n * ...\n * }\n * ```\n *\n * The “Order type” property can have one of the following four values: * “Limit Buy Order” * “Limit Sell Order” * “Stop Buy Order” * “Stop Sell Order” Note that the order book will only contain information for stocks that you actually have orders in.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @returns Object containing information for all the Limit and Stop Orders you have in the stock market.\n *\n * @example\n * ```js\n * \"If you do not have orders in Nova Medical (NVMD), then the returned object will not have a “NVMD” property.\"\n * {\n * ECP: [\n * {\n * shares: 5,\n * price: 100,000\n * type: \"Stop Buy Order\",\n * position: \"S\",\n * },\n * {\n * shares: 25,\n * price: 125,000\n * type: \"Limit Sell Order\",\n * position: \"L\",\n * },\n * ],\n * SYSC: [\n * {\n * shares: 100,\n * price: 10,000\n * type: \"Limit Buy Order\",\n * position: \"L\",\n * },\n * ],\n * }\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getOrders(): " + }, + { + "kind": "Reference", + "text": "StockOrder", + "canonicalReference": "bitburner!StockOrder:type" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getOrders" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getPosition:member(1)", + "docComment": "/**\n * Returns an array of four elements that represents the player’s position in a stock.\n *\n * The first element is the returned array is the number of shares the player owns of the stock in the Long position. The second element in the array is the average price of the player’s shares in the Long position.\n *\n * The third element in the array is the number of shares the player owns of the stock in the Short position. The fourth element in the array is the average price of the player’s Short position.\n *\n * All elements in the returned array are numeric.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns Array of four elements that represents the player’s position in a stock.\n *\n * @example\n * ```js\n * pos = getPosition(\"ECP\");\n * shares = pos[0];\n * avgPx = pos[1];\n * sharesShort = pos[2];\n * avgPxShort = pos[3];\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPosition(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "[number, number, number, number]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getPosition" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getPrice:member(1)", + "docComment": "/**\n * Returns the price of a stock, given its symbol (NOT the company name). The symbol is a sequence of two to four capital letters.\n *\n * The stock’s price is the average of its bid and ask price\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns The price of a stock.\n *\n * @example\n * ```js\n * getPrice(\"FISG\");\n * ```\n *\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPrice(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getPrice" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getPurchaseCost:member(1)", + "docComment": "/**\n * Calculates and returns how much it would cost to buy a given number of shares of a stock. This takes into account spread, large transactions influencing the price of the stock and commission fees.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to purchase.\n *\n * @param posType - Specifies whether the order is a “Long” or “Short” position.\n *\n * @returns Cost to buy a given number of shares of a stock.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getPurchaseCost(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", posType: " + }, + { + "kind": "Reference", + "text": "OrderPos", + "canonicalReference": "bitburner!OrderPos:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "posType", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getPurchaseCost" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getSaleGain:member(1)", + "docComment": "/**\n * Calculates and returns how much you would gain from selling a given number of shares of a stock. This takes into account spread, large transactions influencing the price of the stock and commission fees.\n *\n * @remarks\n *\n * 2 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to sell.\n *\n * @param posType - Specifies whether the order is a “Long” or “Short” position.\n *\n * @returns Gain from selling a given number of shares of a stock.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSaleGain(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", posType: " + }, + { + "kind": "Reference", + "text": "OrderPos", + "canonicalReference": "bitburner!OrderPos:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "posType", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + } + ], + "name": "getSaleGain" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getSymbols:member(1)", + "docComment": "/**\n * Returns an array of the symbols of the tradable stocks\n *\n * @remarks\n *\n * 2 GB\n *\n * @returns Array of the symbols of the tradable stocks.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getSymbols(): " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "[]" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 3 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "getSymbols" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#getVolatility:member(1)", + "docComment": "/**\n * Returns the volatility of the specified stock.\n *\n * Volatility represents the maximum percentage by which a stock’s price can change every tick. The volatility is returned as a decimal value, NOT a percentage (e.g. if a stock has a volatility of 3%, then this function will return 0.03, NOT 3).\n *\n * In order to use this function, you must first purchase access to the Four Sigma (4S) Market Data TIX API.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @returns Volatility of the specified stock.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "getVolatility(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ], + "name": "getVolatility" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#placeOrder:member(1)", + "docComment": "/**\n * Places an order on the stock market. This function only works for Limit and Stop Orders.\n *\n * The ability to place limit and stop orders is **not** immediately available to the player and must be unlocked later on in the game.\n *\n * Returns true if the order is successfully placed, and false otherwise.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares for order. Must be positive. Will be rounded to nearest integer.\n *\n * @param price - Execution price for the order.\n *\n * @param type - Type of order.\n *\n * @param pos - Specifies whether the order is a “Long” or “Short” position.\n *\n * @returns True if the order is successfully placed, and false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "placeOrder(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", price: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ", type: " + }, + { + "kind": "Reference", + "text": "OrderType", + "canonicalReference": "bitburner!OrderType:type" + }, + { + "kind": "Content", + "text": ", pos: " + }, + { + "kind": "Reference", + "text": "OrderPos", + "canonicalReference": "bitburner!OrderPos:type" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 11, + "endIndex": 12 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + }, + { + "parameterName": "price", + "parameterTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + } + }, + { + "parameterName": "type", + "parameterTypeTokenRange": { + "startIndex": 7, + "endIndex": 8 + } + }, + { + "parameterName": "pos", + "parameterTypeTokenRange": { + "startIndex": 9, + "endIndex": 10 + } + } + ], + "name": "placeOrder" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#purchase4SMarketData:member(1)", + "docComment": "/**\n * Purchase 4S Market Data Access.\n *\n * Returns true if you successfully purchased it or if you already have access. Returns false otherwise.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @returns True if you successfully purchased it or if you already have access, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchase4SMarketData(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "purchase4SMarketData" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#purchase4SMarketDataTixApi:member(1)", + "docComment": "/**\n * Purchase 4S Market Data TIX API Access.\n *\n * Returns true if you successfully purchased it or if you already have access. Returns false otherwise.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @returns True if you successfully purchased it or if you already have access, false otherwise.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "purchase4SMarketDataTixApi(): " + }, + { + "kind": "Content", + "text": "boolean" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [], + "name": "purchase4SMarketDataTixApi" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#sell:member(1)", + "docComment": "/**\n * Attempts to sell shares of a stock using a Market Order.\n *\n * If the specified number of shares in the function exceeds the amount that the player actually owns, then this function will sell all owned shares. Remember that every transaction on the stock exchange costs a certain commission fee.\n *\n * The net profit made from selling stocks with this function is reflected in the script’s statistics. This net profit is calculated as:\n *\n * shares * (sell_price - average_price_of_purchased_shares)\n *\n * If the sale is successful, this function will return the stock price at which each share was sold. Otherwise, it will return 0.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to sell. Must be positive. Will be rounded to nearest integer.\n *\n * @returns The stock price at which each share was sold, otherwise 0 if the shares weren't sold.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "sell(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "sell" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#sellShort:member(1)", + "docComment": "/**\n * Attempts to sell a short position of a stock using a Market Order.\n *\n * The ability to short a stock is **not** immediately available to the player and must be unlocked later on in the game.\n *\n * If the specified number of shares exceeds the amount that the player actually owns, then this function will sell all owned shares. Remember that every transaction on the stock exchange costs a certain commission fee.\n *\n * If the sale is successful, this function will return the stock price at which each share was sold. Otherwise it will return 0.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to sell. Must be positive. Will be rounded to nearest integer.\n *\n * @returns The stock price at which each share was sold, otherwise 0 if the shares weren't sold.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "sellShort(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "sellShort" + }, + { + "kind": "MethodSignature", + "canonicalReference": "bitburner!TIX#short:member(1)", + "docComment": "/**\n * Attempts to purchase a short position of a stock using a Market Order.\n *\n * The ability to short a stock is **not** immediately available to the player and must be unlocked later on in the game.\n *\n * If the player does not have enough money to purchase the specified number of shares, then no shares will be purchased. Remember that every transaction on the stock exchange costs a certain commission fee.\n *\n * If the purchase is successful, this function will return the stock price at which each share was purchased. Otherwise, it will return 0.\n *\n * @remarks\n *\n * 2.5 GB\n *\n * @param sym - Stock symbol.\n *\n * @param shares - Number of shares to short. Must be positive. Will be rounded to nearest integer.\n *\n * @returns The stock price at which each share was purchased, otherwise 0 if the shares weren't purchased.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "short(sym: " + }, + { + "kind": "Reference", + "text": "StockSymbol", + "canonicalReference": "bitburner!StockSymbol:type" + }, + { + "kind": "Content", + "text": ", shares: " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": "): " + }, + { + "kind": "Content", + "text": "number" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isOptional": false, + "returnTypeTokenRange": { + "startIndex": 5, + "endIndex": 6 + }, + "releaseTag": "Public", + "overloadIndex": 1, + "parameters": [ + { + "parameterName": "sym", + "parameterTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "parameterName": "shares", + "parameterTypeTokenRange": { + "startIndex": 3, + "endIndex": 4 + } + } + ], + "name": "short" + } + ], + "extendsTokenRanges": [] + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!University:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type University = " + }, + { + "kind": "Content", + "text": "\"Summit University\" | \"Rothman University\" | \"ZB Institute Of Technology\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "University", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "TypeAlias", + "canonicalReference": "bitburner!UniversityCourse:type", + "docComment": "/**\n * @public\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "type UniversityCourse =\n " + }, + { + "kind": "Content", + "text": "| \"Study Computer Science\"\n | \"Data Strucures\"\n | \"Networks\"\n | \"Algorithms\"\n | \"Management\"\n | \"Leadership\"" + }, + { + "kind": "Content", + "text": ";" + } + ], + "releaseTag": "Public", + "name": "UniversityCourse", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + } + ] + } + ] +} diff --git a/temp/bitburner.api.md b/temp/bitburner.api.md new file mode 100644 index 000000000..56a448d03 --- /dev/null +++ b/temp/bitburner.api.md @@ -0,0 +1,1590 @@ +## API Report File for "bitburner" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +// @public (undocumented) +export interface AugmentationStats { + agility_exp_mult?: number; + agility_mult?: number; + bladeburner_analysis_mult?: number; + bladeburner_max_stamina_mult?: number; + bladeburner_stamina_gain_mult?: number; + bladeburner_success_chance_mult?: number; + charisma_exp_mult?: number; + charisma_mult?: number; + company_rep_mult?: number; + crime_money_mult?: number; + crime_success_mult?: number; + defense_exp_mult?: number; + defense_mult?: number; + dexterity_exp_mult?: number; + dexterity_mult?: number; + faction_rep_mult?: number; + hacking_chance_mult?: number; + hacking_exp_mult?: number; + hacking_grow_mult?: number; + hacking_money_mult?: number; + hacking_mult?: number; + hacking_speed_mult?: number; + hacknet_node_core_cost_mult?: number; + hacknet_node_level_cost_mult?: number; + hacknet_node_money_mult?: number; + hacknet_node_purchase_cost_mult?: number; + hacknet_node_ram_cost_mult?: number; + strength_exp_mult?: number; + strength_mult?: number; + work_money_mult?: number; +} + +// @public (undocumented) +export type AugmentName = +| "Augmented Targeting I" +| "Augmented Targeting II" +| "Augmented Targeting III" +| "Synthetic Heart" +| "Synfibril Muscle" +| "Combat Rib I" +| "Combat Rib II" +| "Combat Rib III" +| "Nanofiber Weave" +| "NEMEAN Subdermal Weave" +| "Wired Reflexes" +| "Graphene Bone Lacings" +| "Bionic Spine" +| "Graphene Bionic Spine Upgrade" +| "Bionic Legs" +| "Graphene Bionic Legs Upgrade" +| "Speech Processor Implant" +| "TITN-41 Gene-Modification Injection" +| "Enhanced Social Interaction Implant" +| "BitWire" +| "Artificial Bio-neural Network Implant" +| "Artificial Synaptic Potentiation" +| "Enhanced Myelin Sheathing" +| "Synaptic Enhancement Implant" +| "Neural-Retention Enhancement" +| "DataJack" +| "Embedded Netburner Module" +| "Embedded Netburner Module Core Implant" +| "Embedded Netburner Module Core V2 Upgrade" +| "Embedded Netburner Module Core V3 Upgrade" +| "Embedded Netburner Module Analyze Engine" +| "Embedded Netburner Module Direct Memory Access Upgrade" +| "Neuralstimulator" +| "Neural Accelerator" +| "Cranial Signal Processors - Gen I" +| "Cranial Signal Processors - Gen II" +| "Cranial Signal Processors - Gen III" +| "Cranial Signal Processors - Gen IV" +| "Cranial Signal Processors - Gen V" +| "Neuronal Densification" +| "Nuoptimal Nootropic Injector Implant" +| "Speech Enhancement" +| "FocusWire" +| "PC Direct-Neural Interface" +| "PC Direct-Neural Interface Optimization Submodule" +| "PC Direct-Neural Interface NeuroNet Injector" +| "ADR-V1 Pheromone Gene" +| "ADR-V2 Pheromone Gene" +| "The Shadow's Simulacrum" +| "Hacknet Node CPU Architecture Neural-Upload" +| "Hacknet Node Cache Architecture Neural-Upload" +| "Hacknet Node NIC Architecture Neural-Upload" +| "Hacknet Node Kernel Direct-Neural Interface" +| "Hacknet Node Core Direct-Neural Interface" +| "NeuroFlux Governor" +| "Neurotrainer I" +| "Neurotrainer II" +| "Neurotrainer III" +| "HyperSight Corneal Implant" +| "LuminCloaking-V1 Skin Implant" +| "LuminCloaking-V2 Skin Implant" +| "HemoRecirculator" +| "SmartSonar Implant" +| "Power Recirculation Core" +| "QLink" +| "The Red Pill" +| "SPTN-97 Gene Modification" +| "ECorp HVMind Implant" +| "CordiARC Fusion Reactor" +| "SmartJaw" +| "Neotra" +| "Xanipher" +| "nextSENS Gene Modification" +| "OmniTek InfoLoad" +| "Photosynthetic Cells" +| "BitRunners Neurolink" +| "The Black Hand" +| "CRTX42-AA Gene Modification" +| "Neuregen Gene Modification" +| "CashRoot Starter Kit" +| "NutriGen Implant" +| "INFRARET Enhancement" +| "DermaForce Particle Barrier" +| "Graphene BranchiBlades Upgrade" +| "Graphene Bionic Arms Upgrade" +| "BrachiBlades" +| "Bionic Arms" +| "Social Negotiation Assistant (S.N.A)" +| "EsperTech Bladeburner Eyewear" +| "EMS-4 Recombination" +| "ORION-MKIV Shoulder" +| "Hyperion Plasma Cannon V1" +| "Hyperion Plasma Cannon V2" +| "GOLEM Serum" +| "Vangelis Virus" +| "Vangelis Virus 3.0" +| "I.N.T.E.R.L.I.N.K.E.D" +| "Blade's Runners" +| "BLADE-51b Tesla Armor" +| "BLADE-51b Tesla Armor: Power Cells Upgrade" +| "BLADE-51b Tesla Armor: Energy Shielding Upgrade" +| "BLADE-51b Tesla Armor: Unibeam Upgrade" +| "BLADE-51b Tesla Armor: Omnibeam Upgrade" +| "BLADE-51b Tesla Armor: IPU Upgrade" +| "The Blade's Simulacrum"; + +// @public (undocumented) +export interface AugmentPair { + cost: number; + name: AugmentName; +} + +// @public (undocumented) +export interface BasicHGWOptions { + threads: number; +} + +// @public (undocumented) +export interface BitNodeMultipliers { + AgilityLevelMultiplier: number; + AugmentationMoneyCost: number; + AugmentationRepCost: number; + BladeburnerRank: number; + BladeburnerSkillCost: number; + CharismaLevelMultiplier: number; + ClassGymExpGain: number; + CodingContractMoney: number; + CompanyWorkExpGain: number; + CompanyWorkMoney: number; + CorporationValuation: number; + CrimeExpGain: number; + CrimeMoney: number; + DaedalusAugsRequirement: number; + DefenseLevelMultiplier: number; + DexterityLevelMultiplier: number; + FactionPassiveRepGain: number; + FactionWorkExpGain: number; + FactionWorkRepGain: number; + FourSigmaMarketDataApiCost: number; + FourSigmaMarketDataCost: number; + HackExpGain: number; + HackingLevelMultiplier: number; + HacknetNodeMoney: number; + HomeComputerRamCost: number; + InfiltrationMoney: number; + InfiltrationRep: number; + ManualHackMoney: number; + PurchasedServerCost: number; + PurchasedServerLimit: number; + PurchasedServerMaxRam: number; + RepToDonateToFaction: number; + ScriptHackMoney: number; + ServerGrowthRate: number; + ServerMaxMoney: number; + ServerStartingMoney: number; + ServerStartingSecurity: number; + ServerWeakenRate: number; + StrengthLevelMultiplier: number; +} + +// @public (undocumented) +export interface Bladeburner { + getActionAutolevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): boolean; + + getActionCountRemaining( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; + + getActionCurrentLevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; + + getActionEstimatedSuccessChance( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; + + getActionMaxLevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; + + getActionRepGain( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + level: number, + ): number; + + getActionTime( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; + + getBlackOpNames(): BladeburnerBlackOps[]; + + getBlackOpRank(name: BladeburnerBlackOps): number; + + getBonusTime(): number; + + getCity(): City; + + getCityChaos(name: City): number; + + getCityCommunities(name: City): number; + + getCityEstimatedPopulation(name: City): number; + + getContractNames(): BladeburnerContracts[]; + + getCurrentAction(): BladeburnerCurAction; + + getGeneralActionNames(): BladeburnerGenActions[]; + + getOperationNames(): BladeburnerOperations[]; + + getRank(): number; + + getSkillLevel(name: BladeburnerSkills): number; + + getSkillNames(): BladeburnerSkills[]; + + getSkillPoints(): number; + + getSkillUpgradeCost(name: BladeburnerSkills): number; + + getStamina(): [number, number]; + + getTeamSize( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): number; + + joinBladeburnerDivision(): boolean; + + joinBladeburnerFaction(): boolean; + + setActionAutolevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + autoLevel: boolean, + ): void; + + setActionLevel( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + level: number, + ): void; + + setTeamSize( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + size: number, + ): number; + + startAction( + type: BladeburnerActTypes, + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps, + ): boolean; + + stopBladeburnerAction(): void; + + switchCity(name: City): boolean; + + upgradeSkill(name: BladeburnerSkills): boolean; +} + +// @public (undocumented) +export type BladeburnerActTypes = "contracts" | "operations" | "black ops" | "general"; + +// @public (undocumented) +export type BladeburnerBlackOps = +| "Operation Typhoon" +| "Operation Zero" +| "Operation X" +| "Operation Titan" +| "Operation Ares" +| "Operation Archangel" +| "Operation Juggernaut" +| "Operation Red Dragon" +| "Operation K" +| "Operation Deckard" +| "Operation Tyrell" +| "Operation Wallace" +| "Operation Shoulder of Orion" +| "Operation Hyron" +| "Operation Morpheus" +| "Operation Ion Storm" +| "Operation Annihilus" +| "Operation Ultron" +| "Operation Centurion" +| "Operation Vindictus" +| "Operation Daedalus"; + +// @public (undocumented) +export type BladeburnerContracts = "Tracking" | "Bounty Hunter" | "Retirement"; + +// @public (undocumented) +export interface BladeburnerCurAction { + name: BladeburnerGenActions | BladeburnerContracts | BladeburnerOperations | BladeburnerBlackOps; + type: BladeburnerActTypes | "Idle"; +} + +// @public (undocumented) +export type BladeburnerGenActions = +| "Training" +| "Field Analysis" +| "Recruitment" +| "Diplomacy" +| "Hyperbolic Regeneration Chamber"; + +// @public (undocumented) +export type BladeburnerOperations = +| "Investigation" +| "Undercover Operation" +| "Sting Operation" +| "Raid" +| "Stealth Retirement Operation" +| "Assassination"; + +// @public (undocumented) +export type BladeburnerSkills = +| "Blade's Intuition" +| "Cloak" +| "Marksman" +| "Weapon Proficiency" +| "Short-Circuit" +| "Digital Observer" +| "Tracer" +| "Overclock" +| "Reaper" +| "Evasive System" +| "Datamancer" +| "Cyber's Edge" +| "Hands of Midas" +| "Hyperdrive"; + +// @public (undocumented) +export interface CharacterInfo { + bitnode: number; + city: City; + company: CompanyName[]; + factions: FactionName[]; + hp: number; + jobTitle: CompanyField[]; + maxHp: number; + mult: CharacterMult; + timeWorked: number; + tor: boolean; + workAgiExpGain: number; + workChaExpGain: number; + workDefExpGain: number; + workDexExpGain: number; + workHackExpGain: number; + workMoneyGain: number; + workRepGain: number; + workStrExpGain: number; +} + +// @public (undocumented) +export interface CharacterMult { + agility: number; + agilityExp: number; + companyRep: number; + crimeMoney: number; + crimeSuccess: number; + defense: number; + defenseExp: number; + dexterity: number; + dexterityExp: number; + factionRep: number; + hacking: number; + hackingExp: number; + strength: number; + strengthExp: number; + workMoney: number; +} + +// @public (undocumented) +export type City = "Aevum" | "Chongqing" | "Sector-12" | "New Tokyo" | "Ishima" | "Volhaven"; + +// @public (undocumented) +export interface CodingAttemptOptions { + returnReward: boolean; +} + +// @public (undocumented) +export interface CodingContract { + attempt(answer: string | string[] | number, fn: string, host?: Host): boolean; + + attempt(answer: string | string[] | number, fn: string, host?: Host, opts?: CodingAttemptOptions): boolean | string; + + getContractType(fn: string, host?: Host): CodingContractTypes; + + getData(fn: string, host?: Host): string; + + getDescription(fn: string, host?: Host): string; + + getNumTriesRemaining(fn: string, host?: Host): number; +} + +// @public (undocumented) +export type CodingContractTypes = +| "Find Largest Prime Factor" +| "Subarray with Maximum Sum" +| "Total Ways to Sum" +| "Spiralize Matrix" +| "Array Jumping Game" +| "Merge Overlapping Intervals" +| "Generate IP Addresses" +| "Algorithmic Stock Trader I" +| "Algorithmic Stock Trader II" +| "Algorithmic Stock Trader III" +| "Algorithmic Stock Trader IV" +| "Minimum Path Sum in a Triangle" +| "Unique Paths in a Grid I" +| "Unique Paths in a Grid II" +| "Sanitize Parentheses in Expression" +| "Find All Valid Math Expressions"; + +// @public (undocumented) +export type CompanyField = +| "software" +| "software consultant" +| "it" +| "security engineer" +| "network engineer" +| "business" +| "business consultant" +| "security" +| "agent" +| "employee" +| "part-time employee" +| "waiter" +| "part-time waiter"; + +// @public (undocumented) +export type CompanyName = +// Sector-12 +| "MegaCorp" +| "BladeIndustries" +| "FourSigma" +| "IcarusMicrosystems" +| "UniversalEnergy" +| "DeltaOne" +| "CIA" +| "NSA" +| "AlphaEnterprises" +| "CarmichaelSecurity" +| "FoodNStuff" +| "JoesGuns" + +// Aevum +| "ECorp" +| "BachmanAndAssociates" +| "ClarkeIncorporated" +| "OmniTekIncorporated" +| "FulcrumTechnologies" +| "GalacticCybersystems" +| "AeroCorp" +| "WatchdogSecurity" +| "RhoConstruction" +| "AevumPolice" +| "NetLinkTechnologies" + +// Volhaven +| "NWO" +| "HeliosLabs" +| "OmniaCybersystems" +| "LexoCorp" +| "SysCoreSecurities" +| "CompuTek" + +// Chongqing +| "KuaiGongInternational" +| "SolarisSpaceSystems" + +// Ishima +| "StormTechnologies" +| "NovaMedical" +| "OmegaSoftware" + +// New Tokyo +| "DefComm" +| "VitaLife" +| "GlobalPharmaceuticals" +| "NoodleBar"; + +// @public (undocumented) +export type CreatableProgram = PurchaseableProgram | "serverprofiler.exe"; + +// @public (undocumented) +export type Crime = +| "shoplift" +| "rob store" +| "mug" +| "larceny" +| "deal drugs" +| "bond forgery" +| "traffick arms" +| "homicide" +| "grand theft auto" +| "kidnap" +| "assassinate" +| "heist"; + +// @public (undocumented) +export interface CrimeStats { + agility_exp: number; + agility_success_weight: number; + charisma_exp: number; + charisma_success_weight: number; + defense_exp: number; + defense_success_weight: number; + dexterity_exp: number; + dexterity_success_weight: number; + difficulty: number; + hacking_exp: number; + hacking_success_weight: number; + intelligence_exp: number; + karma: number; + kills: number; + money: number; + name: number; + strength_exp: number; + strength_success_weight: number; + time: number; + type: string; +} + +// @public (undocumented) +export type FactionName = +| "Illuminati" +| "Daedalus" +| "The Covenant" +| "ECorp" +| "MegaCorp" +| "Bachman & Associates" +| "Blade Industries" +| "NWO" +| "Clarke Incorporated" +| "OmniTek Incorporated" +| "Four Sigma" +| "KuaiGong International" +| "Fulcrum Secret Technologies" +| "BitRunners" +| "The Black Hand" +| "NiteSec" +| "Aevum" +| "Chongqing" +| "Ishima" +| "New Tokyo" +| "Sector-12" +| "Volhaven" +| "Speakers for the Dead" +| "The Dark Army" +| "The Syndicate" +| "Silhouette" +| "Tetrads" +| "Slum Snakes" +| "Netburners" +| "Tian Di Hui" +| "CyberSec" +| "Bladeburners"; + +// @public (undocumented) +export type FactionWork = "hacking" | "field" | "security"; + +// @public (undocumented) +export interface Gang { + ascendMember(memberName: string): GangMemberAscension; + + canRecruitMember(): boolean; + + getBonusTime(): number; + + getChanceToWinClash(gangName: GangName): number; + + getEquipmentCost(equipName: GangEquipment | GangAugmentations): number; + + getEquipmentNames(): (GangEquipment | GangAugmentations)[]; + + getEquipmentStats(equipName: GangEquipment | GangAugmentations): GangEquipmentStats; + + getEquipmentType(equipName: GangEquipment | GangAugmentations): GangEquipmentType; + + getGangInformation(): GangGenInfo; + + getMemberInformation(name: string): GangMemberInfo; + + getMemberNames(): string[]; + + getOtherGangInformation(): GangOtherInfo; + + getTaskNames(): GangTasks[]; + + getTaskStats(name: GangTasks): GangTasksStats; + + purchaseEquipment(memberName: string, equipName: GangEquipment | GangAugmentations): boolean; + + recruitMember(name: string): boolean; + + setMemberTask(memberName: string, taskName: GangTasks): boolean; + + setTerritoryWarfare(engage: boolean): void; +} + +// @public (undocumented) +export type GangAugmentations = +| "Bionic Arms" +| "Bionic Legs" +| "Bionic Spine" +| "BrachiBlades" +| "Nanofiber Weave" +| "Synthetic Heart" +| "Synfibril Muscle" +| "BitWire" +| "Neuralstimulator" +| "DataJack" +| "Graphene Bone Lacings"; + +// @public (undocumented) +export type GangEquipment = +| "Baseball Bat" +| "Katana" +| "Glock 18C" +| "P90C" +| "Steyr AUG" +| "AK-47" +| "M15A10 Assault Rifle" +| "AWM Sniper Rifle" +| "Bulletproof Vest" +| "Full Body Armor" +| "Liquid Body Armor" +| "Graphene Plating Armor" +| "Ford Flex V20" +| "ATX1070 Superbike" +| "Mercedes-Benz S9001" +| "White Ferrari" +| "NUKE Rootkit" +| "Soulstealer Rootkit" +| "Demon Rootkit" +| "Hmap Node" +| "Jack the Ripper"; + +// @public (undocumented) +export interface GangEquipmentStats { + agi: number; + cha: number; + def: number; + dex: number; + hack: number; + str: number; +} + +// @public (undocumented) +export type GangEquipmentType = "Weapon" | "Armor" | "Vehicle" | "Rootkit" | "Augmentation"; + +// @public (undocumented) +export interface GangGenInfo { + faction: GangName; + isHacking: boolean; + moneyGainRate: number; + power: number; + respect: number; + respectGainRate: number; + territory: number; + territoryClashChance: number; + wantedLevel: number; + wantedLevelGainRate: number; +} + +// @public (undocumented) +export interface GangMemberAscension { + agi: number; + cha: number; + def: number; + dex: number; + hack: number; + respect: number; + str: number; +} + +// @public (undocumented) +export interface GangMemberInfo { + agility: number; + agilityAscensionMult: number; + agilityEquipMult: number; + augmentations: GangAugmentations[]; + charisma: number; + charismaAscensionMult: number; + charismaEquipMult: number; + defense: number; + defenseAscensionMult: number; + defenseEquipMult: number; + dexterity: number; + dexterityAscensionMult: number; + dexterityEquipMult: number; + equipment: GangEquipment[]; + hacking: number; + hackingAscensionMult: number; + hackingEquipMult: number; + strength: number; + strengthAscensionMult: number; + strengthEquipMult: number; + task: GangTasks; +} + +// @public (undocumented) +export type GangName = +| "Slum Snakes" +| "Tetrads" +| "The Syndicate" +| "The Dark Army" +| "Speakers for the Dead" +| "NiteSec" +| "The Black Hand"; + +// @public (undocumented) +export type GangOtherInfo = { + /** Stock Symbol */ + [key in GangName]: GangOtherInfoObject[]; +}; + +// @public (undocumented) +export interface GangOtherInfoObject { + power: number; + territory: number; +} + +// @public (undocumented) +export type GangTasks = +| "Unassigned" +| "Ransomware" +| "Phishing" +| "Identity Theft" +| "DDoS Attacks" +| "Plant Virus" +| "Fraud & Counterfeiting" +| "Money Laundering" +| "Cyberterrorism" +| "Ethical Hacking" +| "Mug People" +| "Deal Drugs" +| "Strongarm Civilians" +| "Run a Con" +| "Armed Robbery" +| "Traffick Illegal Arms" +| "Threaten & Blackmail" +| "Human Trafficking" +| "Terrorism" +| "Vigilante Justice" +| "Train Combat" +| "Train Hacking" +| "Train Charisma" +| "Territory Warfare"; + +// @public (undocumented) +export interface GangTasksStats { + agiWeight: number; + baseMoney: number; + baseRespect: number; + baseWanted: number; + chaWeight: number; + defWeight: number; + desc: string; + dexWeight: number; + difficulty: number; + hackWeight: number; + isCombat: boolean; + isHacking: boolean; + name: GangTasks; + strWeight: number; + territory: GangTasksTerritory; +} + +// @public (undocumented) +export interface GangTasksTerritory { + money: number; + respect: number; + wanted: number; +} + +// @public (undocumented) +export type Gym = "Crush Fitness Gym" | "Snap Fitness Gym" | "Iron Gym" | "Powerhouse Gym" | "Millenium Fitness Gym"; + +// @public (undocumented) +export type GymStat = "str" | "def" | "dex" | "agi"; + +// @public (undocumented) +export interface HackingMultipliers { + chance: number; + growth: number; + money: number; + speed: number; +} + +// @public (undocumented) +export interface HackNet { + getCacheUpgradeCost(index: number, n: number): number; + + getCoreUpgradeCost(index: number, n: number): number; + + getLevelUpgradeCost(index: number, n: number): number; + + getNodeStats(index: number): NodeStats; + + getPurchaseNodeCost(): number; + + getRamUpgradeCost(index: number, n: number): number; + + hashCost(upgName: HashUpgrades): number; + + numHashes(): number; + + numNodes(): number; + + purchaseNode(): number; + + spendHashes(upgName: HashUpgrades, upgTarget?: Host): boolean; + + upgradeCache(index: number, n: number): boolean; + + upgradeCore(index: number, n: number): boolean; + + upgradeLevel(index: number, n: number): boolean; + + upgradeRam(index: number, n: number): boolean; +} + +// @public (undocumented) +export interface HacknetMultipliers { + coreCost: number; + levelCost: number; + production: number; + purchaseCost: number; + ramCost: number; +} + +// @public (undocumented) +export type Handle = string | Port; + +// @public (undocumented) +export type HashUpgrades = +| "Sell for Money" +| "Sell for Corporation Funds" +| "Reduce Minimum Security" +| "Increase Maximum Money" +| "Improve Studying" +| "Improve Gym Training" +| "Exchange for Corporation Research" +| "Exchange for Bladeburner Rank" +| "Exchange for Bladeburner SP" +| "Generate Coding Contract"; + +// @public (undocumented) +export type Host = string; + +// @public (undocumented) +export interface NodeStats { + cache: number; + cores: number; + hashCapacity: number; + level: number; + name: string; + production: number; + ram: number; + timeOnline: number; + totalProduction: number; +} + +// @public (undocumented) +export interface NS extends Singularity { + readonly args: any[]; + // (undocumented) + readonly bladeburner: Bladeburner; + brutessh(host: Host): void; + clear(handle: Handle): void; + clearLog(): void; + // (undocumented) + readonly codingcontract: CodingContract; + deleteServer(host: Host): boolean; + disableLog(fn: string): void; + enableLog(fn: string): void; + exec(script: Script, host: Host, numThreads?: number, ...args: string[]): number; + exit(): void; + fileExists(filename: string, host?: Host): boolean; + ftpcrack(host: Host): void; + // (undocumented) + readonly gang: Gang; + getBitNodeMultipliers(url: string, target: string, host: string): BitNodeMultipliers; + getFavorToDonate(): number; + getGrowTime(host: Host, hackLvl?: number, intLvl?: number): number; + getHackingLevel(): number; + getHackingMultipliers(): HackingMultipliers; + getHacknetMultipliers(): HacknetMultipliers; + getHackTime(host: Host, hackLvl?: number, intLvl?: number): number; + getHostname(): Host; + getPortHandle(port: Port): any[]; + getPurchasedServerCost(ram: number): number; + getPurchasedServerLimit(): number; + getPurchasedServerMaxRam(): number; + getPurchasedServers(hostnameMode?: boolean): Host[]; + getScriptExpGain(script: Script, host: Host, ...args: string[]): number; + getScriptIncome(script: Script, host: Host, ...args: string[]): number | [number, number]; + getScriptLogs(fn?: Script, host?: Host, ...args: any[]): string[]; + getScriptName(): string; + getScriptRam(script: Script, host?: Host): number; + getServer(host?: Host): Server; + getServerBaseSecurityLevel(host: Host): number; + getServerGrowth(host: Host): number; + getServerMaxMoney(host: Host): number; + getServerMinSecurityLevel(host: Host): number; + getServerMoneyAvailable(host: Host): number; + getServerNumPortsRequired(host: Host): number; + getServerRam(host: Host): [number, number]; + getServerRequiredHackingLevel(host: Host): number; + getServerSecurityLevel(host: Host): number; + getTimeSinceLastAug(): number; + getWeakenTime(host: Host, hackLvl?: number, intLvl?: number): number; + grow(host: Host, opts?: BasicHGWOptions): Promise; + growthAnalyze(host: Host, growthAmount: number): number; + growthAnalyzeSecurity(threads: number): number; + hack(host: Host, opts?: BasicHGWOptions): Promise; + hackAnalyzePercent(host: Host): number; + hackAnalyzeSecurity(threads: number): number; + hackAnalyzeThreads(host: Host, hackAmount: number): number; + hackChance(host: Host): number; + readonly hacknet: HackNet; + hasRootAccess(host: Host): boolean; + httpworm(host: Host): void; + isLogEnabled(fn: string): boolean; + isRunning(script: Script, host: Host, ...args: string[]): boolean; + kill(script: Script, host: Host, ...args: string[]): boolean; + kill(scriptPid: number): boolean; + killall(host: Host): boolean; + ls(host: Host, grep?: string): string[]; + nFormat(n: number, format: string): number; + nuke(host: Host): void; + peek(port: Port): string | number | object; + print(msg: string | number | string[] | number[]): void; + prompt(txt: string): Promise; + ps(host?: Host): ProcessInfo[]; + purchaseServer(hostname: Host, ram: number): Host | ""; + read(handle: Handle): string | number | object; + relaysmtp(host: Host): void; + rm(name: string, host?: Host): boolean; + run(script: Script, numThreads?: number, ...args: string[]): number; + scan(host: Host, hostnames?: boolean): Host[]; + scp(files: string | ReadonlyArray, destination: Host): boolean; + scp( + files: string | ReadonlyArray, + source: Host, + // tslint:disable-next-line:unified-signatures + destination: Host, + ): boolean; + scriptKill(script: Script, host: Host): boolean; + scriptRunning(script: Script, host: Host): boolean; + serverExists(host: Host): boolean; + sleep(millis: number): Promise; + // (undocumented) + readonly sleeve: Sleeve; + spawn(script: Script, numThreads?: number, ...args: string[]): void; + sprintf(format: string, ...args: string[]): string; + sqlinject(host: Host): void; + // (undocumented) + readonly stock: TIX; + tail(fn?: Script, host?: Host, ...args: any[]): void; + tprint(msg: string | number | string[] | number[]): void; + tryWrite(port: Handle, data: string | string[] | number): boolean; + vsprintf(format: string, args: string[]): string; + weaken(host: Host, opts?: BasicHGWOptions): Promise; + weakenAnalyze(threads: number, cores?: number): number; + wget(url: string, target: string, host?: string): Promise; + write(handle: Handle, data?: string | string[] | number, mode?: "w" | "a"): void; +} + +// @public (undocumented) +export type OrderPos = "long" | "short"; + +// @public (undocumented) +export type OrderType = "limitbuy" | "limitsell" | "stopbuy" | "stopsell"; + +// @public (undocumented) +export interface PlayerStats { + agility: number; + charisma: number; + defense: number; + dexterity: number; + hacking: number; + intelligence: number; + strength: number; +} + +// @public +export type Port = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20; + +// @public (undocumented) +export interface ProcessInfo { + args: string[]; + filename: Script; + threads: number; +} + +// @public (undocumented) +export type PurchaseableProgram = +| "brutessh.exe" +| "ftpcrack.exe" +| "relaysmtp.exe" +| "httpworm.exe" +| "sqlinject.exe" +| "deepscanv1.exe" +| "deepscanv2.exe" +| "autolink.exe"; + +// @public (undocumented) +export type Script = string; + +// @public (undocumented) +export interface Server { + // How many CPU cores this server has. Maximum of 8. + // Currently, this only affects hacking missions + // (undocumented) + cpuCores: number; + + // Flag indicating whether the FTP port is open + // (undocumented) + ftpPortOpen: boolean; + + // Flag indicating whether the FTP port is open + // (undocumented) + hasAdminRights: boolean; + + // Flag indicating whether the FTP port is open + // (undocumented) + hostname: string; + + // Flag indicating whether the FTP port is open + // (undocumented) + httpPortOpen: boolean; + + // Flag indicating whether the FTP port is open + // (undocumented) + ip: string; + + // Flag indicating whether the FTP port is open + // (undocumented) + isConnectedTo: boolean; + + // Flag indicating whether the FTP port is open + // (undocumented) + maxRam: number; + + // Flag indicating whether the FTP port is open + // (undocumented) + organizationName: string; + + // Flag indicating whether the FTP port is open + // (undocumented) + ramUsed: number; + + // Flag indicating whether the FTP port is open + // (undocumented) + smtpPortOpen: boolean; + + // Flag indicating whether the FTP port is open + // (undocumented) + sqlPortOpen: boolean; + + // Flag indicating whether the FTP port is open + // (undocumented) + sshPortOpen: boolean; +} + +// @public (undocumented) +export interface Singularity { + applyToCompany(companyName: CompanyName, field: CompanyField): boolean; + + checkFactionInvitations(): FactionName[]; + + commitCrime(crime: Crime): number; + + createProgram(program: CreatableProgram): boolean; + + donateToFaction(faction: FactionName, amount: number): boolean; + + getAugmentationCost(augName: AugmentName): [number, number]; + + getAugmentationPrereq(augName: AugmentName): AugmentName[]; + + getAugmentationsFromFaction(faction: FactionName): AugmentName[]; + + getAugmentationStats(name: AugmentName): AugmentationStats; + + getCharacterInformation(): CharacterInfo; + + getCompanyFavor(companyName: CompanyName): number; + + getCompanyFavorGain(companyName: CompanyName): number; + + getCompanyRep(companyName: CompanyName): number; + + getCrimeChance(crime: Crime): number; + + getCrimeStats(crime: Crime): CrimeStats; + + getFactionFavor(faction: FactionName): number; + + getFactionFavorGain(faction: FactionName): number; + + getFactionRep(faction: FactionName): number; + + getOwnedAugmentations(purchased?: boolean): AugmentName[]; + + getOwnedSourceFiles(): SourceFileLvl[]; + + getStats(): PlayerStats; + + getUpgradeHomeRamCost(): number; + + gymWorkout(gymName: Gym, stat: GymStat): boolean; + + installAugmentations(cbScript?: Script): void; + + isBusy(): boolean; + + joinFaction(faction: FactionName): boolean; + + purchaseAugmentation(faction: FactionName, augmnet: AugmentName): boolean; + + purchaseProgram(programName: PurchaseableProgram): boolean; + + purchaseTor(): boolean; + + softReset(): void; + + stopAction(): boolean; + + travelToCity(city: City): boolean; + + universityCourse(universityName: University, courseName: UniversityCourse): boolean; + + upgradeHomeRam(): boolean; + + workForCompany(companyName?: CompanyName): boolean; + + workForFaction(faction: FactionName, workType: FactionWork): boolean; +} + +// @public (undocumented) +export interface Sleeve { + getInformation(sleeveNumber: number): SleeveInformation; + + getNumSleeves(): number; + + getSleeveAugmentations(sleeveNumber: number): AugmentName[]; + + getSleevePurchasableAugs(sleeveNumber: number): AugmentPair[]; + + getSleeveStats(sleeveNumber: number): SleeveStats; + + getTask(sleeveNumber: number): SleeveTask; + + purchaseSleeveAug(sleeveNumber: number, augName: AugmentName): boolean; + + setToCommitCrime(sleeveNumber: number, name: Crime): boolean; + + setToCompanyWork(sleeveNumber: number, companyName: CompanyName): boolean; + + setToFactionWork(sleeveNumber: number, factionName: FactionName, factionWorkType: FactionWork): boolean; + + setToGymWorkout(sleeveNumber: number, gymName: Gym, stat: GymStat): boolean; + + setToShockRecovery(sleeveNumber: number): boolean; + + setToSynchronize(sleeveNumber: number): boolean; + + setToUniversityCourse(sleeveNumber: number, university: University, className: UniversityCourse): boolean; + + travel(sleeveNumber: number, cityName: City): boolean; +} + +// @public (undocumented) +export interface SleeveInformation { + city: City; + earningsForPlayer: SleeveWorkGains; + earningsForSleeves: SleeveWorkGains; + earningsForTask: SleeveWorkGains; + hp: number; + jobs: string[]; + jobTitle: CompanyField[]; + maxHp: number; + mult: CharacterMult; + timeWorked: number; + tor: boolean; + workRepGain: number; +} + +// @public (undocumented) +export interface SleeveStats { + agility: number; + charisma: number; + defense: number; + dexterity: number; + hacking_skill: number; + shock: + | 0 + | 1 + | 2 + | 3 + | 4 + | 5 + | 6 + | 7 + | 8 + | 9 + | 10 + | 11 + | 12 + | 13 + | 14 + | 15 + | 16 + | 17 + | 18 + | 19 + | 20 + | 21 + | 22 + | 23 + | 24 + | 25 + | 26 + | 27 + | 28 + | 29 + | 30 + | 31 + | 32 + | 33 + | 34 + | 35 + | 36 + | 37 + | 38 + | 39 + | 40 + | 41 + | 42 + | 43 + | 44 + | 45 + | 46 + | 47 + | 48 + | 49 + | 50 + | 51 + | 52 + | 53 + | 54 + | 55 + | 56 + | 57 + | 58 + | 59 + | 60 + | 61 + | 62 + | 63 + | 64 + | 65 + | 66 + | 67 + | 68 + | 69 + | 70 + | 71 + | 72 + | 73 + | 74 + | 75 + | 76 + | 77 + | 78 + | 79 + | 80 + | 81 + | 82 + | 83 + | 84 + | 85 + | 86 + | 87 + | 88 + | 89 + | 90 + | 91 + | 92 + | 93 + | 94 + | 95 + | 96 + | 97 + | 98 + | 99 + | 100; + strength: number; + sync: + | 0 + | 1 + | 2 + | 3 + | 4 + | 5 + | 6 + | 7 + | 8 + | 9 + | 10 + | 11 + | 12 + | 13 + | 14 + | 15 + | 16 + | 17 + | 18 + | 19 + | 20 + | 21 + | 22 + | 23 + | 24 + | 25 + | 26 + | 27 + | 28 + | 29 + | 30 + | 31 + | 32 + | 33 + | 34 + | 35 + | 36 + | 37 + | 38 + | 39 + | 40 + | 41 + | 42 + | 43 + | 44 + | 45 + | 46 + | 47 + | 48 + | 49 + | 50 + | 51 + | 52 + | 53 + | 54 + | 55 + | 56 + | 57 + | 58 + | 59 + | 60 + | 61 + | 62 + | 63 + | 64 + | 65 + | 66 + | 67 + | 68 + | 69 + | 70 + | 71 + | 72 + | 73 + | 74 + | 75 + | 76 + | 77 + | 78 + | 79 + | 80 + | 81 + | 82 + | 83 + | 84 + | 85 + | 86 + | 87 + | 88 + | 89 + | 90 + | 91 + | 92 + | 93 + | 94 + | 95 + | 96 + | 97 + | 98 + | 99 + | 100; +} + +// @public (undocumented) +export interface SleeveTask { + crime: Crime | ""; + factionWorkType: FactionWork | ""; + gymStatType: GymStat | ""; + location: City | ""; + task: string; +} + +// @public (undocumented) +export interface SleeveWorkGains { + workAgiExpGain: number; + workChaExpGain: number; + workDefExpGain: number; + workDexExpGain: number; + workHackExpGain: number; + workMoneyGain: number; + workStrExpGain: number; +} + +// @public (undocumented) +export interface SourceFileLvl { + lvl: number; + n: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; +} + +// @public (undocumented) +export type StockOrder = { + /** Stock Symbol */ + [key in StockSymbol]?: StockOrderObject[]; +}; + +// @public (undocumented) +export interface StockOrderObject { + position: "S" | "L"; + price: number; + shares: number; + type: "Limit Buy Order" | "Limit Sell Order" | "Stop Buy Order" | "Stop Buy Order"; +} + +// @public (undocumented) +export type StockSymbol = +| "ECP" +| "MGCP" +| "BLD" +| "CLRK" +| "OMTK" +| "FSIG" +| "KGI" +| "FLCM" +| "STM" +| "DCOMM" +| "HLS" +| "VITA" +| "ICRS" +| "UNV" +| "AERO" +| "OMN" +| "SLRS" +| "GPH" +| "NVMD" +| "WDS" +| "LXO" +| "RHOC" +| "APHE" +| "SYSC" +| "CTK" +| "NTLK" +| "OMGA" +| "FNS" +| "SGC" +| "JGN" +| "CTYS" +| "MDYN" +| "TITN"; + +// @public (undocumented) +export interface TIX { + buy(sym: StockSymbol, shares: number): number; + + cancelOrder(sym: StockSymbol, shares: number, price: number, type: OrderType, pos: OrderPos): void; + + getAskPrice(sym: StockSymbol): number; + + getBidPrice(sym: StockSymbol): number; + + getForecast(sym: StockSymbol): number; + + getMaxShares(sym: StockSymbol): number; + + getOrders(): StockOrder; + + getPosition(sym: StockSymbol): [number, number, number, number]; + + getPrice(sym: StockSymbol): number; + + getPurchaseCost(sym: StockSymbol, shares: number, posType: OrderPos): number; + + getSaleGain(sym: StockSymbol, shares: number, posType: OrderPos): number; + + getSymbols(): StockSymbol[]; + + getVolatility(sym: StockSymbol): number; + + placeOrder(sym: StockSymbol, shares: number, price: number, type: OrderType, pos: OrderPos): boolean; + + purchase4SMarketData(): boolean; + + purchase4SMarketDataTixApi(): boolean; + + sell(sym: StockSymbol, shares: number): number; + + sellShort(sym: StockSymbol, shares: number): number; + + short(sym: StockSymbol, shares: number): number; +} + +// @public (undocumented) +export type University = "Summit University" | "Rothman University" | "ZB Institute Of Technology"; + +// @public (undocumented) +export type UniversityCourse = +| "Study Computer Science" +| "Data Strucures" +| "Networks" +| "Algorithms" +| "Management" +| "Leadership"; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/tsdoc-metadata.json b/tsdoc-metadata.json new file mode 100644 index 000000000..1946c4e79 --- /dev/null +++ b/tsdoc-metadata.json @@ -0,0 +1,11 @@ +// This file is read by tools that parse documentation comments conforming to the TSDoc standard. +// It should be published with your NPM package. It should not be tracked by Git. +{ + "tsdocVersion": "0.12", + "toolPackages": [ + { + "packageName": "@microsoft/api-extractor", + "packageVersion": "7.18.17" + } + ] +} From 920b7325b4560c79fd5262ed0f8fd500d39d1bb8 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Sat, 30 Oct 2021 12:43:45 -0400 Subject: [PATCH 6/6] City map use more letters than just X --- dist/vendor.bundle.js | 14 +++++++------- main.bundle.js | 4 ++-- main.bundle.js.map | 2 +- src/Corporation/ui/GoPublicModal.tsx | 7 +++++-- src/Locations/ui/City.tsx | 15 ++++++++++++++- 5 files changed, 29 insertions(+), 13 deletions(-) diff --git a/dist/vendor.bundle.js b/dist/vendor.bundle.js index 8f4b4acee..c9f5f360c 100644 --- a/dist/vendor.bundle.js +++ b/dist/vendor.bundle.js @@ -1,18 +1,18 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[function(e,t,n){"use strict";e.exports=n(1175)},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(627),u=n(65),c=n(17),l=n(34),d=n(28),f=n(699),p=n(5);const h=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],m=Object(c.a)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align"+Object(d.a)(n.align)],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>Object(i.a)({margin:0},t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},g={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},v=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiTypography"}),o=(e=>g[e]||e)(n.color),c=Object(s.a)(Object(i.a)({},n,{color:o})),{align:v="inherit",className:y,component:x,gutterBottom:w=!1,noWrap:O=!1,paragraph:j=!1,variant:C="body1",variantMapping:E=b}=c,S=Object(r.a)(c,h),k=Object(i.a)({},c,{align:v,color:o,className:y,component:x,gutterBottom:w,noWrap:O,paragraph:j,variant:C,variantMapping:E}),A=x||(j?"p":E[C]||b[C])||"span",_=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:a}=e,s={root:["root",o,"inherit"!==e.align&&"align"+Object(d.a)(t),n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Object(u.a)(s,f.a,a)})(k);return Object(p.jsx)(m,Object(i.a)({as:A,ref:t,ownerState:k,className:Object(a.default)(_.root,y)},S))}));t.a=v},,function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;tObject(i.a)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),g=Object(c.a)(d.a,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Object(f.a)(n.color)}`],t["size"+Object(f.a)(n.size)],t[`${n.variant}Size${Object(f.a)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Object(i.a)({textDecoration:"none",backgroundColor:Object(u.a)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:"1px solid "+e.palette[t.color].main,backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.palette[t.color].dark,"@media (hover: none)":{backgroundColor:e.palette[t.color].main}}),"&:active":Object(i.a)({},"contained"===t.variant&&{boxShadow:e.shadows[8]}),["&."+p.a.focusVisible]:Object(i.a)({},"contained"===t.variant&&{boxShadow:e.shadows[6]}),["&."+p.a.disabled]:Object(i.a)({color:e.palette.action.disabled},"outlined"===t.variant&&{border:"1px solid "+e.palette.action.disabledBackground},"outlined"===t.variant&&"secondary"===t.color&&{border:"1px solid "+e.palette.action.disabled},"contained"===t.variant&&{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"outlined"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].main,border:"1px solid "+Object(u.a)(e.palette[t.color].main,.5)},"contained"===t.variant&&{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].contrastText,backgroundColor:e.palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"}),({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},["&."+p.a.focusVisible]:{boxShadow:"none"},"&:active":{boxShadow:"none"},["&."+p.a.disabled]:{boxShadow:"none"}}),v=Object(c.a)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t["iconSize"+Object(f.a)(n.size)]]}})(({ownerState:e})=>Object(i.a)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},b(e))),y=Object(c.a)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t["iconSize"+Object(f.a)(n.size)]]}})(({ownerState:e})=>Object(i.a)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},b(e))),x=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiButton"}),{children:o,color:u="primary",component:c="button",disabled:d=!1,disableElevation:b=!1,disableFocusRipple:x=!1,endIcon:w,focusVisibleClassName:O,fullWidth:j=!1,size:C="medium",startIcon:E,type:S,variant:k="text"}=n,A=Object(r.a)(n,m),_=Object(i.a)({},n,{color:u,component:c,disabled:d,disableElevation:b,disableFocusRipple:x,fullWidth:j,size:C,type:S,variant:k}),D=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:u}=e,c={root:["root",a,`${a}${Object(f.a)(t)}`,"size"+Object(f.a)(o),`${a}Size${Object(f.a)(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize"+Object(f.a)(o)],endIcon:["endIcon","iconSize"+Object(f.a)(o)]},l=Object(s.a)(c,p.b,u);return Object(i.a)({},u,l)})(_),F=E&&Object(h.jsx)(v,{className:D.startIcon,ownerState:_,children:E}),R=w&&Object(h.jsx)(y,{className:D.endIcon,ownerState:_,children:w});return Object(h.jsxs)(g,Object(i.a)({ownerState:_,component:c,disabled:d,focusRipple:!x,focusVisibleClassName:Object(a.default)(D.focusVisible,O),ref:t,type:S},A,{classes:D,children:[F,o,R]}))}));t.a=x},function(e,t,n){e.exports=n(1179)()},function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;tObject(r.b)(e)&&"classes"!==e,a=r.b,s=Object(r.a)({defaultTheme:i.a,rootShouldForwardProp:o});t.a=s},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}n.d(t,"a",(function(){return r}))},,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(562),c=n(80),l=n(17),d=n(108),f=n(34),p=n(28),h=n(626),m=n(1111),b=n(195),g=n(82),v=n(338),y=n(304),x=n(269),w=n(285),O=n(5);const j=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"];const C=Object(l.a)(m.a,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>Object(i.a)({zIndex:e.zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{['&[data-popper-placement*="bottom"] .'+w.a.arrow]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},['&[data-popper-placement*="top"] .'+w.a.arrow]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},['&[data-popper-placement*="right"] .'+w.a.arrow]:Object(i.a)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),['&[data-popper-placement*="left"] .'+w.a.arrow]:Object(i.a)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),E=Object(l.a)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t["tooltipPlacement"+Object(p.a)(n.placement.split("-")[0])]]}})(({theme:e,ownerState:t})=>{return Object(i.a)({backgroundColor:Object(c.a)(e.palette.grey[700],.92),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${w.a.popper}[data-popper-placement*="left"] &`]:Object(i.a)({transformOrigin:"right center"},t.isRtl?Object(i.a)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Object(i.a)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${w.a.popper}[data-popper-placement*="right"] &`]:Object(i.a)({transformOrigin:"left center"},t.isRtl?Object(i.a)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Object(i.a)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${w.a.popper}[data-popper-placement*="top"] &`]:Object(i.a)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${w.a.popper}[data-popper-placement*="bottom"] &`]:Object(i.a)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n}),S=Object(l.a)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(c.a)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let k=!1,A=null;function _(e,t){return n=>{t&&t(n),e(n)}}const D=o.forwardRef((function(e,t){var n,c,l,D,F;const R=Object(f.a)({props:e,name:"MuiTooltip"}),{arrow:P=!1,children:T,components:B={},componentsProps:M={},describeChild:N=!1,disableFocusListener:I=!1,disableHoverListener:L=!1,disableInteractive:z=!1,disableTouchListener:W=!1,enterDelay:V=100,enterNextDelay:H=0,enterTouchDelay:U=700,followCursor:q=!1,id:$,leaveDelay:G=0,leaveTouchDelay:Y=1500,onClose:K,onOpen:X,open:Z,placement:Q="bottom",PopperComponent:J,PopperProps:ee={},title:te,TransitionComponent:ne=h.a,TransitionProps:re}=R,ie=Object(r.a)(R,j),oe=Object(d.a)(),ae="rtl"===oe.direction,[se,ue]=o.useState(),[ce,le]=o.useState(null),de=o.useRef(!1),fe=z||q,pe=o.useRef(),he=o.useRef(),me=o.useRef(),be=o.useRef(),[ge,ve]=Object(x.a)({controlled:Z,default:!1,name:"Tooltip",state:"open"});let ye=ge;const xe=Object(v.a)($),we=o.useRef(),Oe=o.useCallback(()=>{void 0!==we.current&&(document.body.style.WebkitUserSelect=we.current,we.current=void 0),clearTimeout(be.current)},[]);o.useEffect(()=>()=>{clearTimeout(pe.current),clearTimeout(he.current),clearTimeout(me.current),Oe()},[Oe]);const je=e=>{clearTimeout(A),k=!0,ve(!0),X&&!ye&&X(e)},Ce=Object(b.a)(e=>{clearTimeout(A),A=setTimeout(()=>{k=!1},800+G),ve(!1),K&&ye&&K(e),clearTimeout(pe.current),pe.current=setTimeout(()=>{de.current=!1},oe.transitions.duration.shortest)}),Ee=e=>{de.current&&"touchstart"!==e.type||(se&&se.removeAttribute("title"),clearTimeout(he.current),clearTimeout(me.current),V||k&&H?he.current=setTimeout(()=>{je(e)},k?H:V):je(e))},Se=e=>{clearTimeout(he.current),clearTimeout(me.current),me.current=setTimeout(()=>{Ce(e)},G)},{isFocusVisibleRef:ke,onBlur:Ae,onFocus:_e,ref:De}=Object(y.a)(),[,Fe]=o.useState(!1),Re=e=>{Ae(e),!1===ke.current&&(Fe(!1),Se(e))},Pe=e=>{se||ue(e.currentTarget),_e(e),!0===ke.current&&(Fe(!0),Ee(e))},Te=e=>{de.current=!0;const t=T.props;t.onTouchStart&&t.onTouchStart(e)},Be=Ee,Me=Se,Ne=e=>{Te(e),clearTimeout(me.current),clearTimeout(pe.current),Oe(),we.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.current=setTimeout(()=>{document.body.style.WebkitUserSelect=we.current,Ee(e)},U)},Ie=e=>{T.props.onTouchEnd&&T.props.onTouchEnd(e),Oe(),clearTimeout(me.current),me.current=setTimeout(()=>{Ce(e)},Y)};o.useEffect(()=>{if(ye)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Ce(e)}},[Ce,ye]);const Le=Object(g.a)(ue,t),ze=Object(g.a)(De,Le),We=Object(g.a)(T.ref,ze);""===te&&(ye=!1);const Ve=o.useRef({x:0,y:0}),He=o.useRef(),Ue={},qe="string"==typeof te;N?(Ue.title=ye||!qe||L?null:te,Ue["aria-describedby"]=ye?xe:null):(Ue["aria-label"]=qe?te:null,Ue["aria-labelledby"]=ye&&!qe?xe:null);const $e=Object(i.a)({},Ue,ie,T.props,{className:Object(a.default)(ie.className,T.props.className),onTouchStart:Te,ref:We},q?{onMouseMove:e=>{const t=T.props;t.onMouseMove&&t.onMouseMove(e),Ve.current={x:e.clientX,y:e.clientY},He.current&&He.current.update()}}:{});const Ge={};W||($e.onTouchStart=Ne,$e.onTouchEnd=Ie),L||($e.onMouseOver=_(Be,$e.onMouseOver),$e.onMouseLeave=_(Me,$e.onMouseLeave),fe||(Ge.onMouseOver=Be,Ge.onMouseLeave=Me)),I||($e.onFocus=_(Pe,$e.onFocus),$e.onBlur=_(Re,$e.onBlur),fe||(Ge.onFocus=Pe,Ge.onBlur=Re));const Ye=o.useMemo(()=>{var e;let t=[{name:"arrow",enabled:Boolean(ce),options:{element:ce,padding:4}}];return null!=(e=ee.popperOptions)&&e.modifiers&&(t=t.concat(ee.popperOptions.modifiers)),Object(i.a)({},ee.popperOptions,{modifiers:t})},[ce,ee]),Ke=Object(i.a)({},R,{isRtl:ae,arrow:P,disableInteractive:fe,placement:Q,PopperComponentProp:J,touch:de.current}),Xe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:o}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch","tooltipPlacement"+Object(p.a)(o.split("-")[0])],arrow:["arrow"]};return Object(s.a)(a,w.b,t)})(Ke),Ze=null!=(n=B.Popper)?n:C,Qe=null!=(c=null!=ne?ne:B.Transition)?c:h.a,Je=null!=(l=B.Tooltip)?l:E,et=null!=(D=B.Arrow)?D:S,tt=Object(u.a)(Ze,Object(i.a)({},ee,M.popper),Ke),nt=Object(u.a)(Qe,Object(i.a)({},re,M.transition),Ke),rt=Object(u.a)(Je,Object(i.a)({},M.tooltip),Ke),it=Object(u.a)(et,Object(i.a)({},M.arrow),Ke);return Object(O.jsxs)(o.Fragment,{children:[o.cloneElement(T,$e),Object(O.jsx)(Ze,Object(i.a)({as:null!=J?J:m.a,placement:Q,anchorEl:q?{getBoundingClientRect:()=>({top:Ve.current.y,left:Ve.current.x,right:Ve.current.x,bottom:Ve.current.y,width:0,height:0})}:se,popperRef:He,open:!!se&&ye,id:xe,transition:!0},Ge,tt,{className:Object(a.default)(Xe.popper,null==(F=M.popper)?void 0:F.className),popperOptions:Ye,children:({TransitionProps:e})=>{var t,n;return Object(O.jsx)(Qe,Object(i.a)({timeout:oe.transitions.duration.shorter},e,nt,{children:Object(O.jsxs)(Je,Object(i.a)({},rt,{className:Object(a.default)(Xe.tooltip,null==(t=M.tooltip)?void 0:t.className),children:[te,P?Object(O.jsx)(et,Object(i.a)({},it,{className:Object(a.default)(Xe.arrow,null==(n=M.arrow)?void 0:n.className),ref:le})):null]}))}))}}))]})}));t.a=D},function(e,t,n){"use strict";var r=n(266);t.a=r.a},,,,function(e,t,n){"use strict";var r=n(1240),i=n(530);const o=Object(i.a)(),a=Object(r.a)({defaultTheme:o});t.a=a},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1230),i=n(305);function o({props:e,name:t}){return Object(r.a)({props:e,name:t,defaultTheme:i.a})}},,,,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(145),u=n(627),c=n(65),l=n(17),d=n(34),f=n(607),p=n(446),h=n(5);const m=["className","columns","columnSpacing","component","container","direction","item","lg","md","rowSpacing","sm","spacing","wrap","xl","xs","zeroMinWidth"];function b(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}const g=Object(l.a)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{container:n,direction:r,item:i,lg:o,md:a,sm:s,spacing:u,wrap:c,xl:l,xs:d,zeroMinWidth:f}=e.ownerState;return[t.root,n&&t.container,i&&t.item,f&&t.zeroMinWidth,n&&0!==u&&t["spacing-xs-"+String(u)],"row"!==r&&t["direction-xs-"+String(r)],"wrap"!==c&&t["wrap-xs-"+String(c)],!1!==d&&t["grid-xs-"+String(d)],!1!==s&&t["grid-sm-"+String(s)],!1!==a&&t["grid-md-"+String(a)],!1!==o&&t["grid-lg-"+String(o)],!1!==l&&t["grid-xl-"+String(l)]]}})(({ownerState:e})=>Object(i.a)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"nowrap"===e.wrap&&{flexWrap:"nowrap"},"reverse"===e.wrap&&{flexWrap:"wrap-reverse"}),(function({theme:e,ownerState:t}){return Object(s.b)({theme:e},t.direction,e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > ."+p.a.item]={maxWidth:"none"}),t})}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let i={};return n&&0!==r&&(i=Object(s.b)({theme:e},r,t=>{const n=e.spacing(t);return"0px"!==n?{marginTop:"-"+b(n),["& > ."+p.a.item]:{paddingTop:b(n)}}:{}})),i}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let i={};return n&&0!==r&&(i=Object(s.b)({theme:e},r,t=>{const n=e.spacing(t);return"0px"!==n?{width:`calc(100% + ${b(n)})`,marginLeft:"-"+b(n),["& > ."+p.a.item]:{paddingLeft:b(n)}}:{}})),i}),({theme:e,ownerState:t})=>e.breakpoints.keys.reduce((n,r)=>(function(e,t,n,r){const o=r[n];if(!o)return;let a={};if(!0===o)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===o)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const e=Object(s.d)({values:r.columns,base:t.breakpoints.values}),u=Math.round(o/e[n]*1e8)/1e6+"%";let c={};if(r.container&&r.item&&0!==r.columnSpacing){const e=t.spacing(r.columnSpacing);if("0px"!==e){const t=`calc(${u} + ${b(e)})`;c={flexBasis:t,maxWidth:t}}}a=Object(i.a)({flexBasis:u,flexGrow:0,maxWidth:u},c)}0===t.breakpoints.values[n]?Object.assign(e,a):e[t.breakpoints.up(n)]=a}(n,e,r,t),n),{})),v=o.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiGrid"}),s=Object(u.a)(n),{className:l,columns:b=12,columnSpacing:v,component:y="div",container:x=!1,direction:w="row",item:O=!1,lg:j=!1,md:C=!1,rowSpacing:E,sm:S=!1,spacing:k=0,wrap:A="wrap",xl:_=!1,xs:D=!1,zeroMinWidth:F=!1}=s,R=Object(r.a)(s,m),P=E||k,T=v||k,B=o.useContext(f.a)||b,M=Object(i.a)({},s,{columns:B,container:x,direction:w,item:O,lg:j,md:C,sm:S,rowSpacing:P,columnSpacing:T,wrap:A,xl:_,xs:D,zeroMinWidth:F}),N=(e=>{const{classes:t,container:n,direction:r,item:i,lg:o,md:a,sm:s,spacing:u,wrap:l,xl:d,xs:f,zeroMinWidth:h}=e,m={root:["root",n&&"container",i&&"item",h&&"zeroMinWidth",n&&0!==u&&"spacing-xs-"+String(u),"row"!==r&&"direction-xs-"+String(r),"wrap"!==l&&"wrap-xs-"+String(l),!1!==f&&"grid-xs-"+String(f),!1!==s&&"grid-sm-"+String(s),!1!==a&&"grid-md-"+String(a),!1!==o&&"grid-lg-"+String(o),!1!==d&&"grid-xl-"+String(d)]};return Object(c.a)(m,p.b,t)})(M);return I=Object(h.jsx)(g,Object(i.a)({ownerState:M,className:Object(a.default)(N.root,l),as:y,ref:t},R)),12!==B?Object(h.jsx)(f.a.Provider,{value:B,children:I}):I;var I}));t.a=v},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(18);function i(e,t){if(null==e)return{};var n,i,o=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(28),l=n(497),d=n(314),f=n(34),p=n(17),h=n(604),m=n(5);const b=["align","className","component","padding","scope","size","sortDirection","variant"],g=Object(p.a)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t["size"+Object(c.a)(n.size)],"normal"!==n.padding&&t["padding"+Object(c.a)(n.padding)],"inherit"!==n.align&&t["align"+Object(c.a)(n.align)],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n "+("light"===e.palette.mode?Object(u.e)(Object(u.a)(e.palette.divider,1),.88):Object(u.b)(Object(u.a)(e.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===t.variant&&{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:e.palette.text.primary},"footer"===t.variant&&{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",["&."+h.a.paddingCheckbox]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:e.palette.background.default})),v=o.forwardRef((function(e,t){const n=Object(f.a)({props:e,name:"MuiTableCell"}),{align:u="inherit",className:p,component:v,padding:y,scope:x,size:w,sortDirection:O,variant:j}=n,C=Object(r.a)(n,b),E=o.useContext(l.a),S=o.useContext(d.a),k=S&&"head"===S.variant;let A;A=v||(k?"th":"td");let _=x;!_&&k&&(_="col");const D=j||S&&S.variant,F=Object(i.a)({},n,{align:u,component:A,padding:y||(E&&E.padding?E.padding:"normal"),size:w||(E&&E.size?E.size:"medium"),sortDirection:O,stickyHeader:"head"===D&&E&&E.stickyHeader,variant:D}),R=(e=>{const{classes:t,variant:n,align:r,padding:i,size:o,stickyHeader:a}=e,u={root:["root",n,a&&"stickyHeader","inherit"!==r&&"align"+Object(c.a)(r),"normal"!==i&&"padding"+Object(c.a)(i),"size"+Object(c.a)(o)]};return Object(s.a)(u,h.b,t)})(F);let P=null;return O&&(P="asc"===O?"ascending":"descending"),Object(m.jsx)(g,Object(i.a)({as:A,ref:t,className:Object(a.default)(R.root,p),"aria-sort":P,scope:_,ownerState:F},C))}));t.a=v},function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"k",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"l",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"j",(function(){return h})),n.d(t,"n",(function(){return m})),n.d(t,"h",(function(){return b})),n.d(t,"g",(function(){return g}));var r="top",i="bottom",o="right",a="left",s="auto",u=[r,i,o,a],c="start",l="end",d="clippingParents",f="viewport",p="popper",h="reference",m=u.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+l])}),[]),b=[].concat(u,[s]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+l])}),[]),g=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},,function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(266),i=n(145);function o(e,t){return t&&"string"==typeof t?t.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e):null}function a(e,t,n,r=n){let i;return i="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:o(e,n)||r,t&&(i=t(i)),i}t.a=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:u}=e,c=e=>{if(null==e[t])return null;const c=e[t],l=o(e.theme,s)||{};return Object(i.b)(e,c,e=>{let i=a(l,u,e);return e===i&&"string"==typeof e&&(i=a(l,u,`${t}${"default"===e?"":Object(r.a)(e)}`,e)),!1===n?i:{[n]:i}})};return c.propTypes={},c.filterProps=[t],c}},,,,function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(314),l=n(34),d=n(17),f=n(543),p=n(5);const h=["className","component","hover","selected"],m=Object(d.a)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${f.a.hover}:hover`]:{backgroundColor:e.palette.action.hover},["&."+f.a.selected]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),b="tr",g=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiTableRow"}),{className:u,component:d=b,hover:g=!1,selected:v=!1}=n,y=Object(i.a)(n,h),x=o.useContext(c.a),w=Object(r.a)({},n,{component:d,hover:g,selected:v,head:x&&"head"===x.variant,footer:x&&"footer"===x.variant}),O=(e=>{const{classes:t,selected:n,hover:r,head:i,footer:o}=e,a={root:["root",n&&"selected",r&&"hover",i&&"head",o&&"footer"]};return Object(s.a)(a,f.b,t)})(w);return Object(p.jsx)(m,Object(r.a)({as:d,ref:t,className:Object(a.default)(O.root,u),role:d===b?null:"row",ownerState:w},y))}));t.a=g},function(e,t,n){"use strict";var r=n(213),i=n(513);function o(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}t.a=function(e){var t=e.prop,n=e.cssProperty,a=void 0===n?e.prop:n,s=e.themeKey,u=e.transform,c=function(e){if(null==e[t])return null;var n=e[t],c=o(e.theme,s)||{};return Object(i.a)(e,n,(function(e){var t;return"function"==typeof c?t=c(e):Array.isArray(c)?t=c[e]||e:(t=o(c,e)||e,u&&(t=u(t))),!1===a?t:Object(r.a)({},a,t)}))};return c.propTypes={},c.filterProps=[t],c}},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(64);function i(e,t){const n={};return t.forEach(t=>{n[t]=Object(r.a)(e,t)}),n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const r={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function i(e,t){return r[t]||`${e}-${t}`}},function(e,t,n){"use strict";function r(e,t,n){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((e,r)=>(r&&(n&&n[r]&&e.push(n[r]),e.push(t(r))),e),[]).join(" ")}),r}n.d(t,"a",(function(){return r}))},,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(117),c=n(80),l=n(17),d=n(34),f=n(290),p=n(308),h=n(167),m=n(82),b=n(164),g=n(331),v=n(332),y=n(1251),x=n(5);const w=["className"],O=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected"],j=Object(l.a)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&Object(i.a)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{["& > ."+v.a.root]:{paddingRight:48}},{["&."+g.a.focusVisible]:{backgroundColor:e.palette.action.focus},["&."+g.a.selected]:{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity),["&."+g.a.focusVisible]:{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},["&."+g.a.disabled]:{opacity:e.palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:"1px solid "+e.palette.divider,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${g.a.selected}:hover`]:{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),C=Object(l.a)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),E=o.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiListItem"}),{alignItems:c="center",autoFocus:l=!1,button:v=!1,children:E,className:S,component:k,components:A={},componentsProps:_={},ContainerComponent:D="li",ContainerProps:{className:F}={},dense:R=!1,disabled:P=!1,disableGutters:T=!1,disablePadding:B=!1,divider:M=!1,focusVisibleClassName:N,secondaryAction:I,selected:L=!1}=n,z=Object(r.a)(n.ContainerProps,w),W=Object(r.a)(n,O),V=o.useContext(b.a),H={dense:R||V.dense||!1,alignItems:c,disableGutters:T},U=o.useRef(null);Object(h.a)(()=>{l&&U.current&&U.current.focus()},[l]);const q=o.Children.toArray(E),$=q.length&&Object(p.a)(q[q.length-1],["ListItemSecondaryAction"]),G=Object(i.a)({},n,{alignItems:c,autoFocus:l,button:v,dense:H.dense,disabled:P,disableGutters:T,disablePadding:B,divider:M,hasSecondaryAction:$,selected:L}),Y=(e=>{const{alignItems:t,button:n,classes:r,dense:i,disabled:o,disableGutters:a,disablePadding:u,divider:c,hasSecondaryAction:l,selected:d}=e,f={root:["root",i&&"dense",!a&&"gutters",!u&&"padding",c&&"divider",o&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",l&&"secondaryAction",d&&"selected"],container:["container"]};return Object(s.a)(f,g.b,r)})(G),K=Object(m.a)(U,t),X=A.Root||j,Z=_.root||{},Q=Object(i.a)({className:Object(a.default)(Y.root,Z.className,S),disabled:P},W);let J=k||"li";return v&&(Q.component=k||"div",Q.focusVisibleClassName=Object(a.default)(g.a.focusVisible,N),J=f.a),$?(J=Q.component||k?J:"div","li"===D&&("li"===J?J="div":"li"===Q.component&&(Q.component="div")),Object(x.jsx)(b.a.Provider,{value:H,children:Object(x.jsxs)(C,Object(i.a)({as:D,className:Object(a.default)(Y.container,F),ref:K,ownerState:G},z,{children:[Object(x.jsx)(X,Object(i.a)({},Z,!Object(u.a)(X)&&{as:J,ownerState:Object(i.a)({},G,Z.ownerState)},Q,{children:q})),q.pop()]}))})):Object(x.jsx)(b.a.Provider,{value:H,children:Object(x.jsxs)(X,Object(i.a)({},Z,{as:J,ref:K,ownerState:G},!Object(u.a)(X)&&{ownerState:Object(i.a)({},G,Z.ownerState)},Q,{children:[q,I&&Object(x.jsx)(y.a,{children:I})]}))})}));t.a=E},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),o=n(5),a=(0,i.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.default=a},,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(715),f=n(5);const p=["className","component","elevation","square","variant"],h=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},m=Object(c.a)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation"+n.elevation]]}})(({theme:e,ownerState:t})=>Object(i.a)({backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:"1px solid "+e.palette.divider},"elevation"===t.variant&&Object(i.a)({boxShadow:e.shadows[t.elevation]},"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Object(u.a)("#fff",h(t.elevation))}, ${Object(u.a)("#fff",h(t.elevation))})`}))),b=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiPaper"}),{className:o,component:u="div",elevation:c=1,square:h=!1,variant:b="elevation"}=n,g=Object(r.a)(n,p),v=Object(i.a)({},n,{component:u,elevation:c,square:h,variant:b}),y=(e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded","elevation"===r&&"elevation"+n]};return Object(s.a)(o,d.a,i)})(v);return Object(f.jsx)(m,Object(i.a)({as:u,ownerState:v,className:Object(a.default)(y.root,o),ref:t},g))}));t.a=b},function(e,t,n){"use strict";var r=n(3),i=n(1266),o=n(316);t.a=function(e,t){return Object(i.a)(e,Object(r.a)({defaultTheme:o.a},t))}},,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(164),f=n(290),p=n(167),h=n(82),m=n(545),b=n(544),g=n(404),v=n(365),y=n(5);const x=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],w=Object(c.a)(f.a,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:"1px solid "+e.palette.divider,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&."+v.a.selected]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity),["&."+v.a.focusVisible]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${v.a.selected}:hover`]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity)}},["&."+v.a.focusVisible]:{backgroundColor:e.palette.action.focus},["&."+v.a.disabled]:{opacity:e.palette.action.disabledOpacity},["& + ."+m.a.root]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},["& + ."+m.a.inset]:{marginLeft:52},["& ."+g.a.root]:{marginTop:0,marginBottom:0},["& ."+g.a.inset]:{paddingLeft:36},["& ."+b.a.root]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Object(i.a)({minHeight:36},e.typography.body2,{[`& .${b.a.root} svg`]:{fontSize:"1.25rem"}}))),O=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiMenuItem"}),{autoFocus:u=!1,component:c="li",dense:f=!1,divider:m=!1,disableGutters:b=!1,focusVisibleClassName:g,role:O="menuitem",tabIndex:j}=n,C=Object(r.a)(n,x),E=o.useContext(d.a),S={dense:f||E.dense||!1,disableGutters:b},k=o.useRef(null);Object(p.a)(()=>{u&&k.current&&k.current.focus()},[u]);const A=Object(i.a)({},n,{dense:S.dense,divider:m,disableGutters:b}),_=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:u}=e,c={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},l=Object(s.a)(c,v.b,u);return Object(i.a)({},u,l)})(n),D=Object(h.a)(k,t);let F;return n.disabled||(F=void 0!==j?j:-1),Object(y.jsx)(d.a.Provider,{value:S,children:Object(y.jsx)(w,Object(i.a)({ref:D,role:O,tabIndex:F,component:c,focusVisibleClassName:Object(a.default)(_.focusVisible,g)},C,{ownerState:A,classes:_}))})}));t.a=O},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(462)},function(e,t,n){"use strict";n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"c",(function(){return f}));var r=n(329);function i(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.substr(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(Object(r.a)(9,e));let i,a=e.substring(t+1,e.length-1);if("color"===n){if(a=a.split(" "),i=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].substr(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error(Object(r.a)(10,i))}else a=a.split(",");return a=a.map(e=>parseFloat(e)),{type:n,values:a,colorSpace:i}}function a(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=r[1]+"%",r[2]=r[2]+"%"),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:""+r.join(", "),`${t}(${r})`}function s(e){let t="hsl"===(e=o(e)).type?o(function(e){e=o(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),u=(e,t=(e+n/30)%12)=>i-s*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),a({type:c,values:l})}(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e,t){const n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(e,t){return e=o(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/"+t:e.values[3]=t,a(e)}function l(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return a(e)}function f(e,t=.15){return s(e)>.5?l(e,t):d(e,t)}},function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(0),a=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(1119),d=n(1120),f=n(1121),p=n(1123),h=n(1122),m=n(1248),b=n(110),g=n(706),v=n(5);const y=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],x={standard:l.a,filled:d.a,outlined:f.a},w=Object(u.a)(h.a,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),O=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiTextField"}),{autoComplete:u,autoFocus:l=!1,children:d,className:f,color:h="primary",defaultValue:O,disabled:j=!1,error:C=!1,FormHelperTextProps:E,fullWidth:S=!1,helperText:k,id:A,InputLabelProps:_,inputProps:D,InputProps:F,inputRef:R,label:P,maxRows:T,minRows:B,multiline:M=!1,name:N,onBlur:I,onChange:L,onFocus:z,placeholder:W,required:V=!1,rows:H,select:U=!1,SelectProps:q,type:$,value:G,variant:Y="outlined"}=n,K=Object(i.a)(n,y),X=Object(r.a)({},n,{autoFocus:l,color:h,disabled:j,error:C,fullWidth:S,multiline:M,required:V,select:U,variant:Y}),Z=(e=>{const{classes:t}=e;return Object(s.a)({root:["root"]},g.a,t)})(X);const Q={};if("outlined"===Y&&(_&&void 0!==_.shrink&&(Q.notched=_.shrink),P)){var J;const e=null!=(J=null==_?void 0:_.required)?J:V;Q.label=Object(v.jsxs)(o.Fragment,{children:[P,e&&" *"]})}U&&(q&&q.native||(Q.id=void 0),Q["aria-describedby"]=void 0);const ee=k&&A?A+"-helper-text":void 0,te=P&&A?A+"-label":void 0,ne=x[Y],re=Object(v.jsx)(ne,Object(r.a)({"aria-describedby":ee,autoComplete:u,autoFocus:l,defaultValue:O,fullWidth:S,multiline:M,name:N,rows:H,maxRows:T,minRows:B,type:$,value:G,id:A,inputRef:R,onBlur:I,onChange:L,onFocus:z,placeholder:W,inputProps:D},Q,F));return Object(v.jsxs)(w,Object(r.a)({className:Object(a.default)(Z.root,f),disabled:j,error:C,fullWidth:S,ref:t,required:V,color:h,variant:Y,ownerState:X},K,{children:[P&&Object(v.jsx)(p.a,Object(r.a)({htmlFor:A,id:te},_,{children:P})),U?Object(v.jsx)(b.a,Object(r.a)({"aria-describedby":ee,id:A,labelId:te,value:G,input:re},q,{children:d})):re,k&&Object(v.jsx)(m.a,Object(r.a)({id:ee},E,{children:k}))]}))}));t.a=O},function(e,t,n){"use strict";var r=n(408);t.a=r.a},,,,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(290),f=n(28),p=n(602),h=n(5);const m=["edge","children","className","color","disabled","disableFocusRipple","size"],b=Object(c.a)(d.a,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t["color"+Object(f.a)(n.color)],n.edge&&t["edge"+Object(f.a)(n.edge)],t["size"+Object(f.a)(n.size)]]}})(({theme:e,ownerState:t})=>Object(i.a)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(u.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}),({theme:e,ownerState:t})=>Object(i.a)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&{color:e.palette[t.color].main,"&:hover":{backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{["&."+p.a.disabled]:{backgroundColor:"transparent",color:e.palette.action.disabled}})),g=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiIconButton"}),{edge:o=!1,children:u,className:c,color:d="default",disabled:g=!1,disableFocusRipple:v=!1,size:y="medium"}=n,x=Object(r.a)(n,m),w=Object(i.a)({},n,{edge:o,color:d,disabled:g,disableFocusRipple:v,size:y}),O=(e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,a={root:["root",n&&"disabled","default"!==r&&"color"+Object(f.a)(r),i&&"edge"+Object(f.a)(i),"size"+Object(f.a)(o)]};return Object(s.a)(a,p.b,t)})(w);return Object(h.jsx)(b,Object(i.a)({className:Object(a.default)(O.root,c),centerRipple:!0,focusRipple:!v,disabled:g,ref:t,ownerState:w},x,{children:u}))}));t.a=g},,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(1),c=n(164),l=n(34),d=n(17),f=n(404),p=n(5);const h=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],m=Object(d.a)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+f.a.primary]:t.primary},{["& ."+f.a.secondary]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>Object(i.a)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),b=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiListItemText"}),{children:d,className:b,disableTypography:g=!1,inset:v=!1,primary:y,primaryTypographyProps:x,secondary:w,secondaryTypographyProps:O}=n,j=Object(r.a)(n,h),{dense:C}=o.useContext(c.a);let E=null!=y?y:d,S=w;const k=Object(i.a)({},n,{disableTypography:g,inset:v,primary:!!E,secondary:!!S,dense:C}),A=(e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:o}=e,a={root:["root",n&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]};return Object(s.a)(a,f.b,t)})(k);return null==E||E.type===u.a||g||(E=Object(p.jsx)(u.a,Object(i.a)({variant:C?"body2":"body1",className:A.primary,component:"span",display:"block"},x,{children:E}))),null==S||S.type===u.a||g||(S=Object(p.jsx)(u.a,Object(i.a)({variant:"body2",className:A.secondary,color:"text.secondary",display:"block"},O,{children:S}))),Object(p.jsxs)(m,Object(i.a)({className:Object(a.default)(A.root,b),ownerState:k,ref:t},j,{children:[E,S]}))}));t.a=b},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(243);function o(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){Object(i.a)(e,n),Object(i.a)(t,n)}}),[e,t])}},function(e,t,n){"use strict";var r,i,o,a,s,u=9e15,c="0123456789abcdef",l="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",d="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",f={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-u,maxE:u,crypto:!1},p=!0,h="[DecimalError] Invalid argument: ",m=Math.floor,b=Math.pow,g=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,v=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,y=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,x=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,w=1e7,O=l.length-1,j=d.length-1,C={};function E(e){var t,n,r,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;tn)throw Error(h+e)}function k(e,t,n,r){var i,o,a,s;for(o=e[0];o>=10;o/=10)--t;return--t<0?(t+=7,i=0):(i=Math.ceil((t+1)/7),t%=7),o=b(10,7-t),s=e[i]%o|0,null==r?t<3?(0==t?s=s/100|0:1==t&&(s=s/10|0),a=n<4&&99999==s||n>3&&49999==s||5e4==s||0==s):a=(n<4&&s+1==o||n>3&&s+1==o/2)&&(e[i+1]/o/100|0)==b(10,t-2)-1||(s==o/2||0==s)&&0==(e[i+1]/o/100|0):t<4?(0==t?s=s/1e3|0:1==t?s=s/100|0:2==t&&(s=s/10|0),a=(r||n<4)&&9999==s||!r&&n>3&&4999==s):a=((r||n<4)&&s+1==o||!r&&n>3&&s+1==o/2)&&(e[i+1]/o/1e3|0)==b(10,t-3)-1,a}function A(e,t,n){for(var r,i,o=[0],a=0,s=e.length;an-1&&(void 0===o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}C.absoluteValue=C.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),D(e)},C.ceil=function(){return D(new this.constructor(this),this.e+1,2)},C.comparedTo=C.cmp=function(e){var t,n,r,i,o=this,a=o.d,s=(e=new o.constructor(e)).d,u=o.s,c=e.s;if(!a||!s)return u&&c?u!==c?u:a===s?0:!a^u<0?1:-1:NaN;if(!a[0]||!s[0])return a[0]?u:s[0]?-c:0;if(u!==c)return u;if(o.e!==e.e)return o.e>e.e^u<0?1:-1;for(t=0,n=(r=a.length)<(i=s.length)?r:i;ts[t]^u<0?1:-1;return r===i?0:r>i^u<0?1:-1},C.cosine=C.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r,i=t.d.length;i<32?(n=Math.ceil(i/3),r=Math.pow(4,-n).toString()):(n=16,r="2.3283064365386962890625e-10");e.precision+=n,t=q(e,1,t.times(r),new e(1));for(var o=n;o--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=n,t}(r,$(r,n)),r.precision=e,r.rounding=t,D(2==s||3==s?n.neg():n,e,t,!0)):new r(1):new r(NaN)},C.cubeRoot=C.cbrt=function(){var e,t,n,r,i,o,a,s,u,c,l=this,d=l.constructor;if(!l.isFinite()||l.isZero())return new d(l);for(p=!1,(o=l.s*Math.pow(l.s*l,1/3))&&Math.abs(o)!=1/0?r=new d(o.toString()):(n=E(l.d),(o=((e=l.e)-n.length+1)%3)&&(n+=1==o||-2==o?"0":"00"),o=Math.pow(n,1/3),e=m((e+1)/3)-(e%3==(e<0?-1:2)),(r=new d(n=o==1/0?"5e"+e:(n=o.toExponential()).slice(0,n.indexOf("e")+1)+e)).s=l.s),a=(e=d.precision)+3;;)if(c=(u=(s=r).times(s).times(s)).plus(l),r=_(c.plus(l).times(s),c.plus(u),a+2,1),E(s.d).slice(0,a)===(n=E(r.d)).slice(0,a)){if("9999"!=(n=n.slice(a-3,a+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(D(r,e+1,1),t=!r.times(r).times(r).eq(l));break}if(!i&&(D(s,e+1,0),s.times(s).times(s).eq(l))){r=s;break}a+=4,i=1}return p=!0,D(r,e,d.rounding,t)},C.decimalPlaces=C.dp=function(){var e,t=this.d,n=NaN;if(t){if(n=7*((e=t.length-1)-m(this.e/7)),e=t[e])for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n},C.dividedBy=C.div=function(e){return _(this,new this.constructor(e))},C.dividedToIntegerBy=C.divToInt=function(e){var t=this.constructor;return D(_(this,new t(e),0,1,1),t.precision,t.rounding)},C.equals=C.eq=function(e){return 0===this.cmp(e)},C.floor=function(){return D(new this.constructor(this),this.e+1,3)},C.greaterThan=C.gt=function(e){return this.cmp(e)>0},C.greaterThanOrEqualTo=C.gte=function(e){var t=this.cmp(e);return 1==t||0===t},C.hyperbolicCosine=C.cosh=function(){var e,t,n,r,i,o=this,a=o.constructor,s=new a(1);if(!o.isFinite())return new a(o.s?1/0:NaN);if(o.isZero())return s;n=a.precision,r=a.rounding,a.precision=n+Math.max(o.e,o.sd())+4,a.rounding=1,(i=o.d.length)<32?(e=Math.ceil(i/3),t=Math.pow(4,-e).toString()):(e=16,t="2.3283064365386962890625e-10"),o=q(a,1,o.times(t),new a(1),!0);for(var u,c=e,l=new a(8);c--;)u=o.times(o),o=s.minus(u.times(l.minus(u.times(l))));return D(o,a.precision=n,a.rounding=r,!0)},C.hyperbolicSine=C.sinh=function(){var e,t,n,r,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(t=o.precision,n=o.rounding,o.precision=t+Math.max(i.e,i.sd())+4,o.rounding=1,(r=i.d.length)<3)i=q(o,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=q(o,2,i=i.times(Math.pow(5,-e)),i,!0);for(var a,s=new o(5),u=new o(16),c=new o(20);e--;)a=i.times(i),i=i.times(s.plus(a.times(u.times(a).plus(c))))}return o.precision=t,o.rounding=n,D(i,t,n,!0)},C.hyperbolicTangent=C.tanh=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,_(n.sinh(),n.cosh(),r.precision=e,r.rounding=t)):new r(n.s)},C.inverseCosine=C.acos=function(){var e,t=this,n=t.constructor,r=t.abs().cmp(1),i=n.precision,o=n.rounding;return-1!==r?0===r?t.isNeg()?T(n,i,o):new n(0):new n(NaN):t.isZero()?T(n,i+4,o).times(.5):(n.precision=i+6,n.rounding=1,t=t.asin(),e=T(n,i+4,o).times(.5),n.precision=i,n.rounding=o,e.minus(t))},C.inverseHyperbolicCosine=C.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,p=!1,n=n.times(n).minus(1).sqrt().plus(n),p=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)},C.inverseHyperbolicSine=C.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,p=!1,n=n.times(n).plus(1).sqrt().plus(n),p=!0,r.precision=e,r.rounding=t,n.ln())},C.inverseHyperbolicTangent=C.atanh=function(){var e,t,n,r,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=o.precision,t=o.rounding,r=i.sd(),Math.max(r,e)<2*-i.e-1?D(new o(i),e,t,!0):(o.precision=n=r-i.e,i=_(i.plus(1),new o(1).minus(i),n+e,1),o.precision=e+4,o.rounding=1,i=i.ln(),o.precision=e,o.rounding=t,i.times(.5))):new o(NaN)},C.inverseSine=C.asin=function(){var e,t,n,r,i=this,o=i.constructor;return i.isZero()?new o(i):(t=i.abs().cmp(1),n=o.precision,r=o.rounding,-1!==t?0===t?((e=T(o,n+4,r).times(.5)).s=i.s,e):new o(NaN):(o.precision=n+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=n,o.rounding=r,i.times(2)))},C.inverseTangent=C.atan=function(){var e,t,n,r,i,o,a,s,u,c=this,l=c.constructor,d=l.precision,f=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&d+4<=j)return(a=T(l,d+4,f).times(.25)).s=c.s,a}else{if(!c.s)return new l(NaN);if(d+4<=j)return(a=T(l,d+4,f).times(.5)).s=c.s,a}for(l.precision=s=d+10,l.rounding=1,e=n=Math.min(28,s/7+2|0);e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(p=!1,t=Math.ceil(s/7),r=1,u=c.times(c),a=new l(c),i=c;-1!==e;)if(i=i.times(u),o=a.minus(i.div(r+=2)),i=i.times(u),void 0!==(a=o.plus(i.div(r+=2))).d[t])for(e=t;a.d[e]===o.d[e]&&e--;);return n&&(a=a.times(2<this.d.length-2},C.isNaN=function(){return!this.s},C.isNegative=C.isNeg=function(){return this.s<0},C.isPositive=C.isPos=function(){return this.s>0},C.isZero=function(){return!!this.d&&0===this.d[0]},C.lessThan=C.lt=function(e){return this.cmp(e)<0},C.lessThanOrEqualTo=C.lte=function(e){return this.cmp(e)<1},C.logarithm=C.log=function(e){var t,n,r,i,o,a,s,u,c=this.constructor,l=c.precision,d=c.rounding;if(null==e)e=new c(10),t=!0;else{if(n=(e=new c(e)).d,e.s<0||!n||!n[0]||e.eq(1))return new c(NaN);t=e.eq(10)}if(n=this.d,this.s<0||!n||!n[0]||this.eq(1))return new c(n&&!n[0]?-1/0:1!=this.s?NaN:n?0:1/0);if(t)if(n.length>1)o=!0;else{for(i=n[0];i%10==0;)i/=10;o=1!==i}if(p=!1,a=W(this,s=l+5),r=t?P(c,s+10):W(e,s),k((u=_(a,r,s,1)).d,i=l,d))do{if(a=W(this,s+=10),r=t?P(c,s+10):W(e,s),u=_(a,r,s,1),!o){+E(u.d).slice(i+1,i+15)+1==1e14&&(u=D(u,l+1,0));break}}while(k(u.d,i+=10,d));return p=!0,D(u,l,d)},C.minus=C.sub=function(e){var t,n,r,i,o,a,s,u,c,l,d,f,h=this,b=h.constructor;if(e=new b(e),!h.d||!e.d)return h.s&&e.s?h.d?e.s=-e.s:e=new b(e.d||h.s!==e.s?h:NaN):e=new b(NaN),e;if(h.s!=e.s)return e.s=-e.s,h.plus(e);if(c=h.d,f=e.d,s=b.precision,u=b.rounding,!c[0]||!f[0]){if(f[0])e.s=-e.s;else{if(!c[0])return new b(3===u?-0:0);e=new b(h)}return p?D(e,s,u):e}if(n=m(e.e/7),l=m(h.e/7),c=c.slice(),o=l-n){for((d=o<0)?(t=c,o=-o,a=f.length):(t=f,n=l,a=c.length),o>(r=Math.max(Math.ceil(s/7),a)+2)&&(o=r,t.length=1),t.reverse(),r=o;r--;)t.push(0);t.reverse()}else{for((d=(r=c.length)<(a=f.length))&&(a=r),r=0;r0;--r)c[a++]=0;for(r=f.length;r>o;){if(c[--r](a=(o=Math.ceil(s/7))>a?o+1:a+1)&&(i=a,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((a=c.length)-(i=l.length)<0&&(i=a,n=l,l=c,c=n),t=0;i;)t=(c[--i]=c[i]+l[i]+t)/w|0,c[i]%=w;for(t&&(c.unshift(t),++r),a=c.length;0==c[--a];)c.pop();return e.d=c,e.e=R(c,r),p?D(e,s,u):e},C.precision=C.sd=function(e){var t,n=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(h+e);return n.d?(t=B(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t},C.round=function(){var e=this,t=e.constructor;return D(new t(e),e.e+1,t.rounding)},C.sine=C.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r=t.d.length;if(r<3)return q(e,2,t,t);n=(n=1.4*Math.sqrt(r))>16?16:0|n,t=t.times(Math.pow(5,-n)),t=q(e,2,t,t);for(var i,o=new e(5),a=new e(16),s=new e(20);n--;)i=t.times(t),t=t.times(o.plus(i.times(a.times(i).minus(s))));return t}(r,$(r,n)),r.precision=e,r.rounding=t,D(s>2?n.neg():n,e,t,!0)):new r(NaN)},C.squareRoot=C.sqrt=function(){var e,t,n,r,i,o,a=this,s=a.d,u=a.e,c=a.s,l=a.constructor;if(1!==c||!s||!s[0])return new l(!c||c<0&&(!s||s[0])?NaN:s?a:1/0);for(p=!1,0==(c=Math.sqrt(+a))||c==1/0?(((t=E(s)).length+u)%2==0&&(t+="0"),c=Math.sqrt(t),u=m((u+1)/2)-(u<0||u%2),r=new l(t=c==1/0?"1e"+u:(t=c.toExponential()).slice(0,t.indexOf("e")+1)+u)):r=new l(c.toString()),n=(u=l.precision)+3;;)if(r=(o=r).plus(_(a,o,n+2,1)).times(.5),E(o.d).slice(0,n)===(t=E(r.d)).slice(0,n)){if("9999"!=(t=t.slice(n-3,n+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(D(r,u+1,1),e=!r.times(r).eq(a));break}if(!i&&(D(o,u+1,0),o.times(o).eq(a))){r=o;break}n+=4,i=1}return p=!0,D(r,u,l.rounding,e)},C.tangent=C.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,(n=n.sin()).s=1,n=_(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,D(2==s||4==s?n.neg():n,e,t,!0)):new r(NaN)},C.times=C.mul=function(e){var t,n,r,i,o,a,s,u,c,l=this,d=l.constructor,f=l.d,h=(e=new d(e)).d;if(e.s*=l.s,!(f&&f[0]&&h&&h[0]))return new d(!e.s||f&&!f[0]&&!h||h&&!h[0]&&!f?NaN:f&&h?0*e.s:e.s/0);for(n=m(l.e/7)+m(e.e/7),(u=f.length)<(c=h.length)&&(o=f,f=h,h=o,a=u,u=c,c=a),o=[],r=a=u+c;r--;)o.push(0);for(r=c;--r>=0;){for(t=0,i=u+r;i>r;)s=o[i]+h[r]*f[i-r-1]+t,o[i--]=s%w|0,t=s/w|0;o[i]=(o[i]+t)%w|0}for(;!o[--a];)o.pop();return t?++n:o.shift(),e.d=o,e.e=R(o,n),p?D(e,d.precision,d.rounding):e},C.toBinary=function(e,t){return G(this,2,e,t)},C.toDecimalPlaces=C.toDP=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(S(e,0,1e9),void 0===t?t=r.rounding:S(t,0,8),D(n,e+n.e+1,t))},C.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=F(r,!0):(S(e,0,1e9),void 0===t?t=i.rounding:S(t,0,8),n=F(r=D(new i(r),e+1,t),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+n:n},C.toFixed=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?n=F(i):(S(e,0,1e9),void 0===t?t=o.rounding:S(t,0,8),n=F(r=D(new o(i),e+i.e+1,t),!1,e+r.e+1)),i.isNeg()&&!i.isZero()?"-"+n:n},C.toFraction=function(e){var t,n,r,i,o,a,s,u,c,l,d,f,m=this,g=m.d,v=m.constructor;if(!g)return new v(m);if(c=n=new v(1),r=u=new v(0),a=(o=(t=new v(r)).e=B(g)-m.e-1)%7,t.d[0]=b(10,a<0?7+a:a),null==e)e=o>0?t:c;else{if(!(s=new v(e)).isInt()||s.lt(c))throw Error(h+s);e=s.gt(t)?o>0?t:c:s}for(p=!1,s=new v(E(g)),l=v.precision,v.precision=o=7*g.length*2;d=_(s,t,0,1,1),1!=(i=n.plus(d.times(r))).cmp(e);)n=r,r=i,i=c,c=u.plus(d.times(i)),u=i,i=t,t=s.minus(d.times(i)),s=i;return i=_(e.minus(n),r,0,1,1),u=u.plus(i.times(c)),n=n.plus(i.times(r)),u.s=c.s=m.s,f=_(c,r,o,1).minus(m).abs().cmp(_(u,n,o,1).minus(m).abs())<1?[c,r]:[u,n],v.precision=l,p=!0,f},C.toHexadecimal=C.toHex=function(e,t){return G(this,16,e,t)},C.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),null==e){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),void 0!==t&&S(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(p=!1,t<4&&(t=[4,5,7,8][t]),n=_(n,e,0,t,1).times(e),p=!0,D(n)):(e.s=n.s,n=e),n},C.toNumber=function(){return+this},C.toOctal=function(e,t){return G(this,8,e,t)},C.toPower=C.pow=function(e){var t,n,r,i,o,a,s=this,u=s.constructor,c=+(e=new u(e));if(!(s.d&&e.d&&s.d[0]&&e.d[0]))return new u(b(+s,c));if((s=new u(s)).eq(1))return s;if(r=u.precision,o=u.rounding,e.eq(1))return D(s,r,o);if((t=m(e.e/7))>=e.d.length-1&&(n=c<0?-c:c)<=9007199254740991)return i=N(u,s,n,r),e.s<0?new u(1).div(i):D(i,r,o);if((a=s.s)<0){if(tu.maxE+1||t0?a/0:0):(p=!1,u.rounding=s.s=1,n=Math.min(12,(t+"").length),(i=z(e.times(W(s,r+n)),r)).d&&k((i=D(i,r+5,1)).d,r,o)&&(t=r+10,+E((i=D(z(e.times(W(s,t+n)),t),t+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=D(i,r+1,0))),i.s=a,p=!0,u.rounding=o,D(i,r,o))},C.toPrecision=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=F(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(S(e,1,1e9),void 0===t?t=i.rounding:S(t,0,8),n=F(r=D(new i(r),e,t),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+n:n},C.toSignificantDigits=C.toSD=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(S(e,1,1e9),void 0===t?t=n.rounding:S(t,0,8)),D(new n(this),e,t)},C.toString=function(){var e=this,t=e.constructor,n=F(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+n:n},C.truncated=C.trunc=function(){return D(new this.constructor(this),this.e+1,1)},C.valueOf=C.toJSON=function(){var e=this,t=e.constructor,n=F(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+n:n};var _=function(){function e(e,t,n){var r,i=0,o=e.length;for(e=e.slice();o--;)r=e[o]*t+i,e[o]=r%n|0,i=r/n|0;return i&&e.unshift(i),e}function t(e,t,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;it[i]?1:-1;break}return o}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=e[n]1;)e.shift()}return function(r,i,o,s,u,c){var l,d,f,p,h,b,g,v,y,x,O,j,C,E,S,k,A,_,F,R,P=r.constructor,T=r.s==i.s?1:-1,B=r.d,M=i.d;if(!(B&&B[0]&&M&&M[0]))return new P(r.s&&i.s&&(B?!M||B[0]!=M[0]:M)?B&&0==B[0]||!M?0*T:T/0:NaN);for(c?(h=1,d=r.e-i.e):(c=w,h=7,d=m(r.e/h)-m(i.e/h)),F=M.length,A=B.length,x=(y=new P(T)).d=[],f=0;M[f]==(B[f]||0);f++);if(M[f]>(B[f]||0)&&d--,null==o?(E=o=P.precision,s=P.rounding):E=u?o+(r.e-i.e)+1:o,E<0)x.push(1),b=!0;else{if(E=E/h+2|0,f=0,1==F){for(p=0,M=M[0],E++;(f1&&(M=e(M,p,c),B=e(B,p,c),F=M.length,A=B.length),k=F,j=(O=B.slice(0,F)).length;j=c/2&&++_;do{p=0,(l=t(M,O,F,j))<0?(C=O[0],F!=j&&(C=C*c+(O[1]||0)),(p=C/_|0)>1?(p>=c&&(p=c-1),1==(l=t(g=e(M,p,c),O,v=g.length,j=O.length))&&(p--,n(g,F=10;p/=10)f++;y.e=f+d*h-1,D(y,u?o+y.e+1:o,s,b)}return y}}();function D(e,t,n,r){var i,o,a,s,u,c,l,d,f,h=e.constructor;e:if(null!=t){if(!(d=e.d))return e;for(i=1,s=d[0];s>=10;s/=10)i++;if((o=t-i)<0)o+=7,a=t,u=(l=d[f=0])/b(10,i-a-1)%10|0;else if((f=Math.ceil((o+1)/7))>=(s=d.length)){if(!r)break e;for(;s++<=f;)d.push(0);l=u=0,i=1,a=(o%=7)-7+1}else{for(l=s=d[f],i=1;s>=10;s/=10)i++;u=(a=(o%=7)-7+i)<0?0:l/b(10,i-a-1)%10|0}if(r=r||t<0||void 0!==d[f+1]||(a<0?l:l%b(10,i-a-1)),c=n<4?(u||r)&&(0==n||n==(e.s<0?3:2)):u>5||5==u&&(4==n||r||6==n&&(o>0?a>0?l/b(10,i-a):0:d[f-1])%10&1||n==(e.s<0?8:7)),t<1||!d[0])return d.length=0,c?(t-=e.e+1,d[0]=b(10,(7-t%7)%7),e.e=-t||0):d[0]=e.e=0,e;if(0==o?(d.length=f,s=1,f--):(d.length=f+1,s=b(10,7-o),d[f]=a>0?(l/b(10,i-a)%b(10,a)|0)*s:0),c)for(;;){if(0==f){for(o=1,a=d[0];a>=10;a/=10)o++;for(a=d[0]+=s,s=1;a>=10;a/=10)s++;o!=s&&(e.e++,d[0]==w&&(d[0]=1));break}if(d[f]+=s,d[f]!=w)break;d[f--]=0,s=1}for(o=d.length;0===d[--o];)d.pop()}return p&&(e.e>h.maxE?(e.d=null,e.e=NaN):e.e0?o=o.charAt(0)+"."+o.slice(1)+M(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(e.e<0?"e":"e+")+e.e):i<0?(o="0."+M(-i-1)+o,n&&(r=n-a)>0&&(o+=M(r))):i>=a?(o+=M(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+M(r))):((r=i+1)0&&(i+1===a&&(o+="."),o+=M(r))),o}function R(e,t){var n=e[0];for(t*=7;n>=10;n/=10)t++;return t}function P(e,t,n){if(t>O)throw p=!0,n&&(e.precision=n),Error("[DecimalError] Precision limit exceeded");return D(new e(i),t,1,!0)}function T(e,t,n){if(t>j)throw Error("[DecimalError] Precision limit exceeded");return D(new e(o),t,n,!0)}function B(e){var t=e.length-1,n=7*t+1;if(t=e[t]){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function M(e){for(var t="";e--;)t+="0";return t}function N(e,t,n,r){var i,o=new e(1),a=Math.ceil(r/7+4);for(p=!1;;){if(n%2&&Y((o=o.times(t)).d,a)&&(i=!0),0===(n=m(n/2))){n=o.d.length-1,i&&0===o.d[n]&&++o.d[n];break}Y((t=t.times(t)).d,a)}return p=!0,o}function I(e){return 1&e.d[e.d.length-1]}function L(e,t,n){for(var r,i=new e(t[0]),o=0;++o17)return new f(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==t?(p=!1,u=m):u=t,s=new f(.03125);e.e>-2;)e=e.times(s),d+=5;for(u+=r=Math.log(b(2,d))/Math.LN10*2+5|0,n=o=a=new f(1),f.precision=u;;){if(o=D(o.times(e),u,1),n=n.times(++l),E((s=a.plus(_(o,n,u,1))).d).slice(0,u)===E(a.d).slice(0,u)){for(i=d;i--;)a=D(a.times(a),u,1);if(null!=t)return f.precision=m,a;if(!(c<3&&k(a.d,u-r,h,c)))return D(a,f.precision=m,h,p=!0);f.precision=u+=10,n=o=s=new f(1),l=0,c++}a=s}}function W(e,t){var n,r,i,o,a,s,u,c,l,d,f,h=1,m=e,b=m.d,g=m.constructor,v=g.rounding,y=g.precision;if(m.s<0||!b||!b[0]||!m.e&&1==b[0]&&1==b.length)return new g(b&&!b[0]?-1/0:1!=m.s?NaN:b?0:m);if(null==t?(p=!1,l=y):l=t,g.precision=l+=10,r=(n=E(b)).charAt(0),!(Math.abs(o=m.e)<15e14))return c=P(g,l+2,y).times(o+""),m=W(new g(r+"."+n.slice(1)),l-10).plus(c),g.precision=y,null==t?D(m,y,v,p=!0):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=E((m=m.times(e)).d)).charAt(0),h++;for(o=m.e,r>1?(m=new g("0."+n),o++):m=new g(r+"."+n.slice(1)),d=m,u=a=m=_(m.minus(1),m.plus(1),l,1),f=D(m.times(m),l,1),i=3;;){if(a=D(a.times(f),l,1),E((c=u.plus(_(a,new g(i),l,1))).d).slice(0,l)===E(u.d).slice(0,l)){if(u=u.times(2),0!==o&&(u=u.plus(P(g,l+2,y).times(o+""))),u=_(u,new g(h),l,1),null!=t)return g.precision=y,u;if(!k(u.d,l-10,v,s))return D(u,g.precision=y,v,p=!0);g.precision=l+=10,c=a=m=_(d.minus(1),d.plus(1),l,1),f=D(m.times(m),l,1),i=s=1}u=c,i+=2}}function V(e){return String(e.s*e.s/0)}function H(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);r++);for(i=t.length;48===t.charCodeAt(i-1);--i);if(t=t.slice(r,i)){if(i-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%7,n<0&&(r+=7),re.constructor.maxE?(e.d=null,e.e=NaN):e.e0?(c=+t.slice(a+1),t=t.substring(2,a)):t=t.slice(2),s=(a=t.indexOf("."))>=0,i=e.constructor,s&&(a=(u=(t=t.replace(".","")).length)-a,o=N(i,new i(n),a,2*a)),a=d=(l=A(t,n,w)).length-1;0===l[a];--a)l.pop();return a<0?new i(0*e.s):(e.e=R(l,d),e.d=l,p=!1,s&&(e=_(e,o,4*u)),c&&(e=e.times(Math.abs(c)<54?Math.pow(2,c):r.pow(2,c))),p=!0,e)}function q(e,t,n,r,i){var o,a,s,u,c=e.precision,l=Math.ceil(c/7);for(p=!1,u=n.times(n),s=new e(r);;){if(a=_(s.times(u),new e(t++*t++),c,1),s=i?r.plus(a):r.minus(a),r=_(a.times(u),new e(t++*t++),c,1),void 0!==(a=s.plus(r)).d[l]){for(o=l;a.d[o]===s.d[o]&&o--;);if(-1==o)break}o=s,s=r,r=a,a=o}return p=!0,a.d.length=l+1,a}function $(e,t){var n,r=t.s<0,i=T(e,e.precision,1),o=i.times(.5);if((t=t.abs()).lte(o))return s=r?4:1,t;if((n=t.divToInt(i)).isZero())s=r?3:2;else{if((t=t.minus(n.times(i))).lte(o))return s=I(n)?r?2:3:r?4:1,t;s=I(n)?r?1:4:r?3:2}return t.minus(i).abs()}function G(e,t,n,r){var i,o,s,u,l,d,f,p,h,m=e.constructor,b=void 0!==n;if(b?(S(n,1,1e9),void 0===r?r=m.rounding:S(r,0,8)):(n=m.precision,r=m.rounding),e.isFinite()){for(b?(i=2,16==t?n=4*n-3:8==t&&(n=3*n-2)):i=t,(s=(f=F(e)).indexOf("."))>=0&&(f=f.replace(".",""),(h=new m(1)).e=f.length-s,h.d=A(F(h),10,i),h.e=h.d.length),o=l=(p=A(f,10,i)).length;0==p[--l];)p.pop();if(p[0]){if(s<0?o--:((e=new m(e)).d=p,e.e=o,p=(e=_(e,h,n,r,0,i)).d,o=e.e,d=a),s=p[n],u=i/2,d=d||void 0!==p[n+1],d=r<4?(void 0!==s||d)&&(0===r||r===(e.s<0?3:2)):s>u||s===u&&(4===r||d||6===r&&1&p[n-1]||r===(e.s<0?8:7)),p.length=n,d)for(;++p[--n]>i-1;)p[n]=0,n||(++o,p.unshift(1));for(l=p.length;!p[l-1];--l);for(s=0,f="";s1)if(16==t||8==t){for(s=16==t?4:3,--l;l%s;l++)f+="0";for(l=(p=A(f,i,t)).length;!p[l-1];--l);for(s=1,f="1.";sl)for(o-=l;o--;)f+="0";else ot)return e.length=t,!0}function K(e){return new this(e).abs()}function X(e){return new this(e).acos()}function Z(e){return new this(e).acosh()}function Q(e,t){return new this(e).plus(t)}function J(e){return new this(e).asin()}function ee(e){return new this(e).asinh()}function te(e){return new this(e).atan()}function ne(e){return new this(e).atanh()}function re(e,t){e=new this(e),t=new this(t);var n,r=this.precision,i=this.rounding,o=r+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(n=t.s<0?T(this,r,i):new this(0)).s=e.s:!e.d||t.isZero()?(n=T(this,o,1).times(.5)).s=e.s:t.s<0?(this.precision=o,this.rounding=1,n=this.atan(_(e,t,o,1)),t=T(this,o,1),this.precision=r,this.rounding=i,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(_(e,t,o,1)):(n=T(this,o,1).times(t.s>0?.25:.75)).s=e.s:n=new this(NaN),n}function ie(e){return new this(e).cbrt()}function oe(e){return D(e=new this(e),e.e+1,2)}function ae(e){if(!e||"object"!=typeof e)throw Error("[DecimalError] Object expected");var t,n,r,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-u,0,"toExpPos",0,u,"maxE",0,u,"minE",-u,0,"modulo",0,9];for(t=0;t=i[t+1]&&r<=i[t+2]))throw Error(h+n+": "+r);this[n]=r}if(void 0!==(r=e[n="crypto"])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(h+n+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error("[DecimalError] crypto unavailable");this[n]=!0}else this[n]=!1}return this}function se(e){return new this(e).cos()}function ue(e){return new this(e).cosh()}function ce(e,t){return new this(e).div(t)}function le(e){return new this(e).exp()}function de(e){return D(e=new this(e),e.e+1,3)}function fe(){var e,t,n=new this(0);for(p=!1,e=0;e=429e7?t[o]=crypto.getRandomValues(new Uint32Array(1))[0]:s[o++]=i%1e7;else{if(!crypto.randomBytes)throw Error("[DecimalError] crypto unavailable");for(t=crypto.randomBytes(r*=4);o=214e7?crypto.randomBytes(4).copy(t,o):(s.push(i%1e7),o+=4);o=r/4}else for(;o=10;i/=10)r++;r<7&&(n-=7-r)}return a.e=n,a.d=s,a}function je(e){return D(e=new this(e),e.e+1,this.rounding)}function Ce(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function Ee(e){return new this(e).sin()}function Se(e){return new this(e).sinh()}function ke(e){return new this(e).sqrt()}function Ae(e,t){return new this(e).sub(t)}function _e(e){return new this(e).tan()}function De(e){return new this(e).tanh()}function Fe(e){return D(e=new this(e),e.e+1,1)}r=function e(t){var n,r,i;function o(e){var t,n,r,i=this;if(!(i instanceof o))return new o(e);if(i.constructor=o,e instanceof o)return i.s=e.s,i.e=e.e,void(i.d=(e=e.d)?e.slice():e);if("number"===(r=typeof e)){if(0===e)return i.s=1/e<0?-1:1,i.e=0,void(i.d=[0]);if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(t=0,n=e;n>=10;n/=10)t++;return i.e=t,void(i.d=[e])}return 0*e!=0?(e||(i.s=NaN),i.e=NaN,void(i.d=null)):H(i,e.toString())}if("string"!==r)throw Error(h+e);return 45===e.charCodeAt(0)?(e=e.slice(1),i.s=-1):i.s=1,x.test(e)?H(i,e):U(i,e)}if(o.prototype=C,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=ae,o.clone=e,o.abs=K,o.acos=X,o.acosh=Z,o.add=Q,o.asin=J,o.asinh=ee,o.atan=te,o.atanh=ne,o.atan2=re,o.cbrt=ie,o.ceil=oe,o.cos=se,o.cosh=ue,o.div=ce,o.exp=le,o.floor=de,o.hypot=fe,o.ln=pe,o.log=he,o.log10=be,o.log2=me,o.max=ge,o.min=ve,o.mod=ye,o.mul=xe,o.pow=we,o.random=Oe,o.round=je,o.sign=Ce,o.sin=Ee,o.sinh=Se,o.sqrt=ke,o.sub=Ae,o.tan=_e,o.tanh=De,o.trunc=Fe,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n{const{classes:t}=e;return Object(l.a)({root:["root"]},w.b,t)})(Object(o.a)({},n,{classes:k})),Z=Object(a.a)(k,C),Q=Object(x.a)(t,K.ref);return s.cloneElement(K,Object(o.a)({inputComponent:$,inputProps:Object(o.a)({children:S,IconComponent:D,variant:Y,type:void 0,multiple:N},I?{id:F}:{autoWidth:E,displayEmpty:_,labelId:B,MenuProps:M,onClose:L,onOpen:z,open:W,renderValue:V,SelectDisplayProps:Object(o.a)({id:F},H)},P,{classes:P?Object(c.a)(Z,P.classes):Z},R?R.props.inputProps:{})},N&&I&&"outlined"===Y?{notched:!0}:{},{ref:Q,className:Object(u.default)(X.root,K.props.className,A)},q))}));E.muiName="Select",t.a=E},,,,,,,function(e,t,n){"use strict";t.a=function(e){return"string"==typeof e}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(18),i=n(3),o=n(0),a=n(142),s=n(1115),u=n(360),c=n(561),l=n(1234),d=n(700),f=n(1232),p=n(577);const h=["name","classNamePrefix","Component","defaultTheme"];function m(e,t={}){const{name:n,classNamePrefix:m,Component:b,defaultTheme:g=p.a}=t,v=Object(r.a)(t,h),y=Object(f.a)(e),x=n||m||"makeStyles";y.options={index:Object(d.a)(),name:n,meta:x,classNamePrefix:x};return(e={})=>{const t=Object(c.a)()||g,r=Object(i.a)({},o.useContext(l.a),v),d=o.useRef(),f=o.useRef();!function(e,t){const n=o.useRef([]);let r;const i=o.useMemo(()=>({}),t);n.current!==i&&(n.current=i,r=e()),o.useEffect(()=>()=>{r&&r()},[i])}(()=>{const o={name:n,state:{},stylesCreator:y,stylesOptions:r,theme:t};return function({state:e,theme:t,stylesOptions:n,stylesCreator:r,name:o},c){if(n.disableGeneration)return;let l=u.a.get(n.sheetsManager,r,t);l||(l={refs:0,staticSheet:null,dynamicStyles:null},u.a.set(n.sheetsManager,r,t,l));const d=Object(i.a)({},r.options,n,{theme:t,flip:"boolean"==typeof n.flip?n.flip:"rtl"===t.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;const f=n.sheetsRegistry;if(0===l.refs){let e;n.sheetsCache&&(e=u.a.get(n.sheetsCache,r,t));const s=r.create(t,o);e||(e=n.jss.createStyleSheet(s,Object(i.a)({link:!1},d)),e.attach(),n.sheetsCache&&u.a.set(n.sheetsCache,r,t,e)),f&&f.add(e),l.staticSheet=e,l.dynamicStyles=Object(a.d)(s)}if(l.dynamicStyles){const t=n.jss.createStyleSheet(l.dynamicStyles,Object(i.a)({link:!0},d));t.update(c),t.attach(),e.dynamicSheet=t,e.classes=Object(s.a)({baseClasses:l.staticSheet.classes,newClasses:t.classes}),f&&f.add(t)}else e.classes=l.staticSheet.classes;l.refs+=1}(o,e),f.current=!1,d.current=o,()=>{!function({state:e,theme:t,stylesOptions:n,stylesCreator:r}){if(n.disableGeneration)return;const i=u.a.get(n.sheetsManager,r,t);i.refs-=1;const o=n.sheetsRegistry;0===i.refs&&(u.a.delete(n.sheetsManager,r,t),n.jss.removeStyleSheet(i.staticSheet),o&&o.remove(i.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),o&&o.remove(e.dynamicSheet))}(o)}},[t,y]),o.useEffect(()=>{f.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(d.current,e),f.current=!0});return function({state:e,stylesOptions:t},n,r){if(t.disableGeneration)return n||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,i=!0),n!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=n,i=!0),i&&(e.cacheClasses.value=Object(s.a)({baseClasses:e.cacheClasses.lastJSS,newClasses:n,Component:r})),e.cacheClasses.value}(d.current,e.classes,b)}}},,,,,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),o=n(5),a=(0,i.default)((0,o.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");t.default=a},,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return d}));var r=n(410);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,e));var i=e.substring(t+1,e.length-1).split(",");return{type:n,values:i=i.map((function(e){return parseFloat(e)}))}}function a(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function s(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=o(e)).type?o(function(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-s*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),a({type:c,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){return e=o(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,a(e)}function l(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return a(e)}},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(544),d=n(164),f=n(5);const p=["className"],h=Object(u.a)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>Object(i.a)({minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})),m=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiListItemIcon"}),{className:u}=n,m=Object(r.a)(n,p),b=o.useContext(d.a),g=Object(i.a)({},n,{alignItems:b.alignItems}),v=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return Object(s.a)(r,l.b,n)})(g);return Object(f.jsx)(h,Object(i.a)({className:Object(a.default)(v.root,u),ownerState:g,ref:t},m))}));t.a=m},,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(28),l=n(814),d=n(34),f=n(17),p=n(173),h=n(5);const m=["className","color","edge","size","sx"],b=Object(f.a)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t["edge"+Object(c.a)(n.edge)],t["size"+Object(c.a)(n.size)]]}})(({ownerState:e})=>Object(i.a)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===e.edge&&{marginLeft:-8},"end"===e.edge&&{marginRight:-8},"small"===e.size&&{width:40,height:24,padding:7,["& ."+p.a.thumb]:{width:16,height:16},["& ."+p.a.switchBase]:{padding:4,["&."+p.a.checked]:{transform:"translateX(16px)"}}})),g=Object(f.a)(l.a,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{["& ."+p.a.input]:t.input},"default"!==n.color&&t["color"+Object(c.a)(n.color)]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),["&."+p.a.checked]:{transform:"translateX(20px)"},["&."+p.a.disabled]:{color:"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]},[`&.${p.a.checked} + .${p.a.track}`]:{opacity:.5},[`&.${p.a.disabled} + .${p.a.track}`]:{opacity:"light"===e.palette.mode?.12:.2},["& ."+p.a.input]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>Object(i.a)({"&:hover":{backgroundColor:Object(u.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{["&."+p.a.checked]:{color:e.palette[t.color].main,"&:hover":{backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},["&."+p.a.disabled]:{color:"light"===e.palette.mode?Object(u.e)(e.palette[t.color].main,.62):Object(u.b)(e.palette[t.color].main,.55)}},[`&.${p.a.checked} + .${p.a.track}`]:{backgroundColor:e.palette[t.color].main}})),v=Object(f.a)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.mode?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.mode?.38:.3})),y=Object(f.a)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),x=o.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiSwitch"}),{className:o,color:u="primary",edge:l=!1,size:f="medium",sx:x}=n,w=Object(r.a)(n,m),O=Object(i.a)({},n,{color:u,edge:l,size:f}),j=(e=>{const{classes:t,edge:n,size:r,color:o,checked:a,disabled:u}=e,l={root:["root",n&&"edge"+Object(c.a)(n),"size"+Object(c.a)(r)],switchBase:["switchBase","color"+Object(c.a)(o),a&&"checked",u&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=Object(s.a)(l,p.b,t);return Object(i.a)({},t,d)})(O),C=Object(h.jsx)(y,{className:j.thumb,ownerState:O});return Object(h.jsxs)(b,{className:Object(a.default)(j.root,o),sx:x,ownerState:O,children:[Object(h.jsx)(g,Object(i.a)({type:"checkbox",icon:C,checkedIcon:C,ref:t,ownerState:O},w,{classes:Object(i.a)({},j,{root:j.switchBase})})),Object(h.jsx)(v,{className:j.track,ownerState:O})]})}));t.a=x},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),i=n(0),o=n(409),a=n(5);function s(e,t){const n=(n,i)=>Object(a.jsx)(o.a,Object(r.a)({"data-testid":t+"Icon",ref:i},n,{children:e}));return n.muiName=o.a.muiName,i.memo(i.forwardRef(n))}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));var r=Math.max,i=Math.min,o=Math.round},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return l}));var r=n(0),i=n(416),o=(n(3),n(417),n(574),n(258)),a=n(298),s=Object.prototype.hasOwnProperty,u=Object(r.createContext)("undefined"!=typeof HTMLElement?Object(i.a)({key:"css"}):null);var c=u.Provider,l=function(e){return Object(r.forwardRef)((function(t,n){var i=Object(r.useContext)(u);return e(t,i,n)}))},d=Object(r.createContext)({});var f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",p=function(e,t){var n={};for(var r in t)s.call(t,r)&&(n[r]=t[r]);return n[f]=e,n},h=l((function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var u=e[f],c=[i],l="";"string"==typeof e.className?l=Object(o.a)(t.registered,c,e.className):null!=e.className&&(l=e.className+" ");var p=Object(a.a)(c,void 0,Object(r.useContext)(d));Object(o.b)(t,p,"string"==typeof u);l+=t.key+"-"+p.name;var h={};for(var m in e)s.call(e,m)&&"css"!==m&&m!==f&&(h[m]=e[m]);return h.ref=n,h.className=l,Object(r.createElement)(u,h)}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return Y})),n.d(t,"b",(function(){return me})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return ge})),n.d(t,"e",(function(){return be})),n.d(t,"f",(function(){return p}));var r=n(3),i=n(352),o=(n(420),n(394)),a=n(341),s=n(422),u=n(18),c={}.constructor;function l(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(l);if(e.constructor!==c)return e;var t={};for(var n in e)t[n]=l(e[n]);return t}function d(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=l(t),o=r.plugins.onCreateRule(e,i,n);return o||(e[0],null)}var f=function(e,t){for(var n="",r=0;r<+~=|^:(),"'`\s])/g,v="undefined"!=typeof CSS&&CSS.escape,y=function(e){return v?v(e):e.replace(g,"\\$1")},x=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,a=e in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var u=this.options.sheet;return u&&u.attached,this},e}(),w=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var o=r.selector,a=r.scoped,u=r.sheet,c=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=c(Object(s.a)(Object(s.a)(i)),u),i.selectorText="."+y(i.id)),i}Object(a.a)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=p(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return b(this.selectorText,this.style,n)},Object(o.a)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(x),O={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new w(e,t,n)}},j={indent:1,children:!0},C=/@([\w-]+)/,E=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var i=e.match(C);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Y(Object(r.a)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){void 0===e&&(e=j);var t=h(e).linebreak;if(null==e.indent&&(e.indent=j.indent),null==e.children&&(e.children=j.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),S=/@media|@supports\s+/,k={onCreateRule:function(e,t,n){return S.test(e)?new E(e,t,n):null}},A={indent:1,children:!0},_=/@keyframes\s+([\w-]+)/,D=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=e.match(_);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var u in this.id=!1===o?this.name:y(s(this,a)),this.rules=new Y(Object(r.a)({},n,{parent:this})),t)this.rules.add(u,t[u],Object(r.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=A);var t=h(e).linebreak;if(null==e.indent&&(e.indent=A.indent),null==e.children&&(e.children=A.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),F=/@keyframes\s+/,R=/\$([\w-]+)/g,P=function(e,t){return"string"==typeof e?e.replace(R,(function(e,n){return n in t?t[n]:e})):e},T=function(e,t,n){var r=e[t],i=P(r,n);i!==r&&(e[t]=i)},B={onCreateRule:function(e,t,n){return"string"==typeof e&&F.test(e)?new D(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&T(e,"animation-name",n.keyframes),"animation"in e&&T(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return P(e,r.keyframes);default:return e}}},M=function(e){function t(){return e.apply(this,arguments)||this}return Object(a.a)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return b(this.key,this.style,n)},t}(x),N={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new M(e,t,n):null}},I=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=h(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Object(u.a)(t,["attached"]),i=h(r).linebreak,o="",a=0;a0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var i=function(e){for(var t=se(),n=0;nn?n:t},fe=function(){function e(e){this.getPropertyValue=re,this.setProperty=ie,this.removeProperty=oe,this.setSelector=ae,this.hasInsertedRules=!1,this.cssRules=[],e&&Z.add(e),this.sheet=e;var t,n=this.sheet?this.sheet.options:{},r=n.media,i=n.meta,o=n.element;this.element=o||((t=document.createElement("style")).textContent="\n",t),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),i&&this.element.setAttribute("data-meta",i);var a=ce();a&&this.element.setAttribute("nonce",a)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=ue(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else se().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align"+Object(d.a)(n.align)],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>Object(i.a)({margin:0},t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},g={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},v=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiTypography"}),o=(e=>g[e]||e)(n.color),c=Object(s.a)(Object(i.a)({},n,{color:o})),{align:v="inherit",className:y,component:x,gutterBottom:w=!1,noWrap:O=!1,paragraph:j=!1,variant:C="body1",variantMapping:E=b}=c,S=Object(r.a)(c,h),k=Object(i.a)({},c,{align:v,color:o,className:y,component:x,gutterBottom:w,noWrap:O,paragraph:j,variant:C,variantMapping:E}),A=x||(j?"p":E[C]||b[C])||"span",_=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:a}=e,s={root:["root",o,"inherit"!==e.align&&"align"+Object(d.a)(t),n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Object(u.a)(s,f.a,a)})(k);return Object(p.jsx)(m,Object(i.a)({as:A,ref:t,ownerState:k,className:Object(a.default)(_.root,y)},S))}));t.a=v},,function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;tObject(i.a)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),g=Object(c.a)(d.a,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Object(f.a)(n.color)}`],t["size"+Object(f.a)(n.size)],t[`${n.variant}Size${Object(f.a)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Object(i.a)({textDecoration:"none",backgroundColor:Object(u.a)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:"1px solid "+e.palette[t.color].main,backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.palette[t.color].dark,"@media (hover: none)":{backgroundColor:e.palette[t.color].main}}),"&:active":Object(i.a)({},"contained"===t.variant&&{boxShadow:e.shadows[8]}),["&."+p.a.focusVisible]:Object(i.a)({},"contained"===t.variant&&{boxShadow:e.shadows[6]}),["&."+p.a.disabled]:Object(i.a)({color:e.palette.action.disabled},"outlined"===t.variant&&{border:"1px solid "+e.palette.action.disabledBackground},"outlined"===t.variant&&"secondary"===t.color&&{border:"1px solid "+e.palette.action.disabled},"contained"===t.variant&&{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"outlined"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].main,border:"1px solid "+Object(u.a)(e.palette[t.color].main,.5)},"contained"===t.variant&&{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].contrastText,backgroundColor:e.palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"}),({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},["&."+p.a.focusVisible]:{boxShadow:"none"},"&:active":{boxShadow:"none"},["&."+p.a.disabled]:{boxShadow:"none"}}),v=Object(c.a)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t["iconSize"+Object(f.a)(n.size)]]}})(({ownerState:e})=>Object(i.a)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},b(e))),y=Object(c.a)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t["iconSize"+Object(f.a)(n.size)]]}})(({ownerState:e})=>Object(i.a)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},b(e))),x=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiButton"}),{children:o,color:u="primary",component:c="button",disabled:d=!1,disableElevation:b=!1,disableFocusRipple:x=!1,endIcon:w,focusVisibleClassName:O,fullWidth:j=!1,size:C="medium",startIcon:E,type:S,variant:k="text"}=n,A=Object(r.a)(n,m),_=Object(i.a)({},n,{color:u,component:c,disabled:d,disableElevation:b,disableFocusRipple:x,fullWidth:j,size:C,type:S,variant:k}),D=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:a,classes:u}=e,c={root:["root",a,`${a}${Object(f.a)(t)}`,"size"+Object(f.a)(o),`${a}Size${Object(f.a)(o)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize"+Object(f.a)(o)],endIcon:["endIcon","iconSize"+Object(f.a)(o)]},l=Object(s.a)(c,p.b,u);return Object(i.a)({},u,l)})(_),F=E&&Object(h.jsx)(v,{className:D.startIcon,ownerState:_,children:E}),R=w&&Object(h.jsx)(y,{className:D.endIcon,ownerState:_,children:w});return Object(h.jsxs)(g,Object(i.a)({ownerState:_,component:c,disabled:d,focusRipple:!x,focusVisibleClassName:Object(a.default)(D.focusVisible,O),ref:t,type:S},A,{classes:D,children:[F,o,R]}))}));t.a=x},function(e,t,n){e.exports=n(1179)()},function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;tObject(r.b)(e)&&"classes"!==e,a=r.b,s=Object(r.a)({defaultTheme:i.a,rootShouldForwardProp:o});t.a=s},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}n.d(t,"a",(function(){return r}))},,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(562),c=n(80),l=n(17),d=n(108),f=n(34),p=n(28),h=n(626),m=n(1111),b=n(195),g=n(82),v=n(338),y=n(304),x=n(269),w=n(285),O=n(5);const j=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"];const C=Object(l.a)(m.a,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>Object(i.a)({zIndex:e.zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{['&[data-popper-placement*="bottom"] .'+w.a.arrow]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},['&[data-popper-placement*="top"] .'+w.a.arrow]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},['&[data-popper-placement*="right"] .'+w.a.arrow]:Object(i.a)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),['&[data-popper-placement*="left"] .'+w.a.arrow]:Object(i.a)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),E=Object(l.a)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t["tooltipPlacement"+Object(p.a)(n.placement.split("-")[0])]]}})(({theme:e,ownerState:t})=>{return Object(i.a)({backgroundColor:Object(c.a)(e.palette.grey[700],.92),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${w.a.popper}[data-popper-placement*="left"] &`]:Object(i.a)({transformOrigin:"right center"},t.isRtl?Object(i.a)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Object(i.a)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${w.a.popper}[data-popper-placement*="right"] &`]:Object(i.a)({transformOrigin:"left center"},t.isRtl?Object(i.a)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Object(i.a)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${w.a.popper}[data-popper-placement*="top"] &`]:Object(i.a)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${w.a.popper}[data-popper-placement*="bottom"] &`]:Object(i.a)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n}),S=Object(l.a)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(c.a)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let k=!1,A=null;function _(e,t){return n=>{t&&t(n),e(n)}}const D=o.forwardRef((function(e,t){var n,c,l,D,F;const R=Object(f.a)({props:e,name:"MuiTooltip"}),{arrow:P=!1,children:T,components:B={},componentsProps:M={},describeChild:N=!1,disableFocusListener:I=!1,disableHoverListener:L=!1,disableInteractive:z=!1,disableTouchListener:W=!1,enterDelay:V=100,enterNextDelay:H=0,enterTouchDelay:U=700,followCursor:q=!1,id:$,leaveDelay:G=0,leaveTouchDelay:Y=1500,onClose:K,onOpen:X,open:Z,placement:Q="bottom",PopperComponent:J,PopperProps:ee={},title:te,TransitionComponent:ne=h.a,TransitionProps:re}=R,ie=Object(r.a)(R,j),oe=Object(d.a)(),ae="rtl"===oe.direction,[se,ue]=o.useState(),[ce,le]=o.useState(null),de=o.useRef(!1),fe=z||q,pe=o.useRef(),he=o.useRef(),me=o.useRef(),be=o.useRef(),[ge,ve]=Object(x.a)({controlled:Z,default:!1,name:"Tooltip",state:"open"});let ye=ge;const xe=Object(v.a)($),we=o.useRef(),Oe=o.useCallback(()=>{void 0!==we.current&&(document.body.style.WebkitUserSelect=we.current,we.current=void 0),clearTimeout(be.current)},[]);o.useEffect(()=>()=>{clearTimeout(pe.current),clearTimeout(he.current),clearTimeout(me.current),Oe()},[Oe]);const je=e=>{clearTimeout(A),k=!0,ve(!0),X&&!ye&&X(e)},Ce=Object(b.a)(e=>{clearTimeout(A),A=setTimeout(()=>{k=!1},800+G),ve(!1),K&&ye&&K(e),clearTimeout(pe.current),pe.current=setTimeout(()=>{de.current=!1},oe.transitions.duration.shortest)}),Ee=e=>{de.current&&"touchstart"!==e.type||(se&&se.removeAttribute("title"),clearTimeout(he.current),clearTimeout(me.current),V||k&&H?he.current=setTimeout(()=>{je(e)},k?H:V):je(e))},Se=e=>{clearTimeout(he.current),clearTimeout(me.current),me.current=setTimeout(()=>{Ce(e)},G)},{isFocusVisibleRef:ke,onBlur:Ae,onFocus:_e,ref:De}=Object(y.a)(),[,Fe]=o.useState(!1),Re=e=>{Ae(e),!1===ke.current&&(Fe(!1),Se(e))},Pe=e=>{se||ue(e.currentTarget),_e(e),!0===ke.current&&(Fe(!0),Ee(e))},Te=e=>{de.current=!0;const t=T.props;t.onTouchStart&&t.onTouchStart(e)},Be=Ee,Me=Se,Ne=e=>{Te(e),clearTimeout(me.current),clearTimeout(pe.current),Oe(),we.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.current=setTimeout(()=>{document.body.style.WebkitUserSelect=we.current,Ee(e)},U)},Ie=e=>{T.props.onTouchEnd&&T.props.onTouchEnd(e),Oe(),clearTimeout(me.current),me.current=setTimeout(()=>{Ce(e)},Y)};o.useEffect(()=>{if(ye)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Ce(e)}},[Ce,ye]);const Le=Object(g.a)(ue,t),ze=Object(g.a)(De,Le),We=Object(g.a)(T.ref,ze);""===te&&(ye=!1);const Ve=o.useRef({x:0,y:0}),He=o.useRef(),Ue={},qe="string"==typeof te;N?(Ue.title=ye||!qe||L?null:te,Ue["aria-describedby"]=ye?xe:null):(Ue["aria-label"]=qe?te:null,Ue["aria-labelledby"]=ye&&!qe?xe:null);const $e=Object(i.a)({},Ue,ie,T.props,{className:Object(a.default)(ie.className,T.props.className),onTouchStart:Te,ref:We},q?{onMouseMove:e=>{const t=T.props;t.onMouseMove&&t.onMouseMove(e),Ve.current={x:e.clientX,y:e.clientY},He.current&&He.current.update()}}:{});const Ge={};W||($e.onTouchStart=Ne,$e.onTouchEnd=Ie),L||($e.onMouseOver=_(Be,$e.onMouseOver),$e.onMouseLeave=_(Me,$e.onMouseLeave),fe||(Ge.onMouseOver=Be,Ge.onMouseLeave=Me)),I||($e.onFocus=_(Pe,$e.onFocus),$e.onBlur=_(Re,$e.onBlur),fe||(Ge.onFocus=Pe,Ge.onBlur=Re));const Ye=o.useMemo(()=>{var e;let t=[{name:"arrow",enabled:Boolean(ce),options:{element:ce,padding:4}}];return null!=(e=ee.popperOptions)&&e.modifiers&&(t=t.concat(ee.popperOptions.modifiers)),Object(i.a)({},ee.popperOptions,{modifiers:t})},[ce,ee]),Ke=Object(i.a)({},R,{isRtl:ae,arrow:P,disableInteractive:fe,placement:Q,PopperComponentProp:J,touch:de.current}),Xe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:o}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch","tooltipPlacement"+Object(p.a)(o.split("-")[0])],arrow:["arrow"]};return Object(s.a)(a,w.b,t)})(Ke),Ze=null!=(n=B.Popper)?n:C,Qe=null!=(c=null!=ne?ne:B.Transition)?c:h.a,Je=null!=(l=B.Tooltip)?l:E,et=null!=(D=B.Arrow)?D:S,tt=Object(u.a)(Ze,Object(i.a)({},ee,M.popper),Ke),nt=Object(u.a)(Qe,Object(i.a)({},re,M.transition),Ke),rt=Object(u.a)(Je,Object(i.a)({},M.tooltip),Ke),it=Object(u.a)(et,Object(i.a)({},M.arrow),Ke);return Object(O.jsxs)(o.Fragment,{children:[o.cloneElement(T,$e),Object(O.jsx)(Ze,Object(i.a)({as:null!=J?J:m.a,placement:Q,anchorEl:q?{getBoundingClientRect:()=>({top:Ve.current.y,left:Ve.current.x,right:Ve.current.x,bottom:Ve.current.y,width:0,height:0})}:se,popperRef:He,open:!!se&&ye,id:xe,transition:!0},Ge,tt,{className:Object(a.default)(Xe.popper,null==(F=M.popper)?void 0:F.className),popperOptions:Ye,children:({TransitionProps:e})=>{var t,n;return Object(O.jsx)(Qe,Object(i.a)({timeout:oe.transitions.duration.shorter},e,nt,{children:Object(O.jsxs)(Je,Object(i.a)({},rt,{className:Object(a.default)(Xe.tooltip,null==(t=M.tooltip)?void 0:t.className),children:[te,P?Object(O.jsx)(et,Object(i.a)({},it,{className:Object(a.default)(Xe.arrow,null==(n=M.arrow)?void 0:n.className),ref:le})):null]}))}))}}))]})}));t.a=D},function(e,t,n){"use strict";var r=n(266);t.a=r.a},,,,function(e,t,n){"use strict";var r=n(1240),i=n(530);const o=Object(i.a)(),a=Object(r.a)({defaultTheme:o});t.a=a},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1230),i=n(305);function o({props:e,name:t}){return Object(r.a)({props:e,name:t,defaultTheme:i.a})}},,,,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(145),u=n(627),c=n(65),l=n(17),d=n(34),f=n(607),p=n(446),h=n(5);const m=["className","columns","columnSpacing","component","container","direction","item","lg","md","rowSpacing","sm","spacing","wrap","xl","xs","zeroMinWidth"];function b(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}const g=Object(l.a)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{container:n,direction:r,item:i,lg:o,md:a,sm:s,spacing:u,wrap:c,xl:l,xs:d,zeroMinWidth:f}=e.ownerState;return[t.root,n&&t.container,i&&t.item,f&&t.zeroMinWidth,n&&0!==u&&t["spacing-xs-"+String(u)],"row"!==r&&t["direction-xs-"+String(r)],"wrap"!==c&&t["wrap-xs-"+String(c)],!1!==d&&t["grid-xs-"+String(d)],!1!==s&&t["grid-sm-"+String(s)],!1!==a&&t["grid-md-"+String(a)],!1!==o&&t["grid-lg-"+String(o)],!1!==l&&t["grid-xl-"+String(l)]]}})(({ownerState:e})=>Object(i.a)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"nowrap"===e.wrap&&{flexWrap:"nowrap"},"reverse"===e.wrap&&{flexWrap:"wrap-reverse"}),(function({theme:e,ownerState:t}){return Object(s.b)({theme:e},t.direction,e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > ."+p.a.item]={maxWidth:"none"}),t})}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let i={};return n&&0!==r&&(i=Object(s.b)({theme:e},r,t=>{const n=e.spacing(t);return"0px"!==n?{marginTop:"-"+b(n),["& > ."+p.a.item]:{paddingTop:b(n)}}:{}})),i}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let i={};return n&&0!==r&&(i=Object(s.b)({theme:e},r,t=>{const n=e.spacing(t);return"0px"!==n?{width:`calc(100% + ${b(n)})`,marginLeft:"-"+b(n),["& > ."+p.a.item]:{paddingLeft:b(n)}}:{}})),i}),({theme:e,ownerState:t})=>e.breakpoints.keys.reduce((n,r)=>(function(e,t,n,r){const o=r[n];if(!o)return;let a={};if(!0===o)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===o)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const e=Object(s.d)({values:r.columns,base:t.breakpoints.values}),u=Math.round(o/e[n]*1e8)/1e6+"%";let c={};if(r.container&&r.item&&0!==r.columnSpacing){const e=t.spacing(r.columnSpacing);if("0px"!==e){const t=`calc(${u} + ${b(e)})`;c={flexBasis:t,maxWidth:t}}}a=Object(i.a)({flexBasis:u,flexGrow:0,maxWidth:u},c)}0===t.breakpoints.values[n]?Object.assign(e,a):e[t.breakpoints.up(n)]=a}(n,e,r,t),n),{})),v=o.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiGrid"}),s=Object(u.a)(n),{className:l,columns:b=12,columnSpacing:v,component:y="div",container:x=!1,direction:w="row",item:O=!1,lg:j=!1,md:C=!1,rowSpacing:E,sm:S=!1,spacing:k=0,wrap:A="wrap",xl:_=!1,xs:D=!1,zeroMinWidth:F=!1}=s,R=Object(r.a)(s,m),P=E||k,T=v||k,B=o.useContext(f.a)||b,M=Object(i.a)({},s,{columns:B,container:x,direction:w,item:O,lg:j,md:C,sm:S,rowSpacing:P,columnSpacing:T,wrap:A,xl:_,xs:D,zeroMinWidth:F}),N=(e=>{const{classes:t,container:n,direction:r,item:i,lg:o,md:a,sm:s,spacing:u,wrap:l,xl:d,xs:f,zeroMinWidth:h}=e,m={root:["root",n&&"container",i&&"item",h&&"zeroMinWidth",n&&0!==u&&"spacing-xs-"+String(u),"row"!==r&&"direction-xs-"+String(r),"wrap"!==l&&"wrap-xs-"+String(l),!1!==f&&"grid-xs-"+String(f),!1!==s&&"grid-sm-"+String(s),!1!==a&&"grid-md-"+String(a),!1!==o&&"grid-lg-"+String(o),!1!==d&&"grid-xl-"+String(d)]};return Object(c.a)(m,p.b,t)})(M);return I=Object(h.jsx)(g,Object(i.a)({ownerState:M,className:Object(a.default)(N.root,l),as:y,ref:t},R)),12!==B?Object(h.jsx)(f.a.Provider,{value:B,children:I}):I;var I}));t.a=v},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(18);function i(e,t){if(null==e)return{};var n,i,o=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(28),l=n(497),d=n(314),f=n(34),p=n(17),h=n(604),m=n(5);const b=["align","className","component","padding","scope","size","sortDirection","variant"],g=Object(p.a)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t["size"+Object(c.a)(n.size)],"normal"!==n.padding&&t["padding"+Object(c.a)(n.padding)],"inherit"!==n.align&&t["align"+Object(c.a)(n.align)],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n "+("light"===e.palette.mode?Object(u.e)(Object(u.a)(e.palette.divider,1),.88):Object(u.b)(Object(u.a)(e.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===t.variant&&{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:e.palette.text.primary},"footer"===t.variant&&{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",["&."+h.a.paddingCheckbox]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:e.palette.background.default})),v=o.forwardRef((function(e,t){const n=Object(f.a)({props:e,name:"MuiTableCell"}),{align:u="inherit",className:p,component:v,padding:y,scope:x,size:w,sortDirection:O,variant:j}=n,C=Object(r.a)(n,b),E=o.useContext(l.a),S=o.useContext(d.a),k=S&&"head"===S.variant;let A;A=v||(k?"th":"td");let _=x;!_&&k&&(_="col");const D=j||S&&S.variant,F=Object(i.a)({},n,{align:u,component:A,padding:y||(E&&E.padding?E.padding:"normal"),size:w||(E&&E.size?E.size:"medium"),sortDirection:O,stickyHeader:"head"===D&&E&&E.stickyHeader,variant:D}),R=(e=>{const{classes:t,variant:n,align:r,padding:i,size:o,stickyHeader:a}=e,u={root:["root",n,a&&"stickyHeader","inherit"!==r&&"align"+Object(c.a)(r),"normal"!==i&&"padding"+Object(c.a)(i),"size"+Object(c.a)(o)]};return Object(s.a)(u,h.b,t)})(F);let P=null;return O&&(P="asc"===O?"ascending":"descending"),Object(m.jsx)(g,Object(i.a)({as:A,ref:t,className:Object(a.default)(R.root,p),"aria-sort":P,scope:_,ownerState:F},C))}));t.a=v},function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"k",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"l",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"j",(function(){return h})),n.d(t,"n",(function(){return m})),n.d(t,"h",(function(){return b})),n.d(t,"g",(function(){return g}));var r="top",i="bottom",o="right",a="left",s="auto",u=[r,i,o,a],c="start",l="end",d="clippingParents",f="viewport",p="popper",h="reference",m=u.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+l])}),[]),b=[].concat(u,[s]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+l])}),[]),g=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},,function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(266),i=n(145);function o(e,t){return t&&"string"==typeof t?t.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e):null}function a(e,t,n,r=n){let i;return i="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:o(e,n)||r,t&&(i=t(i)),i}t.a=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:u}=e,c=e=>{if(null==e[t])return null;const c=e[t],l=o(e.theme,s)||{};return Object(i.b)(e,c,e=>{let i=a(l,u,e);return e===i&&"string"==typeof e&&(i=a(l,u,`${t}${"default"===e?"":Object(r.a)(e)}`,e)),!1===n?i:{[n]:i}})};return c.propTypes={},c.filterProps=[t],c}},,,function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(314),l=n(34),d=n(17),f=n(543),p=n(5);const h=["className","component","hover","selected"],m=Object(d.a)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${f.a.hover}:hover`]:{backgroundColor:e.palette.action.hover},["&."+f.a.selected]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),b="tr",g=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiTableRow"}),{className:u,component:d=b,hover:g=!1,selected:v=!1}=n,y=Object(i.a)(n,h),x=o.useContext(c.a),w=Object(r.a)({},n,{component:d,hover:g,selected:v,head:x&&"head"===x.variant,footer:x&&"footer"===x.variant}),O=(e=>{const{classes:t,selected:n,hover:r,head:i,footer:o}=e,a={root:["root",n&&"selected",r&&"hover",i&&"head",o&&"footer"]};return Object(s.a)(a,f.b,t)})(w);return Object(p.jsx)(m,Object(r.a)({as:d,ref:t,className:Object(a.default)(O.root,u),role:d===b?null:"row",ownerState:w},y))}));t.a=g},function(e,t,n){"use strict";var r=n(213),i=n(513);function o(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}t.a=function(e){var t=e.prop,n=e.cssProperty,a=void 0===n?e.prop:n,s=e.themeKey,u=e.transform,c=function(e){if(null==e[t])return null;var n=e[t],c=o(e.theme,s)||{};return Object(i.a)(e,n,(function(e){var t;return"function"==typeof c?t=c(e):Array.isArray(c)?t=c[e]||e:(t=o(c,e)||e,u&&(t=u(t))),!1===a?t:Object(r.a)({},a,t)}))};return c.propTypes={},c.filterProps=[t],c}},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(64);function i(e,t){const n={};return t.forEach(t=>{n[t]=Object(r.a)(e,t)}),n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const r={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function i(e,t){return r[t]||`${e}-${t}`}},function(e,t,n){"use strict";function r(e,t,n){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((e,r)=>(r&&(n&&n[r]&&e.push(n[r]),e.push(t(r))),e),[]).join(" ")}),r}n.d(t,"a",(function(){return r}))},,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(117),c=n(80),l=n(17),d=n(34),f=n(290),p=n(308),h=n(167),m=n(82),b=n(164),g=n(331),v=n(332),y=n(1251),x=n(5);const w=["className"],O=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected"],j=Object(l.a)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&Object(i.a)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{["& > ."+v.a.root]:{paddingRight:48}},{["&."+g.a.focusVisible]:{backgroundColor:e.palette.action.focus},["&."+g.a.selected]:{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity),["&."+g.a.focusVisible]:{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},["&."+g.a.disabled]:{opacity:e.palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:"1px solid "+e.palette.divider,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${g.a.selected}:hover`]:{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),C=Object(l.a)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),E=o.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiListItem"}),{alignItems:c="center",autoFocus:l=!1,button:v=!1,children:E,className:S,component:k,components:A={},componentsProps:_={},ContainerComponent:D="li",ContainerProps:{className:F}={},dense:R=!1,disabled:P=!1,disableGutters:T=!1,disablePadding:B=!1,divider:M=!1,focusVisibleClassName:N,secondaryAction:I,selected:L=!1}=n,z=Object(r.a)(n.ContainerProps,w),W=Object(r.a)(n,O),V=o.useContext(b.a),H={dense:R||V.dense||!1,alignItems:c,disableGutters:T},U=o.useRef(null);Object(h.a)(()=>{l&&U.current&&U.current.focus()},[l]);const q=o.Children.toArray(E),$=q.length&&Object(p.a)(q[q.length-1],["ListItemSecondaryAction"]),G=Object(i.a)({},n,{alignItems:c,autoFocus:l,button:v,dense:H.dense,disabled:P,disableGutters:T,disablePadding:B,divider:M,hasSecondaryAction:$,selected:L}),Y=(e=>{const{alignItems:t,button:n,classes:r,dense:i,disabled:o,disableGutters:a,disablePadding:u,divider:c,hasSecondaryAction:l,selected:d}=e,f={root:["root",i&&"dense",!a&&"gutters",!u&&"padding",c&&"divider",o&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",l&&"secondaryAction",d&&"selected"],container:["container"]};return Object(s.a)(f,g.b,r)})(G),K=Object(m.a)(U,t),X=A.Root||j,Z=_.root||{},Q=Object(i.a)({className:Object(a.default)(Y.root,Z.className,S),disabled:P},W);let J=k||"li";return v&&(Q.component=k||"div",Q.focusVisibleClassName=Object(a.default)(g.a.focusVisible,N),J=f.a),$?(J=Q.component||k?J:"div","li"===D&&("li"===J?J="div":"li"===Q.component&&(Q.component="div")),Object(x.jsx)(b.a.Provider,{value:H,children:Object(x.jsxs)(C,Object(i.a)({as:D,className:Object(a.default)(Y.container,F),ref:K,ownerState:G},z,{children:[Object(x.jsx)(X,Object(i.a)({},Z,!Object(u.a)(X)&&{as:J,ownerState:Object(i.a)({},G,Z.ownerState)},Q,{children:q})),q.pop()]}))})):Object(x.jsx)(b.a.Provider,{value:H,children:Object(x.jsxs)(X,Object(i.a)({},Z,{as:J,ref:K,ownerState:G},!Object(u.a)(X)&&{ownerState:Object(i.a)({},G,Z.ownerState)},Q,{children:[q,I&&Object(x.jsx)(y.a,{children:I})]}))})}));t.a=E},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),o=n(5),a=(0,i.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.default=a},,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(715),f=n(5);const p=["className","component","elevation","square","variant"],h=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},m=Object(c.a)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation"+n.elevation]]}})(({theme:e,ownerState:t})=>Object(i.a)({backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:"1px solid "+e.palette.divider},"elevation"===t.variant&&Object(i.a)({boxShadow:e.shadows[t.elevation]},"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Object(u.a)("#fff",h(t.elevation))}, ${Object(u.a)("#fff",h(t.elevation))})`}))),b=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiPaper"}),{className:o,component:u="div",elevation:c=1,square:h=!1,variant:b="elevation"}=n,g=Object(r.a)(n,p),v=Object(i.a)({},n,{component:u,elevation:c,square:h,variant:b}),y=(e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded","elevation"===r&&"elevation"+n]};return Object(s.a)(o,d.a,i)})(v);return Object(f.jsx)(m,Object(i.a)({as:u,ownerState:v,className:Object(a.default)(y.root,o),ref:t},g))}));t.a=b},function(e,t,n){"use strict";var r=n(3),i=n(1266),o=n(316);t.a=function(e,t){return Object(i.a)(e,Object(r.a)({defaultTheme:o.a},t))}},,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(164),f=n(290),p=n(167),h=n(82),m=n(545),b=n(544),g=n(404),v=n(365),y=n(5);const x=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],w=Object(c.a)(f.a,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:"1px solid "+e.palette.divider,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&."+v.a.selected]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity),["&."+v.a.focusVisible]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${v.a.selected}:hover`]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity)}},["&."+v.a.focusVisible]:{backgroundColor:e.palette.action.focus},["&."+v.a.disabled]:{opacity:e.palette.action.disabledOpacity},["& + ."+m.a.root]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},["& + ."+m.a.inset]:{marginLeft:52},["& ."+g.a.root]:{marginTop:0,marginBottom:0},["& ."+g.a.inset]:{paddingLeft:36},["& ."+b.a.root]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Object(i.a)({minHeight:36},e.typography.body2,{[`& .${b.a.root} svg`]:{fontSize:"1.25rem"}}))),O=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiMenuItem"}),{autoFocus:u=!1,component:c="li",dense:f=!1,divider:m=!1,disableGutters:b=!1,focusVisibleClassName:g,role:O="menuitem",tabIndex:j}=n,C=Object(r.a)(n,x),E=o.useContext(d.a),S={dense:f||E.dense||!1,disableGutters:b},k=o.useRef(null);Object(p.a)(()=>{u&&k.current&&k.current.focus()},[u]);const A=Object(i.a)({},n,{dense:S.dense,divider:m,disableGutters:b}),_=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:a,classes:u}=e,c={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},l=Object(s.a)(c,v.b,u);return Object(i.a)({},u,l)})(n),D=Object(h.a)(k,t);let F;return n.disabled||(F=void 0!==j?j:-1),Object(y.jsx)(d.a.Provider,{value:S,children:Object(y.jsx)(w,Object(i.a)({ref:D,role:O,tabIndex:F,component:c,focusVisibleClassName:Object(a.default)(_.focusVisible,g)},C,{ownerState:A,classes:_}))})}));t.a=O},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(462)},function(e,t,n){"use strict";n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"c",(function(){return f}));var r=n(329);function i(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.substr(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(Object(r.a)(9,e));let i,a=e.substring(t+1,e.length-1);if("color"===n){if(a=a.split(" "),i=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].substr(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error(Object(r.a)(10,i))}else a=a.split(",");return a=a.map(e=>parseFloat(e)),{type:n,values:a,colorSpace:i}}function a(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=r[1]+"%",r[2]=r[2]+"%"),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:""+r.join(", "),`${t}(${r})`}function s(e){let t="hsl"===(e=o(e)).type?o(function(e){e=o(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),u=(e,t=(e+n/30)%12)=>i-s*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),a({type:c,values:l})}(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e,t){const n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(e,t){return e=o(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/"+t:e.values[3]=t,a(e)}function l(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return a(e)}function f(e,t=.15){return s(e)>.5?l(e,t):d(e,t)}},function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(0),a=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(1119),d=n(1120),f=n(1121),p=n(1123),h=n(1122),m=n(1248),b=n(110),g=n(706),v=n(5);const y=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],x={standard:l.a,filled:d.a,outlined:f.a},w=Object(u.a)(h.a,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),O=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiTextField"}),{autoComplete:u,autoFocus:l=!1,children:d,className:f,color:h="primary",defaultValue:O,disabled:j=!1,error:C=!1,FormHelperTextProps:E,fullWidth:S=!1,helperText:k,id:A,InputLabelProps:_,inputProps:D,InputProps:F,inputRef:R,label:P,maxRows:T,minRows:B,multiline:M=!1,name:N,onBlur:I,onChange:L,onFocus:z,placeholder:W,required:V=!1,rows:H,select:U=!1,SelectProps:q,type:$,value:G,variant:Y="outlined"}=n,K=Object(i.a)(n,y),X=Object(r.a)({},n,{autoFocus:l,color:h,disabled:j,error:C,fullWidth:S,multiline:M,required:V,select:U,variant:Y}),Z=(e=>{const{classes:t}=e;return Object(s.a)({root:["root"]},g.a,t)})(X);const Q={};if("outlined"===Y&&(_&&void 0!==_.shrink&&(Q.notched=_.shrink),P)){var J;const e=null!=(J=null==_?void 0:_.required)?J:V;Q.label=Object(v.jsxs)(o.Fragment,{children:[P,e&&" *"]})}U&&(q&&q.native||(Q.id=void 0),Q["aria-describedby"]=void 0);const ee=k&&A?A+"-helper-text":void 0,te=P&&A?A+"-label":void 0,ne=x[Y],re=Object(v.jsx)(ne,Object(r.a)({"aria-describedby":ee,autoComplete:u,autoFocus:l,defaultValue:O,fullWidth:S,multiline:M,name:N,rows:H,maxRows:T,minRows:B,type:$,value:G,id:A,inputRef:R,onBlur:I,onChange:L,onFocus:z,placeholder:W,inputProps:D},Q,F));return Object(v.jsxs)(w,Object(r.a)({className:Object(a.default)(Z.root,f),disabled:j,error:C,fullWidth:S,ref:t,required:V,color:h,variant:Y,ownerState:X},K,{children:[P&&Object(v.jsx)(p.a,Object(r.a)({htmlFor:A,id:te},_,{children:P})),U?Object(v.jsx)(b.a,Object(r.a)({"aria-describedby":ee,id:A,labelId:te,value:G,input:re},q,{children:d})):re,k&&Object(v.jsx)(m.a,Object(r.a)({id:ee},E,{children:k}))]}))}));t.a=O},function(e,t,n){"use strict";var r=n(408);t.a=r.a},,,,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(290),f=n(28),p=n(602),h=n(5);const m=["edge","children","className","color","disabled","disableFocusRipple","size"],b=Object(c.a)(d.a,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t["color"+Object(f.a)(n.color)],n.edge&&t["edge"+Object(f.a)(n.edge)],t["size"+Object(f.a)(n.size)]]}})(({theme:e,ownerState:t})=>Object(i.a)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(u.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}),({theme:e,ownerState:t})=>Object(i.a)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&{color:e.palette[t.color].main,"&:hover":{backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{["&."+p.a.disabled]:{backgroundColor:"transparent",color:e.palette.action.disabled}})),g=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiIconButton"}),{edge:o=!1,children:u,className:c,color:d="default",disabled:g=!1,disableFocusRipple:v=!1,size:y="medium"}=n,x=Object(r.a)(n,m),w=Object(i.a)({},n,{edge:o,color:d,disabled:g,disableFocusRipple:v,size:y}),O=(e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,a={root:["root",n&&"disabled","default"!==r&&"color"+Object(f.a)(r),i&&"edge"+Object(f.a)(i),"size"+Object(f.a)(o)]};return Object(s.a)(a,p.b,t)})(w);return Object(h.jsx)(b,Object(i.a)({className:Object(a.default)(O.root,c),centerRipple:!0,focusRipple:!v,disabled:g,ref:t,ownerState:w},x,{children:u}))}));t.a=g},,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(1),c=n(164),l=n(34),d=n(17),f=n(404),p=n(5);const h=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],m=Object(d.a)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+f.a.primary]:t.primary},{["& ."+f.a.secondary]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>Object(i.a)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),b=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiListItemText"}),{children:d,className:b,disableTypography:g=!1,inset:v=!1,primary:y,primaryTypographyProps:x,secondary:w,secondaryTypographyProps:O}=n,j=Object(r.a)(n,h),{dense:C}=o.useContext(c.a);let E=null!=y?y:d,S=w;const k=Object(i.a)({},n,{disableTypography:g,inset:v,primary:!!E,secondary:!!S,dense:C}),A=(e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:o}=e,a={root:["root",n&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]};return Object(s.a)(a,f.b,t)})(k);return null==E||E.type===u.a||g||(E=Object(p.jsx)(u.a,Object(i.a)({variant:C?"body2":"body1",className:A.primary,component:"span",display:"block"},x,{children:E}))),null==S||S.type===u.a||g||(S=Object(p.jsx)(u.a,Object(i.a)({variant:"body2",className:A.secondary,color:"text.secondary",display:"block"},O,{children:S}))),Object(p.jsxs)(m,Object(i.a)({className:Object(a.default)(A.root,b),ownerState:k,ref:t},j,{children:[E,S]}))}));t.a=b},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(243);function o(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){Object(i.a)(e,n),Object(i.a)(t,n)}}),[e,t])}},function(e,t,n){"use strict";var r,i,o,a,s,u=9e15,c="0123456789abcdef",l="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",d="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",f={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-u,maxE:u,crypto:!1},p=!0,h="[DecimalError] Invalid argument: ",m=Math.floor,b=Math.pow,g=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,v=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,y=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,x=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,w=1e7,O=l.length-1,j=d.length-1,C={};function E(e){var t,n,r,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;tn)throw Error(h+e)}function k(e,t,n,r){var i,o,a,s;for(o=e[0];o>=10;o/=10)--t;return--t<0?(t+=7,i=0):(i=Math.ceil((t+1)/7),t%=7),o=b(10,7-t),s=e[i]%o|0,null==r?t<3?(0==t?s=s/100|0:1==t&&(s=s/10|0),a=n<4&&99999==s||n>3&&49999==s||5e4==s||0==s):a=(n<4&&s+1==o||n>3&&s+1==o/2)&&(e[i+1]/o/100|0)==b(10,t-2)-1||(s==o/2||0==s)&&0==(e[i+1]/o/100|0):t<4?(0==t?s=s/1e3|0:1==t?s=s/100|0:2==t&&(s=s/10|0),a=(r||n<4)&&9999==s||!r&&n>3&&4999==s):a=((r||n<4)&&s+1==o||!r&&n>3&&s+1==o/2)&&(e[i+1]/o/1e3|0)==b(10,t-3)-1,a}function A(e,t,n){for(var r,i,o=[0],a=0,s=e.length;an-1&&(void 0===o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}C.absoluteValue=C.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),D(e)},C.ceil=function(){return D(new this.constructor(this),this.e+1,2)},C.comparedTo=C.cmp=function(e){var t,n,r,i,o=this,a=o.d,s=(e=new o.constructor(e)).d,u=o.s,c=e.s;if(!a||!s)return u&&c?u!==c?u:a===s?0:!a^u<0?1:-1:NaN;if(!a[0]||!s[0])return a[0]?u:s[0]?-c:0;if(u!==c)return u;if(o.e!==e.e)return o.e>e.e^u<0?1:-1;for(t=0,n=(r=a.length)<(i=s.length)?r:i;ts[t]^u<0?1:-1;return r===i?0:r>i^u<0?1:-1},C.cosine=C.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r,i=t.d.length;i<32?(n=Math.ceil(i/3),r=Math.pow(4,-n).toString()):(n=16,r="2.3283064365386962890625e-10");e.precision+=n,t=q(e,1,t.times(r),new e(1));for(var o=n;o--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=n,t}(r,$(r,n)),r.precision=e,r.rounding=t,D(2==s||3==s?n.neg():n,e,t,!0)):new r(1):new r(NaN)},C.cubeRoot=C.cbrt=function(){var e,t,n,r,i,o,a,s,u,c,l=this,d=l.constructor;if(!l.isFinite()||l.isZero())return new d(l);for(p=!1,(o=l.s*Math.pow(l.s*l,1/3))&&Math.abs(o)!=1/0?r=new d(o.toString()):(n=E(l.d),(o=((e=l.e)-n.length+1)%3)&&(n+=1==o||-2==o?"0":"00"),o=Math.pow(n,1/3),e=m((e+1)/3)-(e%3==(e<0?-1:2)),(r=new d(n=o==1/0?"5e"+e:(n=o.toExponential()).slice(0,n.indexOf("e")+1)+e)).s=l.s),a=(e=d.precision)+3;;)if(c=(u=(s=r).times(s).times(s)).plus(l),r=_(c.plus(l).times(s),c.plus(u),a+2,1),E(s.d).slice(0,a)===(n=E(r.d)).slice(0,a)){if("9999"!=(n=n.slice(a-3,a+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(D(r,e+1,1),t=!r.times(r).times(r).eq(l));break}if(!i&&(D(s,e+1,0),s.times(s).times(s).eq(l))){r=s;break}a+=4,i=1}return p=!0,D(r,e,d.rounding,t)},C.decimalPlaces=C.dp=function(){var e,t=this.d,n=NaN;if(t){if(n=7*((e=t.length-1)-m(this.e/7)),e=t[e])for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n},C.dividedBy=C.div=function(e){return _(this,new this.constructor(e))},C.dividedToIntegerBy=C.divToInt=function(e){var t=this.constructor;return D(_(this,new t(e),0,1,1),t.precision,t.rounding)},C.equals=C.eq=function(e){return 0===this.cmp(e)},C.floor=function(){return D(new this.constructor(this),this.e+1,3)},C.greaterThan=C.gt=function(e){return this.cmp(e)>0},C.greaterThanOrEqualTo=C.gte=function(e){var t=this.cmp(e);return 1==t||0===t},C.hyperbolicCosine=C.cosh=function(){var e,t,n,r,i,o=this,a=o.constructor,s=new a(1);if(!o.isFinite())return new a(o.s?1/0:NaN);if(o.isZero())return s;n=a.precision,r=a.rounding,a.precision=n+Math.max(o.e,o.sd())+4,a.rounding=1,(i=o.d.length)<32?(e=Math.ceil(i/3),t=Math.pow(4,-e).toString()):(e=16,t="2.3283064365386962890625e-10"),o=q(a,1,o.times(t),new a(1),!0);for(var u,c=e,l=new a(8);c--;)u=o.times(o),o=s.minus(u.times(l.minus(u.times(l))));return D(o,a.precision=n,a.rounding=r,!0)},C.hyperbolicSine=C.sinh=function(){var e,t,n,r,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(t=o.precision,n=o.rounding,o.precision=t+Math.max(i.e,i.sd())+4,o.rounding=1,(r=i.d.length)<3)i=q(o,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=q(o,2,i=i.times(Math.pow(5,-e)),i,!0);for(var a,s=new o(5),u=new o(16),c=new o(20);e--;)a=i.times(i),i=i.times(s.plus(a.times(u.times(a).plus(c))))}return o.precision=t,o.rounding=n,D(i,t,n,!0)},C.hyperbolicTangent=C.tanh=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,_(n.sinh(),n.cosh(),r.precision=e,r.rounding=t)):new r(n.s)},C.inverseCosine=C.acos=function(){var e,t=this,n=t.constructor,r=t.abs().cmp(1),i=n.precision,o=n.rounding;return-1!==r?0===r?t.isNeg()?T(n,i,o):new n(0):new n(NaN):t.isZero()?T(n,i+4,o).times(.5):(n.precision=i+6,n.rounding=1,t=t.asin(),e=T(n,i+4,o).times(.5),n.precision=i,n.rounding=o,e.minus(t))},C.inverseHyperbolicCosine=C.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,p=!1,n=n.times(n).minus(1).sqrt().plus(n),p=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)},C.inverseHyperbolicSine=C.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,p=!1,n=n.times(n).plus(1).sqrt().plus(n),p=!0,r.precision=e,r.rounding=t,n.ln())},C.inverseHyperbolicTangent=C.atanh=function(){var e,t,n,r,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=o.precision,t=o.rounding,r=i.sd(),Math.max(r,e)<2*-i.e-1?D(new o(i),e,t,!0):(o.precision=n=r-i.e,i=_(i.plus(1),new o(1).minus(i),n+e,1),o.precision=e+4,o.rounding=1,i=i.ln(),o.precision=e,o.rounding=t,i.times(.5))):new o(NaN)},C.inverseSine=C.asin=function(){var e,t,n,r,i=this,o=i.constructor;return i.isZero()?new o(i):(t=i.abs().cmp(1),n=o.precision,r=o.rounding,-1!==t?0===t?((e=T(o,n+4,r).times(.5)).s=i.s,e):new o(NaN):(o.precision=n+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=n,o.rounding=r,i.times(2)))},C.inverseTangent=C.atan=function(){var e,t,n,r,i,o,a,s,u,c=this,l=c.constructor,d=l.precision,f=l.rounding;if(c.isFinite()){if(c.isZero())return new l(c);if(c.abs().eq(1)&&d+4<=j)return(a=T(l,d+4,f).times(.25)).s=c.s,a}else{if(!c.s)return new l(NaN);if(d+4<=j)return(a=T(l,d+4,f).times(.5)).s=c.s,a}for(l.precision=s=d+10,l.rounding=1,e=n=Math.min(28,s/7+2|0);e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(p=!1,t=Math.ceil(s/7),r=1,u=c.times(c),a=new l(c),i=c;-1!==e;)if(i=i.times(u),o=a.minus(i.div(r+=2)),i=i.times(u),void 0!==(a=o.plus(i.div(r+=2))).d[t])for(e=t;a.d[e]===o.d[e]&&e--;);return n&&(a=a.times(2<this.d.length-2},C.isNaN=function(){return!this.s},C.isNegative=C.isNeg=function(){return this.s<0},C.isPositive=C.isPos=function(){return this.s>0},C.isZero=function(){return!!this.d&&0===this.d[0]},C.lessThan=C.lt=function(e){return this.cmp(e)<0},C.lessThanOrEqualTo=C.lte=function(e){return this.cmp(e)<1},C.logarithm=C.log=function(e){var t,n,r,i,o,a,s,u,c=this.constructor,l=c.precision,d=c.rounding;if(null==e)e=new c(10),t=!0;else{if(n=(e=new c(e)).d,e.s<0||!n||!n[0]||e.eq(1))return new c(NaN);t=e.eq(10)}if(n=this.d,this.s<0||!n||!n[0]||this.eq(1))return new c(n&&!n[0]?-1/0:1!=this.s?NaN:n?0:1/0);if(t)if(n.length>1)o=!0;else{for(i=n[0];i%10==0;)i/=10;o=1!==i}if(p=!1,a=W(this,s=l+5),r=t?P(c,s+10):W(e,s),k((u=_(a,r,s,1)).d,i=l,d))do{if(a=W(this,s+=10),r=t?P(c,s+10):W(e,s),u=_(a,r,s,1),!o){+E(u.d).slice(i+1,i+15)+1==1e14&&(u=D(u,l+1,0));break}}while(k(u.d,i+=10,d));return p=!0,D(u,l,d)},C.minus=C.sub=function(e){var t,n,r,i,o,a,s,u,c,l,d,f,h=this,b=h.constructor;if(e=new b(e),!h.d||!e.d)return h.s&&e.s?h.d?e.s=-e.s:e=new b(e.d||h.s!==e.s?h:NaN):e=new b(NaN),e;if(h.s!=e.s)return e.s=-e.s,h.plus(e);if(c=h.d,f=e.d,s=b.precision,u=b.rounding,!c[0]||!f[0]){if(f[0])e.s=-e.s;else{if(!c[0])return new b(3===u?-0:0);e=new b(h)}return p?D(e,s,u):e}if(n=m(e.e/7),l=m(h.e/7),c=c.slice(),o=l-n){for((d=o<0)?(t=c,o=-o,a=f.length):(t=f,n=l,a=c.length),o>(r=Math.max(Math.ceil(s/7),a)+2)&&(o=r,t.length=1),t.reverse(),r=o;r--;)t.push(0);t.reverse()}else{for((d=(r=c.length)<(a=f.length))&&(a=r),r=0;r0;--r)c[a++]=0;for(r=f.length;r>o;){if(c[--r](a=(o=Math.ceil(s/7))>a?o+1:a+1)&&(i=a,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((a=c.length)-(i=l.length)<0&&(i=a,n=l,l=c,c=n),t=0;i;)t=(c[--i]=c[i]+l[i]+t)/w|0,c[i]%=w;for(t&&(c.unshift(t),++r),a=c.length;0==c[--a];)c.pop();return e.d=c,e.e=R(c,r),p?D(e,s,u):e},C.precision=C.sd=function(e){var t,n=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(h+e);return n.d?(t=B(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t},C.round=function(){var e=this,t=e.constructor;return D(new t(e),e.e+1,t.rounding)},C.sine=C.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r=t.d.length;if(r<3)return q(e,2,t,t);n=(n=1.4*Math.sqrt(r))>16?16:0|n,t=t.times(Math.pow(5,-n)),t=q(e,2,t,t);for(var i,o=new e(5),a=new e(16),s=new e(20);n--;)i=t.times(t),t=t.times(o.plus(i.times(a.times(i).minus(s))));return t}(r,$(r,n)),r.precision=e,r.rounding=t,D(s>2?n.neg():n,e,t,!0)):new r(NaN)},C.squareRoot=C.sqrt=function(){var e,t,n,r,i,o,a=this,s=a.d,u=a.e,c=a.s,l=a.constructor;if(1!==c||!s||!s[0])return new l(!c||c<0&&(!s||s[0])?NaN:s?a:1/0);for(p=!1,0==(c=Math.sqrt(+a))||c==1/0?(((t=E(s)).length+u)%2==0&&(t+="0"),c=Math.sqrt(t),u=m((u+1)/2)-(u<0||u%2),r=new l(t=c==1/0?"1e"+u:(t=c.toExponential()).slice(0,t.indexOf("e")+1)+u)):r=new l(c.toString()),n=(u=l.precision)+3;;)if(r=(o=r).plus(_(a,o,n+2,1)).times(.5),E(o.d).slice(0,n)===(t=E(r.d)).slice(0,n)){if("9999"!=(t=t.slice(n-3,n+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(D(r,u+1,1),e=!r.times(r).eq(a));break}if(!i&&(D(o,u+1,0),o.times(o).eq(a))){r=o;break}n+=4,i=1}return p=!0,D(r,u,l.rounding,e)},C.tangent=C.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,(n=n.sin()).s=1,n=_(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,D(2==s||4==s?n.neg():n,e,t,!0)):new r(NaN)},C.times=C.mul=function(e){var t,n,r,i,o,a,s,u,c,l=this,d=l.constructor,f=l.d,h=(e=new d(e)).d;if(e.s*=l.s,!(f&&f[0]&&h&&h[0]))return new d(!e.s||f&&!f[0]&&!h||h&&!h[0]&&!f?NaN:f&&h?0*e.s:e.s/0);for(n=m(l.e/7)+m(e.e/7),(u=f.length)<(c=h.length)&&(o=f,f=h,h=o,a=u,u=c,c=a),o=[],r=a=u+c;r--;)o.push(0);for(r=c;--r>=0;){for(t=0,i=u+r;i>r;)s=o[i]+h[r]*f[i-r-1]+t,o[i--]=s%w|0,t=s/w|0;o[i]=(o[i]+t)%w|0}for(;!o[--a];)o.pop();return t?++n:o.shift(),e.d=o,e.e=R(o,n),p?D(e,d.precision,d.rounding):e},C.toBinary=function(e,t){return G(this,2,e,t)},C.toDecimalPlaces=C.toDP=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(S(e,0,1e9),void 0===t?t=r.rounding:S(t,0,8),D(n,e+n.e+1,t))},C.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=F(r,!0):(S(e,0,1e9),void 0===t?t=i.rounding:S(t,0,8),n=F(r=D(new i(r),e+1,t),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+n:n},C.toFixed=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?n=F(i):(S(e,0,1e9),void 0===t?t=o.rounding:S(t,0,8),n=F(r=D(new o(i),e+i.e+1,t),!1,e+r.e+1)),i.isNeg()&&!i.isZero()?"-"+n:n},C.toFraction=function(e){var t,n,r,i,o,a,s,u,c,l,d,f,m=this,g=m.d,v=m.constructor;if(!g)return new v(m);if(c=n=new v(1),r=u=new v(0),a=(o=(t=new v(r)).e=B(g)-m.e-1)%7,t.d[0]=b(10,a<0?7+a:a),null==e)e=o>0?t:c;else{if(!(s=new v(e)).isInt()||s.lt(c))throw Error(h+s);e=s.gt(t)?o>0?t:c:s}for(p=!1,s=new v(E(g)),l=v.precision,v.precision=o=7*g.length*2;d=_(s,t,0,1,1),1!=(i=n.plus(d.times(r))).cmp(e);)n=r,r=i,i=c,c=u.plus(d.times(i)),u=i,i=t,t=s.minus(d.times(i)),s=i;return i=_(e.minus(n),r,0,1,1),u=u.plus(i.times(c)),n=n.plus(i.times(r)),u.s=c.s=m.s,f=_(c,r,o,1).minus(m).abs().cmp(_(u,n,o,1).minus(m).abs())<1?[c,r]:[u,n],v.precision=l,p=!0,f},C.toHexadecimal=C.toHex=function(e,t){return G(this,16,e,t)},C.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),null==e){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),void 0!==t&&S(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(p=!1,t<4&&(t=[4,5,7,8][t]),n=_(n,e,0,t,1).times(e),p=!0,D(n)):(e.s=n.s,n=e),n},C.toNumber=function(){return+this},C.toOctal=function(e,t){return G(this,8,e,t)},C.toPower=C.pow=function(e){var t,n,r,i,o,a,s=this,u=s.constructor,c=+(e=new u(e));if(!(s.d&&e.d&&s.d[0]&&e.d[0]))return new u(b(+s,c));if((s=new u(s)).eq(1))return s;if(r=u.precision,o=u.rounding,e.eq(1))return D(s,r,o);if((t=m(e.e/7))>=e.d.length-1&&(n=c<0?-c:c)<=9007199254740991)return i=N(u,s,n,r),e.s<0?new u(1).div(i):D(i,r,o);if((a=s.s)<0){if(tu.maxE+1||t0?a/0:0):(p=!1,u.rounding=s.s=1,n=Math.min(12,(t+"").length),(i=z(e.times(W(s,r+n)),r)).d&&k((i=D(i,r+5,1)).d,r,o)&&(t=r+10,+E((i=D(z(e.times(W(s,t+n)),t),t+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=D(i,r+1,0))),i.s=a,p=!0,u.rounding=o,D(i,r,o))},C.toPrecision=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=F(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(S(e,1,1e9),void 0===t?t=i.rounding:S(t,0,8),n=F(r=D(new i(r),e,t),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+n:n},C.toSignificantDigits=C.toSD=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(S(e,1,1e9),void 0===t?t=n.rounding:S(t,0,8)),D(new n(this),e,t)},C.toString=function(){var e=this,t=e.constructor,n=F(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+n:n},C.truncated=C.trunc=function(){return D(new this.constructor(this),this.e+1,1)},C.valueOf=C.toJSON=function(){var e=this,t=e.constructor,n=F(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+n:n};var _=function(){function e(e,t,n){var r,i=0,o=e.length;for(e=e.slice();o--;)r=e[o]*t+i,e[o]=r%n|0,i=r/n|0;return i&&e.unshift(i),e}function t(e,t,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;it[i]?1:-1;break}return o}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=e[n]1;)e.shift()}return function(r,i,o,s,u,c){var l,d,f,p,h,b,g,v,y,x,O,j,C,E,S,k,A,_,F,R,P=r.constructor,T=r.s==i.s?1:-1,B=r.d,M=i.d;if(!(B&&B[0]&&M&&M[0]))return new P(r.s&&i.s&&(B?!M||B[0]!=M[0]:M)?B&&0==B[0]||!M?0*T:T/0:NaN);for(c?(h=1,d=r.e-i.e):(c=w,h=7,d=m(r.e/h)-m(i.e/h)),F=M.length,A=B.length,x=(y=new P(T)).d=[],f=0;M[f]==(B[f]||0);f++);if(M[f]>(B[f]||0)&&d--,null==o?(E=o=P.precision,s=P.rounding):E=u?o+(r.e-i.e)+1:o,E<0)x.push(1),b=!0;else{if(E=E/h+2|0,f=0,1==F){for(p=0,M=M[0],E++;(f1&&(M=e(M,p,c),B=e(B,p,c),F=M.length,A=B.length),k=F,j=(O=B.slice(0,F)).length;j=c/2&&++_;do{p=0,(l=t(M,O,F,j))<0?(C=O[0],F!=j&&(C=C*c+(O[1]||0)),(p=C/_|0)>1?(p>=c&&(p=c-1),1==(l=t(g=e(M,p,c),O,v=g.length,j=O.length))&&(p--,n(g,F=10;p/=10)f++;y.e=f+d*h-1,D(y,u?o+y.e+1:o,s,b)}return y}}();function D(e,t,n,r){var i,o,a,s,u,c,l,d,f,h=e.constructor;e:if(null!=t){if(!(d=e.d))return e;for(i=1,s=d[0];s>=10;s/=10)i++;if((o=t-i)<0)o+=7,a=t,u=(l=d[f=0])/b(10,i-a-1)%10|0;else if((f=Math.ceil((o+1)/7))>=(s=d.length)){if(!r)break e;for(;s++<=f;)d.push(0);l=u=0,i=1,a=(o%=7)-7+1}else{for(l=s=d[f],i=1;s>=10;s/=10)i++;u=(a=(o%=7)-7+i)<0?0:l/b(10,i-a-1)%10|0}if(r=r||t<0||void 0!==d[f+1]||(a<0?l:l%b(10,i-a-1)),c=n<4?(u||r)&&(0==n||n==(e.s<0?3:2)):u>5||5==u&&(4==n||r||6==n&&(o>0?a>0?l/b(10,i-a):0:d[f-1])%10&1||n==(e.s<0?8:7)),t<1||!d[0])return d.length=0,c?(t-=e.e+1,d[0]=b(10,(7-t%7)%7),e.e=-t||0):d[0]=e.e=0,e;if(0==o?(d.length=f,s=1,f--):(d.length=f+1,s=b(10,7-o),d[f]=a>0?(l/b(10,i-a)%b(10,a)|0)*s:0),c)for(;;){if(0==f){for(o=1,a=d[0];a>=10;a/=10)o++;for(a=d[0]+=s,s=1;a>=10;a/=10)s++;o!=s&&(e.e++,d[0]==w&&(d[0]=1));break}if(d[f]+=s,d[f]!=w)break;d[f--]=0,s=1}for(o=d.length;0===d[--o];)d.pop()}return p&&(e.e>h.maxE?(e.d=null,e.e=NaN):e.e0?o=o.charAt(0)+"."+o.slice(1)+M(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(e.e<0?"e":"e+")+e.e):i<0?(o="0."+M(-i-1)+o,n&&(r=n-a)>0&&(o+=M(r))):i>=a?(o+=M(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+M(r))):((r=i+1)0&&(i+1===a&&(o+="."),o+=M(r))),o}function R(e,t){var n=e[0];for(t*=7;n>=10;n/=10)t++;return t}function P(e,t,n){if(t>O)throw p=!0,n&&(e.precision=n),Error("[DecimalError] Precision limit exceeded");return D(new e(i),t,1,!0)}function T(e,t,n){if(t>j)throw Error("[DecimalError] Precision limit exceeded");return D(new e(o),t,n,!0)}function B(e){var t=e.length-1,n=7*t+1;if(t=e[t]){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function M(e){for(var t="";e--;)t+="0";return t}function N(e,t,n,r){var i,o=new e(1),a=Math.ceil(r/7+4);for(p=!1;;){if(n%2&&Y((o=o.times(t)).d,a)&&(i=!0),0===(n=m(n/2))){n=o.d.length-1,i&&0===o.d[n]&&++o.d[n];break}Y((t=t.times(t)).d,a)}return p=!0,o}function I(e){return 1&e.d[e.d.length-1]}function L(e,t,n){for(var r,i=new e(t[0]),o=0;++o17)return new f(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==t?(p=!1,u=m):u=t,s=new f(.03125);e.e>-2;)e=e.times(s),d+=5;for(u+=r=Math.log(b(2,d))/Math.LN10*2+5|0,n=o=a=new f(1),f.precision=u;;){if(o=D(o.times(e),u,1),n=n.times(++l),E((s=a.plus(_(o,n,u,1))).d).slice(0,u)===E(a.d).slice(0,u)){for(i=d;i--;)a=D(a.times(a),u,1);if(null!=t)return f.precision=m,a;if(!(c<3&&k(a.d,u-r,h,c)))return D(a,f.precision=m,h,p=!0);f.precision=u+=10,n=o=s=new f(1),l=0,c++}a=s}}function W(e,t){var n,r,i,o,a,s,u,c,l,d,f,h=1,m=e,b=m.d,g=m.constructor,v=g.rounding,y=g.precision;if(m.s<0||!b||!b[0]||!m.e&&1==b[0]&&1==b.length)return new g(b&&!b[0]?-1/0:1!=m.s?NaN:b?0:m);if(null==t?(p=!1,l=y):l=t,g.precision=l+=10,r=(n=E(b)).charAt(0),!(Math.abs(o=m.e)<15e14))return c=P(g,l+2,y).times(o+""),m=W(new g(r+"."+n.slice(1)),l-10).plus(c),g.precision=y,null==t?D(m,y,v,p=!0):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=E((m=m.times(e)).d)).charAt(0),h++;for(o=m.e,r>1?(m=new g("0."+n),o++):m=new g(r+"."+n.slice(1)),d=m,u=a=m=_(m.minus(1),m.plus(1),l,1),f=D(m.times(m),l,1),i=3;;){if(a=D(a.times(f),l,1),E((c=u.plus(_(a,new g(i),l,1))).d).slice(0,l)===E(u.d).slice(0,l)){if(u=u.times(2),0!==o&&(u=u.plus(P(g,l+2,y).times(o+""))),u=_(u,new g(h),l,1),null!=t)return g.precision=y,u;if(!k(u.d,l-10,v,s))return D(u,g.precision=y,v,p=!0);g.precision=l+=10,c=a=m=_(d.minus(1),d.plus(1),l,1),f=D(m.times(m),l,1),i=s=1}u=c,i+=2}}function V(e){return String(e.s*e.s/0)}function H(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);r++);for(i=t.length;48===t.charCodeAt(i-1);--i);if(t=t.slice(r,i)){if(i-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%7,n<0&&(r+=7),re.constructor.maxE?(e.d=null,e.e=NaN):e.e0?(c=+t.slice(a+1),t=t.substring(2,a)):t=t.slice(2),s=(a=t.indexOf("."))>=0,i=e.constructor,s&&(a=(u=(t=t.replace(".","")).length)-a,o=N(i,new i(n),a,2*a)),a=d=(l=A(t,n,w)).length-1;0===l[a];--a)l.pop();return a<0?new i(0*e.s):(e.e=R(l,d),e.d=l,p=!1,s&&(e=_(e,o,4*u)),c&&(e=e.times(Math.abs(c)<54?Math.pow(2,c):r.pow(2,c))),p=!0,e)}function q(e,t,n,r,i){var o,a,s,u,c=e.precision,l=Math.ceil(c/7);for(p=!1,u=n.times(n),s=new e(r);;){if(a=_(s.times(u),new e(t++*t++),c,1),s=i?r.plus(a):r.minus(a),r=_(a.times(u),new e(t++*t++),c,1),void 0!==(a=s.plus(r)).d[l]){for(o=l;a.d[o]===s.d[o]&&o--;);if(-1==o)break}o=s,s=r,r=a,a=o}return p=!0,a.d.length=l+1,a}function $(e,t){var n,r=t.s<0,i=T(e,e.precision,1),o=i.times(.5);if((t=t.abs()).lte(o))return s=r?4:1,t;if((n=t.divToInt(i)).isZero())s=r?3:2;else{if((t=t.minus(n.times(i))).lte(o))return s=I(n)?r?2:3:r?4:1,t;s=I(n)?r?1:4:r?3:2}return t.minus(i).abs()}function G(e,t,n,r){var i,o,s,u,l,d,f,p,h,m=e.constructor,b=void 0!==n;if(b?(S(n,1,1e9),void 0===r?r=m.rounding:S(r,0,8)):(n=m.precision,r=m.rounding),e.isFinite()){for(b?(i=2,16==t?n=4*n-3:8==t&&(n=3*n-2)):i=t,(s=(f=F(e)).indexOf("."))>=0&&(f=f.replace(".",""),(h=new m(1)).e=f.length-s,h.d=A(F(h),10,i),h.e=h.d.length),o=l=(p=A(f,10,i)).length;0==p[--l];)p.pop();if(p[0]){if(s<0?o--:((e=new m(e)).d=p,e.e=o,p=(e=_(e,h,n,r,0,i)).d,o=e.e,d=a),s=p[n],u=i/2,d=d||void 0!==p[n+1],d=r<4?(void 0!==s||d)&&(0===r||r===(e.s<0?3:2)):s>u||s===u&&(4===r||d||6===r&&1&p[n-1]||r===(e.s<0?8:7)),p.length=n,d)for(;++p[--n]>i-1;)p[n]=0,n||(++o,p.unshift(1));for(l=p.length;!p[l-1];--l);for(s=0,f="";s1)if(16==t||8==t){for(s=16==t?4:3,--l;l%s;l++)f+="0";for(l=(p=A(f,i,t)).length;!p[l-1];--l);for(s=1,f="1.";sl)for(o-=l;o--;)f+="0";else ot)return e.length=t,!0}function K(e){return new this(e).abs()}function X(e){return new this(e).acos()}function Z(e){return new this(e).acosh()}function Q(e,t){return new this(e).plus(t)}function J(e){return new this(e).asin()}function ee(e){return new this(e).asinh()}function te(e){return new this(e).atan()}function ne(e){return new this(e).atanh()}function re(e,t){e=new this(e),t=new this(t);var n,r=this.precision,i=this.rounding,o=r+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(n=t.s<0?T(this,r,i):new this(0)).s=e.s:!e.d||t.isZero()?(n=T(this,o,1).times(.5)).s=e.s:t.s<0?(this.precision=o,this.rounding=1,n=this.atan(_(e,t,o,1)),t=T(this,o,1),this.precision=r,this.rounding=i,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(_(e,t,o,1)):(n=T(this,o,1).times(t.s>0?.25:.75)).s=e.s:n=new this(NaN),n}function ie(e){return new this(e).cbrt()}function oe(e){return D(e=new this(e),e.e+1,2)}function ae(e){if(!e||"object"!=typeof e)throw Error("[DecimalError] Object expected");var t,n,r,i=["precision",1,1e9,"rounding",0,8,"toExpNeg",-u,0,"toExpPos",0,u,"maxE",0,u,"minE",-u,0,"modulo",0,9];for(t=0;t=i[t+1]&&r<=i[t+2]))throw Error(h+n+": "+r);this[n]=r}if(void 0!==(r=e[n="crypto"])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(h+n+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error("[DecimalError] crypto unavailable");this[n]=!0}else this[n]=!1}return this}function se(e){return new this(e).cos()}function ue(e){return new this(e).cosh()}function ce(e,t){return new this(e).div(t)}function le(e){return new this(e).exp()}function de(e){return D(e=new this(e),e.e+1,3)}function fe(){var e,t,n=new this(0);for(p=!1,e=0;e=429e7?t[o]=crypto.getRandomValues(new Uint32Array(1))[0]:s[o++]=i%1e7;else{if(!crypto.randomBytes)throw Error("[DecimalError] crypto unavailable");for(t=crypto.randomBytes(r*=4);o=214e7?crypto.randomBytes(4).copy(t,o):(s.push(i%1e7),o+=4);o=r/4}else for(;o=10;i/=10)r++;r<7&&(n-=7-r)}return a.e=n,a.d=s,a}function je(e){return D(e=new this(e),e.e+1,this.rounding)}function Ce(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function Ee(e){return new this(e).sin()}function Se(e){return new this(e).sinh()}function ke(e){return new this(e).sqrt()}function Ae(e,t){return new this(e).sub(t)}function _e(e){return new this(e).tan()}function De(e){return new this(e).tanh()}function Fe(e){return D(e=new this(e),e.e+1,1)}r=function e(t){var n,r,i;function o(e){var t,n,r,i=this;if(!(i instanceof o))return new o(e);if(i.constructor=o,e instanceof o)return i.s=e.s,i.e=e.e,void(i.d=(e=e.d)?e.slice():e);if("number"===(r=typeof e)){if(0===e)return i.s=1/e<0?-1:1,i.e=0,void(i.d=[0]);if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(t=0,n=e;n>=10;n/=10)t++;return i.e=t,void(i.d=[e])}return 0*e!=0?(e||(i.s=NaN),i.e=NaN,void(i.d=null)):H(i,e.toString())}if("string"!==r)throw Error(h+e);return 45===e.charCodeAt(0)?(e=e.slice(1),i.s=-1):i.s=1,x.test(e)?H(i,e):U(i,e)}if(o.prototype=C,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=ae,o.clone=e,o.abs=K,o.acos=X,o.acosh=Z,o.add=Q,o.asin=J,o.asinh=ee,o.atan=te,o.atanh=ne,o.atan2=re,o.cbrt=ie,o.ceil=oe,o.cos=se,o.cosh=ue,o.div=ce,o.exp=le,o.floor=de,o.hypot=fe,o.ln=pe,o.log=he,o.log10=be,o.log2=me,o.max=ge,o.min=ve,o.mod=ye,o.mul=xe,o.pow=we,o.random=Oe,o.round=je,o.sign=Ce,o.sin=Ee,o.sinh=Se,o.sqrt=ke,o.sub=Ae,o.tan=_e,o.tanh=De,o.trunc=Fe,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n{const{classes:t}=e;return Object(l.a)({root:["root"]},w.b,t)})(Object(o.a)({},n,{classes:k})),Z=Object(a.a)(k,C),Q=Object(x.a)(t,K.ref);return s.cloneElement(K,Object(o.a)({inputComponent:$,inputProps:Object(o.a)({children:S,IconComponent:D,variant:Y,type:void 0,multiple:N},I?{id:F}:{autoWidth:E,displayEmpty:_,labelId:B,MenuProps:M,onClose:L,onOpen:z,open:W,renderValue:V,SelectDisplayProps:Object(o.a)({id:F},H)},P,{classes:P?Object(c.a)(Z,P.classes):Z},R?R.props.inputProps:{})},N&&I&&"outlined"===Y?{notched:!0}:{},{ref:Q,className:Object(u.default)(X.root,K.props.className,A)},q))}));E.muiName="Select",t.a=E},,,,,,,function(e,t,n){"use strict";t.a=function(e){return"string"==typeof e}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(18),i=n(3),o=n(0),a=n(142),s=n(1115),u=n(360),c=n(561),l=n(1234),d=n(700),f=n(1232),p=n(577);const h=["name","classNamePrefix","Component","defaultTheme"];function m(e,t={}){const{name:n,classNamePrefix:m,Component:b,defaultTheme:g=p.a}=t,v=Object(r.a)(t,h),y=Object(f.a)(e),x=n||m||"makeStyles";y.options={index:Object(d.a)(),name:n,meta:x,classNamePrefix:x};return(e={})=>{const t=Object(c.a)()||g,r=Object(i.a)({},o.useContext(l.a),v),d=o.useRef(),f=o.useRef();!function(e,t){const n=o.useRef([]);let r;const i=o.useMemo(()=>({}),t);n.current!==i&&(n.current=i,r=e()),o.useEffect(()=>()=>{r&&r()},[i])}(()=>{const o={name:n,state:{},stylesCreator:y,stylesOptions:r,theme:t};return function({state:e,theme:t,stylesOptions:n,stylesCreator:r,name:o},c){if(n.disableGeneration)return;let l=u.a.get(n.sheetsManager,r,t);l||(l={refs:0,staticSheet:null,dynamicStyles:null},u.a.set(n.sheetsManager,r,t,l));const d=Object(i.a)({},r.options,n,{theme:t,flip:"boolean"==typeof n.flip?n.flip:"rtl"===t.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;const f=n.sheetsRegistry;if(0===l.refs){let e;n.sheetsCache&&(e=u.a.get(n.sheetsCache,r,t));const s=r.create(t,o);e||(e=n.jss.createStyleSheet(s,Object(i.a)({link:!1},d)),e.attach(),n.sheetsCache&&u.a.set(n.sheetsCache,r,t,e)),f&&f.add(e),l.staticSheet=e,l.dynamicStyles=Object(a.d)(s)}if(l.dynamicStyles){const t=n.jss.createStyleSheet(l.dynamicStyles,Object(i.a)({link:!0},d));t.update(c),t.attach(),e.dynamicSheet=t,e.classes=Object(s.a)({baseClasses:l.staticSheet.classes,newClasses:t.classes}),f&&f.add(t)}else e.classes=l.staticSheet.classes;l.refs+=1}(o,e),f.current=!1,d.current=o,()=>{!function({state:e,theme:t,stylesOptions:n,stylesCreator:r}){if(n.disableGeneration)return;const i=u.a.get(n.sheetsManager,r,t);i.refs-=1;const o=n.sheetsRegistry;0===i.refs&&(u.a.delete(n.sheetsManager,r,t),n.jss.removeStyleSheet(i.staticSheet),o&&o.remove(i.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),o&&o.remove(e.dynamicSheet))}(o)}},[t,y]),o.useEffect(()=>{f.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(d.current,e),f.current=!0});return function({state:e,stylesOptions:t},n,r){if(t.disableGeneration)return n||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,i=!0),n!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=n,i=!0),i&&(e.cacheClasses.value=Object(s.a)({baseClasses:e.cacheClasses.lastJSS,newClasses:n,Component:r})),e.cacheClasses.value}(d.current,e.classes,b)}}},,,,,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),o=n(5),a=(0,i.default)((0,o.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");t.default=a},,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return d}));var r=n(410);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,e));var i=e.substring(t+1,e.length-1).split(",");return{type:n,values:i=i.map((function(e){return parseFloat(e)}))}}function a(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function s(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=o(e)).type?o(function(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-s*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),a({type:c,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){return e=o(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,a(e)}function l(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return a(e)}},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(544),d=n(164),f=n(5);const p=["className"],h=Object(u.a)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>Object(i.a)({minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})),m=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiListItemIcon"}),{className:u}=n,m=Object(r.a)(n,p),b=o.useContext(d.a),g=Object(i.a)({},n,{alignItems:b.alignItems}),v=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return Object(s.a)(r,l.b,n)})(g);return Object(f.jsx)(h,Object(i.a)({className:Object(a.default)(v.root,u),ownerState:g,ref:t},m))}));t.a=m},,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(28),l=n(814),d=n(34),f=n(17),p=n(173),h=n(5);const m=["className","color","edge","size","sx"],b=Object(f.a)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t["edge"+Object(c.a)(n.edge)],t["size"+Object(c.a)(n.size)]]}})(({ownerState:e})=>Object(i.a)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===e.edge&&{marginLeft:-8},"end"===e.edge&&{marginRight:-8},"small"===e.size&&{width:40,height:24,padding:7,["& ."+p.a.thumb]:{width:16,height:16},["& ."+p.a.switchBase]:{padding:4,["&."+p.a.checked]:{transform:"translateX(16px)"}}})),g=Object(f.a)(l.a,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{["& ."+p.a.input]:t.input},"default"!==n.color&&t["color"+Object(c.a)(n.color)]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),["&."+p.a.checked]:{transform:"translateX(20px)"},["&."+p.a.disabled]:{color:"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]},[`&.${p.a.checked} + .${p.a.track}`]:{opacity:.5},[`&.${p.a.disabled} + .${p.a.track}`]:{opacity:"light"===e.palette.mode?.12:.2},["& ."+p.a.input]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>Object(i.a)({"&:hover":{backgroundColor:Object(u.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{["&."+p.a.checked]:{color:e.palette[t.color].main,"&:hover":{backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},["&."+p.a.disabled]:{color:"light"===e.palette.mode?Object(u.e)(e.palette[t.color].main,.62):Object(u.b)(e.palette[t.color].main,.55)}},[`&.${p.a.checked} + .${p.a.track}`]:{backgroundColor:e.palette[t.color].main}})),v=Object(f.a)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.mode?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.mode?.38:.3})),y=Object(f.a)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),x=o.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiSwitch"}),{className:o,color:u="primary",edge:l=!1,size:f="medium",sx:x}=n,w=Object(r.a)(n,m),O=Object(i.a)({},n,{color:u,edge:l,size:f}),j=(e=>{const{classes:t,edge:n,size:r,color:o,checked:a,disabled:u}=e,l={root:["root",n&&"edge"+Object(c.a)(n),"size"+Object(c.a)(r)],switchBase:["switchBase","color"+Object(c.a)(o),a&&"checked",u&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=Object(s.a)(l,p.b,t);return Object(i.a)({},t,d)})(O),C=Object(h.jsx)(y,{className:j.thumb,ownerState:O});return Object(h.jsxs)(b,{className:Object(a.default)(j.root,o),sx:x,ownerState:O,children:[Object(h.jsx)(g,Object(i.a)({type:"checkbox",icon:C,checkedIcon:C,ref:t,ownerState:O},w,{classes:Object(i.a)({},j,{root:j.switchBase})})),Object(h.jsx)(v,{className:j.track,ownerState:O})]})}));t.a=x},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),i=n(0),o=n(409),a=n(5);function s(e,t){const n=(n,i)=>Object(a.jsx)(o.a,Object(r.a)({"data-testid":t+"Icon",ref:i},n,{children:e}));return n.muiName=o.a.muiName,i.memo(i.forwardRef(n))}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));var r=Math.max,i=Math.min,o=Math.round},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return l}));var r=n(0),i=n(416),o=(n(3),n(417),n(574),n(258)),a=n(298),s=Object.prototype.hasOwnProperty,u=Object(r.createContext)("undefined"!=typeof HTMLElement?Object(i.a)({key:"css"}):null);var c=u.Provider,l=function(e){return Object(r.forwardRef)((function(t,n){var i=Object(r.useContext)(u);return e(t,i,n)}))},d=Object(r.createContext)({});var f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",p=function(e,t){var n={};for(var r in t)s.call(t,r)&&(n[r]=t[r]);return n[f]=e,n},h=l((function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var u=e[f],c=[i],l="";"string"==typeof e.className?l=Object(o.a)(t.registered,c,e.className):null!=e.className&&(l=e.className+" ");var p=Object(a.a)(c,void 0,Object(r.useContext)(d));Object(o.b)(t,p,"string"==typeof u);l+=t.key+"-"+p.name;var h={};for(var m in e)s.call(e,m)&&"css"!==m&&m!==f&&(h[m]=e[m]);return h.ref=n,h.className=l,Object(r.createElement)(u,h)}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return Y})),n.d(t,"b",(function(){return me})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return ge})),n.d(t,"e",(function(){return be})),n.d(t,"f",(function(){return p}));var r=n(3),i=n(352),o=(n(420),n(394)),a=n(341),s=n(422),u=n(18),c={}.constructor;function l(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(l);if(e.constructor!==c)return e;var t={};for(var n in e)t[n]=l(e[n]);return t}function d(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=l(t),o=r.plugins.onCreateRule(e,i,n);return o||(e[0],null)}var f=function(e,t){for(var n="",r=0;r<+~=|^:(),"'`\s])/g,v="undefined"!=typeof CSS&&CSS.escape,y=function(e){return v?v(e):e.replace(g,"\\$1")},x=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,a=e in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var u=this.options.sheet;return u&&u.attached,this},e}(),w=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var o=r.selector,a=r.scoped,u=r.sheet,c=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=c(Object(s.a)(Object(s.a)(i)),u),i.selectorText="."+y(i.id)),i}Object(a.a)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=p(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return b(this.selectorText,this.style,n)},Object(o.a)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(x),O={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new w(e,t,n)}},j={indent:1,children:!0},C=/@([\w-]+)/,E=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var i=e.match(C);for(var o in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Y(Object(r.a)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){void 0===e&&(e=j);var t=h(e).linebreak;if(null==e.indent&&(e.indent=j.indent),null==e.children&&(e.children=j.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),S=/@media|@supports\s+/,k={onCreateRule:function(e,t,n){return S.test(e)?new E(e,t,n):null}},A={indent:1,children:!0},_=/@keyframes\s+([\w-]+)/,D=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=e.match(_);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,a=n.sheet,s=n.generateId;for(var u in this.id=!1===o?this.name:y(s(this,a)),this.rules=new Y(Object(r.a)({},n,{parent:this})),t)this.rules.add(u,t[u],Object(r.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=A);var t=h(e).linebreak;if(null==e.indent&&(e.indent=A.indent),null==e.children&&(e.children=A.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),F=/@keyframes\s+/,R=/\$([\w-]+)/g,P=function(e,t){return"string"==typeof e?e.replace(R,(function(e,n){return n in t?t[n]:e})):e},T=function(e,t,n){var r=e[t],i=P(r,n);i!==r&&(e[t]=i)},B={onCreateRule:function(e,t,n){return"string"==typeof e&&F.test(e)?new D(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&T(e,"animation-name",n.keyframes),"animation"in e&&T(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return P(e,r.keyframes);default:return e}}},M=function(e){function t(){return e.apply(this,arguments)||this}return Object(a.a)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return b(this.key,this.style,n)},t}(x),N={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new M(e,t,n):null}},I=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=h(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Object(u.a)(t,["attached"]),i=h(r).linebreak,o="",a=0;a0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var i=function(e){for(var t=se(),n=0;nn?n:t},fe=function(){function e(e){this.getPropertyValue=re,this.setProperty=ie,this.removeProperty=oe,this.setSelector=ae,this.hasInsertedRules=!1,this.cssRules=[],e&&Z.add(e),this.sheet=e;var t,n=this.sheet?this.sheet.options:{},r=n.media,i=n.meta,o=n.element;this.element=o||((t=document.createElement("style")).textContent="\n",t),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),i&&this.element.setAttribute("data-meta",i);var a=ce();a&&this.element.setAttribute("nonce",a)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=ue(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else se().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n`@media (min-width:${r[e]}px)`};function o(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const e=o.breakpoints||i;return t.reduce((r,i,o)=>(r[e.up(e.keys[o])]=n(t[o]),r),{})}if("object"==typeof t){const e=o.breakpoints||i;return Object.keys(t).reduce((i,o)=>{if(-1!==Object.keys(e.values||r).indexOf(o)){i[e.up(o)]=n(t[o],o)}else{const e=o;i[e]=t[e]}return i},{})}return n(t)}function a(e={}){var t;return(null==e||null==(t=e.keys)?void 0:t.reduce((t,n)=>(t[e.up(n)]={},t),{}))||{}}function s(e,t){return e.reduce((e,t)=>{const n=e[t];return 0===Object.keys(n).length&&delete e[t],e},t)}function u({values:e,base:t}){const n=Object.keys(t);if(0===n.length)return e;let r;return n.reduce((t,n)=>(t[n]="object"==typeof e?null!=e[n]?e[n]:e[r]:e,r=n,t),{})}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MathJaxBaseContext=t.MathJaxContext=t.MathJax=void 0;var i=n(1199);Object.defineProperty(t,"MathJax",{enumerable:!0,get:function(){return r(i).default}});var o=n(645);Object.defineProperty(t,"MathJaxContext",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"MathJaxBaseContext",{enumerable:!0,get:function(){return o.MathJaxBaseContext}})},function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(52),c=n(80),l=n(28),d=n(17),f=n(34),p=n(304),h=n(82),m=n(1),b=n(605),g=n(5);const v=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"],y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},x=Object(d.a)(m.a,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t["underline"+Object(l.a)(n.underline)],"button"===n.component&&t.button]}})(({theme:e,ownerState:t})=>{const n=Object(u.b)(e,"palette."+(e=>y[e]||e)(t.color))||t.color;return Object(i.a)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==n?Object(c.a)(n,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&."+b.a.focusVisible]:{outline:"auto"}})}),w=o.forwardRef((function(e,t){const n=Object(f.a)({props:e,name:"MuiLink"}),{className:u,color:c="primary",component:d="a",onBlur:m,onFocus:y,TypographyClasses:w,underline:O="always",variant:j="inherit"}=n,C=Object(r.a)(n,v),{isFocusVisibleRef:E,onBlur:S,onFocus:k,ref:A}=Object(p.a)(),[_,D]=o.useState(!1),F=Object(h.a)(t,A),R=Object(i.a)({},n,{color:c,component:d,focusVisible:_,underline:O,variant:j}),P=(e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,o={root:["root","underline"+Object(l.a)(i),"button"===n&&"button",r&&"focusVisible"]};return Object(s.a)(o,b.b,t)})(R);return Object(g.jsx)(x,Object(i.a)({className:Object(a.default)(P.root,u),classes:w,color:c,component:d,onBlur:e=>{S(e),!1===E.current&&D(!1),m&&m(e)},onFocus:e=>{k(e),!0===E.current&&D(!0),y&&y(e)},ref:F,ownerState:R,variant:j},C))}));t.a=w},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(193),c=n(1),l=n(28),d=n(17),f=n(34),p=n(406),h=n(5);const m=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","value"],b=Object(d.a)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+p.a.label]:t.label},t.root,t["labelPlacement"+Object(l.a)(n.labelPlacement)]]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,["&."+p.a.disabled]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{["& ."+p.a.label]:{["&."+p.a.disabled]:{color:e.palette.text.disabled}}})),g=o.forwardRef((function(e,t){const n=Object(f.a)({props:e,name:"MuiFormControlLabel"}),{className:d,componentsProps:g={},control:v,disabled:y,disableTypography:x,label:w,labelPlacement:O="end"}=n,j=Object(r.a)(n,m),C=Object(u.a)();let E=y;void 0===E&&void 0!==v.props.disabled&&(E=v.props.disabled),void 0===E&&C&&(E=C.disabled);const S={disabled:E};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===v.props[e]&&void 0!==n[e]&&(S[e]=n[e])});const k=Object(i.a)({},n,{disabled:E,label:w,labelPlacement:O}),A=(e=>{const{classes:t,disabled:n,labelPlacement:r}=e,i={root:["root",n&&"disabled","labelPlacement"+Object(l.a)(r)],label:["label",n&&"disabled"]};return Object(s.a)(i,p.b,t)})(k);return Object(h.jsxs)(b,Object(i.a)({className:Object(a.default)(A.root,d),ownerState:k,ref:t},j,{children:[o.cloneElement(v,S),w.type===c.a||x?w:Object(h.jsx)(c.a,Object(i.a)({component:"span",className:A.label},g.typography,{children:w}))]}))}));t.a=g},,function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,"a",(function(){return r}))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function o(e){var t=r.useRef(e);return i((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},,function(e,t,n){var r,i; + */me()},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l}));var r=n(0),i=(n(416),n(141)),o=(n(640),n(417),n(252),n(258)),a=n(298),s=n(465),u=Object(i.f)((function(e,t){var n=e.styles,u=Object(a.a)([n],void 0,Object(r.useContext)(i.c)),c=Object(r.useRef)();return Object(r.useLayoutEffect)((function(){var e=t.key+"-global",n=new s.a({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+u.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),c.current=[n,r],function(){n.flush()}}),[t]),Object(r.useLayoutEffect)((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==u.next&&Object(o.b)(t,u.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",u,n,!1)}}),[t,u.name]),null}));function c(){for(var e=arguments.length,t=new Array(e),n=0;n`@media (min-width:${r[e]}px)`};function o(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const e=o.breakpoints||i;return t.reduce((r,i,o)=>(r[e.up(e.keys[o])]=n(t[o]),r),{})}if("object"==typeof t){const e=o.breakpoints||i;return Object.keys(t).reduce((i,o)=>{if(-1!==Object.keys(e.values||r).indexOf(o)){i[e.up(o)]=n(t[o],o)}else{const e=o;i[e]=t[e]}return i},{})}return n(t)}function a(e={}){var t;return(null==e||null==(t=e.keys)?void 0:t.reduce((t,n)=>(t[e.up(n)]={},t),{}))||{}}function s(e,t){return e.reduce((e,t)=>{const n=e[t];return 0===Object.keys(n).length&&delete e[t],e},t)}function u({values:e,base:t}){const n=Object.keys(t);if(0===n.length)return e;let r;return n.reduce((t,n)=>(t[n]="object"==typeof e?null!=e[n]?e[n]:e[r]:e,r=n,t),{})}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MathJaxBaseContext=t.MathJaxContext=t.MathJax=void 0;var i=n(1199);Object.defineProperty(t,"MathJax",{enumerable:!0,get:function(){return r(i).default}});var o=n(645);Object.defineProperty(t,"MathJaxContext",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"MathJaxBaseContext",{enumerable:!0,get:function(){return o.MathJaxBaseContext}})},function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(53),c=n(80),l=n(28),d=n(17),f=n(34),p=n(304),h=n(82),m=n(1),b=n(605),g=n(5);const v=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"],y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},x=Object(d.a)(m.a,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t["underline"+Object(l.a)(n.underline)],"button"===n.component&&t.button]}})(({theme:e,ownerState:t})=>{const n=Object(u.b)(e,"palette."+(e=>y[e]||e)(t.color))||t.color;return Object(i.a)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==n?Object(c.a)(n,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&."+b.a.focusVisible]:{outline:"auto"}})}),w=o.forwardRef((function(e,t){const n=Object(f.a)({props:e,name:"MuiLink"}),{className:u,color:c="primary",component:d="a",onBlur:m,onFocus:y,TypographyClasses:w,underline:O="always",variant:j="inherit"}=n,C=Object(r.a)(n,v),{isFocusVisibleRef:E,onBlur:S,onFocus:k,ref:A}=Object(p.a)(),[_,D]=o.useState(!1),F=Object(h.a)(t,A),R=Object(i.a)({},n,{color:c,component:d,focusVisible:_,underline:O,variant:j}),P=(e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,o={root:["root","underline"+Object(l.a)(i),"button"===n&&"button",r&&"focusVisible"]};return Object(s.a)(o,b.b,t)})(R);return Object(g.jsx)(x,Object(i.a)({className:Object(a.default)(P.root,u),classes:w,color:c,component:d,onBlur:e=>{S(e),!1===E.current&&D(!1),m&&m(e)},onFocus:e=>{k(e),!0===E.current&&D(!0),y&&y(e)},ref:F,ownerState:R,variant:j},C))}));t.a=w},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(193),c=n(1),l=n(28),d=n(17),f=n(34),p=n(406),h=n(5);const m=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","value"],b=Object(d.a)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+p.a.label]:t.label},t.root,t["labelPlacement"+Object(l.a)(n.labelPlacement)]]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,["&."+p.a.disabled]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{["& ."+p.a.label]:{["&."+p.a.disabled]:{color:e.palette.text.disabled}}})),g=o.forwardRef((function(e,t){const n=Object(f.a)({props:e,name:"MuiFormControlLabel"}),{className:d,componentsProps:g={},control:v,disabled:y,disableTypography:x,label:w,labelPlacement:O="end"}=n,j=Object(r.a)(n,m),C=Object(u.a)();let E=y;void 0===E&&void 0!==v.props.disabled&&(E=v.props.disabled),void 0===E&&C&&(E=C.disabled);const S={disabled:E};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===v.props[e]&&void 0!==n[e]&&(S[e]=n[e])});const k=Object(i.a)({},n,{disabled:E,label:w,labelPlacement:O}),A=(e=>{const{classes:t,disabled:n,labelPlacement:r}=e,i={root:["root",n&&"disabled","labelPlacement"+Object(l.a)(r)],label:["label",n&&"disabled"]};return Object(s.a)(i,p.b,t)})(k);return Object(h.jsxs)(b,Object(i.a)({className:Object(a.default)(A.root,d),ownerState:k,ref:t},j,{children:[o.cloneElement(v,S),w.type===c.a||x?w:Object(h.jsx)(c.a,Object(i.a)({component:"span",className:A.label},g.typography,{children:w}))]}))}));t.a=g},,function(e,t,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,"a",(function(){return r}))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function o(e){var t=r.useRef(e);return i((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},,function(e,t,n){var r,i; /*! @preserve * numeral.js * version : 2.0.6 * author : Adam Draper * license : MIT * http://adamwdraper.github.com/Numeral-js/ - */void 0===(i="function"==typeof(r=function(){var e,t,n,r,i,o={},a={},s={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},u={currentLocale:s.currentLocale,zeroFormat:s.zeroFormat,nullFormat:s.nullFormat,defaultFormat:s.defaultFormat,scalePercentBy100:s.scalePercentBy100};function c(e,t){this._input=e,this._value=t}return(e=function(n){var r,i,a,s;if(e.isNumeral(n))r=n.value();else if(0===n||void 0===n)r=0;else if(null===n||t.isNaN(n))r=null;else if("string"==typeof n)if(u.zeroFormat&&n===u.zeroFormat)r=0;else if(u.nullFormat&&n===u.nullFormat||!n.replace(/[^0-9]+/g,"").length)r=null;else{for(i in o)if((s="function"==typeof o[i].regexps.unformat?o[i].regexps.unformat():o[i].regexps.unformat)&&n.match(s)){a=o[i].unformat;break}r=(a=a||e._.stringToNumber)(n)}else r=Number(n)||null;return new c(n,r)}).version="2.0.6",e.isNumeral=function(e){return e instanceof c},e._=t={numberToFormat:function(t,n,r){var i,o,s,u,c,l,d,f,p=a[e.options.currentLocale],h=!1,m=!1,b="",g="",v=!1;if(t=t||0,s=Math.abs(t),e._.includes(n,"(")?(h=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(l=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(o=!!(o=n.match(/a(k|m|b|t)?/))&&o[1],e._.includes(n," a")&&(b=" "),n=n.replace(new RegExp(b+"a[kmbt]?"),""),s>=1e12&&!o||"t"===o?(b+=p.abbreviations.trillion,t/=1e12):s<1e12&&s>=1e9&&!o||"b"===o?(b+=p.abbreviations.billion,t/=1e9):s<1e9&&s>=1e6&&!o||"m"===o?(b+=p.abbreviations.million,t/=1e6):(s<1e6&&s>=1e3&&!o||"k"===o)&&(b+=p.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(m=!0,n=n.replace("[.]",".")),u=t.toString().split(".")[0],c=n.split(".")[1],d=n.indexOf(","),i=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,c?(e._.includes(c,"[")?(c=(c=c.replace("]","")).split("["),g=e._.toFixed(t,c[0].length+c[1].length,r,c[1].length)):g=e._.toFixed(t,c.length,r),u=g.split(".")[0],g=e._.includes(g,".")?p.delimiters.decimal+g.split(".")[1]:"",m&&0===Number(g.slice(1))&&(g="")):u=e._.toFixed(t,0,r),b&&!o&&Number(u)>=1e3&&b!==p.abbreviations.trillion)switch(u=String(Number(u)/1e3),b){case p.abbreviations.thousand:b=p.abbreviations.million;break;case p.abbreviations.million:b=p.abbreviations.billion;break;case p.abbreviations.billion:b=p.abbreviations.trillion}if(e._.includes(u,"-")&&(u=u.slice(1),v=!0),u.length0;y--)u="0"+u;return d>-1&&(u=u.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+p.delimiters.thousands)),0===n.indexOf(".")&&(u=""),f=u+g+(b||""),h?f=(h&&v?"(":"")+f+(h&&v?")":""):l>=0?f=0===l?(v?"-":"+")+f:f+(v?"-":"+"):v&&(f="-"+f),f},stringToNumber:function(e){var t,n,r,i=a[u.currentLocale],o=e,s={thousand:3,million:6,billion:9,trillion:12};if(u.zeroFormat&&e===u.zeroFormat)n=0;else if(u.nullFormat&&e===u.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==i.delimiters.decimal&&(e=e.replace(/\./g,"").replace(i.delimiters.decimal,".")),s)if(r=new RegExp("[^a-zA-Z]"+i.abbreviations[t]+"(?:\\)|(\\"+i.currency.symbol+")?(?:\\))?)?$"),o.match(r)){n*=Math.pow(10,s[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){return"number"==typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),i=r.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{for(;o=i)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;or?e:r}),1)},toFixed:function(e,t,n,r){var i,o,a,s,u=e.toString().split("."),c=t-(r||0);return i=2===u.length?Math.min(Math.max(u[1].length,c),t):c,a=Math.pow(10,i),s=(n(e+"e+"+i)/a).toFixed(i),r>t-i&&(o=new RegExp("\\.?0{1,"+(r-(t-i))+"}$"),s=s.replace(o,"")),s}},e.options=u,e.formats=o,e.locales=a,e.locale=function(e){return e&&(u.currentLocale=e.toLowerCase()),u.currentLocale},e.localeData=function(e){if(!e)return a[u.currentLocale];if(e=e.toLowerCase(),!a[e])throw new Error("Unknown locale : "+e);return a[e]},e.reset=function(){for(var e in s)u[e]=s[e]},e.zeroFormat=function(e){u.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){u.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){u.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,i,o,a,s,u,c,l;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.localeData(n)}catch(t){c=e.localeData(e.locale())}return o=c.currency.symbol,s=c.abbreviations,r=c.delimiters.decimal,i="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,!(null!==(l=t.match(/^[^\d]+/))&&(t=t.substr(1),l[0]!==o)||null!==(l=t.match(/[^\d]+$/))&&(t=t.slice(0,-1),l[0]!==s.thousand&&l[0]!==s.million&&l[0]!==s.billion&&l[0]!==s.trillion)||(u=new RegExp(i+"{2}"),t.match(/[^\d.,]/g)||(a=t.split(r)).length>2||(a.length<2?!a[0].match(/^\d+.*\d$/)||a[0].match(u):1===a[0].length?!a[0].match(/^\d+$/)||a[0].match(u)||!a[1].match(/^\d+$/):!a[0].match(/^\d+.*\d$/)||a[0].match(u)||!a[1].match(/^\d+$/))))},e.fn=c.prototype={clone:function(){return e(this)},format:function(t,n){var r,i,a,s=this._value,c=t||u.defaultFormat;if(n=n||Math.round,0===s&&null!==u.zeroFormat)i=u.zeroFormat;else if(null===s&&null!==u.nullFormat)i=u.nullFormat;else{for(r in o)if(c.match(o[r].regexps.format)){a=o[r].format;break}i=(a=a||e._.numberToFormat)(s,c,n)}return i},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([this._value,e],(function(e,t,r,i){return e+Math.round(n*t)}),0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],(function(e,t,r,i){return e-Math.round(n*t)}),Math.round(this._value*n))/n,this},multiply:function(e){return this._value=t.reduce([this._value,e],(function(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)}),1),this},divide:function(e){return this._value=t.reduce([this._value,e],(function(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)})),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var i,o=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),i=e._.numberToFormat(t,n,r),e._.includes(i,")")?((i=i.split("")).splice(-1,0,o+"BPS"),i=i.join("")):i=i+o+"BPS",i},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},i="("+(i=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(e){return n.suffixes.indexOf(e)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(i)},format:function(t,i,o){var a,s,u,c=e._.includes(i,"ib")?r:n,l=e._.includes(i," b")||e._.includes(i," ib")?" ":"";for(i=i.replace(/\s?i?b/,""),a=0;a<=c.suffixes.length;a++)if(s=Math.pow(c.base,a),u=Math.pow(c.base,a+1),null===t||0===t||t>=s&&t0&&(t/=s);break}return e._.numberToFormat(t,i,o)+l},unformat:function(t){var i,o,a=e._.stringToNumber(t);if(a){for(i=n.suffixes.length-1;i>=0;i--){if(e._.includes(t,n.suffixes[i])){o=Math.pow(n.base,i);break}if(e._.includes(t,r.suffixes[i])){o=Math.pow(r.base,i);break}}a*=o||1}return a}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var i,o,a=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),i=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),o=0;o=0;o--)switch(s.after[o]){case"$":i=o===s.after.length-1?i+a.currency.symbol:e._.insert(i,a.currency.symbol,-(s.after.length-(1+o)));break;case" ":i=o===s.after.length-1?i+" ":e._.insert(i," ",-(s.after.length-(1+o)+a.currency.symbol.length-1))}return i}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var i=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(i[0]),n,r)+"e"+i[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),i=Number(n[1]);return i=e._.includes(t,"e-")?i*=-1:i,e._.reduce([r,Math.pow(10,i)],(function(t,n,r,i){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*o)}),1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var i=e.locales[e.options.currentLocale],o=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),o+=i.ordinal(t),e._.numberToFormat(t,n,r)+o}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var i,o=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),i=e._.numberToFormat(t,n,r),e._.includes(i,")")?((i=i.split("")).splice(-1,0,o+"%"),i=i.join("")):i=i+o+"%",i},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),i=Math.floor((e-60*r*60)/60),o=Math.round(e-60*r*60-60*i);return r+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e})?r.call(t,n,t,e):r)||(e.exports=i)},,,function(e,t,n){"use strict";n.d(t,"e",(function(){return E})),n.d(t,"d",(function(){return S})),n.d(t,"b",(function(){return k})),n.d(t,"a",(function(){return A}));var r=n(18),i=n(3),o=n(329),a=n(0),s=(n(11),n(12)),u=n(65),c=n(117),l=n(271),d=n(307),f=n(193),p=n(17),h=n(34),m=n(108),b=n(28),g=n(82),v=n(167),y=n(1242),x=n(1241),w=n(342),O=n(441),j=n(5);const C=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],E=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color"+Object(b.a)(n.color)],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},S=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},k=Object(p.a)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:E})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",["&."+O.a.disabled]:{color:e.palette.text.disabled,cursor:"default"}},t.multiline&&Object(i.a)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),A=Object(p.a)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:S})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r={color:"currentColor",opacity:n?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},o={opacity:"0 !important"},a={opacity:n?.42:.5};return Object(i.a)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${O.a.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},["&."+O.a.disabled]:{opacity:1,WebkitTextFillColor:e.palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield",WebkitAppearance:"textfield"})}),_=Object(j.jsx)(x.a,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),D=a.forwardRef((function(e,t){const n=Object(h.a)({props:e,name:"MuiInputBase"}),{"aria-describedby":p,autoComplete:x,autoFocus:E,className:S,components:D={},componentsProps:F={},defaultValue:R,disabled:P,endAdornment:T,fullWidth:B=!1,id:M,inputComponent:N="input",inputProps:I={},inputRef:L,maxRows:z,minRows:W,multiline:V=!1,name:H,onBlur:U,onChange:q,onClick:$,onFocus:G,onKeyDown:Y,onKeyUp:K,placeholder:X,readOnly:Z,renderSuffix:Q,rows:J,startAdornment:ee,type:te="text",value:ne}=n,re=Object(r.a)(n,C),ie=Object(m.a)(),oe=null!=I.value?I.value:ne,{current:ae}=a.useRef(null!=oe),se=a.useRef(),ue=a.useCallback(e=>{0},[]),ce=Object(g.a)(I.ref,ue),le=Object(g.a)(L,ce),de=Object(g.a)(se,le),[fe,pe]=a.useState(!1),he=Object(f.a)();const me=Object(l.a)({props:n,muiFormControl:he,states:["color","disabled","error","hiddenLabel","size","required","filled"]});me.focused=he?he.focused:fe,a.useEffect(()=>{!he&&P&&fe&&(pe(!1),U&&U())},[he,P,fe,U]);const be=he&&he.onFilled,ge=he&&he.onEmpty,ve=a.useCallback(e=>{Object(w.b)(e)?be&&be():ge&&ge()},[be,ge]);Object(v.a)(()=>{ae&&ve({value:oe})},[oe,ve,ae]);a.useEffect(()=>{ve(se.current)},[]);let ye=N,xe=I;V&&"input"===ye&&(xe=J?Object(i.a)({type:void 0,minRows:J,maxRows:J},xe):Object(i.a)({type:void 0,maxRows:z,minRows:W},xe),ye=y.a);a.useEffect(()=>{he&&he.setAdornedStart(Boolean(ee))},[he,ee]);const we=Object(i.a)({},n,{color:me.color||"primary",disabled:me.disabled,endAdornment:T,error:me.error,focused:me.focused,formControl:he,fullWidth:B,hiddenLabel:me.hiddenLabel,multiline:V,size:me.size,startAdornment:ee,type:te}),Oe=(e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:a,formControl:s,fullWidth:c,hiddenLabel:l,multiline:d,size:f,startAdornment:p,type:h}=e,m={root:["root","color"+Object(b.a)(n),r&&"disabled",i&&"error",c&&"fullWidth",a&&"focused",s&&"formControl","small"===f&&"sizeSmall",d&&"multiline",p&&"adornedStart",o&&"adornedEnd",l&&"hiddenLabel"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",d&&"inputMultiline","small"===f&&"inputSizeSmall",l&&"inputHiddenLabel",p&&"inputAdornedStart",o&&"inputAdornedEnd"]};return Object(u.a)(m,O.b,t)})(we),je=D.Root||k,Ce=F.root||{},Ee=D.Input||A;return xe=Object(i.a)({},xe,F.input),Object(j.jsxs)(a.Fragment,{children:[_,Object(j.jsxs)(je,Object(i.a)({},Ce,!Object(c.a)(je)&&{ownerState:Object(i.a)({},we,Ce.ownerState),theme:ie},{ref:t,onClick:e=>{se.current&&e.currentTarget===e.target&&se.current.focus(),$&&$(e)}},re,{className:Object(s.default)(Oe.root,Ce.className,S),children:[ee,Object(j.jsx)(d.a.Provider,{value:null,children:Object(j.jsx)(Ee,Object(i.a)({ownerState:we,"aria-invalid":me.error,"aria-describedby":p,autoComplete:x,autoFocus:E,defaultValue:R,disabled:me.disabled,id:M,onAnimationStart:e=>{ve("mui-auto-fill-cancel"===e.animationName?se.current:{value:"x"})},name:H,placeholder:X,readOnly:Z,required:me.required,rows:J,value:oe,onKeyDown:Y,onKeyUp:K,type:te},xe,!Object(c.a)(Ee)&&{as:ye,ownerState:Object(i.a)({},we,xe.ownerState),theme:ie},{ref:de,className:Object(s.default)(Oe.input,xe.className,I.className),onBlur:e=>{U&&U(e),I.onBlur&&I.onBlur(e),he&&he.onBlur?he.onBlur(e):pe(!1)},onChange:(e,...t)=>{if(!ae){const t=e.target||se.current;if(null==t)throw new Error(Object(o.a)(1));ve({value:t.value})}I.onChange&&I.onChange(e,...t),q&&q(e,...t)},onFocus:e=>{me.disabled?e.stopPropagation():(G&&G(e),I.onFocus&&I.onFocus(e),he&&he.onFocus?he.onFocus(e):pe(!0))}}))}),T,Q?Q(Object(i.a)({},me,{startAdornment:ee})):null]}))]})}));t.c=D},,function(e,t,n){"use strict";function r(e){return e.split("-")[0]}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(235);t.a=r.a},function(e,t,n){"use strict";var r=n(0);const i=r.createContext({});t.a=i},,,function(e,t,n){"use strict";var r=n(401);t.a=r.a},function(e,t,n){"use strict";n(3);var r=n(299);t.a=function(){for(var e=arguments.length,t=new Array(e),n=0;n0?h(E,--j):0,w--,10===C&&(w=1,x--),C}function _(){return C=j2||P(C)>3?"":" "}function I(e,t){for(;--t&&_()&&!(C<48||C>102||C>57&&C<65||C>70&&C<97););return R(e,F()+(t<6&&32==D()&&32==_()))}function L(e,t){for(;_()&&e+C!==57&&(e+C!==84||47!==D()););return"/*"+R(t,j-1)+"*"+l(47===e?e:_())}function z(e){for(;!P(D());)_();return R(e,j)}function W(e){return B(function e(t,n,r,i,o,a,s,u,c){var d=0,p=0,h=s,m=0,g=0,y=0,x=1,w=1,O=1,j=0,C="",E=o,S=a,k=i,R=C;for(;w;)switch(y=j,j=_()){case 34:case 39:case 91:case 40:R+=M(j);break;case 9:case 10:case 13:case 32:R+=N(y);break;case 92:R+=I(F()-1,7);continue;case 47:switch(D()){case 42:case 47:v(H(L(_(),F()),n,r),c);break;default:R+="/"}break;case 123*x:u[d++]=b(R)*O;case 125*x:case 59:case 0:switch(j){case 0:case 125:w=0;case 59+p:g>0&&b(R)-h&&v(g>32?U(R+";",i,r,h-1):U(f(R," ","")+";",i,r,h-2),c);break;case 59:R+=";";default:if(v(k=V(R,n,r,d,p,o,u,C,E=[],S=[],h),a),123===j)if(0===p)e(R,n,k,k,E,a,h,u,S);else switch(m){case 100:case 109:case 115:e(t,k,k,i&&v(V(t,k,k,0,0,o,u,C,o,E=[],h),S),o,S,h,u,i?E:S);break;default:e(R,k,k,k,[""],S,h,u,S)}}d=p=g=0,x=O=1,C=R="",h=s;break;case 58:h=1+b(R),g=y;default:if(x<1)if(123==j)--x;else if(125==j&&0==x++&&125==A())continue;switch(R+=l(j),j*x){case 38:O=p>0?1:(R+="\f",-1);break;case 44:u[d++]=(b(R)-1)*O,O=1;break;case 64:45===D()&&(R+=M(_())),m=D(),p=b(C=R+=z(F())),j++;break;case 45:45===y&&2==b(R)&&(x=0)}}return a}("",null,null,null,[""],e=T(e),0,[0],e))}function V(e,t,n,r,i,o,a,u,l,p,h){for(var b=i-1,v=0===i?o:[""],y=g(v),x=0,w=0,O=0;x0?v[j]+" "+C:f(C,/&\f/g,v[j])))&&(l[O++]=E);return S(e,t,n,0===i?s:u,l,p,h)}function H(e,t,n){return S(e,t,n,a,l(C),m(e,2,-2),0)}function U(e,t,n,r){return S(e,t,n,u,m(e,0,r),m(e,r+1,-1),r)}function q(e,t){switch(function(e,t){return(((t<<2^h(e,0))<<2^h(e,1))<<2^h(e,2))<<2^h(e,3)}(e,t)){case 5103:return o+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return o+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return o+e+i+e+r+e+e;case 6828:case 4268:return o+e+r+e+e;case 6165:return o+e+r+"flex-"+e+e;case 5187:return o+e+f(e,/(\w+).+(:[^]+)/,o+"box-$1$2"+r+"flex-$1$2")+e;case 5443:return o+e+r+"flex-item-"+f(e,/flex-|-self/,"")+e;case 4675:return o+e+r+"flex-line-pack"+f(e,/align-content|flex-|-self/,"")+e;case 5548:return o+e+r+f(e,"shrink","negative")+e;case 5292:return o+e+r+f(e,"basis","preferred-size")+e;case 6060:return o+"box-"+f(e,"-grow","")+o+e+r+f(e,"grow","positive")+e;case 4554:return o+f(e,/([^-])(transform)/g,"$1"+o+"$2")+e;case 6187:return f(f(f(e,/(zoom-|grab)/,o+"$1"),/(image-set)/,o+"$1"),e,"")+e;case 5495:case 3959:return f(e,/(image-set\([^]*)/,o+"$1$`$1");case 4968:return f(f(e,/(.+:)(flex-)?(.*)/,o+"box-pack:$3"+r+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+o+e+e;case 4095:case 3583:case 4068:case 2532:return f(e,/(.+)-inline(.+)/,o+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(b(e)-1-t>6)switch(h(e,t+1)){case 109:if(45!==h(e,t+4))break;case 102:return f(e,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+i+(108==h(e,t+3)?"$3":"$2-$3"))+e;case 115:return~p(e,"stretch")?q(f(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==h(e,t+1))break;case 6444:switch(h(e,b(e)-3-(~p(e,"!important")&&10))){case 107:return f(e,":",":"+o)+e;case 101:return f(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+o+(45===h(e,14)?"inline-":"")+"box$3$1"+o+"$2$3$1"+r+"$2box$3")+e}break;case 5936:switch(h(e,t+11)){case 114:return o+e+r+f(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return o+e+r+f(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return o+e+r+f(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return o+e+r+e+e}return e}function $(e,t){for(var n="",r=g(e),i=0;i{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})(({theme:e,ownerState:t})=>Object(i.a)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&Object(i.a)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"})),y=Object(c.a)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>Object(i.a)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})),x=Object(c.a)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>Object(i.a)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})),w=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiCollapse"}),{addEndListener:c,children:w,className:O,collapsedSize:j="0px",component:C,easing:E,in:S,onEnter:k,onEntered:A,onEntering:_,onExit:D,onExited:F,onExiting:R,orientation:P="vertical",style:T,timeout:B=d.b.standard,TransitionComponent:M=s.a}=n,N=Object(r.a)(n,g),I=Object(i.a)({},n,{orientation:P,collapsedSize:j}),L=(e=>{const{orientation:t,classes:n}=e,r={root:["root",""+t],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",""+t],wrapperInner:["wrapperInner",""+t]};return Object(u.a)(r,m.a,n)})(I),z=Object(p.a)(),W=o.useRef(),V=o.useRef(null),H=o.useRef(),U="number"==typeof j?j+"px":j,q="horizontal"===P,$=q?"width":"height";o.useEffect(()=>()=>{clearTimeout(W.current)},[]);const G=o.useRef(null),Y=Object(h.a)(t,G),K=e=>t=>{if(e){const n=G.current;void 0===t?e(n):e(n,t)}},X=()=>V.current?V.current[q?"clientWidth":"clientHeight"]:0,Z=K((e,t)=>{V.current&&q&&(V.current.style.position="absolute"),e.style[$]=U,k&&k(e,t)}),Q=K((e,t)=>{const n=X();V.current&&q&&(V.current.style.position="");const{duration:r,easing:i}=Object(f.a)({style:T,timeout:B,easing:E},{mode:"enter"});if("auto"===B){const t=z.transitions.getAutoHeightDuration(n);e.style.transitionDuration=t+"ms",H.current=t}else e.style.transitionDuration="string"==typeof r?r:r+"ms";e.style[$]=n+"px",e.style.transitionTimingFunction=i,_&&_(e,t)}),J=K((e,t)=>{e.style[$]="auto",A&&A(e,t)}),ee=K(e=>{e.style[$]=X()+"px",D&&D(e)}),te=K(F),ne=K(e=>{const t=X(),{duration:n,easing:r}=Object(f.a)({style:T,timeout:B,easing:E},{mode:"exit"});if("auto"===B){const n=z.transitions.getAutoHeightDuration(t);e.style.transitionDuration=n+"ms",H.current=n}else e.style.transitionDuration="string"==typeof n?n:n+"ms";e.style[$]=U,e.style.transitionTimingFunction=r,R&&R(e)});return Object(b.jsx)(M,Object(i.a)({in:S,onEnter:Z,onEntered:J,onEntering:Q,onExit:ee,onExited:te,onExiting:ne,addEndListener:e=>{"auto"===B&&(W.current=setTimeout(e,H.current||0)),c&&c(G.current,e)},nodeRef:G,timeout:"auto"===B?null:B},N,{children:(e,t)=>Object(b.jsx)(v,Object(i.a)({as:C,className:Object(a.default)(L.root,O,{entered:L.entered,exited:!S&&"0px"===U&&L.hidden}[e]),style:Object(i.a)({[q?"minWidth":"minHeight"]:U},T),ownerState:Object(i.a)({},I,{state:e}),ref:Y},t,{children:Object(b.jsx)(y,{ownerState:Object(i.a)({},I,{state:e}),className:L.wrapper,ref:V,children:Object(b.jsx)(x,{ownerState:Object(i.a)({},I,{state:e}),className:L.wrapperInner,children:w})})}))}))}));w.muiSupportAuto=!0,t.a=w},function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(0),a=(n(11),n(12)),s=n(65),u=n(314),c=n(34),l=n(17),d=n(755),f=n(5);const p=["className","component"],h=Object(l.a)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),m={variant:"body"},b="tbody",g=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiTableBody"}),{className:o,component:l=b}=n,g=Object(i.a)(n,p),v=Object(r.a)({},n,{component:l}),y=(e=>{const{classes:t}=e;return Object(s.a)({root:["root"]},d.a,t)})(v);return Object(f.jsx)(u.a.Provider,{value:m,children:Object(f.jsx)(h,Object(r.a)({className:Object(a.default)(y.root,o),as:l,ref:t,role:l===b?null:"rowgroup",ownerState:v},g))})}));t.a=g},function(e,t,n){"use strict";var r=n(275);t.a=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,i)=>t[i]?Object(r.a)(n,t[i](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(104);function i(e){return((Object(r.a)(e)?e.ownerDocument:e.document)||window.document).documentElement}},,,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(296),n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(174),d=n(72),f=n(501),p=n(269),h=n(405),m=n(5);const b=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],g=Object(u.a)(d.a,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+h.a.region]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:e.palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&:before":{display:"none"}},["&."+h.a.expanded]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},["&."+h.a.disabled]:{backgroundColor:e.palette.action.disabledBackground}}},({theme:e,ownerState:t})=>Object(i.a)({},!t.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:e.shape.borderRadius,borderBottomRightRadius:e.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!t.disableGutters&&{["&."+h.a.expanded]:{margin:"16px 0"}})),v=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiAccordion"}),{children:u,className:d,defaultExpanded:v=!1,disabled:y=!1,disableGutters:x=!1,expanded:w,onChange:O,square:j=!1,TransitionComponent:C=l.a,TransitionProps:E}=n,S=Object(r.a)(n,b),[k,A]=Object(p.a)({controlled:w,default:v,name:"Accordion",state:"expanded"}),_=o.useCallback(e=>{A(!k),O&&O(e,!k)},[k,O,A]),[D,...F]=o.Children.toArray(u),R=o.useMemo(()=>({expanded:k,disabled:y,disableGutters:x,toggle:_}),[k,y,x,_]),P=Object(i.a)({},n,{square:j,disabled:y,disableGutters:x,expanded:k}),T=(e=>{const{classes:t,square:n,expanded:r,disabled:i,disableGutters:o}=e,a={root:["root",!n&&"rounded",r&&"expanded",i&&"disabled",!o&&"gutters"],region:["region"]};return Object(s.a)(a,h.b,t)})(P);return Object(m.jsxs)(g,Object(i.a)({className:Object(a.default)(T.root,d),ref:t,ownerState:P,square:j},S,{children:[Object(m.jsx)(f.a.Provider,{value:R,children:D}),Object(m.jsx)(C,Object(i.a)({in:k,timeout:"auto"},E,{children:Object(m.jsx)("div",{"aria-labelledby":D.props.id,id:D.props["aria-controls"],role:"region",className:T.region,children:F})}))]}))}));t.a=v},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(290),d=n(501),f=n(333),p=n(5);const h=["children","className","expandIcon","focusVisibleClassName","onClick"],m=Object(u.a)(l.a,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{const n={duration:e.transitions.duration.shortest};return Object(i.a)({display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],n),["&."+f.a.focusVisible]:{backgroundColor:e.palette.action.focus},["&."+f.a.disabled]:{opacity:e.palette.action.disabledOpacity},[`&:hover:not(.${f.a.disabled})`]:{cursor:"pointer"}},!t.disableGutters&&{["&."+f.a.expanded]:{minHeight:64}})}),b=Object(u.a)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>Object(i.a)({display:"flex",flexGrow:1,margin:"12px 0"},!t.disableGutters&&{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),["&."+f.a.expanded]:{margin:"20px 0"}})),g=Object(u.a)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})(({theme:e})=>({display:"flex",color:e.palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),["&."+f.a.expanded]:{transform:"rotate(180deg)"}})),v=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiAccordionSummary"}),{children:u,className:l,expandIcon:v,focusVisibleClassName:y,onClick:x}=n,w=Object(r.a)(n,h),{disabled:O=!1,disableGutters:j,expanded:C,toggle:E}=o.useContext(d.a),S=Object(i.a)({},n,{expanded:C,disabled:O,disableGutters:j}),k=(e=>{const{classes:t,expanded:n,disabled:r,disableGutters:i}=e,o={root:["root",n&&"expanded",r&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return Object(s.a)(o,f.b,t)})(S);return Object(p.jsxs)(m,Object(i.a)({focusRipple:!1,disableRipple:!0,disabled:O,component:"div","aria-expanded":C,className:Object(a.default)(k.root,l),focusVisibleClassName:Object(a.default)(k.focusVisible,y),onClick:e=>{E&&E(e),x&&x(e)},ref:t,ownerState:S},w,{children:[Object(p.jsx)(b,{className:k.content,ownerState:S,children:u}),v&&Object(p.jsx)(g,{className:k.expandIconWrapper,ownerState:S,children:v})]}))}));t.a=v},function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(0),a=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(783),d=n(5);const f=["className"],p=Object(u.a)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(1,2,2)})),h=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiAccordionDetails"}),{className:o}=n,u=Object(i.a)(n,f),h=n,m=(e=>{const{classes:t}=e;return Object(s.a)({root:["root"]},l.a,t)})(h);return Object(d.jsx)(p,Object(r.a)({className:Object(a.default)(m.root,o),ref:t,ownerState:h},u))}));t.a=h},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(307);function o(){return r.useContext(i.a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(151);function i(e){return Object(r.a)(e).getComputedStyle(e)}},function(e,t,n){"use strict";var r=n(251);t.a=r.a},,function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l}));var r=n(18),i=n(3);const o=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function u(e){return Math.round(e)+"ms"}function c(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function l(e){const t=Object(i.a)({},a,e.easing),n=Object(i.a)({},s,e.duration);return Object(i.a)({getAutoHeightDuration:c,create:(e=["all"],i={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:c=0}=i;Object(r.a)(i,o);return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:u(a)} ${s} ${"string"==typeof c?c:u(c)}`).join(",")}},e,{easing:t,duration:n})}},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m})),n.d(t,"d",(function(){return b}));var r=n(145),i=n(52),o=n(275),a=n(662);const s={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=Object(a.a)(e=>{if(e.length>2){if(!c[e])return[e];e=c[e]}const[t,n]=e.split(""),r=s[t],i=u[n]||"";return Array.isArray(i)?i.map(e=>r+e):[r+i]}),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...d,...f];function h(e,t,n,r){const o=Object(i.b)(e,t)||n;return"number"==typeof o?e=>"string"==typeof e?e:o*e:Array.isArray(o)?e=>"string"==typeof e?e:o[e]:"function"==typeof o?o:()=>{}}function m(e){return h(e,"spacing",8)}function b(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-"+n}function g(e,t,n,i){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=b(t,n),e),{})}(l(n),i),a=e[n];return Object(r.b)(e,a,o)}function v(e,t){const n=m(e.theme);return Object.keys(e).map(r=>g(e,t,r,n)).reduce(o.a,{})}function y(e){return v(e,d)}function x(e){return v(e,f)}function w(e){return v(e,p)}y.propTypes={},y.filterProps=d,x.propTypes={},x.filterProps=f,w.propTypes={},w.filterProps=p,t.c=w},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));const r=e=>e.scrollTop;function i(e,t){var n,r;const{timeout:i,easing:o,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof i?i:i[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof o?o[t.mode]:o,delay:a.transitionDelay}}},,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(290),c=n(28),l=n(34),d=n(17),f=n(334),p=n(5);const h=["className","disabled","disableFocusRipple","fullWidth","icon","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],m=Object(d.a)(u.a,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t["textColor"+Object(c.a)(n.textColor)],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",flexDirection:"column",lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,"& > *:first-child":{marginBottom:6}},"inherit"===t.textColor&&{color:"inherit",opacity:.6,["&."+f.a.selected]:{opacity:1},["&."+f.a.disabled]:{opacity:e.palette.action.disabledOpacity}},"primary"===t.textColor&&{color:e.palette.text.secondary,["&."+f.a.selected]:{color:e.palette.primary.main},["&."+f.a.disabled]:{color:e.palette.text.disabled}},"secondary"===t.textColor&&{color:e.palette.text.secondary,["&."+f.a.selected]:{color:e.palette.secondary.main},["&."+f.a.disabled]:{color:e.palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),b=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiTab"}),{className:o,disabled:u=!1,disableFocusRipple:d=!1,fullWidth:b,icon:g,indicator:v,label:y,onChange:x,onClick:w,onFocus:O,selected:j,selectionFollowsFocus:C,textColor:E="inherit",value:S,wrapped:k=!1}=n,A=Object(r.a)(n,h),_=Object(i.a)({},n,{disabled:u,disableFocusRipple:d,selected:j,icon:!!g,label:!!y,fullWidth:b,textColor:E,wrapped:k}),D=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:i,icon:o,label:a,selected:u,disabled:l}=e,d={root:["root",o&&a&&"labelIcon","textColor"+Object(c.a)(n),r&&"fullWidth",i&&"wrapped",u&&"selected",l&&"disabled"]};return Object(s.a)(d,f.b,t)})(_);return Object(p.jsxs)(m,Object(i.a)({focusRipple:!d,className:Object(a.default)(D.root,o),ref:t,role:"tab","aria-selected":j,disabled:u,onClick:e=>{!j&&x&&x(e,S),w&&w(e)},onFocus:e=>{C&&!j&&x&&x(e,S),O&&O(e)},ownerState:_,tabIndex:j?0:-1},A,{children:[g,y,v]}))}));t.a=b},,,,function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3);function i(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function o(e,t,n={clone:!0}){const a=n.clone?Object(r.a)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach(r=>{"__proto__"!==r&&(i(t[r])&&r in e&&i(e[r])?a[r]=o(e[r],t[r],n):a[r]=t[r])}),a}},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(497),c=n(34),l=n(17),d=n(754),f=n(5);const p=["className","component","padding","size","stickyHeader"],h=Object(l.a)("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Object(i.a)({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),m="table",b=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiTable"}),{className:l,component:b=m,padding:g="normal",size:v="medium",stickyHeader:y=!1}=n,x=Object(r.a)(n,p),w=Object(i.a)({},n,{component:b,padding:g,size:v,stickyHeader:y}),O=(e=>{const{classes:t,stickyHeader:n}=e,r={root:["root",n&&"stickyHeader"]};return Object(s.a)(r,d.a,t)})(w),j=o.useMemo(()=>({padding:g,size:v,stickyHeader:y}),[g,v,y]);return Object(f.jsx)(u.a.Provider,{value:j,children:Object(f.jsx)(h,Object(i.a)({as:b,role:b===m?null:"table",ref:t,className:Object(a.default)(O.root,l),ownerState:w},x))})}));t.a=b},,,function(e,t,n){"use strict";var r=n(1243);t.a=r.a},,function(e,t,n){"use strict";var r=n(563);t.a=r.a},,,,,,,,function(e,t,n){"use strict";var r=n(0);t.a=function(e,t,n=!0){const i=Object(r.useRef)(!0);Object(r.useEffect)(i.current||!n?()=>{i.current=!1}:e,t)}},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n(64);var r=n(63);const i=Object(r.a)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);t.a=i},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(683),i=n(177),o=n(254),a=n(469),s=n(421),u=n(50),c=n(104),l=n(470),d=n(472);function f(e,t){void 0===t&&(t={});var n=t,f=n.placement,p=void 0===f?e.placement:f,h=n.boundary,m=void 0===h?u.d:h,b=n.rootBoundary,g=void 0===b?u.o:b,v=n.elementContext,y=void 0===v?u.i:v,x=n.altBoundary,w=void 0!==x&&x,O=n.padding,j=void 0===O?0:O,C=Object(l.a)("number"!=typeof j?j:Object(d.a)(j,u.b)),E=y===u.i?u.j:u.i,S=e.rects.popper,k=e.elements[w?E:y],A=Object(r.a)(Object(c.a)(k)?k:k.contextElement||Object(i.a)(e.elements.popper),m,g),_=Object(o.a)(e.elements.reference),D=Object(a.a)({reference:_,element:S,strategy:"absolute",placement:p}),F=Object(s.a)(Object.assign({},S,D)),R=y===u.i?F:_,P={top:A.top-R.top+C.top,bottom:R.bottom-A.bottom+C.bottom,left:A.left-R.left+C.left,right:R.right-A.right+C.right},T=e.modifiersData.offset;if(y===u.i&&T){var B=T[p];Object.keys(P).forEach((function(e){var t=[u.k,u.c].indexOf(e)>=0?1:-1,n=[u.m,u.c].indexOf(e)>=0?"y":"x";P[e]+=B[n]*t}))}return P}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(701),i=n(702),o=n(480),a=n(703);function s(e){return Object(r.a)(e)||Object(i.a)(e)||Object(o.a)(e)||Object(a.a)()}},function(e,t,n){"use strict";function r(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&void 0===t[n]&&(e[n]=r[n]),e}),{})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return Ie}));var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",o={5:i,"5module":i+" export import",6:i+" const class extends export import super"},a=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",c=new RegExp("["+s+"]"),l=new RegExp("["+s+u+"]");s=u=null;var d=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],f=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function p(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function h(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&p(e,d)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&(p(e,d)||p(e,f)))))}var b=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new b(e,{beforeExpr:!0,binop:t})}var v={beforeExpr:!0},y={startsExpr:!0},x={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new b(e,t)}var O={num:new b("num",y),regexp:new b("regexp",y),string:new b("string",y),name:new b("name",y),privateId:new b("privateId",y),eof:new b("eof"),bracketL:new b("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new b("]"),braceL:new b("{",{beforeExpr:!0,startsExpr:!0}),braceR:new b("}"),parenL:new b("(",{beforeExpr:!0,startsExpr:!0}),parenR:new b(")"),comma:new b(",",v),semi:new b(";",v),colon:new b(":",v),dot:new b("."),question:new b("?",v),questionDot:new b("?."),arrow:new b("=>",v),template:new b("template"),invalidTemplate:new b("invalidTemplate"),ellipsis:new b("...",v),backQuote:new b("`",y),dollarBraceL:new b("${",{beforeExpr:!0,startsExpr:!0}),eq:new b("=",{beforeExpr:!0,isAssign:!0}),assign:new b("_=",{beforeExpr:!0,isAssign:!0}),incDec:new b("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new b("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new b("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new b("**",{beforeExpr:!0}),coalesce:g("??",1),_break:w("break"),_case:w("case",v),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",v),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",v),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",y),_if:w("if"),_return:w("return",v),_switch:w("switch"),_throw:w("throw",v),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",y),_super:w("super",y),_class:w("class",y),_extends:w("extends",v),_export:w("export"),_import:w("import",y),_null:w("null",y),_true:w("true",y),_false:w("false",y),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},j=/\r\n?|\n|\u2028|\u2029/,C=new RegExp(j.source,"g");function E(e){return 10===e||13===e||8232===e||8233===e}var S=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,k=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,A=Object.prototype,_=A.hasOwnProperty,D=A.toString;function F(e,t){return _.call(e,t)}var R=Array.isArray||function(e){return"[object Array]"===D.call(e)};function P(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var T=function(e,t){this.line=e,this.column=t};T.prototype.offset=function(e){return new T(this.line,this.column+e)};var B=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function M(e,t){for(var n=1,r=0;;){C.lastIndex=r;var i=C.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),R(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return R(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,o,a,s){var u={type:n?"Block":"Line",value:r,start:i,end:o};e.locations&&(u.loc=new B(this,a,s)),e.ranges&&(u.range=[i,o]),t.push(u)}}(t,t.onComment)),t}function z(e,t){return 2|(e?4:0)|(t?8:0)}var W=function(e,t,n){this.options=e=L(e),this.sourceFile=e.sourceFile,this.keywords=P(o[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var i="";!0!==e.allowReserved&&(i=r[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(i+=" await")),this.reservedWords=P(i);var a=(i?i+" ":"")+r.strict;this.reservedWordsStrict=P(a),this.reservedWordsStrictBind=P(a+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(j).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=O.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},V={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};W.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},V.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},V.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},V.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},V.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||256&t.flags)return!1;if(2&t.flags)return(4&t.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},V.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(64&t)>0||n||this.options.allowSuperOutsideMethod},V.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},V.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},V.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(258&t)>0||n},V.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},W.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(r+1))}e+=t[0].length,k.lastIndex=e,e+=k.exec(this.input)[0].length,";"===this.input[e]&&e++}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===O.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===O.eof||this.type===O.braceR||j.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){this.eat(O.semi)||this.insertSemicolon()||this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&r<56320)return!0;if(e)return!1;if(123===r)return!0;if(h(r,!0)){for(var i=n+1;m(r=this.input.charCodeAt(i),!0);)++i;if(92===r||r>55295&&r<56320)return!0;var o=this.input.slice(n,i);if(!a.test(o))return!0}return!1},$.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;k.lastIndex=this.pos;var e,t=k.exec(this.input),n=this.pos+t[0].length;return!(j.test(this.input.slice(this.pos,n))||"function"!==this.input.slice(n,n+8)||n+8!==this.input.length&&(m(e=this.input.charCodeAt(n+8))||e>55295&&e<56320))},$.parseStatement=function(e,t,n){var r,i=this.type,o=this.startNode();switch(this.isLet(e)&&(i=O._var,r="let"),i){case O._break:case O._continue:return this.parseBreakContinueStatement(o,i.keyword);case O._debugger:return this.parseDebuggerStatement(o);case O._do:return this.parseDoStatement(o);case O._for:return this.parseForStatement(o);case O._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(o,!1,!e);case O._class:return e&&this.unexpected(),this.parseClass(o,!0);case O._if:return this.parseIfStatement(o);case O._return:return this.parseReturnStatement(o);case O._switch:return this.parseSwitchStatement(o);case O._throw:return this.parseThrowStatement(o);case O._try:return this.parseTryStatement(o);case O._const:case O._var:return r=r||this.value,e&&"var"!==r&&this.unexpected(),this.parseVarStatement(o,r);case O._while:return this.parseWhileStatement(o);case O._with:return this.parseWithStatement(o);case O.braceL:return this.parseBlock(!0,o);case O.semi:return this.parseEmptyStatement(o);case O._export:case O._import:if(this.options.ecmaVersion>10&&i===O._import){k.lastIndex=this.pos;var a=k.exec(this.input),s=this.pos+a[0].length,u=this.input.charCodeAt(s);if(40===u||46===u)return this.parseExpressionStatement(o,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===O._import?this.parseImport(o):this.parseExport(o,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(o,!0,!e);var c=this.value,l=this.parseExpression();return i===O.name&&"Identifier"===l.type&&this.eat(O.colon)?this.parseLabeledStatement(o,c,l,e):this.parseExpressionStatement(o,l)}},$.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(O.semi)||this.insertSemicolon()?e.label=null:this.type!==O.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(O.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},$.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(G),this.enterScope(0),this.expect(O.parenL),this.type===O.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===O._var||this.type===O._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.type===O._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===r.declarations.length?(this.options.ecmaVersion>=9&&(this.type===O._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var o=this.isContextual("let"),a=!1,s=new q,u=this.parseExpression(!(t>-1)||"await",s);return this.type===O._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===O._in?t>-1&&this.unexpected(t):e.await=t>-1),o&&a&&this.raise(u.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(u,!1,s),this.checkLValPattern(u),this.parseForIn(e,u)):(this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))},$.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,X|(n?0:Z),!1,t)},$.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(O._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},$.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(O.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},$.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(O.braceL),this.labels.push(Y),this.enterScope(0);for(var n=!1;this.type!==O.braceR;)if(this.type===O._case||this.type===O._default){var r=this.type===O._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(O.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},$.parseThrowStatement=function(e){return this.next(),j.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var K=[];$.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===O._catch){var t=this.startNode();if(this.next(),this.eat(O.parenL)){t.param=this.parseBindingAtom();var n="Identifier"===t.param.type;this.enterScope(n?32:0),this.checkLValPattern(t.param,n?4:2),this.expect(O.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(O._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},$.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},$.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(G),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},$.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},$.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},$.parseLabeledStatement=function(e,t,n,r){for(var i=0,o=this.labels;i=0;s--){var u=this.labels[s];if(u.statementStart!==e.start)break;u.statementStart=this.start,u.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},$.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},$.parseBlock=function(e,t,n){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(O.braceL),e&&this.enterScope(0);this.type!==O.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},$.parseFor=function(e,t){return e.init=t,this.expect(O.semi),e.test=this.type===O.semi?null:this.parseExpression(),this.expect(O.semi),e.update=this.type===O.parenR?null:this.parseExpression(),this.expect(O.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},$.parseForIn=function(e,t){var n=this.type===O._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(O.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},$.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(O.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===O._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===O._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(O.comma))break}return e},$.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var X=1,Z=2;function Q(e,t){var n=t.key.name,r=e[n],i="true";return"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(i=(t.static?"s":"i")+t.kind),"iget"===r&&"iset"===i||"iset"===r&&"iget"===i||"sget"===r&&"sset"===i||"sset"===r&&"sget"===i?(e[n]="true",!1):!!r||(e[n]=i,!1)}function J(e,t){var n=e.computed,r=e.key;return!n&&("Identifier"===r.type&&r.name===t||"Literal"===r.type&&r.value===t)}$.parseFunction=function(e,t,n,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===O.star&&t&Z&&this.unexpected(),e.generator=this.eat(O.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&X&&(e.id=4&t&&this.type!==O.name?null:this.parseIdent(),!e.id||t&Z||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var o=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(z(e.async,e.generator)),t&X||(e.id=this.type===O.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1,i),this.yieldPos=o,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(e,t&X?"FunctionDeclaration":"FunctionExpression")},$.parseFunctionParams=function(e){this.expect(O.parenL),e.params=this.parseBindingList(O.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},$.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),i=this.startNode(),o=!1;for(i.body=[],this.expect(O.braceL);this.type!==O.braceR;){var a=this.parseClassElement(null!==e.superClass);a&&(i.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind?(o&&this.raise(a.start,"Duplicate constructor in the same class"),o=!0):a.key&&"PrivateIdentifier"===a.key.type&&Q(r,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=n,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},$.parseClassElement=function(e){if(this.eat(O.semi))return null;var t=this.options.ecmaVersion,n=this.startNode(),r="",i=!1,o=!1,a="method",s=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(O.braceL))return this.parseClassStaticBlock(n),n;this.isClassElementNameStart()||this.type===O.star?s=!0:r="static"}if(n.static=s,!r&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==O.star||this.canInsertSemicolon()?r="async":o=!0),!r&&(t>=9||!o)&&this.eat(O.star)&&(i=!0),!r&&!o&&!i){var u=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=u:r=u)}if(r?(n.computed=!1,n.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),n.key.name=r,this.finishNode(n.key,"Identifier")):this.parseClassElementName(n),t<13||this.type===O.parenL||"method"!==a||i||o){var c=!n.static&&J(n,"constructor"),l=c&&e;c&&"method"!==a&&this.raise(n.key.start,"Constructor can't have get/set modifier"),n.kind=c?"constructor":a,this.parseClassMethod(n,i,o,l)}else this.parseClassField(n);return n},$.isClassElementNameStart=function(){return this.type===O.name||this.type===O.privateId||this.type===O.num||this.type===O.string||this.type===O.bracketL||this.type.keyword},$.parseClassElementName=function(e){this.type===O.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},$.parseClassMethod=function(e,t,n,r){var i=e.key;"constructor"===e.kind?(t&&this.raise(i.start,"Constructor can't be a generator"),n&&this.raise(i.start,"Constructor can't be an async method")):e.static&&J(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var o=e.value=this.parseMethod(t,n,r);return"get"===e.kind&&0!==o.params.length&&this.raiseRecoverable(o.start,"getter should have no params"),"set"===e.kind&&1!==o.params.length&&this.raiseRecoverable(o.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===o.params[0].type&&this.raiseRecoverable(o.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},$.parseClassField=function(e){if(J(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&J(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(O.eq)){var t=this.currentThisScope(),n=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=n}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},$.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==O.braceR;){var n=this.parseStatement(null);e.body.push(n)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},$.parseClassId=function(e,t){this.type===O.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},$.parseClassSuper=function(e){e.superClass=this.eat(O._extends)?this.parseExprSubscripts(!1):null},$.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},$.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,n=e.used,r=this.privateNameStack.length,i=0===r?null:this.privateNameStack[r-1],o=0;o=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==O.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(O._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===O._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,4|X,!1,n)}else if(this.type===O._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==O.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,a=e.specifiers;o=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=8&&!a&&"async"===s.name&&!this.canInsertSemicolon()&&this.eat(O._function))return this.overrideContext(ne.f_expr),this.parseFunction(this.startNodeAt(i,o),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(O.arrow))return this.parseArrowExpression(this.startNodeAt(i,o),[s],!1,t);if(this.options.ecmaVersion>=8&&"async"===s.name&&this.type===O.name&&!a&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return s=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(O.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,o),[s],!0,t)}return s;case O.regexp:var u=this.value;return(n=this.parseLiteral(u.value)).regex={pattern:u.pattern,flags:u.flags},n;case O.num:case O.string:return this.parseLiteral(this.value);case O._null:case O._true:case O._false:return(n=this.startNode()).value=this.type===O._null?null:this.type===O._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case O.parenL:var c=this.start,l=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),l;case O.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(O.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case O.braceL:return this.overrideContext(ne.b_expr),this.parseObj(!1,e);case O._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case O._class:return this.parseClass(this.startNode(),!1);case O._new:return this.parseNew();case O.backQuote:return this.parseTemplate();case O._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},ie.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case O.parenL:return this.parseDynamicImport(e);case O.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},ie.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(O.parenR)){var t=this.start;this.eat(O.comma)&&this.eat(O.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},ie.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},ie.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},ie.parseParenExpression=function(){this.expect(O.parenL);var e=this.parseExpression();return this.expect(O.parenR),e},ie.parseParenAndDistinguishExpression=function(e,t){var n,r=this.start,i=this.startLoc,o=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,s=this.start,u=this.startLoc,c=[],l=!0,d=!1,f=new q,p=this.yieldPos,h=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==O.parenR;){if(l?l=!1:this.expect(O.comma),o&&this.afterTrailingComma(O.parenR,!0)){d=!0;break}if(this.type===O.ellipsis){a=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===O.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var m=this.lastTokEnd,b=this.lastTokEndLoc;if(this.expect(O.parenR),e&&!this.canInsertSemicolon()&&this.eat(O.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=p,this.awaitPos=h,this.parseParenArrowList(r,i,c,t);c.length&&!d||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(f,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=h||this.awaitPos,c.length>1?((n=this.startNodeAt(s,u)).expressions=c,this.finishNodeAt(n,"SequenceExpression",m,b)):n=c[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(r,i);return g.expression=n,this.finishNode(g,"ParenthesizedExpression")}return n},ie.parseParenItem=function(e){return e},ie.parseParenArrowList=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,r)};var oe=[];ie.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(O.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc,o=this.type===O._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0,!1),o&&"ImportExpression"===e.callee.type&&this.raise(r,"Cannot use new with import()"),this.eat(O.parenL)?e.arguments=this.parseExprList(O.parenR,this.options.ecmaVersion>=8,!1):e.arguments=oe,this.finishNode(e,"NewExpression")},ie.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===O.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===O.backQuote,this.finishNode(n,"TemplateElement")},ie.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===O.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(O.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(O.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},ie.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===O.name||this.type===O.num||this.type===O.string||this.type===O.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===O.star)&&!j.test(this.input.slice(this.lastTokEnd,this.start))},ie.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(O.braceR);){if(r)r=!1;else if(this.expect(O.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(O.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),n.properties.push(o)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},ie.parseProperty=function(e,t){var n,r,i,o,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(O.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===O.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(this.type===O.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),a.argument=this.parseMaybeAssign(!1,t),this.type===O.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(i=this.start,o=this.startLoc),e||(n=this.eat(O.star)));var s=this.containsEsc;return this.parsePropertyName(a),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(a)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(O.star),this.parsePropertyName(a,t)):r=!1,this.parsePropertyValue(a,e,n,r,i,o,t,s),this.finishNode(a,"Property")},ie.parsePropertyValue=function(e,t,n,r,i,o,a,s){if((n||r)&&this.type===O.colon&&this.unexpected(),this.eat(O.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===O.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===O.comma||this.type===O.braceR||this.type===O.eq)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key)):this.type===O.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},ie.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(O.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(O.bracketR),e.key;e.computed=!1}return e.key=this.type===O.num||this.type===O.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},ie.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},ie.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,o=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|z(t,r.generator)|(n?128:0)),this.expect(O.parenL),r.params=this.parseBindingList(O.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=a,this.finishNode(r,"FunctionExpression")},ie.parseArrowExpression=function(e,t,n,r){var i=this.yieldPos,o=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(16|z(n,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")},ie.parseFunctionBody=function(e,t,n,r){var i=t&&this.type!==O.braceL,o=this.strict,a=!1;if(i)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);o&&!s||(a=this.strictDirective(this.end))&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var u=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!o&&!a&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,a&&!o),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=u}this.exitScope()},ie.isSimpleParamList=function(e){for(var t=0,n=e;t-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&1&i.flags&&delete this.undefinedExports[e]}else if(4===t){this.currentScope().lexical.push(e)}else if(3===t){var o=this.currentScope();r=this.treatFunctionsAsVar?o.lexical.indexOf(e)>-1:o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var a=this.scopeStack.length-1;a>=0;--a){var s=this.scopeStack[a];if(s.lexical.indexOf(e)>-1&&!(32&s.flags&&s.lexical[0]===e)||!this.treatFunctionsAsVarInScope(s)&&s.functions.indexOf(e)>-1){r=!0;break}if(s.var.push(e),this.inModule&&1&s.flags&&delete this.undefinedExports[e],259&s.flags)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},se.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},se.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},se.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags)return t}},se.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags&&!(16&t.flags))return t}};var ce=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new B(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},le=W.prototype;function de(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}le.startNode=function(){return new ce(this,this.start,this.startLoc)},le.startNodeAt=function(e,t){return new ce(this,e,t)},le.finishNode=function(e,t){return de.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},le.finishNodeAt=function(e,t,n,r){return de.call(this,e,t,n,r)},le.copyNode=function(e){var t=new ce(this,e.start,this.startLoc);for(var n in e)t[n]=e[n];return t};var fe="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",pe=fe+" Extended_Pictographic",he={9:fe,10:pe,11:pe,12:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic EBase EComp EMod EPres ExtPict"},me="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",be="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ge=be+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ve=ge+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ye={9:be,10:ge,11:ve,12:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi"},xe={};function we(e){var t=xe[e]={binary:P(he[e]+" "+me),nonBinary:{General_Category:P(me),Script:P(ye[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}we(9),we(10),we(11),we(12);var Oe=W.prototype,je=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":""),this.unicodeProperties=xe[e.options.ecmaVersion>=12?12:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function Ce(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function Ee(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function Se(e){return e>=65&&e<=90||e>=97&&e<=122}function ke(e){return Se(e)||95===e}function Ae(e){return ke(e)||_e(e)}function _e(e){return e>=48&&e<=57}function De(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Fe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Re(e){return e>=48&&e<=55}je.prototype.reset=function(e,t,n){var r=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},je.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},je.prototype.at=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var i=n.charCodeAt(e);if(!t&&!this.switchU||i<=55295||i>=57344||e+1>=r)return i;var o=n.charCodeAt(e+1);return o>=56320&&o<=57343?(i<<10)+o-56613888:i},je.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i,o=n.charCodeAt(e);return!t&&!this.switchU||o<=55295||o>=57344||e+1>=r||(i=n.charCodeAt(e+1))<56320||i>57343?e+1:e+2},je.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},je.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},je.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},je.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},Oe.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},Oe.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},Oe.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},Oe.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},Oe.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},Oe.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},Oe.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},Oe.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},Oe.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!Ee(t)&&(e.lastIntValue=t,e.advance(),!0)},Oe.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!Ee(n);)e.advance();return e.pos!==t},Oe.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},Oe.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},Oe.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},Oe.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Ce(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Ce(e.lastIntValue);return!0}return!1},Oe.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),function(e){return h(e,!0)||36===e||95===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},Oe.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),function(e){return m(e,!0)||36===e||95===e||8204===e||8205===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},Oe.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},Oe.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},Oe.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},Oe.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},Oe.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},Oe.regexp_eatZero=function(e){return 48===e.current()&&!_e(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},Oe.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},Oe.regexp_eatControlLetter=function(e){var t=e.current();return!!Se(t)&&(e.lastIntValue=t%32,e.advance(),!0)},Oe.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var n,r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(i&&o>=55296&&o<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=1024*(o-55296)+(s-56320)+65536,!0}e.pos=a,e.lastIntValue=o}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((n=e.lastIntValue)>=0&&n<=1114111))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1},Oe.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},Oe.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},Oe.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},Oe.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},Oe.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){F(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},Oe.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},Oe.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";ke(t=e.current());)e.lastStringValue+=Ce(t),e.advance();return""!==e.lastStringValue},Oe.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Ae(t=e.current());)e.lastStringValue+=Ce(t),e.advance();return""!==e.lastStringValue},Oe.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},Oe.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},Oe.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},Oe.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||Re(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},Oe.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},Oe.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!_e(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},Oe.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},Oe.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;_e(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},Oe.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;De(n=e.current());)e.lastIntValue=16*e.lastIntValue+Fe(n),e.advance();return e.pos!==t},Oe.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},Oe.regexp_eatOctalDigit=function(e){var t=e.current();return Re(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},Oe.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}Te.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Pe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Te.getToken=function(){return this.next(),new Pe(this)},"undefined"!=typeof Symbol&&(Te[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===O.eof,value:t}}}}),Te.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(O.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Te.readToken=function(e){return h(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Te.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},Te.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(C.lastIndex=n;(e=C.exec(this.input))&&e.index8&&e<14||e>=5760&&S.test(String.fromCharCode(e))))break e;++this.pos}}},Te.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},Te.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(O.ellipsis)):(++this.pos,this.finishToken(O.dot))},Te.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(O.assign,2):this.finishOp(O.slash,1)},Te.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?O.star:O.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=O.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(O.assign,n+1):this.finishOp(r,n)},Te.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(O.assign,3);return this.finishOp(124===e?O.logicalOR:O.logicalAND,2)}return 61===t?this.finishOp(O.assign,2):this.finishOp(124===e?O.bitwiseOR:O.bitwiseAND,1)},Te.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(O.assign,2):this.finishOp(O.bitwiseXOR,1)},Te.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!j.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(O.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(O.assign,2):this.finishOp(O.plusMin,1)},Te.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(O.assign,n+1):this.finishOp(O.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(O.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Te.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(O.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(O.arrow)):this.finishOp(61===e?O.eq:O.prefix,1)},Te.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(O.questionDot,2)}if(63===t){if(e>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(O.assign,3);return this.finishOp(O.coalesce,2)}}return this.finishOp(O.question,1)},Te.readToken_numberSign=function(){var e=35;if(this.options.ecmaVersion>=13&&(++this.pos,h(e=this.fullCharCodeAtPos(),!0)||92===e))return this.finishToken(O.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Me(e)+"'")},Te.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(O.parenL);case 41:return++this.pos,this.finishToken(O.parenR);case 59:return++this.pos,this.finishToken(O.semi);case 44:return++this.pos,this.finishToken(O.comma);case 91:return++this.pos,this.finishToken(O.bracketL);case 93:return++this.pos,this.finishToken(O.bracketR);case 123:return++this.pos,this.finishToken(O.braceL);case 125:return++this.pos,this.finishToken(O.braceR);case 58:return++this.pos,this.finishToken(O.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(O.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(O.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Me(e)+"'")},Te.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},Te.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(j.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var o=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(o);var s=this.regexpState||(this.regexpState=new je(this));s.reset(n,i,a),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var u=null;try{u=new RegExp(i,a)}catch(e){}return this.finishToken(O.regexp,{pattern:i,flags:a,value:u})},Te.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&void 0===t,i=n&&48===this.input.charCodeAt(this.pos),o=this.pos,a=0,s=0,u=0,c=null==t?1/0:t;u=97?l-97+10:l>=65?l-65+10:l>=48&&l<=57?l-48:1/0)>=e)break;s=l,a=a*e+d}}return r&&95===s&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||null!=t&&this.pos-o!==t?null:a},Te.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return null==n&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(n=Be(this.input.slice(t,this.pos)),++this.pos):h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(O.num,n)},Te.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&110===r){var i=Be(this.input.slice(t,this.pos));return++this.pos,h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(O.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o,a=(o=this.input.slice(t,this.pos),n?parseInt(o,8):parseFloat(o.replace(/_/g,"")));return this.finishToken(O.num,a)},Te.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Te.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):8232===r||8233===r?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(E(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(O.string,t)};var Ne={};Te.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Ne)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Te.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ne;this.raise(e,t)},Te.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==O.template&&this.type!==O.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(O.template,e)):36===n?(this.pos+=2,this.finishToken(O.dollarBraceL)):(++this.pos,this.finishToken(O.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(E(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Te.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),"0"===r&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return E(t)?"":String.fromCharCode(t)}},Te.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},Te.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos{t.current=e}),r.useCallback((...e)=>(0,t.current)(...e),[])}},function(e,t,n){"use strict";var r=n(1182),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=l(n);d&&(a=a.concat(d(n)));for(var s=u(t),m=u(n),b=0;b{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>Object(i.a)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),m=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiList"}),{children:u,className:m,component:b="ul",dense:g=!1,disablePadding:v=!1,subheader:y}=n,x=Object(r.a)(n,p),w=o.useMemo(()=>({dense:g}),[g]),O=Object(i.a)({},n,{component:b,dense:g,disablePadding:v}),j=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e,o={root:["root",!n&&"padding",r&&"dense",i&&"subheader"]};return Object(s.a)(o,d.a,t)})(O);return Object(f.jsx)(l.a.Provider,{value:w,children:Object(f.jsxs)(h,Object(i.a)({as:b,className:Object(a.default)(j.root,m),ref:t,ownerState:O},x,{children:[y,u]}))})}));t.a=m},,function(e,t,n){"use strict";var r=n(1113);t.a=r.a},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(151),i=n(169),o=n(194),a=n(104),s=n(678),u=n(306);function c(e){return Object(a.b)(e)&&"fixed"!==Object(o.a)(e).position?e.offsetParent:null}function l(e){for(var t=Object(r.a)(e),n=c(e);n&&Object(s.a)(n)&&"static"===Object(o.a)(n).position;)n=c(n);return n&&("html"===Object(i.a)(n)||"body"===Object(i.a)(n)&&"static"===Object(o.a)(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Object(a.b)(e)&&"fixed"===Object(o.a)(e).position)return null;for(var n=Object(u.a)(e);Object(a.b)(n)&&["html","body"].indexOf(Object(i.a)(n))<0;){var r=Object(o.a)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}},function(e,t,n){"use strict";function r({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t),{})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(918),i=n(919),o=n(480),a=n(920);function s(e,t){return Object(r.a)(e)||Object(i.a)(e,t)||Object(o.a)(e,t)||Object(a.a)()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(453),i=(n(0),n(316));function o(){return Object(r.a)()||i.a}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(279);function o(){return r.useContext(i.a)}},function(e,t,n){"use strict";var r=n(220);t.a=function(e,t){return t?Object(r.a)(e,t,{clone:!1}):e}},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(0),i=r.createContext();function o(){return r.useContext(i)}t.a=i},,,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiTooltip",e)}const a=Object(i.a)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);t.a=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiOutlinedInput",e)}const a=Object(i.a)("MuiOutlinedInput",["root","colorSecondary","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","notchedOutline","input","inputSizeSmall","inputMultiline","inputAdornedStart","inputAdornedEnd"]);t.a=a},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiButtonGroup",e)}const a=Object(i.a)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]);t.a=a},function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(0),a=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(82),d=n(195),f=n(304),p=n(718),h=n(598),m=n(5);const b=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","type"],g=Object(u.a)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},["&."+h.a.disabled]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),v=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiButtonBase"}),{action:u,centerRipple:v=!1,children:y,className:x,component:w="button",disabled:O=!1,disableRipple:j=!1,disableTouchRipple:C=!1,focusRipple:E=!1,LinkComponent:S="a",onBlur:k,onClick:A,onContextMenu:_,onDragLeave:D,onFocus:F,onFocusVisible:R,onKeyDown:P,onKeyUp:T,onMouseDown:B,onMouseLeave:M,onMouseUp:N,onTouchEnd:I,onTouchMove:L,onTouchStart:z,tabIndex:W=0,TouchRippleProps:V,type:H}=n,U=Object(i.a)(n,b),q=o.useRef(null),$=o.useRef(null),{isFocusVisibleRef:G,onFocus:Y,onBlur:K,ref:X}=Object(f.a)(),[Z,Q]=o.useState(!1);function J(e,t,n=C){return Object(d.a)(r=>{t&&t(r);return!n&&$.current&&$.current[e](r),!0})}O&&Z&&Q(!1),o.useImperativeHandle(u,()=>({focusVisible:()=>{Q(!0),q.current.focus()}}),[]),o.useEffect(()=>{Z&&E&&!j&&$.current.pulsate()},[j,E,Z]);const ee=J("start",B),te=J("stop",_),ne=J("stop",D),re=J("stop",N),ie=J("stop",e=>{Z&&e.preventDefault(),M&&M(e)}),oe=J("start",z),ae=J("stop",I),se=J("stop",L),ue=J("stop",e=>{K(e),!1===G.current&&Q(!1),k&&k(e)},!1),ce=Object(d.a)(e=>{q.current||(q.current=e.currentTarget),Y(e),!0===G.current&&(Q(!0),R&&R(e)),F&&F(e)}),le=()=>{const e=q.current;return w&&"button"!==w&&!("A"===e.tagName&&e.href)},de=o.useRef(!1),fe=Object(d.a)(e=>{E&&!de.current&&Z&&$.current&&" "===e.key&&(de.current=!0,$.current.stop(e,()=>{$.current.start(e)})),e.target===e.currentTarget&&le()&&" "===e.key&&e.preventDefault(),P&&P(e),e.target===e.currentTarget&&le()&&"Enter"===e.key&&!O&&(e.preventDefault(),A&&A(e))}),pe=Object(d.a)(e=>{E&&" "===e.key&&$.current&&Z&&!e.defaultPrevented&&(de.current=!1,$.current.stop(e,()=>{$.current.pulsate(e)})),T&&T(e),A&&e.target===e.currentTarget&&le()&&" "===e.key&&!e.defaultPrevented&&A(e)});let he=w;"button"===he&&(U.href||U.to)&&(he=S);const me={};"button"===he?(me.type=void 0===H?"button":H,me.disabled=O):(U.href||U.to||(me.role="button"),O&&(me["aria-disabled"]=O));const be=Object(l.a)(X,q),ge=Object(l.a)(t,be),[ve,ye]=o.useState(!1);o.useEffect(()=>{ye(!0)},[]);const xe=ve&&!j&&!O;const we=Object(r.a)({},n,{centerRipple:v,component:w,disabled:O,disableRipple:j,disableTouchRipple:C,focusRipple:E,tabIndex:W,focusVisible:Z}),Oe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,o={root:["root",t&&"disabled",n&&"focusVisible"]},a=Object(s.a)(o,h.b,i);return n&&r&&(a.root+=" "+r),a})(we);return Object(m.jsxs)(g,Object(r.a)({as:he,className:Object(a.default)(Oe.root,x),ownerState:we,onBlur:ue,onClick:A,onContextMenu:te,onFocus:ce,onKeyDown:fe,onKeyUp:pe,onMouseDown:ee,onMouseLeave:ie,onMouseUp:re,onDragLeave:ne,onTouchEnd:ae,onTouchMove:se,onTouchStart:oe,ref:ge,tabIndex:O?-1:W,type:H},me,U,{children:[y,xe?Object(m.jsx)(p.a,Object(r.a)({ref:$,center:v},V)):null]}))}));t.a=v},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(290),f=n(167),p=n(82),h=n(164),m=n(332),b=n(5);const g=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected"],v=Object(c.a)(d.a,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&."+m.a.selected]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity),["&."+m.a.focusVisible]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${m.a.selected}:hover`]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity)}},["&."+m.a.focusVisible]:{backgroundColor:e.palette.action.focus},["&."+m.a.disabled]:{opacity:e.palette.action.disabledOpacity}},t.divider&&{borderBottom:"1px solid "+e.palette.divider,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),y=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiListItemButton"}),{alignItems:u="center",autoFocus:c=!1,component:d="div",children:y,dense:x=!1,disableGutters:w=!1,divider:O=!1,focusVisibleClassName:j,selected:C=!1}=n,E=Object(r.a)(n,g),S=o.useContext(h.a),k={dense:x||S.dense||!1,alignItems:u,disableGutters:w},A=o.useRef(null);Object(f.a)(()=>{c&&A.current&&A.current.focus()},[c]);const _=Object(i.a)({},n,{alignItems:u,dense:k.dense,disableGutters:w,divider:O,selected:C}),D=(e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:a,divider:u,selected:c}=e,l={root:["root",r&&"dense",!a&&"gutters",u&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",c&&"selected"]},d=Object(s.a)(l,m.b,n);return Object(i.a)({},n,d)})(_),F=Object(p.a)(A,t);return Object(b.jsx)(h.a.Provider,{value:k,children:Object(b.jsx)(v,Object(i.a)({ref:F,component:d,focusVisibleClassName:Object(a.default)(D.focusVisible,j),ownerState:_},E,{classes:D,children:y}))})}));t.a=y},,,,,function(e,t,n){"use strict";e.exports=n(1184)},function(e,t,n){"use strict";var r=n(572);n.d(t,"a",(function(){return r.a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(669),i=n(670),o=n(418),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},l=Object(o.a)((function(e){return u(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===i.a[e]||u(e)||"number"!=typeof t||0===t?t:t+"px"};function f(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(e,Object(r.a)({defaultTheme:o.a},t))}},,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(1231);t.a=r.a},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(624),i=n(579);const o=Object(r.a)();t.a=function(e=o){return Object(i.a)(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(698);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object(r.a)(e,t)}},function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e,t=!1){return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}))},,,,,,,,function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}))},function(e,t,n){(function(e,r){var i; + */void 0===(i="function"==typeof(r=function(){var e,t,n,r,i,o={},a={},s={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},u={currentLocale:s.currentLocale,zeroFormat:s.zeroFormat,nullFormat:s.nullFormat,defaultFormat:s.defaultFormat,scalePercentBy100:s.scalePercentBy100};function c(e,t){this._input=e,this._value=t}return(e=function(n){var r,i,a,s;if(e.isNumeral(n))r=n.value();else if(0===n||void 0===n)r=0;else if(null===n||t.isNaN(n))r=null;else if("string"==typeof n)if(u.zeroFormat&&n===u.zeroFormat)r=0;else if(u.nullFormat&&n===u.nullFormat||!n.replace(/[^0-9]+/g,"").length)r=null;else{for(i in o)if((s="function"==typeof o[i].regexps.unformat?o[i].regexps.unformat():o[i].regexps.unformat)&&n.match(s)){a=o[i].unformat;break}r=(a=a||e._.stringToNumber)(n)}else r=Number(n)||null;return new c(n,r)}).version="2.0.6",e.isNumeral=function(e){return e instanceof c},e._=t={numberToFormat:function(t,n,r){var i,o,s,u,c,l,d,f,p=a[e.options.currentLocale],h=!1,m=!1,b="",g="",v=!1;if(t=t||0,s=Math.abs(t),e._.includes(n,"(")?(h=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(l=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(o=!!(o=n.match(/a(k|m|b|t)?/))&&o[1],e._.includes(n," a")&&(b=" "),n=n.replace(new RegExp(b+"a[kmbt]?"),""),s>=1e12&&!o||"t"===o?(b+=p.abbreviations.trillion,t/=1e12):s<1e12&&s>=1e9&&!o||"b"===o?(b+=p.abbreviations.billion,t/=1e9):s<1e9&&s>=1e6&&!o||"m"===o?(b+=p.abbreviations.million,t/=1e6):(s<1e6&&s>=1e3&&!o||"k"===o)&&(b+=p.abbreviations.thousand,t/=1e3)),e._.includes(n,"[.]")&&(m=!0,n=n.replace("[.]",".")),u=t.toString().split(".")[0],c=n.split(".")[1],d=n.indexOf(","),i=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,c?(e._.includes(c,"[")?(c=(c=c.replace("]","")).split("["),g=e._.toFixed(t,c[0].length+c[1].length,r,c[1].length)):g=e._.toFixed(t,c.length,r),u=g.split(".")[0],g=e._.includes(g,".")?p.delimiters.decimal+g.split(".")[1]:"",m&&0===Number(g.slice(1))&&(g="")):u=e._.toFixed(t,0,r),b&&!o&&Number(u)>=1e3&&b!==p.abbreviations.trillion)switch(u=String(Number(u)/1e3),b){case p.abbreviations.thousand:b=p.abbreviations.million;break;case p.abbreviations.million:b=p.abbreviations.billion;break;case p.abbreviations.billion:b=p.abbreviations.trillion}if(e._.includes(u,"-")&&(u=u.slice(1),v=!0),u.length0;y--)u="0"+u;return d>-1&&(u=u.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+p.delimiters.thousands)),0===n.indexOf(".")&&(u=""),f=u+g+(b||""),h?f=(h&&v?"(":"")+f+(h&&v?")":""):l>=0?f=0===l?(v?"-":"+")+f:f+(v?"-":"+"):v&&(f="-"+f),f},stringToNumber:function(e){var t,n,r,i=a[u.currentLocale],o=e,s={thousand:3,million:6,billion:9,trillion:12};if(u.zeroFormat&&e===u.zeroFormat)n=0;else if(u.nullFormat&&e===u.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==i.delimiters.decimal&&(e=e.replace(/\./g,"").replace(i.delimiters.decimal,".")),s)if(r=new RegExp("[^a-zA-Z]"+i.abbreviations[t]+"(?:\\)|(\\"+i.currency.symbol+")?(?:\\))?)?$"),o.match(r)){n*=Math.pow(10,s[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){return"number"==typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),i=r.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{for(;o=i)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;or?e:r}),1)},toFixed:function(e,t,n,r){var i,o,a,s,u=e.toString().split("."),c=t-(r||0);return i=2===u.length?Math.min(Math.max(u[1].length,c),t):c,a=Math.pow(10,i),s=(n(e+"e+"+i)/a).toFixed(i),r>t-i&&(o=new RegExp("\\.?0{1,"+(r-(t-i))+"}$"),s=s.replace(o,"")),s}},e.options=u,e.formats=o,e.locales=a,e.locale=function(e){return e&&(u.currentLocale=e.toLowerCase()),u.currentLocale},e.localeData=function(e){if(!e)return a[u.currentLocale];if(e=e.toLowerCase(),!a[e])throw new Error("Unknown locale : "+e);return a[e]},e.reset=function(){for(var e in s)u[e]=s[e]},e.zeroFormat=function(e){u.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){u.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){u.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,i,o,a,s,u,c,l;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{c=e.localeData(n)}catch(t){c=e.localeData(e.locale())}return o=c.currency.symbol,s=c.abbreviations,r=c.delimiters.decimal,i="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,!(null!==(l=t.match(/^[^\d]+/))&&(t=t.substr(1),l[0]!==o)||null!==(l=t.match(/[^\d]+$/))&&(t=t.slice(0,-1),l[0]!==s.thousand&&l[0]!==s.million&&l[0]!==s.billion&&l[0]!==s.trillion)||(u=new RegExp(i+"{2}"),t.match(/[^\d.,]/g)||(a=t.split(r)).length>2||(a.length<2?!a[0].match(/^\d+.*\d$/)||a[0].match(u):1===a[0].length?!a[0].match(/^\d+$/)||a[0].match(u)||!a[1].match(/^\d+$/):!a[0].match(/^\d+.*\d$/)||a[0].match(u)||!a[1].match(/^\d+$/))))},e.fn=c.prototype={clone:function(){return e(this)},format:function(t,n){var r,i,a,s=this._value,c=t||u.defaultFormat;if(n=n||Math.round,0===s&&null!==u.zeroFormat)i=u.zeroFormat;else if(null===s&&null!==u.nullFormat)i=u.nullFormat;else{for(r in o)if(c.match(o[r].regexps.format)){a=o[r].format;break}i=(a=a||e._.numberToFormat)(s,c,n)}return i},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([this._value,e],(function(e,t,r,i){return e+Math.round(n*t)}),0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);return this._value=t.reduce([e],(function(e,t,r,i){return e-Math.round(n*t)}),Math.round(this._value*n))/n,this},multiply:function(e){return this._value=t.reduce([this._value,e],(function(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)}),1),this},divide:function(e){return this._value=t.reduce([this._value,e],(function(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)})),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var i,o=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),i=e._.numberToFormat(t,n,r),e._.includes(i,")")?((i=i.split("")).splice(-1,0,o+"BPS"),i=i.join("")):i=i+o+"BPS",i},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},i="("+(i=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(e){return n.suffixes.indexOf(e)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(i)},format:function(t,i,o){var a,s,u,c=e._.includes(i,"ib")?r:n,l=e._.includes(i," b")||e._.includes(i," ib")?" ":"";for(i=i.replace(/\s?i?b/,""),a=0;a<=c.suffixes.length;a++)if(s=Math.pow(c.base,a),u=Math.pow(c.base,a+1),null===t||0===t||t>=s&&t0&&(t/=s);break}return e._.numberToFormat(t,i,o)+l},unformat:function(t){var i,o,a=e._.stringToNumber(t);if(a){for(i=n.suffixes.length-1;i>=0;i--){if(e._.includes(t,n.suffixes[i])){o=Math.pow(n.base,i);break}if(e._.includes(t,r.suffixes[i])){o=Math.pow(r.base,i);break}}a*=o||1}return a}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var i,o,a=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),i=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),o=0;o=0;o--)switch(s.after[o]){case"$":i=o===s.after.length-1?i+a.currency.symbol:e._.insert(i,a.currency.symbol,-(s.after.length-(1+o)));break;case" ":i=o===s.after.length-1?i+" ":e._.insert(i," ",-(s.after.length-(1+o)+a.currency.symbol.length-1))}return i}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var i=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(i[0]),n,r)+"e"+i[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),i=Number(n[1]);return i=e._.includes(t,"e-")?i*=-1:i,e._.reduce([r,Math.pow(10,i)],(function(t,n,r,i){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*o)}),1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var i=e.locales[e.options.currentLocale],o=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),o+=i.ordinal(t),e._.numberToFormat(t,n,r)+o}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var i,o=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),i=e._.numberToFormat(t,n,r),e._.includes(i,")")?((i=i.split("")).splice(-1,0,o+"%"),i=i.join("")):i=i+o+"%",i},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),i=Math.floor((e-60*r*60)/60),o=Math.round(e-60*r*60-60*i);return r+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e})?r.call(t,n,t,e):r)||(e.exports=i)},,,function(e,t,n){"use strict";n.d(t,"e",(function(){return E})),n.d(t,"d",(function(){return S})),n.d(t,"b",(function(){return k})),n.d(t,"a",(function(){return A}));var r=n(18),i=n(3),o=n(329),a=n(0),s=(n(11),n(12)),u=n(65),c=n(117),l=n(271),d=n(307),f=n(193),p=n(17),h=n(34),m=n(108),b=n(28),g=n(82),v=n(167),y=n(1242),x=n(1241),w=n(342),O=n(441),j=n(5);const C=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],E=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color"+Object(b.a)(n.color)],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},S=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},k=Object(p.a)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:E})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",["&."+O.a.disabled]:{color:e.palette.text.disabled,cursor:"default"}},t.multiline&&Object(i.a)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),A=Object(p.a)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:S})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r={color:"currentColor",opacity:n?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},o={opacity:"0 !important"},a={opacity:n?.42:.5};return Object(i.a)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${O.a.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},["&."+O.a.disabled]:{opacity:1,WebkitTextFillColor:e.palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield",WebkitAppearance:"textfield"})}),_=Object(j.jsx)(x.a,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),D=a.forwardRef((function(e,t){const n=Object(h.a)({props:e,name:"MuiInputBase"}),{"aria-describedby":p,autoComplete:x,autoFocus:E,className:S,components:D={},componentsProps:F={},defaultValue:R,disabled:P,endAdornment:T,fullWidth:B=!1,id:M,inputComponent:N="input",inputProps:I={},inputRef:L,maxRows:z,minRows:W,multiline:V=!1,name:H,onBlur:U,onChange:q,onClick:$,onFocus:G,onKeyDown:Y,onKeyUp:K,placeholder:X,readOnly:Z,renderSuffix:Q,rows:J,startAdornment:ee,type:te="text",value:ne}=n,re=Object(r.a)(n,C),ie=Object(m.a)(),oe=null!=I.value?I.value:ne,{current:ae}=a.useRef(null!=oe),se=a.useRef(),ue=a.useCallback(e=>{0},[]),ce=Object(g.a)(I.ref,ue),le=Object(g.a)(L,ce),de=Object(g.a)(se,le),[fe,pe]=a.useState(!1),he=Object(f.a)();const me=Object(l.a)({props:n,muiFormControl:he,states:["color","disabled","error","hiddenLabel","size","required","filled"]});me.focused=he?he.focused:fe,a.useEffect(()=>{!he&&P&&fe&&(pe(!1),U&&U())},[he,P,fe,U]);const be=he&&he.onFilled,ge=he&&he.onEmpty,ve=a.useCallback(e=>{Object(w.b)(e)?be&&be():ge&&ge()},[be,ge]);Object(v.a)(()=>{ae&&ve({value:oe})},[oe,ve,ae]);a.useEffect(()=>{ve(se.current)},[]);let ye=N,xe=I;V&&"input"===ye&&(xe=J?Object(i.a)({type:void 0,minRows:J,maxRows:J},xe):Object(i.a)({type:void 0,maxRows:z,minRows:W},xe),ye=y.a);a.useEffect(()=>{he&&he.setAdornedStart(Boolean(ee))},[he,ee]);const we=Object(i.a)({},n,{color:me.color||"primary",disabled:me.disabled,endAdornment:T,error:me.error,focused:me.focused,formControl:he,fullWidth:B,hiddenLabel:me.hiddenLabel,multiline:V,size:me.size,startAdornment:ee,type:te}),Oe=(e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:a,formControl:s,fullWidth:c,hiddenLabel:l,multiline:d,size:f,startAdornment:p,type:h}=e,m={root:["root","color"+Object(b.a)(n),r&&"disabled",i&&"error",c&&"fullWidth",a&&"focused",s&&"formControl","small"===f&&"sizeSmall",d&&"multiline",p&&"adornedStart",o&&"adornedEnd",l&&"hiddenLabel"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",d&&"inputMultiline","small"===f&&"inputSizeSmall",l&&"inputHiddenLabel",p&&"inputAdornedStart",o&&"inputAdornedEnd"]};return Object(u.a)(m,O.b,t)})(we),je=D.Root||k,Ce=F.root||{},Ee=D.Input||A;return xe=Object(i.a)({},xe,F.input),Object(j.jsxs)(a.Fragment,{children:[_,Object(j.jsxs)(je,Object(i.a)({},Ce,!Object(c.a)(je)&&{ownerState:Object(i.a)({},we,Ce.ownerState),theme:ie},{ref:t,onClick:e=>{se.current&&e.currentTarget===e.target&&se.current.focus(),$&&$(e)}},re,{className:Object(s.default)(Oe.root,Ce.className,S),children:[ee,Object(j.jsx)(d.a.Provider,{value:null,children:Object(j.jsx)(Ee,Object(i.a)({ownerState:we,"aria-invalid":me.error,"aria-describedby":p,autoComplete:x,autoFocus:E,defaultValue:R,disabled:me.disabled,id:M,onAnimationStart:e=>{ve("mui-auto-fill-cancel"===e.animationName?se.current:{value:"x"})},name:H,placeholder:X,readOnly:Z,required:me.required,rows:J,value:oe,onKeyDown:Y,onKeyUp:K,type:te},xe,!Object(c.a)(Ee)&&{as:ye,ownerState:Object(i.a)({},we,xe.ownerState),theme:ie},{ref:de,className:Object(s.default)(Oe.input,xe.className,I.className),onBlur:e=>{U&&U(e),I.onBlur&&I.onBlur(e),he&&he.onBlur?he.onBlur(e):pe(!1)},onChange:(e,...t)=>{if(!ae){const t=e.target||se.current;if(null==t)throw new Error(Object(o.a)(1));ve({value:t.value})}I.onChange&&I.onChange(e,...t),q&&q(e,...t)},onFocus:e=>{me.disabled?e.stopPropagation():(G&&G(e),I.onFocus&&I.onFocus(e),he&&he.onFocus?he.onFocus(e):pe(!0))}}))}),T,Q?Q(Object(i.a)({},me,{startAdornment:ee})):null]}))]})}));t.c=D},,function(e,t,n){"use strict";function r(e){return e.split("-")[0]}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(235);t.a=r.a},function(e,t,n){"use strict";var r=n(0);const i=r.createContext({});t.a=i},,,function(e,t,n){"use strict";var r=n(401);t.a=r.a},function(e,t,n){"use strict";n(3);var r=n(299);t.a=function(){for(var e=arguments.length,t=new Array(e),n=0;n0?h(E,--j):0,w--,10===C&&(w=1,x--),C}function _(){return C=j2||P(C)>3?"":" "}function I(e,t){for(;--t&&_()&&!(C<48||C>102||C>57&&C<65||C>70&&C<97););return R(e,F()+(t<6&&32==D()&&32==_()))}function L(e,t){for(;_()&&e+C!==57&&(e+C!==84||47!==D()););return"/*"+R(t,j-1)+"*"+l(47===e?e:_())}function z(e){for(;!P(D());)_();return R(e,j)}function W(e){return B(function e(t,n,r,i,o,a,s,u,c){var d=0,p=0,h=s,m=0,g=0,y=0,x=1,w=1,O=1,j=0,C="",E=o,S=a,k=i,R=C;for(;w;)switch(y=j,j=_()){case 34:case 39:case 91:case 40:R+=M(j);break;case 9:case 10:case 13:case 32:R+=N(y);break;case 92:R+=I(F()-1,7);continue;case 47:switch(D()){case 42:case 47:v(H(L(_(),F()),n,r),c);break;default:R+="/"}break;case 123*x:u[d++]=b(R)*O;case 125*x:case 59:case 0:switch(j){case 0:case 125:w=0;case 59+p:g>0&&b(R)-h&&v(g>32?U(R+";",i,r,h-1):U(f(R," ","")+";",i,r,h-2),c);break;case 59:R+=";";default:if(v(k=V(R,n,r,d,p,o,u,C,E=[],S=[],h),a),123===j)if(0===p)e(R,n,k,k,E,a,h,u,S);else switch(m){case 100:case 109:case 115:e(t,k,k,i&&v(V(t,k,k,0,0,o,u,C,o,E=[],h),S),o,S,h,u,i?E:S);break;default:e(R,k,k,k,[""],S,h,u,S)}}d=p=g=0,x=O=1,C=R="",h=s;break;case 58:h=1+b(R),g=y;default:if(x<1)if(123==j)--x;else if(125==j&&0==x++&&125==A())continue;switch(R+=l(j),j*x){case 38:O=p>0?1:(R+="\f",-1);break;case 44:u[d++]=(b(R)-1)*O,O=1;break;case 64:45===D()&&(R+=M(_())),m=D(),p=b(C=R+=z(F())),j++;break;case 45:45===y&&2==b(R)&&(x=0)}}return a}("",null,null,null,[""],e=T(e),0,[0],e))}function V(e,t,n,r,i,o,a,u,l,p,h){for(var b=i-1,v=0===i?o:[""],y=g(v),x=0,w=0,O=0;x0?v[j]+" "+C:f(C,/&\f/g,v[j])))&&(l[O++]=E);return S(e,t,n,0===i?s:u,l,p,h)}function H(e,t,n){return S(e,t,n,a,l(C),m(e,2,-2),0)}function U(e,t,n,r){return S(e,t,n,u,m(e,0,r),m(e,r+1,-1),r)}function q(e,t){switch(function(e,t){return(((t<<2^h(e,0))<<2^h(e,1))<<2^h(e,2))<<2^h(e,3)}(e,t)){case 5103:return o+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return o+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return o+e+i+e+r+e+e;case 6828:case 4268:return o+e+r+e+e;case 6165:return o+e+r+"flex-"+e+e;case 5187:return o+e+f(e,/(\w+).+(:[^]+)/,o+"box-$1$2"+r+"flex-$1$2")+e;case 5443:return o+e+r+"flex-item-"+f(e,/flex-|-self/,"")+e;case 4675:return o+e+r+"flex-line-pack"+f(e,/align-content|flex-|-self/,"")+e;case 5548:return o+e+r+f(e,"shrink","negative")+e;case 5292:return o+e+r+f(e,"basis","preferred-size")+e;case 6060:return o+"box-"+f(e,"-grow","")+o+e+r+f(e,"grow","positive")+e;case 4554:return o+f(e,/([^-])(transform)/g,"$1"+o+"$2")+e;case 6187:return f(f(f(e,/(zoom-|grab)/,o+"$1"),/(image-set)/,o+"$1"),e,"")+e;case 5495:case 3959:return f(e,/(image-set\([^]*)/,o+"$1$`$1");case 4968:return f(f(e,/(.+:)(flex-)?(.*)/,o+"box-pack:$3"+r+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+o+e+e;case 4095:case 3583:case 4068:case 2532:return f(e,/(.+)-inline(.+)/,o+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(b(e)-1-t>6)switch(h(e,t+1)){case 109:if(45!==h(e,t+4))break;case 102:return f(e,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+i+(108==h(e,t+3)?"$3":"$2-$3"))+e;case 115:return~p(e,"stretch")?q(f(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==h(e,t+1))break;case 6444:switch(h(e,b(e)-3-(~p(e,"!important")&&10))){case 107:return f(e,":",":"+o)+e;case 101:return f(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+o+(45===h(e,14)?"inline-":"")+"box$3$1"+o+"$2$3$1"+r+"$2box$3")+e}break;case 5936:switch(h(e,t+11)){case 114:return o+e+r+f(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return o+e+r+f(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return o+e+r+f(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return o+e+r+e+e}return e}function $(e,t){for(var n="",r=g(e),i=0;i{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})(({theme:e,ownerState:t})=>Object(i.a)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&Object(i.a)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"})),y=Object(c.a)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>Object(i.a)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})),x=Object(c.a)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>Object(i.a)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})),w=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiCollapse"}),{addEndListener:c,children:w,className:O,collapsedSize:j="0px",component:C,easing:E,in:S,onEnter:k,onEntered:A,onEntering:_,onExit:D,onExited:F,onExiting:R,orientation:P="vertical",style:T,timeout:B=d.b.standard,TransitionComponent:M=s.a}=n,N=Object(r.a)(n,g),I=Object(i.a)({},n,{orientation:P,collapsedSize:j}),L=(e=>{const{orientation:t,classes:n}=e,r={root:["root",""+t],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",""+t],wrapperInner:["wrapperInner",""+t]};return Object(u.a)(r,m.a,n)})(I),z=Object(p.a)(),W=o.useRef(),V=o.useRef(null),H=o.useRef(),U="number"==typeof j?j+"px":j,q="horizontal"===P,$=q?"width":"height";o.useEffect(()=>()=>{clearTimeout(W.current)},[]);const G=o.useRef(null),Y=Object(h.a)(t,G),K=e=>t=>{if(e){const n=G.current;void 0===t?e(n):e(n,t)}},X=()=>V.current?V.current[q?"clientWidth":"clientHeight"]:0,Z=K((e,t)=>{V.current&&q&&(V.current.style.position="absolute"),e.style[$]=U,k&&k(e,t)}),Q=K((e,t)=>{const n=X();V.current&&q&&(V.current.style.position="");const{duration:r,easing:i}=Object(f.a)({style:T,timeout:B,easing:E},{mode:"enter"});if("auto"===B){const t=z.transitions.getAutoHeightDuration(n);e.style.transitionDuration=t+"ms",H.current=t}else e.style.transitionDuration="string"==typeof r?r:r+"ms";e.style[$]=n+"px",e.style.transitionTimingFunction=i,_&&_(e,t)}),J=K((e,t)=>{e.style[$]="auto",A&&A(e,t)}),ee=K(e=>{e.style[$]=X()+"px",D&&D(e)}),te=K(F),ne=K(e=>{const t=X(),{duration:n,easing:r}=Object(f.a)({style:T,timeout:B,easing:E},{mode:"exit"});if("auto"===B){const n=z.transitions.getAutoHeightDuration(t);e.style.transitionDuration=n+"ms",H.current=n}else e.style.transitionDuration="string"==typeof n?n:n+"ms";e.style[$]=U,e.style.transitionTimingFunction=r,R&&R(e)});return Object(b.jsx)(M,Object(i.a)({in:S,onEnter:Z,onEntered:J,onEntering:Q,onExit:ee,onExited:te,onExiting:ne,addEndListener:e=>{"auto"===B&&(W.current=setTimeout(e,H.current||0)),c&&c(G.current,e)},nodeRef:G,timeout:"auto"===B?null:B},N,{children:(e,t)=>Object(b.jsx)(v,Object(i.a)({as:C,className:Object(a.default)(L.root,O,{entered:L.entered,exited:!S&&"0px"===U&&L.hidden}[e]),style:Object(i.a)({[q?"minWidth":"minHeight"]:U},T),ownerState:Object(i.a)({},I,{state:e}),ref:Y},t,{children:Object(b.jsx)(y,{ownerState:Object(i.a)({},I,{state:e}),className:L.wrapper,ref:V,children:Object(b.jsx)(x,{ownerState:Object(i.a)({},I,{state:e}),className:L.wrapperInner,children:w})})}))}))}));w.muiSupportAuto=!0,t.a=w},function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(0),a=(n(11),n(12)),s=n(65),u=n(314),c=n(34),l=n(17),d=n(755),f=n(5);const p=["className","component"],h=Object(l.a)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),m={variant:"body"},b="tbody",g=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiTableBody"}),{className:o,component:l=b}=n,g=Object(i.a)(n,p),v=Object(r.a)({},n,{component:l}),y=(e=>{const{classes:t}=e;return Object(s.a)({root:["root"]},d.a,t)})(v);return Object(f.jsx)(u.a.Provider,{value:m,children:Object(f.jsx)(h,Object(r.a)({className:Object(a.default)(y.root,o),as:l,ref:t,role:l===b?null:"rowgroup",ownerState:v},g))})}));t.a=g},function(e,t,n){"use strict";var r=n(275);t.a=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,i)=>t[i]?Object(r.a)(n,t[i](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(104);function i(e){return((Object(r.a)(e)?e.ownerDocument:e.document)||window.document).documentElement}},,,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(296),n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(174),d=n(72),f=n(501),p=n(269),h=n(405),m=n(5);const b=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],g=Object(u.a)(d.a,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+h.a.region]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:e.palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&:before":{display:"none"}},["&."+h.a.expanded]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},["&."+h.a.disabled]:{backgroundColor:e.palette.action.disabledBackground}}},({theme:e,ownerState:t})=>Object(i.a)({},!t.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:e.shape.borderRadius,borderBottomRightRadius:e.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!t.disableGutters&&{["&."+h.a.expanded]:{margin:"16px 0"}})),v=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiAccordion"}),{children:u,className:d,defaultExpanded:v=!1,disabled:y=!1,disableGutters:x=!1,expanded:w,onChange:O,square:j=!1,TransitionComponent:C=l.a,TransitionProps:E}=n,S=Object(r.a)(n,b),[k,A]=Object(p.a)({controlled:w,default:v,name:"Accordion",state:"expanded"}),_=o.useCallback(e=>{A(!k),O&&O(e,!k)},[k,O,A]),[D,...F]=o.Children.toArray(u),R=o.useMemo(()=>({expanded:k,disabled:y,disableGutters:x,toggle:_}),[k,y,x,_]),P=Object(i.a)({},n,{square:j,disabled:y,disableGutters:x,expanded:k}),T=(e=>{const{classes:t,square:n,expanded:r,disabled:i,disableGutters:o}=e,a={root:["root",!n&&"rounded",r&&"expanded",i&&"disabled",!o&&"gutters"],region:["region"]};return Object(s.a)(a,h.b,t)})(P);return Object(m.jsxs)(g,Object(i.a)({className:Object(a.default)(T.root,d),ref:t,ownerState:P,square:j},S,{children:[Object(m.jsx)(f.a.Provider,{value:R,children:D}),Object(m.jsx)(C,Object(i.a)({in:k,timeout:"auto"},E,{children:Object(m.jsx)("div",{"aria-labelledby":D.props.id,id:D.props["aria-controls"],role:"region",className:T.region,children:F})}))]}))}));t.a=v},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(290),d=n(501),f=n(333),p=n(5);const h=["children","className","expandIcon","focusVisibleClassName","onClick"],m=Object(u.a)(l.a,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{const n={duration:e.transitions.duration.shortest};return Object(i.a)({display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],n),["&."+f.a.focusVisible]:{backgroundColor:e.palette.action.focus},["&."+f.a.disabled]:{opacity:e.palette.action.disabledOpacity},[`&:hover:not(.${f.a.disabled})`]:{cursor:"pointer"}},!t.disableGutters&&{["&."+f.a.expanded]:{minHeight:64}})}),b=Object(u.a)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e,ownerState:t})=>Object(i.a)({display:"flex",flexGrow:1,margin:"12px 0"},!t.disableGutters&&{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),["&."+f.a.expanded]:{margin:"20px 0"}})),g=Object(u.a)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})(({theme:e})=>({display:"flex",color:e.palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),["&."+f.a.expanded]:{transform:"rotate(180deg)"}})),v=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiAccordionSummary"}),{children:u,className:l,expandIcon:v,focusVisibleClassName:y,onClick:x}=n,w=Object(r.a)(n,h),{disabled:O=!1,disableGutters:j,expanded:C,toggle:E}=o.useContext(d.a),S=Object(i.a)({},n,{expanded:C,disabled:O,disableGutters:j}),k=(e=>{const{classes:t,expanded:n,disabled:r,disableGutters:i}=e,o={root:["root",n&&"expanded",r&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return Object(s.a)(o,f.b,t)})(S);return Object(p.jsxs)(m,Object(i.a)({focusRipple:!1,disableRipple:!0,disabled:O,component:"div","aria-expanded":C,className:Object(a.default)(k.root,l),focusVisibleClassName:Object(a.default)(k.focusVisible,y),onClick:e=>{E&&E(e),x&&x(e)},ref:t,ownerState:S},w,{children:[Object(p.jsx)(b,{className:k.content,ownerState:S,children:u}),v&&Object(p.jsx)(g,{className:k.expandIconWrapper,ownerState:S,children:v})]}))}));t.a=v},function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(0),a=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(783),d=n(5);const f=["className"],p=Object(u.a)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(1,2,2)})),h=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiAccordionDetails"}),{className:o}=n,u=Object(i.a)(n,f),h=n,m=(e=>{const{classes:t}=e;return Object(s.a)({root:["root"]},l.a,t)})(h);return Object(d.jsx)(p,Object(r.a)({className:Object(a.default)(m.root,o),ref:t,ownerState:h},u))}));t.a=h},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(307);function o(){return r.useContext(i.a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(151);function i(e){return Object(r.a)(e).getComputedStyle(e)}},function(e,t,n){"use strict";var r=n(251);t.a=r.a},,function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l}));var r=n(18),i=n(3);const o=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function u(e){return Math.round(e)+"ms"}function c(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function l(e){const t=Object(i.a)({},a,e.easing),n=Object(i.a)({},s,e.duration);return Object(i.a)({getAutoHeightDuration:c,create:(e=["all"],i={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:c=0}=i;Object(r.a)(i,o);return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:u(a)} ${s} ${"string"==typeof c?c:u(c)}`).join(",")}},e,{easing:t,duration:n})}},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m})),n.d(t,"d",(function(){return b}));var r=n(145),i=n(53),o=n(275),a=n(662);const s={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=Object(a.a)(e=>{if(e.length>2){if(!c[e])return[e];e=c[e]}const[t,n]=e.split(""),r=s[t],i=u[n]||"";return Array.isArray(i)?i.map(e=>r+e):[r+i]}),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...d,...f];function h(e,t,n,r){const o=Object(i.b)(e,t)||n;return"number"==typeof o?e=>"string"==typeof e?e:o*e:Array.isArray(o)?e=>"string"==typeof e?e:o[e]:"function"==typeof o?o:()=>{}}function m(e){return h(e,"spacing",8)}function b(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-"+n}function g(e,t,n,i){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=b(t,n),e),{})}(l(n),i),a=e[n];return Object(r.b)(e,a,o)}function v(e,t){const n=m(e.theme);return Object.keys(e).map(r=>g(e,t,r,n)).reduce(o.a,{})}function y(e){return v(e,d)}function x(e){return v(e,f)}function w(e){return v(e,p)}y.propTypes={},y.filterProps=d,x.propTypes={},x.filterProps=f,w.propTypes={},w.filterProps=p,t.c=w},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));const r=e=>e.scrollTop;function i(e,t){var n,r;const{timeout:i,easing:o,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof i?i:i[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof o?o[t.mode]:o,delay:a.transitionDelay}}},,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(290),c=n(28),l=n(34),d=n(17),f=n(334),p=n(5);const h=["className","disabled","disableFocusRipple","fullWidth","icon","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],m=Object(d.a)(u.a,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t["textColor"+Object(c.a)(n.textColor)],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",flexDirection:"column",lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,"& > *:first-child":{marginBottom:6}},"inherit"===t.textColor&&{color:"inherit",opacity:.6,["&."+f.a.selected]:{opacity:1},["&."+f.a.disabled]:{opacity:e.palette.action.disabledOpacity}},"primary"===t.textColor&&{color:e.palette.text.secondary,["&."+f.a.selected]:{color:e.palette.primary.main},["&."+f.a.disabled]:{color:e.palette.text.disabled}},"secondary"===t.textColor&&{color:e.palette.text.secondary,["&."+f.a.selected]:{color:e.palette.secondary.main},["&."+f.a.disabled]:{color:e.palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),b=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiTab"}),{className:o,disabled:u=!1,disableFocusRipple:d=!1,fullWidth:b,icon:g,indicator:v,label:y,onChange:x,onClick:w,onFocus:O,selected:j,selectionFollowsFocus:C,textColor:E="inherit",value:S,wrapped:k=!1}=n,A=Object(r.a)(n,h),_=Object(i.a)({},n,{disabled:u,disableFocusRipple:d,selected:j,icon:!!g,label:!!y,fullWidth:b,textColor:E,wrapped:k}),D=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:i,icon:o,label:a,selected:u,disabled:l}=e,d={root:["root",o&&a&&"labelIcon","textColor"+Object(c.a)(n),r&&"fullWidth",i&&"wrapped",u&&"selected",l&&"disabled"]};return Object(s.a)(d,f.b,t)})(_);return Object(p.jsxs)(m,Object(i.a)({focusRipple:!d,className:Object(a.default)(D.root,o),ref:t,role:"tab","aria-selected":j,disabled:u,onClick:e=>{!j&&x&&x(e,S),w&&w(e)},onFocus:e=>{C&&!j&&x&&x(e,S),O&&O(e)},ownerState:_,tabIndex:j?0:-1},A,{children:[g,y,v]}))}));t.a=b},,,,function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3);function i(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function o(e,t,n={clone:!0}){const a=n.clone?Object(r.a)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach(r=>{"__proto__"!==r&&(i(t[r])&&r in e&&i(e[r])?a[r]=o(e[r],t[r],n):a[r]=t[r])}),a}},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(497),c=n(34),l=n(17),d=n(754),f=n(5);const p=["className","component","padding","size","stickyHeader"],h=Object(l.a)("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Object(i.a)({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),m="table",b=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiTable"}),{className:l,component:b=m,padding:g="normal",size:v="medium",stickyHeader:y=!1}=n,x=Object(r.a)(n,p),w=Object(i.a)({},n,{component:b,padding:g,size:v,stickyHeader:y}),O=(e=>{const{classes:t,stickyHeader:n}=e,r={root:["root",n&&"stickyHeader"]};return Object(s.a)(r,d.a,t)})(w),j=o.useMemo(()=>({padding:g,size:v,stickyHeader:y}),[g,v,y]);return Object(f.jsx)(u.a.Provider,{value:j,children:Object(f.jsx)(h,Object(i.a)({as:b,role:b===m?null:"table",ref:t,className:Object(a.default)(O.root,l),ownerState:w},x))})}));t.a=b},,,function(e,t,n){"use strict";var r=n(1243);t.a=r.a},,function(e,t,n){"use strict";var r=n(563);t.a=r.a},,,,,,,,function(e,t,n){"use strict";var r=n(0);t.a=function(e,t,n=!0){const i=Object(r.useRef)(!0);Object(r.useEffect)(i.current||!n?()=>{i.current=!1}:e,t)}},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n(64);var r=n(63);const i=Object(r.a)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);t.a=i},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(683),i=n(177),o=n(254),a=n(469),s=n(421),u=n(51),c=n(104),l=n(470),d=n(472);function f(e,t){void 0===t&&(t={});var n=t,f=n.placement,p=void 0===f?e.placement:f,h=n.boundary,m=void 0===h?u.d:h,b=n.rootBoundary,g=void 0===b?u.o:b,v=n.elementContext,y=void 0===v?u.i:v,x=n.altBoundary,w=void 0!==x&&x,O=n.padding,j=void 0===O?0:O,C=Object(l.a)("number"!=typeof j?j:Object(d.a)(j,u.b)),E=y===u.i?u.j:u.i,S=e.rects.popper,k=e.elements[w?E:y],A=Object(r.a)(Object(c.a)(k)?k:k.contextElement||Object(i.a)(e.elements.popper),m,g),_=Object(o.a)(e.elements.reference),D=Object(a.a)({reference:_,element:S,strategy:"absolute",placement:p}),F=Object(s.a)(Object.assign({},S,D)),R=y===u.i?F:_,P={top:A.top-R.top+C.top,bottom:R.bottom-A.bottom+C.bottom,left:A.left-R.left+C.left,right:R.right-A.right+C.right},T=e.modifiersData.offset;if(y===u.i&&T){var B=T[p];Object.keys(P).forEach((function(e){var t=[u.k,u.c].indexOf(e)>=0?1:-1,n=[u.m,u.c].indexOf(e)>=0?"y":"x";P[e]+=B[n]*t}))}return P}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(701),i=n(702),o=n(480),a=n(703);function s(e){return Object(r.a)(e)||Object(i.a)(e)||Object(o.a)(e)||Object(a.a)()}},function(e,t,n){"use strict";function r(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&void 0===t[n]&&(e[n]=r[n]),e}),{})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return Ie}));var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",o={5:i,"5module":i+" export import",6:i+" const class extends export import super"},a=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",c=new RegExp("["+s+"]"),l=new RegExp("["+s+u+"]");s=u=null;var d=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],f=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function p(e,t){for(var n=65536,r=0;re)return!1;if((n+=t[r+1])>=e)return!0}}function h(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&p(e,d)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&(p(e,d)||p(e,f)))))}var b=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new b(e,{beforeExpr:!0,binop:t})}var v={beforeExpr:!0},y={startsExpr:!0},x={};function w(e,t){return void 0===t&&(t={}),t.keyword=e,x[e]=new b(e,t)}var O={num:new b("num",y),regexp:new b("regexp",y),string:new b("string",y),name:new b("name",y),privateId:new b("privateId",y),eof:new b("eof"),bracketL:new b("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new b("]"),braceL:new b("{",{beforeExpr:!0,startsExpr:!0}),braceR:new b("}"),parenL:new b("(",{beforeExpr:!0,startsExpr:!0}),parenR:new b(")"),comma:new b(",",v),semi:new b(";",v),colon:new b(":",v),dot:new b("."),question:new b("?",v),questionDot:new b("?."),arrow:new b("=>",v),template:new b("template"),invalidTemplate:new b("invalidTemplate"),ellipsis:new b("...",v),backQuote:new b("`",y),dollarBraceL:new b("${",{beforeExpr:!0,startsExpr:!0}),eq:new b("=",{beforeExpr:!0,isAssign:!0}),assign:new b("_=",{beforeExpr:!0,isAssign:!0}),incDec:new b("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new b("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new b("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new b("**",{beforeExpr:!0}),coalesce:g("??",1),_break:w("break"),_case:w("case",v),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",v),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",v),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",y),_if:w("if"),_return:w("return",v),_switch:w("switch"),_throw:w("throw",v),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",y),_super:w("super",y),_class:w("class",y),_extends:w("extends",v),_export:w("export"),_import:w("import",y),_null:w("null",y),_true:w("true",y),_false:w("false",y),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},j=/\r\n?|\n|\u2028|\u2029/,C=new RegExp(j.source,"g");function E(e){return 10===e||13===e||8232===e||8233===e}var S=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,k=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,A=Object.prototype,_=A.hasOwnProperty,D=A.toString;function F(e,t){return _.call(e,t)}var R=Array.isArray||function(e){return"[object Array]"===D.call(e)};function P(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var T=function(e,t){this.line=e,this.column=t};T.prototype.offset=function(e){return new T(this.line,this.column+e)};var B=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function M(e,t){for(var n=1,r=0;;){C.lastIndex=r;var i=C.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),R(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return R(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,o,a,s){var u={type:n?"Block":"Line",value:r,start:i,end:o};e.locations&&(u.loc=new B(this,a,s)),e.ranges&&(u.range=[i,o]),t.push(u)}}(t,t.onComment)),t}function z(e,t){return 2|(e?4:0)|(t?8:0)}var W=function(e,t,n){this.options=e=L(e),this.sourceFile=e.sourceFile,this.keywords=P(o[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var i="";!0!==e.allowReserved&&(i=r[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(i+=" await")),this.reservedWords=P(i);var a=(i?i+" ":"")+r.strict;this.reservedWordsStrict=P(a),this.reservedWordsStrictBind=P(a+" "+r.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(j).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=O.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},V={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};W.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},V.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},V.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},V.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},V.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||256&t.flags)return!1;if(2&t.flags)return(4&t.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},V.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(64&t)>0||n||this.options.allowSuperOutsideMethod},V.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},V.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},V.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(258&t)>0||n},V.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},W.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(r+1))}e+=t[0].length,k.lastIndex=e,e+=k.exec(this.input)[0].length,";"===this.input[e]&&e++}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===O.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===O.eof||this.type===O.braceR||j.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){this.eat(O.semi)||this.insertSemicolon()||this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&r<56320)return!0;if(e)return!1;if(123===r)return!0;if(h(r,!0)){for(var i=n+1;m(r=this.input.charCodeAt(i),!0);)++i;if(92===r||r>55295&&r<56320)return!0;var o=this.input.slice(n,i);if(!a.test(o))return!0}return!1},$.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;k.lastIndex=this.pos;var e,t=k.exec(this.input),n=this.pos+t[0].length;return!(j.test(this.input.slice(this.pos,n))||"function"!==this.input.slice(n,n+8)||n+8!==this.input.length&&(m(e=this.input.charCodeAt(n+8))||e>55295&&e<56320))},$.parseStatement=function(e,t,n){var r,i=this.type,o=this.startNode();switch(this.isLet(e)&&(i=O._var,r="let"),i){case O._break:case O._continue:return this.parseBreakContinueStatement(o,i.keyword);case O._debugger:return this.parseDebuggerStatement(o);case O._do:return this.parseDoStatement(o);case O._for:return this.parseForStatement(o);case O._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(o,!1,!e);case O._class:return e&&this.unexpected(),this.parseClass(o,!0);case O._if:return this.parseIfStatement(o);case O._return:return this.parseReturnStatement(o);case O._switch:return this.parseSwitchStatement(o);case O._throw:return this.parseThrowStatement(o);case O._try:return this.parseTryStatement(o);case O._const:case O._var:return r=r||this.value,e&&"var"!==r&&this.unexpected(),this.parseVarStatement(o,r);case O._while:return this.parseWhileStatement(o);case O._with:return this.parseWithStatement(o);case O.braceL:return this.parseBlock(!0,o);case O.semi:return this.parseEmptyStatement(o);case O._export:case O._import:if(this.options.ecmaVersion>10&&i===O._import){k.lastIndex=this.pos;var a=k.exec(this.input),s=this.pos+a[0].length,u=this.input.charCodeAt(s);if(40===u||46===u)return this.parseExpressionStatement(o,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===O._import?this.parseImport(o):this.parseExport(o,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(o,!0,!e);var c=this.value,l=this.parseExpression();return i===O.name&&"Identifier"===l.type&&this.eat(O.colon)?this.parseLabeledStatement(o,c,l,e):this.parseExpressionStatement(o,l)}},$.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(O.semi)||this.insertSemicolon()?e.label=null:this.type!==O.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(O.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},$.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(G),this.enterScope(0),this.expect(O.parenL),this.type===O.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===O._var||this.type===O._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.type===O._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===r.declarations.length?(this.options.ecmaVersion>=9&&(this.type===O._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var o=this.isContextual("let"),a=!1,s=new q,u=this.parseExpression(!(t>-1)||"await",s);return this.type===O._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===O._in?t>-1&&this.unexpected(t):e.await=t>-1),o&&a&&this.raise(u.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(u,!1,s),this.checkLValPattern(u),this.parseForIn(e,u)):(this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))},$.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,X|(n?0:Z),!1,t)},$.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(O._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},$.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(O.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},$.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(O.braceL),this.labels.push(Y),this.enterScope(0);for(var n=!1;this.type!==O.braceR;)if(this.type===O._case||this.type===O._default){var r=this.type===O._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(O.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},$.parseThrowStatement=function(e){return this.next(),j.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var K=[];$.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===O._catch){var t=this.startNode();if(this.next(),this.eat(O.parenL)){t.param=this.parseBindingAtom();var n="Identifier"===t.param.type;this.enterScope(n?32:0),this.checkLValPattern(t.param,n?4:2),this.expect(O.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(O._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},$.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},$.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(G),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},$.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},$.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},$.parseLabeledStatement=function(e,t,n,r){for(var i=0,o=this.labels;i=0;s--){var u=this.labels[s];if(u.statementStart!==e.start)break;u.statementStart=this.start,u.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},$.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},$.parseBlock=function(e,t,n){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(O.braceL),e&&this.enterScope(0);this.type!==O.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},$.parseFor=function(e,t){return e.init=t,this.expect(O.semi),e.test=this.type===O.semi?null:this.parseExpression(),this.expect(O.semi),e.update=this.type===O.parenR?null:this.parseExpression(),this.expect(O.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},$.parseForIn=function(e,t){var n=this.type===O._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(O.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},$.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(O.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===O._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===O._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(O.comma))break}return e},$.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var X=1,Z=2;function Q(e,t){var n=t.key.name,r=e[n],i="true";return"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(i=(t.static?"s":"i")+t.kind),"iget"===r&&"iset"===i||"iset"===r&&"iget"===i||"sget"===r&&"sset"===i||"sset"===r&&"sget"===i?(e[n]="true",!1):!!r||(e[n]=i,!1)}function J(e,t){var n=e.computed,r=e.key;return!n&&("Identifier"===r.type&&r.name===t||"Literal"===r.type&&r.value===t)}$.parseFunction=function(e,t,n,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===O.star&&t&Z&&this.unexpected(),e.generator=this.eat(O.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&X&&(e.id=4&t&&this.type!==O.name?null:this.parseIdent(),!e.id||t&Z||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var o=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(z(e.async,e.generator)),t&X||(e.id=this.type===O.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1,i),this.yieldPos=o,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(e,t&X?"FunctionDeclaration":"FunctionExpression")},$.parseFunctionParams=function(e){this.expect(O.parenL),e.params=this.parseBindingList(O.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},$.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),i=this.startNode(),o=!1;for(i.body=[],this.expect(O.braceL);this.type!==O.braceR;){var a=this.parseClassElement(null!==e.superClass);a&&(i.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind?(o&&this.raise(a.start,"Duplicate constructor in the same class"),o=!0):a.key&&"PrivateIdentifier"===a.key.type&&Q(r,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=n,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},$.parseClassElement=function(e){if(this.eat(O.semi))return null;var t=this.options.ecmaVersion,n=this.startNode(),r="",i=!1,o=!1,a="method",s=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(O.braceL))return this.parseClassStaticBlock(n),n;this.isClassElementNameStart()||this.type===O.star?s=!0:r="static"}if(n.static=s,!r&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==O.star||this.canInsertSemicolon()?r="async":o=!0),!r&&(t>=9||!o)&&this.eat(O.star)&&(i=!0),!r&&!o&&!i){var u=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=u:r=u)}if(r?(n.computed=!1,n.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),n.key.name=r,this.finishNode(n.key,"Identifier")):this.parseClassElementName(n),t<13||this.type===O.parenL||"method"!==a||i||o){var c=!n.static&&J(n,"constructor"),l=c&&e;c&&"method"!==a&&this.raise(n.key.start,"Constructor can't have get/set modifier"),n.kind=c?"constructor":a,this.parseClassMethod(n,i,o,l)}else this.parseClassField(n);return n},$.isClassElementNameStart=function(){return this.type===O.name||this.type===O.privateId||this.type===O.num||this.type===O.string||this.type===O.bracketL||this.type.keyword},$.parseClassElementName=function(e){this.type===O.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},$.parseClassMethod=function(e,t,n,r){var i=e.key;"constructor"===e.kind?(t&&this.raise(i.start,"Constructor can't be a generator"),n&&this.raise(i.start,"Constructor can't be an async method")):e.static&&J(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var o=e.value=this.parseMethod(t,n,r);return"get"===e.kind&&0!==o.params.length&&this.raiseRecoverable(o.start,"getter should have no params"),"set"===e.kind&&1!==o.params.length&&this.raiseRecoverable(o.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===o.params[0].type&&this.raiseRecoverable(o.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},$.parseClassField=function(e){if(J(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&J(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(O.eq)){var t=this.currentThisScope(),n=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=n}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},$.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==O.braceR;){var n=this.parseStatement(null);e.body.push(n)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},$.parseClassId=function(e,t){this.type===O.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},$.parseClassSuper=function(e){e.superClass=this.eat(O._extends)?this.parseExprSubscripts(!1):null},$.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},$.exitClassBody=function(){for(var e=this.privateNameStack.pop(),t=e.declared,n=e.used,r=this.privateNameStack.length,i=0===r?null:this.privateNameStack[r-1],o=0;o=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==O.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(O._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===O._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,4|X,!1,n)}else if(this.type===O._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==O.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,a=e.specifiers;o=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=8&&!a&&"async"===s.name&&!this.canInsertSemicolon()&&this.eat(O._function))return this.overrideContext(ne.f_expr),this.parseFunction(this.startNodeAt(i,o),0,!1,!0,t);if(r&&!this.canInsertSemicolon()){if(this.eat(O.arrow))return this.parseArrowExpression(this.startNodeAt(i,o),[s],!1,t);if(this.options.ecmaVersion>=8&&"async"===s.name&&this.type===O.name&&!a&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return s=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(O.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,o),[s],!0,t)}return s;case O.regexp:var u=this.value;return(n=this.parseLiteral(u.value)).regex={pattern:u.pattern,flags:u.flags},n;case O.num:case O.string:return this.parseLiteral(this.value);case O._null:case O._true:case O._false:return(n=this.startNode()).value=this.type===O._null?null:this.type===O._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case O.parenL:var c=this.start,l=this.parseParenAndDistinguishExpression(r,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),l;case O.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(O.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case O.braceL:return this.overrideContext(ne.b_expr),this.parseObj(!1,e);case O._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case O._class:return this.parseClass(this.startNode(),!1);case O._new:return this.parseNew();case O.backQuote:return this.parseTemplate();case O._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},ie.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case O.parenL:return this.parseDynamicImport(e);case O.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},ie.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(O.parenR)){var t=this.start;this.eat(O.comma)&&this.eat(O.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},ie.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},ie.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},ie.parseParenExpression=function(){this.expect(O.parenL);var e=this.parseExpression();return this.expect(O.parenR),e},ie.parseParenAndDistinguishExpression=function(e,t){var n,r=this.start,i=this.startLoc,o=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,s=this.start,u=this.startLoc,c=[],l=!0,d=!1,f=new q,p=this.yieldPos,h=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==O.parenR;){if(l?l=!1:this.expect(O.comma),o&&this.afterTrailingComma(O.parenR,!0)){d=!0;break}if(this.type===O.ellipsis){a=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===O.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var m=this.lastTokEnd,b=this.lastTokEndLoc;if(this.expect(O.parenR),e&&!this.canInsertSemicolon()&&this.eat(O.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=p,this.awaitPos=h,this.parseParenArrowList(r,i,c,t);c.length&&!d||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(f,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=h||this.awaitPos,c.length>1?((n=this.startNodeAt(s,u)).expressions=c,this.finishNodeAt(n,"SequenceExpression",m,b)):n=c[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(r,i);return g.expression=n,this.finishNode(g,"ParenthesizedExpression")}return n},ie.parseParenItem=function(e){return e},ie.parseParenArrowList=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,r)};var oe=[];ie.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(O.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc,o=this.type===O._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0,!1),o&&"ImportExpression"===e.callee.type&&this.raise(r,"Cannot use new with import()"),this.eat(O.parenL)?e.arguments=this.parseExprList(O.parenR,this.options.ecmaVersion>=8,!1):e.arguments=oe,this.finishNode(e,"NewExpression")},ie.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===O.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===O.backQuote,this.finishNode(n,"TemplateElement")},ie.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===O.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(O.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(O.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},ie.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===O.name||this.type===O.num||this.type===O.string||this.type===O.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===O.star)&&!j.test(this.input.slice(this.lastTokEnd,this.start))},ie.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(O.braceR);){if(r)r=!1;else if(this.expect(O.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(O.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),n.properties.push(o)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},ie.parseProperty=function(e,t){var n,r,i,o,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(O.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===O.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(this.type===O.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),a.argument=this.parseMaybeAssign(!1,t),this.type===O.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(i=this.start,o=this.startLoc),e||(n=this.eat(O.star)));var s=this.containsEsc;return this.parsePropertyName(a),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(a)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(O.star),this.parsePropertyName(a,t)):r=!1,this.parsePropertyValue(a,e,n,r,i,o,t,s),this.finishNode(a,"Property")},ie.parsePropertyValue=function(e,t,n,r,i,o,a,s){if((n||r)&&this.type===O.colon&&this.unexpected(),this.eat(O.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===O.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===O.comma||this.type===O.braceR||this.type===O.eq)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key)):this.type===O.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var u="get"===e.kind?0:1;if(e.value.params.length!==u){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},ie.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(O.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(O.bracketR),e.key;e.computed=!1}return e.key=this.type===O.num||this.type===O.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},ie.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},ie.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,o=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|z(t,r.generator)|(n?128:0)),this.expect(O.parenL),r.params=this.parseBindingList(O.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=a,this.finishNode(r,"FunctionExpression")},ie.parseArrowExpression=function(e,t,n,r){var i=this.yieldPos,o=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(16|z(n,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")},ie.parseFunctionBody=function(e,t,n,r){var i=t&&this.type!==O.braceL,o=this.strict,a=!1;if(i)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);o&&!s||(a=this.strictDirective(this.end))&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var u=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!o&&!a&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,a&&!o),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=u}this.exitScope()},ie.isSimpleParamList=function(e){for(var t=0,n=e;t-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&1&i.flags&&delete this.undefinedExports[e]}else if(4===t){this.currentScope().lexical.push(e)}else if(3===t){var o=this.currentScope();r=this.treatFunctionsAsVar?o.lexical.indexOf(e)>-1:o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var a=this.scopeStack.length-1;a>=0;--a){var s=this.scopeStack[a];if(s.lexical.indexOf(e)>-1&&!(32&s.flags&&s.lexical[0]===e)||!this.treatFunctionsAsVarInScope(s)&&s.functions.indexOf(e)>-1){r=!0;break}if(s.var.push(e),this.inModule&&1&s.flags&&delete this.undefinedExports[e],259&s.flags)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},se.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},se.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},se.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags)return t}},se.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags&&!(16&t.flags))return t}};var ce=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new B(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},le=W.prototype;function de(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}le.startNode=function(){return new ce(this,this.start,this.startLoc)},le.startNodeAt=function(e,t){return new ce(this,e,t)},le.finishNode=function(e,t){return de.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},le.finishNodeAt=function(e,t,n,r){return de.call(this,e,t,n,r)},le.copyNode=function(e){var t=new ce(this,e.start,this.startLoc);for(var n in e)t[n]=e[n];return t};var fe="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",pe=fe+" Extended_Pictographic",he={9:fe,10:pe,11:pe,12:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic EBase EComp EMod EPres ExtPict"},me="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",be="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ge=be+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ve=ge+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ye={9:be,10:ge,11:ve,12:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi"},xe={};function we(e){var t=xe[e]={binary:P(he[e]+" "+me),nonBinary:{General_Category:P(me),Script:P(ye[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}we(9),we(10),we(11),we(12);var Oe=W.prototype,je=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":""),this.unicodeProperties=xe[e.options.ecmaVersion>=12?12:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function Ce(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function Ee(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function Se(e){return e>=65&&e<=90||e>=97&&e<=122}function ke(e){return Se(e)||95===e}function Ae(e){return ke(e)||_e(e)}function _e(e){return e>=48&&e<=57}function De(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Fe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Re(e){return e>=48&&e<=55}je.prototype.reset=function(e,t,n){var r=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},je.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},je.prototype.at=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var i=n.charCodeAt(e);if(!t&&!this.switchU||i<=55295||i>=57344||e+1>=r)return i;var o=n.charCodeAt(e+1);return o>=56320&&o<=57343?(i<<10)+o-56613888:i},je.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i,o=n.charCodeAt(e);return!t&&!this.switchU||o<=55295||o>=57344||e+1>=r||(i=n.charCodeAt(e+1))<56320||i>57343?e+1:e+2},je.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},je.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},je.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},je.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},Oe.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},Oe.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},Oe.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},Oe.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},Oe.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},Oe.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},Oe.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},Oe.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},Oe.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!Ee(t)&&(e.lastIntValue=t,e.advance(),!0)},Oe.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!Ee(n);)e.advance();return e.pos!==t},Oe.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},Oe.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},Oe.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},Oe.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Ce(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Ce(e.lastIntValue);return!0}return!1},Oe.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),function(e){return h(e,!0)||36===e||95===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},Oe.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),function(e){return m(e,!0)||36===e||95===e||8204===e||8205===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},Oe.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},Oe.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},Oe.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},Oe.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},Oe.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},Oe.regexp_eatZero=function(e){return 48===e.current()&&!_e(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},Oe.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},Oe.regexp_eatControlLetter=function(e){var t=e.current();return!!Se(t)&&(e.lastIntValue=t%32,e.advance(),!0)},Oe.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var n,r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(i&&o>=55296&&o<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=1024*(o-55296)+(s-56320)+65536,!0}e.pos=a,e.lastIntValue=o}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((n=e.lastIntValue)>=0&&n<=1114111))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1},Oe.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},Oe.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},Oe.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},Oe.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},Oe.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){F(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},Oe.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},Oe.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";ke(t=e.current());)e.lastStringValue+=Ce(t),e.advance();return""!==e.lastStringValue},Oe.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Ae(t=e.current());)e.lastStringValue+=Ce(t),e.advance();return""!==e.lastStringValue},Oe.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},Oe.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},Oe.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},Oe.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||Re(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},Oe.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},Oe.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!_e(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},Oe.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},Oe.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;_e(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},Oe.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;De(n=e.current());)e.lastIntValue=16*e.lastIntValue+Fe(n),e.advance();return e.pos!==t},Oe.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},Oe.regexp_eatOctalDigit=function(e){var t=e.current();return Re(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},Oe.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}Te.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Pe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Te.getToken=function(){return this.next(),new Pe(this)},"undefined"!=typeof Symbol&&(Te[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===O.eof,value:t}}}}),Te.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(O.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Te.readToken=function(e){return h(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Te.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},Te.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(C.lastIndex=n;(e=C.exec(this.input))&&e.index8&&e<14||e>=5760&&S.test(String.fromCharCode(e))))break e;++this.pos}}},Te.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},Te.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(O.ellipsis)):(++this.pos,this.finishToken(O.dot))},Te.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(O.assign,2):this.finishOp(O.slash,1)},Te.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?O.star:O.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=O.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(O.assign,n+1):this.finishOp(r,n)},Te.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(O.assign,3);return this.finishOp(124===e?O.logicalOR:O.logicalAND,2)}return 61===t?this.finishOp(O.assign,2):this.finishOp(124===e?O.bitwiseOR:O.bitwiseAND,1)},Te.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(O.assign,2):this.finishOp(O.bitwiseXOR,1)},Te.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!j.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(O.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(O.assign,2):this.finishOp(O.plusMin,1)},Te.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(O.assign,n+1):this.finishOp(O.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(O.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Te.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(O.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(O.arrow)):this.finishOp(61===e?O.eq:O.prefix,1)},Te.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(O.questionDot,2)}if(63===t){if(e>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(O.assign,3);return this.finishOp(O.coalesce,2)}}return this.finishOp(O.question,1)},Te.readToken_numberSign=function(){var e=35;if(this.options.ecmaVersion>=13&&(++this.pos,h(e=this.fullCharCodeAtPos(),!0)||92===e))return this.finishToken(O.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Me(e)+"'")},Te.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(O.parenL);case 41:return++this.pos,this.finishToken(O.parenR);case 59:return++this.pos,this.finishToken(O.semi);case 44:return++this.pos,this.finishToken(O.comma);case 91:return++this.pos,this.finishToken(O.bracketL);case 93:return++this.pos,this.finishToken(O.bracketR);case 123:return++this.pos,this.finishToken(O.braceL);case 125:return++this.pos,this.finishToken(O.braceR);case 58:return++this.pos,this.finishToken(O.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(O.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(O.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Me(e)+"'")},Te.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},Te.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(j.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var o=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(o);var s=this.regexpState||(this.regexpState=new je(this));s.reset(n,i,a),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var u=null;try{u=new RegExp(i,a)}catch(e){}return this.finishToken(O.regexp,{pattern:i,flags:a,value:u})},Te.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&void 0===t,i=n&&48===this.input.charCodeAt(this.pos),o=this.pos,a=0,s=0,u=0,c=null==t?1/0:t;u=97?l-97+10:l>=65?l-65+10:l>=48&&l<=57?l-48:1/0)>=e)break;s=l,a=a*e+d}}return r&&95===s&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||null!=t&&this.pos-o!==t?null:a},Te.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return null==n&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(n=Be(this.input.slice(t,this.pos)),++this.pos):h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(O.num,n)},Te.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&110===r){var i=Be(this.input.slice(t,this.pos));return++this.pos,h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(O.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o,a=(o=this.input.slice(t,this.pos),n?parseInt(o,8):parseFloat(o.replace(/_/g,"")));return this.finishToken(O.num,a)},Te.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Te.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):8232===r||8233===r?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(E(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(O.string,t)};var Ne={};Te.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Ne)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Te.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ne;this.raise(e,t)},Te.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==O.template&&this.type!==O.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(O.template,e)):36===n?(this.pos+=2,this.finishToken(O.dollarBraceL)):(++this.pos,this.finishToken(O.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(E(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Te.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),"0"===r&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return E(t)?"":String.fromCharCode(t)}},Te.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},Te.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos{t.current=e}),r.useCallback((...e)=>(0,t.current)(...e),[])}},function(e,t,n){"use strict";var r=n(1182),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=l(n);d&&(a=a.concat(d(n)));for(var s=u(t),m=u(n),b=0;b{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>Object(i.a)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),m=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiList"}),{children:u,className:m,component:b="ul",dense:g=!1,disablePadding:v=!1,subheader:y}=n,x=Object(r.a)(n,p),w=o.useMemo(()=>({dense:g}),[g]),O=Object(i.a)({},n,{component:b,dense:g,disablePadding:v}),j=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e,o={root:["root",!n&&"padding",r&&"dense",i&&"subheader"]};return Object(s.a)(o,d.a,t)})(O);return Object(f.jsx)(l.a.Provider,{value:w,children:Object(f.jsxs)(h,Object(i.a)({as:b,className:Object(a.default)(j.root,m),ref:t,ownerState:O},x,{children:[y,u]}))})}));t.a=m},,function(e,t,n){"use strict";var r=n(1113);t.a=r.a},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(151),i=n(169),o=n(194),a=n(104),s=n(678),u=n(306);function c(e){return Object(a.b)(e)&&"fixed"!==Object(o.a)(e).position?e.offsetParent:null}function l(e){for(var t=Object(r.a)(e),n=c(e);n&&Object(s.a)(n)&&"static"===Object(o.a)(n).position;)n=c(n);return n&&("html"===Object(i.a)(n)||"body"===Object(i.a)(n)&&"static"===Object(o.a)(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Object(a.b)(e)&&"fixed"===Object(o.a)(e).position)return null;for(var n=Object(u.a)(e);Object(a.b)(n)&&["html","body"].indexOf(Object(i.a)(n))<0;){var r=Object(o.a)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}},function(e,t,n){"use strict";function r({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t),{})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(918),i=n(919),o=n(480),a=n(920);function s(e,t){return Object(r.a)(e)||Object(i.a)(e,t)||Object(o.a)(e,t)||Object(a.a)()}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(453),i=(n(0),n(316));function o(){return Object(r.a)()||i.a}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(279);function o(){return r.useContext(i.a)}},function(e,t,n){"use strict";var r=n(220);t.a=function(e,t){return t?Object(r.a)(e,t,{clone:!1}):e}},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(0),i=r.createContext();function o(){return r.useContext(i)}t.a=i},,,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiTooltip",e)}const a=Object(i.a)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);t.a=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiOutlinedInput",e)}const a=Object(i.a)("MuiOutlinedInput",["root","colorSecondary","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","notchedOutline","input","inputSizeSmall","inputMultiline","inputAdornedStart","inputAdornedEnd"]);t.a=a},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiButtonGroup",e)}const a=Object(i.a)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]);t.a=a},function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(0),a=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(82),d=n(195),f=n(304),p=n(718),h=n(598),m=n(5);const b=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","type"],g=Object(u.a)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},["&."+h.a.disabled]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),v=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiButtonBase"}),{action:u,centerRipple:v=!1,children:y,className:x,component:w="button",disabled:O=!1,disableRipple:j=!1,disableTouchRipple:C=!1,focusRipple:E=!1,LinkComponent:S="a",onBlur:k,onClick:A,onContextMenu:_,onDragLeave:D,onFocus:F,onFocusVisible:R,onKeyDown:P,onKeyUp:T,onMouseDown:B,onMouseLeave:M,onMouseUp:N,onTouchEnd:I,onTouchMove:L,onTouchStart:z,tabIndex:W=0,TouchRippleProps:V,type:H}=n,U=Object(i.a)(n,b),q=o.useRef(null),$=o.useRef(null),{isFocusVisibleRef:G,onFocus:Y,onBlur:K,ref:X}=Object(f.a)(),[Z,Q]=o.useState(!1);function J(e,t,n=C){return Object(d.a)(r=>{t&&t(r);return!n&&$.current&&$.current[e](r),!0})}O&&Z&&Q(!1),o.useImperativeHandle(u,()=>({focusVisible:()=>{Q(!0),q.current.focus()}}),[]),o.useEffect(()=>{Z&&E&&!j&&$.current.pulsate()},[j,E,Z]);const ee=J("start",B),te=J("stop",_),ne=J("stop",D),re=J("stop",N),ie=J("stop",e=>{Z&&e.preventDefault(),M&&M(e)}),oe=J("start",z),ae=J("stop",I),se=J("stop",L),ue=J("stop",e=>{K(e),!1===G.current&&Q(!1),k&&k(e)},!1),ce=Object(d.a)(e=>{q.current||(q.current=e.currentTarget),Y(e),!0===G.current&&(Q(!0),R&&R(e)),F&&F(e)}),le=()=>{const e=q.current;return w&&"button"!==w&&!("A"===e.tagName&&e.href)},de=o.useRef(!1),fe=Object(d.a)(e=>{E&&!de.current&&Z&&$.current&&" "===e.key&&(de.current=!0,$.current.stop(e,()=>{$.current.start(e)})),e.target===e.currentTarget&&le()&&" "===e.key&&e.preventDefault(),P&&P(e),e.target===e.currentTarget&&le()&&"Enter"===e.key&&!O&&(e.preventDefault(),A&&A(e))}),pe=Object(d.a)(e=>{E&&" "===e.key&&$.current&&Z&&!e.defaultPrevented&&(de.current=!1,$.current.stop(e,()=>{$.current.pulsate(e)})),T&&T(e),A&&e.target===e.currentTarget&&le()&&" "===e.key&&!e.defaultPrevented&&A(e)});let he=w;"button"===he&&(U.href||U.to)&&(he=S);const me={};"button"===he?(me.type=void 0===H?"button":H,me.disabled=O):(U.href||U.to||(me.role="button"),O&&(me["aria-disabled"]=O));const be=Object(l.a)(X,q),ge=Object(l.a)(t,be),[ve,ye]=o.useState(!1);o.useEffect(()=>{ye(!0)},[]);const xe=ve&&!j&&!O;const we=Object(r.a)({},n,{centerRipple:v,component:w,disabled:O,disableRipple:j,disableTouchRipple:C,focusRipple:E,tabIndex:W,focusVisible:Z}),Oe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,o={root:["root",t&&"disabled",n&&"focusVisible"]},a=Object(s.a)(o,h.b,i);return n&&r&&(a.root+=" "+r),a})(we);return Object(m.jsxs)(g,Object(r.a)({as:he,className:Object(a.default)(Oe.root,x),ownerState:we,onBlur:ue,onClick:A,onContextMenu:te,onFocus:ce,onKeyDown:fe,onKeyUp:pe,onMouseDown:ee,onMouseLeave:ie,onMouseUp:re,onDragLeave:ne,onTouchEnd:ae,onTouchMove:se,onTouchStart:oe,ref:ge,tabIndex:O?-1:W,type:H},me,U,{children:[y,xe?Object(m.jsx)(p.a,Object(r.a)({ref:$,center:v},V)):null]}))}));t.a=v},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(290),f=n(167),p=n(82),h=n(164),m=n(332),b=n(5);const g=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected"],v=Object(c.a)(d.a,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&."+m.a.selected]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity),["&."+m.a.focusVisible]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${m.a.selected}:hover`]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity)}},["&."+m.a.focusVisible]:{backgroundColor:e.palette.action.focus},["&."+m.a.disabled]:{opacity:e.palette.action.disabledOpacity}},t.divider&&{borderBottom:"1px solid "+e.palette.divider,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),y=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiListItemButton"}),{alignItems:u="center",autoFocus:c=!1,component:d="div",children:y,dense:x=!1,disableGutters:w=!1,divider:O=!1,focusVisibleClassName:j,selected:C=!1}=n,E=Object(r.a)(n,g),S=o.useContext(h.a),k={dense:x||S.dense||!1,alignItems:u,disableGutters:w},A=o.useRef(null);Object(f.a)(()=>{c&&A.current&&A.current.focus()},[c]);const _=Object(i.a)({},n,{alignItems:u,dense:k.dense,disableGutters:w,divider:O,selected:C}),D=(e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:a,divider:u,selected:c}=e,l={root:["root",r&&"dense",!a&&"gutters",u&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",c&&"selected"]},d=Object(s.a)(l,m.b,n);return Object(i.a)({},n,d)})(_),F=Object(p.a)(A,t);return Object(b.jsx)(h.a.Provider,{value:k,children:Object(b.jsx)(v,Object(i.a)({ref:F,component:d,focusVisibleClassName:Object(a.default)(D.focusVisible,j),ownerState:_},E,{classes:D,children:y}))})}));t.a=y},,,,,function(e,t,n){"use strict";e.exports=n(1184)},function(e,t,n){"use strict";var r=n(572);n.d(t,"a",(function(){return r.a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(669),i=n(670),o=n(418),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},l=Object(o.a)((function(e){return u(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===i.a[e]||u(e)||"number"!=typeof t||0===t?t:t+"px"};function f(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:{};return Object(i.a)(e,Object(r.a)({defaultTheme:o.a},t))}},,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(1231);t.a=r.a},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(624),i=n(579);const o=Object(r.a)();t.a=function(e=o){return Object(i.a)(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(698);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object(r.a)(e,t)}},function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e,t=!1){return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}))},,,,,,,,function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}))},function(e,t,n){(function(e,r){var i; /** * @license * Lodash @@ -25,12 +25,12 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */function i(e,t){return Object(r.a)(e,t)}},function(e,t,n){"use strict";t.a=function(e,t){}},function(e,t,n){"use strict";function r(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nObject(i.a)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},["&."+c.a.disabled]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:t.shape.borderRadius,"&:focus":{borderRadius:t.shape.borderRadius},"&&&":{paddingRight:32}}),h=Object(l.a)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:l.b,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant]]}})(p),m=({ownerState:e,theme:t})=>Object(i.a)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active,["&."+c.a.disabled]:{color:t.palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),b=Object(l.a)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t["icon"+Object(u.a)(n.variant)],n.open&&t.iconOpen]}})(m),g=o.forwardRef((function(e,t){const{className:n,disabled:l,IconComponent:p,inputRef:m,variant:g="standard"}=e,v=Object(r.a)(e,f),y=Object(i.a)({},e,{disabled:l,variant:g}),x=(e=>{const{classes:t,variant:n,disabled:r,open:i}=e,o={select:["select",n,r&&"disabled"],icon:["icon","icon"+Object(u.a)(n),i&&"iconOpen",r&&"disabled"]};return Object(s.a)(o,c.b,t)})(y);return Object(d.jsxs)(o.Fragment,{children:[Object(d.jsx)(h,Object(i.a)({ownerState:y,className:Object(a.default)(x.select,n),disabled:l,ref:m||t},v)),e.multiple?null:Object(d.jsx)(b,{as:p,ownerState:y,className:x.icon})]})}));t.a=g},,,,,,,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),o=n(5),a=(0,i.default)((0,o.jsx)("path",{d:"M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"}),"Equalizer");t.default=a},,function(e,t,n){"use strict";n(0);var r=n(135),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},function(e,t,n){"use strict";n(0);var r=n(135),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},,function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1){var i=z[e];if(!Array.isArray(i))return p+C(i)in t&&h+i;if(!r)return!1;for(var o=0;o"spacing-xs-"+e),...["column-reverse","column","row-reverse","row"].map(e=>"direction-xs-"+e),...["nowrap","wrap-reverse","wrap"].map(e=>"wrap-xs-"+e),...a.map(e=>"grid-xs-"+e),...a.map(e=>"grid-sm-"+e),...a.map(e=>"grid-md-"+e),...a.map(e=>"grid-lg-"+e),...a.map(e=>"grid-xl-"+e)]);t.a=s},,function(e,t,n){"use strict";t.a={black:"#000",white:"#fff"}},,,function(e,t,n){"use strict";var r=n(18),i=n(341),o=(n(11),n(0)),a=n.n(o),s=n(101),u=n.n(s),c=n(593),l=n(393),d=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i="exited",r.appearStatus="entering"):i="entered":i=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:i},r.nextCallback=null,r}Object(i.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[u.a.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||c.a.disabled?this.safeSetState({status:"entered"},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:"entering"},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:u.a.findDOMNode(this);t&&!c.a.disabled?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:u.a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Object(r.a)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(l.a.Provider,{value:null},"function"==typeof n?n(e,i):a.a.cloneElement(a.a.Children.only(n),i))},t}(a.a.Component);function f(){}d.contextType=l.a,d.propTypes={},d.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:f,onEntering:f,onEntered:f,onExit:f,onExiting:f,onExited:f},d.UNMOUNTED="unmounted",d.EXITED="exited",d.ENTERING="entering",d.ENTERED="entered",d.EXITING="exiting",t.a=d},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(296),n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(108),d=n(224),f=n(631),p=n(830),h=n(829),m=n(1258),b=n(195),g=n(445),v=n(163),y=n(226),x=n(5);const w=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],O=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,j=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,C=(e,t,n)=>{let r=!1,i=n(e,t);for(;i;){if(i===e.firstChild){if(r)return;r=!0}const t=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!t)return void i.focus();i=n(e,i)}},E=Object(u.a)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+g.a.scrollButtons]:t.scrollButtons},{["& ."+g.a.scrollButtons]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>Object(i.a)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{["& ."+g.a.scrollButtons]:{[t.breakpoints.down("sm")]:{display:"none"}}})),S=Object(u.a)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>Object(i.a)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),k=Object(u.a)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>Object(i.a)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),A=Object(u.a)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>Object(i.a)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:t.palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:t.palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),_=Object(u.a)(h.a,{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),D={};const F=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiTabs"}),u=Object(l.a)(),h="rtl"===u.direction,{"aria-label":F,"aria-labelledby":R,action:P,centered:T=!1,children:B,className:M,component:N="div",allowScrollButtonsMobile:I=!1,indicatorColor:L="primary",onChange:z,orientation:W="horizontal",ScrollButtonComponent:V=m.a,scrollButtons:H="auto",selectionFollowsFocus:U,TabIndicatorProps:q={},TabScrollButtonProps:$={},textColor:G="primary",value:Y,variant:K="standard",visibleScrollbar:X=!1}=n,Z=Object(r.a)(n,w),Q="scrollable"===K,J="vertical"===W,ee=J?"scrollTop":"scrollLeft",te=J?"top":"left",ne=J?"bottom":"right",re=J?"clientHeight":"clientWidth",ie=J?"height":"width",oe=Object(i.a)({},n,{component:N,allowScrollButtonsMobile:I,indicatorColor:L,orientation:W,vertical:J,scrollButtons:H,textColor:G,variant:K,visibleScrollbar:X,fixed:!Q,hideScrollbar:Q&&!X,scrollableX:Q&&!J,scrollableY:Q&&J,centered:T&&!Q,scrollButtonsHideMobile:!I}),ae=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:a,scrollButtonsHideMobile:u,classes:c}=e,l={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",u&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return Object(s.a)(l,g.b,c)})(oe);const[se,ue]=o.useState(!1),[ce,le]=o.useState(D),[de,fe]=o.useState({start:!1,end:!1}),[pe,he]=o.useState({overflow:"hidden",scrollbarWidth:0}),me=new Map,be=o.useRef(null),ge=o.useRef(null),ve=()=>{const e=be.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:Object(f.b)(e,u.direction),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==Y){const e=ge.current.children;if(e.length>0){const t=e[me.get(Y)];0,n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},ye=Object(b.a)(()=>{const{tabsMeta:e,tabMeta:t}=ve();let n,r=0;if(J)n="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(n=h?"right":"left",t&&e){const i=h?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(h?-1:1)*(t[n]-e[n]+i)}const i={[n]:r,[ie]:t?t[ie]:0};if(isNaN(ce[n])||isNaN(ce[ie]))le(i);else{const e=Math.abs(ce[n]-i[n]),t=Math.abs(ce[ie]-i[ie]);(e>=1||t>=1)&&le(i)}}),xe=(e,{animation:t=!0}={})=>{t?Object(p.a)(ee,be.current,e,{duration:u.transitions.duration.standard}):be.current[ee]=e},we=e=>{let t=be.current[ee];J?t+=e:(t+=e*(h?-1:1),t*=h&&"reverse"===Object(f.a)()?-1:1),xe(t)},Oe=()=>{const e=be.current[re];let t=0;const n=Array.from(ge.current.children);for(let r=0;re)break;t+=i[re]}return t},je=()=>{we(-1*Oe())},Ce=()=>{we(Oe())},Ee=o.useCallback(e=>{he({overflow:null,scrollbarWidth:e})},[]),Se=Object(b.a)(e=>{const{tabsMeta:t,tabMeta:n}=ve();if(n&&t)if(n[te]t[ne]){const r=t[ee]+(n[ne]-t[ne]);xe(r,{animation:e})}}),ke=Object(b.a)(()=>{if(Q&&!1!==H){const{scrollTop:e,scrollHeight:t,clientHeight:n,scrollWidth:r,clientWidth:i}=be.current;let o,a;if(J)o=e>1,a=e1,a=h?e>1:e{const e=Object(d.a)(()=>{ye(),ke()}),t=Object(y.a)(be.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),Array.from(ge.current.children).forEach(e=>{n.observe(e)})),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}},[ye,ke]);const Ae=o.useMemo(()=>Object(d.a)(()=>{ke()}),[ke]);o.useEffect(()=>()=>{Ae.clear()},[Ae]),o.useEffect(()=>{ue(!0)},[]),o.useEffect(()=>{ye(),ke()}),o.useEffect(()=>{Se(D!==ce)},[Se,ce]),o.useImperativeHandle(P,()=>({updateIndicator:ye,updateScrollButtons:ke}),[ye,ke]);const _e=Object(x.jsx)(A,Object(i.a)({},q,{className:Object(a.default)(ae.indicator,q.className),ownerState:oe,style:Object(i.a)({},ce,q.style)}));let De=0;const Fe=o.Children.map(B,e=>{if(!o.isValidElement(e))return null;const t=void 0===e.props.value?De:e.props.value;me.set(t,De);const n=t===Y;return De+=1,o.cloneElement(e,Object(i.a)({fullWidth:"fullWidth"===K,indicator:n&&!se&&_e,selected:n,selectionFollowsFocus:U,onChange:z,textColor:G,value:t},1!==De||!1!==Y||e.props.tabIndex?{}:{tabIndex:0}))}),Re=(()=>{const e={};e.scrollbarSizeListener=Q?Object(x.jsx)(_,{onChange:Ee,className:Object(a.default)(ae.scrollableX,ae.hideScrollbar)}):null;const t=de.start||de.end,n=Q&&("auto"===H&&t||!0===H);return e.scrollButtonStart=n?Object(x.jsx)(V,Object(i.a)({orientation:W,direction:h?"right":"left",onClick:je,disabled:!de.start},$,{className:Object(a.default)(ae.scrollButtons,$.className)})):null,e.scrollButtonEnd=n?Object(x.jsx)(V,Object(i.a)({orientation:W,direction:h?"left":"right",onClick:Ce,disabled:!de.end},$,{className:Object(a.default)(ae.scrollButtons,$.className)})):null,e})();return Object(x.jsxs)(E,Object(i.a)({className:Object(a.default)(ae.root,M),ownerState:oe,ref:t,as:N},Z,{children:[Re.scrollButtonStart,Re.scrollbarSizeListener,Object(x.jsxs)(S,{className:ae.scroller,ownerState:oe,style:{overflow:pe.overflow,[J?"margin"+(h?"Left":"Right"):"marginBottom"]:X?void 0:-pe.scrollbarWidth},ref:be,onScroll:Ae,children:[Object(x.jsx)(k,{"aria-label":F,"aria-labelledby":R,"aria-orientation":"vertical"===W?"vertical":null,className:ae.flexContainer,ownerState:oe,onKeyDown:e=>{const t=ge.current,n=Object(v.a)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===W?"ArrowLeft":"ArrowUp",i="horizontal"===W?"ArrowRight":"ArrowDown";switch("horizontal"===W&&h&&(r="ArrowRight",i="ArrowLeft"),e.key){case r:e.preventDefault(),C(t,n,j);break;case i:e.preventDefault(),C(t,n,O);break;case"Home":e.preventDefault(),C(t,null,O);break;case"End":e.preventDefault(),C(t,null,j)}},ref:ge,role:"tablist",children:Fe}),se&&_e]}),Re.scrollButtonEnd]}))}));t.a=F},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n.n(r),o=n(912);function a(){return i.a.useContext(o.a)}},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=n(11),s=n.n(a),u=n(12),c=n(63),l=n(117),d=n(264),f=n(609),p=n(1292),h=n(80),m=n(34),b=n(17),g=n(108),v=n(28),y=n(5);const x=["components","componentsProps","color","size"],w=Object(i.a)({},d.a,Object(c.a)("MuiSlider",["colorPrimary","colorSecondary","thumbColorPrimary","thumbColorSecondary","sizeSmall","thumbSizeSmall"])),O=Object(b.a)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,r=!0===n.marksProp&&null!==n.step?[...Array(Math.floor((n.max-n.min)/n.step)+1)].map((e,t)=>({value:n.min+n.step*t})):n.marksProp||[],i=r.length>0&&r.some(e=>e.label);return[t.root,t["color"+Object(v.a)(n.color)],"medium"!==n.size&&t["size"+Object(v.a)(n.size)],i&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})(({theme:e,ownerState:t})=>Object(i.a)({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:e.palette[t.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===t.orientation&&Object(i.a)({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===t.size&&{height:2},t.marked&&{marginBottom:20}),"vertical"===t.orientation&&Object(i.a)({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===t.size&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},["&."+w.disabled]:{pointerEvents:"none",cursor:"default",color:e.palette.grey[400]},["&."+w.dragging]:{[`& .${w.thumb}, & .${w.track}`]:{transition:"none"}}})),j=Object(b.a)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})(({ownerState:e})=>Object(i.a)({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===e.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===e.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===e.track&&{opacity:1})),C=Object(b.a)("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?Object(h.e)(e.palette[t.color].main,.62):Object(h.b)(e.palette[t.color].main,.5);return Object(i.a)({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{border:"none"},"horizontal"===t.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===t.track&&{display:"none"},"inverted"===t.track&&{backgroundColor:n,borderColor:n})}),E=Object(b.a)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t["thumbColor"+Object(v.a)(n.color)],"medium"!==n.size&&t["thumbSize"+Object(v.a)(n.size)]]}})(({theme:e,ownerState:t})=>Object(i.a)({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{width:12,height:12},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&:before":Object(i.a)({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:e.shadows[2]},"small"===t.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},["&:hover, &."+w.focusVisible]:{boxShadow:"0px 0px 0px 8px "+Object(h.a)(e.palette[t.color].main,.16),"@media (hover: none)":{boxShadow:"none"}},["&."+w.active]:{boxShadow:"0px 0px 0px 14px "+Object(h.a)(e.palette[t.color].main,.16)},["&."+w.disabled]:{"&:hover":{boxShadow:"none"}}})),S=Object(b.a)(f.a,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e,ownerState:t})=>Object(i.a)({["&."+w.valueLabelOpen]:{transform:"translateY(-100%) scale(1)"},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),top:-10,transformOrigin:"bottom center",transform:"translateY(-100%) scale(0)",position:"absolute",backgroundColor:e.palette.grey[600],borderRadius:2,color:e.palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"small"===t.size&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"},{"&:before":{position:"absolute",content:'""',width:8,height:8,bottom:0,left:"50%",transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit"}})),k=Object(b.a)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Object(b.c)(e)&&"markActive"!==e,overridesResolver:(e,t)=>t.mark})(({theme:e,ownerState:t,markActive:n})=>Object(i.a)({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},n&&{backgroundColor:e.palette.background.paper,opacity:.8})),A=Object(b.a)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Object(b.c)(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})(({theme:e,ownerState:t,markLabelActive:n})=>Object(i.a)({},e.typography.body2,{color:e.palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===t.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===t.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},n&&{color:e.palette.text.primary}));O.propTypes={children:s.a.node,ownerState:s.a.shape({"aria-label":s.a.string,"aria-labelledby":s.a.string,"aria-valuetext":s.a.string,classes:s.a.object,color:s.a.oneOf(["primary","secondary"]),defaultValue:s.a.oneOfType([s.a.arrayOf(s.a.number),s.a.number]),disabled:s.a.bool,getAriaLabel:s.a.func,getAriaValueText:s.a.func,isRtl:s.a.bool,marks:s.a.oneOfType([s.a.arrayOf(s.a.shape({label:s.a.node,value:s.a.number.isRequired})),s.a.bool]),max:s.a.number,min:s.a.number,name:s.a.string,onChange:s.a.func,onChangeCommitted:s.a.func,orientation:s.a.oneOf(["horizontal","vertical"]),scale:s.a.func,step:s.a.number,track:s.a.oneOf(["inverted","normal",!1]),value:s.a.oneOfType([s.a.arrayOf(s.a.number),s.a.number]),valueLabelDisplay:s.a.oneOf(["auto","off","on"]),valueLabelFormat:s.a.oneOfType([s.a.func,s.a.string])})};const _=e=>!e||!Object(l.a)(e),D=o.forwardRef((function(e,t){var n,o,a,s;const c=Object(m.a)({props:e,name:"MuiSlider"}),l="rtl"===Object(g.a)().direction,{components:f={},componentsProps:h={},color:b="primary",size:w="medium"}=c,D=Object(r.a)(c,x),F=(e=>{const{color:t,size:n,classes:r={}}=e;return Object(i.a)({},r,{root:Object(u.default)(r.root,Object(d.b)("color"+Object(v.a)(t)),r["color"+Object(v.a)(t)],n&&[Object(d.b)("size"+Object(v.a)(n)),r["size"+Object(v.a)(n)]]),thumb:Object(u.default)(r.thumb,Object(d.b)("thumbColor"+Object(v.a)(t)),r["thumbColor"+Object(v.a)(t)],n&&[Object(d.b)("thumbSize"+Object(v.a)(n)),r["thumbSize"+Object(v.a)(n)]])})})(Object(i.a)({},c,{color:b,size:w}));return Object(y.jsx)(p.a,Object(i.a)({},D,{isRtl:l,components:Object(i.a)({Root:O,Rail:j,Track:C,Thumb:E,ValueLabel:S,Mark:k,MarkLabel:A},f),componentsProps:Object(i.a)({},h,{root:Object(i.a)({},h.root,_(f.Root)&&{ownerState:Object(i.a)({},null==(n=h.root)?void 0:n.ownerState,{color:b,size:w})}),thumb:Object(i.a)({},h.thumb,_(f.Thumb)&&{ownerState:Object(i.a)({},null==(o=h.thumb)?void 0:o.ownerState,{color:b,size:w})}),track:Object(i.a)({},h.track,_(f.Track)&&{ownerState:Object(i.a)({},null==(a=h.track)?void 0:a.ownerState,{color:b,size:w})}),valueLabel:Object(i.a)({},h.valueLabel,_(f.ValueLabel)&&{ownerState:Object(i.a)({},null==(s=h.valueLabel)?void 0:s.ownerState,{color:b,size:w})})}),classes:F,ref:t}))}));t.a=D},,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(28);n.d(t,"capitalize",(function(){return r.a}));var i=n(642);n.d(t,"createChainedFunction",(function(){return i.a}));var o=n(135);n.d(t,"createSvgIcon",(function(){return o.a}));var a=n(224);n.d(t,"debounce",(function(){return a.a}));var s=n(643);n.d(t,"deprecatedPropType",(function(){return s.a}));var u=n(308);n.d(t,"isMuiElement",(function(){return u.a}));var c=n(163);n.d(t,"ownerDocument",(function(){return c.a}));var l=n(226);n.d(t,"ownerWindow",(function(){return l.a}));var d=n(570);n.d(t,"requirePropFactory",(function(){return d.a}));var f=n(644);n.d(t,"setRef",(function(){return f.a}));var p=n(167);n.d(t,"unstable_useEnhancedEffect",(function(){return p.a}));var h=n(338);n.d(t,"unstable_useId",(function(){return h.a}));var m=n(571);n.d(t,"unsupportedProp",(function(){return m.a}));var b=n(269);n.d(t,"useControlled",(function(){return b.a}));var g=n(195);n.d(t,"useEventCallback",(function(){return g.a}));var v=n(82);n.d(t,"useForkRef",(function(){return v.a}));var y=n(304);n.d(t,"useIsFocusVisible",(function(){return y.a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findInArray=function(e,t){for(var n=0,r=e.length;nt?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),o=0;o1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;oObject(o.a)(e,t),x),x}t.a=h},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiNativeSelect",e)}const a=Object(i.a)("MuiNativeSelect",["root","select","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);t.a=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiFormHelperText",e)}const a=Object(i.a)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);t.a=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s}));var r=n(0);function i(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Object(r.isValidElement)(e)?t(e):e}(e)})),n}function o(e,t,n){return null!=n[t]?n[t]:e.props[t]}function a(e,t){return i(e.children,(function(n){return Object(r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:o(n,"appear",e),enter:o(n,"enter",e),exit:o(n,"exit",e)})}))}function s(e,t,n){var a=i(e.children),s=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r":i.Relational,"<=":i.Relational,">=":i.Relational,in:i.Relational,instanceof:i.Relational,"<<":i.BitwiseSHIFT,">>":i.BitwiseSHIFT,">>>":i.BitwiseSHIFT,"+":i.Additive,"-":i.Additive,"*":i.Multiplicative,"%":i.Multiplicative,"/":i.Multiplicative,"**":i.Exponentiation};function D(e,t){var n="";for(t|=0;t>0;t>>>=1,e+=e)1&t&&(n+=e);return n}function F(e){var t=e.length;return t&&u.code.isLineTerminator(e.charCodeAt(t-1))}function R(e,t){var n;for(n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function P(e,t){var n,r;function i(e){return"object"==typeof e&&e instanceof Object&&!(e instanceof RegExp)}for(n in t)t.hasOwnProperty(n)&&(i(r=t[n])?i(e[n])?P(e[n],r):e[n]=P({},r):e[n]=r);return e}function T(e,t){return 8232==(-2&e)?(t?"u":"\\u")+(8232===e?"2028":"2029"):10===e||13===e?(t?"":"\\")+(10===e?"n":"r"):String.fromCharCode(e)}function B(e,t){var n;return 8===e?"\\b":12===e?"\\f":9===e?"\\t":(n=e.toString(16).toUpperCase(),d||e>255?"\\u"+"0000".slice(n.length)+n:0!==e||u.code.isDecimalDigit(t)?11===e?"\\x0B":"\\x"+"00".slice(n.length)+n:"\\0")}function M(e){if(92===e)return"\\\\";if(10===e)return"\\n";if(13===e)return"\\r";if(8232===e)return"\\u2028";if(8233===e)return"\\u2029";throw new Error("Incorrectly classified character")}function N(e,t){if(!C)return Array.isArray(e)?function e(t){var n,r,i,o="";for(n=0,r=t.length;na&&(s=a)}for(void 0!==t?(l=c,"*"===n[1][s]&&(t+=" "),c=t):(1&s&&--s,l=c),r=1,i=n.length;r0){if(a=t,S){for(t=[],p=(o=e.leadingComments[0]).extendedRange,h=o.range,(g=((b=E.substring(p[0],h[0])).match(/\n/g)||[]).length)>0?(t.push(D("\n",g)),t.push(z(V(o)))):(t.push(b),t.push(V(o))),m=h,n=1,i=e.leadingComments.length;n0?(t.push(D("\n",g)),t.push(z(V(o)))):(t.push(b),t.push(V(o)));else for(s=!F(N(t).toString()),d=D(" ",function(e){var t;for(t=e.length-1;t>=0&&!u.code.isLineTerminator(e.charCodeAt(t));--t);return e.length-1-t}(N([c,t,l]).toString())),n=0,i=e.trailingComments.length;n")),e.expression?(t.push(g),"{"===(n=this.generateExpression(e.body,i.Assignment,7)).toString().charAt(0)&&(n=["(",n,")"]),t.push(n)):t.push(this.maybeBlock(e.body,9)),t},G.prototype.generateIterationForStatement=function(e,t,n){var o=["for"+(t.await?I()+"await":"")+g+"("],a=this;return W((function(){t.left.type===r.VariableDeclaration?W((function(){o.push(t.left.kind+I()),o.push(a.generateStatement(t.left.declarations[0],0))})):o.push(a.generateExpression(t.left,i.Call,7)),o=L(o,e),o=[L(o,a.generateExpression(t.right,i.Assignment,7)),")"]})),o.push(this.maybeBlock(t.body,n)),o},G.prototype.generatePropertyKey=function(e,t){var n=[];return t&&n.push("["),n.push(this.generateExpression(e,i.Assignment,7)),t&&n.push("]"),n},G.prototype.generateAssignment=function(e,t,n,r,o){return i.Assignment2&&("\n"===(r=E.substring(n[0]+1,n[1]-1))[0]&&(i=["{"]),i.push(r)),c=1,8&t&&(c|=16),a=0,s=e.body.length;a0&&(e.body[a-1].trailingComments||e.body[a].leadingComments||U(e.body[a-1].range[1],e.body[a].range[0],i))),a===s-1&&(c|=32),u=e.body[a].leadingComments&&S?o.generateStatement(e.body[a],c):z(o.generateStatement(e.body[a],c)),i.push(u),F(N(u).toString())||S&&a1?W(u):u(),n.push(this.semicolon(t)),n},ThrowStatement:function(e,t){return[L("throw",this.generateExpression(e.argument,i.Sequence,7)),this.semicolon(t)]},TryStatement:function(e,t){var n,r,i,o;if(n=["try",this.maybeBlock(e.block,1)],n=this.maybeBlockSuffix(e.block,n),e.handlers)for(r=0,i=e.handlers.length;r0?"\n":""],a=17,i=0;i0&&(e.body[i-1].trailingComments||e.body[i].leadingComments||U(e.body[i-1].range[1],e.body[i].range[0],n))),r=z(this.generateStatement(e.body[i],a)),n.push(r),i+10){for(r.push("("),a=0,s=o;a=2&&48===a.charCodeAt(0))&&o.push(" "),o.push("."),o.push(Y(e.property))),q(o,i.Member,t)},MetaProperty:function(e,t,n){var r;return(r=[]).push("string"==typeof e.meta?e.meta:Y(e.meta)),r.push("."),r.push("string"==typeof e.property?e.property:Y(e.property)),q(r,i.Member,t)},UnaryExpression:function(e,t,n){var r,o,a,s,c;return o=this.generateExpression(e.argument,i.Unary,7),""===g?r=L(e.operator,o):(r=[e.operator],e.operator.length>2?r=L(r,o):(c=(s=N(r).toString()).charCodeAt(s.length-1),a=o.toString().charCodeAt(0),(43===c||45===c)&&c===a||u.code.isIdentifierPartES5(c)&&u.code.isIdentifierPartES5(a)?(r.push(I()),r.push(o)):r.push(o))),q(r,i.Unary,t)},YieldExpression:function(e,t,n){var r;return r=e.delegate?"yield*":"yield",e.argument&&(r=L(r,this.generateExpression(e.argument,i.Yield,7))),q(r,i.Yield,t)},AwaitExpression:function(e,t,n){return q(L(e.all?"await*":"await",this.generateExpression(e.argument,i.Await,7)),i.Await,t)},UpdateExpression:function(e,t,n){return e.prefix?q([e.operator,this.generateExpression(e.argument,i.Unary,7)],i.Unary,t):q([this.generateExpression(e.argument,i.Postfix,7),e.operator],i.Postfix,t)},FunctionExpression:function(e,t,n){var r=[K(e,!0),"function"];return e.id?(r.push(X(e)||I()),r.push(Y(e.id))):r.push(X(e)||g),r.push(this.generateFunctionBody(e)),r},ArrayPattern:function(e,t,n){return this.ArrayExpression(e,t,n,!0)},ArrayExpression:function(e,t,n,r){var o,a,s=this;return e.elements.length?(a=!r&&e.elements.length>1,o=["[",a?b:""],W((function(t){var n,r;for(n=0,r=e.elements.length;n1,W((function(){a=u.generateExpression(e.properties[0],i.Sequence,7)})),r||(s=N(a).toString(),/[\r\n]/g.test(s))?(W((function(t){var n,s;if(o=["{",b,t,a],r)for(o.push(","+b),n=1,s=e.properties.length;n126))){a+=B(r,e.charCodeAt(t+1));continue}}a+=String.fromCharCode(r)}if(o=(i=!("double"===h||"auto"===h&&c0&&(i=+r.slice(o+1),r=r.slice(0,o)),n>=0&&(i-=r.length-n-1,r=+(r.slice(0,n)+r.slice(n+1))+""),o=0;48===r.charCodeAt(r.length+o-1);)--o;return 0!==o&&(i-=o,r=r.slice(0,o)),0!==i&&(r+="e"+i),(r.length1e12&&Math.floor(e)===e&&(r="0x"+e.toString(16)).length0||O.moz.comprehensionExpressionStartsWithAssignment?o=L(o,u):o.push(u)})),e.filter&&(o=L(o,"if"+g),u=this.generateExpression(e.filter,i.Sequence,7),o=L(o,["(",u,")"])),O.moz.comprehensionExpressionStartsWithAssignment||(u=this.generateExpression(e.body,i.Assignment,7),o=L(o,u)),o.push(e.type===r.GeneratorExpression?")":"]"),o},ComprehensionBlock:function(e,t,n){var o;return o=L(o=e.left.type===r.VariableDeclaration?[e.left.kind,I(),this.generateStatement(e.left.declarations[0],0)]:this.generateExpression(e.left,i.Call,7),e.of?"of":"in"),o=L(o,this.generateExpression(e.right,i.Sequence,7)),["for"+g+"(",o,")"]},SpreadElement:function(e,t,n){return["...",this.generateExpression(e.argument,i.Assignment,7)]},TaggedTemplateExpression:function(e,t,n){var r=3;return 2&n||(r=1),q([this.generateExpression(e.tag,i.Call,r),this.generateExpression(e.quasi,i.Primary,4)],i.TaggedTemplate,t)},TemplateElement:function(e,t,n){return e.value.raw},TemplateLiteral:function(e,t,n){var r,o,a;for(r=["`"],o=0,a=e.quasis.length;o{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>Object(i.a)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:e.palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:Object(u.a)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({theme:e,ownerState:t})=>Object(i.a)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:"thin solid "+e.palette.divider,top:"50%",content:'""',transform:"translateY(50%)"}}),({theme:e,ownerState:t})=>Object(i.a)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:"thin solid "+e.palette.divider,transform:"translateX(0%)"}}),({ownerState:e})=>Object(i.a)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),m=Object(c.a)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"inline-block",paddingLeft:e.spacing(1.2),paddingRight:e.spacing(1.2)},"vertical"===t.orientation&&{paddingTop:e.spacing(1.2),paddingBottom:e.spacing(1.2)})),b=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiDivider"}),{absolute:o=!1,children:u,className:c,component:b=(u?"div":"hr"),flexItem:g=!1,light:v=!1,orientation:y="horizontal",role:x=("hr"!==b?"separator":void 0),textAlign:w="center",variant:O="fullWidth"}=n,j=Object(r.a)(n,p),C=Object(i.a)({},n,{absolute:o,component:b,flexItem:g,light:v,orientation:y,role:x,textAlign:w,variant:O}),E=(e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:o,orientation:a,textAlign:u,variant:c}=e,l={root:["root",t&&"absolute",c,o&&"light","vertical"===a&&"vertical",i&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===u&&"vertical"!==a&&"textAlignRight","left"===u&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return Object(s.a)(l,d.b,r)})(C);return Object(f.jsx)(h,Object(i.a)({as:b,className:Object(a.default)(E.root,c),role:x,ref:t,ownerState:C},j,{children:u?Object(f.jsx)(m,{className:E.wrapper,ownerState:C,children:u}):null}))}));t.a=b},function(e,t,n){"use strict";var r=n(3),i=n(46),o=n(0),a=(n(11),n(12)),s=n(634),u=n(73),c=o.forwardRef((function(e,t){var n=e.disableUnderline,u=e.classes,c=e.fullWidth,l=void 0!==c&&c,d=e.inputComponent,f=void 0===d?"input":d,p=e.multiline,h=void 0!==p&&p,m=e.type,b=void 0===m?"text":m,g=Object(i.a)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(s.a,Object(r.a)({classes:Object(r.a)({},u,{root:Object(a.default)(u.root,!n&&u.underline),underline:null}),fullWidth:l,inputComponent:f,multiline:h,ref:t,type:b},g))}));c.muiName="Input",t.a=Object(u.a)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(t),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(e.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(t)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(c)},,,,function(e,t,n){"use strict"; + */function i(e,t){return Object(r.a)(e,t)}},function(e,t,n){"use strict";t.a=function(e,t){}},function(e,t,n){"use strict";function r(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nObject(i.a)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},["&."+c.a.disabled]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:t.shape.borderRadius,"&:focus":{borderRadius:t.shape.borderRadius},"&&&":{paddingRight:32}}),h=Object(l.a)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:l.b,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant]]}})(p),m=({ownerState:e,theme:t})=>Object(i.a)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:t.palette.action.active,["&."+c.a.disabled]:{color:t.palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),b=Object(l.a)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t["icon"+Object(u.a)(n.variant)],n.open&&t.iconOpen]}})(m),g=o.forwardRef((function(e,t){const{className:n,disabled:l,IconComponent:p,inputRef:m,variant:g="standard"}=e,v=Object(r.a)(e,f),y=Object(i.a)({},e,{disabled:l,variant:g}),x=(e=>{const{classes:t,variant:n,disabled:r,open:i}=e,o={select:["select",n,r&&"disabled"],icon:["icon","icon"+Object(u.a)(n),i&&"iconOpen",r&&"disabled"]};return Object(s.a)(o,c.b,t)})(y);return Object(d.jsxs)(o.Fragment,{children:[Object(d.jsx)(h,Object(i.a)({ownerState:y,className:Object(a.default)(x.select,n),disabled:l,ref:m||t},v)),e.multiple?null:Object(d.jsx)(b,{as:p,ownerState:y,className:x.icon})]})}));t.a=g},,,,,,,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),o=n(5),a=(0,i.default)((0,o.jsx)("path",{d:"M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"}),"Equalizer");t.default=a},,function(e,t,n){"use strict";n(0);var r=n(135),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},function(e,t,n){"use strict";n(0);var r=n(135),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},,function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1){var i=z[e];if(!Array.isArray(i))return p+C(i)in t&&h+i;if(!r)return!1;for(var o=0;o"spacing-xs-"+e),...["column-reverse","column","row-reverse","row"].map(e=>"direction-xs-"+e),...["nowrap","wrap-reverse","wrap"].map(e=>"wrap-xs-"+e),...a.map(e=>"grid-xs-"+e),...a.map(e=>"grid-sm-"+e),...a.map(e=>"grid-md-"+e),...a.map(e=>"grid-lg-"+e),...a.map(e=>"grid-xl-"+e)]);t.a=s},,function(e,t,n){"use strict";t.a={black:"#000",white:"#fff"}},,,function(e,t,n){"use strict";var r=n(18),i=n(341),o=(n(11),n(0)),a=n.n(o),s=n(101),u=n.n(s),c=n(593),l=n(393),d=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i="exited",r.appearStatus="entering"):i="entered":i=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:i},r.nextCallback=null,r}Object(i.a)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[u.a.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||c.a.disabled?this.safeSetState({status:"entered"},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:"entering"},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:u.a.findDOMNode(this);t&&!c.a.disabled?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:u.a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Object(r.a)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(l.a.Provider,{value:null},"function"==typeof n?n(e,i):a.a.cloneElement(a.a.Children.only(n),i))},t}(a.a.Component);function f(){}d.contextType=l.a,d.propTypes={},d.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:f,onEntering:f,onEntered:f,onExit:f,onExiting:f,onExited:f},d.UNMOUNTED="unmounted",d.EXITED="exited",d.ENTERING="entering",d.ENTERED="entered",d.EXITING="exiting",t.a=d},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(296),n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(108),d=n(224),f=n(631),p=n(830),h=n(829),m=n(1258),b=n(195),g=n(445),v=n(163),y=n(226),x=n(5);const w=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],O=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,j=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,C=(e,t,n)=>{let r=!1,i=n(e,t);for(;i;){if(i===e.firstChild){if(r)return;r=!0}const t=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!t)return void i.focus();i=n(e,i)}},E=Object(u.a)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+g.a.scrollButtons]:t.scrollButtons},{["& ."+g.a.scrollButtons]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>Object(i.a)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{["& ."+g.a.scrollButtons]:{[t.breakpoints.down("sm")]:{display:"none"}}})),S=Object(u.a)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>Object(i.a)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),k=Object(u.a)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>Object(i.a)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),A=Object(u.a)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>Object(i.a)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:t.palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:t.palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),_=Object(u.a)(h.a,{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),D={};const F=o.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiTabs"}),u=Object(l.a)(),h="rtl"===u.direction,{"aria-label":F,"aria-labelledby":R,action:P,centered:T=!1,children:B,className:M,component:N="div",allowScrollButtonsMobile:I=!1,indicatorColor:L="primary",onChange:z,orientation:W="horizontal",ScrollButtonComponent:V=m.a,scrollButtons:H="auto",selectionFollowsFocus:U,TabIndicatorProps:q={},TabScrollButtonProps:$={},textColor:G="primary",value:Y,variant:K="standard",visibleScrollbar:X=!1}=n,Z=Object(r.a)(n,w),Q="scrollable"===K,J="vertical"===W,ee=J?"scrollTop":"scrollLeft",te=J?"top":"left",ne=J?"bottom":"right",re=J?"clientHeight":"clientWidth",ie=J?"height":"width",oe=Object(i.a)({},n,{component:N,allowScrollButtonsMobile:I,indicatorColor:L,orientation:W,vertical:J,scrollButtons:H,textColor:G,variant:K,visibleScrollbar:X,fixed:!Q,hideScrollbar:Q&&!X,scrollableX:Q&&!J,scrollableY:Q&&J,centered:T&&!Q,scrollButtonsHideMobile:!I}),ae=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:a,scrollButtonsHideMobile:u,classes:c}=e,l={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",u&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return Object(s.a)(l,g.b,c)})(oe);const[se,ue]=o.useState(!1),[ce,le]=o.useState(D),[de,fe]=o.useState({start:!1,end:!1}),[pe,he]=o.useState({overflow:"hidden",scrollbarWidth:0}),me=new Map,be=o.useRef(null),ge=o.useRef(null),ve=()=>{const e=be.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:Object(f.b)(e,u.direction),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==Y){const e=ge.current.children;if(e.length>0){const t=e[me.get(Y)];0,n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},ye=Object(b.a)(()=>{const{tabsMeta:e,tabMeta:t}=ve();let n,r=0;if(J)n="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(n=h?"right":"left",t&&e){const i=h?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(h?-1:1)*(t[n]-e[n]+i)}const i={[n]:r,[ie]:t?t[ie]:0};if(isNaN(ce[n])||isNaN(ce[ie]))le(i);else{const e=Math.abs(ce[n]-i[n]),t=Math.abs(ce[ie]-i[ie]);(e>=1||t>=1)&&le(i)}}),xe=(e,{animation:t=!0}={})=>{t?Object(p.a)(ee,be.current,e,{duration:u.transitions.duration.standard}):be.current[ee]=e},we=e=>{let t=be.current[ee];J?t+=e:(t+=e*(h?-1:1),t*=h&&"reverse"===Object(f.a)()?-1:1),xe(t)},Oe=()=>{const e=be.current[re];let t=0;const n=Array.from(ge.current.children);for(let r=0;re)break;t+=i[re]}return t},je=()=>{we(-1*Oe())},Ce=()=>{we(Oe())},Ee=o.useCallback(e=>{he({overflow:null,scrollbarWidth:e})},[]),Se=Object(b.a)(e=>{const{tabsMeta:t,tabMeta:n}=ve();if(n&&t)if(n[te]t[ne]){const r=t[ee]+(n[ne]-t[ne]);xe(r,{animation:e})}}),ke=Object(b.a)(()=>{if(Q&&!1!==H){const{scrollTop:e,scrollHeight:t,clientHeight:n,scrollWidth:r,clientWidth:i}=be.current;let o,a;if(J)o=e>1,a=e1,a=h?e>1:e{const e=Object(d.a)(()=>{ye(),ke()}),t=Object(y.a)(be.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),Array.from(ge.current.children).forEach(e=>{n.observe(e)})),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}},[ye,ke]);const Ae=o.useMemo(()=>Object(d.a)(()=>{ke()}),[ke]);o.useEffect(()=>()=>{Ae.clear()},[Ae]),o.useEffect(()=>{ue(!0)},[]),o.useEffect(()=>{ye(),ke()}),o.useEffect(()=>{Se(D!==ce)},[Se,ce]),o.useImperativeHandle(P,()=>({updateIndicator:ye,updateScrollButtons:ke}),[ye,ke]);const _e=Object(x.jsx)(A,Object(i.a)({},q,{className:Object(a.default)(ae.indicator,q.className),ownerState:oe,style:Object(i.a)({},ce,q.style)}));let De=0;const Fe=o.Children.map(B,e=>{if(!o.isValidElement(e))return null;const t=void 0===e.props.value?De:e.props.value;me.set(t,De);const n=t===Y;return De+=1,o.cloneElement(e,Object(i.a)({fullWidth:"fullWidth"===K,indicator:n&&!se&&_e,selected:n,selectionFollowsFocus:U,onChange:z,textColor:G,value:t},1!==De||!1!==Y||e.props.tabIndex?{}:{tabIndex:0}))}),Re=(()=>{const e={};e.scrollbarSizeListener=Q?Object(x.jsx)(_,{onChange:Ee,className:Object(a.default)(ae.scrollableX,ae.hideScrollbar)}):null;const t=de.start||de.end,n=Q&&("auto"===H&&t||!0===H);return e.scrollButtonStart=n?Object(x.jsx)(V,Object(i.a)({orientation:W,direction:h?"right":"left",onClick:je,disabled:!de.start},$,{className:Object(a.default)(ae.scrollButtons,$.className)})):null,e.scrollButtonEnd=n?Object(x.jsx)(V,Object(i.a)({orientation:W,direction:h?"left":"right",onClick:Ce,disabled:!de.end},$,{className:Object(a.default)(ae.scrollButtons,$.className)})):null,e})();return Object(x.jsxs)(E,Object(i.a)({className:Object(a.default)(ae.root,M),ownerState:oe,ref:t,as:N},Z,{children:[Re.scrollButtonStart,Re.scrollbarSizeListener,Object(x.jsxs)(S,{className:ae.scroller,ownerState:oe,style:{overflow:pe.overflow,[J?"margin"+(h?"Left":"Right"):"marginBottom"]:X?void 0:-pe.scrollbarWidth},ref:be,onScroll:Ae,children:[Object(x.jsx)(k,{"aria-label":F,"aria-labelledby":R,"aria-orientation":"vertical"===W?"vertical":null,className:ae.flexContainer,ownerState:oe,onKeyDown:e=>{const t=ge.current,n=Object(v.a)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===W?"ArrowLeft":"ArrowUp",i="horizontal"===W?"ArrowRight":"ArrowDown";switch("horizontal"===W&&h&&(r="ArrowRight",i="ArrowLeft"),e.key){case r:e.preventDefault(),C(t,n,j);break;case i:e.preventDefault(),C(t,n,O);break;case"Home":e.preventDefault(),C(t,null,O);break;case"End":e.preventDefault(),C(t,null,j)}},ref:ge,role:"tablist",children:Fe}),se&&_e]}),Re.scrollButtonEnd]}))}));t.a=F},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n.n(r),o=n(912);function a(){return i.a.useContext(o.a)}},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=n(11),s=n.n(a),u=n(12),c=n(63),l=n(117),d=n(264),f=n(609),p=n(1292),h=n(80),m=n(34),b=n(17),g=n(108),v=n(28),y=n(5);const x=["components","componentsProps","color","size"],w=Object(i.a)({},d.a,Object(c.a)("MuiSlider",["colorPrimary","colorSecondary","thumbColorPrimary","thumbColorSecondary","sizeSmall","thumbSizeSmall"])),O=Object(b.a)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,r=!0===n.marksProp&&null!==n.step?[...Array(Math.floor((n.max-n.min)/n.step)+1)].map((e,t)=>({value:n.min+n.step*t})):n.marksProp||[],i=r.length>0&&r.some(e=>e.label);return[t.root,t["color"+Object(v.a)(n.color)],"medium"!==n.size&&t["size"+Object(v.a)(n.size)],i&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})(({theme:e,ownerState:t})=>Object(i.a)({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:e.palette[t.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===t.orientation&&Object(i.a)({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===t.size&&{height:2},t.marked&&{marginBottom:20}),"vertical"===t.orientation&&Object(i.a)({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===t.size&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},["&."+w.disabled]:{pointerEvents:"none",cursor:"default",color:e.palette.grey[400]},["&."+w.dragging]:{[`& .${w.thumb}, & .${w.track}`]:{transition:"none"}}})),j=Object(b.a)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})(({ownerState:e})=>Object(i.a)({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===e.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===e.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===e.track&&{opacity:1})),C=Object(b.a)("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?Object(h.e)(e.palette[t.color].main,.62):Object(h.b)(e.palette[t.color].main,.5);return Object(i.a)({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{border:"none"},"horizontal"===t.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===t.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===t.track&&{display:"none"},"inverted"===t.track&&{backgroundColor:n,borderColor:n})}),E=Object(b.a)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t["thumbColor"+Object(v.a)(n.color)],"medium"!==n.size&&t["thumbSize"+Object(v.a)(n.size)]]}})(({theme:e,ownerState:t})=>Object(i.a)({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},"small"===t.size&&{width:12,height:12},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},{"&:before":Object(i.a)({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:e.shadows[2]},"small"===t.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},["&:hover, &."+w.focusVisible]:{boxShadow:"0px 0px 0px 8px "+Object(h.a)(e.palette[t.color].main,.16),"@media (hover: none)":{boxShadow:"none"}},["&."+w.active]:{boxShadow:"0px 0px 0px 14px "+Object(h.a)(e.palette[t.color].main,.16)},["&."+w.disabled]:{"&:hover":{boxShadow:"none"}}})),S=Object(b.a)(f.a,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e,ownerState:t})=>Object(i.a)({["&."+w.valueLabelOpen]:{transform:"translateY(-100%) scale(1)"},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),top:-10,transformOrigin:"bottom center",transform:"translateY(-100%) scale(0)",position:"absolute",backgroundColor:e.palette.grey[600],borderRadius:2,color:e.palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"small"===t.size&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"},{"&:before":{position:"absolute",content:'""',width:8,height:8,bottom:0,left:"50%",transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit"}})),k=Object(b.a)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Object(b.c)(e)&&"markActive"!==e,overridesResolver:(e,t)=>t.mark})(({theme:e,ownerState:t,markActive:n})=>Object(i.a)({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===t.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===t.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},n&&{backgroundColor:e.palette.background.paper,opacity:.8})),A=Object(b.a)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Object(b.c)(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})(({theme:e,ownerState:t,markLabelActive:n})=>Object(i.a)({},e.typography.body2,{color:e.palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===t.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===t.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},n&&{color:e.palette.text.primary}));O.propTypes={children:s.a.node,ownerState:s.a.shape({"aria-label":s.a.string,"aria-labelledby":s.a.string,"aria-valuetext":s.a.string,classes:s.a.object,color:s.a.oneOf(["primary","secondary"]),defaultValue:s.a.oneOfType([s.a.arrayOf(s.a.number),s.a.number]),disabled:s.a.bool,getAriaLabel:s.a.func,getAriaValueText:s.a.func,isRtl:s.a.bool,marks:s.a.oneOfType([s.a.arrayOf(s.a.shape({label:s.a.node,value:s.a.number.isRequired})),s.a.bool]),max:s.a.number,min:s.a.number,name:s.a.string,onChange:s.a.func,onChangeCommitted:s.a.func,orientation:s.a.oneOf(["horizontal","vertical"]),scale:s.a.func,step:s.a.number,track:s.a.oneOf(["inverted","normal",!1]),value:s.a.oneOfType([s.a.arrayOf(s.a.number),s.a.number]),valueLabelDisplay:s.a.oneOf(["auto","off","on"]),valueLabelFormat:s.a.oneOfType([s.a.func,s.a.string])})};const _=e=>!e||!Object(l.a)(e),D=o.forwardRef((function(e,t){var n,o,a,s;const c=Object(m.a)({props:e,name:"MuiSlider"}),l="rtl"===Object(g.a)().direction,{components:f={},componentsProps:h={},color:b="primary",size:w="medium"}=c,D=Object(r.a)(c,x),F=(e=>{const{color:t,size:n,classes:r={}}=e;return Object(i.a)({},r,{root:Object(u.default)(r.root,Object(d.b)("color"+Object(v.a)(t)),r["color"+Object(v.a)(t)],n&&[Object(d.b)("size"+Object(v.a)(n)),r["size"+Object(v.a)(n)]]),thumb:Object(u.default)(r.thumb,Object(d.b)("thumbColor"+Object(v.a)(t)),r["thumbColor"+Object(v.a)(t)],n&&[Object(d.b)("thumbSize"+Object(v.a)(n)),r["thumbSize"+Object(v.a)(n)]])})})(Object(i.a)({},c,{color:b,size:w}));return Object(y.jsx)(p.a,Object(i.a)({},D,{isRtl:l,components:Object(i.a)({Root:O,Rail:j,Track:C,Thumb:E,ValueLabel:S,Mark:k,MarkLabel:A},f),componentsProps:Object(i.a)({},h,{root:Object(i.a)({},h.root,_(f.Root)&&{ownerState:Object(i.a)({},null==(n=h.root)?void 0:n.ownerState,{color:b,size:w})}),thumb:Object(i.a)({},h.thumb,_(f.Thumb)&&{ownerState:Object(i.a)({},null==(o=h.thumb)?void 0:o.ownerState,{color:b,size:w})}),track:Object(i.a)({},h.track,_(f.Track)&&{ownerState:Object(i.a)({},null==(a=h.track)?void 0:a.ownerState,{color:b,size:w})}),valueLabel:Object(i.a)({},h.valueLabel,_(f.ValueLabel)&&{ownerState:Object(i.a)({},null==(s=h.valueLabel)?void 0:s.ownerState,{color:b,size:w})})}),classes:F,ref:t}))}));t.a=D},,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(28);n.d(t,"capitalize",(function(){return r.a}));var i=n(642);n.d(t,"createChainedFunction",(function(){return i.a}));var o=n(135);n.d(t,"createSvgIcon",(function(){return o.a}));var a=n(224);n.d(t,"debounce",(function(){return a.a}));var s=n(643);n.d(t,"deprecatedPropType",(function(){return s.a}));var u=n(308);n.d(t,"isMuiElement",(function(){return u.a}));var c=n(163);n.d(t,"ownerDocument",(function(){return c.a}));var l=n(226);n.d(t,"ownerWindow",(function(){return l.a}));var d=n(570);n.d(t,"requirePropFactory",(function(){return d.a}));var f=n(644);n.d(t,"setRef",(function(){return f.a}));var p=n(167);n.d(t,"unstable_useEnhancedEffect",(function(){return p.a}));var h=n(338);n.d(t,"unstable_useId",(function(){return h.a}));var m=n(571);n.d(t,"unsupportedProp",(function(){return m.a}));var b=n(269);n.d(t,"useControlled",(function(){return b.a}));var g=n(195);n.d(t,"useEventCallback",(function(){return g.a}));var v=n(82);n.d(t,"useForkRef",(function(){return v.a}));var y=n(304);n.d(t,"useIsFocusVisible",(function(){return y.a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findInArray=function(e,t){for(var n=0,r=e.length;nt?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),o=0;o1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;oObject(o.a)(e,t),x),x}t.a=h},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiNativeSelect",e)}const a=Object(i.a)("MuiNativeSelect",["root","select","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);t.a=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiFormHelperText",e)}const a=Object(i.a)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);t.a=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s}));var r=n(0);function i(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Object(r.isValidElement)(e)?t(e):e}(e)})),n}function o(e,t,n){return null!=n[t]?n[t]:e.props[t]}function a(e,t){return i(e.children,(function(n){return Object(r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:o(n,"appear",e),enter:o(n,"enter",e),exit:o(n,"exit",e)})}))}function s(e,t,n){var a=i(e.children),s=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r":i.Relational,"<=":i.Relational,">=":i.Relational,in:i.Relational,instanceof:i.Relational,"<<":i.BitwiseSHIFT,">>":i.BitwiseSHIFT,">>>":i.BitwiseSHIFT,"+":i.Additive,"-":i.Additive,"*":i.Multiplicative,"%":i.Multiplicative,"/":i.Multiplicative,"**":i.Exponentiation};function D(e,t){var n="";for(t|=0;t>0;t>>>=1,e+=e)1&t&&(n+=e);return n}function F(e){var t=e.length;return t&&u.code.isLineTerminator(e.charCodeAt(t-1))}function R(e,t){var n;for(n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function P(e,t){var n,r;function i(e){return"object"==typeof e&&e instanceof Object&&!(e instanceof RegExp)}for(n in t)t.hasOwnProperty(n)&&(i(r=t[n])?i(e[n])?P(e[n],r):e[n]=P({},r):e[n]=r);return e}function T(e,t){return 8232==(-2&e)?(t?"u":"\\u")+(8232===e?"2028":"2029"):10===e||13===e?(t?"":"\\")+(10===e?"n":"r"):String.fromCharCode(e)}function B(e,t){var n;return 8===e?"\\b":12===e?"\\f":9===e?"\\t":(n=e.toString(16).toUpperCase(),d||e>255?"\\u"+"0000".slice(n.length)+n:0!==e||u.code.isDecimalDigit(t)?11===e?"\\x0B":"\\x"+"00".slice(n.length)+n:"\\0")}function M(e){if(92===e)return"\\\\";if(10===e)return"\\n";if(13===e)return"\\r";if(8232===e)return"\\u2028";if(8233===e)return"\\u2029";throw new Error("Incorrectly classified character")}function N(e,t){if(!C)return Array.isArray(e)?function e(t){var n,r,i,o="";for(n=0,r=t.length;na&&(s=a)}for(void 0!==t?(l=c,"*"===n[1][s]&&(t+=" "),c=t):(1&s&&--s,l=c),r=1,i=n.length;r0){if(a=t,S){for(t=[],p=(o=e.leadingComments[0]).extendedRange,h=o.range,(g=((b=E.substring(p[0],h[0])).match(/\n/g)||[]).length)>0?(t.push(D("\n",g)),t.push(z(V(o)))):(t.push(b),t.push(V(o))),m=h,n=1,i=e.leadingComments.length;n0?(t.push(D("\n",g)),t.push(z(V(o)))):(t.push(b),t.push(V(o)));else for(s=!F(N(t).toString()),d=D(" ",function(e){var t;for(t=e.length-1;t>=0&&!u.code.isLineTerminator(e.charCodeAt(t));--t);return e.length-1-t}(N([c,t,l]).toString())),n=0,i=e.trailingComments.length;n")),e.expression?(t.push(g),"{"===(n=this.generateExpression(e.body,i.Assignment,7)).toString().charAt(0)&&(n=["(",n,")"]),t.push(n)):t.push(this.maybeBlock(e.body,9)),t},G.prototype.generateIterationForStatement=function(e,t,n){var o=["for"+(t.await?I()+"await":"")+g+"("],a=this;return W((function(){t.left.type===r.VariableDeclaration?W((function(){o.push(t.left.kind+I()),o.push(a.generateStatement(t.left.declarations[0],0))})):o.push(a.generateExpression(t.left,i.Call,7)),o=L(o,e),o=[L(o,a.generateExpression(t.right,i.Assignment,7)),")"]})),o.push(this.maybeBlock(t.body,n)),o},G.prototype.generatePropertyKey=function(e,t){var n=[];return t&&n.push("["),n.push(this.generateExpression(e,i.Assignment,7)),t&&n.push("]"),n},G.prototype.generateAssignment=function(e,t,n,r,o){return i.Assignment2&&("\n"===(r=E.substring(n[0]+1,n[1]-1))[0]&&(i=["{"]),i.push(r)),c=1,8&t&&(c|=16),a=0,s=e.body.length;a0&&(e.body[a-1].trailingComments||e.body[a].leadingComments||U(e.body[a-1].range[1],e.body[a].range[0],i))),a===s-1&&(c|=32),u=e.body[a].leadingComments&&S?o.generateStatement(e.body[a],c):z(o.generateStatement(e.body[a],c)),i.push(u),F(N(u).toString())||S&&a1?W(u):u(),n.push(this.semicolon(t)),n},ThrowStatement:function(e,t){return[L("throw",this.generateExpression(e.argument,i.Sequence,7)),this.semicolon(t)]},TryStatement:function(e,t){var n,r,i,o;if(n=["try",this.maybeBlock(e.block,1)],n=this.maybeBlockSuffix(e.block,n),e.handlers)for(r=0,i=e.handlers.length;r0?"\n":""],a=17,i=0;i0&&(e.body[i-1].trailingComments||e.body[i].leadingComments||U(e.body[i-1].range[1],e.body[i].range[0],n))),r=z(this.generateStatement(e.body[i],a)),n.push(r),i+10){for(r.push("("),a=0,s=o;a=2&&48===a.charCodeAt(0))&&o.push(" "),o.push("."),o.push(Y(e.property))),q(o,i.Member,t)},MetaProperty:function(e,t,n){var r;return(r=[]).push("string"==typeof e.meta?e.meta:Y(e.meta)),r.push("."),r.push("string"==typeof e.property?e.property:Y(e.property)),q(r,i.Member,t)},UnaryExpression:function(e,t,n){var r,o,a,s,c;return o=this.generateExpression(e.argument,i.Unary,7),""===g?r=L(e.operator,o):(r=[e.operator],e.operator.length>2?r=L(r,o):(c=(s=N(r).toString()).charCodeAt(s.length-1),a=o.toString().charCodeAt(0),(43===c||45===c)&&c===a||u.code.isIdentifierPartES5(c)&&u.code.isIdentifierPartES5(a)?(r.push(I()),r.push(o)):r.push(o))),q(r,i.Unary,t)},YieldExpression:function(e,t,n){var r;return r=e.delegate?"yield*":"yield",e.argument&&(r=L(r,this.generateExpression(e.argument,i.Yield,7))),q(r,i.Yield,t)},AwaitExpression:function(e,t,n){return q(L(e.all?"await*":"await",this.generateExpression(e.argument,i.Await,7)),i.Await,t)},UpdateExpression:function(e,t,n){return e.prefix?q([e.operator,this.generateExpression(e.argument,i.Unary,7)],i.Unary,t):q([this.generateExpression(e.argument,i.Postfix,7),e.operator],i.Postfix,t)},FunctionExpression:function(e,t,n){var r=[K(e,!0),"function"];return e.id?(r.push(X(e)||I()),r.push(Y(e.id))):r.push(X(e)||g),r.push(this.generateFunctionBody(e)),r},ArrayPattern:function(e,t,n){return this.ArrayExpression(e,t,n,!0)},ArrayExpression:function(e,t,n,r){var o,a,s=this;return e.elements.length?(a=!r&&e.elements.length>1,o=["[",a?b:""],W((function(t){var n,r;for(n=0,r=e.elements.length;n1,W((function(){a=u.generateExpression(e.properties[0],i.Sequence,7)})),r||(s=N(a).toString(),/[\r\n]/g.test(s))?(W((function(t){var n,s;if(o=["{",b,t,a],r)for(o.push(","+b),n=1,s=e.properties.length;n126))){a+=B(r,e.charCodeAt(t+1));continue}}a+=String.fromCharCode(r)}if(o=(i=!("double"===h||"auto"===h&&c0&&(i=+r.slice(o+1),r=r.slice(0,o)),n>=0&&(i-=r.length-n-1,r=+(r.slice(0,n)+r.slice(n+1))+""),o=0;48===r.charCodeAt(r.length+o-1);)--o;return 0!==o&&(i-=o,r=r.slice(0,o)),0!==i&&(r+="e"+i),(r.length1e12&&Math.floor(e)===e&&(r="0x"+e.toString(16)).length0||O.moz.comprehensionExpressionStartsWithAssignment?o=L(o,u):o.push(u)})),e.filter&&(o=L(o,"if"+g),u=this.generateExpression(e.filter,i.Sequence,7),o=L(o,["(",u,")"])),O.moz.comprehensionExpressionStartsWithAssignment||(u=this.generateExpression(e.body,i.Assignment,7),o=L(o,u)),o.push(e.type===r.GeneratorExpression?")":"]"),o},ComprehensionBlock:function(e,t,n){var o;return o=L(o=e.left.type===r.VariableDeclaration?[e.left.kind,I(),this.generateStatement(e.left.declarations[0],0)]:this.generateExpression(e.left,i.Call,7),e.of?"of":"in"),o=L(o,this.generateExpression(e.right,i.Sequence,7)),["for"+g+"(",o,")"]},SpreadElement:function(e,t,n){return["...",this.generateExpression(e.argument,i.Assignment,7)]},TaggedTemplateExpression:function(e,t,n){var r=3;return 2&n||(r=1),q([this.generateExpression(e.tag,i.Call,r),this.generateExpression(e.quasi,i.Primary,4)],i.TaggedTemplate,t)},TemplateElement:function(e,t,n){return e.value.raw},TemplateLiteral:function(e,t,n){var r,o,a;for(r=["`"],o=0,a=e.quasis.length;o{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>Object(i.a)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:e.palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:Object(u.a)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({theme:e,ownerState:t})=>Object(i.a)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:"thin solid "+e.palette.divider,top:"50%",content:'""',transform:"translateY(50%)"}}),({theme:e,ownerState:t})=>Object(i.a)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:"thin solid "+e.palette.divider,transform:"translateX(0%)"}}),({ownerState:e})=>Object(i.a)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),m=Object(c.a)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"inline-block",paddingLeft:e.spacing(1.2),paddingRight:e.spacing(1.2)},"vertical"===t.orientation&&{paddingTop:e.spacing(1.2),paddingBottom:e.spacing(1.2)})),b=o.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiDivider"}),{absolute:o=!1,children:u,className:c,component:b=(u?"div":"hr"),flexItem:g=!1,light:v=!1,orientation:y="horizontal",role:x=("hr"!==b?"separator":void 0),textAlign:w="center",variant:O="fullWidth"}=n,j=Object(r.a)(n,p),C=Object(i.a)({},n,{absolute:o,component:b,flexItem:g,light:v,orientation:y,role:x,textAlign:w,variant:O}),E=(e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:o,orientation:a,textAlign:u,variant:c}=e,l={root:["root",t&&"absolute",c,o&&"light","vertical"===a&&"vertical",i&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===u&&"vertical"!==a&&"textAlignRight","left"===u&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return Object(s.a)(l,d.b,r)})(C);return Object(f.jsx)(h,Object(i.a)({as:b,className:Object(a.default)(E.root,c),role:x,ref:t,ownerState:C},j,{children:u?Object(f.jsx)(m,{className:E.wrapper,ownerState:C,children:u}):null}))}));t.a=b},function(e,t,n){"use strict";var r=n(3),i=n(46),o=n(0),a=(n(11),n(12)),s=n(634),u=n(73),c=o.forwardRef((function(e,t){var n=e.disableUnderline,u=e.classes,c=e.fullWidth,l=void 0!==c&&c,d=e.inputComponent,f=void 0===d?"input":d,p=e.multiline,h=void 0!==p&&p,m=e.type,b=void 0===m?"text":m,g=Object(i.a)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(s.a,Object(r.a)({classes:Object(r.a)({},u,{root:Object(a.default)(u.root,!n&&u.underline),underline:null}),fullWidth:l,inputComponent:f,multiline:h,ref:t,type:b},g))}));c.muiName="Input",t.a=Object(u.a)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(t),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(e.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(t)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(c)},,,,function(e,t,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT -*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=a(e),c=1;c{s+="color"===t?a(s)?e[t]:Object(i.a)(e[t]):`${a(s)?t:Object(i.a)(t)}${Object(i.a)(e[t].toString())}`}),s}},function(e,t,n){"use strict";var r=n(52),i=n(176),o=n(201),a=n(145);function s(e){return"number"!=typeof e?e:e+"px solid"}const u=Object(r.a)({prop:"border",themeKey:"borders",transform:s}),c=Object(r.a)({prop:"borderTop",themeKey:"borders",transform:s}),l=Object(r.a)({prop:"borderRight",themeKey:"borders",transform:s}),d=Object(r.a)({prop:"borderBottom",themeKey:"borders",transform:s}),f=Object(r.a)({prop:"borderLeft",themeKey:"borders",transform:s}),p=Object(r.a)({prop:"borderColor",themeKey:"palette"}),h=Object(r.a)({prop:"borderTopColor",themeKey:"palette"}),m=Object(r.a)({prop:"borderRightColor",themeKey:"palette"}),b=Object(r.a)({prop:"borderBottomColor",themeKey:"palette"}),g=Object(r.a)({prop:"borderLeftColor",themeKey:"palette"}),v=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Object(o.b)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:Object(o.d)(t,e)});return Object(a.b)(e,e.borderRadius,n)}return null};v.propTypes={},v.filterProps=["borderRadius"];const y=Object(i.a)(u,c,l,d,f,p,h,m,b,g,v);t.a=y},function(e,t,n){"use strict";var r=n(52),i=n(176);const o=Object(r.a)({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),a=Object(r.a)({prop:"display"}),s=Object(r.a)({prop:"overflow"}),u=Object(r.a)({prop:"textOverflow"}),c=Object(r.a)({prop:"visibility"}),l=Object(r.a)({prop:"whiteSpace"});t.a=Object(i.a)(o,a,s,u,c,l)},function(e,t,n){"use strict";var r=n(52),i=n(176);const o=Object(r.a)({prop:"flexBasis"}),a=Object(r.a)({prop:"flexDirection"}),s=Object(r.a)({prop:"flexWrap"}),u=Object(r.a)({prop:"justifyContent"}),c=Object(r.a)({prop:"alignItems"}),l=Object(r.a)({prop:"alignContent"}),d=Object(r.a)({prop:"order"}),f=Object(r.a)({prop:"flex"}),p=Object(r.a)({prop:"flexGrow"}),h=Object(r.a)({prop:"flexShrink"}),m=Object(r.a)({prop:"alignSelf"}),b=Object(r.a)({prop:"justifyItems"}),g=Object(r.a)({prop:"justifySelf"}),v=Object(i.a)(o,a,s,u,c,l,d,f,p,h,m,b,g);t.a=v},function(e,t,n){"use strict";var r=n(52),i=n(176),o=n(201),a=n(145);const s=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Object(o.b)(e.theme,"spacing",8,"gap"),n=e=>({gap:Object(o.d)(t,e)});return Object(a.b)(e,e.gap,n)}return null};s.propTypes={},s.filterProps=["gap"];const u=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Object(o.b)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:Object(o.d)(t,e)});return Object(a.b)(e,e.columnGap,n)}return null};u.propTypes={},u.filterProps=["columnGap"];const c=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Object(o.b)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:Object(o.d)(t,e)});return Object(a.b)(e,e.rowGap,n)}return null};c.propTypes={},c.filterProps=["rowGap"];const l=Object(r.a)({prop:"gridColumn"}),d=Object(r.a)({prop:"gridRow"}),f=Object(r.a)({prop:"gridAutoFlow"}),p=Object(r.a)({prop:"gridAutoColumns"}),h=Object(r.a)({prop:"gridAutoRows"}),m=Object(r.a)({prop:"gridTemplateColumns"}),b=Object(r.a)({prop:"gridTemplateRows"}),g=Object(r.a)({prop:"gridTemplateAreas"}),v=Object(r.a)({prop:"gridArea"}),y=Object(i.a)(s,u,c,l,d,f,p,h,m,b,g,v);t.a=y},function(e,t,n){"use strict";var r=n(52),i=n(176);const o=Object(r.a)({prop:"position"}),a=Object(r.a)({prop:"zIndex",themeKey:"zIndex"}),s=Object(r.a)({prop:"top"}),u=Object(r.a)({prop:"right"}),c=Object(r.a)({prop:"bottom"}),l=Object(r.a)({prop:"left"});t.a=Object(i.a)(o,a,s,u,c,l)},function(e,t,n){"use strict";var r=n(52),i=n(176);const o=Object(r.a)({prop:"color",themeKey:"palette"}),a=Object(r.a)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),s=Object(r.a)({prop:"backgroundColor",themeKey:"palette"}),u=Object(i.a)(o,a,s);t.a=u},function(e,t,n){"use strict";var r=n(52);const i=Object(r.a)({prop:"boxShadow",themeKey:"shadows"});t.a=i},function(e,t,n){"use strict";var r=n(52),i=n(176),o=n(145);function a(e){return e<=1&&0!==e?100*e+"%":e}const s=Object(r.a)({prop:"width",transform:a}),u=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r,i;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(i=r.values)?void 0:i[t])||o.e[t]||a(t)}};return Object(o.b)(e,e.maxWidth,t)}return null};u.filterProps=["maxWidth"];const c=Object(r.a)({prop:"minWidth",transform:a}),l=Object(r.a)({prop:"height",transform:a}),d=Object(r.a)({prop:"maxHeight",transform:a}),f=Object(r.a)({prop:"minHeight",transform:a}),p=(Object(r.a)({prop:"size",cssProperty:"width",transform:a}),Object(r.a)({prop:"size",cssProperty:"height",transform:a}),Object(r.a)({prop:"boxSizing"})),h=Object(i.a)(s,u,c,l,d,f,p);t.a=h},function(e,t,n){"use strict";var r=n(52),i=n(176);const o=Object(r.a)({prop:"fontFamily",themeKey:"typography"}),a=Object(r.a)({prop:"fontSize",themeKey:"typography"}),s=Object(r.a)({prop:"fontStyle",themeKey:"typography"}),u=Object(r.a)({prop:"fontWeight",themeKey:"typography"}),c=Object(r.a)({prop:"letterSpacing"}),l=Object(r.a)({prop:"lineHeight"}),d=Object(r.a)({prop:"textAlign"}),f=Object(r.a)({prop:"typography",cssProperty:!1,themeKey:"typography"}),p=Object(i.a)(f,o,a,s,u,c,l,d);t.a=p},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r={start:"end",end:"start"};function i(e){return e.replace(/start|end/g,(function(e){return r[e]}))}},function(e,t,n){"use strict";t.a={disabled:!1}},function(e,t,n){"use strict";var r=/[A-Z]/g,i=/^ms-/,o={};function a(e){return"-"+e.toLowerCase()}t.a=function(e){if(o.hasOwnProperty(e))return o[e];var t=e.replace(r,a);return o[e]=i.test(t)?"-"+t:t}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(63),i=n(64);function o(e){return Object(i.a)("MuiModal",e)}const a=Object(r.a)("MuiModal",["root","hidden"]);t.a=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(63),i=n(64);function o(e){return Object(i.a)("MuiBackdrop",e)}const a=Object(r.a)("MuiBackdrop",["root","invisible"]);t.a=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return d}));var r=n(235),i=n(563),o=n(1118);function a(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function s(e){return parseInt(Object(i.a)(e).getComputedStyle(e).paddingRight,10)||0}function u(e,t,n,r=[],i){const o=[t,n,...r],s=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,e=>{-1===o.indexOf(e)&&-1===s.indexOf(e.tagName)&&a(e,i)})}function c(e,t){let n=-1;return e.some((e,r)=>!!t(e)&&(n=r,!0)),n}function l(e,t){const n=[],a=e.container;if(!t.disableScrollLock){if(function(e){const t=Object(r.a)(e);return t.body===e?Object(i.a)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(a)){const e=Object(o.a)(Object(r.a)(a));n.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=s(a)+e+"px";const t=Object(r.a)(a).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=s(t)+e+"px"})}const e=a.parentElement,t=Object(i.a)(a),u="HTML"===(null==e?void 0:e.nodeName)&&"scroll"===t.getComputedStyle(e).overflowY?e:a;n.push({value:u.style.overflow,property:"overflow",el:u},{value:u.style.overflowX,property:"overflow-x",el:u},{value:u.style.overflowY,property:"overflow-y",el:u}),u.style.overflow="hidden"}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}class d{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&a(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);u(t,e.mount,e.modalRef,r,!0);const i=c(this.containers,e=>e.container===t);return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=c(this.containers,t=>-1!==t.modals.indexOf(e)),r=this.containers[n];r.restore||(r.restore=l(r,t))}remove(e){const t=this.modals.indexOf(e);if(-1===t)return t;const n=c(this.containers,t=>-1!==t.modals.indexOf(e)),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&a(e.modalRef,!0),u(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=r.modals[r.modals.length-1];e.modalRef&&a(e.modalRef,!1)}return t}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiButtonBase",e)}const a=Object(i.a)("MuiButtonBase",["root","disabled","focusVisible"]);t.a=a},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return te})),n.d(t,"b",(function(){return ne}));var r=n(0),i=n.n(r),o=n(101),a=n(12),s=n(1125),u=n(17),c=n(80),l=n(174),d=n(409),f=n(1249);n(252);function p(e,t){for(var n=0;n=0||(i[n]=e[n]);return i}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var g=i.a.createContext(),v={containerRoot:{},containerAnchorOriginTopCenter:{},containerAnchorOriginBottomCenter:{},containerAnchorOriginTopRight:{},containerAnchorOriginBottomRight:{},containerAnchorOriginTopLeft:{},containerAnchorOriginBottomLeft:{}},y={default:20,dense:4},x={default:6,dense:2},w={maxSnack:3,dense:!1,hideIconVariant:!1,variant:"default",autoHideDuration:5e3,anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:s.a,transitionDuration:{enter:225,exit:195}},O=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},j=function(e){return Object.keys(e).filter((function(e){return!v[e]})).reduce((function(t,n){var r;return h({},t,((r={})[n]=e[n],r))}),{})},C={TIMEOUT:"timeout",CLICKAWAY:"clickaway",MAXSNACK:"maxsnack",INSTRUCTED:"instructed"},E=function(e){return"containerAnchorOrigin"+e},S=function(e){var t=e.vertical,n=e.horizontal;return"anchorOrigin"+O(t)+O(n)},k=function(e){return"variant"+O(e)},A=function(e){return!!e||0===e},_=function(e){return"number"==typeof e||null===e};function D(e,t,n){return void 0===e&&(e={}),void 0===t&&(t={}),void 0===n&&(n={}),h({},n,{},t,{},e)}var F={root:"SnackbarContent-root"},R=Object(u.a)("div")((function(e){var t,n,r=e.theme;return(n={})["&."+F.root]=((t={display:"flex",flexWrap:"wrap",flexGrow:1})[r.breakpoints.up("sm")]={flexGrow:"initial",minWidth:288},t),n})),P=Object(r.forwardRef)((function(e,t){var n=e.className,r=m(e,["className"]);return i.a.createElement(R,Object.assign({ref:t,className:Object(a.default)(F.root,n)},r))})),T={right:"left",left:"right",bottom:"up",top:"down"},B=function(e){return"center"!==e.horizontal?T[e.horizontal]:T[e.vertical]},M=function(e){return i.a.createElement(d.a,Object.assign({},e),i.a.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41\n 10.59L10 14.17L17.59 6.58L19 8L10 17Z"}))},N=function(e){return i.a.createElement(d.a,Object.assign({},e),i.a.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},I=function(e){return i.a.createElement(d.a,Object.assign({},e),i.a.createElement("path",{d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,\n 6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,\n 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"}))},L=function(e){return i.a.createElement(d.a,Object.assign({},e),i.a.createElement("path",{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,\n 0 22,12A10,10 0 0,0 12,2Z"}))},z={fontSize:20,marginInlineEnd:8},W={default:void 0,success:i.a.createElement(M,{style:z}),warning:i.a.createElement(N,{style:z}),error:i.a.createElement(I,{style:z}),info:i.a.createElement(L,{style:z})};function V(e,t){return e.reduce((function(e,n){return null==n?e:function(){for(var r=arguments.length,i=new Array(r),o=0;o .MuiCollapse-container, & > .MuiCollapse-root",X="& > .MuiCollapse-container > .MuiCollapse-wrapper, & > .MuiCollapse-root > .MuiCollapse-wrapper",Z={root:"SnackbarContainer-root",rootDense:"SnackbarContainer-rootDense",top:"SnackbarContainer-top",bottom:"SnackbarContainer-bottom",left:"SnackbarContainer-left",right:"SnackbarContainer-right",center:"SnackbarContainer-center"},Q=Object(u.a)("div")((function(e){var t,n,r,i,o,a,s=e.theme;return(a={})["&."+Z.root]=((t={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:s.zIndex.snackbar,height:"auto",width:"auto",transition:"top 300ms ease 0ms, right 300ms ease 0ms, bottom 300ms ease 0ms, left 300ms ease 0ms, margin 300ms ease 0ms, max-width 300ms ease 0ms",pointerEvents:"none"})[K]={pointerEvents:"all"},t[X]={padding:x.default+"px 0px",transition:"padding 300ms ease 0ms"},t.maxWidth="calc(100% - "+2*y.default+"px)",t[s.breakpoints.down("sm")]={width:"100%",maxWidth:"calc(100% - 32px)"},t),a["&."+Z.rootDense]=((n={})[X]={padding:x.dense+"px 0px"},n),a["&."+Z.top]={top:y.default-x.default,flexDirection:"column"},a["&."+Z.bottom]={bottom:y.default-x.default,flexDirection:"column-reverse"},a["&."+Z.left]=((r={left:y.default})[s.breakpoints.up("sm")]={alignItems:"flex-start"},r[s.breakpoints.down("sm")]={left:"16px"},r),a["&."+Z.right]=((i={right:y.default})[s.breakpoints.up("sm")]={alignItems:"flex-end"},i[s.breakpoints.down("sm")]={right:"16px"},i),a["&."+Z.center]=((o={left:"50%",transform:"translateX(-50%)"})[s.breakpoints.up("sm")]={alignItems:"center"},o),a})),J=function(e){var t=e.className,n=e.anchorOrigin,r=e.dense,o=m(e,["className","anchorOrigin","dense"]),s=Object(a.default)(Z[n.vertical],Z[n.horizontal],Z.root,t,r&&Z.rootDense);return i.a.createElement(Q,Object.assign({className:s},o))},ee=i.a.memo(J),te=function(e){var t,n,r,s,u;function c(t){var n;return(n=e.call(this,t)||this).enqueueSnackbar=function(e,t){void 0===t&&(t={});var r=t,i=r.key,o=r.preventDuplicate,a=m(r,["key","preventDuplicate"]),s=A(i),u=s?i:(new Date).getTime()+Math.random(),c=function(e,t,n){return function(r){return"autoHideDuration"===r?_(e.autoHideDuration)?e.autoHideDuration:_(t.autoHideDuration)?t.autoHideDuration:w.autoHideDuration:e[r]||t[r]||n[r]}}(a,n.props,w),l=h({key:u},a,{message:e,open:!0,entered:!1,requestClose:!1,variant:c("variant"),anchorOrigin:c("anchorOrigin"),autoHideDuration:c("autoHideDuration")});return a.persist&&(l.autoHideDuration=void 0),n.setState((function(t){if(void 0===o&&n.props.preventDuplicate||o){var r=function(t){return s?t.key===i:t.message===e},a=t.queue.findIndex(r)>-1,u=t.snacks.findIndex(r)>-1;if(a||u)return t}return n.handleDisplaySnack(h({},t,{queue:[].concat(t.queue,[l])}))})),u},n.handleDisplaySnack=function(e){return e.snacks.length>=n.maxSnack?n.handleDismissOldest(e):n.processQueue(e)},n.processQueue=function(e){var t=e.queue,n=e.snacks;return t.length>0?h({},e,{snacks:[].concat(n,[t[0]]),queue:t.slice(1,t.length)}):e},n.handleDismissOldest=function(e){if(e.snacks.some((function(e){return!e.open||e.requestClose})))return e;var t=!1,r=!1;e.snacks.reduce((function(e,t){return e+(t.open&&t.persist?1:0)}),0)===n.maxSnack&&(r=!0);var i=e.snacks.map((function(e){return t||e.persist&&!r?h({},e):(t=!0,e.entered?(e.onClose&&e.onClose(null,C.MAXSNACK,e.key),n.props.onClose&&n.props.onClose(null,C.MAXSNACK,e.key),h({},e,{open:!1})):h({},e,{requestClose:!0}))}));return h({},e,{snacks:i})},n.handleEnteredSnack=function(e,t,r){if(!A(r))throw new Error("handleEnteredSnack Cannot be called with undefined key");n.setState((function(e){return{snacks:e.snacks.map((function(e){return e.key===r?h({},e,{entered:!0}):h({},e)}))}}))},n.handleCloseSnack=function(e,t,r){if(n.props.onClose&&n.props.onClose(e,t,r),t!==C.CLICKAWAY){var i=void 0===r;n.setState((function(e){var t=e.snacks,n=e.queue;return{snacks:t.map((function(e){return i||e.key===r?e.entered?h({},e,{open:!1}):h({},e,{requestClose:!0}):h({},e)})),queue:n.filter((function(e){return e.key!==r}))}}))}},n.closeSnackbar=function(e){var t=n.state.snacks.find((function(t){return t.key===e}));A(e)&&t&&t.onClose&&t.onClose(null,C.INSTRUCTED,e),n.handleCloseSnack(null,C.INSTRUCTED,e)},n.handleExitedSnack=function(e,t,r){var i=t||r;if(!A(i))throw new Error("handleExitedSnack Cannot be called with undefined key");n.setState((function(e){var t=n.processQueue(h({},e,{snacks:e.snacks.filter((function(e){return e.key!==i}))}));return 0===t.queue.length?t:n.handleDismissOldest(t)}))},n.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:n.enqueueSnackbar.bind(b(n)),closeSnackbar:n.closeSnackbar.bind(b(n))}},n}return n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,c.prototype.render=function(){var e=this,t=this.state.contextValue,n=this.props,r=n.iconVariant,s=n.dense,u=void 0===s?w.dense:s,c=n.hideIconVariant,l=void 0===c?w.hideIconVariant:c,d=n.domRoot,f=n.children,p=n.classes,b=void 0===p?{}:p,v=m(n,["maxSnack","preventDuplicate","variant","anchorOrigin","iconVariant","dense","hideIconVariant","domRoot","children","classes"]),y=this.state.snacks.reduce((function(e,t){var n,r,i=(r=t.anchorOrigin,""+O(r.vertical)+O(r.horizontal)),o=e[i]||[];return h({},e,((n={})[i]=[].concat(o,[t]),n))}),{}),x=Object.keys(y).map((function(t){var n=y[t];return i.a.createElement(ee,{key:t,dense:u,anchorOrigin:n[0].anchorOrigin,className:Object(a.default)(b.containerRoot,b[E(t)])},n.map((function(t){return i.a.createElement(Y,Object.assign({},v,{key:t.key,snack:t,dense:u,iconVariant:r,hideIconVariant:l,classes:j(b),onClose:e.handleCloseSnack,onExited:V([e.handleExitedSnack,e.props.onExited]),onEntered:V([e.handleEnteredSnack,e.props.onEntered])}))})))}));return i.a.createElement(g.Provider,{value:t},f,d?Object(o.createPortal)(x,d):x)},r=c,(s=[{key:"maxSnack",get:function(){return this.props.maxSnack||w.maxSnack}}])&&p(r.prototype,s),u&&p(r,u),c}(r.Component),ne=function(){return Object(r.useContext)(g)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiIconButton",e)}const a=Object(i.a)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);t.a=a},,function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiTableCell",e)}const a=Object(i.a)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);t.a=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiLink",e)}const a=Object(i.a)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);t.a=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiTabScrollButton",e)}const a=Object(i.a)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);t.a=a},function(e,t,n){"use strict";var r=n(0);const i=r.createContext();t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return h}));var r=n(933),i=n(394),o=n(241),a=n(517),s=n(143),u=n(516);function c(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function l(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function d(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,a=[t,n].concat(Object(o.a)(r)),s=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===a.indexOf(e)&&-1===s.indexOf(e.tagName)&&c(e,i)}))}function f(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function p(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=Object(s.a)(e);return t.body===e?Object(u.a)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var c=Object(a.a)();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(l(o)+c,"px"),n=Object(s.a)(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(l(e)+c,"px")}))}var d=o.parentElement,f="HTML"===d.nodeName&&"scroll"===window.getComputedStyle(d)["overflow-y"]?d:o;r.push({value:f.style.overflow,key:"overflow",el:f}),f.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var h=function(){function e(){Object(r.a)(this,e),this.modals=[],this.containers=[]}return Object(i.a)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&c(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);d(t,e.mountNode,e.modalRef,r,!0);var i=f(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=f(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=p(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=f(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&c(e.modalRef,!0),d(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&c(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}()},function(e,t,n){"use strict";var r=n(0),i=(n(11),n(12)),o=n(264),a=n(5);t.a=function(e){const{children:t,className:n,value:s,theme:u}=e,c=(e=>{const{open:t}=e;return{offset:Object(i.default)(t&&o.a.valueLabelOpen),circle:o.a.valueLabelCircle,label:o.a.valueLabelLabel}})(e);return r.cloneElement(t,{className:Object(i.default)(t.props.className)},Object(a.jsxs)(r.Fragment,{children:[t.props.children,Object(a.jsx)("span",{className:Object(i.default)(c.offset,n),theme:u,"aria-hidden":!0,children:Object(a.jsx)("span",{className:c.circle,children:Object(a.jsx)("span",{className:c.label,children:s})})})]}))}},,,,function(e,t,n){"use strict";var r={type:"cancelation",msg:"operation is manually canceled"};t.a=function(e){var t=!1,n=new Promise((function(n,i){e.then((function(e){return t?i(r):n(e)})),e.catch(i)}));return n.cancel=function(){return t=!0},n}},,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),o=n(5),a=(0,i.default)((0,o.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");t.default=a},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),o=n(5),a=(0,i.default)((0,o.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.default=a},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),o=n(5),a=(0,i.default)((0,o.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.default=a},function(e,t,n){"use strict";n(0);var r=n(135),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},function(e,t,n){"use strict";n(0);var r=n(135),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},,,,function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(220),a=n(660),s=n(663),u=n(661);const c=["breakpoints","palette","spacing","shape"];t.a=function(e={},...t){const{breakpoints:n={},palette:l={},spacing:d,shape:f={}}=e,p=Object(i.a)(e,c),h=Object(a.a)(n),m=Object(u.a)(d);let b=Object(o.a)({breakpoints:h,direction:"ltr",components:{},palette:Object(r.a)({mode:"light"},l),spacing:m,shape:Object(r.a)({},s.a,f)},p);return b=t.reduce((e,t)=>Object(o.a)(e,t),b),b}},function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return m}));var r=n(3),i=n(18),o=n(419),a=n(624),s=n(1110),u=n(582);const c=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],l=["theme"],d=["theme"];function f(e){return 0===Object.keys(e).length}function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const h=Object(a.a)();function m(e={}){const{defaultTheme:t=h,rootShouldForwardProp:n=p,slotShouldForwardProp:a=p}=e;return(e,h={})=>{const{name:m,slot:b,skipVariantsResolver:g,skipSx:v,overridesResolver:y}=h,x=Object(i.a)(h,c),w=void 0!==g?g:b&&"Root"!==b||!1,O=v||!1;let j=p;"Root"===b?j=n:b&&(j=a);const C=Object(o.a)(e,Object(r.a)({shouldForwardProp:j,label:void 0},x));return(e,...n)=>{const o=n?n.map(e=>"function"==typeof e?n=>{let{theme:o}=n,a=Object(i.a)(n,l);return e(Object(r.a)({theme:f(o)?t:o},a))}:e):[];let a=e;m&&y&&o.push(e=>{const n=f(e.theme)?t:e.theme,r=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(m,n);return r?y(e,r):null}),m&&!w&&o.push(e=>{const n=f(e.theme)?t:e.theme;return((e,t,n,r)=>{var i,o;const{ownerState:a={}}=e,s=[],c=null==n||null==(i=n.components)||null==(o=i[r])?void 0:o.variants;return c&&c.forEach(n=>{let r=!0;Object.keys(n.props).forEach(t=>{a[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)}),r&&s.push(t[Object(u.a)(n.props)])}),s})(e,((e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(e=>{const t=Object(u.a)(e.props);r[t]=e.style}),r})(m,n),n,m)}),O||o.push(e=>{const n=f(e.theme)?t:e.theme;return Object(s.a)(Object(r.a)({},e,{theme:n}))});const c=o.length-n.length;if(Array.isArray(e)&&c>0){const t=new Array(c).fill("");a=[...e,...t],a.raw=[...e.raw,...t]}else"function"==typeof e&&(a=n=>{let{theme:o}=n,a=Object(i.a)(n,d);return e(Object(r.a)({theme:f(o)?t:o},a))});return C(a,...o)}}}},function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(0),a=(n(11),n(451)),s=n(108),u=n(202),c=n(82),l=n(5);const d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function f(e){return`scale(${e}, ${e**2})`}const p={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:"none"}},h=o.forwardRef((function(e,t){const{addEndListener:n,appear:h=!0,children:m,easing:b,in:g,onEnter:v,onEntered:y,onEntering:x,onExit:w,onExited:O,onExiting:j,style:C,timeout:E="auto",TransitionComponent:S=a.a}=e,k=Object(i.a)(e,d),A=o.useRef(),_=o.useRef(),D=Object(s.a)(),F=o.useRef(null),R=Object(c.a)(m.ref,t),P=Object(c.a)(F,R),T=e=>t=>{if(e){const n=F.current;void 0===t?e(n):e(n,t)}},B=T(x),M=T((e,t)=>{Object(u.b)(e);const{duration:n,delay:r,easing:i}=Object(u.a)({style:C,timeout:E,easing:b},{mode:"enter"});let o;"auto"===E?(o=D.transitions.getAutoHeightDuration(e.clientHeight),_.current=o):o=n,e.style.transition=[D.transitions.create("opacity",{duration:o,delay:r}),D.transitions.create("transform",{duration:.666*o,delay:r,easing:i})].join(","),v&&v(e,t)}),N=T(y),I=T(j),L=T(e=>{const{duration:t,delay:n,easing:r}=Object(u.a)({style:C,timeout:E,easing:b},{mode:"exit"});let i;"auto"===E?(i=D.transitions.getAutoHeightDuration(e.clientHeight),_.current=i):i=t,e.style.transition=[D.transitions.create("opacity",{duration:i,delay:n}),D.transitions.create("transform",{duration:.666*i,delay:n||.333*i,easing:r})].join(","),e.style.opacity="0",e.style.transform=f(.75),w&&w(e)}),z=T(O);return o.useEffect(()=>()=>{clearTimeout(A.current)},[]),Object(l.jsx)(S,Object(r.a)({appear:h,in:g,nodeRef:F,onEnter:M,onEntered:N,onEntering:B,onExit:L,onExited:z,onExiting:I,addEndListener:e=>{"auto"===E&&(A.current=setTimeout(e,_.current||0)),n&&n(F.current,e)},timeout:"auto"===E?null:E},k,{children:(e,t)=>o.cloneElement(m,Object(r.a)({style:Object(r.a)({opacity:0,transform:f(.75),visibility:"exited"!==e||g?void 0:"hidden"},p[e],C,m.props.style),ref:P},t))}))}));h.muiSupportAuto=!0,t.a=h},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),i=n(18),o=n(390);const a=["sx"];function s(e){const{sx:t}=e,n=Object(i.a)(e,a),{systemProps:s,otherProps:u}=(e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach(n=>{o.b[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t})(n);return Object(r.a)({},u,{sx:Object(r.a)({},s,t)})}},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(117)),s=n(595),u=n(1238),c=n(17),l=n(34),d=n(1236),f=n(5);const p=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],h=(s.a,Object(c.a)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>Object(i.a)({position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),m=Object(c.a)(d.a,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),b=o.forwardRef((function(e,t){var n;const s=Object(l.a)({name:"MuiModal",props:e}),{BackdropComponent:c=m,closeAfterTransition:d=!1,children:b,components:g={},componentsProps:v={},disableAutoFocus:y=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:w=!1,disablePortal:O=!1,disableRestoreFocus:j=!1,disableScrollLock:C=!1,hideBackdrop:E=!1,keepMounted:S=!1}=s,k=Object(r.a)(s,p),[A,_]=o.useState(!0),D={closeAfterTransition:d,disableAutoFocus:y,disableEnforceFocus:x,disableEscapeKeyDown:w,disablePortal:O,disableRestoreFocus:j,disableScrollLock:C,hideBackdrop:E,keepMounted:S},F=(e=>e.classes)(Object(i.a)({},s,D,{exited:A}));return Object(f.jsx)(u.a,Object(i.a)({components:Object(i.a)({Root:h},g),componentsProps:{root:Object(i.a)({},v.root,(!g.Root||!Object(a.a)(g.Root))&&{ownerState:Object(i.a)({},null==(n=v.root)?void 0:n.ownerState)})},BackdropComponent:c,onTransitionEnter:()=>_(!1),onTransitionExited:()=>_(!0),ref:t},k,{classes:F},D,{children:b}))}));t.a=b},function(e,t,n){"use strict";function r(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(1126),u=n(63),c=n(117),l=n(546),d=n(1257),f=n(17),p=n(34),h=n(28),m=n(5);const b=["components","componentsProps","color","invisible","badgeContent","showZero","variant"],g=Object(i.a)({},l.a,Object(u.a)("MuiBadge",["colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning"])),v=Object(f.a)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),y=Object(f.a)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${Object(h.a)(n.anchorOrigin.vertical)}${Object(h.a)(n.anchorOrigin.horizontal)}${Object(h.a)(n.overlap)}`],"default"!==n.color&&t["color"+Object(h.a)(n.color)],n.invisible&&t.invisible]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",["&."+g.invisible]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",["&."+g.invisible]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",["&."+g.invisible]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",["&."+g.invisible]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",["&."+g.invisible]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",["&."+g.invisible]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",["&."+g.invisible]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",["&."+g.invisible]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})})),x=o.forwardRef((function(e,t){var n,o;const u=Object(p.a)({props:e,name:"MuiBadge"}),{components:f={},componentsProps:g={},color:x="default",invisible:w,badgeContent:O,showZero:j=!1,variant:C="standard"}=u,E=Object(r.a)(u,b),S=Object(s.a)({color:x});let k=w;null==w&&(0===O&&!j||null==O&&"dot"!==C)&&(k=!0);const{color:A=x}=k?S:u,_=(e=>{const{color:t,classes:n={}}=e;return Object(i.a)({},n,{badge:Object(a.default)(n.badge,"default"!==t&&[Object(l.b)("color"+Object(h.a)(t)),n["color"+Object(h.a)(t)]])})})(Object(i.a)({},u,{invisible:k,color:A}));return Object(m.jsx)(d.a,Object(i.a)({invisible:w,badgeContent:O,showZero:j,variant:C},E,{components:Object(i.a)({Root:v,Badge:y},f),componentsProps:{root:Object(i.a)({},g.root,(!f.Root||!Object(c.a)(f.Root))&&{ownerState:Object(i.a)({},null==(n=g.root)?void 0:n.ownerState,{color:A})}),badge:Object(i.a)({},g.badge,(!f.Thumb||!Object(c.a)(f.Thumb))&&{ownerState:Object(i.a)({},null==(o=g.badge)?void 0:o.ownerState,{color:A})})},classes:_,ref:t}))}));t.a=x},function(e,t,n){"use strict";let r;function i(){if(r)return r;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),r="reverse",e.scrollLeft>0?r="default":(e.scrollLeft=1,0===e.scrollLeft&&(r="negative")),document.body.removeChild(e),r}function o(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(i()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(46),i=n(3),o=n(0),a=n.n(o),s=n(142),u=n(633),c=n(366),l=n(453),d=n(1128),f=n(911),p=n(1264),h=n(578);function m(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=Object(u.a)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function b(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,a=e.stylesCreator,l=e.name;if(!o.disableGeneration){var d=c.a.get(o.sheetsManager,a,r);d||(d={refs:0,staticSheet:null,dynamicStyles:null},c.a.set(o.sheetsManager,a,r,d));var f=Object(i.a)({},a.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});f.generateId=f.serverGenerateClassName||f.generateClassName;var p=o.sheetsRegistry;if(0===d.refs){var h;o.sheetsCache&&(h=c.a.get(o.sheetsCache,a,r));var m=a.create(r,l);h||((h=o.jss.createStyleSheet(m,Object(i.a)({link:!1},f))).attach(),o.sheetsCache&&c.a.set(o.sheetsCache,a,r,h)),p&&p.add(h),d.staticSheet=h,d.dynamicStyles=Object(s.d)(m)}if(d.dynamicStyles){var b=o.jss.createStyleSheet(d.dynamicStyles,Object(i.a)({link:!0},f));b.update(t),b.attach(),n.dynamicSheet=b,n.classes=Object(u.a)({baseClasses:d.staticSheet.classes,newClasses:b.classes}),p&&p.add(b)}else n.classes=d.staticSheet.classes;d.refs+=1}}function g(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function v(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=c.a.get(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&(c.a.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function y(e,t){var n,r=a.a.useRef([]),i=a.a.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),a.a.useEffect((function(){return function(){n&&n()}}),[i])}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,o=t.classNamePrefix,s=t.Component,u=t.defaultTheme,c=void 0===u?h.a:u,x=Object(r.a)(t,["name","classNamePrefix","Component","defaultTheme"]),w=Object(p.a)(e),O=n||o||"makeStyles";w.options={index:Object(f.a)(),name:n,meta:O,classNamePrefix:O};var j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object(l.a)()||c,r=Object(i.a)({},a.a.useContext(d.a),x),o=a.a.useRef(),u=a.a.useRef();y((function(){var i={name:n,state:{},stylesCreator:w,stylesOptions:r,theme:t};return b(i,e),u.current=!1,o.current=i,function(){v(i)}}),[t,w]),a.a.useEffect((function(){u.current&&g(o.current,e),u.current=!0}));var f=m(o.current,e.classes,s);return f};return j}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var i=Object(r.a)({},t);return Object.keys(n).forEach((function(e){n[e]&&(i[e]="".concat(t[e]," ").concat(n[e]))})),i}},function(e,t,n){"use strict";var r=n(46),i=n(3),o=n(410),a=n(0),s=(n(11),n(12)),u=n(242),c=n(279),l=n(73),d=n(105),f=n(98),p=n(1270),h=n(350),m="undefined"==typeof window?a.useEffect:a.useLayoutEffect,b=a.forwardRef((function(e,t){var n=e["aria-describedby"],l=e.autoComplete,b=e.autoFocus,g=e.classes,v=e.className,y=(e.color,e.defaultValue),x=e.disabled,w=e.endAdornment,O=(e.error,e.fullWidth),j=void 0!==O&&O,C=e.id,E=e.inputComponent,S=void 0===E?"input":E,k=e.inputProps,A=void 0===k?{}:k,_=e.inputRef,D=(e.margin,e.multiline),F=void 0!==D&&D,R=e.name,P=e.onBlur,T=e.onChange,B=e.onClick,M=e.onFocus,N=e.onKeyDown,I=e.onKeyUp,L=e.placeholder,z=e.readOnly,W=e.renderSuffix,V=e.rows,H=e.rowsMax,U=e.rowsMin,q=e.maxRows,$=e.minRows,G=e.startAdornment,Y=e.type,K=void 0===Y?"text":Y,X=e.value,Z=Object(r.a)(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),Q=null!=A.value?A.value:X,J=a.useRef(null!=Q).current,ee=a.useRef(),te=a.useCallback((function(e){0}),[]),ne=Object(f.a)(A.ref,te),re=Object(f.a)(_,ne),ie=Object(f.a)(ee,re),oe=a.useState(!1),ae=oe[0],se=oe[1],ue=Object(c.b)();var ce=Object(u.a)({props:e,muiFormControl:ue,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});ce.focused=ue?ue.focused:ae,a.useEffect((function(){!ue&&x&&ae&&(se(!1),P&&P())}),[ue,x,ae,P]);var le=ue&&ue.onFilled,de=ue&&ue.onEmpty,fe=a.useCallback((function(e){Object(h.b)(e)?le&&le():de&&de()}),[le,de]);m((function(){J&&fe({value:Q})}),[Q,fe,J]);a.useEffect((function(){fe(ee.current)}),[]);var pe=S,he=Object(i.a)({},A,{ref:ie});"string"!=typeof pe?he=Object(i.a)({inputRef:ie,type:K},he,{ref:null}):F?!V||q||$||H||U?(he=Object(i.a)({minRows:V||$,rowsMax:H,maxRows:q},he),pe=p.a):pe="textarea":he=Object(i.a)({type:K},he);return a.useEffect((function(){ue&&ue.setAdornedStart(Boolean(G))}),[ue,G]),a.createElement("div",Object(i.a)({className:Object(s.default)(g.root,g["color".concat(Object(d.a)(ce.color||"primary"))],v,ce.disabled&&g.disabled,ce.error&&g.error,j&&g.fullWidth,ce.focused&&g.focused,ue&&g.formControl,F&&g.multiline,G&&g.adornedStart,w&&g.adornedEnd,"dense"===ce.margin&&g.marginDense),onClick:function(e){ee.current&&e.currentTarget===e.target&&ee.current.focus(),B&&B(e)},ref:t},Z),G,a.createElement(c.a.Provider,{value:null},a.createElement(pe,Object(i.a)({"aria-invalid":ce.error,"aria-describedby":n,autoComplete:l,autoFocus:b,defaultValue:y,disabled:ce.disabled,id:C,onAnimationStart:function(e){fe("mui-auto-fill-cancel"===e.animationName?ee.current:{value:"x"})},name:R,placeholder:L,readOnly:z,required:ce.required,rows:V,value:Q,onKeyDown:N,onKeyUp:I},he,{className:Object(s.default)(g.input,A.className,ce.disabled&&g.disabled,F&&g.inputMultiline,ce.hiddenLabel&&g.inputHiddenLabel,G&&g.inputAdornedStart,w&&g.inputAdornedEnd,"search"===K&&g.inputTypeSearch,"dense"===ce.margin&&g.inputMarginDense),onBlur:function(e){P&&P(e),A.onBlur&&A.onBlur(e),ue&&ue.onBlur?ue.onBlur(e):se(!1)},onChange:function(e){if(!J){var t=e.target||ee.current;if(null==t)throw new Error(Object(o.a)(1));fe({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i{s+="color"===t?a(s)?e[t]:Object(i.a)(e[t]):`${a(s)?t:Object(i.a)(t)}${Object(i.a)(e[t].toString())}`}),s}},function(e,t,n){"use strict";var r=n(53),i=n(176),o=n(201),a=n(145);function s(e){return"number"!=typeof e?e:e+"px solid"}const u=Object(r.a)({prop:"border",themeKey:"borders",transform:s}),c=Object(r.a)({prop:"borderTop",themeKey:"borders",transform:s}),l=Object(r.a)({prop:"borderRight",themeKey:"borders",transform:s}),d=Object(r.a)({prop:"borderBottom",themeKey:"borders",transform:s}),f=Object(r.a)({prop:"borderLeft",themeKey:"borders",transform:s}),p=Object(r.a)({prop:"borderColor",themeKey:"palette"}),h=Object(r.a)({prop:"borderTopColor",themeKey:"palette"}),m=Object(r.a)({prop:"borderRightColor",themeKey:"palette"}),b=Object(r.a)({prop:"borderBottomColor",themeKey:"palette"}),g=Object(r.a)({prop:"borderLeftColor",themeKey:"palette"}),v=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Object(o.b)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:Object(o.d)(t,e)});return Object(a.b)(e,e.borderRadius,n)}return null};v.propTypes={},v.filterProps=["borderRadius"];const y=Object(i.a)(u,c,l,d,f,p,h,m,b,g,v);t.a=y},function(e,t,n){"use strict";var r=n(53),i=n(176);const o=Object(r.a)({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),a=Object(r.a)({prop:"display"}),s=Object(r.a)({prop:"overflow"}),u=Object(r.a)({prop:"textOverflow"}),c=Object(r.a)({prop:"visibility"}),l=Object(r.a)({prop:"whiteSpace"});t.a=Object(i.a)(o,a,s,u,c,l)},function(e,t,n){"use strict";var r=n(53),i=n(176);const o=Object(r.a)({prop:"flexBasis"}),a=Object(r.a)({prop:"flexDirection"}),s=Object(r.a)({prop:"flexWrap"}),u=Object(r.a)({prop:"justifyContent"}),c=Object(r.a)({prop:"alignItems"}),l=Object(r.a)({prop:"alignContent"}),d=Object(r.a)({prop:"order"}),f=Object(r.a)({prop:"flex"}),p=Object(r.a)({prop:"flexGrow"}),h=Object(r.a)({prop:"flexShrink"}),m=Object(r.a)({prop:"alignSelf"}),b=Object(r.a)({prop:"justifyItems"}),g=Object(r.a)({prop:"justifySelf"}),v=Object(i.a)(o,a,s,u,c,l,d,f,p,h,m,b,g);t.a=v},function(e,t,n){"use strict";var r=n(53),i=n(176),o=n(201),a=n(145);const s=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Object(o.b)(e.theme,"spacing",8,"gap"),n=e=>({gap:Object(o.d)(t,e)});return Object(a.b)(e,e.gap,n)}return null};s.propTypes={},s.filterProps=["gap"];const u=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Object(o.b)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:Object(o.d)(t,e)});return Object(a.b)(e,e.columnGap,n)}return null};u.propTypes={},u.filterProps=["columnGap"];const c=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Object(o.b)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:Object(o.d)(t,e)});return Object(a.b)(e,e.rowGap,n)}return null};c.propTypes={},c.filterProps=["rowGap"];const l=Object(r.a)({prop:"gridColumn"}),d=Object(r.a)({prop:"gridRow"}),f=Object(r.a)({prop:"gridAutoFlow"}),p=Object(r.a)({prop:"gridAutoColumns"}),h=Object(r.a)({prop:"gridAutoRows"}),m=Object(r.a)({prop:"gridTemplateColumns"}),b=Object(r.a)({prop:"gridTemplateRows"}),g=Object(r.a)({prop:"gridTemplateAreas"}),v=Object(r.a)({prop:"gridArea"}),y=Object(i.a)(s,u,c,l,d,f,p,h,m,b,g,v);t.a=y},function(e,t,n){"use strict";var r=n(53),i=n(176);const o=Object(r.a)({prop:"position"}),a=Object(r.a)({prop:"zIndex",themeKey:"zIndex"}),s=Object(r.a)({prop:"top"}),u=Object(r.a)({prop:"right"}),c=Object(r.a)({prop:"bottom"}),l=Object(r.a)({prop:"left"});t.a=Object(i.a)(o,a,s,u,c,l)},function(e,t,n){"use strict";var r=n(53),i=n(176);const o=Object(r.a)({prop:"color",themeKey:"palette"}),a=Object(r.a)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),s=Object(r.a)({prop:"backgroundColor",themeKey:"palette"}),u=Object(i.a)(o,a,s);t.a=u},function(e,t,n){"use strict";var r=n(53);const i=Object(r.a)({prop:"boxShadow",themeKey:"shadows"});t.a=i},function(e,t,n){"use strict";var r=n(53),i=n(176),o=n(145);function a(e){return e<=1&&0!==e?100*e+"%":e}const s=Object(r.a)({prop:"width",transform:a}),u=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r,i;return{maxWidth:(null==(n=e.theme)||null==(r=n.breakpoints)||null==(i=r.values)?void 0:i[t])||o.e[t]||a(t)}};return Object(o.b)(e,e.maxWidth,t)}return null};u.filterProps=["maxWidth"];const c=Object(r.a)({prop:"minWidth",transform:a}),l=Object(r.a)({prop:"height",transform:a}),d=Object(r.a)({prop:"maxHeight",transform:a}),f=Object(r.a)({prop:"minHeight",transform:a}),p=(Object(r.a)({prop:"size",cssProperty:"width",transform:a}),Object(r.a)({prop:"size",cssProperty:"height",transform:a}),Object(r.a)({prop:"boxSizing"})),h=Object(i.a)(s,u,c,l,d,f,p);t.a=h},function(e,t,n){"use strict";var r=n(53),i=n(176);const o=Object(r.a)({prop:"fontFamily",themeKey:"typography"}),a=Object(r.a)({prop:"fontSize",themeKey:"typography"}),s=Object(r.a)({prop:"fontStyle",themeKey:"typography"}),u=Object(r.a)({prop:"fontWeight",themeKey:"typography"}),c=Object(r.a)({prop:"letterSpacing"}),l=Object(r.a)({prop:"lineHeight"}),d=Object(r.a)({prop:"textAlign"}),f=Object(r.a)({prop:"typography",cssProperty:!1,themeKey:"typography"}),p=Object(i.a)(f,o,a,s,u,c,l,d);t.a=p},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r={start:"end",end:"start"};function i(e){return e.replace(/start|end/g,(function(e){return r[e]}))}},function(e,t,n){"use strict";t.a={disabled:!1}},function(e,t,n){"use strict";var r=/[A-Z]/g,i=/^ms-/,o={};function a(e){return"-"+e.toLowerCase()}t.a=function(e){if(o.hasOwnProperty(e))return o[e];var t=e.replace(r,a);return o[e]=i.test(t)?"-"+t:t}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(63),i=n(64);function o(e){return Object(i.a)("MuiModal",e)}const a=Object(r.a)("MuiModal",["root","hidden"]);t.a=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(63),i=n(64);function o(e){return Object(i.a)("MuiBackdrop",e)}const a=Object(r.a)("MuiBackdrop",["root","invisible"]);t.a=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return d}));var r=n(235),i=n(563),o=n(1118);function a(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function s(e){return parseInt(Object(i.a)(e).getComputedStyle(e).paddingRight,10)||0}function u(e,t,n,r=[],i){const o=[t,n,...r],s=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,e=>{-1===o.indexOf(e)&&-1===s.indexOf(e.tagName)&&a(e,i)})}function c(e,t){let n=-1;return e.some((e,r)=>!!t(e)&&(n=r,!0)),n}function l(e,t){const n=[],a=e.container;if(!t.disableScrollLock){if(function(e){const t=Object(r.a)(e);return t.body===e?Object(i.a)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(a)){const e=Object(o.a)(Object(r.a)(a));n.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=s(a)+e+"px";const t=Object(r.a)(a).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=s(t)+e+"px"})}const e=a.parentElement,t=Object(i.a)(a),u="HTML"===(null==e?void 0:e.nodeName)&&"scroll"===t.getComputedStyle(e).overflowY?e:a;n.push({value:u.style.overflow,property:"overflow",el:u},{value:u.style.overflowX,property:"overflow-x",el:u},{value:u.style.overflowY,property:"overflow-y",el:u}),u.style.overflow="hidden"}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}class d{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&a(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);u(t,e.mount,e.modalRef,r,!0);const i=c(this.containers,e=>e.container===t);return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=c(this.containers,t=>-1!==t.modals.indexOf(e)),r=this.containers[n];r.restore||(r.restore=l(r,t))}remove(e){const t=this.modals.indexOf(e);if(-1===t)return t;const n=c(this.containers,t=>-1!==t.modals.indexOf(e)),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&a(e.modalRef,!0),u(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=r.modals[r.modals.length-1];e.modalRef&&a(e.modalRef,!1)}return t}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiButtonBase",e)}const a=Object(i.a)("MuiButtonBase",["root","disabled","focusVisible"]);t.a=a},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return te})),n.d(t,"b",(function(){return ne}));var r=n(0),i=n.n(r),o=n(101),a=n(12),s=n(1125),u=n(17),c=n(80),l=n(174),d=n(409),f=n(1249);n(252);function p(e,t){for(var n=0;n=0||(i[n]=e[n]);return i}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var g=i.a.createContext(),v={containerRoot:{},containerAnchorOriginTopCenter:{},containerAnchorOriginBottomCenter:{},containerAnchorOriginTopRight:{},containerAnchorOriginBottomRight:{},containerAnchorOriginTopLeft:{},containerAnchorOriginBottomLeft:{}},y={default:20,dense:4},x={default:6,dense:2},w={maxSnack:3,dense:!1,hideIconVariant:!1,variant:"default",autoHideDuration:5e3,anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:s.a,transitionDuration:{enter:225,exit:195}},O=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},j=function(e){return Object.keys(e).filter((function(e){return!v[e]})).reduce((function(t,n){var r;return h({},t,((r={})[n]=e[n],r))}),{})},C={TIMEOUT:"timeout",CLICKAWAY:"clickaway",MAXSNACK:"maxsnack",INSTRUCTED:"instructed"},E=function(e){return"containerAnchorOrigin"+e},S=function(e){var t=e.vertical,n=e.horizontal;return"anchorOrigin"+O(t)+O(n)},k=function(e){return"variant"+O(e)},A=function(e){return!!e||0===e},_=function(e){return"number"==typeof e||null===e};function D(e,t,n){return void 0===e&&(e={}),void 0===t&&(t={}),void 0===n&&(n={}),h({},n,{},t,{},e)}var F={root:"SnackbarContent-root"},R=Object(u.a)("div")((function(e){var t,n,r=e.theme;return(n={})["&."+F.root]=((t={display:"flex",flexWrap:"wrap",flexGrow:1})[r.breakpoints.up("sm")]={flexGrow:"initial",minWidth:288},t),n})),P=Object(r.forwardRef)((function(e,t){var n=e.className,r=m(e,["className"]);return i.a.createElement(R,Object.assign({ref:t,className:Object(a.default)(F.root,n)},r))})),T={right:"left",left:"right",bottom:"up",top:"down"},B=function(e){return"center"!==e.horizontal?T[e.horizontal]:T[e.vertical]},M=function(e){return i.a.createElement(d.a,Object.assign({},e),i.a.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41\n 10.59L10 14.17L17.59 6.58L19 8L10 17Z"}))},N=function(e){return i.a.createElement(d.a,Object.assign({},e),i.a.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},I=function(e){return i.a.createElement(d.a,Object.assign({},e),i.a.createElement("path",{d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,\n 6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,\n 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"}))},L=function(e){return i.a.createElement(d.a,Object.assign({},e),i.a.createElement("path",{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,\n 0 22,12A10,10 0 0,0 12,2Z"}))},z={fontSize:20,marginInlineEnd:8},W={default:void 0,success:i.a.createElement(M,{style:z}),warning:i.a.createElement(N,{style:z}),error:i.a.createElement(I,{style:z}),info:i.a.createElement(L,{style:z})};function V(e,t){return e.reduce((function(e,n){return null==n?e:function(){for(var r=arguments.length,i=new Array(r),o=0;o .MuiCollapse-container, & > .MuiCollapse-root",X="& > .MuiCollapse-container > .MuiCollapse-wrapper, & > .MuiCollapse-root > .MuiCollapse-wrapper",Z={root:"SnackbarContainer-root",rootDense:"SnackbarContainer-rootDense",top:"SnackbarContainer-top",bottom:"SnackbarContainer-bottom",left:"SnackbarContainer-left",right:"SnackbarContainer-right",center:"SnackbarContainer-center"},Q=Object(u.a)("div")((function(e){var t,n,r,i,o,a,s=e.theme;return(a={})["&."+Z.root]=((t={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:s.zIndex.snackbar,height:"auto",width:"auto",transition:"top 300ms ease 0ms, right 300ms ease 0ms, bottom 300ms ease 0ms, left 300ms ease 0ms, margin 300ms ease 0ms, max-width 300ms ease 0ms",pointerEvents:"none"})[K]={pointerEvents:"all"},t[X]={padding:x.default+"px 0px",transition:"padding 300ms ease 0ms"},t.maxWidth="calc(100% - "+2*y.default+"px)",t[s.breakpoints.down("sm")]={width:"100%",maxWidth:"calc(100% - 32px)"},t),a["&."+Z.rootDense]=((n={})[X]={padding:x.dense+"px 0px"},n),a["&."+Z.top]={top:y.default-x.default,flexDirection:"column"},a["&."+Z.bottom]={bottom:y.default-x.default,flexDirection:"column-reverse"},a["&."+Z.left]=((r={left:y.default})[s.breakpoints.up("sm")]={alignItems:"flex-start"},r[s.breakpoints.down("sm")]={left:"16px"},r),a["&."+Z.right]=((i={right:y.default})[s.breakpoints.up("sm")]={alignItems:"flex-end"},i[s.breakpoints.down("sm")]={right:"16px"},i),a["&."+Z.center]=((o={left:"50%",transform:"translateX(-50%)"})[s.breakpoints.up("sm")]={alignItems:"center"},o),a})),J=function(e){var t=e.className,n=e.anchorOrigin,r=e.dense,o=m(e,["className","anchorOrigin","dense"]),s=Object(a.default)(Z[n.vertical],Z[n.horizontal],Z.root,t,r&&Z.rootDense);return i.a.createElement(Q,Object.assign({className:s},o))},ee=i.a.memo(J),te=function(e){var t,n,r,s,u;function c(t){var n;return(n=e.call(this,t)||this).enqueueSnackbar=function(e,t){void 0===t&&(t={});var r=t,i=r.key,o=r.preventDuplicate,a=m(r,["key","preventDuplicate"]),s=A(i),u=s?i:(new Date).getTime()+Math.random(),c=function(e,t,n){return function(r){return"autoHideDuration"===r?_(e.autoHideDuration)?e.autoHideDuration:_(t.autoHideDuration)?t.autoHideDuration:w.autoHideDuration:e[r]||t[r]||n[r]}}(a,n.props,w),l=h({key:u},a,{message:e,open:!0,entered:!1,requestClose:!1,variant:c("variant"),anchorOrigin:c("anchorOrigin"),autoHideDuration:c("autoHideDuration")});return a.persist&&(l.autoHideDuration=void 0),n.setState((function(t){if(void 0===o&&n.props.preventDuplicate||o){var r=function(t){return s?t.key===i:t.message===e},a=t.queue.findIndex(r)>-1,u=t.snacks.findIndex(r)>-1;if(a||u)return t}return n.handleDisplaySnack(h({},t,{queue:[].concat(t.queue,[l])}))})),u},n.handleDisplaySnack=function(e){return e.snacks.length>=n.maxSnack?n.handleDismissOldest(e):n.processQueue(e)},n.processQueue=function(e){var t=e.queue,n=e.snacks;return t.length>0?h({},e,{snacks:[].concat(n,[t[0]]),queue:t.slice(1,t.length)}):e},n.handleDismissOldest=function(e){if(e.snacks.some((function(e){return!e.open||e.requestClose})))return e;var t=!1,r=!1;e.snacks.reduce((function(e,t){return e+(t.open&&t.persist?1:0)}),0)===n.maxSnack&&(r=!0);var i=e.snacks.map((function(e){return t||e.persist&&!r?h({},e):(t=!0,e.entered?(e.onClose&&e.onClose(null,C.MAXSNACK,e.key),n.props.onClose&&n.props.onClose(null,C.MAXSNACK,e.key),h({},e,{open:!1})):h({},e,{requestClose:!0}))}));return h({},e,{snacks:i})},n.handleEnteredSnack=function(e,t,r){if(!A(r))throw new Error("handleEnteredSnack Cannot be called with undefined key");n.setState((function(e){return{snacks:e.snacks.map((function(e){return e.key===r?h({},e,{entered:!0}):h({},e)}))}}))},n.handleCloseSnack=function(e,t,r){if(n.props.onClose&&n.props.onClose(e,t,r),t!==C.CLICKAWAY){var i=void 0===r;n.setState((function(e){var t=e.snacks,n=e.queue;return{snacks:t.map((function(e){return i||e.key===r?e.entered?h({},e,{open:!1}):h({},e,{requestClose:!0}):h({},e)})),queue:n.filter((function(e){return e.key!==r}))}}))}},n.closeSnackbar=function(e){var t=n.state.snacks.find((function(t){return t.key===e}));A(e)&&t&&t.onClose&&t.onClose(null,C.INSTRUCTED,e),n.handleCloseSnack(null,C.INSTRUCTED,e)},n.handleExitedSnack=function(e,t,r){var i=t||r;if(!A(i))throw new Error("handleExitedSnack Cannot be called with undefined key");n.setState((function(e){var t=n.processQueue(h({},e,{snacks:e.snacks.filter((function(e){return e.key!==i}))}));return 0===t.queue.length?t:n.handleDismissOldest(t)}))},n.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:n.enqueueSnackbar.bind(b(n)),closeSnackbar:n.closeSnackbar.bind(b(n))}},n}return n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,c.prototype.render=function(){var e=this,t=this.state.contextValue,n=this.props,r=n.iconVariant,s=n.dense,u=void 0===s?w.dense:s,c=n.hideIconVariant,l=void 0===c?w.hideIconVariant:c,d=n.domRoot,f=n.children,p=n.classes,b=void 0===p?{}:p,v=m(n,["maxSnack","preventDuplicate","variant","anchorOrigin","iconVariant","dense","hideIconVariant","domRoot","children","classes"]),y=this.state.snacks.reduce((function(e,t){var n,r,i=(r=t.anchorOrigin,""+O(r.vertical)+O(r.horizontal)),o=e[i]||[];return h({},e,((n={})[i]=[].concat(o,[t]),n))}),{}),x=Object.keys(y).map((function(t){var n=y[t];return i.a.createElement(ee,{key:t,dense:u,anchorOrigin:n[0].anchorOrigin,className:Object(a.default)(b.containerRoot,b[E(t)])},n.map((function(t){return i.a.createElement(Y,Object.assign({},v,{key:t.key,snack:t,dense:u,iconVariant:r,hideIconVariant:l,classes:j(b),onClose:e.handleCloseSnack,onExited:V([e.handleExitedSnack,e.props.onExited]),onEntered:V([e.handleEnteredSnack,e.props.onEntered])}))})))}));return i.a.createElement(g.Provider,{value:t},f,d?Object(o.createPortal)(x,d):x)},r=c,(s=[{key:"maxSnack",get:function(){return this.props.maxSnack||w.maxSnack}}])&&p(r.prototype,s),u&&p(r,u),c}(r.Component),ne=function(){return Object(r.useContext)(g)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiIconButton",e)}const a=Object(i.a)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);t.a=a},,function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiTableCell",e)}const a=Object(i.a)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);t.a=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiLink",e)}const a=Object(i.a)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);t.a=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(64),i=n(63);function o(e){return Object(r.a)("MuiTabScrollButton",e)}const a=Object(i.a)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);t.a=a},function(e,t,n){"use strict";var r=n(0);const i=r.createContext();t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return h}));var r=n(933),i=n(394),o=n(241),a=n(517),s=n(143),u=n(516);function c(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function l(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function d(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,a=[t,n].concat(Object(o.a)(r)),s=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===a.indexOf(e)&&-1===s.indexOf(e.tagName)&&c(e,i)}))}function f(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function p(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=Object(s.a)(e);return t.body===e?Object(u.a)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var c=Object(a.a)();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(l(o)+c,"px"),n=Object(s.a)(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(l(e)+c,"px")}))}var d=o.parentElement,f="HTML"===d.nodeName&&"scroll"===window.getComputedStyle(d)["overflow-y"]?d:o;r.push({value:f.style.overflow,key:"overflow",el:f}),f.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var h=function(){function e(){Object(r.a)(this,e),this.modals=[],this.containers=[]}return Object(i.a)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&c(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);d(t,e.mountNode,e.modalRef,r,!0);var i=f(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=f(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=p(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=f(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&c(e.modalRef,!0),d(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&c(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}()},function(e,t,n){"use strict";var r=n(0),i=(n(11),n(12)),o=n(264),a=n(5);t.a=function(e){const{children:t,className:n,value:s,theme:u}=e,c=(e=>{const{open:t}=e;return{offset:Object(i.default)(t&&o.a.valueLabelOpen),circle:o.a.valueLabelCircle,label:o.a.valueLabelLabel}})(e);return r.cloneElement(t,{className:Object(i.default)(t.props.className)},Object(a.jsxs)(r.Fragment,{children:[t.props.children,Object(a.jsx)("span",{className:Object(i.default)(c.offset,n),theme:u,"aria-hidden":!0,children:Object(a.jsx)("span",{className:c.circle,children:Object(a.jsx)("span",{className:c.label,children:s})})})]}))}},,,,function(e,t,n){"use strict";var r={type:"cancelation",msg:"operation is manually canceled"};t.a=function(e){var t=!1,n=new Promise((function(n,i){e.then((function(e){return t?i(r):n(e)})),e.catch(i)}));return n.cancel=function(){return t=!0},n}},,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),o=n(5),a=(0,i.default)((0,o.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage");t.default=a},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),o=n(5),a=(0,i.default)((0,o.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight");t.default=a},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),o=n(5),a=(0,i.default)((0,o.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");t.default=a},function(e,t,n){"use strict";n(0);var r=n(135),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},function(e,t,n){"use strict";n(0);var r=n(135),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},,,,function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(220),a=n(660),s=n(663),u=n(661);const c=["breakpoints","palette","spacing","shape"];t.a=function(e={},...t){const{breakpoints:n={},palette:l={},spacing:d,shape:f={}}=e,p=Object(i.a)(e,c),h=Object(a.a)(n),m=Object(u.a)(d);let b=Object(o.a)({breakpoints:h,direction:"ltr",components:{},palette:Object(r.a)({mode:"light"},l),spacing:m,shape:Object(r.a)({},s.a,f)},p);return b=t.reduce((e,t)=>Object(o.a)(e,t),b),b}},function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return m}));var r=n(3),i=n(18),o=n(419),a=n(624),s=n(1110),u=n(582);const c=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],l=["theme"],d=["theme"];function f(e){return 0===Object.keys(e).length}function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const h=Object(a.a)();function m(e={}){const{defaultTheme:t=h,rootShouldForwardProp:n=p,slotShouldForwardProp:a=p}=e;return(e,h={})=>{const{name:m,slot:b,skipVariantsResolver:g,skipSx:v,overridesResolver:y}=h,x=Object(i.a)(h,c),w=void 0!==g?g:b&&"Root"!==b||!1,O=v||!1;let j=p;"Root"===b?j=n:b&&(j=a);const C=Object(o.a)(e,Object(r.a)({shouldForwardProp:j,label:void 0},x));return(e,...n)=>{const o=n?n.map(e=>"function"==typeof e?n=>{let{theme:o}=n,a=Object(i.a)(n,l);return e(Object(r.a)({theme:f(o)?t:o},a))}:e):[];let a=e;m&&y&&o.push(e=>{const n=f(e.theme)?t:e.theme,r=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(m,n);return r?y(e,r):null}),m&&!w&&o.push(e=>{const n=f(e.theme)?t:e.theme;return((e,t,n,r)=>{var i,o;const{ownerState:a={}}=e,s=[],c=null==n||null==(i=n.components)||null==(o=i[r])?void 0:o.variants;return c&&c.forEach(n=>{let r=!0;Object.keys(n.props).forEach(t=>{a[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)}),r&&s.push(t[Object(u.a)(n.props)])}),s})(e,((e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(e=>{const t=Object(u.a)(e.props);r[t]=e.style}),r})(m,n),n,m)}),O||o.push(e=>{const n=f(e.theme)?t:e.theme;return Object(s.a)(Object(r.a)({},e,{theme:n}))});const c=o.length-n.length;if(Array.isArray(e)&&c>0){const t=new Array(c).fill("");a=[...e,...t],a.raw=[...e.raw,...t]}else"function"==typeof e&&(a=n=>{let{theme:o}=n,a=Object(i.a)(n,d);return e(Object(r.a)({theme:f(o)?t:o},a))});return C(a,...o)}}}},function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(0),a=(n(11),n(451)),s=n(108),u=n(202),c=n(82),l=n(5);const d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function f(e){return`scale(${e}, ${e**2})`}const p={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:"none"}},h=o.forwardRef((function(e,t){const{addEndListener:n,appear:h=!0,children:m,easing:b,in:g,onEnter:v,onEntered:y,onEntering:x,onExit:w,onExited:O,onExiting:j,style:C,timeout:E="auto",TransitionComponent:S=a.a}=e,k=Object(i.a)(e,d),A=o.useRef(),_=o.useRef(),D=Object(s.a)(),F=o.useRef(null),R=Object(c.a)(m.ref,t),P=Object(c.a)(F,R),T=e=>t=>{if(e){const n=F.current;void 0===t?e(n):e(n,t)}},B=T(x),M=T((e,t)=>{Object(u.b)(e);const{duration:n,delay:r,easing:i}=Object(u.a)({style:C,timeout:E,easing:b},{mode:"enter"});let o;"auto"===E?(o=D.transitions.getAutoHeightDuration(e.clientHeight),_.current=o):o=n,e.style.transition=[D.transitions.create("opacity",{duration:o,delay:r}),D.transitions.create("transform",{duration:.666*o,delay:r,easing:i})].join(","),v&&v(e,t)}),N=T(y),I=T(j),L=T(e=>{const{duration:t,delay:n,easing:r}=Object(u.a)({style:C,timeout:E,easing:b},{mode:"exit"});let i;"auto"===E?(i=D.transitions.getAutoHeightDuration(e.clientHeight),_.current=i):i=t,e.style.transition=[D.transitions.create("opacity",{duration:i,delay:n}),D.transitions.create("transform",{duration:.666*i,delay:n||.333*i,easing:r})].join(","),e.style.opacity="0",e.style.transform=f(.75),w&&w(e)}),z=T(O);return o.useEffect(()=>()=>{clearTimeout(A.current)},[]),Object(l.jsx)(S,Object(r.a)({appear:h,in:g,nodeRef:F,onEnter:M,onEntered:N,onEntering:B,onExit:L,onExited:z,onExiting:I,addEndListener:e=>{"auto"===E&&(A.current=setTimeout(e,_.current||0)),n&&n(F.current,e)},timeout:"auto"===E?null:E},k,{children:(e,t)=>o.cloneElement(m,Object(r.a)({style:Object(r.a)({opacity:0,transform:f(.75),visibility:"exited"!==e||g?void 0:"hidden"},p[e],C,m.props.style),ref:P},t))}))}));h.muiSupportAuto=!0,t.a=h},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),i=n(18),o=n(390);const a=["sx"];function s(e){const{sx:t}=e,n=Object(i.a)(e,a),{systemProps:s,otherProps:u}=(e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach(n=>{o.b[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t})(n);return Object(r.a)({},u,{sx:Object(r.a)({},s,t)})}},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(117)),s=n(595),u=n(1238),c=n(17),l=n(34),d=n(1236),f=n(5);const p=["BackdropComponent","closeAfterTransition","children","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted"],h=(s.a,Object(c.a)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>Object(i.a)({position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),m=Object(c.a)(d.a,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),b=o.forwardRef((function(e,t){var n;const s=Object(l.a)({name:"MuiModal",props:e}),{BackdropComponent:c=m,closeAfterTransition:d=!1,children:b,components:g={},componentsProps:v={},disableAutoFocus:y=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:w=!1,disablePortal:O=!1,disableRestoreFocus:j=!1,disableScrollLock:C=!1,hideBackdrop:E=!1,keepMounted:S=!1}=s,k=Object(r.a)(s,p),[A,_]=o.useState(!0),D={closeAfterTransition:d,disableAutoFocus:y,disableEnforceFocus:x,disableEscapeKeyDown:w,disablePortal:O,disableRestoreFocus:j,disableScrollLock:C,hideBackdrop:E,keepMounted:S},F=(e=>e.classes)(Object(i.a)({},s,D,{exited:A}));return Object(f.jsx)(u.a,Object(i.a)({components:Object(i.a)({Root:h},g),componentsProps:{root:Object(i.a)({},v.root,(!g.Root||!Object(a.a)(g.Root))&&{ownerState:Object(i.a)({},null==(n=v.root)?void 0:n.ownerState)})},BackdropComponent:c,onTransitionEnter:()=>_(!1),onTransitionExited:()=>_(!0),ref:t},k,{classes:F},D,{children:b}))}));t.a=b},function(e,t,n){"use strict";function r(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(18),i=n(3),o=n(0),a=(n(11),n(12)),s=n(1126),u=n(63),c=n(117),l=n(546),d=n(1257),f=n(17),p=n(34),h=n(28),m=n(5);const b=["components","componentsProps","color","invisible","badgeContent","showZero","variant"],g=Object(i.a)({},l.a,Object(u.a)("MuiBadge",["colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning"])),v=Object(f.a)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),y=Object(f.a)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${Object(h.a)(n.anchorOrigin.vertical)}${Object(h.a)(n.anchorOrigin.horizontal)}${Object(h.a)(n.overlap)}`],"default"!==n.color&&t["color"+Object(h.a)(n.color)],n.invisible&&t.invisible]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"dot"===t.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",["&."+g.invisible]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",["&."+g.invisible]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",["&."+g.invisible]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"rectangular"===t.overlap&&{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",["&."+g.invisible]:{transform:"scale(0) translate(-50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",["&."+g.invisible]:{transform:"scale(0) translate(50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"right"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",["&."+g.invisible]:{transform:"scale(0) translate(50%, 50%)"}},"top"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",["&."+g.invisible]:{transform:"scale(0) translate(-50%, -50%)"}},"bottom"===t.anchorOrigin.vertical&&"left"===t.anchorOrigin.horizontal&&"circular"===t.overlap&&{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",["&."+g.invisible]:{transform:"scale(0) translate(-50%, 50%)"}},t.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})})),x=o.forwardRef((function(e,t){var n,o;const u=Object(p.a)({props:e,name:"MuiBadge"}),{components:f={},componentsProps:g={},color:x="default",invisible:w,badgeContent:O,showZero:j=!1,variant:C="standard"}=u,E=Object(r.a)(u,b),S=Object(s.a)({color:x});let k=w;null==w&&(0===O&&!j||null==O&&"dot"!==C)&&(k=!0);const{color:A=x}=k?S:u,_=(e=>{const{color:t,classes:n={}}=e;return Object(i.a)({},n,{badge:Object(a.default)(n.badge,"default"!==t&&[Object(l.b)("color"+Object(h.a)(t)),n["color"+Object(h.a)(t)]])})})(Object(i.a)({},u,{invisible:k,color:A}));return Object(m.jsx)(d.a,Object(i.a)({invisible:w,badgeContent:O,showZero:j,variant:C},E,{components:Object(i.a)({Root:v,Badge:y},f),componentsProps:{root:Object(i.a)({},g.root,(!f.Root||!Object(c.a)(f.Root))&&{ownerState:Object(i.a)({},null==(n=g.root)?void 0:n.ownerState,{color:A})}),badge:Object(i.a)({},g.badge,(!f.Thumb||!Object(c.a)(f.Thumb))&&{ownerState:Object(i.a)({},null==(o=g.badge)?void 0:o.ownerState,{color:A})})},classes:_,ref:t}))}));t.a=x},function(e,t,n){"use strict";let r;function i(){if(r)return r;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),r="reverse",e.scrollLeft>0?r="default":(e.scrollLeft=1,0===e.scrollLeft&&(r="negative")),document.body.removeChild(e),r}function o(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(i()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(46),i=n(3),o=n(0),a=n.n(o),s=n(142),u=n(633),c=n(366),l=n(453),d=n(1128),f=n(911),p=n(1264),h=n(578);function m(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=Object(u.a)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function b(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,a=e.stylesCreator,l=e.name;if(!o.disableGeneration){var d=c.a.get(o.sheetsManager,a,r);d||(d={refs:0,staticSheet:null,dynamicStyles:null},c.a.set(o.sheetsManager,a,r,d));var f=Object(i.a)({},a.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});f.generateId=f.serverGenerateClassName||f.generateClassName;var p=o.sheetsRegistry;if(0===d.refs){var h;o.sheetsCache&&(h=c.a.get(o.sheetsCache,a,r));var m=a.create(r,l);h||((h=o.jss.createStyleSheet(m,Object(i.a)({link:!1},f))).attach(),o.sheetsCache&&c.a.set(o.sheetsCache,a,r,h)),p&&p.add(h),d.staticSheet=h,d.dynamicStyles=Object(s.d)(m)}if(d.dynamicStyles){var b=o.jss.createStyleSheet(d.dynamicStyles,Object(i.a)({link:!0},f));b.update(t),b.attach(),n.dynamicSheet=b,n.classes=Object(u.a)({baseClasses:d.staticSheet.classes,newClasses:b.classes}),p&&p.add(b)}else n.classes=d.staticSheet.classes;d.refs+=1}}function g(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function v(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=c.a.get(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&(c.a.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function y(e,t){var n,r=a.a.useRef([]),i=a.a.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),a.a.useEffect((function(){return function(){n&&n()}}),[i])}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,o=t.classNamePrefix,s=t.Component,u=t.defaultTheme,c=void 0===u?h.a:u,x=Object(r.a)(t,["name","classNamePrefix","Component","defaultTheme"]),w=Object(p.a)(e),O=n||o||"makeStyles";w.options={index:Object(f.a)(),name:n,meta:O,classNamePrefix:O};var j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object(l.a)()||c,r=Object(i.a)({},a.a.useContext(d.a),x),o=a.a.useRef(),u=a.a.useRef();y((function(){var i={name:n,state:{},stylesCreator:w,stylesOptions:r,theme:t};return b(i,e),u.current=!1,o.current=i,function(){v(i)}}),[t,w]),a.a.useEffect((function(){u.current&&g(o.current,e),u.current=!0}));var f=m(o.current,e.classes,s);return f};return j}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var i=Object(r.a)({},t);return Object.keys(n).forEach((function(e){n[e]&&(i[e]="".concat(t[e]," ").concat(n[e]))})),i}},function(e,t,n){"use strict";var r=n(46),i=n(3),o=n(410),a=n(0),s=(n(11),n(12)),u=n(242),c=n(279),l=n(73),d=n(105),f=n(98),p=n(1270),h=n(350),m="undefined"==typeof window?a.useEffect:a.useLayoutEffect,b=a.forwardRef((function(e,t){var n=e["aria-describedby"],l=e.autoComplete,b=e.autoFocus,g=e.classes,v=e.className,y=(e.color,e.defaultValue),x=e.disabled,w=e.endAdornment,O=(e.error,e.fullWidth),j=void 0!==O&&O,C=e.id,E=e.inputComponent,S=void 0===E?"input":E,k=e.inputProps,A=void 0===k?{}:k,_=e.inputRef,D=(e.margin,e.multiline),F=void 0!==D&&D,R=e.name,P=e.onBlur,T=e.onChange,B=e.onClick,M=e.onFocus,N=e.onKeyDown,I=e.onKeyUp,L=e.placeholder,z=e.readOnly,W=e.renderSuffix,V=e.rows,H=e.rowsMax,U=e.rowsMin,q=e.maxRows,$=e.minRows,G=e.startAdornment,Y=e.type,K=void 0===Y?"text":Y,X=e.value,Z=Object(r.a)(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","maxRows","minRows","startAdornment","type","value"]),Q=null!=A.value?A.value:X,J=a.useRef(null!=Q).current,ee=a.useRef(),te=a.useCallback((function(e){0}),[]),ne=Object(f.a)(A.ref,te),re=Object(f.a)(_,ne),ie=Object(f.a)(ee,re),oe=a.useState(!1),ae=oe[0],se=oe[1],ue=Object(c.b)();var ce=Object(u.a)({props:e,muiFormControl:ue,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});ce.focused=ue?ue.focused:ae,a.useEffect((function(){!ue&&x&&ae&&(se(!1),P&&P())}),[ue,x,ae,P]);var le=ue&&ue.onFilled,de=ue&&ue.onEmpty,fe=a.useCallback((function(e){Object(h.b)(e)?le&&le():de&&de()}),[le,de]);m((function(){J&&fe({value:Q})}),[Q,fe,J]);a.useEffect((function(){fe(ee.current)}),[]);var pe=S,he=Object(i.a)({},A,{ref:ie});"string"!=typeof pe?he=Object(i.a)({inputRef:ie,type:K},he,{ref:null}):F?!V||q||$||H||U?(he=Object(i.a)({minRows:V||$,rowsMax:H,maxRows:q},he),pe=p.a):pe="textarea":he=Object(i.a)({type:K},he);return a.useEffect((function(){ue&&ue.setAdornedStart(Boolean(G))}),[ue,G]),a.createElement("div",Object(i.a)({className:Object(s.default)(g.root,g["color".concat(Object(d.a)(ce.color||"primary"))],v,ce.disabled&&g.disabled,ce.error&&g.error,j&&g.fullWidth,ce.focused&&g.focused,ue&&g.formControl,F&&g.multiline,G&&g.adornedStart,w&&g.adornedEnd,"dense"===ce.margin&&g.marginDense),onClick:function(e){ee.current&&e.currentTarget===e.target&&ee.current.focus(),B&&B(e)},ref:t},Z),G,a.createElement(c.a.Provider,{value:null},a.createElement(pe,Object(i.a)({"aria-invalid":ce.error,"aria-describedby":n,autoComplete:l,autoFocus:b,defaultValue:y,disabled:ce.disabled,id:C,onAnimationStart:function(e){fe("mui-auto-fill-cancel"===e.animationName?ee.current:{value:"x"})},name:R,placeholder:L,readOnly:z,required:ce.required,rows:V,value:Q,onKeyDown:N,onKeyUp:I},he,{className:Object(s.default)(g.input,A.className,ce.disabled&&g.disabled,F&&g.inputMultiline,ce.hiddenLabel&&g.inputHiddenLabel,G&&g.inputAdornedStart,w&&g.inputAdornedEnd,"search"===K&&g.inputTypeSearch,"dense"===ce.margin&&g.inputMarginDense),onBlur:function(e){P&&P(e),A.onBlur&&A.onBlur(e),ue&&ue.onBlur?ue.onBlur(e):se(!1)},onChange:function(e){if(!J){var t=e.target||ee.current;if(null==t)throw new Error(Object(o.a)(1));fe({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i+~]|"+N+")"+N+"*"),q=new RegExp(N+"|>"),$=new RegExp(z),G=new RegExp("^"+I+"$"),Y={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+L),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){f()},ae=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(D=T.call(w.childNodes),w.childNodes),D[w.childNodes.length].nodeType}catch(e){P={apply:D.length?function(e,t){R.apply(e,T.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var o,s,c,l,d,h,g,v=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i&&(f(t),t=t||p,m)){if(11!==w&&(d=J.exec(e)))if(o=d[1]){if(9===w){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(v&&(c=v.getElementById(o))&&y(t,c)&&c.id===o)return r.push(c),r}else{if(d[2])return P.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!k[e+" "]&&(!b||!b.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(g=e,v=t,1===w&&(q.test(e)||U.test(e))){for((v=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((l=t.getAttribute("id"))?l=l.replace(re,ie):t.setAttribute("id",l=x)),s=(h=a(e)).length;s--;)h[s]=(l?"#"+l:":scope")+" "+ye(h[s]);g=h.join(",")}try{return P.apply(r,v.querySelectorAll(g)),r}catch(t){k(e,!0)}finally{l===x&&t.removeAttribute("id")}}}return u(e.replace(V,"$1"),t,r,i)}function ue(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[x]=!0,e}function le(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function be(e){return ce((function(t){return t=+t,ce((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!o(p),w!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=le((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=le((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=le((function(e){return h.appendChild(e).id=x,!p.getElementsByName||!p.getElementsByName(x).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],b=[],(n.qsa=Q.test(p.querySelectorAll))&&(le((function(e){var t;h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&b.push("[*^$]="+N+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||b.push("\\["+N+"*(?:value|"+M+")"),e.querySelectorAll("[id~="+x+"-]").length||b.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||b.push("\\["+N+"*name"+N+"*="+N+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||b.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||b.push(".#.+[+~]"),e.querySelectorAll("\\\f"),b.push("[\\r\\n\\f]")})),le((function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&b.push("name"+N+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&b.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&b.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),b.push(",.*:")}))),(n.matchesSelector=Q.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le((function(e){n.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),g.push("!=",z)})),b=b.length&&new RegExp(b.join("|")),g=g.length&&new RegExp(g.join("|")),t=Q.test(h.compareDocumentPosition),y=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&y(w,e)?-1:t==p||t.ownerDocument==w&&y(w,t)?1:l?B(l,e)-B(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==p?-1:t==p?1:i?-1:o?1:l?B(l,e)-B(l,t):0;if(i===o)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?fe(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!k[t+" "]&&(!g||!g.test(t))&&(!b||!b.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){k(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var i=r.attrHandle[t.toLowerCase()],o=i&&_.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,o=0;if(d=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(A),d){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return l=null,e},i=se.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ce,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&$.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&C(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(W," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,d,f,p,h,m=o!==a?"nextSibling":"previousSibling",b=t.parentNode,g=s&&t.nodeName.toLowerCase(),v=!u&&!s,y=!1;if(b){if(o){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?b.firstChild:b.lastChild],a&&v){for(y=(p=(c=(l=(d=(f=b)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===O&&c[1])&&c[2],f=p&&b.childNodes[p];f=++p&&f&&f[m]||(y=p=0)||h.pop();)if(1===f.nodeType&&++y&&f===t){l[e]=[O,p,y];break}}else if(v&&(y=p=(c=(l=(d=(f=t)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===O&&c[1]),!1===y)for(;(f=++p&&f&&f[m]||(y=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++y||(v&&((l=(d=f[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[O,y]),f!==t)););return(y-=i)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[x]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=B(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(V,"$1"));return r[x]?ce((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:be((function(){return[0]})),last:be((function(e,t){return[t-1]})),eq:be((function(e,t,n){return[n<0?n+t:n]})),even:be((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:be((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function Oe(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;s-1&&(o[c]=!(a[c]=d))}}else g=Oe(g===a?g.splice(h,g.length):g),i?i(null,a,g,u):P.apply(a,g)}))}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,l=xe((function(e){return e===t}),s,!0),d=xe((function(e){return B(t,e)>-1}),s,!0),f=[function(e,n,r){var i=!a&&(r||n!==c)||((t=n).nodeType?l(e,n,r):d(e,n,r));return t=null,i}];u1&&we(f),u>1&&ye(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(V,"$1"),n,u0,i=e.length>0,o=function(o,a,s,u,l){var d,h,b,g=0,v="0",y=o&&[],x=[],w=c,j=o||i&&r.find.TAG("*",l),C=O+=null==w?1:Math.random()||.1,E=j.length;for(l&&(c=a==p||a||l);v!==E&&null!=(d=j[v]);v++){if(i&&d){for(h=0,a||d.ownerDocument==p||(f(d),s=!m);b=e[h++];)if(b(d,a||p,s)){u.push(d);break}l&&(O=C)}n&&((d=!b&&d)&&g--,o&&y.push(d))}if(g+=v,n&&v!==g){for(h=0;b=t[h++];)b(y,x,a,s);if(o){if(g>0)for(;v--;)y[v]||x[v]||(x[v]=F.call(u));x=Oe(x)}P.apply(u,x),l&&!o&&x.length>0&&g+t.length>1&&se.uniqueSort(u)}return l&&(O=C,c=w),y};return n?ce(o):o}(o,i))).selector=e}return s},u=se.select=function(e,t,n,i){var o,u,c,l,d,f="function"==typeof e&&e,p=!i&&a(e=f.selector||e);if(n=n||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=Y.needsContext.test(e)?0:u.length;o--&&(c=u[o],!r.relative[l=c.type]);)if((d=r.find[l])&&(i=d(c.matches[0].replace(te,ne),ee.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ye(u)))return P.apply(n,i),n;break}}return(f||s(e,p))(i,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=x.split("").sort(A).join("")===x,n.detectDuplicates=!!d,f(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),le((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&le((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||de(M,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(n);j.find=E,j.expr=E.selectors,j.expr[":"]=j.expr.pseudos,j.uniqueSort=j.unique=E.uniqueSort,j.text=E.getText,j.isXMLDoc=E.isXML,j.contains=E.contains,j.escapeSelector=E.escape;var S=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&j(e).is(n))break;r.push(e)}return r},k=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=j.expr.match.needsContext;function _(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(e,t,n){return g(t)?j.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?j.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?j.grep(e,(function(e){return l.call(t,e)>-1!==n})):j.filter(t,e,n)}j.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?j.find.matchesSelector(r,e)?[r]:[]:j.find.matches(e,j.grep(t,(function(e){return 1===e.nodeType})))},j.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(j(e).filter((function(){for(t=0;t1?j.uniqueSort(n):n},filter:function(e){return this.pushStack(F(this,e||[],!1))},not:function(e){return this.pushStack(F(this,e||[],!0))},is:function(e){return!!F(this,"string"==typeof e&&A.test(e)?j(e):e||[],!1).length}});var R,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(j.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||R,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:P.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof j?t[0]:t,j.merge(this,j.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),D.test(r[1])&&j.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=y.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(j):j.makeArray(e,this)}).prototype=j.fn,R=j(y);var T=/^(?:parents|prev(?:Until|All))/,B={children:!0,contents:!0,next:!0,prev:!0};function M(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}j.fn.extend({has:function(e){var t=j(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&j.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?j.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?l.call(j(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(j.uniqueSort(j.merge(this.get(),j(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),j.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return S(e,"parentNode")},parentsUntil:function(e,t,n){return S(e,"parentNode",n)},next:function(e){return M(e,"nextSibling")},prev:function(e){return M(e,"previousSibling")},nextAll:function(e){return S(e,"nextSibling")},prevAll:function(e){return S(e,"previousSibling")},nextUntil:function(e,t,n){return S(e,"nextSibling",n)},prevUntil:function(e,t,n){return S(e,"previousSibling",n)},siblings:function(e){return k((e.parentNode||{}).firstChild,e)},children:function(e){return k(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(_(e,"template")&&(e=e.content||e),j.merge([],e.childNodes))}},(function(e,t){j.fn[e]=function(n,r){var i=j.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=j.filter(r,i)),this.length>1&&(B[e]||j.uniqueSort(i),T.test(e)&&i.reverse()),this.pushStack(i)}}));var N=/[^\x20\t\r\n\f]+/g;function I(e){return e}function L(e){throw e}function z(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}j.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return j.each(e.match(N)||[],(function(e,n){t[n]=!0})),t}(e):j.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?j.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},j.extend({Deferred:function(e){var t=[["notify","progress",j.Callbacks("memory"),j.Callbacks("memory"),2],["resolve","done",j.Callbacks("once memory"),j.Callbacks("once memory"),0,"resolved"],["reject","fail",j.Callbacks("once memory"),j.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return j.Deferred((function(n){j.each(t,(function(t,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var o=0;function a(e,t,r,i){return function(){var s=this,u=arguments,c=function(){var n,c;if(!(e=o&&(r!==L&&(s=void 0,u=[n]),t.rejectWith(s,u))}};e?l():(j.Deferred.getStackHook&&(l.stackTrace=j.Deferred.getStackHook()),n.setTimeout(l))}}return j.Deferred((function(n){t[0][3].add(a(0,n,g(i)?i:I,n.notifyWith)),t[1][3].add(a(0,n,g(e)?e:I)),t[2][3].add(a(0,n,g(r)?r:L))})).promise()},promise:function(e){return null!=e?j.extend(e,i):i}},o={};return j.each(t,(function(e,n){var a=n[2],s=n[5];i[n[1]]=a.add,s&&a.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=j.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(z(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||g(i[n]&&i[n].then)))return o.then();for(;n--;)z(i[n],a(n),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;j.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&W.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},j.readyException=function(e){n.setTimeout((function(){throw e}))};var V=j.Deferred();function H(){y.removeEventListener("DOMContentLoaded",H),n.removeEventListener("load",H),j.ready()}j.fn.ready=function(e){return V.then(e).catch((function(e){j.readyException(e)})),this},j.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--j.readyWait:j.isReady)||(j.isReady=!0,!0!==e&&--j.readyWait>0||V.resolveWith(y,[j]))}}),j.ready.then=V.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(j.ready):(y.addEventListener("DOMContentLoaded",H),n.addEventListener("load",H));var U=function(e,t,n,r,i,o,a){var s=0,u=e.length,c=null==n;if("object"===O(n))for(s in i=!0,n)U(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,g(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(j(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),j.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Z.get(e,t),n&&(!r||Array.isArray(n)?r=Z.access(e,t,j.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=j.queue(e,t),r=n.length,i=n.shift(),o=j._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){j.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z.get(e,n)||Z.access(e,n,{empty:j.Callbacks("once memory").add((function(){Z.remove(e,[t+"queue",n])}))})}}),j.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ge=/^$|^module$|\/(?:java|ecma)script/i;pe=y.createDocumentFragment().appendChild(y.createElement("div")),(he=y.createElement("input")).setAttribute("type","radio"),he.setAttribute("checked","checked"),he.setAttribute("name","t"),pe.appendChild(he),b.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="",b.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="",b.option=!!pe.lastChild;var ve={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ye(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&_(e,t)?j.merge([e],n):n}function xe(e,t){for(var n=0,r=e.length;n",""]);var we=/<|&#?\w+;/;function Oe(e,t,n,r,i){for(var o,a,s,u,c,l,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p-1)i&&i.push(o);else if(c=ae(o),a=ye(d.appendChild(o),"script"),c&&xe(a),n)for(l=0;o=a[l++];)ge.test(o.type||"")&&n.push(o);return d}var je=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Ee(){return!1}function Se(e,t){return e===function(){try{return y.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ee;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return j().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=j.guid++)),e.each((function(){j.event.add(this,t,i,r,n)}))}function Ae(e,t,n){n?(Z.set(e,t,!1),j.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=Z.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(j.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),Z.set(this,t,o),r=n(this,t),this[t](),o!==(i=Z.get(this,t))||r?Z.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(Z.set(this,t,{value:j.event.trigger(j.extend(o[0],j.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Z.get(e,t)&&j.event.add(e,t,Ce)}j.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,c,l,d,f,p,h,m,b=Z.get(e);if(K(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&j.find.matchesSelector(oe,i),n.guid||(n.guid=j.guid++),(u=b.events)||(u=b.events=Object.create(null)),(a=b.handle)||(a=b.handle=function(t){return void 0!==j&&j.event.triggered!==t.type?j.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(N)||[""]).length;c--;)p=m=(s=je.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=j.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=j.event.special[p]||{},l=j.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&j.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=u[p])||((f=u[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,l):f.push(l),j.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,d,f,p,h,m,b=Z.hasData(e)&&Z.get(e);if(b&&(u=b.events)){for(c=(t=(t||"").match(N)||[""]).length;c--;)if(p=m=(s=je.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=j.event.special[p]||{},f=u[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)l=f[o],!i&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(e,l));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,b.handle)||j.removeEvent(e,p,b.handle),delete u[p])}else for(p in u)j.event.remove(e,p+t[c],n,r,!0);j.isEmptyObject(u)&&Z.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=j.event.fix(e),c=(Z.get(this,"events")||Object.create(null))[u.type]||[],l=j.event.special[u.type]||{};for(s[0]=u,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n-1:j.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,u\s*$/g;function Re(e,t){return _(e,"table")&&_(11!==t.nodeType?t:t.firstChild,"tr")&&j(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Te(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Be(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Z.hasData(e)&&(s=Z.get(e).events))for(i in Z.remove(t,"handle events"),s)for(n=0,r=s[i].length;n1&&"string"==typeof h&&!b.checkClone&&De.test(h))return e.each((function(i){var o=e.eq(i);m&&(t[0]=h.call(this,i,o.html())),Ne(o,t,n,r)}));if(f&&(o=(i=Oe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=j.map(ye(i,"script"),Pe)).length;d0&&xe(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=j.event.special,o=0;void 0!==(n=e[o]);o++)if(K(n)){if(t=n[Z.expando]){if(t.events)for(r in t.events)i[r]?j.event.remove(n,r):j.removeEvent(n,r,t.handle);n[Z.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),j.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return U(this,(function(e){return void 0===e?j.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ne(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)}))},prepend:function(){return Ne(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ne(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ne(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(j.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return j.clone(this,e,t)}))},html:function(e){return U(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!_e.test(e)&&!ve[(be.exec(e)||["",""])[1].toLowerCase()]){e=j.htmlPrefilter(e);try{for(;n=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function tt(e,t,n){var r=ze(e),i=(!b.boxSizingReliable()||n)&&"border-box"===j.css(e,"boxSizing",!1,r),o=i,a=He(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Le.test(a)){if(!n)return a;a="auto"}return(!b.boxSizingReliable()&&i||!b.reliableTrDimensions()&&_(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===j.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===j.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+et(e,t,n||(i?"border":"content"),o,r,a)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}j.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=He(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Y(t),u=Xe.test(t),c=e.style;if(u||(t=Ye(s)),a=j.cssHooks[t]||j.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=re.exec(n))&&i[1]&&(n=ce(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(j.cssNumber[s]?"":"px")),b.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=Y(t);return Xe.test(t)||(t=Ye(s)),(a=j.cssHooks[t]||j.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=He(e,t,r)),"normal"===i&&t in Qe&&(i=Qe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),j.each(["height","width"],(function(e,t){j.cssHooks[t]={get:function(e,n,r){if(n)return!Ke.test(j.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):We(e,Ze,(function(){return tt(e,t,r)}))},set:function(e,n,r){var i,o=ze(e),a=!b.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===j.css(e,"boxSizing",!1,o),u=r?et(e,t,r,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-et(e,t,"border",!1,o)-.5)),u&&(i=re.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=j.css(e,t)),Je(0,n,u)}}})),j.cssHooks.marginLeft=Ue(b.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-We(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),j.each({margin:"",padding:"",border:"Width"},(function(e,t){j.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ie[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(j.cssHooks[e+t].set=Je)})),j.fn.extend({css:function(e,t){return U(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=ze(e),i=t.length;a1)}}),j.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||j.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(j.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=j.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=j.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){j.fx.step[e.prop]?j.fx.step[e.prop](e):1!==e.elem.nodeType||!j.cssHooks[e.prop]&&null==e.elem.style[Ye(e.prop)]?e.elem[e.prop]=e.now:j.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},j.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},j.fx=nt.prototype.init,j.fx.step={};var rt,it,ot=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){it&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(st):n.setTimeout(st,j.fx.interval),j.fx.tick())}function ut(){return n.setTimeout((function(){rt=void 0})),rt=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ie[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each((function(){j.removeAttr(this,e)}))}}),j.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?j.prop(e,t,n):(1===o&&j.isXMLDoc(e)||(i=j.attrHooks[t.toLowerCase()]||(j.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void j.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=j.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!b.radioValue&&"radio"===t&&_(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(N);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?j.removeAttr(e,n):e.setAttribute(n,n),n}},j.each(j.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=pt[t]||j.find.attr;pt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=pt[a],pt[a]=i,i=null!=n(e,t,r)?a:null,pt[a]=o),i}}));var ht=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function bt(e){return(e.match(N)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}j.fn.extend({prop:function(e,t){return U(this,j.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[j.propFix[e]||e]}))}}),j.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&j.isXMLDoc(e)||(t=j.propFix[t]||t,i=j.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=j.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(j.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),j.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){j.propFix[this.toLowerCase()]=this})),j.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each((function(t){j(this).addClass(e.call(this,t,gt(this)))}));if((t=vt(e)).length)for(;n=this[u++];)if(i=gt(n),r=1===n.nodeType&&" "+bt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=bt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each((function(t){j(this).removeClass(e.call(this,t,gt(this)))}));if(!arguments.length)return this.attr("class","");if((t=vt(e)).length)for(;n=this[u++];)if(i=gt(n),r=1===n.nodeType&&" "+bt(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=bt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each((function(n){j(this).toggleClass(e.call(this,n,gt(this),t),t)})):this.each((function(){var t,i,o,a;if(r)for(i=0,o=j(this),a=vt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=gt(this))&&Z.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Z.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+bt(gt(n))+" ").indexOf(t)>-1)return!0;return!1}});var yt=/\r/g;j.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=g(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,j(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=j.map(i,(function(e){return null==e?"":e+""}))),(t=j.valHooks[this.type]||j.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=j.valHooks[i.type]||j.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(yt,""):null==n?"":n:void 0}}),j.extend({valHooks:{option:{get:function(e){var t=j.find.attr(e,"value");return null!=t?t:bt(j.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),j.each(["radio","checkbox"],(function(){j.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=j.inArray(j(e).val(),t)>-1}},b.checkOn||(j.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),b.focusin="onfocusin"in n;var xt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};j.extend(j.event,{trigger:function(e,t,r,i){var o,a,s,u,c,l,d,f,h=[r||y],m=p.call(e,"type")?e.type:e,b=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=r=r||y,3!==r.nodeType&&8!==r.nodeType&&!xt.test(m+j.event.triggered)&&(m.indexOf(".")>-1&&(b=m.split("."),m=b.shift(),b.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[j.expando]?e:new j.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=b.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:j.makeArray(t,[e]),d=j.event.special[m]||{},i||!d.trigger||!1!==d.trigger.apply(r,t))){if(!i&&!d.noBubble&&!v(r)){for(u=d.delegateType||m,xt.test(u+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(r.ownerDocument||y)&&h.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?u:d.bindType||m,(l=(Z.get(a,"events")||Object.create(null))[e.type]&&Z.get(a,"handle"))&&l.apply(a,t),(l=c&&a[c])&&l.apply&&K(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!K(r)||c&&g(r[m])&&!v(r)&&((s=r[c])&&(r[c]=null),j.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,wt),r[m](),e.isPropagationStopped()&&f.removeEventListener(m,wt),j.event.triggered=void 0,s&&(r[c]=s)),e.result}},simulate:function(e,t,n){var r=j.extend(new j.Event,n,{type:e,isSimulated:!0});j.event.trigger(r,null,t)}}),j.fn.extend({trigger:function(e,t){return this.each((function(){j.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return j.event.trigger(e,t,n,!0)}}),b.focusin||j.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){j.event.simulate(t,e.target,j.event.fix(e))};j.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=Z.access(r,t);i||r.addEventListener(e,n,!0),Z.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Z.access(r,t)-1;i?Z.access(r,t,i):(r.removeEventListener(e,n,!0),Z.remove(r,t))}}}));var Ot=n.location,jt={guid:Date.now()},Ct=/\?/;j.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||j.error("Invalid XML: "+(r?j.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Et=/\[\]$/,St=/\r?\n/g,kt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function _t(e,t,n,r){var i;if(Array.isArray(t))j.each(t,(function(t,i){n||Et.test(e)?r(e,i):_t(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==O(t))r(e,t);else for(i in t)_t(e+"["+i+"]",t[i],n,r)}j.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!j.isPlainObject(e))j.each(e,(function(){i(this.name,this.value)}));else for(n in e)_t(n,e[n],t,i);return r.join("&")},j.fn.extend({serialize:function(){return j.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=j.prop(this,"elements");return e?j.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!j(this).is(":disabled")&&At.test(this.nodeName)&&!kt.test(e)&&(this.checked||!me.test(e))})).map((function(e,t){var n=j(this).val();return null==n?null:Array.isArray(n)?j.map(n,(function(e){return{name:t.name,value:e.replace(St,"\r\n")}})):{name:t.name,value:n.replace(St,"\r\n")}})).get()}});var Dt=/%20/g,Ft=/#.*$/,Rt=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Tt=/^(?:GET|HEAD)$/,Bt=/^\/\//,Mt={},Nt={},It="*/".concat("*"),Lt=y.createElement("a");function zt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(N)||[];if(g(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Wt(e,t,n,r){var i={},o=e===Nt;function a(s){var u;return i[s]=!0,j.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(u=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Vt(e,t){var n,r,i=j.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&j.extend(!0,e,r),e}Lt.href=Ot.href,j.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ot.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ot.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":j.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,j.ajaxSettings),t):Vt(j.ajaxSettings,e)},ajaxPrefilter:zt(Mt),ajaxTransport:zt(Nt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,u,c,l,d,f,p=j.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?j(h):j.event,b=j.Deferred(),g=j.Callbacks("once memory"),v=p.statusCode||{},x={},w={},O="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Pt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||O;return r&&r.abort(t),E(0,t),this}};if(b.promise(C),p.url=((e||p.url||Ot.href)+"").replace(Bt,Ot.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(N)||[""],null==p.crossDomain){u=y.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=Lt.protocol+"//"+Lt.host!=u.protocol+"//"+u.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=j.param(p.data,p.traditional)),Wt(Mt,p,t,C),c)return C;for(d in(l=j.event&&p.global)&&0==j.active++&&j.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Tt.test(p.type),i=p.url.replace(Ft,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Dt,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Ct.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Rt,"$1"),f=(Ct.test(i)?"&":"?")+"_="+jt.guid+++f),p.url=i+f),p.ifModified&&(j.lastModified[i]&&C.setRequestHeader("If-Modified-Since",j.lastModified[i]),j.etag[i]&&C.setRequestHeader("If-None-Match",j.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+It+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,C,p)||c))return C.abort();if(O="abort",g.add(p.complete),C.done(p.success),C.fail(p.error),r=Wt(Nt,p,t,C)){if(C.readyState=1,l&&m.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(s=n.setTimeout((function(){C.abort("timeout")}),p.timeout));try{c=!1,r.send(x,E)}catch(e){if(c)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,a,u){var d,f,y,x,w,O=t;c||(c=!0,s&&n.clearTimeout(s),r=void 0,o=u||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(p,C,a)),!d&&j.inArray("script",p.dataTypes)>-1&&j.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),x=function(e,t,n,r){var i,o,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(p,x,C,d),d?(p.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(j.lastModified[i]=w),(w=C.getResponseHeader("etag"))&&(j.etag[i]=w)),204===e||"HEAD"===p.type?O="nocontent":304===e?O="notmodified":(O=x.state,f=x.data,d=!(y=x.error))):(y=O,!e&&O||(O="error",e<0&&(e=0))),C.status=e,C.statusText=(t||O)+"",d?b.resolveWith(h,[f,O,C]):b.rejectWith(h,[C,O,y]),C.statusCode(v),v=void 0,l&&m.trigger(d?"ajaxSuccess":"ajaxError",[C,p,d?f:y]),g.fireWith(h,[C,O]),l&&(m.trigger("ajaxComplete",[C,p]),--j.active||j.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return j.get(e,t,n,"json")},getScript:function(e,t){return j.get(e,void 0,t,"script")}}),j.each(["get","post"],(function(e,t){j[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),j.ajax(j.extend({url:e,type:t,dataType:i,data:n,success:r},j.isPlainObject(e)&&e))}})),j.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),j._evalUrl=function(e,t,n){return j.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){j.globalEval(e,t,n)}})},j.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=j(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){j(this).wrapInner(e.call(this,t))})):this.each((function(){var t=j(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){j(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){j(this).replaceWith(this.childNodes)})),this}}),j.expr.pseudos.hidden=function(e){return!j.expr.pseudos.visible(e)},j.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},j.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Ht={0:200,1223:204},Ut=j.ajaxSettings.xhr();b.cors=!!Ut&&"withCredentials"in Ut,b.ajax=Ut=!!Ut,j.ajaxTransport((function(e){var t,r;if(b.cors||Ut&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ht[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),j.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),j.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return j.globalEval(e),e}}}),j.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),j.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=j("