diff --git a/code/__DEFINES/misc.dm b/code/__DEFINES/misc.dm index 0bf66ff143d..ee9f75b8798 100644 --- a/code/__DEFINES/misc.dm +++ b/code/__DEFINES/misc.dm @@ -523,3 +523,16 @@ /// Disposal: How frequently disposals can make sounds, to prevent huge sound stacking #define DISPOSAL_SOUND_COOLDOWN (0.1 SECONDS) +/// Mech Subtypes +#define MECH_TYPE_NONE (1<<0) +#define MECH_TYPE_RIPLEY (1<<1) +#define MECH_TYPE_CLARKE (1<<2) +#define MECH_TYPE_ODYSSEUS (1<<3) +#define MECH_TYPE_GYGAX (1<<4) +#define MECH_TYPE_DURAND (1<<5) +#define MECH_TYPE_PHAZON (1<<6) +#define MECH_TYPE_HONKER (1<<7) +#define MECH_TYPE_RETICENCE (1<<8) +#define MECH_TYPE_LOCKER (1<<9) +#define MECH_TYPE_MARAUDER (1<<10) +#define MECH_TYPE_SIDEWINTER (1<<11) diff --git a/code/game/machinery/computer/syndie_cargo.dm b/code/game/machinery/computer/syndie_cargo.dm index d9b05135b90..9e841c403a3 100644 --- a/code/game/machinery/computer/syndie_cargo.dm +++ b/code/game/machinery/computer/syndie_cargo.dm @@ -306,7 +306,7 @@ GLOBAL_LIST_INIT(data_storages, list()) //list of all cargo console data storage var/turf/T = pick_n_take(spawnTurfs) //turf we will place it in for(var/obj/machinery/syndiepad/recieving_pad as anything in recievingPads) recieving_pad.use_power(10000 / recieving_pad.power_efficiency) - flick("sqpad-beam", recieving_pad ) + flick("[initial(recieving_pad.icon_state)]-beam", recieving_pad) playsound(get_turf(recieving_pad), 'sound/weapons/emitter2.ogg', 25, TRUE) if(!T) diff --git a/code/game/machinery/constructable_frame.dm b/code/game/machinery/constructable_frame.dm index be03be6937e..01e0baaca4b 100644 --- a/code/game/machinery/constructable_frame.dm +++ b/code/game/machinery/constructable_frame.dm @@ -1016,6 +1016,19 @@ to destroy them and players will be able to make replacements. /obj/item/stack/ore/bluespace_crystal = 5, /obj/item/stack/cable_coil = 15) +/obj/item/circuitboard/advanced_roboquest_pad + board_name = "Robotics Request Advanced Quantum Pad" + icon_state = "abductor_mod" + build_path = /obj/machinery/roboquest_pad/advanced + board_type = "machine" + origin_tech = "programming=4;engineering=5;plasmatech=5;bluespace=6" + req_components = list( + /obj/item/stack/ore/bluespace_crystal = 5, + /obj/item/stock_parts/capacitor/purple = 1, + /obj/item/stock_parts/manipulator/purple = 1, + /obj/item/stock_parts/scanning_module/purple = 1, + /obj/item/stack/cable_coil = 15) + /obj/item/circuitboard/sleeper board_name = "Sleeper" build_path = /obj/machinery/sleeper diff --git a/code/game/machinery/quantum_pad.dm b/code/game/machinery/quantum_pad.dm index 58c288a2464..df5f2064063 100644 --- a/code/game/machinery/quantum_pad.dm +++ b/code/game/machinery/quantum_pad.dm @@ -2,7 +2,7 @@ name = "quantum pad" desc = "A bluespace quantum-linked telepad used for teleporting objects to other quantum pads." icon = 'icons/obj/telescience.dmi' - icon_state = "qpad-idle" + icon_state = "qpad" anchored = TRUE use_power = IDLE_POWER_USE idle_power_usage = 200 @@ -79,7 +79,7 @@ . = TRUE if(!I.tool_use_check(user, 0)) return - default_deconstruction_screwdriver(user, "pad-idle-o", "qpad-idle", I) + default_deconstruction_screwdriver(user, "pad-o", initial(icon_state), I) /obj/machinery/quantumpad/attack_hand(mob/user) if(panel_open) @@ -141,9 +141,9 @@ sparks() linked_pad.sparks() - flick("qpad-beam", src) + flick("[initial(icon_state)]-beam", src) playsound(get_turf(src), 'sound/weapons/emitter2.ogg', 25, TRUE) - flick("qpad-beam", linked_pad) + flick("[initial(linked_pad.icon_state)]-beam", linked_pad) playsound(get_turf(linked_pad), 'sound/weapons/emitter2.ogg', 25, TRUE) var/tele_success = TRUE for(var/atom/movable/ROI in get_turf(src)) diff --git a/code/game/machinery/syndiepad.dm b/code/game/machinery/syndiepad.dm index 478666b3e0a..fb468ad4168 100644 --- a/code/game/machinery/syndiepad.dm +++ b/code/game/machinery/syndiepad.dm @@ -2,7 +2,7 @@ name = "Syndicate quantum pad" desc = "Syndicate redspace quantumpads! Can transport goods through galaxies and completely ignores bluespace interference!" icon = 'icons/obj/telescience.dmi' - icon_state = "sqpad-idle" + icon_state = "sqpad" anchored = TRUE use_power = IDLE_POWER_USE idle_power_usage = 200 @@ -144,7 +144,7 @@ . = TRUE if(!I.tool_use_check(user, 0)) return - default_deconstruction_screwdriver(user, "pad-idle-o", "sqpad-idle", I) + default_deconstruction_screwdriver(user, "pad-o", initial(icon_state), I) /obj/machinery/syndiepad/proc/pad_sync() for(var/obj/machinery/syndiepad/S in GLOB.machines) @@ -235,9 +235,9 @@ use_power(10000 / power_efficiency) sparks() linked_pad.sparks() - flick("sqpad-beam", src) + flick("[initial(icon_state)]-beam", src) playsound(get_turf(src), 'sound/weapons/emitter2.ogg', 25, TRUE) - flick("sqpad-beam", linked_pad) + flick("[initial(linked_pad.icon_state)]-beam", linked_pad) playsound(get_turf(linked_pad), 'sound/weapons/emitter2.ogg', 25, TRUE) var/tele_success = FALSE diff --git a/code/game/mecha/combat/durand.dm b/code/game/mecha/combat/durand.dm index b4eb22d7cda..8f1a832df19 100644 --- a/code/game/mecha/combat/durand.dm +++ b/code/game/mecha/combat/durand.dm @@ -14,6 +14,8 @@ force = 40 wreckage = /obj/structure/mecha_wreckage/durand + mech_type = MECH_TYPE_DURAND + /obj/mecha/combat/durand/GrantActions(mob/living/user, human_occupant = 0) ..() defense_action.Grant(user, src) diff --git a/code/game/mecha/combat/gygax.dm b/code/game/mecha/combat/gygax.dm index 93ee3d2f5d6..178b39e1fbf 100644 --- a/code/game/mecha/combat/gygax.dm +++ b/code/game/mecha/combat/gygax.dm @@ -19,6 +19,8 @@ step_energy_drain = 3 normal_step_energy_drain = 3 + mech_type = MECH_TYPE_GYGAX + /obj/mecha/combat/gygax/GrantActions(mob/living/user, human_occupant = 0) ..() overload_action.Grant(user, src) diff --git a/code/game/mecha/combat/honker.dm b/code/game/mecha/combat/honker.dm index 119ef2defb4..b9fd765b711 100644 --- a/code/game/mecha/combat/honker.dm +++ b/code/game/mecha/combat/honker.dm @@ -18,6 +18,8 @@ starting_voice = /obj/item/mecha_modkit/voice/honk var/squeak = 0 + mech_type = MECH_TYPE_HONKER + /obj/mecha/combat/honker/loaded/New() ..() var/obj/item/mecha_parts/mecha_equipment/ME = new /obj/item/mecha_parts/mecha_equipment/weapon/honker diff --git a/code/game/mecha/combat/marauder.dm b/code/game/mecha/combat/marauder.dm index 6a893993bb6..2f5612a33ab 100644 --- a/code/game/mecha/combat/marauder.dm +++ b/code/game/mecha/combat/marauder.dm @@ -20,6 +20,8 @@ destruction_sleep_duration = 2 SECONDS strafe_allowed = TRUE + mech_type = MECH_TYPE_MARAUDER + /obj/mecha/combat/marauder/GrantActions(mob/living/user, human_occupant = 0) . = ..() thrusters_action.Grant(user, src) diff --git a/code/game/mecha/combat/phazon.dm b/code/game/mecha/combat/phazon.dm index f73c2d6710c..846b55d0c6c 100644 --- a/code/game/mecha/combat/phazon.dm +++ b/code/game/mecha/combat/phazon.dm @@ -20,6 +20,8 @@ phase_state = "phazon-phase" max_equip = 3 + mech_type = MECH_TYPE_PHAZON + /obj/mecha/combat/phazon/GrantActions(mob/living/user, human_occupant = 0) ..() phasing_action.Grant(user, src) diff --git a/code/game/mecha/combat/reticence.dm b/code/game/mecha/combat/reticence.dm index 7a6384e28f9..c75f28c795e 100644 --- a/code/game/mecha/combat/reticence.dm +++ b/code/game/mecha/combat/reticence.dm @@ -21,6 +21,8 @@ turnsound = null starting_voice = /obj/item/mecha_modkit/voice/silent + mech_type = MECH_TYPE_RETICENCE + /obj/mecha/combat/reticence/loaded/New() ..() var/obj/item/mecha_parts/mecha_equipment/ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/carbine/silenced diff --git a/code/game/mecha/combat/sidewinder.dm b/code/game/mecha/combat/sidewinder.dm index c04fea4c8a8..fdd825087bc 100644 --- a/code/game/mecha/combat/sidewinder.dm +++ b/code/game/mecha/combat/sidewinder.dm @@ -16,6 +16,8 @@ max_equip = 40 //а хули вы хотели, 60 тонн! starting_voice = /obj/item/mecha_modkit/voice/nanotrasen + mech_type = MECH_TYPE_SIDEWINTER + /obj/mecha/combat/sidewinder/add_cell() cell = new /obj/item/stock_parts/cell/infinite/abductor(src) diff --git a/code/game/mecha/makeshift/lockermech.dm b/code/game/mecha/makeshift/lockermech.dm index 2b336c7b7a9..1aee25e82eb 100644 --- a/code/game/mecha/makeshift/lockermech.dm +++ b/code/game/mecha/makeshift/lockermech.dm @@ -15,6 +15,8 @@ cargo_capacity = 5 // you can fit a few things in this locker but not much. + mech_type = MECH_TYPE_LOCKER + /obj/mecha/makeshift/Destroy() new /obj/structure/closet(loc) diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index a6c0dd1f3df..716c499ae69 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -121,6 +121,9 @@ ///Is mecha strafing currently var/strafe = FALSE + ///Mech subtype. Currently used in paintkits. + var/mech_type = MECH_TYPE_NONE + hud_possible = list (DIAG_STAT_HUD, DIAG_BATT_HUD, DIAG_MECH_HUD, DIAG_TRACK_HUD) /obj/mecha/Initialize() @@ -913,15 +916,12 @@ if(occupant) to_chat(user, span_warning("You can't customize a mech while someone is piloting it - that would be unsafe!")) return ATTACK_CHAIN_PROCEED + var/obj/item/paintkit/paintkit = I - var/found = FALSE - for(var/type in paintkit.allowed_types) - if(type == initial_icon) - found = TRUE - break - if(!found) + if(!(paintkit.allowed_types & mech_type)) to_chat(user, span_warning("This paintkit isn't meant for use on this class of exosuit.")) return ATTACK_CHAIN_PROCEED + if(!user.drop_transfer_item_to_loc(paintkit, src)) return ..() user.visible_message(span_notice("[user] opens [paintkit] and spends some quality time customising [name].")) diff --git a/code/game/mecha/medical/odysseus.dm b/code/game/mecha/medical/odysseus.dm index 19a206986bb..6427ac4639d 100644 --- a/code/game/mecha/medical/odysseus.dm +++ b/code/game/mecha/medical/odysseus.dm @@ -14,6 +14,8 @@ normal_step_energy_drain = 6 var/builtin_hud_user = 0 + mech_type = MECH_TYPE_ODYSSEUS + /obj/mecha/medical/odysseus/moved_inside(var/mob/living/carbon/human/H) . = ..() if(. && ishuman(H)) diff --git a/code/game/mecha/paintkits.dm b/code/game/mecha/paintkits.dm index bd18a162955..316fd2ae210 100644 --- a/code/game/mecha/paintkits.dm +++ b/code/game/mecha/paintkits.dm @@ -10,7 +10,7 @@ var/new_desc = "A mech." //How is the new mech described? var/new_icon = "ripley" //What base icon will the new mech use? var/removable = null //Can the kit be removed? - var/list/allowed_types = list() //Types of mech that the kit will work on. + var/allowed_types = NONE //Types of mech that the kit will work on. //If you want to add new paintkit, grab a paintkit sprite from: "icons/obj/paintkit.dmi" or make a new one //Then throw the sprites of the new mecha skin to the "icons/obj/mecha/mecha.dmi and add a new object below" @@ -23,7 +23,7 @@ new_name = "APLU \"Titan's Fist\"" new_desc = "This ordinary mining Ripley has been customized to look like a unit of the Titans Fist." new_icon = "titan" - allowed_types = list("ripley", "firefighter") + allowed_types = MECH_TYPE_RIPLEY /obj/item/paintkit/ripley_mercenary name = "APLU \"Strike the Earth!\" customisation kit" @@ -34,7 +34,7 @@ new_name = "APLU \"Strike the Earth!\"" new_desc = "Looks like an over worked, under maintained Ripley with some horrific damage." new_icon = "earth" - allowed_types = list("ripley", "firefighter") + allowed_types = MECH_TYPE_RIPLEY /obj/item/paintkit/gygax_syndie name = "Syndicate Gygax customisation kit" @@ -44,7 +44,7 @@ new_name = "Black Gygax" new_desc = "Why does this thing have a Syndicate logo on it? Wait a second..." new_icon = "gygax_black" - allowed_types = list("gygax") + allowed_types = MECH_TYPE_GYGAX /obj/item/paintkit/gygax_alt name = "Old gygax customisation kit" @@ -54,7 +54,7 @@ new_name = "Old Gygax" new_desc = "An outdated security exosuit. It is a real achievement to find a preserved exosuit of this model." new_icon = "gygax_alt" - allowed_types = list("gygax") + allowed_types = MECH_TYPE_GYGAX /obj/item/paintkit/ripley_red name = "APLU \"Firestarter\" customisation kit" @@ -64,7 +64,7 @@ new_name = "APLU \"Firestarter\"" new_desc = "A standard APLU exosuit with stylish orange flame decals." new_icon = "ripley_flames_red" - allowed_types = list("ripley", "firefighter") + allowed_types = MECH_TYPE_RIPLEY /obj/item/paintkit/firefighter_Hauler name = "APLU \"Hauler\" customisation kit" @@ -74,7 +74,7 @@ new_name = "APLU \"Hauler\"" new_desc = "An old engineering exosuit. For lovers of classics." new_icon = "hauler" - allowed_types = list("ripley", "firefighter") + allowed_types = MECH_TYPE_RIPLEY /obj/item/paintkit/durand_shire name = "Durand \"Shire\" modification kit" @@ -84,7 +84,7 @@ new_name = "Shire" new_desc = "An incredibly heavy-duty war machine derived from an Interstellar War design." new_icon = "shire" - allowed_types = list("durand") + allowed_types = MECH_TYPE_DURAND /obj/item/paintkit/durand_executor name = "Durand \"Executioner\" modification kit" @@ -94,7 +94,7 @@ new_name = "mk.V Executioner" new_desc = "Dreadnought of the Executioner Order, heavy fire support configuration, made for purge evil and heretics." new_icon = "executor" - allowed_types = list("durand") + allowed_types = MECH_TYPE_DURAND /obj/item/paintkit/firefighter_zairjah name = "APLU \"Zairjah\" customisation kit" @@ -104,7 +104,7 @@ new_name = "APLU \"Zairjah\"" new_desc = "A mining mecha of custom design, a closed cockpit with powerloader appendages." new_icon = "ripley_zairjah" - allowed_types = list("ripley", "firefighter") + allowed_types = MECH_TYPE_RIPLEY /obj/item/paintkit/firefighter_combat name = "APLU \"Combat Ripley\" customisation kit" @@ -114,7 +114,7 @@ new_name = "APLU \"Combat Ripley\"" new_desc = "Wait a second, why does his equipment slots spark so dangerously?" new_icon = "combatripley" - allowed_types = list("ripley", "firefighter") + allowed_types = MECH_TYPE_RIPLEY /obj/item/paintkit/firefighter_Reaper name = "APLU \"Reaper\" customisation kit" @@ -124,7 +124,7 @@ new_name = "APLU \"Reaper\"" new_desc = "OH SHIT IT'S THE DEATHSQUAD WE'RE ALL GONNA D- Stop, it's just a painted firefighter." new_icon = "deathripley" - allowed_types = list("ripley", "firefighter") + allowed_types = MECH_TYPE_RIPLEY /obj/item/paintkit/odysseus_hermes name = "Odysseus \"Hermes\" customisation kit" @@ -134,7 +134,7 @@ new_name = "Hermes" new_desc = "Heavy-duty diving exosuit developed and produced for for highly specialized underwater operations. How did he end up here?" new_icon = "hermes" - allowed_types = list("odysseus") + allowed_types = MECH_TYPE_ODYSSEUS /obj/item/paintkit/durand_unathi name = "Durand \"Kharn MK. IV\" customisation kit" @@ -144,7 +144,7 @@ new_name = "Kharn MK. IV" new_desc = "My life for the empress!" new_icon = "unathi" - allowed_types = list("durand") + allowed_types = MECH_TYPE_DURAND /obj/item/paintkit/phazon_imperion name = "Phazon \"Imperion\" customisation kit" @@ -154,7 +154,7 @@ new_name = "Imperion" new_desc = "The pinnacle of scientific research and pride of Nanotrasen, it uses cutting edge bluespace technology and expensive materials." new_icon = "imperion" - allowed_types = list("phazon") + allowed_types = MECH_TYPE_PHAZON /obj/item/paintkit/phazon_janus name = "Phazon \"Janus\" customisation kit" @@ -164,7 +164,7 @@ new_name = "Janus" new_desc = "The pinnacle of scientific research and pride of Nanotrasen, it uses cutting edge bluespace technology and expensive materials." new_icon = "janus" - allowed_types = list("phazon") + allowed_types = MECH_TYPE_PHAZON /obj/item/paintkit/phazon_plazmus name = "Phazon \"Plazmus\" customisation kit" @@ -174,7 +174,7 @@ new_name = "Plazmus" new_desc = "So, you combined two of the most dangerous technologies into this thing?" new_icon = "plazmus" - allowed_types = list("phazon") + allowed_types = MECH_TYPE_PHAZON /obj/item/paintkit/phazon_blanco name = "Phazon \"Blanco\" customisation kit" @@ -184,7 +184,7 @@ new_name = "Blanco" new_desc = "It took more than six months of work to find the perfect pastel colors for this mech" new_icon = "phazon_blanco" - allowed_types = list("phazon") + allowed_types = MECH_TYPE_PHAZON /obj/item/paintkit/firefighter_aluminizer name = "APLU \"Aluminizer\" customisation kit" @@ -194,7 +194,7 @@ new_name = "Aluminizer" new_desc = "Did you just painted your Ripley white? It looks good." new_icon = "aluminizer" - allowed_types = list("ripley", "firefighter") + allowed_types = MECH_TYPE_RIPLEY /obj/item/paintkit/odysseus_death name = "Odysseus \"Reaper\" customisation kit" @@ -204,7 +204,7 @@ new_name = "Reaper" new_desc = "OH SHIT IT'S THE DEATHSQUAD WE'RE ALL GONNA... get a bad medical treatment?" new_icon = "murdysseus" - allowed_types = list("odysseus") + allowed_types = MECH_TYPE_ODYSSEUS /obj/item/paintkit/durand_soviet name = "Durand \"Dollhouse\" customisation kit" @@ -214,7 +214,7 @@ new_name = "Doll House" new_desc = "A extremely heavy-duty combat mech designed in USSP. Glory to Space Russia!" new_icon = "dollhouse" - allowed_types = list("durand") + allowed_types = MECH_TYPE_DURAND /obj/item/paintkit/clarke_orangey name = "Clarke \"Orangey\" customisation kit" @@ -224,7 +224,7 @@ new_name = "Orangey" new_desc = "Did you just painted your Clarke orange? It looks quite nice." new_icon = "orangey" - allowed_types = list("clarke") + allowed_types = MECH_TYPE_CLARKE /obj/item/paintkit/clarke_spiderclarke name = "Clarke \"Spiderclarke\" customisation kit" @@ -234,7 +234,7 @@ new_name = "Spiderclarke" new_desc = "Heavy mining exo-suit coated with chitin. Isn't that a giant spider's scalp on his visor?" new_icon = "spiderclarke" - allowed_types = list("clarke") + allowed_types = MECH_TYPE_CLARKE /obj/item/paintkit/gygax_pobeda name = "Gygax \"Pobeda\" customisation kit" @@ -244,7 +244,7 @@ new_name = "Pobeda" new_desc = "A heavy-duty old Gygax designed and painted in USSP. Glory to Space Russia!" new_icon = "pobeda" - allowed_types = list("gygax") + allowed_types = MECH_TYPE_GYGAX /obj/item/paintkit/gygax_white name = "White Gygax customisation kit" @@ -254,7 +254,7 @@ new_name = "White Gygax" new_desc = "Did you just painted your Gygax white? I like it." new_icon = "medigax" - allowed_types = list("gygax") + allowed_types = MECH_TYPE_GYGAX /obj/item/paintkit/gygax_medgax name = "Gygax \"medgax\" customisation kit" @@ -264,7 +264,7 @@ new_name = "Medgax" new_desc = "OH SHIT THERE IS A COMBAT MECH IN THE HOSPITAL IT'S GONNA KILL US" new_icon = "medgax" - allowed_types = list("gygax") + allowed_types = MECH_TYPE_GYGAX /obj/item/paintkit/lockermech_syndie name = "Syndie Locker Mech customisation kit" @@ -274,7 +274,7 @@ new_name = "Syndie Locker Mech" new_desc = "Dark-red painted locker mech. The paint is still wet." new_icon = "syndielockermech" - allowed_types = list("lockermech") + allowed_types = MECH_TYPE_LOCKER /obj/item/paintkit/gygax_pirate name = "Pirate Gygax customisation kit" @@ -283,7 +283,7 @@ new_name = "Pirate Gygax" new_icon = "piratgygax" - allowed_types = list("gygax") + allowed_types = MECH_TYPE_GYGAX /obj/item/paintkit/lockermech_pirate name = "Pirate Locker Mech customisation kit" @@ -292,7 +292,7 @@ new_name = "Pirate Locker Mech" new_icon = "piratlockermech" - allowed_types = list("lockermech") + allowed_types = MECH_TYPE_LOCKER /obj/item/paintkit/durand_pirate name = "Pirate Durand customisation kit" @@ -301,7 +301,7 @@ new_name = "Pirate Durand" new_icon = "piratdurand" - allowed_types = list("durand") + allowed_types = MECH_TYPE_DURAND /obj/item/paintkit/mauler_pirate name = "Pirate Mauler customisation kit" @@ -310,7 +310,7 @@ new_name = "Pirate Mauler" new_icon = "piratmauler" - allowed_types = list("mauler") + allowed_types = MECH_TYPE_MARAUDER /obj/item/paintkit/lockermech_nt name = "NT Special Locker Mech customisation kit" @@ -319,7 +319,7 @@ new_name = "NT Special Locker Mech" new_icon = "ntlockermech" - allowed_types = list("lockermech") + allowed_types = MECH_TYPE_LOCKER /obj/item/paintkit/durand_nt name = "NT Special Durand customisation kit" @@ -328,7 +328,7 @@ new_name = "NT Special Durand" new_icon = "ntdurand" - allowed_types = list("durand") + allowed_types = MECH_TYPE_DURAND /obj/item/paintkit/ripley_nt name = "NT Special APLU customisation kit" @@ -337,7 +337,7 @@ new_name = "NT Special APLU" new_icon = "ntripley" - allowed_types = list("ripley", "firefighter") + allowed_types = MECH_TYPE_RIPLEY /obj/item/paintkit/phazon_nt name = "NT Special Phazon customisation kit" @@ -346,7 +346,7 @@ new_name = "NT Special Phazon" new_icon = "ntphazon" - allowed_types = list("phazon") + allowed_types = MECH_TYPE_PHAZON /obj/item/paintkit/ashed name = "Ashed customisation kit" @@ -355,4 +355,53 @@ new_name = "Ashed Mech" new_prefix = "ashed" - allowed_types = list("durand", "ripley", "gygax", "phazon", "lockermech") + allowed_types = MECH_TYPE_RIPLEY|MECH_TYPE_GYGAX|MECH_TYPE_DURAND|MECH_TYPE_PHAZON|MECH_TYPE_LOCKER + + +// Universal paintkit +/obj/item/universal_paintkit + name = "universal customisation kit" + desc = "A kit containing all the needed tools and parts to repaint the mech as many times as they wish." + icon = 'icons/obj/paintkit.dmi' + icon_state = "paintkit" + +/obj/item/universal_paintkit/attack_obj(obj/object, mob/living/user, params) + if(!ismecha(object)) + return ..() + + var/obj/mecha/mech = object + if(mech.occupant) + to_chat(user, span_warning("You can't customize a mech while someone is piloting it - that would be unsafe!")) + return ATTACK_CHAIN_PROCEED + + var/list/possibilities = list() + for(var/path in subtypesof(/obj/item/paintkit)) + var/obj/item/paintkit/kit = new path + + if(kit.allowed_types & mech.mech_type) + possibilities += kit + + if(isemptylist(possibilities)) + to_chat(user, span_warning("There are no skins for this mech type!")) + return ATTACK_CHAIN_PROCEED + + INVOKE_ASYNC(src, PROC_REF(choose_paint), user, mech, possibilities) + return ATTACK_CHAIN_BLOCKED_ALL + + +/obj/item/universal_paintkit/proc/choose_paint(mob/living/user, obj/mecha/mech, list/possibilities) + var/choice = tgui_input_list(user, "Pick your skin for mech.", "Paints", possibilities) + if(!choice || user.incapacitated() || !user.is_in_hands(src) || !user.Adjacent(mech)) + return + + user.visible_message(span_notice("[user] opens [src] and customises [mech.name].")) + + var/obj/item/paintkit/chosen_kit = choice + if(chosen_kit.new_prefix) + mech.initial_icon = "[chosen_kit.new_prefix][initial(mech.initial_icon)]" //weird but ok + else + mech.initial_icon = chosen_kit.new_icon + + mech.name = chosen_kit.new_name + mech.desc = chosen_kit.new_desc + mech.update_icon(UPDATE_ICON_STATE) diff --git a/code/game/mecha/working/clarke.dm b/code/game/mecha/working/clarke.dm index 0544fb386e1..84af825bad5 100644 --- a/code/game/mecha/working/clarke.dm +++ b/code/game/mecha/working/clarke.dm @@ -18,6 +18,8 @@ stepsound = 'sound/mecha/mechmove04.ogg' turnsound = 'sound/mecha/mechmove04.ogg' + mech_type = MECH_TYPE_CLARKE + /obj/mecha/working/clarke/GrantActions(mob/living/user, human_occupant = 0) . = ..() thrusters_action.Grant(user, src) diff --git a/code/game/mecha/working/ripley.dm b/code/game/mecha/working/ripley.dm index d395596ad31..fa7255d1147 100644 --- a/code/game/mecha/working/ripley.dm +++ b/code/game/mecha/working/ripley.dm @@ -16,6 +16,8 @@ var/hides = 0 var/plates = 0 + mech_type = MECH_TYPE_RIPLEY + /obj/mecha/working/ripley/Destroy() for(var/i=1, i <= hides, i++) diff --git a/code/game/objects/items/devices/machineprototype.dm b/code/game/objects/items/devices/machineprototype.dm index 7bfed75c1d4..062676b0280 100644 --- a/code/game/objects/items/devices/machineprototype.dm +++ b/code/game/objects/items/devices/machineprototype.dm @@ -5,3 +5,9 @@ icon_state = "machineprototype" materials = list(MAT_METAL=1000, MAT_GLASS=500) origin_tech = "engineering=6" + +/obj/item/machineprototype/alien + name = "unknown alien prototype" + icon_state = "ayyy_prototype" + desc = "A complicated alien machine of unknown origin. You have no idea how it works." + origin_tech = "materials=7;abductor=5" diff --git a/code/game/objects/items/weapons/stock_parts.dm b/code/game/objects/items/weapons/stock_parts.dm index d7d08a8b7fc..fca2cfa2c01 100644 --- a/code/game/objects/items/weapons/stock_parts.dm +++ b/code/game/objects/items/weapons/stock_parts.dm @@ -60,6 +60,14 @@ new /obj/item/stock_parts/scanning_module/triphasic(src) new /obj/item/stock_parts/cell/bluespace(src) +/obj/item/storage/part_replacer/bluespace/experimental/populate_contents() + for(var/amount in 1 to 10) + new /obj/item/stock_parts/capacitor/purple(src) + new /obj/item/stock_parts/manipulator/purple(src) + new /obj/item/stock_parts/matter_bin/purple(src) + new /obj/item/stock_parts/micro_laser/purple(src) + new /obj/item/stock_parts/scanning_module/purple(src) + /obj/item/storage/part_replacer/bluespace/drop_inventory(mob/user) if(user.a_intent == INTENT_HARM) //Меняем режим выгрузки empty_mode -= 1 @@ -272,7 +280,7 @@ name = "experimental capacitor" desc = "An capacity capacitor used in the construction of a variety of devices." icon_state = "ps_capacitor" - origin_tech = "powerstorage=5;materials=4;engineering=4" + origin_tech = "powerstorage=6;materials=5;engineering=5" rating = 5 materials = list(MAT_METAL=50, MAT_GLASS=50) @@ -280,7 +288,7 @@ name = "experimental scanning module" desc = "A compact, ultra resolution triphasic scanning module used in the construction of certain devices." icon_state = "ps_scan_module" - origin_tech = "magnets=5;materials=4;engineering=4" + origin_tech = "magnets=5;materials=5;engineering=5" rating = 5 materials = list(MAT_METAL=50, MAT_GLASS=20) @@ -288,7 +296,7 @@ name = "experimental manipulator" desc = "A tiny little manipulator used in the construction of certain devices." icon_state = "ps_mani" - origin_tech = "materials=6;programming=4;engineering=4" + origin_tech = "materials=6;programming=5;engineering=5" rating = 5 materials = list(MAT_METAL=30) @@ -296,7 +304,7 @@ name = "experimental micro-laser" icon_state = "ps_micro_laser" desc = "A tiny laser used in certain devices." - origin_tech = "magnets=5;materials=4;engineering=4" + origin_tech = "magnets=6;materials=5;engineering=5" rating = 5 materials = list(MAT_METAL=10, MAT_GLASS=20) @@ -304,7 +312,7 @@ name = "experimental matter bin" desc = "A container for hold compressed matter awaiting re-construction." icon_state = "ps_matter_bin" - origin_tech = "materials=6;programming=4;engineering=4" + origin_tech = "materials=6;programming=5;engineering=5" rating = 5 materials = list(MAT_METAL=80) diff --git a/code/modules/asset_cache/assets/asset_roboquest.dm b/code/modules/asset_cache/assets/asset_roboquest.dm index 17b64b40b05..32a85d18fcc 100644 --- a/code/modules/asset_cache/assets/asset_roboquest.dm +++ b/code/modules/asset_cache/assets/asset_roboquest.dm @@ -1,5 +1,6 @@ /datum/asset/spritesheet/roboquest name = "roboquest" + cross_round_cachable = FALSE /datum/asset/spritesheet/roboquest/create_spritesheets() for(var/equip_path in subtypesof(/obj/item/mecha_parts/mecha_equipment)) diff --git a/code/modules/economy/robotic_quests/robo_quest_console.dm b/code/modules/economy/robotic_quests/robo_quest_console.dm index 4ac49cef500..87aa793c665 100644 --- a/code/modules/economy/robotic_quests/robo_quest_console.dm +++ b/code/modules/economy/robotic_quests/robo_quest_console.dm @@ -31,10 +31,6 @@ var/style = "ntos_roboquest" /// Can we send mecha? var/canSend = FALSE - /// Is there mecha and pad for check? - var/canCheck = FALSE - /// Timer to clear checkMessage - var/check_timer /// Message after check var/checkMessage = "" /// Level of success of last mecha check @@ -46,21 +42,26 @@ var/obj/item/card/id/currentID /// This console pad var/obj/machinery/roboquest_pad/pad - var/list/shop_items = list() + var/static/list/shop_items /obj/machinery/computer/roboquest/Initialize(mapload) ..() - generate_roboshop() + + if(!shop_items) + generate_roboshop() + if(mapload) - var/mapping_pad = locate(/obj/machinery/roboquest_pad) in get_area(src) - if(mapping_pad) - pad = mapping_pad - pad.console = src - canCheck = TRUE - -/obj/machinery/computer/roboquest/New() - generate_roboshop() - . = ..() + return INITIALIZE_HINT_LATELOAD + + +/obj/machinery/computer/roboquest/LateInitialize() + var/mapping_pad = locate(/obj/machinery/roboquest_pad) in get_area(src) + if(!mapping_pad) + return + + pad = mapping_pad + pad.console = src + /obj/machinery/computer/roboquest/Destroy() for(var/obj/item/I in contents) @@ -93,26 +94,35 @@ /obj/machinery/computer/roboquest/multitool_act(mob/living/user, obj/item/I) if(!istype(I, /obj/item/multitool)) return FALSE + . = TRUE + var/obj/item/multitool/multitool = I if(!istype(multitool.buffer, /obj/machinery/roboquest_pad)) add_fingerprint(user) to_chat(user, span_warning("The [multitool.name]'s buffer has no valid information.")) return . + if(!I.use_tool(src, user, volume = I.tool_volume)) return . + pad = multitool.buffer if(pad.console && pad.console != src) + pad.console.canSend = null pad.console.pad = null + pad.console = src - canCheck = TRUE - multitool.buffer = null + if(pad.advanced) + atom_say("Advanced quantum pad detected. Instant mech teleportation is available.") + to_chat(user, span_notice("You have uploaded the data from [multitool]'s buffer.")) + multitool.buffer = null /obj/machinery/computer/roboquest/emag_act(mob/user) if(!emagged) emagged = TRUE + atom_say("System override detected. Instant mech teleportation is available.") playsound(src, "sparks", 100, TRUE, SHORT_RANGE_SOUND_EXTRARANGE) @@ -146,6 +156,10 @@ var/list/newshop = list() for(var/path in subtypesof(/datum/roboshop_item)) var/datum/roboshop_item/item = new path + if(!item.path) + qdel(item) + continue + var/category for(var/cat in item.cost) if(item.cost[cat]) @@ -153,15 +167,24 @@ category += "_[cat]" else category = cat + var/newitem = list("name" = item.name, "desc" = item.desc, "cost" = item.cost, "icon" = path2assetID(path), "path" = path, "emagOnly" = item.emag_only) newshop[category] += list(newitem) + qdel(item) + shop_items = newshop + /obj/machinery/computer/roboquest/proc/clear_checkMessage() checkMessage = "" /obj/machinery/computer/roboquest/proc/on_quest_complete() - return // чето будет наверно + return // Unused for now. + + +/obj/machinery/computer/roboquest/proc/can_instant_teleport() + return emagged || pad?.advanced + /obj/machinery/computer/roboquest/attack_hand(mob/user) if(..()) @@ -191,11 +214,12 @@ data["questInfo"] = FALSE data["hasTask"] = FALSE data["points"] = points - data["canCheck"] = canCheck + data["canCheck"] = pad data["canSend"] = canSend data["checkMessage"] = checkMessage data["style"] = style data["cooldown"] = currentID?.bounty_penalty ? time2text((currentID.bounty_penalty-world.time), "mm:ss") : FALSE + data["instant_teleport"] = can_instant_teleport() return data /obj/machinery/computer/roboquest/ui_static_data(mob/user) @@ -231,20 +255,21 @@ currentID.bounty_penalty = world.time + 5 MINUTES if("Check") if(!pad) - checkMessage = "Привязанный пад не обнаружен" + checkMessage = "Привязанный пад не обнаружен." else var/amount = check_pad() switch(success) if(NO_SUCCESS) - checkMessage = "Мех отсутствует или не соответствует заказу" + checkMessage = "Мех отсутствует или не соответствует заказу." if(CORRECT_MECHA) - checkMessage = "Мех соответствует заказу, но не имеет заказанных модулей. Награда Будет сильно урезана" + checkMessage = "Мех соответствует заказу, но не имеет заказанных модулей. Награда Будет сильно урезана." if(SOME_CORRECT_MODULES) checkMessage = "Мех соответствует заказу, но имеет лишь [amount]/[currentID.robo_bounty.modules_amount] модулей. Награда будет слегка урезана." if(ALL_CORRECT_MODULES) checkMessage = "Мех и модули полностью соответствуют заказу. Награда будет максимальной." - check_timer = null - check_timer = addtimer(CALLBACK(src, PROC_REF(clear_checkMessage)), 15 SECONDS) + + addtimer(CALLBACK(src, PROC_REF(clear_checkMessage)), 15 SECONDS, TIMER_UNIQUE|TIMER_OVERRIDE) + if("SendMech") check_pad() if(canSend) @@ -263,7 +288,7 @@ else // Else, 1 areaindex[locname] = 1 L[locname] = T - if(params["type"] != "only_packing") + if(params["type"] == "send") var/select = tgui_input_list(ui.user, "Please select a telepad.", "RCS", L) if(!select) return @@ -271,11 +296,16 @@ return else // Else choose the value of the selection quantum = L[select] - flick("sqpad-beam", pad) - pad.teleport(quantum, currentID.robo_bounty, src, (3-success)) - checkMessage = "Вы отправили меха с оценкой успеха [success] из трех" - check_timer = null - check_timer = addtimer(CALLBACK(src, PROC_REF(clear_checkMessage)), 15 SECONDS) + + if(params["type"] == "instant") + pad.clear(currentID.robo_bounty, src, (3-success)) + else + pad.teleport(quantum, currentID.robo_bounty, src, (3-success)) + + flick("[initial(pad.icon_state)]-beam", pad) + checkMessage = "Вы отправили меха с оценкой успеха [success] из трех." + addtimer(CALLBACK(src, PROC_REF(clear_checkMessage)), 15 SECONDS, TIMER_UNIQUE|TIMER_OVERRIDE) + if("ChangeStyle") switch(style) if("ntos_roboquest") @@ -301,8 +331,10 @@ return for(var/cat in r_item.cost) points[cat] -= r_item.cost[cat] + new r_item.path(get_turf(src)) qdel(r_item) + if("printOrder") if(print_delayed) return FALSE @@ -346,25 +378,50 @@ /obj/machinery/roboquest_pad name = "Robotics Request Quantum Pad" - desc = "A bluespace quantum-linked telepad linked to a orbital long-range matter transmitter." + desc = "A bluespace quantum-linked telepad linked to a local telepad network." icon = 'icons/obj/telescience.dmi' - icon_state = "sqpad-idle" + icon_state = "sqpad" idle_power_usage = 500 /// Current pad`s console var/obj/machinery/computer/roboquest/console + /// whether our robopad is advanced + var/advanced = FALSE /obj/machinery/roboquest_pad/New() ..() component_parts = list() - component_parts += new /obj/item/circuitboard/roboquest_pad(null) component_parts += new /obj/item/stack/ore/bluespace_crystal/artificial(null) component_parts += new /obj/item/stack/cable_coil(null, 1) + component_parts += new /obj/item/circuitboard/roboquest_pad(null) RefreshParts() + + +/obj/machinery/roboquest_pad/ComponentInitialize() var/static/list/loc_connections = list( COMSIG_ATOM_EXITED = PROC_REF(on_exited), ) AddElement(/datum/element/connect_loc, loc_connections) + +/obj/machinery/roboquest_pad/advanced + name = "Robotics Request Advanced Quantum Pad" + desc = "A bluespace quantum-linked telepad linked to a orbital long-range matter transmitter. Capable of instant teleportation of mech without need of send them to the cargo." + icon_state = "advqpad" + advanced = TRUE + + +/obj/machinery/roboquest_pad/advanced/New() + ..() + component_parts = list() + component_parts += new /obj/item/stack/ore/bluespace_crystal/artificial(null) + component_parts += new /obj/item/stock_parts/capacitor/purple(null) + component_parts += new /obj/item/stock_parts/manipulator/purple(null) + component_parts += new /obj/item/stock_parts/scanning_module/purple(src) + component_parts += new /obj/item/stack/cable_coil(null, 1) + component_parts += new /obj/item/circuitboard/advanced_roboquest_pad(null) + RefreshParts() + + /obj/machinery/roboquest_pad/Destroy() if(console) console.canSend = FALSE @@ -382,7 +439,7 @@ . = TRUE if(!I.tool_use_check(user, 0)) return - default_deconstruction_screwdriver(user, "pad-idle-o", "qpad-idle", I) + default_deconstruction_screwdriver(user, "pad-o", initial(icon_state), I) /obj/machinery/roboquest_pad/proc/teleport(atom/destination, datum/roboquest/quest, obj/machinery/computer/roboquest/console, var/penalty) do_sparks(5, 1, get_turf(src)) @@ -394,6 +451,26 @@ do_teleport(box, destination) console.canSend = FALSE +/obj/machinery/roboquest_pad/proc/clear(datum/roboquest/quest, obj/machinery/computer/roboquest/console, var/penalty) + do_sparks(5, 1, get_turf(src)) + var/obj/mecha/M = (locate(/obj/mecha) in get_turf(src)) + if(istype(M)) + qdel(M) + if(quest && console) + for(var/category in quest.reward) + quest.reward[category] -= penalty + if(quest.reward[category] < 0) + quest.reward[category] = 0 + console.points[category] += quest.reward[category] + SSshuttle.points += quest.reward["robo"] * 30 + if(quest.id) + var/datum/money_account/A = get_money_account(quest.id.associated_account_number) + if(A) + A.money += quest.maximum_cash - round(quest.maximum_cash * penalty / 4) + console.on_quest_complete() + quest.id.robo_bounty = null + quest = null + /obj/machinery/roboquest_pad/proc/on_exited(datum/source, atom/movable/departed, atom/newLoc) SIGNAL_HANDLER diff --git a/code/modules/economy/robotic_quests/robo_quests.dm b/code/modules/economy/robotic_quests/robo_quests.dm index 34331e011a0..d6499498d92 100644 --- a/code/modules/economy/robotic_quests/robo_quests.dm +++ b/code/modules/economy/robotic_quests/robo_quests.dm @@ -125,217 +125,126 @@ /datum/roboshop_item var/name var/desc - /// Path to shop item + /// Path to shop item. Left undefined to use `visual_item` path. var/atom/path + /// The item we want to show visually in roboshop. + var/atom/visual_item /// Cost in RoboPoints. Can be (*, 0, 0, 0) (*, *, 0, 0) (*, *, *, 0) (0, *, 0, 0) (0, *, *, 0) (0, 0, *, 0) (0, 0, 0, *) var/list/cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 0) /// Custom item, leave empty if you okay with standart icon var/icon_name var/icon_file - /// Don`t touch - var/icon/tgui_icon /// If emag only(Really??) var/emag_only = FALSE + /datum/roboshop_item/New() - if(!name) - name = path::name if(!desc) - desc = path::desc + desc = visual_item::desc + if(!icon_name) - icon_name = path::icon_state + icon_name = visual_item::icon_state + if(!icon_file) - icon_file = path::icon - src.tgui_icon = icon(icon_file, icon_name, SOUTH, 1, FALSE) + icon_file = visual_item::icon + + if(!path) + path = visual_item + + if(!name) + name = path::name // It is better to know exactly what we are buying. /datum/roboshop_item/bluespace_core name = "bluespace anomaly core" desc = "The neutralized core of a bluespace anomaly. It keeps phasing in and out of view. It'd probably be valuable for research." - path = /obj/item/assembly/signaler/anomaly/bluespace + visual_item = /obj/item/assembly/signaler/anomaly/bluespace cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 15) +/datum/roboshop_item/advanced_roboquest_pad + name = "robotics request advanced quantum pad" + desc = "This quantum pad is capable of instant teleportation of mech without need of send them to the cargo." + visual_item = /obj/item/circuitboard/advanced_roboquest_pad + cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 7) + +/datum/roboshop_item/universal_paintkit + name = "universal mech paintkit" + desc = "This device will allow the user to repaint the mech as many times as they wish." + visual_item = /obj/item/universal_paintkit + cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 5) + /datum/roboshop_item/mecha_drop name = "mecha drop tool" - path = /obj/item/mecha_drop + visual_item = /obj/item/mecha_drop cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 20) emag_only = TRUE +/datum/roboshop_item/alien_prototype + name = "unknown alien prototype" + visual_item = /obj/item/machineprototype/alien + cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 10) + /datum/roboshop_item/bbag - name = "bluespace bodybag" - path = /obj/item/bodybag/bluespace + path = /obj/item/disk/design_disk/roboquest/bluespace_bag_disk + visual_item = /obj/item/bodybag/bluespace cost = list("working" = 0, "medical" = 6, "security" = 0, "robo" = 0) /datum/roboshop_item/holotool - name = "holotool" - path = /obj/item/holotool + path = /obj/item/disk/design_disk/roboquest/holotool + visual_item = /obj/item/holotool cost = list("working" = 6, "medical" = 0, "security" = 0, "robo" = 0) /datum/roboshop_item/shield_breacker - path = /obj/item/gun/energy/plasma_pistol + path = /obj/item/disk/design_disk/roboquest/shield_breaker + visual_item = /obj/item/gun/energy/plasma_pistol cost = list("working" = 0, "medical" = 0, "security" = 6, "robo" = 0) /datum/roboshop_item/experimental_parts name = "\improper experimental parts" - path = /obj/item/storage/box/stockparts/experimental_parts + path = /obj/item/storage/part_replacer/bluespace/experimental + visual_item = /obj/item/storage/box/stockparts/experimental_parts cost = list("working" = 2, "medical" = 2, "security" = 2, "robo" = 0) -//Paintkits -/datum/roboshop_item/paint_ripley_titan - name = "Ripley, Firefighter \"Titan's Fist\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 5) - path = /obj/item/paintkit/ripley_titansfist -/datum/roboshop_item/paint_ripley_earth - name = "Ripley, Firefighter \"Strike the Earth!\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 5) - path = /obj/item/paintkit/ripley_mercenary +//design disks -/datum/roboshop_item/paint_ripley_red - name = "Ripley, Firefighter \"Firestarter\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 4) - path = /obj/item/paintkit/ripley_red +/obj/item/disk/design_disk/roboquest + name = "roboquests design disk" + desc = "Вы этого не должны видеть. Напишите в баг-репорты." + icon_state = "holodisk" + ///used in examine hints + var/hint_name = "items" + var/design_type -/datum/roboshop_item/paint_firefighter_hauler - name = "Ripley, Firefighter \"Hauler\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 4) - path = /obj/item/paintkit/firefighter_Hauler +/obj/item/disk/design_disk/roboquest/Initialize() + . = ..() + if(isnull(design_type)) + return INITIALIZE_HINT_QDEL -/datum/roboshop_item/paint_firefighter_zairjah - name = "Ripley, Firefighter \"Zairjah\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 5) - path = /obj/item/paintkit/firefighter_zairjah + blueprint = new design_type() -/datum/roboshop_item/paint_firefighter_combat - name = "Ripley, Firefighter \"Combat Ripley\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 5) - path = /obj/item/paintkit/firefighter_combat +/obj/item/disk/design_disk/roboquest/examine(mob/user) + . = ..() + . += span_notice("Insert disk into R&D concole and download it for mass production of [hint_name].") -/datum/roboshop_item/paint_firefighter_reaper - name = "Ripley, Firefighter \"Reaper\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/firefighter_Reaper -/datum/roboshop_item/paint_firefighter_aluminizer - name = "Ripley, Firefighter \"Aluminizer\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 5) - path = /obj/item/paintkit/firefighter_aluminizer +/obj/item/disk/design_disk/roboquest/bluespace_bag_disk + name = "bluespace bag design" + desc = "This disk contains blueprints for production of bluespace bodybags." + design_type = /datum/design/bbag + hint_name = "bluespace bodybags" -/datum/roboshop_item/paint_ripley_nt - name = "Ripley, Firefighter \"NT Special\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 5) - path = /obj/item/paintkit/ripley_nt +/obj/item/disk/design_disk/roboquest/holotool + name = "holotool design" + desc = "This disk contains blueprints for production of holotools." + design_type = /datum/design/holotool + hint_name = "holotools" -/datum/roboshop_item/paint_clarke_orangey - name = "Clarke \"Orangey\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 4) - path = /obj/item/paintkit/clarke_orangey - -/datum/roboshop_item/paint_clarke_spiderclarke - name = "Clarke \"Spiderclarke\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 5) - path = /obj/item/paintkit/clarke_spiderclarke - -/datum/roboshop_item/paint_odysseus_hermes - name = "Odysseus \"Hermes\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 5) - path = /obj/item/paintkit/odysseus_hermes - -/datum/roboshop_item/paint_odysseus_reaper - name = "Odysseus \"Reaper\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/odysseus_death - -/datum/roboshop_item/paint_gygax_alt - name = "Gygax \"Old\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 4) - path = /obj/item/paintkit/gygax_alt - -/datum/roboshop_item/paint_gygax_pobeda - name = "Gygax \"Pobeda\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 4) - path = /obj/item/paintkit/gygax_pobeda - -/datum/roboshop_item/paint_gygax_white - name = "Gygax \"White\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 4) - path = /obj/item/paintkit/gygax_white - -/datum/roboshop_item/paint_gygax_medgax - name = "Gygax \"Medgax\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/gygax_medgax - -/datum/roboshop_item/paint_gygax_black - name = "Gygax \"Syndicate\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 4) - emag_only = TRUE - path = /obj/item/paintkit/gygax_syndie - -/datum/roboshop_item/paint_gygax_pirate - name = "Gygax \"Pirate\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/gygax_pirate - -/datum/roboshop_item/paint_durand_unathi - name = "Durand \"Kharn MK. IV\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 4) - path = /obj/item/paintkit/durand_unathi - -/datum/roboshop_item/paint_durand_shire - name = "Durand \"Shire\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/durand_shire - -/datum/roboshop_item/paint_durand_pirate - name = "Durand \"Pirate\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/durand_pirate - -/datum/roboshop_item/paint_durand_nt - name = "Durand \"NT Special\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/durand_nt - -/datum/roboshop_item/paint_durand_soviet - name = "Durand \"Dollhouse\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/durand_soviet - -/datum/roboshop_item/paint_durand_executor - name = "Durand \"mk.V Executioner\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/durand_executor - -/datum/roboshop_item/paint_phazon_imperion - name = "Phazon \"Imperion\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/phazon_imperion - -/datum/roboshop_item/paint_phazon_janus - name = "Phazon \"Janus\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/phazon_janus - -/datum/roboshop_item/paint_phazon_plazmus - name = "Phazon \"Plazmus\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/phazon_plazmus - -/datum/roboshop_item/paint_phazon_blanco - name = "Phazon \"Blanco\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/phazon_blanco - -/datum/roboshop_item/paint_phazon_nt - name = "Phazon \"NT Special\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/phazon_nt - -/datum/roboshop_item/paint_ashed - name = "Ashed \"Mechs\"" - cost = list("working" = 0, "medical" = 0, "security" = 0, "robo" = 6) - path = /obj/item/paintkit/ashed +/obj/item/disk/design_disk/roboquest/shield_breaker + name = "plasma pistol design" + desc = "This disk contains blueprints for production of plasma pistols." + design_type = /datum/design/real_plasma_pistol + hint_name = "plasma pistols" #undef WORKING_CLASS #undef MEDICAL_CLASS diff --git a/code/modules/projectiles/guns/energy/special.dm b/code/modules/projectiles/guns/energy/special.dm index cec3aa208d4..8860e9ccd22 100644 --- a/code/modules/projectiles/guns/energy/special.dm +++ b/code/modules/projectiles/guns/energy/special.dm @@ -821,7 +821,7 @@ icon_state = "plasmagun" item_state = "plasmagun" w_class = WEIGHT_CLASS_NORMAL - origin_tech = "combat=4;magnets=4;powerstorage=3" + origin_tech = "combat=6;magnets=5;powerstorage=3" ammo_type = list(/obj/item/ammo_casing/energy/weak_plasma, /obj/item/ammo_casing/energy/charged_plasma) shaded_charge = 1 can_holster = TRUE diff --git a/code/modules/research/designs/equipment_designs.dm b/code/modules/research/designs/equipment_designs.dm index eab2fb0d521..2720519793c 100644 --- a/code/modules/research/designs/equipment_designs.dm +++ b/code/modules/research/designs/equipment_designs.dm @@ -369,3 +369,13 @@ materials = list(MAT_METAL = 1000, MAT_GLASS = 500, MAT_SILVER = 2000, MAT_DIAMOND = 1500) build_path = /obj/item/t_scanner/science category = list("Equipment") + +/datum/design/holotool + name = "holotool" + desc = "A highly experimental holographic tool projector" + id = "holotool" + req_tech = null //only from disks + build_type = PROTOLATHE + materials = list(MAT_SILVER = 2000, MAT_TITANIUM = 4000, MAT_DIAMOND = 2000, MAT_BLUESPACE = 2000) + build_path = /obj/item/holotool + category = list("Equipment") diff --git a/code/modules/research/designs/mechfabricator_designs.dm b/code/modules/research/designs/mechfabricator_designs.dm index 060f7660fe1..e361291f828 100644 --- a/code/modules/research/designs/mechfabricator_designs.dm +++ b/code/modules/research/designs/mechfabricator_designs.dm @@ -1816,3 +1816,314 @@ construction_time = 5 SECONDS build_path = /obj/item/borg/upgrade/syndie_rcd category = list("Syndicate") + +//Paintkits +/datum/design/paint_ripley_titan + name = "Ripley, Firefighter \"Titan's Fist\"" + id = "p_titan" + build_type = MECHFAB + req_tech = list("combat" = 5, "engineering" = 5, "materials" = 5, "programming" = 5) + build_path = /obj/item/paintkit/ripley_titansfist + materials = list(MAT_METAL = 20000, MAT_PLASMA = 2000, MAT_GLASS = 2000) + construction_time = 10 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_ripley_earth + name = "Ripley, Firefighter \"Strike the Earth!\"" + id = "p_earth" + build_type = MECHFAB + req_tech = list("combat" = 5, "engineering" = 5, "materials" = 5, "programming" = 5) + build_path = /obj/item/paintkit/ripley_mercenary + materials = list(MAT_METAL = 20000, MAT_PLASMA = 2000, MAT_GLASS = 2000) + construction_time = 10 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_ripley_red + name = "Ripley, Firefighter \"Firestarter\"" + id = "p_red" + build_type = MECHFAB + req_tech = list("engineering" = 5, "materials" = 5, "toxins" = 5) + build_path = /obj/item/paintkit/ripley_red + materials = list(MAT_METAL = 20000, MAT_PLASMA = 2000, MAT_GLASS = 2000) + construction_time = 10 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_firefighter_hauler + name = "Ripley, Firefighter \"Hauler\"" + id = "p_hauler" + build_type = MECHFAB + req_tech = list("engineering" = 5, "materials" = 5, "programming" = 5) + build_path = /obj/item/paintkit/firefighter_Hauler + materials = list(MAT_METAL = 20000, MAT_PLASMA = 2000, MAT_GLASS = 2000) + construction_time = 10 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_firefighter_zairjah + name = "Ripley, Firefighter \"Zairjah\"" + id = "p_zairjah" + build_type = MECHFAB + req_tech = list("engineering" = 5, "materials" = 5, "programming" = 5, "toxins" = 5) + build_path = /obj/item/paintkit/firefighter_zairjah + materials = list(MAT_METAL = 20000, MAT_PLASMA = 2000, MAT_GLASS = 2000) + construction_time = 10 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_firefighter_combat + name = "Ripley, Firefighter \"Combat Ripley\"" + id = "p_combat" + build_type = MECHFAB + req_tech = list("combat" = 5, "engineering" = 5, "materials" = 5, "programming" = 5) + build_path = /obj/item/paintkit/firefighter_combat + materials = list(MAT_METAL = 20000, MAT_PLASMA = 2000, MAT_GLASS = 2000) + construction_time = 10 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_firefighter_reaper + name = "Ripley, Firefighter \"Reaper\"" + id = "p_reaper" + build_type = MECHFAB + req_tech = list("combat" = 5, "engineering" = 5, "materials" = 5, "programming" = 5,"toxins" = 5) + build_path = /obj/item/paintkit/firefighter_Reaper + materials = list(MAT_METAL = 20000, MAT_PLASMA = 2000, MAT_GLASS = 2000) + construction_time = 10 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_firefighter_aluminizer + name = "Ripley, Firefighter \"Aluminizer\"" + id = "p_aluminizer" + build_type = MECHFAB + req_tech = list("engineering" = 5, "materials" = 5, "programming" = 5,"toxins" = 5) + build_path = /obj/item/paintkit/firefighter_aluminizer + materials = list(MAT_METAL = 20000, MAT_PLASMA = 2000, MAT_GLASS = 2000) + construction_time = 10 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_ripley_nt + name = "Ripley, Firefighter \"NT Special\"" + id = "p_ripleynt" + build_type = MECHFAB + req_tech = list("combat" = 5, "engineering" = 5, "materials" = 5, "programming" = 5) + build_path = /obj/item/paintkit/ripley_nt + materials = list(MAT_METAL = 20000, MAT_PLASMA = 2000, MAT_GLASS = 2000) + construction_time = 10 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_clarke_orangey + name = "Clarke \"Orangey\"" + id = "p_orangey" + build_type = MECHFAB + req_tech = list("engineering" = 5, "materials" = 5, "toxins" = 5) + build_path = /obj/item/paintkit/clarke_orangey + materials = list(MAT_METAL = 20000, MAT_DIAMOND = 2000, MAT_URANIUM = 2000) + construction_time = 20 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_clarke_spiderclarke + name = "Clarke \"Spiderclarke\"" + id = "p_spiderclarke" + build_type = MECHFAB + req_tech = list("combat" = 4, "engineering" = 5, "materials" = 5, "toxins" = 5) + build_path = /obj/item/paintkit/clarke_spiderclarke + materials = list(MAT_METAL = 20000, MAT_DIAMOND = 2000, MAT_URANIUM = 2000) + construction_time = 20 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_odysseus_hermes + name = "Odysseus \"Hermes\"" + id = "p_hermes" + build_type = MECHFAB + req_tech = list("engineering" = 5, "materials" = 5, "programming" = 5,"biotech" = 5) + build_path = /obj/item/paintkit/odysseus_hermes + materials = list(MAT_METAL = 20000, MAT_DIAMOND = 2000, MAT_URANIUM = 2000) + construction_time = 10 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_odysseus_reaper + name = "Odysseus \"Reaper\"" + id = "p_odyreaper" + build_type = MECHFAB + req_tech = list("combat" = 5, "engineering" = 5, "materials" = 5, "programming" = 5, "toxins" = 5) + build_path = /obj/item/paintkit/odysseus_death + materials = list(MAT_METAL = 20000, MAT_DIAMOND = 2000, MAT_URANIUM = 2000) + construction_time = 10 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_gygax_alt + name = "Gygax \"Old\"" + id = "p_altgygax" + build_type = MECHFAB + req_tech = list("combat" = 4, "engineering" = 5, "materials" = 5, "programming" = 4) + build_path = /obj/item/paintkit/gygax_alt + materials = list(MAT_METAL = 30000, MAT_DIAMOND = 3000, MAT_URANIUM = 3000) + construction_time = 20 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_gygax_pobeda + name = "Gygax \"Pobeda\"" + id = "p_pobedagygax" + build_type = MECHFAB + req_tech = list("combat" = 5, "engineering" = 4, "materials" = 4, "programming" = 6) + build_path = /obj/item/paintkit/gygax_pobeda + materials = list(MAT_METAL = 30000, MAT_DIAMOND = 3000, MAT_URANIUM = 3000) + construction_time = 20 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_gygax_white + name = "Gygax \"White\"" + id = "p_whitegygax" + build_type = MECHFAB + req_tech = list("biotech" = 4, "engineering" = 4, "materials" = 5, "programming" = 3 ) + build_path = /obj/item/paintkit/gygax_white + materials = list(MAT_METAL = 30000, MAT_DIAMOND = 3000, MAT_URANIUM = 3000) + construction_time = 20 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_gygax_medgax + name = "Gygax \"Medgax\"" + id = "p_medgax" + build_type = MECHFAB + req_tech = list("engineering" = 5, "materials" = 5, "programming" = 6,"biotech" = 6, "toxins" = 6) + build_path = /obj/item/paintkit/gygax_medgax + materials = list(MAT_METAL = 30000, MAT_DIAMOND = 3000, MAT_URANIUM = 3000) + construction_time = 20 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_gygax_black + name = "Gygax \"Syndicate\"" + id = "p_blackgygax" + build_type = MECHFAB + req_tech = list("combat" = 6, "engineering" = 5, "materials" = 6, "programming" = 5, "syndicate" = 3) + build_path = /obj/item/paintkit/gygax_syndie + materials = list(MAT_METAL = 30000, MAT_DIAMOND = 3000, MAT_URANIUM = 3000) + construction_time = 20 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_gygax_pirate + name = "Gygax \"Pirate\"" + id = "p_pirategygax" + build_type = MECHFAB + req_tech = list("combat" = 6, "engineering" = 6, "materials" = 6, "programming" = 6) + build_path = /obj/item/paintkit/gygax_pirate + materials = list(MAT_METAL = 30000, MAT_DIAMOND = 3000, MAT_URANIUM = 3000) + construction_time = 30 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_durand_unathi + name = "Durand \"Kharn MK. IV\"" + id = "p_unathi" + build_type = MECHFAB + req_tech = list("materials" = 6, "biotech" = 6) + build_path = /obj/item/paintkit/durand_unathi + materials = list(MAT_METAL = 40000, MAT_DIAMOND = 4000, MAT_URANIUM = 4000) + construction_time = 30 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_durand_shire + name = "Durand \"Shire\"" + id = "p_shire" + build_type = MECHFAB + req_tech = list("combat" = 6, "engineering" = 6, "materials" = 6, "programming" = 6) + build_path = /obj/item/paintkit/durand_shire + materials = list(MAT_METAL = 40000, MAT_DIAMOND = 4000, MAT_URANIUM = 4000) + construction_time = 30 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_durand_pirate + name = "Durand \"Pirate\"" + id = "p_durandpirate" + build_type = MECHFAB + req_tech = list("combat" = 6, "engineering" = 6, "materials" = 6, "programming" = 6) + build_path = /obj/item/paintkit/durand_pirate + materials = list(MAT_METAL = 40000, MAT_DIAMOND = 4000, MAT_URANIUM = 4000) + construction_time = 30 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_durand_nt + name = "Durand \"NT Special\"" + id = "p_durandnt" + build_type = MECHFAB + req_tech = list("combat" = 6, "engineering" = 6, "materials" = 6, "programming" = 6) + build_path = /obj/item/paintkit/durand_nt + materials = list(MAT_METAL = 40000, MAT_DIAMOND = 4000, MAT_URANIUM = 4000) + construction_time = 30 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_durand_soviet + name = "Durand \"Dollhouse\"" + id = "p_soviet" + build_type = MECHFAB + req_tech = list("combat" = 6, "engineering" = 6, "materials" = 6, "programming" = 6, "toxins" = 6) + build_path = /obj/item/paintkit/durand_soviet + materials = list(MAT_METAL = 40000, MAT_DIAMOND = 4000, MAT_URANIUM = 4000) + construction_time = 30 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_durand_executor + name = "Durand \"mk.V Executioner\"" + id = "p_executor" + build_type = MECHFAB + req_tech = list("combat" = 6, "engineering" = 6, "materials" = 6, "programming" = 6) + build_path = /obj/item/paintkit/durand_executor + materials = list(MAT_METAL = 40000, MAT_DIAMOND = 4000, MAT_SILVER = 4000) + construction_time = 30 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_phazon_imperion + name = "Phazon \"Imperion\"" + id = "p_imperion" + build_type = MECHFAB + req_tech = list("bluespace" = 6, "engineering" = 6, "materials" = 6, "programming" = 6, "toxins" = 5) + build_path = /obj/item/paintkit/phazon_imperion + materials = list(MAT_METAL = 50000, MAT_DIAMOND = 4000, MAT_BLUESPACE = 4000) + construction_time = 40 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_phazon_janus + name = "Phazon \"Janus\"" + id = "p_janus" + build_type = MECHFAB + req_tech = list("bluespace" = 6, "engineering" = 6, "materials" = 6, "programming" = 6, "toxins" = 5) + build_path = /obj/item/paintkit/phazon_janus + materials = list(MAT_METAL = 50000, MAT_DIAMOND = 4000, MAT_BLUESPACE = 4000) + construction_time = 40 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_phazon_plazmus + name = "Phazon \"Plazmus\"" + id = "p_plazmus" + build_type = MECHFAB + req_tech = list("bluespace" = 6, "engineering" = 6, "materials" = 6, "toxins" = 5) + build_path = /obj/item/paintkit/phazon_plazmus + materials = list(MAT_METAL = 50000, MAT_DIAMOND = 4000, MAT_PLASMA = 5000) + construction_time = 40 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_phazon_blanco + name = "Phazon \"Blanco\"" + id = "p_blanco" + build_type = MECHFAB + req_tech = list("bluespace" = 7, "engineering" = 7, "materials" = 7, "toxins" = 6) + build_path = /obj/item/paintkit/phazon_blanco + materials = list(MAT_METAL = 50000, MAT_DIAMOND = 4000, MAT_BLUESPACE = 4000) + construction_time = 40 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_phazon_nt + name = "Phazon \"NT Special\"" + id = "p_phazonnt" + build_type = MECHFAB + req_tech = list("bluespace" = 7, "engineering" = 7, "materials" = 7, "toxins" = 6) + build_path = /obj/item/paintkit/phazon_nt + materials = list(MAT_METAL = 50000, MAT_DIAMOND = 4000, MAT_BLUESPACE = 4000) + construction_time = 40 SECONDS + category = list("Exosuit Paintkits") + +/datum/design/paint_ashed + name = "Ashed \"Mechs\"" + id = "p_ashed" + build_type = MECHFAB + req_tech = list("engineering" = 5, "materials" = 6) + build_path = /obj/item/paintkit/ashed + materials = list(MAT_METAL = 20000, MAT_PLASMA = 8000, MAT_GLASS = 8000) + construction_time = 20 SECONDS + category = list("Exosuit Paintkits") diff --git a/code/modules/research/designs/medical_designs.dm b/code/modules/research/designs/medical_designs.dm index 0e910583054..50848317145 100644 --- a/code/modules/research/designs/medical_designs.dm +++ b/code/modules/research/designs/medical_designs.dm @@ -796,3 +796,13 @@ build_type = PROTOLATHE materials = list(MAT_METAL = 1000, MAT_SILVER = 800, MAT_GLASS = 800, MAT_DIAMOND = 600, MAT_GOLD = 400) category = list("Medical") + +/datum/design/bbag + name = "bluespace bodybag" + desc = "A bluespace body bag designed for the storage and transportation of cadavers." + id = "bbag" + req_tech = null //only for roboquests + build_type = PROTOLATHE + materials = list(MAT_SILVER = 1200, MAT_GLASS = 800, MAT_DIAMOND = 1200, MAT_GOLD = 400, MAT_BLUESPACE = 2000) + build_path = /obj/item/bodybag/bluespace + category = list("Medical") diff --git a/code/modules/research/designs/weapon_designs.dm b/code/modules/research/designs/weapon_designs.dm index 320b7c01d8a..1f96ed55fb1 100644 --- a/code/modules/research/designs/weapon_designs.dm +++ b/code/modules/research/designs/weapon_designs.dm @@ -120,7 +120,7 @@ category = list("Weapons") /datum/design/plasmapistol - name = "Plasma Pistol" + name = "Toxin Pistol" desc = "A specialized firearm designed to fire lethal bolts of toxins." id = "ppistol" req_tech = list("combat" = 5, "magnets" = 5, "powerstorage" = 5) @@ -359,7 +359,7 @@ category = list("ILLEGAL") /datum/design/stechkin - name = "Stechkin pistol" + name = "Stechkin Pistol" desc = "A reverse-engineered small, easily concealable 10mm handgun. Has a threaded barrel for suppressors." id = "stechkin" req_tech = list("combat" = 6, "engineering" = 6, "syndicate" = 5) @@ -370,7 +370,7 @@ category = list("ILLEGAL") /datum/design/chameleon_kit - name = "Chameleon kit" + name = "Chameleon Kit" desc = "A set of items that contain chameleon technology allowing you to disguise as pretty much anything on the station." // "Набор хамелеона изученный с помощью реверс инженеринга." id = "chameleon_kit" req_tech = list("combat" = 4, "engineering" = 6, "syndicate" = 3, "magnets" = 5) @@ -381,7 +381,7 @@ category = list("ILLEGAL") /datum/design/chameleon_hud - name = "Chameleon hud" + name = "Chameleon Security HUD" desc = "A stolen Nanotrasen Security HUD with Syndicate chameleon technology implemented into it. Similarly to a chameleon jumpsuit, the HUD can be morphed into various other eyewear, while retaining the HUD qualities when worn." id = "chameleon_hud" req_tech = list("combat" = 4, "engineering" = 6, "syndicate" = 3, "magnets" = 5) @@ -392,7 +392,7 @@ category = list("ILLEGAL") /datum/design/e_dagger - name = "Energy dagger" + name = "Energy Dagger" desc = "A dagger made of energy that looks and functions as a pen when off." id = "e_dagger" req_tech = list("combat" = 7, "programming" = 7, "syndicate" = 2, "materials" = 7) @@ -403,7 +403,7 @@ category = list("ILLEGAL") /datum/design/a_tuner - name = "Acces tuner" + name = "Access Tuner" desc = "The access tuner is a small device that can interface with airlocks from range. It takes a few seconds to connect and can change the bolt state, open the door, or toggle emergency access." id = "a_tuner" req_tech = list("programming" = 7, "syndicate" = 4, "materials" = 7) @@ -414,7 +414,7 @@ category = list("ILLEGAL") /datum/design/c_flash - name = "Camera flash" + name = "Camera Flash" desc = "A flash disguised as a camera with a self-charging safety system preventing the flash from burning out." id = "c_flash" req_tech = list("combat" = 7, "programming" = 6, "syndicate" = 3) @@ -425,7 +425,7 @@ category = list("ILLEGAL") /datum/design/dna_scrambler - name = "DNA scrambler" + name = "DNA Scrambler" desc = "A syringe with one injection that randomizes appearance and name upon use. A cheaper but less versatile alternative to an agent card and voice changer." id = "dna_scrambler" req_tech = list("biotech" = 7, "programming" = 7, "syndicate" = 3) @@ -437,7 +437,7 @@ category = list("ILLEGAL") /datum/design/c_bug - name = "Camera bug" + name = "Camera Bug" desc = "Enables you to view all cameras on the network to track a target." id = "c_bug" req_tech = list("materials" = 5, "programming" = 7, "syndicate" = 2) @@ -459,7 +459,7 @@ category = list("ILLEGAL") /datum/design/adv_pointer - name = "Advanced pinpointer" + name = "Advanced Pinpointer" desc = "A pinpointer that tracks any specified coordinates, DNA string, high value item or the nuclear authentication disk." id = "adv_pointer" req_tech = list("materials" = 7, "programming" = 7, "syndicate" = 4) @@ -470,7 +470,7 @@ category = list("ILLEGAL") /datum/design/encryptionkey_binary - name = "Binary encryptionkey" + name = "Binary Encryptionkey" desc = "An encryption key for a radio headset. To access the binary channel, use :+." // "Ключ шифрования, на которой переговариваеются борги и ИИ." id = "binarykey" req_tech = list("engineering" = 4, "syndicate" = 3, "programming" = 4,"materials" = 3) @@ -481,7 +481,7 @@ category = list("ILLEGAL") /datum/design/encryptionkey_syndicate - name = "Syndicate encryptionkey" + name = "Syndicate Encryptionkey" desc = "An encyption key for a radio headset. Contains syndicate cypherkeys." // "Ключ шифрования синдиката, позволяющий перехватывать другие зашифрованные радиоволны." id = "syndicatekey" req_tech = list("engineering" = 4, "syndicate" = 3, "programming" = 4,"materials" = 3) @@ -492,7 +492,7 @@ category = list("ILLEGAL") /datum/design/aiModule_syndicate - name = "Hacked AI module" + name = "Hacked AI Module" desc = "A hacked AI law module" id = "syndiaimodule" req_tech = list("syndicate" = 6, "programming" = 5, "materials" = 5) @@ -503,7 +503,7 @@ category = list("ILLEGAL") /datum/design/incendiary_10mm - name = "pistol magazine 10mm incendiary" + name = "Pistol Magazine 10mm Incendiary" desc = "A gun magazine. Loaded with rounds which ignite the target." id = "10mminc" req_tech = list("combat" = 4, "syndicate" = 2, "materials" = 4) @@ -514,7 +514,7 @@ category = list("ILLEGAL") /datum/design/radio_jammer - name = "radio jammer" + name = "Radio Jammer" desc = "Device used to disrupt nearby radio communication." id = "jammer" req_tech = list("engineering" = 4, "syndicate" = 3, "programming" = 3, "materials" = 4) @@ -536,7 +536,7 @@ category = list("ILLEGAL") /datum/design/syndie_rcd_ammo - name = "suspicious matter cartridge" + name = "Suspicious Matter Cartridge" desc = "Highly compressed matter for the RCD." id = "syndie_rcd_ammo" req_tech = list("materials" = 3, "syndicate" = 3) @@ -546,7 +546,7 @@ category = list("ILLEGAL") /datum/design/syndie_rcd_ammo_large - name = "large suspicious matter cartridge" + name = "Large Suspicious Matter Cartridge" desc = "Highly compressed matter for the RCD." id = "syndie_rcd_ammo_large" req_tech = list("materials" = 3, "syndicate" = 3) @@ -567,7 +567,7 @@ category = list("ILLEGAL") /datum/design/pyroclaw - name = "Fusion gauntlets" + name = "Fusion Gauntlets" desc = "A pair of gloves designed to make superheated claws capable of cutting through almost anything. Needs a pyro anomaly core" id = "pyro_gloves" req_tech = list("combat" = 7, "materials" = 7, "engineering" = 7, "plasmatech" = 7) @@ -575,3 +575,14 @@ materials = list(MAT_METAL = 10000, MAT_GLASS = 5000, MAT_SILVER = 4000, MAT_TITANIUM = 4000, MAT_PLASMA = 8000) build_path = /obj/item/clothing/gloves/color/black/pyro_claws category = list("Weapons") + +/datum/design/real_plasma_pistol + name = "Plasma Pistol" + desc = "HA specialized firearm designed to fire heated bolts of plasma. Can be overloaded for a high damage shield breaking shot." + id = "real_plasma_pistol" + req_tech = null + build_type = PROTOLATHE + materials = list(MAT_SILVER = 6000, MAT_TITANIUM = 4000, MAT_PLASMA = 4000) + build_path = /obj/item/gun/energy/plasma_pistol + locked = TRUE + category = list("Weapons") diff --git a/code/modules/telesci/telepad.dm b/code/modules/telesci/telepad.dm index b963c8f845e..15aa2b540b0 100644 --- a/code/modules/telesci/telepad.dm +++ b/code/modules/telesci/telepad.dm @@ -3,7 +3,7 @@ name = "telepad" desc = "A bluespace telepad used for teleporting objects to and from a location." icon = 'icons/obj/telescience.dmi' - icon_state = "pad-idle" + icon_state = "pad" anchored = TRUE use_power = IDLE_POWER_USE idle_power_usage = 200 @@ -49,7 +49,7 @@ /obj/machinery/telepad/screwdriver_act(mob/user, obj/item/I) . = TRUE - default_deconstruction_screwdriver(user, "pad-idle-o", "pad-idle", I) + default_deconstruction_screwdriver(user, "pad-o", initial(icon_state), I) /obj/machinery/telepad/multitool_act(mob/user, obj/item/I) if(!panel_open) @@ -71,7 +71,7 @@ name = "cargo telepad" desc = "A telepad used by the Rapid Crate Sender." icon = 'icons/obj/telescience.dmi' - icon_state = "pad-idle" + icon_state = "pad" anchored = TRUE use_power = IDLE_POWER_USE idle_power_usage = 20 diff --git a/code/modules/telesci/telesci_computer.dm b/code/modules/telesci/telesci_computer.dm index ede7014d0c6..4c0b4316b59 100644 --- a/code/modules/telesci/telesci_computer.dm +++ b/code/modules/telesci/telesci_computer.dm @@ -211,7 +211,7 @@ var/turf/target = locate(trueX, trueY, z_co) last_target = target var/area/A = get_area(target) - flick("pad-beam", telepad) + flick("[initial(telepad.icon_state)]-beam", telepad) if(spawn_time > 15) // 1.5 seconds playsound(telepad.loc, 'sound/weapons/flash.ogg', 25, 1) @@ -252,7 +252,7 @@ source = dest dest = target - flick("pad-beam", telepad) + flick("[initial(telepad.icon_state)]-beam", telepad) playsound(telepad.loc, 'sound/weapons/emitter2.ogg', 50, TRUE) for(var/atom/movable/ROI in source) // if is anchored, don't let through diff --git a/icons/obj/machineprototype.dmi b/icons/obj/machineprototype.dmi index f5312bdba60..22dd23fcf53 100644 Binary files a/icons/obj/machineprototype.dmi and b/icons/obj/machineprototype.dmi differ diff --git a/icons/obj/mecha/mecha.dmi b/icons/obj/mecha/mecha.dmi index 21e70a9373b..379e9875dea 100644 Binary files a/icons/obj/mecha/mecha.dmi and b/icons/obj/mecha/mecha.dmi differ diff --git a/icons/obj/telescience.dmi b/icons/obj/telescience.dmi index 81471202dc2..4f67f950fcd 100644 Binary files a/icons/obj/telescience.dmi and b/icons/obj/telescience.dmi differ diff --git a/tgui/packages/tgui/interfaces/RoboQuest.js b/tgui/packages/tgui/interfaces/RoboQuest.js index b1a600e4b80..84209b4ea7b 100644 --- a/tgui/packages/tgui/interfaces/RoboQuest.js +++ b/tgui/packages/tgui/interfaces/RoboQuest.js @@ -25,6 +25,7 @@ export const RoboQuest = (props, context) => { checkMessage, style, cooldown, + instant_teleport, shopItems, points, cats, @@ -53,11 +54,13 @@ export const RoboQuest = (props, context) => { {!shopState && (
act('Check')} /> @@ -133,10 +136,10 @@ export const RoboQuest = (props, context) => { fill title={ - Corps bounties + Магазин чертежей - Points: {points.working} - |{points.medical}| + Очки: {points.working}| + {points.medical}| {points.security} @@ -184,15 +187,21 @@ export const RoboQuest = (props, context) => {
@@ -211,19 +249,19 @@ export const RoboQuest = (props, context) => {
)} {!!shopState && ( @@ -293,8 +354,8 @@ export const RoboQuest = (props, context) => { scrollable title={ <> - RoboQuest Shop - Points: {points.robo} + Магазин особых наград + Очки: {points.robo} } > diff --git a/tgui/public/tgui.bundle.js b/tgui/public/tgui.bundle.js index 07939a446e8..8d77ee1a948 100644 --- a/tgui/public/tgui.bundle.js +++ b/tgui/public/tgui.bundle.js @@ -243,7 +243,7 @@ * @copyright 2021 bobbahbrown (https://github.com/bobbahbrown) * @coauthor 2022 BeebBeebBoob (https://github.com/BeebBeebBoob) * @license MIT - */var y=r.RequestManager=function(){function p(i,l){var f=(0,t.useBackend)(l),u=f.act,s=f.data,m=s.requests,c=(0,t.useLocalState)(l,"filteredTypes",Object.fromEntries(Object.entries(V).map(function(B){var L=B[0],w=B[1];return[L,!0]}))),v=c[0],b=c[1],g=(0,t.useLocalState)(l,"searchText"),h=g[0],C=g[1],N=m.filter(function(B){return v[B.req_type]});if(h){var x=h.toLowerCase();N=N.filter(function(B){return(0,a.decodeHtmlEntities)(B.message).toLowerCase().includes(x)||B.owner_name.toLowerCase().includes(x)})}return(0,e.createComponentVNode)(2,d.Window,{title:"Request Manager",width:575,height:600,children:(0,e.createComponentVNode)(2,d.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Requests",buttons:(0,e.createComponentVNode)(2,o.Input,{value:h,onInput:function(){function B(L,w){return C(w)}return B}(),placeholder:"Search...",mr:1}),children:N.map(function(B){return(0,e.createVNode)(1,"div","RequestManager__row",[(0,e.createVNode)(1,"div","RequestManager__rowContents",[(0,e.createVNode)(1,"h2","RequestManager__header",[(0,e.createVNode)(1,"span","RequestManager__headerText",[B.owner_name,B.owner===null&&" [DC]"],0),(0,e.createVNode)(1,"span","RequestManager__timestamp",B.timestamp_str,0)],4),(0,e.createVNode)(1,"div","RequestManager__message",[(0,e.createComponentVNode)(2,k,{requestType:B.req_type}),(0,a.decodeHtmlEntities)(B.message)],0)],4),B.owner!==null&&(0,e.createComponentVNode)(2,S,{request:B})],0,null,B.id)})})})})}return p}(),V={request_prayer:"PRAYER",request_centcom:"CENTCOM",request_syndicate:"SYNDICATE",request_honk:"HONK",request_ert:"ERT",request_nuke:"NUKE CODE"},k=function(i){var l=i.requestType;return(0,e.createVNode)(1,"b","RequestManager__"+l,[V[l],(0,e.createTextVNode)(":")],0)},S=function(i,l){var f=(0,t.useBackend)(l),u=f.act,s=f._,m=i.request;return(0,e.createVNode)(1,"div","RequestManager__controlsContainer",[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("pp",{id:m.id})}return c}(),children:"PP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("vv",{id:m.id})}return c}(),children:"VV"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("sm",{id:m.id})}return c}(),children:"SM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("tp",{id:m.id})}return c}(),children:"TP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("logs",{id:m.id})}return c}(),children:"LOGS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("bless",{id:m.id})}return c}(),children:"BLESS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("smite",{id:m.id})}return c}(),children:"SMITE"}),m.req_type!=="request_prayer"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("rply",{id:m.id})}return c}(),children:"RPLY"}),m.req_type==="request_ert"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("ertreply",{id:m.id})}return c}(),children:"ERTREPLY"}),m.req_type==="request_nuke"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("getcode",{id:m.id})}return c}(),children:"GETCODE"})],0)}},16475:function(I,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),d=n(13472),y=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},V=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},k=r.RndConsole=function(){function S(p,i){var l=(0,a.useBackend)(i),f=l.data,u=f.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,theme:f.ui_theme,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,d.RndNavbar),(0,e.createComponentVNode)(2,d.RndRoute,{menu:y.MAIN,render:function(){function s(){return(0,e.createComponentVNode)(2,d.MainMenu)}return s}()}),(0,e.createComponentVNode)(2,d.RndRoute,{menu:y.LEVELS,render:function(){function s(){return(0,e.createComponentVNode)(2,d.CurrentLevels)}return s}()}),(0,e.createComponentVNode)(2,d.RndRoute,{menu:y.DISK,render:function(){function s(){return(0,e.createComponentVNode)(2,d.DataDiskMenu)}return s}()}),(0,e.createComponentVNode)(2,d.RndRoute,{menu:y.DESTROY,render:function(){function s(){return(0,e.createComponentVNode)(2,d.DeconstructionMenu)}return s}()}),(0,e.createComponentVNode)(2,d.RndRoute,{menu:function(){function s(m){return m===y.LATHE||m===y.IMPRINTER}return s}(),render:function(){function s(){return(0,e.createComponentVNode)(2,d.LatheMenu)}return s}()}),(0,e.createComponentVNode)(2,d.RndRoute,{menu:y.SETTINGS,render:function(){function s(){return(0,e.createComponentVNode)(2,d.SettingsMenu)}return s}()}),u?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:u})})}):null]})})})}return S}()},93098:function(I,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.CurrentLevels=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data,p=S.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),p.map(function(i,l){var f=i.name,u=i.level,s=i.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[l>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:f}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",u]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",s]})]},f)})]})}return d}()},19192:function(I,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),d=n(16475),y="design",V="tech",k=function(m,c){var v=(0,a.useBackend)(c),b=v.data,g=v.act,h=b.disk_data;return h?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:h.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:h.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:h.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function C(){return g("updt_tech")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function C(){return g("clear_tech")}return C}()}),(0,e.createComponentVNode)(2,i)]})]}):null},S=function(m,c){var v=(0,a.useBackend)(c),b=v.data,g=v.act,h=b.disk_data;if(!h)return null;var C=h.name,N=h.lathe_types,x=h.materials,B=N.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:C}),B?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:B}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),x.map(function(L){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,L.name,0,{style:{"text-transform":"capitalize"}})," x ",L.amount]},L.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function L(){return g("updt_design")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function L(){return g("clear_design")}return L}()}),(0,e.createComponentVNode)(2,i)]})]})},p=function(m,c){var v=(0,a.useBackend)(c),b=v.data,g=b.disk_type;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"This disk is empty."}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{submenu:d.SUBMENU.DISK_COPY,icon:"arrow-down",content:g===V?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,i)]})]})},i=function(m,c){var v=(0,a.useBackend)(c),b=v.data,g=v.act,h=b.disk_type;return h?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function C(){var N=h===V?"eject_tech":"eject_design";g(N)}return C}()}):null},l=function(m,c){var v=(0,a.useBackend)(c),b=v.data,g=b.disk_data,h=b.disk_type,C=function(){if(!g)return(0,e.createComponentVNode)(2,p);switch(h){case y:return(0,e.createComponentVNode)(2,S);case V:return(0,e.createComponentVNode)(2,k);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:C()})},f=function(m,c){var v=(0,a.useBackend)(c),b=v.data,g=v.act,h=b.disk_type,C=b.to_copy;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:C.sort(function(N,x){return N.name.localeCompare(x.name)}).map(function(N){var x=N.name,B=N.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:x,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function L(){h===V?g("copy_tech",{id:B}):g("copy_design",{id:B})}return L}()})},B)})})})})},u=r.DataDiskMenu=function(){function s(m,c){var v=(0,a.useBackend)(c),b=v.data,g=b.disk_type;return g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:d.SUBMENU.MAIN,render:function(){function h(){return(0,e.createComponentVNode)(2,l)}return h}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:d.SUBMENU.DISK_COPY,render:function(){function h(){return(0,e.createComponentVNode)(2,f)}return h}()})],4):null}return s}()},20887:function(I,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.DeconstructionMenu=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data,p=k.act,i=S.loaded_item,l=S.linked_destroy;return l?i?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",i.name]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Origin Tech:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:i.origin_tech.map(function(f){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+f.name,children:[f.object_level," ",f.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),f.current_level,(0,e.createTextVNode)(")")],0):null]},f.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function f(){p("deconstruct")}return f}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function f(){p("eject_item")}return f}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return d}()},10666:function(I,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),d=r.LatheCategory=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.data,i=S.act,l=p.category,f=p.matching_designs,u=p.menu,s=u===4,m=s?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:l,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:f.map(function(c){var v=c.id,b=c.name,g=c.can_build,h=c.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:b,disabled:g<1,onClick:function(){function C(){return i(m,{id:v,amount:1})}return C}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function C(){return i(m,{id:v,amount:5})}return C}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function C(){return i(m,{id:v,amount:10})}return C}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.map(function(C){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",C.is_red?"color-red":null,[C.amount,(0,e.createTextVNode)(" "),C.name],0)],0)})})]},v)})})]})}return y}()},52285:function(I,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheChemicalStorage=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data,p=k.act,i=S.loaded_chemicals,l=S.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function f(){var u=l?"disposeallP":"disposeallI";p(u)}return f}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:i.map(function(f){var u=f.volume,s=f.name,m=f.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+u+" of "+s,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function c(){var v=l?"disposeP":"disposeI";p(v,{id:m})}return c}()})},m)})})]})}return d}()},71964:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),d=r.LatheMainMenu=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.data,i=S.act,l=p.menu,f=p.categories,u=l===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:u+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:f.map(function(s){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:s,onClick:function(){function m(){i("setCategory",{category:s})}return m}()})},s)})})]})}return y}()},17906:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterialStorage=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data,p=k.act,i=S.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:i.map(function(l){var f=l.id,u=l.amount,s=l.name,m=function(){function g(h){var C=S.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";p(C,{id:f,amount:h})}return g}(),c=Math.floor(u/2e3),v=u<1,b=c===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:v?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",u," of ",s]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",c," sheet",b,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function g(){return m(1)}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function g(){return m("custom")}return g}()}),u>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function g(){return m(5)}return g}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function g(){return m(50)}return g}()})],0):null})]},f)})})})}return d}()},83706:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterials=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data,p=S.total_materials,i=S.max_materials,l=S.max_chemicals,f=S.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p}),i?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+i}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:f}),l?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+l}):null]})]})})}return d}()},76749:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(89005),a=n(72253),t=n(12059),o=n(13472),d=n(36036),y=n(16475),V=r.LatheMenu=function(){function k(S,p){var i=(0,a.useBackend)(p),l=i.data,f=l.menu,u=l.linked_lathe,s=l.linked_imprinter;return f===4&&!u?(0,e.createComponentVNode)(2,d.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):f===5&&!s?(0,e.createComponentVNode)(2,d.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,d.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.MAIN,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_CATEGORY,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_MAT_STORAGE,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return m}()})]})}return k}()},74698:function(I,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheSearch=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function p(i,l){return S("search",{to_search:l})}return p}()})})}return d}()},17180:function(I,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),d=n(16475),y=r.MainMenu=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,l=i.disk_type,f=i.linked_destroy,u=i.linked_lathe,s=i.linked_imprinter,m=i.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!l,menu:d.MENU.DISK,submenu:d.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,menu:d.MENU.DESTROY,submenu:d.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!u,menu:d.MENU.LATHE,submenu:d.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!s,menu:d.MENU.IMPRINTER,submenu:d.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:d.MENU.SETTINGS,submenu:d.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:m.map(function(c){var v=c.name,b=c.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:v,children:b},v)})})]})}return V}()},63459:function(I,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.RndNavButton=function(){function d(y,V){var k=y.icon,S=y.children,p=y.disabled,i=y.content,l=(0,a.useBackend)(V),f=l.data,u=l.act,s=f.menu,m=f.submenu,c=s,v=m;return y.menu!==null&&y.menu!==void 0&&(c=y.menu),y.submenu!==null&&y.submenu!==void 0&&(v=y.submenu),(0,e.createComponentVNode)(2,t.Button,{content:i,icon:k,disabled:p,onClick:function(){function b(){u("nav",{menu:c,submenu:v})}return b}(),children:S})}return d}()},94942:function(I,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(89005),a=n(13472),t=n(36036),o=n(16475),d=r.RndNavbar=function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function V(k){return k!==o.MENU.MAIN}return V}(),render:function(){function V(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return V}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function V(k){return k!==o.SUBMENU.MAIN}return V}(),render:function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.DISK,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.LATHE,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return k}()})]})}return V}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function V(k){return k===o.MENU.LATHE||k===o.MENU.IMPRINTER}return V}(),submenu:o.SUBMENU.MAIN,render:function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return V}()})]})}return y}()},12059:function(I,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(72253),a=r.RndRoute=function(){function t(o,d){var y=o.render,V=(0,e.useBackend)(d),k=V.data,S=k.menu,p=k.submenu,i=function(){function f(u,s){return u==null?!0:typeof u=="function"?u(s):u===s}return f}(),l=i(o.menu,S)&&i(o.submenu,p);return l?y():null}return t}()},52580:function(I,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),d=n(16475),y=r.SettingsMenu=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,l=p.act,f=i.sync,u=i.admin,s=i.linked_destroy,m=i.linked_lathe,c=i.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:d.SUBMENU.MAIN,render:function(){function v(){return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!f,onClick:function(){function b(){l("sync")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:f,onClick:function(){function b(){l("togglesync")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!f,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function b(){l("togglesync")}return b}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,content:"Device Linkage Menu",icon:"link",menu:d.MENU.SETTINGS,submenu:d.SUBMENU.SETTINGS_DEVICES}),u===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function b(){return l("maxresearch")}return b}()}):null]})})}return v}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:d.SUBMENU.SETTINGS_DEVICES,render:function(){function v(){return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage Menu",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function b(){return l("find_device")}return b}()}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",children:(0,e.createVNode)(1,"h3",null,"Linked Devices:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[s?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){return l("disconnect",{item:"destroy"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),m?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){l("disconnect",{item:"lathe"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),c?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){return l("disconnect",{item:"imprinter"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return v}()})]})}return V}()},13472:function(I,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(93098);r.CurrentLevels=e.CurrentLevels;var a=n(19192);r.DataDiskMenu=a.DataDiskMenu;var t=n(20887);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(10666);r.LatheCategory=o.LatheCategory;var d=n(52285);r.LatheChemicalStorage=d.LatheChemicalStorage;var y=n(71964);r.LatheMainMenu=y.LatheMainMenu;var V=n(83706);r.LatheMaterials=V.LatheMaterials;var k=n(17906);r.LatheMaterialStorage=k.LatheMaterialStorage;var S=n(76749);r.LatheMenu=S.LatheMenu;var p=n(74698);r.LatheSearch=p.LatheSearch;var i=n(17180);r.MainMenu=i.MainMenu;var l=n(94942);r.RndNavbar=l.RndNavbar;var f=n(63459);r.RndNavButton=f.RndNavButton;var u=n(12059);r.RndRoute=u.RndRoute;var s=n(52580);r.SettingsMenu=s.SettingsMenu},40026:function(I,r,n){"use strict";r.__esModule=!0,r.RoboQuest=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),d=n(98595),y=r.RoboQuest=function(){function V(k,S){var p=(0,t.useBackend)(S),i=p.act,l=p.data,f=l.hasID,u=l.name,s=l.questInfo,m=l.hasTask,c=l.canCheck,v=l.canSend,b=l.checkMessage,g=l.style,h=l.cooldown,C=l.shopItems,N=l.points,x=l.cats,B=(0,t.useLocalState)(S,"shopState",!1),L=B[0],w=B[1],A={medical:"blue",working:"brown",security:"red",working_medical:"olive",medical_security:"violet",working_medical_security:"grey"};return(0,e.createComponentVNode)(2,d.Window,{theme:g,width:1e3,height:540,children:(0,e.createComponentVNode)(2,d.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:40,children:[!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Mecha",buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Check Mech",icon:"search",disabled:!f||!m||!c||h,onClick:function(){function T(){return i("Check")}return T}()}),children:[(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:60,textAlign:"center",align:"center",children:!!m&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest_large128x128",s.icon]))}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Divider,{vertical:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:42,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&s.modules.map(function(T){return T.id<4&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest64x64",T.icon]),null,1,null,T.id)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&s.modules.map(function(T){return T.id>3&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest64x64",T.icon]),null,1,null,T.id)})})]})})]}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Divider),(0,e.createVNode)(1,"b",null,b,0)],4),!!h&&(0,e.createFragment)([(0,e.createVNode)(1,"b",null,"\u0417\u0430 \u043E\u0442\u043A\u0430\u0437 \u043E\u0442 \u0437\u0430\u043A\u0430\u0437\u0430, \u0432\u044B \u0431\u044B\u043B\u0438 \u043E\u0442\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u044B \u043E\u0442 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0430 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,h,0)],4)]}),!!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:(0,e.createComponentVNode)(2,o.Box,{children:["Corps bounties",(0,e.createComponentVNode)(2,o.Box,{children:["Points: ",(0,e.createVNode)(1,"b",null,N.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,N.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,N.security,0,{style:{color:"red"}})]})]}),children:Object.keys(C).map(function(T){return(0,e.createFragment)(!(C[T]===void 0||C[T].length===0||T==="robo")&&C[T].map(function(E){return(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:A[T],image:E.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[E.name," ",(0,e.createVNode)(1,"b",null,E.cost.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,E.cost.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,E.cost.security,0,{style:{color:"red"}})]}),content:E.desc,onClick:function(){function O(){return i("buyItem",{item:E.path})}return O}()},E.path)}),0,T)})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:20,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Other",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Shop",icon:"shopping-cart",onClick:function(){function T(){return w(!L)}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"cog",onClick:function(){function T(){return i("ChangeStyle")}return T}()})],4),children:!!u&&(0,e.createFragment)([(0,e.createTextVNode)("\u0417\u0434\u0440\u0430\u0441\u0442\u0432\u0443\u0439\u0442\u0435,"),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,u,0),(0,e.createVNode)(1,"br")],4)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:38,children:[!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Info",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"id-card",content:"Eject ID",disabled:!f,onClick:function(){function T(){return i("RemoveID")}return T}()}),!m&&(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",content:"Get Task",disabled:!f||h,onClick:function(){function T(){return i("GetTask")}return T}()}),!!m&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Print",icon:"print",onClick:function(){function T(){return i("printOrder")}return T}(),disabled:!m}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",content:"Remove Task",disabled:!f||h,onClick:function(){function T(){return i("RemoveTask")}return T}()})],4)],0),children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"1rem",children:[(0,e.createVNode)(1,"b",null,"Name: ",16),s.name,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,"Desc: ",16),s.desc]}),(0,e.createComponentVNode)(2,o.Section,{title:"Modules",level:2,children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"0.5rem",children:!!m&&s.modules.map(function(T){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Module "),T.id],0),(0,e.createTextVNode)(": "),T.name,(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br")],0,T.id)})})}),(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"15rem",bold:!0,content:"Send Mech",textAlign:"center",disabled:!f||!m||!v||h,onClick:function(){function T(){return i("SendMech",{type:"send"})}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"15rem",bold:!0,content:"Pack",textAlign:"center",disabled:!f||!m||!v||h,onClick:function(){function T(){return i("SendMech",{type:"only_packing"})}return T}()})]})]}),!!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createTextVNode)("RoboQuest Shop"),(0,e.createComponentVNode)(2,o.Box,{children:["Points: ",N.robo]})],4),children:C.robo.map(function(T){return(!T.emagOnly||g==="syndicate")&&(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:"purple",image:T.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[T.name," ",(0,e.createVNode)(1,"b",null,T.cost.robo,0,{style:{color:"purple"}})]}),content:T.desc,onClick:function(){function E(){return i("buyItem",{item:T.path})}return E}()},T.name)})})]})]})})})}return V}()},26109:function(I,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=n(25328),y=function(S,p){var i=S/p;return i<=.2?"good":i<=.5?"average":"bad"},V=r.RobotSelfDiagnosis=function(){function k(S,p){var i=(0,a.useBackend)(p),l=i.data,f=l.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:f.map(function(u,s){return(0,e.createComponentVNode)(2,t.Section,{title:(0,d.capitalize)(u.name),children:u.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:u.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:y(u.brute_damage,u.max_damage),children:u.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:y(u.electronic_damage,u.max_damage),children:u.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:u.powered?"good":"bad",children:u.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:u.status?"good":"bad",children:u.status?"Yes":"No"})]})})]})},s)})})})}return k}()},97997:function(I,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.RoboticsControlConsole=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.can_hack,u=l.safety,s=l.show_detonate_all,m=l.cyborgs,c=m===void 0?[]:m;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!s&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Self Destruct",children:[(0,e.createComponentVNode)(2,t.Button,{icon:u?"lock":"unlock",content:u?"Disable Safety":"Enable Safety",selected:u,onClick:function(){function v(){return i("arm",{})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",disabled:u,content:"Destroy ALL Cyborgs",color:"bad",onClick:function(){function v(){return i("nuke",{})}return v}()})]}),(0,e.createComponentVNode)(2,y,{cyborgs:c,can_hack:f})]})})}return V}(),y=function(k,S){var p=k.cyborgs,i=k.can_hack,l=(0,a.useBackend)(S),f=l.act,u=l.data;return p.length?p.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,buttons:(0,e.createFragment)([!!s.hackable&&!s.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function m(){return f("hackbot",{uid:s.uid})}return m}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:s.locked_down?"unlock":"lock",color:s.locked_down?"good":"default",content:s.locked_down?"Release":"Lockdown",disabled:!u.auth,onClick:function(){function m(){return f("stopbot",{uid:s.uid})}return m}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Detonate",disabled:!u.auth,color:"bad",onClick:function(){function m(){return f("killbot",{uid:s.uid})}return m}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:s.status?"bad":s.locked_down?"average":"good",children:s.status?"Not Responding":s.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:s.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.health>50?"good":"bad",value:s.health/100})}),typeof s.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.charge>30?"good":"bad",value:s.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:s.cell_capacity<3e4?"average":"good",children:s.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!s.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:s.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:s.synchronization?"default":"average",children:s.synchronization||"None"})})]})},s.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},54431:function(I,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(89005),a=n(79140),t=n(72253),o=n(36036),d=n(98595),y=r.Safe=function(){function p(i,l){var f=(0,t.useBackend)(l),u=f.act,s=f.data,m=s.dial,c=s.open,v=s.locked,b=s.contents;return(0,e.createComponentVNode)(2,d.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,d.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,o.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),c?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,o.Box,{as:"img",className:"Safe--dial",src:(0,a.resolveAsset)("safe_dial.png"),style:{transform:"rotate(-"+3.6*m+"deg)","z-index":0}})]}),!c&&(0,e.createComponentVNode)(2,S)]})})}return p}(),V=function(i,l){var f=(0,t.useBackend)(l),u=f.act,s=f.data,m=s.dial,c=s.open,v=s.locked,b=function(h,C){return(0,e.createComponentVNode)(2,o.Button,{disabled:c||C&&!v,icon:"arrow-"+(C?"right":"left"),content:(C?"Right":"Left")+" "+h,iconRight:C,onClick:function(){function N(){return u(C?"turnleft":"turnright",{num:h})}return N}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,o.Button,{disabled:v,icon:c?"lock":"lock-open",content:c?"Close":"Open",mb:"0.5rem",onClick:function(){function g(){return u("open")}return g}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{position:"absolute",children:[b(50),b(10),b(1)]}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[b(1,!0),b(10,!0),b(50,!0)]}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer--number",children:m})]})},k=function(i,l){var f=(0,t.useBackend)(l),u=f.act,s=f.data,m=s.contents;return(0,e.createComponentVNode)(2,o.Box,{className:"Safe--contents",overflow:"auto",children:m.map(function(c,v){return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{mb:"0.5rem",onClick:function(){function b(){return u("retrieve",{index:v+1})}return b}(),children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:c.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),c.name]}),(0,e.createVNode)(1,"br")],4,c)})})},S=function(i,l){return(0,e.createComponentVNode)(2,o.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,o.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},29740:function(I,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.SatelliteControl=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.satellites,f=i.notice,u=i.meteor_shield,s=i.meteor_shield_coverage,m=i.meteor_shield_coverage_max,c=i.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[u&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:c>=100?"good":"average",value:s,maxValue:m,children:[c," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:i.notice}),l.map(function(v){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+v.id,children:[v.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:v.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function b(){return p("toggle",{id:v.id})}return b}()})]},v.id)})]})})]})})}return y}()},44162:function(I,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.SecureStorage=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.emagged,f=i.locked,u=i.l_set,s=i.l_setshort,m=i.current_code,c=function(){function v(b){var g=b.buttonValue,h=b.color;return h||(h="default"),(0,e.createComponentVNode)(2,t.Button,{disabled:l||s,type:"button",color:h,onClick:function(){function C(){return p("setnumber",{buttonValue:g})}return C}(),children:g})}return v}();return(0,e.createComponentVNode)(2,o.Window,{width:520,height:200,children:(0,e.createComponentVNode)(2,t.Flex,{spacing:"1",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:16,shrink:0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Code Panel",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,c,{buttonValue:"1"}),(0,e.createComponentVNode)(2,c,{buttonValue:"2"}),(0,e.createComponentVNode)(2,c,{buttonValue:"3"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,c,{buttonValue:"4"}),(0,e.createComponentVNode)(2,c,{buttonValue:"5"}),(0,e.createComponentVNode)(2,c,{buttonValue:"6"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,c,{buttonValue:"7"}),(0,e.createComponentVNode)(2,c,{buttonValue:"8"}),(0,e.createComponentVNode)(2,c,{buttonValue:"9"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,c,{buttonValue:"R",color:"red"}),(0,e.createComponentVNode)(2,c,{buttonValue:"0"}),(0,e.createComponentVNode)(2,c,{buttonValue:"E",color:"green"})]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Current Status",children:l||s?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:l?"LOCKING SYSTEM ERROR - 1701":"ALERT: MEMORY SYSTEM ERROR - 6040 201"})}),l?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"NEW INPUT, ASSHOLE"})}):""]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Secure Code",children:(0,e.createComponentVNode)(2,t.Box,{color:u?"red":"green",children:u?"*****":"NOT SET. ENTER NEW."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:f?"red":"green",children:f?"Locked":"Unlocked"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{children:m||"Waiting for input"})}),(0,e.createComponentVNode)(2,t.Button,{top:".35em",left:".5em",disabled:f,color:"red",content:"Lock",icon:"lock",onClick:function(){function v(){return p("close")}return v}()})]})})]})})}return y}()},6272:function(I,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),d=n(98595),y=n(3939),V=n(321),k=n(5485),S=n(22091),p={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},i=function(C,N){(0,y.modalOpen)(C,"edit",{field:N.edit,value:N.value})},l=r.SecurityRecords=function(){function h(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.loginState,A=L.currentPage,T;if(w.logged_in)A===1?T=(0,e.createComponentVNode)(2,u):A===2?T=(0,e.createComponentVNode)(2,c):A===3&&(T=(0,e.createComponentVNode)(2,v));else return(0,e.createComponentVNode)(2,d.Window,{width:800,height:900,theme:"security",children:(0,e.createComponentVNode)(2,d.Window.Content,{children:(0,e.createComponentVNode)(2,k.LoginScreen)})});return(0,e.createComponentVNode)(2,d.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,y.ComplexModal),(0,e.createComponentVNode)(2,d.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,S.TemporaryNotice),(0,e.createComponentVNode)(2,f),T]})})]})}return h}(),f=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.currentPage,A=L.general;return(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===1,onClick:function(){function T(){return B("page",{page:1})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"list"}),"List Records"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===2,onClick:function(){function T(){return B("page",{page:2})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wrench"}),"Record Maintenance"]}),w===3&&A&&!A.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===3,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"file"}),"Record: ",A.fields[0].value]})]})},u=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.records,A=(0,t.useLocalState)(N,"searchText",""),T=A[0],E=A[1],O=(0,t.useLocalState)(N,"sortId","name"),P=O[0],R=O[1],F=(0,t.useLocalState)(N,"sortOrder",!0),j=F[0],W=F[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SecurityRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,s,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,s,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,s,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,s,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,s,{id:"status",children:"Criminal Status"})]}),w.filter((0,a.createSearch)(T,function(H){return H.name+"|"+H.id+"|"+H.rank+"|"+H.fingerprint+"|"+H.status})).sort(function(H,z){var $=j?1:-1;return H[P].localeCompare(z[P])*$}).map(function(H){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+p[H.status],onClick:function(){function z(){return B("view",{uid_gen:H.uid_gen,uid_sec:H.uid_sec})}return z}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",H.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.status})]},H.id)})]})})})],4)},s=function(C,N){var x=(0,t.useLocalState)(N,"sortId","name"),B=x[0],L=x[1],w=(0,t.useLocalState)(N,"sortOrder",!0),A=w[0],T=w[1],E=C.id,O=C.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:B!==E&&"transparent",fluid:!0,onClick:function(){function P(){B===E?T(!A):(L(E),T(!0))}return P}(),children:[O,B===E&&(0,e.createComponentVNode)(2,o.Icon,{name:A?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},m=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.isPrinting,A=(0,t.useLocalState)(N,"searchText",""),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:"0.25rem",content:"New Record",icon:"plus",onClick:function(){function O(){return B("new_general")}return O}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Cell Log",onClick:function(){function O(){return(0,y.modalOpen)(N,"print_cell_log")}return O}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function O(P,R){return E(R)}return O}()})})]})},c=function(C,N){var x=(0,t.useBackend)(N),B=x.act;return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:!0,icon:"download",content:"Backup to Disk",tooltip:"This feature is not available.",tooltipPosition:"right"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button,{disabled:!0,icon:"upload",content:"Upload from Disk",tooltip:"This feature is not available.",tooltipPosition:"right",my:"0.5rem"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",content:"Delete All Security Records",onClick:function(){function L(){return B("delete_security_all")}return L}(),mb:"0.5rem"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",content:"Delete All Cell Logs",onClick:function(){function L(){return B("delete_cell_logs")}return L}()})]})},v=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.isPrinting,A=L.general,T=L.security;return!A||!A.fields?(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"General records lost!"}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,level:2,mt:"-6px",title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Record",onClick:function(){function E(){return B("print_record")}return E}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"WARNING: This will also delete the Security and Medical records associated with this crew member!",tooltipPosition:"bottom-start",content:"Delete Record",onClick:function(){function E(){return B("delete_general")}return E}()})],4),children:(0,e.createComponentVNode)(2,b)})}),!T||!T.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function E(){return B("new_security")}return E}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Security records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:T.empty,content:"Delete Record",onClick:function(){function E(){return B("delete_security")}return E}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:T.fields.map(function(E,O){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:E.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(E.value),!!E.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:E.line_break?"1rem":"initial",onClick:function(){function P(){return i(N,E)}return P}()})]},O)})})})})}),(0,e.createComponentVNode)(2,g)],4)],0)},b=function(C,N){var x=(0,t.useBackend)(N),B=x.data,L=B.general;return!L||!L.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:L.fields.map(function(w,A){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:w.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+w.value),!!w.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:w.line_break?"1rem":"initial",onClick:function(){function T(){return i(N,w)}return T}()})]},A)})})}),!!L.has_photos&&L.photos.map(function(w,A){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:w,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",A+1]},A)})]})},g=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function A(){return(0,y.modalOpen)(N,"comment_add")}return A}()}),children:w.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):w.comments.map(function(A,T){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:A.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),A.text||A,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function E(){return B("comment_delete",{id:T+1})}return E}()})]},T)})})})}},5099:function(I,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(89005),a=n(25328),t=n(35840),o=n(72253),d=n(36036),y=n(98595),V=n(3939);function k(m,c){var v=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(v)return(v=v.call(m)).next.bind(v);if(Array.isArray(m)||(v=S(m))||c&&m&&typeof m.length=="number"){v&&(m=v);var b=0;return function(){return b>=m.length?{done:!0}:{done:!1,value:m[b++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(m,c){if(m){if(typeof m=="string")return p(m,c);var v={}.toString.call(m).slice(8,-1);return v==="Object"&&m.constructor&&(v=m.constructor.name),v==="Map"||v==="Set"?Array.from(m):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?p(m,c):void 0}}function p(m,c){(c==null||c>m.length)&&(c=m.length);for(var v=0,b=Array(c);v=T},g=function(A,T){return A<=T},h=c.split(" "),C=[],N=function(){var A=L.value,T=A.split(":");if(T.length===0)return 0;if(T.length===1)return C.push(function(P){return(P.name+" ("+P.variant+")").toLocaleLowerCase().includes(T[0].toLocaleLowerCase())}),0;if(T.length>2)return{v:function(){function P(R){return!1}return P}()};var E,O=v;if(T[1][T[1].length-1]==="-"?(O=g,E=Number(T[1].substring(0,T[1].length-1))):T[1][T[1].length-1]==="+"?(O=b,E=Number(T[1].substring(0,T[1].length-1))):E=Number(T[1]),isNaN(E))return{v:function(){function P(R){return!1}return P}()};switch(T[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":C.push(function(P){return O(P.lifespan,E)});break;case"e":case"end":case"endurance":C.push(function(P){return O(P.endurance,E)});break;case"m":case"mat":case"maturation":C.push(function(P){return O(P.maturation,E)});break;case"pr":case"prod":case"production":C.push(function(P){return O(P.production,E)});break;case"y":case"yield":C.push(function(P){return O(P.yield,E)});break;case"po":case"pot":case"potency":C.push(function(P){return O(P.potency,E)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":C.push(function(P){return O(P.amount,E)});break;default:return{v:function(){function P(R){return!1}return P}()}}},x,B=k(h),L;!(L=B()).done;)if(x=N(),x!==0&&x)return x.v;return function(w){for(var A=0,T=C;A=1?Number(O):1)}return T}()})]})]})}},2916:function(I,r,n){"use strict";r.__esModule=!0,r.ShuttleConsoleContent=r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.ShuttleConsole=function(){function p(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=i.type,c=m===void 0?"shuttle":m,v=i.blind_drop,b=s.authorization_required;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:240,children:[!!b&&(0,e.createComponentVNode)(2,t.Modal,{ml:1,mt:1,width:26,height:12,fontSize:"28px",fontFamily:"monospace",textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2,children:(0,e.createComponentVNode)(2,t.Icon,{name:"minus-circle"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2,ml:2,color:"bad",children:c==="shuttle"?"SHUTTLE LOCKED":"BASE LOCKED"})]}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"18px",mt:4,children:(0,e.createComponentVNode)(2,t.Button,{lineHeight:"40px",icon:"arrow-circle-right",content:"Request Authorization",color:"bad",onClick:function(){function g(){return u("request")}return g}()})})]}),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S,{type:c,blind_drop:v})})]})}return p}(),y=function(i,l){var f;return i==null||(f=i.find(function(u){return u.id===l}))==null?void 0:f.name},V=function(i,l){var f;return i==null||(f=i.find(function(u){return u.name===l}))==null?void 0:f.id},k={"In Transit":"good",Idle:"average",Igniting:"average",Recharging:"average",Missing:"bad","Unauthorized Access":"bad",Locked:"bad"},S=r.ShuttleConsoleContent=function(){function p(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=i.type,c=i.blind_drop,v=s.status,b=s.locked,g=s.authorization_required,h=s.destination,C=s.docked_location,N=s.timer_str,x=s.locations,B=x===void 0?[]:x;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,fontSize:"26px",textAlign:"center",fontFamily:"monospace",children:N||"00:00"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",fontSize:"14px",mb:1,children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,bold:!0,children:"STATUS:"}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:k[v]||"bad",ml:1,children:v||"Not Available"})]}),(0,e.createComponentVNode)(2,t.Section,{title:m==="shuttle"?"Shuttle Controls":"Base Launch Controls",level:2,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:C||"Not Available"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",buttons:m!=="shuttle"&&B.length===0&&!!c&&(0,e.createComponentVNode)(2,t.Button,{color:"bad",icon:"exclamation-triangle",disabled:g||!c,content:"Blind Drop",onClick:function(){function L(){return u("random")}return L}()}),children:B.length===0&&(0,e.createComponentVNode)(2,t.Box,{mb:1.7,color:"bad",children:"Not Available"})||B.length===1&&(0,e.createComponentVNode)(2,t.Box,{mb:1.7,color:"average",children:y(B,h)})||(0,e.createComponentVNode)(2,t.Dropdown,{mb:1.7,over:!0,width:"240px",options:B.map(function(L){return L.name}),disabled:b||g,selected:y(B,h)||"Select a Destination",onSelected:function(){function L(w){return u("set_destination",{destination:V(B,w)})}return L}()})})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Depart",disabled:!y(B,h)||b||g||v!=="Idle",icon:"arrow-up",textAlign:"center",onClick:function(){function L(){return u("move",{shuttle_id:h})}return L}()})]})]})}return p}()},39401:function(I,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.ShuttleManipulator=function(){function S(p,i){var l=(0,a.useLocalState)(i,"tabIndex",0),f=l[0],u=l[1],s=function(){function m(c){switch(c){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,V);case 2:return(0,e.createComponentVNode)(2,k);default:return"WE SHOULDN'T BE HERE!"}}return m}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===0,onClick:function(){function m(){return u(0)}return m}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===1,onClick:function(){function m(){return u(1)}return m}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===2,onClick:function(){function m(){return u(2)}return m}(),icon:"tools",children:"Modification"},"Modification")]}),s(f)]})})})}return S}(),y=function(p,i){var l=(0,a.useBackend)(i),f=l.act,u=l.data,s=u.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:s.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{title:m.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:m.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:m.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:m.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:m.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function c(){return f("jump_to",{type:"mobile",id:m.id})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function c(){return f("fast_travel",{id:m.id})}return c}()})]})]})},m.name)})})},V=function(p,i){var l=(0,a.useBackend)(i),f=l.act,u=l.data,s=u.templates_tabs,m=u.existing_shuttle,c=u.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:s.map(function(v){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===m.id,icon:"file",onClick:function(){function b(){return f("select_template_category",{cat:v})}return b}(),children:v},v)})}),!!m&&c[m.id].templates.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[v.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:v.description}),v.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:v.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Load Template",icon:"download",onClick:function(){function b(){return f("select_template",{shuttle_id:v.shuttle_id})}return b}()})})]})},v.name)})]})},k=function(p,i){var l=(0,a.useBackend)(i),f=l.act,u=l.data,s=u.existing_shuttle,m=u.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[s?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:s.status}),s.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:s.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function c(){return f("jump_to",{type:"mobile",id:s.id})}return c}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),m?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+m.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:m.description}),m.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:m.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function c(){return f("preview",{shuttle_id:m.shuttle_id})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function c(){return f("load",{shuttle_id:m.shuttle_id})}return c}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},88284:function(I,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),d=n(98595),y=[["good","Alive"],["average","Critical"],["bad","DEAD"]],V=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],k={average:[.25,.5],bad:[.5,1/0]},S=["bad","average","average","good","average","average","bad"],p=r.Sleeper=function(){function c(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.hasOccupant,x=N?(0,e.createComponentVNode)(2,i):(0,e.createComponentVNode)(2,m);return(0,e.createComponentVNode)(2,d.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,d.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:x}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u)})]})})})}return c}(),i=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,s)],4)},l=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.occupant,x=C.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:x?"toggle-on":"toggle-off",selected:x,content:x?"On":"Off",onClick:function(){function B(){return h("auto_eject_dead_"+(x?"off":"on"))}return B}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function B(){return h("ejectify")}return B}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:N.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.maxHealth,value:N.health/N.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(N.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:y[N.stat][0],children:y[N.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.maxTemp,value:N.bodyTemperature/N.maxTemp,color:S[N.temperatureSuitability+3],children:[(0,a.round)(N.btCelsius,0),"\xB0C,",(0,a.round)(N.btFaren,0),"\xB0F"]})}),!!N.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.bloodMax,value:N.bloodLevel/N.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[N.bloodPercent,"%, ",N.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[N.pulse," BPM"]})],4)]})})},f=function(v,b){var g=(0,t.useBackend)(b),h=g.data,C=h.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:V.map(function(N,x){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:N[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:C[N[1]]/100,ranges:k,children:(0,a.round)(C[N[1]],0)},x)},x)})})})},u=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.hasOccupant,x=C.isBeakerLoaded,B=C.beakerMaxSpace,L=C.beakerFreeSpace,w=C.dialysis,A=w&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!x||L<=0||!N,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Active":"Inactive",onClick:function(){function T(){return h("togglefilter")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!x,icon:"eject",content:"Eject",onClick:function(){function T(){return h("removebeaker")}return T}()})],4),children:x?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:B,value:L/B,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},s=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.occupant,x=C.chemicals,B=C.maxchem,L=C.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:x.map(function(w,A){var T="",E;return w.overdosing?(T="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):w.od_warning&&(T="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:w.title,level:"3",mx:"0",lineHeight:"18px",buttons:E,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:B,value:w.occ_amount/B,color:T,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[w.pretty_amount,"/",B,"u"]}),L.map(function(O,P){return(0,e.createComponentVNode)(2,o.Button,{disabled:!w.injectable||w.occ_amount+O>B||N.stat===2,icon:"syringe",content:"Inject "+O+"u",title:"Inject "+O+"u of "+w.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function R(){return h("chemical",{chemid:w.id,amount:O})}return R}()},P)})]})})},A)})})},m=function(v,b){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},21597:function(I,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.SlotMachine=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data;if(i.money===null)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Could not scan your card or could not find account!"}),(0,e.createComponentVNode)(2,t.Box,{children:"Please wear or hold your ID and try again."})]})})});var l;return i.plays===1?l=i.plays+" player has tried their luck today!":l=i.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{lineHeight:2,children:l}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:i.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"50 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:i.working,content:i.working?"Spinning...":"Spin",onClick:function(){function f(){return p("spin")}return f}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:i.resultlvl,children:i.result})]})})})}return y}()},46348:function(I,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.Smartfridge=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.secure,f=i.can_dry,u=i.drying,s=i.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!l&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:f?"Drying rack":"Contents",buttons:!!f&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){function m(){return p("drying")}return m}()}),children:[!s&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cookie-bite",size:5,color:"brown"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No products loaded."]})}),!!s&&s.slice().sort(function(m,c){return m.display_name.localeCompare(c.display_name)}).map(function(m){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:m.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",m.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function c(){return p("vend",{index:m.vend,amount:1})}return c}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:m.quantity,step:1,stepPixelSize:3,onChange:function(){function c(v,b){return p("vend",{index:m.vend,amount:b})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function c(){return p("vend",{index:m.vend,amount:m.quantity})}return c}()})]})]},m)})]})]})})})}return y}()},86162:function(I,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(49968),d=n(98595),y=1e3,V=r.Smes=function(){function k(S,p){var i=(0,a.useBackend)(p),l=i.act,f=i.data,u=f.capacityPercent,s=f.capacity,m=f.charge,c=f.inputAttempt,v=f.inputting,b=f.inputLevel,g=f.inputLevelMax,h=f.inputAvailable,C=f.outputPowernet,N=f.outputAttempt,x=f.outputting,B=f.outputLevel,L=f.outputLevelMax,w=f.outputUsed,A=u>=100&&"good"||v&&"average"||"bad",T=x&&"good"||m>0&&"average"||"bad";return(0,e.createComponentVNode)(2,d.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,d.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c?"sync-alt":"times",selected:c,onClick:function(){function E(){return l("tryinput")}return E}(),children:c?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:u>=100&&"Fully Charged"||v&&"Charging"||"Not Charging"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Input",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:b===0,onClick:function(){function E(){return l("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:b===0,onClick:function(){function E(){return l("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:b/y,fillValue:h/y,minValue:0,maxValue:g/y,step:5,stepPixelSize:4,format:function(){function E(O){return(0,o.formatPower)(O*y,1)}return E}(),onChange:function(){function E(O,P){return l("input",{target:P*y})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:b===g,onClick:function(){function E(){return l("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:b===g,onClick:function(){function E(){return l("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(h)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:N?"power-off":"times",selected:N,onClick:function(){function E(){return l("tryoutput")}return E}(),children:N?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:T,children:C?x?"Sending":m>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:B===0,onClick:function(){function E(){return l("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:B===0,onClick:function(){function E(){return l("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:B/y,minValue:0,maxValue:L/y,step:5,stepPixelSize:4,format:function(){function E(O){return(0,o.formatPower)(O*y,1)}return E}(),onChange:function(){function E(O,P){return l("output",{target:P*y})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:B===L,onClick:function(){function E(){return l("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:B===L,onClick:function(){function E(){return l("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(w)})]})})]})})})}return k}()},63584:function(I,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.SolarControl=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=0,f=1,u=2,s=i.generated,m=i.generated_ratio,c=i.tracking_state,v=i.tracking_rate,b=i.connected_panels,g=i.connected_tracker,h=i.cdir,C=i.direction,N=i.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){function x(){return p("refresh")}return x}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar tracker",color:g?"good":"bad",children:g?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:b>0?"good":"bad",children:b})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:m,children:s+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[h,"\xB0 (",C,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[c===u&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),c===f&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",v,"\xB0/h (",N,")"," "]}),c===l&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[c!==u&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:h,onDrag:function(){function x(B,L){return p("cdir",{cdir:L})}return x}()}),c===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:c===l,onClick:function(){function x(){return p("track",{track:l})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:c===f,onClick:function(){function x(){return p("track",{track:f})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:c===u,disabled:!g,onClick:function(){function x(){return p("track",{track:u})}return x}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[c===f&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:v,format:function(){function x(B){var L=Math.sign(B)>0?"+":"-";return L+Math.abs(B)}return x}(),onDrag:function(){function x(B,L){return p("tdir",{tdir:L})}return x}()}),c===l&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),c===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return y}()},38096:function(I,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.SpawnersMenu=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:l.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:f.name+" ("+f.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function u(){return p("jump",{ID:f.uids})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function u(){return p("spawn",{ID:f.uids})}return u}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:f.desc}),!!f.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:f.fluff}),!!f.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:f.important_info})]},f.name)})})})})}return y}()},7957:function(I,r,n){"use strict";r.__esModule=!0,r.SpiderOS=r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),d=n(98595);function y(m,c){m.prototype=Object.create(c.prototype),m.prototype.constructor=m,V(m,c)}function V(m,c){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,b){return v.__proto__=b,v},V(m,c)}var k=r.SpiderOS=function(){function m(c,v){var b=(0,a.useBackend)(v),g=b.act,h=b.data,C;return h.suit_tgui_state===0?C=(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:[(0,e.createComponentVNode)(2,t.Flex,{direction:"column",width:"60%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,l)}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2.2,backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,f)})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"40%",height:"190px",grow:1,backgroundColor:"rgba(0, 0, 0, 0)",children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p)]})]}):h.suit_tgui_state===1&&(C=(0,e.createComponentVNode)(2,t.Flex,{width:"100%",height:"100%",direction:"column",shrink:1,spacing:1,children:(0,e.createComponentVNode)(2,t.Flex.Item,{backgroundColor:"rgba(0, 0, 0, 0.8)",height:"100%",children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,s,{allMessages:h.current_load_text,finishedTimeout:3e3,current_initialisation_phase:h.current_initialisation_phase,end_terminal:h.end_terminal,onFinished:function(){function N(){return g("set_UI_state",{suit_tgui_state:0})}return N}()})]})})),(0,e.createComponentVNode)(2,d.Window,{width:800,height:630,theme:"spider_clan",children:(0,e.createComponentVNode)(2,d.Window.Content,{children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:C})})})}return m}(),S=function(c,v){var b=(0,a.useBackend)(v),g=b.data,h=g.allStylesPreview,C=g.style_preview_icon_state;return(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043A\u043E\u0441\u0442\u044E\u043C\u0430",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E \u0432\u0438\u0434\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430! \u041D\u0430\u0448\u0438 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0442 \u0432\u0430\u043C \u043F\u043E\u0434\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C \u043F\u043E\u0434 \u0441\u0435\u0431\u044F, \u043F\u0440\u0438 \u044D\u0442\u043E\u043C \u043D\u0435 \u0442\u0435\u0440\u044F\u044F \u043E\u0431\u043E\u0440\u043E\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0430\u0447\u0435\u0441\u0442\u0432. \u041F\u043E\u0442\u043E\u043C\u0443 \u0447\u0442\u043E \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u043E \u043F\u0440\u0438 \u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430, \u0436\u0438\u0437\u043D\u0435\u043D\u043D\u043E \u0432\u0430\u0436\u043D\u043E \u0434\u043B\u044F \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0433\u043E \u0443\u0431\u0438\u0439\u0446\u044B.",tooltipPosition:"bottom-start"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Section,{style:{background:"rgba(4, 74, 27, 0.75)"},mr:10,ml:10,children:(0,e.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+h[C],style:{"margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})})})})},p=function(c,v){var b=(0,a.useBackend)(v),g=b.act,h=b.data,C=h.designs,N=h.design_choice,x=h.scarf_design_choice,B=h.colors,L=h.color_choice,w=h.genders,A=h.preferred_clothes_gender,T=h.suit_state,E=h.preferred_scarf_over_hood,O=h.show_charge_UI,P=h.has_martial_art,R=h.show_concentration_UI,F;T===0?F="\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C":F="\u0414\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C";var j;E===0?j="\u041A\u0430\u043F\u044E\u0448\u043E\u043D":j="\u0428\u0430\u0440\u0444";var W;E===1?W=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C \u0448\u0430\u0440\u0444\u0430",content:(0,e.createComponentVNode)(2,t.Dropdown,{options:C,selected:x,onSelected:function(){function z($){return g("set_scarf_design",{scarf_design_choice:$})}return z}()})}):W=null;var H;return P?H=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0430\u0446\u0438\u044F",content:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{selected:R,width:"78px",textAlign:"left",content:R?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function z(){return g("toggle_ui_concentration")}return z}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u0441\u043A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u043B\u0438 \u0432\u044B \u0434\u043B\u044F \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0431\u043E\u0435\u0432\u043E\u0433\u043E \u0438\u0441\u0441\u043A\u0443\u0441\u0442\u0432\u0430.",tooltipPosition:"top-start"})]})}):H=null,(0,e.createComponentVNode)(2,t.Flex,{direction:"row",grow:1,alignContent:"center",ml:.5,children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,width:"100%",children:[(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:C,selected:N,onSelected:function(){function z($){return g("set_design",{design_choice:$})}return z}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0426\u0432\u0435\u0442",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:L,onSelected:function(){function z($){return g("set_color",{color_choice:$})}return z}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0416\u0435\u043D\u0441\u043A\u0438\u0439/\u041C\u0443\u0436\u0441\u043A\u043E\u0439",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:w,selected:A,onSelected:function(){function z($){return g("set_gender",{preferred_clothes_gender:$})}return z}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0428\u0430\u0440\u0444/\u041A\u0430\u043F\u044E\u0448\u043E\u043D",children:[(0,e.createComponentVNode)(2,t.Button,{className:T===0?"":"Button_disabled",width:"90px",selected:E,disabled:T,textAlign:"left",content:j,onClick:function(){function z(){return g("toggle_scarf")}return z}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:'\u0421 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u043E\u0439 "\u0428\u0430\u0440\u0444" \u0432\u0430\u0448 \u043A\u0430\u043F\u044E\u0448\u043E\u043D \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432\u043E\u043B\u043E\u0441\u044B. \u041D\u043E \u044D\u0442\u043E \u043D\u0435 \u0437\u043D\u0430\u0447\u0438\u0442, \u0447\u0442\u043E \u0432\u0430\u0448\u0430 \u0433\u043E\u043B\u043E\u0432\u0430 \u043D\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u0430! \u0410\u0434\u0430\u043F\u0442\u0438\u0432\u043D\u044B\u0435 \u043D\u0430\u043D\u043E-\u0432\u043E\u043B\u043E\u043A\u043D\u0430 \u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u0432\u0441\u0451 \u0435\u0449\u0451 \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u044E\u0442 \u043D\u0430 \u043F\u043E\u0442\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u0443\u0433\u0440\u043E\u0437\u044B \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u044F \u0432\u0430\u0448\u0443 \u0433\u043E\u043B\u043E\u0432\u0443! \u0423\u0442\u043E\u0447\u043D\u0435\u043D\u0438\u0435: \u043D\u0430\u043D\u043E\u0432\u043E\u043B\u043E\u043A\u043D\u0430 \u0442\u0430\u043A \u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0443 \u0433\u043E\u043B\u043E\u0432\u0443 \u0438 \u043E\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u0433\u043E\u043B\u043E\u0432\u043D\u044B\u0445 \u0443\u0431\u043E\u0440\u043E\u0432 \u0441 \u0446\u0435\u043B\u044C\u044E \u0443\u043C\u0435\u043D\u044C\u0448\u0435\u043D\u0438\u044F \u043F\u043E\u043C\u0435\u0445 \u0432 \u0438\u0445 \u0440\u0430\u0431\u043E\u0442\u0435.',tooltipPosition:"top-start"})]}),W,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0430\u0440\u044F\u0434 \u043A\u043E\u0441\u0442\u044E\u043C\u0430",children:[(0,e.createComponentVNode)(2,t.Button,{selected:O,width:"90px",textAlign:"left",content:O?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function z(){return g("toggle_ui_charge")}return z}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u0437\u0430\u0440\u044F\u0434 \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430.",tooltipPosition:"top-start"})]}),H]})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_"+L,success:0,danger:0,mt:-1.2,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{width:"80%",icon:"power-off",mt:.5,textAlign:"center",content:F,tooltip:"\u041F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044E \u0432\u0441\u0435\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0432 \u043D\u0451\u043C \u0437\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445. \n\u0423\u0447\u0442\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0441\u0442\u0438 \u043B\u044E\u0431\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438, \u043A\u043E\u0433\u0434\u0430 \u043A\u043E\u0441\u0442\u044E\u043C \u0431\u0443\u0434\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u044B\u0439 \u043A\u043E\u0441\u0442\u044E\u043C \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E \u043F\u043E\u0442\u0440\u0435\u0431\u043B\u044F\u0435\u0442 \u0437\u0430\u0440\u044F\u0434 \u0434\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0440\u0430\u0431\u043E\u0442\u044B \u0432\u0441\u0435\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0438 \u043C\u043E\u0434\u0443\u043B\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u043A\u043E\u0441\u0442\u044E\u043C \u043D\u0435\u043B\u044C\u0437\u044F \u0441\u043D\u044F\u0442\u044C \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C, \u043F\u043E\u043A\u0430 \u043E\u043D \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D. \n\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0440\u043E\u0432\u043D\u043E \u043A\u0430\u043A \u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u043C\u043D\u043E\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438. \u041F\u043E\u0434\u0443\u043C\u0430\u0439\u0442\u0435 \u0434\u0432\u0430\u0436\u0434\u044B \u043F\u0440\u0435\u0436\u0434\u0435, \u0447\u0435\u043C \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0435\u0433\u043E \u043D\u0430 \u0442\u0435\u0440\u0440\u0438\u0442\u043E\u0440\u0438\u0438 \u0432\u0440\u0430\u0433\u0430!",tooltipPosition:"top-start",onClick:function(){function z(){return g("initialise_suit")}return z}()})})]})})},i=function(c,v){var b=(0,a.useBackend)(v),g=b.data,h=g.allActionsPreview;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043E\u0432\u0435\u0442\u044B \u0438 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041C\u043E\u043B\u043E\u0434\u044B\u043C \u0443\u0431\u0438\u0439\u0446\u0430\u043C \u0447\u0430\u0441\u0442\u043E \u043D\u0435 \u043B\u0435\u0433\u043A\u043E \u043E\u0441\u0432\u043E\u0438\u0442\u0441\u044F \u0432 \u043F\u043E\u043B\u0435\u0432\u044B\u0445 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445, \u0434\u0430\u0436\u0435 \u043F\u043E\u0441\u043B\u0435 \u0438\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u044B\u0445 \u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u043E\u043A. \n\u042D\u0442\u043E\u0442 \u0440\u0430\u0437\u0434\u0435\u043B \u043F\u0440\u0438\u0437\u0432\u0430\u043D \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C \u0441\u043E\u0432\u0435\u0442\u0430\u043C\u0438 \u043F\u043E \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u043C \u0447\u0430\u0441\u0442\u043E \u0432\u043E\u0437\u043D\u0438\u043A\u0430\u044E\u0449\u0438\u043C \u0432\u043E\u043F\u0440\u043E\u0441\u0430\u043C \u043A\u0430\u0441\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0445 \u043C\u0438\u0441\u0441\u0438\u0439 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0432\u0430\u043C \u0432\u044B\u0434\u0430\u0434\u0443\u0442 \u0438\u043B\u0438 \u0440\u0430\u0441\u0441\u043A\u0430\u0437\u0430\u0442\u044C \u043E \u043C\u0430\u043B\u043E\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u043A\u043E\u0442\u043E\u0440\u0443\u044E \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043E\u0431\u0435\u0440\u043D\u0443\u0442\u044C \u0432 \u0441\u0432\u043E\u044E \u043F\u043E\u043B\u044C\u0437\u0443.",tooltipPosition:"bottom-start"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_teleport,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u0438 \u0448\u0430\u0442\u0442\u043B",content:"\u0412 \u0432\u0430\u0448\u0435\u043C \u0414\u043E\u0434\u0437\u0451 \u0435\u0441\u0442\u044C \u043B\u0438\u0447\u043D\u044B\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0434\u043B\u044F \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u0438 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0422\u043E\u0447\u043A\u0430 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u0430\u044F, \u043D\u043E \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442 \u0438\u0434\u0451\u0442 \u043D\u0430 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0442\u043E\u043D\u043D\u0435\u043B\u0438 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0438\u043B\u0438 \u043C\u0430\u043B\u043E\u043F\u043E\u0441\u0435\u0449\u0430\u0435\u043C\u044B\u0435 \u043C\u0435\u0441\u0442\u0430. \n\u042D\u0442\u043E \u043E\u0442\u043B\u0438\u0447\u043D\u044B\u0439 \u0441\u043F\u043E\u0441\u043E\u0431 \u0431\u044B\u0441\u0442\u0440\u043E \u043F\u0440\u0438\u0441\u0442\u0443\u043F\u0438\u0442\u044C \u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \n\u041F\u043E\u043B\u044C\u0437\u0443\u044F\u0441\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u043C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440\u043E\u043C \u0448\u0430\u0442\u0442\u043B\u0430, \u0432\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u0438\u0437\u0432\u0430\u0442\u044C \u0435\u0433\u043E \u043A \u0441\u0435\u0431\u0435 \u0438 \u0432\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430\u0437\u0430\u0434. \n\u0422\u0430\u043A \u0436\u0435 \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u0435\u0441\u043B\u0438 \u0432\u044B \u0440\u0435\u0448\u0438\u0442\u0435 \u043F\u043E\u043B\u0435\u0442\u0435\u0442\u044C \u043D\u0430 \u0448\u0430\u0442\u0442\u043B\u0435, \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C \u0432\u0430\u043C, \u0447\u0442\u043E \u0432\u043E \u0438\u0437\u0431\u0435\u0436\u0430\u043D\u0438\u0435 \u0432\u0430\u0448\u0435\u0433\u043E \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043A\u0440\u0430\u0436\u0438 \u0448\u0430\u0442\u0442\u043B\u0430 \u0438 \u043F\u043E\u043F\u0430\u0434\u0430\u043D\u0438\u044F \u043D\u0430 \u0432\u0430\u0448\u0443 \u0431\u0430\u0437\u0443 \u043F\u043E\u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0438\u0445 \u043B\u0438\u0446, \u043E\u0442\u043B\u0438\u0447\u043D\u043E\u0439 \u043F\u0440\u0430\u043A\u0442\u0438\u043A\u043E\u0439 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0437\u0432\u0430\u0442\u044C \u0435\u0433\u043E.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.headset_green,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0430\u0448 \u043D\u0430\u0443\u0448\u043D\u0438\u043A",content:"\u0412 \u043E\u0442\u043B\u0438\u0447\u0438\u0438 \u043E\u0442 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0445 \u043D\u0430\u0443\u0448\u043D\u0438\u043A\u043E\u0432 \u0431\u043E\u043B\u044C\u0448\u0438\u043D\u0441\u0442\u0432\u0430 \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0446\u0438\u0439, \u043D\u0430\u0448 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0441\u043E\u0437\u0434\u0430\u043D \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u043E \u0434\u043B\u044F \u043F\u043E\u043C\u043E\u0449\u0438 \u0432 \u0432\u0430\u0448\u0435\u043C \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0438. \u0412 \u043D\u0435\u0433\u043E \u0432\u0441\u0442\u0440\u043E\u0435\u043D \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u043A\u0430\u043D\u0430\u043B \u0434\u043B\u044F \u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0441 \u0432\u0430\u0448\u0438\u043C \u0431\u043E\u0440\u0433\u043E\u043C \u0438\u043B\u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u0447\u043B\u0435\u043D\u0430\u043C\u0438 \u043A\u043B\u0430\u043D\u0430. \n\u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u043E\u043D \u0441\u043F\u043E\u0441\u043E\u0431\u0435\u043D \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043B\u044E\u0431\u044B\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043D\u0430\u0443\u0448\u043D\u0438\u043A\u0438 \u0438 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043B\u0443\u0448\u043A\u0438 \u0438/\u0438\u043B\u0438 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430 \u043A\u0430\u043D\u0430\u043B\u044B \u0438\u0445 \u043A\u043B\u044E\u0447\u0435\u0439. \u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u044F \u044D\u0442\u043E\u043C\u0443 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0441\u0442\u0435\u043F\u0435\u043D\u043D\u043E \u043D\u0430\u043A\u0430\u043F\u043B\u0438\u0432\u0430\u0442\u044C \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0435 \u0432\u0430\u043C \u043C\u0435\u0441\u0442\u043D\u044B\u0435 \u043A\u0430\u043D\u0430\u043B\u044B \u0441\u0432\u044F\u0437\u0438 \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043B\u044E\u0431\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u0430\u0448 \u043D\u0430\u0443\u0448\u043D\u0438\u043A \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438- \u0447\u0435\u0441\u043A\u0438 \u0443\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442 \u0438 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u0442 \u0431\u0438\u043D\u0430\u0440\u043D\u044B\u0435 \u0441\u0438\u0433\u043D\u0430\u043B\u044B \u0433\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u0435\u043C\u044B\u0435 \u0441\u0438\u043D\u0442\u0435\u0442\u0438\u043A\u0430\u043C\u0438 \u043F\u0440\u0438 \u043E\u0431\u0449\u0435\u043D\u0438\u0438 \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043E\u043C. \u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044F \u0432\u0430\u043C \u0441\u0430\u043C\u0438\u043C \u043E\u0431\u0449\u0430\u0442\u044C\u0441\u044F \u0441 \u043D\u0438\u043C\u0438.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_sleeper,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0445\u0438\u0449\u0435\u043D\u0438\u0435 \u044D\u043A\u0438\u043F\u0430\u0436\u0430",content:"\u041F\u043E\u0440\u043E\u0439 \u043A\u043B\u0430\u043D\u0443 \u043D\u0443\u0436\u043D\u044B \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043A\u043E\u0442\u043E\u0440\u044B\u043C\u0438 \u043C\u043E\u0433\u0443\u0442 \u043E\u0431\u043B\u0430\u0434\u0430\u0442\u044C \u043B\u044E\u0434\u0438 \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0449\u0438\u0435 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0435 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0412 \u0442\u0430\u043A\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0432\u0430\u043C \u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0441\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u043E\u0441\u043E\u0431\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u0443\u0436\u043E\u0433\u043E \u0440\u0430\u0437\u0443\u043C\u0430. \u0414\u0430\u0436\u0435 \u0435\u0441\u043B\u0438 \u0432\u0430\u043C \u043D\u0435 \u0443\u0434\u0430\u0441\u0442\u0441\u044F \u043D\u0430\u0439\u0442\u0438 \u043E\u0431\u043B\u0430\u0434\u0430\u044E\u0449\u0435\u0433\u043E \u0432\u0441\u0435\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439 \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430, \u043C\u043E\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0431\u0440\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043F\u043E \u043A\u0440\u0443\u043F\u0438\u0446\u0430\u043C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u044F \u043F\u043E\u0445\u0438\u0449\u0430\u0442\u044C \u043B\u044E\u0434\u0435\u0439. \n\u0414\u043B\u044F \u0442\u043E\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u043E\u0445\u0438- \u0442\u0438\u0442\u044C \u043B\u044E\u0434\u0435\u0439. \u0423 \u0432\u0430\u0441 \u043D\u0430 \u0448\u0430\u0442\u0442\u043B\u0435 \u0435\u0441\u0442\u044C \u0441\u043A\u0430\u0444\u0430\u043D\u0434\u0440\u044B, \u0430 \u043D\u0430 \u0431\u0430\u0437\u0435 \u0437\u0430\u043F\u0430\u0441 \u043D\u0430- \u0440\u0443\u0447\u043D\u0438\u043A\u043E\u0432, \u043A\u0438\u0441\u043B\u043E\u0440\u043E\u0434\u0430 \u0438 \u0431\u0430\u043B\u043B\u043E- \u043D\u043E\u0432. \n\u0422\u0430\u043A \u0436\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u044B \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0432 \u043B\u044E\u0434\u0435\u0439 \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0438\u043C\u043F\u0443\u043B\u044C\u0441, \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u0441\u0442\u0430\u043D\u044F \u0438\u0445 \u043D\u0430 \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0435 \u0432\u0440\u0435\u043C\u044F. ",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ai_face,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0418\u0418",content:"\u0418\u043D\u043E\u0433\u0434\u0430 \u0443 \u043D\u0430\u0441 \u0437\u0430\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0442 \u0441\u0430\u0431\u043E- \u0442\u0430\u0436 \u0418\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0430 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438. \u042D\u0442\u043E \u043F\u0440\u043E- \u0446\u0435\u0441\u0441 \u0441\u043B\u043E\u0436\u043D\u044B\u0439 \u0438 \u0442\u0440\u0435\u0431\u0443\u044E\u0449\u0438\u0439 \u043E\u0442 \u043D\u0430\u0441 \u043E\u0441\u043D\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u043F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u043A\u0438. \n\u041F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u0435\u043C\u044B\u0439 \u043A\u043B\u0430\u043D\u043E\u043C \u043C\u0435\u0442\u043E\u0434 \u044D\u0442\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u044F\u0437\u0432\u0438\u043C\u043E\u0441\u0442\u0438 \u043F\u0440\u044F\u043C\u043E \u0432 \u0437\u0430\u0433\u0440\u0443\u0437\u043E\u0447\u043D\u043E\u0439 \u0434\u043B\u044F \u0437\u0430\u043A\u043E\u043D\u043E\u0432 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0449\u0435\u0439 \u0432\u044B\u0432\u0435\u0441\u0442\u0438 \u0418\u0418 \u0438\u0437 \u0441\u0442\u0440\u043E\u044F. \u0412 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0435 \u0442\u0430\u043A\u043E\u0433\u043E \u043C\u0435\u0442\u043E\u0434\u0430 \u043C\u044B \u043C\u043E\u0436\u0435\u043C \u043B\u0435\u0433\u043A\u043E \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0418\u0418 \u0430\u0431\u0441\u0443\u0440\u0434\u043D\u044B\u043C\u0438 \u0437\u0430\u043A\u043E\u043D\u0430\u043C\u0438, \u043D\u043E \u044D\u0442\u043E \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043D\u0430\u0441 \u0432 \u0442\u043E\u043C \u043F\u043B\u0430\u043D\u0435, \u0447\u0442\u043E \u0434\u043B\u044F \u0432\u0437\u043B\u043E\u043C\u0430 \u0432 \u0438\u0442\u043E\u0433\u0435 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043E\u043D\u0441\u043E\u043B\u0438 \u0432 \u0441\u0430\u043C\u043E\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043E\u0447\u043D\u043E\u0439. \u0422\u0430\u043A \u0436\u0435 \u0432\u0437\u043B\u043E\u043C \u0437\u0430\u0434\u0430\u0447\u0430 \u043D\u0435\u043B\u0451\u0433\u043A\u0430\u044F - \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0449\u0438\u0442\u044B \u0435\u0441\u0442\u044C \u0432\u0435\u0437\u0434\u0435. \u0410 \u043F\u0440\u043E\u0446\u0435\u0441\u0441 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0440\u0435\u043C\u044F. \u041D\u0435 \u0443\u0434\u0438\u0432\u043B\u044F\u0439\u0442\u0435\u0441\u044C \u0435\u0441\u043B\u0438 \u0418\u0418 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0442\u0438\u0432\u043E\u0434\u0435\u0439\u0441\u0442- \u0432\u043E\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0438\u043C \u043F\u043E\u043F\u044B\u0442\u043A\u0430\u043C \u0435\u0433\u043E \u0441\u043B\u043E\u043C\u0430\u0442\u044C.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_borg,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0440\u043E\u0431\u043E\u0442\u043E\u0432",content:'\u0418\u043D\u043E\u0433\u0434\u0430 \u043E\u0446\u0435\u043D\u0438\u0432\u0430\u044F \u0432\u0430\u0448\u0438 \u0448\u0430\u043D\u0441\u044B \u043D\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043C\u0438\u0441\u0441\u0438\u0438 \u0434\u043B\u044F \u0438\u0445 \u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u044F \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445, \u0447\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442 \u0440\u043E\u0431\u043E\u0442\u043E\u0432 \u0434\u043B\u044F \u0441\u0432\u043E\u0438\u0445 \u0446\u0435\u043B\u0435\u0439, \u043C\u044B \u0434\u0430\u0451\u043C \u0432\u0430\u043C \u043E\u0441\u043E\u0431\u044B\u0439 "\u0423\u043B\u0443\u0447\u0448\u0430\u044E\u0449\u0438\u0439" \u0438\u0445 \u043F\u0440\u0438\u0431\u043E\u0440, \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0439 \u0432 \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438. \n\u041F\u0440\u0438 \u0432\u0437\u043B\u043E\u043C\u0435 \u043A\u0438\u0431\u043E\u0440\u0433\u0430 \u0442\u0430\u043A\u0438\u043C \u043F\u0440\u0438\u0431\u043E\u0440\u043E\u043C(\u0412\u0437\u043B\u043E\u043C \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0440\u0435\u043C\u044F) \u0432\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u043B\u043E\u044F\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043B\u0430\u043D\u0443 \u0438 \u0432\u0430\u043C \u043B\u0438\u0447\u043D\u043E \u0441\u043B\u0443\u0433\u0443 \u0441\u043F\u043E\u0441\u043E\u0431- \u043D\u043E\u0433\u043E \u043D\u0430 \u043E\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u043F\u043E\u043C\u043E\u0449\u0438 \u043A\u0430\u043A \u0432 \u0441\u0430\u0431\u043E\u0442\u0430\u0436\u0435 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0442\u0430\u043A \u0438 \u0432 \u0432\u0430\u0448\u0435\u043C \u043B\u0435\u0447\u0435\u043D\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0440\u043E\u0431\u043E\u0442 \u0431\u0443\u0434\u0435\u0442 \u043E\u0441\u043D\u0430\u0449\u0451\u043D \u043B\u0438\u0447\u043D\u043E\u0439 \u043A\u0430\u0442\u0430\u043D\u043E\u0439, \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u043C \u043C\u0430\u0441\u043A\u0438\u0440\u043E\u0432\u043A\u0438, \u043F\u0438\u043D\u043F\u043E\u0438\u043D\u0442\u0435\u0440\u043E\u043C \u0443\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0438\u043C \u0435\u043C\u0443 \u043D\u0430 \u0432\u0430\u0441 \u0438 \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u043E\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u0441\u044E\u0440\u0438\u043A\u0435\u043D\u043E\u0432. \u041F\u043E\u043C\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u043A\u0430\u0442\u0430\u043D\u0430 \u0440\u043E\u0431\u043E\u0442\u0430 \u043D\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u0430 \u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0438\u0442\u044C \u0435\u0433\u043E \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0442\u0440\u0430\u043D\u0441\u043B\u043E\u043A\u0430\u0446\u0438\u044E!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.server,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0439",content:"\u041D\u0430 \u043D\u0430\u0443\u0447\u043D\u044B\u0445 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445 \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044C \u0441\u0432\u043E\u044F \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u0443\u0447\u0451\u043D\u044B\u0445 \u0438 \u043C\u043D\u043E- \u0436\u0435\u0441\u0442\u0432\u043E \u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u0440\u0438\u0445\u043E- \u0434\u0438\u0442\u0441\u044F \u0433\u0434\u0435 \u0442\u043E \u0445\u0440\u0430\u043D\u0438\u0442\u044C. \u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0430\u043A\u043E\u0433\u043E \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u043E\u0431\u044B\u0447\u043D\u043E \u0432\u044B\u0441\u0442\u0443- \u043F\u0430\u044E\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0410 \u043A\u0430\u043A \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0446\u0438\u0438 \u0432\u0435\u0447\u043D\u043E \u0433\u0440\u044B\u0437\u0443\u0442\u0441\u044F \u0437\u0430 \u0437\u043D\u0430\u043D\u0438\u044F. \u0427\u0442\u043E \u043D\u0430\u043C \u043D\u0430 \u0440\u0443\u043A\u0443. \n\u041C\u044B \u0440\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u0430\u043B\u0438 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u0432\u0438\u0440\u0443\u0441 \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043F\u0438\u0441\u0430\u043D \u043D\u0430 \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438 \u043F\u0435\u0440\u0435\u0434 \u043C\u0438\u0441\u0441\u0438\u0435\u0439 \u0442\u0430\u043A\u043E\u0433\u043E \u0440\u043E\u0434\u0430. \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u043B\u0438\u0448\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0435\u0433\u043E \u043D\u0430\u043F\u0440\u044F\u043C\u0443\u044E \u043D\u0430 \u0438\u0445 \u043D\u0430\u0443\u0447\u043D\u044B\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0432\u0441\u0435 \u0438\u0445 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u044F \u0431\u0443\u0434\u0443\u0442 \u0443\u0442\u0435\u0440\u044F\u043D\u044B. \n\u041D\u043E \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u0432\u0438\u0440\u0443\u0441\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u0440\u0435\u043C\u0435\u043D\u0438, \u0438 \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0449\u0438\u0442\u044B \u043C\u043D\u043E\u0433\u0438\u0445 \u043E\u0431\u044C\u0435\u043A\u0442\u043E\u0432 \u043D\u0435 \u0434\u0440\u0435\u043C\u043B\u044E\u0442. \u0421\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u043E \u0432\u0430\u0448\u0435\u0439 \u043F\u043E\u043F\u044B\u0442\u043A\u0435 \u0432\u0437\u043B\u043E\u043C\u0430 \u0431\u0443\u0434\u0435\u0442 \u043E\u043F\u043E\u0432\u0435\u0449\u0451\u043D \u043C\u0435\u0441\u0442\u043D\u044B\u0439 \u0418\u0418. \u0411\u0443\u0434\u044C\u0442\u0435 \u0433\u043E\u0442\u043E\u0432\u044B \u043A \u044D\u0442\u043E\u043C\u0443.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.buckler,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0417\u0430\u0449\u0438\u0442\u0430 \u0446\u0435\u043B\u0438",content:'\u0418\u043D\u043E\u0433\u0434\u0430 \u0431\u043E\u0433\u0430\u0442\u044B\u0435 \u0448\u0438\u0448\u043A\u0438 \u043F\u043B\u0430\u0442\u044F\u0442 \u0437\u0430 \u0443\u0441\u043B\u0443\u0433\u0438 \u0437\u0430\u0449\u0438\u0442\u044B \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u0433\u043E \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430. \u0415\u0441\u043B\u0438 \u0432\u0430\u043C \u0434\u043E\u0441\u0442\u0430\u043B\u0430\u0441\u044C \u0442\u0430\u043A\u0430\u044F \u0446\u0435\u043B\u044C \u043F\u043E\u043C\u043D\u0438\u0442\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435: \n * \u0417\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u044B\u0439 \u043E\u0431\u044F\u0437\u0430\u043D \u0434\u043E\u0436\u0438\u0442\u044C \u0434\u043E \u043A\u043E\u043D\u0446\u0430 \u0441\u043C\u0435\u043D\u044B! \n * \u0421\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u044B\u0439 \u043D\u0435 \u0437\u043D\u0430\u0435\u0442 \u043E \u0432\u0430\u0448\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0435. \u0418 \u043B\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043E \u0447\u0442\u043E\u0431\u044B \u043E\u043D \u0438 \u0434\u0430\u043B\u044C\u0448\u0435 \u043D\u0435 \u0437\u043D\u0430\u043B! \n * \u041D\u0435 \u0432\u0430\u0436\u043D\u043E \u043A\u0442\u043E \u0438\u043B\u0438 \u0447\u0442\u043E \u043E\u0445\u043E\u0442\u0438\u0442\u0441\u044F \u043D\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043E\u0434\u0437\u0430\u0449\u0438\u0442\u043D\u043E\u0433\u043E, \u043D\u043E \u0434\u043B\u044F \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u0433\u0434\u0435 \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442 \u043C\u0438\u0441\u0441\u0438\u044F \u0432\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u043D\u0435\u0436\u0435\u043B\u0430\u043D\u043D\u043E\u0435 \u043B\u0438\u0446\u043E. \u041D\u0435 \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435 \u0441\u0435\u0431\u044F \u0431\u0435\u0437 \u043D\u0443\u0436\u0434\u044B, \u0447\u0442\u043E\u0431\u044B \u0443\u043F\u0440\u043E\u0441\u0442\u0438\u0442\u044C \u0441\u0435\u0431\u0435 \u0436\u0435 \u0440\u0430\u0431\u043E\u0442\u0443 \u0438 \u043D\u0430 \u0432\u0430\u0441 \u0441\u0430\u043C\u0438\u0445 \u043D\u0435 \u0432\u0435\u043B\u0438 \u043E\u0445\u043E\u0442\u0443! \n\u0422\u0430\u043A \u0436\u0435 \u043C\u044B \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u043A\u043B\u0430\u043D \u043D\u0435 \u043E\u0434\u043E\u0431\u0440\u044F\u0435\u0442 \u0432\u0430\u0440\u0432\u0430\u0440\u0441\u043A\u0438\u0435 \u043C\u0435\u0442\u043E\u0434\u044B "\u0417\u0430\u0449\u0438\u0442\u044B" \u0446\u0435\u043B\u0438. \u041D\u0435\u0442 \u0432\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0441\u0430\u0434\u0438\u0442\u044C \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0432 \u043A\u043B\u0435\u0442\u043A\u0443 \u0438 \u0441\u043B\u0435\u0434\u0438\u0442\u044C \u0437\u0430 \u043D\u0438\u043C \u0442\u0430\u043C! \u041D\u0435 \u043F\u043E\u0440\u0442\u0438\u0442\u0435 \u043D\u0430\u0448\u0443 \u0440\u0435\u043F\u0443\u0442\u0430\u0446\u0438\u044E \u0432 \u0433\u043B\u0430\u0437\u0430\u0445 \u043D\u0430\u0448\u0438\u0445 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.cash,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041A\u0440\u0430\u0436\u0430 \u0434\u0435\u043D\u0435\u0433",content:"\u041A\u0430\u043A \u0431\u044B \u044D\u0442\u043E \u043D\u0435 \u0431\u044B\u043B\u043E \u0442\u0440\u0438\u0432\u0438\u0430\u043B\u044C\u043D\u043E. \u0418\u043D\u043E\u0433\u0434\u0430 \u043A\u043B\u0430\u043D \u043D\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044F \u0432 \u0434\u0435\u043D\u044C- \u0433\u0430\u0445. \u0418\u043B\u0438 \u0434\u0430\u0436\u0435 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u0432\u044B \u0437\u0430\u0434\u043E\u043B\u0436\u0430\u043B\u0438 \u043D\u0430\u043C. \u0412 \u0442\u0430\u043A\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435 \u043C\u044B \u0441\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u0434\u0430\u0434\u0438\u043C \u0432\u0430\u043C \u0437\u0430\u0434\u0430\u0447\u0443 \u0434\u043E\u0441\u0442\u0430\u0442\u044C \u0434\u043B\u044F \u043D\u0430\u0441 \u044D\u0442\u0438 \u0434\u0435\u043D\u044C\u0433\u0438 \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \n\u0414\u043B\u044F \u0432\u0430\u0441 \u044D\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043D\u0435 \u0442\u0440\u0443\u0434\u043D\u0430\u044F, \u043D\u043E \u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0442\u0440\u0430\u0442\u043D\u0430\u044F. \u041F\u043E\u043C\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u043D\u0430\u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u0432 \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0435 \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u044B\u0445 \u043A\u0430\u0440\u043C\u0430\u043D\u043D\u044B\u0445 \u043A\u0440\u0430\u0436. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u044D\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0434\u043B\u044F \u043A\u0440\u0430\u0436\u0438 \u0447\u0443\u0436\u0438\u0445 \u043A\u0430\u0440\u0442 \u0438 \u043E\u0431\u043D\u0430\u043B\u0438\u0447\u0438- \u0432\u0430\u043D\u0438\u044F \u0438\u0445 \u0441\u0447\u0435\u0442\u043E\u0432. \u041B\u0438\u0431\u043E \u043C\u043E\u0436\u0435\u0442\u0435 \u043C\u0435\u0442\u0438\u0442\u044C \u0432\u044B\u0448\u0435 \u0438 \u043E\u0433\u0440\u0430\u0431\u0438\u0442\u044C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u0438\u043B\u0438 \u0441\u0447\u0435\u0442\u0430 \u0441\u0430\u043C\u043E\u0433\u043E \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0421\u0430\u043C\u043E\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0435. \u0414\u043E\u0441\u0442\u0430\u043D\u044C\u0442\u0435 \u044D\u0442\u0438 \u0434\u0435\u043D\u044C\u0433\u0438!",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.handcuff,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430",content:"\u0412 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044F\u0445 \u0447\u0443\u0436\u043E\u0439 \u043F\u043E\u0437\u043E\u0440 \u0434\u043B\u044F \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432 \u0433\u043E\u0440\u0430\u0437\u0434\u043E \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u043D\u0435\u0435 \u0447\u0435\u043C \u0441\u043C\u0435\u0440\u0442\u044C. \u0412 \u0442\u0430\u043A\u0438\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445 \u0432\u0430\u043C \u043F\u0440\u0438\u0439\u0434\u0451\u0442\u0441\u044F \u043F\u0440\u043E\u044F\u0432\u0438\u0442\u044C \u043A\u0440\u0435\u0430\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u044C \u0438 \u0434\u043E\u0431\u0438\u0442\u044C\u0441\u044F \u0442\u043E\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u0432\u0430\u0448\u0443 \u0436\u0435\u0440\u0442\u0432\u0443 \u043F\u043E \u0437\u0430\u043A\u043E\u043D\u043D\u044B\u043C \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u044F\u043C \u0443\u043F\u0435\u043A\u043B\u0438 \u0437\u0430 \u0440\u0435\u0448\u0451\u0442\u043A\u0443 \u0421\u0430\u043C\u043E\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0435 \u0447\u0442\u043E\u0431\u044B \u0432 \u043A\u0440\u0438\u043C\u0438\u043D\u0430\u043B\u044C\u043D\u043E\u0439 \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0446\u0435\u043B\u0438 \u043E\u0441\u0442\u0430\u043B\u0441\u044F \u0441\u043B\u0435\u0434. \u041D\u043E \u0432 \u0442\u043E \u0436\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u0442\u043E \u043F\u0440\u0438\u0439\u0442\u0438 \u0438 \u0432\u043F\u0438\u0441\u0430\u0442\u044C \u0446\u0435\u043B\u0438 \u0441\u0440\u043E\u043A \u0432 \u043A\u043E\u043D\u0441\u043E\u043B\u0438 - \u043D\u0435 \u0440\u0430\u0431\u043E\u0447\u0438\u0439 \u043C\u0435\u0442\u043E\u0434. \u0426\u0435\u043B\u044C \u043B\u0435\u0433\u043A\u043E \u043E\u043F\u0440\u0430\u0432\u0434\u0430\u044E\u0442 \u0432 \u0441\u0443\u0434\u0435, \u0447\u0442\u043E \u043D\u0435 \u0443\u0441\u0442\u0440\u043E\u0438\u0442 \u043A\u043B\u0438\u0435\u043D\u0442\u0430. \n \u0423 \u0432\u0430\u0441 \u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043F\u0440\u0435\u0441\u0442\u0443\u043F\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0434 \u043B\u0438\u0447\u0438\u043D\u043E\u0439 \u0446\u0435\u043B\u0438. \u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043F\u043E\u0441\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044C \u043E\u0431\u043E\u0439\u0442\u0438\u0441\u044C \u0431\u0435\u0437 \u0441\u043B\u0438\u0448- \u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u043F\u043E\u0441\u043B\u0435\u0434\u0441\u0442\u0432\u0438\u0439. \u041B\u0438\u0448\u043D\u044F\u044F \u0434\u044B\u0440\u0430 \u0432 \u043E\u0431\u0448\u0438\u0432\u043A\u0435 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0438\u043B\u0438 \u0442\u0440\u0443\u043F\u044B - \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u044E\u0442 \u0448\u0430\u043D\u0441\u044B \u043F\u0440\u043E\u0432\u0430\u043B\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.spider_charge,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0434\u0440\u044B\u0432 \u043E\u0442\u0434\u0435\u043B\u0430",content:"\u0421\u0442\u0430\u0440\u044B\u0435 \u0434\u043E\u0431\u0440\u044B\u0435 \u0431\u043E\u043C\u0431\u044B. \u042D\u0444\u0444\u0435\u043A- \u0442\u0438\u0432\u043D\u044B\u0435 \u043E\u0440\u0443\u0434\u0438\u044F \u0443\u043D\u0438\u0447\u0442\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0441\u0435\u0433\u043E \u0436\u0438\u0432\u043E\u0433\u043E \u0438 \u043D\u0435\u0436\u0438\u0432\u043E\u0433\u043E \u0432 \u0431\u043E\u043B\u044C\u0448\u043E\u043C \u0440\u0430\u0434\u0438\u0443\u0441\u0435. \u041A\u043E\u0433\u0434\u0430 \u043A\u043B\u0438\u0435\u043D\u0442\u044B \u043F\u0440\u043E\u0441\u044F\u0442 \u043F\u043E\u0434\u043E\u0440\u0432\u0430\u0442\u044C \u043E\u0431\u044C\u0435\u043A\u0442, \u043E\u043D\u0438 \u0447\u0430\u0441\u0442\u043E \u043D\u0435 \u0437\u043D\u0430\u044E\u0442 \u043D\u0430\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0434\u043E\u0440\u043E\u0433\u043E \u0441\u0442\u043E\u0438\u0442 \u0442\u0430\u043A\u0430\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F. \u041D\u043E \u0440\u0435\u0434\u043A\u043E \u0433\u043E\u0442\u043E\u0432\u044B \u0441\u0434\u0430\u0442\u044C\u0441\u044F. \u041A\u0430\u043A \u0440\u0430\u0437 \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u043C\u043D\u043E\u0433\u0438\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u043D\u044B \u043D\u0430 \u043F\u043E\u0434\u0440\u044B\u0432 \u043E\u0434\u043D\u043E\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u0438\u043B\u0438 \u043E\u0442\u0434\u0435\u043B\u0430. \n\u0411\u0443\u0434\u044C\u0442\u0435 \u0433\u043E\u0442\u043E\u0432\u044B \u043A \u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u043F\u043E\u0441\u043B\u0435 \u0432\u0437\u0440\u044B\u0432\u0430 \u043D\u0430 \u0432\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u0442\u0438\u0441\u044C \u043E\u0445\u043E\u0442\u0430. \n \u041D\u0430\u0448\u0438 \u0431\u043E\u043C\u0431\u044B \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u043E \u0438\u0437\u0433\u043E\u0442\u043E\u0432\u043B\u0435\u043D\u044B \u0441 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0442\u0435\u043B\u044F\u043C\u0438. \u041D\u0438\u043A\u0442\u043E \u043A\u0440\u043E\u043C\u0435 \u0432\u0430\u0441 \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442 \u0438\u0445 \u043F\u043E\u0434\u043E\u0440\u0432\u0430\u0442\u044C \u0438 \u0434\u0430\u0436\u0435 \u0432\u044B \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445 \u043B\u0438\u0448\u044C \u0432 \u0437\u043E\u043D\u0435 \u0437\u0430\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u043C. \u0421\u043E\u0432\u0435\u0442\u0443\u0435\u043C \u0441\u0440\u0430\u0437\u0443 \u0431\u0435\u0436\u0430\u0442\u044C \u043F\u043E\u0434\u0430\u043B\u044C\u0448\u0435 \u043F\u043E\u0441\u043B\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438. \u0425\u043E\u0442\u044F \u044D\u0442\u043E \u0438 \u0442\u0430\u043A \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0434\u043B\u044F \u0432\u0430\u0441 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u043E.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.BSM,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0410\u043D\u0430\u043B\u0438\u0437 \u043A\u0440\u043E\u0432\u0438",content:'"\u0417\u043D\u0430\u0439 \u0441\u0432\u043E\u0435\u0433\u043E \u0432\u0440\u0430\u0433\u0430" - \u043F\u0440\u043E\u0441\u0442\u0430\u044F \u0438\u0441\u0442\u0438\u043D\u0430. \n\u0417\u0430 \u0433\u043E\u0434\u044B \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u043D\u0430 \u043C\u044B \u0438\u0437\u0443\u0447\u0438\u043B\u0438 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0440\u0430\u0437\u043D\u044B\u0445 \u043E\u043F\u0430\u0441\u043D\u044B\u0445 \u0442\u0432\u0430\u0440\u0435\u0439. \u0418 \u0434\u043E \u0441\u0438\u0445 \u043F\u043E\u0440 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0435\u043C \u0438\u0437\u0443\u0447\u0435\u043D\u0438\u0435 \u043D\u0435\u043A\u043E- \u0442\u043E\u0440\u044B\u0445. \u0410 \u0447\u0442\u043E\u0431\u044B \u0431\u044B\u043B\u043E, \u0447\u0442\u043E \u0438\u0437\u0443\u0447\u0430\u0442\u044C, \u043D\u0443\u0436\u043D\u043E \u0434\u043E\u0431\u044B\u0432\u0430\u0442\u044C \u043E\u0431\u0440\u0430\u0437\u0446\u044B. \u041A\u0440\u043E\u0432\u044C \u043E\u0434\u0438\u043D \u0438\u0437 \u0441\u0430\u043C\u044B\u0445 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u044B\u0445 \u043F\u0440\u0438\u043C\u0435\u0440\u043E\u0432 \u0442\u043E\u0433\u043E, \u0447\u0442\u043E \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043F\u043E\u043B\u0435\u0437\u043D\u043E \u043D\u0430\u0448\u0438\u043C \u0443\u0447\u0451\u043D\u044B\u043C. \n\u0418\u043C\u0435\u044E\u0449\u0430\u044F\u0441\u044F \u0443 \u0432\u0430\u0441 \u043D\u0430 \u0431\u0430\u0437\u0435 \u0446\u0435\u043D\u0442\u0440\u0438\u0444\u0443\u0433\u0430 \u0434\u043B\u044F \u043A\u0440\u043E\u0432\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u0430 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u043F\u0440\u043E\u0430\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0431\u0440\u0430\u0437\u0446\u044B \u043D\u0435 \u043F\u043E\u0432\u0440\u0435\u0434\u0438\u0432 \u0438\u0445 \u0438 \u043F\u0435\u0440\u0435\u0434\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043D\u0430\u043C. \n\u0414\u043B\u044F \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043A\u0440\u043E\u0432\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0441\u043E\u0431\u0440\u0430\u0442\u044C 3 \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0445 \u043E\u0431\u0440\u0430\u0437\u0446\u0430. \u0418 \u043F\u043E\u043C\u0435- \u0441\u0442\u0438\u0442\u044C \u0438\u0445 \u0432 \u043F\u0440\u043E\u0431\u0438\u0440\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u043E\u0442\u043E\u043C \u043D\u0430\u0434\u043E \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E. \n\u041F\u0440\u0438\u043C\u0435\u0441\u0438 \u043F\u0440\u0438\u043D\u044F\u0442\u044B \u043D\u0435 \u0431\u0443\u0434\u0443\u0442!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.changeling,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0413\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u044B",content:"\u0427\u0435\u0440\u0432\u0438 \u0432\u043E\u0437\u043E\u043C\u043D\u0438\u0432\u0448\u0438\u0435 \u0441\u0435\u0431\u044F \u0432\u044B\u0448\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0438\u0434\u043E\u0432 \u043F\u043E\u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u0443\u043C\u0435\u044E\u0442 \u043A\u0440\u0430\u0441\u0442\u044C \u0433\u0435\u043D\u044B \u0438 \u0438\u043C\u0438\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445. \n\u0421\u0432\u043E\u0438\u043C \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043E\u043D\u0438 \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442 \u0433\u043E\u0440\u0430\u0437\u0434\u043E \u0431\u043E\u043B\u044C\u0448\u0435 \u043F\u0440\u043E\u0431- \u043B\u0435\u043C, \u0447\u0435\u043C \u043F\u043E\u043B\u044C\u0437\u044B. \n\u042D\u0442\u0438 \u0442\u0432\u0430\u0440\u0438 \u0441\u0442\u043E\u043B\u044C \u0436\u0435 \u0445\u0438\u0442\u0440\u044B \u0441\u043A\u043E\u043B\u044C \u0438 \u0441\u043A\u0440\u044B\u0442\u043D\u044B. \u041D\u0435 \u0434\u043E\u0433\u043E\u0432\u0430\u0440\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0441 \u043D\u0438\u043C\u0438 \u043D\u0438 \u043E \u0447\u0451\u043C! \n\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0434\u0430\u0436\u0435 \u043D\u0430\u043C \u0441\u043B\u043E\u0436\u043D\u043E \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0442\u044C \u0433\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u0430 \u043D\u0435 \u0437\u0430\u043F\u0438\u0445- \u043D\u0443\u0432 \u0435\u0433\u043E \u0432 \u043B\u0430\u0431\u043E\u0440\u0430\u0442\u043E\u0440\u0438\u044E \u0438 \u043D\u0435 \u043F\u0440\u043E\u0432\u0435\u0434\u044F \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0442\u0435\u0441\u0442\u043E\u0432. \u041D\u043E \u043E\u043D\u0438 \u0438\u043D\u043E\u0433\u0434\u0430 \u0432\u044B\u0434\u0430\u044E\u0442 \u0441\u0435\u0431\u044F \u0441\u0432\u043E\u0438\u043C\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u043C\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u043C\u0438. \u0418 \u0442\u0430\u043A \u0436\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u043B\u043E\u0436\u0430\u0442\u0441\u044F \u043D\u0430 \u0434\u043D\u043E \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438. \u0427\u0442\u043E\u0431\u044B \u0431\u044B\u043B\u043E \u043B\u0435\u0433\u0447\u0435 \u0438\u0445 \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0434\u0430\u0439\u0442\u0435 \u0438\u043C \u043F\u043E\u043F\u043B\u044F\u0441\u0430\u0442\u044C, \u043F\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043C \u0432\u044B\u0445\u043E\u0434\u0438\u0442\u044C \u043D\u0430 \u0441\u0446\u0435\u043D\u0443. \u0418 \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0441\u043B\u0443\u0448\u0430\u0439\u0442\u0435 \u0440\u0430\u0434\u0438\u043E \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0435. \u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u043C\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0445\u0440\u0430\u043D\u0430 \u0443\u0436\u0435 \u043E\u0445\u043E\u0442\u0438\u0442\u0441\u044F \u0437\u0430 \u043E\u0434\u043D\u0438\u043C \u0438\u0437 \u043D\u0438\u0445. \n\u041D\u0438\u043A\u0442\u043E \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0442\u0438\u0432 \u0435\u0441\u043B\u0438 \u0432\u044B \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u043E \u043F\u043E\u043C\u043E\u0436\u0435\u0442\u0435 \u0438\u043C \u0441 \u044D\u0442\u0438\u043C...",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.vampire,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0430\u043C\u043F\u0438\u0440\u044B",content:"\u0414\u0435\u0448\u0451\u0432\u044B\u0435 \u0440\u043E\u043C\u0430\u043D\u044B, \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0438 \u0441\u043A\u0430\u0437\u043A\u0438 \u043F\u0440\u043E\u0448\u043B\u043E\u0433\u043E \u043E\u043F\u0438\u0441\u044B\u0432\u0430\u043B\u0438 \u0432\u0430\u043C\u043F\u0438\u0440\u043E\u0432 \u043A\u0430\u043A \u0445\u0438\u0449\u043D\u0438\u043A\u043E\u0432 \u043F\u044C\u044E\u0449\u0438\u0445 \u043A\u0440\u043E\u0432\u044C \u043B\u044E\u0434\u0435\u0439 \u0432 \u043D\u043E\u0447\u0438 \u0438 \u043E\u0431\u043B\u0430\u0434\u0430\u044E- \u0449\u0438\u0445 \u043C\u0430\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u043C\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E- \u0441\u0442\u044F\u043C\u0438. \u0418\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043C\u0435\u043D\u0435\u0435 \u0440\u043E\u043C\u0430\u043D\u0442\u0438\u0447\u043D\u044B... \n\u041C\u044B \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u0438\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435, \u043D\u043E \u043D\u0430\u0448\u0438 \u043F\u043E\u0434\u043E\u0437\u0440\u0435- \u043D\u0438\u044F \u043F\u0430\u0434\u0430\u044E\u0442 \u043D\u0430 \u0432\u043B\u0438\u044F\u043D\u0438\u0435 \u043D\u0435\u043A\u043E\u0439 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438. \u0422\u0430\u043A \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435, \u0434\u043E \u0442\u0435\u0445 \u043F\u043E\u0440 \u043F\u043E\u043A\u0430 \u0432\u0430\u043C\u043F\u0438\u0440 \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438 \u0438\u043B\u0438 \u0443\u0433\u0440\u043E\u0436\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u0439 \u0436\u0438\u0437\u043D\u0438. \u0412\u044B \u0432\u043E\u043B\u044C\u043D\u044B \u0435\u0433\u043E \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C. \n\u0412\u0430\u043C\u043F\u0438\u0440\u044B \u043E\u0447\u0435\u043D\u044C \u043E\u043F\u0430\u0441\u043D\u044B \u0432 \u043F\u0440\u044F\u043C\u043E\u043C \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u0438, \u043E\u043D\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u044B \u043E\u0433\u043B\u0443\u0448\u0430\u0442\u044C \u0432\u0437\u0433\u043B\u044F\u0434\u043E\u043C \u0438 \u043F\u043E\u0440\u0430\u0431\u043E\u0449\u0430\u0442\u044C \u0440\u0430\u0437\u0443\u043C \u0441\u0432\u043E\u0438\u0445 \u0436\u0435\u0440\u0442\u0432. \u041D\u0435 \u0434\u043E\u0432\u0435\u0440\u044F\u0439\u0442\u0435 \u0438\u043C, \u043D\u043E \u0442\u0430\u043A \u0436\u0435 \u043F\u043E\u043C\u043D\u0438\u0442\u0435 - \u043E\u043D\u0438 \u043B\u0438\u0448\u044C \u0436\u0435\u0440\u0442\u0432\u044B \u0441\u0442\u0435\u0447\u0435\u043D\u0438\u044F \u043E\u0431\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u0441\u0442\u0432. \u0418 \u044D\u0442\u043E \u043C\u043E\u0436\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u0441\u0432\u043E\u044E \u043F\u043E\u043B\u044C\u0437\u0443...",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.syndicate,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442",content:"\u041D\u0430\u0448\u0438 \u0445\u043E\u0440\u043E\u0448\u0438\u0435 \u0437\u043D\u0430\u043A\u043E\u043C\u044B\u0435. \u0421\u0431\u043E\u0440\u0438\u0449\u0435 \u043C\u043E\u0433\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u0444\u0438\u0433\u0443\u0440 \u0432 \u043F\u043E\u0434\u043F\u043E\u043B\u044C\u043D\u043E\u043C \u043C\u0438\u0440\u0435 \u0441 \u0437\u0430\u043A\u0440\u044B\u0442\u043E\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u043E\u0439 \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0441\u0442\u0432\u0430 \u043E \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043C\u0430\u043B\u043E... \n\u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442 \u043F\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0437\u0430\u043A\u0430\u0437\u043E\u0432. \u041D\u043E \u0441\u0430\u043C\u043E\u0439 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u043E\u0439, \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u043A\u0442\u043E \u043A\u0430\u043A \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0438\u0445 \u0438\u0437\u0443\u0447\u0438\u0442, \u0447\u0435\u0440\u0442\u043E\u0439 \u044D\u0442\u043E\u0439 \u0433\u0440\u0443\u043F\u043F\u044B - \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043E\u0433\u0440\u043E\u043C\u043D\u0430\u044F \u043D\u0435\u043D\u0430\u0432\u0438\u0441\u0442\u044C \u043A \u041D\u0422. \n\u0412 \u0441\u043B\u0443\u0447\u0430\u0435 \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u044F \u0441 \u0430\u0433\u0435\u043D\u0442\u0430\u043C\u0438 \u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u0430 \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0430 \u043D\u0430\u0448\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043F\u0440\u043E\u0441\u0442\u0430. \n\u0415\u0441\u043B\u0438 \u043E\u043D\u0438 \u043D\u0435 \u043C\u0435\u0448\u0430\u044E\u0442 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \u041C\u044B \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u043C \u0438\u043C.",position:"bottom-start"})]})]})})})},l=function(c,v){var b=(0,a.useBackend)(v),g=b.act,h=b.data,C=h.allActionsPreview,N=h.blocked_TGUI_rows,x=[{blue:"Button_blue",green:"Button_green",red:"Button_red",disabled:"Button_disabled"}];return(0,e.createComponentVNode)(2,t.Section,{title:"\u041C\u043E\u0434\u0443\u043B\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0443\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430! \u0414\u0435\u043B\u044F\u0442\u0441\u044F \u043D\u0430 3 \u0440\u0430\u0437\u043D\u044B\u0445 \u043F\u043E\u0434\u0445\u043E\u0434\u0430 \u0434\u043B\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0418\u0437-\u0437\u0430 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u0439 \u043F\u043E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044E \u0440\u0430\u0431\u043E\u0442\u043E\u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430, \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u0435 \u043B\u044E\u0431\u043E\u0433\u043E \u043C\u043E\u0434\u0443\u043B\u044F, \u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u0435 \u043C\u043E\u0434\u0443\u043B\u0435\u0439 \u043E\u0434\u043D\u043E\u0433\u043E \u0443\u0440\u043E\u0432\u043D\u044F \u0438\u0437 \u0441\u043E\u0441\u0435\u0434\u043D\u0438\u0445 \u0441\u0442\u043E\u043B\u0431\u0446\u043E\u0432",tooltipPosition:"bottom"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",alignContent:"center",ml:1.5,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0440\u0438\u0437\u0440\u0430\u043A",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0421\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0441\u0440\u0435\u0434\u0438 \u0432\u0440\u0430\u0433\u043E\u0432, \u043D\u0430\u043F\u0430\u0434\u0430\u0439\u0442\u0435 \u0438\u0437 \u0442\u0435\u043D\u0438 \u0438 \u0431\u0443\u0434\u044C\u0442\u0435 \u043D\u0435\u0437\u0440\u0438\u043C\u043E\u0439 \u0443\u0433\u0440\u043E\u0437\u043E\u0439, \u0432\u0441\u0451 \u0434\u043B\u044F \u0442\u043E\u0433\u043E \u0447\u0442\u043E\u0431\u044B \u043E \u0432\u0430\u0441 \u0438 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438 \u043D\u0438\u043A\u0442\u043E \u043D\u0435 \u0443\u0437\u043D\u0430\u043B! \u0411\u0443\u0434\u044C\u0442\u0435 \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u044B \u043A\u0430\u043A \u043F\u0440\u0438\u0437\u0440\u0430\u043A!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(53, 94, 163, 0.8)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return g("give_ability",{style:"smoke",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.smoke,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0414\u042B\u041C\u041E\u0412\u0410\u042F \u0417\u0410\u0412\u0415\u0421\u0410",content:"\u0412\u044B \u0441\u043E\u0437\u0434\u0430\u0451\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u043E\u0431\u043B\u0430\u043A\u043E \u0434\u044B\u043C\u0430 \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u043F\u0443\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0438\u0445 \u0432\u0440\u0430\u0433\u043E\u0432. \n\u042D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u043E\u0442\u043B\u0438\u0447\u043D\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u0435\u0442\u0441\u044F \u0441 \u0432\u0430\u0448\u0438\u043C \u0432\u0438\u0437\u043E\u0440\u043E\u043C \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0442\u0435\u0440\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0441\u043A\u0430\u043D\u0435\u0440\u0430. \n\u0410 \u0442\u0430\u043A \u0436\u0435 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u043C\u043D\u043E\u0433\u0438\u043C\u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043C\u043E\u0434\u0443\u043B\u044F\u043C\u0438 \u0435\u0441\u043B\u0438 \u0432\u044B \u0442\u043E\u0433\u043E \u043F\u043E\u0436\u0435\u043B\u0430\u0435\u0442\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 250 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return g("give_ability",{style:"ninja_cloak",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.ninja_cloak,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041D\u0415\u0412\u0418\u0414\u0418\u041C\u041E\u0421\u0422\u042C",content:"\u0412\u044B \u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0435\u0431\u044F \u043C\u0430\u0441\u043A\u0438\u0440\u043E\u0432\u043E\u0447\u043D\u043E\u0435 \u043F\u043E\u043B\u0435 \u0441\u043A\u0440\u044B\u0432\u0430- \u044E\u0449\u0435\u0435 \u0432\u0430\u0441 \u0438\u0437 \u0432\u0438\u0434\u0443 \u0438 \u043F\u0440\u0438\u0433\u043B\u0443\u0448\u0430- \u044E\u0449\u0435\u0435 \u0432\u0430\u0448\u0438 \u0448\u0430\u0433\u0438. \n\u041F\u043E\u043B\u0435 \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0445\u0440\u0443\u043F\u043A\u043E\u0435 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0437\u043B\u0435\u0442\u0435\u0442\u044C\u0441\u044F \u043E\u0442 \u043B\u044E\u0431\u043E\u0433\u043E \u0440\u0435\u0437\u043A\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u0440\u0430. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 2 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \u0425\u043E\u0442\u044C \u043F\u043E\u043B\u0435 \u0438 \u0441\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0441 \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E, \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u0439 \u0443\u0431\u0438\u0439\u0446\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0445\u043B\u0430\u0434\u043D\u043E\u043A\u0440\u043E\u0432\u0435\u043D. \n\u041D\u0435 \u0441\u0442\u043E\u0438\u0442 \u043D\u0435\u0434\u043E\u043E\u0446\u0435\u043D\u0438\u0432\u0430\u0442\u044C \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0434\u0440\u0443\u0433\u0438\u0445 \u043B\u044E\u0434\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C \u0441\u043B\u0430\u0431\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 15 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return g("give_ability",{style:"ninja_clones",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.ninja_clones,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0418\u0415 \u041A\u041B\u041E\u041D\u042B",content:"\u0421\u043E\u0437\u0434\u0430\u0451\u0442 \u0434\u0432\u0443\u0445 \u043A\u043B\u043E\u043D\u043E\u0432 \u0433\u043E\u0442\u043E\u0432\u044B\u0445 \u043F\u043E\u043C\u043E\u0447\u044C \u0432 \u0431\u0438\u0442\u0432\u0435 \u0438 \u0434\u0435\u0437\u043E\u0440\u0438\u0435\u043D\u0442\u0438- \u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u0430 \n\u0422\u0430\u043A \u0436\u0435 \u0432 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435 \u0441\u043C\u0435\u0449\u0430\u0435\u0442 \u0432\u0430\u0441 \u0438 \u0432\u0430\u0448\u0438\u0445 \u043A\u043B\u043E\u043D\u043E\u0432 \u0432 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u043C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u043F\u0430\u0440\u044B \u043C\u0435\u0442\u0440\u043E\u0432. \n\u041F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435\u0441\u044C \u043E\u0441\u0442\u043E\u0440\u043E\u0436\u043D\u043E. \u0421\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u0435 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043F\u0435\u0440\u0435\u0442\u044C \u0432\u0430\u0441 \u0437\u0430 4-\u043C\u044F \u0441\u0442\u0435\u043D\u0430\u043C\u0438. \u0411\u0443\u0434\u044C\u0442\u0435 \u043A \u044D\u0442\u043E\u043C\u0443 \u0433\u043E\u0442\u043E\u0432\u044B. \n\u041A\u043B\u043E\u043D\u044B \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E 20 \u0441\u0435\u043A\u0443\u043D\u0434. \u041A\u043B\u043E\u043D\u044B \u0438\u043C\u0435\u044E\u0442 \u0448\u0430\u043D\u0441 \u0440\u0430\u0437\u043C\u043D\u043E\u0436\u0438\u0442\u0441\u044F \u0430\u0442\u0430\u043A\u0443\u044F \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u043E\u0432. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 4000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 8 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return g("give_ability",{style:"chameleon",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.chameleon,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0425\u0410\u041C\u0415\u041B\u0415\u041E\u041D",content:"\u0412\u044B \u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0435\u0431\u044F \u0433\u043E\u043B\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043F\u043E\u043B\u0435 \u0438\u0441\u043A\u0430\u0436\u0430\u044E\u0449\u0435\u0435 \u0432\u0438\u0437\u0443\u0430\u043B\u044C\u043D\u043E\u0435 \u0438 \u0441\u043B\u0443\u0445\u043E\u0432\u043E\u0435 \u0432\u043E\u0441\u043F\u0440\u0438\u044F\u0442\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432. \n\u0412\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u0432\u0438\u0434\u0435\u0442\u044C \u0438 \u0441\u043B\u044B\u0448\u0430\u0442\u044C \u043A\u0430\u043A \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u0432\u044B \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442\u0435 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u043C. \n\u042D\u0442\u043E \u0434\u0430\u0451\u0442 \u0432\u0430\u043C \u043E\u0433\u0440\u043E\u043C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u0442\u043E\u0440 \u043F\u043E \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u044E \u0438 \u0438\u043C\u0438\u0442\u0430\u0446\u0438\u0438 \u043B\u044E\u0431\u043E\u0433\u043E \u0447\u043B\u0435\u043D\u0430 \u044D\u043A\u0438\u043F\u0430\u0436\u0430. \n\u041F\u043E\u043B\u0435 \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0445\u0440\u0443\u043F\u043A\u043E\u0435 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0437\u043B\u0435\u0442\u0435\u0442\u044C\u0441\u044F \u043E\u0442 \u043B\u044E\u0431\u043E\u0433\u043E \u0440\u0435\u0437\u043A\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u0440\u0430. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 2 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \n\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0445\u0430\u043C\u0435\u043B\u0435\u043E\u043D \u0441\u043B\u0430\u0431\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: \u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return g("give_ability",{style:"ninja_spirit_form",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.ninja_spirit_form,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0424\u041E\u0420\u041C\u0410 \u0414\u0423\u0425\u0410",content:"\u0412\u044B \u0432\u043E\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u043D\u0430 \u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0442\u0435\u043B\u0430 \u043F\u043E\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E\u043C \u044D\u0442\u043E\u0439 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438. \n\u0414\u0435\u043B\u0430\u044F \u0432\u0430\u0448\u0435 \u0442\u0435\u043B\u043E \u043D\u0435\u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u044B\u043C \u044D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u0434\u0430\u0440\u0443\u0435\u0442 \u0432\u0430\u043C \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442\u044C \u0441\u043A\u0432\u043E\u0437\u044C \u0441\u0442\u0435\u043D\u044B. \n\u042D\u0442\u0430 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u044F \u043D\u0435 \u0441\u0434\u0435\u043B\u0430\u0435\u0442 \u0432\u0430\u0441 \u043D\u0435\u0443\u044F\u0437\u0432\u0438\u043C\u044B\u043C \u0434\u043B\u044F \u043F\u0443\u043B\u044C \u0438 \u043B\u0435\u0437\u0432\u0438\u0439! \n\u041D\u043E \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u0441\u043D\u044F\u0442\u044C \u0441 \u0441\u0435\u0431\u044F \u043D\u0430\u0440\u0443\u0447\u043D\u0438\u043A\u0438, \u0431\u043E\u043B\u044B \u0438 \u0434\u0430\u0436\u0435 \u0432\u044B\u043B\u0435\u0437\u0442\u0438 \u0438\u0437 \u0433\u0440\u043E\u0431\u0430 \u0438\u043B\u0438 \u044F\u0449\u0438\u043A\u0430, \u043E\u043A\u0430\u0436\u0438\u0441\u044C \u0432\u044B \u0442\u0430\u043C \u0437\u0430\u043F\u0435\u0440\u0442\u044B... \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u0430. \n\u0410\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u0444\u043E\u0440\u043C\u0430 \u0434\u0443\u0445\u0430 \u0437\u043D\u0430\u0447\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438! \u041F\u043E\u0442\u0440\u0435\u0431\u043B\u0435\u043D\u0438\u0435 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u043E \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0432\u043D\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u043E\u0431\u044A\u0451\u043C\u0430 \u0431\u0430\u0442\u0430\u0440\u0435\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 25 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"right"})]})]})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0417\u043C\u0435\u0439",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0423\u0434\u0438\u0432\u043B\u044F\u0439\u0442\u0435! \u0422\u0440\u044E\u043A\u0438, \u043B\u043E\u0432\u0443\u0448\u043A\u0438, \u0449\u0438\u0442\u044B. \u041F\u043E\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043C, \u0447\u0442\u043E \u0442\u0430\u043A\u043E\u0435 \u0431\u043E\u0439 \u0441 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u043C \u0443\u0431\u0438\u0439\u0446\u0435\u0439. \u0418\u0437\u0432\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0438 \u0438\u0437\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u043D\u0430\u0445\u043E\u0434\u044F \u0432\u044B\u0445\u043E\u0434 \u0438\u0437 \u043B\u044E\u0431\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438. \u0412\u0440\u0430\u0433\u0438 \u0432\u0441\u0435\u0433\u043E \u043B\u0438\u0448\u044C \u0433\u0440\u044B\u0437\u0443\u043D\u044B, \u0447\u044C\u0451 \u043B\u043E\u0433\u043E\u0432\u043E \u043D\u0430\u0432\u0435\u0441\u0442\u0438\u043B \u0437\u043C\u0435\u0439!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(0, 174, 208, 0.15)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return g("give_ability",{style:"kunai",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.kunai,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0421\u0422\u0420\u041E\u0415\u041D\u041D\u041E\u0415 \u0414\u0416\u041E\u0425\u042C\u0401",content:"\u0422\u0430\u043A \u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043A\u0430\u043A \u0428\u044D\u043D\u0431\u044F\u043E \u0438\u043B\u0438 \u043F\u0440\u043E\u0441\u0442\u043E \u041A\u0438\u043D\u0436\u0430\u043B \u043D\u0430 \u0446\u0435\u043F\u0438. \n\u0418\u043D\u0442\u0435\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0438 \u043F\u0440\u0438\u0442\u044F\u043D\u0443\u0442\u044C \u043A \u0441\u0435\u0431\u0435 \u0436\u0435\u0440\u0442\u0432\u0443 \u0437\u0430 \u0434\u043E\u043B\u0438 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \n\u041E\u0440\u0443\u0436\u0438\u0435 \u043D\u0435 \u043E\u0447\u0435\u043D\u044C \u0433\u043E\u0434\u0438\u0442\u0441\u044F \u0434\u043B\u044F \u0434\u043E\u043B\u0433\u0438\u0445 \u0431\u043E\u0451\u0432, \u043D\u043E \u043E\u0442\u043B\u0438\u0447\u043D\u043E \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0432\u044B\u0442\u044F\u0433\u0438\u0432\u0430\u043D\u0438\u044F \u043E\u0434\u043D\u043E\u0439 \u0436\u0435\u0440\u0442\u0432\u044B - \u043D\u0430 \u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0443\u0434\u0430\u0440\u0430! \n\u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043D\u0435 \u043F\u0440\u043E\u043C\u0430\u0445\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0438 \u0441\u0442\u0440\u0435\u043B\u044C\u0431\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0430: 500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 5 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return g("give_ability",{style:"chem_injector",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.chem_injector,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0418\u0421\u0426\u0415\u041B\u042F\u042E\u0429\u0418\u0419 \u041A\u041E\u041A\u0422\u0415\u0419\u041B\u042C",content:"\u0412\u0432\u043E\u0434\u0438\u0442 \u0432 \u0432\u0430\u0441 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u043B\u0435\u0447\u0435\u0431\u043D\u0443\u044E \u0441\u043C\u0435\u0441\u044C. \u0421\u043F\u043E\u0441\u043E\u0431\u043D\u0443\u044E \u0437\u0430\u043B\u0435\u0447\u0438\u0442\u044C \u0434\u0430\u0436\u0435 \u0441\u043B\u043E\u043C\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u0441\u0442\u0438 \u0438 \u043E\u0442\u043E\u0440\u0432\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438. \n\u041F\u0440\u0435\u043F\u0430\u0440\u0430\u0442 \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442- \n\u0432\u0435\u043D\u043D\u043E-\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u0434\u043E\u043A\u0441\u044B \u0438 \u043E\u0447\u0435\u043D\u044C \u043C\u0435\u0434\u043B\u0435\u043D\u043D\u043E \u0432\u044B\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0438\u0437 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C\u0430! \n\u041F\u0440\u0438 \u043F\u0435\u0440\u0435\u0434\u043E\u0437\u0438\u0440\u043E\u0432\u043A\u0435 \u043E\u043D\u0438 \u0441\u0442\u0430\u043D\u043E\u0432\u044F\u0442\u0441\u044F \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043E\u043F\u0430\u0441\u043D\u044B \u0434\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \u041D\u0435 \u0432\u0432\u043E\u0434\u0438\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u0435 30 \u0435\u0434. \u043F\u0440\u0435\u043F\u0430\u0440\u0430\u0442\u0430 \u0432 \u0432\u0430\u0448 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C! \n\u0412\u043C\u0435\u0441\u0442\u043E \u0442\u0440\u0430\u0442\u044B \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u0438\u043C\u0435\u0435\u0442 3 \u0437\u0430\u0440\u044F\u0434\u0430. \u0418\u0445 \u043C\u043E\u0436\u043D\u043E \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0446\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0443\u0441\u043A\u043E\u0432 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u043A\u0440\u0438\u0441\u0442\u0430\u043B\u043B\u043E\u0432 \u043F\u043E\u043C\u0435\u0449\u0451\u043D\u043D\u044B\u0445 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return g("give_ability",{style:"emergency_blink",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.emergency_blink,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041A\u0421\u0422\u0420\u0415\u041D\u041D\u0410\u042F \u0422\u0415\u041B\u0415\u041F\u041E\u0420\u0422\u0410\u0426\u0418\u042F",content:"\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0432 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u0443\u044E \u0437\u043E\u043D\u0443 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u043E\u043A\u043E\u043B\u043E \u0434\u0432\u0443\u0445 \u0434\u0435\u0441\u044F\u0442\u043A\u043E\u0432 \u043C\u0435\u0442\u0440\u043E\u0432. \n\u0414\u043B\u044F \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u043C\u043E\u0437\u0433\u043E\u0432\u044B\u0435 \u0438\u043C\u043F\u0443\u043B\u044C\u0441\u044B \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \u041F\u043E\u044D\u0442\u043E\u043C\u0443 \u043E\u043F\u044B\u0442\u043D\u044B\u0435 \u0432\u043E\u0438\u043D\u044B \u043A\u043B\u0430\u043D\u0430, \u043C\u043E\u0433\u0443\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0435\u0451 \u0434\u0430\u0436\u0435 \u0432\u043E \u0441\u043D\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return g("give_ability",{style:"caltrop",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.caltrop,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041B\u0415\u041A\u0422\u0420\u041E-\u0427\u0415\u0421\u041D\u041E\u041A",content:"\u0427\u0430\u0449\u0435 \u0438\u0445 \u043D\u0430\u0437\u044B\u0432\u0430\u044E\u0442 \u043F\u0440\u043E\u0441\u0442\u043E \u043A\u0430\u043B\u0442\u0440\u043E\u043F\u044B, \u0438\u0437-\u0437\u0430 \u0437\u0430\u043F\u0443\u0442\u044B\u0432\u0430\u044E\u0449\u0438\u0445 \u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0441 \u0431\u043E\u043B\u0435\u0435 \u0441\u044A\u0435\u0441\u0442\u043D\u044B\u043C \u0447\u0435\u0441\u043D\u043E\u043A\u043E\u043C. \n\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0440\u0430\u0441\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u043F\u043E\u0437\u0430\u0434\u0438 \u0432\u0430\u0441 \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u044B\u0435 \u0438\u0437 \u0441\u043F\u0440\u0435\u0441\u0441\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u043B\u043E\u0432\u0443\u0448\u043A\u0438. \n\u041B\u043E\u0432\u0443\u0448\u043A\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E 10 \u0441\u0435\u043A\u0443\u043D\u0434. \u0422\u0430\u043A \u0436\u0435 \u043E\u043D\u0438 \u043F\u0440\u043E\u043F\u0430\u0434\u0430\u044E\u0442 - \u0435\u0441\u043B\u0438 \u043D\u0430 \u043D\u0438\u0445 \u043D\u0430\u0441\u0442\u0443\u043F\u0438\u0442\u044C. \n\u0411\u043E\u043B\u044C \u043E\u0442 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u0433\u043E \u0448\u0430\u0433\u0430 \u043D\u0430 \u043D\u0438\u0445 \u043D\u0430\u0441\u0442\u0438\u0433\u043D\u0435\u0442 \u0434\u0430\u0436\u0435 \u0440\u043E\u0431\u043E\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D- \u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438. \n\u0412\u044B \u043D\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u044B \u043E\u0442 \u043D\u0438\u0445. \u041D\u0435 \u043D\u0430\u0441\u0442\u0443\u043F\u0430\u0439\u0442\u0435 \u043D\u0430 \u0441\u0432\u043E\u0438 \u0436\u0435 \u043B\u043E\u0432\u0443\u0448\u043A\u0438! \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 1 \u0441\u0435\u043A\u0443\u043D\u0434\u0430.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return g("give_ability",{style:"cloning",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.cloning,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0422\u041E\u0420\u041E\u0419 \u0428\u0410\u041D\u0421",content:"\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u043C \u043C\u043D\u043E\u0433\u0438\u0435 \u0443\u0431\u0438\u0439\u0446\u044B \u043F\u0440\u043E\u0432\u0430\u043B\u0438\u0432\u0430\u044F \u0441\u0432\u043E\u0438 \u043C\u0438\u0441\u0441\u0438\u0438 \u0441\u043E\u0432\u0435\u0440\u0448\u0430\u043B\u0438 \u0441\u0430\u043C\u043E\u0443\u0431\u0438\u0439\u0441\u0442\u0432\u0430 \u0438\u043B\u0438 \u043E\u043A\u0430\u0437\u044B\u0432\u0430\u043B\u0438\u0441\u044C \u0432 \u043B\u0430\u043F\u0430\u0445 \u0432\u0440\u0430\u0433\u0430. \n\u0421\u0435\u0439\u0447\u0430\u0441 \u0436\u0435 \u0435\u0441\u0442\u044C \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0434\u043E\u0440\u043E\u0433\u0430\u044F \u0430\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u0430. \u041C\u043E\u0449\u043D\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0435 \u0434\u043E\u0441\u0442\u0430\u0442\u044C \u0432\u0430\u0441 \u043F\u0440\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441 \u0442\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u0430. \n\u042D\u0442\u0430 \u043C\u0430\u0448\u0438\u043D\u0430 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0439 \u0448\u0430\u043D\u0441, \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0432 \u0432\u0430\u0441 \u043A \u0441\u0435\u0431\u0435 \u0438 \u0438\u0437\u043B\u0435\u0447\u0438\u0432 \u043B\u044E\u0431\u044B\u0435 \u0442\u0440\u0430\u0432\u043C\u044B. \n\u041C\u044B \u0441\u043B\u044B\u0448\u0430\u043B\u0438 \u043F\u0440\u043E \u0441\u043E\u043C\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u043D\u0430 \u0438\u0434\u0435\u0435, \u0447\u0442\u043E \u044D\u0442\u043E \u043F\u0440\u043E\u0441\u0442\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u043A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u043B\u0435\u043D\u043E\u0432 \u043A\u043B\u0430\u043D\u0430. \u041D\u043E \u0443\u0432\u0435\u0440\u044F\u0435\u043C \u0432\u0430\u0441, \u044D\u0442\u043E \u043D\u0435 \u0442\u0430\u043A. \n\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0438\u0437-\u0437\u0430 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0437\u0430\u0442\u0440\u0430\u0442 \u043D\u0430 \u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u0438 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044E. \u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043F\u0430\u0441\u0451\u0442 \u0432\u0430\u0441 \u043B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437. \n\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438, \u043A\u043E\u0433\u0434\u0430 \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u043F\u0440\u0438 \u0441\u043C\u0435\u0440\u0442\u0438.",position:"right"})]})]})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u043B\u044C",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u042F\u0440\u043E\u0441\u0442\u044C \u043D\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430\u044F \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u043B\u044E\u0434\u044F\u043C. \u0421\u0438\u043B\u0430, \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0438 \u043E\u0440\u0443\u0434\u0438\u044F \u0432\u044B\u0448\u0435 \u0438\u0445 \u043F\u043E\u043D\u0438\u043C\u0430\u043D\u0438\u044F. \u0420\u0430\u0437\u0438\u0442\u0435 \u0438\u0445 \u043A\u0430\u043A \u0445\u0438\u0449\u043D\u0438\u043A \u0447\u0442\u043E \u0440\u0430\u0437\u0438\u0442 \u0441\u0432\u043E\u044E \u0434\u043E\u0431\u044B\u0447\u0443. \u041F\u043E\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043C \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0432\u043A\u0443\u0441 \u0441\u0442\u0430\u043B\u0438!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(80, 20, 20, 1)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return g("give_ability",{style:"shuriken",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.shuriken,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0418\u0415 \u0421\u042E\u0420\u0418\u041A\u0415\u041D\u042B",content:"\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442 \u043F\u0443\u0441\u043A\u043E\u0432\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043A\u0440\u044B\u0442\u043E\u0435 \u0432 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0430\u0445 \u043A\u043E\u0441\u0442\u044E\u043C\u0430. \n\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0432\u044B\u043F\u0443\u0441\u043A\u0430\u0435\u0442 \u043F\u043E \u0442\u0440\u0438 \u0441\u044E\u0440\u0438\u043A\u0435\u043D\u0430, \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u044B\u0445 \u0438\u0437 \u0441\u0436\u0430\u0442\u043E\u0439 \u044D\u043D\u0435\u0440\u0433\u0438\u0438, \u043E\u0447\u0435\u0440\u0435\u0434\u044C\u044E. \n\u0421\u044E\u0440\u0438\u043A\u0435\u043D\u044B \u043F\u043E\u0441\u0442\u0435\u043F\u0435\u043D\u043D\u043E \u0438\u0437\u043D\u0443\u0440\u044F\u044E\u0442 \u0432\u0440\u0430\u0433\u043E\u0432 \u0438 \u043D\u0430\u043D\u043E\u0441\u044F\u0442 \u0441\u043B\u0430\u0431\u044B\u0439 \u043E\u0436\u043E\u0433\u043E\u0432\u044B\u0439 \u0443\u0440\u043E\u043D. \n\u0422\u0430\u043A \u0436\u0435 \u043E\u043D\u0438 \u043F\u0440\u043E\u043B\u0435\u0442\u0430\u044E\u0442 \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0435\u043A\u043B\u043E, \u043A\u0430\u043A \u0438 \u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u043B\u0430\u0437\u0435\u0440\u043D\u044B\u0435 \u0441\u043D\u0430\u0440\u044F\u0434\u044B. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0430: 300 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return g("give_ability",{style:"adrenal",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.adrenal,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0421\u041F\u041B\u0415\u0421\u041A \u0410\u0414\u0420\u0415\u041D\u0410\u041B\u0418\u041D\u0410",content:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u0432\u0432\u043E\u0434\u0438\u0442 \u0432 \u0432\u0430\u0441 \u043C\u043E\u0449\u043D\u0443\u044E \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u0441\u044B\u0432\u043E\u0440\u043E\u0442\u043A\u0443 \u0443\u0441\u043A\u043E\u0440\u044F\u044E\u0449\u0443\u044E \u0432\u0430\u0441 \u0432 \u0431\u043E\u044E \u0438 \u043F\u043E\u043C\u043E\u0433\u0430\u044E\u0449\u0443\u044E \u0431\u044B\u0441\u0442\u0440\u0435\u0435 \u043E\u043A\u043B\u0435\u043C\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u043E\u0433\u043B\u0443\u0448\u0430\u044E\u0449\u0438\u0445 \u044D\u0444\u0444\u0435\u043A\u0442\u043E\u0432. \n\u041A\u043E\u0441\u0442\u044E\u043C \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442 \u0441\u044B\u0432\u043E\u0440\u043E\u0442\u043A\u0443 \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u0443\u0440\u0430\u043D\u0430. \u0427\u0442\u043E \u043A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0434\u0430\u0451\u0442 \u043D\u0435\u043F\u0440\u0438\u044F\u0442\u043D\u044B\u0439 \u043D\u0435\u0433\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u044D\u0444\u0444\u0435\u043A\u0442, \u0432 \u0432\u0438\u0434\u0435 \u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0430\u0434\u0438\u044F \u0432 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \n\u0412\u043C\u0435\u0441\u0442\u043E \u0442\u0440\u0430\u0442\u044B \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043E \u043B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0436\u0435\u043D\u043E \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0446\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0443\u0441\u043A\u043E\u0432 \u0443\u0440\u0430\u043D\u0430 \u043F\u043E\u043C\u0435\u0449\u0451\u043D\u043D\u044B\u0445 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return g("give_ability",{style:"emp",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.emp,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041B\u0415\u041A\u0422\u0420\u041E\u041C\u0410\u0413\u041D\u0418\u0422\u041D\u042B\u0419 \u0412\u0417\u0420\u042B\u0412",content:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043C\u0430\u0433\u043D\u0438\u0442\u043D\u044B\u0435 \u0432\u043E\u043B\u043D\u044B \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u044E\u0442, \u043F\u043E\u0434\u0440\u044B\u0432\u0430\u044E\u0442 \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0430\u044E\u0442 - \u043A\u0438\u0431\u043E\u0440\u0433\u043E\u0432, \u0434\u0440\u043E\u043D\u043E\u0432, \u041A\u041F\u0411, \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043E\u0440\u0443\u0436\u0438\u0435, \u043F\u043E\u0440\u0442\u0430\u0442\u0438\u0432\u043D\u044B\u0435 \u0421\u0432\u0435\u0442\u043E\u0448\u0443\u043C\u043E\u0432\u044B\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430, \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0441\u0432\u044F\u0437\u0438 \u0438 \u0442.\u0434. \n\u042D\u0442\u043E\u0442 \u0432\u0437\u0440\u044B\u0432 \u043C\u043E\u0436\u0435\u0442 \u043A\u0430\u043A \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C \u0432 \u0431\u043E\u044E, \u0442\u0430\u043A \u0438 \u043D\u0435\u0432\u0435\u0440\u043E\u044F\u0442\u043D\u043E \u043D\u0430\u0432\u0440\u0435\u0434\u0438\u0442\u044C. \u0412\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u043E\u0441\u043C\u0430\u0442\u0440\u0438\u0432\u0430\u0439\u0442\u0435 \u043C\u0435\u0441\u0442\u043D\u043E\u0441\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0435\u043C. \n\u041D\u0435 \u0437\u0430\u0431\u044B\u0432\u0430\u0439\u0442\u0435 \u043E \u0437\u0430\u0449\u0438\u0449\u0430\u044E\u0449\u0435\u043C \u043E\u0442 \u0441\u0432\u0435\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0435 \u0432\u0430\u0448\u0435\u0433\u043E \u0432\u0438\u0437\u043E\u0440\u0430. \u041E\u043D \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u043C\u043E\u0447\u044C \u043D\u0435 \u043E\u0441\u043B\u0435\u043F\u043D\u0443\u0442\u044C, \u043F\u0440\u0438 \u043F\u043E\u0434\u0440\u044B\u0432\u0435 \u043F\u043E\u0434\u043E\u0431\u043D\u044B\u0445 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432. \n\u0412\u0437\u0440\u044B\u0432 - \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430 \u0432\u0430\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 5000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 4 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return g("give_ability",{style:"energynet",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.energynet,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0410\u042F \u0421\u0415\u0422\u042C",content:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u043B\u043E\u0432\u0438\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u0443\u044E \u0432\u0430\u043C\u0438 \u0446\u0435\u043B\u044C \u0432 \u043E\u0431\u0435\u0437\u0434\u0432\u0438\u0436\u0438\u0432\u0430\u044E\u0449\u0443\u044E \u043B\u043E\u0432\u0443\u0448\u043A\u0443. \n\u0418\u0437 \u043B\u043E\u0432\u0443\u0448\u043A\u0438 \u043B\u0435\u0433\u043A\u043E \u0432\u044B\u0431\u0440\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u043E\u0441\u0442\u043E \u0441\u043B\u043E\u043C\u0430\u0432 \u0435\u0451 \u043B\u044E\u0431\u044B\u043C \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u043E\u043C. \n\u041E\u0442\u043B\u0438\u0447\u043D\u043E \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043D\u0435\u0439\u0442\u0440\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043E\u0434\u043D\u043E\u0433\u043E \u0432\u0440\u0430\u0433\u0430. \n\u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u0432 \u043D\u0435\u0451 \u043C\u043E\u0436\u043D\u043E \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0430\u0433\u0440\u0435\u0441\u0441\u0438\u0432\u043D\u044B\u0445 \u0436\u0438\u0432\u043E\u0442\u043D\u044B\u0445 \u0438\u043B\u0438 \u043D\u0430\u0434\u043E\u0435\u0434\u043B\u0438\u0432\u044B\u0445 \u043E\u0445\u0440\u0430\u043D\u043D\u044B\u0445 \u0431\u043E\u0442\u043E\u0432. \n\u0423\u0447\u0438\u0442\u044B\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043E \u0441\u0435\u0442\u044C \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0435 \u043E\u0442\u0441\u0442\u0440\u0435\u043B\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u0432\u0430\u0441. \n\u0422\u0430\u043A \u0436\u0435 \u0441\u0435\u0442\u044C \u043B\u0435\u0433\u043A\u043E \u043F\u043E\u043A\u0438\u043D\u0443\u0442\u044C \u0434\u0440\u0443\u0433\u0438\u043C \u043F\u0443\u0442\u0451\u043C, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u0435\u0442\u0438 - \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430 \u0432\u0430\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 4000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return g("give_ability",{style:"spider_red",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.spider_red,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0411\u041E\u0415\u0412\u041E\u0415 \u0418\u0421\u041A\u0423\u0421\u0421\u0422\u0412\u041E \n\u041F\u041E\u041B\u0417\u0423\u0427\u0415\u0419 \u0412\u0414\u041E\u0412\u042B",content:"\u0411\u043E\u0435\u0432\u043E\u0435 \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u043E \u043D\u0438\u043D\u0434\u0437\u044F \u0441\u043E\u0441\u0440\u0435\u0434\u043E\u0442\u043E\u0447\u0435\u043D\u043D\u043E\u0435 \u043D\u0430 \u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u0438 \u043A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0438\u0451\u043C\u043E\u0432. \n\u0412 \u0443\u0447\u0435\u043D\u0438\u0435 \u0432\u0445\u043E\u0434\u044F\u0442 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u043F\u0440\u0438\u0451\u043C\u044B: \n\u0412\u044B\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u0435 \u0440\u0443\u043A\u0438 - \u0437\u0430\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0443 \u0432\u044B\u0440\u043E\u043D\u0438\u0442\u044C \u0441\u0432\u043E\u0451 \u043E\u0440\u0443\u0436\u0438\u0435. \n\u0423\u0434\u0430\u0440 \u043B\u0430\u0434\u043E\u043D\u044C\u044E - \u043E\u0442\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0443 \u043D\u0430 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0435\u0442\u0440\u043E\u0432 \u043E\u0442 \u0432\u0430\u0441, \u043B\u0438\u0448\u0430\u044F \u0440\u0430\u0432\u043D\u043E\u0432\u0435\u0441\u0438\u044F. \n\u041F\u0435\u0440\u0435\u0440\u0435\u0437\u0430\u043D\u0438\u0435 \u0448\u0435\u0438 - \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u043E\u0431\u0435\u0437\u0433\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442 \u043B\u0435\u0436\u0430\u0447\u0443\u044E \u0436\u0435\u0440\u0442\u0432\u0443 \u043A\u0430\u0442\u0430\u043D\u043E\u0439 \u0432\u043E \u0432\u0441\u043F\u043E\u043C\u043E\u0433\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0440\u0443\u043A\u0435. \n\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0442\u043E\u0440\u043D\u0430\u0434\u043E - \u0440\u0430\u0441\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u0432\u0440\u0430\u0433\u043E\u0432 \u0432\u043E\u043A\u0440\u0443\u0433 \u0432\u0430\u0441 \u0438 \u0441\u043E\u0437\u0434\u0430\u0451\u0442 \u043E\u0431\u043B\u0430\u043A\u043E \u0434\u044B\u043C\u0430 \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0434\u044B\u043C\u043E\u0432\u043E\u0433\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0438 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u044B \u043E\u0431\u0443\u0447\u0430\u0435\u0442\u0435\u0441\u044C \u0441 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u043C \u0448\u0430\u043D\u0441\u043E\u043C \u043E\u0442\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u043D\u044F\u0440\u044F\u0434\u044B \u0432\u0440\u0430\u0433\u043E\u0432 \u043E\u0431\u0440\u0430\u0442\u043D\u043E.",position:"right"})]})]})]})]})})},f=r.ShuttleConsole=function(){function m(c,v){var b=(0,a.useBackend)(v),g=b.act,h=b.data;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0448\u0430\u0442\u0442\u043B\u043E\u043C",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041F\u0430\u043D\u0435\u043B\u044C \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0451\u043D\u043D\u043E\u0433\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0432\u0430\u0448\u0438\u043C \u043B\u0438\u0447\u043D\u044B\u043C \u0448\u0430\u0442\u0442\u043B\u043E\u043C. \u0422\u0430\u043A \u0436\u0435 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0448\u0443 \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u043F\u043E\u0437\u0438\u0446\u0438\u044E \u0438 \u043F\u043E\u0437\u0438\u0446\u0438\u044E \u0441\u0430\u043C\u043E\u0433\u043E \u0448\u0430\u0442\u0442\u043B\u0430!",tooltipPosition:"right"}),children:(0,e.createComponentVNode)(2,t.Flex,{ml:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F",children:h.status?h.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0430\u0448\u0430 \u043F\u043E\u0437\u0438\u0446\u0438\u044F",children:h.player_pos}),!!h.shuttle&&(!!h.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0448\u0430\u0442\u0442\u043B",children:h.docking_ports.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:C.name,onClick:function(){function N(){return g("move",{move:C.id})}return N}()},C.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledListItem,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!h.admin_controlled&&(0,e.createComponentVNode)(2,o.LabeledListItem,{label:"\u0410\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044E",disabled:!h.status,onClick:function(){function C(){return g("request")}return C}()})})],0))]})})})}return m}(),u=function(c,v){var b=(0,a.useBackend)(v),g=b.data,h=g.randomPercent,C=g.allActionsPreview,N=g.color_choice;return(0,e.createComponentVNode)(2,t.Section,{stretchContents:!0,children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:N,value:h,minValue:0,maxValue:100,children:(0,e.createVNode)(1,"center",null,(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_"+N,mt:1,children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C["spider_"+N],style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Loading ",h+"%"]}),2)})})},s=function(m){function c(b){var g;return g=m.call(this,b)||this,g.timer=null,g.state={lastText:"text do be there",currentDisplay:[]},g}y(c,m);var v=c.prototype;return v.tick=function(){function b(){var g=this.props,h=this.state;if(g.allMessages!==h.lastText&&!g.end_terminal){var C=h.currentDisplay;C.push(g.allMessages),h.lastText=g.allMessages}else g.end_terminal&&(clearTimeout(this.timer),setTimeout(g.onFinished,g.finishedTimeout))}return b}(),v.componentDidMount=function(){function b(){var g=this,h=this.props.linesPerSecond,C=h===void 0?2.5:h;this.timer=setInterval(function(){return g.tick()},1e3/C)}return b}(),v.componentWillUnmount=function(){function b(){clearTimeout(this.timer)}return b}(),v.render=function(){function b(){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:this.state.currentDisplay.map(function(g){return(0,e.createFragment)([g,(0,e.createVNode)(1,"br")],0,g)})})}return b}(),c}(e.Component)},38307:function(I,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.StationAlertConsole=function(){function V(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,y)})})}return V}(),y=r.StationAlertConsoleContent=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,l=i.alarms||[];return Object.keys(l).map(function(f){var u,s;return(0,e.createComponentVNode)(2,t.Section,{title:f+" Alarms",children:(0,e.createVNode)(1,"ul",null,((u=l[f])==null?void 0:u.length)===0?(0,e.createVNode)(1,"li","color-good","Systems Nominal",16):(s=l[f])==null?void 0:s.map(function(m){return(0,e.createVNode)(1,"li","color-average",m,0,null,m)}),0)},f)})}return V}()},39409:function(I,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(89005),a=n(88510),t=n(79140),o=n(72253),d=n(36036),y=n(98595),V=5,k=9,S=function(b){return b===0?5:9},p="64px",i=function(b){return b[0]+"/"+b[1]},l=function(b){var g=b.align,h=b.children;return(0,e.createComponentVNode)(2,d.Box,{style:{position:"absolute",left:g==="left"?"6px":"48px","text-align":g,"text-shadow":"2px 2px 2px #000",top:"2px"},children:h})},f={enable_internals:{icon:"lungs",text:"Enable internals"},disable_internals:{icon:"lungs",text:"Disable internals"},enable_lock:{icon:"lock",text:"Enable lock"},disable_lock:{icon:"unlock",text:"Disable lock"},suit_sensors:{icon:"tshirt",text:"Adjust suit sensors"},remove_accessory:{icon:"medal",text:"Remove accessory"},dislodge_headpocket:{icon:"head-side-virus",text:"Dislodge headpocket"}},u={neck:{displayName:"neck",gridSpot:i([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:i([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:i([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:i([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:i([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:i([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:i([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:i([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:i([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:i([1,4])},jumpsuit:{displayName:"uniform",gridSpot:i([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:i([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:i([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:i([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:i([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:i([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:i([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:i([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:i([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:i([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:i([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:i([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:i([4,4]),image:"inventory-pda.png"}},s={neck:{displayName:"neck",gridSpot:i([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:i([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:i([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:i([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:i([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:i([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:i([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:i([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:i([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:i([1,4])},jumpsuit:{displayName:"uniform",gridSpot:i([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:i([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:i([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:i([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:i([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:i([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:i([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:i([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:i([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:i([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:i([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:i([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:i([4,8]),image:"inventory-pda.png"}},m=function(v){return v[v.Completely=1]="Completely",v[v.Hidden=2]="Hidden",v}(m||{}),c=r.StripMenu=function(){function v(b,g){var h=(0,o.useBackend)(g),C=h.act,N=h.data,x=new Map;if(N.show_mode===0)for(var B=0,L=Object.keys(N.items);B300?"bad":f>150?"average":"good"},k=function(f){return f>5e3?"bad":f>4e3?"average":"good"},S=function(f){return f>1e4?"bad":f>5e3?"average":"good"},p=function(f,u){var s=(0,a.useBackend)(u),m=s.act,c=s.data;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Detected Supermatter Shards",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Refresh",onClick:function(){function v(){return m("refresh")}return v}()}),children:(0,e.createComponentVNode)(2,t.Box,{m:1,children:c.supermatters.length===0?(0,e.createVNode)(1,"h3",null,"No shards detected",16):(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,d.TableCell,{children:"Area"}),(0,e.createComponentVNode)(2,d.TableCell,{children:"Integrity"}),(0,e.createComponentVNode)(2,d.TableCell,{children:"Details"})]}),c.supermatters.map(function(v){return(0,e.createComponentVNode)(2,d.TableRow,{children:[(0,e.createComponentVNode)(2,d.TableCell,{children:v.area_name}),(0,e.createComponentVNode)(2,d.TableCell,{children:[v.integrity,"%"]}),(0,e.createComponentVNode)(2,d.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"View",onClick:function(){function b(){return m("view",{view:v.uid})}return b}()})})]},v)})]})})})})})},i=function(f,u){var s=(0,a.useBackend)(u),m=s.act,c=s.data;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Crystal Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"caret-square-left",content:"Back",onClick:function(){function v(){return m("back")}return v}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[95,1/0],average:[80,94],bad:[-1/0,79]},minValue:"0",maxValue:"100",value:c.SM_integrity,children:[c.SM_integrity,"%"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,t.Box,{color:V(c.SM_power),children:[c.SM_power," MeV/cm3"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:k(c.SM_ambienttemp),children:[c.SM_ambienttemp," K"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:S(c.SM_ambientpressure),children:[c.SM_ambientpressure," kPa"]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Gas Composition",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:[c.SM_gas_O2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:[c.SM_gas_CO2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:[c.SM_gas_N2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plasma",children:[c.SM_gas_PL,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[c.SM_gas_OTHER,"%"]})]})})]})})}},46029:function(I,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),d=n(98595),y=r.SyndicateComputerSimple=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data;return(0,e.createComponentVNode)(2,d.Window,{width:400,height:400,theme:"syndicate",children:(0,e.createComponentVNode)(2,d.Window.Content,{children:l.rows.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{title:f.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:f.buttontitle,disabled:f.buttondisabled,tooltip:f.buttontooltip,tooltipPosition:"left",onClick:function(){function u(){return i(f.buttonact)}return u}()}),children:[f.status,!!f.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:f.bullets.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{children:u},u)})})]},f.title)})})})}return V}()},99279:function(I,r,n){"use strict";r.__esModule=!0,r.SyndieCargoConsole=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),d=n(36036),y=n(98595),V=n(29319),k=n(25328),S=r.SyndieCargoConsole=function(){function u(s,m){return(0,e.createComponentVNode)(2,y.Window,{width:900,height:800,theme:"syndicate",children:(0,e.createComponentVNode)(2,y.Window.Content,{children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,f)]})})}return u}(),p=function(s,m){var c=(0,o.useLocalState)(m,"contentsModal",null),v=c[0],b=c[1],g=(0,o.useLocalState)(m,"contentsModalTitle",null),h=g[0],C=g[1];if(v!==null&&h!==null)return(0,e.createComponentVNode)(2,d.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,d.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[h,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,d.Box,{children:v.map(function(N){return(0,e.createComponentVNode)(2,d.Box,{children:["- ",N]},N)})}),(0,e.createComponentVNode)(2,d.Box,{m:2,children:(0,e.createComponentVNode)(2,d.Button,{content:"Close",onClick:function(){function N(){b(null),C(null)}return N}()})})]})},i=function(s,m){var c=(0,o.useBackend)(m),v=c.act,b=c.data,g=b.is_public,h=g===void 0?0:g,C=b.cash,N=b.wait_time,x=b.is_cooldown,B=b.telepads_status,L=b.adminAddCash,w=B,A="",T=0,E="";return B==="Pads not linked!"?(T=0,A="Attempts to link telepads to the console.",E="Link pads"):x?x&&(E="Cooldown...",A="Pads are cooling off...",T=1,N!==1?w=""+B+" (ETA: "+N+" seconds)":w=""+B+" (ETA: "+N+" second)"):(T=0,A="Teleports your crates to the market. A reminder, some of the crates are directly stolen from NT trading routes. That means they can be locked. We are NOT sorry for the inconvenience",E="Teleport"),(0,e.createComponentVNode)(2,d.Section,{title:"Status",children:(0,e.createComponentVNode)(2,d.LabeledList,{children:[h===0&&(0,e.createComponentVNode)(2,d.LabeledList.Item,{label:"Money Available",children:[C,(0,e.createComponentVNode)(2,d.Button,{tooltip:"Withdraw money from the console",content:"Withdraw",onClick:function(){function O(){return v("withdraw",C)}return O}()}),(0,e.createComponentVNode)(2,d.Button,{content:L,tooltip:"Bless the players with da money!",onClick:function(){function O(){return v("add_money",C)}return O}()})]}),(0,e.createComponentVNode)(2,d.LabeledList.Item,{label:"Telepads Status",children:w}),h===0&&(0,e.createComponentVNode)(2,d.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,d.Button,{content:E,tooltip:A,disabled:T,onClick:function(){function O(){return v("teleport")}return O}()}),(0,e.createComponentVNode)(2,d.Button,{content:"View Syndicate Black Market Log",onClick:function(){function O(){return v("showMessages")}return O}()})]})]})})},l=function(s,m){var c=(0,o.useBackend)(m),v=c.act,b=c.data,g=b.categories,h=b.supply_packs,C=(0,o.useSharedState)(m,"category","Emergency"),N=C[0],x=C[1],B=(0,o.useSharedState)(m,"search_text",""),L=B[0],w=B[1],A=(0,o.useLocalState)(m,"contentsModal",null),T=A[0],E=A[1],O=(0,o.useLocalState)(m,"contentsModalTitle",null),P=O[0],R=O[1],F=(0,k.createSearch)(L,function(H){return H.name}),j=(0,a.flow)([(0,t.filter)(function(H){return H.cat===g.filter(function(z){return z.name===N})[0].category||L}),L&&(0,t.filter)(F),(0,t.sortBy)(function(H){return H.name.toLowerCase()})])(h),W="Crate Catalogue";return L?W="Results for '"+L+"':":N&&(W="Browsing "+N),(0,e.createComponentVNode)(2,d.Section,{title:W,buttons:(0,e.createComponentVNode)(2,d.Dropdown,{width:"190px",options:g.map(function(H){return H.name}),selected:N,onSelected:function(){function H(z){return x(z)}return H}()}),children:[(0,e.createComponentVNode)(2,d.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function H(z,$){return w($)}return H}(),mb:1}),(0,e.createComponentVNode)(2,d.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,d.Table,{m:"0.5rem",children:j.map(function(H){return(0,e.createComponentVNode)(2,d.Table.Row,{children:[(0,e.createComponentVNode)(2,d.Table.Cell,{bold:!0,children:[H.name," (",H.cost," Credits)"]}),(0,e.createComponentVNode)(2,d.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,d.Button,{content:"Order 1",icon:"shopping-cart",onClick:function(){function z(){return v("order",{crate:H.ref,multiple:0})}return z}()}),(0,e.createComponentVNode)(2,d.Button,{content:"Order Multiple",icon:"cart-plus",onClick:function(){function z(){return v("order",{crate:H.ref,multiple:1})}return z}()}),(0,e.createComponentVNode)(2,d.Button,{content:"View Contents",icon:"search",onClick:function(){function z(){E(H.contents),R(H.name)}return z}()})]})]},H.name)})})})]})},f=function(s,m){var c=(0,o.useBackend)(m),v=c.act,b=c.data,g=b.requests,h=b.canapprove,C=b.orders;return(0,e.createComponentVNode)(2,d.Section,{title:"Details",children:(0,e.createComponentVNode)(2,d.Box,{maxHeight:15,overflowY:"auto",overflowX:"hidden",children:[(0,e.createComponentVNode)(2,d.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,d.Table,{m:"0.5rem",children:g.map(function(N){return(0,e.createComponentVNode)(2,d.Table.Row,{children:[(0,e.createComponentVNode)(2,d.Table.Cell,{children:[(0,e.createComponentVNode)(2,d.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,d.Box,{italic:!0,children:["Reason: ",N.comment]})]}),(0,e.createComponentVNode)(2,d.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,d.Button,{content:"Approve",color:"green",disabled:!h,onClick:function(){function x(){return v("approve",{ordernum:N.ordernum})}return x}()}),(0,e.createComponentVNode)(2,d.Button,{content:"Deny",color:"red",onClick:function(){function x(){return v("deny",{ordernum:N.ordernum})}return x}()})]})]},N.ordernum)})}),(0,e.createComponentVNode)(2,d.Box,{bold:!0,children:"Confirmed Orders"}),(0,e.createComponentVNode)(2,d.Table,{m:"0.5rem",children:C.map(function(N){return(0,e.createComponentVNode)(2,d.Table.Row,{children:(0,e.createComponentVNode)(2,d.Table.Cell,{children:[(0,e.createComponentVNode)(2,d.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,d.Box,{italic:!0,children:["Reason: ",N.comment]})]})},N.ordernum)})})]})})}},44852:function(I,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d={0:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV"},y={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},V=function(i,l,f,u){return u===void 0&&(u=null),i.map(function(s){var m,c=(m=s[u])!=null?m:s;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:l.includes(s),content:c,onClick:function(){function v(){l.includes(s)?f(l.filter(function(b){var g;return((g=b[u])!=null?g:b)!==s})):f([s].concat(l))}return v}()},c)})},k=r.TTSSeedsExplorer=function(){function p(i,l){return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S)})})}return p}(),S=r.TTSSeedsExplorerContent=function(){function p(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=s.providers,c=s.seeds,v=s.selected_seed,b=s.phrases,g=s.donator_level,h=c.map(function(Z){return Z.category}).filter(function(Z,J,te){return te.indexOf(Z)===J}),C=c.map(function(Z){return Z.gender}).filter(function(Z,J,te){return te.indexOf(Z)===J}),N=c.map(function(Z){return Z.donator_level}).filter(function(Z,J,te){return te.indexOf(Z)===J}).map(function(Z){return d[Z]}),x=(0,a.useLocalState)(l,"selectedProviders",m),B=x[0],L=x[1],w=(0,a.useLocalState)(l,"selectedGenders",C),A=w[0],T=w[1],E=(0,a.useLocalState)(l,"selectedCategories",h),O=E[0],P=E[1],R=(0,a.useLocalState)(l,"selectedDonatorLevels",N),F=R[0],j=R[1],W=(0,a.useLocalState)(l,"selectedPhrase",b[0]),H=W[0],z=W[1],$=(0,a.useLocalState)(l,"searchtext",""),G=$[0],ne=$[1],Q=V(m,B,L,"name"),he=V(C,A,T),Ve=V(h,O,P),Ne=V(N,F,j),Be=(0,e.createComponentVNode)(2,t.Dropdown,{options:b,selected:H.replace(/(.{25})..+/,"$1..."),width:"220px",onSelected:function(){function Z(J){return z(J)}return Z}()}),Le=(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",fluid:!0,onInput:function(){function Z(J,te){return ne(te)}return Z}()}),Ae=c.sort(function(Z,J){var te=Z.name.toLowerCase(),ee=J.name.toLowerCase();return te>ee?1:te0&&v!==Z.name?"orange":"white",children:Z.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:v===Z.name?.5:.25,textAlign:"left",children:Z.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:v===Z.name?"white":y[Z.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:y[Z.gender].icon})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:"white",textAlign:"right",children:Z.donator_level>0&&(0,e.createFragment)([d[Z.donator_level],(0,e.createComponentVNode)(2,t.Icon,{ml:1,mr:2,name:"coins"})],0)})]},Z.name)});return(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",fill:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",children:Q}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:he}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",children:Ve}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",children:Ne}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:Be}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0438\u0441\u043A",children:Le})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{scrollable:!0,fill:!0,title:"\u0413\u043E\u043B\u043E\u0441\u0430 ("+Ae.length+"/"+c.length+")",children:(0,e.createComponentVNode)(2,t.Table,{children:fe})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.BlockQuote,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445 \u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0447\u0430\u0441\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430."}),(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u0443\u0437\u043D\u0430\u0442\u044C \u0432 \u043D\u0430\u0448\u0435\u043C Discord-\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0435."})]})})})]})}return p}()},56441:function(I,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.TachyonArray=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.records,u=f===void 0?[]:f,s=l.explosion_target,m=l.toxins_tech,c=l.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:m}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!u.length||c,align:"center",onClick:function(){function v(){return i("print_logs")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!u.length,color:"bad",align:"center",onClick:function(){function v(){return i("delete_logs")}return v}()})]})]})}),u.length?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return V}(),y=r.TachyonArrayContent=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.records,u=f===void 0?[]:f;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),u.map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.theoretical_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){function m(){return i("delete_record",{index:s.index})}return m}()})})]},s.index)})]})})})})}return V}()},1754:function(I,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.Tank=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l;return i.has_mask?l=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.connected?"check":"times",content:i.connected?"Internals On":"Internals Off",selected:i.connected,onClick:function(){function f(){return p("internals")}return f}()})}):l=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:300,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:i.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:i.ReleasePressure===i.minReleasePressure,tooltip:"Min",onClick:function(){function f(){return p("pressure",{pressure:"min"})}return f}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(i.releasePressure),width:"65px",unit:"kPa",minValue:i.minReleasePressure,maxValue:i.maxReleasePressure,onChange:function(){function f(u,s){return p("pressure",{pressure:s})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:i.ReleasePressure===i.maxReleasePressure,tooltip:"Max",onClick:function(){function f(){return p("pressure",{pressure:"max"})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:i.ReleasePressure===i.defaultReleasePressure,tooltip:"Reset",onClick:function(){function f(){return p("pressure",{pressure:"reset"})}return f}()})]}),l]})})})})}return y}()},7579:function(I,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.TankDispenser=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.o_tanks,f=i.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:275,height:100,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Oxygen Tank ("+l+")",disabled:l===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("oxygen")}return u}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Plasma Tank ("+f+")",disabled:f===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("plasma")}return u}()})})]})})}return y}()},16136:function(I,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.TcommsCore=function(){function p(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=s.ion,c=(0,a.useLocalState)(l,"tabIndex",0),v=c[0],b=c[1],g=function(){function h(C){switch(C){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,k);case 2:return(0,e.createComponentVNode)(2,S);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[m===1&&(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function h(){return b(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"wrench"}),"Configuration"]},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function h(){return b(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"link"}),"Device Linkage"]},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,onClick:function(){function h(){return b(2)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-times"}),"User Filtering"]},"FilterPage")]}),g(v)]})})}return p}(),y=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},V=function(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=s.active,c=s.sectors_available,v=s.nttc_toggle_jobs,b=s.nttc_toggle_job_color,g=s.nttc_toggle_name_color,h=s.nttc_toggle_command_bold,C=s.nttc_job_indicator_type,N=s.nttc_setting_language,x=s.network_id;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:m?"On":"Off",selected:m,icon:"power-off",onClick:function(){function B(){return u("toggle_active")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:c})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"user-tag",onClick:function(){function B(){return u("nttc_toggle_jobs")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"On":"Off",selected:b,icon:"clipboard-list",onClick:function(){function B(){return u("nttc_toggle_job_color")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"On":"Off",selected:g,icon:"user-tag",onClick:function(){function B(){return u("nttc_toggle_name_color")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"On":"Off",selected:h,icon:"volume-up",onClick:function(){function B(){return u("nttc_toggle_command_bold")}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:C||"Unset",selected:C,icon:"pencil-alt",onClick:function(){function B(){return u("nttc_job_indicator_type")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:N||"Unset",selected:N,icon:"globe",onClick:function(){function B(){return u("nttc_setting_language")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:x||"Unset",selected:x,icon:"server",onClick:function(){function B(){return u("network_id")}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function B(){return u("import")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function B(){return u("export")}return B}()})]})],4)},k=function(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=s.link_password,c=s.relay_entries;return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linkage Password",children:(0,e.createComponentVNode)(2,t.Button,{content:m||"Unset",selected:m,icon:"lock",onClick:function(){function v(){return u("change_password")}return v}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),c.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.status===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Online"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Offline"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",onClick:function(){function b(){return u("unlink",{addr:v.addr})}return b}()})})]},v.addr)})]})]})},S=function(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=s.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function c(){return u("add_filter")}return c}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),m.map(function(c){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:c}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function v(){return u("remove_filter",{user:c})}return v}()})})]},c)})]})})}},88046:function(I,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.TcommsRelay=function(){function k(S,p){var i=(0,a.useBackend)(p),l=i.act,f=i.data,u=f.linked,s=f.active,m=f.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"On":"Off",selected:s,icon:"power-off",onClick:function(){function c(){return l("toggle_active")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:m||"Unset",selected:m,icon:"server",onClick:function(){function c(){return l("network_id")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:u===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),u===1?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,V)]})})}return k}(),y=function(S,p){var i=(0,a.useBackend)(p),l=i.act,f=i.data,u=f.linked_core_id,s=f.linked_core_addr,m=f.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:m?"Yes":"No",icon:m?"eye-slash":"eye",selected:m,onClick:function(){function c(){return l("toggle_hidden_link")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function c(){return l("unlink")}return c}()})})]})})},V=function(S,p){var i=(0,a.useBackend)(p),l=i.act,f=i.data,u=f.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),u.map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function m(){return l("link",{addr:s.addr})}return m}()})})]},s.addr)})]})})}},20802:function(I,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=n(79646),y=r.Teleporter=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.targetsTeleport?l.targetsTeleport:{},u=0,s=1,m=2,c=l.calibrated,v=l.calibrating,b=l.powerstation,g=l.regime,h=l.teleporterhub,C=l.target,N=l.locked,x=l.accuracy;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(!b||!h)&&(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[h,!b&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),b&&!h&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),b&&h&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Regime",children:[(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to another teleport hub. ",color:g===s?"good":null,onClick:function(){function B(){return i("setregime",{regime:s})}return B}(),children:"Gate"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"One-way teleport. ",color:g===u?"good":null,onClick:function(){function B(){return i("setregime",{regime:u})}return B}(),children:"Teleporter"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to a location stored in a GPS device. ",color:g===m?"good":null,disabled:!N,onClick:function(){function B(){return i("setregime",{regime:m})}return B}(),children:"GPS"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Teleport target",children:[g===u&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:C,options:Object.keys(f),color:C!=="None"?"default":"bad",onSelected:function(){function B(L){return i("settarget",{x:f[L].x,y:f[L].y,z:f[L].z})}return B}()}),g===s&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:C,options:Object.keys(f),color:C!=="None"?"default":"bad",onSelected:function(){function B(L){return i("settarget",{x:f[L].x,y:f[L].y,z:f[L].z})}return B}()}),g===m&&(0,e.createComponentVNode)(2,t.Box,{children:C})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Calibration",children:[C!=="None"&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,d.GridColumn,{size:"2",children:v&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||(c||x>=3)&&(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Optimal"})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Sub-Optimal"})}),(0,e.createComponentVNode)(2,d.GridColumn,{size:"3",children:(0,e.createComponentVNode)(2,t.Box,{class:"ml-1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",disabled:!!(c||v),onClick:function(){function B(){return i("calibrate")}return B}()})})})]}),C==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})}),!!(N&&b&&h&&g===m)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",justify:"space-around",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function B(){return i("load")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function B(){return i("eject")}return B}()})]})})]})})}return V}()},24410:function(I,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(72253),d=n(92986),y=n(36036),V=n(98595),k=r.sanitizeMultiline=function(){function l(f){return f.replace(/(\n|\r\n){3,}/,"\n\n")}return l}(),S=r.removeAllSkiplines=function(){function l(f){return f.replace(/[\r\n]+/,"")}return l}(),p=r.TextInputModal=function(){function l(f,u){var s=(0,o.useBackend)(u),m=s.act,c=s.data,v=c.max_length,b=c.message,g=b===void 0?"":b,h=c.multiline,C=c.placeholder,N=c.timeout,x=c.title,B=(0,o.useLocalState)(u,"input",C||""),L=B[0],w=B[1],A=function(){function O(P){if(P!==L){var R=h?k(P):S(P);w(R)}}return O}(),T=h||L.length>=40,E=130+(g.length>40?Math.ceil(g.length/4):0)+(T?80:0);return(0,e.createComponentVNode)(2,V.Window,{title:x,width:325,height:E,children:[N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function O(P){var R=window.event?P.which:P.keyCode;R===d.KEY_ENTER&&(!T||!P.shiftKey)&&m("submit",{entry:L}),R===d.KEY_ESCAPE&&m("cancel")}return O}(),children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i,{input:L,onType:A})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+v})})]})})})]})}return l}(),i=function(f,u){var s=(0,o.useBackend)(u),m=s.act,c=s.data,v=c.max_length,b=c.multiline,g=f.input,h=f.onType,C=b||g.length>=40;return(0,e.createComponentVNode)(2,y.TextArea,{autoFocus:!0,autoSelect:!0,height:b||g.length>=40?"100%":"1.8rem",maxLength:v,onEscape:function(){function N(){return m("cancel")}return N}(),onEnter:function(){function N(x){C&&x.shiftKey||(x.preventDefault(),m("submit",{entry:g}))}return N}(),onInput:function(){function N(x,B){return h(B)}return N}(),placeholder:"Type something...",value:g})}},69566:function(I,r,n){"use strict";r.__esModule=!0,r.ThiefKit=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.ThiefKit=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.uses,f=i.possible_uses,u=i.multi_uses,s=i.kits,m=i.choosen_kits;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:900,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041D\u0430\u0431\u043E\u0440 \u0413\u0438\u043B\u044C\u0434\u0438\u0438 \u0412\u043E\u0440\u043E\u0432:",children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:[(0,e.createVNode)(1,"i",null,"\u0423\u0432\u0435\u0441\u0438\u0441\u0442\u0430\u044F \u043A\u043E\u0440\u043E\u0431\u043A\u0430, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u043B\u0435\u0436\u0438\u0442 \u0441\u043D\u0430\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u0433\u0438\u043B\u044C\u0434\u0438\u0438 \u0432\u043E\u0440\u043E\u0432.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"i",null,"\u041D\u0430\u0431\u043E\u0440 \u0432\u043E\u0440\u0430-\u0448\u0440\u0435\u0434\u0438\u043D\u0433\u0435\u0440\u0430. \u041D\u0435\u043B\u044C\u0437\u044F \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0447\u0442\u043E \u0432 \u043D\u0451\u043C, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u0430\u0433\u043B\u044F\u043D\u0435\u0448\u044C \u0432\u043D\u0443\u0442\u0440\u044C.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"p",null,(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043A\u043E\u0435 \u0441\u043D\u0430\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u0432 \u043D\u0451\u043C \u043B\u0435\u0436\u0438\u0442?:",16),2),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043E \u043D\u0430\u0431\u043E\u0440\u043E\u0432:"),(0,e.createComponentVNode)(2,t.Box,{as:"span",color:l<=0?"good":l=f,onClick:function(){function c(){return p("randomKit")}return c}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:s&&s.map(function(c){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:c.name,buttons:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"upload",content:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",disabled:c.was_taken||l>=f,onClick:function(){function v(){return p("takeKit",{item:c.type})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",disabled:!c.was_taken,onClick:function(){function v(){return p("undoKit",{item:c.type})}return v}()})]}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:c.desc})},c.type)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u043D\u0430\u0431\u043E\u0440\u044B:",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:m&&m.map(function(c){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:c.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440",onClick:function(){function v(){return p("undoKit",{item:c.type})}return v}()}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:" "})},c.type)})})}),(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440",color:l0?(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("[Left:"),x.contractor.available_offers,(0,e.createTextVNode)("]")],0):(0,e.createVNode)(1,"i",null,"[Offers over]",16):"",x.contractor.accepted?(0,e.createVNode)(1,"i",null,"\xA0(Accepted)",16):!x.contractor.is_admin_forced&&x.contractor.available_offers<=0?"":(0,e.createComponentVNode)(2,d.Countdown,{timeLeft:x.contractor.time_left,format:function(){function P(R,F){return" ("+F+")"}return P}(),bold:!0})]},"BecomeContractor"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{onClick:function(){function P(){return N("lock")}return P}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:p(w)})]})})]})}return b}(),l=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=x.crystals,L=x.cats,w=(0,y.useLocalState)(h,"uplinkItems",L[0].items),A=w[0],T=w[1],E=(0,y.useLocalState)(h,"searchText",""),O=E[0],P=E[1],R=function($,G){G===void 0&&(G="");var ne=(0,o.createSearch)(G,function(Q){var he=Q.hijack_only===1?"|hijack":"";return Q.name+"|"+Q.desc+"|"+Q.cost+"tc"+he});return(0,t.flow)([(0,a.filter)(function(Q){return Q==null?void 0:Q.name}),G&&(0,a.filter)(ne),(0,a.sortBy)(function(Q){return Q==null?void 0:Q.name})])($)},F=function($){if(P($),$==="")return T(L[0].items);T(R(L.map(function(G){return G.items}).flat(),$))},j=(0,y.useLocalState)(h,"showDesc",1),W=j[0],H=j[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:W,onClick:function(){function z(){return H(!W)}return z}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Random Item",icon:"question",onClick:function(){function z(){return N("buyRandom")}return z}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function z(){return N("refund")}return z}()})],4),children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function z($,G){F(G)}return z}(),value:O})})})}),(0,e.createComponentVNode)(2,V.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:L.map(function(z){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:O!==""?!1:z.items===A,onClick:function(){function $(){T(z.items),P("")}return $}(),children:z.cat},z)})})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:A.map(function(z){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,s,{i:z,showDecription:W},(0,o.decodeHtmlEntities)(z.name))},(0,o.decodeHtmlEntities)(z.name))})})})})]})]})},f=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=x.cart,L=x.crystals,w=x.cart_price,A=(0,y.useLocalState)(h,"showDesc",0),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+L+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:T,onClick:function(){function O(){return E(!T)}return O}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function O(){return N("empty_cart")}return O}(),disabled:!B}),(0,e.createComponentVNode)(2,V.Button,{content:"Purchase Cart ("+w+"TC)",icon:"shopping-cart",onClick:function(){function O(){return N("purchase_cart")}return O}(),disabled:!B||w>L})],4),children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:B?B.map(function(O){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,s,{i:O,showDecription:T,buttons:(0,e.createComponentVNode)(2,c,{i:O})})},(0,o.decodeHtmlEntities)(O.name))}):(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,u)]})},u=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=x.cats,L=x.lucky_numbers;return(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function w(){return N("shuffle_lucky_numbers")}return w}()}),children:(0,e.createComponentVNode)(2,V.Stack,{wrap:!0,children:L.map(function(w){return B[w.cat].items[w.item]}).filter(function(w){return w!=null}).map(function(w,A){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,s,{grow:!0,i:w})},A)})})})})},s=function(g,h){var C=g.i,N=g.showDecription,x=N===void 0?1:N,B=g.buttons,L=B===void 0?(0,e.createComponentVNode)(2,m,{i:C}):B;return(0,e.createComponentVNode)(2,V.Section,{title:(0,o.decodeHtmlEntities)(C.name),showBottom:x,buttons:L,children:x?(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(C.desc)}):null})},m=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=g.i,L=x.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function w(){return N("add_to_cart",{item:B.obj_path})}return w}(),disabled:B.cost>L}),(0,e.createComponentVNode)(2,V.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function w(){return N("buyItem",{item:B.obj_path})}return w}(),disabled:B.cost>L})],4)},c=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=g.i,L=x.exploitable;return(0,e.createComponentVNode)(2,V.Stack,{children:[(0,e.createComponentVNode)(2,V.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function w(){return N("remove_from_cart",{item:B.obj_path})}return w}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function w(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return w}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,V.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function w(A,T){return N("set_cart_item_quantity",{item:B.obj_path,quantity:T})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,V.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function w(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},v=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=x.exploitable,L=(0,y.useLocalState)(h,"selectedRecord",B[0]),w=L[0],A=L[1],T=(0,y.useLocalState)(h,"searchText",""),E=T[0],O=T[1],P=function(j,W){W===void 0&&(W="");var H=(0,o.createSearch)(W,function(z){return z.name});return(0,t.flow)([(0,a.filter)(function(z){return z==null?void 0:z.name}),W&&(0,a.filter)(H),(0,a.sortBy)(function(z){return z.name})])(j)},R=P(B,E);return(0,e.createComponentVNode)(2,V.Section,{fill:!0,title:"Exploitable Records",children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",fill:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function F(j,W){return O(W)}return F}()}),(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:R.map(function(F){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:F===w,onClick:function(){function j(){return A(F)}return j}(),children:F.name},F)})})]})}),(0,e.createComponentVNode)(2,V.Divider,{vertical:!0}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,title:w.name,scrollable:!0,children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:w.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:w.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:w.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:w.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:w.species}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Records",children:w.exploit_record})]})})})]})})};(0,S.modalRegisterBodyOverride)("become_contractor",function(b,g){var h,C,N,x,B=(0,y.useBackend)(g),L=B.data,w=L.contractor||{},A=w.time_left,T=!!(L!=null&&(h=L.contractor)!=null&&h.available),E=!!(L!=null&&(C=L.contractor)!=null&&C.affordable),O=!!(L!=null&&(N=L.contractor)!=null&&N.accepted),P=L.contractor||{},R=P.available_offers,F=!!(L!=null&&(x=L.contractor)!=null&&x.is_admin_forced);return(0,e.createComponentVNode)(2,V.Section,{height:"65%",level:"2",m:"-1rem",pb:"1rem",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Icon,{name:"suitcase"}),(0,e.createTextVNode)("\xA0 Contracting Opportunity")],4),children:[(0,e.createComponentVNode)(2,V.Box,{mx:"0.5rem",mb:"0.5rem",children:[(0,e.createVNode)(1,"b",null,"Your achievements for the Syndicate have not gone unnoticed, agent. We have decided to give you the rare opportunity of becoming a Contractor.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),"For the small price of 20 telecrystals, we will upgrade your rank to that of a Contractor, allowing you to undertake kidnapping contracts for TC and credits.",(0,e.createVNode)(1,"br"),"In addition, you will be supplied with a Contractor Kit which contains a Contractor Uplink, standard issue contractor gear and three random low cost items.",(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),"More detailed instructions can be found within your kit, should you accept this offer.",F?"":(0,e.createComponentVNode)(2,V.Box,{children:["Hurry up. You are not the only one who received this offer. Their number is limited. If other traitors accept all offers before you, you will not be able to accept one of them.",(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Available offers: "),R],0)]})]}),(0,e.createComponentVNode)(2,V.Button.Confirm,{disabled:!T||O,italic:!T,bold:T,icon:T&&!O&&"check",color:"good",content:O?"Accepted":T?["Accept Offer",(0,e.createComponentVNode)(2,d.Countdown,{timeLeft:A,format:function(){function j(W,H){return" ("+H+")"}return j}()},"countdown")]:E?L.contractor.is_admin_forced?"Offer expired":L.contractor.available_offers>0?(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("[Left:"),L.contractor.available_offers,(0,e.createTextVNode)("]")],0):(0,e.createVNode)(1,"i",null,"[Offers are over]",16):"Insufficient TC",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function j(){return(0,S.modalAnswer)(g,b.id,1)}return j}()})]})})},8946:function(I,r,n){"use strict";r.__esModule=!0,r.VampireSpecMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.VampireSpecMenu=function(){function i(l,f){return(0,e.createComponentVNode)(2,o.Window,{width:1500,height:820,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,p)]})})})}return i}(),y=function(l,f){var u=(0,a.useBackend)(f),s=u.act,m=u.data,c=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Hemomancer",children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Hemomancer",onClick:function(){function v(){return s("hemomancer")}return v}()})]})})},V=function(l,f){var u=(0,a.useBackend)(f),s=u.act,m=u.data,c=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Umbrae",children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you are forced back to the anchor. It will not teleport you between Z levels.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. It will also cause nearby creatures to freeze.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permament X-ray vision.",16),(0,e.createComponentVNode)(2,t.Button,{content:"Umbrae",onClick:function(){function v(){return s("umbrae")}return v}()})]})})},k=function(l,f){var u=(0,a.useBackend)(f),s=u.act,m=u.data,c=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Gargantua",children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you dont have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": You gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Gargantua",onClick:function(){function v(){return s("gargantua")}return v}()})]})})},S=function(l,f){var u=(0,a.useBackend)(f),s=u.act,m=u.data,c=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Dantalion",children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that, blinds then make everyone nearby perceive others to looks like random animals.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Dantalion",onClick:function(){function v(){return s("dantalion")}return v}()})]})})},p=function(l,f){var u=(0,a.useBackend)(f),s=u.act,m=u.data,c=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Bestia",children:[(0,e.createVNode)(1,"h3",null,"Focuses on transformations and trophies harvesting.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Check Trophies",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to check current trophies amount and all the passive effects they provide.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dissect",16),(0,e.createTextVNode)(": Unlocked at 150 blood, main source of gaining power, besides blood, allows you to harvest human organs, as a trophies, to passively increase your might.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dissect Cap",16),(0,e.createTextVNode)(": You can only harvest one organ trophie at a time. This can be increased at 600 blood and at full power to a max of 3 trophies per victim.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Infected Trophy",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to stun enemies from the safe distance and infect them with the deadly Grave Fever.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Lunge",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to rapidly close distance to a victim or escape a dangerous situation.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Mark the Prey",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to mark a victim which drastically reduces their movement speed and forces them to take spontaneous actions.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Metamorphosis - Bats",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to shapeshift into the deadly and vicious space bats swarm.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Anabiosis",16),(0,e.createTextVNode)(": Unlocked at 600 blood, ancient technique which allows you to cure almost any wounds while sleeping in a coffin.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Summon Bats",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to call extraplanar space bats to aid you in combat.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Metamorphosis - Hound",16),(0,e.createTextVNode)(": Allows you to shapeshift into the ultimate form of bluespace entity which took over your soul.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Bestia",onClick:function(){function v(){return s("bestia")}return v}()})]})})}},45770:function(I,r,n){"use strict";r.__esModule=!0,r.VampireTrophiesStatus=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=function(b){return(Math.round(b*10)/10).toFixed(1)},y=r.VampireTrophiesStatus=function(){function v(b,g){return(0,e.createComponentVNode)(2,o.Window,{theme:"nologo",width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,c)]})})})}return v}(),V=function(b,g){var h=(0,a.useBackend)(g),C=h.act,N=h.data,x=N.hearts,B=N.lungs,L=N.livers,w=N.kidneys,A=N.eyes,T=N.ears,E=N.trophies_max_gen,O=N.trophies_max_crit,P=N.icon_hearts,R=N.icon_lungs,F=N.icon_livers,j=N.icon_kidneys,W=N.icon_eyes,H=N.icon_ears;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Trophies",color:"red",textAlign:"center",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,width:"16.6%",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+P,verticalAlign:"middle",style:{"margin-left":"-32px","margin-right":"-48px","margin-top":"-32px","margin-bottom":"-48px",height:"128px",width:"128px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,textColor:xb;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+m,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:u.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{color:s<=0&&"bad"||s<=u.max_amount/2&&"average"||"good",children:[s," in stock"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,disabled:L,icon:B,content:x,textAlign:"left",onClick:function(){function w(){return l("vend",{inum:u.inum})}return w}()})})]})},V=r.Vending=function(){function k(S,p){var i=(0,t.useBackend)(p),l=i.act,f=i.data,u=f.user,s=f.guestNotice,m=f.userMoney,c=f.chargesMoney,v=f.product_records,b=v===void 0?[]:v,g=f.coin_records,h=g===void 0?[]:g,C=f.hidden_records,N=C===void 0?[]:C,x=f.stock,B=f.vend_ready,L=f.coin_name,w=f.inserted_item_name,A=f.panel_open,T=f.speaker,E=f.imagelist,O;return O=[].concat(b,h),f.extended_inventory&&(O=[].concat(O,N)),O=O.filter(function(P){return!!P}),(0,e.createComponentVNode)(2,d.Window,{width:470,height:100+Math.min(b.length*38,500),title:"Vending Machine",children:(0,e.createComponentVNode)(2,d.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[!!c&&(0,e.createComponentVNode)(2,o.Section,{title:"User",children:u&&(0,e.createComponentVNode)(2,o.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,u.name,0),","," ",(0,e.createVNode)(1,"b",null,u.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[m,(0,e.createTextVNode)(" credits")],0),"."]})||(0,e.createComponentVNode)(2,o.Box,{color:"light-grey",children:s})}),!!L&&(0,e.createComponentVNode)(2,o.Section,{title:"Coin",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Remove Coin",onClick:function(){function P(){return l("remove_coin",{})}return P}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:L})}),!!w&&(0,e.createComponentVNode)(2,o.Section,{title:"Item",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject Item",onClick:function(){function P(){return l("eject_item",{})}return P}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:w})}),!!A&&(0,e.createComponentVNode)(2,o.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,o.Button,{icon:T?"check":"volume-mute",selected:T,content:"Speaker",textAlign:"left",onClick:function(){function P(){return l("toggle_voice",{})}return P}()})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Products",fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:O.map(function(P){return(0,e.createComponentVNode)(2,y,{product:P,productStock:x[P.name],productImage:E[P.path]},P.name)})})})})]})})})}return k}()},68971:function(I,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.VolumeMixer=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+l.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:l.map(function(f,u){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:u>0&&"0.5rem",children:f.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function s(){return p("volume",{channel:f.num,volume:0})}return s}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.Slider,{minValue:0,maxValue:100,stepPixelSize:3.13,value:f.volume,onChange:function(){function s(m,c){return p("volume",{channel:f.num,volume:c})}return s}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function s(){return p("volume",{channel:f.num,volume:100})}return s}()})})})]})})],4,f.num)})})})})}return y}()},2510:function(I,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.VotePanel=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.remaining,f=i.question,u=i.choices,s=i.user_vote,m=i.counts,c=i.show_counts,v=i.show_cancel;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:f,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:["Time remaining: ",Math.round(l/10),"s"]}),u.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:b+(c?" ("+(m[b]||0)+")":""),onClick:function(){function g(){return p("vote",{target:b})}return g}(),selected:b===s})},b)}),!!v&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Cancel",onClick:function(){function b(){return p("cancel")}return b}()})},"Cancel")]})})})}return y}()},30138:function(I,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.Wires=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.wires||[],f=i.status||[],u=56+l.length*23+(status?0:15+f.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:u,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(s){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:s.color_name,labelColor:s.seen_color,color:s.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:s.cut?"Mend":"Cut",onClick:function(){function m(){return p("cut",{wire:s.color})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function m(){return p("pulse",{wire:s.color})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:s.attached?"Detach":"Attach",onClick:function(){function m(){return p("attach",{wire:s.color})}return m}()})],4),children:!!s.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),s.wire,(0,e.createTextVNode)(")")],0)},s.seen_color)})})})}),!!f.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:f.map(function(s){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:s},s)})})})]})})})}return y}()},30995:function(I,r,n){"use strict";r.__esModule=!0,r.Workshop=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),d=n(73379),y=n(98595),V=["title","items"];function k(u,s){if(u==null)return{};var m={};for(var c in u)if({}.hasOwnProperty.call(u,c)){if(s.includes(c))continue;m[c]=u[c]}return m}var S=function(s,m,c){return s.requirements===null?!0:!(s.requirements.brass>m||s.requirements.power>c)},p=r.Workshop=function(){function u(s,m){var c=(0,t.useBackend)(m),v=c.act,b=c.data,g=b.brass_amount,h=b.power_amount,C=b.building,N=b.buildStart,x=b.buildEnd,B=b.worldTime,L=g.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),w=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),A={float:"left",width:"60%"},T={float:"right",width:"39%"};return(0,e.createComponentVNode)(2,y.Window,{width:400,height:500,theme:"clockwork",children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,o.Section,{title:"Materials",children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Brass",children:[L,(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",height:"19px",tooltip:"Dispense Brass",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){function E(){return v("dispense")}return E}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:w})]}),C&&(0,e.createComponentVNode)(2,o.ProgressBar.Countdown,{mt:2,start:N,current:B,end:x,bold:!0,children:["Building ",C,"\xA0(",(0,e.createComponentVNode)(2,d.Countdown,{current:B,timeLeft:x-B,format:function(){function E(O,P){return P.substr(3)}return E}()}),")"]})]})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,l)})})]})})})}return u}(),i=function(s,m){var c=(0,t.useLocalState)(m,"search",""),v=c[0],b=c[1],g=(0,t.useLocalState)(m,"sort",""),h=g[0],C=g[1],N=(0,t.useLocalState)(m,"descending",!1),x=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Stack,{width:"100%",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",mr:"0.5rem",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(){function L(w,A){return b(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"arrow-down":"arrow-up",height:"19px",tooltip:x?"Descending order":"Ascending order",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){function L(){return B(!x)}return L}()})})]})})},l=function(s,m){var c=(0,t.useBackend)(m),v=c.act,b=c.data,g=b.items,h=(0,t.useLocalState)(m,"search",""),C=h[0],N=h[1],x=(0,t.useLocalState)(m,"sort","Alphabetical"),B=x[0],L=x[1],w=(0,t.useLocalState)(m,"descending",!1),A=w[0],T=w[1],E=(0,a.createSearch)(C,function(R){return R[0]}),O=!1,P=Object.entries(g).map(function(R,F){var j=Object.entries(R[1]).filter(E).map(function(W){return W[1].affordable=S(W[1],b.brass_amount,b.power_amount),W[1]});if(j.length!==0)return A&&(j=j.reverse()),O=!0,(0,e.createComponentVNode)(2,f,{title:R[0],items:j},R[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",children:(0,e.createComponentVNode)(2,o.Section,{children:O?P:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},f=function(s,m){var c=(0,t.useBackend)(m),v=c.act,b=c.data,g=s.title,h=s.items,C=k(s,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:g},C,{children:h.map(function(N){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+N.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,o.Button,{icon:"hammer",disabled:!S(N,b.brass_amount,b.power_amount),onClick:function(){function x(){return v("make",{cat:g,name:N.name})}return x}(),children:(0,a.toTitleCase)((0,a.toTitleCase)(N.name))}),(0,e.createComponentVNode)(2,o.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"right"},children:N.requirements&&Object.keys(N.requirements).map(function(x){return(0,a.toTitleCase)(x)+": "+N.requirements[x]}).join(", ")||(0,e.createComponentVNode)(2,o.Box,{children:"No resources required."})}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})]},N.name)})})))}},49148:function(I,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036);function d(p,i){var l=typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(l)return(l=l.call(p)).next.bind(l);if(Array.isArray(p)||(l=y(p))||i&&p&&typeof p.length=="number"){l&&(p=l);var f=0;return function(){return f>=p.length?{done:!0}:{done:!1,value:p[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(p,i){if(p){if(typeof p=="string")return V(p,i);var l={}.toString.call(p).slice(8,-1);return l==="Object"&&p.constructor&&(l=p.constructor.name),l==="Map"||l==="Set"?Array.from(p):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?V(p,i):void 0}}function V(p,i){(i==null||i>p.length)&&(i=p.length);for(var l=0,f=Array(i);l0&&!N.includes(j.ref)&&!h.includes(j.ref),checked:h.includes(j.ref),onClick:function(){function W(){return x(j.ref)}return W}()},j.desc)})]})]})})}return p}()},26991:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),d=function(k,S,p,i,l){return ki?"average":k>l?"bad":"good"},y=r.AtmosScan=function(){function V(k,S){var p=k.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(i){return i.val!=="0"||i.entry==="Pressure"||i.entry==="Temperature"})(p).map(function(i){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:i.entry,color:d(i.val,i.bad_low,i.poor_low,i.poor_high,i.bad_high),children:[i.val,i.units]},i.entry)})})})}return V}()},85870:function(I,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(89005),a=n(36036),t=n(15964),o=function(V){return V+" unit"+(V===1?"":"s")},d=r.BeakerContents=function(){function y(V){var k=V.beakerLoaded,S=V.beakerContents,p=S===void 0?[]:S,i=V.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!k&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"No beaker loaded."})||p.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),p.map(function(l,f){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(l.volume)," of ",l.name]},l.name),!!i&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:i(l,f)})]},l.name)})]})}return y}();d.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},3939:function(I,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(89005),a=n(72253),t=n(36036),o={},d=r.modalOpen=function(){function p(i,l,f){var u=(0,a.useBackend)(i),s=u.act,m=u.data,c=Object.assign(m.modal?m.modal.args:{},f||{});s("modal_open",{id:l,arguments:JSON.stringify(c)})}return p}(),y=r.modalRegisterBodyOverride=function(){function p(i,l){o[i]=l}return p}(),V=r.modalAnswer=function(){function p(i,l,f,u){var s=(0,a.useBackend)(i),m=s.act,c=s.data;if(c.modal){var v=Object.assign(c.modal.args||{},u||{});m("modal_answer",{id:l,answer:f,arguments:JSON.stringify(v)})}}return p}(),k=r.modalClose=function(){function p(i,l){var f=(0,a.useBackend)(i),u=f.act;u("modal_close",{id:l})}return p}(),S=r.ComplexModal=function(){function p(i,l){var f=(0,a.useBackend)(l),u=f.data;if(u.modal){var s=u.modal,m=s.id,c=s.text,v=s.type,b,g=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return k(l)}return L}()}),h,C,N="auto";if(o[m])h=o[m](u.modal,l);else if(v==="input"){var x=u.modal.value;b=function(){function L(w){return V(l,m,x)}return L}(),h=(0,e.createComponentVNode)(2,t.Input,{value:u.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(w,A){x=A}return L}()}),C=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function L(){return k(l)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return V(l,m,x)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(v==="choice"){var B=typeof u.modal.choices=="object"?Object.values(u.modal.choices):u.modal.choices;h=(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:u.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(w){return V(l,m,w)}return L}()}),N="initial"}else v==="bento"?h=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:u.modal.choices.map(function(L,w){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:w+1===parseInt(u.modal.value,10),onClick:function(){function A(){return V(l,m,w+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},w)})}):v==="boolean"&&(C=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:u.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return V(l,m,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:u.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return V(l,m,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:i.maxWidth||window.innerWidth/2+"px",maxHeight:i.maxHeight||window.innerHeight/2+"px",onEnter:b,mx:"auto",overflowY:N,"padding-bottom":"5px",children:[c&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:c}),o[m]&&g,h,C]})}}return p}()},41874:function(I,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(25328),d=n(76910),y=d.COLORS.department,V=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],k=function(f){return V.indexOf(f)!==-1?"green":"orange"},S=function(f){if(V.indexOf(f)!==-1)return!0},p=function(f){return f.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),f.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{color:k(u.real_rank),bold:S(u.real_rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.active})]},u.name+u.rank)})]})},i=r.CrewManifest=function(){function l(f,u){var s=(0,a.useBackend)(u),m=s.act,c;if(f.data)c=f.data;else{var v=(0,a.useBackend)(u),b=v.data;c=b}var g=c,h=g.manifest,C=h.heads,N=h.pro,x=h.sec,B=h.eng,L=h.med,w=h.sci,A=h.ser,T=h.sup,E=h.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:p(C)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.procedure,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Procedure"})}),level:2,children:p(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:p(x)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:p(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:p(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:p(w)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:p(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:p(T)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:p(E)})]})}return l}()},19203:function(I,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(89005),a=n(36036),t=n(72253),o=r.InputButtons=function(){function d(y,V){var k=(0,t.useBackend)(V),S=k.act,p=k.data,i=p.large_buttons,l=p.swapped_buttons,f=y.input,u=y.message,s=y.disabled,m=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!i,fluid:!!i,onClick:function(){function v(){return S("submit",{entry:f})}return v}(),textAlign:"center",tooltip:i&&u,disabled:s,width:!i&&6}),c=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!i,fluid:!!i,onClick:function(){function v(){return S("cancel")}return v}(),textAlign:"center",width:!i&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:l?"row-reverse":"row",justify:"space-around",children:[i?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:l?.5:0,mr:l?0:.5,children:c}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:c}),!i&&u&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:u})}),i?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:l?.5:0,ml:l?0:.5,children:m}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:m})]})}return d}()},195:function(I,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.InterfaceLockNoticeBox=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=y.siliconUser,l=i===void 0?p.siliconUser:i,f=y.locked,u=f===void 0?p.locked:f,s=y.normallyLocked,m=s===void 0?p.normallyLocked:s,c=y.onLockStatusChange,v=c===void 0?function(){return S("lock")}:c,b=y.accessText,g=b===void 0?"an ID card":b;return l?(0,e.createComponentVNode)(2,t.NoticeBox,{color:l&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:m?"red":"green",icon:m?"lock":"unlock",content:m?"Locked":"Unlocked",onClick:function(){function h(){v&&v(!u)}return h}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",g," to ",u?"unlock":"lock"," this interface."]})}return d}()},51057:function(I,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(89005),a=n(44879),t=n(36036),o=r.Loader=function(){function d(y){var V=y.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(V)*100+"%"}}),2)}return d}()},321:function(I,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginInfo=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.loginState;if(p)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",i.name," (",i.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function l(){return S("login_logout")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!i.id,content:"Eject ID",color:"good",onClick:function(){function l(){return S("login_eject")}return l}()})]})]})})}return d}()},5485:function(I,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginScreen=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.loginState,l=p.isAI,f=p.isRobot,u=p.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:i.id?i.id:"----------",ml:"0.5rem",onClick:function(){function s(){return S("login_insert")}return s}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!i.id,content:"Login",onClick:function(){function s(){return S("login_login",{login_type:1})}return s}()}),!!l&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function s(){return S("login_login",{login_type:2})}return s}()}),!!f&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function s(){return S("login_login",{login_type:3})}return s}()}),!!u&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function s(){return S("login_login",{login_type:4})}return s}()})]})})})}return d}()},62411:function(I,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(89005),a=n(36036),t=n(15964),o=r.Operating=function(){function d(y){var V=y.operating,k=y.name;if(V)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",k," is processing..."]})})})}return d}();o.propTypes={operating:t.bool,name:t.string}},13545:function(I,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),d=r.Signaler=function(){function y(V,k){var S=(0,t.useBackend)(k),p=S.act,i=V.data,l=i.code,f=i.frequency,u=i.minFrequency,s=i.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:u/10,maxValue:s/10,value:f/10,format:function(){function m(c){return(0,a.toFixed)(c,1)}return m}(),width:"80px",onDrag:function(){function m(c,v){return p("freq",{freq:v})}return m}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:l,width:"80px",onDrag:function(){function m(c,v){return p("code",{code:v})}return m}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function m(){return p("signal")}return m}()})]})}return y}()},41984:function(I,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(89005),a=n(72253),t=n(25328),o=n(64795),d=n(88510),y=n(36036),V=r.SimpleRecords=function(){function p(i,l){var f=i.data.records;return(0,e.createComponentVNode)(2,y.Box,{children:f?(0,e.createComponentVNode)(2,S,{data:i.data,recordType:i.recordType}):(0,e.createComponentVNode)(2,k,{data:i.data})})}return p}(),k=function(i,l){var f=(0,a.useBackend)(l),u=f.act,s=i.data.recordsList,m=(0,a.useLocalState)(l,"searchText",""),c=m[0],v=m[1],b=function(C,N){N===void 0&&(N="");var x=(0,t.createSearch)(N,function(B){return B.Name});return(0,o.flow)([(0,d.filter)(function(B){return B==null?void 0:B.Name}),N&&(0,d.filter)(x),(0,d.sortBy)(function(B){return B.Name})])(s)},g=b(s,c);return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createComponentVNode)(2,y.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function h(C,N){return v(N)}return h}()}),g.map(function(h){return(0,e.createComponentVNode)(2,y.Box,{children:(0,e.createComponentVNode)(2,y.Button,{mb:.5,content:h.Name,icon:"user",onClick:function(){function C(){return u("Records",{target:h.uid})}return C}()})},h)})]})},S=function(i,l){var f=(0,a.useBackend)(l),u=f.act,s=i.data.records,m=s.general,c=s.medical,v=s.security,b;switch(i.recordType){case"MED":b=(0,e.createComponentVNode)(2,y.Section,{level:2,title:"Medical Data",children:c?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Blood Type",children:c.blood_type}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Minor Disabilities",children:c.mi_dis}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:c.mi_dis_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Major Disabilities",children:c.ma_dis}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:c.ma_dis_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Allergies",children:c.alg}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:c.alg_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Current Diseases",children:c.cdi}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:c.cdi_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:c.notes})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":b=(0,e.createComponentVNode)(2,y.Section,{level:2,title:"Security Data",children:v?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Criminal Status",children:v.criminal}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Minor Crimes",children:v.mi_crim}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:v.mi_crim_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Major Crimes",children:v.ma_crim}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:v.ma_crim_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:v.notes})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createComponentVNode)(2,y.Section,{title:"General Data",children:m?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Name",children:m.name}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Sex",children:m.sex}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Species",children:m.species}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Age",children:m.age}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Rank",children:m.rank}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Fingerprint",children:m.fingerprint}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Physical Status",children:m.p_stat}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Mental Status",children:m.m_stat})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"General record lost!"})}),b]})}},22091:function(I,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.TemporaryNotice=function(){function d(y,V){var k,S=(0,a.useBackend)(V),p=S.act,i=S.data,l=i.temp;if(l){var f=(k={},k[l.style]=!0,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},f,{children:[(0,e.createComponentVNode)(2,t.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",float:"right",onClick:function(){function u(){return p("cleartemp")}return u}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})))}}return d}()},25443:function(I,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(20342),d=n(98595),y=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],V=["good","average","bad","black","white"],k=[{title:"Button",component:function(){function h(){return p}return h}()},{title:"Box",component:function(){function h(){return i}return h}()},{title:"ProgressBar",component:function(){function h(){return l}return h}()},{title:"Tabs",component:function(){function h(){return f}return h}()},{title:"Tooltip",component:function(){function h(){return u}return h}()},{title:"Input / Control",component:function(){function h(){return s}return h}()},{title:"Collapsible",component:function(){function h(){return m}return h}()},{title:"BlockQuote",component:function(){function h(){return v}return h}()},{title:"ByondUi",component:function(){function h(){return b}return h}()},{title:"Themes",component:function(){function h(){return g}return h}()}],S=r.KitchenSink=function(){function h(C,N){var x=(0,a.useLocalState)(N,"kitchenSinkTheme"),B=x[0],L=(0,a.useLocalState)(N,"pageIndex",0),w=L[0],A=L[1],T=k[w].component();return(0,e.createComponentVNode)(2,d.Window,{theme:B,resizable:!0,children:(0,e.createComponentVNode)(2,d.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:!0,children:k.map(function(E,O){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:O===w,onClick:function(){function P(){return A(O)}return P}(),children:E.title},O)})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,basis:0,children:(0,e.createComponentVNode)(2,T)})]})})})})}return h}(),p=function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Simple"}),(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Selected"}),(0,e.createComponentVNode)(2,t.Button,{altSelected:!0,content:"Alt Selected"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!0,content:"Disabled"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",content:"Transparent"}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Icon"}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Fluid"}),(0,e.createComponentVNode)(2,t.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"})]}),(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[V.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),y.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),y.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:"7px",color:N,children:N},N)})]})]})},i=function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"bold"}),(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"italic"}),(0,e.createComponentVNode)(2,t.Box,{opacity:.5,children:"opacity 0.5"}),(0,e.createComponentVNode)(2,t.Box,{opacity:.25,children:"opacity 0.25"}),(0,e.createComponentVNode)(2,t.Box,{m:2,children:"m: 2"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:"left"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"center"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"right",children:"right"})]})},l=function(C,N){var x=(0,a.useLocalState)(N,"progress",.5),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.5,1/0],bad:[-1/0,.1],average:[0,.5]},minValue:-1,maxValue:1,value:B,children:["Value: ",Number(B).toFixed(1)]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"-0.1",onClick:function(){function w(){return L(B-.1)}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function w(){return L(B+.1)}return w}()})]})]})},f=function(C,N){var x=(0,a.useLocalState)(N,"tabIndex",0),B=x[0],L=x[1],w=(0,a.useLocalState)(N,"tabVert"),A=w[0],T=w[1],E=(0,a.useLocalState)(N,"tabAlt"),O=E[0],P=E[1],R=[1,2,3,4,5];return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{mb:2,children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:A,onClick:function(){function F(){return T(!A)}return F}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"altSelection",checked:O,onClick:function(){function F(){return P(!O)}return F}()})]}),(0,e.createComponentVNode)(2,t.Tabs,{vertical:A,children:R.map(function(F,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{altSelection:O,selected:j===B,onClick:function(){function W(){return L(j)}return W}(),children:["Tab #",F]},j)})})]})},u=function(C){var N=["top","left","right","bottom","bottom-start","bottom-end"];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",mr:1,children:["Box (hover me).",(0,e.createComponentVNode)(2,t.Tooltip,{content:"Tooltip text."})]}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:N.map(function(x){return(0,e.createComponentVNode)(2,t.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:x,content:x},x)})})],4)},s=function(C,N){var x=(0,a.useLocalState)(N,"number",0),B=x[0],L=x[1],w=(0,a.useLocalState)(N,"text","Sample text"),A=w[0],T=w[1];return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onChange)",children:(0,e.createComponentVNode)(2,t.Input,{value:A,onChange:function(){function E(O,P){return T(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:A,onInput:function(){function E(O,P){return T(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onChange:function(){function E(O,P){return L(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,e.createComponentVNode)(2,t.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rotating Icon",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:(0,e.createComponentVNode)(2,o.DraggableControl,{value:B,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function E(O,P){return L(P)}return E}(),children:function(){function E(O){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:O.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:O.displayValue*4}),O.inputElement]})}return E}()})})})]})})},m=function(C){return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Collapsible Demo",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog"}),children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,c)})})},c=function(C){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({},C,{children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,t.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))},v=function(C){return(0,e.createComponentVNode)(2,t.BlockQuote,{children:(0,e.createComponentVNode)(2,c)})},b=function(C,N){var x=(0,a.useBackend)(N),B=x.config;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Button",level:2,children:(0,e.createComponentVNode)(2,t.ByondUi,{params:{type:"button",parent:B.window,text:"Button"}})})})},g=function(C,N){var x=(0,a.useLocalState)(N,"kitchenSinkTheme"),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Use theme",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"theme_name",value:B,onInput:function(){function w(A,T){return L(T)}return w}()})})})})}},96572:function(I,r,n){"use strict";r.__esModule=!0,r.pai_advsecrecords=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_advsecrecords=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special Syndicate options:",children:(0,e.createComponentVNode)(2,t.Button,{content:"Select Records",onClick:function(){function i(){return S("ui_interact")}return i}()})})})}return d}()},80818:function(I,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pai_atmosphere=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:p.app_data})}return d}()},23903:function(I,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_bioscan=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,l=i.holder,f=i.dead,u=i.health,s=i.brute,m=i.oxy,c=i.tox,v=i.burn,b=i.reagents,g=i.addictions,h=i.fractures,C=i.internal_bleeding;return l?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:m})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:c})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:v})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagents",children:b?b.map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.title,children:(0,e.createComponentVNode)(2,t.Box,{color:N.overdosed?"bad":"good",children:[" ",N.volume," ",N.overdosed?"OVERDOSED":""," "]})},N.id)}):"Reagents not found."}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Addictions",children:g?g.map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.addiction_name,children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[" Stage: ",N.stage," "]})},N.id)}):(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Addictions not found."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fractures",children:(0,e.createComponentVNode)(2,t.Box,{color:h?"bad":"good",children:["Fractures ",h?"":"not"," detected."]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Bleedings",children:(0,e.createComponentVNode)(2,t.Box,{color:C?"bad":"good",children:["Internal Bleedings ",C?"":"not"," detected."]})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return d}()},79592:function(I,r,n){"use strict";r.__esModule=!0,r.pai_camera_bug=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_camera_bug=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special Syndicate options",children:(0,e.createComponentVNode)(2,t.Button,{content:"Select Monitor",onClick:function(){function i(){return S("ui_interact")}return i}()})})})}return d}()},64988:function(I,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_directives=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,l=i.master,f=i.dna,u=i.prime,s=i.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:l?l+" ("+f+")":"None"}),l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function m(){return S("getdna")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:s||"None"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:'Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.'}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:"Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability."})]})}return d}()},13813:function(I,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_doorjack=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,l=i.cable,f=i.machine,u=i.inprogress,s=i.progress,m=i.aborted,c;f?c=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):c=(0,e.createComponentVNode)(2,t.Button,{content:l?"Extended":"Retracted",color:l?"orange":null,onClick:function(){function b(){return S("cable")}return b}()});var v;return f&&(v=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.Box,{color:u?"green":"red",children:[" ","In progress: ",u?"Yes":"No"," "]}),u?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function b(){return S("cancel")}return b}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function b(){return S("jack")}return b}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:c}),v]})}return d}()},43816:function(I,r,n){"use strict";r.__esModule=!0,r.pai_encoder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_encoder=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,l=i.radio_name,f=i.radio_rank;return(0,e.createComponentVNode)(2,t.Section,{title:"Your name and rank in radio channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Your current name and rank",children:[l,", ",f]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new name",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function u(s,m){return S("set_newname",{newname:m})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new rank",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function u(s,m){return S("set_newrank",{newrank:m})}return u}()})})]})})}return d}()},88895:function(I,r,n){"use strict";r.__esModule=!0,r.pai_gps_module=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_gps_module=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"GPS menu",children:(0,e.createComponentVNode)(2,t.Button,{content:"Open GPS",onClick:function(){function i(){return S("ui_interact")}return i}()})})})}return d}()},66025:function(I,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_main_menu=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,l=i.available_software,f=i.installed_software,u=i.installed_toggles,s=i.available_ram,m=i.emotions,c=i.current_emotion,v=[];return f.map(function(b){return v[b.key]=b.name}),u.map(function(b){return v[b.key]=b.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[l.filter(function(b){return!v[b.key]}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{color:b.syndi?"red":"default",content:b.name+" ("+b.cost+")",icon:b.icon,disabled:b.cost>s,onClick:function(){function g(){return S("purchaseSoftware",{key:b.key})}return g}()},b.key)}),l.filter(function(b){return!v[b.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[f.filter(function(b){return b.key!=="mainmenu"}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,onClick:function(){function g(){return S("startSoftware",{software_key:b.key})}return g}()},b.key)}),f.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[u.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,selected:b.active,onClick:function(){function g(){return S("setToggle",{toggle_key:b.key})}return g}()},b.key)}),u.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:m.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{color:b.syndi?"red":"default",content:b.name,selected:b.id===c,onClick:function(){function g(){return S("setEmotion",{emotion:b.id})}return g}()},b.id)})})]})})}return d}()},2983:function(I,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pai_manifest=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:p.app_data})}return d}()},40758:function(I,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_medrecords=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S.app_data,recordType:"MED"})}return d}()},98599:function(I,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(89005),a=n(72253),t=n(77595),o=r.pai_messenger=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data.active_convo;return i?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:p.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:p.app_data})}return d}()},50775:function(I,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(89005),a=n(72253),t=n(44879),o=n(36036),d=r.pai_radio=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.app_data,f=l.minFrequency,u=l.maxFrequency,s=l.frequency,m=l.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:f/10,maxValue:u/10,value:s/10,format:function(){function c(v){return(0,t.toFixed)(v,1)}return c}(),onChange:function(){function c(v,b){return p("freq",{freq:b})}return c}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function c(){return p("freq",{freq:"145.9"})}return c}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return p("toggleBroadcast")}return c}(),selected:m,content:m?"Enabled":"Disabled"})})]})}return y}()},19873:function(I,r,n){"use strict";r.__esModule=!0,r.pai_sec_chem=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_sec_chem=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,l=i.holder,f=i.dead,u=i.health,s=i.current_chemicals,m=i.available_chemicals;return l?(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Chemicals",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Chemicals",children:[m.map(function(c){return(0,e.createComponentVNode)(2,t.Button,{content:c.name+" ("+c.cost+")",tooltip:c.desc,disabled:c.cost>s,onClick:function(){function v(){return S("secreteChemicals",{key:c.key})}return v}()},c.key)}),m.length===0&&"No chemicals available!"]})]})}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return d}()},48623:function(I,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_secrecords=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S.app_data,recordType:"SEC"})}return d}()},47297:function(I,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pai_signaler=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p.app_data})}return d}()},78532:function(I,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pda_atmos_scan=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:S})}return d}()},40253:function(I,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_janitor=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.janitor,l=i.user_loc,f=i.mops,u=i.buckets,s=i.cleanbots,m=i.carts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[l.x,",",l.y]}),f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:f.map(function(c){return(0,e.createComponentVNode)(2,t.Box,{children:[c.x,",",c.y," (",c.dir,") - ",c.status]},c)})}),u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:u.map(function(c){return(0,e.createComponentVNode)(2,t.Box,{children:[c.x,",",c.y," (",c.dir,") - [",c.volume,"/",c.max_volume,"]"]},c)})}),s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:s.map(function(c){return(0,e.createComponentVNode)(2,t.Box,{children:[c.x,",",c.y," (",c.dir,") - ",c.status]},c)})}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:m.map(function(c){return(0,e.createComponentVNode)(2,t.Box,{children:[c.x,",",c.y," (",c.dir,") - [",c.volume,"/",c.max_volume,"]"]},c)})})]})}return d}()},58293:function(I,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),d=r.pda_main_menu=function(){function y(V,k){var S=(0,t.useBackend)(k),p=S.act,i=S.data,l=i.owner,f=i.ownjob,u=i.idInserted,s=i.categories,m=i.pai,c=i.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[l,", ",f]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!u,onClick:function(){function v(){return p("UpdateInfo")}return v}()})})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Functions",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:s.map(function(v){var b=i.apps[v];return!b||!b.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:v,children:b.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.uid in c?g.notify_icon:g.icon,iconSpin:g.uid in c,color:g.uid in c?"red":"transparent",content:g.name,onClick:function(){function h(){return p("StartProgram",{program:g.uid})}return h}()},g.uid)})},v)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function v(){return p("pai",{option:1})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function v(){return p("pai",{option:2})}return v}()})]})})]})}return y}()},58059:function(I,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pda_manifest=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return d}()},18147:function(I,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_medical=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S,recordType:"MED"})}return d}()},77595:function(I,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),d=r.pda_messenger=function(){function S(p,i){var l=(0,t.useBackend)(i),f=l.act,u=l.data,s=u.active_convo;return s?(0,e.createComponentVNode)(2,y,{data:u}):(0,e.createComponentVNode)(2,V,{data:u})}return S}(),y=r.ActiveConversation=function(){function S(p,i){var l=(0,t.useBackend)(i),f=l.act,u=p.data,s=u.convo_device,m=u.messages,c=u.active_convo,v=(0,t.useLocalState)(i,"clipboardMode",!1),b=v[0],g=v[1],h=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+s+" ",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:b,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function C(){return g(!b)}return C}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function C(){return f("Message",{target:c})}return C}(),content:"Reply"})],4),children:(0,a.filter)(function(C){return C.target===c})(m).map(function(C,N){return(0,e.createComponentVNode)(2,o.Box,{textAlign:C.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:C.sent?"#4d9121":"#cd7a0d",position:"absolute",left:C.sent?null:"0px",right:C.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:C.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:C.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:C.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[C.sent?"You:":"Them:"," ",C.message]})]},N)})});return b&&(h=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+s+" ",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:b,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function C(){return g(!b)}return C}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function C(){return f("Message",{target:c})}return C}(),content:"Reply"})],4),children:(0,a.filter)(function(C){return C.target===c})(m).map(function(C,N){return(0,e.createComponentVNode)(2,o.Box,{color:C.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[C.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:C.message})]},N)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function C(){return f("Clear",{option:"Convo"})}return C}()})})})}),h]})}return S}(),V=r.MessengerList=function(){function S(p,i){var l=(0,t.useBackend)(i),f=l.act,u=p.data,s=u.convopdas,m=u.pdas,c=u.charges,v=u.silent,b=u.toff,g=(0,t.useLocalState)(i,"searchTerm",""),h=g[0],C=g[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!v,icon:v?"volume-mute":"volume-up",onClick:function(){function N(){return f("Toggle Ringer")}return N}(),children:["Ringer: ",v?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:b?"bad":"green",icon:"power-off",onClick:function(){function N(){return f("Toggle Messenger")}return N}(),children:["Messenger: ",b?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function N(){return f("Ringtone")}return N}(),children:"Set Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function N(){return f("Clear",{option:"All"})}return N}(),children:"Delete All Conversations"})]})}),!b&&(0,e.createComponentVNode)(2,o.Box,{children:[!!c&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[c," charges left."]})})}),!s.length&&!m.length&&(0,e.createComponentVNode)(2,o.Box,{children:"No current conversations"})||(0,e.createComponentVNode)(2,o.Box,{children:["Search:"," ",(0,e.createComponentVNode)(2,o.Input,{mt:.5,value:h,onInput:function(){function N(x,B){C(B)}return N}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,k,{title:"Current Conversations",data:u,pdas:s,msgAct:"Select Conversation",searchTerm:h}),(0,e.createComponentVNode)(2,k,{title:"Other PDAs",pdas:m,msgAct:"Message",data:u,searchTerm:h})]})}return S}(),k=function(p,i){var l=(0,t.useBackend)(i),f=l.act,u=p.data,s=p.pdas,m=p.title,c=p.msgAct,v=p.searchTerm,b=u.charges,g=u.plugins;return!s||!s.length?(0,e.createComponentVNode)(2,o.Section,{title:m,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:m,children:s.filter(function(h){return h.Name.toLowerCase().includes(v.toLowerCase())}).map(function(h){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:h.Name,onClick:function(){function C(){return f(c,{target:h.uid})}return C}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!b&&g.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{icon:C.icon,content:C.name,onClick:function(){function N(){return f("Messenger Plugin",{plugin:C.uid,target:h.uid})}return N}()},C.uid)})})]},h.uid)})})}},24635:function(I,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_mule=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.mulebot,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,d)})}return V}(),d=function(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.mulebot,u=f.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[u.map(function(s){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:s.Name,icon:"cog",onClick:function(){function m(){return i("AccessBot",{uid:s.uid})}return m}()})},s.Name)}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"rss",content:"Re-scan for bots",onClick:function(){function s(){return i("Rescan")}return s}()})})]})},y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.mulebot,u=f.botstatus,s=f.active,m=u.mode,c=u.loca,v=u.load,b=u.powr,g=u.dest,h=u.home,C=u.retn,N=u.pick,x;switch(m){case 0:x="Ready";break;case 1:x="Loading/Unloading";break;case 2:case 12:x="Navigating to delivery location";break;case 3:x="Navigating to Home";break;case 4:x="Waiting for clear path";break;case 5:case 6:x="Calculating navigation path";break;case 7:x="Unable to locate destination";break;default:x=m;break}return(0,e.createComponentVNode)(2,t.Section,{title:s,children:[m===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:c}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:x}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[b,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:g?g+" (Set)":"None (Set)",onClick:function(){function B(){return i("SetDest")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:v?v+" (Unload)":"None",disabled:!v,onClick:function(){function B(){return i("Unload")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Yes":"No",selected:N,onClick:function(){function B(){return i("SetAutoPickup",{autoPickupType:N?"pickoff":"pickon"})}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"Yes":"No",selected:C,onClick:function(){function B(){return i("SetAutoReturn",{autoReturnType:C?"retoff":"reton"})}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function B(){return i("Stop")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function B(){return i("Start")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function B(){return i("ReturnHome")}return B}()})]})]})]})}},97085:function(I,r,n){"use strict";r.__esModule=!0,r.pda_notes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_notes=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.note;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{children:i}),(0,e.createComponentVNode)(2,t.Button,{icon:"pen",onClick:function(){function l(){return S("Edit")}return l}(),content:"Edit"})]})}return d}()},57513:function(I,r,n){"use strict";r.__esModule=!0,r.pda_power=void 0;var e=n(89005),a=n(72253),t=n(61631),o=r.pda_power=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.PowerMonitorMainContent)}return d}()},99808:function(I,r,n){"use strict";r.__esModule=!0,r.pda_secbot=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_secbot=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.beepsky,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,d)})}return V}(),d=function(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.beepsky,u=f.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[u.map(function(s){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:s.Name,icon:"cog",onClick:function(){function m(){return i("AccessBot",{uid:s.uid})}return m}()})},s.Name)}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"rss",content:"Re-scan for bots",onClick:function(){function s(){return i("Rescan")}return s}()})})]})},y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.beepsky,u=f.botstatus,s=f.active,m=u.mode,c=u.loca,v;switch(m){case 0:v="Ready";break;case 1:v="Apprehending target";break;case 2:case 3:v="Arresting target";break;case 4:v="Starting patrol";break;case 5:v="On patrol";break;case 6:v="Responding to summons";break}return(0,e.createComponentVNode)(2,t.Section,{title:s,children:[m===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:c}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:v}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Go",icon:"play",onClick:function(){function b(){return i("Go")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function b(){return i("Stop")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Summon",icon:"arrow-down",onClick:function(){function b(){return i("Summon")}return b}()})]})]})]})}},77168:function(I,r,n){"use strict";r.__esModule=!0,r.pda_security=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_security=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S,recordType:"SEC"})}return d}()},21773:function(I,r,n){"use strict";r.__esModule=!0,r.pda_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pda_signaler=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p})}return d}()},81857:function(I,r,n){"use strict";r.__esModule=!0,r.pda_status_display=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_status_display=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.records;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Code",children:[(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){function l(){return S("Status",{statdisp:"blank"})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"clock",content:"Evac ETA",onClick:function(){function l(){return S("Status",{statdisp:"shuttle"})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"edit",content:"Message",onClick:function(){function l(){return S("Status",{statdisp:"message"})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"exclamation-triangle",content:"Red Alert",onClick:function(){function l(){return S("Status",{statdisp:"alert",alert:"redalert"})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"boxes",content:"NT Logo",onClick:function(){function l(){return S("Status",{statdisp:"alert",alert:"default"})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lock",content:"Lockdown",onClick:function(){function l(){return S("Status",{statdisp:"alert",alert:"lockdown"})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"biohazard",content:"Biohazard",onClick:function(){function l(){return S("Status",{statdisp:"alert",alert:"biohazard"})}return l}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 1",children:(0,e.createComponentVNode)(2,t.Button,{content:i.message1+" (set)",icon:"pen",onClick:function(){function l(){return S("Status",{statdisp:"setmsg1"})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 2",children:(0,e.createComponentVNode)(2,t.Button,{content:i.message2+" (set)",icon:"pen",onClick:function(){function l(){return S("Status",{statdisp:"setmsg2"})}return l}()})})]})})}return d}()},70287:function(I,r,n){"use strict";r.__esModule=!0,r.pda_supplyrecords=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_supplyrecords=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.supply,l=i.shuttle_loc,f=i.shuttle_time,u=i.shuttle_moving,s=i.approved,m=i.approved_count,c=i.requests,v=i.requests_count;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:u?(0,e.createComponentVNode)(2,t.Box,{children:["In transit ",f]}):(0,e.createComponentVNode)(2,t.Box,{children:l})})}),(0,e.createComponentVNode)(2,t.Section,{mt:1,title:"Requested Orders",children:v>0&&c.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:["#",b.Number,' - "',b.Name,'" for "',b.OrderedBy,'"']},b)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:m>0&&s.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:["#",b.Number,' - "',b.Name,'" for "',b.ApprovedBy,'"']},b)})})]})}return d}()},17617:function(I,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(24826),d=["className","theme","children"],y=["className","scrollable","children"];/** + */var y=r.RequestManager=function(){function p(i,l){var f=(0,t.useBackend)(l),u=f.act,s=f.data,m=s.requests,c=(0,t.useLocalState)(l,"filteredTypes",Object.fromEntries(Object.entries(V).map(function(B){var L=B[0],w=B[1];return[L,!0]}))),v=c[0],b=c[1],g=(0,t.useLocalState)(l,"searchText"),h=g[0],C=g[1],N=m.filter(function(B){return v[B.req_type]});if(h){var x=h.toLowerCase();N=N.filter(function(B){return(0,a.decodeHtmlEntities)(B.message).toLowerCase().includes(x)||B.owner_name.toLowerCase().includes(x)})}return(0,e.createComponentVNode)(2,d.Window,{title:"Request Manager",width:575,height:600,children:(0,e.createComponentVNode)(2,d.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Requests",buttons:(0,e.createComponentVNode)(2,o.Input,{value:h,onInput:function(){function B(L,w){return C(w)}return B}(),placeholder:"Search...",mr:1}),children:N.map(function(B){return(0,e.createVNode)(1,"div","RequestManager__row",[(0,e.createVNode)(1,"div","RequestManager__rowContents",[(0,e.createVNode)(1,"h2","RequestManager__header",[(0,e.createVNode)(1,"span","RequestManager__headerText",[B.owner_name,B.owner===null&&" [DC]"],0),(0,e.createVNode)(1,"span","RequestManager__timestamp",B.timestamp_str,0)],4),(0,e.createVNode)(1,"div","RequestManager__message",[(0,e.createComponentVNode)(2,k,{requestType:B.req_type}),(0,a.decodeHtmlEntities)(B.message)],0)],4),B.owner!==null&&(0,e.createComponentVNode)(2,S,{request:B})],0,null,B.id)})})})})}return p}(),V={request_prayer:"PRAYER",request_centcom:"CENTCOM",request_syndicate:"SYNDICATE",request_honk:"HONK",request_ert:"ERT",request_nuke:"NUKE CODE"},k=function(i){var l=i.requestType;return(0,e.createVNode)(1,"b","RequestManager__"+l,[V[l],(0,e.createTextVNode)(":")],0)},S=function(i,l){var f=(0,t.useBackend)(l),u=f.act,s=f._,m=i.request;return(0,e.createVNode)(1,"div","RequestManager__controlsContainer",[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("pp",{id:m.id})}return c}(),children:"PP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("vv",{id:m.id})}return c}(),children:"VV"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("sm",{id:m.id})}return c}(),children:"SM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("tp",{id:m.id})}return c}(),children:"TP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("logs",{id:m.id})}return c}(),children:"LOGS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("bless",{id:m.id})}return c}(),children:"BLESS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("smite",{id:m.id})}return c}(),children:"SMITE"}),m.req_type!=="request_prayer"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("rply",{id:m.id})}return c}(),children:"RPLY"}),m.req_type==="request_ert"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("ertreply",{id:m.id})}return c}(),children:"ERTREPLY"}),m.req_type==="request_nuke"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return u("getcode",{id:m.id})}return c}(),children:"GETCODE"})],0)}},16475:function(I,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),d=n(13472),y=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},V=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},k=r.RndConsole=function(){function S(p,i){var l=(0,a.useBackend)(i),f=l.data,u=f.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,theme:f.ui_theme,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,d.RndNavbar),(0,e.createComponentVNode)(2,d.RndRoute,{menu:y.MAIN,render:function(){function s(){return(0,e.createComponentVNode)(2,d.MainMenu)}return s}()}),(0,e.createComponentVNode)(2,d.RndRoute,{menu:y.LEVELS,render:function(){function s(){return(0,e.createComponentVNode)(2,d.CurrentLevels)}return s}()}),(0,e.createComponentVNode)(2,d.RndRoute,{menu:y.DISK,render:function(){function s(){return(0,e.createComponentVNode)(2,d.DataDiskMenu)}return s}()}),(0,e.createComponentVNode)(2,d.RndRoute,{menu:y.DESTROY,render:function(){function s(){return(0,e.createComponentVNode)(2,d.DeconstructionMenu)}return s}()}),(0,e.createComponentVNode)(2,d.RndRoute,{menu:function(){function s(m){return m===y.LATHE||m===y.IMPRINTER}return s}(),render:function(){function s(){return(0,e.createComponentVNode)(2,d.LatheMenu)}return s}()}),(0,e.createComponentVNode)(2,d.RndRoute,{menu:y.SETTINGS,render:function(){function s(){return(0,e.createComponentVNode)(2,d.SettingsMenu)}return s}()}),u?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:u})})}):null]})})})}return S}()},93098:function(I,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.CurrentLevels=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data,p=S.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),p.map(function(i,l){var f=i.name,u=i.level,s=i.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[l>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:f}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",u]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",s]})]},f)})]})}return d}()},19192:function(I,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),d=n(16475),y="design",V="tech",k=function(m,c){var v=(0,a.useBackend)(c),b=v.data,g=v.act,h=b.disk_data;return h?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:h.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:h.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:h.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function C(){return g("updt_tech")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function C(){return g("clear_tech")}return C}()}),(0,e.createComponentVNode)(2,i)]})]}):null},S=function(m,c){var v=(0,a.useBackend)(c),b=v.data,g=v.act,h=b.disk_data;if(!h)return null;var C=h.name,N=h.lathe_types,x=h.materials,B=N.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:C}),B?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:B}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),x.map(function(L){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,L.name,0,{style:{"text-transform":"capitalize"}})," x ",L.amount]},L.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function L(){return g("updt_design")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function L(){return g("clear_design")}return L}()}),(0,e.createComponentVNode)(2,i)]})]})},p=function(m,c){var v=(0,a.useBackend)(c),b=v.data,g=b.disk_type;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"This disk is empty."}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{submenu:d.SUBMENU.DISK_COPY,icon:"arrow-down",content:g===V?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,i)]})]})},i=function(m,c){var v=(0,a.useBackend)(c),b=v.data,g=v.act,h=b.disk_type;return h?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function C(){var N=h===V?"eject_tech":"eject_design";g(N)}return C}()}):null},l=function(m,c){var v=(0,a.useBackend)(c),b=v.data,g=b.disk_data,h=b.disk_type,C=function(){if(!g)return(0,e.createComponentVNode)(2,p);switch(h){case y:return(0,e.createComponentVNode)(2,S);case V:return(0,e.createComponentVNode)(2,k);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:C()})},f=function(m,c){var v=(0,a.useBackend)(c),b=v.data,g=v.act,h=b.disk_type,C=b.to_copy;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:C.sort(function(N,x){return N.name.localeCompare(x.name)}).map(function(N){var x=N.name,B=N.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:x,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function L(){h===V?g("copy_tech",{id:B}):g("copy_design",{id:B})}return L}()})},B)})})})})},u=r.DataDiskMenu=function(){function s(m,c){var v=(0,a.useBackend)(c),b=v.data,g=b.disk_type;return g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:d.SUBMENU.MAIN,render:function(){function h(){return(0,e.createComponentVNode)(2,l)}return h}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:d.SUBMENU.DISK_COPY,render:function(){function h(){return(0,e.createComponentVNode)(2,f)}return h}()})],4):null}return s}()},20887:function(I,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.DeconstructionMenu=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data,p=k.act,i=S.loaded_item,l=S.linked_destroy;return l?i?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",i.name]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Origin Tech:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:i.origin_tech.map(function(f){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+f.name,children:[f.object_level," ",f.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),f.current_level,(0,e.createTextVNode)(")")],0):null]},f.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function f(){p("deconstruct")}return f}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function f(){p("eject_item")}return f}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return d}()},10666:function(I,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),d=r.LatheCategory=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.data,i=S.act,l=p.category,f=p.matching_designs,u=p.menu,s=u===4,m=s?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:l,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:f.map(function(c){var v=c.id,b=c.name,g=c.can_build,h=c.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:b,disabled:g<1,onClick:function(){function C(){return i(m,{id:v,amount:1})}return C}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function C(){return i(m,{id:v,amount:5})}return C}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function C(){return i(m,{id:v,amount:10})}return C}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.map(function(C){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",C.is_red?"color-red":null,[C.amount,(0,e.createTextVNode)(" "),C.name],0)],0)})})]},v)})})]})}return y}()},52285:function(I,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheChemicalStorage=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data,p=k.act,i=S.loaded_chemicals,l=S.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function f(){var u=l?"disposeallP":"disposeallI";p(u)}return f}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:i.map(function(f){var u=f.volume,s=f.name,m=f.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+u+" of "+s,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function c(){var v=l?"disposeP":"disposeI";p(v,{id:m})}return c}()})},m)})})]})}return d}()},71964:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),d=r.LatheMainMenu=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.data,i=S.act,l=p.menu,f=p.categories,u=l===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:u+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:f.map(function(s){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:s,onClick:function(){function m(){i("setCategory",{category:s})}return m}()})},s)})})]})}return y}()},17906:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterialStorage=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data,p=k.act,i=S.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:i.map(function(l){var f=l.id,u=l.amount,s=l.name,m=function(){function g(h){var C=S.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";p(C,{id:f,amount:h})}return g}(),c=Math.floor(u/2e3),v=u<1,b=c===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:v?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",u," of ",s]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",c," sheet",b,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function g(){return m(1)}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function g(){return m("custom")}return g}()}),u>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function g(){return m(5)}return g}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function g(){return m(50)}return g}()})],0):null})]},f)})})})}return d}()},83706:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterials=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data,p=S.total_materials,i=S.max_materials,l=S.max_chemicals,f=S.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p}),i?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+i}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:f}),l?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+l}):null]})]})})}return d}()},76749:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(89005),a=n(72253),t=n(12059),o=n(13472),d=n(36036),y=n(16475),V=r.LatheMenu=function(){function k(S,p){var i=(0,a.useBackend)(p),l=i.data,f=l.menu,u=l.linked_lathe,s=l.linked_imprinter;return f===4&&!u?(0,e.createComponentVNode)(2,d.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):f===5&&!s?(0,e.createComponentVNode)(2,d.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,d.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.MAIN,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_CATEGORY,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_MAT_STORAGE,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return m}()})]})}return k}()},74698:function(I,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheSearch=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function p(i,l){return S("search",{to_search:l})}return p}()})})}return d}()},17180:function(I,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),d=n(16475),y=r.MainMenu=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,l=i.disk_type,f=i.linked_destroy,u=i.linked_lathe,s=i.linked_imprinter,m=i.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!l,menu:d.MENU.DISK,submenu:d.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,menu:d.MENU.DESTROY,submenu:d.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!u,menu:d.MENU.LATHE,submenu:d.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!s,menu:d.MENU.IMPRINTER,submenu:d.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:d.MENU.SETTINGS,submenu:d.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:m.map(function(c){var v=c.name,b=c.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:v,children:b},v)})})]})}return V}()},63459:function(I,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.RndNavButton=function(){function d(y,V){var k=y.icon,S=y.children,p=y.disabled,i=y.content,l=(0,a.useBackend)(V),f=l.data,u=l.act,s=f.menu,m=f.submenu,c=s,v=m;return y.menu!==null&&y.menu!==void 0&&(c=y.menu),y.submenu!==null&&y.submenu!==void 0&&(v=y.submenu),(0,e.createComponentVNode)(2,t.Button,{content:i,icon:k,disabled:p,onClick:function(){function b(){u("nav",{menu:c,submenu:v})}return b}(),children:S})}return d}()},94942:function(I,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(89005),a=n(13472),t=n(36036),o=n(16475),d=r.RndNavbar=function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function V(k){return k!==o.MENU.MAIN}return V}(),render:function(){function V(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return V}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function V(k){return k!==o.SUBMENU.MAIN}return V}(),render:function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.DISK,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.LATHE,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return k}()})]})}return V}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function V(k){return k===o.MENU.LATHE||k===o.MENU.IMPRINTER}return V}(),submenu:o.SUBMENU.MAIN,render:function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return V}()})]})}return y}()},12059:function(I,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(72253),a=r.RndRoute=function(){function t(o,d){var y=o.render,V=(0,e.useBackend)(d),k=V.data,S=k.menu,p=k.submenu,i=function(){function f(u,s){return u==null?!0:typeof u=="function"?u(s):u===s}return f}(),l=i(o.menu,S)&&i(o.submenu,p);return l?y():null}return t}()},52580:function(I,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),d=n(16475),y=r.SettingsMenu=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,l=p.act,f=i.sync,u=i.admin,s=i.linked_destroy,m=i.linked_lathe,c=i.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:d.SUBMENU.MAIN,render:function(){function v(){return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!f,onClick:function(){function b(){l("sync")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:f,onClick:function(){function b(){l("togglesync")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!f,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function b(){l("togglesync")}return b}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,content:"Device Linkage Menu",icon:"link",menu:d.MENU.SETTINGS,submenu:d.SUBMENU.SETTINGS_DEVICES}),u===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function b(){return l("maxresearch")}return b}()}):null]})})}return v}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:d.SUBMENU.SETTINGS_DEVICES,render:function(){function v(){return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage Menu",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function b(){return l("find_device")}return b}()}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",children:(0,e.createVNode)(1,"h3",null,"Linked Devices:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[s?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){return l("disconnect",{item:"destroy"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),m?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){l("disconnect",{item:"lathe"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),c?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){return l("disconnect",{item:"imprinter"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return v}()})]})}return V}()},13472:function(I,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(93098);r.CurrentLevels=e.CurrentLevels;var a=n(19192);r.DataDiskMenu=a.DataDiskMenu;var t=n(20887);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(10666);r.LatheCategory=o.LatheCategory;var d=n(52285);r.LatheChemicalStorage=d.LatheChemicalStorage;var y=n(71964);r.LatheMainMenu=y.LatheMainMenu;var V=n(83706);r.LatheMaterials=V.LatheMaterials;var k=n(17906);r.LatheMaterialStorage=k.LatheMaterialStorage;var S=n(76749);r.LatheMenu=S.LatheMenu;var p=n(74698);r.LatheSearch=p.LatheSearch;var i=n(17180);r.MainMenu=i.MainMenu;var l=n(94942);r.RndNavbar=l.RndNavbar;var f=n(63459);r.RndNavButton=f.RndNavButton;var u=n(12059);r.RndRoute=u.RndRoute;var s=n(52580);r.SettingsMenu=s.SettingsMenu},40026:function(I,r,n){"use strict";r.__esModule=!0,r.RoboQuest=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),d=n(98595),y=r.RoboQuest=function(){function V(k,S){var p=(0,t.useBackend)(S),i=p.act,l=p.data,f=l.hasID,u=l.name,s=l.questInfo,m=l.hasTask,c=l.canCheck,v=l.canSend,b=l.checkMessage,g=l.style,h=l.cooldown,C=l.instant_teleport,N=l.shopItems,x=l.points,B=l.cats,L=(0,t.useLocalState)(S,"shopState",!1),w=L[0],A=L[1],T={medical:"blue",working:"brown",security:"red",working_medical:"olive",medical_security:"violet",working_medical_security:"grey"};return(0,e.createComponentVNode)(2,d.Window,{theme:g,width:1e3,height:540,children:(0,e.createComponentVNode)(2,d.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:40,children:[!w&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0437\u0430\u043A\u0430\u0437",buttons:(0,e.createComponentVNode)(2,o.Button,{content:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u043C\u0435\u0445\u0430",icon:"search",tooltipPosition:"bottom",tooltip:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u044D\u043A\u0437\u043E\u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u043D\u0430 \u043D\u0430\u043B\u0438\u0447\u0438\u0435 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0445 \u0434\u043B\u044F \u0437\u0430\u043A\u0430\u0437\u0430 \u043C\u043E\u0434\u0443\u043B\u0435\u0439.",disabled:!f||!m||!c||h,onClick:function(){function E(){return i("Check")}return E}()}),children:[(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:60,textAlign:"center",align:"center",children:!!m&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest_large128x128",s.icon]))}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Divider,{vertical:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:42,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&s.modules.map(function(E){return E.id<4&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest64x64",E.icon]),null,1,null,E.id)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&s.modules.map(function(E){return E.id>3&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest64x64",E.icon]),null,1,null,E.id)})})]})})]}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Divider),(0,e.createVNode)(1,"b",null,b,0)],4),!!h&&(0,e.createFragment)([(0,e.createVNode)(1,"b",null,"\u0417\u0430 \u043E\u0442\u043A\u0430\u0437 \u043E\u0442 \u0437\u0430\u043A\u0430\u0437\u0430, \u0432\u044B \u0431\u044B\u043B\u0438 \u043E\u0442\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u044B \u043E\u0442 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0430 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,h,0)],4)]}),!!w&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:(0,e.createComponentVNode)(2,o.Box,{children:["\u041C\u0430\u0433\u0430\u0437\u0438\u043D \u0447\u0435\u0440\u0442\u0435\u0436\u0435\u0439",(0,e.createComponentVNode)(2,o.Box,{children:["\u041E\u0447\u043A\u0438: ",(0,e.createVNode)(1,"b",null,x.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,x.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,x.security,0,{style:{color:"red"}})]})]}),children:Object.keys(N).map(function(E){return(0,e.createFragment)(!(N[E]===void 0||N[E].length===0||E==="robo")&&N[E].map(function(O){return(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:T[E],image:O.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[O.name," ",(0,e.createVNode)(1,"b",null,O.cost.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,O.cost.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,O.cost.security,0,{style:{color:"red"}})]}),content:O.desc,onClick:function(){function P(){return i("buyItem",{item:O.path})}return P}()},O.path)}),0,E)})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:20,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0414\u0440\u0443\u0433\u043E\u0435",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"\u041C\u0430\u0433\u0430\u0437\u0438\u043D",width:"7rem",icon:"shopping-cart",onClick:function(){function E(){return A(!w)}return E}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"cog",tooltipPosition:"bottom",tooltip:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u0441\u0442\u0438\u043B\u044F \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430.",onClick:function(){function E(){return i("ChangeStyle")}return E}()})],4),children:[!!u&&(0,e.createFragment)([(0,e.createTextVNode)("\u0417\u0434\u0440\u0430\u0441\u0442\u0432\u0443\u0439\u0442\u0435,"),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,u,0),(0,e.createVNode)(1,"br")],4),(0,e.createFragment)([(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u041F\u0440\u0438 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0438 \u0437\u0430\u043A\u0430\u0437\u0430 \u043D\u0430 \u044D\u043A\u0437\u043A\u043E\u0441\u0442\u044E\u043C, \u0432\u044B\u0431\u043E\u0440 \u043F\u043E\u0434\u0442\u0438\u043F\u0430 \u043C\u0435\u0445\u0430 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0442\u0438\u043F \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u043E\u0447\u043A\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0431\u0443\u0434\u0443\u0442 \u043D\u0430\u0447\u0438\u0441\u043B\u0435\u043D\u044B \u0437\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u0437\u0430\u043A\u0430\u0437\u0430."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u0420\u0430\u0431\u043E\u0447\u0438\u0435 \u044D\u043A\u0437\u043E\u043A\u043E\u0441\u0442\u044E\u043C\u044B \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"brown",children:[" ","\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u044B\u0435"]}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u043E\u0447\u043A\u0438. \u041C\u0435\u0434\u0438\u0446\u0438\u043D\u0441\u043A\u0438\u0435 \u044D\u043A\u0437\u043E\u043A\u043E\u0441\u0442\u044E\u043C\u044B \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"teal",children:[" ","\u0433\u043E\u043B\u0443\u0431\u044B\u0435"]}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u043E\u0447\u043A\u0438. \u0411\u043E\u0435\u0432\u044B\u0435 \u044D\u043A\u0437\u043E\u043A\u043E\u0441\u0442\u044E\u043C\u044B \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"red",children:[" ","\u043A\u0440\u0430\u0441\u043D\u044B\u0435"]}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("\u043E\u0447\u043A\u0438."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u041A\u0430\u0436\u0434\u044B\u0439 \u043C\u0435\u0445, \u0432\u043D\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u043F\u043E\u0434\u0442\u0438\u043F\u0430, \u043F\u0440\u0438\u043D\u043E\u0441\u0438\u0442 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043E\u0447\u043A\u043E\u0432 \u0434\u043B\u044F \u043C\u0430\u0433\u0430\u0437\u0438\u043D\u0430 \u043E\u0441\u043E\u0431\u044B\u0445 \u043D\u0430\u0433\u0440\u0430\u0434.")],0)]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:38,children:[!w&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"\u0418\u043D\u0444\u043E",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"id-card",content:"\u0412\u044B\u043D\u0443\u0442\u044C ID",disabled:!f,onClick:function(){function E(){return i("RemoveID")}return E}()}),!m&&(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",content:"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043C\u0435\u0445",disabled:!f||h,onClick:function(){function E(){return i("GetTask")}return E}()}),!!m&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"\u041F\u0435\u0447\u0430\u0442\u044C",icon:"print",onClick:function(){function E(){return i("printOrder")}return E}(),disabled:!m}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",content:"\u041E\u0442\u043A\u0430\u0437\u0430\u0442\u044C\u0441\u044F",disabled:!f||h,onClick:function(){function E(){return i("RemoveTask")}return E}()})],4)],0),children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"1rem",children:[(0,e.createVNode)(1,"b",null,"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435: ",16),s.name,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435: ",16),s.desc]}),(0,e.createComponentVNode)(2,o.Section,{title:"\u0422\u0440\u0435\u0431\u0443\u0435\u043C\u044B\u0435 \u041C\u043E\u0434\u0443\u043B\u0438:",level:2,children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"0.5rem",children:!!m&&s.modules.map(function(E){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Module "),E.id],0),(0,e.createTextVNode)(": "),E.name,(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br")],0,E.id)})})}),(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"14rem",bold:!0,content:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043C\u0435\u0445",textAlign:"center",tooltipPosition:"top",tooltip:"\u041E\u0442\u043F\u0440\u0430\u0432\u043A\u0430 \u043C\u0435\u0445\u0430 \u043D\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0432\u0430\u043C\u0438 \u0442\u0435\u043B\u0435\u043F\u0430\u0434.",disabled:!f||!m||!v||h,onClick:function(){function E(){return i("SendMech",{type:"send"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"14rem",bold:!0,content:"\u0423\u043F\u0430\u043A\u043E\u0432\u0430\u0442\u044C \u043C\u0435\u0445",textAlign:"center",tooltipPosition:"top",tooltip:"\u0423\u043F\u0430\u043A\u043E\u0432\u043A\u0430 \u043C\u0435\u0445\u0430 \u0434\u043B\u044F \u0441\u0430\u043C\u043E\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0438 \u0432 \u043A\u0430\u0440\u0433\u043E.",disabled:!f||!m||!v||h,onClick:function(){function E(){return i("SendMech",{type:"only_packing"})}return E}()})]}),(0,e.createVNode)(1,"box",null,(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"30rem",bold:!0,content:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043C\u0435\u0445",textAlign:"center",tooltipPosition:"bottom",tooltip:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u0430\u044F \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u043C\u0435\u0445\u0430 \u0437\u0430\u043A\u0430\u0437\u0447\u0438\u043A\u0443.",disabled:!f||!m||!v||h||!C,onClick:function(){function E(){return i("SendMech",{type:"instant"})}return E}()}),2,{mb:"1.5rem",textAlign:"center"})]}),!!w&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createTextVNode)("\u041C\u0430\u0433\u0430\u0437\u0438\u043D \u043E\u0441\u043E\u0431\u044B\u0445 \u043D\u0430\u0433\u0440\u0430\u0434"),(0,e.createComponentVNode)(2,o.Box,{children:["\u041E\u0447\u043A\u0438: ",x.robo]})],4),children:N.robo.map(function(E){return(!E.emagOnly||g==="syndicate")&&(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:"purple",image:E.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[E.name," ",(0,e.createVNode)(1,"b",null,E.cost.robo,0,{style:{color:"purple"}})]}),content:E.desc,onClick:function(){function O(){return i("buyItem",{item:E.path})}return O}()},E.name)})})]})]})})})}return V}()},26109:function(I,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=n(25328),y=function(S,p){var i=S/p;return i<=.2?"good":i<=.5?"average":"bad"},V=r.RobotSelfDiagnosis=function(){function k(S,p){var i=(0,a.useBackend)(p),l=i.data,f=l.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:f.map(function(u,s){return(0,e.createComponentVNode)(2,t.Section,{title:(0,d.capitalize)(u.name),children:u.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:u.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:y(u.brute_damage,u.max_damage),children:u.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:y(u.electronic_damage,u.max_damage),children:u.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:u.powered?"good":"bad",children:u.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:u.status?"good":"bad",children:u.status?"Yes":"No"})]})})]})},s)})})})}return k}()},97997:function(I,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.RoboticsControlConsole=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.can_hack,u=l.safety,s=l.show_detonate_all,m=l.cyborgs,c=m===void 0?[]:m;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!s&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Self Destruct",children:[(0,e.createComponentVNode)(2,t.Button,{icon:u?"lock":"unlock",content:u?"Disable Safety":"Enable Safety",selected:u,onClick:function(){function v(){return i("arm",{})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",disabled:u,content:"Destroy ALL Cyborgs",color:"bad",onClick:function(){function v(){return i("nuke",{})}return v}()})]}),(0,e.createComponentVNode)(2,y,{cyborgs:c,can_hack:f})]})})}return V}(),y=function(k,S){var p=k.cyborgs,i=k.can_hack,l=(0,a.useBackend)(S),f=l.act,u=l.data;return p.length?p.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,buttons:(0,e.createFragment)([!!s.hackable&&!s.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function m(){return f("hackbot",{uid:s.uid})}return m}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:s.locked_down?"unlock":"lock",color:s.locked_down?"good":"default",content:s.locked_down?"Release":"Lockdown",disabled:!u.auth,onClick:function(){function m(){return f("stopbot",{uid:s.uid})}return m}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Detonate",disabled:!u.auth,color:"bad",onClick:function(){function m(){return f("killbot",{uid:s.uid})}return m}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:s.status?"bad":s.locked_down?"average":"good",children:s.status?"Not Responding":s.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:s.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.health>50?"good":"bad",value:s.health/100})}),typeof s.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.charge>30?"good":"bad",value:s.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:s.cell_capacity<3e4?"average":"good",children:s.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!s.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:s.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:s.synchronization?"default":"average",children:s.synchronization||"None"})})]})},s.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},54431:function(I,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(89005),a=n(79140),t=n(72253),o=n(36036),d=n(98595),y=r.Safe=function(){function p(i,l){var f=(0,t.useBackend)(l),u=f.act,s=f.data,m=s.dial,c=s.open,v=s.locked,b=s.contents;return(0,e.createComponentVNode)(2,d.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,d.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,o.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),c?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,o.Box,{as:"img",className:"Safe--dial",src:(0,a.resolveAsset)("safe_dial.png"),style:{transform:"rotate(-"+3.6*m+"deg)","z-index":0}})]}),!c&&(0,e.createComponentVNode)(2,S)]})})}return p}(),V=function(i,l){var f=(0,t.useBackend)(l),u=f.act,s=f.data,m=s.dial,c=s.open,v=s.locked,b=function(h,C){return(0,e.createComponentVNode)(2,o.Button,{disabled:c||C&&!v,icon:"arrow-"+(C?"right":"left"),content:(C?"Right":"Left")+" "+h,iconRight:C,onClick:function(){function N(){return u(C?"turnleft":"turnright",{num:h})}return N}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,o.Button,{disabled:v,icon:c?"lock":"lock-open",content:c?"Close":"Open",mb:"0.5rem",onClick:function(){function g(){return u("open")}return g}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{position:"absolute",children:[b(50),b(10),b(1)]}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[b(1,!0),b(10,!0),b(50,!0)]}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer--number",children:m})]})},k=function(i,l){var f=(0,t.useBackend)(l),u=f.act,s=f.data,m=s.contents;return(0,e.createComponentVNode)(2,o.Box,{className:"Safe--contents",overflow:"auto",children:m.map(function(c,v){return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{mb:"0.5rem",onClick:function(){function b(){return u("retrieve",{index:v+1})}return b}(),children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:c.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),c.name]}),(0,e.createVNode)(1,"br")],4,c)})})},S=function(i,l){return(0,e.createComponentVNode)(2,o.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,o.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},29740:function(I,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.SatelliteControl=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.satellites,f=i.notice,u=i.meteor_shield,s=i.meteor_shield_coverage,m=i.meteor_shield_coverage_max,c=i.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[u&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:c>=100?"good":"average",value:s,maxValue:m,children:[c," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:i.notice}),l.map(function(v){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+v.id,children:[v.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:v.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function b(){return p("toggle",{id:v.id})}return b}()})]},v.id)})]})})]})})}return y}()},44162:function(I,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.SecureStorage=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.emagged,f=i.locked,u=i.l_set,s=i.l_setshort,m=i.current_code,c=function(){function v(b){var g=b.buttonValue,h=b.color;return h||(h="default"),(0,e.createComponentVNode)(2,t.Button,{disabled:l||s,type:"button",color:h,onClick:function(){function C(){return p("setnumber",{buttonValue:g})}return C}(),children:g})}return v}();return(0,e.createComponentVNode)(2,o.Window,{width:520,height:200,children:(0,e.createComponentVNode)(2,t.Flex,{spacing:"1",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:16,shrink:0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Code Panel",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,c,{buttonValue:"1"}),(0,e.createComponentVNode)(2,c,{buttonValue:"2"}),(0,e.createComponentVNode)(2,c,{buttonValue:"3"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,c,{buttonValue:"4"}),(0,e.createComponentVNode)(2,c,{buttonValue:"5"}),(0,e.createComponentVNode)(2,c,{buttonValue:"6"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,c,{buttonValue:"7"}),(0,e.createComponentVNode)(2,c,{buttonValue:"8"}),(0,e.createComponentVNode)(2,c,{buttonValue:"9"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,c,{buttonValue:"R",color:"red"}),(0,e.createComponentVNode)(2,c,{buttonValue:"0"}),(0,e.createComponentVNode)(2,c,{buttonValue:"E",color:"green"})]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Current Status",children:l||s?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:l?"LOCKING SYSTEM ERROR - 1701":"ALERT: MEMORY SYSTEM ERROR - 6040 201"})}),l?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"NEW INPUT, ASSHOLE"})}):""]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Secure Code",children:(0,e.createComponentVNode)(2,t.Box,{color:u?"red":"green",children:u?"*****":"NOT SET. ENTER NEW."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:f?"red":"green",children:f?"Locked":"Unlocked"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{children:m||"Waiting for input"})}),(0,e.createComponentVNode)(2,t.Button,{top:".35em",left:".5em",disabled:f,color:"red",content:"Lock",icon:"lock",onClick:function(){function v(){return p("close")}return v}()})]})})]})})}return y}()},6272:function(I,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),d=n(98595),y=n(3939),V=n(321),k=n(5485),S=n(22091),p={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},i=function(C,N){(0,y.modalOpen)(C,"edit",{field:N.edit,value:N.value})},l=r.SecurityRecords=function(){function h(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.loginState,A=L.currentPage,T;if(w.logged_in)A===1?T=(0,e.createComponentVNode)(2,u):A===2?T=(0,e.createComponentVNode)(2,c):A===3&&(T=(0,e.createComponentVNode)(2,v));else return(0,e.createComponentVNode)(2,d.Window,{width:800,height:900,theme:"security",children:(0,e.createComponentVNode)(2,d.Window.Content,{children:(0,e.createComponentVNode)(2,k.LoginScreen)})});return(0,e.createComponentVNode)(2,d.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,y.ComplexModal),(0,e.createComponentVNode)(2,d.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,S.TemporaryNotice),(0,e.createComponentVNode)(2,f),T]})})]})}return h}(),f=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.currentPage,A=L.general;return(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===1,onClick:function(){function T(){return B("page",{page:1})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"list"}),"List Records"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===2,onClick:function(){function T(){return B("page",{page:2})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wrench"}),"Record Maintenance"]}),w===3&&A&&!A.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===3,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"file"}),"Record: ",A.fields[0].value]})]})},u=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.records,A=(0,t.useLocalState)(N,"searchText",""),T=A[0],E=A[1],O=(0,t.useLocalState)(N,"sortId","name"),P=O[0],R=O[1],F=(0,t.useLocalState)(N,"sortOrder",!0),j=F[0],W=F[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SecurityRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,s,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,s,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,s,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,s,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,s,{id:"status",children:"Criminal Status"})]}),w.filter((0,a.createSearch)(T,function(H){return H.name+"|"+H.id+"|"+H.rank+"|"+H.fingerprint+"|"+H.status})).sort(function(H,z){var $=j?1:-1;return H[P].localeCompare(z[P])*$}).map(function(H){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+p[H.status],onClick:function(){function z(){return B("view",{uid_gen:H.uid_gen,uid_sec:H.uid_sec})}return z}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",H.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.status})]},H.id)})]})})})],4)},s=function(C,N){var x=(0,t.useLocalState)(N,"sortId","name"),B=x[0],L=x[1],w=(0,t.useLocalState)(N,"sortOrder",!0),A=w[0],T=w[1],E=C.id,O=C.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:B!==E&&"transparent",fluid:!0,onClick:function(){function P(){B===E?T(!A):(L(E),T(!0))}return P}(),children:[O,B===E&&(0,e.createComponentVNode)(2,o.Icon,{name:A?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},m=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.isPrinting,A=(0,t.useLocalState)(N,"searchText",""),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:"0.25rem",content:"New Record",icon:"plus",onClick:function(){function O(){return B("new_general")}return O}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Cell Log",onClick:function(){function O(){return(0,y.modalOpen)(N,"print_cell_log")}return O}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function O(P,R){return E(R)}return O}()})})]})},c=function(C,N){var x=(0,t.useBackend)(N),B=x.act;return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:!0,icon:"download",content:"Backup to Disk",tooltip:"This feature is not available.",tooltipPosition:"right"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button,{disabled:!0,icon:"upload",content:"Upload from Disk",tooltip:"This feature is not available.",tooltipPosition:"right",my:"0.5rem"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",content:"Delete All Security Records",onClick:function(){function L(){return B("delete_security_all")}return L}(),mb:"0.5rem"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",content:"Delete All Cell Logs",onClick:function(){function L(){return B("delete_cell_logs")}return L}()})]})},v=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.isPrinting,A=L.general,T=L.security;return!A||!A.fields?(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"General records lost!"}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,level:2,mt:"-6px",title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Record",onClick:function(){function E(){return B("print_record")}return E}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"WARNING: This will also delete the Security and Medical records associated with this crew member!",tooltipPosition:"bottom-start",content:"Delete Record",onClick:function(){function E(){return B("delete_general")}return E}()})],4),children:(0,e.createComponentVNode)(2,b)})}),!T||!T.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function E(){return B("new_security")}return E}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Security records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:T.empty,content:"Delete Record",onClick:function(){function E(){return B("delete_security")}return E}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:T.fields.map(function(E,O){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:E.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(E.value),!!E.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:E.line_break?"1rem":"initial",onClick:function(){function P(){return i(N,E)}return P}()})]},O)})})})})}),(0,e.createComponentVNode)(2,g)],4)],0)},b=function(C,N){var x=(0,t.useBackend)(N),B=x.data,L=B.general;return!L||!L.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:L.fields.map(function(w,A){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:w.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+w.value),!!w.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:w.line_break?"1rem":"initial",onClick:function(){function T(){return i(N,w)}return T}()})]},A)})})}),!!L.has_photos&&L.photos.map(function(w,A){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:w,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",A+1]},A)})]})},g=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function A(){return(0,y.modalOpen)(N,"comment_add")}return A}()}),children:w.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):w.comments.map(function(A,T){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:A.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),A.text||A,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function E(){return B("comment_delete",{id:T+1})}return E}()})]},T)})})})}},5099:function(I,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(89005),a=n(25328),t=n(35840),o=n(72253),d=n(36036),y=n(98595),V=n(3939);function k(m,c){var v=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(v)return(v=v.call(m)).next.bind(v);if(Array.isArray(m)||(v=S(m))||c&&m&&typeof m.length=="number"){v&&(m=v);var b=0;return function(){return b>=m.length?{done:!0}:{done:!1,value:m[b++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(m,c){if(m){if(typeof m=="string")return p(m,c);var v={}.toString.call(m).slice(8,-1);return v==="Object"&&m.constructor&&(v=m.constructor.name),v==="Map"||v==="Set"?Array.from(m):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?p(m,c):void 0}}function p(m,c){(c==null||c>m.length)&&(c=m.length);for(var v=0,b=Array(c);v=T},g=function(A,T){return A<=T},h=c.split(" "),C=[],N=function(){var A=L.value,T=A.split(":");if(T.length===0)return 0;if(T.length===1)return C.push(function(P){return(P.name+" ("+P.variant+")").toLocaleLowerCase().includes(T[0].toLocaleLowerCase())}),0;if(T.length>2)return{v:function(){function P(R){return!1}return P}()};var E,O=v;if(T[1][T[1].length-1]==="-"?(O=g,E=Number(T[1].substring(0,T[1].length-1))):T[1][T[1].length-1]==="+"?(O=b,E=Number(T[1].substring(0,T[1].length-1))):E=Number(T[1]),isNaN(E))return{v:function(){function P(R){return!1}return P}()};switch(T[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":C.push(function(P){return O(P.lifespan,E)});break;case"e":case"end":case"endurance":C.push(function(P){return O(P.endurance,E)});break;case"m":case"mat":case"maturation":C.push(function(P){return O(P.maturation,E)});break;case"pr":case"prod":case"production":C.push(function(P){return O(P.production,E)});break;case"y":case"yield":C.push(function(P){return O(P.yield,E)});break;case"po":case"pot":case"potency":C.push(function(P){return O(P.potency,E)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":C.push(function(P){return O(P.amount,E)});break;default:return{v:function(){function P(R){return!1}return P}()}}},x,B=k(h),L;!(L=B()).done;)if(x=N(),x!==0&&x)return x.v;return function(w){for(var A=0,T=C;A=1?Number(O):1)}return T}()})]})]})}},2916:function(I,r,n){"use strict";r.__esModule=!0,r.ShuttleConsoleContent=r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.ShuttleConsole=function(){function p(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=i.type,c=m===void 0?"shuttle":m,v=i.blind_drop,b=s.authorization_required;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:240,children:[!!b&&(0,e.createComponentVNode)(2,t.Modal,{ml:1,mt:1,width:26,height:12,fontSize:"28px",fontFamily:"monospace",textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2,children:(0,e.createComponentVNode)(2,t.Icon,{name:"minus-circle"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2,ml:2,color:"bad",children:c==="shuttle"?"SHUTTLE LOCKED":"BASE LOCKED"})]}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"18px",mt:4,children:(0,e.createComponentVNode)(2,t.Button,{lineHeight:"40px",icon:"arrow-circle-right",content:"Request Authorization",color:"bad",onClick:function(){function g(){return u("request")}return g}()})})]}),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S,{type:c,blind_drop:v})})]})}return p}(),y=function(i,l){var f;return i==null||(f=i.find(function(u){return u.id===l}))==null?void 0:f.name},V=function(i,l){var f;return i==null||(f=i.find(function(u){return u.name===l}))==null?void 0:f.id},k={"In Transit":"good",Idle:"average",Igniting:"average",Recharging:"average",Missing:"bad","Unauthorized Access":"bad",Locked:"bad"},S=r.ShuttleConsoleContent=function(){function p(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=i.type,c=i.blind_drop,v=s.status,b=s.locked,g=s.authorization_required,h=s.destination,C=s.docked_location,N=s.timer_str,x=s.locations,B=x===void 0?[]:x;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,fontSize:"26px",textAlign:"center",fontFamily:"monospace",children:N||"00:00"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",fontSize:"14px",mb:1,children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,bold:!0,children:"STATUS:"}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:k[v]||"bad",ml:1,children:v||"Not Available"})]}),(0,e.createComponentVNode)(2,t.Section,{title:m==="shuttle"?"Shuttle Controls":"Base Launch Controls",level:2,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:C||"Not Available"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",buttons:m!=="shuttle"&&B.length===0&&!!c&&(0,e.createComponentVNode)(2,t.Button,{color:"bad",icon:"exclamation-triangle",disabled:g||!c,content:"Blind Drop",onClick:function(){function L(){return u("random")}return L}()}),children:B.length===0&&(0,e.createComponentVNode)(2,t.Box,{mb:1.7,color:"bad",children:"Not Available"})||B.length===1&&(0,e.createComponentVNode)(2,t.Box,{mb:1.7,color:"average",children:y(B,h)})||(0,e.createComponentVNode)(2,t.Dropdown,{mb:1.7,over:!0,width:"240px",options:B.map(function(L){return L.name}),disabled:b||g,selected:y(B,h)||"Select a Destination",onSelected:function(){function L(w){return u("set_destination",{destination:V(B,w)})}return L}()})})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Depart",disabled:!y(B,h)||b||g||v!=="Idle",icon:"arrow-up",textAlign:"center",onClick:function(){function L(){return u("move",{shuttle_id:h})}return L}()})]})]})}return p}()},39401:function(I,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.ShuttleManipulator=function(){function S(p,i){var l=(0,a.useLocalState)(i,"tabIndex",0),f=l[0],u=l[1],s=function(){function m(c){switch(c){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,V);case 2:return(0,e.createComponentVNode)(2,k);default:return"WE SHOULDN'T BE HERE!"}}return m}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===0,onClick:function(){function m(){return u(0)}return m}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===1,onClick:function(){function m(){return u(1)}return m}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===2,onClick:function(){function m(){return u(2)}return m}(),icon:"tools",children:"Modification"},"Modification")]}),s(f)]})})})}return S}(),y=function(p,i){var l=(0,a.useBackend)(i),f=l.act,u=l.data,s=u.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:s.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{title:m.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:m.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:m.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:m.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:m.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function c(){return f("jump_to",{type:"mobile",id:m.id})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function c(){return f("fast_travel",{id:m.id})}return c}()})]})]})},m.name)})})},V=function(p,i){var l=(0,a.useBackend)(i),f=l.act,u=l.data,s=u.templates_tabs,m=u.existing_shuttle,c=u.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:s.map(function(v){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===m.id,icon:"file",onClick:function(){function b(){return f("select_template_category",{cat:v})}return b}(),children:v},v)})}),!!m&&c[m.id].templates.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[v.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:v.description}),v.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:v.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Load Template",icon:"download",onClick:function(){function b(){return f("select_template",{shuttle_id:v.shuttle_id})}return b}()})})]})},v.name)})]})},k=function(p,i){var l=(0,a.useBackend)(i),f=l.act,u=l.data,s=u.existing_shuttle,m=u.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[s?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:s.status}),s.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:s.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function c(){return f("jump_to",{type:"mobile",id:s.id})}return c}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),m?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+m.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:m.description}),m.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:m.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function c(){return f("preview",{shuttle_id:m.shuttle_id})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function c(){return f("load",{shuttle_id:m.shuttle_id})}return c}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},88284:function(I,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),d=n(98595),y=[["good","Alive"],["average","Critical"],["bad","DEAD"]],V=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],k={average:[.25,.5],bad:[.5,1/0]},S=["bad","average","average","good","average","average","bad"],p=r.Sleeper=function(){function c(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.hasOccupant,x=N?(0,e.createComponentVNode)(2,i):(0,e.createComponentVNode)(2,m);return(0,e.createComponentVNode)(2,d.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,d.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:x}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u)})]})})})}return c}(),i=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,s)],4)},l=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.occupant,x=C.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:x?"toggle-on":"toggle-off",selected:x,content:x?"On":"Off",onClick:function(){function B(){return h("auto_eject_dead_"+(x?"off":"on"))}return B}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function B(){return h("ejectify")}return B}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:N.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.maxHealth,value:N.health/N.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(N.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:y[N.stat][0],children:y[N.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.maxTemp,value:N.bodyTemperature/N.maxTemp,color:S[N.temperatureSuitability+3],children:[(0,a.round)(N.btCelsius,0),"\xB0C,",(0,a.round)(N.btFaren,0),"\xB0F"]})}),!!N.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.bloodMax,value:N.bloodLevel/N.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[N.bloodPercent,"%, ",N.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[N.pulse," BPM"]})],4)]})})},f=function(v,b){var g=(0,t.useBackend)(b),h=g.data,C=h.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:V.map(function(N,x){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:N[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:C[N[1]]/100,ranges:k,children:(0,a.round)(C[N[1]],0)},x)},x)})})})},u=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.hasOccupant,x=C.isBeakerLoaded,B=C.beakerMaxSpace,L=C.beakerFreeSpace,w=C.dialysis,A=w&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!x||L<=0||!N,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Active":"Inactive",onClick:function(){function T(){return h("togglefilter")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!x,icon:"eject",content:"Eject",onClick:function(){function T(){return h("removebeaker")}return T}()})],4),children:x?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:B,value:L/B,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},s=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.occupant,x=C.chemicals,B=C.maxchem,L=C.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:x.map(function(w,A){var T="",E;return w.overdosing?(T="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):w.od_warning&&(T="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:w.title,level:"3",mx:"0",lineHeight:"18px",buttons:E,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:B,value:w.occ_amount/B,color:T,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[w.pretty_amount,"/",B,"u"]}),L.map(function(O,P){return(0,e.createComponentVNode)(2,o.Button,{disabled:!w.injectable||w.occ_amount+O>B||N.stat===2,icon:"syringe",content:"Inject "+O+"u",title:"Inject "+O+"u of "+w.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function R(){return h("chemical",{chemid:w.id,amount:O})}return R}()},P)})]})})},A)})})},m=function(v,b){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},21597:function(I,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.SlotMachine=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data;if(i.money===null)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Could not scan your card or could not find account!"}),(0,e.createComponentVNode)(2,t.Box,{children:"Please wear or hold your ID and try again."})]})})});var l;return i.plays===1?l=i.plays+" player has tried their luck today!":l=i.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{lineHeight:2,children:l}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:i.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"50 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:i.working,content:i.working?"Spinning...":"Spin",onClick:function(){function f(){return p("spin")}return f}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:i.resultlvl,children:i.result})]})})})}return y}()},46348:function(I,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.Smartfridge=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.secure,f=i.can_dry,u=i.drying,s=i.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!l&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:f?"Drying rack":"Contents",buttons:!!f&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){function m(){return p("drying")}return m}()}),children:[!s&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cookie-bite",size:5,color:"brown"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No products loaded."]})}),!!s&&s.slice().sort(function(m,c){return m.display_name.localeCompare(c.display_name)}).map(function(m){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:m.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",m.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function c(){return p("vend",{index:m.vend,amount:1})}return c}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:m.quantity,step:1,stepPixelSize:3,onChange:function(){function c(v,b){return p("vend",{index:m.vend,amount:b})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function c(){return p("vend",{index:m.vend,amount:m.quantity})}return c}()})]})]},m)})]})]})})})}return y}()},86162:function(I,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(49968),d=n(98595),y=1e3,V=r.Smes=function(){function k(S,p){var i=(0,a.useBackend)(p),l=i.act,f=i.data,u=f.capacityPercent,s=f.capacity,m=f.charge,c=f.inputAttempt,v=f.inputting,b=f.inputLevel,g=f.inputLevelMax,h=f.inputAvailable,C=f.outputPowernet,N=f.outputAttempt,x=f.outputting,B=f.outputLevel,L=f.outputLevelMax,w=f.outputUsed,A=u>=100&&"good"||v&&"average"||"bad",T=x&&"good"||m>0&&"average"||"bad";return(0,e.createComponentVNode)(2,d.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,d.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c?"sync-alt":"times",selected:c,onClick:function(){function E(){return l("tryinput")}return E}(),children:c?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:u>=100&&"Fully Charged"||v&&"Charging"||"Not Charging"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Input",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:b===0,onClick:function(){function E(){return l("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:b===0,onClick:function(){function E(){return l("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:b/y,fillValue:h/y,minValue:0,maxValue:g/y,step:5,stepPixelSize:4,format:function(){function E(O){return(0,o.formatPower)(O*y,1)}return E}(),onChange:function(){function E(O,P){return l("input",{target:P*y})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:b===g,onClick:function(){function E(){return l("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:b===g,onClick:function(){function E(){return l("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(h)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:N?"power-off":"times",selected:N,onClick:function(){function E(){return l("tryoutput")}return E}(),children:N?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:T,children:C?x?"Sending":m>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:B===0,onClick:function(){function E(){return l("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:B===0,onClick:function(){function E(){return l("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:B/y,minValue:0,maxValue:L/y,step:5,stepPixelSize:4,format:function(){function E(O){return(0,o.formatPower)(O*y,1)}return E}(),onChange:function(){function E(O,P){return l("output",{target:P*y})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:B===L,onClick:function(){function E(){return l("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:B===L,onClick:function(){function E(){return l("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(w)})]})})]})})})}return k}()},63584:function(I,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.SolarControl=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=0,f=1,u=2,s=i.generated,m=i.generated_ratio,c=i.tracking_state,v=i.tracking_rate,b=i.connected_panels,g=i.connected_tracker,h=i.cdir,C=i.direction,N=i.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){function x(){return p("refresh")}return x}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar tracker",color:g?"good":"bad",children:g?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:b>0?"good":"bad",children:b})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:m,children:s+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[h,"\xB0 (",C,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[c===u&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),c===f&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",v,"\xB0/h (",N,")"," "]}),c===l&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[c!==u&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:h,onDrag:function(){function x(B,L){return p("cdir",{cdir:L})}return x}()}),c===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:c===l,onClick:function(){function x(){return p("track",{track:l})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:c===f,onClick:function(){function x(){return p("track",{track:f})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:c===u,disabled:!g,onClick:function(){function x(){return p("track",{track:u})}return x}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[c===f&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:v,format:function(){function x(B){var L=Math.sign(B)>0?"+":"-";return L+Math.abs(B)}return x}(),onDrag:function(){function x(B,L){return p("tdir",{tdir:L})}return x}()}),c===l&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),c===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return y}()},38096:function(I,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.SpawnersMenu=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:l.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:f.name+" ("+f.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function u(){return p("jump",{ID:f.uids})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function u(){return p("spawn",{ID:f.uids})}return u}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:f.desc}),!!f.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:f.fluff}),!!f.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:f.important_info})]},f.name)})})})})}return y}()},7957:function(I,r,n){"use strict";r.__esModule=!0,r.SpiderOS=r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),d=n(98595);function y(m,c){m.prototype=Object.create(c.prototype),m.prototype.constructor=m,V(m,c)}function V(m,c){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,b){return v.__proto__=b,v},V(m,c)}var k=r.SpiderOS=function(){function m(c,v){var b=(0,a.useBackend)(v),g=b.act,h=b.data,C;return h.suit_tgui_state===0?C=(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:[(0,e.createComponentVNode)(2,t.Flex,{direction:"column",width:"60%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,l)}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2.2,backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,f)})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"40%",height:"190px",grow:1,backgroundColor:"rgba(0, 0, 0, 0)",children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p)]})]}):h.suit_tgui_state===1&&(C=(0,e.createComponentVNode)(2,t.Flex,{width:"100%",height:"100%",direction:"column",shrink:1,spacing:1,children:(0,e.createComponentVNode)(2,t.Flex.Item,{backgroundColor:"rgba(0, 0, 0, 0.8)",height:"100%",children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,s,{allMessages:h.current_load_text,finishedTimeout:3e3,current_initialisation_phase:h.current_initialisation_phase,end_terminal:h.end_terminal,onFinished:function(){function N(){return g("set_UI_state",{suit_tgui_state:0})}return N}()})]})})),(0,e.createComponentVNode)(2,d.Window,{width:800,height:630,theme:"spider_clan",children:(0,e.createComponentVNode)(2,d.Window.Content,{children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:C})})})}return m}(),S=function(c,v){var b=(0,a.useBackend)(v),g=b.data,h=g.allStylesPreview,C=g.style_preview_icon_state;return(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043A\u043E\u0441\u0442\u044E\u043C\u0430",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E \u0432\u0438\u0434\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430! \u041D\u0430\u0448\u0438 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0442 \u0432\u0430\u043C \u043F\u043E\u0434\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C \u043F\u043E\u0434 \u0441\u0435\u0431\u044F, \u043F\u0440\u0438 \u044D\u0442\u043E\u043C \u043D\u0435 \u0442\u0435\u0440\u044F\u044F \u043E\u0431\u043E\u0440\u043E\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0430\u0447\u0435\u0441\u0442\u0432. \u041F\u043E\u0442\u043E\u043C\u0443 \u0447\u0442\u043E \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u043E \u043F\u0440\u0438 \u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430, \u0436\u0438\u0437\u043D\u0435\u043D\u043D\u043E \u0432\u0430\u0436\u043D\u043E \u0434\u043B\u044F \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0433\u043E \u0443\u0431\u0438\u0439\u0446\u044B.",tooltipPosition:"bottom-start"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Section,{style:{background:"rgba(4, 74, 27, 0.75)"},mr:10,ml:10,children:(0,e.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+h[C],style:{"margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})})})})},p=function(c,v){var b=(0,a.useBackend)(v),g=b.act,h=b.data,C=h.designs,N=h.design_choice,x=h.scarf_design_choice,B=h.colors,L=h.color_choice,w=h.genders,A=h.preferred_clothes_gender,T=h.suit_state,E=h.preferred_scarf_over_hood,O=h.show_charge_UI,P=h.has_martial_art,R=h.show_concentration_UI,F;T===0?F="\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C":F="\u0414\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C";var j;E===0?j="\u041A\u0430\u043F\u044E\u0448\u043E\u043D":j="\u0428\u0430\u0440\u0444";var W;E===1?W=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C \u0448\u0430\u0440\u0444\u0430",content:(0,e.createComponentVNode)(2,t.Dropdown,{options:C,selected:x,onSelected:function(){function z($){return g("set_scarf_design",{scarf_design_choice:$})}return z}()})}):W=null;var H;return P?H=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0430\u0446\u0438\u044F",content:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{selected:R,width:"78px",textAlign:"left",content:R?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function z(){return g("toggle_ui_concentration")}return z}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u0441\u043A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u043B\u0438 \u0432\u044B \u0434\u043B\u044F \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0431\u043E\u0435\u0432\u043E\u0433\u043E \u0438\u0441\u0441\u043A\u0443\u0441\u0442\u0432\u0430.",tooltipPosition:"top-start"})]})}):H=null,(0,e.createComponentVNode)(2,t.Flex,{direction:"row",grow:1,alignContent:"center",ml:.5,children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,width:"100%",children:[(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:C,selected:N,onSelected:function(){function z($){return g("set_design",{design_choice:$})}return z}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0426\u0432\u0435\u0442",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:L,onSelected:function(){function z($){return g("set_color",{color_choice:$})}return z}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0416\u0435\u043D\u0441\u043A\u0438\u0439/\u041C\u0443\u0436\u0441\u043A\u043E\u0439",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:w,selected:A,onSelected:function(){function z($){return g("set_gender",{preferred_clothes_gender:$})}return z}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0428\u0430\u0440\u0444/\u041A\u0430\u043F\u044E\u0448\u043E\u043D",children:[(0,e.createComponentVNode)(2,t.Button,{className:T===0?"":"Button_disabled",width:"90px",selected:E,disabled:T,textAlign:"left",content:j,onClick:function(){function z(){return g("toggle_scarf")}return z}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:'\u0421 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u043E\u0439 "\u0428\u0430\u0440\u0444" \u0432\u0430\u0448 \u043A\u0430\u043F\u044E\u0448\u043E\u043D \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432\u043E\u043B\u043E\u0441\u044B. \u041D\u043E \u044D\u0442\u043E \u043D\u0435 \u0437\u043D\u0430\u0447\u0438\u0442, \u0447\u0442\u043E \u0432\u0430\u0448\u0430 \u0433\u043E\u043B\u043E\u0432\u0430 \u043D\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u0430! \u0410\u0434\u0430\u043F\u0442\u0438\u0432\u043D\u044B\u0435 \u043D\u0430\u043D\u043E-\u0432\u043E\u043B\u043E\u043A\u043D\u0430 \u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u0432\u0441\u0451 \u0435\u0449\u0451 \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u044E\u0442 \u043D\u0430 \u043F\u043E\u0442\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u0443\u0433\u0440\u043E\u0437\u044B \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u044F \u0432\u0430\u0448\u0443 \u0433\u043E\u043B\u043E\u0432\u0443! \u0423\u0442\u043E\u0447\u043D\u0435\u043D\u0438\u0435: \u043D\u0430\u043D\u043E\u0432\u043E\u043B\u043E\u043A\u043D\u0430 \u0442\u0430\u043A \u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0443 \u0433\u043E\u043B\u043E\u0432\u0443 \u0438 \u043E\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u0433\u043E\u043B\u043E\u0432\u043D\u044B\u0445 \u0443\u0431\u043E\u0440\u043E\u0432 \u0441 \u0446\u0435\u043B\u044C\u044E \u0443\u043C\u0435\u043D\u044C\u0448\u0435\u043D\u0438\u044F \u043F\u043E\u043C\u0435\u0445 \u0432 \u0438\u0445 \u0440\u0430\u0431\u043E\u0442\u0435.',tooltipPosition:"top-start"})]}),W,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0430\u0440\u044F\u0434 \u043A\u043E\u0441\u0442\u044E\u043C\u0430",children:[(0,e.createComponentVNode)(2,t.Button,{selected:O,width:"90px",textAlign:"left",content:O?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function z(){return g("toggle_ui_charge")}return z}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u0437\u0430\u0440\u044F\u0434 \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430.",tooltipPosition:"top-start"})]}),H]})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_"+L,success:0,danger:0,mt:-1.2,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{width:"80%",icon:"power-off",mt:.5,textAlign:"center",content:F,tooltip:"\u041F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044E \u0432\u0441\u0435\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0432 \u043D\u0451\u043C \u0437\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445. \n\u0423\u0447\u0442\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0441\u0442\u0438 \u043B\u044E\u0431\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438, \u043A\u043E\u0433\u0434\u0430 \u043A\u043E\u0441\u0442\u044E\u043C \u0431\u0443\u0434\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u044B\u0439 \u043A\u043E\u0441\u0442\u044E\u043C \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E \u043F\u043E\u0442\u0440\u0435\u0431\u043B\u044F\u0435\u0442 \u0437\u0430\u0440\u044F\u0434 \u0434\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0440\u0430\u0431\u043E\u0442\u044B \u0432\u0441\u0435\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0438 \u043C\u043E\u0434\u0443\u043B\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u043A\u043E\u0441\u0442\u044E\u043C \u043D\u0435\u043B\u044C\u0437\u044F \u0441\u043D\u044F\u0442\u044C \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C, \u043F\u043E\u043A\u0430 \u043E\u043D \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D. \n\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0440\u043E\u0432\u043D\u043E \u043A\u0430\u043A \u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u043C\u043D\u043E\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438. \u041F\u043E\u0434\u0443\u043C\u0430\u0439\u0442\u0435 \u0434\u0432\u0430\u0436\u0434\u044B \u043F\u0440\u0435\u0436\u0434\u0435, \u0447\u0435\u043C \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0435\u0433\u043E \u043D\u0430 \u0442\u0435\u0440\u0440\u0438\u0442\u043E\u0440\u0438\u0438 \u0432\u0440\u0430\u0433\u0430!",tooltipPosition:"top-start",onClick:function(){function z(){return g("initialise_suit")}return z}()})})]})})},i=function(c,v){var b=(0,a.useBackend)(v),g=b.data,h=g.allActionsPreview;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043E\u0432\u0435\u0442\u044B \u0438 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041C\u043E\u043B\u043E\u0434\u044B\u043C \u0443\u0431\u0438\u0439\u0446\u0430\u043C \u0447\u0430\u0441\u0442\u043E \u043D\u0435 \u043B\u0435\u0433\u043A\u043E \u043E\u0441\u0432\u043E\u0438\u0442\u0441\u044F \u0432 \u043F\u043E\u043B\u0435\u0432\u044B\u0445 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445, \u0434\u0430\u0436\u0435 \u043F\u043E\u0441\u043B\u0435 \u0438\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u044B\u0445 \u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u043E\u043A. \n\u042D\u0442\u043E\u0442 \u0440\u0430\u0437\u0434\u0435\u043B \u043F\u0440\u0438\u0437\u0432\u0430\u043D \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C \u0441\u043E\u0432\u0435\u0442\u0430\u043C\u0438 \u043F\u043E \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u043C \u0447\u0430\u0441\u0442\u043E \u0432\u043E\u0437\u043D\u0438\u043A\u0430\u044E\u0449\u0438\u043C \u0432\u043E\u043F\u0440\u043E\u0441\u0430\u043C \u043A\u0430\u0441\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0445 \u043C\u0438\u0441\u0441\u0438\u0439 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0432\u0430\u043C \u0432\u044B\u0434\u0430\u0434\u0443\u0442 \u0438\u043B\u0438 \u0440\u0430\u0441\u0441\u043A\u0430\u0437\u0430\u0442\u044C \u043E \u043C\u0430\u043B\u043E\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u043A\u043E\u0442\u043E\u0440\u0443\u044E \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043E\u0431\u0435\u0440\u043D\u0443\u0442\u044C \u0432 \u0441\u0432\u043E\u044E \u043F\u043E\u043B\u044C\u0437\u0443.",tooltipPosition:"bottom-start"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_teleport,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u0438 \u0448\u0430\u0442\u0442\u043B",content:"\u0412 \u0432\u0430\u0448\u0435\u043C \u0414\u043E\u0434\u0437\u0451 \u0435\u0441\u0442\u044C \u043B\u0438\u0447\u043D\u044B\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0434\u043B\u044F \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u0438 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0422\u043E\u0447\u043A\u0430 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u0430\u044F, \u043D\u043E \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442 \u0438\u0434\u0451\u0442 \u043D\u0430 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0442\u043E\u043D\u043D\u0435\u043B\u0438 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0438\u043B\u0438 \u043C\u0430\u043B\u043E\u043F\u043E\u0441\u0435\u0449\u0430\u0435\u043C\u044B\u0435 \u043C\u0435\u0441\u0442\u0430. \n\u042D\u0442\u043E \u043E\u0442\u043B\u0438\u0447\u043D\u044B\u0439 \u0441\u043F\u043E\u0441\u043E\u0431 \u0431\u044B\u0441\u0442\u0440\u043E \u043F\u0440\u0438\u0441\u0442\u0443\u043F\u0438\u0442\u044C \u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \n\u041F\u043E\u043B\u044C\u0437\u0443\u044F\u0441\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u043C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440\u043E\u043C \u0448\u0430\u0442\u0442\u043B\u0430, \u0432\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u0438\u0437\u0432\u0430\u0442\u044C \u0435\u0433\u043E \u043A \u0441\u0435\u0431\u0435 \u0438 \u0432\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430\u0437\u0430\u0434. \n\u0422\u0430\u043A \u0436\u0435 \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u0435\u0441\u043B\u0438 \u0432\u044B \u0440\u0435\u0448\u0438\u0442\u0435 \u043F\u043E\u043B\u0435\u0442\u0435\u0442\u044C \u043D\u0430 \u0448\u0430\u0442\u0442\u043B\u0435, \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C \u0432\u0430\u043C, \u0447\u0442\u043E \u0432\u043E \u0438\u0437\u0431\u0435\u0436\u0430\u043D\u0438\u0435 \u0432\u0430\u0448\u0435\u0433\u043E \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043A\u0440\u0430\u0436\u0438 \u0448\u0430\u0442\u0442\u043B\u0430 \u0438 \u043F\u043E\u043F\u0430\u0434\u0430\u043D\u0438\u044F \u043D\u0430 \u0432\u0430\u0448\u0443 \u0431\u0430\u0437\u0443 \u043F\u043E\u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0438\u0445 \u043B\u0438\u0446, \u043E\u0442\u043B\u0438\u0447\u043D\u043E\u0439 \u043F\u0440\u0430\u043A\u0442\u0438\u043A\u043E\u0439 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0437\u0432\u0430\u0442\u044C \u0435\u0433\u043E.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.headset_green,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0430\u0448 \u043D\u0430\u0443\u0448\u043D\u0438\u043A",content:"\u0412 \u043E\u0442\u043B\u0438\u0447\u0438\u0438 \u043E\u0442 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0445 \u043D\u0430\u0443\u0448\u043D\u0438\u043A\u043E\u0432 \u0431\u043E\u043B\u044C\u0448\u0438\u043D\u0441\u0442\u0432\u0430 \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0446\u0438\u0439, \u043D\u0430\u0448 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0441\u043E\u0437\u0434\u0430\u043D \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u043E \u0434\u043B\u044F \u043F\u043E\u043C\u043E\u0449\u0438 \u0432 \u0432\u0430\u0448\u0435\u043C \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0438. \u0412 \u043D\u0435\u0433\u043E \u0432\u0441\u0442\u0440\u043E\u0435\u043D \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u043A\u0430\u043D\u0430\u043B \u0434\u043B\u044F \u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0441 \u0432\u0430\u0448\u0438\u043C \u0431\u043E\u0440\u0433\u043E\u043C \u0438\u043B\u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u0447\u043B\u0435\u043D\u0430\u043C\u0438 \u043A\u043B\u0430\u043D\u0430. \n\u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u043E\u043D \u0441\u043F\u043E\u0441\u043E\u0431\u0435\u043D \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043B\u044E\u0431\u044B\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043D\u0430\u0443\u0448\u043D\u0438\u043A\u0438 \u0438 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043B\u0443\u0448\u043A\u0438 \u0438/\u0438\u043B\u0438 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430 \u043A\u0430\u043D\u0430\u043B\u044B \u0438\u0445 \u043A\u043B\u044E\u0447\u0435\u0439. \u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u044F \u044D\u0442\u043E\u043C\u0443 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0441\u0442\u0435\u043F\u0435\u043D\u043D\u043E \u043D\u0430\u043A\u0430\u043F\u043B\u0438\u0432\u0430\u0442\u044C \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0435 \u0432\u0430\u043C \u043C\u0435\u0441\u0442\u043D\u044B\u0435 \u043A\u0430\u043D\u0430\u043B\u044B \u0441\u0432\u044F\u0437\u0438 \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043B\u044E\u0431\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u0430\u0448 \u043D\u0430\u0443\u0448\u043D\u0438\u043A \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438- \u0447\u0435\u0441\u043A\u0438 \u0443\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442 \u0438 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u0442 \u0431\u0438\u043D\u0430\u0440\u043D\u044B\u0435 \u0441\u0438\u0433\u043D\u0430\u043B\u044B \u0433\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u0435\u043C\u044B\u0435 \u0441\u0438\u043D\u0442\u0435\u0442\u0438\u043A\u0430\u043C\u0438 \u043F\u0440\u0438 \u043E\u0431\u0449\u0435\u043D\u0438\u0438 \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043E\u043C. \u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044F \u0432\u0430\u043C \u0441\u0430\u043C\u0438\u043C \u043E\u0431\u0449\u0430\u0442\u044C\u0441\u044F \u0441 \u043D\u0438\u043C\u0438.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_sleeper,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0445\u0438\u0449\u0435\u043D\u0438\u0435 \u044D\u043A\u0438\u043F\u0430\u0436\u0430",content:"\u041F\u043E\u0440\u043E\u0439 \u043A\u043B\u0430\u043D\u0443 \u043D\u0443\u0436\u043D\u044B \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043A\u043E\u0442\u043E\u0440\u044B\u043C\u0438 \u043C\u043E\u0433\u0443\u0442 \u043E\u0431\u043B\u0430\u0434\u0430\u0442\u044C \u043B\u044E\u0434\u0438 \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0449\u0438\u0435 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0435 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0412 \u0442\u0430\u043A\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0432\u0430\u043C \u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0441\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u043E\u0441\u043E\u0431\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u0443\u0436\u043E\u0433\u043E \u0440\u0430\u0437\u0443\u043C\u0430. \u0414\u0430\u0436\u0435 \u0435\u0441\u043B\u0438 \u0432\u0430\u043C \u043D\u0435 \u0443\u0434\u0430\u0441\u0442\u0441\u044F \u043D\u0430\u0439\u0442\u0438 \u043E\u0431\u043B\u0430\u0434\u0430\u044E\u0449\u0435\u0433\u043E \u0432\u0441\u0435\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439 \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430, \u043C\u043E\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0431\u0440\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043F\u043E \u043A\u0440\u0443\u043F\u0438\u0446\u0430\u043C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u044F \u043F\u043E\u0445\u0438\u0449\u0430\u0442\u044C \u043B\u044E\u0434\u0435\u0439. \n\u0414\u043B\u044F \u0442\u043E\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u043E\u0445\u0438- \u0442\u0438\u0442\u044C \u043B\u044E\u0434\u0435\u0439. \u0423 \u0432\u0430\u0441 \u043D\u0430 \u0448\u0430\u0442\u0442\u043B\u0435 \u0435\u0441\u0442\u044C \u0441\u043A\u0430\u0444\u0430\u043D\u0434\u0440\u044B, \u0430 \u043D\u0430 \u0431\u0430\u0437\u0435 \u0437\u0430\u043F\u0430\u0441 \u043D\u0430- \u0440\u0443\u0447\u043D\u0438\u043A\u043E\u0432, \u043A\u0438\u0441\u043B\u043E\u0440\u043E\u0434\u0430 \u0438 \u0431\u0430\u043B\u043B\u043E- \u043D\u043E\u0432. \n\u0422\u0430\u043A \u0436\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u044B \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0432 \u043B\u044E\u0434\u0435\u0439 \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0438\u043C\u043F\u0443\u043B\u044C\u0441, \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u0441\u0442\u0430\u043D\u044F \u0438\u0445 \u043D\u0430 \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0435 \u0432\u0440\u0435\u043C\u044F. ",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ai_face,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0418\u0418",content:"\u0418\u043D\u043E\u0433\u0434\u0430 \u0443 \u043D\u0430\u0441 \u0437\u0430\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0442 \u0441\u0430\u0431\u043E- \u0442\u0430\u0436 \u0418\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0430 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438. \u042D\u0442\u043E \u043F\u0440\u043E- \u0446\u0435\u0441\u0441 \u0441\u043B\u043E\u0436\u043D\u044B\u0439 \u0438 \u0442\u0440\u0435\u0431\u0443\u044E\u0449\u0438\u0439 \u043E\u0442 \u043D\u0430\u0441 \u043E\u0441\u043D\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u043F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u043A\u0438. \n\u041F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u0435\u043C\u044B\u0439 \u043A\u043B\u0430\u043D\u043E\u043C \u043C\u0435\u0442\u043E\u0434 \u044D\u0442\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u044F\u0437\u0432\u0438\u043C\u043E\u0441\u0442\u0438 \u043F\u0440\u044F\u043C\u043E \u0432 \u0437\u0430\u0433\u0440\u0443\u0437\u043E\u0447\u043D\u043E\u0439 \u0434\u043B\u044F \u0437\u0430\u043A\u043E\u043D\u043E\u0432 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0449\u0435\u0439 \u0432\u044B\u0432\u0435\u0441\u0442\u0438 \u0418\u0418 \u0438\u0437 \u0441\u0442\u0440\u043E\u044F. \u0412 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0435 \u0442\u0430\u043A\u043E\u0433\u043E \u043C\u0435\u0442\u043E\u0434\u0430 \u043C\u044B \u043C\u043E\u0436\u0435\u043C \u043B\u0435\u0433\u043A\u043E \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0418\u0418 \u0430\u0431\u0441\u0443\u0440\u0434\u043D\u044B\u043C\u0438 \u0437\u0430\u043A\u043E\u043D\u0430\u043C\u0438, \u043D\u043E \u044D\u0442\u043E \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043D\u0430\u0441 \u0432 \u0442\u043E\u043C \u043F\u043B\u0430\u043D\u0435, \u0447\u0442\u043E \u0434\u043B\u044F \u0432\u0437\u043B\u043E\u043C\u0430 \u0432 \u0438\u0442\u043E\u0433\u0435 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043E\u043D\u0441\u043E\u043B\u0438 \u0432 \u0441\u0430\u043C\u043E\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043E\u0447\u043D\u043E\u0439. \u0422\u0430\u043A \u0436\u0435 \u0432\u0437\u043B\u043E\u043C \u0437\u0430\u0434\u0430\u0447\u0430 \u043D\u0435\u043B\u0451\u0433\u043A\u0430\u044F - \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0449\u0438\u0442\u044B \u0435\u0441\u0442\u044C \u0432\u0435\u0437\u0434\u0435. \u0410 \u043F\u0440\u043E\u0446\u0435\u0441\u0441 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0440\u0435\u043C\u044F. \u041D\u0435 \u0443\u0434\u0438\u0432\u043B\u044F\u0439\u0442\u0435\u0441\u044C \u0435\u0441\u043B\u0438 \u0418\u0418 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0442\u0438\u0432\u043E\u0434\u0435\u0439\u0441\u0442- \u0432\u043E\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0438\u043C \u043F\u043E\u043F\u044B\u0442\u043A\u0430\u043C \u0435\u0433\u043E \u0441\u043B\u043E\u043C\u0430\u0442\u044C.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_borg,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0440\u043E\u0431\u043E\u0442\u043E\u0432",content:'\u0418\u043D\u043E\u0433\u0434\u0430 \u043E\u0446\u0435\u043D\u0438\u0432\u0430\u044F \u0432\u0430\u0448\u0438 \u0448\u0430\u043D\u0441\u044B \u043D\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043C\u0438\u0441\u0441\u0438\u0438 \u0434\u043B\u044F \u0438\u0445 \u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u044F \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445, \u0447\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442 \u0440\u043E\u0431\u043E\u0442\u043E\u0432 \u0434\u043B\u044F \u0441\u0432\u043E\u0438\u0445 \u0446\u0435\u043B\u0435\u0439, \u043C\u044B \u0434\u0430\u0451\u043C \u0432\u0430\u043C \u043E\u0441\u043E\u0431\u044B\u0439 "\u0423\u043B\u0443\u0447\u0448\u0430\u044E\u0449\u0438\u0439" \u0438\u0445 \u043F\u0440\u0438\u0431\u043E\u0440, \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0439 \u0432 \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438. \n\u041F\u0440\u0438 \u0432\u0437\u043B\u043E\u043C\u0435 \u043A\u0438\u0431\u043E\u0440\u0433\u0430 \u0442\u0430\u043A\u0438\u043C \u043F\u0440\u0438\u0431\u043E\u0440\u043E\u043C(\u0412\u0437\u043B\u043E\u043C \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0440\u0435\u043C\u044F) \u0432\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u043B\u043E\u044F\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043B\u0430\u043D\u0443 \u0438 \u0432\u0430\u043C \u043B\u0438\u0447\u043D\u043E \u0441\u043B\u0443\u0433\u0443 \u0441\u043F\u043E\u0441\u043E\u0431- \u043D\u043E\u0433\u043E \u043D\u0430 \u043E\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u043F\u043E\u043C\u043E\u0449\u0438 \u043A\u0430\u043A \u0432 \u0441\u0430\u0431\u043E\u0442\u0430\u0436\u0435 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0442\u0430\u043A \u0438 \u0432 \u0432\u0430\u0448\u0435\u043C \u043B\u0435\u0447\u0435\u043D\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0440\u043E\u0431\u043E\u0442 \u0431\u0443\u0434\u0435\u0442 \u043E\u0441\u043D\u0430\u0449\u0451\u043D \u043B\u0438\u0447\u043D\u043E\u0439 \u043A\u0430\u0442\u0430\u043D\u043E\u0439, \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u043C \u043C\u0430\u0441\u043A\u0438\u0440\u043E\u0432\u043A\u0438, \u043F\u0438\u043D\u043F\u043E\u0438\u043D\u0442\u0435\u0440\u043E\u043C \u0443\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0438\u043C \u0435\u043C\u0443 \u043D\u0430 \u0432\u0430\u0441 \u0438 \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u043E\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u0441\u044E\u0440\u0438\u043A\u0435\u043D\u043E\u0432. \u041F\u043E\u043C\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u043A\u0430\u0442\u0430\u043D\u0430 \u0440\u043E\u0431\u043E\u0442\u0430 \u043D\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u0430 \u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0438\u0442\u044C \u0435\u0433\u043E \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0442\u0440\u0430\u043D\u0441\u043B\u043E\u043A\u0430\u0446\u0438\u044E!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.server,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0439",content:"\u041D\u0430 \u043D\u0430\u0443\u0447\u043D\u044B\u0445 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445 \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044C \u0441\u0432\u043E\u044F \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u0443\u0447\u0451\u043D\u044B\u0445 \u0438 \u043C\u043D\u043E- \u0436\u0435\u0441\u0442\u0432\u043E \u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u0440\u0438\u0445\u043E- \u0434\u0438\u0442\u0441\u044F \u0433\u0434\u0435 \u0442\u043E \u0445\u0440\u0430\u043D\u0438\u0442\u044C. \u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0430\u043A\u043E\u0433\u043E \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u043E\u0431\u044B\u0447\u043D\u043E \u0432\u044B\u0441\u0442\u0443- \u043F\u0430\u044E\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0410 \u043A\u0430\u043A \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0446\u0438\u0438 \u0432\u0435\u0447\u043D\u043E \u0433\u0440\u044B\u0437\u0443\u0442\u0441\u044F \u0437\u0430 \u0437\u043D\u0430\u043D\u0438\u044F. \u0427\u0442\u043E \u043D\u0430\u043C \u043D\u0430 \u0440\u0443\u043A\u0443. \n\u041C\u044B \u0440\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u0430\u043B\u0438 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u0432\u0438\u0440\u0443\u0441 \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043F\u0438\u0441\u0430\u043D \u043D\u0430 \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438 \u043F\u0435\u0440\u0435\u0434 \u043C\u0438\u0441\u0441\u0438\u0435\u0439 \u0442\u0430\u043A\u043E\u0433\u043E \u0440\u043E\u0434\u0430. \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u043B\u0438\u0448\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0435\u0433\u043E \u043D\u0430\u043F\u0440\u044F\u043C\u0443\u044E \u043D\u0430 \u0438\u0445 \u043D\u0430\u0443\u0447\u043D\u044B\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0432\u0441\u0435 \u0438\u0445 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u044F \u0431\u0443\u0434\u0443\u0442 \u0443\u0442\u0435\u0440\u044F\u043D\u044B. \n\u041D\u043E \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u0432\u0438\u0440\u0443\u0441\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u0440\u0435\u043C\u0435\u043D\u0438, \u0438 \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0449\u0438\u0442\u044B \u043C\u043D\u043E\u0433\u0438\u0445 \u043E\u0431\u044C\u0435\u043A\u0442\u043E\u0432 \u043D\u0435 \u0434\u0440\u0435\u043C\u043B\u044E\u0442. \u0421\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u043E \u0432\u0430\u0448\u0435\u0439 \u043F\u043E\u043F\u044B\u0442\u043A\u0435 \u0432\u0437\u043B\u043E\u043C\u0430 \u0431\u0443\u0434\u0435\u0442 \u043E\u043F\u043E\u0432\u0435\u0449\u0451\u043D \u043C\u0435\u0441\u0442\u043D\u044B\u0439 \u0418\u0418. \u0411\u0443\u0434\u044C\u0442\u0435 \u0433\u043E\u0442\u043E\u0432\u044B \u043A \u044D\u0442\u043E\u043C\u0443.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.buckler,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0417\u0430\u0449\u0438\u0442\u0430 \u0446\u0435\u043B\u0438",content:'\u0418\u043D\u043E\u0433\u0434\u0430 \u0431\u043E\u0433\u0430\u0442\u044B\u0435 \u0448\u0438\u0448\u043A\u0438 \u043F\u043B\u0430\u0442\u044F\u0442 \u0437\u0430 \u0443\u0441\u043B\u0443\u0433\u0438 \u0437\u0430\u0449\u0438\u0442\u044B \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u0433\u043E \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430. \u0415\u0441\u043B\u0438 \u0432\u0430\u043C \u0434\u043E\u0441\u0442\u0430\u043B\u0430\u0441\u044C \u0442\u0430\u043A\u0430\u044F \u0446\u0435\u043B\u044C \u043F\u043E\u043C\u043D\u0438\u0442\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435: \n * \u0417\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u044B\u0439 \u043E\u0431\u044F\u0437\u0430\u043D \u0434\u043E\u0436\u0438\u0442\u044C \u0434\u043E \u043A\u043E\u043D\u0446\u0430 \u0441\u043C\u0435\u043D\u044B! \n * \u0421\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u044B\u0439 \u043D\u0435 \u0437\u043D\u0430\u0435\u0442 \u043E \u0432\u0430\u0448\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0435. \u0418 \u043B\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043E \u0447\u0442\u043E\u0431\u044B \u043E\u043D \u0438 \u0434\u0430\u043B\u044C\u0448\u0435 \u043D\u0435 \u0437\u043D\u0430\u043B! \n * \u041D\u0435 \u0432\u0430\u0436\u043D\u043E \u043A\u0442\u043E \u0438\u043B\u0438 \u0447\u0442\u043E \u043E\u0445\u043E\u0442\u0438\u0442\u0441\u044F \u043D\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043E\u0434\u0437\u0430\u0449\u0438\u0442\u043D\u043E\u0433\u043E, \u043D\u043E \u0434\u043B\u044F \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u0433\u0434\u0435 \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442 \u043C\u0438\u0441\u0441\u0438\u044F \u0432\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u043D\u0435\u0436\u0435\u043B\u0430\u043D\u043D\u043E\u0435 \u043B\u0438\u0446\u043E. \u041D\u0435 \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435 \u0441\u0435\u0431\u044F \u0431\u0435\u0437 \u043D\u0443\u0436\u0434\u044B, \u0447\u0442\u043E\u0431\u044B \u0443\u043F\u0440\u043E\u0441\u0442\u0438\u0442\u044C \u0441\u0435\u0431\u0435 \u0436\u0435 \u0440\u0430\u0431\u043E\u0442\u0443 \u0438 \u043D\u0430 \u0432\u0430\u0441 \u0441\u0430\u043C\u0438\u0445 \u043D\u0435 \u0432\u0435\u043B\u0438 \u043E\u0445\u043E\u0442\u0443! \n\u0422\u0430\u043A \u0436\u0435 \u043C\u044B \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u043A\u043B\u0430\u043D \u043D\u0435 \u043E\u0434\u043E\u0431\u0440\u044F\u0435\u0442 \u0432\u0430\u0440\u0432\u0430\u0440\u0441\u043A\u0438\u0435 \u043C\u0435\u0442\u043E\u0434\u044B "\u0417\u0430\u0449\u0438\u0442\u044B" \u0446\u0435\u043B\u0438. \u041D\u0435\u0442 \u0432\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0441\u0430\u0434\u0438\u0442\u044C \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0432 \u043A\u043B\u0435\u0442\u043A\u0443 \u0438 \u0441\u043B\u0435\u0434\u0438\u0442\u044C \u0437\u0430 \u043D\u0438\u043C \u0442\u0430\u043C! \u041D\u0435 \u043F\u043E\u0440\u0442\u0438\u0442\u0435 \u043D\u0430\u0448\u0443 \u0440\u0435\u043F\u0443\u0442\u0430\u0446\u0438\u044E \u0432 \u0433\u043B\u0430\u0437\u0430\u0445 \u043D\u0430\u0448\u0438\u0445 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.cash,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041A\u0440\u0430\u0436\u0430 \u0434\u0435\u043D\u0435\u0433",content:"\u041A\u0430\u043A \u0431\u044B \u044D\u0442\u043E \u043D\u0435 \u0431\u044B\u043B\u043E \u0442\u0440\u0438\u0432\u0438\u0430\u043B\u044C\u043D\u043E. \u0418\u043D\u043E\u0433\u0434\u0430 \u043A\u043B\u0430\u043D \u043D\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044F \u0432 \u0434\u0435\u043D\u044C- \u0433\u0430\u0445. \u0418\u043B\u0438 \u0434\u0430\u0436\u0435 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u0432\u044B \u0437\u0430\u0434\u043E\u043B\u0436\u0430\u043B\u0438 \u043D\u0430\u043C. \u0412 \u0442\u0430\u043A\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435 \u043C\u044B \u0441\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u0434\u0430\u0434\u0438\u043C \u0432\u0430\u043C \u0437\u0430\u0434\u0430\u0447\u0443 \u0434\u043E\u0441\u0442\u0430\u0442\u044C \u0434\u043B\u044F \u043D\u0430\u0441 \u044D\u0442\u0438 \u0434\u0435\u043D\u044C\u0433\u0438 \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \n\u0414\u043B\u044F \u0432\u0430\u0441 \u044D\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043D\u0435 \u0442\u0440\u0443\u0434\u043D\u0430\u044F, \u043D\u043E \u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0442\u0440\u0430\u0442\u043D\u0430\u044F. \u041F\u043E\u043C\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u043D\u0430\u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u0432 \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0435 \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u044B\u0445 \u043A\u0430\u0440\u043C\u0430\u043D\u043D\u044B\u0445 \u043A\u0440\u0430\u0436. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u044D\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0434\u043B\u044F \u043A\u0440\u0430\u0436\u0438 \u0447\u0443\u0436\u0438\u0445 \u043A\u0430\u0440\u0442 \u0438 \u043E\u0431\u043D\u0430\u043B\u0438\u0447\u0438- \u0432\u0430\u043D\u0438\u044F \u0438\u0445 \u0441\u0447\u0435\u0442\u043E\u0432. \u041B\u0438\u0431\u043E \u043C\u043E\u0436\u0435\u0442\u0435 \u043C\u0435\u0442\u0438\u0442\u044C \u0432\u044B\u0448\u0435 \u0438 \u043E\u0433\u0440\u0430\u0431\u0438\u0442\u044C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u0438\u043B\u0438 \u0441\u0447\u0435\u0442\u0430 \u0441\u0430\u043C\u043E\u0433\u043E \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0421\u0430\u043C\u043E\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0435. \u0414\u043E\u0441\u0442\u0430\u043D\u044C\u0442\u0435 \u044D\u0442\u0438 \u0434\u0435\u043D\u044C\u0433\u0438!",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.handcuff,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430",content:"\u0412 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044F\u0445 \u0447\u0443\u0436\u043E\u0439 \u043F\u043E\u0437\u043E\u0440 \u0434\u043B\u044F \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432 \u0433\u043E\u0440\u0430\u0437\u0434\u043E \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u043D\u0435\u0435 \u0447\u0435\u043C \u0441\u043C\u0435\u0440\u0442\u044C. \u0412 \u0442\u0430\u043A\u0438\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445 \u0432\u0430\u043C \u043F\u0440\u0438\u0439\u0434\u0451\u0442\u0441\u044F \u043F\u0440\u043E\u044F\u0432\u0438\u0442\u044C \u043A\u0440\u0435\u0430\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u044C \u0438 \u0434\u043E\u0431\u0438\u0442\u044C\u0441\u044F \u0442\u043E\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u0432\u0430\u0448\u0443 \u0436\u0435\u0440\u0442\u0432\u0443 \u043F\u043E \u0437\u0430\u043A\u043E\u043D\u043D\u044B\u043C \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u044F\u043C \u0443\u043F\u0435\u043A\u043B\u0438 \u0437\u0430 \u0440\u0435\u0448\u0451\u0442\u043A\u0443 \u0421\u0430\u043C\u043E\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0435 \u0447\u0442\u043E\u0431\u044B \u0432 \u043A\u0440\u0438\u043C\u0438\u043D\u0430\u043B\u044C\u043D\u043E\u0439 \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0446\u0435\u043B\u0438 \u043E\u0441\u0442\u0430\u043B\u0441\u044F \u0441\u043B\u0435\u0434. \u041D\u043E \u0432 \u0442\u043E \u0436\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u0442\u043E \u043F\u0440\u0438\u0439\u0442\u0438 \u0438 \u0432\u043F\u0438\u0441\u0430\u0442\u044C \u0446\u0435\u043B\u0438 \u0441\u0440\u043E\u043A \u0432 \u043A\u043E\u043D\u0441\u043E\u043B\u0438 - \u043D\u0435 \u0440\u0430\u0431\u043E\u0447\u0438\u0439 \u043C\u0435\u0442\u043E\u0434. \u0426\u0435\u043B\u044C \u043B\u0435\u0433\u043A\u043E \u043E\u043F\u0440\u0430\u0432\u0434\u0430\u044E\u0442 \u0432 \u0441\u0443\u0434\u0435, \u0447\u0442\u043E \u043D\u0435 \u0443\u0441\u0442\u0440\u043E\u0438\u0442 \u043A\u043B\u0438\u0435\u043D\u0442\u0430. \n \u0423 \u0432\u0430\u0441 \u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043F\u0440\u0435\u0441\u0442\u0443\u043F\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0434 \u043B\u0438\u0447\u0438\u043D\u043E\u0439 \u0446\u0435\u043B\u0438. \u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043F\u043E\u0441\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044C \u043E\u0431\u043E\u0439\u0442\u0438\u0441\u044C \u0431\u0435\u0437 \u0441\u043B\u0438\u0448- \u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u043F\u043E\u0441\u043B\u0435\u0434\u0441\u0442\u0432\u0438\u0439. \u041B\u0438\u0448\u043D\u044F\u044F \u0434\u044B\u0440\u0430 \u0432 \u043E\u0431\u0448\u0438\u0432\u043A\u0435 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0438\u043B\u0438 \u0442\u0440\u0443\u043F\u044B - \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u044E\u0442 \u0448\u0430\u043D\u0441\u044B \u043F\u0440\u043E\u0432\u0430\u043B\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.spider_charge,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0434\u0440\u044B\u0432 \u043E\u0442\u0434\u0435\u043B\u0430",content:"\u0421\u0442\u0430\u0440\u044B\u0435 \u0434\u043E\u0431\u0440\u044B\u0435 \u0431\u043E\u043C\u0431\u044B. \u042D\u0444\u0444\u0435\u043A- \u0442\u0438\u0432\u043D\u044B\u0435 \u043E\u0440\u0443\u0434\u0438\u044F \u0443\u043D\u0438\u0447\u0442\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0441\u0435\u0433\u043E \u0436\u0438\u0432\u043E\u0433\u043E \u0438 \u043D\u0435\u0436\u0438\u0432\u043E\u0433\u043E \u0432 \u0431\u043E\u043B\u044C\u0448\u043E\u043C \u0440\u0430\u0434\u0438\u0443\u0441\u0435. \u041A\u043E\u0433\u0434\u0430 \u043A\u043B\u0438\u0435\u043D\u0442\u044B \u043F\u0440\u043E\u0441\u044F\u0442 \u043F\u043E\u0434\u043E\u0440\u0432\u0430\u0442\u044C \u043E\u0431\u044C\u0435\u043A\u0442, \u043E\u043D\u0438 \u0447\u0430\u0441\u0442\u043E \u043D\u0435 \u0437\u043D\u0430\u044E\u0442 \u043D\u0430\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0434\u043E\u0440\u043E\u0433\u043E \u0441\u0442\u043E\u0438\u0442 \u0442\u0430\u043A\u0430\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F. \u041D\u043E \u0440\u0435\u0434\u043A\u043E \u0433\u043E\u0442\u043E\u0432\u044B \u0441\u0434\u0430\u0442\u044C\u0441\u044F. \u041A\u0430\u043A \u0440\u0430\u0437 \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u043C\u043D\u043E\u0433\u0438\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u043D\u044B \u043D\u0430 \u043F\u043E\u0434\u0440\u044B\u0432 \u043E\u0434\u043D\u043E\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u0438\u043B\u0438 \u043E\u0442\u0434\u0435\u043B\u0430. \n\u0411\u0443\u0434\u044C\u0442\u0435 \u0433\u043E\u0442\u043E\u0432\u044B \u043A \u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u043F\u043E\u0441\u043B\u0435 \u0432\u0437\u0440\u044B\u0432\u0430 \u043D\u0430 \u0432\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u0442\u0438\u0441\u044C \u043E\u0445\u043E\u0442\u0430. \n \u041D\u0430\u0448\u0438 \u0431\u043E\u043C\u0431\u044B \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u043E \u0438\u0437\u0433\u043E\u0442\u043E\u0432\u043B\u0435\u043D\u044B \u0441 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0442\u0435\u043B\u044F\u043C\u0438. \u041D\u0438\u043A\u0442\u043E \u043A\u0440\u043E\u043C\u0435 \u0432\u0430\u0441 \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442 \u0438\u0445 \u043F\u043E\u0434\u043E\u0440\u0432\u0430\u0442\u044C \u0438 \u0434\u0430\u0436\u0435 \u0432\u044B \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445 \u043B\u0438\u0448\u044C \u0432 \u0437\u043E\u043D\u0435 \u0437\u0430\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u043C. \u0421\u043E\u0432\u0435\u0442\u0443\u0435\u043C \u0441\u0440\u0430\u0437\u0443 \u0431\u0435\u0436\u0430\u0442\u044C \u043F\u043E\u0434\u0430\u043B\u044C\u0448\u0435 \u043F\u043E\u0441\u043B\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438. \u0425\u043E\u0442\u044F \u044D\u0442\u043E \u0438 \u0442\u0430\u043A \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0434\u043B\u044F \u0432\u0430\u0441 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u043E.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.BSM,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0410\u043D\u0430\u043B\u0438\u0437 \u043A\u0440\u043E\u0432\u0438",content:'"\u0417\u043D\u0430\u0439 \u0441\u0432\u043E\u0435\u0433\u043E \u0432\u0440\u0430\u0433\u0430" - \u043F\u0440\u043E\u0441\u0442\u0430\u044F \u0438\u0441\u0442\u0438\u043D\u0430. \n\u0417\u0430 \u0433\u043E\u0434\u044B \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u043D\u0430 \u043C\u044B \u0438\u0437\u0443\u0447\u0438\u043B\u0438 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0440\u0430\u0437\u043D\u044B\u0445 \u043E\u043F\u0430\u0441\u043D\u044B\u0445 \u0442\u0432\u0430\u0440\u0435\u0439. \u0418 \u0434\u043E \u0441\u0438\u0445 \u043F\u043E\u0440 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0435\u043C \u0438\u0437\u0443\u0447\u0435\u043D\u0438\u0435 \u043D\u0435\u043A\u043E- \u0442\u043E\u0440\u044B\u0445. \u0410 \u0447\u0442\u043E\u0431\u044B \u0431\u044B\u043B\u043E, \u0447\u0442\u043E \u0438\u0437\u0443\u0447\u0430\u0442\u044C, \u043D\u0443\u0436\u043D\u043E \u0434\u043E\u0431\u044B\u0432\u0430\u0442\u044C \u043E\u0431\u0440\u0430\u0437\u0446\u044B. \u041A\u0440\u043E\u0432\u044C \u043E\u0434\u0438\u043D \u0438\u0437 \u0441\u0430\u043C\u044B\u0445 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u044B\u0445 \u043F\u0440\u0438\u043C\u0435\u0440\u043E\u0432 \u0442\u043E\u0433\u043E, \u0447\u0442\u043E \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043F\u043E\u043B\u0435\u0437\u043D\u043E \u043D\u0430\u0448\u0438\u043C \u0443\u0447\u0451\u043D\u044B\u043C. \n\u0418\u043C\u0435\u044E\u0449\u0430\u044F\u0441\u044F \u0443 \u0432\u0430\u0441 \u043D\u0430 \u0431\u0430\u0437\u0435 \u0446\u0435\u043D\u0442\u0440\u0438\u0444\u0443\u0433\u0430 \u0434\u043B\u044F \u043A\u0440\u043E\u0432\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u0430 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u043F\u0440\u043E\u0430\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0431\u0440\u0430\u0437\u0446\u044B \u043D\u0435 \u043F\u043E\u0432\u0440\u0435\u0434\u0438\u0432 \u0438\u0445 \u0438 \u043F\u0435\u0440\u0435\u0434\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043D\u0430\u043C. \n\u0414\u043B\u044F \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043A\u0440\u043E\u0432\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0441\u043E\u0431\u0440\u0430\u0442\u044C 3 \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0445 \u043E\u0431\u0440\u0430\u0437\u0446\u0430. \u0418 \u043F\u043E\u043C\u0435- \u0441\u0442\u0438\u0442\u044C \u0438\u0445 \u0432 \u043F\u0440\u043E\u0431\u0438\u0440\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u043E\u0442\u043E\u043C \u043D\u0430\u0434\u043E \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E. \n\u041F\u0440\u0438\u043C\u0435\u0441\u0438 \u043F\u0440\u0438\u043D\u044F\u0442\u044B \u043D\u0435 \u0431\u0443\u0434\u0443\u0442!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.changeling,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0413\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u044B",content:"\u0427\u0435\u0440\u0432\u0438 \u0432\u043E\u0437\u043E\u043C\u043D\u0438\u0432\u0448\u0438\u0435 \u0441\u0435\u0431\u044F \u0432\u044B\u0448\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0438\u0434\u043E\u0432 \u043F\u043E\u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u0443\u043C\u0435\u044E\u0442 \u043A\u0440\u0430\u0441\u0442\u044C \u0433\u0435\u043D\u044B \u0438 \u0438\u043C\u0438\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445. \n\u0421\u0432\u043E\u0438\u043C \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043E\u043D\u0438 \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442 \u0433\u043E\u0440\u0430\u0437\u0434\u043E \u0431\u043E\u043B\u044C\u0448\u0435 \u043F\u0440\u043E\u0431- \u043B\u0435\u043C, \u0447\u0435\u043C \u043F\u043E\u043B\u044C\u0437\u044B. \n\u042D\u0442\u0438 \u0442\u0432\u0430\u0440\u0438 \u0441\u0442\u043E\u043B\u044C \u0436\u0435 \u0445\u0438\u0442\u0440\u044B \u0441\u043A\u043E\u043B\u044C \u0438 \u0441\u043A\u0440\u044B\u0442\u043D\u044B. \u041D\u0435 \u0434\u043E\u0433\u043E\u0432\u0430\u0440\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0441 \u043D\u0438\u043C\u0438 \u043D\u0438 \u043E \u0447\u0451\u043C! \n\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0434\u0430\u0436\u0435 \u043D\u0430\u043C \u0441\u043B\u043E\u0436\u043D\u043E \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0442\u044C \u0433\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u0430 \u043D\u0435 \u0437\u0430\u043F\u0438\u0445- \u043D\u0443\u0432 \u0435\u0433\u043E \u0432 \u043B\u0430\u0431\u043E\u0440\u0430\u0442\u043E\u0440\u0438\u044E \u0438 \u043D\u0435 \u043F\u0440\u043E\u0432\u0435\u0434\u044F \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0442\u0435\u0441\u0442\u043E\u0432. \u041D\u043E \u043E\u043D\u0438 \u0438\u043D\u043E\u0433\u0434\u0430 \u0432\u044B\u0434\u0430\u044E\u0442 \u0441\u0435\u0431\u044F \u0441\u0432\u043E\u0438\u043C\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u043C\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u043C\u0438. \u0418 \u0442\u0430\u043A \u0436\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u043B\u043E\u0436\u0430\u0442\u0441\u044F \u043D\u0430 \u0434\u043D\u043E \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438. \u0427\u0442\u043E\u0431\u044B \u0431\u044B\u043B\u043E \u043B\u0435\u0433\u0447\u0435 \u0438\u0445 \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0434\u0430\u0439\u0442\u0435 \u0438\u043C \u043F\u043E\u043F\u043B\u044F\u0441\u0430\u0442\u044C, \u043F\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043C \u0432\u044B\u0445\u043E\u0434\u0438\u0442\u044C \u043D\u0430 \u0441\u0446\u0435\u043D\u0443. \u0418 \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0441\u043B\u0443\u0448\u0430\u0439\u0442\u0435 \u0440\u0430\u0434\u0438\u043E \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0435. \u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u043C\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0445\u0440\u0430\u043D\u0430 \u0443\u0436\u0435 \u043E\u0445\u043E\u0442\u0438\u0442\u0441\u044F \u0437\u0430 \u043E\u0434\u043D\u0438\u043C \u0438\u0437 \u043D\u0438\u0445. \n\u041D\u0438\u043A\u0442\u043E \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0442\u0438\u0432 \u0435\u0441\u043B\u0438 \u0432\u044B \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u043E \u043F\u043E\u043C\u043E\u0436\u0435\u0442\u0435 \u0438\u043C \u0441 \u044D\u0442\u0438\u043C...",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.vampire,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0430\u043C\u043F\u0438\u0440\u044B",content:"\u0414\u0435\u0448\u0451\u0432\u044B\u0435 \u0440\u043E\u043C\u0430\u043D\u044B, \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0438 \u0441\u043A\u0430\u0437\u043A\u0438 \u043F\u0440\u043E\u0448\u043B\u043E\u0433\u043E \u043E\u043F\u0438\u0441\u044B\u0432\u0430\u043B\u0438 \u0432\u0430\u043C\u043F\u0438\u0440\u043E\u0432 \u043A\u0430\u043A \u0445\u0438\u0449\u043D\u0438\u043A\u043E\u0432 \u043F\u044C\u044E\u0449\u0438\u0445 \u043A\u0440\u043E\u0432\u044C \u043B\u044E\u0434\u0435\u0439 \u0432 \u043D\u043E\u0447\u0438 \u0438 \u043E\u0431\u043B\u0430\u0434\u0430\u044E- \u0449\u0438\u0445 \u043C\u0430\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u043C\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E- \u0441\u0442\u044F\u043C\u0438. \u0418\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043C\u0435\u043D\u0435\u0435 \u0440\u043E\u043C\u0430\u043D\u0442\u0438\u0447\u043D\u044B... \n\u041C\u044B \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u0438\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435, \u043D\u043E \u043D\u0430\u0448\u0438 \u043F\u043E\u0434\u043E\u0437\u0440\u0435- \u043D\u0438\u044F \u043F\u0430\u0434\u0430\u044E\u0442 \u043D\u0430 \u0432\u043B\u0438\u044F\u043D\u0438\u0435 \u043D\u0435\u043A\u043E\u0439 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438. \u0422\u0430\u043A \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435, \u0434\u043E \u0442\u0435\u0445 \u043F\u043E\u0440 \u043F\u043E\u043A\u0430 \u0432\u0430\u043C\u043F\u0438\u0440 \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438 \u0438\u043B\u0438 \u0443\u0433\u0440\u043E\u0436\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u0439 \u0436\u0438\u0437\u043D\u0438. \u0412\u044B \u0432\u043E\u043B\u044C\u043D\u044B \u0435\u0433\u043E \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C. \n\u0412\u0430\u043C\u043F\u0438\u0440\u044B \u043E\u0447\u0435\u043D\u044C \u043E\u043F\u0430\u0441\u043D\u044B \u0432 \u043F\u0440\u044F\u043C\u043E\u043C \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u0438, \u043E\u043D\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u044B \u043E\u0433\u043B\u0443\u0448\u0430\u0442\u044C \u0432\u0437\u0433\u043B\u044F\u0434\u043E\u043C \u0438 \u043F\u043E\u0440\u0430\u0431\u043E\u0449\u0430\u0442\u044C \u0440\u0430\u0437\u0443\u043C \u0441\u0432\u043E\u0438\u0445 \u0436\u0435\u0440\u0442\u0432. \u041D\u0435 \u0434\u043E\u0432\u0435\u0440\u044F\u0439\u0442\u0435 \u0438\u043C, \u043D\u043E \u0442\u0430\u043A \u0436\u0435 \u043F\u043E\u043C\u043D\u0438\u0442\u0435 - \u043E\u043D\u0438 \u043B\u0438\u0448\u044C \u0436\u0435\u0440\u0442\u0432\u044B \u0441\u0442\u0435\u0447\u0435\u043D\u0438\u044F \u043E\u0431\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u0441\u0442\u0432. \u0418 \u044D\u0442\u043E \u043C\u043E\u0436\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u0441\u0432\u043E\u044E \u043F\u043E\u043B\u044C\u0437\u0443...",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.syndicate,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442",content:"\u041D\u0430\u0448\u0438 \u0445\u043E\u0440\u043E\u0448\u0438\u0435 \u0437\u043D\u0430\u043A\u043E\u043C\u044B\u0435. \u0421\u0431\u043E\u0440\u0438\u0449\u0435 \u043C\u043E\u0433\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u0444\u0438\u0433\u0443\u0440 \u0432 \u043F\u043E\u0434\u043F\u043E\u043B\u044C\u043D\u043E\u043C \u043C\u0438\u0440\u0435 \u0441 \u0437\u0430\u043A\u0440\u044B\u0442\u043E\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u043E\u0439 \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0441\u0442\u0432\u0430 \u043E \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043C\u0430\u043B\u043E... \n\u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442 \u043F\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0437\u0430\u043A\u0430\u0437\u043E\u0432. \u041D\u043E \u0441\u0430\u043C\u043E\u0439 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u043E\u0439, \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u043A\u0442\u043E \u043A\u0430\u043A \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0438\u0445 \u0438\u0437\u0443\u0447\u0438\u0442, \u0447\u0435\u0440\u0442\u043E\u0439 \u044D\u0442\u043E\u0439 \u0433\u0440\u0443\u043F\u043F\u044B - \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043E\u0433\u0440\u043E\u043C\u043D\u0430\u044F \u043D\u0435\u043D\u0430\u0432\u0438\u0441\u0442\u044C \u043A \u041D\u0422. \n\u0412 \u0441\u043B\u0443\u0447\u0430\u0435 \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u044F \u0441 \u0430\u0433\u0435\u043D\u0442\u0430\u043C\u0438 \u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u0430 \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0430 \u043D\u0430\u0448\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043F\u0440\u043E\u0441\u0442\u0430. \n\u0415\u0441\u043B\u0438 \u043E\u043D\u0438 \u043D\u0435 \u043C\u0435\u0448\u0430\u044E\u0442 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \u041C\u044B \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u043C \u0438\u043C.",position:"bottom-start"})]})]})})})},l=function(c,v){var b=(0,a.useBackend)(v),g=b.act,h=b.data,C=h.allActionsPreview,N=h.blocked_TGUI_rows,x=[{blue:"Button_blue",green:"Button_green",red:"Button_red",disabled:"Button_disabled"}];return(0,e.createComponentVNode)(2,t.Section,{title:"\u041C\u043E\u0434\u0443\u043B\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0443\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430! \u0414\u0435\u043B\u044F\u0442\u0441\u044F \u043D\u0430 3 \u0440\u0430\u0437\u043D\u044B\u0445 \u043F\u043E\u0434\u0445\u043E\u0434\u0430 \u0434\u043B\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0418\u0437-\u0437\u0430 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u0439 \u043F\u043E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044E \u0440\u0430\u0431\u043E\u0442\u043E\u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430, \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u0435 \u043B\u044E\u0431\u043E\u0433\u043E \u043C\u043E\u0434\u0443\u043B\u044F, \u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u0435 \u043C\u043E\u0434\u0443\u043B\u0435\u0439 \u043E\u0434\u043D\u043E\u0433\u043E \u0443\u0440\u043E\u0432\u043D\u044F \u0438\u0437 \u0441\u043E\u0441\u0435\u0434\u043D\u0438\u0445 \u0441\u0442\u043E\u043B\u0431\u0446\u043E\u0432",tooltipPosition:"bottom"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",alignContent:"center",ml:1.5,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0440\u0438\u0437\u0440\u0430\u043A",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0421\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0441\u0440\u0435\u0434\u0438 \u0432\u0440\u0430\u0433\u043E\u0432, \u043D\u0430\u043F\u0430\u0434\u0430\u0439\u0442\u0435 \u0438\u0437 \u0442\u0435\u043D\u0438 \u0438 \u0431\u0443\u0434\u044C\u0442\u0435 \u043D\u0435\u0437\u0440\u0438\u043C\u043E\u0439 \u0443\u0433\u0440\u043E\u0437\u043E\u0439, \u0432\u0441\u0451 \u0434\u043B\u044F \u0442\u043E\u0433\u043E \u0447\u0442\u043E\u0431\u044B \u043E \u0432\u0430\u0441 \u0438 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438 \u043D\u0438\u043A\u0442\u043E \u043D\u0435 \u0443\u0437\u043D\u0430\u043B! \u0411\u0443\u0434\u044C\u0442\u0435 \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u044B \u043A\u0430\u043A \u043F\u0440\u0438\u0437\u0440\u0430\u043A!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(53, 94, 163, 0.8)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return g("give_ability",{style:"smoke",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.smoke,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0414\u042B\u041C\u041E\u0412\u0410\u042F \u0417\u0410\u0412\u0415\u0421\u0410",content:"\u0412\u044B \u0441\u043E\u0437\u0434\u0430\u0451\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u043E\u0431\u043B\u0430\u043A\u043E \u0434\u044B\u043C\u0430 \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u043F\u0443\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0438\u0445 \u0432\u0440\u0430\u0433\u043E\u0432. \n\u042D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u043E\u0442\u043B\u0438\u0447\u043D\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u0435\u0442\u0441\u044F \u0441 \u0432\u0430\u0448\u0438\u043C \u0432\u0438\u0437\u043E\u0440\u043E\u043C \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0442\u0435\u0440\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0441\u043A\u0430\u043D\u0435\u0440\u0430. \n\u0410 \u0442\u0430\u043A \u0436\u0435 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u043C\u043D\u043E\u0433\u0438\u043C\u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043C\u043E\u0434\u0443\u043B\u044F\u043C\u0438 \u0435\u0441\u043B\u0438 \u0432\u044B \u0442\u043E\u0433\u043E \u043F\u043E\u0436\u0435\u043B\u0430\u0435\u0442\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 250 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return g("give_ability",{style:"ninja_cloak",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.ninja_cloak,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041D\u0415\u0412\u0418\u0414\u0418\u041C\u041E\u0421\u0422\u042C",content:"\u0412\u044B \u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0435\u0431\u044F \u043C\u0430\u0441\u043A\u0438\u0440\u043E\u0432\u043E\u0447\u043D\u043E\u0435 \u043F\u043E\u043B\u0435 \u0441\u043A\u0440\u044B\u0432\u0430- \u044E\u0449\u0435\u0435 \u0432\u0430\u0441 \u0438\u0437 \u0432\u0438\u0434\u0443 \u0438 \u043F\u0440\u0438\u0433\u043B\u0443\u0448\u0430- \u044E\u0449\u0435\u0435 \u0432\u0430\u0448\u0438 \u0448\u0430\u0433\u0438. \n\u041F\u043E\u043B\u0435 \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0445\u0440\u0443\u043F\u043A\u043E\u0435 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0437\u043B\u0435\u0442\u0435\u0442\u044C\u0441\u044F \u043E\u0442 \u043B\u044E\u0431\u043E\u0433\u043E \u0440\u0435\u0437\u043A\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u0440\u0430. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 2 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \u0425\u043E\u0442\u044C \u043F\u043E\u043B\u0435 \u0438 \u0441\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0441 \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E, \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u0439 \u0443\u0431\u0438\u0439\u0446\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0445\u043B\u0430\u0434\u043D\u043E\u043A\u0440\u043E\u0432\u0435\u043D. \n\u041D\u0435 \u0441\u0442\u043E\u0438\u0442 \u043D\u0435\u0434\u043E\u043E\u0446\u0435\u043D\u0438\u0432\u0430\u0442\u044C \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0434\u0440\u0443\u0433\u0438\u0445 \u043B\u044E\u0434\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C \u0441\u043B\u0430\u0431\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 15 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return g("give_ability",{style:"ninja_clones",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.ninja_clones,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0418\u0415 \u041A\u041B\u041E\u041D\u042B",content:"\u0421\u043E\u0437\u0434\u0430\u0451\u0442 \u0434\u0432\u0443\u0445 \u043A\u043B\u043E\u043D\u043E\u0432 \u0433\u043E\u0442\u043E\u0432\u044B\u0445 \u043F\u043E\u043C\u043E\u0447\u044C \u0432 \u0431\u0438\u0442\u0432\u0435 \u0438 \u0434\u0435\u0437\u043E\u0440\u0438\u0435\u043D\u0442\u0438- \u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u0430 \n\u0422\u0430\u043A \u0436\u0435 \u0432 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435 \u0441\u043C\u0435\u0449\u0430\u0435\u0442 \u0432\u0430\u0441 \u0438 \u0432\u0430\u0448\u0438\u0445 \u043A\u043B\u043E\u043D\u043E\u0432 \u0432 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u043C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u043F\u0430\u0440\u044B \u043C\u0435\u0442\u0440\u043E\u0432. \n\u041F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435\u0441\u044C \u043E\u0441\u0442\u043E\u0440\u043E\u0436\u043D\u043E. \u0421\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u0435 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043F\u0435\u0440\u0435\u0442\u044C \u0432\u0430\u0441 \u0437\u0430 4-\u043C\u044F \u0441\u0442\u0435\u043D\u0430\u043C\u0438. \u0411\u0443\u0434\u044C\u0442\u0435 \u043A \u044D\u0442\u043E\u043C\u0443 \u0433\u043E\u0442\u043E\u0432\u044B. \n\u041A\u043B\u043E\u043D\u044B \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E 20 \u0441\u0435\u043A\u0443\u043D\u0434. \u041A\u043B\u043E\u043D\u044B \u0438\u043C\u0435\u044E\u0442 \u0448\u0430\u043D\u0441 \u0440\u0430\u0437\u043C\u043D\u043E\u0436\u0438\u0442\u0441\u044F \u0430\u0442\u0430\u043A\u0443\u044F \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u043E\u0432. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 4000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 8 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return g("give_ability",{style:"chameleon",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.chameleon,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0425\u0410\u041C\u0415\u041B\u0415\u041E\u041D",content:"\u0412\u044B \u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0435\u0431\u044F \u0433\u043E\u043B\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043F\u043E\u043B\u0435 \u0438\u0441\u043A\u0430\u0436\u0430\u044E\u0449\u0435\u0435 \u0432\u0438\u0437\u0443\u0430\u043B\u044C\u043D\u043E\u0435 \u0438 \u0441\u043B\u0443\u0445\u043E\u0432\u043E\u0435 \u0432\u043E\u0441\u043F\u0440\u0438\u044F\u0442\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432. \n\u0412\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u0432\u0438\u0434\u0435\u0442\u044C \u0438 \u0441\u043B\u044B\u0448\u0430\u0442\u044C \u043A\u0430\u043A \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u0432\u044B \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442\u0435 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u043C. \n\u042D\u0442\u043E \u0434\u0430\u0451\u0442 \u0432\u0430\u043C \u043E\u0433\u0440\u043E\u043C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u0442\u043E\u0440 \u043F\u043E \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u044E \u0438 \u0438\u043C\u0438\u0442\u0430\u0446\u0438\u0438 \u043B\u044E\u0431\u043E\u0433\u043E \u0447\u043B\u0435\u043D\u0430 \u044D\u043A\u0438\u043F\u0430\u0436\u0430. \n\u041F\u043E\u043B\u0435 \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0445\u0440\u0443\u043F\u043A\u043E\u0435 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0437\u043B\u0435\u0442\u0435\u0442\u044C\u0441\u044F \u043E\u0442 \u043B\u044E\u0431\u043E\u0433\u043E \u0440\u0435\u0437\u043A\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u0440\u0430. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 2 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \n\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0445\u0430\u043C\u0435\u043B\u0435\u043E\u043D \u0441\u043B\u0430\u0431\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: \u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return g("give_ability",{style:"ninja_spirit_form",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.ninja_spirit_form,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0424\u041E\u0420\u041C\u0410 \u0414\u0423\u0425\u0410",content:"\u0412\u044B \u0432\u043E\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u043D\u0430 \u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0442\u0435\u043B\u0430 \u043F\u043E\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E\u043C \u044D\u0442\u043E\u0439 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438. \n\u0414\u0435\u043B\u0430\u044F \u0432\u0430\u0448\u0435 \u0442\u0435\u043B\u043E \u043D\u0435\u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u044B\u043C \u044D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u0434\u0430\u0440\u0443\u0435\u0442 \u0432\u0430\u043C \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442\u044C \u0441\u043A\u0432\u043E\u0437\u044C \u0441\u0442\u0435\u043D\u044B. \n\u042D\u0442\u0430 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u044F \u043D\u0435 \u0441\u0434\u0435\u043B\u0430\u0435\u0442 \u0432\u0430\u0441 \u043D\u0435\u0443\u044F\u0437\u0432\u0438\u043C\u044B\u043C \u0434\u043B\u044F \u043F\u0443\u043B\u044C \u0438 \u043B\u0435\u0437\u0432\u0438\u0439! \n\u041D\u043E \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u0441\u043D\u044F\u0442\u044C \u0441 \u0441\u0435\u0431\u044F \u043D\u0430\u0440\u0443\u0447\u043D\u0438\u043A\u0438, \u0431\u043E\u043B\u044B \u0438 \u0434\u0430\u0436\u0435 \u0432\u044B\u043B\u0435\u0437\u0442\u0438 \u0438\u0437 \u0433\u0440\u043E\u0431\u0430 \u0438\u043B\u0438 \u044F\u0449\u0438\u043A\u0430, \u043E\u043A\u0430\u0436\u0438\u0441\u044C \u0432\u044B \u0442\u0430\u043C \u0437\u0430\u043F\u0435\u0440\u0442\u044B... \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u0430. \n\u0410\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u0444\u043E\u0440\u043C\u0430 \u0434\u0443\u0445\u0430 \u0437\u043D\u0430\u0447\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438! \u041F\u043E\u0442\u0440\u0435\u0431\u043B\u0435\u043D\u0438\u0435 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u043E \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0432\u043D\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u043E\u0431\u044A\u0451\u043C\u0430 \u0431\u0430\u0442\u0430\u0440\u0435\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 25 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"right"})]})]})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0417\u043C\u0435\u0439",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0423\u0434\u0438\u0432\u043B\u044F\u0439\u0442\u0435! \u0422\u0440\u044E\u043A\u0438, \u043B\u043E\u0432\u0443\u0448\u043A\u0438, \u0449\u0438\u0442\u044B. \u041F\u043E\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043C, \u0447\u0442\u043E \u0442\u0430\u043A\u043E\u0435 \u0431\u043E\u0439 \u0441 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u043C \u0443\u0431\u0438\u0439\u0446\u0435\u0439. \u0418\u0437\u0432\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0438 \u0438\u0437\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u043D\u0430\u0445\u043E\u0434\u044F \u0432\u044B\u0445\u043E\u0434 \u0438\u0437 \u043B\u044E\u0431\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438. \u0412\u0440\u0430\u0433\u0438 \u0432\u0441\u0435\u0433\u043E \u043B\u0438\u0448\u044C \u0433\u0440\u044B\u0437\u0443\u043D\u044B, \u0447\u044C\u0451 \u043B\u043E\u0433\u043E\u0432\u043E \u043D\u0430\u0432\u0435\u0441\u0442\u0438\u043B \u0437\u043C\u0435\u0439!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(0, 174, 208, 0.15)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return g("give_ability",{style:"kunai",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.kunai,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0421\u0422\u0420\u041E\u0415\u041D\u041D\u041E\u0415 \u0414\u0416\u041E\u0425\u042C\u0401",content:"\u0422\u0430\u043A \u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043A\u0430\u043A \u0428\u044D\u043D\u0431\u044F\u043E \u0438\u043B\u0438 \u043F\u0440\u043E\u0441\u0442\u043E \u041A\u0438\u043D\u0436\u0430\u043B \u043D\u0430 \u0446\u0435\u043F\u0438. \n\u0418\u043D\u0442\u0435\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0438 \u043F\u0440\u0438\u0442\u044F\u043D\u0443\u0442\u044C \u043A \u0441\u0435\u0431\u0435 \u0436\u0435\u0440\u0442\u0432\u0443 \u0437\u0430 \u0434\u043E\u043B\u0438 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \n\u041E\u0440\u0443\u0436\u0438\u0435 \u043D\u0435 \u043E\u0447\u0435\u043D\u044C \u0433\u043E\u0434\u0438\u0442\u0441\u044F \u0434\u043B\u044F \u0434\u043E\u043B\u0433\u0438\u0445 \u0431\u043E\u0451\u0432, \u043D\u043E \u043E\u0442\u043B\u0438\u0447\u043D\u043E \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0432\u044B\u0442\u044F\u0433\u0438\u0432\u0430\u043D\u0438\u044F \u043E\u0434\u043D\u043E\u0439 \u0436\u0435\u0440\u0442\u0432\u044B - \u043D\u0430 \u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0443\u0434\u0430\u0440\u0430! \n\u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043D\u0435 \u043F\u0440\u043E\u043C\u0430\u0445\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0438 \u0441\u0442\u0440\u0435\u043B\u044C\u0431\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0430: 500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 5 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return g("give_ability",{style:"chem_injector",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.chem_injector,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0418\u0421\u0426\u0415\u041B\u042F\u042E\u0429\u0418\u0419 \u041A\u041E\u041A\u0422\u0415\u0419\u041B\u042C",content:"\u0412\u0432\u043E\u0434\u0438\u0442 \u0432 \u0432\u0430\u0441 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u043B\u0435\u0447\u0435\u0431\u043D\u0443\u044E \u0441\u043C\u0435\u0441\u044C. \u0421\u043F\u043E\u0441\u043E\u0431\u043D\u0443\u044E \u0437\u0430\u043B\u0435\u0447\u0438\u0442\u044C \u0434\u0430\u0436\u0435 \u0441\u043B\u043E\u043C\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u0441\u0442\u0438 \u0438 \u043E\u0442\u043E\u0440\u0432\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438. \n\u041F\u0440\u0435\u043F\u0430\u0440\u0430\u0442 \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442- \n\u0432\u0435\u043D\u043D\u043E-\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u0434\u043E\u043A\u0441\u044B \u0438 \u043E\u0447\u0435\u043D\u044C \u043C\u0435\u0434\u043B\u0435\u043D\u043D\u043E \u0432\u044B\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0438\u0437 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C\u0430! \n\u041F\u0440\u0438 \u043F\u0435\u0440\u0435\u0434\u043E\u0437\u0438\u0440\u043E\u0432\u043A\u0435 \u043E\u043D\u0438 \u0441\u0442\u0430\u043D\u043E\u0432\u044F\u0442\u0441\u044F \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043E\u043F\u0430\u0441\u043D\u044B \u0434\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \u041D\u0435 \u0432\u0432\u043E\u0434\u0438\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u0435 30 \u0435\u0434. \u043F\u0440\u0435\u043F\u0430\u0440\u0430\u0442\u0430 \u0432 \u0432\u0430\u0448 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C! \n\u0412\u043C\u0435\u0441\u0442\u043E \u0442\u0440\u0430\u0442\u044B \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u0438\u043C\u0435\u0435\u0442 3 \u0437\u0430\u0440\u044F\u0434\u0430. \u0418\u0445 \u043C\u043E\u0436\u043D\u043E \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0446\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0443\u0441\u043A\u043E\u0432 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u043A\u0440\u0438\u0441\u0442\u0430\u043B\u043B\u043E\u0432 \u043F\u043E\u043C\u0435\u0449\u0451\u043D\u043D\u044B\u0445 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return g("give_ability",{style:"emergency_blink",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.emergency_blink,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041A\u0421\u0422\u0420\u0415\u041D\u041D\u0410\u042F \u0422\u0415\u041B\u0415\u041F\u041E\u0420\u0422\u0410\u0426\u0418\u042F",content:"\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0432 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u0443\u044E \u0437\u043E\u043D\u0443 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u043E\u043A\u043E\u043B\u043E \u0434\u0432\u0443\u0445 \u0434\u0435\u0441\u044F\u0442\u043A\u043E\u0432 \u043C\u0435\u0442\u0440\u043E\u0432. \n\u0414\u043B\u044F \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u043C\u043E\u0437\u0433\u043E\u0432\u044B\u0435 \u0438\u043C\u043F\u0443\u043B\u044C\u0441\u044B \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \u041F\u043E\u044D\u0442\u043E\u043C\u0443 \u043E\u043F\u044B\u0442\u043D\u044B\u0435 \u0432\u043E\u0438\u043D\u044B \u043A\u043B\u0430\u043D\u0430, \u043C\u043E\u0433\u0443\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0435\u0451 \u0434\u0430\u0436\u0435 \u0432\u043E \u0441\u043D\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return g("give_ability",{style:"caltrop",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.caltrop,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041B\u0415\u041A\u0422\u0420\u041E-\u0427\u0415\u0421\u041D\u041E\u041A",content:"\u0427\u0430\u0449\u0435 \u0438\u0445 \u043D\u0430\u0437\u044B\u0432\u0430\u044E\u0442 \u043F\u0440\u043E\u0441\u0442\u043E \u043A\u0430\u043B\u0442\u0440\u043E\u043F\u044B, \u0438\u0437-\u0437\u0430 \u0437\u0430\u043F\u0443\u0442\u044B\u0432\u0430\u044E\u0449\u0438\u0445 \u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0441 \u0431\u043E\u043B\u0435\u0435 \u0441\u044A\u0435\u0441\u0442\u043D\u044B\u043C \u0447\u0435\u0441\u043D\u043E\u043A\u043E\u043C. \n\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0440\u0430\u0441\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u043F\u043E\u0437\u0430\u0434\u0438 \u0432\u0430\u0441 \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u044B\u0435 \u0438\u0437 \u0441\u043F\u0440\u0435\u0441\u0441\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u043B\u043E\u0432\u0443\u0448\u043A\u0438. \n\u041B\u043E\u0432\u0443\u0448\u043A\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E 10 \u0441\u0435\u043A\u0443\u043D\u0434. \u0422\u0430\u043A \u0436\u0435 \u043E\u043D\u0438 \u043F\u0440\u043E\u043F\u0430\u0434\u0430\u044E\u0442 - \u0435\u0441\u043B\u0438 \u043D\u0430 \u043D\u0438\u0445 \u043D\u0430\u0441\u0442\u0443\u043F\u0438\u0442\u044C. \n\u0411\u043E\u043B\u044C \u043E\u0442 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u0433\u043E \u0448\u0430\u0433\u0430 \u043D\u0430 \u043D\u0438\u0445 \u043D\u0430\u0441\u0442\u0438\u0433\u043D\u0435\u0442 \u0434\u0430\u0436\u0435 \u0440\u043E\u0431\u043E\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D- \u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438. \n\u0412\u044B \u043D\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u044B \u043E\u0442 \u043D\u0438\u0445. \u041D\u0435 \u043D\u0430\u0441\u0442\u0443\u043F\u0430\u0439\u0442\u0435 \u043D\u0430 \u0441\u0432\u043E\u0438 \u0436\u0435 \u043B\u043E\u0432\u0443\u0448\u043A\u0438! \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 1 \u0441\u0435\u043A\u0443\u043D\u0434\u0430.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return g("give_ability",{style:"cloning",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.cloning,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0422\u041E\u0420\u041E\u0419 \u0428\u0410\u041D\u0421",content:"\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u043C \u043C\u043D\u043E\u0433\u0438\u0435 \u0443\u0431\u0438\u0439\u0446\u044B \u043F\u0440\u043E\u0432\u0430\u043B\u0438\u0432\u0430\u044F \u0441\u0432\u043E\u0438 \u043C\u0438\u0441\u0441\u0438\u0438 \u0441\u043E\u0432\u0435\u0440\u0448\u0430\u043B\u0438 \u0441\u0430\u043C\u043E\u0443\u0431\u0438\u0439\u0441\u0442\u0432\u0430 \u0438\u043B\u0438 \u043E\u043A\u0430\u0437\u044B\u0432\u0430\u043B\u0438\u0441\u044C \u0432 \u043B\u0430\u043F\u0430\u0445 \u0432\u0440\u0430\u0433\u0430. \n\u0421\u0435\u0439\u0447\u0430\u0441 \u0436\u0435 \u0435\u0441\u0442\u044C \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0434\u043E\u0440\u043E\u0433\u0430\u044F \u0430\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u0430. \u041C\u043E\u0449\u043D\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0435 \u0434\u043E\u0441\u0442\u0430\u0442\u044C \u0432\u0430\u0441 \u043F\u0440\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441 \u0442\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u0430. \n\u042D\u0442\u0430 \u043C\u0430\u0448\u0438\u043D\u0430 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0439 \u0448\u0430\u043D\u0441, \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0432 \u0432\u0430\u0441 \u043A \u0441\u0435\u0431\u0435 \u0438 \u0438\u0437\u043B\u0435\u0447\u0438\u0432 \u043B\u044E\u0431\u044B\u0435 \u0442\u0440\u0430\u0432\u043C\u044B. \n\u041C\u044B \u0441\u043B\u044B\u0448\u0430\u043B\u0438 \u043F\u0440\u043E \u0441\u043E\u043C\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u043D\u0430 \u0438\u0434\u0435\u0435, \u0447\u0442\u043E \u044D\u0442\u043E \u043F\u0440\u043E\u0441\u0442\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u043A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u043B\u0435\u043D\u043E\u0432 \u043A\u043B\u0430\u043D\u0430. \u041D\u043E \u0443\u0432\u0435\u0440\u044F\u0435\u043C \u0432\u0430\u0441, \u044D\u0442\u043E \u043D\u0435 \u0442\u0430\u043A. \n\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0438\u0437-\u0437\u0430 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0437\u0430\u0442\u0440\u0430\u0442 \u043D\u0430 \u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u0438 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044E. \u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043F\u0430\u0441\u0451\u0442 \u0432\u0430\u0441 \u043B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437. \n\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438, \u043A\u043E\u0433\u0434\u0430 \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u043F\u0440\u0438 \u0441\u043C\u0435\u0440\u0442\u0438.",position:"right"})]})]})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u043B\u044C",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u042F\u0440\u043E\u0441\u0442\u044C \u043D\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430\u044F \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u043B\u044E\u0434\u044F\u043C. \u0421\u0438\u043B\u0430, \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0438 \u043E\u0440\u0443\u0434\u0438\u044F \u0432\u044B\u0448\u0435 \u0438\u0445 \u043F\u043E\u043D\u0438\u043C\u0430\u043D\u0438\u044F. \u0420\u0430\u0437\u0438\u0442\u0435 \u0438\u0445 \u043A\u0430\u043A \u0445\u0438\u0449\u043D\u0438\u043A \u0447\u0442\u043E \u0440\u0430\u0437\u0438\u0442 \u0441\u0432\u043E\u044E \u0434\u043E\u0431\u044B\u0447\u0443. \u041F\u043E\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043C \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0432\u043A\u0443\u0441 \u0441\u0442\u0430\u043B\u0438!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(80, 20, 20, 1)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return g("give_ability",{style:"shuriken",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.shuriken,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0418\u0415 \u0421\u042E\u0420\u0418\u041A\u0415\u041D\u042B",content:"\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442 \u043F\u0443\u0441\u043A\u043E\u0432\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043A\u0440\u044B\u0442\u043E\u0435 \u0432 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0430\u0445 \u043A\u043E\u0441\u0442\u044E\u043C\u0430. \n\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0432\u044B\u043F\u0443\u0441\u043A\u0430\u0435\u0442 \u043F\u043E \u0442\u0440\u0438 \u0441\u044E\u0440\u0438\u043A\u0435\u043D\u0430, \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u044B\u0445 \u0438\u0437 \u0441\u0436\u0430\u0442\u043E\u0439 \u044D\u043D\u0435\u0440\u0433\u0438\u0438, \u043E\u0447\u0435\u0440\u0435\u0434\u044C\u044E. \n\u0421\u044E\u0440\u0438\u043A\u0435\u043D\u044B \u043F\u043E\u0441\u0442\u0435\u043F\u0435\u043D\u043D\u043E \u0438\u0437\u043D\u0443\u0440\u044F\u044E\u0442 \u0432\u0440\u0430\u0433\u043E\u0432 \u0438 \u043D\u0430\u043D\u043E\u0441\u044F\u0442 \u0441\u043B\u0430\u0431\u044B\u0439 \u043E\u0436\u043E\u0433\u043E\u0432\u044B\u0439 \u0443\u0440\u043E\u043D. \n\u0422\u0430\u043A \u0436\u0435 \u043E\u043D\u0438 \u043F\u0440\u043E\u043B\u0435\u0442\u0430\u044E\u0442 \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0435\u043A\u043B\u043E, \u043A\u0430\u043A \u0438 \u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u043B\u0430\u0437\u0435\u0440\u043D\u044B\u0435 \u0441\u043D\u0430\u0440\u044F\u0434\u044B. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0430: 300 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return g("give_ability",{style:"adrenal",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.adrenal,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0421\u041F\u041B\u0415\u0421\u041A \u0410\u0414\u0420\u0415\u041D\u0410\u041B\u0418\u041D\u0410",content:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u0432\u0432\u043E\u0434\u0438\u0442 \u0432 \u0432\u0430\u0441 \u043C\u043E\u0449\u043D\u0443\u044E \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u0441\u044B\u0432\u043E\u0440\u043E\u0442\u043A\u0443 \u0443\u0441\u043A\u043E\u0440\u044F\u044E\u0449\u0443\u044E \u0432\u0430\u0441 \u0432 \u0431\u043E\u044E \u0438 \u043F\u043E\u043C\u043E\u0433\u0430\u044E\u0449\u0443\u044E \u0431\u044B\u0441\u0442\u0440\u0435\u0435 \u043E\u043A\u043B\u0435\u043C\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u043E\u0433\u043B\u0443\u0448\u0430\u044E\u0449\u0438\u0445 \u044D\u0444\u0444\u0435\u043A\u0442\u043E\u0432. \n\u041A\u043E\u0441\u0442\u044E\u043C \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442 \u0441\u044B\u0432\u043E\u0440\u043E\u0442\u043A\u0443 \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u0443\u0440\u0430\u043D\u0430. \u0427\u0442\u043E \u043A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0434\u0430\u0451\u0442 \u043D\u0435\u043F\u0440\u0438\u044F\u0442\u043D\u044B\u0439 \u043D\u0435\u0433\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u044D\u0444\u0444\u0435\u043A\u0442, \u0432 \u0432\u0438\u0434\u0435 \u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0430\u0434\u0438\u044F \u0432 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \n\u0412\u043C\u0435\u0441\u0442\u043E \u0442\u0440\u0430\u0442\u044B \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043E \u043B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0436\u0435\u043D\u043E \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0446\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0443\u0441\u043A\u043E\u0432 \u0443\u0440\u0430\u043D\u0430 \u043F\u043E\u043C\u0435\u0449\u0451\u043D\u043D\u044B\u0445 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return g("give_ability",{style:"emp",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.emp,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041B\u0415\u041A\u0422\u0420\u041E\u041C\u0410\u0413\u041D\u0418\u0422\u041D\u042B\u0419 \u0412\u0417\u0420\u042B\u0412",content:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043C\u0430\u0433\u043D\u0438\u0442\u043D\u044B\u0435 \u0432\u043E\u043B\u043D\u044B \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u044E\u0442, \u043F\u043E\u0434\u0440\u044B\u0432\u0430\u044E\u0442 \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0430\u044E\u0442 - \u043A\u0438\u0431\u043E\u0440\u0433\u043E\u0432, \u0434\u0440\u043E\u043D\u043E\u0432, \u041A\u041F\u0411, \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043E\u0440\u0443\u0436\u0438\u0435, \u043F\u043E\u0440\u0442\u0430\u0442\u0438\u0432\u043D\u044B\u0435 \u0421\u0432\u0435\u0442\u043E\u0448\u0443\u043C\u043E\u0432\u044B\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430, \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0441\u0432\u044F\u0437\u0438 \u0438 \u0442.\u0434. \n\u042D\u0442\u043E\u0442 \u0432\u0437\u0440\u044B\u0432 \u043C\u043E\u0436\u0435\u0442 \u043A\u0430\u043A \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C \u0432 \u0431\u043E\u044E, \u0442\u0430\u043A \u0438 \u043D\u0435\u0432\u0435\u0440\u043E\u044F\u0442\u043D\u043E \u043D\u0430\u0432\u0440\u0435\u0434\u0438\u0442\u044C. \u0412\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u043E\u0441\u043C\u0430\u0442\u0440\u0438\u0432\u0430\u0439\u0442\u0435 \u043C\u0435\u0441\u0442\u043D\u043E\u0441\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0435\u043C. \n\u041D\u0435 \u0437\u0430\u0431\u044B\u0432\u0430\u0439\u0442\u0435 \u043E \u0437\u0430\u0449\u0438\u0449\u0430\u044E\u0449\u0435\u043C \u043E\u0442 \u0441\u0432\u0435\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0435 \u0432\u0430\u0448\u0435\u0433\u043E \u0432\u0438\u0437\u043E\u0440\u0430. \u041E\u043D \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u043C\u043E\u0447\u044C \u043D\u0435 \u043E\u0441\u043B\u0435\u043F\u043D\u0443\u0442\u044C, \u043F\u0440\u0438 \u043F\u043E\u0434\u0440\u044B\u0432\u0435 \u043F\u043E\u0434\u043E\u0431\u043D\u044B\u0445 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432. \n\u0412\u0437\u0440\u044B\u0432 - \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430 \u0432\u0430\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 5000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 4 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return g("give_ability",{style:"energynet",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.energynet,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0410\u042F \u0421\u0415\u0422\u042C",content:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u043B\u043E\u0432\u0438\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u0443\u044E \u0432\u0430\u043C\u0438 \u0446\u0435\u043B\u044C \u0432 \u043E\u0431\u0435\u0437\u0434\u0432\u0438\u0436\u0438\u0432\u0430\u044E\u0449\u0443\u044E \u043B\u043E\u0432\u0443\u0448\u043A\u0443. \n\u0418\u0437 \u043B\u043E\u0432\u0443\u0448\u043A\u0438 \u043B\u0435\u0433\u043A\u043E \u0432\u044B\u0431\u0440\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u043E\u0441\u0442\u043E \u0441\u043B\u043E\u043C\u0430\u0432 \u0435\u0451 \u043B\u044E\u0431\u044B\u043C \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u043E\u043C. \n\u041E\u0442\u043B\u0438\u0447\u043D\u043E \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043D\u0435\u0439\u0442\u0440\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043E\u0434\u043D\u043E\u0433\u043E \u0432\u0440\u0430\u0433\u0430. \n\u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u0432 \u043D\u0435\u0451 \u043C\u043E\u0436\u043D\u043E \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0430\u0433\u0440\u0435\u0441\u0441\u0438\u0432\u043D\u044B\u0445 \u0436\u0438\u0432\u043E\u0442\u043D\u044B\u0445 \u0438\u043B\u0438 \u043D\u0430\u0434\u043E\u0435\u0434\u043B\u0438\u0432\u044B\u0445 \u043E\u0445\u0440\u0430\u043D\u043D\u044B\u0445 \u0431\u043E\u0442\u043E\u0432. \n\u0423\u0447\u0438\u0442\u044B\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043E \u0441\u0435\u0442\u044C \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0435 \u043E\u0442\u0441\u0442\u0440\u0435\u043B\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u0432\u0430\u0441. \n\u0422\u0430\u043A \u0436\u0435 \u0441\u0435\u0442\u044C \u043B\u0435\u0433\u043A\u043E \u043F\u043E\u043A\u0438\u043D\u0443\u0442\u044C \u0434\u0440\u0443\u0433\u0438\u043C \u043F\u0443\u0442\u0451\u043C, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u0435\u0442\u0438 - \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430 \u0432\u0430\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 4000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return g("give_ability",{style:"spider_red",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.spider_red,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0411\u041E\u0415\u0412\u041E\u0415 \u0418\u0421\u041A\u0423\u0421\u0421\u0422\u0412\u041E \n\u041F\u041E\u041B\u0417\u0423\u0427\u0415\u0419 \u0412\u0414\u041E\u0412\u042B",content:"\u0411\u043E\u0435\u0432\u043E\u0435 \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u043E \u043D\u0438\u043D\u0434\u0437\u044F \u0441\u043E\u0441\u0440\u0435\u0434\u043E\u0442\u043E\u0447\u0435\u043D\u043D\u043E\u0435 \u043D\u0430 \u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u0438 \u043A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0438\u0451\u043C\u043E\u0432. \n\u0412 \u0443\u0447\u0435\u043D\u0438\u0435 \u0432\u0445\u043E\u0434\u044F\u0442 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u043F\u0440\u0438\u0451\u043C\u044B: \n\u0412\u044B\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u0435 \u0440\u0443\u043A\u0438 - \u0437\u0430\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0443 \u0432\u044B\u0440\u043E\u043D\u0438\u0442\u044C \u0441\u0432\u043E\u0451 \u043E\u0440\u0443\u0436\u0438\u0435. \n\u0423\u0434\u0430\u0440 \u043B\u0430\u0434\u043E\u043D\u044C\u044E - \u043E\u0442\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0443 \u043D\u0430 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0435\u0442\u0440\u043E\u0432 \u043E\u0442 \u0432\u0430\u0441, \u043B\u0438\u0448\u0430\u044F \u0440\u0430\u0432\u043D\u043E\u0432\u0435\u0441\u0438\u044F. \n\u041F\u0435\u0440\u0435\u0440\u0435\u0437\u0430\u043D\u0438\u0435 \u0448\u0435\u0438 - \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u043E\u0431\u0435\u0437\u0433\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442 \u043B\u0435\u0436\u0430\u0447\u0443\u044E \u0436\u0435\u0440\u0442\u0432\u0443 \u043A\u0430\u0442\u0430\u043D\u043E\u0439 \u0432\u043E \u0432\u0441\u043F\u043E\u043C\u043E\u0433\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0440\u0443\u043A\u0435. \n\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0442\u043E\u0440\u043D\u0430\u0434\u043E - \u0440\u0430\u0441\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u0432\u0440\u0430\u0433\u043E\u0432 \u0432\u043E\u043A\u0440\u0443\u0433 \u0432\u0430\u0441 \u0438 \u0441\u043E\u0437\u0434\u0430\u0451\u0442 \u043E\u0431\u043B\u0430\u043A\u043E \u0434\u044B\u043C\u0430 \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0434\u044B\u043C\u043E\u0432\u043E\u0433\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0438 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u044B \u043E\u0431\u0443\u0447\u0430\u0435\u0442\u0435\u0441\u044C \u0441 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u043C \u0448\u0430\u043D\u0441\u043E\u043C \u043E\u0442\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u043D\u044F\u0440\u044F\u0434\u044B \u0432\u0440\u0430\u0433\u043E\u0432 \u043E\u0431\u0440\u0430\u0442\u043D\u043E.",position:"right"})]})]})]})]})})},f=r.ShuttleConsole=function(){function m(c,v){var b=(0,a.useBackend)(v),g=b.act,h=b.data;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0448\u0430\u0442\u0442\u043B\u043E\u043C",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041F\u0430\u043D\u0435\u043B\u044C \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0451\u043D\u043D\u043E\u0433\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0432\u0430\u0448\u0438\u043C \u043B\u0438\u0447\u043D\u044B\u043C \u0448\u0430\u0442\u0442\u043B\u043E\u043C. \u0422\u0430\u043A \u0436\u0435 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0448\u0443 \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u043F\u043E\u0437\u0438\u0446\u0438\u044E \u0438 \u043F\u043E\u0437\u0438\u0446\u0438\u044E \u0441\u0430\u043C\u043E\u0433\u043E \u0448\u0430\u0442\u0442\u043B\u0430!",tooltipPosition:"right"}),children:(0,e.createComponentVNode)(2,t.Flex,{ml:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F",children:h.status?h.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0430\u0448\u0430 \u043F\u043E\u0437\u0438\u0446\u0438\u044F",children:h.player_pos}),!!h.shuttle&&(!!h.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0448\u0430\u0442\u0442\u043B",children:h.docking_ports.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:C.name,onClick:function(){function N(){return g("move",{move:C.id})}return N}()},C.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledListItem,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!h.admin_controlled&&(0,e.createComponentVNode)(2,o.LabeledListItem,{label:"\u0410\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044E",disabled:!h.status,onClick:function(){function C(){return g("request")}return C}()})})],0))]})})})}return m}(),u=function(c,v){var b=(0,a.useBackend)(v),g=b.data,h=g.randomPercent,C=g.allActionsPreview,N=g.color_choice;return(0,e.createComponentVNode)(2,t.Section,{stretchContents:!0,children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:N,value:h,minValue:0,maxValue:100,children:(0,e.createVNode)(1,"center",null,(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_"+N,mt:1,children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C["spider_"+N],style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Loading ",h+"%"]}),2)})})},s=function(m){function c(b){var g;return g=m.call(this,b)||this,g.timer=null,g.state={lastText:"text do be there",currentDisplay:[]},g}y(c,m);var v=c.prototype;return v.tick=function(){function b(){var g=this.props,h=this.state;if(g.allMessages!==h.lastText&&!g.end_terminal){var C=h.currentDisplay;C.push(g.allMessages),h.lastText=g.allMessages}else g.end_terminal&&(clearTimeout(this.timer),setTimeout(g.onFinished,g.finishedTimeout))}return b}(),v.componentDidMount=function(){function b(){var g=this,h=this.props.linesPerSecond,C=h===void 0?2.5:h;this.timer=setInterval(function(){return g.tick()},1e3/C)}return b}(),v.componentWillUnmount=function(){function b(){clearTimeout(this.timer)}return b}(),v.render=function(){function b(){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:this.state.currentDisplay.map(function(g){return(0,e.createFragment)([g,(0,e.createVNode)(1,"br")],0,g)})})}return b}(),c}(e.Component)},38307:function(I,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.StationAlertConsole=function(){function V(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,y)})})}return V}(),y=r.StationAlertConsoleContent=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,l=i.alarms||[];return Object.keys(l).map(function(f){var u,s;return(0,e.createComponentVNode)(2,t.Section,{title:f+" Alarms",children:(0,e.createVNode)(1,"ul",null,((u=l[f])==null?void 0:u.length)===0?(0,e.createVNode)(1,"li","color-good","Systems Nominal",16):(s=l[f])==null?void 0:s.map(function(m){return(0,e.createVNode)(1,"li","color-average",m,0,null,m)}),0)},f)})}return V}()},39409:function(I,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(89005),a=n(88510),t=n(79140),o=n(72253),d=n(36036),y=n(98595),V=5,k=9,S=function(b){return b===0?5:9},p="64px",i=function(b){return b[0]+"/"+b[1]},l=function(b){var g=b.align,h=b.children;return(0,e.createComponentVNode)(2,d.Box,{style:{position:"absolute",left:g==="left"?"6px":"48px","text-align":g,"text-shadow":"2px 2px 2px #000",top:"2px"},children:h})},f={enable_internals:{icon:"lungs",text:"Enable internals"},disable_internals:{icon:"lungs",text:"Disable internals"},enable_lock:{icon:"lock",text:"Enable lock"},disable_lock:{icon:"unlock",text:"Disable lock"},suit_sensors:{icon:"tshirt",text:"Adjust suit sensors"},remove_accessory:{icon:"medal",text:"Remove accessory"},dislodge_headpocket:{icon:"head-side-virus",text:"Dislodge headpocket"}},u={neck:{displayName:"neck",gridSpot:i([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:i([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:i([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:i([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:i([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:i([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:i([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:i([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:i([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:i([1,4])},jumpsuit:{displayName:"uniform",gridSpot:i([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:i([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:i([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:i([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:i([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:i([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:i([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:i([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:i([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:i([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:i([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:i([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:i([4,4]),image:"inventory-pda.png"}},s={neck:{displayName:"neck",gridSpot:i([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:i([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:i([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:i([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:i([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:i([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:i([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:i([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:i([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:i([1,4])},jumpsuit:{displayName:"uniform",gridSpot:i([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:i([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:i([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:i([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:i([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:i([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:i([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:i([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:i([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:i([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:i([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:i([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:i([4,8]),image:"inventory-pda.png"}},m=function(v){return v[v.Completely=1]="Completely",v[v.Hidden=2]="Hidden",v}(m||{}),c=r.StripMenu=function(){function v(b,g){var h=(0,o.useBackend)(g),C=h.act,N=h.data,x=new Map;if(N.show_mode===0)for(var B=0,L=Object.keys(N.items);B300?"bad":f>150?"average":"good"},k=function(f){return f>5e3?"bad":f>4e3?"average":"good"},S=function(f){return f>1e4?"bad":f>5e3?"average":"good"},p=function(f,u){var s=(0,a.useBackend)(u),m=s.act,c=s.data;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Detected Supermatter Shards",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Refresh",onClick:function(){function v(){return m("refresh")}return v}()}),children:(0,e.createComponentVNode)(2,t.Box,{m:1,children:c.supermatters.length===0?(0,e.createVNode)(1,"h3",null,"No shards detected",16):(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,d.TableCell,{children:"Area"}),(0,e.createComponentVNode)(2,d.TableCell,{children:"Integrity"}),(0,e.createComponentVNode)(2,d.TableCell,{children:"Details"})]}),c.supermatters.map(function(v){return(0,e.createComponentVNode)(2,d.TableRow,{children:[(0,e.createComponentVNode)(2,d.TableCell,{children:v.area_name}),(0,e.createComponentVNode)(2,d.TableCell,{children:[v.integrity,"%"]}),(0,e.createComponentVNode)(2,d.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"View",onClick:function(){function b(){return m("view",{view:v.uid})}return b}()})})]},v)})]})})})})})},i=function(f,u){var s=(0,a.useBackend)(u),m=s.act,c=s.data;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Crystal Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"caret-square-left",content:"Back",onClick:function(){function v(){return m("back")}return v}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[95,1/0],average:[80,94],bad:[-1/0,79]},minValue:"0",maxValue:"100",value:c.SM_integrity,children:[c.SM_integrity,"%"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,t.Box,{color:V(c.SM_power),children:[c.SM_power," MeV/cm3"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:k(c.SM_ambienttemp),children:[c.SM_ambienttemp," K"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:S(c.SM_ambientpressure),children:[c.SM_ambientpressure," kPa"]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Gas Composition",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:[c.SM_gas_O2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:[c.SM_gas_CO2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:[c.SM_gas_N2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plasma",children:[c.SM_gas_PL,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[c.SM_gas_OTHER,"%"]})]})})]})})}},46029:function(I,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),d=n(98595),y=r.SyndicateComputerSimple=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data;return(0,e.createComponentVNode)(2,d.Window,{width:400,height:400,theme:"syndicate",children:(0,e.createComponentVNode)(2,d.Window.Content,{children:l.rows.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{title:f.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:f.buttontitle,disabled:f.buttondisabled,tooltip:f.buttontooltip,tooltipPosition:"left",onClick:function(){function u(){return i(f.buttonact)}return u}()}),children:[f.status,!!f.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:f.bullets.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{children:u},u)})})]},f.title)})})})}return V}()},99279:function(I,r,n){"use strict";r.__esModule=!0,r.SyndieCargoConsole=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),d=n(36036),y=n(98595),V=n(29319),k=n(25328),S=r.SyndieCargoConsole=function(){function u(s,m){return(0,e.createComponentVNode)(2,y.Window,{width:900,height:800,theme:"syndicate",children:(0,e.createComponentVNode)(2,y.Window.Content,{children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,f)]})})}return u}(),p=function(s,m){var c=(0,o.useLocalState)(m,"contentsModal",null),v=c[0],b=c[1],g=(0,o.useLocalState)(m,"contentsModalTitle",null),h=g[0],C=g[1];if(v!==null&&h!==null)return(0,e.createComponentVNode)(2,d.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,d.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[h,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,d.Box,{children:v.map(function(N){return(0,e.createComponentVNode)(2,d.Box,{children:["- ",N]},N)})}),(0,e.createComponentVNode)(2,d.Box,{m:2,children:(0,e.createComponentVNode)(2,d.Button,{content:"Close",onClick:function(){function N(){b(null),C(null)}return N}()})})]})},i=function(s,m){var c=(0,o.useBackend)(m),v=c.act,b=c.data,g=b.is_public,h=g===void 0?0:g,C=b.cash,N=b.wait_time,x=b.is_cooldown,B=b.telepads_status,L=b.adminAddCash,w=B,A="",T=0,E="";return B==="Pads not linked!"?(T=0,A="Attempts to link telepads to the console.",E="Link pads"):x?x&&(E="Cooldown...",A="Pads are cooling off...",T=1,N!==1?w=""+B+" (ETA: "+N+" seconds)":w=""+B+" (ETA: "+N+" second)"):(T=0,A="Teleports your crates to the market. A reminder, some of the crates are directly stolen from NT trading routes. That means they can be locked. We are NOT sorry for the inconvenience",E="Teleport"),(0,e.createComponentVNode)(2,d.Section,{title:"Status",children:(0,e.createComponentVNode)(2,d.LabeledList,{children:[h===0&&(0,e.createComponentVNode)(2,d.LabeledList.Item,{label:"Money Available",children:[C,(0,e.createComponentVNode)(2,d.Button,{tooltip:"Withdraw money from the console",content:"Withdraw",onClick:function(){function O(){return v("withdraw",C)}return O}()}),(0,e.createComponentVNode)(2,d.Button,{content:L,tooltip:"Bless the players with da money!",onClick:function(){function O(){return v("add_money",C)}return O}()})]}),(0,e.createComponentVNode)(2,d.LabeledList.Item,{label:"Telepads Status",children:w}),h===0&&(0,e.createComponentVNode)(2,d.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,d.Button,{content:E,tooltip:A,disabled:T,onClick:function(){function O(){return v("teleport")}return O}()}),(0,e.createComponentVNode)(2,d.Button,{content:"View Syndicate Black Market Log",onClick:function(){function O(){return v("showMessages")}return O}()})]})]})})},l=function(s,m){var c=(0,o.useBackend)(m),v=c.act,b=c.data,g=b.categories,h=b.supply_packs,C=(0,o.useSharedState)(m,"category","Emergency"),N=C[0],x=C[1],B=(0,o.useSharedState)(m,"search_text",""),L=B[0],w=B[1],A=(0,o.useLocalState)(m,"contentsModal",null),T=A[0],E=A[1],O=(0,o.useLocalState)(m,"contentsModalTitle",null),P=O[0],R=O[1],F=(0,k.createSearch)(L,function(H){return H.name}),j=(0,a.flow)([(0,t.filter)(function(H){return H.cat===g.filter(function(z){return z.name===N})[0].category||L}),L&&(0,t.filter)(F),(0,t.sortBy)(function(H){return H.name.toLowerCase()})])(h),W="Crate Catalogue";return L?W="Results for '"+L+"':":N&&(W="Browsing "+N),(0,e.createComponentVNode)(2,d.Section,{title:W,buttons:(0,e.createComponentVNode)(2,d.Dropdown,{width:"190px",options:g.map(function(H){return H.name}),selected:N,onSelected:function(){function H(z){return x(z)}return H}()}),children:[(0,e.createComponentVNode)(2,d.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function H(z,$){return w($)}return H}(),mb:1}),(0,e.createComponentVNode)(2,d.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,d.Table,{m:"0.5rem",children:j.map(function(H){return(0,e.createComponentVNode)(2,d.Table.Row,{children:[(0,e.createComponentVNode)(2,d.Table.Cell,{bold:!0,children:[H.name," (",H.cost," Credits)"]}),(0,e.createComponentVNode)(2,d.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,d.Button,{content:"Order 1",icon:"shopping-cart",onClick:function(){function z(){return v("order",{crate:H.ref,multiple:0})}return z}()}),(0,e.createComponentVNode)(2,d.Button,{content:"Order Multiple",icon:"cart-plus",onClick:function(){function z(){return v("order",{crate:H.ref,multiple:1})}return z}()}),(0,e.createComponentVNode)(2,d.Button,{content:"View Contents",icon:"search",onClick:function(){function z(){E(H.contents),R(H.name)}return z}()})]})]},H.name)})})})]})},f=function(s,m){var c=(0,o.useBackend)(m),v=c.act,b=c.data,g=b.requests,h=b.canapprove,C=b.orders;return(0,e.createComponentVNode)(2,d.Section,{title:"Details",children:(0,e.createComponentVNode)(2,d.Box,{maxHeight:15,overflowY:"auto",overflowX:"hidden",children:[(0,e.createComponentVNode)(2,d.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,d.Table,{m:"0.5rem",children:g.map(function(N){return(0,e.createComponentVNode)(2,d.Table.Row,{children:[(0,e.createComponentVNode)(2,d.Table.Cell,{children:[(0,e.createComponentVNode)(2,d.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,d.Box,{italic:!0,children:["Reason: ",N.comment]})]}),(0,e.createComponentVNode)(2,d.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,d.Button,{content:"Approve",color:"green",disabled:!h,onClick:function(){function x(){return v("approve",{ordernum:N.ordernum})}return x}()}),(0,e.createComponentVNode)(2,d.Button,{content:"Deny",color:"red",onClick:function(){function x(){return v("deny",{ordernum:N.ordernum})}return x}()})]})]},N.ordernum)})}),(0,e.createComponentVNode)(2,d.Box,{bold:!0,children:"Confirmed Orders"}),(0,e.createComponentVNode)(2,d.Table,{m:"0.5rem",children:C.map(function(N){return(0,e.createComponentVNode)(2,d.Table.Row,{children:(0,e.createComponentVNode)(2,d.Table.Cell,{children:[(0,e.createComponentVNode)(2,d.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,d.Box,{italic:!0,children:["Reason: ",N.comment]})]})},N.ordernum)})})]})})}},44852:function(I,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d={0:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV"},y={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},V=function(i,l,f,u){return u===void 0&&(u=null),i.map(function(s){var m,c=(m=s[u])!=null?m:s;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:l.includes(s),content:c,onClick:function(){function v(){l.includes(s)?f(l.filter(function(b){var g;return((g=b[u])!=null?g:b)!==s})):f([s].concat(l))}return v}()},c)})},k=r.TTSSeedsExplorer=function(){function p(i,l){return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S)})})}return p}(),S=r.TTSSeedsExplorerContent=function(){function p(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=s.providers,c=s.seeds,v=s.selected_seed,b=s.phrases,g=s.donator_level,h=c.map(function(Z){return Z.category}).filter(function(Z,J,te){return te.indexOf(Z)===J}),C=c.map(function(Z){return Z.gender}).filter(function(Z,J,te){return te.indexOf(Z)===J}),N=c.map(function(Z){return Z.donator_level}).filter(function(Z,J,te){return te.indexOf(Z)===J}).map(function(Z){return d[Z]}),x=(0,a.useLocalState)(l,"selectedProviders",m),B=x[0],L=x[1],w=(0,a.useLocalState)(l,"selectedGenders",C),A=w[0],T=w[1],E=(0,a.useLocalState)(l,"selectedCategories",h),O=E[0],P=E[1],R=(0,a.useLocalState)(l,"selectedDonatorLevels",N),F=R[0],j=R[1],W=(0,a.useLocalState)(l,"selectedPhrase",b[0]),H=W[0],z=W[1],$=(0,a.useLocalState)(l,"searchtext",""),G=$[0],ne=$[1],Q=V(m,B,L,"name"),he=V(C,A,T),Ve=V(h,O,P),Ne=V(N,F,j),Be=(0,e.createComponentVNode)(2,t.Dropdown,{options:b,selected:H.replace(/(.{25})..+/,"$1..."),width:"220px",onSelected:function(){function Z(J){return z(J)}return Z}()}),Le=(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",fluid:!0,onInput:function(){function Z(J,te){return ne(te)}return Z}()}),Ae=c.sort(function(Z,J){var te=Z.name.toLowerCase(),ee=J.name.toLowerCase();return te>ee?1:te0&&v!==Z.name?"orange":"white",children:Z.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:v===Z.name?.5:.25,textAlign:"left",children:Z.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:v===Z.name?"white":y[Z.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:y[Z.gender].icon})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:"white",textAlign:"right",children:Z.donator_level>0&&(0,e.createFragment)([d[Z.donator_level],(0,e.createComponentVNode)(2,t.Icon,{ml:1,mr:2,name:"coins"})],0)})]},Z.name)});return(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",fill:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",children:Q}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:he}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",children:Ve}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",children:Ne}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:Be}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0438\u0441\u043A",children:Le})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{scrollable:!0,fill:!0,title:"\u0413\u043E\u043B\u043E\u0441\u0430 ("+Ae.length+"/"+c.length+")",children:(0,e.createComponentVNode)(2,t.Table,{children:fe})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.BlockQuote,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445 \u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0447\u0430\u0441\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430."}),(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u0443\u0437\u043D\u0430\u0442\u044C \u0432 \u043D\u0430\u0448\u0435\u043C Discord-\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0435."})]})})})]})}return p}()},56441:function(I,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.TachyonArray=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.records,u=f===void 0?[]:f,s=l.explosion_target,m=l.toxins_tech,c=l.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:m}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!u.length||c,align:"center",onClick:function(){function v(){return i("print_logs")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!u.length,color:"bad",align:"center",onClick:function(){function v(){return i("delete_logs")}return v}()})]})]})}),u.length?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return V}(),y=r.TachyonArrayContent=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.records,u=f===void 0?[]:f;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),u.map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.theoretical_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){function m(){return i("delete_record",{index:s.index})}return m}()})})]},s.index)})]})})})})}return V}()},1754:function(I,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.Tank=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l;return i.has_mask?l=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.connected?"check":"times",content:i.connected?"Internals On":"Internals Off",selected:i.connected,onClick:function(){function f(){return p("internals")}return f}()})}):l=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:300,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:i.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:i.ReleasePressure===i.minReleasePressure,tooltip:"Min",onClick:function(){function f(){return p("pressure",{pressure:"min"})}return f}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(i.releasePressure),width:"65px",unit:"kPa",minValue:i.minReleasePressure,maxValue:i.maxReleasePressure,onChange:function(){function f(u,s){return p("pressure",{pressure:s})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:i.ReleasePressure===i.maxReleasePressure,tooltip:"Max",onClick:function(){function f(){return p("pressure",{pressure:"max"})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:i.ReleasePressure===i.defaultReleasePressure,tooltip:"Reset",onClick:function(){function f(){return p("pressure",{pressure:"reset"})}return f}()})]}),l]})})})})}return y}()},7579:function(I,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.TankDispenser=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.o_tanks,f=i.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:275,height:100,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Oxygen Tank ("+l+")",disabled:l===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("oxygen")}return u}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Plasma Tank ("+f+")",disabled:f===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("plasma")}return u}()})})]})})}return y}()},16136:function(I,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.TcommsCore=function(){function p(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=s.ion,c=(0,a.useLocalState)(l,"tabIndex",0),v=c[0],b=c[1],g=function(){function h(C){switch(C){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,k);case 2:return(0,e.createComponentVNode)(2,S);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[m===1&&(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function h(){return b(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"wrench"}),"Configuration"]},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function h(){return b(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"link"}),"Device Linkage"]},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,onClick:function(){function h(){return b(2)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-times"}),"User Filtering"]},"FilterPage")]}),g(v)]})})}return p}(),y=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},V=function(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=s.active,c=s.sectors_available,v=s.nttc_toggle_jobs,b=s.nttc_toggle_job_color,g=s.nttc_toggle_name_color,h=s.nttc_toggle_command_bold,C=s.nttc_job_indicator_type,N=s.nttc_setting_language,x=s.network_id;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:m?"On":"Off",selected:m,icon:"power-off",onClick:function(){function B(){return u("toggle_active")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:c})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"user-tag",onClick:function(){function B(){return u("nttc_toggle_jobs")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"On":"Off",selected:b,icon:"clipboard-list",onClick:function(){function B(){return u("nttc_toggle_job_color")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"On":"Off",selected:g,icon:"user-tag",onClick:function(){function B(){return u("nttc_toggle_name_color")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"On":"Off",selected:h,icon:"volume-up",onClick:function(){function B(){return u("nttc_toggle_command_bold")}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:C||"Unset",selected:C,icon:"pencil-alt",onClick:function(){function B(){return u("nttc_job_indicator_type")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:N||"Unset",selected:N,icon:"globe",onClick:function(){function B(){return u("nttc_setting_language")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:x||"Unset",selected:x,icon:"server",onClick:function(){function B(){return u("network_id")}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function B(){return u("import")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function B(){return u("export")}return B}()})]})],4)},k=function(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=s.link_password,c=s.relay_entries;return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linkage Password",children:(0,e.createComponentVNode)(2,t.Button,{content:m||"Unset",selected:m,icon:"lock",onClick:function(){function v(){return u("change_password")}return v}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),c.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.status===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Online"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Offline"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",onClick:function(){function b(){return u("unlink",{addr:v.addr})}return b}()})})]},v.addr)})]})]})},S=function(i,l){var f=(0,a.useBackend)(l),u=f.act,s=f.data,m=s.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function c(){return u("add_filter")}return c}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),m.map(function(c){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:c}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function v(){return u("remove_filter",{user:c})}return v}()})})]},c)})]})})}},88046:function(I,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.TcommsRelay=function(){function k(S,p){var i=(0,a.useBackend)(p),l=i.act,f=i.data,u=f.linked,s=f.active,m=f.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"On":"Off",selected:s,icon:"power-off",onClick:function(){function c(){return l("toggle_active")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:m||"Unset",selected:m,icon:"server",onClick:function(){function c(){return l("network_id")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:u===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),u===1?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,V)]})})}return k}(),y=function(S,p){var i=(0,a.useBackend)(p),l=i.act,f=i.data,u=f.linked_core_id,s=f.linked_core_addr,m=f.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:m?"Yes":"No",icon:m?"eye-slash":"eye",selected:m,onClick:function(){function c(){return l("toggle_hidden_link")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function c(){return l("unlink")}return c}()})})]})})},V=function(S,p){var i=(0,a.useBackend)(p),l=i.act,f=i.data,u=f.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),u.map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function m(){return l("link",{addr:s.addr})}return m}()})})]},s.addr)})]})})}},20802:function(I,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=n(79646),y=r.Teleporter=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.targetsTeleport?l.targetsTeleport:{},u=0,s=1,m=2,c=l.calibrated,v=l.calibrating,b=l.powerstation,g=l.regime,h=l.teleporterhub,C=l.target,N=l.locked,x=l.accuracy;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(!b||!h)&&(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[h,!b&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),b&&!h&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),b&&h&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Regime",children:[(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to another teleport hub. ",color:g===s?"good":null,onClick:function(){function B(){return i("setregime",{regime:s})}return B}(),children:"Gate"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"One-way teleport. ",color:g===u?"good":null,onClick:function(){function B(){return i("setregime",{regime:u})}return B}(),children:"Teleporter"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to a location stored in a GPS device. ",color:g===m?"good":null,disabled:!N,onClick:function(){function B(){return i("setregime",{regime:m})}return B}(),children:"GPS"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Teleport target",children:[g===u&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:C,options:Object.keys(f),color:C!=="None"?"default":"bad",onSelected:function(){function B(L){return i("settarget",{x:f[L].x,y:f[L].y,z:f[L].z})}return B}()}),g===s&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:C,options:Object.keys(f),color:C!=="None"?"default":"bad",onSelected:function(){function B(L){return i("settarget",{x:f[L].x,y:f[L].y,z:f[L].z})}return B}()}),g===m&&(0,e.createComponentVNode)(2,t.Box,{children:C})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Calibration",children:[C!=="None"&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,d.GridColumn,{size:"2",children:v&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||(c||x>=3)&&(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Optimal"})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Sub-Optimal"})}),(0,e.createComponentVNode)(2,d.GridColumn,{size:"3",children:(0,e.createComponentVNode)(2,t.Box,{class:"ml-1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",disabled:!!(c||v),onClick:function(){function B(){return i("calibrate")}return B}()})})})]}),C==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})}),!!(N&&b&&h&&g===m)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",justify:"space-around",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function B(){return i("load")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function B(){return i("eject")}return B}()})]})})]})})}return V}()},24410:function(I,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(72253),d=n(92986),y=n(36036),V=n(98595),k=r.sanitizeMultiline=function(){function l(f){return f.replace(/(\n|\r\n){3,}/,"\n\n")}return l}(),S=r.removeAllSkiplines=function(){function l(f){return f.replace(/[\r\n]+/,"")}return l}(),p=r.TextInputModal=function(){function l(f,u){var s=(0,o.useBackend)(u),m=s.act,c=s.data,v=c.max_length,b=c.message,g=b===void 0?"":b,h=c.multiline,C=c.placeholder,N=c.timeout,x=c.title,B=(0,o.useLocalState)(u,"input",C||""),L=B[0],w=B[1],A=function(){function O(P){if(P!==L){var R=h?k(P):S(P);w(R)}}return O}(),T=h||L.length>=40,E=130+(g.length>40?Math.ceil(g.length/4):0)+(T?80:0);return(0,e.createComponentVNode)(2,V.Window,{title:x,width:325,height:E,children:[N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function O(P){var R=window.event?P.which:P.keyCode;R===d.KEY_ENTER&&(!T||!P.shiftKey)&&m("submit",{entry:L}),R===d.KEY_ESCAPE&&m("cancel")}return O}(),children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i,{input:L,onType:A})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+v})})]})})})]})}return l}(),i=function(f,u){var s=(0,o.useBackend)(u),m=s.act,c=s.data,v=c.max_length,b=c.multiline,g=f.input,h=f.onType,C=b||g.length>=40;return(0,e.createComponentVNode)(2,y.TextArea,{autoFocus:!0,autoSelect:!0,height:b||g.length>=40?"100%":"1.8rem",maxLength:v,onEscape:function(){function N(){return m("cancel")}return N}(),onEnter:function(){function N(x){C&&x.shiftKey||(x.preventDefault(),m("submit",{entry:g}))}return N}(),onInput:function(){function N(x,B){return h(B)}return N}(),placeholder:"Type something...",value:g})}},69566:function(I,r,n){"use strict";r.__esModule=!0,r.ThiefKit=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.ThiefKit=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.uses,f=i.possible_uses,u=i.multi_uses,s=i.kits,m=i.choosen_kits;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:900,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041D\u0430\u0431\u043E\u0440 \u0413\u0438\u043B\u044C\u0434\u0438\u0438 \u0412\u043E\u0440\u043E\u0432:",children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:[(0,e.createVNode)(1,"i",null,"\u0423\u0432\u0435\u0441\u0438\u0441\u0442\u0430\u044F \u043A\u043E\u0440\u043E\u0431\u043A\u0430, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u043B\u0435\u0436\u0438\u0442 \u0441\u043D\u0430\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u0433\u0438\u043B\u044C\u0434\u0438\u0438 \u0432\u043E\u0440\u043E\u0432.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"i",null,"\u041D\u0430\u0431\u043E\u0440 \u0432\u043E\u0440\u0430-\u0448\u0440\u0435\u0434\u0438\u043D\u0433\u0435\u0440\u0430. \u041D\u0435\u043B\u044C\u0437\u044F \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0447\u0442\u043E \u0432 \u043D\u0451\u043C, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u0430\u0433\u043B\u044F\u043D\u0435\u0448\u044C \u0432\u043D\u0443\u0442\u0440\u044C.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"p",null,(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043A\u043E\u0435 \u0441\u043D\u0430\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u0432 \u043D\u0451\u043C \u043B\u0435\u0436\u0438\u0442?:",16),2),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043E \u043D\u0430\u0431\u043E\u0440\u043E\u0432:"),(0,e.createComponentVNode)(2,t.Box,{as:"span",color:l<=0?"good":l=f,onClick:function(){function c(){return p("randomKit")}return c}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:s&&s.map(function(c){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:c.name,buttons:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"upload",content:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",disabled:c.was_taken||l>=f,onClick:function(){function v(){return p("takeKit",{item:c.type})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",disabled:!c.was_taken,onClick:function(){function v(){return p("undoKit",{item:c.type})}return v}()})]}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:c.desc})},c.type)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u043D\u0430\u0431\u043E\u0440\u044B:",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:m&&m.map(function(c){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:c.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440",onClick:function(){function v(){return p("undoKit",{item:c.type})}return v}()}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:" "})},c.type)})})}),(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440",color:l0?(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("[Left:"),x.contractor.available_offers,(0,e.createTextVNode)("]")],0):(0,e.createVNode)(1,"i",null,"[Offers over]",16):"",x.contractor.accepted?(0,e.createVNode)(1,"i",null,"\xA0(Accepted)",16):!x.contractor.is_admin_forced&&x.contractor.available_offers<=0?"":(0,e.createComponentVNode)(2,d.Countdown,{timeLeft:x.contractor.time_left,format:function(){function P(R,F){return" ("+F+")"}return P}(),bold:!0})]},"BecomeContractor"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{onClick:function(){function P(){return N("lock")}return P}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:p(w)})]})})]})}return b}(),l=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=x.crystals,L=x.cats,w=(0,y.useLocalState)(h,"uplinkItems",L[0].items),A=w[0],T=w[1],E=(0,y.useLocalState)(h,"searchText",""),O=E[0],P=E[1],R=function($,G){G===void 0&&(G="");var ne=(0,o.createSearch)(G,function(Q){var he=Q.hijack_only===1?"|hijack":"";return Q.name+"|"+Q.desc+"|"+Q.cost+"tc"+he});return(0,t.flow)([(0,a.filter)(function(Q){return Q==null?void 0:Q.name}),G&&(0,a.filter)(ne),(0,a.sortBy)(function(Q){return Q==null?void 0:Q.name})])($)},F=function($){if(P($),$==="")return T(L[0].items);T(R(L.map(function(G){return G.items}).flat(),$))},j=(0,y.useLocalState)(h,"showDesc",1),W=j[0],H=j[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:W,onClick:function(){function z(){return H(!W)}return z}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Random Item",icon:"question",onClick:function(){function z(){return N("buyRandom")}return z}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function z(){return N("refund")}return z}()})],4),children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function z($,G){F(G)}return z}(),value:O})})})}),(0,e.createComponentVNode)(2,V.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:L.map(function(z){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:O!==""?!1:z.items===A,onClick:function(){function $(){T(z.items),P("")}return $}(),children:z.cat},z)})})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:A.map(function(z){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,s,{i:z,showDecription:W},(0,o.decodeHtmlEntities)(z.name))},(0,o.decodeHtmlEntities)(z.name))})})})})]})]})},f=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=x.cart,L=x.crystals,w=x.cart_price,A=(0,y.useLocalState)(h,"showDesc",0),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+L+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:T,onClick:function(){function O(){return E(!T)}return O}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function O(){return N("empty_cart")}return O}(),disabled:!B}),(0,e.createComponentVNode)(2,V.Button,{content:"Purchase Cart ("+w+"TC)",icon:"shopping-cart",onClick:function(){function O(){return N("purchase_cart")}return O}(),disabled:!B||w>L})],4),children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:B?B.map(function(O){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,s,{i:O,showDecription:T,buttons:(0,e.createComponentVNode)(2,c,{i:O})})},(0,o.decodeHtmlEntities)(O.name))}):(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,u)]})},u=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=x.cats,L=x.lucky_numbers;return(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function w(){return N("shuffle_lucky_numbers")}return w}()}),children:(0,e.createComponentVNode)(2,V.Stack,{wrap:!0,children:L.map(function(w){return B[w.cat].items[w.item]}).filter(function(w){return w!=null}).map(function(w,A){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,s,{grow:!0,i:w})},A)})})})})},s=function(g,h){var C=g.i,N=g.showDecription,x=N===void 0?1:N,B=g.buttons,L=B===void 0?(0,e.createComponentVNode)(2,m,{i:C}):B;return(0,e.createComponentVNode)(2,V.Section,{title:(0,o.decodeHtmlEntities)(C.name),showBottom:x,buttons:L,children:x?(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(C.desc)}):null})},m=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=g.i,L=x.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function w(){return N("add_to_cart",{item:B.obj_path})}return w}(),disabled:B.cost>L}),(0,e.createComponentVNode)(2,V.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function w(){return N("buyItem",{item:B.obj_path})}return w}(),disabled:B.cost>L})],4)},c=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=g.i,L=x.exploitable;return(0,e.createComponentVNode)(2,V.Stack,{children:[(0,e.createComponentVNode)(2,V.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function w(){return N("remove_from_cart",{item:B.obj_path})}return w}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function w(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return w}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,V.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function w(A,T){return N("set_cart_item_quantity",{item:B.obj_path,quantity:T})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,V.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function w(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},v=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=x.exploitable,L=(0,y.useLocalState)(h,"selectedRecord",B[0]),w=L[0],A=L[1],T=(0,y.useLocalState)(h,"searchText",""),E=T[0],O=T[1],P=function(j,W){W===void 0&&(W="");var H=(0,o.createSearch)(W,function(z){return z.name});return(0,t.flow)([(0,a.filter)(function(z){return z==null?void 0:z.name}),W&&(0,a.filter)(H),(0,a.sortBy)(function(z){return z.name})])(j)},R=P(B,E);return(0,e.createComponentVNode)(2,V.Section,{fill:!0,title:"Exploitable Records",children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",fill:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function F(j,W){return O(W)}return F}()}),(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:R.map(function(F){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:F===w,onClick:function(){function j(){return A(F)}return j}(),children:F.name},F)})})]})}),(0,e.createComponentVNode)(2,V.Divider,{vertical:!0}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,title:w.name,scrollable:!0,children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:w.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:w.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:w.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:w.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:w.species}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Records",children:w.exploit_record})]})})})]})})};(0,S.modalRegisterBodyOverride)("become_contractor",function(b,g){var h,C,N,x,B=(0,y.useBackend)(g),L=B.data,w=L.contractor||{},A=w.time_left,T=!!(L!=null&&(h=L.contractor)!=null&&h.available),E=!!(L!=null&&(C=L.contractor)!=null&&C.affordable),O=!!(L!=null&&(N=L.contractor)!=null&&N.accepted),P=L.contractor||{},R=P.available_offers,F=!!(L!=null&&(x=L.contractor)!=null&&x.is_admin_forced);return(0,e.createComponentVNode)(2,V.Section,{height:"65%",level:"2",m:"-1rem",pb:"1rem",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Icon,{name:"suitcase"}),(0,e.createTextVNode)("\xA0 Contracting Opportunity")],4),children:[(0,e.createComponentVNode)(2,V.Box,{mx:"0.5rem",mb:"0.5rem",children:[(0,e.createVNode)(1,"b",null,"Your achievements for the Syndicate have not gone unnoticed, agent. We have decided to give you the rare opportunity of becoming a Contractor.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),"For the small price of 20 telecrystals, we will upgrade your rank to that of a Contractor, allowing you to undertake kidnapping contracts for TC and credits.",(0,e.createVNode)(1,"br"),"In addition, you will be supplied with a Contractor Kit which contains a Contractor Uplink, standard issue contractor gear and three random low cost items.",(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),"More detailed instructions can be found within your kit, should you accept this offer.",F?"":(0,e.createComponentVNode)(2,V.Box,{children:["Hurry up. You are not the only one who received this offer. Their number is limited. If other traitors accept all offers before you, you will not be able to accept one of them.",(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Available offers: "),R],0)]})]}),(0,e.createComponentVNode)(2,V.Button.Confirm,{disabled:!T||O,italic:!T,bold:T,icon:T&&!O&&"check",color:"good",content:O?"Accepted":T?["Accept Offer",(0,e.createComponentVNode)(2,d.Countdown,{timeLeft:A,format:function(){function j(W,H){return" ("+H+")"}return j}()},"countdown")]:E?L.contractor.is_admin_forced?"Offer expired":L.contractor.available_offers>0?(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("[Left:"),L.contractor.available_offers,(0,e.createTextVNode)("]")],0):(0,e.createVNode)(1,"i",null,"[Offers are over]",16):"Insufficient TC",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function j(){return(0,S.modalAnswer)(g,b.id,1)}return j}()})]})})},8946:function(I,r,n){"use strict";r.__esModule=!0,r.VampireSpecMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.VampireSpecMenu=function(){function i(l,f){return(0,e.createComponentVNode)(2,o.Window,{width:1500,height:820,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,p)]})})})}return i}(),y=function(l,f){var u=(0,a.useBackend)(f),s=u.act,m=u.data,c=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Hemomancer",children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Hemomancer",onClick:function(){function v(){return s("hemomancer")}return v}()})]})})},V=function(l,f){var u=(0,a.useBackend)(f),s=u.act,m=u.data,c=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Umbrae",children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you are forced back to the anchor. It will not teleport you between Z levels.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. It will also cause nearby creatures to freeze.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permament X-ray vision.",16),(0,e.createComponentVNode)(2,t.Button,{content:"Umbrae",onClick:function(){function v(){return s("umbrae")}return v}()})]})})},k=function(l,f){var u=(0,a.useBackend)(f),s=u.act,m=u.data,c=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Gargantua",children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you dont have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": You gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Gargantua",onClick:function(){function v(){return s("gargantua")}return v}()})]})})},S=function(l,f){var u=(0,a.useBackend)(f),s=u.act,m=u.data,c=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Dantalion",children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that, blinds then make everyone nearby perceive others to looks like random animals.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Dantalion",onClick:function(){function v(){return s("dantalion")}return v}()})]})})},p=function(l,f){var u=(0,a.useBackend)(f),s=u.act,m=u.data,c=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Bestia",children:[(0,e.createVNode)(1,"h3",null,"Focuses on transformations and trophies harvesting.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Check Trophies",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to check current trophies amount and all the passive effects they provide.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dissect",16),(0,e.createTextVNode)(": Unlocked at 150 blood, main source of gaining power, besides blood, allows you to harvest human organs, as a trophies, to passively increase your might.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dissect Cap",16),(0,e.createTextVNode)(": You can only harvest one organ trophie at a time. This can be increased at 600 blood and at full power to a max of 3 trophies per victim.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Infected Trophy",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to stun enemies from the safe distance and infect them with the deadly Grave Fever.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Lunge",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to rapidly close distance to a victim or escape a dangerous situation.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Mark the Prey",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to mark a victim which drastically reduces their movement speed and forces them to take spontaneous actions.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Metamorphosis - Bats",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to shapeshift into the deadly and vicious space bats swarm.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Anabiosis",16),(0,e.createTextVNode)(": Unlocked at 600 blood, ancient technique which allows you to cure almost any wounds while sleeping in a coffin.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Summon Bats",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to call extraplanar space bats to aid you in combat.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Metamorphosis - Hound",16),(0,e.createTextVNode)(": Allows you to shapeshift into the ultimate form of bluespace entity which took over your soul.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Bestia",onClick:function(){function v(){return s("bestia")}return v}()})]})})}},45770:function(I,r,n){"use strict";r.__esModule=!0,r.VampireTrophiesStatus=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=function(b){return(Math.round(b*10)/10).toFixed(1)},y=r.VampireTrophiesStatus=function(){function v(b,g){return(0,e.createComponentVNode)(2,o.Window,{theme:"nologo",width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,c)]})})})}return v}(),V=function(b,g){var h=(0,a.useBackend)(g),C=h.act,N=h.data,x=N.hearts,B=N.lungs,L=N.livers,w=N.kidneys,A=N.eyes,T=N.ears,E=N.trophies_max_gen,O=N.trophies_max_crit,P=N.icon_hearts,R=N.icon_lungs,F=N.icon_livers,j=N.icon_kidneys,W=N.icon_eyes,H=N.icon_ears;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Trophies",color:"red",textAlign:"center",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,width:"16.6%",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+P,verticalAlign:"middle",style:{"margin-left":"-32px","margin-right":"-48px","margin-top":"-32px","margin-bottom":"-48px",height:"128px",width:"128px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,textColor:xb;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+m,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:u.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{color:s<=0&&"bad"||s<=u.max_amount/2&&"average"||"good",children:[s," in stock"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,disabled:L,icon:B,content:x,textAlign:"left",onClick:function(){function w(){return l("vend",{inum:u.inum})}return w}()})})]})},V=r.Vending=function(){function k(S,p){var i=(0,t.useBackend)(p),l=i.act,f=i.data,u=f.user,s=f.guestNotice,m=f.userMoney,c=f.chargesMoney,v=f.product_records,b=v===void 0?[]:v,g=f.coin_records,h=g===void 0?[]:g,C=f.hidden_records,N=C===void 0?[]:C,x=f.stock,B=f.vend_ready,L=f.coin_name,w=f.inserted_item_name,A=f.panel_open,T=f.speaker,E=f.imagelist,O;return O=[].concat(b,h),f.extended_inventory&&(O=[].concat(O,N)),O=O.filter(function(P){return!!P}),(0,e.createComponentVNode)(2,d.Window,{width:470,height:100+Math.min(b.length*38,500),title:"Vending Machine",children:(0,e.createComponentVNode)(2,d.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[!!c&&(0,e.createComponentVNode)(2,o.Section,{title:"User",children:u&&(0,e.createComponentVNode)(2,o.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,u.name,0),","," ",(0,e.createVNode)(1,"b",null,u.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[m,(0,e.createTextVNode)(" credits")],0),"."]})||(0,e.createComponentVNode)(2,o.Box,{color:"light-grey",children:s})}),!!L&&(0,e.createComponentVNode)(2,o.Section,{title:"Coin",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Remove Coin",onClick:function(){function P(){return l("remove_coin",{})}return P}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:L})}),!!w&&(0,e.createComponentVNode)(2,o.Section,{title:"Item",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject Item",onClick:function(){function P(){return l("eject_item",{})}return P}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:w})}),!!A&&(0,e.createComponentVNode)(2,o.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,o.Button,{icon:T?"check":"volume-mute",selected:T,content:"Speaker",textAlign:"left",onClick:function(){function P(){return l("toggle_voice",{})}return P}()})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Products",fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:O.map(function(P){return(0,e.createComponentVNode)(2,y,{product:P,productStock:x[P.name],productImage:E[P.path]},P.name)})})})})]})})})}return k}()},68971:function(I,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.VolumeMixer=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+l.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:l.map(function(f,u){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:u>0&&"0.5rem",children:f.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function s(){return p("volume",{channel:f.num,volume:0})}return s}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.Slider,{minValue:0,maxValue:100,stepPixelSize:3.13,value:f.volume,onChange:function(){function s(m,c){return p("volume",{channel:f.num,volume:c})}return s}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function s(){return p("volume",{channel:f.num,volume:100})}return s}()})})})]})})],4,f.num)})})})})}return y}()},2510:function(I,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.VotePanel=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.remaining,f=i.question,u=i.choices,s=i.user_vote,m=i.counts,c=i.show_counts,v=i.show_cancel;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:f,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:["Time remaining: ",Math.round(l/10),"s"]}),u.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:b+(c?" ("+(m[b]||0)+")":""),onClick:function(){function g(){return p("vote",{target:b})}return g}(),selected:b===s})},b)}),!!v&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Cancel",onClick:function(){function b(){return p("cancel")}return b}()})},"Cancel")]})})})}return y}()},30138:function(I,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),d=r.Wires=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.wires||[],f=i.status||[],u=56+l.length*23+(status?0:15+f.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:u,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(s){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:s.color_name,labelColor:s.seen_color,color:s.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:s.cut?"Mend":"Cut",onClick:function(){function m(){return p("cut",{wire:s.color})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function m(){return p("pulse",{wire:s.color})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:s.attached?"Detach":"Attach",onClick:function(){function m(){return p("attach",{wire:s.color})}return m}()})],4),children:!!s.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),s.wire,(0,e.createTextVNode)(")")],0)},s.seen_color)})})})}),!!f.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:f.map(function(s){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:s},s)})})})]})})})}return y}()},30995:function(I,r,n){"use strict";r.__esModule=!0,r.Workshop=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),d=n(73379),y=n(98595),V=["title","items"];function k(u,s){if(u==null)return{};var m={};for(var c in u)if({}.hasOwnProperty.call(u,c)){if(s.includes(c))continue;m[c]=u[c]}return m}var S=function(s,m,c){return s.requirements===null?!0:!(s.requirements.brass>m||s.requirements.power>c)},p=r.Workshop=function(){function u(s,m){var c=(0,t.useBackend)(m),v=c.act,b=c.data,g=b.brass_amount,h=b.power_amount,C=b.building,N=b.buildStart,x=b.buildEnd,B=b.worldTime,L=g.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),w=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),A={float:"left",width:"60%"},T={float:"right",width:"39%"};return(0,e.createComponentVNode)(2,y.Window,{width:400,height:500,theme:"clockwork",children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,o.Section,{title:"Materials",children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Brass",children:[L,(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",height:"19px",tooltip:"Dispense Brass",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){function E(){return v("dispense")}return E}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:w})]}),C&&(0,e.createComponentVNode)(2,o.ProgressBar.Countdown,{mt:2,start:N,current:B,end:x,bold:!0,children:["Building ",C,"\xA0(",(0,e.createComponentVNode)(2,d.Countdown,{current:B,timeLeft:x-B,format:function(){function E(O,P){return P.substr(3)}return E}()}),")"]})]})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,l)})})]})})})}return u}(),i=function(s,m){var c=(0,t.useLocalState)(m,"search",""),v=c[0],b=c[1],g=(0,t.useLocalState)(m,"sort",""),h=g[0],C=g[1],N=(0,t.useLocalState)(m,"descending",!1),x=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Stack,{width:"100%",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",mr:"0.5rem",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(){function L(w,A){return b(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"arrow-down":"arrow-up",height:"19px",tooltip:x?"Descending order":"Ascending order",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){function L(){return B(!x)}return L}()})})]})})},l=function(s,m){var c=(0,t.useBackend)(m),v=c.act,b=c.data,g=b.items,h=(0,t.useLocalState)(m,"search",""),C=h[0],N=h[1],x=(0,t.useLocalState)(m,"sort","Alphabetical"),B=x[0],L=x[1],w=(0,t.useLocalState)(m,"descending",!1),A=w[0],T=w[1],E=(0,a.createSearch)(C,function(R){return R[0]}),O=!1,P=Object.entries(g).map(function(R,F){var j=Object.entries(R[1]).filter(E).map(function(W){return W[1].affordable=S(W[1],b.brass_amount,b.power_amount),W[1]});if(j.length!==0)return A&&(j=j.reverse()),O=!0,(0,e.createComponentVNode)(2,f,{title:R[0],items:j},R[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",children:(0,e.createComponentVNode)(2,o.Section,{children:O?P:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},f=function(s,m){var c=(0,t.useBackend)(m),v=c.act,b=c.data,g=s.title,h=s.items,C=k(s,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:g},C,{children:h.map(function(N){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+N.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,o.Button,{icon:"hammer",disabled:!S(N,b.brass_amount,b.power_amount),onClick:function(){function x(){return v("make",{cat:g,name:N.name})}return x}(),children:(0,a.toTitleCase)((0,a.toTitleCase)(N.name))}),(0,e.createComponentVNode)(2,o.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"right"},children:N.requirements&&Object.keys(N.requirements).map(function(x){return(0,a.toTitleCase)(x)+": "+N.requirements[x]}).join(", ")||(0,e.createComponentVNode)(2,o.Box,{children:"No resources required."})}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})]},N.name)})})))}},49148:function(I,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036);function d(p,i){var l=typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(l)return(l=l.call(p)).next.bind(l);if(Array.isArray(p)||(l=y(p))||i&&p&&typeof p.length=="number"){l&&(p=l);var f=0;return function(){return f>=p.length?{done:!0}:{done:!1,value:p[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(p,i){if(p){if(typeof p=="string")return V(p,i);var l={}.toString.call(p).slice(8,-1);return l==="Object"&&p.constructor&&(l=p.constructor.name),l==="Map"||l==="Set"?Array.from(p):l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?V(p,i):void 0}}function V(p,i){(i==null||i>p.length)&&(i=p.length);for(var l=0,f=Array(i);l0&&!N.includes(j.ref)&&!h.includes(j.ref),checked:h.includes(j.ref),onClick:function(){function W(){return x(j.ref)}return W}()},j.desc)})]})]})})}return p}()},26991:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),d=function(k,S,p,i,l){return ki?"average":k>l?"bad":"good"},y=r.AtmosScan=function(){function V(k,S){var p=k.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(i){return i.val!=="0"||i.entry==="Pressure"||i.entry==="Temperature"})(p).map(function(i){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:i.entry,color:d(i.val,i.bad_low,i.poor_low,i.poor_high,i.bad_high),children:[i.val,i.units]},i.entry)})})})}return V}()},85870:function(I,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(89005),a=n(36036),t=n(15964),o=function(V){return V+" unit"+(V===1?"":"s")},d=r.BeakerContents=function(){function y(V){var k=V.beakerLoaded,S=V.beakerContents,p=S===void 0?[]:S,i=V.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!k&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"No beaker loaded."})||p.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),p.map(function(l,f){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(l.volume)," of ",l.name]},l.name),!!i&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:i(l,f)})]},l.name)})]})}return y}();d.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},3939:function(I,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(89005),a=n(72253),t=n(36036),o={},d=r.modalOpen=function(){function p(i,l,f){var u=(0,a.useBackend)(i),s=u.act,m=u.data,c=Object.assign(m.modal?m.modal.args:{},f||{});s("modal_open",{id:l,arguments:JSON.stringify(c)})}return p}(),y=r.modalRegisterBodyOverride=function(){function p(i,l){o[i]=l}return p}(),V=r.modalAnswer=function(){function p(i,l,f,u){var s=(0,a.useBackend)(i),m=s.act,c=s.data;if(c.modal){var v=Object.assign(c.modal.args||{},u||{});m("modal_answer",{id:l,answer:f,arguments:JSON.stringify(v)})}}return p}(),k=r.modalClose=function(){function p(i,l){var f=(0,a.useBackend)(i),u=f.act;u("modal_close",{id:l})}return p}(),S=r.ComplexModal=function(){function p(i,l){var f=(0,a.useBackend)(l),u=f.data;if(u.modal){var s=u.modal,m=s.id,c=s.text,v=s.type,b,g=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return k(l)}return L}()}),h,C,N="auto";if(o[m])h=o[m](u.modal,l);else if(v==="input"){var x=u.modal.value;b=function(){function L(w){return V(l,m,x)}return L}(),h=(0,e.createComponentVNode)(2,t.Input,{value:u.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(w,A){x=A}return L}()}),C=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function L(){return k(l)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return V(l,m,x)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(v==="choice"){var B=typeof u.modal.choices=="object"?Object.values(u.modal.choices):u.modal.choices;h=(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:u.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(w){return V(l,m,w)}return L}()}),N="initial"}else v==="bento"?h=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:u.modal.choices.map(function(L,w){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:w+1===parseInt(u.modal.value,10),onClick:function(){function A(){return V(l,m,w+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},w)})}):v==="boolean"&&(C=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:u.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return V(l,m,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:u.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return V(l,m,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:i.maxWidth||window.innerWidth/2+"px",maxHeight:i.maxHeight||window.innerHeight/2+"px",onEnter:b,mx:"auto",overflowY:N,"padding-bottom":"5px",children:[c&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:c}),o[m]&&g,h,C]})}}return p}()},41874:function(I,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(25328),d=n(76910),y=d.COLORS.department,V=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],k=function(f){return V.indexOf(f)!==-1?"green":"orange"},S=function(f){if(V.indexOf(f)!==-1)return!0},p=function(f){return f.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),f.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{color:k(u.real_rank),bold:S(u.real_rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.active})]},u.name+u.rank)})]})},i=r.CrewManifest=function(){function l(f,u){var s=(0,a.useBackend)(u),m=s.act,c;if(f.data)c=f.data;else{var v=(0,a.useBackend)(u),b=v.data;c=b}var g=c,h=g.manifest,C=h.heads,N=h.pro,x=h.sec,B=h.eng,L=h.med,w=h.sci,A=h.ser,T=h.sup,E=h.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:p(C)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.procedure,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Procedure"})}),level:2,children:p(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:p(x)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:p(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:p(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:p(w)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:p(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:p(T)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:p(E)})]})}return l}()},19203:function(I,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(89005),a=n(36036),t=n(72253),o=r.InputButtons=function(){function d(y,V){var k=(0,t.useBackend)(V),S=k.act,p=k.data,i=p.large_buttons,l=p.swapped_buttons,f=y.input,u=y.message,s=y.disabled,m=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!i,fluid:!!i,onClick:function(){function v(){return S("submit",{entry:f})}return v}(),textAlign:"center",tooltip:i&&u,disabled:s,width:!i&&6}),c=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!i,fluid:!!i,onClick:function(){function v(){return S("cancel")}return v}(),textAlign:"center",width:!i&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:l?"row-reverse":"row",justify:"space-around",children:[i?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:l?.5:0,mr:l?0:.5,children:c}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:c}),!i&&u&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:u})}),i?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:l?.5:0,ml:l?0:.5,children:m}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:m})]})}return d}()},195:function(I,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.InterfaceLockNoticeBox=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=y.siliconUser,l=i===void 0?p.siliconUser:i,f=y.locked,u=f===void 0?p.locked:f,s=y.normallyLocked,m=s===void 0?p.normallyLocked:s,c=y.onLockStatusChange,v=c===void 0?function(){return S("lock")}:c,b=y.accessText,g=b===void 0?"an ID card":b;return l?(0,e.createComponentVNode)(2,t.NoticeBox,{color:l&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:m?"red":"green",icon:m?"lock":"unlock",content:m?"Locked":"Unlocked",onClick:function(){function h(){v&&v(!u)}return h}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",g," to ",u?"unlock":"lock"," this interface."]})}return d}()},51057:function(I,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(89005),a=n(44879),t=n(36036),o=r.Loader=function(){function d(y){var V=y.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(V)*100+"%"}}),2)}return d}()},321:function(I,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginInfo=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.loginState;if(p)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",i.name," (",i.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function l(){return S("login_logout")}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!i.id,content:"Eject ID",color:"good",onClick:function(){function l(){return S("login_eject")}return l}()})]})]})})}return d}()},5485:function(I,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginScreen=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.loginState,l=p.isAI,f=p.isRobot,u=p.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:i.id?i.id:"----------",ml:"0.5rem",onClick:function(){function s(){return S("login_insert")}return s}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!i.id,content:"Login",onClick:function(){function s(){return S("login_login",{login_type:1})}return s}()}),!!l&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function s(){return S("login_login",{login_type:2})}return s}()}),!!f&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function s(){return S("login_login",{login_type:3})}return s}()}),!!u&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function s(){return S("login_login",{login_type:4})}return s}()})]})})})}return d}()},62411:function(I,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(89005),a=n(36036),t=n(15964),o=r.Operating=function(){function d(y){var V=y.operating,k=y.name;if(V)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",k," is processing..."]})})})}return d}();o.propTypes={operating:t.bool,name:t.string}},13545:function(I,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),d=r.Signaler=function(){function y(V,k){var S=(0,t.useBackend)(k),p=S.act,i=V.data,l=i.code,f=i.frequency,u=i.minFrequency,s=i.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:u/10,maxValue:s/10,value:f/10,format:function(){function m(c){return(0,a.toFixed)(c,1)}return m}(),width:"80px",onDrag:function(){function m(c,v){return p("freq",{freq:v})}return m}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:l,width:"80px",onDrag:function(){function m(c,v){return p("code",{code:v})}return m}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function m(){return p("signal")}return m}()})]})}return y}()},41984:function(I,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(89005),a=n(72253),t=n(25328),o=n(64795),d=n(88510),y=n(36036),V=r.SimpleRecords=function(){function p(i,l){var f=i.data.records;return(0,e.createComponentVNode)(2,y.Box,{children:f?(0,e.createComponentVNode)(2,S,{data:i.data,recordType:i.recordType}):(0,e.createComponentVNode)(2,k,{data:i.data})})}return p}(),k=function(i,l){var f=(0,a.useBackend)(l),u=f.act,s=i.data.recordsList,m=(0,a.useLocalState)(l,"searchText",""),c=m[0],v=m[1],b=function(C,N){N===void 0&&(N="");var x=(0,t.createSearch)(N,function(B){return B.Name});return(0,o.flow)([(0,d.filter)(function(B){return B==null?void 0:B.Name}),N&&(0,d.filter)(x),(0,d.sortBy)(function(B){return B.Name})])(s)},g=b(s,c);return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createComponentVNode)(2,y.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function h(C,N){return v(N)}return h}()}),g.map(function(h){return(0,e.createComponentVNode)(2,y.Box,{children:(0,e.createComponentVNode)(2,y.Button,{mb:.5,content:h.Name,icon:"user",onClick:function(){function C(){return u("Records",{target:h.uid})}return C}()})},h)})]})},S=function(i,l){var f=(0,a.useBackend)(l),u=f.act,s=i.data.records,m=s.general,c=s.medical,v=s.security,b;switch(i.recordType){case"MED":b=(0,e.createComponentVNode)(2,y.Section,{level:2,title:"Medical Data",children:c?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Blood Type",children:c.blood_type}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Minor Disabilities",children:c.mi_dis}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:c.mi_dis_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Major Disabilities",children:c.ma_dis}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:c.ma_dis_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Allergies",children:c.alg}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:c.alg_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Current Diseases",children:c.cdi}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:c.cdi_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:c.notes})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":b=(0,e.createComponentVNode)(2,y.Section,{level:2,title:"Security Data",children:v?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Criminal Status",children:v.criminal}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Minor Crimes",children:v.mi_crim}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:v.mi_crim_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Major Crimes",children:v.ma_crim}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:v.ma_crim_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:v.notes})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createComponentVNode)(2,y.Section,{title:"General Data",children:m?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Name",children:m.name}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Sex",children:m.sex}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Species",children:m.species}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Age",children:m.age}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Rank",children:m.rank}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Fingerprint",children:m.fingerprint}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Physical Status",children:m.p_stat}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Mental Status",children:m.m_stat})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"General record lost!"})}),b]})}},22091:function(I,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.TemporaryNotice=function(){function d(y,V){var k,S=(0,a.useBackend)(V),p=S.act,i=S.data,l=i.temp;if(l){var f=(k={},k[l.style]=!0,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},f,{children:[(0,e.createComponentVNode)(2,t.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",float:"right",onClick:function(){function u(){return p("cleartemp")}return u}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})))}}return d}()},25443:function(I,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(20342),d=n(98595),y=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],V=["good","average","bad","black","white"],k=[{title:"Button",component:function(){function h(){return p}return h}()},{title:"Box",component:function(){function h(){return i}return h}()},{title:"ProgressBar",component:function(){function h(){return l}return h}()},{title:"Tabs",component:function(){function h(){return f}return h}()},{title:"Tooltip",component:function(){function h(){return u}return h}()},{title:"Input / Control",component:function(){function h(){return s}return h}()},{title:"Collapsible",component:function(){function h(){return m}return h}()},{title:"BlockQuote",component:function(){function h(){return v}return h}()},{title:"ByondUi",component:function(){function h(){return b}return h}()},{title:"Themes",component:function(){function h(){return g}return h}()}],S=r.KitchenSink=function(){function h(C,N){var x=(0,a.useLocalState)(N,"kitchenSinkTheme"),B=x[0],L=(0,a.useLocalState)(N,"pageIndex",0),w=L[0],A=L[1],T=k[w].component();return(0,e.createComponentVNode)(2,d.Window,{theme:B,resizable:!0,children:(0,e.createComponentVNode)(2,d.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:!0,children:k.map(function(E,O){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:O===w,onClick:function(){function P(){return A(O)}return P}(),children:E.title},O)})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,basis:0,children:(0,e.createComponentVNode)(2,T)})]})})})})}return h}(),p=function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Simple"}),(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Selected"}),(0,e.createComponentVNode)(2,t.Button,{altSelected:!0,content:"Alt Selected"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!0,content:"Disabled"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",content:"Transparent"}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Icon"}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Fluid"}),(0,e.createComponentVNode)(2,t.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"})]}),(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[V.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),y.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),y.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:"7px",color:N,children:N},N)})]})]})},i=function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"bold"}),(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"italic"}),(0,e.createComponentVNode)(2,t.Box,{opacity:.5,children:"opacity 0.5"}),(0,e.createComponentVNode)(2,t.Box,{opacity:.25,children:"opacity 0.25"}),(0,e.createComponentVNode)(2,t.Box,{m:2,children:"m: 2"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:"left"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"center"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"right",children:"right"})]})},l=function(C,N){var x=(0,a.useLocalState)(N,"progress",.5),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.5,1/0],bad:[-1/0,.1],average:[0,.5]},minValue:-1,maxValue:1,value:B,children:["Value: ",Number(B).toFixed(1)]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"-0.1",onClick:function(){function w(){return L(B-.1)}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function w(){return L(B+.1)}return w}()})]})]})},f=function(C,N){var x=(0,a.useLocalState)(N,"tabIndex",0),B=x[0],L=x[1],w=(0,a.useLocalState)(N,"tabVert"),A=w[0],T=w[1],E=(0,a.useLocalState)(N,"tabAlt"),O=E[0],P=E[1],R=[1,2,3,4,5];return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{mb:2,children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:A,onClick:function(){function F(){return T(!A)}return F}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"altSelection",checked:O,onClick:function(){function F(){return P(!O)}return F}()})]}),(0,e.createComponentVNode)(2,t.Tabs,{vertical:A,children:R.map(function(F,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{altSelection:O,selected:j===B,onClick:function(){function W(){return L(j)}return W}(),children:["Tab #",F]},j)})})]})},u=function(C){var N=["top","left","right","bottom","bottom-start","bottom-end"];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",mr:1,children:["Box (hover me).",(0,e.createComponentVNode)(2,t.Tooltip,{content:"Tooltip text."})]}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:N.map(function(x){return(0,e.createComponentVNode)(2,t.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:x,content:x},x)})})],4)},s=function(C,N){var x=(0,a.useLocalState)(N,"number",0),B=x[0],L=x[1],w=(0,a.useLocalState)(N,"text","Sample text"),A=w[0],T=w[1];return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onChange)",children:(0,e.createComponentVNode)(2,t.Input,{value:A,onChange:function(){function E(O,P){return T(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:A,onInput:function(){function E(O,P){return T(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onChange:function(){function E(O,P){return L(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,e.createComponentVNode)(2,t.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rotating Icon",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:(0,e.createComponentVNode)(2,o.DraggableControl,{value:B,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function E(O,P){return L(P)}return E}(),children:function(){function E(O){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:O.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:O.displayValue*4}),O.inputElement]})}return E}()})})})]})})},m=function(C){return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Collapsible Demo",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog"}),children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,c)})})},c=function(C){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({},C,{children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,t.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))},v=function(C){return(0,e.createComponentVNode)(2,t.BlockQuote,{children:(0,e.createComponentVNode)(2,c)})},b=function(C,N){var x=(0,a.useBackend)(N),B=x.config;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Button",level:2,children:(0,e.createComponentVNode)(2,t.ByondUi,{params:{type:"button",parent:B.window,text:"Button"}})})})},g=function(C,N){var x=(0,a.useLocalState)(N,"kitchenSinkTheme"),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Use theme",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"theme_name",value:B,onInput:function(){function w(A,T){return L(T)}return w}()})})})})}},96572:function(I,r,n){"use strict";r.__esModule=!0,r.pai_advsecrecords=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_advsecrecords=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special Syndicate options:",children:(0,e.createComponentVNode)(2,t.Button,{content:"Select Records",onClick:function(){function i(){return S("ui_interact")}return i}()})})})}return d}()},80818:function(I,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pai_atmosphere=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:p.app_data})}return d}()},23903:function(I,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_bioscan=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,l=i.holder,f=i.dead,u=i.health,s=i.brute,m=i.oxy,c=i.tox,v=i.burn,b=i.reagents,g=i.addictions,h=i.fractures,C=i.internal_bleeding;return l?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:m})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:c})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:v})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagents",children:b?b.map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.title,children:(0,e.createComponentVNode)(2,t.Box,{color:N.overdosed?"bad":"good",children:[" ",N.volume," ",N.overdosed?"OVERDOSED":""," "]})},N.id)}):"Reagents not found."}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Addictions",children:g?g.map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.addiction_name,children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[" Stage: ",N.stage," "]})},N.id)}):(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Addictions not found."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fractures",children:(0,e.createComponentVNode)(2,t.Box,{color:h?"bad":"good",children:["Fractures ",h?"":"not"," detected."]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Bleedings",children:(0,e.createComponentVNode)(2,t.Box,{color:C?"bad":"good",children:["Internal Bleedings ",C?"":"not"," detected."]})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return d}()},79592:function(I,r,n){"use strict";r.__esModule=!0,r.pai_camera_bug=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_camera_bug=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special Syndicate options",children:(0,e.createComponentVNode)(2,t.Button,{content:"Select Monitor",onClick:function(){function i(){return S("ui_interact")}return i}()})})})}return d}()},64988:function(I,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_directives=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,l=i.master,f=i.dna,u=i.prime,s=i.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:l?l+" ("+f+")":"None"}),l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function m(){return S("getdna")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:s||"None"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:'Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.'}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:"Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability."})]})}return d}()},13813:function(I,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_doorjack=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,l=i.cable,f=i.machine,u=i.inprogress,s=i.progress,m=i.aborted,c;f?c=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):c=(0,e.createComponentVNode)(2,t.Button,{content:l?"Extended":"Retracted",color:l?"orange":null,onClick:function(){function b(){return S("cable")}return b}()});var v;return f&&(v=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.Box,{color:u?"green":"red",children:[" ","In progress: ",u?"Yes":"No"," "]}),u?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function b(){return S("cancel")}return b}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function b(){return S("jack")}return b}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:c}),v]})}return d}()},43816:function(I,r,n){"use strict";r.__esModule=!0,r.pai_encoder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_encoder=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,l=i.radio_name,f=i.radio_rank;return(0,e.createComponentVNode)(2,t.Section,{title:"Your name and rank in radio channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Your current name and rank",children:[l,", ",f]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new name",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function u(s,m){return S("set_newname",{newname:m})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new rank",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function u(s,m){return S("set_newrank",{newrank:m})}return u}()})})]})})}return d}()},88895:function(I,r,n){"use strict";r.__esModule=!0,r.pai_gps_module=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_gps_module=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"GPS menu",children:(0,e.createComponentVNode)(2,t.Button,{content:"Open GPS",onClick:function(){function i(){return S("ui_interact")}return i}()})})})}return d}()},66025:function(I,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_main_menu=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,l=i.available_software,f=i.installed_software,u=i.installed_toggles,s=i.available_ram,m=i.emotions,c=i.current_emotion,v=[];return f.map(function(b){return v[b.key]=b.name}),u.map(function(b){return v[b.key]=b.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[l.filter(function(b){return!v[b.key]}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{color:b.syndi?"red":"default",content:b.name+" ("+b.cost+")",icon:b.icon,disabled:b.cost>s,onClick:function(){function g(){return S("purchaseSoftware",{key:b.key})}return g}()},b.key)}),l.filter(function(b){return!v[b.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[f.filter(function(b){return b.key!=="mainmenu"}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,onClick:function(){function g(){return S("startSoftware",{software_key:b.key})}return g}()},b.key)}),f.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[u.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,selected:b.active,onClick:function(){function g(){return S("setToggle",{toggle_key:b.key})}return g}()},b.key)}),u.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:m.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{color:b.syndi?"red":"default",content:b.name,selected:b.id===c,onClick:function(){function g(){return S("setEmotion",{emotion:b.id})}return g}()},b.id)})})]})})}return d}()},2983:function(I,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pai_manifest=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:p.app_data})}return d}()},40758:function(I,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_medrecords=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S.app_data,recordType:"MED"})}return d}()},98599:function(I,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(89005),a=n(72253),t=n(77595),o=r.pai_messenger=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data.active_convo;return i?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:p.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:p.app_data})}return d}()},50775:function(I,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(89005),a=n(72253),t=n(44879),o=n(36036),d=r.pai_radio=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,l=i.app_data,f=l.minFrequency,u=l.maxFrequency,s=l.frequency,m=l.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:f/10,maxValue:u/10,value:s/10,format:function(){function c(v){return(0,t.toFixed)(v,1)}return c}(),onChange:function(){function c(v,b){return p("freq",{freq:b})}return c}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function c(){return p("freq",{freq:"145.9"})}return c}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function c(){return p("toggleBroadcast")}return c}(),selected:m,content:m?"Enabled":"Disabled"})})]})}return y}()},19873:function(I,r,n){"use strict";r.__esModule=!0,r.pai_sec_chem=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_sec_chem=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,l=i.holder,f=i.dead,u=i.health,s=i.current_chemicals,m=i.available_chemicals;return l?(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Chemicals",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Chemicals",children:[m.map(function(c){return(0,e.createComponentVNode)(2,t.Button,{content:c.name+" ("+c.cost+")",tooltip:c.desc,disabled:c.cost>s,onClick:function(){function v(){return S("secreteChemicals",{key:c.key})}return v}()},c.key)}),m.length===0&&"No chemicals available!"]})]})}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return d}()},48623:function(I,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_secrecords=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S.app_data,recordType:"SEC"})}return d}()},47297:function(I,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pai_signaler=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p.app_data})}return d}()},78532:function(I,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pda_atmos_scan=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:S})}return d}()},40253:function(I,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_janitor=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.janitor,l=i.user_loc,f=i.mops,u=i.buckets,s=i.cleanbots,m=i.carts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[l.x,",",l.y]}),f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:f.map(function(c){return(0,e.createComponentVNode)(2,t.Box,{children:[c.x,",",c.y," (",c.dir,") - ",c.status]},c)})}),u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:u.map(function(c){return(0,e.createComponentVNode)(2,t.Box,{children:[c.x,",",c.y," (",c.dir,") - [",c.volume,"/",c.max_volume,"]"]},c)})}),s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:s.map(function(c){return(0,e.createComponentVNode)(2,t.Box,{children:[c.x,",",c.y," (",c.dir,") - ",c.status]},c)})}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:m.map(function(c){return(0,e.createComponentVNode)(2,t.Box,{children:[c.x,",",c.y," (",c.dir,") - [",c.volume,"/",c.max_volume,"]"]},c)})})]})}return d}()},58293:function(I,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),d=r.pda_main_menu=function(){function y(V,k){var S=(0,t.useBackend)(k),p=S.act,i=S.data,l=i.owner,f=i.ownjob,u=i.idInserted,s=i.categories,m=i.pai,c=i.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[l,", ",f]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!u,onClick:function(){function v(){return p("UpdateInfo")}return v}()})})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Functions",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:s.map(function(v){var b=i.apps[v];return!b||!b.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:v,children:b.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.uid in c?g.notify_icon:g.icon,iconSpin:g.uid in c,color:g.uid in c?"red":"transparent",content:g.name,onClick:function(){function h(){return p("StartProgram",{program:g.uid})}return h}()},g.uid)})},v)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function v(){return p("pai",{option:1})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function v(){return p("pai",{option:2})}return v}()})]})})]})}return y}()},58059:function(I,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pda_manifest=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return d}()},18147:function(I,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_medical=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S,recordType:"MED"})}return d}()},77595:function(I,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),d=r.pda_messenger=function(){function S(p,i){var l=(0,t.useBackend)(i),f=l.act,u=l.data,s=u.active_convo;return s?(0,e.createComponentVNode)(2,y,{data:u}):(0,e.createComponentVNode)(2,V,{data:u})}return S}(),y=r.ActiveConversation=function(){function S(p,i){var l=(0,t.useBackend)(i),f=l.act,u=p.data,s=u.convo_device,m=u.messages,c=u.active_convo,v=(0,t.useLocalState)(i,"clipboardMode",!1),b=v[0],g=v[1],h=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+s+" ",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:b,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function C(){return g(!b)}return C}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function C(){return f("Message",{target:c})}return C}(),content:"Reply"})],4),children:(0,a.filter)(function(C){return C.target===c})(m).map(function(C,N){return(0,e.createComponentVNode)(2,o.Box,{textAlign:C.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:C.sent?"#4d9121":"#cd7a0d",position:"absolute",left:C.sent?null:"0px",right:C.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:C.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:C.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:C.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[C.sent?"You:":"Them:"," ",C.message]})]},N)})});return b&&(h=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+s+" ",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:b,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function C(){return g(!b)}return C}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function C(){return f("Message",{target:c})}return C}(),content:"Reply"})],4),children:(0,a.filter)(function(C){return C.target===c})(m).map(function(C,N){return(0,e.createComponentVNode)(2,o.Box,{color:C.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[C.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:C.message})]},N)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function C(){return f("Clear",{option:"Convo"})}return C}()})})})}),h]})}return S}(),V=r.MessengerList=function(){function S(p,i){var l=(0,t.useBackend)(i),f=l.act,u=p.data,s=u.convopdas,m=u.pdas,c=u.charges,v=u.silent,b=u.toff,g=(0,t.useLocalState)(i,"searchTerm",""),h=g[0],C=g[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!v,icon:v?"volume-mute":"volume-up",onClick:function(){function N(){return f("Toggle Ringer")}return N}(),children:["Ringer: ",v?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:b?"bad":"green",icon:"power-off",onClick:function(){function N(){return f("Toggle Messenger")}return N}(),children:["Messenger: ",b?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function N(){return f("Ringtone")}return N}(),children:"Set Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function N(){return f("Clear",{option:"All"})}return N}(),children:"Delete All Conversations"})]})}),!b&&(0,e.createComponentVNode)(2,o.Box,{children:[!!c&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[c," charges left."]})})}),!s.length&&!m.length&&(0,e.createComponentVNode)(2,o.Box,{children:"No current conversations"})||(0,e.createComponentVNode)(2,o.Box,{children:["Search:"," ",(0,e.createComponentVNode)(2,o.Input,{mt:.5,value:h,onInput:function(){function N(x,B){C(B)}return N}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,k,{title:"Current Conversations",data:u,pdas:s,msgAct:"Select Conversation",searchTerm:h}),(0,e.createComponentVNode)(2,k,{title:"Other PDAs",pdas:m,msgAct:"Message",data:u,searchTerm:h})]})}return S}(),k=function(p,i){var l=(0,t.useBackend)(i),f=l.act,u=p.data,s=p.pdas,m=p.title,c=p.msgAct,v=p.searchTerm,b=u.charges,g=u.plugins;return!s||!s.length?(0,e.createComponentVNode)(2,o.Section,{title:m,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:m,children:s.filter(function(h){return h.Name.toLowerCase().includes(v.toLowerCase())}).map(function(h){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:h.Name,onClick:function(){function C(){return f(c,{target:h.uid})}return C}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!b&&g.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{icon:C.icon,content:C.name,onClick:function(){function N(){return f("Messenger Plugin",{plugin:C.uid,target:h.uid})}return N}()},C.uid)})})]},h.uid)})})}},24635:function(I,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_mule=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.mulebot,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,d)})}return V}(),d=function(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.mulebot,u=f.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[u.map(function(s){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:s.Name,icon:"cog",onClick:function(){function m(){return i("AccessBot",{uid:s.uid})}return m}()})},s.Name)}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"rss",content:"Re-scan for bots",onClick:function(){function s(){return i("Rescan")}return s}()})})]})},y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.mulebot,u=f.botstatus,s=f.active,m=u.mode,c=u.loca,v=u.load,b=u.powr,g=u.dest,h=u.home,C=u.retn,N=u.pick,x;switch(m){case 0:x="Ready";break;case 1:x="Loading/Unloading";break;case 2:case 12:x="Navigating to delivery location";break;case 3:x="Navigating to Home";break;case 4:x="Waiting for clear path";break;case 5:case 6:x="Calculating navigation path";break;case 7:x="Unable to locate destination";break;default:x=m;break}return(0,e.createComponentVNode)(2,t.Section,{title:s,children:[m===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:c}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:x}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[b,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:g?g+" (Set)":"None (Set)",onClick:function(){function B(){return i("SetDest")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:v?v+" (Unload)":"None",disabled:!v,onClick:function(){function B(){return i("Unload")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Yes":"No",selected:N,onClick:function(){function B(){return i("SetAutoPickup",{autoPickupType:N?"pickoff":"pickon"})}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"Yes":"No",selected:C,onClick:function(){function B(){return i("SetAutoReturn",{autoReturnType:C?"retoff":"reton"})}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function B(){return i("Stop")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function B(){return i("Start")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function B(){return i("ReturnHome")}return B}()})]})]})]})}},97085:function(I,r,n){"use strict";r.__esModule=!0,r.pda_notes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_notes=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.note;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{children:i}),(0,e.createComponentVNode)(2,t.Button,{icon:"pen",onClick:function(){function l(){return S("Edit")}return l}(),content:"Edit"})]})}return d}()},57513:function(I,r,n){"use strict";r.__esModule=!0,r.pda_power=void 0;var e=n(89005),a=n(72253),t=n(61631),o=r.pda_power=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.PowerMonitorMainContent)}return d}()},99808:function(I,r,n){"use strict";r.__esModule=!0,r.pda_secbot=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_secbot=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.beepsky,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,d)})}return V}(),d=function(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.beepsky,u=f.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[u.map(function(s){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:s.Name,icon:"cog",onClick:function(){function m(){return i("AccessBot",{uid:s.uid})}return m}()})},s.Name)}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"rss",content:"Re-scan for bots",onClick:function(){function s(){return i("Rescan")}return s}()})})]})},y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,l=p.data,f=l.beepsky,u=f.botstatus,s=f.active,m=u.mode,c=u.loca,v;switch(m){case 0:v="Ready";break;case 1:v="Apprehending target";break;case 2:case 3:v="Arresting target";break;case 4:v="Starting patrol";break;case 5:v="On patrol";break;case 6:v="Responding to summons";break}return(0,e.createComponentVNode)(2,t.Section,{title:s,children:[m===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:c}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:v}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Go",icon:"play",onClick:function(){function b(){return i("Go")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function b(){return i("Stop")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Summon",icon:"arrow-down",onClick:function(){function b(){return i("Summon")}return b}()})]})]})]})}},77168:function(I,r,n){"use strict";r.__esModule=!0,r.pda_security=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_security=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S,recordType:"SEC"})}return d}()},21773:function(I,r,n){"use strict";r.__esModule=!0,r.pda_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pda_signaler=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p})}return d}()},81857:function(I,r,n){"use strict";r.__esModule=!0,r.pda_status_display=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_status_display=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.records;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Code",children:[(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){function l(){return S("Status",{statdisp:"blank"})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"clock",content:"Evac ETA",onClick:function(){function l(){return S("Status",{statdisp:"shuttle"})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"edit",content:"Message",onClick:function(){function l(){return S("Status",{statdisp:"message"})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"exclamation-triangle",content:"Red Alert",onClick:function(){function l(){return S("Status",{statdisp:"alert",alert:"redalert"})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"boxes",content:"NT Logo",onClick:function(){function l(){return S("Status",{statdisp:"alert",alert:"default"})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lock",content:"Lockdown",onClick:function(){function l(){return S("Status",{statdisp:"alert",alert:"lockdown"})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"biohazard",content:"Biohazard",onClick:function(){function l(){return S("Status",{statdisp:"alert",alert:"biohazard"})}return l}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 1",children:(0,e.createComponentVNode)(2,t.Button,{content:i.message1+" (set)",icon:"pen",onClick:function(){function l(){return S("Status",{statdisp:"setmsg1"})}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 2",children:(0,e.createComponentVNode)(2,t.Button,{content:i.message2+" (set)",icon:"pen",onClick:function(){function l(){return S("Status",{statdisp:"setmsg2"})}return l}()})})]})})}return d}()},70287:function(I,r,n){"use strict";r.__esModule=!0,r.pda_supplyrecords=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_supplyrecords=function(){function d(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.supply,l=i.shuttle_loc,f=i.shuttle_time,u=i.shuttle_moving,s=i.approved,m=i.approved_count,c=i.requests,v=i.requests_count;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:u?(0,e.createComponentVNode)(2,t.Box,{children:["In transit ",f]}):(0,e.createComponentVNode)(2,t.Box,{children:l})})}),(0,e.createComponentVNode)(2,t.Section,{mt:1,title:"Requested Orders",children:v>0&&c.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:["#",b.Number,' - "',b.Name,'" for "',b.OrderedBy,'"']},b)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:m>0&&s.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:["#",b.Number,' - "',b.Name,'" for "',b.ApprovedBy,'"']},b)})})]})}return d}()},17617:function(I,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(24826),d=["className","theme","children"],y=["className","scrollable","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT