diff --git a/_maps/map_files/stations/boxstation.dmm b/_maps/map_files/stations/boxstation.dmm index 57035dd0383..bc0580b99ca 100644 --- a/_maps/map_files/stations/boxstation.dmm +++ b/_maps/map_files/stations/boxstation.dmm @@ -72,6 +72,14 @@ }, /turf/space, /area/space) +"aaX" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "1-2" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "abp" = ( /obj/effect/landmark/spawner/carp, /turf/space, @@ -1537,12 +1545,10 @@ /turf/simulated/floor/plasteel/dark, /area/station/security/armory/secure) "aig" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/effect/turf_decal/stripes/corner, /obj/structure/cable{ - icon_state = "1-2" + icon_state = "4-8" }, -/obj/effect/turf_decal/stripes/line, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "aih" = ( @@ -10288,6 +10294,12 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/nw) +"aMw" = ( +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/control) "aMx" = ( /obj/effect/spawner/window/reinforced, /obj/machinery/atmospherics/pipe/simple/hidden/cyan, @@ -13694,14 +13706,6 @@ }, /turf/simulated/floor/plating/airless, /area/shuttle/arrival/station) -"aYU" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" - }, -/turf/simulated/floor/plasteel, -/area/station/engineering/hardsuitstorage) "aYV" = ( /obj/structure/shuttle/engine/heater{ dir = 4 @@ -14441,6 +14445,19 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/supply, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) +"bbD" = ( +/obj/effect/turf_decal/trimline/misc/toxins/line, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "bbF" = ( /obj/structure/cable/extra_insulated{ icon_state = "1-2" @@ -21722,11 +21739,23 @@ /turf/simulated/floor/plasteel/dark, /area/station/hallway/secondary/exit) "bAO" = ( -/obj/structure/cable{ - icon_state = "1-8" +/obj/structure/rack{ + dir = 1 }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 9; + pixel_x = -3 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 6 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 3; + pixel_x = 3 + }, +/obj/structure/sign/poster/official/random/directional/south, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "bAU" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 5 @@ -25594,6 +25623,14 @@ /obj/effect/turf_decal/tiles/department/chemistry/side, /turf/simulated/floor/plasteel/white, /area/station/medical/chemistry) +"bRw" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "bRx" = ( /obj/structure/cable/extra_insulated{ icon_state = "1-2" @@ -30433,17 +30470,6 @@ /obj/effect/turf_decal/tiles/department/engineering/corner, /turf/simulated/floor/plasteel, /area/station/hallway/primary/aft/north) -"cma" = ( -/obj/machinery/door/airlock/engineering/glass{ - name = "Laser Room" - }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, -/turf/simulated/floor/plating, -/area/station/engineering/control) "cmd" = ( /obj/structure/chair/office{ dir = 1 @@ -31399,15 +31425,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/cyan, /turf/simulated/floor/plasteel/white, /area/station/maintenance/asmaint) -"cqd" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "cqe" = ( /obj/machinery/atmospherics/unary/portables_connector{ dir = 1 @@ -33592,17 +33609,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/atmos/control) -"cyR" = ( -/obj/machinery/door/airlock/engineering/glass{ - name = "Laser Room" - }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, -/turf/simulated/floor/plating, -/area/station/engineering/control) "cyS" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 @@ -34488,6 +34494,16 @@ }, /turf/simulated/floor/bluegrid, /area/station/turret_protected/ai) +"cCp" = ( +/obj/structure/table/reinforced, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/item/storage/toolbox/mechanical, +/obj/item/tank/internals/emergency_oxygen/engi, +/obj/machinery/alarm/directional/west, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cCq" = ( /turf/simulated/floor/engine, /area/station/maintenance/incinerator) @@ -35635,6 +35651,13 @@ /obj/structure/table_frame, /turf/simulated/floor/plating, /area/station/maintenance/aft) +"cHe" = ( +/obj/machinery/atmospherics/binary/pump{ + dir = 4; + name = "Cooling Loop to Gas" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cHf" = ( /obj/machinery/space_heater, /turf/simulated/floor/plating, @@ -37384,6 +37407,19 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/smes) +"cOd" = ( +/obj/structure/table/reinforced, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/item/rpd, +/obj/item/geiger_counter, +/obj/machinery/light{ + dir = 8 + }, +/obj/structure/sign/poster/official/random/directional/west, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cOf" = ( /obj/item/tank/internals/emergency_oxygen/engi, /obj/item/clothing/suit/storage/hazardvest/staff, @@ -37419,7 +37455,6 @@ /obj/effect/turf_decal/stripes/line{ dir = 10 }, -/obj/machinery/alarm/directional/west, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel/dark, /area/station/engineering/smes) @@ -38150,11 +38185,11 @@ /turf/simulated/floor/plasteel, /area/station/engineering/atmos/distribution) "cRb" = ( -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "cRd" = ( /obj/machinery/atmospherics/pipe/simple/visible/cyan{ dir = 4 @@ -38179,13 +38214,9 @@ /turf/space, /area/station/engineering/solar/aft_port) "cRf" = ( -/obj/machinery/atmospherics/pipe/simple/visible/green{ - dir = 4 - }, -/obj/machinery/atmospherics/meter, -/obj/effect/turf_decal/stripes/line, +/obj/machinery/atmospherics/unary/vent_pump/on, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "cRh" = ( /obj/machinery/light_switch{ dir = 4; @@ -38249,33 +38280,15 @@ /obj/structure/closet/walllocker/emerglocker/directional/north, /turf/simulated/floor/plating, /area/station/engineering/hardsuitstorage) -"cRp" = ( -/obj/machinery/atmospherics/pipe/simple/visible/red{ - dir = 6 - }, -/obj/effect/turf_decal/delivery, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) -"cRq" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/visible/green, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "cRr" = ( /obj/structure/sign/nosmoking_2{ pixel_y = -32 }, -/obj/structure/closet/secure_closet/engineering_welding, +/obj/structure/dispenser, /turf/simulated/floor/plasteel, /area/station/engineering/hardsuitstorage) "cRw" = ( /obj/machinery/light, -/obj/structure/dispenser, /turf/simulated/floor/plasteel, /area/station/engineering/hardsuitstorage) "cRy" = ( @@ -38556,11 +38569,27 @@ /turf/simulated/floor/engine/vacuum, /area/station/engineering/atmos) "cSx" = ( -/obj/structure/cable{ - icon_state = "4-8" +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/obj/structure/rack{ + dir = 1 + }, +/obj/item/grenade/nuclear_starter{ + pixel_y = 7; + pixel_x = -3 + }, +/obj/item/grenade/nuclear_starter{ + pixel_y = 4 + }, +/obj/item/grenade/nuclear_starter{ + pixel_x = 3 + }, +/obj/structure/disaster_counter/reactor{ + pixel_y = 32 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "cSz" = ( /obj/structure/cable/extra_insulated{ icon_state = "1-4" @@ -38571,28 +38600,15 @@ /obj/machinery/power/apc/reinforced/directional/south, /turf/simulated/floor/plating, /area/station/maintenance/apmaint2) -"cSE" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/binary/pump/on{ - dir = 8; - name = "Gas to Cooling Loop" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "cSF" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 6 + }, /obj/structure/cable/yellow{ icon_state = "1-2" }, -/obj/machinery/atmospherics/pipe/manifold/visible/green{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "cSG" = ( /obj/structure/table/reinforced, /obj/item/paper_bin/nanotrasen, @@ -38602,8 +38618,11 @@ /turf/simulated/floor/plasteel, /area/station/command/office/ce) "cSI" = ( +/obj/machinery/atmospherics/unary/reactor_gas_node{ + dir = 1 + }, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "cSJ" = ( /obj/structure/cable{ icon_state = "1-4" @@ -38619,25 +38638,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/aisat/hall) -"cSM" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/binary/pump{ - dir = 8; - name = "Mix to Gas" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) -"cSN" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "cSO" = ( /obj/structure/table, /obj/item/flashlight{ @@ -38808,7 +38808,7 @@ dir = 8 }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "cTn" = ( /obj/machinery/atmospherics/pipe/simple/visible/yellow, /obj/machinery/atmospherics/pipe/simple/visible/green{ @@ -38860,48 +38860,31 @@ /obj/machinery/atmospherics/unary/thermomachine/freezer{ dir = 8 }, +/obj/structure/sign/poster/official/random/directional/east, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "cTB" = ( /obj/structure/rack, /obj/effect/spawner/random/maintenance, /turf/simulated/floor/plating, /area/station/maintenance/aft) -"cTD" = ( -/obj/structure/cable{ +"cTE" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green, +/obj/structure/cable/yellow{ icon_state = "1-2" }, -/obj/machinery/atmospherics/binary/pump/on{ - dir = 4; - name = "Cooling Loop to Gas" +/obj/structure/cable{ + icon_state = "4-8" }, /turf/simulated/floor/engine, -/area/station/engineering/control) -"cTE" = ( -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/obj/effect/turf_decal/stripes/line{ +/area/station/engineering/engine/reactor) +"cTF" = ( +/obj/machinery/atmospherics/binary/pump{ + name = "Cooling Loop"; dir = 4 }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/binary/pump{ - name = "Cooling Loop Bypass" - }, /turf/simulated/floor/engine, -/area/station/engineering/control) -"cTF" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/binary/pump{ - dir = 4; - name = "Gas to Mix" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "cTH" = ( /obj/structure/cable/yellow{ icon_state = "4-8" @@ -39048,15 +39031,8 @@ /obj/machinery/atmospherics/pipe/manifold/visible/cyan{ dir = 8 }, -/obj/machinery/atmospherics/meter, -/obj/machinery/light{ - dir = 8 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "cUm" = ( /obj/structure/reagent_dispensers/fueltank, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ @@ -39065,9 +39041,15 @@ /turf/simulated/floor/plasteel, /area/station/engineering/equipmentstorage) "cUo" = ( -/obj/structure/closet/firecloset, +/obj/machinery/atmospherics/pipe/simple/visible/universal{ + dir = 4 + }, +/obj/structure/extinguisher_cabinet{ + name = "east bump"; + pixel_x = 30 + }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "cUq" = ( /obj/structure/window/reinforced{ dir = 4 @@ -39160,13 +39142,6 @@ }, /turf/simulated/floor/plasteel, /area/station/security/permabrig) -"cUM" = ( -/obj/structure/rack, -/obj/item/wrench, -/obj/item/weldingtool, -/obj/item/clothing/head/welding, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "cUN" = ( /obj/machinery/atmospherics/pipe/simple/visible/green{ dir = 4 @@ -39177,12 +39152,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/atmos/distribution) -"cUQ" = ( -/obj/structure/rack, -/obj/item/crowbar, -/obj/item/flashlight, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "cUS" = ( /obj/machinery/atmospherics/binary/valve/digital{ color = ""; @@ -39238,8 +39207,14 @@ /turf/simulated/floor/plasteel, /area/station/engineering/hardsuitstorage) "cVj" = ( -/obj/structure/sign/radiation/rad_area{ - pixel_y = -32 +/obj/structure/cable/yellow{ + icon_state = "2-8" + }, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/obj/structure/cable/yellow{ + icon_state = "2-4" }, /turf/simulated/floor/plasteel, /area/station/engineering/hardsuitstorage) @@ -39279,15 +39254,6 @@ /obj/machinery/light, /turf/simulated/floor/noslip, /area/station/engineering/control) -"cVq" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/structure/cable{ - icon_state = "2-4" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "cVs" = ( /obj/structure/disposalpipe/segment/corner{ dir = 8 @@ -39313,25 +39279,15 @@ }, /area/station/public/toilet/unisex) "cVw" = ( -/obj/machinery/atmospherics/pipe/simple/visible/green{ - dir = 4 - }, -/obj/machinery/light, -/obj/effect/turf_decal/stripes/line, +/obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "cVy" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 4 +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 10 }, -/obj/machinery/atmospherics/meter, -/obj/machinery/light, -/obj/structure/disaster_counter/supermatter{ - pixel_y = -32 - }, -/obj/effect/turf_decal/stripes/line, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "cVD" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 @@ -39342,17 +39298,14 @@ /turf/simulated/wall, /area/station/engineering/atmos/distribution) "cVF" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, /obj/structure/cable{ - icon_state = "2-8" - }, -/obj/structure/cable{ - icon_state = "2-4" + icon_state = "4-8" }, /turf/simulated/floor/plasteel, /area/station/engineering/hardsuitstorage) @@ -39396,16 +39349,6 @@ /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, /area/station/engineering/atmos/distribution) -"cVN" = ( -/obj/structure/cable{ - icon_state = "1-8" - }, -/obj/effect/turf_decal/stripes/line, -/obj/effect/turf_decal/caution{ - dir = 1 - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "cVP" = ( /obj/machinery/atmospherics/pipe/simple/visible/green, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ @@ -39421,20 +39364,6 @@ /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, /area/station/engineering/atmos/distribution) -"cVS" = ( -/obj/machinery/atmospherics/binary/pump{ - dir = 1; - name = "Gas to Filter" - }, -/obj/structure/cable{ - icon_state = "0-4" - }, -/obj/effect/turf_decal/stripes/corner, -/obj/machinery/power/apc/critical/directional/west{ - shock_proof = 1 - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "cVV" = ( /obj/structure/flora/ausbushes/genericbush, /obj/structure/flora/ausbushes/leafybush, @@ -39782,11 +39711,14 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "cXF" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, /obj/structure/cable{ - icon_state = "4-8" + icon_state = "2-8" }, +/obj/structure/cable{ + icon_state = "2-4" + }, +/obj/machinery/atmospherics/pipe/manifold4w/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold4w/hidden/scrubbers, /turf/simulated/floor/plasteel, /area/station/engineering/hardsuitstorage) "cXG" = ( @@ -40277,13 +40209,6 @@ }, /turf/simulated/floor/plating, /area/station/engineering/secure_storage) -"cZM" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/spawner/window/reinforced/plasma, -/turf/simulated/floor/plating, -/area/station/engineering/smes) "cZP" = ( /obj/machinery/camera{ c_tag = "Engineering East" @@ -40427,8 +40352,21 @@ /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "daG" = ( -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = -3; + pixel_y = 6 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_y = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = 3 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "daH" = ( /obj/machinery/atmospherics/pipe/manifold/visible{ dir = 4 @@ -40805,10 +40743,6 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/aft) -"dcf" = ( -/obj/structure/girder, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "dcg" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/cyan{ dir = 1 @@ -41414,32 +41348,11 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/turbine) "deA" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/green{ - dir = 1 - }, -/obj/machinery/camera{ - c_tag = "Supermatter Fore"; - dir = 1; - network = list("SS13","engine"); - pixel_x = 23 - }, -/obj/effect/turf_decal/stripes/line, -/obj/structure/sign/magboots{ - pixel_y = -32 +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 5 }, /turf/simulated/floor/engine, -/area/station/engineering/control) -"deB" = ( -/obj/machinery/atmospherics/binary/pump/on{ - dir = 8; - name = "Gas to Filter" - }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "deD" = ( /obj/structure/cable{ icon_state = "1-8" @@ -41454,12 +41367,15 @@ /turf/simulated/wall/r_wall, /area/station/maintenance/solar_maintenance/aft_starboard) "deF" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/visible{ - dir = 4 +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/item/radio/intercom{ + name = "west bump"; + pixel_x = -28 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "deG" = ( /obj/machinery/atmospherics/pipe/simple/visible/purple, /obj/machinery/atmospherics/pipe/simple/visible/yellow{ @@ -41567,13 +41483,13 @@ /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "deW" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ icon_state = "1-2" }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 4 + }, /turf/simulated/floor/plating, /area/station/maintenance/storage) "deY" = ( @@ -41640,14 +41556,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/solar_maintenance/aft_starboard) -"dfo" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/red{ - dir = 4 - }, -/obj/machinery/atmospherics/meter, -/obj/effect/turf_decal/delivery, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "dfp" = ( /obj/structure/sign/vacuum/external{ pixel_y = -32 @@ -41658,20 +41566,16 @@ /obj/machinery/atmospherics/portable/canister/air, /turf/simulated/floor/plating, /area/station/maintenance/solar_maintenance/aft_starboard) -"dfq" = ( -/obj/machinery/atmospherics/pipe/simple/visible/green, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) -"dfs" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) "dft" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/structure/table/reinforced, +/obj/effect/turf_decal/stripes/line{ + dir = 5 }, +/obj/item/clothing/suit/radiation, +/obj/item/clothing/head/radiation, +/obj/item/flashlight, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "dfy" = ( /obj/structure/chair/stool{ dir = 8 @@ -42049,13 +41953,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/aft) -"dho" = ( -/obj/machinery/atmospherics/pipe/simple/heat_exchanging/junction{ - dir = 8 - }, -/obj/effect/spawner/window/reinforced/plasma/grilled, -/turf/simulated/floor/plating, -/area/station/engineering/control) "dhp" = ( /obj/machinery/light_switch{ dir = 1; @@ -42084,15 +41981,11 @@ /turf/simulated/floor/wood, /area/station/public/mrchangs) "dhv" = ( -/obj/machinery/atmospherics/meter, -/obj/machinery/atmospherics/pipe/manifold/visible{ +/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ dir = 1 }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "dhw" = ( /obj/machinery/door/airlock, /obj/effect/mapping_helpers/airlock/autoname, @@ -42573,20 +42466,6 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) -"djq" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/door/poddoor/shutters/radiation/preopen{ - dir = 2; - id_tag = "engsm"; - name = "Radiation Chamber Shutters" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/plating, -/area/station/engineering/engine/supermatter) "djr" = ( /obj/structure/closet/emcloset, /turf/simulated/floor/plating, @@ -42877,40 +42756,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "dkz" = ( -/obj/machinery/atmospherics/trinary/filter/flipped{ - dir = 4; - filter_type = -1 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 +/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ + dir = 1 }, /turf/simulated/floor/engine, -/area/station/engineering/control) -"dkA" = ( -/obj/machinery/atmospherics/pipe/simple/visible/red{ - dir = 4 - }, -/obj/effect/turf_decal/stripes, -/obj/effect/turf_decal/stripes/red, -/turf/simulated/floor/engine, -/area/station/engineering/control) -"dkB" = ( -/obj/machinery/atmospherics/trinary/filter/flipped{ - dir = 4; - filter_type = -1 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) -"dkC" = ( -/obj/machinery/atmospherics/trinary/filter/flipped{ - dir = 4; - filter_type = -1 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "dkE" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -43119,24 +42969,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/aisat/service) -"dle" = ( -/obj/machinery/atmospherics/pipe/simple/visible/red{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 6 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) -"dlg" = ( -/obj/machinery/atmospherics/pipe/simple/visible/red{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 10 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "dlk" = ( /obj/structure/cable{ icon_state = "4-8" @@ -44560,14 +44392,6 @@ }, /turf/space, /area/station/turret_protected/ai) -"dsx" = ( -/obj/machinery/camera{ - c_tag = "Supermatter Laser Room Starboard"; - network = list("SS13","Engineering"); - dir = 9 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "dsy" = ( /obj/machinery/light_switch{ dir = 4; @@ -44729,15 +44553,14 @@ /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "dto" = ( -/obj/machinery/light{ - dir = 4 +/obj/structure/cable/yellow{ + icon_state = "1-2" }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 +/obj/machinery/atmospherics/binary/pump{ + name = "Cooling Loop Bypass" }, -/obj/machinery/atmospherics/pipe/simple/visible/yellow, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "dtp" = ( /obj/structure/table, /obj/item/clothing/glasses/welding, @@ -45000,19 +44823,6 @@ }, /turf/simulated/floor/plasteel, /area/station/public/dorms) -"dyH" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/item/radio/intercom{ - name = "north bump"; - pixel_y = 28 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "dyJ" = ( /obj/effect/turf_decal/stripes/line{ dir = 1 @@ -45703,16 +45513,6 @@ "dOs" = ( /turf/simulated/wall, /area/station/medical/coldroom) -"dPd" = ( -/obj/machinery/door/airlock/engineering/glass{ - autoclose = 0; - id_tag = "engsm_door_int"; - locked = 1; - name = "Supermatter Interior Access" - }, -/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "dPe" = ( /obj/structure/reagent_dispensers/watertank, /turf/simulated/floor/plating, @@ -45840,6 +45640,10 @@ /obj/effect/spawner/random/fungus/maybe, /turf/simulated/wall, /area/station/maintenance/asmaint) +"dSw" = ( +/obj/machinery/atmospherics/fission_reactor/roundstart, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "dSD" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 @@ -45878,6 +45682,10 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, /area/station/maintenance/asmaint) +"dTN" = ( +/obj/machinery/alarm/directional/east, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/smes) "dTO" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, /obj/effect/decal/cleanable/dirt, @@ -46166,16 +45974,6 @@ }, /turf/simulated/floor/plasteel, /area/station/command/bridge) -"eaL" = ( -/obj/machinery/atmospherics/pipe/simple/heat_exchanging/junction{ - dir = 8 - }, -/obj/effect/spawner/window/reinforced/plasma/grilled, -/obj/machinery/atmospherics/meter{ - layer = 3.3 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "eaT" = ( /obj/machinery/atmospherics/pipe/simple/hidden/purple{ dir = 4 @@ -46205,6 +46003,15 @@ /obj/effect/mapping_helpers/airlock/access/any/security/doors, /turf/simulated/floor/wood, /area/station/legal/courtroom/gallery) +"eaW" = ( +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/loading_area{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "eba" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/mecha_wreckage/durand/old, @@ -46326,10 +46133,10 @@ dir = 1 }, /obj/structure/cable/yellow{ - icon_state = "2-4" + icon_state = "4-8" }, /obj/structure/cable/yellow{ - icon_state = "0-4" + icon_state = "0-8" }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/smes) @@ -46366,7 +46173,7 @@ dir = 4 }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "edM" = ( /obj/machinery/light{ dir = 4 @@ -46533,13 +46340,6 @@ /obj/effect/turf_decal/tiles/department/medical/checker, /turf/simulated/floor/plasteel/white, /area/station/maintenance/apmaint) -"egO" = ( -/obj/machinery/atmospherics/meter, -/obj/machinery/atmospherics/pipe/simple/visible{ - dir = 9 - }, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) "egU" = ( /obj/effect/spawner/window/reinforced/polarized{ id = "conference" @@ -46817,10 +46617,15 @@ /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) "ema" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/alarm/directional/west, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/machinery/power/apc/critical/directional/west, +/obj/structure/cable{ + icon_state = "0-4" + }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "emv" = ( /obj/machinery/atmospherics/unary/portables_connector{ dir = 4 @@ -46873,16 +46678,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/assembly_line) -"enG" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/visible/red{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "enX" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -46959,25 +46754,13 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/se) "eqs" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/airlock_controller/access_controller{ - name = "Supermatter Access Console"; - pixel_y = 22; - ext_door_link_id = "engsm_door_ext"; - int_door_link_id = "engsm_door_int"; - ext_button_link_id = "engsm_btn_ext"; - int_button_link_id = "engsm_btn_int" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/machinery/atmospherics/unary/portables_connector, +/obj/machinery/atmospherics/portable/canister/nitrogen, +/obj/effect/turf_decal/stripes/line{ + dir = 1 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "eqx" = ( /obj/item/radio/intercom{ name = "south bump"; @@ -47023,11 +46806,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/storage) "erU" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/machinery/atmospherics/unary/reactor_gas_node/output{ + dir = 8 }, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "esb" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 @@ -47060,14 +46843,12 @@ /turf/simulated/floor/plasteel, /area/station/supply/miningdock) "esG" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 9 - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/visible/cyan, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "esK" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/disposalpipe/segment/corner{ @@ -47088,14 +46869,11 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/west) "euu" = ( -/obj/machinery/atmospherics/pipe/manifold/visible{ - dir = 8 - }, -/obj/effect/turf_decal/stripes/line{ +/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ dir = 8 }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "euD" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/cable/extra_insulated{ @@ -47215,6 +46993,12 @@ /obj/effect/turf_decal/tiles/department/science/corner, /turf/simulated/floor/plasteel/white, /area/station/science/hallway) +"exC" = ( +/obj/effect/turf_decal/stripes/red/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "exN" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/disposalpipe/segment/corner{ @@ -47222,6 +47006,14 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/apmaint2) +"exQ" = ( +/obj/structure/railing/corner/pool_corner, +/obj/structure/closet/emcloset, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "eyh" = ( /obj/structure/chair/office/dark{ dir = 1 @@ -47659,22 +47451,6 @@ /obj/item/eftpos/register, /turf/simulated/floor/plating, /area/station/maintenance/aft) -"eJr" = ( -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ - dir = 8 - }, -/obj/machinery/atmospherics/meter, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "eJG" = ( /obj/machinery/power/apc/directional/east, /obj/structure/cable{ @@ -47878,6 +47654,17 @@ /obj/structure/window/reinforced, /turf/simulated/floor/wood, /area/station/public/dorms) +"eOE" = ( +/obj/effect/turf_decal/trimline/misc/toxins/filled/shrink_cw{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "1-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "eOI" = ( /obj/structure/closet/crate/trashcart, /obj/effect/decal/cleanable/dirt, @@ -47889,6 +47676,12 @@ /obj/effect/spawner/random/trash, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) +"eOJ" = ( +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "eOZ" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -47925,6 +47718,20 @@ }, /turf/simulated/floor/plasteel/white, /area/station/maintenance/asmaint) +"ePt" = ( +/obj/structure/table/reinforced, +/obj/item/screwdriver, +/obj/item/radio/intercom{ + name = "west bump"; + pixel_x = -28 + }, +/obj/machinery/camera{ + c_tag = "Engine Fabrication"; + dir = 6; + network = list("SS13","Engineering") + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "ePu" = ( /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, @@ -47995,21 +47802,6 @@ /obj/effect/turf_decal/tiles/department/medical, /turf/simulated/floor/plasteel, /area/station/medical/storage) -"eQo" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/door/poddoor/shutters/radiation/preopen{ - dir = 2; - id_tag = "engsm"; - name = "Radiation Chamber Shutters" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/effect/decal/cleanable/blood/oil, -/turf/simulated/floor/plating, -/area/station/engineering/engine/supermatter) "eQJ" = ( /obj/structure/cable{ icon_state = "0-8" @@ -48373,6 +48165,9 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/service/chapel) +"fbR" = ( +/turf/simulated/wall/r_wall, +/area/station/engineering/engine/reactor) "fbS" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ @@ -48432,12 +48227,6 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) -"fdg" = ( -/obj/structure/reflector/single{ - dir = 1 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "fdn" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, @@ -48570,12 +48359,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/disposal) -"ffY" = ( -/obj/machinery/atmospherics/pipe/simple/visible/universal{ - dir = 4 - }, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) "fgk" = ( /obj/structure/table/wood, /obj/item/radio/intercom/command, @@ -48633,6 +48416,22 @@ }, /turf/simulated/floor/plasteel, /area/station/public/dorms) +"fhr" = ( +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"fhJ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/storage) "fhY" = ( /obj/machinery/hologram/holopad, /obj/effect/turf_decal/tiles/department/command/corner{ @@ -49059,14 +48858,20 @@ /turf/simulated/floor/plating, /area/station/science/toxins/mixing) "fqV" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 6 - }, -/obj/effect/turf_decal/stripes/line{ +/obj/effect/turf_decal/trimline/misc/toxins/line{ dir = 1 }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "frm" = ( /obj/machinery/firealarm/directional/east, /obj/effect/turf_decal/stripes/line{ @@ -49291,6 +49096,13 @@ /obj/effect/turf_decal/tiles/department/virology, /turf/simulated/floor/plasteel/white, /area/station/public/sleep) +"fwr" = ( +/obj/machinery/atmospherics/binary/pump{ + dir = 8; + name = "Cooling Loop to Gas" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "fwy" = ( /obj/item/chair/stool, /obj/effect/decal/cleanable/dirt, @@ -49712,19 +49524,6 @@ }, /turf/simulated/floor/beach/sand, /area/station/hallway/secondary/exit) -"fEP" = ( -/obj/machinery/access_button{ - autolink_id = "engsm_btn_int"; - name = "Supermatter Access Button"; - pixel_y = -24; - req_access = list(10) - }, -/obj/effect/turf_decal/stripes/line, -/obj/machinery/computer/sm_monitor{ - dir = 1 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "fES" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -49755,6 +49554,13 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/gravitygenerator) +"fFm" = ( +/obj/structure/table/reinforced, +/obj/item/storage/toolbox/mechanical, +/obj/item/stack/cable_coil, +/obj/effect/turf_decal/stripes/line, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "fFA" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/security{ @@ -49764,12 +49570,6 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel, /area/station/security/storage) -"fFY" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 8 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "fGI" = ( /obj/machinery/light/small{ dir = 1 @@ -49869,6 +49669,9 @@ /area/station/hallway/primary/starboard/east) "fJu" = ( /obj/effect/spawner/window/reinforced, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, /turf/simulated/floor/plating, /area/station/engineering/smes) "fJI" = ( @@ -50153,15 +49956,8 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/aft) "fTc" = ( -/obj/structure/cable{ - icon_state = "1-4" - }, /turf/simulated/floor/engine, -/area/station/engineering/control) -"fTi" = ( -/obj/machinery/hologram/holopad, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "fTv" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -50315,11 +50111,11 @@ /turf/simulated/floor/plasteel/white, /area/station/maintenance/aft) "fWP" = ( -/obj/machinery/atmospherics/pipe/simple/visible/red{ +/obj/effect/turf_decal/stripes/line{ dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "fWQ" = ( /obj/machinery/light{ dir = 1 @@ -50347,16 +50143,6 @@ icon_state = "freezerfloor" }, /area/station/public/toilet/unisex) -"fXt" = ( -/obj/machinery/atmospherics/binary/valve{ - dir = 4; - name = "Output to Waste" - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "fXw" = ( /obj/machinery/status_display{ layer = 4; @@ -50392,10 +50178,14 @@ /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, /area/station/engineering/tech_storage) -"fYe" = ( -/obj/machinery/light, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +"fYk" = ( +/obj/structure/table/reinforced, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/item/rpd, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "fYs" = ( /obj/structure/dresser, /obj/machinery/light_switch{ @@ -50496,6 +50286,12 @@ }, /turf/simulated/floor/plasteel, /area/station/public/dorms) +"gcQ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 + }, +/turf/simulated/wall/r_wall, +/area/station/maintenance/storage) "gdp" = ( /obj/machinery/alarm/directional/west, /obj/item/clothing/head/helmet/space/plasmaman{ @@ -50602,19 +50398,20 @@ /turf/simulated/floor/plating, /area/station/engineering/tech_storage) "gei" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw{ dir = 1 }, -/obj/machinery/camera{ - c_tag = "Supermatter Aft"; - network = list("SS13","engine"); - pixel_x = 23 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/yellow{ + icon_state = "4-8" }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "geo" = ( /obj/effect/turf_decal/woodsiding/end{ dir = 8 @@ -50757,15 +50554,23 @@ }, /turf/simulated/floor/wood, /area/station/command/office/hop) -"giQ" = ( -/obj/structure/cable{ - icon_state = "1-8" - }, +"giH" = ( +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, +/obj/structure/cable{ + icon_state = "4-8" + }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) +"giQ" = ( +/obj/machinery/atmospherics/pipe/simple/visible/red{ + dir = 6 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "giX" = ( /obj/machinery/atmospherics/binary/pump{ dir = 4 @@ -50945,16 +50750,22 @@ /turf/simulated/floor/plasteel/dark, /area/station/maintenance/asmaint) "gmW" = ( -/obj/machinery/power/emitter{ - anchored = 1; - dir = 4; - state = 2 +/obj/structure/rack{ + dir = 1 }, -/obj/structure/cable{ - icon_state = "0-8" +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = 3 }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_y = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = -3; + pixel_y = 6 + }, +/obj/machinery/light, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "gnG" = ( /obj/structure/chair/sofa/corp/left{ dir = 4 @@ -51270,6 +51081,18 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) +"gvv" = ( +/obj/structure/railing/pool_lining, +/obj/machinery/atmospherics/binary/valve{ + dir = 4; + name = "Output to Waste"; + on = 1 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gvW" = ( /obj/machinery/light{ dir = 1 @@ -51458,14 +51281,17 @@ /turf/simulated/floor/plasteel, /area/station/public/dorms) "gDJ" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw{ dir = 1 }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "gEe" = ( /obj/structure/filingcabinet, /obj/item/radio/intercom/private{ @@ -51550,6 +51376,20 @@ }, /turf/simulated/floor/plasteel, /area/station/public/dorms) +"gFy" = ( +/obj/effect/turf_decal/trimline/misc/toxins/corner, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, +/obj/structure/cable{ + icon_state = "2-4" + }, +/obj/machinery/light/floor, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gFG" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/public/glass{ @@ -51599,20 +51439,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/storage) -"gHg" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/camera{ - c_tag = "Supermatter Chamber"; - network = list("engine"); - pixel_x = 23 - }, -/obj/machinery/atmospherics/pipe/simple/visible/scrubbers{ - dir = 5 - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "gHr" = ( /turf/simulated/wall, /area/station/procedure/trainer_office) @@ -51760,12 +51586,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry/north) -"gKF" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 4 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "gKN" = ( /obj/structure/sink/directional/north, /turf/simulated/floor/plasteel{ @@ -51803,15 +51623,14 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/fpmaint2) "gMc" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "0-4" - }, -/obj/machinery/power/apc/critical/directional/west{ - shock_proof = 1 +/obj/structure/table/reinforced, +/obj/effect/turf_decal/stripes/line{ + dir = 9 }, +/obj/item/flashlight, +/obj/item/geiger_counter, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "gMl" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 8 @@ -52069,18 +51888,14 @@ /area/station/public/construction) "gRE" = ( /obj/structure/cable{ - icon_state = "1-2" + icon_state = "4-8" }, /obj/machinery/atmospherics/binary/pump{ dir = 8; - name = "Atmos to Loop" + name = "Atmos in" }, -/obj/structure/cable{ - icon_state = "1-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "gRU" = ( /obj/structure/table, /obj/item/stack/sheet/glass, @@ -52121,15 +51936,6 @@ }, /turf/simulated/floor/plasteel, /area/station/public/dorms) -"gSP" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 1 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "gSR" = ( /obj/effect/turf_decal/stripes/corner{ dir = 8 @@ -52519,15 +52325,11 @@ /turf/simulated/floor/plasteel/dark, /area/station/medical/morgue) "hbq" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/visible/cyan, -/obj/effect/turf_decal/stripes/line{ - dir = 8 +/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ + dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "hbu" = ( /obj/item/reagent_containers/spray/cleaner, /obj/item/reagent_containers/spray/cleaner{ @@ -52613,6 +52415,15 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/port) +"heD" = ( +/obj/machinery/atmospherics/unary/outlet_injector/on{ + dir = 1; + autolink_id = "engine-waste_out"; + name = "engine outlet injector"; + volume_rate = 200 + }, +/turf/simulated/floor/plating/airless, +/area/station/engineering/engine/reactor) "heK" = ( /obj/machinery/atmospherics/pipe/simple/heat_exchanging, /obj/machinery/ai_node/network_node, @@ -52806,6 +52617,20 @@ }, /turf/simulated/floor/mineral/titanium/blue, /area/shuttle/pod_3) +"hjF" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/machinery/camera{ + c_tag = "Engine West"; + dir = 5; + network = list("SS13","Engineering") + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "hjH" = ( /obj/structure/filingcabinet/chestdrawer, /obj/machinery/light{ @@ -53089,6 +52914,12 @@ /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) +"hrW" = ( +/obj/structure/rack{ + dir = 1 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "hsE" = ( /obj/structure/cable{ icon_state = "0-4" @@ -53198,6 +53029,14 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry/lounge) +"hvx" = ( +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "hvS" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -53275,6 +53114,18 @@ /obj/effect/mapping_helpers/airlock/access/any/security/doors, /turf/simulated/floor/wood, /area/station/legal/courtroom/gallery) +"hyj" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/item/stack/sheet/glass{ + amount = 10; + pixel_x = 3; + pixel_y = 6 + }, +/obj/item/stack/sheet/metal/ten, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/control) "hyk" = ( /turf/simulated/floor/plasteel, /area/station/maintenance/asmaint) @@ -53746,17 +53597,15 @@ /turf/simulated/floor/plasteel, /area/station/command/bridge) "hJA" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/structure/table/reinforced, +/obj/effect/turf_decal/stripes/line{ + dir = 1 }, +/obj/item/rpd, +/obj/item/tank/internals/emergency_oxygen/engi, +/obj/item/clothing/glasses/meson/engine, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "hJW" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/carpet, @@ -53778,9 +53627,6 @@ c_tag = "Engineering SMES"; dir = 8 }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/smes) "hKO" = ( @@ -53920,12 +53766,22 @@ }, /area/station/medical/cryo) "hOq" = ( -/obj/structure/cable{ - icon_state = "1-2" +/obj/structure/rack{ + dir = 1 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/item/nuclear_rod/moderator/heavy_water{ + pixel_y = 6 + }, +/obj/item/nuclear_rod/moderator/heavy_water{ + pixel_y = 3; + pixel_x = 2 + }, +/obj/item/nuclear_rod/moderator/heavy_water{ + pixel_y = 1; + pixel_x = 5 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "hOv" = ( /obj/structure/closet/secure_closet/cargotech, /obj/machinery/alarm/directional/south, @@ -53948,21 +53804,6 @@ }, /turf/simulated/floor/plasteel, /area/station/science/xenobiology) -"hON" = ( -/obj/machinery/door/airlock/engineering/glass{ - autoclose = 0; - id_tag = "engsm_door_ext"; - locked = 1; - name = "Supermatter Exterior Access" - }, -/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "hPx" = ( /obj/machinery/atmospherics/portable/canister/oxygen, /obj/structure/sign/poster/official/air1/directional/east, @@ -54012,12 +53853,12 @@ /turf/simulated/floor/plasteel, /area/station/supply/miningdock) "hQW" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ +/obj/machinery/computer/fission_monitor{ dir = 1 }, -/obj/effect/turf_decal/stripes/line, +/obj/effect/turf_decal/trimline/misc/toxins/line, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "hRa" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/disposalpipe/segment, @@ -54299,13 +54140,6 @@ /obj/structure/table/wood, /turf/simulated/floor/plasteel/dark, /area/station/maintenance/asmaint) -"hXT" = ( -/obj/structure/cable{ - icon_state = "2-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/engine, -/area/station/engineering/control) "hYf" = ( /obj/structure/rack, /obj/effect/spawner/random/maintenance, @@ -54464,14 +54298,13 @@ }, /turf/simulated/floor/plasteel, /area/station/public/locker) -"idF" = ( -/obj/machinery/atmospherics/trinary/filter/flipped{ - dir = 8; - filter_type = -1 +"ied" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ + dir = 4 }, -/obj/effect/turf_decal/stripes/line, +/obj/machinery/atmospherics/meter, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "iek" = ( /obj/structure/chair, /obj/effect/turf_decal/tiles/department/medical/corner{ @@ -54500,16 +54333,6 @@ /obj/effect/mapping_helpers/turfs/rust, /turf/simulated/wall, /area/station/maintenance/apmaint) -"ieI" = ( -/obj/machinery/atmospherics/binary/pump{ - name = "Gas to Chamber" - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 8 - }, -/obj/machinery/alarm/engine/directional/east, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "ieP" = ( /obj/item/seeds/cannabis, /turf/simulated/floor/plasteel, @@ -54613,12 +54436,11 @@ /turf/simulated/floor/plating, /area/station/medical/coldroom) "ihJ" = ( -/obj/machinery/atmospherics/trinary/filter/flipped{ - dir = 4; - filter_type = 2 +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 6 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "ihU" = ( /obj/machinery/door/airlock{ name = "Custodial Closet" @@ -54627,18 +54449,15 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "ihW" = ( -/obj/structure/cable/yellow{ - icon_state = "1-8" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, /obj/machinery/atmospherics/binary/pump{ - dir = 1; - name = "Mix Bypass" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 + name = "Cooling Loop Bypass"; + dir = 1 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "ihX" = ( /obj/structure/cable{ icon_state = "1-2" @@ -54941,21 +54760,6 @@ }, /turf/simulated/floor/engine/xenobio, /area/station/science/xenobiology) -"ioM" = ( -/obj/structure/window/plasmareinforced{ - dir = 8 - }, -/obj/machinery/power/rad_collector{ - anchored = 1 - }, -/obj/machinery/atmospherics/pipe/manifold/visible/supply{ - dir = 4 - }, -/obj/structure/cable/yellow{ - icon_state = "0-4" - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "ioU" = ( /obj/machinery/light{ dir = 8 @@ -55072,11 +54876,21 @@ /turf/simulated/floor/grass, /area/station/hallway/secondary/exit) "itF" = ( -/obj/structure/cable{ - icon_state = "1-4" +/obj/structure/rack{ + dir = 1 }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_y = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = -3; + pixel_y = 6 + }, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "itN" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 6 @@ -55169,15 +54983,6 @@ /obj/effect/turf_decal/tiles/department/medical/checker, /turf/simulated/floor/plasteel/white, /area/station/service/barber) -"ivQ" = ( -/obj/machinery/atmospherics/unary/outlet_injector/on{ - dir = 1; - autolink_id = "engine-waste_out"; - name = "engine outlet injector"; - volume_rate = 200 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "ivY" = ( /obj/machinery/atmospherics/binary/valve/digital{ color = ""; @@ -55238,6 +55043,10 @@ /obj/effect/turf_decal/tiles/department/medical/corner, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry/north) +"ixP" = ( +/obj/structure/sign/poster/official/random/directional/south, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "iyj" = ( /obj/structure/cable{ icon_state = "1-2" @@ -55344,6 +55153,18 @@ }, /turf/simulated/floor/plasteel, /area/station/service/janitor) +"izz" = ( +/obj/machinery/access_button{ + autolink_id = "engsm_btn_ext"; + name = "Reactor Access Button"; + pixel_y = 24; + req_access = list(10) + }, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/control) "izR" = ( /obj/structure/reagent_dispensers/water_cooler, /obj/item/radio/intercom{ @@ -55435,10 +55256,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/exit) -"iBS" = ( -/obj/structure/closet/secure_closet/engineering_electrical, -/turf/simulated/floor/plasteel, -/area/station/engineering/hardsuitstorage) "iBU" = ( /obj/effect/mapping_helpers/turfs/rust/maybe, /turf/simulated/wall, @@ -55483,6 +55300,21 @@ /obj/structure/cable, /turf/simulated/floor/plating, /area/station/security/detective) +"iEA" = ( +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/obj/machinery/door/airlock/engineering/glass{ + autoclose = 0; + id_tag = "engsm_door_int"; + locked = 1; + name = "Reactor Interior Access" + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/control) "iFa" = ( /obj/structure/table/reinforced, /obj/machinery/door_control{ @@ -55941,12 +55773,6 @@ }, /turf/simulated/floor/carpet/arcade, /area/station/public/arcade) -"iRc" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "iRr" = ( /obj/structure/flora/rock/pile/largejungle, /turf/simulated/floor/grass/jungle/no_creep, @@ -56443,18 +56269,42 @@ /turf/simulated/floor/wood, /area/station/command/office/captain) "jbt" = ( -/obj/structure/cable{ - icon_state = "4-8" +/obj/effect/turf_decal/stripes/line{ + dir = 1 }, -/obj/machinery/atmospherics/unary/vent_pump/on{ +/obj/structure/rack{ + dir = 1 + }, +/obj/item/grenade/nuclear_starter{ + pixel_y = 7; + pixel_x = -3 + }, +/obj/item/grenade/nuclear_starter{ + pixel_y = 4 + }, +/obj/item/grenade/nuclear_starter{ + pixel_x = 3 + }, +/obj/machinery/light{ dir = 1 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "jbv" = ( /obj/machinery/atmospherics/unary/vent_pump/on, /turf/simulated/floor/plasteel/dark, /area/station/turret_protected/ai_upload) +"jbM" = ( +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "1-2" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "jbW" = ( /obj/machinery/atmospherics/pipe/simple/visible{ dir = 6; @@ -56523,12 +56373,6 @@ }, /turf/simulated/floor/plasteel/white, /area/station/command/office/rd) -"jeb" = ( -/obj/structure/cable{ - icon_state = "0-8" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "jem" = ( /obj/structure/girder, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ @@ -56738,6 +56582,10 @@ }, /turf/simulated/floor/plasteel, /area/station/command/bridge) +"jjz" = ( +/obj/structure/railing/pool_lining, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "jjP" = ( /obj/machinery/field/generator, /obj/machinery/camera{ @@ -57093,6 +56941,19 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/smes) +"jsX" = ( +/obj/effect/turf_decal/trimline/misc/toxins/filled/shrink_ccw, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "jsZ" = ( /obj/structure/table/wood, /obj/item/paper/safe_code{ @@ -57345,18 +57206,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/hallway/secondary/exit) -"jzn" = ( -/obj/structure/cable{ - icon_state = "2-4" - }, -/obj/machinery/atmospherics/pipe/simple/visible/red{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "jzv" = ( /obj/structure/cable{ icon_state = "0-4" @@ -57878,6 +57727,12 @@ /obj/effect/turf_decal/stripes/line, /turf/simulated/floor/plasteel, /area/station/command/teleporter) +"jNB" = ( +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/hardsuitstorage) "jNY" = ( /obj/machinery/washing_machine, /obj/effect/turf_decal/tiles/department/medical/checker, @@ -57916,6 +57771,13 @@ /obj/item/disk/rnd_backup_disk, /turf/simulated/floor/plasteel/dark, /area/station/command/server) +"jOF" = ( +/obj/structure/railing/corner/pool_corner, +/obj/structure/railing/corner/pool_corner{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "jPb" = ( /obj/machinery/atmospherics/unary/thermomachine/freezer/on/coldroom{ dir = 1 @@ -57962,6 +57824,21 @@ /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, /area/station/supply/lobby) +"jPG" = ( +/obj/machinery/door/airlock/engineering/glass{ + autoclose = 0; + id_tag = "engsm_door_ext"; + locked = 1; + name = "Reactor Exterior Access" + }, +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-2" + }, +/turf/simulated/floor/plating, +/area/station/engineering/control) "jPZ" = ( /obj/structure/sign/poster/official/cleanliness/directional/east, /obj/effect/decal/cleanable/dirt, @@ -58233,21 +58110,19 @@ /obj/effect/spawner/random/maintenance, /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint2) -"jUZ" = ( -/obj/structure/window/plasmareinforced{ +"jVe" = ( +/obj/machinery/atmospherics/pipe/simple/visible/cyan, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/machinery/power/rad_collector{ - anchored = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/structure/cable/yellow{ - icon_state = "0-8" - }, -/obj/machinery/atmospherics/pipe/manifold/visible/scrubbers{ - dir = 1 +/obj/structure/cable{ + icon_state = "4-8" }, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "jVf" = ( /obj/vehicle/secway, /obj/item/key/security, @@ -58257,15 +58132,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/security/warden) -"jVj" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "jVt" = ( /obj/machinery/computer/crew{ dir = 1 @@ -58851,22 +58717,6 @@ }, /turf/simulated/floor/wood, /area/station/maintenance/apmaint2) -"kjN" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/structure/table/reinforced, -/obj/item/tank/internals/emergency_oxygen/engi, -/obj/item/clothing/gloves/color/black, -/obj/item/clothing/glasses/meson/engine, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "kjU" = ( /obj/machinery/door/firedoor, /obj/effect/turf_decal/tiles/white/corner{ @@ -59094,15 +58944,6 @@ }, /turf/simulated/floor/carpet/arcade, /area/station/public/arcade) -"kpx" = ( -/obj/machinery/access_button{ - autolink_id = "engsm_btn_ext"; - name = "Supermatter Access Button"; - pixel_y = -24; - req_access = list(10) - }, -/turf/simulated/floor/plasteel, -/area/station/engineering/hardsuitstorage) "kpR" = ( /obj/structure/rack, /obj/item/wrench, @@ -59241,11 +59082,18 @@ /obj/machinery/atmospherics/unary/portables_connector{ dir = 8 }, -/obj/machinery/light{ - dir = 4 +/obj/item/radio/intercom{ + name = "east bump"; + pixel_x = 28 + }, +/obj/machinery/camera{ + c_tag = "Engine East"; + dir = 9; + view_range = 8; + network = list("SS13","Engineering") }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "ktl" = ( /obj/structure/sign/poster/official/obey/directional/north, /obj/effect/spawner/random/trash, @@ -59449,6 +59297,10 @@ /obj/structure/closet/jcloset, /turf/simulated/floor/plasteel, /area/station/service/janitor) +"kzP" = ( +/obj/structure/closet/firecloset, +/turf/simulated/floor/plasteel, +/area/station/engineering/hardsuitstorage) "kAl" = ( /obj/machinery/light_switch{ dir = 1; @@ -59610,9 +59462,13 @@ /turf/simulated/floor/plasteel, /area/station/supply/sorting) "kCy" = ( -/obj/machinery/ai_status_display, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "kDd" = ( /obj/machinery/door/window/reinforced/normal{ name = "Research Director"; @@ -59722,13 +59578,6 @@ /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, /area/station/service/barber) -"kFk" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/item/tank/internals/plasma, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "kFu" = ( /obj/structure/cable{ icon_state = "0-4" @@ -60023,15 +59872,6 @@ /obj/effect/landmark/start/scientist, /turf/simulated/floor/plasteel/white, /area/station/science/hallway) -"kLR" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ - dir = 1 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 5 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "kMc" = ( /obj/structure/girder, /turf/simulated/floor/plating, @@ -60065,12 +59905,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/storage) -"kNq" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "kNx" = ( /obj/machinery/computer/prisoner, /obj/machinery/newscaster/security_unit/directional/west, @@ -60213,6 +60047,10 @@ /obj/effect/landmark/start/shaft_miner, /turf/simulated/floor/plasteel, /area/station/supply/miningdock) +"kRa" = ( +/obj/machinery/atmospherics/reactor_chamber, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "kRu" = ( /obj/machinery/computer/arcade{ dir = 8 @@ -60405,13 +60243,14 @@ /obj/effect/turf_decal/tiles/department/medical/corner, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/west) -"kUR" = ( -/obj/machinery/atmospherics/meter, -/obj/machinery/atmospherics/pipe/simple/visible{ - dir = 5 +"kVF" = ( +/obj/machinery/atmospherics/binary/valve{ + dir = 4; + name = "Hot Loop - Cold Loop Bridge Valve" }, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "kWa" = ( /obj/machinery/light/small, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -60600,16 +60439,6 @@ }, /turf/simulated/floor/plasteel, /area/station/command/office/ce) -"lbc" = ( -/obj/machinery/door/airlock/engineering/glass{ - autoclose = 0; - id_tag = "engsm_door_ext"; - locked = 1; - name = "Supermatter Exterior Access" - }, -/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, -/turf/simulated/floor/plating, -/area/station/engineering/control) "lbd" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -60652,27 +60481,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/hallway/secondary/exit) -"lbX" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/structure/table/reinforced, -/obj/item/storage/toolbox/mechanical{ - pixel_y = 5 - }, -/obj/item/flashlight{ - pixel_x = 1; - pixel_y = 5 - }, -/obj/item/rpd, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "lbZ" = ( /obj/structure/closet/wardrobe/black, /turf/simulated/floor/plating, @@ -60915,6 +60723,10 @@ }, /turf/simulated/floor/plasteel, /area/station/supply/sorting) +"ljv" = ( +/obj/machinery/nuclear_centrifuge, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/control) "ljA" = ( /obj/structure/window/reinforced{ dir = 4 @@ -60992,10 +60804,14 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/surgery/primary) "llQ" = ( -/obj/effect/spawner/window/reinforced/plasma/grilled, -/obj/machinery/atmospherics/pipe/simple/visible/red, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/structure/railing/corner/pool_corner{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/visible/red{ + dir = 4 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine/reactor) "llS" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -61085,21 +60901,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) -"lnU" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/door/airlock/engineering/glass{ - autoclose = 0; - id_tag = "engsm_door_int"; - locked = 1; - name = "Supermatter Interior Access" - }, -/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "lnV" = ( /obj/effect/spawner/random/fungus/maybe, /turf/simulated/wall/r_wall, @@ -61198,12 +60999,12 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint2) "lqn" = ( -/obj/machinery/atmospherics/pipe/simple/visible/universal{ - dir = 4 +/obj/machinery/atmospherics/trinary/filter/flipped{ + dir = 4; + filter_type = 2 }, -/obj/effect/turf_decal/stripes/corner, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "lqu" = ( /obj/machinery/light/small{ dir = 8 @@ -61229,10 +61030,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/medical/morgue) -"lqF" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/engine, -/area/station/engineering/control) "lqO" = ( /obj/structure/cable{ icon_state = "1-8" @@ -61265,21 +61062,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/se) -"lrJ" = ( -/obj/structure/window/plasmareinforced{ - dir = 4 - }, -/obj/machinery/power/rad_collector{ - anchored = 1 - }, -/obj/machinery/atmospherics/pipe/manifold/visible/scrubbers{ - dir = 8 - }, -/obj/structure/cable/yellow{ - icon_state = "0-8" - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "lrL" = ( /obj/structure/closet/emcloset, /obj/machinery/light/small, @@ -61308,7 +61090,10 @@ /turf/simulated/floor/plasteel, /area/station/science/genetics) "lsx" = ( -/obj/effect/turf_decal/stripes/line, +/obj/machinery/power/apc/critical/directional/south, +/obj/structure/cable{ + icon_state = "0-4" + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "lsy" = ( @@ -61399,6 +61184,9 @@ /obj/item/multitool, /turf/simulated/floor/plating, /area/station/maintenance/electrical/fore_port) +"luv" = ( +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "lvc" = ( /obj/structure/closet/emcloset, /obj/effect/turf_decal/tiles/white/corner{ @@ -61523,6 +61311,13 @@ }, /turf/simulated/floor/plasteel, /area/station/command/bridge) +"lwQ" = ( +/obj/machinery/atmospherics/pipe/simple/visible/red{ + dir = 10 + }, +/obj/structure/closet/emcloset, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine/reactor) "lxA" = ( /obj/machinery/computer/shuttle/mining{ dir = 1 @@ -61953,6 +61748,16 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/aft) +"lIb" = ( +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/obj/machinery/door/airlock/engineering/glass{ + autoclose = 0; + id_tag = "engsm_door_ext"; + locked = 1; + name = "Reactor Exterior Access" + }, +/turf/simulated/floor/plating, +/area/station/engineering/control) "lIl" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -62059,11 +61864,16 @@ /turf/simulated/floor/plasteel/dark, /area/station/aisat/service) "lKP" = ( -/obj/structure/reflector/single{ - dir = 4 +/obj/structure/rack{ + dir = 1 }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/machinery/camera{ + c_tag = "Engine Storage Pool"; + dir = 1; + network = list("SS13","Engineering") + }, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "lKS" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 10 @@ -62486,12 +62296,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) -"lVr" = ( -/obj/machinery/atmospherics/pipe/simple/visible/supply{ - dir = 10 - }, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) "lVs" = ( /obj/structure/reagent_dispensers/fueltank, /turf/simulated/floor/plating, @@ -62570,18 +62374,9 @@ /turf/simulated/floor/plasteel, /area/station/security/permabrig) "lXg" = ( -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, /obj/machinery/atmospherics/pipe/simple/visible/cyan, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "lXi" = ( /obj/machinery/chem_master, /obj/item/radio/intercom{ @@ -62597,6 +62392,11 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) +"lXu" = ( +/obj/structure/table/reinforced, +/obj/item/tank/internals/emergency_oxygen/engi, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "lXF" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 6 @@ -62613,6 +62413,20 @@ /obj/effect/decal/cleanable/blood/drip, /turf/simulated/floor/plating, /area/station/maintenance/aft) +"lYB" = ( +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/structure/cable{ + icon_state = "1-4" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "lYX" = ( /obj/structure/reagent_dispensers/watertank, /obj/effect/decal/cleanable/cobweb, @@ -62759,15 +62573,6 @@ /obj/effect/turf_decal/tiles/department/medical/checker, /turf/simulated/floor/plasteel/white, /area/station/service/barber) -"mdn" = ( -/obj/structure/cable{ - icon_state = "1-8" - }, -/obj/structure/cable{ - icon_state = "1-4" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "mdt" = ( /obj/machinery/hologram/holopad, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -63179,11 +62984,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/port) "mnc" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 +/obj/machinery/atmospherics/pipe/simple/visible/red{ + dir = 4 }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "mnj" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/cable{ @@ -63640,6 +63445,12 @@ /obj/effect/spawner/random/maintenance, /turf/simulated/floor/plating, /area/station/maintenance/apmaint2) +"mBc" = ( +/obj/structure/closet/radiation, +/obj/effect/turf_decal/delivery/hollow, +/obj/machinery/alarm/directional/west, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/control) "mBf" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 6 @@ -63801,6 +63612,12 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/supply, /turf/simulated/floor/plasteel, /area/station/command/bridge) +"mFk" = ( +/obj/machinery/atmospherics/binary/pump{ + name = "Port to Cooling Loop" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "mFn" = ( /obj/machinery/door/airlock/maintenance{ name = "Morgue Maintenance" @@ -63816,12 +63633,14 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) "mFv" = ( -/obj/structure/closet/crate/can, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "mFy" = ( /obj/machinery/door/window/classic/reversed{ name = "Kill Chamber" @@ -63871,14 +63690,15 @@ /turf/simulated/floor/grass/jungle/no_creep, /area/station/command/bridge) "mGK" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 +/obj/structure/table/reinforced, +/obj/effect/turf_decal/stripes/line{ + dir = 1 }, +/obj/item/clothing/gloves/color/black, +/obj/item/geiger_counter, +/obj/item/clothing/glasses/meson/engine, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "mGP" = ( /obj/machinery/door/airlock/maintenance{ name = "Chapel Office Maintenance" @@ -63907,6 +63727,12 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry) +"mHi" = ( +/obj/structure/cable/yellow{ + icon_state = "1-4" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/hardsuitstorage) "mHH" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -64075,6 +63901,10 @@ /obj/effect/mapping_helpers/airlock/access/any/science/rd, /turf/simulated/floor/plasteel/dark, /area/station/engineering/gravitygenerator) +"mLo" = ( +/obj/effect/spawner/window/reinforced/plasma/grilled, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "mLu" = ( /obj/machinery/atmospherics/portable/canister/air, /obj/machinery/atmospherics/unary/portables_connector{ @@ -64156,22 +63986,25 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel/white, /area/station/science/toxins/mixing) +"mMK" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/green, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "mNd" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/machinery/airlock_controller/access_controller{ + name = "Reactor Access Console"; + pixel_y = 24; + ext_door_link_id = "engsm_door_ext"; + int_door_link_id = "engsm_door_int"; + ext_button_link_id = "engsm_btn_ext"; + int_button_link_id = "engsm_btn_int"; + req_one_access = list(10,24) }, -/obj/structure/table/reinforced, -/obj/item/clothing/suit/radiation, -/obj/item/clothing/head/radiation, -/obj/item/clothing/glasses/meson, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/effect/turf_decal/stripes/red/line{ + dir = 1 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "mNf" = ( /obj/structure/disposalpipe/trunk{ dir = 1 @@ -64271,6 +64104,13 @@ }, /turf/simulated/floor/carpet/arcade, /area/station/public/arcade) +"mPb" = ( +/obj/machinery/atmospherics/binary/pump{ + name = "Gas Extraction"; + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "mPx" = ( /turf/simulated/wall, /area/station/maintenance/electrical/fore_port) @@ -64467,14 +64307,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/service/hydroponics) -"mWa" = ( -/obj/machinery/atmospherics/binary/pump{ - dir = 1; - name = "External Gas to Loop" - }, -/obj/effect/turf_decal/delivery, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "mWQ" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -64508,24 +64340,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) -"mXy" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/structure/table/reinforced, -/obj/item/clothing/suit/radiation, -/obj/item/clothing/head/radiation, -/obj/item/clothing/glasses/meson, -/obj/item/geiger_counter, -/obj/item/geiger_counter, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "mXJ" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/cable/extra_insulated{ @@ -64559,16 +64373,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/medical/morgue) -"mYL" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/visible/green{ - dir = 6 - }, -/obj/effect/turf_decal/stripes/corner, -/turf/simulated/floor/engine, -/area/station/engineering/control) "mZf" = ( /obj/machinery/conveyor/west{ id = "garbage" @@ -64808,8 +64612,16 @@ /area/station/public/storage/tools/auxiliary) "nfE" = ( /obj/machinery/shower/directional/west, +/obj/machinery/airlock_controller/access_controller{ + name = "Atmos Supermatter Access Console"; + ext_door_link_id = "atmossm_door_ext"; + int_door_link_id = "atmossm_door_int"; + pixel_y = -24; + ext_button_link_id = "atmossm_btn_ext"; + int_button_link_id = "atmossm_btn_int" + }, /turf/simulated/floor/noslip, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "nfS" = ( /obj/machinery/hologram/holopad, /turf/simulated/floor/mineral/titanium, @@ -64846,10 +64658,6 @@ }, /turf/simulated/floor/plating, /area/station/command/office/rd) -"nic" = ( -/obj/effect/spawner/window/reinforced/plasma, -/turf/simulated/floor/plating, -/area/station/engineering/engine/supermatter) "nin" = ( /obj/machinery/light{ dir = 8 @@ -65014,6 +64822,12 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) +"noX" = ( +/obj/machinery/atmospherics/trinary/filter{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "npb" = ( /obj/effect/spawner/random/cobweb/right/frequent, /obj/effect/turf_decal/tiles/white/side{ @@ -65048,15 +64862,6 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/xenobiology) -"nqp" = ( -/obj/machinery/light{ - dir = 1 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "nqv" = ( /obj/effect/mapping_helpers/turfs/rust/maybe, /turf/simulated/wall, @@ -65107,11 +64912,15 @@ /turf/simulated/floor/plasteel, /area/station/supply/smith_office) "nrS" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/obj/machinery/atmospherics/binary/valve{ + dir = 4; + name = "Output to Scrubbers" }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "nst" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 8 @@ -65177,15 +64986,6 @@ }, /turf/simulated/floor/wood, /area/station/maintenance/aft) -"ntt" = ( -/obj/machinery/access_button{ - autolink_id = "engsm_btn_ext"; - name = "Supermatter Access Button"; - pixel_y = 24; - req_access = list(10) - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "ntv" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 8 @@ -65328,6 +65128,9 @@ /obj/machinery/light, /turf/simulated/floor/plasteel, /area/station/supply/storage) +"nxq" = ( +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "nxt" = ( /obj/structure/chair, /obj/structure/cable{ @@ -65351,6 +65154,19 @@ /obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, /turf/simulated/floor/plasteel, /area/station/maintenance/asmaint) +"nxN" = ( +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "nxW" = ( /obj/structure/disposalpipe/junction{ dir = 1 @@ -65403,6 +65219,10 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/hallway) +"nzn" = ( +/obj/structure/table/reinforced, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "nAi" = ( /obj/machinery/conveyor/east{ id = "QMLoad2"; @@ -65668,13 +65488,20 @@ /turf/simulated/floor/plasteel, /area/station/science/xenobiology) "nFa" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/effect/turf_decal/stripes, -/obj/effect/turf_decal/stripes/red, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/yellow{ + icon_state = "1-8" + }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "nFc" = ( /obj/machinery/hologram/holopad, /turf/simulated/floor/wood, @@ -65895,11 +65722,19 @@ /turf/simulated/floor/plasteel/white, /area/station/science/hallway) "nLT" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 1 +/obj/effect/turf_decal/trimline/misc/toxins/corner{ + dir = 4 }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/obj/machinery/light/floor, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "nLW" = ( /obj/machinery/atmospherics/pipe/simple/visible/universal, /obj/effect/mapping_helpers/airlock/access/all/engineering/atmos, @@ -66017,6 +65852,11 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel/white, /area/station/science/xenobiology) +"nNQ" = ( +/obj/machinery/atmospherics/pipe/simple/visible/purple, +/obj/item/pipe_meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "nOo" = ( /turf/simulated/floor/plasteel, /area/station/science/hallway) @@ -66187,19 +66027,6 @@ icon_state = "seadeep" }, /area/station/hallway/primary/central/south) -"nSm" = ( -/obj/machinery/light{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/visible/green, -/turf/simulated/floor/engine, -/area/station/engineering/control) "nSu" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ @@ -66259,15 +66086,6 @@ }, /turf/simulated/floor/plating, /area/station/science/toxins/launch) -"nTG" = ( -/obj/machinery/light{ - dir = 1 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "nTH" = ( /obj/effect/turf_decal/delivery/partial, /turf/simulated/floor/plating, @@ -66295,21 +66113,8 @@ /turf/simulated/floor/wood, /area/station/command/meeting_room) "nVf" = ( -/obj/machinery/atmospherics/pipe/simple/visible/red{ - dir = 10 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) -"nVk" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/hologram/holopad, -/turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "nVl" = ( /obj/structure/cable{ icon_state = "0-2" @@ -67096,9 +66901,6 @@ /obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/exit) -"omz" = ( -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) "omB" = ( /obj/structure/cable/extra_insulated{ icon_state = "4-8" @@ -67261,6 +67063,13 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/fpmaint2) +"opx" = ( +/obj/structure/closet/secure_closet/engineering_welding, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/hardsuitstorage) "opZ" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 10 @@ -67581,6 +67390,13 @@ /obj/effect/spawner/random/barrier/grille_maybe, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) +"oxg" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/obj/machinery/firealarm/directional/east, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "oxp" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -67636,6 +67452,18 @@ /obj/structure/window/reinforced, /turf/simulated/floor/wood, /area/station/public/dorms) +"oyC" = ( +/obj/machinery/access_button{ + autolink_id = "engsm_btn_ext"; + name = "Reactor Access Button"; + pixel_y = -24; + req_access = list(10) + }, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/hardsuitstorage) "oyH" = ( /obj/machinery/atmospherics/pipe/simple/visible, /obj/machinery/atmospherics/meter{ @@ -67645,6 +67473,10 @@ }, /turf/simulated/wall/r_wall, /area/station/engineering/atmos) +"oyK" = ( +/obj/machinery/atmospherics/pipe/simple/visible/purple, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "oyO" = ( /obj/item/stack/package_wrap, /obj/structure/table/glass, @@ -67734,10 +67566,8 @@ /obj/machinery/atmospherics/pipe/simple/visible/red{ dir = 4 }, -/obj/machinery/light, -/obj/effect/turf_decal/stripes/line, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "oBf" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/research{ @@ -67771,10 +67601,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) -"oBR" = ( -/obj/structure/reflector/double, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "oBU" = ( /obj/machinery/camera{ c_tag = "Magistrate's Office"; @@ -67852,17 +67678,12 @@ /turf/simulated/floor/plasteel, /area/station/command/bridge) "oDT" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green, /obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/manifold/visible/yellow{ - dir = 4 + icon_state = "1-2" }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "oEl" = ( /obj/structure/cable/extra_insulated{ icon_state = "1-8" @@ -68519,17 +68340,13 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) -"oSE" = ( -/obj/structure/cable{ - icon_state = "1-2" +"oSD" = ( +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 4 }, -/obj/machinery/door/airlock/engineering/glass{ - heat_proof = 1; - name = "Supermatter Chamber" - }, -/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "oSF" = ( /obj/effect/turf_decal/stripes/line{ dir = 8 @@ -68660,16 +68477,6 @@ }, /turf/simulated/floor/plasteel, /area/station/supply/storage) -"oWM" = ( -/obj/structure/cable{ - icon_state = "1-4" - }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plating, -/area/station/engineering/control) "oWR" = ( /obj/machinery/ai_status_display{ pixel_y = 32 @@ -68784,15 +68591,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/aft) -"pay" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/effect/turf_decal/caution/stand_clear{ - dir = 8 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "paz" = ( /obj/structure/cable{ icon_state = "0-4" @@ -69019,10 +68817,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/west) -"phw" = ( -/obj/machinery/atmospherics/supermatter_crystal/engine, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "pif" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/light_switch{ @@ -69123,6 +68917,12 @@ /obj/structure/chair/office/dark, /turf/simulated/floor/plasteel/dark, /area/station/medical/morgue) +"pjn" = ( +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "pko" = ( /obj/structure/chair/stool{ dir = 8 @@ -69216,6 +69016,19 @@ "pnc" = ( /turf/simulated/wall, /area/station/supply/smith_office) +"pnB" = ( +/obj/machinery/access_button{ + autolink_id = "engsm_btn_int"; + name = "Reactor Access Button"; + pixel_y = -24; + req_access = list(10) + }, +/obj/effect/turf_decal/stripes/line, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/control) "pnT" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/computerframe{ @@ -70006,11 +69819,17 @@ }, /obj/effect/mapping_helpers/airlock/access/all/engineering/atmos, /turf/simulated/floor/plating, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "pFm" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/machinery/light{ + dir = 8 + }, +/obj/structure/sign/poster/official/random/directional/west, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "pFI" = ( /obj/machinery/power/apc/important/directional/north, /obj/structure/cable{ @@ -70131,6 +69950,16 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/asmaint2) +"pKs" = ( +/obj/machinery/door/airlock/engineering/glass{ + autoclose = 0; + id_tag = "engsm_door_int"; + locked = 1; + name = "Reactor Interior Access" + }, +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/control) "pLr" = ( /obj/effect/turf_decal/stripes/line{ dir = 1 @@ -70186,11 +70015,12 @@ /turf/simulated/floor/plasteel, /area/station/command/teleporter) "pMy" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/machinery/atmospherics/binary/pump{ + name = "Cooling Loop"; + dir = 8 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "pMM" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -70466,14 +70296,14 @@ /turf/simulated/floor/plasteel/dark, /area/station/command/office/cmo) "pRU" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/camera{ - c_tag = "Supermatter Starboard"; - dir = 9; - network = list("SS13","engine") +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/obj/machinery/light{ + dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "pSb" = ( /obj/machinery/camera{ c_tag = "Secure Lab - Test Chamber"; @@ -70523,26 +70353,22 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/aft/south) -"pTj" = ( -/obj/structure/window/plasmareinforced{ - dir = 8 - }, -/obj/machinery/power/rad_collector{ - anchored = 1 - }, -/obj/machinery/atmospherics/pipe/simple/visible/supply{ - dir = 9 - }, -/obj/structure/cable/yellow{ - icon_state = "0-4" - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "pTs" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/light/small, /turf/simulated/floor/plasteel, /area/station/maintenance/asmaint) +"pTR" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "pUb" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, @@ -70636,6 +70462,17 @@ }, /turf/simulated/floor/engine/xenobio, /area/station/science/xenobiology) +"pVR" = ( +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "1-2" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "pWt" = ( /obj/machinery/alarm/directional/east, /turf/simulated/floor/plasteel, @@ -70980,6 +70817,14 @@ }, /turf/simulated/floor/plating, /area/station/turret_protected/aisat/interior) +"qgF" = ( +/obj/effect/turf_decal/trimline/misc/toxins/filled/shrink_ccw{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "qhe" = ( /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -71265,12 +71110,6 @@ }, /turf/simulated/floor/plasteel, /area/station/supply/qm) -"qmX" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "qnh" = ( /obj/structure/cable{ icon_state = "1-2" @@ -71300,12 +71139,14 @@ /turf/simulated/floor/plasteel, /area/station/medical/virology) "qnM" = ( -/obj/machinery/atmospherics/pipe/simple/visible{ +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/line{ dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "qnW" = ( /obj/structure/cable{ icon_state = "4-8" @@ -71407,12 +71248,6 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/aft) -"qpq" = ( -/obj/structure/reflector/box{ - dir = 1 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "qpw" = ( /obj/machinery/light{ dir = 1 @@ -71631,14 +71466,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "qsH" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 4 +/obj/structure/rack{ + dir = 1 }, -/obj/effect/turf_decal/caution/stand_clear{ - dir = 4 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "qsQ" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/security/glass{ @@ -71851,16 +71683,13 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "qyM" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/machinery/atmospherics/unary/portables_connector, +/obj/machinery/atmospherics/portable/canister, +/obj/effect/turf_decal/stripes/line{ + dir = 1 }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "qyP" = ( /obj/machinery/light/small, /turf/simulated/floor/plating, @@ -71964,17 +71793,18 @@ /turf/simulated/floor/plasteel/white, /area/station/maintenance/aft) "qBw" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/machinery/atmospherics/unary/portables_connector, +/obj/machinery/atmospherics/portable/canister/nitrogen, +/obj/effect/turf_decal/stripes/line{ + dir = 9 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/machinery/camera{ + c_tag = "Engine North"; + dir = 6; + network = list("SS13","Engineering") }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "qBB" = ( /turf/simulated/floor/plating/airless, /area/station/maintenance/fsmaint) @@ -72024,20 +71854,6 @@ }, /turf/simulated/floor/plasteel, /area/station/public/dorms) -"qCB" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/door/poddoor/shutters/radiation/preopen{ - dir = 2; - id_tag = "engsm"; - name = "Radiation Chamber Shutters" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/plating, -/area/station/engineering/engine/supermatter) "qCH" = ( /obj/effect/spawner/random/cobweb/right/rare, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ @@ -72268,12 +72084,21 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "qHc" = ( -/obj/structure/cable{ - icon_state = "1-2" +/obj/structure/rack{ + dir = 1 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_y = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = -3; + pixel_y = 6 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "qHt" = ( /obj/machinery/door/poddoor/shutters/preopen{ dir = 8; @@ -72335,12 +72160,6 @@ /obj/effect/landmark/start/quartermaster, /turf/simulated/floor/carpet, /area/station/supply/qm) -"qIn" = ( -/obj/item/stack/sheet/metal/fifty, -/obj/machinery/firealarm/directional/north, -/obj/structure/table, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "qIw" = ( /obj/effect/turf_decal/stripes/white/line, /turf/simulated/floor/plasteel, @@ -72449,13 +72268,19 @@ /obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel/dark, /area/station/science/robotics/chargebay) -"qLK" = ( -/obj/structure/closet/firecloset, -/obj/structure/cable/yellow{ - icon_state = "1-2" +"qLI" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 1 }, /turf/simulated/floor/plasteel, -/area/station/engineering/hardsuitstorage) +/area/station/engineering/control) +"qLK" = ( +/obj/machinery/light{ + dir = 8 + }, +/obj/machinery/nuclear_rod_fabricator, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "qMh" = ( /obj/structure/bed, /obj/machinery/light/small{ @@ -72712,15 +72537,6 @@ }, /turf/simulated/floor/plasteel, /area/station/command/bridge) -"qRu" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "qRw" = ( /obj/effect/spawner/window/reinforced/plasma/grilled, /obj/machinery/atmospherics/pipe/simple/visible, @@ -73337,19 +73153,6 @@ /obj/structure/sign/poster/official/random/directional/west, /turf/simulated/floor/plasteel/fakestairs, /area/station/hallway/secondary/exit) -"rhs" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/visible/cyan, -/obj/machinery/light{ - dir = 8 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "rhG" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 @@ -73427,12 +73230,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) -"rjy" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/smes) "rkp" = ( /obj/effect/turf_decal/woodsiding{ dir = 6 @@ -73467,12 +73264,9 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/aft/south) "rlm" = ( -/obj/machinery/atmospherics/pipe/manifold/visible, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, +/obj/machinery/atmospherics/pipe/manifold/visible/cyan, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "rlr" = ( /obj/machinery/door/poddoor/preopen{ id_tag = "Biohazard"; @@ -73555,20 +73349,17 @@ /turf/simulated/floor/wood, /area/station/procedure/trainer_office) "rmT" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ +/obj/effect/turf_decal/trimline/misc/toxins/line{ dir = 1 }, -/obj/effect/turf_decal/stripes/line{ - dir = 9 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) -"rmY" = ( -/obj/effect/turf_decal/stripes/line{ +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rna" = ( /obj/structure/rack{ dir = 1 @@ -73862,15 +73653,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/service/chapel) -"ruR" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "ruY" = ( /obj/effect/mapping_helpers/airlock/access/all/engineering/external, /turf/simulated/floor/plating, @@ -74106,9 +73888,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "rCe" = ( -/obj/effect/spawner/window/reinforced/plasma/grilled, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/simple/heat_exchanging/junction{ + dir = 8 + }, +/turf/simulated/wall/r_wall, +/area/station/engineering/engine/reactor) "rCf" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -74265,8 +74049,20 @@ /turf/simulated/floor/plasteel, /area/station/security/processing) "rFJ" = ( -/obj/effect/turf_decal/stripes/corner, -/turf/simulated/floor/plasteel/dark, +/obj/machinery/access_button{ + autolink_id = "engsm_btn_int"; + name = "Reactor Access Button"; + pixel_y = -24; + req_access = list(10) + }, +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/obj/machinery/door/airlock/engineering/glass{ + autoclose = 0; + id_tag = "engsm_door_int"; + locked = 1; + name = "Reactor Interior Access" + }, +/turf/simulated/floor/plating, /area/station/engineering/control) "rFK" = ( /obj/effect/decal/cleanable/dirt, @@ -74688,19 +74484,6 @@ /obj/item/stack/rods, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) -"rPZ" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ - dir = 1 - }, -/obj/machinery/door_control{ - id = "engsm"; - name = "Radiation Shutters Control"; - pixel_y = -24; - req_access = list(32) - }, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/engine, -/area/station/engineering/control) "rQp" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/effect/turf_decal/tiles/department/science/side, @@ -74965,12 +74748,12 @@ /turf/simulated/floor/plasteel/dark, /area/station/medical/surgery/observation) "rWB" = ( -/obj/machinery/atmospherics/binary/valve/digital/open{ - dir = 4; - name = "Output Release" +/obj/machinery/atmospherics/pipe/manifold/visible/red{ + dir = 4 }, +/obj/item/pipe_meter, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "rWJ" = ( /obj/structure/chair/sofa/right{ dir = 1 @@ -74982,14 +74765,11 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/port/east) "rWS" = ( -/obj/machinery/camera{ - c_tag = "Supermatter Port"; - dir = 4; - network = list("SS13","engine") +/obj/effect/turf_decal/stripes/line{ + dir = 8 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "rYm" = ( /obj/structure/girder, /turf/simulated/floor/plasteel, @@ -75142,6 +74922,23 @@ /obj/effect/turf_decal/tiles/department/medical, /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) +"sbw" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/moderator/graphite{ + pixel_y = 9 + }, +/obj/item/nuclear_rod/moderator/graphite{ + pixel_y = 6; + pixel_x = 3 + }, +/obj/item/nuclear_rod/moderator/graphite{ + pixel_y = 3; + pixel_x = 6 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "sbD" = ( /obj/machinery/atmospherics/unary/outlet_injector/on{ dir = 8; @@ -75215,17 +75012,14 @@ /turf/simulated/floor/plasteel, /area/station/engineering/transmission_laser) "scM" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 6 }, -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ - dir = 1 - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 8 +/obj/structure/cable{ + icon_state = "4-8" }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "scP" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -75312,14 +75106,6 @@ /obj/effect/turf_decal/tiles/department/medical/corner, /turf/simulated/floor/plasteel, /area/station/supply/sorting) -"sgr" = ( -/obj/machinery/door/airlock/engineering/glass{ - heat_proof = 1; - name = "Supermatter Chamber" - }, -/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "sgt" = ( /obj/effect/turf_decal/tiles/department/security/side{ dir = 6 @@ -75362,15 +75148,9 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore) "shz" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/visible/yellow{ - dir = 5 - }, -/obj/machinery/atmospherics/meter, +/obj/machinery/atmospherics/pipe/simple/visible/green, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "shC" = ( /obj/structure/cable{ icon_state = "1-4" @@ -75387,6 +75167,12 @@ /obj/structure/sign/explosives, /turf/simulated/wall/r_wall, /area/space/nearstation) +"shG" = ( +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "shN" = ( /obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel, @@ -75821,7 +75607,7 @@ dir = 4 }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "ssV" = ( /obj/structure/table, /obj/item/toy/figure/crew/secofficer, @@ -75850,14 +75636,6 @@ /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/science/break_room) -"sud" = ( -/obj/machinery/atmospherics/unary/portables_connector{ - dir = 1 - }, -/obj/machinery/atmospherics/portable/canister/nitrogen, -/obj/effect/turf_decal/delivery/hollow, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "suh" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -76026,6 +75804,32 @@ /obj/effect/mapping_helpers/airlock/access/all/security/doors, /turf/simulated/floor/plasteel, /area/station/security/main) +"syp" = ( +/obj/effect/turf_decal/trimline/misc/toxins/corner{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, +/obj/machinery/light/floor, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"sys" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/stripes/line, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/effect/turf_decal/caution{ + dir = 1 + }, +/obj/structure/cable{ + icon_state = "1-8" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "syy" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/manifold/visible/cyan, @@ -76042,6 +75846,9 @@ /obj/structure/barricade/wooden, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) +"szm" = ( +/turf/simulated/floor/plasteel/reactor_pool/wall/ladder, +/area/station/engineering/engine/reactor) "szF" = ( /obj/machinery/economy/vending/cola, /obj/effect/turf_decal/tiles/department/science/side, @@ -76438,12 +76245,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) -"sKE" = ( -/obj/machinery/atmospherics/pipe/simple/visible/scrubbers{ - dir = 6 - }, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) "sKF" = ( /obj/machinery/alarm/directional/west, /obj/effect/turf_decal/tiles/department/engineering/side{ @@ -76616,10 +76417,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/gravitygenerator) -"sOE" = ( -/obj/machinery/firealarm/directional/east, -/turf/simulated/floor/engine, -/area/station/engineering/control) "sPb" = ( /obj/machinery/alarm/directional/north, /obj/machinery/atmospherics/unary/vent_pump/on, @@ -76760,16 +76557,14 @@ /turf/simulated/floor/wood, /area/station/maintenance/aft) "sSb" = ( +/obj/machinery/door/airlock/engineering/glass{ + name = "Fabrication" + }, +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, /obj/structure/cable/yellow{ - icon_state = "2-4" + icon_state = "1-2" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/cable/yellow{ - icon_state = "2-8" - }, -/turf/simulated/floor/engine, +/turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "sSf" = ( /obj/structure/chair/stool{ @@ -76819,6 +76614,11 @@ /obj/item/multitool, /turf/simulated/floor/plasteel, /area/station/engineering/transmission_laser) +"sTh" = ( +/obj/machinery/atmospherics/pipe/manifold4w/visible/cyan, +/obj/machinery/atmospherics/meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "sTF" = ( /obj/structure/cable/yellow{ icon_state = "1-2" @@ -77018,17 +76818,6 @@ icon_state = "freezerfloor" }, /area/station/medical/cloning) -"sZP" = ( -/obj/machinery/power/emitter{ - anchored = 1; - dir = 8; - state = 2 - }, -/obj/structure/cable{ - icon_state = "0-4" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "taa" = ( /obj/machinery/atmospherics/pipe/simple/visible, /obj/machinery/atmospherics/meter{ @@ -77452,6 +77241,16 @@ }, /turf/simulated/floor/transparent/glass, /area/station/hallway/primary/central/south) +"tlC" = ( +/obj/structure/railing/corner/pool_corner, +/obj/structure/railing/corner/pool_corner{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/visible/red{ + dir = 5 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "tlI" = ( /obj/structure/sign/poster/contraband/random/directional/north, /obj/effect/decal/cleanable/dirt, @@ -77464,6 +77263,17 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) +"tmE" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "tmS" = ( /obj/effect/spawner/random/barrier/grille_maybe, /turf/simulated/floor/plating, @@ -77875,6 +77685,15 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/turbine) +"tAD" = ( +/obj/machinery/power/reactor_power{ + dir = 1 + }, +/obj/structure/cable/yellow{ + icon_state = "0-2" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "tAE" = ( /obj/structure/table, /obj/effect/turf_decal/tiles/white/corner{ @@ -77915,6 +77734,15 @@ /obj/item/pen/blue, /turf/simulated/floor/carpet/green, /area/station/command/bridge) +"tCB" = ( +/obj/structure/table/reinforced, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/item/stack/sheet/metal/ten, +/obj/item/stack/cable_coil, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "tCD" = ( /obj/machinery/light, /obj/machinery/atmospherics/portable/canister, @@ -77974,17 +77802,12 @@ /turf/simulated/floor/plasteel, /area/station/science/lobby) "tDn" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/visible/red{ - dir = 10 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 9 }, +/obj/machinery/atmospherics/meter, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "tDt" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -78064,14 +77887,15 @@ /turf/simulated/floor/plating, /area/station/maintenance/abandonedservers) "tEq" = ( -/obj/structure/cable{ - icon_state = "2-4" +/obj/effect/turf_decal/stripes/red/line{ + dir = 1 }, -/obj/structure/cable{ - icon_state = "4-8" +/obj/structure/extinguisher_cabinet{ + name = "north bump"; + pixel_y = 30 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "tEr" = ( /obj/effect/landmark/start/smith, /turf/simulated/floor/plasteel, @@ -78520,6 +78344,13 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/apmaint) +"tPk" = ( +/obj/machinery/shower/directional/north, +/obj/effect/turf_decal/stripes/corner{ + dir = 1 + }, +/turf/simulated/floor/noslip, +/area/station/engineering/control) "tPl" = ( /obj/machinery/light/small, /turf/simulated/floor/plating, @@ -78627,6 +78458,12 @@ /obj/machinery/shower/directional/north, /turf/simulated/floor/noslip, /area/station/engineering/control) +"tRc" = ( +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "tRp" = ( /obj/structure/table/reinforced, /obj/machinery/door/firedoor, @@ -79015,20 +78852,6 @@ /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, /area/station/engineering/tech_storage) -"tYr" = ( -/obj/machinery/airlock_controller/access_controller{ - name = "Atmos Supermatter Access Console"; - pixel_x = 24; - ext_door_link_id = "atmossm_door_ext"; - int_door_link_id = "atmossm_door_int"; - ext_button_link_id = "atmossm_btn_ext"; - int_button_link_id = "atmossm_btn_int" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "tYx" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -79139,11 +78962,6 @@ /obj/machinery/economy/vending/wallmed/directional/north, /turf/simulated/floor/plating, /area/station/maintenance/aft) -"ubz" = ( -/obj/structure/table, -/obj/item/rpd, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "ubC" = ( /obj/structure/sign/evac, /turf/simulated/wall, @@ -79287,12 +79105,11 @@ /obj/item/storage/toolbox/mechanical, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) -"ufc" = ( -/obj/structure/cable{ - icon_state = "0-4" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +"ufh" = ( +/obj/structure/table/reinforced, +/obj/item/beach_ball, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "ufq" = ( /obj/machinery/door/firedoor, /obj/structure/disposalpipe/segment, @@ -79561,6 +79378,24 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/assembly_line) +"uod" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 9; + pixel_x = -3 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 6 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 3; + pixel_x = 3 + }, +/obj/machinery/light, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "uor" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 6 @@ -79819,13 +79654,6 @@ }, /turf/simulated/floor/plasteel, /area/station/security/permabrig) -"utK" = ( -/obj/item/radio/intercom{ - name = "west bump"; - pixel_x = -28 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "uuh" = ( /obj/machinery/disposal, /obj/machinery/light, @@ -79863,6 +79691,12 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plating, /area/station/maintenance/apmaint) +"uvS" = ( +/obj/machinery/atmospherics/binary/pump{ + name = "Gas Intake" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "uwi" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/spawner/random/barrier/grille_maybe, @@ -79897,6 +79731,10 @@ }, /turf/simulated/floor/engine, /area/station/maintenance/incinerator) +"uwD" = ( +/obj/effect/turf_decal/stripes/line, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "uwJ" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 9 @@ -79965,6 +79803,19 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint2) +"uyu" = ( +/obj/effect/turf_decal/trimline/misc/toxins/filled/shrink_cw, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "uyA" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -79993,13 +79844,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) -"uzB" = ( -/obj/effect/turf_decal/stripes/line, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/smes) "uzD" = ( /obj/effect/turf_decal/stripes/line, /turf/simulated/floor/plasteel/dark, @@ -80023,9 +79867,13 @@ /turf/simulated/floor/plasteel/white, /area/station/science/break_room) "uAm" = ( -/obj/structure/dispenser, +/obj/structure/rack{ + dir = 1 + }, +/obj/item/weldingtool, +/obj/item/clothing/head/welding, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "uAo" = ( /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel/white, @@ -80076,11 +79924,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/cyan, /turf/simulated/floor/plating, /area/station/maintenance/port) -"uBJ" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/red, -/obj/machinery/atmospherics/meter, -/turf/simulated/floor/engine, -/area/station/engineering/control) "uCf" = ( /obj/structure/lattice/catwalk, /obj/machinery/atmospherics/unary/passive_vent, @@ -80123,15 +79966,6 @@ /obj/item/book/random/triple, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) -"uDc" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 8 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "uDn" = ( /obj/structure/cable/yellow{ icon_state = "1-2" @@ -80154,12 +79988,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/east) -"uDI" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "uDR" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/trinary/mixer{ @@ -80284,6 +80112,16 @@ }, /turf/simulated/floor/wood, /area/station/security/permabrig) +"uGL" = ( +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "uHC" = ( /obj/machinery/computer/communications{ dir = 4 @@ -80475,6 +80313,12 @@ /obj/machinery/atmospherics/unary/portables_connector, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint2) +"uOx" = ( +/obj/machinery/atmospherics/unary/thermomachine/freezer{ + dir = 8 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine/reactor) "uOG" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/spawner/random/barrier/grille_maybe, @@ -80606,21 +80450,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/aft) -"uTu" = ( -/obj/structure/window/plasmareinforced{ - dir = 8 - }, -/obj/machinery/power/rad_collector{ - anchored = 1 - }, -/obj/structure/cable/yellow{ - icon_state = "0-4" - }, -/obj/machinery/atmospherics/pipe/manifold/visible/supply{ - dir = 1 - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "uTy" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/security/glass{ @@ -80870,6 +80699,9 @@ /obj/structure/cable{ icon_state = "1-2" }, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/smes) "uZL" = ( @@ -81023,15 +80855,6 @@ /obj/effect/landmark/start/cargo_technician, /turf/simulated/floor/plasteel, /area/station/supply/storage) -"vdo" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ - dir = 1 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "vdx" = ( /obj/effect/spawner/random/fungus/maybe, /turf/simulated/wall, @@ -81148,21 +80971,6 @@ }, /turf/simulated/floor/plasteel, /area/station/science/hallway) -"vhd" = ( -/obj/structure/window/plasmareinforced{ - dir = 4 - }, -/obj/machinery/power/rad_collector{ - anchored = 1 - }, -/obj/machinery/atmospherics/pipe/simple/visible/scrubbers{ - dir = 5 - }, -/obj/structure/cable/yellow{ - icon_state = "0-8" - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "vhf" = ( /obj/structure/chair, /turf/simulated/floor/wood, @@ -81449,13 +81257,10 @@ /turf/simulated/floor/plating, /area/station/aisat/service) "vpH" = ( -/obj/machinery/camera{ - c_tag = "Supermatter Laser Room Port"; - dir = 5; - network = list("SS13","Engineering") - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/structure/table/reinforced, +/obj/item/bikehorn/rubberducky, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "vpR" = ( /obj/machinery/door/airlock/security/glass{ name = "Solitary Confinement 2" @@ -81886,9 +81691,6 @@ /area/station/supply/storage) "vBs" = ( /obj/machinery/firealarm/directional/east, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/smes) "vBC" = ( @@ -82018,11 +81820,14 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/exit) "vFA" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - icon_state = "1-2" +/obj/structure/closet/radiation, +/obj/effect/turf_decal/delivery/hollow, +/obj/machinery/light{ + dir = 1 + }, +/obj/effect/turf_decal/stripes/corner{ + dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "vFJ" = ( @@ -82360,10 +82165,12 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) "vNU" = ( -/obj/machinery/light, -/obj/structure/closet/radiation, +/obj/machinery/light{ + dir = 4 + }, +/obj/structure/closet/crate/can, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "vOj" = ( /obj/structure/cable/extra_insulated{ icon_state = "4-8" @@ -82662,15 +82469,22 @@ }, /turf/simulated/floor/engine, /area/station/science/test_chamber) -"vWF" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +"vWE" = ( +/obj/effect/turf_decal/trimline/misc/toxins/corner{ + dir = 8 }, -/obj/machinery/atmospherics/pipe/simple/visible/supply{ - dir = 9 +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 4 }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "1-8" + }, +/obj/machinery/light/floor, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "vXc" = ( /obj/structure/cable{ icon_state = "1-2" @@ -82697,14 +82511,8 @@ /turf/simulated/floor/plasteel, /area/station/public/storage/tools/auxiliary) "vXQ" = ( -/obj/structure/table, -/obj/item/stack/cable_coil{ - pixel_x = 3; - pixel_y = -7 - }, -/obj/item/stack/cable_coil, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/turf/simulated/floor/plasteel/reactor_pool/wall/filter, +/area/station/engineering/engine/reactor) "vYh" = ( /obj/item/radio/intercom{ name = "east bump"; @@ -82913,6 +82721,11 @@ }, /turf/simulated/floor/plasteel, /area/station/command/bridge) +"wbK" = ( +/obj/effect/spawner/window/reinforced/plasma/grilled, +/obj/machinery/atmospherics/pipe/simple/visible/red, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "wbT" = ( /obj/structure/disposalpipe/segment/corner{ dir = 1 @@ -83140,12 +82953,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) -"wiS" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "wja" = ( /obj/structure/rack{ dir = 1 @@ -83634,16 +83441,6 @@ }, /turf/simulated/floor/plasteel, /area/station/medical/reception) -"wug" = ( -/obj/structure/cable{ - icon_state = "1-8" - }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plating, -/area/station/engineering/control) "wuu" = ( /obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel, @@ -83679,6 +83476,12 @@ icon_state = "freezerfloor" }, /area/station/public/toilet/unisex) +"wva" = ( +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "wvC" = ( /obj/machinery/door/airlock/external/glass{ id_tag = "specops_home"; @@ -84052,22 +83855,13 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) "wGI" = ( -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, +/obj/machinery/atmospherics/pipe/manifold4w/visible/green, /obj/structure/cable/yellow{ icon_state = "1-2" }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/visible/yellow, +/obj/machinery/atmospherics/meter, /turf/simulated/floor/engine, -/area/station/engineering/control) -"wGJ" = ( -/obj/machinery/status_display, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "wGR" = ( /obj/item/radio/intercom{ name = "west bump"; @@ -84492,10 +84286,6 @@ }, /turf/simulated/floor/bluegrid, /area/station/turret_protected/ai_upload) -"wQr" = ( -/obj/machinery/light, -/turf/simulated/floor/plating, -/area/station/engineering/control) "wQB" = ( /obj/structure/table/reinforced, /obj/item/storage/toolbox/electrical{ @@ -84860,18 +84650,6 @@ }, /turf/simulated/floor/carpet, /area/station/supply/qm) -"xcg" = ( -/obj/structure/cable{ - icon_state = "1-4" - }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "xcm" = ( /obj/structure/disposalpipe/segment, /obj/structure/cable{ @@ -84879,6 +84657,11 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/east) +"xcn" = ( +/obj/machinery/atmospherics/pipe/simple/heat_exchanging, +/obj/structure/lattice, +/turf/space, +/area/space/nearstation) "xcu" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/medical/glass{ @@ -85562,14 +85345,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry/south) -"xuG" = ( -/obj/machinery/atmospherics/unary/portables_connector{ - dir = 1 - }, -/obj/machinery/atmospherics/portable/canister, -/obj/effect/turf_decal/delivery/hollow, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "xuQ" = ( /obj/structure/disposalpipe/segment/corner{ dir = 2 @@ -85872,6 +85647,16 @@ "xBl" = ( /turf/simulated/floor/grass, /area/station/security/permabrig) +"xBs" = ( +/obj/effect/turf_decal/stripes/line, +/obj/effect/turf_decal/caution{ + dir = 1 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "xBt" = ( /obj/effect/spawner/window/reinforced, /obj/structure/cable{ @@ -85999,6 +85784,17 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/science/toxins/launch) +"xEl" = ( +/obj/structure/sign/radiation/rad_area{ + pixel_y = -32; + layer = 2.7 + }, +/obj/structure/closet/emcloset, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/hardsuitstorage) "xEv" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -86073,6 +85869,16 @@ }, /turf/simulated/floor/plasteel, /area/station/public/dorms) +"xGt" = ( +/obj/effect/turf_decal/stripes/line, +/obj/effect/turf_decal/caution{ + dir = 1 + }, +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "xGy" = ( /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, @@ -86217,7 +86023,7 @@ }, /obj/effect/turf_decal/delivery/hollow, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "xJI" = ( /obj/machinery/light/small, /obj/structure/cable/extra_insulated{ @@ -86430,12 +86236,15 @@ /turf/simulated/floor/plasteel, /area/station/command/bridge) "xOn" = ( -/obj/machinery/atmospherics/pipe/simple/visible/yellow, -/obj/effect/turf_decal/stripes/corner{ +/obj/machinery/atmospherics/pipe/simple/visible/green, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, +/obj/structure/cable/yellow{ + icon_state = "1-4" + }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "xOA" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/spawner/random/barrier/grille_maybe, @@ -86794,18 +86603,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/maintenance/aft) -"xVT" = ( -/obj/structure/cable{ - icon_state = "1-8" - }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "xWg" = ( /obj/effect/turf_decal/tiles/department/science/side{ dir = 9 @@ -86925,7 +86722,7 @@ }, /obj/machinery/atmospherics/meter, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "xXa" = ( /obj/effect/mapping_helpers/airlock/access/any/command/hop, /obj/machinery/door/firedoor, @@ -87165,6 +86962,15 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/toxins/mixing) +"ycA" = ( +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "ycI" = ( /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, @@ -87347,14 +87153,11 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/nw) "yhw" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "yhL" = ( /obj/machinery/door/airlock/maintenance{ name = "Courtroom Maintenance"; @@ -87364,10 +87167,6 @@ /obj/effect/mapping_helpers/airlock/access/any/security/doors, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) -"yhP" = ( -/obj/structure/closet/emcloset, -/turf/simulated/floor/plasteel, -/area/station/engineering/hardsuitstorage) "yhY" = ( /obj/structure/table/reinforced, /obj/effect/spawner/random/maintenance, @@ -87441,6 +87240,17 @@ /obj/effect/decal/cleanable/vomit, /turf/simulated/floor/plating, /area/station/maintenance/asmaint2) +"yjK" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/hardsuitstorage) "yjQ" = ( /obj/structure/cable{ icon_state = "4-8" @@ -87580,14 +87390,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "ylS" = ( -/obj/structure/cable{ - icon_state = "2-8" - }, -/obj/machinery/atmospherics/pipe/simple/visible/yellow{ - dir = 4 +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 1 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "ylV" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -109388,7 +109195,7 @@ tHE fcp xEw mnN -aaa +aab aaa aaa aaa @@ -109645,7 +109452,7 @@ sDe bVw pyC mnN -aaa +aab aaa aaa aaa @@ -110159,7 +109966,7 @@ yfP gXh xEw fzl -aaa +aab aaa aaa aaa @@ -110416,8 +110223,8 @@ sqN lPx gVS mnN -aaa -aaa +aab +aab aaa aaa aaa @@ -110676,25 +110483,25 @@ bFC bFC bFC bFC +aaa +aaa +aaa +aaa +aaa +aaa +aaa +aaa +aaa +aaa +aaa +aaa +aaa +aaa +aaa +aaa +aaa +aaa aab -aab -aab -aab -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa aaa aaa aaa @@ -110933,6 +110740,10 @@ ejF wwz bFE bFC +aab +aab +aab +aaa aaa aaa aaa @@ -110941,8 +110752,7 @@ aaa aaa aaa aaa -aaa -aaa +aab aaa aaa aaa @@ -110998,9 +110808,6 @@ aaa aaa aaa aaa -aaa -aaa -aaa "} (92,1,1) = {" aaa @@ -111192,8 +110999,11 @@ bFE bFC aaa aaa -aaa aab +aaa +aaa +afX +afX afX afX afX @@ -111207,10 +111017,7 @@ aab dmD afX afX -aaa -aaa -aaa -aaa +aab aaa aaa aaa @@ -111449,7 +111256,8 @@ ehp bFC aaa aaa -aaa +aab +aab aab afX dmD @@ -111458,6 +111266,8 @@ dmD dmD dmD dmD +dmD +dmD afX aaa aab @@ -111512,9 +111322,6 @@ aaa aaa aaa aaa -aaa -aaa -aaa "} (94,1,1) = {" aaa @@ -111704,25 +111511,25 @@ qis oXq bFE bFC -aab -aab -aab -aab -afX -afX -afX -afX -afX -afX -afX -afX -aab -aab -aab +aaa +aaa aab aaa aaa -aaa +afX +afX +afX +afX +afX +afX +afX +afX +afX +afX +aab +aab +aab +aab aaa aaa aaa @@ -111961,15 +111768,8 @@ jou xMn bFE bFC -aaa -aaa -aaa aab -aaa aab -aaa -aab -aaa aab aaa aaa @@ -111977,8 +111777,15 @@ aaa aab aaa aaa +aab aaa aaa +aab +aaa +aaa +aaa +aab +aaa aaa aaa aaa @@ -112220,16 +112027,19 @@ dar dar aaa aaa +aab +aaa +aaa aaa aab aaa -aab aaa aab aaa +aaa aab aaa -abp +aaa aaa afX afX @@ -112283,9 +112093,6 @@ aaa aaa aaa aaa -aaa -aaa -aaa "} (97,1,1) = {" aaa @@ -112477,17 +112284,20 @@ diK dar aaa aaa -dhf -rlX -dhf -rlX -dhf -aLe -aLe -aLe -rlX -aaa +aab aaa +dhf +xcn +xcn +rlX +dhf +rlX +dhf +xcn +xcn +rlX +aab +aab afX dmD afX @@ -112540,9 +112350,6 @@ aaa aaa aaa aaa -aaa -aaa -aaa "} (98,1,1) = {" aaa @@ -112734,17 +112541,20 @@ cQJ dar aab aab -djb +aab +aab +dib +xcn +rlX djb djb djb djb dhf -aLe -aLe +xcn djc -aab -aab +aaa +aaa afX dmD afX @@ -112797,9 +112607,6 @@ aaa aaa aaa aaa -aaa -aaa -aaa "} (99,1,1) = {" aaa @@ -112991,14 +112798,17 @@ cby dar aaa aaa -djb +aab +aaa +dhf +xcn +djc djb djb djb djb dib -aLe -aLe +xcn rlX aaa aaa @@ -113054,9 +112864,6 @@ aaa aaa aaa aaa -aaa -aaa -aaa "} (100,1,1) = {" aaa @@ -113248,14 +113055,17 @@ nQN dar aab aab -djb +aab +aab +dib +xcn +rlX djb djb djb djb dhf -aLe -aLe +xcn djc aab aab @@ -113265,10 +113075,7 @@ afX aaa aaa aaa -aaa -aaa -aaa -aaa +aab aaa aaa aaa @@ -113505,14 +113312,17 @@ dtw dar aaa aaa -djb +aaa +aaa +dhf +xcn +djc djb djb djb djb dib -aLe -aLe +xcn rlX aaa aaa @@ -113568,9 +113378,6 @@ aaa aaa aaa aaa -aaa -aaa -aaa "} (102,1,1) = {" aaa @@ -113762,29 +113569,29 @@ dar dar rgM rgM -djb +aab +aab +dib +xcn +rlX djb djb djb djb dhf -aLe -aLe +xcn djc -aab -aab +aaa +aaa afX dmD afX -aaa +aab aab dmD afX afX -aaa -aaa -aaa -aaa +aab aaa aaa aaa @@ -114019,22 +113826,25 @@ rhU dcl ehs ifY -djb +aaa +aaa +dhf +xcn +djc djb djb djb djb dib -aLe -aLe +xcn rlX -aaa -aaa -afX -afX -afX aab aab +afX +afX +afX +aaa +aab dmD dmD afX @@ -114082,9 +113892,6 @@ aaa aaa aaa aaa -aaa -aaa -aaa "} (104,1,1) = {" aaa @@ -114276,27 +114083,27 @@ rgM cRo jGR rgM -djb +aab +aab +dib +xcn +rlX dib djc dib djc -fOC -aLe -aLe +dhf +xcn djc -aab -aab -aab -aab -aab -aab +aaa +aaa aab aab aab aaa aaa -aaa +aab +aab aaa aaa aaa @@ -114526,30 +114333,30 @@ xHz uVt cXJ uVt -uVt -uVt +kzP +cSv cRr -cSU -cSU -cSU -cSU -dho +rgM +rgM +fbR +fbR +fbR +mLo +mLo +fbR rCe -cSU -cSU +fbR +mLo +mLo +fbR rCe -eaL -cSU -cSU -rCe -rCe -cSU +fbR +fbR aaa aaa aaa aab -aab -aab +aaa aaa aaa aab @@ -114783,31 +114590,31 @@ cTH uVt cXJ uVt -uVt -uVt -cSv -cYQ -uDI +cSU +cSU +cSU +cSU +cSU gMc -pFm -deF -kNq +cCp +cOd +rWS rWS ema -pFm +hjF deF -pFm -pFm +tCB +fYk pFm mFv -cSU -cSU -cSU -cSU -cSU -cSU -cSU -aaa +exQ +fbR +fbR +fbR +fbR +fbR +aab +aab afX afX afX @@ -115039,31 +114846,31 @@ dta dtk omG jeU -omG -omG -omG +mHi +cSU +ePt qLK -rJr -ruR +fFm +cSU tEq -cRb -cSE -qRu -cRb -cRb -nVk -cTD -cRb +fTc +fTc +fTc +fTc +eOJ +pMy +fTc +fTc cRb fTc -pMy -cSU +cTF +jjz vXQ -utK +nxq vpH -ePY -cUM -cSU +nzn +fbR +aaa aab afX dmD @@ -115297,30 +115104,30 @@ dtl iUF rIH cVj -cSU -cYQ -cYQ -cSU +rJr +pjn +eaW +xGt sSb -cSN -mYL +ycA +fhr cSF -cRq -nSm +oDT +oDT cTE wGI oDT dto xOn shz -pMy -cYQ -ePY -fTi -gKF -ePY -ePY -cSU +mMK +jOF +szm +nxq +nxq +ixP +fbR +aaa aab afX dmD @@ -115553,36 +115360,36 @@ cRR cRR cWC cXJ -uVt +jNB cYQ -cPX -fYe -cSU -dyH -cSx +luv +luv +uwD +cYQ +exC cRf -cRp -xuG -wGJ -djq -djq -djq +kVF +gFy +jbM +eOE +bRw +qgF kCy nLT ylS yhw -cyR +jjz qHc -oWM -xcg +nxq +nxq itF -wQr -cSU -aab +fbR +aaa +aaa afX dmD afX -aab +aaa aaa abp aaa @@ -115810,36 +115617,36 @@ cXG lom jJn cXJ -uVt -cYQ -cPX +jNB +cSU +hyj ePY -cYQ -lbX +ljv +cSU jbt -idF -dfo -xuG -sKE -gHg -kFk -erU -omz +fTc +wva +bbD +kRa +kRa +mPb +kRa +kRa fqV ihJ lqn -cYQ +jjz daG -jeb +nxq +nxq gmW -gmW -daG -cSU +fbR +aaa aaa afX dmD afX -aaa +aab aaa aaa aaa @@ -116067,32 +115874,32 @@ cTI iWm pKa sXm -cVj +jNB +cSU cSU -cPX rFJ -cYQ -kjN +cSU +cSU cSx cVw -omz -omz -ffY -jUZ -lrJ -vhd -omz +oSD +giH +kRa +kRa +erU +kRa +kRa gei -fWP +wva oAS -cSU -nTG -pay -mnc -pay -mnc -cSU -aaa +jjz +qHc +nxq +nxq +itF +fbR +aab +aab afX dmD afX @@ -116324,32 +116131,32 @@ cTM okv cWI uEh -uVt -lbc -ePY -lsx -dPd -qBw -cSx -deA -dfq -cVS -egO -iRc -iRc -iRc -nic -kLR -dkz -dle +jNB cYQ -oBR -ePY -ePY -fdg -ePY +mBc +lsx cSU -aab +qBw +mFk +deA +wva +jsX +kRa +kRa +fTc +kRa +kRa +fqV +dkz +lqn +jjz +qHc +nxq +nxq +itF +fbR +aaa +aaa afX dmD afX @@ -116581,32 +116388,32 @@ cId nYC uku kSu -kpx -cSU -ntt -fEP -cSU -eqs -cVq -deB -oSE -cVN -sgr -cSI -phw -cSI -nic -nFa -dkA -dkA +jNB cYQ -qpq -ePY -qpq -dcf -ePY -cSU -aab +cPX +aMw +cYQ +eqs +mFk +hbq +sTh +jVe +uvS +cSI +dSw +tAD +fhr +nFa +wva +oAS +jjz +qHc +nxq +nxq +itF +fbR +aaa +aaa afX dmD afX @@ -116838,32 +116645,32 @@ cIe lHi eAt cVF -aYU -hON +jNB +cSU vFA aig -lnU -qyM -mdn -rPZ -dfs -ieI -kUR -wiS -wiS -wiS -nic -rmT -dkB -dlg cYQ -ePY -ePY -ePY +qyM +nNQ +oyK +noX +uyu +kRa +kRa +fTc +kRa +kRa +rmT +dkz +lqn +jjz +hrW +nxq +nxq lKP -ePY -cSU -aab +fbR +aaa +aaa afX dmD afX @@ -117095,31 +116902,31 @@ cRR cRR cZP cXx -cVj -cSU -tQJ -wVp -cYQ -mXy -cSx +jNB +lIb +qLI +xBs +pKs +exC +fTc cVy -omz -omz -ffY -uTu -ioM -pTj -omz +wva +nxN +kRa +kRa +fTc +kRa +kRa gDJ -fWP +wva oAS -cSU -nqp +jjz +sbw +nxq +nxq qsH -rmY -qsH -rmY -cSU +fbR +aaa aaa afX dmD @@ -117352,32 +117159,32 @@ cXL gLG cWM cXJ -uVt +oyC +cSU +izz +pnB cSU -tQJ -wpH -cYQ mNd -gSP +fTc hQW -mWa -sud -lVr -vWF -erU -erU -omz -vdo -dkC -fXt -cYQ -daG -ufc -sZP -ufc -daG -cSU -aaa +wva +bbD +kRa +kRa +fTc +kRa +kRa +rmT +dkz +lqn +jjz +hOq +nxq +nxq +qsH +fbR +aab +aab afX dmD afX @@ -117609,36 +117416,36 @@ cTN kxY cWI cXF -uVt -cSU -tQJ -cVp -cSU -jVj -cSx -hQW -mWa -sud -wGJ -qCB -eQo -qCB -kCy -gDJ -jzn -enG -cma +yjK +jPG +pTR +sys +iEA +tmE +aaX +lYB +pVR +vWE +hvx +hvx +hvx +uGL +hvx +syp +wva +oAS +jjz hOq -wug -xVT +nxq +nxq bAO -wQr -cSU -aab +fbR +aaa +aaa afX dmD afX -aab +aaa aaa aaa aaa @@ -117866,36 +117673,36 @@ cPO gLG xmN cXJ -cVj +xEl cSU +tPk +wVp cYQ -cYQ -cSU hJA -cSN +fTc scM -hbq -hbq -rhs -eJr +ied +lXg +lXg +cUl lXg ihW cUl esG tDn -uBJ -cYQ -ePY -fTi -fFY -ePY -ePY -cSU -aab +oAS +jjz +hOq +nxq +nxq +uod +fbR +aaa +aaa afX dmD afX -aaa +aab aaa aaa aaa @@ -118123,32 +117930,32 @@ cTO gLG uVt cXJ -uVt -uVt -uVt -uVt +opx +cSU +tQJ +wpH cYQ mGK -hXT +fTc gRE -cqd -cRb -cRb -cSM -nVk -cRb -cTF -cRb +fTc +fTc +fTc +fwr +fTc +shG +cHe +tRc giQ rWB -cSU -qIn -ubz -dsx -ePY -cUQ -cSU -aab +tlC +szm +nxq +nxq +nxq +fbR +aaa +aaa afX dmD afX @@ -118380,34 +118187,34 @@ cTT gLG cNX cXJ -uVt -yhP -iBS -iBS -cYQ +opx +cSU +tQJ +cVp +cSU dft -sOE +oxg xWO -tYr +fWP pRU -lqF +fWP qnM -lqF -lqF +fWP +fWP qnM -qmX +fWP nrS fWP -cSU -cSU -cSU -cSU -cSU -cSU -cSU +gvv +vXQ +nxq +ufh +lXu +fbR +aaa aaa afX -afX +dmD afX aaa aaa @@ -118639,33 +118446,33 @@ cNV jsS fJu xfI +epT +epT xfI -xfI -xfI -cZM +epT xfI pEY -cSU -cSU -mnc +fbR +fbR +nVf dhv euu euu rlm -uDc +nVf mnc nVf llQ -ivQ -doE -aab -aab -aaa -aaa -aaa -aaa +fbR +fbR +fbR +fbR +fbR aab aaa +afX +afX +afX aaa aaa aaa @@ -118899,20 +118706,22 @@ hZl cOi cNU cRh -fzw +aMM epT xJE nfE -cSU -ePY +fbR +nVf cTm ksO -cTA +uOx cTA uAm cUo vNU -cSU +lwQ +wbK +heD doE doE aab @@ -118922,8 +118731,6 @@ aab aab aab aab -aab -aab aaa aaa aaa @@ -119152,22 +118959,22 @@ cYU dab mtc edp -rjy -uzB +aMM +cQH hKe vBs -cOc +aMM epT xJE ssQ -dcq +fbR oSd dcq dcq dcq dcq dcq -dcq +gcQ dcq dcq dcq @@ -119416,19 +119223,19 @@ dcq vJY dcq edD -dcq -dcq +fbR +fbR ddr qqe ddr ddr ddr deP +gHc xWG ddr ddr ddr -ddr dcq dgi ruE @@ -119666,7 +119473,7 @@ cWp cZS hVB cOc -aMM +dTN cQH cZF dby @@ -119682,7 +119489,7 @@ mhG mhG mhG deW -mhG +fhJ iBf mhG dop diff --git a/_maps/map_files/stations/deltastation.dmm b/_maps/map_files/stations/deltastation.dmm index 15f89bf5283..3dffaaa320b 100644 --- a/_maps/map_files/stations/deltastation.dmm +++ b/_maps/map_files/stations/deltastation.dmm @@ -141,6 +141,15 @@ icon_state = "solarpanel" }, /area/station/engineering/solar/fore_starboard) +"acz" = ( +/obj/item/stack/sheet/metal/ten, +/obj/structure/rack{ + dir = 1 + }, +/obj/item/stack/cable_coil, +/obj/effect/turf_decal/delivery/hollow, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "acC" = ( /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, @@ -343,6 +352,12 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry/east) +"aeg" = ( +/obj/machinery/atmospherics/unary/reactor_gas_node/output{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "aej" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 5 @@ -993,13 +1008,6 @@ /obj/machinery/computer/med_data/laptop, /turf/simulated/floor/plasteel/dark, /area/station/command/office/cmo) -"ahn" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/tiles/department/engineering, -/turf/simulated/floor/plasteel, -/area/station/engineering/control) "ahr" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, @@ -7877,7 +7885,6 @@ /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 4 }, -/obj/effect/turf_decal/tiles/department/engineering, /turf/simulated/floor/plasteel, /area/station/engineering/control) "aHn" = ( @@ -7990,7 +7997,7 @@ dir = 1 }, /obj/effect/turf_decal/tiles/department/engineering/side{ - dir = 4 + dir = 5 }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) @@ -10814,9 +10821,11 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore/east) "aRK" = ( -/obj/machinery/light/floor, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/structure/cable{ + icon_state = "1-2" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "aRL" = ( /obj/structure/table, /obj/machinery/firealarm/directional/south, @@ -12411,6 +12420,7 @@ icon_state = "1-2" }, /obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/visible, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "aXH" = ( @@ -12620,9 +12630,17 @@ /turf/simulated/floor/plasteel/dark, /area/station/security/prison/cell_block/a) "aYn" = ( -/obj/effect/spawner/window/reinforced/plasma/grilled, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/structure/closet/crate/can, +/obj/effect/turf_decal/box, +/obj/machinery/camera{ + c_tag = "Engine South East"; + network = list("SS13","Engineering") + }, +/obj/effect/turf_decal/stripes/line{ + dir = 5 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine) "aYt" = ( /obj/machinery/atmospherics/pipe/simple/visible/yellow, /obj/effect/turf_decal/tiles/neutral, @@ -12722,6 +12740,12 @@ /obj/structure/sign/securearea, /turf/simulated/wall/r_wall, /area/station/engineering/atmos) +"aYP" = ( +/obj/effect/turf_decal/stripes/corner{ + dir = 1 + }, +/turf/simulated/wall/r_wall, +/area/station/maintenance/port) "aYS" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -14377,13 +14401,6 @@ /obj/effect/turf_decal/delivery/red/hollow, /turf/simulated/floor/plasteel/dark, /area/station/security/armory/secure) -"bhk" = ( -/obj/machinery/atmospherics/pipe/simple/visible{ - dir = 5 - }, -/obj/effect/turf_decal/tiles/neutral, -/turf/simulated/floor/plasteel, -/area/station/engineering/atmos) "bhn" = ( /obj/machinery/atmospherics/binary/pump{ dir = 1; @@ -14502,6 +14519,18 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/service/hydroponics) +"bhD" = ( +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "bhI" = ( /obj/machinery/light_switch{ name = "north bump"; @@ -14888,6 +14917,13 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/atmos/control) +"biS" = ( +/obj/machinery/atmospherics/portable/canister/air, +/obj/machinery/atmospherics/unary/portables_connector{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "biT" = ( /obj/machinery/space_heater, /obj/effect/turf_decal/delivery/hollow, @@ -15340,6 +15376,7 @@ icon_state = "1-2" }, /obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/visible, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "bkK" = ( @@ -15851,6 +15888,7 @@ /area/station/engineering/atmos) "bmv" = ( /obj/machinery/firealarm/directional/south, +/obj/machinery/atmospherics/pipe/simple/visible, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "bmw" = ( @@ -16207,7 +16245,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, /area/station/engineering/control) "boe" = ( @@ -16466,13 +16503,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/north) -"boA" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/stripes/corner, -/turf/simulated/floor/plasteel, -/area/station/engineering/control) "boD" = ( /obj/structure/closet/secure_closet/miner, /obj/effect/turf_decal/delivery/hollow, @@ -16905,6 +16935,12 @@ /obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/north) +"bqo" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "bqp" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -17875,9 +17911,11 @@ /turf/simulated/wall/r_wall, /area/station/turret_protected/ai) "bvA" = ( -/obj/effect/spawner/window/reinforced/plasma/grilled, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "bvC" = ( /obj/item/kirbyplants/large, /obj/structure/sign/nosmoking_2{ @@ -17924,6 +17962,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/break_room/secondary) "bvI" = ( @@ -18546,6 +18585,7 @@ /obj/structure/cable{ icon_state = "2-8" }, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/equipmentstorage) "byq" = ( @@ -19930,6 +19970,12 @@ }, /turf/simulated/floor/greengrid, /area/station/turret_protected/ai) +"bDb" = ( +/obj/structure/rack{ + dir = 1 + }, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "bDc" = ( /turf/simulated/floor/greengrid, /area/station/engineering/gravitygenerator) @@ -20395,6 +20441,9 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, /obj/machinery/atmospherics/pipe/manifold/hidden/supply, /obj/effect/turf_decal/tiles/department/engineering/side, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 5 + }, /turf/simulated/floor/plasteel, /area/station/engineering/equipmentstorage) "bET" = ( @@ -20429,6 +20478,9 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, /turf/simulated/floor/plasteel, /area/station/engineering/equipmentstorage) "bEV" = ( @@ -22037,6 +22089,9 @@ dir = 4 }, /obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) "bKr" = ( @@ -22101,6 +22156,9 @@ /obj/structure/cable{ icon_state = "1-4" }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 5 + }, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) "bKD" = ( @@ -22573,6 +22631,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) "bMu" = ( @@ -23611,16 +23670,23 @@ "bQe" = ( /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/manifold4w/hidden/supply, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 8 - }, /obj/structure/cable{ icon_state = "1-4" }, -/obj/structure/cable{ - icon_state = "1-2" - }, /obj/effect/turf_decal/tiles/department/engineering, +/obj/machinery/atmospherics/pipe/manifold4w/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-8" + }, +/obj/structure/cable{ + icon_state = "2-4" + }, +/obj/structure/cable{ + icon_state = "2-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 9 + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "bQg" = ( @@ -23730,6 +23796,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/control) "bQB" = ( @@ -24105,6 +24172,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/disposalpipe/segment, /obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/control) "bSj" = ( @@ -24171,6 +24239,15 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/port/west) +"bSw" = ( +/obj/structure/table/reinforced, +/obj/item/tank/internals/emergency_oxygen/engi, +/obj/item/flashlight, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "bSx" = ( /obj/structure/cable/extra_insulated{ icon_state = "1-2" @@ -24719,6 +24796,7 @@ dir = 2 }, /obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/control) "bUt" = ( @@ -25634,8 +25712,21 @@ /turf/simulated/floor/carpet/black, /area/station/service/chapel) "bXU" = ( -/turf/simulated/wall/r_wall, -/area/station/engineering/control) +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_y = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = -3; + pixel_y = 6 + }, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "bXV" = ( /obj/structure/closet/secure_closet/magistrate, /turf/simulated/floor/plasteel{ @@ -25647,18 +25738,6 @@ icon_state = "cult" }, /area/station/legal/magistrate) -"bXY" = ( -/obj/effect/turf_decal/delivery, -/obj/machinery/atmospherics/unary/portables_connector, -/obj/machinery/atmospherics/portable/canister/air, -/obj/structure/sign/vacuum{ - pixel_x = -32 - }, -/obj/machinery/light{ - dir = 8 - }, -/turf/simulated/floor/plasteel, -/area/station/engineering/control) "bYa" = ( /obj/effect/spawner/random/barrier/possibly_welded_airlock, /obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, @@ -25890,74 +25969,59 @@ /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, /area/station/engineering/ai_transit_tube) -"bZj" = ( -/obj/structure/grille, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"bZk" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "bZl" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/machinery/atmospherics/unary/portables_connector, +/obj/effect/turf_decal/stripes/line{ + dir = 9 }, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/machinery/atmospherics/portable/canister, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "bZm" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "2-8" - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 8 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"bZn" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/effect/turf_decal/stripes/corner, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"bZo" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"bZp" = ( -/obj/machinery/light/small{ +/obj/machinery/atmospherics/unary/portables_connector, +/obj/machinery/atmospherics/portable/canister/nitrogen, +/obj/structure/sign/poster/official/random/directional/north, +/obj/effect/turf_decal/stripes/line{ dir = 1 }, -/obj/effect/map_effect/dynamic_airlock, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"bZs" = ( -/obj/effect/turf_decal/stripes/corner{ - dir = 8 +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"bZn" = ( +/obj/structure/table/reinforced, +/obj/machinery/light{ + dir = 1 }, -/obj/machinery/atmospherics/pipe/simple/hidden, -/turf/simulated/floor/plasteel, -/area/station/engineering/control) +/obj/item/clothing/suit/radiation, +/obj/item/clothing/head/radiation, +/obj/item/clothing/gloves/color/black, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"bZo" = ( +/obj/structure/closet/secure_closet/engineering_personal, +/obj/item/radio/intercom{ + name = "north bump"; + pixel_y = 28 + }, +/obj/effect/turf_decal/delivery/hollow, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"bZp" = ( +/obj/machinery/shower/directional/north, +/turf/simulated/floor/noslip, +/area/station/engineering/engine) "bZt" = ( /obj/structure/disposalpipe/segment/corner{ dir = 1 }, +/obj/machinery/light{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "bZx" = ( @@ -26414,45 +26478,33 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/telecomms/chamber) -"cba" = ( -/obj/structure/grille, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) "cbb" = ( +/obj/machinery/atmospherics/unary/outlet_injector/on{ + dir = 1; + autolink_id = "engine-waste_out"; + name = "engine outlet injector"; + volume_rate = 200 + }, /turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "cbc" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "2-8" +/obj/structure/closet/emcloset, +/obj/structure/sign/poster/official/random/directional/east, +/obj/effect/turf_decal/delivery/hollow, +/obj/effect/turf_decal/stripes/line{ + dir = 5 }, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cbd" = ( -/obj/machinery/power/emitter{ - anchored = 1; - state = 2 - }, -/obj/structure/cable/yellow, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"cbe" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "1-4" +/obj/machinery/light{ + dir = 1 }, /obj/effect/turf_decal/stripes/line{ - dir = 10 + dir = 1 }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cbi" = ( /obj/structure/cable/yellow{ icon_state = "4-8" @@ -26460,10 +26512,10 @@ /turf/simulated/floor/plasteel, /area/station/engineering/control) "cbl" = ( -/obj/structure/cable/yellow{ - icon_state = "2-8" - }, /obj/effect/turf_decal/tiles/neutral, +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "cbm" = ( @@ -26491,6 +26543,7 @@ }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/effect/turf_decal/tiles/department/engineering, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/control) "cbr" = ( @@ -26667,6 +26720,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/control) "cbS" = ( @@ -26989,33 +27043,21 @@ /turf/simulated/floor/plasteel/dark, /area/station/telecomms/chamber) "cda" = ( -/obj/machinery/power/grounding_rod{ - anchored = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"cdb" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 6 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"cde" = ( -/obj/effect/turf_decal/stripes/corner{ +/obj/structure/rack{ dir = 1 }, -/obj/effect/turf_decal/stripes/corner{ - dir = 8 +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = -3; + pixel_y = 6 }, -/obj/machinery/status_display{ - pixel_x = -32 +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_y = 3 }, -/turf/simulated/floor/plasteel, -/area/station/engineering/control) +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = 3 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "cdg" = ( /obj/structure/cable/extra_insulated{ icon_state = "1-2" @@ -27026,9 +27068,8 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/port) "cdh" = ( -/obj/item/radio/intercom{ - name = "south bump"; - pixel_y = -28 +/obj/structure/sign/vacuum{ + pixel_y = -32 }, /turf/simulated/floor/plasteel, /area/station/engineering/control) @@ -27353,36 +27394,84 @@ /turf/simulated/floor/plasteel, /area/station/engineering/control) "ceV" = ( -/obj/machinery/door/poddoor/preopen{ - id_tag = "Singularity"; - name = "Singularity Blast Doors" +/obj/machinery/access_button{ + autolink_id = "engsm_btn_ext"; + name = "Reactor Access Button"; + pixel_y = -24; + req_access = list(10); + pixel_x = 24 }, -/obj/effect/turf_decal/delivery, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"ceW" = ( -/obj/effect/turf_decal/tiles/department/engineering/side{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 }, /turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) +"ceW" = ( +/obj/effect/turf_decal/tiles/department/engineering, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/turf/simulated/floor/plasteel, /area/station/engineering/control) "ceX" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/machinery/access_button{ + autolink_id = "engsm_btn_ext"; + name = "Reactor Access Button"; + pixel_y = -24; + req_access = list(10); + pixel_x = -24 }, -/obj/effect/turf_decal/tiles/department/engineering/side{ - dir = 1 +/obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/turf/simulated/floor/plasteel/dark, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/turf/simulated/floor/plasteel, /area/station/engineering/control) "ceZ" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 +/obj/effect/turf_decal/tiles/department/engineering, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 }, -/obj/effect/turf_decal/tiles/department/engineering/side{ - dir = 5 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/turf/simulated/floor/plasteel/dark, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/turf/simulated/floor/plasteel, /area/station/engineering/control) "cfa" = ( /obj/structure/closet/secure_closet/captains, @@ -27411,6 +27500,9 @@ /obj/effect/turf_decal/tiles/department/engineering/side{ dir = 9 }, +/obj/structure/cable{ + icon_state = "2-8" + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "cfe" = ( @@ -27426,6 +27518,7 @@ /obj/structure/cable{ icon_state = "4-8" }, +/obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, /area/station/engineering/control) "cff" = ( @@ -27626,6 +27719,10 @@ }, /turf/simulated/floor/wood, /area/station/command/office/blueshield) +"cfW" = ( +/obj/effect/spawner/window/reinforced/plasma/grilled, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "cfX" = ( /obj/machinery/photocopier, /obj/machinery/power/apc/directional/south, @@ -27687,13 +27784,14 @@ /turf/simulated/floor/plasteel/dark, /area/station/security/evidence) "cgB" = ( -/obj/machinery/camera/emp_proof{ - dir = 9; - network = list("SS13","Engineering","Singularity"); - c_tag = "Tesla/Singularity Containment Fore-Starboard" +/obj/machinery/light{ + dir = 4 }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/effect/turf_decal/stripes/red/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cgC" = ( /obj/machinery/door/firedoor, /obj/effect/turf_decal/delivery, @@ -27724,8 +27822,13 @@ /turf/simulated/floor/plating, /area/station/turret_protected/aisat) "cgJ" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/structure/rack, +/obj/item/crowbar, +/obj/item/stack/cable_coil/yellow, +/obj/item/wirecutters, +/obj/effect/turf_decal/delivery/hollow, +/obj/effect/turf_decal/stripes/line{ + dir = 9 }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) @@ -28046,65 +28149,57 @@ /turf/simulated/floor/plasteel/dark, /area/station/telecomms/chamber) "cib" = ( -/obj/machinery/power/rad_collector{ - anchored = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 }, -/obj/structure/cable/yellow{ - icon_state = "0-4" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cic" = ( -/obj/machinery/door/poddoor/preopen{ - id_tag = "Singularity"; - name = "Singularity Blast Doors" +/obj/structure/table/reinforced, +/obj/item/geiger_counter, +/obj/effect/turf_decal/stripes/red/line{ + dir = 1 }, -/obj/structure/cable/yellow{ - icon_state = "2-8" - }, -/obj/effect/turf_decal/delivery, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"cie" = ( -/obj/structure/grille, /obj/effect/turf_decal/stripes/line{ dir = 4 }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"cie" = ( +/obj/machinery/atmospherics/unary/portables_connector{ + dir = 4 }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) +/obj/item/radio/intercom{ + name = "west bump"; + pixel_x = -28 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "cig" = ( /obj/structure/table/reinforced, -/obj/item/book/manual/wiki/engineering_guide{ - pixel_x = 4; - pixel_y = 4 +/obj/item/painter, +/obj/effect/turf_decal/tiles/department/engineering/side{ + dir = 1 }, -/obj/item/book/manual/engineering_particle_accelerator, -/obj/effect/turf_decal/delivery, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "cih" = ( /obj/structure/table/reinforced, -/obj/item/book/manual/wiki/hacking{ - pixel_x = 6; +/obj/item/clothing/ears/earmuffs{ + pixel_x = -5; pixel_y = 6 }, -/obj/item/book/manual/wiki/engineering_construction{ - pixel_x = 3; - pixel_y = 3 +/obj/item/clothing/ears/earmuffs{ + pixel_y = 6 + }, +/obj/effect/turf_decal/tiles/department/engineering/side{ + dir = 1 }, -/obj/item/book/manual/engineering_singularity_safety, -/obj/effect/turf_decal/delivery, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "cii" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/structure/cable/yellow{ - icon_state = "1-8" +/obj/effect/turf_decal/stripes/corner{ + dir = 1 }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) @@ -28115,19 +28210,19 @@ /turf/simulated/floor/plasteel, /area/station/engineering/control) "cil" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, /obj/effect/turf_decal/tiles/department/engineering/side{ dir = 8 }, +/obj/structure/cable{ + icon_state = "1-4" + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "cim" = ( -/obj/structure/cable/yellow{ +/obj/effect/landmark/start/engineer, +/obj/structure/cable{ icon_state = "4-8" }, -/obj/effect/landmark/start/engineer, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "cin" = ( @@ -28548,70 +28643,35 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/electrical/aft_port) -"cjI" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) "cjL" = ( -/obj/machinery/door/poddoor/preopen{ - id_tag = "Singularity"; - name = "Singularity Blast Doors" - }, -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/delivery, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"cjM" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, +/obj/structure/table/reinforced, +/obj/item/rpd, +/obj/item/clothing/glasses/meson/engine, /obj/effect/turf_decal/stripes/line{ - dir = 8 + dir = 4 }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) -"cjN" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/turf/simulated/floor/plasteel, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cjO" = ( -/obj/structure/cable/yellow{ - icon_state = "0-8" - }, /obj/machinery/power/apc/critical/directional/east{ shock_proof = 1 }, /obj/effect/turf_decal/stripes/end{ dir = 8 }, +/obj/structure/cable{ + icon_state = "0-8" + }, +/obj/machinery/alarm/directional/north, /turf/simulated/floor/plating, /area/station/engineering/control) "cjP" = ( -/obj/machinery/door/poddoor/preopen{ - id_tag = "Singularity"; - name = "Singularity Blast Doors" +/obj/structure/railing/pool_lining, +/obj/effect/turf_decal/stripes/line{ + dir = 4 }, -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/obj/effect/turf_decal/delivery, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cjQ" = ( /obj/structure/rack, /obj/item/crowbar, @@ -28637,6 +28697,9 @@ /obj/machinery/light{ dir = 1 }, +/obj/effect/turf_decal/stripes/corner{ + dir = 1 + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "cjU" = ( @@ -28904,31 +28967,15 @@ /turf/simulated/floor/plating, /area/station/maintenance/starboard2) "clp" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 +/obj/structure/cable/yellow{ + icon_state = "4-8" }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "clr" = ( /obj/machinery/status_display, /turf/simulated/wall/r_wall, -/area/station/engineering/control) -"cls" = ( -/obj/machinery/door/poddoor/preopen{ - id_tag = "Singularity"; - name = "Singularity Blast Doors" - }, -/obj/machinery/door_control{ - id = "Singularity"; - name = "Containment Blast Doors"; - pixel_x = 32 - }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/delivery, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine) "clu" = ( /obj/machinery/status_display, /turf/simulated/wall, @@ -29277,16 +29324,9 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/fore) "cmC" = ( -/obj/machinery/camera/emp_proof{ - dir = 5; - network = list("SS13","Engineering","Singularity"); - c_tag = "Tesla/Singularity Containment Fore-Port" - }, -/obj/machinery/power/grounding_rod{ - anchored = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/machinery/atmospherics/binary/pump, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cmD" = ( /obj/effect/turf_decal/stripes/line{ dir = 6 @@ -29348,6 +29388,12 @@ /obj/effect/turf_decal/tiles/department/engineering/side{ dir = 6 }, +/obj/effect/turf_decal/stripes/corner{ + dir = 8 + }, +/obj/structure/sign/radiation/rad_area{ + pixel_x = -32 + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "cmP" = ( @@ -29365,61 +29411,68 @@ /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "cmQ" = ( -/obj/structure/cable/yellow{ - icon_state = "2-4" +/obj/structure/rack{ + dir = 1 + }, +/obj/item/geiger_counter, +/obj/item/clothing/glasses/meson/engine, +/obj/machinery/power/apc/critical/directional/west, +/obj/structure/cable{ + icon_state = "0-4" }, /obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "cmR" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/effect/turf_decal/caution{ + dir = 1 }, +/obj/effect/turf_decal/stripes/line, /obj/effect/turf_decal/stripes/line{ dir = 1 }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "cmS" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, /obj/machinery/light{ dir = 1 }, /obj/effect/turf_decal/stripes/corner{ dir = 8 }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "cmT" = ( -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/machinery/nuclear_centrifuge, +/obj/machinery/firealarm/directional/north, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "cmU" = ( -/obj/structure/cable/yellow{ - icon_state = "1-4" +/obj/structure/table/reinforced, +/obj/item/storage/toolbox/mechanical, +/obj/item/stack/cable_coil, +/obj/machinery/camera{ + c_tag = "Engine Fabrication"; + network = list("SS13","Engineering") }, -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "cmV" = ( /obj/structure/sign/securearea, /turf/simulated/wall/r_wall, /area/station/engineering/secure_storage) "cmW" = ( -/obj/structure/cable/yellow{ - icon_state = "2-8" +/obj/structure/table/reinforced, +/obj/item/stack/sheet/glass{ + amount = 10; + pixel_x = 3; + pixel_y = 6 }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/item/stack/sheet/metal/ten, +/obj/machinery/alarm/directional/north, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "cmX" = ( /obj/structure/rack, /obj/item/tank/internals/oxygen, @@ -29765,92 +29818,41 @@ }, /turf/space, /area/space/nearstation) -"coa" = ( -/obj/machinery/field/generator{ - anchored = 1; - state = 2 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) "cob" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"coc" = ( -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/plasteel, -/area/station/engineering/control) -"cod" = ( -/obj/structure/particle_accelerator/particle_emitter/left{ - dir = 8 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"coe" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 10 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"cof" = ( -/obj/machinery/particle_accelerator/control_box, -/obj/structure/cable/yellow, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"cog" = ( -/obj/machinery/the_singularitygen/tesla, -/obj/effect/decal/cleanable/dirt, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"coh" = ( -/obj/machinery/power/smes{ - charge = 2e+006 - }, -/obj/structure/cable/yellow{ - icon_state = "0-8" - }, /obj/machinery/light{ dir = 4 }, -/turf/simulated/floor/plasteel, -/area/station/engineering/control) -"coj" = ( -/obj/structure/cable/yellow{ - icon_state = "2-8" +/obj/effect/turf_decal/stripes/line{ + dir = 4 }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"cod" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) +"cof" = ( +/obj/effect/turf_decal/loading_area, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) +"coh" = ( +/obj/machinery/light{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/corner, /turf/simulated/floor/plasteel, /area/station/engineering/control) "com" = ( -/obj/machinery/power/terminal{ - dir = 1 - }, /obj/structure/cable{ icon_state = "0-8" }, -/obj/effect/turf_decal/stripes/line{ - dir = 5 - }, /obj/structure/cable{ icon_state = "4-8" }, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "coo" = ( @@ -30085,99 +30087,66 @@ /obj/effect/turf_decal/delivery/hollow, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/west) -"cpg" = ( -/obj/effect/turf_decal/box, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) "cph" = ( /obj/machinery/shieldwallgen, /turf/simulated/floor/plasteel/dark, /area/station/engineering/secure_storage) "cpi" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"cpk" = ( -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 8 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"cpl" = ( -/obj/structure/particle_accelerator/particle_emitter/center{ - dir = 8 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"cpm" = ( -/obj/structure/particle_accelerator/power_box{ - dir = 8 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"cpn" = ( -/obj/structure/particle_accelerator/fuel_chamber{ - dir = 8 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"cpo" = ( -/obj/structure/particle_accelerator/end_cap{ - dir = 8 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"cpp" = ( -/obj/machinery/door/poddoor/preopen{ - id_tag = "Singularity"; - name = "Singularity Blast Doors" +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 10 }, /obj/structure/cable/yellow{ icon_state = "4-8" }, -/obj/effect/turf_decal/delivery, +/obj/item/radio/intercom{ + name = "south bump"; + pixel_y = -28 + }, +/obj/structure/sign/radiation/rad_area{ + pixel_x = -32 + }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine) +"cpl" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 9 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) +"cpm" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) +"cpn" = ( +/obj/effect/turf_decal/delivery/hollow, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "cpq" = ( /obj/machinery/computer/security/telescreen{ desc = "Used for watching the singularity chamber."; dir = 8; layer = 4; - name = "Singularity Engine Telescreen"; + name = "NGCR Telescreen"; network = list("Singularity") }, /turf/simulated/wall/r_wall, -/area/station/engineering/control) +/area/station/engineering/engine) "cpr" = ( -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/machinery/computer/singulo_monitor{ - dir = 4 +/obj/effect/turf_decal/stripes/line{ + dir = 8 }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "cps" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, /obj/effect/landmark/start/engineer, /obj/effect/turf_decal/tiles/department/engineering, /turf/simulated/floor/plasteel, /area/station/engineering/control) "cpt" = ( /obj/machinery/hologram/holopad, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 8 @@ -30192,9 +30161,6 @@ /turf/simulated/floor/plasteel, /area/station/engineering/control) "cpu" = ( -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, @@ -30202,6 +30168,9 @@ dir = 4 }, /obj/effect/turf_decal/tiles/department/engineering, +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "cpv" = ( @@ -30704,50 +30673,43 @@ }, /turf/simulated/floor/transparent/glass, /area/station/aisat) -"cqN" = ( -/obj/machinery/field/generator{ - anchored = 1; - state = 2 - }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) -"cqO" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 5 - }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) "cqQ" = ( -/obj/effect/turf_decal/stripes/line{ +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ dir = 4 }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cqR" = ( -/obj/structure/particle_accelerator/particle_emitter/right{ +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) +"cqS" = ( +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/stripes/line{ dir = 8 }, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"cqS" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 9 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "cqT" = ( -/obj/effect/turf_decal/stripes/line{ +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/loading_area{ dir = 1 }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "cqU" = ( -/obj/effect/decal/cleanable/dirt, -/obj/effect/turf_decal/stripes/line{ - dir = 1 +/obj/structure/cable/yellow{ + icon_state = "4-8" }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "cqW" = ( /obj/structure/cable/yellow{ icon_state = "1-8" @@ -30787,14 +30749,17 @@ /turf/simulated/floor/plasteel/dark, /area/station/engineering/secure_storage) "crd" = ( -/obj/structure/cable/yellow{ - icon_state = "1-8" +/obj/machinery/computer/fission_monitor{ + dir = 4 }, -/obj/structure/cable/yellow{ - icon_state = "2-8" +/obj/effect/turf_decal/trimline/misc/toxins/filled/line{ + dir = 8 }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "crf" = ( /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel/dark, @@ -31118,45 +31083,15 @@ /obj/item/kirbyplants/large, /turf/simulated/floor/transparent/glass, /area/station/aisat) -"csm" = ( -/obj/machinery/light{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"csn" = ( -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 1 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"csp" = ( -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/obj/machinery/camera/emp_proof{ - dir = 10; - network = list("SS13","Engineering","Singularity"); - c_tag = "Particle Accellerator Chamber" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "csq" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-8" }, /obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/simple/hidden, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "css" = ( /obj/structure/table/reinforced, /obj/machinery/cell_charger, @@ -31180,21 +31115,16 @@ /turf/simulated/floor/plasteel/dark, /area/station/engineering/secure_storage) "csu" = ( -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/effect/decal/cleanable/dirt, -/obj/structure/cable/yellow{ - icon_state = "2-8" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/structure/table/reinforced, +/obj/item/clothing/gloves/color/black, +/obj/item/tank/internals/emergency_oxygen/engi, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "csv" = ( -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/structure/table/reinforced, +/obj/item/screwdriver, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "csw" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/power/emitter, @@ -31521,12 +31451,18 @@ /obj/effect/turf_decal/tiles/department/engineering/side{ dir = 5 }, +/obj/effect/turf_decal/stripes/corner{ + dir = 1 + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "ctG" = ( /obj/machinery/status_display{ pixel_x = 32 }, +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "ctH" = ( @@ -31618,12 +31554,9 @@ /turf/simulated/floor/plasteel, /area/station/engineering/transmission_laser) "ctY" = ( -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/machinery/light/floor, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cua" = ( /obj/structure/cable{ icon_state = "4-8" @@ -31957,24 +31890,20 @@ /turf/simulated/floor/plasteel, /area/station/public/fitness) "cuP" = ( -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"cuQ" = ( -/obj/machinery/field/generator{ - anchored = 1; - state = 2 - }, /obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/visible/yellow{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"cuQ" = ( +/obj/machinery/atmospherics/binary/pump{ dir = 8 }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cuS" = ( /obj/structure/cable/yellow{ icon_state = "1-2" @@ -31985,19 +31914,11 @@ /obj/machinery/shieldgen, /turf/simulated/floor/plasteel/dark, /area/station/engineering/secure_storage) -"cuU" = ( -/obj/structure/rack, -/obj/item/crowbar, -/obj/item/stack/cable_coil/yellow, -/obj/item/wirecutters, -/obj/effect/turf_decal/delivery/hollow, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "cuV" = ( /obj/machinery/alarm/directional/east, +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "cuW" = ( @@ -32393,9 +32314,14 @@ /turf/simulated/wall, /area/station/public/fitness) "cwn" = ( -/obj/structure/closet/secure_closet/engineering_electrical, /obj/effect/turf_decal/delivery/hollow, /obj/machinery/light, +/obj/structure/table/reinforced, +/obj/item/book/manual/wiki/engineering_guide{ + pixel_x = 4; + pixel_y = 4 + }, +/obj/item/book/manual/engineering_particle_accelerator, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "cwq" = ( @@ -32421,32 +32347,18 @@ /turf/simulated/floor/plasteel, /area/station/public/fitness) "cwt" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 9 +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8 }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) -"cwu" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 6 - }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cwv" = ( -/obj/effect/turf_decal/stripes/line{ +/obj/machinery/atmospherics/pipe/simple/visible/red{ dir = 10 }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) -"cww" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/structure/cable/yellow{ - icon_state = "2-8" - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/machinery/atmospherics/meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cwx" = ( /obj/machinery/economy/atm/directional/north, /obj/effect/turf_decal/tiles/department/security/corner{ @@ -32836,10 +32748,6 @@ /obj/item/storage/fancy/donut_box, /turf/simulated/floor/plasteel, /area/station/engineering/control) -"cxG" = ( -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "cxH" = ( /obj/effect/turf_decal/tiles/department/engineering/side{ dir = 8 @@ -32871,6 +32779,9 @@ /obj/item/weldingtool, /obj/item/clothing/head/welding, /obj/effect/turf_decal/delivery/hollow, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "cxM" = ( @@ -33379,21 +33290,14 @@ /obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, /area/station/public/fitness) -"czi" = ( -/obj/machinery/field/generator{ - anchored = 1; - state = 2 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) "czk" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, /obj/effect/turf_decal/tiles/department/engineering/side, +/obj/effect/turf_decal/stripes/corner{ + dir = 1 + }, +/obj/structure/sign/radiation/rad_area{ + pixel_x = -32 + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "czm" = ( @@ -33458,14 +33362,16 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/port) "czw" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/structure/rack{ + dir = 1 }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/machinery/light, +/obj/item/storage/toolbox/mechanical, +/obj/item/weldingtool, +/obj/item/clothing/head/welding, +/obj/effect/turf_decal/delivery/hollow, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "czx" = ( /obj/structure/cable/extra_insulated{ icon_state = "1-2" @@ -33825,18 +33731,6 @@ /obj/effect/turf_decal/tiles/department/engineering/side, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) -"cAD" = ( -/obj/machinery/status_display{ - pixel_x = -32 - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 8 - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 1 - }, -/turf/simulated/floor/plasteel, -/area/station/engineering/control) "cAF" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 6 @@ -33844,6 +33738,9 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 5 }, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "cAG" = ( @@ -33856,6 +33753,9 @@ dir = 4 }, /obj/effect/turf_decal/tiles/neutral, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "cAH" = ( @@ -34184,16 +34084,6 @@ /obj/effect/turf_decal/tiles/neutral/corner, /turf/simulated/floor/plasteel, /area/station/public/locker) -"cBU" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/effect/turf_decal/stripes/corner, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "cBV" = ( /obj/machinery/computer/arcade/orion_trail{ dir = 4 @@ -34237,12 +34127,6 @@ name = "Holodeck Projector Floor" }, /area/holodeck/alphadeck) -"cCg" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "cCi" = ( /obj/structure/extinguisher_cabinet{ name = "west bump"; @@ -34251,16 +34135,6 @@ /obj/machinery/atmospherics/portable/canister/oxygen, /turf/simulated/floor/plasteel, /area/station/maintenance/port) -"cCm" = ( -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/tiles/neutral, -/turf/simulated/floor/plasteel, -/area/station/engineering/control) "cCn" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 1 @@ -34580,59 +34454,28 @@ /obj/machinery/newscaster/directional/east, /turf/simulated/floor/plasteel/dark, /area/station/ai_monitored/storage/eva) -"cDt" = ( -/obj/machinery/power/emitter{ - anchored = 1; - dir = 1; - state = 2 - }, -/obj/structure/cable/yellow{ - icon_state = "0-2" - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"cDu" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 9 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "cDv" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"cDw" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "2-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 5 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"cDx" = ( -/obj/structure/grille, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/structure/table/reinforced, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "cDz" = ( -/obj/machinery/light/small, -/obj/effect/map_effect/dynamic_airlock, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 9; + pixel_x = -3 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 6 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 3; + pixel_x = 3 + }, +/obj/machinery/light, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "cDB" = ( /obj/effect/turf_decal/delivery/hollow, /obj/structure/reagent_dispensers/watertank, @@ -34657,19 +34500,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/control) -"cDE" = ( -/obj/machinery/atmospherics/portable/canister/air, -/obj/effect/turf_decal/stripes/corner{ - dir = 1 - }, -/obj/machinery/atmospherics/unary/portables_connector{ - dir = 1 - }, -/obj/structure/sign/vacuum{ - pixel_y = -32 - }, -/turf/simulated/floor/plasteel, -/area/station/engineering/control) "cDF" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -34680,12 +34510,9 @@ /turf/simulated/floor/plating, /area/station/maintenance/port2) "cDG" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/machinery/nuclear_rod_fabricator, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "cDH" = ( /obj/machinery/firealarm/directional/south, /turf/simulated/floor/plasteel, @@ -35259,12 +35086,6 @@ "cFK" = ( /turf/simulated/floor/plasteel, /area/station/public/fitness) -"cFL" = ( -/obj/effect/turf_decal/stripes/corner{ - dir = 8 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "cFO" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable/extra_insulated{ @@ -35817,11 +35638,18 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/port) "cHt" = ( -/obj/structure/cable/yellow{ - icon_state = "2-8" +/obj/structure/table/reinforced, +/obj/item/rpd, +/obj/machinery/camera{ + c_tag = "Engine North East"; + dir = 9; + network = list("SS13","Engineering") }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/effect/turf_decal/stripes/red/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cHw" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/cable{ @@ -36356,22 +36184,18 @@ /turf/simulated/floor/plasteel, /area/station/public/locker) "cJd" = ( -/obj/machinery/camera/emp_proof{ - dir = 4; - network = list("SS13","Engineering","Singularity"); - c_tag = "Tesla/Singularity Containment Aft-Port" +/obj/structure/closet/walllocker/emerglocker/directional/south, +/obj/effect/turf_decal/stripes/line{ + dir = 8 }, -/obj/machinery/power/grounding_rod{ - anchored = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cJe" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/visible/red{ + dir = 6 }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cJf" = ( /obj/structure/sign/directions/evac{ pixel_y = -8 @@ -37332,17 +37156,13 @@ /turf/simulated/floor/plasteel/white, /area/station/science/xenobiology) "cNn" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 4 }, -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cNr" = ( /obj/effect/mapping_helpers/airlock/access/all/engineering/general, /turf/simulated/floor/plating, @@ -37592,12 +37412,9 @@ /turf/simulated/floor/plasteel/dark, /area/station/maintenance/port2) "cOm" = ( -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/obj/machinery/light/floor, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/simple/visible/red, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cOp" = ( /obj/structure/table/wood, /obj/item/flashlight/lamp/bananalamp, @@ -37986,17 +37803,9 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) "cPK" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 4 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/structure/railing/pool_lining, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cPQ" = ( /turf/simulated/floor/wood, /area/station/medical/psych) @@ -38006,12 +37815,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/maintenance/port2) -"cPX" = ( -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "cPY" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -40143,15 +39946,18 @@ /turf/simulated/floor/plasteel/white, /area/station/science/research) "cZL" = ( -/obj/structure/grille, -/obj/effect/turf_decal/stripes/line{ - dir = 8 +/obj/structure/table/reinforced, +/obj/item/geiger_counter, +/obj/item/clothing/glasses/meson/engine, +/obj/structure/extinguisher_cabinet{ + name = "north bump"; + pixel_y = 30 }, /obj/effect/turf_decal/stripes/line{ - dir = 4 + dir = 1 }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cZN" = ( /obj/structure/cable{ icon_state = "1-2" @@ -43777,6 +43583,15 @@ "dqf" = ( /turf/simulated/wall, /area/station/command/office/rd) +"dqg" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "dqi" = ( /obj/structure/table, /obj/item/toy/figure/xeno, @@ -43870,14 +43685,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry/north) -"dqQ" = ( -/obj/machinery/camera/emp_proof{ - dir = 8; - network = list("SS13","Engineering","Singularity"); - c_tag = "Tesla/Singularity Containment Aft-Starboard" - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "dqT" = ( /obj/structure/table, /obj/machinery/cell_charger, @@ -44805,9 +44612,20 @@ /turf/simulated/floor/plating, /area/station/maintenance/theatre) "dvU" = ( -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "dvV" = ( /obj/structure/window/reinforced{ dir = 8; @@ -45019,6 +44837,16 @@ /obj/effect/turf_decal/tiles/department/science/side, /turf/simulated/floor/plasteel/dark, /area/station/science/toxins/launch) +"dxf" = ( +/obj/machinery/power/apc/critical/directional/north, +/obj/structure/cable{ + icon_state = "0-2" + }, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "dxs" = ( /obj/machinery/power/apc/directional/west, /obj/machinery/atmospherics/unary/portables_connector{ @@ -45726,15 +45554,8 @@ /turf/simulated/floor/carpet/grimey, /area/station/maintenance/starboard) "dCx" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/wall/r_wall, +/area/station/engineering/engine) "dCy" = ( /turf/simulated/wall/indestructible/riveted, /area/station/science/toxins/test) @@ -46782,18 +46603,6 @@ /obj/effect/turf_decal/tiles/department/engineering/side, /turf/simulated/floor/plasteel/dark, /area/station/science/robotics/chargebay) -"dJa" = ( -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "dJr" = ( /obj/effect/turf_decal/tiles/department/virology/side{ dir = 9 @@ -47183,6 +46992,12 @@ /obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/south) +"dLV" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/green{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "dMa" = ( /obj/machinery/computer/med_data{ dir = 1 @@ -47774,14 +47589,6 @@ /obj/structure/lattice/catwalk, /turf/space, /area/station/engineering/solar/aft_port) -"dQC" = ( -/obj/machinery/field/generator{ - anchored = 1; - state = 2 - }, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) "dQN" = ( /obj/structure/grille/broken, /obj/structure/cable/extra_insulated{ @@ -48474,47 +48281,26 @@ /turf/simulated/floor/plasteel/dark, /area/station/maintenance/fore) "dUE" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 +/obj/machinery/atmospherics/binary/valve{ + name = "Hot Loop - Cold Loop Bridge Valve" }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "dUG" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) -"dUH" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 4 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/structure/sign/poster/official/random/directional/south, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "dUI" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line{ +/obj/structure/rack{ dir = 1 }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/machinery/camera{ + c_tag = "Engine Storage Pool"; + dir = 1; + network = list("SS13","Engineering") + }, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "dUJ" = ( /obj/structure/closet/coffin, /obj/effect/decal/cleanable/dirt, @@ -48674,16 +48460,6 @@ /obj/item/ashtray/glass, /turf/simulated/floor/carpet, /area/station/hallway/primary/aft/south) -"dVy" = ( -/obj/structure/grille, -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "dVS" = ( /obj/structure/cable{ icon_state = "4-8" @@ -48734,11 +48510,6 @@ }, /turf/simulated/floor/catwalk, /area/station/maintenance/port) -"dWi" = ( -/obj/machinery/light, -/obj/structure/dispenser, -/turf/simulated/floor/plating, -/area/station/engineering/control) "dWm" = ( /obj/item/kirbyplants/large, /obj/effect/turf_decal/delivery/hollow, @@ -48837,6 +48608,23 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel/dark, /area/station/medical/surgery/observation) +"dXe" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/moderator/graphite{ + pixel_y = 9 + }, +/obj/item/nuclear_rod/moderator/graphite{ + pixel_y = 6; + pixel_x = 3 + }, +/obj/item/nuclear_rod/moderator/graphite{ + pixel_y = 3; + pixel_x = 6 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "dXg" = ( /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel/dark, @@ -48895,6 +48683,22 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel/dark, /area/station/maintenance/apmaint) +"dXu" = ( +/obj/effect/turf_decal/trimline/misc/toxins/corner{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, +/obj/machinery/light/floor, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "dXv" = ( /obj/machinery/camera{ c_tag = "Research South Hallway"; @@ -49623,6 +49427,10 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/transmission_laser) +"eeS" = ( +/obj/machinery/atmospherics/unary/vent_pump/on, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "eeT" = ( /obj/machinery/atmospherics/unary/vent_pump/on, /obj/structure/cable{ @@ -49752,6 +49560,7 @@ /obj/machinery/door/airlock/atmos/glass{ name = "Atmospherics Locker Room" }, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/break_room/secondary) "ehT" = ( @@ -49819,6 +49628,21 @@ /obj/effect/mapping_helpers/airlock/autoname, /turf/simulated/floor/plasteel/dark, /area/station/security/evidence) +"ejQ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "ejT" = ( /obj/machinery/camera{ c_tag = "Courtroom"; @@ -49943,15 +49767,6 @@ icon_state = "freezerfloor" }, /area/station/service/kitchen) -"elW" = ( -/obj/machinery/power/tesla_coil{ - anchored = 1 - }, -/obj/structure/cable/yellow{ - icon_state = "0-2" - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "ema" = ( /obj/structure/window/reinforced{ dir = 1 @@ -50306,14 +50121,11 @@ }, /area/station/legal/magistrate) "erL" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/effect/turf_decal/stripes/corner{ + dir = 4 }, -/obj/machinery/power/grounding_rod{ - anchored = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "erP" = ( /obj/machinery/camera{ c_tag = "Secure Lab - Test Chamber"; @@ -50368,11 +50180,12 @@ /turf/simulated/wall, /area/station/security/armory/secure) "esw" = ( -/obj/structure/cable/yellow{ - icon_state = "1-4" +/obj/effect/turf_decal/stripes/red/corner, +/obj/effect/turf_decal/stripes/line{ + dir = 4 }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "esC" = ( /obj/structure/grille/broken, /obj/effect/turf_decal/stripes/white/line, @@ -50909,6 +50722,12 @@ "eEq" = ( /turf/simulated/wall/r_wall, /area/station/science/genetics) +"eEw" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "eEE" = ( /obj/effect/turf_decal/delivery/hollow, /obj/effect/turf_decal/delivery/hollow, @@ -50985,6 +50804,7 @@ dir = 4 }, /obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/visible, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "eFX" = ( @@ -51275,6 +51095,10 @@ }, /turf/simulated/floor/plasteel, /area/station/security/range) +"eMu" = ( +/obj/effect/spawner/window/reinforced/plasma, +/turf/simulated/floor/plating, +/area/station/engineering/engine) "eMy" = ( /obj/structure/cable{ icon_state = "2-4" @@ -51995,6 +51819,10 @@ /obj/effect/turf_decal/tiles/neutral/corner, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/se) +"fch" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/universal, +/turf/simulated/wall/r_wall, +/area/station/engineering/atmos) "fcl" = ( /obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, @@ -52270,6 +52098,12 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) +"fhj" = ( +/obj/machinery/atmospherics/binary/pump{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "fhF" = ( /obj/docking_port/stationary/gamma_armory{ dir = 4; @@ -52330,19 +52164,6 @@ /obj/effect/turf_decal/tiles/department/cargo/side, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry/east) -"fiA" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 6 - }, -/obj/structure/sign/vacuum{ - pixel_y = 32 - }, -/obj/effect/map_effect/dynamic_airlock, -/turf/simulated/floor/plating, -/area/station/engineering/control) "fiF" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 4 @@ -52799,10 +52620,27 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) +"fti" = ( +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/tiles/department/engineering, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "ftn" = ( /obj/effect/landmark/spawner/nukedisc_respawn, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) +"ftK" = ( +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "ftX" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/cable{ @@ -52939,6 +52777,9 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) +"fxO" = ( +/turf/space, +/area/station/maintenance/port) "fxS" = ( /obj/machinery/light{ dir = 4 @@ -53259,11 +53100,6 @@ /obj/effect/turf_decal/tiles/department/security, /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) -"fEo" = ( -/obj/machinery/atmospherics/unary/vent_pump/high_volume, -/obj/effect/map_effect/dynamic_airlock, -/turf/simulated/floor/plating, -/area/station/engineering/control) "fEw" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/light/small{ @@ -53298,6 +53134,13 @@ /obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/plasteel/white, /area/station/medical/virology) +"fEO" = ( +/obj/machinery/atmospherics/pipe/simple/visible/cyan, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "fEY" = ( /obj/machinery/alarm/directional/north, /turf/simulated/floor/wood, @@ -53394,6 +53237,7 @@ icon_state = "2-4" }, /obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "fGs" = ( @@ -53437,6 +53281,10 @@ }, /turf/simulated/floor/wood, /area/station/maintenance/gambling_den) +"fGU" = ( +/obj/machinery/atmospherics/pipe/simple/visible/purple, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "fGV" = ( /obj/effect/turf_decal/tiles/department/science/side{ dir = 4 @@ -53453,6 +53301,12 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/aft2) +"fHn" = ( +/obj/structure/closet/firecloset/full, +/obj/effect/turf_decal/delivery/hollow, +/obj/effect/turf_decal/stripes/line, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "fHs" = ( /obj/structure/table/reinforced, /obj/machinery/photocopier/faxmachine{ @@ -53879,6 +53733,13 @@ /obj/effect/spawner/window/reinforced/plasma, /turf/simulated/floor/plating, /area/station/science/storage) +"fOP" = ( +/obj/machinery/atmospherics/pipe/simple/visible/cyan, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "fOS" = ( /obj/structure/disposalpipe/segment, /obj/structure/cable{ @@ -54094,6 +53955,16 @@ /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/security/permabrig) +"fRT" = ( +/obj/effect/turf_decal/trimline/misc/toxins/filled/shrink_cw, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "fRW" = ( /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, @@ -54219,6 +54090,9 @@ /obj/machinery/door/airlock/engineering/glass, /obj/effect/mapping_helpers/airlock/autoname, /obj/effect/mapping_helpers/airlock/access/all/engineering/general, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, /turf/simulated/floor/plasteel, /area/station/engineering/equipmentstorage) "fTV" = ( @@ -54668,6 +54542,12 @@ /obj/effect/turf_decal/stripes/white/line, /turf/simulated/floor/plasteel, /area/station/security/permabrig) +"gew" = ( +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 9 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gfq" = ( /obj/structure/cable/extra_insulated{ icon_state = "2-4" @@ -54849,6 +54729,31 @@ /obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) +"gjV" = ( +/obj/machinery/airlock_controller/access_controller{ + name = "Reactor Access Console"; + pixel_y = -24; + ext_door_link_id = "engsm_door_ext"; + int_door_link_id = "engsm_door_int"; + ext_button_link_id = "engsm_btn_ext"; + int_button_link_id = "engsm_btn_int"; + req_one_access = list(10,24); + pixel_x = 24 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gka" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, /obj/structure/cable{ @@ -55296,6 +55201,16 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/south) +"gvs" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/effect/turf_decal/trimline/misc/toxins/filled/shrink_ccw{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gvD" = ( /obj/effect/turf_decal/tiles/department/virology/side{ dir = 4 @@ -55631,6 +55546,13 @@ }, /turf/simulated/wall/mineral/titanium, /area/shuttle/pod_2) +"gDb" = ( +/obj/machinery/atmospherics/binary/pump, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gDp" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plating, @@ -55866,6 +55788,13 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) +"gHU" = ( +/obj/machinery/atmospherics/pipe/simple/visible/cyan, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gIn" = ( /obj/structure/railing{ dir = 8 @@ -55960,6 +55889,23 @@ /obj/structure/disaster_counter/toxins, /turf/simulated/wall/r_wall, /area/station/science/toxins/launch) +"gKm" = ( +/obj/effect/turf_decal/delivery/hollow, +/obj/structure/table/reinforced, +/obj/item/book/manual/wiki/hacking{ + pixel_x = 6; + pixel_y = 6 + }, +/obj/item/book/manual/wiki/engineering_construction{ + pixel_x = 3; + pixel_y = 3 + }, +/obj/item/book/manual/engineering_singularity_safety, +/obj/effect/turf_decal/tiles/department/engineering/side{ + dir = 4 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/control) "gKs" = ( /obj/machinery/door/firedoor, /obj/effect/turf_decal/delivery, @@ -56240,6 +56186,18 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/south) +"gQp" = ( +/obj/machinery/atmospherics/unary/portables_connector, +/obj/machinery/camera{ + c_tag = "Engine North"; + network = list("SS13","Engineering") + }, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/obj/machinery/atmospherics/portable/canister/nitrogen, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gQG" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -56407,6 +56365,16 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore/east) +"gVo" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/obj/item/radio/intercom{ + name = "west bump"; + pixel_x = -28 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gVr" = ( /obj/effect/decal/cleanable/blood/oil, /obj/effect/turf_decal/tiles/department/cargo/side{ @@ -56499,6 +56467,12 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/abandonedservers) +"gXF" = ( +/obj/machinery/atmospherics/trinary/filter{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gXQ" = ( /obj/structure/cable/extra_insulated{ icon_state = "4-8" @@ -56789,6 +56763,19 @@ }, /turf/simulated/floor/plating, /area/station/command/office/rd) +"hhh" = ( +/obj/effect/turf_decal/trimline/misc/toxins/corner{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 4 + }, +/obj/machinery/light/floor, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "hhn" = ( /obj/effect/turf_decal/delivery/hollow, /obj/structure/closet/crate/trashcart, @@ -56829,12 +56816,6 @@ }, /turf/simulated/floor/plating, /area/station/turret_protected/ai) -"hhD" = ( -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "hhG" = ( /turf/simulated/floor/plating, /area/station/hallway/secondary/entry/east) @@ -57066,6 +57047,24 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/maintenance/abandonedbar) +"hmw" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 9; + pixel_x = -3 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 6 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 3; + pixel_x = 3 + }, +/obj/structure/sign/poster/official/random/directional/south, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "hmz" = ( /obj/structure/cable{ icon_state = "4-8" @@ -57463,6 +57462,15 @@ /obj/effect/turf_decal/tiles/department/security, /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) +"hxb" = ( +/obj/machinery/power/reactor_power{ + dir = 1 + }, +/obj/structure/cable/yellow{ + icon_state = "0-2" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "hxc" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 4 @@ -57600,6 +57608,12 @@ }, /turf/simulated/floor/plating, /area/station/medical/virology) +"hAb" = ( +/obj/machinery/atmospherics/unary/reactor_gas_node{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "hAd" = ( /obj/structure/table/wood, /obj/item/reagent_containers/drinks/flask/barflask{ @@ -57714,6 +57728,14 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/maintenance/port2) +"hCM" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/green, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/machinery/atmospherics/meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "hCU" = ( /obj/effect/turf_decal/delivery/partial, /obj/machinery/door/window/classic/normal{ @@ -57774,16 +57796,12 @@ /turf/simulated/floor/plasteel/dark, /area/station/medical/virology) "hDE" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 4 +/obj/effect/map_effect/dynamic_airlock, +/obj/structure/sign/vacuum/external{ + pixel_y = 32 }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/structure/lattice/catwalk, -/obj/structure/grille, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "hDS" = ( /obj/structure/table, /obj/item/storage/bag/dice, @@ -57911,6 +57929,15 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, /area/station/science/storage) +"hGm" = ( +/obj/effect/turf_decal/tiles/department/engineering/side{ + dir = 1 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/control) "hGq" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -58087,6 +58114,15 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/exit) +"hLq" = ( +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "hLu" = ( /obj/structure/cable{ icon_state = "0-8" @@ -58114,15 +58150,11 @@ /turf/simulated/floor/engine/vacuum, /area/station/science/toxins/mixing) "hLU" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/effect/turf_decal/stripes/corner{ + dir = 8 }, -/obj/effect/mapping_helpers/airlock/access/all/engineering/external, -/obj/effect/mapping_helpers/airlock/access/all/engineering/general, -/obj/machinery/airlock_controller/air_cycler/directional/south, -/obj/effect/map_effect/dynamic_airlock, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/noslip, +/area/station/engineering/engine) "hMa" = ( /obj/machinery/power/apc/critical/directional/north, /obj/structure/cable{ @@ -58252,6 +58284,12 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/cyan, /turf/simulated/floor/plating, /area/station/medical/virology) +"hPY" = ( +/obj/machinery/light{ + dir = 4 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "hQe" = ( /obj/item/radio/intercom{ name = "south bump"; @@ -58307,6 +58345,11 @@ /obj/item/clothing/head/radiation, /turf/simulated/floor/engine, /area/station/engineering/controlroom) +"hRs" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/green, +/obj/machinery/atmospherics/meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "hRx" = ( /obj/structure/lattice, /obj/machinery/atmospherics/pipe/simple/heat_exchanging, @@ -58443,6 +58486,10 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 10; + initialize_directions = 10 + }, /turf/simulated/floor/plasteel, /area/station/engineering/break_room/secondary) "hUX" = ( @@ -58613,6 +58660,10 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/research) +"hXA" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "hXE" = ( /obj/machinery/computer/operating{ dir = 1 @@ -58910,10 +58961,6 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/toxins/mixing) -"idF" = ( -/obj/structure/sign/radiation/rad_area, -/turf/simulated/wall/r_wall, -/area/station/engineering/control) "iem" = ( /obj/structure/table/wood, /obj/item/storage/box/characters, @@ -58995,12 +59042,13 @@ /obj/effect/mapping_helpers/airlock/access/all/supply/cargo_bay, /turf/simulated/floor/plasteel, /area/station/supply/warehouse) -"igq" = ( -/obj/effect/turf_decal/stripes/end{ - dir = 4 +"igv" = ( +/obj/effect/spawner/window/reinforced/plasma, +/obj/structure/cable/yellow{ + icon_state = "4-8" }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) +/turf/simulated/floor/plating, +/area/station/engineering/engine) "igx" = ( /obj/structure/cable{ icon_state = "1-2" @@ -59501,6 +59549,9 @@ }, /turf/simulated/floor/carpet/red, /area/station/command/office/hos) +"ish" = ( +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "isy" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 8 @@ -59595,6 +59646,16 @@ /obj/effect/turf_decal/tiles/department/virology, /turf/simulated/floor/plasteel/dark, /area/station/service/kitchen) +"iuP" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "iuU" = ( /obj/structure/table/wood, /obj/item/paper_bin, @@ -59816,6 +59877,13 @@ icon_state = "freezerfloor" }, /area/station/medical/cloning) +"ixn" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/effect/turf_decal/stripes/red/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "ixr" = ( /obj/machinery/door/poddoor{ id_tag = "toxinsdriver"; @@ -59902,18 +59970,6 @@ /obj/effect/spawner/random/maintenance, /turf/simulated/floor/plasteel/dark, /area/station/maintenance/apmaint) -"izx" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "izH" = ( /obj/effect/turf_decal/tiles/department/security/side{ dir = 8 @@ -59941,16 +59997,8 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/surgery/secondary) "iAk" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/structure/lattice/catwalk, -/obj/structure/grille, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "iAt" = ( /obj/item/robot_parts/r_arm, /turf/simulated/floor/plasteel/dark, @@ -61142,6 +61190,17 @@ }, /turf/simulated/floor/plasteel, /area/station/security/storage) +"jbj" = ( +/obj/effect/turf_decal/trimline/misc/toxins/corner{ + dir = 4 + }, +/obj/machinery/light/floor, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "jbp" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 8 @@ -61349,14 +61408,17 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore) "jgX" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/structure/cable{ + icon_state = "1-2" }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/visible{ + dir = 9 }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/plasteel, +/area/station/engineering/atmos) "jhk" = ( /obj/effect/mapping_helpers/airlock/autoname, /obj/effect/mapping_helpers/airlock/access/all/engineering/equipment, @@ -61643,6 +61705,12 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/sleeper) +"jlW" = ( +/obj/effect/turf_decal/stripes/corner{ + dir = 1 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "jme" = ( /obj/structure/cable/extra_insulated{ icon_state = "4-8" @@ -61677,6 +61745,9 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 10 + }, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) "jnu" = ( @@ -61802,6 +61873,10 @@ /obj/effect/turf_decal/tiles/department/virology/corner, /turf/simulated/floor/plasteel/dark, /area/station/service/hydroponics) +"jpT" = ( +/obj/machinery/atmospherics/pipe/manifold4w/visible/green, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "jpW" = ( /obj/structure/table, /obj/item/storage/toolbox/mechanical, @@ -62038,15 +62113,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) -"jvn" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/door/airlock/external/glass, -/obj/machinery/access_button/offset/northwest, -/obj/effect/map_effect/dynamic_airlock/door/exterior, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "jvr" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/plating, @@ -62103,6 +62169,7 @@ /obj/effect/turf_decal/tiles/department/engineering/side{ dir = 8 }, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) "jwc" = ( @@ -62124,6 +62191,15 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/port) +"jyw" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/stripes/line, +/obj/machinery/atmospherics/pipe/simple/hidden, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "jyz" = ( /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 1 @@ -62231,6 +62307,7 @@ dir = 4 }, /obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/visible, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "jCt" = ( @@ -62320,12 +62397,8 @@ /turf/simulated/floor/plating, /area/station/maintenance/solar_maintenance/fore_starboard) "jEI" = ( -/obj/machinery/atmospherics/unary/vent_pump/high_volume{ - dir = 1 - }, -/obj/effect/map_effect/dynamic_airlock, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "jEV" = ( /obj/effect/decal/cleanable/blood/gibs, /turf/simulated/floor/plating, @@ -62339,6 +62412,13 @@ /obj/item/stack/spacecash/c500, /turf/simulated/floor/plasteel/dark, /area/station/maintenance/apmaint) +"jFJ" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green, +/obj/effect/turf_decal/stripes/corner{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "jGn" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/sign/pods{ @@ -62639,22 +62719,18 @@ icon_state = "freezerfloor" }, /area/station/service/kitchen) -"jLP" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 8 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "jLQ" = ( /obj/machinery/status_display, /turf/simulated/wall, /area/station/aisat) +"jMa" = ( +/obj/machinery/door/airlock/engineering/glass{ + name = "Fabrication" + }, +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/engine, +/area/station/engineering/engine) "jMb" = ( /obj/machinery/door/window{ base_state = "right"; @@ -62920,6 +62996,15 @@ }, /turf/simulated/floor/plating, /area/station/security/prisonlockers) +"jRD" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/green{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "jRE" = ( /obj/machinery/smartfridge, /obj/machinery/door/firedoor, @@ -63045,19 +63130,11 @@ /obj/effect/turf_decal/tiles/department/security, /turf/simulated/floor/plasteel/dark, /area/station/security/main) -"jTH" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 10 - }, -/obj/effect/turf_decal/tiles/department/engineering, +"jTs" = ( +/obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/visible, /turf/simulated/floor/plasteel, -/area/station/engineering/control) +/area/station/engineering/atmos) "jTJ" = ( /obj/machinery/alarm/directional/east, /obj/structure/table, @@ -63282,6 +63359,7 @@ }, /obj/machinery/hologram/holopad, /obj/effect/turf_decal/tiles/department/engineering, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/break_room/secondary) "jYO" = ( @@ -63432,6 +63510,12 @@ icon_state = "freezerfloor" }, /area/station/security/permabrig) +"kdg" = ( +/obj/effect/map_effect/dynamic_airlock, +/obj/machinery/airlock_controller/air_cycler/directional/north, +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "kdj" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 4 @@ -63695,6 +63779,17 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel, /area/station/maintenance/electrical/aft_starboard) +"kiN" = ( +/obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/hidden, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "kiW" = ( /obj/structure/extinguisher_cabinet{ name = "east bump"; @@ -63959,6 +64054,12 @@ /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, /area/station/command/bridge) +"koW" = ( +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "koY" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/closet/firecloset/full, @@ -64110,9 +64211,9 @@ /turf/simulated/floor/plasteel, /area/station/service/janitor) "ktd" = ( -/obj/effect/turf_decal/stripes/end, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) +/obj/machinery/atmospherics/pipe/simple/visible/cyan, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "ktl" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -64123,6 +64224,9 @@ /obj/structure/cable{ icon_state = "4-8" }, +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "ktn" = ( @@ -64189,6 +64293,12 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/hallway/secondary/exit) +"kuR" = ( +/obj/machinery/door/airlock/external/glass, +/obj/effect/map_effect/dynamic_airlock/door/interior, +/obj/machinery/access_button/offset/north, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "kva" = ( /obj/structure/table/reinforced, /obj/item/stack/package_wrap, @@ -64251,11 +64361,10 @@ /turf/simulated/floor/wood, /area/station/procedure/trainer_office) "kxe" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/structure/table/reinforced, +/obj/item/bikehorn/rubberducky, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "kxj" = ( /obj/structure/mirror{ pixel_y = 28 @@ -64322,6 +64431,14 @@ /obj/effect/turf_decal/tiles/department/medical/side, /turf/simulated/floor/plasteel/white, /area/station/medical/storage) +"kyv" = ( +/obj/machinery/camera{ + c_tag = "Engine Checkpoint"; + dir = 10; + network = list("SS13","Engineering") + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "kyw" = ( /obj/structure/cable{ icon_state = "4-8" @@ -64504,6 +64621,19 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/surgery/secondary) +"kBS" = ( +/obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/tiles/department/engineering, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "kBZ" = ( /obj/structure/sign/explosives, /turf/simulated/wall/r_wall, @@ -64595,6 +64725,11 @@ /obj/effect/mapping_helpers/airlock/access/any/science/research, /turf/simulated/floor/plating, /area/station/maintenance/apmaint) +"kEE" = ( +/obj/structure/table/reinforced, +/obj/item/tank/internals/emergency_oxygen/engi, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "kEK" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 4 @@ -64863,6 +64998,13 @@ }, /turf/simulated/floor/wood, /area/station/medical/psych) +"kJU" = ( +/obj/structure/cable/yellow{ + icon_state = "2-4" + }, +/obj/effect/turf_decal/tiles/department/engineering, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "kKa" = ( /obj/effect/turf_decal/delivery/partial, /turf/simulated/floor/plasteel, @@ -65340,6 +65482,12 @@ /obj/structure/weightmachine/stacklifter, /turf/simulated/floor/plasteel, /area/station/security/permabrig) +"kUJ" = ( +/obj/machinery/atmospherics/binary/pump{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "kUN" = ( /obj/machinery/atmospherics/pipe/simple/visible/yellow, /turf/simulated/floor/plasteel, @@ -65715,18 +65863,8 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore) "lbV" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 5 - }, -/obj/structure/sign/vacuum{ - pixel_y = -32 - }, -/obj/effect/map_effect/dynamic_airlock, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/noslip, +/area/station/engineering/engine) "lcg" = ( /obj/machinery/power/apc/directional/west, /obj/structure/cable{ @@ -66367,6 +66505,12 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/research) +"lrF" = ( +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "lrU" = ( /obj/effect/spawner/window/reinforced/plasma/grilled, /obj/structure/cable{ @@ -66473,6 +66617,25 @@ }, /turf/simulated/floor/carpet/grimey, /area/station/maintenance/starboard) +"lvm" = ( +/obj/machinery/door/airlock/engineering/glass{ + autoclose = 0; + id_tag = "engsm_door_int"; + locked = 1; + name = "Reactor Interior Access" + }, +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/plating, +/area/station/engineering/engine) "lvC" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/unary/vent_pump/on{ @@ -66857,6 +67020,18 @@ }, /turf/space, /area/space/nearstation) +"lCX" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/visible{ + dir = 10 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/atmos) "lDf" = ( /obj/structure/reagent_dispensers/fueltank, /turf/simulated/floor/plasteel/dark, @@ -66905,6 +67080,16 @@ /obj/machinery/smartfridge/secure/medbay, /turf/simulated/floor/plasteel/white, /area/station/medical/chemistry) +"lEo" = ( +/obj/effect/turf_decal/trimline/misc/toxins/filled/shrink_ccw, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "lEr" = ( /obj/structure/rack, /obj/item/clothing/suit/armor/bulletproof/sec, @@ -67296,24 +67481,24 @@ }, /turf/simulated/floor/plating, /area/station/science/rnd) +"lPv" = ( +/obj/structure/closet/secure_closet/engineering_personal, +/obj/structure/sign/poster/official/random/directional/west, +/obj/effect/turf_decal/delivery/hollow, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"lPG" = ( +/obj/machinery/atmospherics/pipe/simple/heat_exchanging/junction{ + dir = 8 + }, +/turf/simulated/wall/r_wall, +/area/station/engineering/engine/reactor) "lPJ" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 8 }, /turf/simulated/floor/plasteel/dark, /area/station/medical/surgery/observation) -"lPV" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 4 - }, -/obj/machinery/door/airlock/external/glass, -/obj/machinery/access_button/offset/north, -/obj/effect/map_effect/dynamic_airlock/door/interior, -/turf/simulated/floor/plating, -/area/station/engineering/control) "lQd" = ( /obj/machinery/driver_button{ id_tag = "toxinsdriver"; @@ -67679,6 +67864,10 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) +"lYt" = ( +/obj/machinery/atmospherics/fission_reactor/roundstart, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "lYy" = ( /obj/machinery/atmospherics/pipe/simple/visible{ dir = 9 @@ -67973,6 +68162,14 @@ /obj/structure/flora/ausbushes/brflowers, /turf/simulated/floor/grass/no_creep, /area/station/hallway/secondary/entry/north) +"mfa" = ( +/obj/structure/sign/vacuum/external{ + pixel_x = -32 + }, +/obj/structure/closet/radiation, +/obj/structure/sign/poster/official/random/directional/south, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "mfc" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/grille, @@ -68104,6 +68301,14 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/virology) +"miJ" = ( +/obj/structure/closet/firecloset/full, +/obj/effect/turf_decal/delivery/hollow, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "miQ" = ( /obj/structure/cable{ icon_state = "1-2" @@ -68168,12 +68373,24 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore) "mkB" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/structure/rack{ + dir = 1 }, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/item/grenade/nuclear_starter{ + pixel_y = 7; + pixel_x = -3 + }, +/obj/item/grenade/nuclear_starter{ + pixel_y = 4 + }, +/obj/item/grenade/nuclear_starter{ + pixel_x = 3 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "mkH" = ( /obj/structure/table/glass, /obj/effect/turf_decal/tiles/department/virology/side{ @@ -68368,6 +68585,17 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/security/brig) +"moM" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/obj/machinery/camera{ + c_tag = "Engine North West"; + dir = 5; + network = list("SS13","Engineering") + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "moN" = ( /obj/structure/cable{ icon_state = "1-2" @@ -68786,6 +69014,7 @@ /obj/effect/turf_decal/tiles/department/engineering/side{ dir = 8 }, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) "mxh" = ( @@ -69074,9 +69303,9 @@ /turf/simulated/floor/plasteel/dark, /area/station/maintenance/port2) "mDy" = ( -/obj/effect/turf_decal/caution/stand_clear, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/manifold/visible/red, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "mDL" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -69156,14 +69385,13 @@ /turf/simulated/floor/engine/n2, /area/station/engineering/atmos) "mIo" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw{ + dir = 4 }, -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "mIR" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -69246,14 +69474,13 @@ /turf/simulated/floor/carpet/red, /area/station/command/office/hos) "mLQ" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 4 +/obj/machinery/atmospherics/binary/valve{ + dir = 4; + name = "Output to Waste"; + on = 1 }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "mLY" = ( /obj/structure/table/wood, /obj/item/reagent_containers/drinks/bottle/holywater, @@ -69767,6 +69994,13 @@ }, /turf/simulated/floor/wood, /area/station/command/office/ntrep) +"mUd" = ( +/obj/machinery/atmospherics/binary/pump{ + dir = 8; + name = "Atmos in" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "mUi" = ( /obj/machinery/alarm/directional/south, /obj/effect/turf_decal/tiles/department/engineering/corner{ @@ -70036,6 +70270,9 @@ /obj/effect/turf_decal/tiles/department/engineering/side{ dir = 1 }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 5 + }, /turf/simulated/floor/plasteel, /area/station/engineering/break_room/secondary) "mYe" = ( @@ -70107,6 +70344,24 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) +"mZq" = ( +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 9 + }, +/obj/structure/sign/radiation/rad_area{ + pixel_x = -32 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) +"mZw" = ( +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "mZI" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -70404,6 +70659,10 @@ icon_state = "2-4" }, /obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 10; + initialize_directions = 10 + }, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) "nhs" = ( @@ -70803,13 +71062,6 @@ /obj/effect/turf_decal/tiles/dark/corner, /turf/simulated/floor/plasteel, /area/station/engineering/transmission_laser) -"noJ" = ( -/obj/structure/lattice/catwalk, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/turf/space, -/area/station/engineering/control) "noW" = ( /obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel/white, @@ -70819,15 +71071,13 @@ /turf/simulated/floor/plating, /area/station/maintenance/starboard) "npe" = ( -/obj/structure/grille, -/obj/effect/turf_decal/stripes/line{ - dir = 4 +/obj/machinery/camera{ + c_tag = "Engine South West"; + dir = 4; + network = list("SS13","Engineering") }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "npf" = ( /obj/item/kirbyplants/large, /obj/machinery/alarm/directional/north, @@ -71013,6 +71263,12 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/fore) +"ntU" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "ntZ" = ( /obj/machinery/door/firedoor, /obj/effect/turf_decal/delivery, @@ -71311,6 +71567,9 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "nBJ" = ( @@ -71483,6 +71742,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/control) "nEK" = ( @@ -71732,6 +71992,13 @@ /obj/effect/turf_decal/tiles/department/command/side, /turf/simulated/floor/plasteel/dark, /area/station/medical/morgue) +"nMt" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/green{ + dir = 4 + }, +/obj/machinery/atmospherics/meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "nMD" = ( /obj/structure/sign/securearea, /turf/simulated/wall, @@ -72627,6 +72894,18 @@ /obj/effect/mapping_helpers/turfs/damage, /turf/simulated/floor/plating, /area/station/maintenance/fore) +"ofS" = ( +/obj/machinery/atmospherics/binary/pump{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"ogd" = ( +/obj/machinery/light/floor, +/obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/visible, +/turf/simulated/floor/plasteel, +/area/station/engineering/atmos) "ogw" = ( /obj/machinery/atmospherics/pipe/simple/visible{ dir = 4 @@ -72780,6 +73059,11 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) +"okL" = ( +/obj/effect/spawner/window/reinforced/plasma/grilled, +/obj/machinery/atmospherics/pipe/simple/visible/red, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "okQ" = ( /obj/effect/turf_decal/stripes/corner{ dir = 1 @@ -72823,6 +73107,13 @@ "olF" = ( /turf/simulated/floor/grass, /area/station/maintenance/fore) +"olO" = ( +/obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/manifold/visible{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/atmos) "olR" = ( /obj/machinery/door/firedoor, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -72950,6 +73241,9 @@ dir = 6 }, /obj/machinery/firealarm/directional/north, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 6 + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "onw" = ( @@ -73089,6 +73383,12 @@ }, /turf/simulated/floor/catwalk, /area/station/science/storage) +"opN" = ( +/obj/machinery/light, +/obj/structure/closet/radiation, +/obj/effect/turf_decal/delivery/hollow, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "opR" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/disposalpipe/segment{ @@ -73137,12 +73437,15 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/sleeper) "oqt" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/structure/railing/corner/pool_corner, +/obj/structure/closet/emcloset, +/obj/item/radio/intercom{ + name = "south bump"; + pixel_y = -28 }, -/obj/structure/lattice/catwalk, -/turf/space, -/area/station/engineering/control) +/obj/effect/turf_decal/delivery/hollow, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "oqC" = ( /obj/structure/cable{ icon_state = "4-8" @@ -73430,6 +73733,21 @@ }, /turf/simulated/floor/plasteel, /area/station/supply/lobby) +"ovt" = ( +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "ovF" = ( /obj/machinery/power/apc/directional/east, /obj/structure/cable{ @@ -73473,14 +73791,27 @@ /turf/simulated/floor/plasteel/dark, /area/station/medical/virology) "oxp" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 +/obj/machinery/door/airlock/engineering/glass{ + autoclose = 0; + id_tag = "engsm_door_ext"; + locked = 1; + name = "Reactor Exterior Access" }, -/obj/effect/turf_decal/tiles/department/engineering/side{ - dir = 1 +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/station/engineering/engine) "oxJ" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 8 @@ -73544,6 +73875,14 @@ /obj/machinery/door/firedoor, /turf/simulated/floor/plasteel, /area/station/maintenance/port) +"oyp" = ( +/obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/binary/pump{ + dir = 0; + name = "Port to Reactor" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/atmos) "oyv" = ( /obj/structure/chair/office{ dir = 4 @@ -73578,6 +73917,15 @@ /obj/machinery/atmospherics/unary/vent_pump/on, /turf/simulated/floor/plasteel/white, /area/station/medical/reception) +"oyH" = ( +/obj/structure/table/reinforced, +/obj/item/rpd, +/obj/item/tank/internals/emergency_oxygen/engi, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "oyO" = ( /obj/machinery/atmospherics/portable/canister/air, /obj/machinery/atmospherics/unary/portables_connector{ @@ -73875,6 +74223,14 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel/dark, /area/station/maintenance/abandonedbar) +"oGZ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "oHh" = ( /obj/structure/cable{ icon_state = "0-4" @@ -74003,12 +74359,6 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/virology) -"oJn" = ( -/obj/effect/turf_decal/stripes/end{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/space/nearstation) "oJu" = ( /obj/effect/turf_decal/delivery, /obj/structure/cable{ @@ -74065,15 +74415,12 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore) "oKH" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 4 - }, /obj/structure/cable{ icon_state = "4-8" }, +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) "oKO" = ( @@ -74176,6 +74523,12 @@ }, /turf/simulated/floor/mineral/titanium/blue, /area/shuttle/arrival/station) +"oMH" = ( +/obj/machinery/light{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "oMI" = ( /obj/structure/disposalpipe/segment/corner{ dir = 2 @@ -74336,6 +74689,16 @@ /obj/structure/sign/poster/official/soul/directional/north, /turf/simulated/floor/wood, /area/station/service/theatre) +"oQg" = ( +/obj/structure/table/reinforced, +/obj/machinery/firealarm/directional/east, +/obj/item/geiger_counter, +/obj/item/clothing/glasses/meson/engine, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "oQy" = ( /obj/effect/turf_decal/stripes/line{ dir = 1 @@ -74453,6 +74816,9 @@ temperature = 80 }, /area/station/science/xenobiology) +"oSw" = ( +/turf/simulated/floor/plasteel/reactor_pool/wall/filter, +/area/station/engineering/engine/reactor) "oSN" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -75708,12 +76074,12 @@ /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) "puD" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/effect/spawner/window/reinforced/plasma, +/obj/machinery/atmospherics/pipe/simple/visible/universal{ + dir = 4 }, -/obj/effect/spawner/window/reinforced/plasma/grilled, /turf/simulated/floor/plating, -/area/station/engineering/control) +/area/station/engineering/engine) "puH" = ( /obj/item/kirbyplants/large, /obj/item/radio/intercom{ @@ -75722,6 +76088,22 @@ }, /turf/simulated/floor/plasteel, /area/station/public/toilet/lockerroom) +"puO" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_y = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = -3; + pixel_y = 6 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "puP" = ( /obj/machinery/atmospherics/pipe/manifold/visible/cyan, /obj/effect/turf_decal/tiles/neutral, @@ -75860,6 +76242,15 @@ /obj/item/storage/box/evidence, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) +"pyP" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/structure/sign/radiation/rad_area{ + pixel_x = -32 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "pyU" = ( /obj/effect/turf_decal/tiles/department/security/corner, /turf/simulated/floor/plasteel/dark, @@ -76155,13 +76546,6 @@ /obj/structure/reflector/single, /turf/simulated/floor/plasteel/dark, /area/station/engineering/controlroom) -"pEz" = ( -/obj/effect/turf_decal/stripes/line, -/obj/effect/turf_decal/stripes/corner{ - dir = 4 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "pEJ" = ( /obj/structure/closet/secure_closet/security, /obj/effect/turf_decal/tiles/department/security/side{ @@ -76169,6 +76553,22 @@ }, /turf/simulated/floor/plasteel, /area/station/security/storage) +"pEK" = ( +/obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "pFo" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, /obj/structure/sign/poster/official/random/directional/north, @@ -76185,6 +76585,12 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) +"pFI" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "pFQ" = ( /obj/structure/extinguisher_cabinet{ name = "north bump"; @@ -76283,6 +76689,12 @@ /mob/living/carbon/human/monkey, /turf/simulated/floor/plasteel/white, /area/station/medical/virology) +"pGN" = ( +/obj/machinery/door/airlock/external/glass, +/obj/effect/map_effect/dynamic_airlock/door/exterior, +/obj/machinery/access_button/offset/northwest, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "pGT" = ( /obj/structure/chair/office/dark{ dir = 4 @@ -76597,6 +77009,18 @@ /obj/effect/turf_decal/tiles/department/science/side, /turf/simulated/floor/plasteel/white, /area/station/science/break_room) +"pNy" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "pNN" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -76767,6 +77191,12 @@ /obj/effect/mapping_helpers/turfs/damage, /turf/simulated/floor/wood, /area/station/maintenance/apmaint) +"pTb" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "pTp" = ( /obj/structure/chair{ dir = 1 @@ -76896,6 +77326,12 @@ }, /turf/simulated/floor/plating, /area/station/command/office/hos) +"pVv" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/green{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "pVK" = ( /obj/effect/turf_decal/stripes/corner{ dir = 8 @@ -76913,6 +77349,11 @@ /obj/structure/lattice, /turf/space, /area/space/nearstation) +"pVO" = ( +/obj/machinery/atmospherics/pipe/simple/heat_exchanging, +/obj/structure/lattice, +/turf/space, +/area/space/nearstation) "pVP" = ( /obj/structure/table/wood, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -77340,6 +77781,16 @@ /obj/structure/disaster_counter/supermatter, /turf/simulated/wall/r_wall, /area/station/engineering/engine/supermatter) +"qgQ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/visible, +/turf/simulated/floor/plasteel, +/area/station/engineering/atmos) "qhm" = ( /obj/machinery/status_display{ pixel_y = -32 @@ -77490,17 +77941,11 @@ /turf/simulated/floor/plating, /area/station/hallway/secondary/entry/east) "qky" = ( -/obj/machinery/power/tesla_coil{ - anchored = 1 +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 6 }, -/obj/structure/cable/yellow{ - icon_state = "0-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "qkD" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -77619,6 +78064,10 @@ }, /turf/simulated/floor/plasteel, /area/station/security/permabrig) +"qoo" = ( +/obj/effect/turf_decal/stripes/line, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "qoB" = ( /obj/item/radio/intercom{ name = "south bump"; @@ -77715,6 +78164,15 @@ "qrT" = ( /turf/simulated/wall/r_wall, /area/station/telecomms/chamber) +"qrV" = ( +/obj/machinery/atmospherics/unary/portables_connector{ + dir = 4 + }, +/obj/machinery/light{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "qsg" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ @@ -77819,6 +78277,31 @@ "qul" = ( /turf/simulated/wall/r_wall, /area/station/science/misc_lab) +"qut" = ( +/obj/machinery/access_button{ + autolink_id = "engsm_btn_int"; + name = "Reactor Access Button"; + pixel_y = -24; + req_access = list(10); + pixel_x = -24 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/caution{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "quu" = ( /obj/machinery/door/firedoor, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -77896,6 +78379,23 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/service/bar) +"qwa" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/moderator/heavy_water{ + pixel_y = 6 + }, +/obj/item/nuclear_rod/moderator/heavy_water{ + pixel_y = 3; + pixel_x = 2 + }, +/obj/item/nuclear_rod/moderator/heavy_water{ + pixel_y = 1; + pixel_x = 5 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "qwg" = ( /obj/effect/turf_decal/stripes/line, /obj/machinery/atmospherics/unary/vent_scrubber/on{ @@ -78313,12 +78813,6 @@ /obj/effect/mapping_helpers/turfs/rust, /turf/simulated/wall, /area/station/maintenance/fsmaint) -"qFa" = ( -/obj/effect/turf_decal/stripes/corner{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "qFe" = ( /obj/machinery/light/small{ dir = 8 @@ -78617,6 +79111,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, /obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/equipmentstorage) "qLt" = ( @@ -78635,6 +79130,12 @@ /obj/effect/turf_decal/tiles/neutral/side, /turf/simulated/floor/plasteel, /area/station/maintenance/aft) +"qLu" = ( +/obj/effect/turf_decal/stripes/red/corner{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "qLv" = ( /obj/machinery/atmospherics/unary/vent_pump/on, /obj/machinery/light/small{ @@ -78662,6 +79163,14 @@ /obj/effect/turf_decal/tiles/neutral/side, /turf/simulated/floor/plasteel, /area/station/maintenance/aft) +"qNa" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "qNg" = ( /obj/machinery/light{ dir = 1 @@ -78879,6 +79388,17 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) +"qRl" = ( +/obj/effect/turf_decal/trimline/misc/toxins/corner, +/obj/machinery/light/floor, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "qRt" = ( /obj/machinery/atmospherics/pipe/simple/visible{ dir = 9 @@ -78888,15 +79408,6 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/toxins/mixing) -"qRT" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "qSu" = ( /obj/structure/closet/emcloset, /turf/simulated/floor/plating, @@ -79209,6 +79720,9 @@ /obj/machinery/atmospherics/unary/portables_connector, /turf/simulated/floor/plasteel/dark, /area/station/security/execution) +"qXW" = ( +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "qYc" = ( /obj/structure/cable{ icon_state = "1-2" @@ -79276,6 +79790,9 @@ }, /turf/simulated/floor/carpet, /area/station/command/office/hop) +"qZb" = ( +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "qZh" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 8 @@ -79622,6 +80139,12 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/cryo) +"reU" = ( +/obj/machinery/atmospherics/binary/pump{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "reW" = ( /obj/effect/turf_decal/stripes/line{ dir = 4 @@ -79687,6 +80210,7 @@ dir = 4 }, /obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/equipmentstorage) "rgU" = ( @@ -80178,6 +80702,16 @@ /obj/effect/turf_decal/tiles/department/medical/side, /turf/simulated/floor/plasteel/white, /area/station/medical/reception) +"rqB" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/effect/turf_decal/trimline/misc/toxins/filled/shrink_cw{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rqO" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 10 @@ -80305,6 +80839,21 @@ }, /turf/simulated/floor/plasteel, /area/station/security/permabrig) +"rty" = ( +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/yellow{ + icon_state = "1-4" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rtH" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/effect/spawner/airlock/e_to_w, @@ -80456,8 +81005,30 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, +/obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) +"rwJ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rwM" = ( /obj/structure/extinguisher_cabinet{ name = "east bump"; @@ -80816,6 +81387,15 @@ /obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, /area/station/hallway/primary/port/north) +"rDv" = ( +/obj/structure/table/reinforced, +/obj/item/rpd, +/obj/item/flashlight, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rDA" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/turf_decal/tiles/neutral/corner{ @@ -81064,14 +81644,11 @@ /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "rIP" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 }, -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rJk" = ( /obj/docking_port/stationary{ dwidth = 9; @@ -81271,6 +81848,14 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/service/hydroponics) +"rNc" = ( +/obj/machinery/atmospherics/pipe/simple/visible/purple, +/obj/effect/turf_decal/stripes/corner{ + dir = 1 + }, +/obj/item/pipe_meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rNF" = ( /obj/machinery/light/small, /obj/effect/decal/cleanable/dirt, @@ -82284,12 +82869,15 @@ /turf/simulated/floor/plasteel, /area/station/public/storage/tools) "shz" = ( -/obj/machinery/power/tesla_coil{ - anchored = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/obj/structure/cable/yellow, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/visible/green, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "shB" = ( /obj/structure/cable/extra_insulated{ icon_state = "0-2" @@ -82601,6 +83189,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) "snE" = ( @@ -83125,6 +83714,12 @@ /obj/item/kirbyplants/large, /turf/simulated/floor/wood, /area/station/legal/courtroom) +"sys" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "syt" = ( /obj/structure/disposalpipe/segment/corner{ dir = 1 @@ -83493,10 +84088,10 @@ icon_state = "1-2" }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/visible{ - dir = 4 - }, /obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/visible{ + dir = 5 + }, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "sGJ" = ( @@ -83664,6 +84259,14 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/apmaint) +"sJO" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "sKh" = ( /obj/item/kirbyplants/large, /obj/machinery/light{ @@ -84095,6 +84698,12 @@ /obj/effect/spawner/random/fungus/frequent, /turf/simulated/wall, /area/station/maintenance/library) +"sRW" = ( +/obj/effect/turf_decal/stripes/corner{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "sSf" = ( /obj/structure/cable{ icon_state = "4-8" @@ -84397,17 +85006,10 @@ /turf/simulated/floor/plasteel/white, /area/station/science/toxins/mixing) "sYU" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 4 - }, -/obj/machinery/door/airlock/external/glass, -/obj/machinery/access_button/offset/southeast, -/obj/effect/map_effect/dynamic_airlock/door/interior, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/structure/table/reinforced, +/obj/item/beach_ball, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "sYY" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -84694,6 +85296,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, /obj/effect/turf_decal/tiles/department/engineering, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/break_room/secondary) "tdV" = ( @@ -84795,6 +85398,28 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/port) +"tfK" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/item/grenade/nuclear_starter{ + pixel_y = 7; + pixel_x = -3 + }, +/obj/item/grenade/nuclear_starter{ + pixel_y = 4 + }, +/obj/item/grenade/nuclear_starter{ + pixel_x = 3 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/obj/structure/disaster_counter/reactor{ + pixel_x = 32 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "tfU" = ( /obj/structure/cable{ icon_state = "1-2" @@ -84845,12 +85470,12 @@ /turf/simulated/floor/plasteel/dark, /area/station/security/warden) "tgK" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 1 +/obj/machinery/atmospherics/trinary/filter/flipped{ + dir = 4; + filter_type = 2 }, -/obj/effect/turf_decal/stripes/corner, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "tgQ" = ( /obj/machinery/organ_analyzer, /obj/effect/turf_decal/tiles/department/science/side{ @@ -84889,13 +85514,6 @@ /obj/machinery/ai_status_display, /turf/simulated/wall, /area/station/science/rnd) -"thU" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/effect/turf_decal/tiles/department/engineering/side, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "tia" = ( /obj/structure/cable/extra_insulated{ icon_state = "2-4" @@ -85051,15 +85669,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/service/hydroponics) -"tlz" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/door/airlock/external/glass, -/obj/machinery/access_button/offset/south, -/obj/effect/map_effect/dynamic_airlock/door/exterior, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "tlB" = ( /obj/structure/sign/electricshock{ pixel_y = 32 @@ -85122,6 +85731,23 @@ }, /turf/simulated/floor/engine/n20, /area/station/engineering/atmos) +"tnJ" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_y = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = -3; + pixel_y = 6 + }, +/obj/machinery/light, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "tnN" = ( /obj/machinery/atmospherics/unary/portables_connector{ name = "Portable Air Pump Connector"; @@ -85360,6 +85986,12 @@ /obj/machinery/atmospherics/refill_station/oxygen, /turf/simulated/floor/plasteel/white, /area/station/hallway/primary/port/north) +"ttq" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/green{ + dir = 1 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "tty" = ( /obj/structure/flora/ausbushes/fullgrass, /turf/simulated/floor/grass, @@ -85599,6 +86231,28 @@ /obj/machinery/newscaster/directional/south, /turf/simulated/floor/plasteel, /area/station/public/toilet/lockerroom) +"tyi" = ( +/obj/machinery/door/airlock/engineering/glass{ + autoclose = 0; + id_tag = "engsm_door_int"; + locked = 1; + name = "Reactor Interior Access" + }, +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden, +/obj/machinery/access_button{ + autolink_id = "engsm_btn_int"; + name = "Reactor Access Button"; + pixel_y = 1; + req_access = list(10); + pixel_x = 25 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "tyF" = ( /obj/structure/lattice/catwalk, /obj/machinery/atmospherics/pipe/simple/visible/green{ @@ -85958,12 +86612,23 @@ /turf/simulated/floor/plasteel/white, /area/station/science/toxins/mixing) "tFc" = ( -/obj/machinery/light{ +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 1 }, -/obj/structure/dispenser, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/structure/cable{ + icon_state = "2-4" + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 6 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "tFk" = ( /obj/effect/turf_decal/tiles/department/virology/corner{ dir = 4 @@ -86949,6 +87614,12 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/fore2) +"tXU" = ( +/obj/machinery/atmospherics/pipe/simple/visible/universal{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "tYd" = ( /obj/structure/morgue, /obj/effect/landmark/spawner/rev, @@ -87747,6 +88418,15 @@ /obj/effect/turf_decal/tiles/department/medical/checker, /turf/simulated/floor/plasteel/white, /area/station/security/permabrig) +"ulB" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "1-4" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "ulG" = ( /obj/machinery/door/poddoor/shutters{ dir = 2; @@ -87892,6 +88572,12 @@ }, /turf/simulated/floor/plating, /area/station/command/office/hos) +"upu" = ( +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "upw" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/supply, /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ @@ -88075,6 +88761,10 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) +"utP" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/green, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "uuh" = ( /obj/structure/table, /obj/item/paper_bin, @@ -88225,9 +88915,8 @@ /turf/space, /area/space/nearstation) "uzj" = ( -/obj/structure/lattice/catwalk, -/turf/space, -/area/station/engineering/control) +/turf/simulated/floor/plasteel/reactor_pool/wall/ladder, +/area/station/engineering/engine/reactor) "uzs" = ( /obj/machinery/light{ dir = 8 @@ -88819,25 +89508,12 @@ /turf/simulated/floor/plasteel/dark, /area/station/command/office/cmo) "uLe" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/light, +/obj/effect/turf_decal/stripes/line, /obj/effect/turf_decal/stripes/corner{ dir = 1 }, -/turf/simulated/floor/plating, -/area/station/engineering/control) -"uLm" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/plasteel, +/area/station/engineering/engine) "uLr" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -88915,6 +89591,18 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/service/bar) +"uMv" = ( +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "uMB" = ( /obj/machinery/alarm/directional/east, /obj/structure/chair{ @@ -89051,16 +89739,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) -"uQp" = ( -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "uQq" = ( /obj/machinery/door/firedoor, /obj/item/radio/intercom{ @@ -89100,6 +89778,9 @@ /obj/effect/turf_decal/tiles/department/engineering/side{ dir = 8 }, +/obj/structure/cable{ + icon_state = "1-2" + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "uRz" = ( @@ -89309,16 +89990,6 @@ }, /turf/simulated/floor/carpet/purple, /area/station/medical/psych) -"uVM" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/machinery/airlock_controller/air_cycler/directional/north, -/obj/effect/mapping_helpers/airlock/access/all/engineering/external, -/obj/effect/mapping_helpers/airlock/access/all/engineering/general, -/obj/effect/map_effect/dynamic_airlock, -/turf/simulated/floor/plating, -/area/station/engineering/control) "uVQ" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 @@ -90607,6 +91278,9 @@ }, /turf/simulated/floor/engine, /area/station/engineering/controlroom) +"vAK" = ( +/turf/simulated/wall/r_wall, +/area/station/engineering/engine/reactor) "vAP" = ( /obj/machinery/door/firedoor, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -90702,6 +91376,14 @@ /obj/machinery/light, /turf/simulated/floor/plasteel, /area/station/supply/sorting) +"vCB" = ( +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "vCE" = ( /obj/machinery/economy/vending/snack, /obj/effect/turf_decal/tiles/department/engineering/side{ @@ -91201,6 +91883,15 @@ /obj/structure/sign/evac, /turf/simulated/wall, /area/station/maintenance/apmaint) +"vLo" = ( +/obj/structure/cable/yellow{ + icon_state = "2-8" + }, +/obj/structure/cable/yellow{ + icon_state = "1-8" + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/control) "vLC" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -91444,6 +92135,13 @@ /obj/machinery/light/small, /turf/simulated/floor/catwalk, /area/station/maintenance/port) +"vQb" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ + dir = 8; + initialize_directions = 11 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "vQk" = ( /obj/structure/closet/secure_closet/personal/patient, /obj/effect/turf_decal/tiles/department/virology/side{ @@ -91709,6 +92407,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "vVU" = ( @@ -91802,17 +92501,12 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/reception) "vYi" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/structure/railing/corner/pool_corner, +/obj/structure/railing/corner/pool_corner{ + dir = 4 }, -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "vYo" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, /obj/effect/turf_decal/tiles/neutral, @@ -92079,6 +92773,16 @@ /obj/effect/turf_decal/tiles/department/science/side, /turf/simulated/floor/plasteel/white, /area/station/science/misc_lab) +"weX" = ( +/obj/structure/extinguisher_cabinet{ + name = "north bump"; + pixel_y = 30 + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "wfa" = ( /obj/effect/turf_decal/tiles/department/science/side, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -92106,6 +92810,14 @@ /obj/machinery/door/firedoor/heavy, /turf/simulated/floor/engine, /area/station/maintenance/incinerator) +"wfp" = ( +/obj/effect/map_effect/dynamic_airlock, +/obj/machinery/atmospherics/unary/vent_pump/high_volume{ + dir = 8 + }, +/obj/machinery/light/small, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "wfF" = ( /obj/structure/table, /obj/item/hand_labeler, @@ -92398,11 +93110,13 @@ /turf/simulated/floor/plating, /area/station/medical/virology) "wkY" = ( -/obj/effect/turf_decal/caution/stand_clear{ - dir = 1 +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "wll" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/mining/glass{ @@ -92671,6 +93385,13 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/genetics) +"wqU" = ( +/obj/machinery/atmospherics/binary/valve{ + dir = 4; + name = "Output to Scrubbers" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "wre" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -93330,8 +94051,17 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 9 }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 9 + }, /turf/simulated/floor/plasteel, /area/station/engineering/control) +"wCr" = ( +/obj/structure/rack{ + dir = 1 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "wCx" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/turf_decal/tiles/neutral/corner{ @@ -93466,6 +94196,10 @@ /obj/effect/turf_decal/tiles/department/medical/corner, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry/south) +"wEE" = ( +/obj/effect/spawner/window/reinforced/plasma, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "wER" = ( /obj/structure/window/reinforced{ dir = 4 @@ -93852,6 +94586,14 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/controlroom) +"wNH" = ( +/obj/effect/turf_decal/tiles/neutral, +/obj/machinery/atmospherics/pipe/simple/visible{ + dir = 6; + level = 1 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/atmos) "wNJ" = ( /obj/machinery/power/apc/critical/directional/east{ shock_proof = 1 @@ -94226,19 +94968,6 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/fore) -"wVM" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 9 - }, -/obj/effect/turf_decal/tiles/department/engineering, -/turf/simulated/floor/plasteel, -/area/station/engineering/control) "wVY" = ( /obj/structure/cable/extra_insulated{ icon_state = "1-2" @@ -94505,13 +95234,6 @@ /obj/effect/mapping_helpers/turfs/damage, /turf/simulated/floor/wood, /area/station/maintenance/apmaint) -"xba" = ( -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "xbI" = ( /obj/effect/turf_decal/woodsiding{ dir = 1 @@ -95230,11 +95952,12 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/fore) "xpf" = ( -/obj/effect/turf_decal/caution/stand_clear{ +/obj/machinery/atmospherics/pipe/simple/visible/yellow{ dir = 4 }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/obj/machinery/atmospherics/meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "xpj" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -96318,6 +97041,15 @@ /obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) +"xMC" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/structure/sign/radiation/rad_area{ + pixel_x = -32 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "xNC" = ( /obj/machinery/atmospherics/unary/vent_pump/on, /turf/simulated/floor/plating, @@ -96717,11 +97449,11 @@ /turf/simulated/floor/grass, /area/station/service/kitchen) "xVX" = ( -/obj/effect/turf_decal/stripes/line{ +/obj/machinery/atmospherics/pipe/simple/visible/red{ dir = 4 }, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "xXp" = ( /obj/machinery/chem_master, /obj/effect/decal/cleanable/dirt, @@ -96738,6 +97470,21 @@ /obj/item/reagent_containers/glass/beaker/large, /turf/simulated/floor/engine, /area/station/science/misc_lab) +"xXE" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 10 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "xXU" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -96845,6 +97592,11 @@ /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/security/permabrig) +"yaD" = ( +/obj/structure/closet/radiation, +/obj/effect/turf_decal/delivery/hollow, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine) "yaM" = ( /obj/structure/chair/stool{ dir = 8 @@ -96889,6 +97641,25 @@ /obj/effect/spawner/random/blood/maybe, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) +"yde" = ( +/obj/machinery/atmospherics/reactor_chamber, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"ydu" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/machinery/alarm/directional/north, +/obj/item/apc_electronics{ + pixel_x = 4; + pixel_y = 6 + }, +/obj/item/stock_parts/cell/high, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "ydD" = ( /obj/machinery/firealarm/directional/north, /obj/effect/turf_decal/tiles/department/medical/corner{ @@ -96984,6 +97755,13 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/fore) +"yfO" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ + dir = 4 + }, +/obj/machinery/atmospherics/meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "ygh" = ( /obj/structure/window/reinforced{ dir = 4 @@ -97037,6 +97815,16 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fore) +"yhl" = ( +/obj/effect/turf_decal/trimline/misc/toxins/line, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "yhn" = ( /obj/structure/mopbucket/full, /obj/item/caution, @@ -97193,6 +97981,17 @@ "ykJ" = ( /turf/simulated/floor/plasteel/white, /area/station/science/break_room) +"ykZ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"yld" = ( +/obj/machinery/atmospherics/unary/thermomachine/freezer{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "ylA" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/security/glass{ @@ -113547,19 +114346,19 @@ abj aaa tOF aaa +btJ +btJ +btJ +btJ +btJ +btJ +btJ +btJ +btJ +btJ +btJ aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +abj aaa aaa aaa @@ -113803,22 +114602,22 @@ aaa abj aaa sso -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +abj +btJ +rvc +rvc +rvc +rvc +rvc +rvc +rvc +rvc +rvc +btJ +abj +abj +abj +abj aaa aaa aaa @@ -114061,20 +114860,20 @@ abj abj sso aaa +btJ +btJ +btJ +btJ +btJ +btJ +btJ +btJ +btJ +btJ +btJ aaa aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +abj aaa aaa aaa @@ -114320,18 +115119,18 @@ tOF aaa aaa aaa +abj aaa aaa aaa aaa aaa +abj aaa aaa aaa -aaa -aaa -aaa -aaa +abj +abj aaa aaa aaa @@ -114574,21 +115373,21 @@ aaa abj aaa tOF +abj +iBy +hAD +iBy +pVO +pVO +pVO +pVO +pVO +pVO +hAD aaa aaa aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +abj aaa aaa aaa @@ -114832,22 +115631,22 @@ abj abj tOF aaa +tnt +tnt +tnt +iBy +pVO +pVO +pVO +pVO +pVO +aDC aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +btJ +btJ +btJ +btJ +btJ aaa aaa abj @@ -115089,24 +115888,24 @@ abj aaa tOF aaa -aaa -aaa -aaa -aaZ -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +tnt +tnt +tnt +jUs +pVO +pVO +pVO +pVO +pVO +hAD +abj +btJ +rvc +rvc +rvc +btJ +abj +abj abj cRD euv @@ -115346,24 +116145,24 @@ abj aaa tOF aaa +tnt +tnt +tnt +iBy +pVO +pVO +pVO +pVO +pVO +aDC aaa +btJ +btJ +btJ +btJ +btJ aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +abj dmq cRD pZy @@ -115602,21 +116401,21 @@ abj abj abj sso +abj +tnt +jUs +aDC +jUs +pVO +pVO +pVO +pVO +pVO +hAD aaa +abj aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +abj aaa aaa aaa @@ -115858,26 +116657,26 @@ nmF aaa abj aaa -sso -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +aaa +aaa +jUs +hAD +iBy +pVO +pVO +pVO +pVO +pVO +pVO +aDC +aaa +abj +aaa +abj aaa aaa aaa +fxO dmq oOQ oOQ @@ -116117,21 +116916,21 @@ abj aaa aaa aaa +iBy +aDC +tnt aaa aaa aaa +abj aaa aaa +abj aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +vAK +pGN +vAK +vAK aaa aaa dmq @@ -116371,25 +117170,25 @@ abj hFE abj abj +abj aaa +aaa +ayG abj -abj -abj -acF -abj -abj -abj -acF -abj -abj -abj -acF -abj -abj -abj -acF -abj -abj +ayG +aaa +aaa +aaa +vAK +vAK +vAK +vAK +vAK +vAK +kdg +biS +vAK +aaa aaa dmq wPH @@ -116628,27 +117427,27 @@ aaa nmF aaa abj -bXU -cba -cba -cba -bXU -cie -cie -cie -bXU -cie -cie -cie -bXU -cie +vAK +cfW +cfW +lPG +vAK +lPG +cfW +cfW +vAK +vAK +yld +yld +qrV cie +vAK hDE -bXU -cie -cie -cie -bXU +wfp +vAK +aaa +aaa +dmq cXX czF drn @@ -116885,27 +117684,27 @@ aaa nmF aaa abj -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU -bXU +vAK +oyH +qXW +moM +oMH +gVo +qXW +acz +lPv +fHn +ttq +dLV +dLV +utP +vAK +kuR +vAK +vAK +aaa +aaa +dmq iPQ czF drn @@ -117142,27 +117941,27 @@ abj hFE abj abj -bXU +vAK cZL -cZL -cZL -bXU +qXW +cuQ +qXW +reU +qXW +qXW +qXW +qoo +kUJ +lrF +qZb +fhj npe -npe -npe -bXU -npe -npe -npe -bXU -npe -npe -iAk -bXU -npe -npe -npe -bXU +qZb +mfa +vAK +aaa +aaa +dmq vys drn dhG @@ -117398,28 +118197,28 @@ abj aaa nmF aaa -bXU -bXU -uzj -uzj -uzj +aaa +cfW +sys +qXW +pVv cmC -uzj -uzj -uzj -cbb -uzj -uzj -uzj -cbb -uzj -uzj -uzj +nMt +hXA +hXA +hXA +jFJ +jRD +iuP +gDb +hCM +ntU +ntU cJd -uzj -uzj -uzj -bXU +vAK +acF +acF +dmq dmq auc kRq @@ -117655,28 +118454,28 @@ abj aaa nmF aaa -bXU -bZj -cbb -cbb -cbb +aaa +cfW +sys +qXW +pTb ctY -cJe -cJe -cJe -mIo -cJe +qRl cNn -cJe +sJO +mIo +sJO +cNn +jbj rIP -cJe -cJe +pTb +qXW cJe cOm +okL cbb -cbb -cbb -cDx +acF +aaa dmq ubn fct @@ -117912,28 +118711,28 @@ bYJ tAi nmF abj -bXU -bZj -xVX -xVX -xVX -czw -xVX -xVX -pEz -qky -kxe -qky -kxe +aaa +cfW +sys +qXW +pTb +qXW +yhl +yde +yde +qXW +yde +yde +uMv qky tgK -xVX +qXW xVX czw -xVX -xVX -xVX -cDx +vAK +acF +acF +aaa dmq mmc jxZ @@ -118169,28 +118968,28 @@ abj fYS giK abj -bXU -bZk +vAK +vAK cbd -uzj -uzj -oqt +qXW +pTb +eeS wkY -cqN -igq +yde +yde +qXW +yde +yde +bhD cqQ -cqQ -czi -cqQ -cqQ -igq -cqN -mDy +xVX +qXW +xVX oqt -uzj -uzj -cDt -dCx +vAK +vAK +vAK +vAK dmq njt sat @@ -118426,26 +119225,26 @@ abj fYS acF pnY -bXU +vAK bZl -kxe -kxe -kxe -cBU -mLQ -ktd -abj -abj -acF -abj -acF -abj -abj -oJn -dUE +rNc +fGU +gXF +qXW +lEo +yde +yde +qXW +yde +yde +uMv +eEw +tgK +qXW +xVX cPK -kxe -kxe +oSw +jEI kxe cDv dmq @@ -118683,27 +119482,27 @@ qGf bZf fRW qYL -bXU +vAK bZm -cbe -cbb -uzj -uLm +cmC +hXA +jpT +hXA shz -dvU -abj -acF -acF -acF -acF -acF -abj -cjI -elW +ofS +aeg +lYt +hxb +koW +rty +cqQ +xVX +qXW +xVX vYi uzj -cbb -cDu +jEI +jEI dUG dmq wFV @@ -118940,27 +119739,27 @@ qGf bRT bUc aTl -bXU -bXU -bZl -cbb -uzj -xba -cbb -dvU -acF -acF -cwt -clp -cwv -acF -acF -cjI -cbb -qRT -uzj -cbb -cDv +vAK +gQp +cmC +hXA +hRs +qXW +fRT +yde +yde +qXW +yde +yde +ovt +eEw +tgK +qXW +xVX +cPK +puO +jEI +jEI bXU dmq wGs @@ -119197,28 +119996,28 @@ bUP bNX bUd tUL -bXU -bXU -bZl +vAK +dxf aRK -cda -uQp -shz -dQC -abj -acF -cjI -cpg +aRK +ulB +qXW +ftK +yde +yde +hAb +yde +yde dvU -acF -abj -coa -elW -dJa +cqQ +xVX +qXW +xVX +cPK cda -aRK -cDv -bXU +jEI +jEI +tnJ vMH cFR cFO @@ -119454,27 +120253,27 @@ nEq bRU bUe wOE -bXU -bXU -bZl -cbb -uzj -xba -cbb -dvU -acF -acF -cqO -cqQ -cwu -acF -acF -cjI -cbb -qRT -uzj -cbb -cDv +vAK +bSw +qXW +qXW +dqg +qXW +yhl +yde +yde +cuQ +yde +yde +ovt +eEw +tgK +qXW +xVX +cPK +puO +jEI +jEI bXU dmq cFS @@ -119711,28 +120510,28 @@ bUP lBJ bUf rjL -bXU +vAK bZn -cdb -cbb -uzj -uLm -shz -dvU -abj -acF -acF -acF -acF -acF -abj -cjI -elW -vYi -uzj -cbb -cDw -dUH +qXW +qXW +ejQ +ykZ +hhh +vCB +gvs +oGZ +rqB +vCB +dXu +cqQ +xVX +qXW +xVX +cPK +puO +jEI +jEI +bXU dmq cFT gXQ @@ -119968,28 +120767,28 @@ bgJ bgJ bgJ bgJ -bXU -bZl -xVX -xVX -xVX -jLP +vAK +ydu +qXW +qXW +xXE +hXA dUE ktd -abj -abj -acF -abj -acF -abj -abj -oJn +fEO +yfO +fOP +vQb +gHU +gew +xVX +qXW mLQ -izx -xVX -xVX -xVX -cDv +cPK +puO +jEI +jEI +bXU dmq gqB gXQ @@ -120225,27 +121024,27 @@ bWl bRV kPt fHs -bXU +vAK bZo -cbd -uzj -uzj -noJ -wkY -cqN +qXW +qXW +rwJ +qXW +qXW +qXW cwt -cwv +qXW +upu +mUd clp -cuQ -clp -cwt +qXW cwv -cqN +cOm mDy -oqt -uzj -uzj -cDt +cPK +wCr +jEI +jEI dUI dmq mTg @@ -120482,28 +121281,28 @@ bMh bjP sQA wrE -bXU -bZl -kxe -kxe -kxe -jgX -kxe -kxe -qFa -cxG -cbb +vAK +miJ +qXW +qXW +pNy +qXW +qXW +qXW +qXW +qXW +qXW xpf -cbb -cCg -cFL -kxe -kxe -jgX -kxe -kxe -kxe -cDv +clp +qXW +qXW +qXW +wqU +cPK +dXe +jEI +jEI +bDb dmq mAo gXQ @@ -120739,28 +121538,28 @@ bUq bRW bUi dYV -bXU +vAK cbc esw cgB -cbb +gjV cHt -cJe -cJe -erL +rDv +oQg +tfK mkB -cJe +bqo cuP -cJe +mZw cob erL -cJe -cJe -cPX -cbb -dqQ -hhD -dVy +qXW +xVX +cPK +qwa +jEI +jEI +bDb dmq cFV gXQ @@ -120971,11 +121770,11 @@ aYy bdo bgg fmZ -ban -ban -ban +wNH +jTs +jTs bmv -aOg +fch mYc jim vOG @@ -120996,28 +121795,28 @@ bQh bRX bUi bWm -bXU -bXU -jvn -bXU -cda -cbb -cbb -cbb -aYn -bvA -bvA +dCx +dCx +eMu +dCx +lvm +dCx +eMu +dCx +dCx +dCx +eMu puD -bvA -bvA +igv +dCx aYn -cbb -cbb -cbb -cda -bXU -tlz -bXU +qLu +tXU +cPK +qwa +jEI +jEI +hmw dmq mAo gXQ @@ -121220,15 +122019,15 @@ jVW rUU beJ beJ -beJ -beJ -rUU -bhk +olO +oyp +ogd +jTs fFX bkJ eFM jCk -eQM +jgX eQM mtk bmw @@ -121253,29 +122052,29 @@ bMk bRY bUk bWn -bXU +dCx bZp hLU -bXU -bXU -bvA -bvA -bvA -aYn +xMC +qut +pFI +jlW +kyv +dCx cmQ -cpi +mZq crd cpi -csp -aYn +dCx +dCx +weX bvA -bvA -bvA -bvA -bXU -uVM +cPK +qwa +jEI +jEI cDz -cHA +dmq cFW dWg hFW @@ -121477,9 +122276,9 @@ bau aYJ bau bau -bau +lCX aXG -bau +qgQ sGz fUf lKX @@ -121510,29 +122309,29 @@ bUl bRZ bUl bIq -bXU -fEo +dCx +bZp lbV -bXU +ish tFc -cib -cib -cib -aYn +qNa +qNa +jyw +tyi csq cod cpl cqR cmR -aYn +jMa +ixn cib -cib -cib -dWi -bXU -fiA +vYi +uzj jEI -cHA +jEI +jEI +dmq cFY vPS cIx @@ -121767,29 +122566,29 @@ erk mNB gNB bGz -bXU -bXU -lPV -bXU +dCx +bZp +lbV +hPY ceV -cic -cjL -cjP -idF +yaD +yaD +opN +dCx cmS -coe +cpm cpm cqS uLe -idF +eMu cic cjL cjP -ceV -bXU +oSw +jEI sYU -bQr -cHA +kEE +dmq cFY gXQ cIx @@ -122024,28 +122823,28 @@ qWx bSb bUn bGz -bXY -bZs -wVM -cde +dCx +dCx +eMu +dCx oxp -bzQ -cjM -cjQ -clr +dCx +eMu +dCx +dCx cmT cof cpn cqT cDG clr -cuU -cjM -bzQ -thU -cAD -jTH -cDE +wEE +wEE +wEE +vAK +vAK +vAK +vAK cHA cFY cHo @@ -122283,25 +123082,25 @@ bUo kfT bYc bZt -cbl -cuS +sRW +pyP ceX -cgJ +hGm cii -cgJ -cls +cjQ +clr cmU -cog -cpo +iAk +iAk cqU csu -cls -cgJ -cww +eMu cgJ +bzQ +bzQ czk -cuS -cCm +cDJ +cbo cdh cHA cFV @@ -122540,25 +123339,25 @@ bUp xxr cxE bZx -cbo +cDJ cDJ ceW cig qhJ cjS -bXU +dCx cmW -cpk -csm -csn +iAk +iAk +cqU csv -bXU +eMu cxL qhJ czp cAC cDJ -ahn +cbo kkn cHA mAo @@ -122797,24 +123596,24 @@ blH vPK cxE bZx -cbn cDJ -ceW +cDJ +pEK cih qhJ cwn -bXU -bXU -cpp +dCx +dCx +eMu cpq -cpp -bXU -bXU +igv +dCx +dCx cjT qhJ czr cAC -cDJ +cdk cbl cDD ceQ @@ -123059,12 +123858,12 @@ cDJ ceZ aHy uoV -cjU +gKm cmP cmO -coj cpr -cqW +cpr +hLq ctF cuW cjU @@ -123321,7 +124120,7 @@ cDJ cDJ cDJ cps -cDJ +cbi cDJ cDJ cDJ @@ -123569,7 +124368,7 @@ bYo bQr ont cbp -cgN +kiN bQe oBm rHt @@ -123578,7 +124377,7 @@ rHt oBm vDY cpt -cfb +kBS cgN cfb cgN @@ -123826,23 +124625,23 @@ cbR nEx wCn cbn -cdk +kJU cfe +fti +cuS +cuS cuS -cjN cuS -boA -coc oKH cpu -cDJ -cDJ +vLo +cuS ctG cuV -cDJ -cDJ +cuS +cuS ktl -cDJ +cqW cDJ cDJ cHA @@ -125636,7 +126435,7 @@ cot cpA crg csx -dmq +aYP cHA cHA cHA diff --git a/_maps/map_files/stations/metastation.dmm b/_maps/map_files/stations/metastation.dmm index 0fbcfecdbeb..46fedeb76d6 100644 --- a/_maps/map_files/stations/metastation.dmm +++ b/_maps/map_files/stations/metastation.dmm @@ -71,11 +71,6 @@ }, /turf/simulated/floor/plating, /area/station/engineering/atmos/distribution) -"aaT" = ( -/obj/effect/decal/cleanable/dirt, -/obj/effect/spawner/random/engineering/materials, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "aaX" = ( /obj/docking_port/stationary{ dheight = 9; @@ -315,6 +310,15 @@ "adY" = ( /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) +"aea" = ( +/obj/machinery/chem_master/condimaster{ + name = "CondiMaster Neo"; + pixel_x = -5 + }, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" + }, +/area/station/service/kitchen) "aeb" = ( /obj/structure/chair{ dir = 8 @@ -496,19 +500,14 @@ /turf/simulated/wall/mineral/titanium, /area/shuttle/pod_3) "afN" = ( -/obj/structure/table, -/obj/item/toy/figure/crew/botanist{ - pixel_x = 8 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 5 }, -/obj/item/toy/figure/crew/chef{ - pixel_x = -8 +/obj/structure/cable/extra_insulated{ + icon_state = "1-4" }, -/obj/item/toy/figure/crew/bartender{ - pixel_y = 11 - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "afT" = ( /obj/structure/table, /obj/item/reagent_containers/drinks/coffee{ @@ -688,6 +687,15 @@ "air" = ( /turf/simulated/floor/engine, /area/holodeck/alphadeck) +"aiA" = ( +/obj/machinery/door/airlock/maintenance{ + name = "Hydroponics Garden" + }, +/obj/effect/mapping_helpers/airlock/access/any/service/hydroponics, +/obj/effect/mapping_helpers/airlock/access/any/service/kitchen, +/obj/machinery/door/firedoor, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "aiF" = ( /obj/structure/chair/stool{ dir = 1 @@ -724,6 +732,22 @@ "aiY" = ( /turf/simulated/wall, /area/station/public/arcade) +"aja" = ( +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/machinery/door/firedoor, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard) "ajb" = ( /obj/item/kirbyplants/large/alien/alien6, /turf/simulated/floor/plasteel/dark, @@ -947,22 +971,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fore) -"alb" = ( -/obj/structure/cable/extra_insulated{ - icon_state = "1-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ - dir = 9; - level = 2 - }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "ald" = ( /obj/structure/window/reinforced{ dir = 1 @@ -1082,14 +1090,13 @@ }, /area/station/legal/lawoffice) "alI" = ( -/obj/machinery/icemachine, -/obj/machinery/firealarm/directional/east, -/obj/effect/turf_decal/trimline/neutral/filled/corner, -/obj/machinery/alarm/directional/north, +/obj/machinery/light/small{ + dir = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" }, -/area/station/service/kitchen/freezer) +/area/station/service/kitchen) "alQ" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel/white, @@ -1224,11 +1231,20 @@ /obj/effect/landmark/costume/random, /turf/simulated/floor/plating, /area/station/maintenance/fore) +"amN" = ( +/obj/machinery/light_switch{ + dir = 8; + name = "east bump"; + pixel_x = 24 + }, +/obj/effect/turf_decal/tiles/jobs/bar/checker, +/turf/simulated/floor/plasteel, +/area/station/service/bar) "amV" = ( /obj/structure/disposalpipe/segment{ dir = 4 }, -/obj/structure/sink/directional/south, +/obj/machinery/firealarm/directional/south, /obj/effect/turf_decal/tiles/department/virology/side{ dir = 0 }, @@ -2224,7 +2240,12 @@ /turf/simulated/floor/plasteel/dark, /area/station/public/fitness) "auO" = ( -/obj/machinery/atmospherics/unary/vent_pump/on, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -2457,6 +2478,12 @@ }, /turf/simulated/floor/plasteel, /area/station/public/fitness) +"awt" = ( +/obj/structure/cable{ + icon_state = "1-2" + }, +/turf/simulated/floor/plating, +/area/station/maintenance/engimaint) "awu" = ( /obj/machinery/atmospherics/unary/tank/air{ dir = 1 @@ -2548,6 +2575,18 @@ /obj/machinery/firealarm/directional/north, /turf/simulated/floor/plasteel/dark, /area/station/public/locker) +"axa" = ( +/obj/structure/table/reinforced, +/obj/item/stack/sheet/metal/ten, +/obj/item/rpd, +/obj/machinery/light{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "axb" = ( /obj/structure/closet, /obj/effect/spawner/random/maintenance, @@ -2830,24 +2869,17 @@ /turf/simulated/floor/plasteel, /area/station/public/dorms) "azp" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 8 - }, -/obj/machinery/light/small{ - dir = 4 - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/obj/structure/reagent_dispensers/watertank, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "azu" = ( /obj/structure/closet/firecloset, /obj/effect/spawner/random/maintenance, /turf/simulated/floor/plating, /area/station/maintenance/fore) "azy" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 +/obj/machinery/light/small{ + dir = 8 }, /turf/simulated/floor/wood, /area/station/service/bar) @@ -3209,8 +3241,6 @@ /obj/machinery/light/small{ dir = 1 }, -/obj/structure/reagent_dispensers/watertank, -/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "aCd" = ( @@ -3408,7 +3438,7 @@ icon_state = "1-2" }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aDk" = ( /obj/structure/window/reinforced{ dir = 8 @@ -3527,18 +3557,11 @@ /turf/simulated/floor/plating, /area/station/command/bridge) "aDL" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line, -/obj/structure/cable/yellow{ - icon_state = "2-8" - }, -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aDP" = ( /obj/structure/rack, /obj/effect/spawner/random/maintenance, @@ -3882,7 +3905,7 @@ /area/station/maintenance/fsmaint) "aFR" = ( /turf/simulated/wall, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aFT" = ( /obj/machinery/light/small, /turf/simulated/floor/wood, @@ -3890,7 +3913,7 @@ "aFY" = ( /obj/machinery/atmospherics/pipe/simple/visible, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aFZ" = ( /obj/effect/turf_decal/delivery/hollow, /obj/structure/closet/firecloset/full, @@ -4316,14 +4339,15 @@ /turf/simulated/floor/mineral/tranquillite, /area/station/service/mime) "aIr" = ( -/obj/effect/turf_decal/trimline/neutral/filled/warning{ - dir = 1 +/obj/item/radio/intercom{ + name = "north bump"; + pixel_y = 28 }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard/east) +/area/station/hallway/primary/starboard/north) "aIs" = ( /obj/structure/chair/office/dark{ dir = 4 @@ -4641,17 +4665,11 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore/north) "aJt" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/green{ - dir = 1 - }, -/obj/machinery/light{ - dir = 1 - }, -/obj/effect/turf_decal/stripes/line{ +/obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aJv" = ( /obj/item/radio/intercom/department/security{ pixel_x = 28 @@ -4806,14 +4824,11 @@ /turf/simulated/floor/plasteel/dark, /area/station/engineering/hardsuitstorage) "aJW" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 10 - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 8 +/obj/machinery/atmospherics/pipe/simple/visible/universal{ + dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aJY" = ( /obj/effect/mapping_helpers/turfs/damage, /obj/structure/closet/crate/freezer, @@ -4869,6 +4884,22 @@ "aKB" = ( /turf/simulated/wall, /area/station/service/clown) +"aKC" = ( +/obj/structure/table, +/obj/item/stack/cable_coil{ + pixel_x = -3; + pixel_y = 3 + }, +/obj/item/stack/cable_coil, +/obj/item/stock_parts/cell/high{ + charge = 100; + maxcharge = 15000 + }, +/obj/machinery/light/small{ + dir = 4 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "aKD" = ( /obj/machinery/camera{ c_tag = "Fore Primary Hallway Cells" @@ -5121,18 +5152,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) -"aLx" = ( -/obj/structure/cable{ - icon_state = "2-8" - }, -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "aLy" = ( /obj/machinery/keycard_auth{ pixel_x = 24 @@ -5144,12 +5163,13 @@ /area/station/public/construction) "aLC" = ( /obj/machinery/alarm/directional/west, -/obj/effect/mapping_helpers/turfs/damage, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/light/small{ - dir = 8 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/obj/effect/mapping_helpers/turfs/damage, /turf/simulated/floor/wood, /area/station/service/bar) "aLD" = ( @@ -5166,17 +5186,15 @@ /turf/simulated/floor/plasteel/dark, /area/station/procedure/trainer_office) "aLE" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 8 - }, -/obj/structure/cable{ - icon_state = "1-2" +/obj/structure/table/reinforced, +/obj/item/geiger_counter, +/obj/item/flashlight, +/obj/machinery/camera{ + c_tag = "Engine West"; + dir = 5 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aLK" = ( /obj/structure/cable{ icon_state = "4-8" @@ -5214,17 +5232,6 @@ icon_state = "cult" }, /area/station/legal/magistrate) -"aLN" = ( -/obj/machinery/atmospherics/binary/pump{ - dir = 8; - name = "Mix Bypass" - }, -/obj/effect/turf_decal/stripes/line, -/obj/structure/cable/yellow{ - icon_state = "2-8" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "aLR" = ( /obj/structure/cable, /obj/effect/turf_decal/delivery/hollow, @@ -5428,15 +5435,9 @@ /turf/simulated/floor/plasteel, /area/station/security/warden) "aMQ" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, +/obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aMR" = ( /obj/machinery/light{ dir = 8 @@ -5446,16 +5447,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/engine_foyer) -"aMU" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 6 - }, -/obj/structure/cable/yellow{ - icon_state = "2-4" - }, -/obj/effect/turf_decal/stripes/corner, -/turf/simulated/floor/engine, -/area/station/engineering/control) "aMX" = ( /obj/structure/cable{ icon_state = "2-8" @@ -5624,16 +5615,10 @@ /turf/simulated/floor/plasteel, /area/station/supply/lobby) "aNR" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ - dir = 6 +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" }, -/obj/structure/cable/extra_insulated{ - icon_state = "2-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 - }, -/turf/simulated/floor/plating, /area/station/maintenance/starboard) "aNS" = ( /obj/machinery/field/generator{ @@ -5682,14 +5667,7 @@ /obj/machinery/door/firedoor, /obj/effect/mapping_helpers/airlock/access/all/engineering/engine, /turf/simulated/floor/engine, -/area/station/engineering/control) -"aOd" = ( -/turf/simulated/floor/plating, -/area/station/engineering/control) -"aOe" = ( -/obj/machinery/atmospherics/pipe/simple/visible/universal, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "aOg" = ( /obj/machinery/computer/security/telescreen/engine{ dir = 8; @@ -5736,10 +5714,6 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/research) -"aOz" = ( -/mob/living/basic/chicken/clucky, -/turf/simulated/floor/grass, -/area/station/service/pasture) "aOA" = ( /turf/simulated/wall, /area/station/public/storage/tools) @@ -5846,18 +5820,10 @@ /turf/simulated/floor/wood, /area/station/public/mrchangs) "aPa" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ - dir = 8; - initialize_directions = 11 - }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, +/obj/machinery/atmospherics/pipe/manifold4w/visible/cyan, +/obj/machinery/atmospherics/meter, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aPh" = ( /obj/structure/reagent_dispensers/fueltank, /obj/effect/turf_decal/delivery/hollow, @@ -5905,55 +5871,48 @@ /turf/simulated/floor/carpet/arcade, /area/station/public/arcade) "aPs" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ - dir = 8; - initialize_directions = 11 +/obj/machinery/atmospherics/pipe/simple/visible/cyan, +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 5 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"aPt" = ( +/obj/effect/turf_decal/trimline/misc/toxins/filled/shrink_cw{ + dir = 4 }, /obj/structure/cable/yellow{ icon_state = "1-2" }, -/obj/machinery/door_control{ - id = "engsm"; - name = "Radiation Shutters Control"; - pixel_x = 24; - req_access = list(32) - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) -"aPt" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 4 - }, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) -"aPu" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 4 }, -/obj/structure/cable{ - icon_state = "2-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/obj/structure/cable{ - icon_state = "1-8" +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/control) -"aPv" = ( -/obj/machinery/atmospherics/meter, -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 9 +/area/station/engineering/engine/reactor) +"aPu" = ( +/obj/structure/cable{ + icon_state = "4-8" }, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "aPz" = ( /obj/machinery/light/small{ dir = 1 @@ -6196,48 +6155,44 @@ /turf/simulated/floor/plasteel, /area/station/engineering/engine_foyer) "aRa" = ( -/obj/machinery/atmospherics/pipe/simple/visible/supply{ - dir = 6 - }, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) -"aRc" = ( -/obj/structure/cable{ - icon_state = "1-8" - }, -/obj/effect/turf_decal/stripes/line{ +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/obj/effect/turf_decal/caution{ +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/obj/structure/cable/yellow{ + icon_state = "1-8" + }, +/obj/structure/cable/yellow{ + icon_state = "1-4" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"aRc" = ( +/obj/machinery/atmospherics/binary/pump{ + dir = 4; + name = "Gas Intake" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"aRe" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw{ dir = 8 }, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) -"aRe" = ( -/obj/machinery/atmospherics/pipe/simple/visible/red, -/obj/effect/turf_decal/stripes/red, -/turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aRf" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 - }, +/obj/machinery/power/reactor_power, +/obj/structure/cable/yellow, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) -"aRg" = ( -/obj/machinery/atmospherics/meter, -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ - dir = 8; - initialize_directions = 11 - }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aRi" = ( /obj/effect/turf_decal/caution/stand_clear{ dir = 4 @@ -6260,14 +6215,16 @@ /turf/simulated/floor/plasteel, /area/station/supply/storage) "aRs" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/visible/supply{ - dir = 10 +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/effect/turf_decal/trimline/misc/toxins/line, +/obj/structure/cable/yellow{ + icon_state = "4-8" }, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "aRt" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 8 @@ -6285,11 +6242,14 @@ /area/station/security/prisonlockers) "aRy" = ( /obj/structure/table, +/obj/item/kitchen/rollingpin, +/obj/item/reagent_containers/glass/beaker{ + pixel_x = 5 + }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, /obj/effect/turf_decal/tiles/dark/checker, -/obj/item/kitchen/rollingpin, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) "aRA" = ( @@ -6454,15 +6414,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/engine_foyer) -"aSo" = ( -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) -"aSp" = ( -/obj/structure/reflector/box{ - dir = 8 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "aSq" = ( /turf/simulated/wall/mineral/titanium, /area/shuttle/pod_1) @@ -6652,33 +6603,6 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) -"aTJ" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan, -/obj/machinery/light{ - dir = 4 - }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/structure/disaster_counter/supermatter{ - pixel_x = 32 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) -"aTK" = ( -/obj/structure/window/plasmareinforced, -/obj/machinery/power/rad_collector{ - anchored = 1 - }, -/obj/structure/cable/yellow, -/obj/machinery/atmospherics/pipe/manifold/visible/supply{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "aTQ" = ( /obj/effect/map_effect/dynamic_airlock/door/exterior, /obj/machinery/door/airlock/external/glass, @@ -6686,18 +6610,23 @@ /turf/simulated/floor/plasteel/dark/airless, /area/station/hallway/secondary/entry/west) "aTR" = ( -/obj/machinery/atmospherics/pipe/simple/visible/green{ +/obj/effect/turf_decal/trimline/misc/toxins/filled/shrink_ccw{ dir = 4 }, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable/yellow{ + icon_state = "1-8" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "aTT" = ( /turf/simulated/floor/plasteel, /area/station/public/storage/tools) "aTV" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on, +/obj/machinery/atmospherics/unary/reactor_gas_node/output, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "aTW" = ( /obj/effect/landmark/start/librarian, /obj/structure/chair/office/dark{ @@ -6822,18 +6751,15 @@ "aUy" = ( /obj/structure/table, /obj/item/storage/bag/dice, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, /obj/structure/cable{ icon_state = "4-8" }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 1 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 1 - }, -/obj/structure/cable{ - icon_state = "2-8" - }, /turf/simulated/floor/plasteel, /area/station/public/locker) "aUC" = ( @@ -6952,6 +6878,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, +/obj/item/tank/internals/emergency_oxygen/engi, /turf/simulated/floor/plasteel, /area/station/engineering/engine_foyer) "aUT" = ( @@ -7078,20 +7005,18 @@ /turf/simulated/floor/plasteel/dark, /area/station/public/locker) "aVs" = ( -/obj/machinery/atmospherics/binary/pump/on{ - name = "Gas to Filter" +/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ + dir = 8; + initialize_directions = 11 }, -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/machinery/computer/fission_monitor{ + dir = 8 }, -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line{ +/obj/effect/turf_decal/trimline/misc/toxins/line{ dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aVA" = ( /obj/structure/bookcase{ name = "bookcase (Misc)" @@ -7420,7 +7345,6 @@ /area/station/supply/office) "aXm" = ( /obj/structure/closet/wardrobe/white, -/obj/machinery/firealarm/directional/south, /obj/effect/turf_decal/tiles/neutral/corner, /turf/simulated/floor/plasteel, /area/station/public/locker) @@ -7459,15 +7383,11 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) "aXs" = ( -/obj/machinery/atmospherics/trinary/filter/flipped, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 +/obj/machinery/atmospherics/binary/valve{ + name = "Hot Loop - Cold Loop Bridge Valve" }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "aXt" = ( /obj/machinery/light{ dir = 1 @@ -7666,11 +7586,6 @@ /obj/effect/turf_decal/tiles/neutral/corner, /turf/simulated/floor/plasteel, /area/station/public/locker) -"aYP" = ( -/obj/effect/decal/cleanable/dirt, -/obj/structure/reagent_dispensers/fueltank, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "aYQ" = ( /obj/structure/cable{ icon_state = "1-2" @@ -7812,12 +7727,10 @@ /area/station/hallway/primary/central/south) "aZK" = ( /obj/structure/cable{ - icon_state = "4-8" + icon_state = "0-4" }, -/obj/effect/turf_decal/trimline/department/command/line{ - dir = 8 - }, -/turf/simulated/floor/plasteel/dark, +/obj/effect/spawner/window/reinforced/grilled, +/turf/simulated/floor/plating, /area/station/engineering/tech_storage) "aZM" = ( /obj/machinery/door/firedoor, @@ -7980,19 +7893,6 @@ "bam" = ( /turf/simulated/wall/r_wall, /area/station/command/office/ce) -"bao" = ( -/obj/machinery/atmospherics/pipe/simple/visible/green{ - dir = 5; - initialize_directions = 12 - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 4 - }, -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "bau" = ( /obj/structure/table/wood, /obj/item/clothing/mask/cigarette/cigar, @@ -8083,10 +7983,6 @@ /obj/effect/spawner/random/trash, /turf/simulated/floor/plating, /area/station/maintenance/aft) -"bbe" = ( -/obj/machinery/atmospherics/refill_station/oxygen, -/turf/simulated/floor/catwalk, -/area/station/hallway/primary/starboard/east) "bbg" = ( /obj/structure/closet/firecloset, /turf/simulated/floor/plasteel/dark, @@ -8163,14 +8059,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/se) -"bbv" = ( -/obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/pipe/simple/hidden/cyan, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "bbx" = ( /obj/machinery/door/airlock/highsecurity{ name = "Secure Tech Storage" @@ -8210,28 +8098,27 @@ /turf/simulated/floor/plasteel/dark, /area/station/hallway/primary/central/north) "bbC" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line, +/obj/machinery/light, +/obj/effect/turf_decal/stripes/corner, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "bbD" = ( -/obj/machinery/economy/vending/coffee, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, /turf/simulated/floor/plasteel/dark, /area/station/hallway/primary/central/north) "bbE" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 4 +/obj/structure/table/reinforced, +/obj/item/razor, +/obj/item/eftpos, +/obj/structure/mirror{ + dir = 4; + pixel_x = 28 }, -/obj/structure/sign/monkey_paint{ - pixel_y = -32 - }, -/turf/simulated/floor/wood, -/area/station/service/bar) +/obj/effect/turf_decal/tiles/department/medical/checker, +/turf/simulated/floor/plasteel/white, +/area/station/service/barber) "bbH" = ( /turf/simulated/wall, /area/station/engineering/tech_storage) @@ -8309,13 +8196,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore/west) -"bcj" = ( -/obj/structure/table/reinforced, -/obj/item/razor, -/obj/item/eftpos, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/barber) "bcq" = ( /obj/structure/closet/secure_closet/engineering_electrical, /obj/machinery/light_switch{ @@ -8344,6 +8224,16 @@ }, /turf/simulated/floor/mineral/titanium/blue, /area/shuttle/arrival/station) +"bcx" = ( +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/door/firedoor, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "bcC" = ( /obj/item/radio/intercom{ name = "south bump"; @@ -8447,15 +8337,6 @@ /obj/machinery/newscaster/directional/north, /turf/simulated/floor/wood, /area/station/maintenance/abandonedbar) -"bcP" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/tiles/neutral/corner, -/turf/simulated/floor/plasteel, -/area/station/public/locker) "bcV" = ( /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, @@ -8546,20 +8427,6 @@ /obj/structure/table/wood, /turf/simulated/floor/plasteel/dark, /area/station/service/chapel) -"bds" = ( -/obj/structure/closet/secure_closet/hydroponics, -/obj/effect/turf_decal/trimline/department/service/filled/warning{ - dir = 9 - }, -/turf/simulated/floor/plasteel, -/area/station/service/hydroponics) -"bdt" = ( -/obj/machinery/door/airlock/public/glass, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/machinery/door/firedoor, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/barber) "bdu" = ( /obj/structure/showcase{ density = 0; @@ -8571,13 +8438,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/turret_protected/ai) -"bdv" = ( -/obj/effect/spawner/random/dirt/often, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "bdw" = ( /obj/structure/cable{ icon_state = "1-2" @@ -8585,12 +8445,16 @@ /turf/simulated/floor/plasteel/dark, /area/station/turret_protected/ai) "bdx" = ( -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/machinery/atmospherics/unary/vent_scrubber/on, -/turf/simulated/floor/plasteel/white/grid, -/area/station/service/kitchen/freezer) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" + }, +/area/station/service/kitchen) "bdy" = ( /obj/machinery/power/apc/directional/west, /obj/structure/cable{ @@ -8709,14 +8573,12 @@ /turf/simulated/floor/plasteel/dark, /area/station/science/robotics) "bdW" = ( -/obj/structure/chair/barber, -/obj/structure/mirror{ - dir = 4; - pixel_y = -32 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/barber) +/obj/effect/turf_decal/tiles/neutral, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "bdZ" = ( /obj/machinery/atmospherics/pipe/simple/heat_exchanging{ dir = 10 @@ -8920,8 +8782,8 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 10 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/north) @@ -8929,6 +8791,9 @@ /obj/machinery/light{ dir = 4 }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, /obj/effect/turf_decal/tiles/neutral/corner{ dir = 4 }, @@ -8964,13 +8829,12 @@ /turf/simulated/floor/plasteel/dark, /area/station/engineering/tech_storage) "beG" = ( -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" +/obj/structure/cable{ + icon_state = "2-8" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "beH" = ( /obj/structure/sign/double/map/left{ desc = "A framed picture of the station. Clockwise from security at the top (red), you see engineering (yellow), science (purple), escape (red and white), medbay (green), arrivals (blue and white), and finally cargo (brown)."; @@ -9155,16 +9019,11 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry/lounge) "bfp" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 + dir = 10 }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/barber) +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "bfr" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 6 @@ -9371,57 +9230,61 @@ "bgm" = ( /obj/structure/rack, /obj/effect/spawner/random/tech_storage/silicon, -/obj/effect/turf_decal/trimline/department/command/line{ - dir = 5 - }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/tech_storage) -"bgn" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, -/turf/simulated/floor/grass, -/area/station/service/pasture) -"bgo" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/cyan, -/obj/effect/spawner/random/dirt/often, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "bgq" = ( /obj/structure/rack, /obj/effect/spawner/random/tech_storage/supply, /turf/simulated/floor/plasteel/dark, /area/station/engineering/tech_storage) "bgr" = ( -/obj/effect/spawner/random/dirt/frequent, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/structure/rack, +/obj/item/storage/toolbox/electrical{ + pixel_x = 1; + pixel_y = -1 + }, +/obj/item/clothing/gloves/color/yellow, +/obj/item/t_scanner, +/obj/item/multitool, +/obj/item/clothing/glasses/meson, +/obj/machinery/light_switch{ + dir = 1; + name = "custom placement"; + pixel_x = 6; + pixel_y = -24 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "bgs" = ( -/obj/structure/cable/extra_insulated{ +/obj/structure/cable{ icon_state = "1-2" }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/effect/spawner/random/dirt/frequent, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "bgt" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/machinery/light/small{ - dir = 4 +/obj/structure/table, +/obj/item/analyzer{ + pixel_y = -5 }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/item/flash{ + pixel_x = -2; + pixel_y = 16 + }, +/obj/item/flashlight{ + pixel_x = 2; + pixel_y = 17 + }, +/obj/item/flash{ + pixel_x = -6; + pixel_y = 13 + }, +/obj/item/flashlight{ + pixel_x = 2; + pixel_y = 9 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "bgu" = ( /obj/machinery/door_control{ id = "transittube"; @@ -9480,12 +9343,6 @@ /obj/effect/turf_decal/tiles/department/science, /turf/simulated/floor/plasteel/dark, /area/station/hallway/primary/starboard/east) -"bgO" = ( -/obj/effect/turf_decal/tiles/department/virology/corner{ - dir = 4 - }, -/turf/simulated/floor/plasteel, -/area/station/service/hydroponics) "bgQ" = ( /obj/structure/window/reinforced{ dir = 4 @@ -9534,11 +9391,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/nw) -"bhd" = ( -/obj/structure/closet/crate, -/obj/effect/spawner/random/maintenance, -/turf/simulated/floor/plasteel, -/area/station/maintenance/starboard) "bhe" = ( /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, @@ -9675,20 +9527,15 @@ /obj/structure/cable{ icon_state = "4-8" }, -/obj/effect/spawner/random/tech_storage/silicon, -/obj/effect/turf_decal/trimline/department/command/line{ +/obj/effect/spawner/random/tech_storage/comms, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) +"bhJ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/tech_storage) -"bhJ" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, -/obj/effect/mapping_helpers/turfs/damage, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "bhK" = ( /obj/structure/chair/stool{ dir = 8 @@ -9700,28 +9547,22 @@ /turf/simulated/floor/wood, /area/station/service/cafeteria) "bhL" = ( -/obj/effect/spawner/window/reinforced/grilled, -/obj/structure/cable/extra_insulated{ - icon_state = "0-4" - }, -/turf/simulated/floor/plating, -/area/station/engineering/tech_storage) -"bhM" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/structure/cable/extra_insulated{ +/obj/machinery/hologram/holopad, +/obj/structure/cable{ icon_state = "4-8" }, -/obj/structure/closet/crate, -/obj/effect/spawner/random/maintenance, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) -"bhQ" = ( -/obj/machinery/light/small{ - dir = 8 +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) +"bhM" = ( +/obj/effect/landmark/spawner/xeno, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 }, -/obj/machinery/hydroponics/soil, -/turf/simulated/floor/grass, -/area/station/service/pasture) +/obj/structure/cable{ + icon_state = "1-8" + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "bhU" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -9760,8 +9601,11 @@ /turf/simulated/floor/plasteel/dark, /area/station/turret_protected/ai) "bia" = ( -/obj/effect/spawner/random/fungus/maybe, -/turf/simulated/wall, +/obj/structure/cable{ + icon_state = "0-4" + }, +/obj/machinery/power/apc/directional/west, +/turf/simulated/floor/plasteel/dark, /area/station/engineering/tech_storage) "bib" = ( /obj/structure/table/glass, @@ -9770,6 +9614,13 @@ /obj/effect/turf_decal/tiles/department/science/side, /turf/simulated/floor/plasteel/dark, /area/station/maintenance/medmaint) +"bic" = ( +/obj/machinery/atmospherics/binary/pump{ + name = "Cooling Loop Bypass"; + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "bid" = ( /obj/machinery/alarm/directional/east, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -9777,16 +9628,6 @@ }, /turf/simulated/floor/bluegrid, /area/station/turret_protected/ai) -"bie" = ( -/obj/structure/window/reinforced{ - dir = 4 - }, -/obj/structure/closet/secure_closet/personal{ - pixel_x = -1 - }, -/obj/machinery/light/small, -/turf/simulated/floor/plasteel/white/full, -/area/station/service/kitchen/freezer) "bif" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 @@ -10092,6 +9933,7 @@ /obj/structure/rack, /obj/item/apc_electronics, /obj/item/airlock_electronics, +/obj/effect/spawner/random/maintenance, /obj/effect/turf_decal/tiles/department/engineering/side, /turf/simulated/floor/plasteel, /area/station/public/storage/tools/auxiliary) @@ -10110,10 +9952,7 @@ /area/station/public/storage/tools/auxiliary) "bjv" = ( /obj/structure/rack, -/obj/effect/spawner/random/tech_storage/silicon, -/obj/effect/turf_decal/trimline/department/command/line{ - dir = 6 - }, +/obj/effect/spawner/random/tech_storage/rnd, /turf/simulated/floor/plasteel/dark, /area/station/engineering/tech_storage) "bjw" = ( @@ -10126,24 +9965,6 @@ /obj/machinery/economy/vending/assist/free, /turf/simulated/floor/plasteel/dark, /area/station/engineering/tech_storage) -"bjy" = ( -/obj/structure/cable/extra_insulated{ - icon_state = "2-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) -"bjz" = ( -/obj/structure/rack, -/obj/effect/spawner/random/tech_storage/robotics, -/obj/machinery/requests_console/directional/north, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) "bjA" = ( /obj/machinery/light, /obj/effect/turf_decal/tiles/neutral/corner, @@ -10158,13 +9979,15 @@ /turf/simulated/floor/plasteel/dark, /area/station/engineering/tech_storage) "bjC" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/structure/shelf, -/obj/effect/spawner/random/maintenance, -/obj/effect/spawner/random/bureaucracy, -/obj/effect/spawner/random/book, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/structure/table, +/obj/machinery/cell_charger, +/obj/machinery/alarm/directional/east, +/obj/item/stock_parts/cell/high{ + charge = 100; + maxcharge = 15000 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "bjD" = ( /obj/structure/extinguisher_cabinet{ name = "south bump"; @@ -10459,34 +10282,27 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/ne) "blm" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock/engineering, +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, /obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/mapping_helpers/airlock/access/all/engineering/tech_storage, +/obj/machinery/door/firedoor, +/obj/structure/cable/extra_insulated{ + icon_state = "1-2" + }, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) +"blq" = ( +/obj/machinery/door/firedoor, /obj/structure/cable{ icon_state = "1-2" }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/door/airlock/engineering, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/all/engineering/tech_storage, /turf/simulated/floor/plasteel/dark, /area/station/engineering/tech_storage) -"blo" = ( -/obj/structure/table, -/obj/effect/spawner/random/food_trash, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) -"blq" = ( -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/door/airlock/maintenance, -/obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/spawner/random/dirt/frequent, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "blr" = ( /obj/machinery/atmospherics/pipe/simple/visible/purple, /obj/effect/turf_decal/tiles/dark/corner{ @@ -10508,9 +10324,11 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) "blx" = ( -/obj/structure/table, +/obj/machinery/newscaster/directional/south, +/obj/machinery/chem_master/condimaster{ + name = "CondiMaster Neo" + }, /obj/effect/turf_decal/tiles/dark/checker, -/obj/item/storage/bag/tray, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) "bly" = ( @@ -10635,6 +10453,7 @@ /obj/item/clothing/gloves/color/fyellow, /obj/item/clothing/suit/storage/hazardvest, /obj/item/multitool, +/obj/effect/spawner/random/maintenance, /obj/machinery/light_switch{ dir = 4; name = "west bump"; @@ -10804,14 +10623,10 @@ /turf/simulated/floor/plasteel/dark, /area/station/command/office/ce) "bmQ" = ( -/obj/structure/rack, -/obj/machinery/camera{ - c_tag = "Starboard Primary Hallway - Auxiliary Tool Storage"; - dir = 1 - }, -/obj/effect/spawner/random/tech_storage/medical, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) +/obj/effect/decal/cleanable/dirt, +/obj/structure/closet/emcloset, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "bmU" = ( /obj/structure/table/wood, /obj/item/storage/photo_album{ @@ -10891,13 +10706,6 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/ne) -"bnc" = ( -/obj/structure/closet/secure_closet/hydroponics, -/obj/effect/turf_decal/trimline/department/service/filled/warning{ - dir = 1 - }, -/turf/simulated/floor/plasteel, -/area/station/service/hydroponics) "bnd" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/public/glass, @@ -10921,6 +10729,7 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard) "bnh" = ( +/obj/machinery/firealarm/directional/north, /obj/machinery/light{ dir = 1 }, @@ -10933,6 +10742,7 @@ /obj/machinery/camera{ c_tag = "Starboard Primary Hallway - Auxiliary Tool Storage" }, +/obj/machinery/alarm/directional/north, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -10950,19 +10760,19 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/sw) "bnn" = ( -/obj/effect/turf_decal/trimline/neutral/filled/corner{ - dir = 4 +/obj/machinery/alarm/directional/north, +/obj/machinery/light{ + dir = 1 }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard/east) +/area/station/hallway/primary/starboard/north) "bnp" = ( -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" +/obj/structure/sign/securearea{ + pixel_y = 32 }, -/obj/machinery/firealarm/directional/north, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -11047,12 +10857,6 @@ /obj/machinery/atmospherics/refill_station/plasma, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) -"bnJ" = ( -/obj/machinery/light, -/obj/structure/closet/wardrobe/white, -/obj/effect/turf_decal/tiles/neutral/corner, -/turf/simulated/floor/plasteel, -/area/station/public/locker) "bnK" = ( /obj/machinery/light/small, /obj/machinery/camera{ @@ -11354,16 +11158,6 @@ /obj/machinery/porta_turret, /turf/simulated/floor/bluegrid, /area/station/turret_protected/ai_upload) -"boX" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/effect/turf_decal/tiles/jobs/bar/checker, -/turf/simulated/floor/plasteel, -/area/station/service/bar) "boY" = ( /obj/structure/cable{ icon_state = "4-8" @@ -11379,29 +11173,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard) -"bpb" = ( -/obj/machinery/navbeacon{ - codes_txt = "delivery"; - dir = 8; - location = "Kitchen" - }, -/obj/machinery/door/window/classic/normal{ - name = "Kitchen Delivery"; - dir = 4 - }, -/obj/effect/mapping_helpers/airlock/windoor/access/any/supply/mule_bot{ - dir = 4 - }, -/obj/effect/mapping_helpers/airlock/windoor/access/any/service/kitchen{ - dir = 4 - }, -/obj/structure/plasticflaps{ - opacity = 1 - }, -/obj/machinery/door/firedoor, -/obj/effect/turf_decal/delivery/hollow, -/turf/simulated/floor/plasteel, -/area/station/service/pasture) "bpc" = ( /obj/structure/cable{ icon_state = "1-2" @@ -11421,22 +11192,19 @@ /turf/simulated/floor/plasteel/dark, /area/station/turret_protected/ai) "bpj" = ( +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 4 + }, /obj/structure/cable{ icon_state = "2-8" }, -/obj/machinery/light{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 - }, -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 4 - }, /obj/effect/turf_decal/tiles/department/medical/corner, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 4 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "bpn" = ( @@ -11696,33 +11464,45 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard) "bqB" = ( -/obj/machinery/light{ - dir = 1 - }, +/obj/machinery/firealarm/directional/north, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/east) "bqC" = ( -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 9 - }, /obj/effect/turf_decal/tiles/department/medical/corner{ dir = 1 }, +/obj/effect/turf_decal/tiles/department/virology/checker{ + dir = 1 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "bqD" = ( -/obj/machinery/firealarm/directional/south, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, /obj/effect/turf_decal/tiles/department/security/corner, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard) +/area/station/hallway/primary/starboard/north) "bqE" = ( -/obj/machinery/light, +/obj/machinery/firealarm/directional/south, +/obj/machinery/camera{ + c_tag = "Starboard Primary Hallway - Tech Storage"; + dir = 1 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, /obj/effect/turf_decal/tiles/department/security/corner, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard/east) +/area/station/hallway/primary/starboard/north) "bqG" = ( /obj/effect/turf_decal/stripes/line, /obj/effect/turf_decal/siding, @@ -11738,9 +11518,6 @@ pixel_x = -32; pixel_y = -32 }, -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 8 }, @@ -11845,6 +11622,11 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/turret_protected/ai) +"bro" = ( +/obj/machinery/firealarm/directional/south, +/obj/effect/turf_decal/tiles/neutral/corner, +/turf/simulated/floor/plasteel, +/area/station/public/locker) "brq" = ( /obj/structure/closet, /turf/simulated/floor/plating, @@ -12029,7 +11811,7 @@ "bsw" = ( /obj/machinery/atmospherics/pipe/manifold/visible, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "bsA" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/cable{ @@ -12284,7 +12066,6 @@ name = "north bump"; pixel_y = 28 }, -/obj/machinery/computer/sm_monitor, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, @@ -12297,6 +12078,7 @@ /obj/effect/turf_decal/tiles/department/command/side{ dir = 1 }, +/obj/machinery/computer/fission_monitor, /turf/simulated/floor/plasteel/dark, /area/station/command/bridge) "btZ" = ( @@ -12531,13 +12313,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/starboard) -"buz" = ( -/obj/effect/spawner/window/reinforced/grilled, -/obj/structure/cable{ - icon_state = "0-8" - }, -/turf/simulated/floor/plating, -/area/station/engineering/tech_storage) "buB" = ( /obj/effect/turf_decal/stripes/line{ dir = 4 @@ -12592,18 +12367,16 @@ /turf/simulated/floor/plasteel/dark, /area/station/command/bridge) "buH" = ( -/obj/machinery/camera{ - c_tag = "Bar Storage" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-8" }, -/turf/simulated/floor/wood, -/area/station/service/bar) -"buI" = ( -/obj/machinery/light/small{ - dir = 8 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 }, -/obj/effect/spawner/random/dirt/often, -/turf/simulated/floor/plasteel, -/area/station/maintenance/starboard) +/obj/effect/turf_decal/tiles/department/medical/checker, +/turf/simulated/floor/plasteel/white, +/area/station/service/barber) "buN" = ( /obj/structure/window/reinforced{ dir = 8 @@ -12656,9 +12429,14 @@ name = "south bump"; pixel_y = -30 }, -/obj/effect/turf_decal/tiles/department/security/corner, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/tiles/department/engineering/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard/east) +/area/station/hallway/primary/starboard/north) "buX" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, /obj/effect/turf_decal/tiles/department/command/corner{ @@ -13175,13 +12953,6 @@ "bwM" = ( /turf/space, /area/space/nearstation) -"bwO" = ( -/obj/structure/closet/secure_closet/hydroponics, -/obj/effect/turf_decal/trimline/department/service/filled/warning{ - dir = 5 - }, -/turf/simulated/floor/plasteel, -/area/station/service/hydroponics) "bwP" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/disposalpipe/segment, @@ -13189,12 +12960,16 @@ /turf/simulated/floor/plating, /area/station/maintenance/starboard2) "bwR" = ( -/obj/item/storage/secure/safe{ - pixel_y = -32; - pixel_x = 5 +/obj/structure/chair/barber{ + dir = 4 }, -/turf/simulated/floor/wood, -/area/station/service/bar) +/obj/machinery/alarm/directional/south, +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 1 + }, +/obj/effect/turf_decal/tiles/department/medical/checker, +/turf/simulated/floor/plasteel/white, +/area/station/service/barber) "bwS" = ( /obj/machinery/door/firedoor, /obj/effect/turf_decal/tiles/department/security/corner, @@ -13385,14 +13160,6 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/supply, /turf/simulated/floor/plasteel/dark, /area/station/turret_protected/aisat/interior) -"bxA" = ( -/obj/machinery/camera{ - c_tag = "Engineering - Laser Room Aft"; - dir = 1; - network = list("SS13","Engineering","engine") - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "bxB" = ( /obj/structure/cable{ icon_state = "4-8" @@ -13429,10 +13196,25 @@ /turf/simulated/floor/wood, /area/station/service/bar) "bxI" = ( -/obj/structure/reagent_dispensers/beerkeg, -/obj/structure/table/wood, -/turf/simulated/floor/wood, -/area/station/service/bar) +/obj/machinery/light_switch{ + dir = 4; + name = "custom placement"; + pixel_x = -24; + pixel_y = -8 + }, +/obj/item/radio/intercom{ + name = "west bump"; + pixel_x = -28 + }, +/obj/structure/cable{ + icon_state = "2-4" + }, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 + }, +/obj/effect/turf_decal/tiles/department/medical/checker, +/turf/simulated/floor/plasteel/white, +/area/station/service/barber) "bxN" = ( /obj/machinery/atmospherics/binary/valve/open, /turf/simulated/floor/plating, @@ -13762,8 +13544,18 @@ dir = 9 }, /obj/structure/closet/radiation, +/obj/machinery/airlock_controller/access_controller{ + name = "Supermatter Access Console"; + pixel_y = -25; + ext_door_link_id = "atmossm_door_ext"; + int_door_link_id = "atmossm_door_int"; + ext_button_link_id = "atmossm_btn_ext"; + int_button_link_id = "atmossm_btn_int"; + req_one_access = list(10,24); + pixel_x = 6 + }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "bze" = ( /obj/machinery/ai_slipper, /obj/structure/cable{ @@ -13867,6 +13659,14 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/aisat) +"bzq" = ( +/obj/machinery/atmospherics/pipe/simple/heat_exchanging, +/obj/structure/lattice/catwalk, +/obj/structure/sign/radiation/rad_area{ + pixel_x = -32 + }, +/turf/space, +/area/space/nearstation) "bzs" = ( /obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel, @@ -13876,6 +13676,23 @@ /obj/item/reagent_containers/drinks/bottle/beer, /turf/simulated/floor/plating, /area/station/maintenance/apmaint) +"bzE" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/moderator/heavy_water{ + pixel_y = 6 + }, +/obj/item/nuclear_rod/moderator/heavy_water{ + pixel_y = 3; + pixel_x = 2 + }, +/obj/item/nuclear_rod/moderator/heavy_water{ + pixel_y = 1; + pixel_x = 5 + }, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "bzG" = ( /obj/effect/mapping_helpers/turfs/damage, /obj/structure/cable{ @@ -14122,8 +13939,11 @@ /turf/simulated/floor/plasteel/dark, /area/station/turret_protected/aisat/interior) "bAB" = ( -/turf/simulated/wall, -/area/station/service/break_room) +/obj/structure/table/wood, +/obj/machinery/bottler, +/obj/structure/sign/poster/random/directional/south, +/turf/simulated/floor/wood, +/area/station/service/bar) "bAK" = ( /obj/structure/disposalpipe/segment, /obj/effect/turf_decal/tiles/department/medical/corner{ @@ -14296,12 +14116,15 @@ /turf/simulated/floor/plating/airless, /area/station/maintenance/port) "bBF" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/obj/item/tank/internals/plasma/full, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/visible/green, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "bBO" = ( /obj/structure/window/reinforced{ dir = 4 @@ -14617,9 +14440,6 @@ /obj/machinery/status_display{ pixel_y = 32 }, -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 4 - }, /obj/effect/turf_decal/tiles/jobs/bar/checker, /turf/simulated/floor/plasteel, /area/station/service/bar) @@ -14989,11 +14809,10 @@ /turf/simulated/floor/wood, /area/station/service/bar) "bEG" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 - }, -/turf/simulated/floor/grass, -/area/station/service/pasture) +/obj/structure/rack, +/obj/item/storage/box/donkpockets, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "bEO" = ( /obj/structure/closet/emcloset, /obj/machinery/light{ @@ -15237,6 +15056,15 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/wood, /area/station/service/bar) +"bGj" = ( +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/structure/cable{ + icon_state = "2-4" + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "bGl" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -15536,16 +15364,21 @@ /turf/simulated/floor/plasteel, /area/station/service/bar) "bHR" = ( -/obj/structure/table, -/obj/item/eftpos/register, -/obj/item/wrench, +/obj/machinery/door_control{ + id = "kitchen_counter"; + name = "Kitchen Counter Shutters"; + pixel_x = -6; + pixel_y = 24; + req_access = list(28) + }, +/obj/machinery/cooking/deepfryer, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) "bHS" = ( -/obj/machinery/economy/vending/dinnerware, -/obj/machinery/light{ - dir = 4 +/obj/structure/closet/secure_closet/freezer/kitchen, +/obj/machinery/camera{ + c_tag = "Kitchen - Aft" }, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, @@ -15574,21 +15407,18 @@ /turf/simulated/floor/plasteel, /area/station/service/bar) "bHW" = ( -/obj/effect/spawner/window/reinforced, -/turf/simulated/floor/plating, -/area/station/service/pasture) +/obj/machinery/camera{ + c_tag = "Hydroponics Pasture" + }, +/obj/effect/turf_decal/delivery, +/obj/effect/turf_decal/tiles/department/virology, +/turf/simulated/floor/plasteel/dark, +/area/station/service/hydroponics) "bHX" = ( -/obj/machinery/hydroponics/soil, -/obj/machinery/light/small{ - dir = 8 - }, -/turf/simulated/floor/grass, -/area/station/service/pasture) -"bHY" = ( -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, -/turf/simulated/floor/plating, +/obj/machinery/atmospherics/pipe/simple/hidden, +/obj/item/shard, +/obj/effect/spawner/random/trash, +/turf/simulated/floor/bluegrid, /area/station/maintenance/starboard) "bHZ" = ( /obj/effect/decal/cleanable/dirt, @@ -16060,28 +15890,26 @@ /area/station/hallway/primary/central/east) "bJM" = ( /obj/machinery/light, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 + }, +/obj/effect/turf_decal/tiles/jobs/bar/checker, +/turf/simulated/floor/plasteel, +/area/station/service/bar) +"bJO" = ( /obj/machinery/chem_master/condimaster{ name = "HoochMaster Deluxe" }, /obj/effect/turf_decal/tiles/jobs/bar/checker, /turf/simulated/floor/plasteel, /area/station/service/bar) -"bJO" = ( -/obj/machinery/light_switch{ - dir = 1; - name = "south bump"; - pixel_y = -35 - }, -/obj/effect/turf_decal/delivery, -/obj/effect/turf_decal/tiles/jobs/bar/checker, -/turf/simulated/floor/plasteel, -/area/station/service/bar) "bJP" = ( -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/atmospherics/unary/thermomachine/freezer/on{ + dir = 1; + name = "euthanization chamber freezer" }, -/turf/simulated/floor/grass, -/area/station/service/pasture) +/turf/simulated/floor/bluespace, +/area/station/maintenance/starboard) "bJR" = ( /obj/machinery/firealarm/directional/east, /obj/machinery/atmospherics/unary/vent_scrubber/on{ @@ -16092,7 +15920,7 @@ "bJW" = ( /obj/structure/dispenser, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "bKi" = ( /obj/machinery/light/small{ dir = 4 @@ -16187,6 +16015,18 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/aisat) +"bKr" = ( +/obj/item/weldingtool, +/obj/structure/rack{ + dir = 1 + }, +/obj/item/clothing/head/welding, +/obj/structure/sign/poster/official/random/directional/east, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "bKv" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 4 @@ -16708,20 +16548,17 @@ /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "bNB" = ( -/obj/structure/sink/directional/west, -/turf/simulated/floor/plasteel, +/obj/machinery/hydroponics/soil, +/obj/machinery/firealarm/directional/west, +/turf/simulated/floor/grass, /area/station/service/hydroponics) "bNC" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 - }, -/obj/effect/turf_decal/tiles/department/virology/side{ +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/effect/turf_decal/tiles/department/medical/corner, +/obj/effect/turf_decal/tiles/department/virology/corner{ dir = 4 }, -/obj/effect/turf_decal/tiles/department/medical/corner, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "bND" = ( @@ -16770,10 +16607,6 @@ icon_state = "solarpanel" }, /area/station/engineering/solar/aft_starboard) -"bNK" = ( -/obj/effect/spawner/random/dirt/often, -/turf/simulated/floor/plasteel, -/area/station/maintenance/starboard) "bNM" = ( /obj/machinery/door/firedoor, /obj/effect/turf_decal/delivery, @@ -16870,14 +16703,11 @@ /area/station/service/library) "bOy" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, -/obj/machinery/camera{ - c_tag = "Kitchen Freezer" - }, -/obj/structure/closet/secure_closet/freezer/meat, +/obj/structure/sink/kitchen/directional/north, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" }, -/area/station/service/kitchen/freezer) +/area/station/service/kitchen) "bOA" = ( /turf/simulated/floor/greengrid, /area/station/turret_protected/ai_upload) @@ -16938,21 +16768,20 @@ /turf/simulated/floor/engine/vacuum, /area/station/engineering/atmos) "bOP" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 - }, -/obj/effect/spawner/random/dirt/often, -/obj/structure/cable/extra_insulated{ - icon_state = "2-4" - }, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 }, /obj/machinery/atmospherics/pipe/manifold/hidden/cyan{ + dir = 1 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 8 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 +/obj/structure/cable/extra_insulated{ + icon_state = "2-8" }, /turf/simulated/floor/plating, /area/station/maintenance/starboard) @@ -17030,27 +16859,18 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/spacehut) "bPg" = ( -/obj/structure/cable{ - icon_state = "4-8" +/obj/effect/decal/cleanable/dirt, +/obj/machinery/light/small{ + dir = 1 }, -/obj/structure/cable{ - icon_state = "2-8" +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 - }, -/turf/simulated/floor/grass, -/area/station/service/pasture) +/area/station/maintenance/starboard) "bPh" = ( -/obj/structure/cable{ - icon_state = "1-8" - }, -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 8 - }, -/obj/effect/turf_decal/tiles/department/virology, -/turf/simulated/floor/plasteel/dark, -/area/station/service/pasture) +/obj/structure/kitchenspike, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "bPi" = ( /obj/structure/extinguisher_cabinet{ name = "west bump"; @@ -17143,6 +16963,12 @@ /obj/item/reagent_containers/drinks/bottle/ale, /turf/simulated/floor/wood, /area/station/maintenance/abandonedbar) +"bPD" = ( +/obj/machinery/atmospherics/binary/pump{ + name = "Port to Cooling Loop" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "bPE" = ( /turf/simulated/floor/engine/n20, /area/station/engineering/atmos) @@ -17152,12 +16978,13 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "bPO" = ( -/obj/structure/extinguisher_cabinet{ - name = "north bump"; - pixel_y = 30 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/obj/machinery/economy/vending/hydrodrobe, -/turf/simulated/floor/plasteel, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/grass, /area/station/service/hydroponics) "bPP" = ( /obj/machinery/light/small, @@ -17176,6 +17003,15 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/command/teleporter) +"bPW" = ( +/obj/machinery/economy/vending/coffee, +/obj/effect/turf_decal/delivery/hollow, +/obj/effect/turf_decal/tiles/department/engineering/side{ + dir = 1 + }, +/obj/structure/sign/poster/official/random/directional/north, +/turf/simulated/floor/plasteel, +/area/station/engineering/break_room) "bPX" = ( /obj/machinery/light, /obj/machinery/atmospherics/unary/vent_scrubber/on{ @@ -17291,14 +17127,9 @@ /turf/simulated/floor/wood, /area/station/command/office/ntrep) "bQC" = ( -/obj/machinery/requests_console/directional/west, /obj/structure/table, -/obj/item/stack/sheet/wood{ - amount = 30 - }, -/obj/item/storage/box/donkpockets, -/obj/item/stack/package_wrap, -/obj/item/stack/package_wrap, +/obj/machinery/requests_console/directional/west, +/obj/machinery/cooking/stovetop, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -17336,7 +17167,8 @@ /area/station/service/kitchen) "bQJ" = ( /obj/structure/table, -/obj/machinery/cooking/grill/loaded, +/obj/item/reagent_containers/cooking/board, +/obj/item/kitchen/knife, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -17351,18 +17183,13 @@ /turf/simulated/floor/plasteel, /area/station/hallway/supply/aft) "bQQ" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/machinery/light/small{ + dir = 8 }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "4-8" +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" }, -/obj/structure/cable{ - icon_state = "1-8" - }, -/turf/simulated/floor/plasteel/white/grid, -/area/station/service/kitchen/freezer) +/area/station/service/kitchen) "bQR" = ( /obj/structure/cable{ icon_state = "4-8" @@ -17381,41 +17208,15 @@ location = "13.1-Engineering-Enter" }, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard/east) -"bQS" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 - }, -/obj/effect/turf_decal/trimline/neutral/filled/warning{ - dir = 4 - }, -/turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" - }, -/area/station/service/kitchen/freezer) +/area/station/hallway/primary/starboard/north) "bQT" = ( -/obj/machinery/light/small{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/obj/structure/cable{ - icon_state = "1-8" +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 }, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" }, -/area/station/service/kitchen/freezer) +/area/station/service/kitchen) "bQV" = ( /obj/machinery/atmospherics/unary/cryo_cell, /turf/simulated/floor/plasteel/dark, @@ -17689,20 +17490,11 @@ /turf/simulated/floor/plasteel, /area/station/ai_monitored/storage/eva) "bSj" = ( -/obj/structure/cable{ - icon_state = "4-8" +/obj/effect/landmark/spawner/xeno, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" }, -/obj/machinery/door/window/classic/reversed{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 1 - }, -/turf/simulated/floor/plasteel/white/grid, -/area/station/service/kitchen/freezer) +/area/station/service/kitchen) "bSk" = ( /obj/structure/cable{ icon_state = "1-4" @@ -17748,7 +17540,7 @@ /area/station/hallway/secondary/bridge) "bSt" = ( /obj/machinery/light, -/obj/machinery/cooking/deepfryer/loaded, +/obj/machinery/economy/vending/chefdrobe, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -17766,8 +17558,16 @@ /turf/space, /area/station/engineering/solar/aft_port) "bSx" = ( -/obj/machinery/smartfridge/foodcart, -/obj/machinery/firealarm/directional/south, +/obj/machinery/cooking/ice_cream_mixer, +/obj/machinery/light_switch{ + dir = 1; + name = "custom placement"; + pixel_x = 6; + pixel_y = -24 + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -17780,15 +17580,19 @@ /turf/simulated/floor/plasteel/dark, /area/station/hallway/primary/central/west) "bSB" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock{ - name = "Bar Office" +/obj/structure/table, +/obj/item/clipboard{ + pixel_x = 4 }, -/obj/effect/mapping_helpers/airlock/access/any/service/kitchen, -/obj/effect/mapping_helpers/airlock/access/any/service/hydroponics, -/obj/effect/mapping_helpers/airlock/autoname, -/turf/simulated/floor/plating, -/area/station/service/pasture) +/obj/item/folder/yellow{ + pixel_x = 4; + pixel_y = 4 + }, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" + }, +/area/station/maintenance/starboard) "bSD" = ( /obj/machinery/economy/vending/medical, /obj/effect/turf_decal/tiles/department/command/side, @@ -17855,14 +17659,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/south) -"bTd" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 4 - }, -/obj/machinery/alarm/directional/west, -/obj/effect/turf_decal/tiles/department/virology, -/turf/simulated/floor/plasteel/dark, -/area/station/service/pasture) "bTe" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -17953,11 +17749,11 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/west) "bTD" = ( +/obj/machinery/economy/vending/dinnerware, /obj/structure/cable{ icon_state = "0-4" }, /obj/machinery/power/apc/directional/west, -/obj/machinery/cooking/oven/loaded, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -18002,9 +17798,14 @@ /turf/simulated/floor/carpet, /area/station/science/robotics/showroom) "bTP" = ( -/mob/living/basic/cow/betsy, -/turf/simulated/floor/grass, -/area/station/service/pasture) +/obj/effect/decal/cleanable/dirt, +/obj/structure/table, +/obj/item/paper_bin, +/obj/item/pen, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" + }, +/area/station/maintenance/starboard) "bTR" = ( /obj/machinery/newscaster/security_unit/directional/west, /obj/machinery/photocopier, @@ -18039,42 +17840,19 @@ /turf/simulated/floor/plating, /area/station/maintenance/port) "bUi" = ( -/obj/effect/landmark/spawner/xeno, -/obj/effect/turf_decal/trimline/neutral/filled/corner{ - dir = 1 - }, +/obj/machinery/gibber, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" }, -/area/station/service/kitchen/freezer) -"bUj" = ( -/obj/machinery/navbeacon{ - codes_txt = "delivery"; - dir = 8; - location = "Bar" - }, -/obj/structure/plasticflaps{ - opacity = 1 - }, -/obj/effect/turf_decal/delivery/hollow, -/obj/machinery/door/window/classic/reversed{ - dir = 4; - name = "Bar Delivery" - }, -/obj/effect/mapping_helpers/airlock/windoor/access/any/supply/mule_bot{ - dir = 4 - }, -/obj/effect/mapping_helpers/airlock/windoor/access/any/service/bar{ - dir = 4 - }, -/turf/simulated/floor/plating, -/area/station/service/pasture) +/area/station/service/kitchen) "bUl" = ( -/obj/machinery/light/small{ - dir = 4 +/obj/structure/closet/crate/freezer, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" }, -/turf/simulated/floor/grass, -/area/station/service/pasture) +/area/station/maintenance/starboard) "bUs" = ( /obj/effect/turf_decal/tiles/neutral/corner{ dir = 4 @@ -18276,25 +18054,12 @@ /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) "bVA" = ( -/obj/machinery/door/airlock/public/glass{ - name = "Hydroponics Pasture" +/obj/machinery/hydroponics/soil, +/obj/machinery/light{ + dir = 1 }, -/obj/effect/mapping_helpers/airlock/access/any/service/hydroponics, -/obj/machinery/door/firedoor, -/obj/effect/mapping_helpers/airlock/autoname, -/turf/simulated/floor/plasteel, -/area/station/service/pasture) -"bVB" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/cyan, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/effect/spawner/random/dirt/often, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) +/turf/simulated/floor/grass, +/area/station/service/hydroponics) "bVC" = ( /obj/structure/table, /obj/item/radio, @@ -18635,12 +18400,7 @@ /area/station/command/office/ntrep) "bXb" = ( /obj/machinery/plantgenes, -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 1 - }, -/obj/effect/turf_decal/tiles/department/medical/corner{ - dir = 1 - }, +/obj/effect/turf_decal/stripes/line, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "bXi" = ( @@ -18659,57 +18419,56 @@ /turf/simulated/floor/plasteel/white, /area/station/science/research) "bXl" = ( -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 5 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 }, /obj/effect/turf_decal/tiles/department/medical/checker, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 4 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "bXn" = ( -/obj/item/reagent_containers/spray/plantbgone{ - pixel_x = 2; - pixel_y = 6 - }, -/obj/item/reagent_containers/spray/plantbgone{ - pixel_x = 7; - pixel_y = 3 - }, -/obj/item/reagent_containers/spray/plantbgone{ - pixel_x = -6; - pixel_y = 1 - }, -/obj/item/watertank, -/obj/item/grenade/chem_grenade/antiweed, -/obj/structure/shelf/service, -/obj/machinery/light/small{ - dir = 1 - }, -/turf/simulated/floor/plasteel, -/area/station/service/hydroponics) -"bXo" = ( -/obj/structure/table, -/obj/item/hand_labeler, -/obj/machinery/light/small{ - dir = 1 - }, -/obj/structure/window/reinforced{ +/obj/structure/flora/ausbushes/ywflowers, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/item/pen{ - pixel_x = -4; - pixel_y = 4 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/turf/simulated/floor/plasteel/white/full, -/area/station/service/kitchen/freezer) -"bXq" = ( -/obj/structure/sign/poster/official/random/directional/east, -/obj/structure/reagent_dispensers/watertank/high, -/obj/item/reagent_containers/glass/bucket, -/obj/effect/turf_decal/trimline/department/medbay/filled/line{ - dir = 9 - }, -/turf/simulated/floor/plasteel, +/turf/simulated/floor/grass, /area/station/service/hydroponics) +"bXo" = ( +/obj/machinery/icemachine, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" + }, +/area/station/service/kitchen) +"bXq" = ( +/obj/machinery/navbeacon{ + codes_txt = "delivery"; + dir = 1; + location = "Hydroponics" + }, +/obj/machinery/door/window/classic/reversed{ + dir = 4; + name = "Botany Delivery" + }, +/obj/effect/mapping_helpers/airlock/windoor/access/any/supply/mule_bot{ + dir = 4 + }, +/obj/effect/mapping_helpers/airlock/windoor/access/any/service/hydroponics{ + dir = 4 + }, +/obj/structure/plasticflaps{ + opacity = 1 + }, +/obj/machinery/door/firedoor, +/turf/simulated/floor/plasteel, +/area/station/maintenance/starboard) "bXt" = ( /obj/structure/bookcase{ name = "bookcase (Fiction)" @@ -18973,11 +18732,6 @@ /obj/effect/turf_decal/delivery/hollow, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) -"bYB" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/machinery/light/small, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "bYC" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/cyan, @@ -19208,8 +18962,14 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/south) "caw" = ( -/obj/effect/spawner/random/dirt/often, -/obj/structure/grille/broken, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan, +/obj/structure/cable/extra_insulated{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, /turf/simulated/floor/plating, /area/station/maintenance/starboard) "cax" = ( @@ -19338,11 +19098,17 @@ /area/station/hallway/primary/central/south) "caS" = ( /obj/machinery/door/firedoor, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, /obj/machinery/door/airlock{ name = "Hydroponics Backroom" }, /obj/effect/mapping_helpers/airlock/access/all/service/hydroponics, -/obj/effect/spawner/random/dirt/often, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "caW" = ( @@ -19572,15 +19338,10 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/se) "cbX" = ( -/obj/machinery/alarm/directional/north, -/obj/structure/chair/sofa/corp/corner{ - dir = 4 - }, -/obj/effect/spawner/random/dirt/frequent, -/obj/effect/landmark/start/bartender, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/obj/structure/sign/poster/random/directional/north, +/obj/machinery/economy/vending/bardrobe, +/turf/simulated/floor/wood, +/area/station/service/bar) "cbY" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -19699,19 +19460,10 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/virology) "ccu" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line, -/obj/machinery/atmospherics/binary/pump{ - dir = 1; - name = "Atmos to Loop" - }, +/obj/machinery/atmospherics/pipe/simple/visible/yellow, +/obj/machinery/atmospherics/meter, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "ccz" = ( /obj/structure/cable{ icon_state = "1-2" @@ -19790,8 +19542,10 @@ /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 }, -/obj/effect/turf_decal/tiles/department/virology/side, /obj/effect/turf_decal/tiles/department/medical/corner, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "cdi" = ( @@ -19803,12 +19557,14 @@ /turf/simulated/floor/plasteel/white, /area/station/science/research) "cdk" = ( -/obj/effect/spawner/random/dirt/often, -/obj/effect/turf_decal/stripes/line{ - dir = 8 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "cdl" = ( /obj/machinery/disposal, /obj/structure/disposalpipe/trunk, @@ -20092,9 +19848,6 @@ /obj/structure/closet/emcloset, /turf/simulated/floor/plating, /area/station/maintenance/apmaint) -"cex" = ( -/turf/space, -/area/station/engineering/tech_storage) "ceF" = ( /turf/simulated/wall/r_wall, /area/station/engineering/atmos/control) @@ -20112,10 +19865,11 @@ /turf/simulated/floor/plasteel/dark, /area/station/service/chapel/office) "ceP" = ( -/obj/effect/spawner/random/dirt/often, -/obj/structure/reagent_dispensers/watertank/firetank, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) +/obj/effect/turf_decal/delivery, +/obj/structure/sink/directional/west, +/obj/machinery/light/small, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "ceS" = ( /obj/vehicle/ambulance{ dir = 1 @@ -20580,13 +20334,11 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/east) -"chk" = ( -/obj/effect/spawner/random/oil/maybe, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "chm" = ( -/obj/effect/turf_decal/tiles/department/virology/side, /obj/effect/turf_decal/tiles/department/medical/corner, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "chn" = ( @@ -21164,8 +20916,10 @@ /area/station/maintenance/port) "cjZ" = ( /obj/machinery/alarm/directional/south, -/obj/effect/turf_decal/tiles/department/virology/side, /obj/effect/turf_decal/tiles/department/medical/corner, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "cka" = ( @@ -21219,20 +20973,6 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/cryo) -"ckg" = ( -/obj/machinery/atmospherics/binary/pump{ - dir = 4; - name = "Gas to Chamber" - }, -/obj/machinery/power/apc/critical/directional/north{ - shock_proof = 1 - }, -/obj/structure/cable{ - icon_state = "0-2" - }, -/obj/effect/turf_decal/stripes/corner, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "cko" = ( /obj/structure/lattice, /obj/structure/window/reinforced{ @@ -21333,6 +21073,25 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/smes) +"ckY" = ( +/obj/structure/table/wood, +/obj/item/stack/package_wrap{ + pixel_x = 2; + pixel_y = -3 + }, +/obj/item/stack/package_wrap, +/obj/item/stack/package_wrap{ + pixel_x = -3; + pixel_y = 5 + }, +/obj/item/gun/projectile/revolver/doublebarrel{ + pixel_x = 6; + pixel_y = 5 + }, +/obj/item/eftpos, +/obj/machinery/firealarm/directional/west, +/turf/simulated/floor/wood, +/area/station/service/bar) "ckZ" = ( /obj/effect/landmark/start/assistant, /turf/simulated/floor/plasteel/white, @@ -21374,8 +21133,11 @@ /area/station/medical/morgue) "cll" = ( /obj/structure/sign/poster/random/directional/south, -/obj/effect/turf_decal/tiles/department/virology/side, +/obj/effect/spawner/random/maintenance, /obj/effect/turf_decal/tiles/department/medical/corner, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "clm" = ( @@ -21869,9 +21631,9 @@ /turf/simulated/floor/grass/no_creep, /area/station/medical/virology) "con" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "coo" = ( /turf/simulated/wall, /area/station/medical/reception) @@ -22917,6 +22679,10 @@ /obj/structure/closet/secure_closet/personal/patient, /turf/simulated/floor/plasteel/white, /area/station/medical/virology) +"ctz" = ( +/obj/effect/spawner/random/barrier/grille_maybe, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "ctH" = ( /obj/machinery/atmospherics/pipe/simple/hidden{ dir = 4 @@ -23724,8 +23490,7 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/virology) "cxo" = ( -/obj/effect/spawner/random/dirt/often, -/obj/effect/spawner/random/blood/often, +/obj/structure/grille/broken, /turf/simulated/floor/plating, /area/station/maintenance/starboard) "cxp" = ( @@ -23921,10 +23686,6 @@ /obj/structure/sign/fire, /turf/simulated/wall/r_wall, /area/station/maintenance/turbine) -"cyv" = ( -/obj/machinery/atmospherics/refill_station/plasma, -/turf/simulated/floor/catwalk, -/area/station/hallway/primary/starboard/east) "cyx" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/chair/stool, @@ -24690,6 +24451,13 @@ /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, /area/station/medical/reception) +"cCg" = ( +/obj/machinery/door/airlock/freezer, +/obj/effect/mapping_helpers/airlock/access/any/service/kitchen, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" + }, +/area/station/service/kitchen) "cCh" = ( /obj/structure/table/glass, /obj/item/storage/toolbox/emergency{ @@ -24757,18 +24525,22 @@ /obj/structure/cable{ icon_state = "4-8" }, -/obj/machinery/door/firedoor, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ +/obj/structure/disposalpipe/segment{ dir = 4 }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard) +/area/station/hallway/primary/starboard/north) +"cCw" = ( +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 8 + }, +/obj/effect/spawner/random/trash, +/turf/simulated/floor/bluegrid, +/area/station/maintenance/starboard) "cCy" = ( /obj/effect/turf_decal/delivery, /turf/simulated/floor/plasteel, @@ -25337,6 +25109,10 @@ }, /turf/simulated/floor/mech_bay_recharge_floor, /area/station/science/robotics/chargebay) +"cFo" = ( +/obj/machinery/shower/directional/west, +/turf/simulated/floor/noslip, +/area/station/engineering/engine/reactor) "cFs" = ( /obj/structure/chair/sofa/right{ color = "#A30FAF"; @@ -25385,11 +25161,6 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/virology) -"cFG" = ( -/obj/machinery/firealarm/directional/east, -/obj/machinery/hydroponics/soil, -/turf/simulated/floor/grass, -/area/station/service/pasture) "cFH" = ( /obj/structure/table, /obj/item/ai_module/nanotrasen, @@ -25572,20 +25343,11 @@ /turf/simulated/wall/r_wall, /area/station/maintenance/apmaint) "cGq" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 8 - }, -/obj/effect/turf_decal/trimline/neutral/filled/warning{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" }, -/area/station/service/kitchen/freezer) +/area/station/service/kitchen) "cGs" = ( /obj/structure/table/reinforced, /obj/machinery/alarm/directional/south, @@ -26263,8 +26025,13 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/paramedic) "cJS" = ( -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) +/obj/structure/cable/extra_insulated{ + icon_state = "1-2" + }, +/obj/effect/decal/cleanable/dirt, +/obj/effect/turf_decal/tiles/neutral, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "cJT" = ( /obj/machinery/power/apc/directional/east, /obj/structure/cable{ @@ -26889,9 +26656,6 @@ /area/station/hallway/primary/aft/south) "cMY" = ( /obj/machinery/alarm/directional/north, -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -26901,10 +26665,11 @@ /turf/simulated/floor/plasteel/dark, /area/station/medical/surgery/observation) "cNc" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/cyan, -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/light/small{ + dir = 8 }, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan, /obj/structure/cable/extra_insulated{ icon_state = "1-2" }, @@ -27221,6 +26986,13 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/research) +"cPa" = ( +/obj/structure/closet/secure_closet/hydroponics, +/obj/effect/turf_decal/stripes/line{ + dir = 10 + }, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "cPc" = ( /turf/simulated/wall, /area/station/maintenance/asmaint) @@ -27826,6 +27598,13 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/carpet/green, /area/station/maintenance/abandonedbar) +"cTg" = ( +/obj/machinery/atmospherics/binary/pump{ + name = "Cooling Loop"; + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "cTk" = ( /obj/effect/decal/remains/human{ desc = "This guy seemed to have died in terrible way! Half his remains are dust."; @@ -28226,6 +28005,13 @@ "cVk" = ( /turf/simulated/wall, /area/station/hallway/secondary/exit) +"cVl" = ( +/obj/effect/landmark/start/botanist, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "cVm" = ( /obj/effect/turf_decal/stripes/line, /obj/effect/turf_decal/stripes/line{ @@ -28864,7 +28650,7 @@ /area/station/medical/surgery/primary) "cZi" = ( /obj/structure/closet/emcloset, -/obj/effect/spawner/random/maintenance, +/obj/effect/spawner/random/trash, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "cZo" = ( @@ -28916,6 +28702,18 @@ /mob/living/carbon/human/monkey, /turf/simulated/floor/grass/no_creep, /area/station/medical/virology) +"cZy" = ( +/obj/structure/table, +/obj/item/plant_analyzer{ + pixel_x = -4; + pixel_y = 4 + }, +/obj/machinery/firealarm/directional/south, +/obj/item/healthanalyzer{ + pixel_x = 6 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "cZz" = ( /obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, /obj/effect/mapping_helpers/airlock/autoname, @@ -28938,15 +28736,12 @@ /turf/simulated/floor/plating, /area/station/maintenance/solar_maintenance/aft_starboard) "cZD" = ( -/obj/structure/table, -/obj/item/ashtray/glass, -/obj/machinery/light_switch{ - pixel_y = 24; - name = "north bump" - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/obj/effect/decal/cleanable/dirt, +/obj/structure/closet/emcloset, +/obj/effect/spawner/random/maintenance, +/obj/machinery/firealarm/directional/north, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "cZY" = ( /turf/simulated/floor/mech_bay_recharge_floor, /area/station/maintenance/starboard2) @@ -29357,11 +29152,6 @@ }, /turf/simulated/floor/plasteel/white, /area/station/maintenance/asmaint) -"dcx" = ( -/obj/structure/reagent_dispensers/watertank, -/obj/effect/spawner/random/cobweb/right/frequent, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "dcC" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/spawner/random/barrier/grille_maybe, @@ -29533,19 +29323,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/medical/surgery/secondary) -"dea" = ( -/obj/machinery/atmospherics/pipe/simple/visible/green{ - dir = 4 - }, -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/obj/machinery/atmospherics/meter, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "ded" = ( /obj/machinery/economy/vending/cigarette, /obj/effect/turf_decal/woodsiding, @@ -29730,9 +29507,15 @@ /turf/simulated/floor/plasteel, /area/station/security/permabrig) "dfg" = ( -/obj/effect/mapping_helpers/turfs/rust/probably, -/turf/simulated/wall, -/area/station/service/break_room) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/effect/spawner/random/oil/maybe, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "dfl" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -30055,10 +29838,16 @@ /turf/simulated/floor/plasteel, /area/station/security/prison/cell_block/a) "dia" = ( -/obj/machinery/atmospherics/unary/vent_pump/on, -/obj/effect/landmark/spawner/xeno, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, +/obj/effect/turf_decal/tiles/neutral, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "did" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/public/glass, @@ -30129,15 +29918,12 @@ /turf/simulated/floor/plasteel/dark, /area/station/service/chapel/funeral) "djk" = ( -/obj/effect/turf_decal/stripes/line{ +/obj/machinery/atmospherics/pipe/simple/visible/cyan, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/machinery/atmospherics/binary/valve{ - dir = 1; - name = "Output to Waste" - }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "djx" = ( /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, @@ -30320,10 +30106,6 @@ /obj/machinery/power/electrolyzer, /turf/simulated/floor/plasteel/dark, /area/station/engineering/atmos/control) -"dmO" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "dmT" = ( /obj/structure/flora/ausbushes/ywflowers, /obj/machinery/light/small{ @@ -30355,10 +30137,11 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/ne) "dnm" = ( -/obj/machinery/power/apc/directional/east, -/obj/structure/cable, -/turf/simulated/floor/grass, -/area/station/service/pasture) +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "dnq" = ( /obj/structure/sign/double/map/right{ desc = "A framed picture of the station. Clockwise from security in red at the top, you see engineering in yellow, science in purple, escape in checkered red-and-white, medbay in green, arrivals in checkered red-and-blue, and then cargo in brown."; @@ -30389,7 +30172,7 @@ /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 4 }, -/obj/item/kitchen/knife, +/obj/item/storage/bag/tray, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -30564,31 +30347,40 @@ /turf/simulated/floor/plating, /area/station/maintenance/starboard2) "dqm" = ( -/obj/machinery/atmospherics/pipe/simple/visible/scrubbers{ - dir = 9 +/obj/effect/turf_decal/trimline/misc/toxins/filled/shrink_cw{ + dir = 1 }, -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "dqs" = ( -/obj/effect/turf_decal/stripes/line{ +/obj/structure/rack{ + dir = 1 + }, +/obj/item/grenade/nuclear_starter{ + pixel_y = 7; + pixel_x = -3 + }, +/obj/item/grenade/nuclear_starter{ + pixel_y = 4 + }, +/obj/item/grenade/nuclear_starter{ + pixel_x = 3 + }, +/obj/structure/disaster_counter/reactor{ + pixel_x = -32; + layer = 3.3 + }, +/obj/effect/turf_decal/stripes/red/line{ dir = 8 }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/table/reinforced, -/obj/item/clothing/suit/radiation, -/obj/item/clothing/head/radiation, -/obj/item/clothing/glasses/meson, -/obj/item/geiger_counter, -/obj/item/geiger_counter, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "dqt" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/cable{ @@ -30604,14 +30396,12 @@ /turf/simulated/floor/plating, /area/station/security/permabrig) "dqw" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 5 }, -/obj/structure/cable, -/obj/machinery/power/apc/directional/south, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/barber) +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "dqx" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -30632,6 +30422,12 @@ /obj/effect/turf_decal/tiles/department/cargo/corner, /turf/simulated/floor/plasteel, /area/station/hallway/supply/port) +"dqS" = ( +/obj/structure/closet, +/obj/effect/spawner/random/trash, +/obj/effect/spawner/random/maintenance, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "dre" = ( /mob/living/basic/cockroach, /turf/simulated/floor/plating, @@ -30674,6 +30470,16 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/electrical/port) +"dsz" = ( +/obj/effect/turf_decal/trimline/misc/toxins/corner{ + dir = 8 + }, +/obj/machinery/light/floor, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "dtg" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/machinery/atmospherics/pipe/simple/visible/yellow, @@ -30866,13 +30672,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/science/toxins/launch) -"dxT" = ( -/obj/item/radio/intercom{ - name = "north bump"; - pixel_y = 28 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "dyt" = ( /obj/machinery/power/apc/directional/south, /obj/structure/cable{ @@ -30899,13 +30698,18 @@ /turf/simulated/floor/plasteel, /area/station/security/permabrig) "dyX" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/red{ - dir = 1 +/obj/effect/turf_decal/trimline/misc/toxins/corner{ + dir = 4 }, -/obj/machinery/atmospherics/meter, -/obj/effect/turf_decal/delivery, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/machinery/light/floor, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 5 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "dzD" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ @@ -30926,6 +30730,11 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) +"dzY" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/green, +/obj/item/pipe_meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "dAq" = ( /obj/structure/chair{ dir = 4 @@ -31385,8 +31194,15 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/nw) "dJG" = ( +/obj/structure/extinguisher_cabinet{ + name = "south bump"; + pixel_y = -30 + }, +/obj/structure/disposalpipe/segment/corner{ + dir = 1 + }, +/obj/structure/closet/secure_closet/freezer/fridge, /obj/effect/turf_decal/tiles/dark/checker, -/obj/machinery/processor, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) "dJM" = ( @@ -31428,6 +31244,10 @@ /obj/machinery/newscaster/security_unit/directional/east, /turf/simulated/floor/carpet, /area/station/security/detective) +"dKe" = ( +/obj/structure/sign/radiation/rad_area, +/turf/simulated/wall/r_wall, +/area/station/engineering/engine/reactor) "dKy" = ( /obj/machinery/recharger/wallcharger{ pixel_x = 32 @@ -31550,6 +31370,13 @@ /obj/machinery/hologram/holopad, /turf/simulated/floor/wood, /area/station/public/vacant_office) +"dNE" = ( +/obj/structure/closet/secure_closet/bar, +/obj/machinery/light/small{ + dir = 1 + }, +/turf/simulated/floor/wood, +/area/station/service/bar) "dNU" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -31625,18 +31452,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) -"dON" = ( -/obj/structure/shelf/service, -/obj/item/reagent_containers/condiment/flour, -/obj/item/reagent_containers/condiment/flour, -/obj/item/reagent_containers/condiment/flour, -/obj/item/reagent_containers/condiment/sugar, -/obj/item/reagent_containers/condiment/rice, -/obj/item/reagent_containers/condiment/enzyme{ - layer = 5 - }, -/turf/simulated/floor/plasteel/white/full, -/area/station/service/kitchen/freezer) "dOQ" = ( /obj/effect/turf_decal/tiles/department/security/side{ dir = 1 @@ -31860,9 +31675,6 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) "dSN" = ( -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -31893,8 +31705,8 @@ /area/station/maintenance/abandoned_garden) "dTt" = ( /obj/machinery/access_button{ - autolink_id = "enginesm_btn_ext"; - name = "Supermatter Access Button"; + autolink_id = "engsm_btn_ext"; + name = "Reactor Access Button"; pixel_x = 24; req_access = list(10) }, @@ -32062,12 +31874,15 @@ /turf/simulated/floor/plating, /area/station/maintenance/medmaint) "dXb" = ( -/obj/machinery/atmospherics/meter, -/obj/machinery/atmospherics/pipe/manifold/visible/cyan, -/obj/machinery/light, -/obj/effect/turf_decal/stripes/line, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/binary/pump{ + dir = 1; + name = "Cooling Loop to Gas" + }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "dXc" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/reagent_dispensers/watertank, @@ -32165,6 +31980,12 @@ "dYq" = ( /turf/simulated/floor/plating, /area/station/maintenance/theatre) +"dYA" = ( +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 10 + }, +/turf/simulated/floor/bluegrid, +/area/station/maintenance/starboard) "dYJ" = ( /obj/machinery/atmospherics/pipe/simple/visible/cyan{ dir = 10 @@ -32381,24 +32202,19 @@ }, /turf/simulated/floor/wood, /area/station/maintenance/abandonedbar) -"ebM" = ( -/obj/machinery/atmospherics/pipe/simple/visible/green{ +"ebV" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, +/obj/effect/turf_decal/trimline/misc/toxins/line, /obj/structure/cable/yellow{ - icon_state = "4-8" + icon_state = "2-8" }, /turf/simulated/floor/engine, -/area/station/engineering/control) -"ebV" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "ebX" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/hologram/holopad, @@ -32436,6 +32252,17 @@ /obj/effect/spawner/random/maintenance, /turf/simulated/floor/plating, /area/station/maintenance/aft2) +"ecD" = ( +/obj/effect/turf_decal/stripes/corner{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"ecE" = ( +/obj/effect/turf_decal/delivery, +/obj/effect/turf_decal/tiles/department/virology, +/turf/simulated/floor/plasteel/dark, +/area/station/service/hydroponics) "ecU" = ( /obj/structure/rack, /obj/effect/spawner/random/trash, @@ -32509,11 +32336,9 @@ /area/space/nearstation) "edB" = ( /obj/structure/table, -/obj/item/reagent_containers/cooking/bowl{ - pixel_x = -4; - pixel_y = 5 +/obj/item/reagent_containers/condiment/enzyme{ + layer = 5 }, -/obj/item/reagent_containers/cooking/bowl, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -32527,22 +32352,6 @@ /obj/effect/turf_decal/tiles/department/security, /turf/simulated/floor/plasteel/dark, /area/station/hallway/secondary/exit) -"edK" = ( -/obj/machinery/atmospherics/binary/pump{ - dir = 1; - name = "Gas to Mix" - }, -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "edZ" = ( /obj/item/clothing/head/cone, /turf/simulated/floor/plating, @@ -32655,6 +32464,9 @@ }, /turf/space, /area/space/nearstation) +"egm" = ( +/turf/simulated/wall/r_wall, +/area/station/engineering/engine/reactor) "egn" = ( /obj/structure/cable{ icon_state = "1-2" @@ -32785,24 +32597,6 @@ /obj/effect/turf_decal/tiles/department/medical, /turf/simulated/floor/plasteel/white, /area/station/medical/storage/secondary) -"ejd" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/structure/cable{ - icon_state = "1-8" - }, -/turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard) "ejj" = ( /obj/machinery/door/airlock/external/glass{ name = "Escape Pod 1 Airlock"; @@ -32898,15 +32692,13 @@ /turf/simulated/floor/plasteel, /area/station/supply/expedition) "ekt" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - icon_state = "1-2" - }, +/obj/structure/table/reinforced, +/obj/item/clothing/suit/radiation, +/obj/item/clothing/gloves/color/black, +/obj/item/clothing/head/radiation, +/obj/item/clothing/glasses/meson/engine, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "ekF" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/cyan{ dir = 4 @@ -32996,7 +32788,7 @@ /obj/machinery/atmospherics/pipe/manifold4w/visible, /obj/machinery/atmospherics/meter, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "enp" = ( /turf/simulated/wall/r_wall, /area/station/maintenance/fsmaint2) @@ -33067,14 +32859,6 @@ /obj/effect/spawner/airlock/w_to_e/long/square, /turf/simulated/wall/r_wall, /area/station/maintenance/fsmaint2) -"epi" = ( -/obj/machinery/camera{ - c_tag = "Locker Room Port"; - dir = 1 - }, -/obj/effect/turf_decal/tiles/neutral/corner, -/turf/simulated/floor/plasteel, -/area/station/public/locker) "epy" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/cable/extra_insulated{ @@ -33169,16 +32953,12 @@ /turf/simulated/floor/plasteel/white, /area/station/science/xenobiology) "eqI" = ( -/obj/structure/table, -/obj/effect/spawner/random/dice, -/obj/machinery/power/apc/directional/east, -/obj/structure/cable{ - icon_state = "0-8" +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable/extra_insulated{ + icon_state = "1-2" }, -/obj/effect/spawner/random/dirt/frequent, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "eqN" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -33271,6 +33051,24 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/spacehut) +"erQ" = ( +/obj/item/radio/intercom{ + name = "south bump"; + pixel_y = -28 + }, +/obj/machinery/camera{ + c_tag = "Locker Room Port"; + dir = 1 + }, +/obj/effect/turf_decal/tiles/neutral/corner, +/turf/simulated/floor/plasteel, +/area/station/public/locker) +"erT" = ( +/obj/structure/bookcase{ + name = "bookcase (Reference)" + }, +/turf/simulated/floor/wood, +/area/station/maintenance/starboard) "erZ" = ( /obj/structure/table, /obj/item/folder/red, @@ -33439,6 +33237,10 @@ }, /turf/simulated/floor/plasteel, /area/station/supply/expedition) +"eut" = ( +/obj/structure/table/reinforced, +/turf/simulated/floor/plasteel/reactor_pool/wall/filter, +/area/station/engineering/engine/reactor) "eux" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 5 @@ -33854,15 +33656,6 @@ }, /turf/simulated/floor/plasteel, /area/station/security/permabrig) -"eAA" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/hologram/holopad, -/obj/structure/cable{ - icon_state = "2-4" - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) "eAU" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -34366,14 +34159,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore/west) -"eKK" = ( -/obj/machinery/economy/vending/coffee, -/obj/effect/turf_decal/delivery/hollow, -/obj/effect/turf_decal/tiles/department/engineering/side{ - dir = 1 - }, -/turf/simulated/floor/plasteel, -/area/station/engineering/break_room) "eKP" = ( /obj/effect/turf_decal/stripes/line, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -34588,6 +34373,13 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/xenobio_north) +"eOo" = ( +/obj/machinery/atmospherics/pipe/simple/heat_exchanging/junction{ + dir = 4 + }, +/obj/effect/spawner/window/reinforced/plasma/grilled, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "eOs" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -34777,21 +34569,6 @@ /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/science/break_room) -"eRh" = ( -/obj/machinery/door/airlock/public/glass{ - name = "Hydroponics Pasture" - }, -/obj/effect/mapping_helpers/airlock/access/any/service/hydroponics, -/obj/effect/mapping_helpers/airlock/access/any/service/kitchen, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/door/firedoor, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/spawner/random/dirt/frequent, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/pasture) "eRG" = ( /mob/living/simple_animal/pet/cat/var_cat, /obj/machinery/light{ @@ -34807,9 +34584,11 @@ /turf/simulated/floor/plasteel, /area/station/hallway/supply/aft) "eRU" = ( -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/machinery/door/airlock/external/glass, +/obj/effect/map_effect/dynamic_airlock/door/interior, +/obj/machinery/access_button/offset/south, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "eRZ" = ( /obj/machinery/smartfridge/medbay, /obj/effect/mapping_helpers/airlock/windoor/access/any/medical/chemistry{ @@ -34881,29 +34660,6 @@ /obj/structure/closet/secure_closet/roboticist, /turf/simulated/floor/plasteel/dark, /area/station/science/robotics) -"eTo" = ( -/obj/structure/table, -/obj/item/analyzer{ - pixel_y = -5 - }, -/obj/item/flash{ - pixel_x = -2; - pixel_y = 4 - }, -/obj/item/flashlight{ - pixel_x = 5; - pixel_y = 2 - }, -/obj/item/flash{ - pixel_x = -6; - pixel_y = 5 - }, -/obj/item/flashlight{ - pixel_x = 2; - pixel_y = 9 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) "eTp" = ( /obj/effect/turf_decal/stripes/line{ dir = 1 @@ -34920,6 +34676,9 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/gravitygenerator) +"eTu" = ( +/turf/simulated/floor/plasteel/reactor_pool/wall/ladder, +/area/station/engineering/engine/reactor) "eTy" = ( /obj/machinery/atmospherics/pipe/simple/visible/yellow, /obj/machinery/door/airlock/atmos/glass{ @@ -34936,7 +34695,19 @@ /obj/effect/mapping_helpers/airlock/access/all/engineering/atmos, /obj/effect/mapping_helpers/airlock/locked, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) +"eTI" = ( +/obj/machinery/light/small{ + dir = 1 + }, +/obj/item/radio/intercom{ + name = "north bump"; + pixel_y = 28 + }, +/obj/structure/rack, +/obj/effect/spawner/random/tech_storage/service, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "eTR" = ( /obj/structure/rack, /obj/item/radio/off{ @@ -35036,14 +34807,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/cyan, /turf/simulated/floor/plating, /area/station/maintenance/starboard2) -"eVa" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) "eVb" = ( /obj/machinery/status_display{ pixel_y = 32 @@ -35136,9 +34899,6 @@ /obj/effect/mapping_helpers/airlock/autoname, /obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, /obj/machinery/door/firedoor, -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, /turf/simulated/floor/plasteel, /area/station/maintenance/starboard) "eVM" = ( @@ -35456,6 +35216,11 @@ }, /turf/simulated/floor/plasteel, /area/station/security/main) +"faB" = ( +/obj/structure/rack, +/obj/effect/spawner/random/tech_storage/medical, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "faO" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/effect/turf_decal/stripes/line{ @@ -35475,7 +35240,7 @@ "fbi" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/mapping_helpers/airlock/access/all/science/xenobio, +/obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, /turf/simulated/floor/plasteel/white, /area/station/maintenance/asmaint) "fbq" = ( @@ -35538,12 +35303,12 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "fbR" = ( -/obj/effect/turf_decal/stripes/red, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 +/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ + dir = 8; + initialize_directions = 11 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "fbS" = ( /obj/structure/window/reinforced{ dir = 1 @@ -35867,6 +35632,10 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/science/xenobiology) +"fhZ" = ( +/obj/machinery/atmospherics/pipe/simple/visible/red, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "fie" = ( /obj/effect/spawner/random/trash, /obj/effect/decal/cleanable/dirt, @@ -35989,6 +35758,7 @@ /turf/simulated/floor/plasteel/white, /area/station/science/break_room) "fjy" = ( +/obj/effect/landmark/start/chef, /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -36009,6 +35779,12 @@ /obj/effect/mapping_helpers/turfs/damage, /turf/simulated/floor/wood, /area/station/supply/qm) +"fkk" = ( +/obj/effect/turf_decal/stripes/corner{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "fkH" = ( /obj/effect/mapping_helpers/airlock/access/all/engineering/external, /turf/simulated/floor/plating, @@ -36037,27 +35813,9 @@ /obj/machinery/recharge_station, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) -"flr" = ( -/obj/structure/window/plasmareinforced{ - dir = 1 - }, -/obj/machinery/power/rad_collector{ - anchored = 1 - }, -/obj/machinery/atmospherics/pipe/simple/visible/scrubbers{ - dir = 9 - }, -/obj/structure/cable/yellow{ - icon_state = "0-2" - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "flH" = ( /obj/effect/turf_decal/delivery, /obj/machinery/atmospherics/pipe/simple/hidden/cyan, -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, /obj/effect/turf_decal/tiles/dark/corner, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 8 @@ -36185,7 +35943,7 @@ dir = 10 }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "fmR" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -36197,6 +35955,14 @@ /obj/effect/turf_decal/tiles/neutral/corner, /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore/west) +"fnu" = ( +/obj/machinery/camera{ + c_tag = "Engine Fabrication"; + dir = 10; + network = list("SS13","Engineering") + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "fnv" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ @@ -36205,20 +35971,14 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/fore) "fnS" = ( -/obj/machinery/door/airlock, -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ +/obj/structure/table, +/obj/machinery/light{ dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/door/firedoor, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/mapping_helpers/airlock/access/all/service/kitchen, -/turf/simulated/floor/plasteel, +/obj/item/eftpos/register, +/obj/item/wrench, +/obj/effect/turf_decal/tiles/dark/checker, +/turf/simulated/floor/plasteel/white, /area/station/service/kitchen) "foz" = ( /obj/effect/spawner/window/reinforced/grilled, @@ -36235,14 +35995,6 @@ /obj/item/instrument/harmonica, /turf/simulated/floor/plasteel, /area/station/security/permabrig) -"foR" = ( -/obj/structure/closet/crate, -/obj/effect/spawner/random/maintenance, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "foV" = ( /obj/effect/turf_decal/tiles/department/science/side{ dir = 4 @@ -36305,6 +36057,18 @@ }, /turf/simulated/floor/plating, /area/station/service/chapel/funeral) +"fqq" = ( +/obj/structure/railing/corner/pool_corner, +/obj/machinery/camera{ + c_tag = "Engine South"; + dir = 10; + network = list("SS13","Engineering") + }, +/obj/effect/turf_decal/stripes/corner{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "fqz" = ( /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -36389,18 +36153,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/procedure/trainer_office) -"fsS" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/cyan, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, -/obj/effect/spawner/random/dirt/often, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "fsT" = ( /obj/structure/cable{ icon_state = "4-8" @@ -36427,25 +36179,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/command/bridge) -"ftb" = ( -/obj/machinery/atmospherics/binary/pump{ - name = "Mix to Gas" - }, -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 - }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "fth" = ( /obj/structure/table/reinforced, /obj/machinery/kitchen_machine/microwave{ @@ -36561,6 +36294,21 @@ /obj/machinery/atmospherics/pipe/simple/hidden/cyan, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) +"fwF" = ( +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard/east) "fwJ" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -36574,6 +36322,9 @@ /obj/effect/turf_decal/stripes/line{ dir = 4 }, +/obj/structure/cable{ + icon_state = "2-8" + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "fwY" = ( @@ -36698,12 +36449,18 @@ /turf/simulated/floor/plating, /area/station/maintenance/asmaint) "fza" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 5 + }, /obj/machinery/power/apc/directional/south, /obj/structure/cable, -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 6 - }, /obj/effect/turf_decal/tiles/department/medical/corner, +/obj/effect/turf_decal/tiles/department/virology/checker{ + dir = 1 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "fzi" = ( @@ -36740,21 +36497,16 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore) "fzN" = ( -/obj/structure/cable{ - icon_state = "4-8" +/obj/machinery/camera{ + c_tag = "Engine North"; + dir = 6; + name = list("SS13","Engineering") }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ +/obj/effect/turf_decal/stripes/corner{ dir = 4 }, -/obj/item/radio/intercom{ - name = "north bump"; - pixel_y = 28 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "fzW" = ( /obj/machinery/camera{ c_tag = "Armory - Internal"; @@ -36863,20 +36615,14 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/west) "fBW" = ( -/obj/machinery/atmospherics/binary/valve/digital/open{ - name = "Output Release" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/machinery/atmospherics/pipe/simple/visible/red{ + dir = 5 }, /obj/effect/turf_decal/stripes/line{ dir = 1 }, -/obj/structure/cable{ - icon_state = "4-8" - }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "fCn" = ( /obj/structure/table/wood, /obj/item/reagent_containers/drinks/drinkingglass{ @@ -37104,12 +36850,6 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel/dark, /area/station/maintenance/asmaint) -"fFl" = ( -/obj/effect/decal/cleanable/dirt, -/obj/structure/table, -/obj/effect/spawner/random/engineering, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "fFo" = ( /obj/structure/table, /obj/item/radio/intercom{ @@ -37128,11 +36868,6 @@ /obj/machinery/alarm/directional/east, /turf/simulated/floor/plasteel, /area/station/security/defusal) -"fFL" = ( -/obj/machinery/atmospherics/meter, -/obj/machinery/atmospherics/pipe/simple/visible/yellow, -/turf/simulated/floor/engine, -/area/station/engineering/control) "fFW" = ( /obj/machinery/power/terminal{ dir = 1 @@ -37256,15 +36991,6 @@ /obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/exit) -"fHC" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - dir = 5 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "fHG" = ( /obj/effect/mapping_helpers/airlock/autoname, /obj/machinery/door/airlock/research, @@ -37563,10 +37289,6 @@ }, /turf/simulated/floor/plasteel, /area/station/public/locker) -"fOi" = ( -/obj/effect/turf_decal/delivery, -/turf/simulated/floor/plasteel, -/area/station/service/hydroponics) "fOv" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 8 @@ -37945,18 +37667,12 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft2) "fWa" = ( -/obj/item/wirecutters, -/obj/item/reagent_containers/glass/bucket, -/obj/item/cultivator, -/obj/item/wrench, -/obj/item/shovel/spade, -/obj/structure/closet/crate/hydroponics/prespawned, -/obj/effect/turf_decal/box/white, +/obj/item/book/manual/hydroponics_pod_people, +/obj/structure/table/glass, /obj/structure/sign/poster/random/directional/north, -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 5 - }, -/obj/effect/turf_decal/tiles/department/medical/checker, +/obj/effect/turf_decal/stripes/line, +/obj/item/book/manual/wiki/hydroponics, +/obj/item/book/manual/wiki/botanist, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "fWg" = ( @@ -37982,6 +37698,9 @@ /obj/structure/cable{ icon_state = "4-8" }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "fWL" = ( @@ -38148,36 +37867,19 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore2) "fZO" = ( -/obj/structure/rack, -/obj/item/storage/toolbox/electrical{ - pixel_x = 1; - pixel_y = -1 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/item/clothing/gloves/color/yellow, -/obj/item/t_scanner, -/obj/item/multitool, -/obj/item/clothing/glasses/meson, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "fZR" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/structure/table/reinforced, -/obj/item/storage/toolbox/mechanical{ - pixel_y = 5 - }, -/obj/item/flashlight{ - pixel_x = 1; - pixel_y = 5 - }, -/obj/item/rpd, +/obj/structure/closet/firecloset/full, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "fZU" = ( /obj/structure/cable/extra_insulated{ icon_state = "1-8" @@ -38280,22 +37982,6 @@ }, /turf/simulated/floor/plating, /area/station/supply/sorting) -"gcq" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 - }, -/obj/machinery/alarm/directional/north, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "gcr" = ( /obj/machinery/light{ dir = 4 @@ -38598,17 +38284,10 @@ }, /turf/simulated/floor/bluegrid/telecomms, /area/station/science/xenobiology) -"gfB" = ( -/obj/structure/window/plasmareinforced, -/obj/machinery/power/rad_collector{ - anchored = 1 - }, -/obj/structure/cable/yellow, -/obj/machinery/atmospherics/pipe/simple/visible/supply{ - dir = 10 - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +"gfH" = ( +/obj/effect/spawner/random/fungus/probably, +/turf/simulated/wall, +/area/station/maintenance/starboard) "gfK" = ( /obj/machinery/economy/vending/hydroseeds/perma, /obj/effect/turf_decal/tiles/department/virology/side{ @@ -38706,16 +38385,20 @@ pixel_x = 32; pixel_y = 32 }, -/obj/structure/cable/extra_insulated{ - icon_state = "2-8" - }, -/turf/simulated/floor/plasteel, +/obj/machinery/atmospherics/refill_station/oxygen, +/turf/simulated/floor/plasteel/white, /area/station/hallway/primary/starboard/east) "ghG" = ( /obj/structure/table, /obj/effect/spawner/random/maintenance, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) +"ghJ" = ( +/obj/structure/table, +/obj/item/aicard, +/obj/item/ai_module/reset, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "ghT" = ( /obj/machinery/computer/arcade/orion_trail{ dir = 8 @@ -38887,6 +38570,16 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel/dark, /area/station/science/robotics/chargebay) +"glE" = ( +/obj/structure/chair/office/dark{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 6 + }, +/obj/effect/decal/cleanable/blood, +/turf/simulated/floor/bluegrid, +/area/station/maintenance/starboard) "glG" = ( /obj/structure/cable{ icon_state = "0-2" @@ -38949,6 +38642,12 @@ }, /turf/simulated/floor/plasteel, /area/station/supply/break_room) +"gnv" = ( +/obj/machinery/atmospherics/trinary/filter{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gnA" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/reagent_dispensers/fueltank, @@ -39055,9 +38754,12 @@ /turf/simulated/floor/plasteel/dark, /area/station/command/office/hos) "gpj" = ( -/obj/machinery/status_display, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gpT" = ( /obj/structure/cable{ icon_state = "2-4" @@ -39160,11 +38862,9 @@ /area/station/command/bridge) "gry" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 8 + dir = 4 }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/effect/turf_decal/tiles/jobs/bar/checker, /turf/simulated/floor/plasteel, /area/station/service/bar) @@ -39316,16 +39016,16 @@ /turf/simulated/floor/plasteel/dark, /area/station/engineering/ai_transit_tube) "gvJ" = ( -/obj/structure/cable{ - icon_state = "4-8" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 4 }, -/obj/machinery/door/airlock/engineering/glass{ - heat_proof = 1; - name = "Supermatter Chamber" +/obj/structure/cable/yellow{ + icon_state = "1-2" }, -/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "gvN" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 8 @@ -39347,22 +39047,15 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint2) -"gwd" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock{ - name = "Bar Office" - }, -/obj/effect/mapping_helpers/airlock/access/all/service/bar, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ +"gwm" = ( +/obj/machinery/disposal, +/obj/structure/disposalpipe/trunk{ dir = 8 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/effect/turf_decal/tiles/department/medical/checker, +/obj/machinery/alarm/directional/south, +/obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/area/station/service/kitchen) "gwG" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/closet/cardboard, @@ -39370,6 +39063,9 @@ /obj/item/toy/plushie/lizardplushie, /turf/simulated/floor/plasteel/white, /area/station/maintenance/aft) +"gwM" = ( +/turf/space, +/area/station/engineering/engine/reactor) "gwZ" = ( /obj/structure/reagent_dispensers/fueltank, /turf/simulated/floor/plating, @@ -39481,11 +39177,15 @@ /turf/simulated/floor/plating/airless, /area/space/nearstation) "gAz" = ( -/obj/machinery/firealarm/directional/north, -/obj/structure/table, -/obj/item/stack/sheet/metal/fifty, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/item/radio/intercom{ + name = "north bump"; + pixel_y = 28 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gAB" = ( /obj/structure/table/glass, /obj/item/paicard, @@ -39560,6 +39260,15 @@ /obj/effect/mapping_helpers/turfs/rust/maybe, /turf/simulated/wall/r_wall, /area/station/science/test_chamber) +"gBO" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "gBS" = ( /obj/structure/disposalpipe/segment/corner{ dir = 4 @@ -39728,11 +39437,6 @@ }, /turf/simulated/floor/mineral/titanium/blue, /area/shuttle/pod_2) -"gET" = ( -/obj/effect/spawner/random/dirt/often, -/obj/effect/spawner/random/barrier/grille_maybe, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "gEX" = ( /obj/structure/table, /obj/item/flashlight/lamp, @@ -39809,30 +39513,13 @@ }, /turf/simulated/floor/plating, /area/station/public/construction) -"gFZ" = ( -/obj/structure/table, -/obj/machinery/cell_charger, -/obj/item/stock_parts/cell/high{ - charge = 100; - maxcharge = 15000 - }, -/obj/item/aicard, -/obj/item/ai_module/reset, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) "gGi" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/visible/red{ - dir = 10 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/atmospherics/binary/valve{ + dir = 4; + name = "Output to Scrubbers" }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "gGj" = ( /obj/machinery/camera{ c_tag = "Cargo Break Room"; @@ -39846,6 +39533,12 @@ /obj/effect/turf_decal/tiles/department/cargo/corner, /turf/simulated/floor/plasteel, /area/station/supply/break_room) +"gGt" = ( +/obj/effect/turf_decal/stripes/corner{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gGu" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -39966,7 +39659,7 @@ }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "gHN" = ( /obj/structure/closet/crate/trashcart, /obj/effect/spawner/random/maintenance, @@ -39977,16 +39670,12 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore2) "gHV" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/obj/machinery/atmospherics/pipe/simple/heat_exchanging, +/obj/effect/spawner/random/cobweb/left/frequent, +/obj/structure/machine_frame, +/obj/item/stack/cable_coil/five, +/turf/simulated/floor/bluegrid, +/area/station/maintenance/starboard) "gIm" = ( /obj/item/beacon, /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ @@ -40048,6 +39737,10 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/paramedic) +"gIQ" = ( +/obj/effect/spawner/window/reinforced/plasma, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "gIS" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 4 @@ -40065,6 +39758,18 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/aft2) +"gJp" = ( +/obj/structure/cable{ + icon_state = "2-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gJs" = ( /obj/structure/cable{ icon_state = "1-2" @@ -40367,21 +40072,17 @@ /turf/simulated/floor/plasteel, /area/station/security/checkpoint/secondary) "gOq" = ( -/obj/structure/table/wood, -/obj/item/stack/package_wrap{ - pixel_x = 2; - pixel_y = -3 +/obj/machinery/light_switch{ + dir = 1; + name = "south bump"; + pixel_y = -24 }, -/obj/item/stack/package_wrap, -/obj/item/stack/package_wrap{ - pixel_x = -3; - pixel_y = 5 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 }, -/obj/item/gun/projectile/revolver/doublebarrel{ - pixel_x = 6; - pixel_y = 5 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/item/eftpos, /turf/simulated/floor/wood, /area/station/service/bar) "gOL" = ( @@ -40630,11 +40331,12 @@ /turf/simulated/floor/plasteel, /area/station/security/permabrig) "gSe" = ( +/obj/structure/closet/secure_closet/engineering_personal, /obj/effect/turf_decal/stripes/line{ - dir = 1 + dir = 4 }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "gSn" = ( /obj/structure/chair/stool{ dir = 1 @@ -40852,26 +40554,20 @@ /turf/simulated/floor/plasteel/white, /area/station/maintenance/asmaint) "gVB" = ( -/obj/effect/turf_decal/stripes/line{ +/obj/machinery/airlock_controller/access_controller{ + name = "Reactor Access Console"; + ext_door_link_id = "engsm_door_ext"; + int_door_link_id = "engsm_door_int"; + ext_button_link_id = "engsm_btn_ext"; + int_button_link_id = "engsm_btn_int"; + req_one_access = list(10,24); + pixel_x = -24 + }, +/obj/effect/turf_decal/stripes/red/line{ dir = 8 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/structure/cable{ - icon_state = "1-4" - }, -/obj/machinery/airlock_controller/access_controller{ - name = "Supermatter Access Console"; - ext_door_link_id = "enginesm_door_ext"; - int_door_link_id = "enginesm_door_int"; - pixel_x = -22; - ext_button_link_id = "enginesm_btn_ext"; - int_button_link_id = "enginesm_btn_int" - }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "gVK" = ( /obj/effect/turf_decal/stripes/line{ dir = 8 @@ -41074,11 +40770,6 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/virology) "gZP" = ( -/obj/machinery/door/airlock/engineering/glass{ - autoclose = 0; - id_tag = "enginesm_door_ext"; - name = "Supermatter Exterior Access" - }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, @@ -41090,6 +40781,11 @@ }, /obj/effect/mapping_helpers/airlock/access/all/engineering/engine, /obj/effect/mapping_helpers/airlock/locked, +/obj/machinery/door/airlock/engineering/glass{ + autoclose = 0; + id_tag = "engsm_door_ext"; + name = "Reactor Exterior Access" + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "gZT" = ( @@ -41236,23 +40932,6 @@ }, /turf/simulated/floor/plasteel, /area/station/public/locker) -"hdJ" = ( -/obj/structure/rack, -/obj/machinery/light/small{ - dir = 8 - }, -/obj/effect/spawner/random/tech_storage/teleporter, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) -"hdL" = ( -/obj/machinery/light{ - dir = 4 - }, -/obj/structure/cable{ - icon_state = "2-8" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "hdN" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 9 @@ -41679,20 +41358,27 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/xenobiology) +"hnS" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/moderator/heavy_water{ + pixel_y = 6 + }, +/obj/item/nuclear_rod/moderator/heavy_water{ + pixel_y = 3; + pixel_x = 2 + }, +/obj/item/nuclear_rod/moderator/heavy_water{ + pixel_y = 1; + pixel_x = 5 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "hnU" = ( /obj/effect/spawner/random/barrier/grille_often, /turf/simulated/floor/plating, /area/station/maintenance/theatre) -"hok" = ( -/obj/machinery/atmospherics/trinary/filter/flipped{ - dir = 1; - filter_type = -1 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "hop" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 4 @@ -41966,17 +41652,6 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/virology) -"hts" = ( -/obj/machinery/light_switch{ - dir = 1; - name = "south bump"; - pixel_y = -24 - }, -/obj/structure/kitchenspike, -/turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" - }, -/area/station/service/kitchen/freezer) "hty" = ( /obj/item/kirbyplants/large/plant4, /turf/simulated/floor/plasteel, @@ -41999,22 +41674,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/theatre) -"huf" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/structure/disposalpipe/segment/corner{ - dir = 2 - }, -/obj/effect/turf_decal/tiles/dark/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/kitchen) "huj" = ( /obj/structure/fans/tiny, /obj/effect/mapping_helpers/airlock/access/all/supply/mining, @@ -42037,13 +41696,6 @@ }, /turf/simulated/floor/plating, /area/station/supply/qm) -"huo" = ( -/obj/machinery/atmospherics/meter, -/obj/machinery/atmospherics/pipe/simple/visible/green{ - dir = 10 - }, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) "huV" = ( /obj/machinery/door/firedoor, /obj/machinery/door/poddoor/preopen{ @@ -42161,6 +41813,22 @@ }, /turf/simulated/floor/plasteel, /area/station/science/misc_lab) +"hwz" = ( +/obj/structure/rack, +/obj/item/storage/toolbox/electrical{ + pixel_x = 1; + pixel_y = -1 + }, +/obj/item/clothing/gloves/color/yellow, +/obj/item/t_scanner, +/obj/item/multitool, +/obj/item/clothing/glasses/meson, +/obj/machinery/camera{ + c_tag = "Starboard Primary Hallway - Auxiliary Tool Storage"; + dir = 1 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "hwF" = ( /obj/structure/table/wood, /obj/item/storage/photo_album, @@ -42270,6 +41938,14 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/turbine) +"hym" = ( +/obj/structure/railing/pool_lining, +/obj/structure/closet/emcloset, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "hyD" = ( /obj/structure/cable{ icon_state = "1-2" @@ -42461,6 +42137,10 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/virology) +"hDp" = ( +/obj/effect/turf_decal/loading_area, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine/reactor) "hDr" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 8 @@ -42612,17 +42292,6 @@ }, /turf/simulated/floor/plasteel, /area/station/supply/lobby) -"hFw" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line, -/obj/machinery/hologram/holopad, -/turf/simulated/floor/engine, -/area/station/engineering/control) "hFz" = ( /obj/effect/turf_decal/stripes/white/corner, /obj/structure/cable/extra_insulated{ @@ -42680,12 +42349,13 @@ dir = 8 }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "hFV" = ( -/obj/machinery/atmospherics/pipe/simple/heat_exchanging/junction, -/obj/effect/spawner/window/reinforced/plasma/grilled, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/structure/rack{ + dir = 1 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "hFY" = ( /obj/structure/closet/firecloset, /obj/effect/spawner/random/maintenance, @@ -43262,13 +42932,12 @@ /turf/simulated/floor/plasteel, /area/station/engineering/break_room) "hRT" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 - }, +/obj/structure/closet/crate/freezer, +/obj/machinery/light/small, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" }, -/area/station/service/kitchen/freezer) +/area/station/service/kitchen) "hSa" = ( /obj/machinery/door/window/reinforced/normal{ name = "Command Desk" @@ -43450,10 +43119,6 @@ /obj/machinery/light, /turf/simulated/floor/carpet/arcade, /area/station/public/arcade) -"hWr" = ( -/obj/effect/spawner/window/reinforced/plasma/grilled, -/turf/simulated/floor/plating, -/area/station/engineering/engine/supermatter) "hWw" = ( /obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel/dark, @@ -44028,7 +43693,13 @@ /turf/simulated/floor/plasteel/dark, /area/station/engineering/atmos/control) "igm" = ( -/obj/effect/turf_decal/tiles/department/security/corner, +/obj/machinery/door/firedoor, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/tiles/department/engineering/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/east) "igq" = ( @@ -44065,11 +43736,15 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, -/obj/structure/cable{ - icon_state = "1-8" +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "1-2" }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard) "igJ" = ( @@ -44098,6 +43773,9 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/security/armory) +"ihr" = ( +/turf/simulated/wall/r_wall, +/area/station/hallway/primary/starboard/north) "ihF" = ( /obj/effect/mapping_helpers/turfs/damage, /turf/simulated/floor/wood, @@ -44301,12 +43979,11 @@ /turf/simulated/wall, /area/station/legal/courtroom/gallery) "imD" = ( -/obj/machinery/atmospherics/pipe/simple/visible/red{ - dir = 5 +/obj/machinery/atmospherics/pipe/manifold/visible/green{ + dir = 1 }, -/obj/effect/turf_decal/delivery, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "imQ" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel, @@ -44425,12 +44102,6 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/virology) -"iqc" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 5 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "iqd" = ( /obj/machinery/atmospherics/unary/thermomachine/freezer{ dir = 8 @@ -44550,17 +44221,11 @@ /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, /area/station/maintenance/gambling_den) -"irX" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "isB" = ( /obj/machinery/door/airlock/engineering/glass{ autoclose = 0; - id_tag = "enginesm_door_int"; - name = "Supermatter Interior Access" + id_tag = "engsm_door_int"; + name = "Reactor Interior Access" }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -44650,12 +44315,12 @@ /area/station/medical/storage) "iuh" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 1 - }, /obj/effect/turf_decal/tiles/department/medical/corner{ dir = 1 }, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 4 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "iuj" = ( @@ -44719,6 +44384,13 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel, /area/station/security/brig) +"ivi" = ( +/obj/machinery/atmospherics/pipe/simple/heat_exchanging{ + dir = 4 + }, +/obj/structure/lattice, +/turf/space, +/area/space/nearstation) "ivn" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -44813,8 +44485,10 @@ /area/station/maintenance/aft) "ixf" = ( /obj/effect/turf_decal/delivery, -/obj/effect/turf_decal/tiles/department/virology/side, /obj/effect/turf_decal/tiles/department/medical/corner, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "ixt" = ( @@ -44922,14 +44596,30 @@ icon_state = "chapel" }, /area/station/service/chapel) -"izc" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ +"iyE" = ( +/obj/structure/table/reinforced, +/obj/item/stack/cable_coil, +/obj/item/wirecutters, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine/reactor) +"iyZ" = ( +/obj/structure/table/reinforced, +/obj/item/flashlight, +/obj/effect/turf_decal/stripes/corner{ dir = 4 }, -/obj/effect/spawner/random/blood/often, +/obj/structure/sign/radiation/rad_area{ + pixel_x = 32 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) +"izc" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 + }, /obj/structure/cable/extra_insulated{ icon_state = "4-8" }, @@ -45081,16 +44771,6 @@ /obj/effect/turf_decal/delivery/hollow, /turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) -"iAT" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ - dir = 8; - initialize_directions = 11 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 9 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "iAY" = ( /obj/structure/table, /obj/item/folder/red{ @@ -45433,7 +45113,7 @@ pixel_x = 28 }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "iEY" = ( /obj/machinery/atmospherics/pipe/simple/visible/yellow{ dir = 4 @@ -45493,21 +45173,19 @@ /turf/simulated/floor/plasteel/white, /area/station/science/break_room) "iFS" = ( -/obj/structure/cable{ - icon_state = "4-8" +/obj/effect/spawner/window/reinforced/grilled, +/obj/structure/cable/extra_insulated{ + icon_state = "0-8" }, -/obj/structure/cable{ - icon_state = "2-8" - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "iGf" = ( -/obj/structure/table/wood, -/obj/machinery/bottler, -/obj/structure/sign/poster/random/directional/south, -/obj/machinery/light/small, -/turf/simulated/floor/wood, -/area/station/service/bar) +/obj/machinery/firealarm/directional/west, +/obj/machinery/power/apc/directional/south, +/obj/structure/cable, +/obj/effect/turf_decal/tiles/department/medical/checker, +/turf/simulated/floor/plasteel/white, +/area/station/service/barber) "iGi" = ( /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, @@ -45548,10 +45226,12 @@ /turf/simulated/floor/plasteel/white, /area/station/science/research) "iGZ" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/all/service/bar, +/obj/machinery/door/firedoor, +/turf/simulated/floor/wood, +/area/station/maintenance/starboard) "iHf" = ( /obj/machinery/economy/slot_machine, /obj/machinery/alarm/directional/north, @@ -45561,8 +45241,8 @@ "iHk" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable/extra_insulated{ - icon_state = "1-4" +/obj/structure/cable{ + icon_state = "1-2" }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 @@ -45707,7 +45387,7 @@ dir = 1 }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "iJA" = ( /obj/machinery/economy/vending/secdrobe, /obj/effect/turf_decal/tiles/department/security/side{ @@ -45815,9 +45495,6 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/purple{ dir = 4 }, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -46206,6 +45883,12 @@ /obj/effect/turf_decal/tiles/department/security/side, /turf/simulated/floor/plasteel, /area/station/security/brig) +"iRc" = ( +/obj/structure/table/reinforced, +/obj/item/storage/toolbox/mechanical, +/obj/item/rpd, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine/reactor) "iRe" = ( /obj/structure/disposalpipe/segment/corner{ dir = 4 @@ -46363,6 +46046,13 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/toxins/mixing) +"iUb" = ( +/obj/effect/decal/cleanable/dirt, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "iUe" = ( /obj/effect/turf_decal/stripes/line{ dir = 1 @@ -46457,6 +46147,10 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/asmaint) +"iWF" = ( +/mob/living/basic/pig, +/turf/simulated/floor/grass, +/area/station/service/hydroponics) "iWW" = ( /obj/structure/disposalpipe/segment/corner{ dir = 8 @@ -46634,6 +46328,18 @@ }, /turf/simulated/floor/plating, /area/station/supply/storage) +"jaf" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/obj/machinery/light{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "jau" = ( /obj/effect/turf_decal/tiles/department/science/side{ dir = 8 @@ -46673,12 +46379,6 @@ /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, /area/station/service/clown) -"jbk" = ( -/obj/structure/reflector/double{ - dir = 8 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "jbl" = ( /obj/structure/cable{ icon_state = "0-8" @@ -46831,9 +46531,6 @@ /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 8 }, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -46913,6 +46610,11 @@ }, /turf/simulated/floor/plasteel, /area/station/security/checkpoint/secondary) +"jeZ" = ( +/obj/structure/rack, +/obj/effect/spawner/random/tech_storage/teleporter, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "jfk" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/cable{ @@ -46983,6 +46685,11 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel, /area/station/hallway/primary/aft/north) +"jha" = ( +/obj/machinery/atmospherics/pipe/simple/heat_exchanging, +/obj/structure/lattice/catwalk, +/turf/space, +/area/space/nearstation) "jhk" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, @@ -47238,12 +46945,6 @@ /obj/effect/turf_decal/tiles/neutral/corner, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/north) -"jmV" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 8 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) "jnk" = ( /obj/effect/turf_decal/tiles/department/medical/side{ dir = 4 @@ -47257,16 +46958,16 @@ /turf/simulated/floor/plasteel, /area/station/engineering/break_room) "jnF" = ( -/obj/machinery/door/airlock/engineering/glass{ - autoclose = 0; - id_tag = "enginesm_door_int"; - name = "Supermatter Interior Access" - }, /obj/effect/mapping_helpers/airlock/access/all/engineering/engine, /obj/structure/cable/yellow{ icon_state = "4-8" }, /obj/effect/mapping_helpers/airlock/locked, +/obj/machinery/door/airlock/engineering/glass{ + autoclose = 0; + id_tag = "engsm_door_int"; + name = "Reactor Interior Access" + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "jnG" = ( @@ -47289,6 +46990,20 @@ /obj/structure/filingcabinet, /turf/simulated/floor/carpet, /area/station/security/detective) +"job" = ( +/obj/machinery/door/firedoor, +/obj/machinery/door/airlock/public/glass{ + name = "Hydroponics Pasture" + }, +/obj/effect/mapping_helpers/airlock/access/any/service/hydroponics, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "joD" = ( /obj/structure/cable{ icon_state = "4-8" @@ -47604,6 +47319,14 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/equipmentstorage) +"jvs" = ( +/obj/structure/rack, +/obj/machinery/ai_status_display{ + pixel_y = 31 + }, +/obj/effect/spawner/random/tech_storage/security, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "jvC" = ( /obj/structure/rack, /obj/item/grenade/barrier{ @@ -47671,8 +47394,8 @@ /turf/simulated/floor/plasteel, /area/station/hallway/supply) "jwN" = ( -/obj/machinery/computer/sm_monitor{ - dir = 4 +/obj/effect/turf_decal/stripes/corner{ + dir = 1 }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) @@ -47754,6 +47477,12 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/science/misc_lab) +"jyQ" = ( +/obj/structure/rack, +/obj/machinery/requests_console/directional/north, +/obj/effect/spawner/random/tech_storage/engineering, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "jyZ" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ @@ -47887,19 +47616,17 @@ icon_state = "0-2" }, /obj/machinery/power/apc/directional/north, -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/east) "jCz" = ( -/obj/machinery/disposal, -/obj/structure/disposalpipe/trunk{ - dir = 1 +/obj/structure/sink/kitchen/directional/south, +/obj/structure/disposalpipe/segment{ + dir = 4 }, +/obj/effect/turf_decal/delivery/hollow, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -48122,6 +47849,20 @@ }, /turf/simulated/floor/plating, /area/station/science/xenobiology) +"jFx" = ( +/obj/structure/table/reinforced, +/obj/item/screwdriver, +/obj/item/geiger_counter, +/obj/machinery/camera{ + c_tag = "Engine North East"; + dir = 8; + network = list("SS13","Engineering") + }, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "jFz" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -48266,18 +48007,11 @@ c_tag = "Hydroponics"; dir = 6 }, +/obj/effect/turf_decal/stripes/line, /obj/machinery/light{ dir = 1 }, -/obj/item/book/manual/wiki/botanist, -/obj/item/book/manual/wiki/hydroponics, -/obj/item/book/manual/hydroponics_pod_people, -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 1 - }, -/obj/effect/turf_decal/tiles/department/medical/corner{ - dir = 1 - }, +/obj/item/storage/box/disks_plantgene, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "jHX" = ( @@ -48636,6 +48370,9 @@ /obj/structure/rack, /turf/simulated/floor/plating, /area/station/maintenance/apmaint) +"jMX" = ( +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "jNa" = ( /obj/structure/window/reinforced{ dir = 4 @@ -48832,18 +48569,12 @@ /area/station/medical/medbay) "jOR" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 - }, -/obj/structure/cable{ - icon_state = "2-4" + dir = 10 }, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" }, -/area/station/service/kitchen/freezer) +/area/station/service/kitchen) "jOS" = ( /obj/machinery/light, /obj/machinery/door_control{ @@ -49114,6 +48845,11 @@ /obj/machinery/atmospherics/portable/pump/empty, /turf/simulated/floor/plasteel/white, /area/station/science/toxins/mixing) +"jSn" = ( +/obj/structure/closet/wardrobe/xenos, +/obj/effect/turf_decal/tiles/neutral/corner, +/turf/simulated/floor/plasteel, +/area/station/public/locker) "jSo" = ( /obj/machinery/light, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -49210,6 +48946,15 @@ /obj/structure/disposalpipe/segment/corner, /turf/simulated/floor/wood, /area/station/supply/qm) +"jTp" = ( +/obj/structure/rack, +/obj/effect/spawner/random/tech_storage/robotics, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) +"jTs" = ( +/obj/structure/lattice, +/turf/space, +/area/station/engineering/engine/reactor) "jTy" = ( /obj/structure/closet/bombclosetsecurity, /obj/effect/turf_decal/tiles/neutral/corner{ @@ -49244,11 +48989,18 @@ /obj/effect/mapping_helpers/airlock/access/all/engineering/atmos, /obj/effect/mapping_helpers/airlock/locked, /turf/simulated/floor/plating, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "jTQ" = ( /obj/machinery/alarm/directional/east, /turf/simulated/floor/engine, /area/station/science/xenobiology) +"jTW" = ( +/obj/machinery/atmospherics/unary/vent_pump/on, +/obj/effect/turf_decal/tiles/department/engineering/corner{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard/north) "jUl" = ( /obj/structure/cable{ icon_state = "4-8" @@ -49453,6 +49205,10 @@ }, /turf/simulated/floor/carpet, /area/station/science/robotics/showroom) +"jXD" = ( +/obj/effect/mapping_helpers/turfs/damage, +/turf/simulated/floor/wood, +/area/station/service/bar) "jXR" = ( /obj/machinery/door/window/classic/reversed{ dir = 8 @@ -49488,12 +49244,17 @@ /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "jYw" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/effect/turf_decal/trimline/misc/toxins/filled/shrink_ccw{ + dir = 1 }, -/obj/item/crowbar, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "jYM" = ( /turf/simulated/wall/r_wall, /area/station/hallway/secondary/exit) @@ -49542,6 +49303,10 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/wood, /area/station/service/library) +"kag" = ( +/obj/structure/table/reinforced, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "kak" = ( /obj/effect/turf_decal/tiles/department/virology/side{ dir = 1 @@ -49722,20 +49487,14 @@ /turf/simulated/floor/plating, /area/station/maintenance/starboard2) "kcU" = ( +/obj/machinery/atmospherics/unary/portables_connector, +/obj/machinery/atmospherics/portable/canister/nitrogen, +/obj/structure/sign/poster/official/random/directional/west, /obj/effect/turf_decal/stripes/line{ - dir = 9 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 - }, -/obj/structure/cable{ - icon_state = "2-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 + dir = 1 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "kda" = ( /obj/machinery/door/firedoor, /obj/effect/turf_decal/stripes/white/line{ @@ -49841,6 +49600,10 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/aft) +"ket" = ( +/obj/effect/turf_decal/tiles/neutral, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "keu" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/light{ @@ -49856,8 +49619,17 @@ /turf/simulated/floor/plasteel/white, /area/station/science/toxins/mixing) "kez" = ( -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "keM" = ( /obj/effect/turf_decal/stripes/line{ dir = 5 @@ -50016,18 +49788,11 @@ /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "khg" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/visible/red, -/obj/structure/cable{ - icon_state = "1-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 +/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ + dir = 1 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "khl" = ( /obj/machinery/light{ dir = 4 @@ -50042,6 +49807,15 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, /area/station/maintenance/fore) +"khA" = ( +/obj/structure/closet/secure_closet/hydroponics, +/obj/effect/turf_decal/stripes/line, +/obj/structure/extinguisher_cabinet{ + name = "north bump"; + pixel_y = 30 + }, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "khD" = ( /obj/structure/chair{ dir = 8 @@ -50057,6 +49831,17 @@ /obj/machinery/light/small, /turf/simulated/floor/plating, /area/station/service/chapel/funeral) +"khF" = ( +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "khI" = ( /obj/structure/cable{ icon_state = "1-2" @@ -50334,18 +50119,9 @@ /turf/simulated/floor/plating, /area/station/maintenance/starboard) "knc" = ( -/obj/machinery/atmospherics/pipe/simple/visible/green, -/obj/machinery/light{ - dir = 4 - }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, +/obj/machinery/atmospherics/pipe/simple/visible/cyan, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "knq" = ( /obj/machinery/door/poddoor/preopen{ id_tag = "Engineering"; @@ -50625,14 +50401,13 @@ /obj/machinery/atmospherics/pipe/simple/visible/yellow, /turf/space, /area/space/nearstation) -"ktD" = ( -/obj/structure/reagent_dispensers/watertank/high, -/obj/item/reagent_containers/glass/bucket, -/obj/effect/turf_decal/trimline/department/medbay/filled/line{ - dir = 10 +"ktr" = ( +/obj/machinery/light, +/obj/effect/turf_decal/stripes/line{ + dir = 8 }, /turf/simulated/floor/plasteel, -/area/station/service/hydroponics) +/area/station/engineering/engine/reactor) "ktE" = ( /obj/machinery/atmospherics/unary/vent_pump/on, /obj/structure/cable/extra_insulated{ @@ -51004,19 +50779,6 @@ /obj/effect/spawner/random/trash, /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) -"kBa" = ( -/obj/machinery/atmospherics/binary/pump/on{ - name = "Gas to Cooling Loop" - }, -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/engine, -/area/station/engineering/control) "kBi" = ( /obj/effect/mapping_helpers/turfs/damage, /turf/simulated/floor/wood, @@ -51076,6 +50838,23 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/electrical/fore_port) +"kCU" = ( +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/effect/turf_decal/tiles/neutral, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "kDq" = ( /obj/structure/chair/comfy/beige{ dir = 8 @@ -51314,16 +51093,12 @@ /turf/simulated/floor/plating, /area/station/maintenance/port) "kGw" = ( -/obj/machinery/door/poddoor/shutters/radiation/preopen{ - dir = 2; - id_tag = "engsm"; - name = "Radiation Chamber Shutters" +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/turf/simulated/floor/plating, -/area/station/engineering/engine/supermatter) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "kGK" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -51346,12 +51121,6 @@ "kHi" = ( /turf/simulated/floor/plasteel/dark, /area/station/science/xenobiology) -"kHJ" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 4 - }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "kIc" = ( /obj/structure/closet/crate/freezer, /obj/effect/spawner/random/trash, @@ -51374,20 +51143,21 @@ /turf/simulated/floor/plasteel/dark, /area/station/engineering/atmos/control) "kIn" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 +/obj/structure/rack{ + dir = 1 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" +/obj/item/grenade/nuclear_starter{ + pixel_y = 7; + pixel_x = -3 + }, +/obj/item/grenade/nuclear_starter{ + pixel_y = 4 + }, +/obj/item/grenade/nuclear_starter{ + pixel_x = 3 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/table/reinforced, -/obj/item/clothing/suit/radiation, -/obj/item/clothing/head/radiation, -/obj/item/clothing/glasses/meson, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "kIw" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -51504,8 +51274,12 @@ /area/station/supply/qm) "kLs" = ( /obj/machinery/atmospherics/unary/portables_connector, +/obj/item/radio/intercom{ + name = "north bump"; + pixel_y = 28 + }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "kLu" = ( /obj/effect/landmark/start/shaft_miner, /obj/effect/decal/cleanable/dirt, @@ -51534,10 +51308,6 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/exit) "kLH" = ( -/obj/effect/spawner/random/dirt/often, -/obj/machinery/light/small{ - dir = 8 - }, /obj/structure/door_assembly/door_assembly_fre{ name = "broken freezer airlock"; move_force = 10000; @@ -51545,6 +51315,12 @@ anchored = 1 }, /obj/structure/barricade/wooden/crude, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan, +/obj/structure/cable/extra_insulated{ + icon_state = "1-2" + }, +/obj/machinery/door/firedoor, /turf/simulated/floor/plating, /area/station/maintenance/starboard) "kLJ" = ( @@ -51739,6 +51515,14 @@ "kOn" = ( /turf/simulated/wall, /area/station/engineering/engine_foyer) +"kOy" = ( +/obj/effect/decal/cleanable/dirt, +/obj/structure/cable/extra_insulated{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/tiles/neutral, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "kOC" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 8 @@ -51773,6 +51557,10 @@ /obj/machinery/economy/vending/minedrobe, /turf/simulated/floor/plasteel/dark, /area/station/supply/miningdock) +"kOQ" = ( +/obj/machinery/light, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "kOR" = ( /obj/effect/turf_decal/tiles/department/cargo/corner{ dir = 1 @@ -51813,6 +51601,11 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/atmos/distribution) +"kPq" = ( +/obj/machinery/hydroponics/soil, +/obj/machinery/alarm/directional/north, +/turf/simulated/floor/grass, +/area/station/service/hydroponics) "kPK" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -51884,6 +51677,12 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/abandonedbar) +"kQL" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "kQO" = ( /obj/structure/cable{ icon_state = "1-2" @@ -51930,18 +51729,11 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/reception) "kRX" = ( -/obj/structure/window/plasmareinforced{ - dir = 1 +/obj/machinery/atmospherics/binary/pump{ + name = "Gas Extraction" }, -/obj/machinery/power/rad_collector{ - anchored = 1 - }, -/obj/structure/cable/yellow{ - icon_state = "0-2" - }, -/obj/machinery/atmospherics/pipe/manifold/visible/scrubbers, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "kSa" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan, /obj/effect/decal/cleanable/dirt, @@ -51952,13 +51744,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) -"kSe" = ( -/obj/structure/table, -/obj/effect/spawner/random/bureaucracy, -/obj/effect/spawner/random/bureaucracy, -/obj/effect/spawner/random/toy/mech_figure, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "kSz" = ( /obj/machinery/power/apc/directional/west, /obj/structure/cable{ @@ -52026,13 +51811,19 @@ /turf/simulated/floor/catwalk, /area/station/maintenance/port) "kTZ" = ( -/obj/machinery/atmospherics/binary/pump{ - dir = 8; - name = "External Gas to Loop" +/obj/effect/turf_decal/trimline/misc/toxins/corner, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 }, -/obj/effect/turf_decal/delivery, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/machinery/light/floor, +/obj/structure/cable/yellow{ + icon_state = "2-4" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "kUp" = ( /obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, @@ -52078,14 +51869,12 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/exit) "kUC" = ( -/obj/effect/turf_decal/caution/stand_clear{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/heat_exchanging{ + dir = 6 }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/structure/lattice, +/turf/space, +/area/station/engineering/engine/reactor) "kUU" = ( /obj/effect/turf_decal/stripes/corner{ dir = 4 @@ -52170,16 +51959,14 @@ /turf/simulated/floor/plasteel/dark, /area/station/science/genetics) "kWg" = ( -/obj/effect/turf_decal/stripes/line{ +/obj/machinery/light{ dir = 8 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/atmospherics/binary/pump{ + name = "Port to Cooling Loop" }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "kWi" = ( /obj/item/kirbyplants/large, /obj/effect/turf_decal/tiles/white/corner{ @@ -52213,10 +52000,6 @@ }, /turf/simulated/floor/wood, /area/station/service/bar) -"kWs" = ( -/obj/structure/cable, -/turf/simulated/floor/plating, -/area/station/engineering/control) "kWt" = ( /obj/structure/table/glass, /obj/structure/window/reinforced{ @@ -52374,8 +52157,10 @@ /turf/simulated/floor/plasteel, /area/station/service/janitor) "kZl" = ( -/turf/simulated/floor/grass, -/area/station/service/pasture) +/obj/structure/falsewall, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "kZt" = ( /obj/machinery/door/airlock/atmos{ name = "Fore-Starboard Atmospherics Maintenance" @@ -52539,7 +52324,7 @@ "lcc" = ( /obj/machinery/atmospherics/pipe/manifold4w/visible, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "lcd" = ( /obj/structure/disposalpipe/segment, /obj/structure/extinguisher_cabinet{ @@ -52595,22 +52380,26 @@ /turf/simulated/floor/plating, /area/station/engineering/atmos/distribution) "ldg" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 6 - }, -/obj/structure/cable{ - icon_state = "1-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 +/obj/structure/railing/corner/pool_corner, +/obj/structure/railing/corner/pool_corner{ + dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "ldn" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/effect/spawner/airlock/e_to_w, /turf/simulated/floor/plating, /area/station/maintenance/solar_maintenance/fore_port) +"ldJ" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "ldQ" = ( /obj/machinery/light{ dir = 4 @@ -52642,12 +52431,6 @@ /obj/effect/mapping_helpers/airlock/locked, /turf/simulated/floor/engine, /area/station/maintenance/turbine) -"len" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "leu" = ( /obj/structure/cable{ icon_state = "4-8" @@ -52663,12 +52446,6 @@ }, /turf/simulated/floor/plasteel, /area/station/public/locker) -"lev" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ - dir = 4 - }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "leO" = ( /obj/structure/cable{ icon_state = "1-2" @@ -52699,6 +52476,23 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/rnd) +"leU" = ( +/obj/structure/rack{ + dir = 1 + }, +/obj/item/nuclear_rod/moderator/graphite{ + pixel_y = 9 + }, +/obj/item/nuclear_rod/moderator/graphite{ + pixel_y = 6; + pixel_x = 3 + }, +/obj/item/nuclear_rod/moderator/graphite{ + pixel_y = 3; + pixel_x = 6 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) "lfp" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, @@ -52741,14 +52535,11 @@ /turf/simulated/floor/plasteel, /area/station/science/robotics) "lfV" = ( -/obj/structure/sign/poster/contraband/random/directional/west, -/obj/structure/chair/sofa/corp/right{ - dir = 4 +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 8 }, -/obj/effect/spawner/random/dirt/frequent, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/turf/simulated/floor/wood, +/area/station/service/bar) "lga" = ( /obj/effect/spawner/random/barrier/obstruction, /turf/simulated/floor/plating, @@ -52824,11 +52615,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/hallway/secondary/exit) -"lhu" = ( -/obj/structure/rack, -/obj/effect/spawner/random/tech_storage/engineering, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) "lhz" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/disposalpipe/segment, @@ -52942,14 +52728,12 @@ /turf/simulated/wall, /area/station/maintenance/theatre) "ljo" = ( -/obj/structure/window/reinforced{ - dir = 4 +/obj/machinery/firealarm/directional/south, +/obj/structure/kitchenspike, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" }, -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 - }, -/turf/simulated/floor/plasteel/white/full, -/area/station/service/kitchen/freezer) +/area/station/service/kitchen) "ljS" = ( /obj/structure/table, /obj/item/stack/sheet/metal/fifty{ @@ -53048,11 +52832,6 @@ /area/station/medical/chemistry) "lkP" = ( /obj/effect/turf_decal/stripes/corner, -/obj/structure/closet/emcloset, -/obj/machinery/camera{ - c_tag = "Engineering - Escape Pod"; - network = list("SS13","Engineering") - }, /turf/simulated/floor/plating, /area/station/maintenance/engimaint) "lkS" = ( @@ -53210,13 +52989,6 @@ }, /turf/simulated/floor/plasteel, /area/station/science/robotics/showroom) -"lnd" = ( -/obj/effect/mapping_helpers/airlock/access/any/engineering/external, -/obj/effect/mapping_helpers/airlock/access/any/engineering/general, -/obj/machinery/airlock_controller/air_cycler/directional/north, -/obj/effect/map_effect/dynamic_airlock, -/turf/simulated/floor/plating, -/area/station/engineering/control) "lnu" = ( /obj/structure/table/glass, /obj/item/reagent_containers/iv_bag/blood/random, @@ -53378,6 +53150,21 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, /area/station/hallway/supply/port) +"lqe" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 5 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 5 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "1-4" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "lqg" = ( /obj/machinery/light{ dir = 1 @@ -53500,6 +53287,19 @@ /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel, /area/station/medical/break_room) +"lrP" = ( +/obj/structure/table/reinforced, +/obj/item/beach_ball{ + pixel_y = 10 + }, +/turf/simulated/floor/plasteel/reactor_pool/wall, +/area/station/engineering/engine/reactor) +"lrZ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "lsc" = ( /obj/machinery/door_control{ id = "cargowarehouse"; @@ -53913,17 +53713,15 @@ /turf/simulated/wall, /area/station/science/break_room) "lBd" = ( -/obj/structure/cable/yellow{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/obj/item/tank/internals/plasma/full, -/obj/machinery/camera{ - c_tag = "Engineering - Supermatter Chamber"; - dir = 9; - network = list("SS13","Engineering","engine") +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, +/obj/effect/turf_decal/trimline/misc/toxins/line, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "lBf" = ( /obj/effect/turf_decal/tiles/department/virology/side{ dir = 8 @@ -54197,17 +53995,6 @@ }, /turf/simulated/floor/plasteel, /area/station/security/prison/cell_block/a) -"lGr" = ( -/obj/machinery/atmospherics/binary/pump{ - dir = 8; - name = "Gas to Filter" - }, -/obj/machinery/alarm/engine/directional/south, -/obj/effect/turf_decal/stripes/corner{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "lGt" = ( /obj/structure/cable/extra_insulated{ icon_state = "1-4" @@ -54347,8 +54134,10 @@ name = "south bump"; pixel_y = -30 }, -/obj/effect/turf_decal/tiles/department/virology/side, /obj/effect/turf_decal/tiles/department/medical/corner, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "lJg" = ( @@ -54444,16 +54233,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore) "lJX" = ( -/obj/structure/window/plasmareinforced, -/obj/machinery/power/rad_collector{ - anchored = 1 - }, -/obj/structure/cable/yellow, -/obj/machinery/atmospherics/pipe/manifold/visible/supply{ - dir = 1 +/obj/structure/cable/yellow{ + icon_state = "1-2" }, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "lKc" = ( /obj/effect/decal/remains/xeno, /turf/simulated/floor/engine, @@ -54483,23 +54267,14 @@ /turf/simulated/floor/plating, /area/station/security/permabrig) "lLt" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, /obj/machinery/light{ dir = 1 }, -/obj/effect/turf_decal/stripes/line{ +/obj/effect/turf_decal/stripes/corner{ dir = 1 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "lLx" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 9 @@ -54679,12 +54454,15 @@ /turf/simulated/floor/plating, /area/station/maintenance/fsmaint2) "lOU" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan, -/obj/effect/turf_decal/stripes/line{ - dir = 8 +/obj/effect/turf_decal/trimline/misc/toxins/line, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "lPm" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/spawner/random/oil/maybe, @@ -54811,6 +54589,13 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fore) +"lRN" = ( +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 4 + }, +/obj/effect/turf_decal/tiles/jobs/bar/checker, +/turf/simulated/floor/plasteel, +/area/station/service/bar) "lRY" = ( /obj/machinery/power/apc/reinforced/directional/north, /obj/effect/turf_decal/stripes/end, @@ -55128,6 +54913,21 @@ /obj/effect/mapping_helpers/turfs/burn, /turf/simulated/floor/plating, /area/station/maintenance/abandonedbar) +"lZP" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "lZS" = ( /obj/structure/closet/firecloset, /obj/effect/spawner/random/maintenance, @@ -55190,18 +54990,14 @@ /turf/simulated/floor/plasteel, /area/station/security/brig) "maQ" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - icon_state = "1-2" - }, /obj/structure/cable/yellow{ icon_state = "4-8" }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 8 + }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "maT" = ( /obj/item/stack/cable_coil, /obj/item/stack/cable_coil, @@ -55261,15 +55057,6 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/rnd) -"mbI" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "mbW" = ( /obj/machinery/hydroponics/soil, /turf/simulated/floor/grass/no_creep, @@ -55284,6 +55071,17 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) +"mca" = ( +/obj/structure/cable/extra_insulated{ + icon_state = "1-4" + }, +/obj/effect/decal/cleanable/dirt, +/obj/structure/cable/extra_insulated{ + icon_state = "1-8" + }, +/obj/effect/turf_decal/tiles/neutral, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "mcj" = ( /obj/machinery/door/firedoor, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -55383,11 +55181,22 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/east) "mdF" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 8 - }, +/obj/machinery/atmospherics/pipe/manifold/visible/cyan, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) +"mdG" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/manifold4w/hidden/cyan, +/obj/structure/cable/extra_insulated{ + icon_state = "2-4" + }, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" + }, +/area/station/maintenance/starboard) "mdH" = ( /obj/machinery/atmospherics/pipe/simple/hidden{ dir = 5 @@ -55402,12 +55211,9 @@ /turf/simulated/floor/plasteel/dark, /area/station/science/server) "mdN" = ( -/obj/machinery/light/small{ - dir = 8 - }, -/obj/effect/map_effect/dynamic_airlock, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/machinery/nuclear_rod_fabricator, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine/reactor) "mdS" = ( /obj/structure/girder, /turf/simulated/floor/plating, @@ -55439,7 +55245,9 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 + }, /obj/effect/turf_decal/tiles/jobs/bar/checker, /turf/simulated/floor/plasteel, /area/station/service/bar) @@ -55679,13 +55487,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/equipmentstorage) -"miM" = ( -/obj/effect/spawner/window/reinforced/plasma, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "miX" = ( /obj/machinery/door/firedoor, /obj/effect/turf_decal/stripes/white/line{ @@ -55902,6 +55703,11 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/research) +"mmq" = ( +/obj/structure/table/reinforced, +/obj/item/screwdriver, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine/reactor) "mmB" = ( /obj/machinery/light/floor, /turf/simulated/floor/plasteel, @@ -56010,6 +55816,14 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) +"mom" = ( +/obj/structure/extinguisher_cabinet{ + name = "east bump"; + pixel_x = 27 + }, +/obj/effect/turf_decal/loading_area, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine/reactor) "moE" = ( /obj/structure/table/reinforced, /obj/item/clothing/glasses/sunglasses/blindfold, @@ -56301,7 +56115,7 @@ dir = 8 }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "mtZ" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/cable{ @@ -56337,6 +56151,11 @@ /obj/structure/girder, /turf/simulated/floor/plating, /area/station/maintenance/aft) +"muJ" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/cyan, +/obj/machinery/atmospherics/meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "mvP" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 10 @@ -56361,7 +56180,28 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/reception) "mwH" = ( -/obj/machinery/economy/vending/bardrobe, +/obj/structure/table/wood, +/obj/item/stack/sheet/metal{ + amount = 50 + }, +/obj/item/stack/sheet/glass{ + amount = 50; + pixel_x = 3; + pixel_y = 3 + }, +/obj/item/stack/cable_coil, +/obj/item/stack/cable_coil, +/obj/item/stack/cable_coil, +/obj/item/stack/cable_coil, +/obj/item/stack/cable_coil, +/obj/item/storage/fancy/candle_box/eternal, +/obj/item/storage/fancy/candle_box/eternal, +/obj/item/storage/fancy/candle_box/eternal, +/obj/item/radio/intercom{ + name = "north bump"; + pixel_y = 28 + }, +/obj/item/storage/toolbox/mechanical, /turf/simulated/floor/wood, /area/station/service/bar) "mwI" = ( @@ -56427,26 +56267,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/south) -"mwZ" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line, -/obj/machinery/camera{ - c_tag = "Engineering - Supermatter Aft"; - dir = 1; - network = list("SS13","Engineering","engine") - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) -"mxb" = ( -/obj/machinery/atmospherics/unary/vent_pump/on, -/obj/effect/turf_decal/tiles/jobs/bar/checker, -/turf/simulated/floor/plasteel, -/area/station/service/bar) "mxp" = ( /obj/structure/cable{ icon_state = "1-4" @@ -56538,21 +56358,6 @@ }, /turf/simulated/floor/plating, /area/station/science/xenobiology) -"mzf" = ( -/obj/structure/window/plasmareinforced{ - dir = 1 - }, -/obj/machinery/power/rad_collector{ - anchored = 1 - }, -/obj/structure/cable/yellow{ - icon_state = "0-2" - }, -/obj/machinery/atmospherics/pipe/manifold/visible/scrubbers{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) "mzF" = ( /obj/structure/cable{ icon_state = "4-8" @@ -56679,13 +56484,9 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/aft/south) "mBA" = ( -/obj/structure/lattice, -/obj/machinery/atmospherics/pipe/simple/heat_exchanging{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/heat_exchanging, -/turf/space, -/area/space/nearstation) +/obj/structure/sign/poster/official/random/directional/south, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "mBZ" = ( /obj/structure/chair{ pixel_y = -2 @@ -56739,20 +56540,12 @@ }, /turf/simulated/floor/engine/airless, /area/station/engineering/atmos) -"mCT" = ( -/obj/machinery/door/airlock/engineering/glass{ - name = "Supermatter Engine Room" - }, -/obj/machinery/door/firedoor, -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, -/turf/simulated/floor/plating, -/area/station/engineering/control) +"mCV" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/cyan, +/obj/item/pen, +/obj/effect/spawner/random/trash, +/turf/simulated/floor/bluegrid, +/area/station/maintenance/starboard) "mDn" = ( /obj/structure/closet/firecloset, /obj/effect/turf_decal/stripes/line{ @@ -56841,15 +56634,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/atmos) -"mEy" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 1 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "mEA" = ( /obj/machinery/computer/ai_resource, /obj/effect/turf_decal/tiles/dark/checker, @@ -56918,6 +56702,13 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) +"mFT" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/red{ + dir = 4 + }, +/obj/machinery/atmospherics/meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "mFU" = ( /obj/machinery/light{ dir = 4 @@ -57177,14 +56968,6 @@ /obj/effect/mapping_helpers/airlock/access/all/security/doors, /turf/simulated/floor/plasteel, /area/station/security/brig) -"mLC" = ( -/obj/machinery/atmospherics/unary/portables_connector{ - dir = 4 - }, -/obj/machinery/atmospherics/portable/canister/air, -/obj/effect/map_effect/dynamic_airlock, -/turf/simulated/floor/plating, -/area/station/engineering/control) "mLH" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ @@ -57287,23 +57070,24 @@ /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "mNu" = ( +/obj/structure/sink/directional/south, /obj/structure/disposalpipe/segment{ dir = 4 }, -/obj/machinery/firealarm/directional/south, -/obj/structure/table/glass, /obj/effect/turf_decal/tiles/department/virology/side{ dir = 0 }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) -"mNF" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 +"mNw" = ( +/obj/machinery/atmospherics/binary/pump{ + name = "Cooling Loop to Gas" }, -/obj/effect/spawner/random/dirt/often, -/turf/simulated/floor/plasteel, -/area/station/maintenance/starboard) +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "mNJ" = ( /obj/machinery/atmospherics/pipe/manifold/visible{ dir = 1 @@ -57437,9 +57221,6 @@ /obj/structure/cable{ icon_state = "4-8" }, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -57555,13 +57336,11 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/engine_foyer) -"mSm" = ( -/obj/structure/rack, -/obj/machinery/power/apc/directional/south, -/obj/structure/cable, -/obj/effect/spawner/random/tech_storage/service, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) +"mSs" = ( +/obj/effect/decal/cleanable/dirt, +/obj/machinery/firealarm/directional/north, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "mSE" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -57660,7 +57439,7 @@ dir = 1 }, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard/east) +/area/station/hallway/primary/starboard/north) "mUv" = ( /obj/machinery/door/airlock/maintenance, /obj/structure/cable/extra_insulated{ @@ -57710,9 +57489,18 @@ /turf/simulated/floor/plasteel, /area/station/command/office/hos) "mVh" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/effect/spawner/random/storage, -/obj/effect/spawner/random/maintenance, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "1-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 9 + }, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "mVl" = ( @@ -57721,18 +57509,6 @@ /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/science/break_room) -"mVn" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ - dir = 9 - }, -/obj/structure/cable/extra_insulated{ - icon_state = "1-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "mVp" = ( /obj/item/radio/intercom{ name = "south bump"; @@ -57785,30 +57561,15 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/asmaint) "mVG" = ( -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/obj/machinery/atmospherics/pipe/simple/visible/green{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ +/obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 1 }, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "mVN" = ( /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, /area/station/hallway/secondary/entry/east) -"mVO" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "mWD" = ( /obj/structure/cable{ icon_state = "4-8" @@ -58038,11 +57799,13 @@ /turf/simulated/floor/plasteel/dark, /area/station/legal/courtroom/gallery) "mZJ" = ( -/obj/structure/reflector/single{ - dir = 8 +/obj/machinery/atmospherics/portable/canister/air, +/obj/machinery/atmospherics/unary/portables_connector{ + dir = 4 }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/effect/map_effect/dynamic_airlock, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "mZP" = ( /obj/structure/window/reinforced{ dir = 4 @@ -58066,16 +57829,16 @@ /turf/simulated/floor/plasteel, /area/station/engineering/break_room) "nac" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on{ +/obj/machinery/atmospherics/unary/vent_pump/on{ dir = 8 }, -/turf/simulated/floor/plasteel, +/obj/effect/turf_decal/tiles/department/virology, +/turf/simulated/floor/plasteel/dark, /area/station/service/hydroponics) "nag" = ( -/obj/machinery/dye_generator, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/barber) +/obj/machinery/firealarm/directional/north, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "nan" = ( /obj/machinery/atmospherics/pipe/simple/visible/yellow{ dir = 9 @@ -58115,11 +57878,8 @@ /area/station/hallway/secondary/exit) "naR" = ( /obj/machinery/seed_extractor, -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 9 - }, -/obj/effect/turf_decal/tiles/department/medical/corner{ - dir = 1 +/obj/effect/turf_decal/stripes/line{ + dir = 10 }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) @@ -58170,6 +57930,13 @@ /obj/structure/sign/poster/contraband/smoke/directional/east, /turf/simulated/floor/plasteel/white, /area/station/science/xenobiology) +"nbn" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/effect/turf_decal/tiles/neutral/corner{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/central/north) "nbw" = ( /turf/simulated/wall, /area/station/maintenance/turbine) @@ -58692,9 +58459,20 @@ /turf/simulated/floor/plasteel, /area/station/security/permabrig) "niC" = ( -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/barber) +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/effect/turf_decal/tiles/neutral, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) +"niE" = ( +/obj/machinery/atmospherics/pipe/simple/visible/red, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "niQ" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 4 @@ -58894,6 +58672,16 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) +"nmP" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable/extra_insulated{ + icon_state = "2-8" + }, +/obj/effect/turf_decal/tiles/department/engineering/corner{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard/east) "nmR" = ( /obj/machinery/atmospherics/pipe/simple/hidden{ dir = 10 @@ -59131,16 +58919,6 @@ }, /turf/space, /area/space/nearstation) -"nss" = ( -/obj/machinery/atmospherics/binary/pump{ - dir = 4; - name = "Cooling Loop Bypass" - }, -/obj/effect/turf_decal/stripes/corner{ - dir = 1 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "nsB" = ( /obj/structure/table/reinforced, /obj/structure/disposalpipe/segment{ @@ -59180,7 +58958,7 @@ dir = 6 }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "nui" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/cable{ @@ -59339,12 +59117,14 @@ /turf/simulated/floor/plasteel, /area/station/security/permabrig) "nxh" = ( -/obj/machinery/requests_console/directional/east, -/obj/machinery/economy/vending/cigarette, -/obj/effect/spawner/random/dirt/frequent, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/obj/effect/decal/cleanable/dirt, +/obj/structure/rack, +/obj/item/stack/cable_coil, +/obj/item/reagent_containers/glass/rag, +/obj/item/lighter/zippo, +/obj/item/storage/fancy/candle_box/eternal, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "nxr" = ( /obj/structure/cable{ icon_state = "0-2" @@ -59415,13 +59195,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/xenobio_north) -"nyR" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 8 - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/barber) "nyT" = ( /obj/machinery/light, /obj/structure/table, @@ -59530,6 +59303,13 @@ }, /turf/simulated/floor/plasteel/white, /area/station/maintenance/aft2) +"nBB" = ( +/obj/machinery/hydroponics/soil, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, +/turf/simulated/floor/grass, +/area/station/service/hydroponics) "nBF" = ( /obj/structure/disposalpipe/segment, /obj/effect/turf_decal/tiles/department/medical/corner, @@ -59705,6 +59485,17 @@ }, /turf/simulated/floor/plasteel, /area/station/security/brig) +"nDX" = ( +/obj/machinery/door/firedoor, +/obj/structure/sign/barber{ + pixel_y = -28 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/tiles/department/security/corner, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard) "nEb" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/turf_decal/tiles/department/cargo/side{ @@ -59774,12 +59565,6 @@ }, /turf/simulated/floor/plasteel, /area/station/security/permabrig) -"nEU" = ( -/obj/machinery/door/airlock/external/glass, -/obj/machinery/access_button/offset/west, -/obj/effect/map_effect/dynamic_airlock/door/interior, -/turf/simulated/floor/plating, -/area/station/engineering/control) "nEV" = ( /turf/simulated/wall/r_wall, /area/station/security/defusal) @@ -59851,12 +59636,6 @@ }, /turf/simulated/floor/plasteel, /area/station/science/robotics/showroom) -"nFZ" = ( -/obj/machinery/door/airlock/external/glass, -/obj/machinery/access_button/offset/north, -/obj/effect/map_effect/dynamic_airlock/door/exterior, -/turf/simulated/floor/plating/airless, -/area/station/engineering/control) "nGj" = ( /obj/effect/turf_decal/tiles/department/command/side{ dir = 6 @@ -59954,6 +59733,12 @@ /obj/machinery/alarm/directional/south, /turf/simulated/floor/plasteel, /area/station/supply/miningdock) +"nIx" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "nIG" = ( /obj/machinery/door/airlock/virology/glass{ name = "Workstation" @@ -60035,16 +59820,14 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/se) "nJP" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/cyan, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, +/obj/effect/decal/cleanable/dirt, +/obj/structure/girder, /turf/simulated/floor/plating, /area/station/maintenance/starboard) +"nJQ" = ( +/obj/effect/turf_decal/stripes/corner, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "nJZ" = ( /obj/item/assembly/prox_sensor{ pixel_x = -4; @@ -60164,12 +59947,18 @@ /turf/simulated/wall/r_wall, /area/station/engineering/secure_storage) "nME" = ( -/obj/machinery/atmospherics/trinary/filter/flipped{ - dir = 1; - filter_type = 2 +/obj/effect/turf_decal/trimline/misc/toxins/corner{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, +/obj/machinery/light/floor, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "nMQ" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/disposalpipe/segment, @@ -60267,12 +60056,6 @@ icon_state = "cult" }, /area/station/maintenance/starboard) -"nOF" = ( -/obj/machinery/gibber, -/turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" - }, -/area/station/service/kitchen/freezer) "nOH" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 6 @@ -60466,6 +60249,19 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/carpet/grimey, /area/station/hallway/secondary/entry/lounge) +"nRO" = ( +/obj/structure/closet/crate/hydroponics/prespawned, +/obj/item/shovel/spade, +/obj/item/wrench, +/obj/item/reagent_containers/glass/bucket, +/obj/item/cultivator, +/obj/item/wirecutters, +/obj/machinery/alarm/directional/south, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "nRQ" = ( /obj/effect/mapping_helpers/turfs/rust/probably, /turf/simulated/wall/r_wall, @@ -60555,6 +60351,11 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/maintcentral) +"nTF" = ( +/obj/machinery/power/apc/critical/directional/east, +/obj/structure/cable, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/control) "nTK" = ( /obj/effect/turf_decal/tiles/department/science/side{ dir = 8 @@ -60590,16 +60391,9 @@ /turf/simulated/floor/plating, /area/station/supply/storage) "nTX" = ( -/obj/machinery/light/small{ - dir = 8 - }, -/obj/effect/landmark/start/botanist, -/obj/structure/chair/sofa/corp{ - dir = 4 - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/obj/effect/turf_decal/delivery, +/turf/simulated/floor/wood, +/area/station/service/bar) "nUp" = ( /obj/machinery/light, /obj/effect/turf_decal/tiles/neutral/corner{ @@ -60761,7 +60555,12 @@ /turf/simulated/floor/plasteel/dark, /area/station/medical/morgue) "nWJ" = ( -/obj/effect/spawner/random/trash/spread_tiles, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan, +/obj/structure/cable/extra_insulated{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plating, /area/station/maintenance/starboard) "nWZ" = ( @@ -60779,6 +60578,12 @@ /obj/effect/mapping_helpers/turfs/damage, /turf/simulated/floor/wood, /area/station/maintenance/starboard) +"nXs" = ( +/obj/machinery/atmospherics/pipe/manifold/hidden{ + dir = 8 + }, +/turf/simulated/floor/bluegrid, +/area/station/maintenance/starboard) "nXy" = ( /obj/machinery/light{ dir = 8 @@ -60901,10 +60706,6 @@ /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel, /area/station/command/office/rd) -"nYI" = ( -/obj/effect/spawner/window/reinforced/plasma/grilled, -/turf/simulated/floor/plating, -/area/station/engineering/control) "nYJ" = ( /obj/machinery/computer/area_atmos, /obj/effect/turf_decal/stripes/corner, @@ -61009,6 +60810,9 @@ /obj/effect/turf_decal/tiles/department/security/side, /turf/simulated/floor/plasteel, /area/station/security/main) +"oaW" = ( +/turf/simulated/wall, +/area/station/hallway/primary/starboard/north) "oaX" = ( /obj/effect/turf_decal/tiles/department/security/side{ dir = 8 @@ -61069,6 +60873,11 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plating, /area/station/maintenance/port) +"ocB" = ( +/obj/effect/spawner/random/barrier/grille_often, +/obj/effect/turf_decal/tiles/neutral, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "ocC" = ( /obj/structure/disposalpipe/segment/corner{ dir = 8 @@ -61228,6 +61037,11 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) +"ofH" = ( +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/unary/vent_pump/on, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "ofK" = ( /obj/effect/landmark/start/janitor, /turf/simulated/floor/plasteel, @@ -61295,14 +61109,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry/west) -"ogD" = ( -/obj/machinery/firealarm/directional/south, -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 4 - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/barber) "ogE" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -61387,11 +61193,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) "oib" = ( -/obj/structure/cable{ - icon_state = "0-2" +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 10 }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "oic" = ( /obj/structure/cable{ icon_state = "1-4" @@ -61478,6 +61284,13 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/aft) +"ojF" = ( +/obj/machinery/door/airlock/maintenance, +/obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/all/service/hydroponics, +/obj/machinery/door/firedoor, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "ojN" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 4 @@ -61708,12 +61521,21 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/fore) "opU" = ( -/obj/structure/lattice/catwalk, -/obj/machinery/atmospherics/pipe/simple/heat_exchanging{ - dir = 5 +/obj/structure/rack{ + dir = 1 }, -/turf/space, -/area/space/nearstation) +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_y = 3 + }, +/obj/item/nuclear_rod/fuel/uranium_238{ + pixel_x = -3; + pixel_y = 6 + }, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "opZ" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 8 @@ -61877,6 +61699,12 @@ /obj/effect/turf_decal/tiles/department/cargo/corner, /turf/simulated/floor/plasteel, /area/station/hallway/supply/port) +"osZ" = ( +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "otf" = ( /obj/structure/closet/wardrobe/black, /turf/simulated/floor/mineral/titanium/blue, @@ -62023,12 +61851,6 @@ /obj/effect/turf_decal/tiles/dark/corner, /turf/simulated/floor/plasteel, /area/station/engineering/transmission_laser) -"owQ" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "oxa" = ( /obj/effect/turf_decal/delivery, /obj/machinery/light/floor, @@ -62218,22 +62040,29 @@ /obj/structure/cable{ icon_state = "4-8" }, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard/east) +/area/station/hallway/primary/starboard/north) "oAN" = ( /obj/structure/table, /obj/item/storage/toolbox/electrical, /turf/simulated/floor/plasteel, /area/station/public/construction) +"oAU" = ( +/obj/machinery/atmospherics/pipe/simple/heat_exchanging{ + dir = 4 + }, +/obj/structure/lattice, +/turf/space, +/area/station/engineering/engine/reactor) "oBd" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/unary/vent_pump/on{ @@ -62532,13 +62361,6 @@ }, /turf/simulated/floor/plasteel, /area/station/supply/office) -"oFN" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "oFR" = ( /obj/structure/cable{ icon_state = "1-2" @@ -62643,15 +62465,17 @@ /turf/simulated/floor/plasteel/white, /area/station/science/rnd) "oHv" = ( -/obj/effect/turf_decal/trimline/neutral/filled/corner{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /mob/living/basic/goat/chef, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" }, -/area/station/service/kitchen/freezer) +/area/station/service/kitchen) "oHy" = ( /obj/structure/disposalpipe/junction{ dir = 8 @@ -62793,11 +62617,9 @@ /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "oLw" = ( -/obj/structure/cable{ +/obj/structure/cable/extra_insulated{ icon_state = "1-2" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -62941,21 +62763,18 @@ }, /turf/simulated/floor/plasteel, /area/station/security/brig) -"oNy" = ( -/obj/structure/table, -/obj/effect/spawner/random/bureaucracy, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) -"oNz" = ( -/obj/structure/rack, -/obj/effect/spawner/random/tech_storage/security, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) "oNA" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/spawner/random/cobweb/right/frequent, /turf/simulated/floor/plating, /area/station/maintenance/starboard2) +"oNC" = ( +/obj/machinery/shower/directional/west, +/obj/effect/turf_decal/stripes/corner{ + dir = 8 + }, +/turf/simulated/floor/noslip, +/area/station/engineering/control) "oNQ" = ( /obj/structure/cable{ icon_state = "4-8" @@ -62985,11 +62804,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/xenobio_north) -"oOs" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan, -/obj/effect/turf_decal/stripes/red, -/turf/simulated/floor/engine, -/area/station/engineering/control) "oOu" = ( /obj/structure/disposalpipe/segment, /obj/structure/cable{ @@ -63022,7 +62836,19 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) "oOE" = ( -/obj/effect/spawner/random/dirt/frequent, +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "2-4" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 6 + }, /obj/effect/turf_decal/tiles/neutral, /turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) @@ -63111,27 +62937,6 @@ /obj/effect/spawner/random/fungus/maybe, /turf/simulated/wall, /area/station/maintenance/turbine) -"oQb" = ( -/obj/machinery/navbeacon{ - codes_txt = "delivery"; - location = "Hydroponics" - }, -/obj/structure/plasticflaps{ - opacity = 1 - }, -/obj/machinery/door/window/classic/normal{ - dir = 4; - name = "Botany Delivery" - }, -/obj/effect/mapping_helpers/airlock/windoor/access/any/supply/mule_bot{ - dir = 4 - }, -/obj/effect/mapping_helpers/airlock/windoor/access/any/service/hydroponics{ - dir = 4 - }, -/obj/effect/turf_decal/delivery/hollow, -/turf/simulated/floor/plasteel, -/area/station/service/hydroponics) "oQc" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 8 @@ -63341,10 +63146,6 @@ }, /turf/simulated/floor/wood, /area/station/maintenance/fpmaint) -"oTB" = ( -/obj/effect/spawner/random/fungus/frequent, -/turf/simulated/wall, -/area/station/service/break_room) "oTK" = ( /obj/machinery/economy/vending/cargodrobe, /obj/machinery/status_display/supply_display{ @@ -63525,17 +63326,10 @@ /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "oWm" = ( -/obj/structure/cable{ - icon_state = "1-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, -/obj/structure/cable{ - icon_state = "4-8" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/manifold/visible/green, +/obj/machinery/atmospherics/meter, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "oWs" = ( /obj/effect/turf_decal/stripes/line, /obj/structure/cable/extra_insulated, @@ -63629,6 +63423,14 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/station/maintenance/port) +"oXn" = ( +/obj/machinery/atmospherics/unary/portables_connector, +/obj/machinery/atmospherics/portable/canister, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "oXw" = ( /obj/machinery/door/airlock/security/glass, /obj/effect/mapping_helpers/airlock/access/any/security/forensics, @@ -63673,7 +63475,7 @@ /area/station/maintenance/starboard) "oXP" = ( /obj/structure/table, -/obj/machinery/cooking/stovetop/loaded, +/obj/machinery/cooking/grill, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -63735,9 +63537,6 @@ /area/station/maintenance/xenobio_south) "oZT" = ( /obj/machinery/atmospherics/unary/vent_pump/on, -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -63792,29 +63591,11 @@ }, /turf/simulated/floor/plasteel, /area/station/public/locker) -"pbx" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/cyan, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/effect/spawner/random/dirt/often, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, +"pbn" = ( +/obj/structure/closet/wardrobe/mixed, +/obj/effect/turf_decal/tiles/neutral/corner, /turf/simulated/floor/plasteel, -/area/station/maintenance/starboard) -"pcb" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/cable{ - icon_state = "4-8" - }, -/turf/simulated/floor/plasteel/white/grid, -/area/station/service/kitchen/freezer) +/area/station/public/locker) "pcd" = ( /obj/structure/table/reinforced, /obj/item/kitchen/utensil/pfork, @@ -64016,13 +63797,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/disposal) "peF" = ( -/obj/machinery/door/airlock/engineering/glass{ - heat_proof = 1; - name = "Supermatter Chamber" +/obj/machinery/atmospherics/unary/reactor_gas_node{ + dir = 8 }, -/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "pfa" = ( /obj/structure/table, /obj/item/storage/belt/utility, @@ -64030,20 +63809,13 @@ /obj/effect/spawner/random/maintenance, /turf/simulated/floor/plasteel, /area/station/maintenance/starboard2) -"pfH" = ( -/obj/machinery/door/airlock/engineering/glass{ - name = "Supermatter Engine Room" - }, -/obj/machinery/door/firedoor, -/obj/structure/cable{ - icon_state = "4-8" - }, +"pfr" = ( +/obj/machinery/atmospherics/pipe/simple/visible/red, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "pfI" = ( /obj/structure/cable/extra_insulated{ icon_state = "4-8" @@ -64103,20 +63875,22 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/security/main) -"pgP" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 +"pgF" = ( +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/structure/table/reinforced, -/obj/item/tank/internals/emergency_oxygen/engi, -/obj/item/clothing/gloves/color/black, -/obj/item/clothing/glasses/meson/engine, -/turf/simulated/floor/engine, -/area/station/engineering/control) +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "phf" = ( /obj/machinery/light/small{ dir = 8 @@ -64148,9 +63922,6 @@ "pig" = ( /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/purple, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -64579,21 +64350,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel/dark, /area/station/aisat) -"prI" = ( -/obj/structure/shelf/spice_rack, -/obj/item/reagent_containers/condiment/pack/hotsauce, -/obj/item/reagent_containers/condiment/pack/hotsauce, -/obj/item/reagent_containers/condiment/pack/hotsauce, -/obj/item/reagent_containers/condiment/pack/hotsauce, -/obj/item/reagent_containers/condiment/pack/hotsauce, -/obj/item/reagent_containers/condiment/pack/ketchup, -/obj/item/reagent_containers/condiment/pack/ketchup, -/obj/item/reagent_containers/condiment/pack/ketchup, -/obj/item/reagent_containers/condiment/pack/ketchup, -/obj/item/reagent_containers/condiment/pack/ketchup, -/obj/machinery/firealarm/directional/west, -/turf/simulated/floor/plasteel/white/full, -/area/station/service/kitchen/freezer) "psr" = ( /obj/effect/turf_decal/tiles/department/security/side{ dir = 9 @@ -65037,6 +64793,12 @@ /obj/effect/turf_decal/tiles/neutral/corner, /turf/simulated/floor/plasteel, /area/station/public/dorms) +"pAA" = ( +/obj/machinery/light{ + dir = 8 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "pAO" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/autoname, @@ -65192,13 +64954,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/solar_maintenance/fore_starboard) -"pDp" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ - dir = 4 - }, -/obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "pDA" = ( /obj/structure/cable{ icon_state = "1-2" @@ -65296,20 +65051,12 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/nw) "pFo" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, +/obj/machinery/atmospherics/unary/portables_connector, /obj/effect/turf_decal/stripes/line{ dir = 1 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "pFI" = ( /obj/machinery/firealarm/directional/north, /turf/simulated/floor/wood, @@ -65318,13 +65065,6 @@ /obj/machinery/firealarm/directional/east, /turf/simulated/floor/carpet/royalblack, /area/station/supply/qm) -"pGk" = ( -/obj/machinery/atmospherics/unary/vent_pump/high_volume{ - dir = 8 - }, -/obj/effect/map_effect/dynamic_airlock, -/turf/simulated/floor/plating, -/area/station/engineering/control) "pGn" = ( /obj/effect/turf_decal/tiles/dark/corner{ dir = 4 @@ -65442,26 +65182,21 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore/east) "pHM" = ( -/obj/machinery/door/airlock/maintenance, -/obj/effect/mapping_helpers/airlock/autoname, -/obj/effect/mapping_helpers/airlock/access/all/service/hydroponics, -/obj/machinery/door/firedoor, -/turf/simulated/floor/plating, +/obj/structure/sign/poster/official/random/directional/east, +/obj/machinery/economy/vending/hydrodrobe, +/obj/machinery/light/small{ + dir = 1 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 6 + }, +/turf/simulated/floor/plasteel, /area/station/service/hydroponics) "pHY" = ( /obj/machinery/door/firedoor, /obj/effect/turf_decal/tiles/white/side, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/south) -"pIk" = ( -/obj/structure/reflector/box{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "pIr" = ( /obj/machinery/light_switch{ dir = 4; @@ -65814,6 +65549,16 @@ }, /turf/simulated/floor/plating, /area/station/engineering/gravitygenerator) +"pOI" = ( +/obj/machinery/light_switch{ + dir = 8; + name = "east bump"; + pixel_x = 24 + }, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" + }, +/area/station/service/kitchen) "pOV" = ( /obj/structure/disposalpipe/segment, /obj/structure/cable{ @@ -65947,6 +65692,13 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/aft/south) +"pRl" = ( +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/obj/machinery/door/airlock/engineering/glass{ + name = "Fabrication" + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine/reactor) "pRp" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/light/small{ @@ -66020,13 +65772,6 @@ /obj/effect/turf_decal/tiles/department/chemistry/side, /turf/simulated/floor/plasteel/white, /area/station/medical/chemistry) -"pSf" = ( -/obj/machinery/atmospherics/trinary/filter/flipped{ - dir = 1; - filter_type = -1 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "pSg" = ( /obj/structure/table/glass, /obj/item/storage/box/bodybags{ @@ -66077,10 +65822,6 @@ }, /turf/simulated/floor/mineral/titanium/blue, /area/shuttle/arrival/station) -"pSL" = ( -/obj/machinery/atmospherics/refill_station/nitrogen, -/turf/simulated/floor/catwalk, -/area/station/hallway/primary/starboard/east) "pSM" = ( /obj/machinery/camera{ c_tag = "Head of Security's Office" @@ -66211,16 +65952,11 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/chemistry) -"pUq" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ - dir = 8; - initialize_directions = 11 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) +"pUo" = ( +/obj/machinery/computer/nonfunctional, +/obj/effect/spawner/random/cobweb/right/rare, +/turf/simulated/floor/bluespace, +/area/station/maintenance/starboard) "pUr" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -66292,6 +66028,19 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/starboard) +"pVn" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/obj/item/radio/intercom{ + name = "north bump"; + pixel_y = 28 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 5 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "pVr" = ( /obj/structure/cable{ icon_state = "1-2" @@ -66322,6 +66071,11 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fore2) +"pVB" = ( +/obj/structure/table, +/obj/item/paper/crumpled/bloody/hacker, +/turf/simulated/floor/bluespace, +/area/station/maintenance/starboard) "pVQ" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 9 @@ -66411,6 +66165,20 @@ }, /turf/simulated/floor/plasteel, /area/station/security/permabrig) +"pXu" = ( +/obj/machinery/camera{ + c_tag = "Secure Tech Storage"; + dir = 8 + }, +/obj/item/radio/intercom{ + name = "east bump"; + pixel_x = 28 + }, +/obj/machinery/light/small{ + dir = 4 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "pXH" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -66955,18 +66723,15 @@ /turf/simulated/floor/plating, /area/station/maintenance/disposal) "qfs" = ( -/obj/structure/cable/extra_insulated{ +/obj/structure/cable{ icon_state = "1-2" }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/effect/spawner/random/dirt/frequent, -/obj/structure/cable/extra_insulated{ - icon_state = "1-8" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 }, -/obj/effect/spawner/random/trash/spread_tiles, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "qfB" = ( /obj/structure/cable/yellow{ icon_state = "1-2" @@ -67031,14 +66796,9 @@ /turf/simulated/floor/plasteel/dark, /area/station/hallway/secondary/exit) "qhd" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/cyan, -/obj/effect/spawner/random/dirt/often, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" +/obj/effect/decal/cleanable/dirt, +/obj/item/stack/sheet/metal{ + amount = 5 }, /turf/simulated/floor/plating, /area/station/maintenance/starboard) @@ -67113,16 +66873,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/controlroom) -"qiI" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/obj/machinery/light{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/visible/red, -/turf/simulated/floor/engine, -/area/station/engineering/control) "qiK" = ( /obj/structure/closet/emcloset, /obj/effect/spawner/random/trash, @@ -67207,21 +66957,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/atmos/control) -"qlh" = ( -/obj/structure/table, -/obj/item/paper_bin{ - pixel_x = -6; - pixel_y = 5 - }, -/obj/item/book/manual/wiki/sop_service{ - pixel_x = 6; - pixel_y = 2 - }, -/obj/structure/window/reinforced{ - dir = 4 - }, -/turf/simulated/floor/plasteel/white/full, -/area/station/service/kitchen/freezer) "qlx" = ( /turf/simulated/floor/plasteel/dark, /area/station/science/genetics) @@ -67314,13 +67049,6 @@ }, /turf/simulated/floor/carpet, /area/station/legal/courtroom) -"qnI" = ( -/obj/structure/sign/poster/official/random/directional/east, -/obj/effect/turf_decal/tiles/department/engineering/side{ - dir = 4 - }, -/turf/simulated/floor/plasteel, -/area/station/engineering/break_room) "qnY" = ( /obj/effect/turf_decal/stripes/line{ dir = 4 @@ -67343,6 +67071,12 @@ /obj/item/storage/fancy/candle_box/full, /turf/simulated/floor/plasteel/white, /area/station/maintenance/aft) +"qoi" = ( +/obj/machinery/door/airlock/external/glass, +/obj/effect/map_effect/dynamic_airlock/door/exterior, +/obj/machinery/access_button/offset/southeast, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "qos" = ( /obj/structure/cable{ icon_state = "1-2" @@ -67411,9 +67145,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/purple{ dir = 10 }, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -67541,6 +67272,13 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/nw) +"qtq" = ( +/obj/structure/closet/crate/freezer, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" + }, +/area/station/maintenance/starboard) "qtt" = ( /obj/structure/window/reinforced{ dir = 1 @@ -67829,16 +67567,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) -"qxG" = ( -/obj/machinery/light_switch{ - dir = 4; - name = "west bump"; - pixel_x = -24 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/mob/living/basic/pig, -/turf/simulated/floor/grass, -/area/station/service/pasture) "qxP" = ( /obj/machinery/light/small{ dir = 4 @@ -68273,10 +68001,10 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore2) "qGI" = ( -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 10 - }, /obj/effect/turf_decal/tiles/department/medical/checker, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "qGL" = ( @@ -68332,7 +68060,7 @@ network = list("SS13","Engineering","engine") }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "qIa" = ( /obj/structure/bed, /obj/item/crowbar/red{ @@ -68349,9 +68077,14 @@ /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 1 }, -/obj/effect/turf_decal/tiles/department/security/corner, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/tiles/department/engineering/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard/east) +/area/station/hallway/primary/starboard/north) "qIh" = ( /obj/machinery/sparker{ id = "Xenobio"; @@ -68428,10 +68161,13 @@ /turf/simulated/floor/plasteel/dark, /area/station/security/main) "qJI" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/structure/girder, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +/obj/structure/rack, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/effect/spawner/random/tech_storage/research, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "qJN" = ( /obj/effect/spawner/random/trash, /obj/structure/cable/extra_insulated{ @@ -68446,22 +68182,25 @@ /turf/simulated/floor/carpet/purple, /area/station/service/library) "qKh" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 8 +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 5 }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 8 +/obj/machinery/camera{ + c_tag = "Engine North West"; + dir = 5; + network = list("SS13","Engineering") }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "qKA" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/cyan, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 9 + }, /obj/structure/cable/extra_insulated{ - icon_state = "1-2" + icon_state = "1-8" }, /turf/simulated/floor/plating, /area/station/maintenance/starboard) @@ -68650,11 +68389,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/aft2) -"qMN" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/effect/mapping_helpers/turfs/damage, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "qMU" = ( /obj/structure/cable{ icon_state = "0-2" @@ -68726,6 +68460,16 @@ }, /turf/simulated/floor/plasteel, /area/station/security/permabrig) +"qNW" = ( +/obj/structure/cable{ + icon_state = "0-2" + }, +/obj/machinery/power/apc/directional/north, +/obj/effect/turf_decal/tiles/department/engineering/corner{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard/north) "qOx" = ( /obj/structure/cable{ icon_state = "4-8" @@ -68735,18 +68479,6 @@ }, /turf/simulated/floor/plasteel, /area/station/security/warden) -"qOQ" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/obj/structure/cable{ - icon_state = "2-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "qPe" = ( /obj/structure/cable{ icon_state = "1-8" @@ -68904,6 +68636,16 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/xenobiology) +"qRc" = ( +/obj/structure/flora/ausbushes/grassybush, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 10 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/turf/simulated/floor/grass, +/area/station/service/hydroponics) "qRd" = ( /obj/structure/table, /obj/effect/spawner/random/engineering/misc, @@ -69119,13 +68861,8 @@ /turf/simulated/floor/plating, /area/station/hallway/primary/fore/east) "qUq" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/turf/simulated/floor/plasteel, +/mob/living/basic/chicken/clucky, +/turf/simulated/floor/grass, /area/station/service/hydroponics) "qUX" = ( /obj/effect/turf_decal/tiles/neutral/corner{ @@ -69284,12 +69021,15 @@ /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "qXW" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/effect/turf_decal/tiles/department/virology/side{ +/obj/machinery/light{ dir = 4 }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/effect/turf_decal/tiles/department/medical/corner, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 4 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "qXY" = ( @@ -69307,16 +69047,6 @@ }, /turf/simulated/floor/plasteel, /area/station/security/main) -"qYc" = ( -/obj/effect/turf_decal/caution/stand_clear{ - dir = 1 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "qYe" = ( /obj/structure/chair/office{ dir = 4 @@ -69341,8 +69071,14 @@ /turf/simulated/floor/plating, /area/station/supply/office) "qYT" = ( -/turf/simulated/wall, -/area/station/service/pasture) +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" + }, +/area/station/maintenance/starboard) "qZl" = ( /obj/machinery/light/small{ dir = 1 @@ -69361,23 +69097,8 @@ /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "rab" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line, -/obj/machinery/airlock_controller/access_controller{ - name = "Atmos Supermatter Access Console"; - ext_door_link_id = "atmossm_door_ext"; - int_door_link_id = "atmossm_door_int"; - pixel_y = -24; - ext_button_link_id = "atmossm_btn_ext"; - int_button_link_id = "atmossm_btn_int" - }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "rag" = ( /obj/structure/cable/yellow{ icon_state = "1-2" @@ -69433,18 +69154,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/sw) -"raV" = ( -/obj/structure/cable{ - icon_state = "2-8" - }, -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "rbd" = ( /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, @@ -69505,12 +69214,12 @@ /turf/simulated/floor/plasteel, /area/station/security/brig) "rbC" = ( -/obj/machinery/camera{ - c_tag = "Engineering - Laser Room Fore"; - network = list("SS13","Engineering","engine") +/obj/structure/closet/crate/can, +/obj/effect/turf_decal/stripes/line{ + dir = 5 }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rbK" = ( /obj/structure/cable{ icon_state = "4-8" @@ -69548,6 +69257,12 @@ /obj/effect/spawner/random/cobweb/left/rare, /turf/simulated/floor/plasteel, /area/station/maintenance/starboard2) +"rbT" = ( +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rbV" = ( /obj/effect/decal/cleanable/dirt, /obj/item/assembly/mousetrap/armed, @@ -69604,6 +69319,12 @@ /obj/effect/decal/cleanable/cobweb2, /turf/simulated/floor/plating, /area/station/maintenance/aft) +"rdm" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rdw" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 @@ -69645,6 +69366,13 @@ /obj/effect/mapping_helpers/airlock/autoname, /turf/simulated/floor/plating, /area/station/maintenance/medmaint) +"rfp" = ( +/obj/machinery/atmospherics/pipe/simple/visible/cyan, +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rfC" = ( /obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, @@ -69684,11 +69412,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/aft) -"rgo" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/effect/spawner/random/cobweb/left/frequent, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "rgu" = ( /obj/effect/turf_decal/tiles/department/virology/corner{ dir = 4 @@ -69728,6 +69451,11 @@ }, /turf/simulated/floor/plasteel, /area/station/security/brig) +"rhl" = ( +/obj/machinery/light, +/obj/effect/turf_decal/stripes/line, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rho" = ( /obj/effect/turf_decal/stripes/line{ dir = 1 @@ -69802,6 +69530,13 @@ }, /turf/simulated/floor/catwalk, /area/station/maintenance/fsmaint2) +"riC" = ( +/obj/machinery/atmospherics/pipe/manifold/visible/cyan, +/obj/structure/cable/yellow{ + icon_state = "1-2" + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "riK" = ( /obj/machinery/shieldwallgen, /obj/structure/window/reinforced{ @@ -69880,13 +69615,14 @@ /turf/simulated/floor/plasteel/dark, /area/station/medical/surgery/observation) "rjC" = ( -/obj/machinery/camera{ - c_tag = "Starboard Primary Hallway - Tech Storage"; - dir = 1 +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/tiles/department/engineering/corner{ + dir = 8 }, -/obj/effect/turf_decal/tiles/department/security/corner, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard/east) +/area/station/hallway/primary/starboard/north) "rjU" = ( /obj/machinery/hologram/holopad, /obj/structure/cable{ @@ -69997,18 +69733,6 @@ /obj/machinery/atmospherics/pipe/manifold4w/hidden/cyan, /turf/simulated/floor/plating, /area/station/maintenance/fore2) -"rlJ" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/cyan, -/obj/machinery/light, -/obj/effect/turf_decal/stripes/line, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/obj/structure/cable/yellow{ - icon_state = "1-4" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "rlX" = ( /obj/structure/lattice/catwalk, /obj/machinery/atmospherics/pipe/simple/heat_exchanging{ @@ -70073,6 +69797,9 @@ /obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel/dark, /area/station/medical/surgery/observation) +"rnF" = ( +/turf/simulated/floor/plating, +/area/station/maintenance/engimaint) "rnM" = ( /obj/effect/turf_decal/delivery/white/hollow, /obj/item/mecha_parts/mecha_equipment/extinguisher, @@ -70217,24 +69944,17 @@ /turf/simulated/floor/plasteel/white, /area/station/science/xenobiology) "rqC" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/structure/closet/crate/can, -/turf/simulated/floor/plating, +/obj/structure/closet/crate, +/obj/effect/spawner/random/trash, +/obj/effect/turf_decal/tiles/neutral, +/turf/simulated/floor/plasteel, /area/station/maintenance/fsmaint) "rqN" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, +/obj/structure/cable, /obj/machinery/power/apc/critical/directional/south, -/obj/structure/cable{ - icon_state = "0-4" - }, +/obj/effect/turf_decal/stripes/line, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "rqY" = ( /obj/structure/window/reinforced, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -70262,13 +69982,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/starboard) "rrz" = ( -/obj/structure/cable{ +/obj/structure/cable/extra_insulated{ icon_state = "2-4" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "rsb" = ( /obj/structure/disposalpipe/segment/corner{ dir = 8 @@ -70311,14 +70029,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/controlroom) -"rsI" = ( -/obj/machinery/camera{ - c_tag = "Service Break Room"; - dir = 5 - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) "rsN" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/cyan, @@ -70356,20 +70066,13 @@ /turf/simulated/floor/wood, /area/station/command/office/hos) "rsT" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, +/obj/machinery/atmospherics/unary/portables_connector, +/obj/machinery/atmospherics/portable/canister/nitrogen, /obj/effect/turf_decal/stripes/line{ dir = 1 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "rtb" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 8 @@ -70451,12 +70154,12 @@ /obj/structure/cable{ icon_state = "4-8" }, -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 8 - }, /obj/effect/turf_decal/tiles/department/medical/corner{ dir = 1 }, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "rtY" = ( @@ -70484,6 +70187,10 @@ /obj/item/folder/yellow, /turf/simulated/floor/wood, /area/station/public/vacant_office) +"ruD" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plating, +/area/station/maintenance/engimaint) "ruH" = ( /obj/item/radio/intercom/department/security{ pixel_x = 28 @@ -70511,11 +70218,6 @@ /obj/effect/turf_decal/tiles/dark/corner, /turf/simulated/floor/plasteel, /area/station/maintenance/electrical/port) -"rve" = ( -/obj/machinery/door/firedoor, -/obj/effect/turf_decal/tiles/department/security/corner, -/turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard) "rvm" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -70533,10 +70235,27 @@ /turf/simulated/floor/plating, /area/station/maintenance/apmaint) "rvF" = ( -/obj/machinery/atmospherics/unary/vent_pump/on, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/obj/machinery/navbeacon{ + codes_txt = "delivery"; + dir = 1; + location = "Bar" + }, +/obj/machinery/door/window/classic/reversed{ + dir = 4; + name = "Bar Delivery" + }, +/obj/effect/mapping_helpers/airlock/windoor/access/any/supply/mule_bot{ + dir = 4 + }, +/obj/effect/mapping_helpers/airlock/windoor/access/any/service/bar{ + dir = 4 + }, +/obj/structure/plasticflaps{ + opacity = 1 + }, +/obj/machinery/door/firedoor, +/turf/simulated/floor/plasteel, +/area/station/maintenance/starboard) "rvP" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -70551,9 +70270,9 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/nw) "rwh" = ( -/obj/machinery/atmospherics/supermatter_crystal/engine, +/obj/machinery/atmospherics/fission_reactor/roundstart, /turf/simulated/floor/engine, -/area/station/engineering/engine/supermatter) +/area/station/engineering/engine/reactor) "rwj" = ( /obj/machinery/computer/card{ dir = 1 @@ -70582,13 +70301,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/medical/morgue) -"rwE" = ( -/obj/structure/lattice/catwalk, -/obj/machinery/atmospherics/pipe/simple/heat_exchanging{ - dir = 9 - }, -/turf/space, -/area/space/nearstation) "rxc" = ( /turf/simulated/wall, /area/station/maintenance/abandonedservers) @@ -70810,6 +70522,10 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/abandonedservers) +"rBh" = ( +/obj/structure/sign/poster/official/cleanliness/directional/south, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "rBn" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -70890,18 +70606,6 @@ /obj/effect/mapping_helpers/airlock/autoname, /turf/simulated/floor/wood, /area/station/medical/psych) -"rCD" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "rDd" = ( /obj/effect/turf_decal/woodsiding{ dir = 8 @@ -71007,12 +70711,6 @@ "rEQ" = ( /turf/simulated/floor/plasteel/fakestairs, /area/station/hallway/secondary/exit) -"rEV" = ( -/obj/effect/decal/cleanable/dirt, -/obj/effect/spawner/random/blood/often, -/obj/machinery/atmospherics/unary/vent_scrubber/on, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "rFa" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -71341,6 +71039,16 @@ /obj/effect/turf_decal/tiles/department/medical, /turf/simulated/floor/plasteel/white, /area/station/medical/paramedic) +"rKg" = ( +/obj/machinery/atmospherics/pipe/simple/heat_exchanging/junction{ + dir = 1 + }, +/obj/structure/grille/broken, +/obj/item/stack/rods, +/obj/effect/decal/cleanable/glass, +/obj/item/shard, +/turf/simulated/floor/light, +/area/station/maintenance/starboard) "rKu" = ( /obj/structure/window/reinforced{ dir = 1 @@ -71383,13 +71091,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/west) -"rLs" = ( -/obj/machinery/atmospherics/pipe/simple/visible/cyan, -/obj/effect/turf_decal/stripes/line{ - dir = 10 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "rLw" = ( /obj/machinery/atmospherics/air_sensor{ autolink_id = "waste_sensor"; @@ -71449,13 +71150,16 @@ /turf/simulated/floor/engine, /area/station/science/misc_lab) "rMp" = ( -/obj/machinery/atmospherics/unary/portables_connector{ - dir = 8 +/obj/effect/turf_decal/trimline/misc/toxins/line, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/machinery/atmospherics/portable/canister/nitrogen, -/obj/effect/turf_decal/delivery/hollow, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/structure/cable/yellow{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "rMW" = ( /obj/machinery/economy/vending/coffee, /obj/item/radio/intercom{ @@ -72111,8 +71815,10 @@ name = "south bump"; pixel_y = -24 }, -/obj/effect/turf_decal/tiles/department/virology/side, /obj/effect/turf_decal/tiles/department/medical/corner, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "rXl" = ( @@ -72410,6 +72116,10 @@ /obj/effect/turf_decal/delivery, /turf/simulated/floor/plasteel, /area/station/engineering/atmos/control) +"scN" = ( +/obj/effect/spawner/window/reinforced/plasma/grilled, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "scO" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/cable/extra_insulated{ @@ -72418,24 +72128,18 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/fore2) "sdJ" = ( -/obj/structure/shelf/spice_rack, -/obj/item/reagent_containers/condiment/peppermill, -/obj/item/reagent_containers/condiment/peppermill, -/obj/item/reagent_containers/condiment/peppermill, -/obj/item/reagent_containers/condiment/peppermill, -/obj/item/reagent_containers/condiment/peppermill, -/obj/item/reagent_containers/condiment/saltshaker, -/obj/item/reagent_containers/condiment/saltshaker, -/obj/item/reagent_containers/condiment/saltshaker, -/obj/item/reagent_containers/condiment/saltshaker, -/obj/item/reagent_containers/condiment/saltshaker, -/obj/machinery/light_switch{ - dir = 4; - name = "west bump"; - pixel_x = -24 +/obj/machinery/door/airlock/freezer, +/obj/effect/mapping_helpers/airlock/access/all/service/kitchen, +/obj/machinery/door/firedoor, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/turf/simulated/floor/plasteel/white/full, -/area/station/service/kitchen/freezer) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/effect/turf_decal/tiles/dark/checker, +/turf/simulated/floor/plasteel/white, +/area/station/service/kitchen) "sdO" = ( /obj/machinery/disposal, /obj/machinery/status_display{ @@ -72479,11 +72183,14 @@ /turf/simulated/floor/plasteel/dark, /area/station/science/xenobiology) "seF" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, /obj/machinery/atmospherics/pipe/simple/hidden/cyan, /obj/structure/cable/extra_insulated{ - icon_state = "2-4" + icon_state = "2-8" }, -/turf/simulated/floor/plasteel, +/turf/simulated/floor/plating, /area/station/maintenance/starboard) "seM" = ( /obj/structure/sign/poster/ripped/directional/north, @@ -72516,9 +72223,6 @@ /area/station/medical/morgue) "sft" = ( /obj/machinery/economy/atm/directional/north, -/obj/structure/cable/extra_insulated{ - icon_state = "4-8" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -72590,16 +72294,12 @@ /turf/simulated/floor/plasteel/white, /area/station/science/lobby) "sgk" = ( -/obj/machinery/power/apc/directional/north, -/obj/structure/cable{ - icon_state = "0-2" +/obj/machinery/smartfridge/foodcart, +/obj/machinery/alarm/directional/north, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" }, -/obj/structure/chair{ - dir = 4 - }, -/obj/effect/landmark/start/chef, -/turf/simulated/floor/plasteel/white/grid, -/area/station/service/kitchen/freezer) +/area/station/service/kitchen) "sgx" = ( /obj/vehicle/janicart, /obj/effect/turf_decal/delivery/hollow, @@ -72681,6 +72381,19 @@ }, /turf/simulated/floor/engine/vacuum, /area/station/science/toxins/mixing) +"sie" = ( +/obj/structure/table, +/obj/item/screwdriver{ + pixel_y = 16 + }, +/obj/item/wirecutters, +/obj/item/multitool, +/obj/structure/extinguisher_cabinet{ + name = "east bump"; + pixel_x = 27 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/tech_storage) "siC" = ( /obj/effect/spawner/random/fungus/probably, /turf/simulated/wall, @@ -72776,17 +72489,9 @@ /obj/effect/turf_decal/tiles/jobs/bar/checker, /turf/simulated/floor/plasteel, /area/station/service/bar) -"sku" = ( -/obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/pipe/simple/hidden/cyan, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/effect/mapping_helpers/turfs/damage, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) +"skv" = ( +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "skD" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/portable/canister/air, @@ -72960,14 +72665,6 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/aft) -"soT" = ( -/obj/structure/chair/sofa/corp/left, -/obj/effect/spawner/random/dirt/frequent, -/obj/effect/landmark/start/chef, -/obj/structure/sign/poster/contraband/random/directional/north, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) "spf" = ( /obj/machinery/light{ dir = 8 @@ -73084,10 +72781,6 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/engine_foyer) -"sqH" = ( -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) "srB" = ( /obj/structure/disposalpipe/segment, /obj/effect/turf_decal/tiles/dark/side{ @@ -73216,6 +72909,22 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/virology) +"svE" = ( +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/door/firedoor, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard/east) "svH" = ( /obj/structure/cable{ icon_state = "4-8" @@ -73390,20 +73099,6 @@ /obj/effect/spawner/random/fungus/maybe, /turf/simulated/wall/r_wall, /area/station/maintenance/fsmaint2) -"syJ" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/effect/spawner/random/dirt/frequent, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) "syP" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, /obj/effect/turf_decal/tiles/department/medical/side{ @@ -73476,7 +73171,7 @@ volume_rate = 200 }, /turf/simulated/floor/plating/airless, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "sAi" = ( /obj/machinery/door/poddoor{ id_tag = "trash"; @@ -73486,6 +73181,22 @@ /obj/structure/fans/tiny, /turf/simulated/floor/plating, /area/station/maintenance/disposal) +"sAz" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 5 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "2-4" + }, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "sAH" = ( /obj/effect/turf_decal/tiles/department/virology/side{ dir = 4 @@ -73883,6 +73594,13 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) +"sHl" = ( +/obj/machinery/atmospherics/trinary/filter/flipped{ + dir = 1; + filter_type = 2 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "sHu" = ( /obj/machinery/atmospherics/unary/vent_scrubber{ dir = 8; @@ -73972,10 +73690,15 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/exit) "sID" = ( -/obj/machinery/atmospherics/pipe/simple/visible/red, -/obj/effect/turf_decal/stripes/line, +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "sIF" = ( /obj/machinery/alarm/directional/west, /obj/structure/table/wood, @@ -74156,6 +73879,9 @@ /obj/structure/cable/yellow{ icon_state = "4-8" }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "sLS" = ( @@ -74265,15 +73991,8 @@ }, /area/station/service/chapel/funeral) "sNm" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, -/obj/structure/disposalpipe/segment{ - dir = 4 +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 8 }, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, @@ -74314,30 +74033,14 @@ }, /turf/simulated/floor/plasteel, /area/station/security/permabrig) -"sOd" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock/public/glass{ - name = "Hydroponics Pasture" - }, -/obj/effect/mapping_helpers/airlock/access/any/service/hydroponics, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/turf/simulated/floor/plasteel, -/area/station/service/hydroponics) "sOi" = ( /obj/machinery/status_display, /turf/simulated/wall/mineral/titanium/nodiagonal, /area/shuttle/arrival/station) "sOy" = ( -/obj/machinery/ai_status_display{ - pixel_y = 31 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) +/obj/structure/reagent_dispensers/watertank, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "sOR" = ( /obj/effect/turf_decal/stripes/line{ dir = 1 @@ -74363,6 +74066,14 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, /area/station/security/brig) +"sPr" = ( +/obj/structure/closet/emcloset, +/obj/machinery/camera{ + c_tag = "Engineering - Escape Pod"; + network = list("SS13","Engineering") + }, +/turf/simulated/floor/plating, +/area/station/maintenance/engimaint) "sPx" = ( /obj/machinery/status_display{ layer = 4; @@ -74456,13 +74167,6 @@ /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, /area/station/security/main) -"sRC" = ( -/obj/structure/rack, -/obj/item/wrench, -/obj/item/weldingtool, -/obj/item/clothing/head/welding, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "sRK" = ( /obj/effect/turf_decal/stripes/line, /obj/structure/cable{ @@ -74606,12 +74310,6 @@ }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/west) -"sUi" = ( -/obj/structure/rack, -/obj/item/crowbar, -/obj/item/flashlight, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "sUv" = ( /obj/effect/turf_decal/stripes/line{ dir = 4 @@ -74757,8 +74455,9 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/nw) "sWZ" = ( +/obj/machinery/atmospherics/refill_station/nitrogen, /obj/structure/sign/poster/official/air1/directional/west, -/turf/simulated/floor/plasteel, +/turf/simulated/floor/plasteel/white, /area/station/hallway/primary/starboard/east) "sXa" = ( /obj/structure/table/wood, @@ -74848,17 +74547,6 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/fore) -"sYJ" = ( -/obj/structure/chair/stool{ - dir = 1 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - icon_state = "1-2" - }, -/turf/simulated/floor/plasteel, -/area/station/public/locker) "sYR" = ( /obj/effect/turf_decal/tiles/neutral/corner, /obj/effect/turf_decal/tiles/neutral/corner{ @@ -75227,18 +74915,13 @@ /turf/simulated/floor/plasteel, /area/station/security/permabrig) "teY" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 10 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 - }, -/obj/structure/cable{ - icon_state = "1-4" - }, -/obj/structure/closet/crate/can, +/obj/structure/table/reinforced, +/obj/item/rpd, +/obj/item/tank/internals/emergency_oxygen/engi, +/obj/effect/turf_decal/stripes/line, +/obj/machinery/firealarm/directional/south, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "tfl" = ( /turf/simulated/wall/r_wall, /area/station/security/prisonlockers) @@ -75246,11 +74929,6 @@ /obj/effect/turf_decal/tiles/department/science/side, /turf/simulated/floor/plasteel/white, /area/station/science/toxins/mixing) -"tfo" = ( -/obj/structure/closet/secure_closet/bar, -/obj/machinery/firealarm/directional/east, -/turf/simulated/floor/wood, -/area/station/service/bar) "tfp" = ( /obj/structure/cable{ icon_state = "1-2" @@ -75420,11 +75098,6 @@ /obj/machinery/light, /turf/simulated/floor/carpet/blue, /area/station/command/office/blueshield) -"tid" = ( -/obj/effect/spawner/random/dirt/frequent, -/obj/effect/spawner/random/trash/spread_tiles, -/turf/simulated/floor/plating, -/area/station/maintenance/fsmaint) "tio" = ( /obj/structure/cable{ icon_state = "1-4" @@ -75456,16 +75129,6 @@ /obj/effect/spawner/random/maintenance, /turf/simulated/floor/plating, /area/station/maintenance/starboard2) -"tjY" = ( -/obj/machinery/atmospherics/pipe/simple/visible/green, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/obj/structure/cable/yellow{ - icon_state = "1-2" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "tjZ" = ( /obj/effect/spawner/window/reinforced/grilled, /obj/structure/cable{ @@ -75786,10 +75449,9 @@ /turf/simulated/floor/plasteel, /area/station/public/dorms) "toH" = ( +/obj/machinery/firealarm/directional/east, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 4 - }, /obj/effect/turf_decal/tiles/jobs/bar/checker, /turf/simulated/floor/plasteel, /area/station/service/bar) @@ -75990,6 +75652,16 @@ /obj/effect/spawner/random/engineering/materials, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint2) +"tsv" = ( +/obj/structure/rack, +/obj/item/stack/sheet/metal/ten, +/obj/item/stack/sheet/glass{ + amount = 10; + pixel_x = 3; + pixel_y = 6 + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine/reactor) "tta" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 5 @@ -75999,15 +75671,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/hallway/secondary/exit) -"tth" = ( -/obj/structure/table, -/obj/item/stack/cable_coil{ - pixel_x = 3; - pixel_y = -7 - }, -/obj/item/stack/cable_coil, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "tti" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 @@ -76176,17 +75839,12 @@ /turf/simulated/floor/plasteel/white, /area/station/science/rnd) "tvk" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/green{ - dir = 1 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/obj/structure/cable/yellow{ - icon_state = "4-8" +/obj/machinery/atmospherics/binary/pump{ + dir = 1; + name = "Atmos in" }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "tvT" = ( /obj/machinery/atmospherics/unary/portables_connector{ dir = 1 @@ -76469,21 +76127,6 @@ /obj/item/stack/cable_coil, /turf/simulated/floor/plating, /area/station/maintenance/electrical/aft_starboard) -"tAn" = ( -/obj/machinery/atmospherics/pipe/simple/visible/green{ - dir = 4 - }, -/obj/machinery/light{ - dir = 1 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/obj/structure/cable/yellow{ - icon_state = "4-8" - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "tAr" = ( /obj/structure/table, /obj/item/reagent_containers/drinks/coffee{ @@ -76645,7 +76288,14 @@ /turf/simulated/floor/plasteel, /area/station/hallway/primary/fore/east) "tEq" = ( -/obj/machinery/cooking/ice_cream_mixer/loaded, +/obj/machinery/light{ + dir = 8 + }, +/obj/structure/closet/crate/cookware, +/obj/machinery/camera{ + c_tag = "Kitchen - Fore"; + dir = 4 + }, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -76669,17 +76319,6 @@ }, /turf/space, /area/space/nearstation) -"tFD" = ( -/obj/machinery/power/emitter{ - anchored = 1; - dir = 1; - state = 2 - }, -/obj/structure/cable{ - icon_state = "0-2" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "tGc" = ( /obj/machinery/power/apc/reinforced/directional/north, /obj/structure/cable/extra_insulated{ @@ -76952,17 +76591,16 @@ /turf/simulated/floor/plasteel, /area/station/supply/storage) "tKV" = ( +/obj/machinery/door/airlock/maintenance, /obj/effect/mapping_helpers/airlock/autoname, +/obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance, +/obj/structure/cable/extra_insulated{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/door/firedoor, -/obj/effect/mapping_helpers/airlock/access/any/service/kitchen, -/obj/effect/mapping_helpers/airlock/access/any/service/janitor, -/obj/effect/mapping_helpers/airlock/access/any/service/library, -/obj/effect/mapping_helpers/airlock/access/any/service/bar, -/obj/effect/mapping_helpers/airlock/access/any/service/hydroponics, -/obj/effect/turf_decal/tiles/department/medical/checker, -/obj/machinery/door/airlock, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "tKX" = ( /obj/effect/mapping_helpers/turfs/damage, /turf/simulated/floor/engine, @@ -77015,17 +76653,21 @@ /turf/simulated/floor/plating, /area/station/engineering/equipmentstorage) "tMV" = ( -/obj/machinery/chem_master/condimaster{ - name = "CondiMaster Neo" +/obj/structure/rack, +/obj/item/hand_labeler, +/obj/item/stack/package_wrap, +/obj/item/stack/package_wrap, +/obj/item/book/manual/wiki/sop_service, +/obj/item/storage/box/donkpockets, +/obj/machinery/firealarm/directional/south, +/obj/item/stack/sheet/wood{ + amount = 30 }, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) "tNg" = ( -/obj/effect/turf_decal/trimline/neutral/filled/corner{ - dir = 1 - }, -/obj/structure/sign/poster/official/air1/directional/north, +/obj/machinery/door/firedoor, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -77059,6 +76701,18 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/ai_transit_tube) +"tNW" = ( +/obj/machinery/atmospherics/pipe/simple/visible/red{ + dir = 10 + }, +/obj/machinery/light{ + dir = 1 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "tOF" = ( /obj/structure/rack, /obj/item/wrench/medical, @@ -77208,14 +76862,6 @@ }, /turf/simulated/floor/wood, /area/station/maintenance/gambling_den) -"tRb" = ( -/obj/structure/extinguisher_cabinet{ - name = "east bump"; - pixel_x = 27 - }, -/obj/effect/turf_decal/tiles/dark/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/kitchen) "tRf" = ( /obj/structure/chair{ pixel_y = -2 @@ -77257,12 +76903,12 @@ /turf/simulated/floor/plasteel/dark, /area/station/command/office/hos) "tTh" = ( -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 1 - }, /obj/effect/turf_decal/tiles/department/medical/corner{ dir = 1 }, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 4 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "tTs" = ( @@ -77364,11 +77010,17 @@ /turf/space, /area/space/nearstation) "tVw" = ( -/obj/machinery/atmospherics/pipe/simple/visible/scrubbers{ - dir = 5 +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw{ + dir = 1 }, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "tVy" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -77467,6 +77119,16 @@ /obj/structure/closet/crate, /turf/simulated/floor/plating, /area/station/maintenance/fore2) +"tYk" = ( +/obj/effect/turf_decal/trimline/misc/toxins/arrow_cw, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "tYw" = ( /obj/structure/table/wood, /obj/machinery/photocopier/faxmachine{ @@ -77778,12 +77440,13 @@ /turf/simulated/floor/wood, /area/station/service/bar) "udr" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 1 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) +/obj/effect/turf_decal/tiles/neutral, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "udw" = ( /obj/structure/cable/yellow{ icon_state = "4-8" @@ -78150,19 +77813,9 @@ /turf/simulated/floor/plasteel/white, /area/station/medical/medbay) "ujj" = ( -/obj/machinery/atmospherics/binary/pump/on{ - dir = 1; - name = "Cooling Loop to Gas" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/effect/turf_decal/stripes/line, +/obj/structure/railing/pool_lining, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "ujB" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -78240,14 +77893,6 @@ /obj/effect/turf_decal/tiles/department/medical, /turf/simulated/floor/plasteel/white, /area/station/command/office/cmo) -"ukB" = ( -/obj/machinery/power/emitter{ - anchored = 1; - state = 2 - }, -/obj/structure/cable, -/turf/simulated/floor/plating, -/area/station/engineering/control) "ukG" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -78270,24 +77915,12 @@ }, /turf/simulated/floor/plasteel/white, /area/station/science/xenobiology) -"ukN" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/obj/machinery/hologram/holopad, -/turf/simulated/floor/engine, -/area/station/engineering/control) "ukO" = ( -/obj/structure/sign/poster/random/directional/south, -/obj/machinery/economy/vending/chefdrobe, -/turf/simulated/floor/plasteel/white/full, -/area/station/service/kitchen/freezer) +/obj/structure/kitchenspike, +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" + }, +/area/station/service/kitchen) "ule" = ( /obj/structure/cable{ icon_state = "1-2" @@ -78379,6 +78012,15 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/science/genetics) +"unf" = ( +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/tiles/department/engineering/corner{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard/east) "uni" = ( /obj/effect/turf_decal/tiles/department/medical/corner{ dir = 1 @@ -78416,21 +78058,6 @@ }, /turf/simulated/floor/grass/no_creep, /area/station/hallway/secondary/exit) -"unX" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/cyan{ - dir = 8; - initialize_directions = 11 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 8 - }, -/obj/machinery/camera{ - c_tag = "Engineering - Supermatter Starboard"; - dir = 5; - network = list("SS13","Engineering","engine") - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "unZ" = ( /obj/effect/turf_decal/stripes/line, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -78468,13 +78095,6 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/medical/storage) -"uoI" = ( -/obj/structure/sign/barber{ - pixel_y = -28 - }, -/obj/effect/turf_decal/tiles/neutral/corner, -/turf/simulated/floor/plasteel, -/area/station/public/locker) "uoK" = ( /obj/structure/sign/poster/official/random/directional/south, /turf/simulated/floor/plating, @@ -78515,13 +78135,15 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry/lounge) "upe" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ icon_state = "1-2" }, -/obj/effect/turf_decal/tiles/department/virology/side{ +/obj/effect/turf_decal/tiles/department/medical/corner, +/obj/effect/turf_decal/tiles/department/virology/corner{ dir = 4 }, -/obj/effect/turf_decal/tiles/department/medical/corner, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "upE" = ( @@ -78571,28 +78193,15 @@ /turf/simulated/floor/plating, /area/station/security/permabrig) "urF" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/green{ - dir = 8 - }, -/obj/machinery/camera{ - c_tag = "Engineering - Supermatter Port"; - dir = 8; - network = list("SS13","Engineering","engine") - }, +/obj/machinery/atmospherics/pipe/simple/visible/cyan, /obj/structure/cable/yellow{ - icon_state = "1-2" + icon_state = "4-8" }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/obj/structure/cable/yellow{ - icon_state = "1-8" - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 6 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "urH" = ( /obj/effect/spawner/random/oil/maybe, /turf/simulated/floor/plating, @@ -78618,6 +78227,12 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/fore2) +"urT" = ( +/obj/structure/rack, +/obj/effect/spawner/random/maintenance, +/obj/machinery/alarm/directional/north, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "usg" = ( /obj/effect/turf_decal/woodsiding{ dir = 8 @@ -78761,35 +78376,11 @@ /obj/machinery/door/firedoor, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/nw) -"uvU" = ( -/obj/structure/table/wood, -/obj/item/stack/sheet/metal{ - amount = 50 - }, -/obj/item/stack/sheet/glass{ - amount = 50; - pixel_x = 3; - pixel_y = 3 - }, -/obj/item/stack/cable_coil, -/obj/item/stack/cable_coil, -/obj/item/stack/cable_coil, -/obj/item/stack/cable_coil, -/obj/item/stack/cable_coil, -/obj/item/storage/fancy/candle_box/eternal, -/obj/item/storage/fancy/candle_box/eternal, -/obj/item/storage/fancy/candle_box/eternal, -/obj/item/storage/toolbox/mechanical, -/obj/machinery/computer/security/telescreen/entertainment{ - pixel_y = 32 - }, -/turf/simulated/floor/wood, -/area/station/service/bar) "uwn" = ( /obj/machinery/atmospherics/pipe/simple/visible/red, /obj/effect/spawner/window/reinforced/plasma/grilled, /turf/simulated/floor/plating, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "uws" = ( /obj/structure/table/glass, /obj/item/paper_bin{ @@ -78986,6 +78577,10 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/break_room) +"uAA" = ( +/obj/effect/map_effect/dynamic_airlock, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "uAM" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/binary/pump{ @@ -79110,12 +78705,11 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) "uDi" = ( -/obj/machinery/atmospherics/meter, -/obj/machinery/atmospherics/pipe/manifold/visible/red{ - dir = 8 +/obj/machinery/atmospherics/pipe/simple/visible/red{ + dir = 4 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "uDm" = ( /obj/effect/turf_decal/stripes/line{ dir = 1 @@ -79311,16 +78905,10 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore) "uGA" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/effect/decal/cleanable/dirt, /obj/structure/grille/broken, /obj/machinery/atmospherics/pipe/simple/hidden/cyan, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/effect/spawner/random/trash, -/obj/effect/spawner/random/dirt/often, -/obj/effect/decal/cleanable/dirt, -/obj/structure/grille/broken, /obj/structure/cable/extra_insulated{ icon_state = "1-2" }, @@ -79361,6 +78949,10 @@ /obj/structure/closet/emcloset, /turf/simulated/floor/plating, /area/station/maintenance/xenobio_south) +"uHz" = ( +/obj/machinery/computer/nonfunctional, +/turf/simulated/floor/bluespace, +/area/station/maintenance/starboard) "uHA" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 1 @@ -79681,11 +79273,12 @@ /turf/simulated/floor/carpet/purple, /area/station/service/library) "uLE" = ( -/obj/structure/reflector/single{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/heat_exchanging{ + dir = 5 }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/structure/lattice, +/turf/space, +/area/station/engineering/engine/reactor) "uLF" = ( /obj/machinery/atmospherics/pipe/manifold/visible/cyan, /obj/effect/landmark/spawner/nukedisc_respawn, @@ -79798,13 +79391,17 @@ }, /area/station/public/toilet/lockerroom) "uNp" = ( -/obj/machinery/atmospherics/unary/portables_connector{ - dir = 8 +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 1 }, -/obj/machinery/atmospherics/portable/canister, -/obj/effect/turf_decal/delivery/hollow, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "uNL" = ( /obj/structure/cable{ icon_state = "1-2" @@ -79868,18 +79465,15 @@ /turf/simulated/floor/plasteel/dark, /area/station/medical/storage/secondary) "uOM" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/structure/cable{ - icon_state = "1-8" - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 5 }, -/obj/structure/disposalpipe/segment/corner{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, +/obj/structure/cable{ + icon_state = "1-8" }, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, @@ -79929,7 +79523,6 @@ name = "south bump"; pixel_y = -30 }, -/obj/structure/closet/wardrobe/mixed, /obj/effect/turf_decal/tiles/neutral/corner, /turf/simulated/floor/plasteel, /area/station/public/locker) @@ -79978,18 +79571,23 @@ /turf/simulated/floor/plating, /area/station/maintenance/abandonedbar) "uQp" = ( -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 8 - }, /obj/effect/turf_decal/tiles/department/medical/corner{ dir = 1 }, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "uQK" = ( -/obj/effect/spawner/random/dirt/often, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "uQO" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/effect/decal/cleanable/dirt, @@ -80339,13 +79937,6 @@ /obj/effect/mapping_helpers/airlock/windoor/access/all/science/xenobio, /turf/simulated/floor/plasteel/dark, /area/station/science/xenobiology) -"uXs" = ( -/obj/machinery/computer/security/telescreen/entertainment{ - pixel_x = 32 - }, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) "uXA" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 8 @@ -80406,8 +79997,11 @@ /obj/structure/cable/yellow{ icon_state = "4-8" }, +/obj/structure/cable{ + icon_state = "1-2" + }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "uYF" = ( /obj/machinery/door/airlock/security/glass{ name = "Prison Sanitarium" @@ -80461,10 +80055,12 @@ /turf/simulated/floor/carpet, /area/station/service/chapel) "uZm" = ( -/obj/structure/sign/poster/official/random/directional/south, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, /obj/effect/turf_decal/tiles/department/security/corner, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard) +/area/station/hallway/primary/starboard/north) "uZt" = ( /obj/structure/rack, /obj/effect/landmark/costume/random, @@ -80487,6 +80083,12 @@ /obj/effect/turf_decal/tiles/department/security/side, /turf/simulated/floor/plasteel, /area/station/security/permabrig) +"uZD" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "uZG" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -80648,9 +80250,6 @@ dir = 1 }, /obj/machinery/atmospherics/pipe/simple/hidden/purple, -/obj/structure/cable/extra_insulated{ - icon_state = "1-8" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -80809,24 +80408,6 @@ /obj/machinery/atmospherics/portable/canister/air, /turf/simulated/floor/plasteel, /area/station/maintenance/fore) -"veb" = ( -/obj/machinery/door/airlock/freezer, -/obj/effect/mapping_helpers/airlock/access/any/service/kitchen, -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 - }, -/obj/machinery/door/firedoor, -/obj/effect/mapping_helpers/airlock/autoname, -/turf/simulated/floor/plasteel{ - icon_state = "showroomfloor" - }, -/area/station/service/kitchen/freezer) "vem" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -80987,6 +80568,12 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/hallway/secondary/exit) +"vhd" = ( +/obj/effect/decal/cleanable/dirt, +/obj/structure/rack, +/obj/effect/spawner/random/maintenance, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "vhk" = ( /obj/effect/landmark{ icon = 'icons/effects/spawner_icons.dmi'; @@ -81027,6 +80614,20 @@ }, /turf/simulated/floor/plasteel, /area/station/public/locker) +"viC" = ( +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 1 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "1-4" + }, +/obj/effect/turf_decal/tiles/department/security/corner, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard) +"viJ" = ( +/obj/machinery/atmospherics/refill_station/plasma, +/turf/simulated/floor/plasteel/white, +/area/station/hallway/primary/starboard/north) "viO" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -81181,6 +80782,12 @@ /obj/machinery/iv_drip, /turf/simulated/floor/plasteel/white, /area/station/maintenance/aft) +"vmn" = ( +/obj/machinery/atmospherics/pipe/simple/visible/green{ + dir = 5 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "vmq" = ( /obj/structure/cable{ icon_state = "4-8" @@ -81214,12 +80821,12 @@ /area/station/security/execution) "vmD" = ( /obj/machinery/hologram/holopad, -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 8 - }, /obj/effect/turf_decal/tiles/department/medical/corner{ dir = 1 }, +/obj/effect/turf_decal/tiles/department/virology/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel, /area/station/service/hydroponics) "vmM" = ( @@ -81280,6 +80887,12 @@ /obj/structure/table/wood, /turf/simulated/floor/plasteel/dark, /area/station/service/chapel) +"vnE" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "vnS" = ( /obj/structure/cable{ icon_state = "4-8" @@ -81373,15 +80986,10 @@ /turf/simulated/floor/plating, /area/station/maintenance/starboard2) "vpw" = ( +/obj/machinery/cooking/oven, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/structure/table, -/obj/item/reagent_containers/cooking/board{ - pixel_x = -4; - pixel_y = 6 - }, -/obj/item/reagent_containers/cooking/board, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -81420,6 +81028,11 @@ }, /turf/simulated/floor/plating, /area/station/security/detective) +"vqr" = ( +/turf/simulated/floor/plasteel{ + icon_state = "showroomfloor" + }, +/area/station/service/kitchen) "vqu" = ( /obj/machinery/light/small, /turf/simulated/floor/mineral/tranquillite, @@ -81608,7 +81221,6 @@ name = "north bump"; pixel_y = 35 }, -/obj/machinery/firealarm/directional/north, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -81690,17 +81302,8 @@ /turf/simulated/wall/r_wall, /area/station/engineering/transmission_laser) "vuo" = ( -/obj/machinery/camera{ - c_tag = "Secure Tech Storage" - }, -/obj/item/radio/intercom{ - name = "west bump"; - pixel_x = -28 - }, -/obj/effect/turf_decal/trimline/department/command/line{ - dir = 9 - }, -/turf/simulated/floor/plasteel/dark, +/obj/effect/mapping_helpers/turfs/rust/probably, +/turf/simulated/wall/r_wall, /area/station/engineering/tech_storage) "vuE" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -81878,6 +81481,18 @@ /obj/effect/spawner/window/reinforced/grilled, /turf/simulated/floor/plating, /area/station/security/execution) +"vxi" = ( +/obj/structure/table, +/obj/machinery/processor{ + pixel_y = 12 + }, +/obj/structure/extinguisher_cabinet{ + name = "east bump"; + pixel_x = 27 + }, +/obj/effect/turf_decal/tiles/dark/checker, +/turf/simulated/floor/plasteel/white, +/area/station/service/kitchen) "vxl" = ( /obj/machinery/computer/supplycomp, /turf/simulated/floor/carpet/royalblack, @@ -82056,10 +81671,9 @@ /turf/simulated/floor/plating, /area/station/maintenance/xenobio_north) "vAS" = ( -/obj/structure/rack, -/obj/effect/spawner/random/tech_storage/research, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) +/obj/structure/closet/firecloset, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "vBh" = ( /obj/structure/table/reinforced, /obj/machinery/door/firedoor, @@ -82365,6 +81979,9 @@ }, /turf/simulated/floor/plasteel, /area/station/security/main) +"vHR" = ( +/turf/simulated/floor/plasteel/reactor_pool/wall/filter, +/area/station/engineering/engine/reactor) "vIj" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -82375,18 +81992,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plating, /area/station/maintenance/fsmaint) -"vIz" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "vIF" = ( /obj/machinery/door/firedoor, /obj/structure/disposalpipe/segment{ @@ -82752,16 +82357,31 @@ }, /turf/simulated/floor/plating, /area/station/maintenance/aft) -"vOK" = ( -/obj/structure/closet/crate/trashcart, -/obj/effect/spawner/random/trash, -/obj/effect/spawner/random/oil/maybe, -/turf/simulated/floor/plating, -/area/station/maintenance/starboard) "vON" = ( /obj/structure/disposalpipe/segment/corner, /turf/simulated/floor/plating, /area/station/maintenance/fore2) +"vOR" = ( +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/structure/cable{ + icon_state = "2-8" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 1 + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "1-8" + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard/north) "vPa" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 @@ -82777,8 +82397,15 @@ /turf/simulated/floor/engine, /area/station/science/xenobiology) "vPk" = ( -/turf/simulated/wall, -/area/station/service/kitchen/freezer) +/obj/structure/reagent_dispensers/watertank/high, +/obj/item/reagent_containers/glass/bucket, +/obj/effect/turf_decal/stripes/line, +/obj/item/radio/intercom{ + name = "north bump"; + pixel_y = 28 + }, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "vPx" = ( /obj/machinery/atmospherics/pipe/simple/visible/purple{ dir = 5 @@ -82855,11 +82482,18 @@ /turf/simulated/floor/plasteel/dark, /area/station/science/research) "vRv" = ( -/obj/structure/closet/secure_closet/freezer/fridge, +/obj/machinery/camera{ + c_tag = "Kitchen Freezer" + }, +/obj/structure/closet/secure_closet/freezer/meat, +/obj/item/radio/intercom{ + name = "north bump"; + pixel_y = 28 + }, /turf/simulated/floor/plasteel{ icon_state = "showroomfloor" }, -/area/station/service/kitchen/freezer) +/area/station/service/kitchen) "vRy" = ( /obj/structure/disposalpipe/segment/corner{ dir = 8 @@ -82902,13 +82536,7 @@ /turf/simulated/floor/plasteel/dark, /area/station/security/storage) "vSM" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, -/turf/simulated/floor/plasteel, +/turf/simulated/floor/grass, /area/station/service/hydroponics) "vSV" = ( /obj/structure/chair/stool{ @@ -82938,6 +82566,31 @@ }, /turf/simulated/floor/plasteel, /area/station/engineering/gravitygenerator) +"vTr" = ( +/obj/structure/sign/poster/official/random/directional/south, +/obj/item/reagent_containers/spray/plantbgone{ + pixel_x = 2; + pixel_y = 6 + }, +/obj/item/reagent_containers/spray/plantbgone{ + pixel_x = 7; + pixel_y = 3 + }, +/obj/item/reagent_containers/spray/plantbgone{ + pixel_x = -6; + pixel_y = 1 + }, +/obj/item/watertank, +/obj/item/grenade/chem_grenade/antiweed, +/obj/effect/turf_decal/stripes/line{ + dir = 9 + }, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 + }, +/obj/structure/shelf/service, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "vTw" = ( /obj/structure/bed, /obj/item/clothing/suit/straight_jacket, @@ -82961,6 +82614,15 @@ /obj/machinery/newscaster/directional/north, /turf/simulated/floor/plasteel/dark, /area/station/science/xenobiology) +"vTS" = ( +/obj/machinery/light/small{ + dir = 4 + }, +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "vTZ" = ( /obj/structure/showcase{ density = 0; @@ -82975,8 +82637,11 @@ /turf/simulated/floor/bluegrid, /area/station/turret_protected/ai) "vUb" = ( +/obj/structure/cable{ + icon_state = "1-2" + }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "vUm" = ( /obj/structure/window/reinforced{ dir = 8 @@ -82986,21 +82651,6 @@ }, /turf/simulated/floor/engine, /area/station/command/office/rd) -"vUB" = ( -/obj/machinery/atmospherics/pipe/manifold/visible/yellow{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) -"vUD" = ( -/obj/machinery/light{ - dir = 4 - }, -/obj/structure/cable{ - icon_state = "1-8" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) "vUV" = ( /obj/effect/turf_decal/stripes/line{ dir = 8 @@ -83250,9 +82900,11 @@ /turf/simulated/floor/plasteel/white, /area/station/maintenance/asmaint) "vYq" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plating, -/area/station/engineering/control) +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "vZh" = ( /obj/machinery/atmospherics/unary/vent_pump/on, /turf/simulated/floor/plating, @@ -83307,7 +82959,7 @@ dir = 1 }, /turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "waj" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan{ dir = 4 @@ -83385,6 +83037,10 @@ /obj/effect/turf_decal/tiles/department/command/side, /turf/simulated/floor/plasteel/dark, /area/station/medical/storage) +"wbP" = ( +/obj/machinery/atmospherics/reactor_chamber, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "wck" = ( /obj/structure/table/glass, /obj/machinery/atmospherics/unary/vent_scrubber/on{ @@ -83416,6 +83072,16 @@ /obj/effect/turf_decal/tiles/department/command/corner, /turf/simulated/floor/plasteel/dark, /area/station/medical/surgery/observation) +"wcN" = ( +/obj/machinery/atmospherics/binary/pump{ + name = "Cooling Loop"; + dir = 8 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "wcT" = ( /obj/machinery/door/poddoor/preopen{ name = "testing range blast door"; @@ -83592,11 +83258,12 @@ /turf/simulated/floor/plasteel, /area/station/maintenance/turbine) "wgT" = ( -/obj/effect/landmark/start/botanist, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/mob/living/basic/cow/betsy, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 5 }, -/turf/simulated/floor/plasteel, +/turf/simulated/floor/grass, /area/station/service/hydroponics) "whf" = ( /obj/effect/decal/cleanable/dirt, @@ -83671,14 +83338,11 @@ /turf/simulated/floor/plating, /area/station/engineering/solar/aft_port) "wjn" = ( -/obj/machinery/light{ - dir = 4 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 4 +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 5 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "wjq" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 5 @@ -83804,14 +83468,6 @@ /obj/machinery/light{ dir = 4 }, -/obj/structure/table/glass, -/obj/item/book/manual/wiki/engineering_construction{ - pixel_y = 4 - }, -/obj/item/book/manual/supermatter_engine{ - pixel_x = -2; - pixel_y = 1 - }, /obj/effect/turf_decal/tiles/department/engineering/side{ dir = 4 }, @@ -83830,7 +83486,7 @@ }, /obj/effect/mapping_helpers/airlock/access/any/engineering/general, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "wkz" = ( /obj/machinery/light{ dir = 1 @@ -83872,9 +83528,13 @@ /turf/simulated/floor/plasteel, /area/station/security/checkpoint/secondary) "wlE" = ( -/obj/effect/spawner/random/dirt/often, -/obj/effect/spawner/random/barrier/grille_maybe, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan, +/obj/structure/cable/extra_insulated{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plating, /area/station/maintenance/starboard) "wlG" = ( @@ -83886,17 +83546,19 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft2) "wlL" = ( +/obj/machinery/atmospherics/binary/valve{ + dir = 4; + name = "Output to Waste" + }, +/obj/structure/extinguisher_cabinet{ + name = "north bump"; + pixel_y = 30 + }, /obj/effect/turf_decal/stripes/line{ - dir = 5 - }, -/obj/structure/cable{ - icon_state = "2-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 + dir = 1 }, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "wlT" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/disposalpipe/segment/corner{ @@ -84049,9 +83711,13 @@ /turf/simulated/floor/plasteel/white, /area/station/science/research) "woK" = ( -/obj/machinery/hydroponics/soil, -/turf/simulated/floor/grass, -/area/station/service/pasture) +/obj/machinery/atmospherics/portable/canister/nitrogen, +/obj/effect/turf_decal/delivery/white/hollow, +/obj/machinery/atmospherics/unary/portables_connector{ + dir = 1 + }, +/turf/simulated/floor/bluespace, +/area/station/maintenance/starboard) "woM" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -84557,12 +84223,16 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft2) "wxY" = ( +/obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, /obj/structure/cable{ icon_state = "1-2" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/disposalpipe/segment, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -84595,6 +84265,21 @@ }, /turf/space, /area/space/nearstation) +"wyw" = ( +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard/north) "wyC" = ( /obj/structure/closet, /obj/effect/spawner/random/maintenance, @@ -84767,6 +84452,12 @@ /obj/machinery/door/firedoor, /turf/simulated/floor/plating, /area/station/maintenance/fore2) +"wBg" = ( +/obj/structure/reagent_dispensers/watertank/high, +/obj/item/reagent_containers/glass/bucket, +/obj/effect/turf_decal/stripes/line, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "wBj" = ( /obj/structure/table, /obj/item/radio/intercom{ @@ -84774,16 +84465,9 @@ pixel_y = -28 }, /obj/machinery/reagentgrinder{ - pixel_x = 9; + pixel_x = 6; pixel_y = 6 }, -/obj/item/reagent_containers/glass/beaker{ - pixel_x = -4; - pixel_y = 6 - }, -/obj/item/reagent_containers/glass/beaker{ - pixel_x = -5 - }, /obj/effect/turf_decal/tiles/dark/checker, /turf/simulated/floor/plasteel/white, /area/station/service/kitchen) @@ -85078,12 +84762,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/fore) "wGR" = ( -/obj/machinery/alarm/directional/north, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, /turf/simulated/floor/plasteel, -/area/station/hallway/primary/starboard) +/area/station/hallway/primary/starboard/north) "wGZ" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -85184,16 +84867,6 @@ }, /turf/simulated/floor/catwalk, /area/station/maintenance/port) -"wHD" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/effect/turf_decal/stripes/line{ - dir = 4 - }, -/turf/simulated/floor/engine, -/area/station/engineering/control) "wHH" = ( /obj/structure/chair{ dir = 8 @@ -85343,12 +85016,12 @@ /turf/simulated/floor/carpet, /area/station/service/chapel) "wKL" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 6 +/obj/machinery/atmospherics/pipe/simple/visible/cyan, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/visible/universal, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "wKQ" = ( /obj/effect/spawner/random/maintenance, /obj/structure/table, @@ -85465,6 +85138,9 @@ /obj/effect/turf_decal/stripes/corner{ dir = 4 }, +/obj/structure/cable{ + icon_state = "1-2" + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "wNG" = ( @@ -85514,6 +85190,13 @@ /obj/effect/turf_decal/stripes/line, /turf/simulated/floor/plating, /area/station/maintenance/aft) +"wOA" = ( +/obj/structure/closet/secure_closet/hydroponics, +/obj/effect/turf_decal/stripes/line, +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/obj/machinery/firealarm/directional/north, +/turf/simulated/floor/plasteel, +/area/station/service/hydroponics) "wOF" = ( /obj/structure/closet/firecloset, /turf/simulated/floor/plating, @@ -85549,13 +85232,9 @@ /turf/simulated/floor/plasteel, /area/station/science/misc_lab) "wPg" = ( -/obj/machinery/atmospherics/pipe/simple/heat_exchanging{ - dir = 4 - }, -/obj/structure/lattice, -/obj/machinery/atmospherics/pipe/simple/heat_exchanging, -/turf/space, -/area/space/nearstation) +/obj/structure/sign/poster/official/random/directional/east, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "wPp" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -85593,12 +85272,11 @@ /turf/simulated/floor/plasteel, /area/station/service/kitchen) "wQe" = ( -/obj/machinery/firealarm/directional/west, -/obj/effect/spawner/random/dirt/frequent, -/obj/structure/table, -/obj/effect/turf_decal/tiles/department/medical/checker, -/turf/simulated/floor/plasteel/white, -/area/station/service/break_room) +/obj/structure/reagent_dispensers/beerkeg, +/obj/structure/table/wood, +/obj/machinery/light/small, +/turf/simulated/floor/wood, +/area/station/service/bar) "wQo" = ( /obj/machinery/atmospherics/pipe/simple/visible/yellow, /obj/machinery/atmospherics/meter, @@ -85674,6 +85352,12 @@ }, /turf/simulated/floor/grass/no_creep, /area/station/security/permabrig) +"wSe" = ( +/obj/effect/turf_decal/stripes/red/line{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "wSh" = ( /obj/machinery/cryopod{ dir = 4 @@ -85883,12 +85567,6 @@ /obj/effect/turf_decal/tiles/neutral/corner, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/west) -"wWl" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 - }, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) "wWp" = ( /obj/machinery/mineral/stacking_unit_console{ pixel_y = 32 @@ -85909,6 +85587,13 @@ }, /turf/simulated/floor/plasteel, /area/station/maintenance/aft2) +"wWE" = ( +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/effect/turf_decal/tiles/department/security/corner, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard) "wWG" = ( /obj/machinery/light{ dir = 1 @@ -85949,10 +85634,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/aft) "wXp" = ( -/obj/effect/turf_decal/caution/stand_clear, -/obj/effect/turf_decal/stripes/line, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/effect/map_effect/dynamic_airlock, +/obj/machinery/airlock_controller/air_cycler/directional/south, +/obj/effect/mapping_helpers/airlock/access/all/engineering/engine, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "wXy" = ( /obj/structure/sink/directional/west, /obj/machinery/light_switch{ @@ -86103,10 +85789,13 @@ /turf/simulated/floor/plasteel, /area/station/engineering/atmos) "xam" = ( -/obj/structure/sign/poster/random/directional/north, -/obj/effect/mapping_helpers/turfs/burn, -/turf/simulated/floor/wood, -/area/station/service/bar) +/obj/machinery/dye_generator, +/obj/machinery/light/small{ + dir = 4 + }, +/obj/effect/turf_decal/tiles/department/medical/checker, +/turf/simulated/floor/plasteel/white, +/area/station/service/barber) "xaq" = ( /obj/structure/disposaloutlet{ dir = 8 @@ -86190,19 +85879,6 @@ }, /turf/simulated/floor/grass/no_creep, /area/station/science/research) -"xbt" = ( -/obj/item/radio/intercom{ - name = "north bump"; - pixel_y = 28 - }, -/obj/effect/turf_decal/tiles/department/virology/side{ - dir = 1 - }, -/obj/effect/turf_decal/tiles/department/medical/corner{ - dir = 1 - }, -/turf/simulated/floor/plasteel, -/area/station/service/hydroponics) "xbw" = ( /obj/machinery/atmospherics/pipe/simple/visible/yellow{ dir = 9 @@ -86239,8 +85915,8 @@ /area/station/public/arcade) "xbT" = ( /obj/machinery/access_button{ - autolink_id = "enginesm_btn_int"; - name = "Supermatter Access Button"; + autolink_id = "engsm_btn_int"; + name = "Reactor Access Button"; pixel_x = 24; req_access = list(10) }, @@ -86251,6 +85927,9 @@ /obj/effect/turf_decal/stripes/corner{ dir = 4 }, +/obj/structure/cable{ + icon_state = "1-2" + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "xbY" = ( @@ -86443,6 +86122,11 @@ }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/hardsuitstorage) +"xfa" = ( +/obj/machinery/alarm/directional/south, +/obj/effect/turf_decal/stripes/line, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "xfe" = ( /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -86467,7 +86151,10 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold4w/hidden/supply, +/obj/structure/cable{ + icon_state = "1-4" + }, /turf/simulated/floor/plasteel, /area/station/hallway/primary/starboard/east) "xfr" = ( @@ -86638,9 +86325,6 @@ /area/station/hallway/supply/port) "xhF" = ( /obj/structure/disposalpipe/segment, -/obj/structure/cable/extra_insulated{ - icon_state = "1-2" - }, /obj/effect/turf_decal/tiles/department/engineering/corner{ dir = 4 }, @@ -86721,6 +86405,12 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/plating, /area/station/maintenance/aft) +"xiC" = ( +/obj/structure/cable{ + icon_state = "1-2" + }, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/control) "xiK" = ( /obj/structure/window/reinforced{ dir = 8 @@ -86953,6 +86643,13 @@ }, /turf/simulated/floor/engine/o2, /area/station/engineering/atmos) +"xmb" = ( +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "xmN" = ( /obj/machinery/door/firedoor, /obj/item/folder, @@ -86992,9 +86689,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/starboard2) "xmT" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/control) +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 8 + }, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "xnb" = ( /obj/machinery/light/small{ dir = 8 @@ -87208,6 +86907,12 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, /area/station/maintenance/apmaint) +"xqQ" = ( +/obj/structure/computerframe, +/obj/item/shard, +/obj/effect/decal/cleanable/glass, +/turf/simulated/floor/bluespace, +/area/station/maintenance/starboard) "xrf" = ( /obj/structure/table, /obj/item/storage/toolbox/electrical, @@ -87432,13 +87137,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plasteel, /area/station/hallway/primary/aft/north) -"xvs" = ( -/obj/effect/turf_decal/trimline/department/command/line{ - dir = 10 - }, -/obj/machinery/light/small, -/turf/simulated/floor/plasteel/dark, -/area/station/engineering/tech_storage) "xvw" = ( /obj/machinery/atmospherics/pipe/simple/visible/yellow{ dir = 4 @@ -87502,8 +87200,8 @@ "xxi" = ( /obj/machinery/door/airlock/engineering/glass{ autoclose = 0; - id_tag = "enginesm_door_ext"; - name = "Supermatter Exterior Access" + id_tag = "engsm_door_ext"; + name = "Reactor Exterior Access" }, /obj/effect/mapping_helpers/airlock/access/all/engineering/engine, /obj/structure/cable/yellow{ @@ -87626,6 +87324,36 @@ }, /turf/simulated/floor/plasteel, /area/station/supply/lobby) +"xyE" = ( +/obj/machinery/navbeacon{ + codes_txt = "delivery"; + dir = 8; + location = "Kitchen" + }, +/obj/machinery/door/window/classic/normal{ + name = "Kitchen Delivery"; + dir = 4 + }, +/obj/effect/mapping_helpers/airlock/windoor/access/any/supply/mule_bot{ + dir = 4 + }, +/obj/effect/mapping_helpers/airlock/windoor/access/any/service/kitchen{ + dir = 4 + }, +/obj/structure/plasticflaps{ + opacity = 1 + }, +/obj/machinery/door/firedoor, +/obj/effect/turf_decal/delivery/hollow, +/turf/simulated/floor/plasteel, +/area/station/maintenance/starboard) +"xyF" = ( +/obj/machinery/atmospherics/unary/vent_pump/high_volume{ + dir = 8 + }, +/obj/effect/map_effect/dynamic_airlock, +/turf/simulated/floor/plating, +/area/station/engineering/engine/reactor) "xyH" = ( /obj/machinery/firealarm/directional/south, /obj/effect/turf_decal/tiles/department/command/corner{ @@ -87671,13 +87399,22 @@ /turf/simulated/floor/plasteel/dark, /area/station/science/toxins/mixing) "xzD" = ( -/obj/machinery/atmospherics/pipe/simple/heat_exchanging{ - dir = 4 +/obj/structure/rack{ + dir = 1 }, -/obj/machinery/atmospherics/pipe/simple/heat_exchanging, -/obj/structure/lattice, -/turf/space, -/area/space/nearstation) +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 9; + pixel_x = -3 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 6 + }, +/obj/item/nuclear_rod/coolant/light_water{ + pixel_y = 3; + pixel_x = 3 + }, +/turf/simulated/floor/plasteel/reactor_pool, +/area/station/engineering/engine/reactor) "xzQ" = ( /obj/machinery/atmospherics/pipe/manifold/visible, /obj/machinery/atmospherics/meter, @@ -87864,10 +87601,12 @@ /turf/simulated/floor/plasteel, /area/station/engineering/engine_foyer) "xCP" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 +/obj/structure/flora/ausbushes/fullgrass, +/obj/item/radio/intercom{ + name = "south bump"; + pixel_y = -28 }, -/turf/simulated/floor/plasteel, +/turf/simulated/floor/grass, /area/station/service/hydroponics) "xCT" = ( /obj/machinery/atmospherics/trinary/mixer{ @@ -88596,6 +88335,24 @@ }, /turf/simulated/floor/plasteel/white, /area/station/medical/surgery/observation) +"xPN" = ( +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "1-8" + }, +/turf/simulated/floor/plasteel, +/area/station/hallway/primary/starboard) "xPR" = ( /obj/effect/turf_decal/tiles/department/engineering/side{ dir = 1 @@ -88627,6 +88384,22 @@ /obj/effect/spawner/random/barrier/grille_maybe, /turf/simulated/floor/plating, /area/station/maintenance/aft2) +"xQi" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/effect/turf_decal/tiles/neutral, +/turf/simulated/floor/plasteel, +/area/station/maintenance/fsmaint) "xQp" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 6 @@ -88714,6 +88487,9 @@ /obj/effect/turf_decal/stripes/line{ dir = 4 }, +/obj/structure/cable{ + icon_state = "1-2" + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "xSg" = ( @@ -88815,8 +88591,8 @@ /area/station/security/prison/cell_block/a) "xWl" = ( /obj/machinery/access_button{ - autolink_id = "enginesm_btn_ext"; - name = "Supermatter Access Button"; + autolink_id = "engsm_btn_ext"; + name = "Reactor Access Button"; pixel_x = -24; req_access = list(10) }, @@ -88828,6 +88604,12 @@ dir = 5; network = list("SS13","Engineering","engine") }, +/obj/effect/turf_decal/stripes/corner{ + dir = 1 + }, +/obj/effect/turf_decal/stripes/corner{ + dir = 8 + }, /turf/simulated/floor/plasteel/dark, /area/station/engineering/control) "xWt" = ( @@ -88899,9 +88681,13 @@ /turf/simulated/floor/plasteel, /area/station/hallway/secondary/entry/west) "xXv" = ( -/obj/machinery/atmospherics/pipe/simple/visible/red, +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/engine, -/area/station/engineering/control) +/area/station/engineering/engine/reactor) "xXD" = ( /obj/structure/cable{ icon_state = "4-8" @@ -89045,6 +88831,12 @@ /obj/structure/flora/ausbushes/ppflowers, /turf/simulated/floor/grass/no_creep, /area/station/science/research) +"xYX" = ( +/obj/machinery/light/small{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/starboard) "xZa" = ( /obj/structure/plasticflaps{ opacity = 1 @@ -89165,15 +88957,10 @@ }, /turf/simulated/floor/plasteel, /area/station/command/teleporter) -"yaq" = ( -/obj/structure/cable{ - icon_state = "1-8" - }, -/obj/structure/cable{ - icon_state = "4-8" - }, -/turf/simulated/floor/plating, -/area/station/engineering/control) +"yap" = ( +/obj/machinery/nuclear_centrifuge, +/turf/simulated/floor/plasteel/dark, +/area/station/engineering/engine/reactor) "yar" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 @@ -89261,14 +89048,6 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel, /area/station/hallway/primary/central/east) -"ycj" = ( -/obj/machinery/camera{ - c_tag = "Hydroponics Pasture"; - dir = 6 - }, -/obj/machinery/hydroponics/soil, -/turf/simulated/floor/grass, -/area/station/service/pasture) "ycl" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/table, @@ -89296,6 +89075,22 @@ /obj/structure/table/wood, /turf/simulated/floor/carpet/purple, /area/station/service/library) +"ycY" = ( +/obj/effect/spawner/random/barrier/grille_often, +/obj/machinery/atmospherics/pipe/simple/hidden/cyan{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/extra_insulated{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/station/maintenance/fsmaint) "ydm" = ( /obj/structure/table, /obj/effect/decal/cleanable/dirt, @@ -89416,9 +89211,13 @@ /turf/simulated/floor/plasteel/white, /area/station/science/toxins/mixing) "yeW" = ( -/obj/structure/sign/radiation/rad_area, -/turf/simulated/wall/r_wall, -/area/station/engineering/engine/supermatter) +/obj/effect/turf_decal/trimline/misc/toxins/line{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/engine, +/area/station/engineering/engine/reactor) "yeY" = ( /obj/machinery/atmospherics/pipe/simple/hidden/cyan, /turf/simulated/floor/plasteel, @@ -89516,10 +89315,11 @@ /turf/simulated/floor/plating, /area/station/maintenance/fpmaint) "yhT" = ( -/obj/machinery/light/small{ - dir = 4 +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8 }, -/turf/simulated/floor/plasteel, +/obj/effect/turf_decal/tiles/department/virology, +/turf/simulated/floor/plasteel/dark, /area/station/service/hydroponics) "yhW" = ( /obj/structure/cable{ @@ -89592,6 +89392,12 @@ /obj/effect/turf_decal/tiles/department/cargo/side, /turf/simulated/floor/plasteel, /area/station/supply/storage) +"yiN" = ( +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/turf/simulated/floor/plasteel, +/area/station/engineering/engine/reactor) "yiU" = ( /turf/simulated/floor/plasteel/dark, /area/station/security/armory/secure) @@ -121913,7 +121719,7 @@ aTm aWy apG aTo -epi +aYK aZZ xoq bdi @@ -122173,7 +121979,7 @@ aTn aYM aZZ bbD -rEF +nbn bey bgd oWL @@ -122427,11 +122233,11 @@ udB qpN paZ aTp -rmg -bsm -blC -bdt -bsm +erQ +aLl +bcx +aLl +aLl bez bez bez @@ -122685,10 +122491,10 @@ qvm aTo aTo aYK -blC -bcj -ogD -bsm +aLl +niC +vmT +aLl bge blM bjp @@ -122939,13 +122745,13 @@ awZ aQC aTq aUy -sYJ -aRX -bcP -bsq +fWg +aTo +rmg +aLl bfp dqw -bsm +aLl bgf bhB bjq @@ -123198,11 +123004,11 @@ aTo fZm aTp aTo -aYK -blC -nyR +bro +aLl +jln bdW -bsm +aVc bgg bhC bjr @@ -123455,11 +123261,11 @@ aTo spj aTo aTo -uoI -bsm -niC -bdW -bsm +ujT +aLl +ocB +lrZ +aLl bjF bhD bjs @@ -123713,10 +123519,10 @@ aQN hdE aTp eZE -bsm +aLl nag niC -bsm +aLl bgi bhE bjt @@ -123969,15 +123775,15 @@ aTo ygK aVT fWg -ujT -bbH -bbH -bbH -bbH -bbH -bbH -bbH -bbH +aYK +aVc +ket +lrZ +aLl +aLl +aLl +aLl +aLl bni dnS wwo @@ -124227,14 +124033,14 @@ lAQ aVU aTo uPu -bbH -gFZ -eTo -hdJ -lhu -oNz +aLl +dAH +lrZ +avA +avA +avA bmQ -bbH +aLl bnr oGK bqA @@ -124483,18 +124289,18 @@ aTo fzi aVV fWg -bnJ -bbH +aYK +aLl sOy dia con udr rrz -bjB +kOy blm oLw igE -bqA +viC bHA bus bwz @@ -124512,7 +124318,7 @@ sNm bSx bQI naR -uQp +bqC pOW bYA cbt @@ -124741,17 +124547,17 @@ jyZ eQt aTp aXm -bbH +aLl +mdS fZO -fZO -cJS -jmV -beE -bgq -bbH -bnr -oGK -bqA +avA +avA +iUb +xeC +aLl +wnn +xPN +wWE bsp bxe iOn @@ -124764,12 +124570,12 @@ udl biW bQI bHS -tRb -huf +auO +nic jCz bQI bXb -ces +tTh ces cdD cbd @@ -124997,18 +124803,18 @@ aTp ilf aTo aTp -aYK -bbH -bbH -bbH -bjz +pbn +aLl +ofH +sAz cJS -beE +cJS +mca vAS -bbH -wnn -ejd -bqA +aLl +bnr +boY +wWE bsp bxH bwG @@ -125020,13 +124826,13 @@ sqp ueC rmt bQI -bQI -bQI +vxi +auO fnS -bQI +gwm bQI jHO -ces +tTh bYA bYA cbt @@ -125254,36 +125060,36 @@ aTz aUC aTo aYK -aYK -aVc -tid -bbH -bjx -bjw +jSn +aLl +wVi +xQi +aLl +aLl iFS -mSm -bbH -bnh -oGK -bqA -bsp -bsp -bsp -bsp +aLl +aLl +bnk +aja +nDX +bsm +bsm +bsm +bsm bAx rDd rDd rDd sAP pah -vPk -prI +bQI +bQI sdJ -pcb -dON -vPk +bQI +bQI +bQI fWa -bgO +tTh bNA cgT oTq @@ -125513,34 +125319,34 @@ baf epF aLl aIo -bYB -bia -beC -beC -bbx -beC -beC +avA +ycY +aLl +aaa +aaa +oaW +viJ wGR -oGK +wyw uZm -bsp +blC bxI iGf -bsp +bsm nsB bHQ uft bHP tZl ncl -vPk +bQI sgk bdx bQQ ukO +bQI vPk -vPk -xbt +tTh bYA bYA cbt @@ -125769,34 +125575,34 @@ hRH aBI aLl aLl -rgo -bgr -bgr -beC +vmT +ket +pgF +aBZ vuo aZK -xvs -beC -bnr -iTo +ihr +ihr +qNW +vOR bqD -bsp +bsq buH bwR -bsp +bsm bAy bCy ljZ bCy gFz nos -vPk +bQI bXo -qlh +bdx bSj ljo -bie -vPk +bQI +wBg bXl bNC qXW @@ -126027,38 +125833,38 @@ sVD aLl cZi oOE -bgr +glY mVh -beC +aBZ bgm bhI bjv beC -bnk +jTW cCu -rve -bsp +uZm +blC xam bbE -bsp +bsm bAz bCy bCy -mxb +bCy meL bJM -vPk +bQI bOy oHv cGq bUi -nOF -vPk +bQI baj -sOd +job baj bZv bZv +bZv caS cte cte @@ -126283,39 +126089,39 @@ aPz aQd aLl hFY -bgr -qMN +lZP +dAH rqC -beC -beC -buz -beC +aBZ +pXu +beE +bjw beC bnn oAL bqE -bsp -uvU -pjb -bsp +bsm +bsm +bsm +bsm bsp bCC -bCy +lRN nAC gFz bHI -vPk +bQI vRv jOR bQT hRT -hts -vPk +bQI +kPq bXn qUq bNB -bds bZv +cPa cdk ceP cte @@ -126539,20 +126345,20 @@ utu ebZ aQd aLl -dAH -oOE -bgr -bgr -bbH -cex -cex -bbH -cyv +jln +kCU +aIo +aLl +aBZ +beC +bbx +beC +beC aIr bQR buV bsp -hvW +ckY azy aLC nwQ @@ -126560,22 +126366,22 @@ toH gry skr bHU -bCy -vPk +nhP +bQI alI -bQS -vPk -vPk -vPk -vPk +vqr +vqr +pOI +cCg +iWF bPO vSM xCP -bnc bZv +wOA uQK -bdl -lBw +rBh +cte cwG xmO eUU @@ -126795,44 +126601,44 @@ aSc axM ktZ aLl -aLl -jln -kHJ -oNy +aIo dAH +ycY +aLl +jTp bia -bbH +pAA bhL +bjx bbH -bbe -aIr -fQt +wGR +oAL rjC bsp mwH -tfo +hvW gOq bsp -nhP -boX +bsp bLI mpr +amN bJO -vPk -vPk -veb -vPk -bTd -bhQ +bQI +aea +aoG +xyE +aoG +aoG bVA -ces +qRc wgT -ces -bwO +nBB bZv -uQK -bdl -lBw +khA +cVl +vTr +cte hvr uZG cwG @@ -127054,41 +126860,41 @@ ayv aLl apL avA -lev -blo -avA -avA +pgF +aLl +faB +bGj qJI bhM -aLl -pSL -aIr +cZy +bbH +wGR mUq qIg +bsp +dNE +jXD +pjb bAB -bAB -bAB -bAB -bAB -bAB -gwd -qYT -qYT -bUj -qYT -ycj -bgn -qxG +aoG +aoG +aoG +aoG +aoG +aoG +aoG +aoG +aNR bEG -kZl +aoG bHW -ces +ecE nac yhT -fOi +bZv pHM -bdv -lJt +ces +nRO aoG aoG rrk @@ -127311,43 +127117,43 @@ fUf aLl aCc avA -pDp -fFl -avA -wVi -bgr +lZP +aLl +jvs +beE +bgq bhJ -aLl -aLl +hwz +bbH tNg -fQt +svE igm -bAB +bsp cbX nTX lfV wQe -rsI +aoG gHV -bHW +rKg bHX -kZl +nXs woK -aOz +oXK bPg dnm bTP -cFG -bHW +oXK +aiA bXq -ktD -bZv -oQb -bZv -uQK -kSe aoG -vtY +aoG +oXK +aoG +ojF +aoG +aoG +mSs eUt coQ aoG @@ -127566,44 +127372,44 @@ swh kMd xNo mNp -sku -tKB -alb -avA -dAH -aaT -bgr -oFN -bgr +glY +glY +pRw aLl +jyQ +beE +jeZ +bhJ +bgr +bbH bqB fQt -igm -bAB -soT +unf +aoG +aoG rvF iGZ -eAA -eVa -syJ -eRh -bJP -bJP -bJP +aoG +aoG +aoG +aoG +uHz +dYA bJP +aoG bPh qYT bSB -qYT -qYT -bZv -bZv -bZv +aoG asJ -nWJ +bSU +ctz +ctz +ctz +bSU asJ -asJ -uQK +oXK +lJt bSU izc gYF @@ -127823,44 +127629,44 @@ tbL rsN pRw aIo -axb +dqS +avA mdS -bjy -beG -beG +aLl +eTI beG bgs qfs -bgs +bjB blq iHk xfn -igm +nmP tKV -sqH -sqH -uXs +eqI +eqI +eqI eqI afN azp -bHW -woK -woK -woK +aoG +xqQ +glE +mCV kZl bUl -qYT -mNF +mdG +bYC kLH caw -gET -wlE -vOK nWJ -uQK +wlE +nWJ +nWJ +lqe cxo -asJ -uQK +gfH +vtY bSU gQu aoG @@ -128083,39 +127889,39 @@ aBZ aBZ aBZ aBZ -dcx -dAH -wVi -bgt -bgr -bjC aLl +ghJ +aKC +bgt +sie +bjC +bbH bnp -fQt -igm -bAB +fwF +bqx +aoG cZD nxh -bAB -bAB +xYX +bSU dfg -dfg -qYT -qYT -qYT -qYT -bpb -qYT -qYT +coQ +aoG +pUo +cCw +pVB +aoG +qtq +izc aNR qhd -nJP -nJP -fsS -nJP +vTS +vhd +bdl +oXK nJP bOP -bgo +bYC kmO kmO bYC @@ -128339,8 +128145,8 @@ aBZ gUx ckW nLo -hPR -bam +aBZ +aBZ bam bam bam @@ -128349,30 +128155,30 @@ bam bam cMY fQt -igm -bAB -dfg -bAB -oTB +bqx +aoG +aoG +aoG +dSv asJ -nWJ -bNK -buI -asJ -asJ -asJ -asJ -chk -asJ -rCD -asJ -uQK -uQK -uQK -asJ -asJ -dEL -bdl +gBO +oXK +aoG +aoG +aoG +aoG +oXK +nJP +izc +ctz +aoG +aoG +aoG +aoG +aoG +urT +wiZ +xYX siC nbw nbw @@ -128613,19 +128419,19 @@ pVi pJt cOJ seF -bbv +kmO cNc -bVB -bVB +bYC +bYC uGA -pbx +bYC +bYC qKA -qKA -mVn +lJt dSv -aoG -aoG -aoG +sEQ +hwF +nOU aoG aoG lmF @@ -128869,23 +128675,23 @@ bSG gRz aoG cmg -bHY -lJt +asJ +asJ mfJ csB -aYP +bSU mfJ -bhd +lJt asJ -rEV -foR -dSv -sEQ -hwF -nOU +bSU +lJt aoG +nOE +rja +etR aoG -gcq +vFm +dEL cdm nbw lRY @@ -129137,11 +128943,11 @@ cwQ buy aoG aoG -nOE -rja -etR +oXK +cGV aoG -vFm +aoG +oXK wiZ asJ oPX @@ -129393,12 +129199,12 @@ axh axh axh axh +bgV +hdc +fTV +fTV +bZH aoG -oXK -cGV -aoG -aoG -oXK xxP fxC rkc @@ -129650,11 +129456,11 @@ iea uls vud axh -bgV -hdc -fTV -fTV +erT +ovR bZH +fTV +nXk aoG eKX cfy @@ -131414,7 +131220,7 @@ vRY aHi drL drL -drL +oNC fWD xWl sLD @@ -131676,10 +131482,10 @@ fwJ xbT xSf wNv +xiC +nTF nRh -nRh -nRh -nRh +uOm aCg qeD jvf @@ -131923,8 +131729,8 @@ aCf aDw ccH fWS -aCg -aCg +egm +egm aCg aCg aHi @@ -132180,7 +131986,7 @@ btR aEn llU jME -aHi +gIQ kcU kWg qKh @@ -132189,12 +131995,12 @@ dqs aPu gVB maQ -pgP +wSe fZR aLE ekt teY -aCg +egm uIX itu gTn @@ -132437,21 +132243,21 @@ aFZ ccH ccH eSa -aHi +gIQ rsT -vUb +bPD mdF +osZ +rab +gJp vUb -vUb -vUb -irX uYE vUb vUb -owQ +vUb vUb rqN -aCg +egm aFR aFR aFR @@ -132694,22 +132500,22 @@ dxF ccH ccH rOu -aHi +gIQ pFo -aMU +bPD aPa -aRg -aTJ +wKL +knc aPs aVs urF knc aXs -tjY -bao +vmn rab -aCg -drL +fkk +egm +cFo hFO eTy hfb @@ -132951,12 +132757,12 @@ fBE dat dat poX -aHi -pFo -aMQ +gIQ +oXn +knc +gnv kTZ -kTZ -kez +khF aPt gvJ aTR @@ -132968,7 +132774,7 @@ ccu jTD iEX bza -aCg +egm gLH bpn uzW @@ -133205,29 +133011,29 @@ ptV mhE syC enp -aHi -aHi -aHi -aCg +gIQ +gIQ +gIQ +egm lLt aMQ +xmb rMp -rMp -kez -ckg +wbP +wbP aRc -lGr -kez +wbP +wbP uNp -uNp -ebM +rdm +rab bbC -aCg -aCg -aCg -aZe +egm +egm +egm +dKe +egm tmT -bpn gNM oeh sHd @@ -133466,25 +133272,25 @@ aDi gHz ntU wky -ftb -rlJ -gpj +rfp +mNw +riC aRa -aOe -aPv +wbP +wbP peF -huo -aOe +wbP +wbP tVw -gpj -tAn -bbC -nEU +rdm +rab +xfa +egm mdN -mLC -aCg -eKK -bpn +hDp +tsv +egm +bPW nHB bpn mWL @@ -133722,26 +133528,26 @@ enp qHh bsw mtV -aHi -vIz +gIQ +gGt aDL -kGw +xmb aRs -aTK -aRf -aSo -aTV -mzf +wbP +wbP +rab +wbP +wbP dqm kGw mVG -bbC -aCg -lnd -pGk -aCg +fkk +gIQ +yiN +yiN +ktr +egm iCy -qnI wkx xpX bvi @@ -133979,10 +133785,10 @@ enp iJz enh vZU -aHi -ukN -aDL -kGw +gIQ +uZD +nIx +bic ebV lJX aRf @@ -133990,14 +133796,14 @@ rwh aTV kRX bBF -kGw -mVG -hFw -aCg -nFZ -aCg -aCg -bnt +dzY +rab +rab +pRl +skv +skv +fnu +egm bnt wUa wUa @@ -134236,28 +134042,28 @@ enp kLs lcc vZU -aHi -vIz -aLN -kGw +gIQ +ecD +nIx +rbT lBd -gfB -aRf -aSo -aTV -flr +wbP +wbP +rab +wbP +wbP jYw -kGw -dea -mwZ -aCg -aef -aef -aef -aef -aef +rdm +rab +nJQ +gIQ +vnE +vnE +vnE +mmq wUa tCz +awt jbC rhb wUa @@ -134494,27 +134300,27 @@ bJW fmP aFY aOa -edK +knc dXb -gpj -kez -kez -hWr -hWr -hWr -kez +muJ +tYk +wbP +wbP +rab +wbP +wbP kez gpj aJt -kBa -hFV -gtu -ixU -abq -abq -aef +rhl +egm +yap +mom +iyE +iRc wUa icY +ruD nPV beX wUa @@ -134747,31 +134553,31 @@ xEJ mhE syC enp -aCg -nYI -nYI -aCg +egm +scN +scN +egm fzN aJW -pUq +rbT lOU -unX -rLs -oOs -iAT -lOU -fHC -len -nss -bbC -nYI -abq -wJN -iEd -ixU -aef +wbP +wbP +rab +wbP +wbP +uNp +rdm +rab +fqq +egm +egm +egm +egm +egm wUa xEh +rnF uKv xSv sTM @@ -135010,25 +134816,25 @@ szY uwn fBW uDi -pSf +rbT +dsz xXv -pSf sID aRe -hok +xXv xXv nME -fFL -vUB +rdm +rab ujj -hFV -gtu +hnS +bzE +bzE xzD xzD -xzD -opU wUa cpw +rnF xXZ tnv sTM @@ -135264,27 +135070,27 @@ abq abq aef aef -aCg +egm wlL gGi khg djk -qiI +fbR wKL fbR -iqc +knc wjn -mVO -qOQ -wHD +rab +rdm +rab ldg -aCg -iEd +eTu +jMX +jMX +jMX mBA -xzD -mBA -rwE wUa +sPr lkP rNd mpT @@ -135521,25 +135327,25 @@ aaa aaa aaa aaa -aCg -aCg -aHi -pfH -aHi -aCg -aHi -miM -aHi -aCg -aHi -mCT -aHi -aCg -aCg -jdX -mBA -xzD -mBA +egm +tNW +mFT +sHl +pfr +sHl +niE +sHl +fhZ +sHl +vmn +imD +vmn +ujj +hFV +jMX +jMX +opU +opU opU wUa sTM @@ -135778,26 +135584,26 @@ aaa aaa aaa aaa -aCg +egm gAz -nRh -mEy +rab +rab vYq -qYc +rab xmT -pIk -jbk -wXp -aOd -mbI -nRh -tth -aCg -iEd -xzD -xzD -xzD -rwE +rab +rab +rab +rdm +cTg +rdm +ujj +leU +jMX +jMX +opU +opU +opU wUa krN cnQ @@ -136035,26 +135841,26 @@ abq abq abq abq -aCg +egm rbC -nRh -raV -kWs +bKr +kQL +kQL gSe -nRh -nRh -nRh -eRU +jFx +axa +iyZ +rab oib oWm -wWl -uOm -aCg -jdX -xzD -xzD -xzD -opU +rdm +ujj +vHR +jMX +jMX +jMX +jMX +kOQ wUa bvf bxw @@ -136292,26 +136098,26 @@ aaa aaa aaa aaa -aCg -dxT -dmO -aLx -ukB -gSe -nRh -aSp -nRh +egm +egm +egm +scN +scN +scN +egm +egm +egm eRU -tFD -yaq -nRh -bxA -aCg -iEd -mBA -xzD -xzD -rwE +egm +wcN +cTg +ujj +kag +jMX +jMX +opU +opU +opU wUa bsK aKT @@ -136549,26 +136355,26 @@ aaa aaa aaa aaa -aCg -sUi -nRh -hdL -kWs +gwM kUC uLE -aCg +kUC +uLE +kUC +uLE +egm mZJ wXp -tFD -vUD -nRh -sRC -aCg -jdX -mBA -xzD -mBA +egm +jaf +rdm +ujj +lrP +jMX +jMX opU +opU +egm wUa bsK rYO @@ -136806,26 +136612,26 @@ abq abq abq abq -aCg -aCg -aCg -aCg -aCg -aCg -aCg -aCg -aCg -aCg -aCg -aCg -aCg -aCg -aCg -iEd +jTs +oAU +oAU +oAU +oAU +oAU +oAU +egm +xyF +uAA +egm +pVn +ldJ +hym +eut +jMX wPg -xzD -mBA -rwE +jMX +jMX +egm abq bsK bDj @@ -137064,25 +136870,25 @@ abq aaa aaa aaa -abq -aaa -aaa -aaa -aaa -abq -abq -abq -aaa -aaa -aaa -aaa -abq -aaa -jdX -mBA -xzD -mBA -opU +oAU +oAU +oAU +oAU +oAU +oAU +egm +egm +qoi +egm +eOo +eOo +egm +egm +egm +egm +egm +egm +egm abq aaa aaa @@ -137321,25 +137127,25 @@ abq abq aaa mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb +ivi +jdX +mtK +jdX +mtK +jdX +gtu +bzq +jha +jha +mtK +wJN +aaa +aaa abq -jdX -mtK -jdX -mtK +abq +abq +aaa +aaa abq aaa aaa @@ -137578,25 +137384,25 @@ bre abq abq mZb -bre -bre -bre -bre -bre -bre -bre -bre -bre -bre -bre -bre -bre -mZb +ivi +iEd +cxT +iEd +cxT +iEd +gtu +jha +jha +jha +gtu +mtK +aaa +aaa abq -abq -bre -bre -mZb +aaa +aaa +aaa +aaa iju aaa aaa @@ -137835,25 +137641,25 @@ bre abq aaa mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb -mZb +ivi +ivi +ivi +ivi +ivi +ivi +aaa +arA +bre +arA +aaa +aaa +aaa aaa abq -bre -mZb -mZb +aaa +aaa +aaa +aaa aaa aaa aaa @@ -138092,12 +137898,12 @@ mZb aaa aaa aaa -aaa -aaa -aaa -aaa -aaa -aaa +ivi +ivi +ivi +ivi +ivi +ivi aaa abq arA @@ -138108,8 +137914,8 @@ aaa aaa aaa aaa -mZb -mZb +aaa +aaa aaa aaa aaa @@ -138345,16 +138151,16 @@ aaa aaa aaa aaa +abq aaa aaa aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +jdX +mtK +jdX +mtK +jdX +mtK aaa abq arA @@ -138602,14 +138408,14 @@ aaa aaa aaa aaa +abq +abq +abq +abq +abq aaa aaa -aaa -aaa -aaa -aaa -aaa -aaa +abq aaa aaa aaa @@ -138859,14 +138665,14 @@ aaa aaa aaa aaa +abq aaa aaa aaa +abq aaa aaa -aaa -aaa -aaa +abq aaa iju abq @@ -139116,16 +138922,16 @@ aaa aaa aaa aaa +mZb +mZb +mZb +mZb +mZb +mZb +mZb +mZb aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +abq aaa abq arA @@ -139372,18 +139178,18 @@ aaa aaa aaa aaa -aaa -aaa -aaa -aaa -aaa -aaD -aaa -aaa -aaa -aaa -aaa -aaa +abq +mZb +bre +bre +bre +bre +bre +bre +mZb +abq +abq +abq abq arA abq @@ -139628,18 +139434,18 @@ aaa aaa aaa aaa +abq +abq +mZb +mZb +mZb +mZb +mZb +mZb +mZb +mZb aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa -aaa +abq aaa abq arA @@ -139890,8 +139696,8 @@ aaa aaa aaa aaa -aaa -aaa +abq +abq aaa aaa aaa @@ -140405,7 +140211,7 @@ aaa aaa aaa aaa -aaa +aaD aaa aaa aaa diff --git a/code/__DEFINES/machines.dm b/code/__DEFINES/machines.dm index 80eb4527e10..c5f6ab1f7c9 100644 --- a/code/__DEFINES/machines.dm +++ b/code/__DEFINES/machines.dm @@ -30,6 +30,23 @@ #define SUPERMATTER_EMERGENCY 5 // Integrity < 50% #define SUPERMATTER_DELAMINATING 6 // Pretty obvious, Integrity < 25% +#define REACTOR_INACTIVE 0 // Reactor is not operational +#define REACTOR_NORMAL 1 // Normal operation +#define REACTOR_NOTIFY 2 // Above 90% of heat_damage_threshold +#define REACTOR_WARNING 3 // Integrity < 99% +#define REACTOR_DANGER 4 // Integrity < 50% +#define REACTOR_EMERGENCY 5 // Integrity < 25% +#define REACTOR_MELTDOWN 6 // Integrity < 5% + +// The states of nuclear reactor chambers. +#define CHAMBER_DOWN 1 +#define CHAMBER_UP 2 +#define CHAMBER_OPEN 3 +#define CHAMBER_OVERLOAD_IDLE 4 +#define CHAMBER_OVERLOAD_ACTIVE 5 + +#define HEAT_MODIFIER 450 //! A flat multiplier for all reactor heat. Higher = more heat production. + // More defines for the suppermatter /// Higher == Crystal safe operational temperature is higher. #define SUPERMATTER_HEAT_PENALTY_THRESHOLD 40 diff --git a/code/__DEFINES/misc_defines.dm b/code/__DEFINES/misc_defines.dm index e5016facdbd..276fd832a7c 100644 --- a/code/__DEFINES/misc_defines.dm +++ b/code/__DEFINES/misc_defines.dm @@ -8,6 +8,7 @@ #define SEC_LEVEL_GAMMA 3 #define SEC_LEVEL_EPSILON 4 #define SEC_LEVEL_DELTA 5 +#define SEC_LEVEL_DELTA_REACTOR 6 //Click cooldowns, in tenths of a second #define CLICK_CD_MELEE 8 @@ -432,6 +433,7 @@ #define INVESTIGATE_RENAME "renames" #define INVESTIGATE_SINGULO "singulo" #define INVESTIGATE_SUPERMATTER "supermatter" +#define INVESTIGATE_REACTOR "reactor" #define INVESTIGATE_WIRES "wires" #define INVESTIGATE_DEATHS "deaths" diff --git a/code/_globalvars/misc_globals.dm b/code/_globalvars/misc_globals.dm index 6c32e8ace43..a2bc64d99bf 100644 --- a/code/_globalvars/misc_globals.dm +++ b/code/_globalvars/misc_globals.dm @@ -60,6 +60,8 @@ GLOBAL_LIST_EMPTY(mod_link_ids) GLOBAL_DATUM(main_supermatter_engine, /obj/machinery/atmospherics/supermatter_crystal) +GLOBAL_DATUM(main_fission_reactor, /obj/machinery/atmospherics/fission_reactor) + ///Global list for descriptors GLOBAL_LIST_INIT(character_physiques, list("emaciated", "rail thin", "thin", "gaunt", "lanky", "scrawny", "average", "lean", "toned", "well-built", "muscular", "chiseled", "shredded", "chubby", "overweight")) diff --git a/code/datums/components/multitile.dm b/code/datums/components/multitile.dm index aa01a5741aa..17381b0225f 100644 --- a/code/datums/components/multitile.dm +++ b/code/datums/components/multitile.dm @@ -59,7 +59,7 @@ var/current_width = 1 var/tile_index = 1 - for(var/turf/filler_turf as anything in block( + for(var/turf/filler_turf as anything in block( owner.x - offset_x - distance_from_center_x, owner.y + offset_y - distance_from_center_y, owner.z, owner.x - offset_x + distance_from_center_x, owner.y + offset_y + distance_from_center_y, owner.z, )) @@ -67,6 +67,7 @@ if(new_filler_map[max_height - current_height][current_width] == 1) // Because the `block()` proc always works from the bottom left to the top right, we have to loop through our list in reverse var/obj/structure/filler/new_filler = new(filler_turf) all_fillers += new_filler + new_filler.parent = owner current_width += 1 tile_index++ if(tile_index % max_width == 1) diff --git a/code/datums/looping_sounds/machinery_sounds.dm b/code/datums/looping_sounds/machinery_sounds.dm index d8b46ae847e..38350a6483e 100644 --- a/code/datums/looping_sounds/machinery_sounds.dm +++ b/code/datums/looping_sounds/machinery_sounds.dm @@ -73,3 +73,32 @@ GLOBAL_DATUM_INIT(firealarm_soundloop, /datum/looping_sound/firealarm, new(list( volume = 20 falloff_distance = 2 falloff_exponent = 5 + +/////////// NGCR //////////// + +/datum/looping_sound/reactor + mid_sounds = list('sound/machines/fission/reactor_loop.ogg' = 1) + mid_length = 30 + volume = 30 + extra_range = 5 + falloff_exponent = 1 + falloff_distance = 1 + channel = CHANNEL_ENGINE + +/datum/looping_sound/reactor_startup + start_sound = 'sound/machines/fission/reactor_startup_beginning.ogg' + start_length = 15 SECONDS + mid_sounds = list('sound/machines/fission/reactor_startup_mid.ogg' = 1) + mid_length = 11.8 SECONDS + falloff_exponent = 3 + falloff_distance = 3 + volume = 35 + channel = CHANNEL_ENGINE + +/datum/looping_sound/centrifuge + start_sound = 'sound/machines/fission/centrifuge_start.ogg' + start_length = 0.95 SECONDS + mid_sounds = list('sound/machines/fission/centrifuge_mid.ogg' = 1) + mid_length = 0.95 SECONDS + volume = 35 + channel = CHANNEL_ENGINE diff --git a/code/datums/uplink_items/uplink_traitor.dm b/code/datums/uplink_items/uplink_traitor.dm index 666815a5d28..58cbb8bde10 100644 --- a/code/datums/uplink_items/uplink_traitor.dm +++ b/code/datums/uplink_items/uplink_traitor.dm @@ -239,6 +239,16 @@ cost = 50 job = list("Station Engineer", "Chief Engineer") +/datum/uplink_item/jobspecific/meltdown_rod + name = "Nuclear Meltdown Rod" + desc = "A specially designed nuclear rod, guaranteed to cause the meltdown of any reactor it's placed into. For those tasked with detonating the station's nuclear warhead, this will not achieve that end." + reference = "SMDR" + item = /obj/item/nuclear_rod/fuel/meltdown + cost = 25 + job = list("Station Engineer", "Chief Engineer") + hijack_only = TRUE + excludefrom = list(UPLINK_TYPE_NUCLEAR) + //RD /datum/uplink_item/jobspecific/telegun diff --git a/code/game/area/ss13_areas/engineering_areas.dm b/code/game/area/ss13_areas/engineering_areas.dm index 8c21446a728..a388410add8 100644 --- a/code/game/area/ss13_areas/engineering_areas.dm +++ b/code/game/area/ss13_areas/engineering_areas.dm @@ -106,6 +106,9 @@ name = "\improper Supermatter Engine" sound_environment = SOUND_AREA_SMALL_ENCLOSED +/area/station/engineering/engine/reactor + name = "\improper Fission Reactor" + //Solars /area/station/engineering/solar diff --git a/code/game/machinery/computer/buildandrepair.dm b/code/game/machinery/computer/buildandrepair.dm index 51b441cb44b..48ca34f8e21 100644 --- a/code/game/machinery/computer/buildandrepair.dm +++ b/code/game/machinery/computer/buildandrepair.dm @@ -346,6 +346,12 @@ build_path = /obj/machinery/computer/singulo_monitor origin_tech = "programming=2;powerstorage=2" +/obj/item/circuitboard/fission_monitor + board_name = "\improper NGCR Monitoring Console" + icon_state = "engineering" + build_path = /obj/machinery/computer/fission_monitor + origin_tech = "programming=2;powerstorage=2" + // RD console circuits, so that de/reconstructing one of the special consoles doesn't ruin everything forever /obj/item/circuitboard/rdconsole board_name = "RD Console" diff --git a/code/game/machinery/machine_frame.dm b/code/game/machinery/machine_frame.dm index e94ac7406e3..1fc7d71619d 100644 --- a/code/game/machinery/machine_frame.dm +++ b/code/game/machinery/machine_frame.dm @@ -444,6 +444,49 @@ to destroy them and players will be able to make replacements. /obj/item/stock_parts/capacitor = 1, /obj/item/stack/cable_coil = 5) +/obj/item/circuitboard/machine/reactor_gas_node + board_name = "Reactor Gas Node" + icon_state = "engineering" + build_path = /obj/machinery/atmospherics/unary/reactor_gas_node + origin_tech = "engineering=2" + req_components = list( + /obj/item/stack/cable_coil = 2, + /obj/item/stack/sheet/metal = 2, + ) + +/obj/item/circuitboard/nuclear_centrifuge + board_name = "Nuclear Centrifuge" + icon_state = "engineering" + build_path = /obj/machinery/nuclear_centrifuge + board_type = "machine" + origin_tech = "programming=4;engineering=4" + req_components = list( + /obj/item/stock_parts/manipulator = 4, + ) + +/obj/item/circuitboard/nuclear_rod_fabricator + board_name = "Nuclear Rod Fabricator" + icon_state = "engineering" + build_path = /obj/machinery/nuclear_rod_fabricator + board_type = "machine" + origin_tech = "programming=4;engineering=4" + req_components = list( + /obj/item/stock_parts/manipulator = 2, + /obj/item/stock_parts/matter_bin = 2, + ) + +/obj/item/circuitboard/machine/reactor_chamber + board_name = "Reactor Chamber" + icon_state = "engineering" + build_path = /obj/machinery/atmospherics/reactor_chamber + origin_tech = "engineering=2" + req_components = list( + /obj/item/stack/cable_coil = 5, + /obj/item/stock_parts/manipulator = 1, + /obj/item/stack/sheet/metal = 2, + /obj/item/stack/sheet/mineral/plastitanium = 2, + ) + /obj/item/circuitboard/recharger board_name = "Recharger" icon_state = "security" diff --git a/code/game/machinery/vendors/departmental_vendors.dm b/code/game/machinery/vendors/departmental_vendors.dm index 227457a54a5..22caf86e9fd 100644 --- a/code/game/machinery/vendors/departmental_vendors.dm +++ b/code/game/machinery/vendors/departmental_vendors.dm @@ -415,6 +415,8 @@ /obj/item/smithing_cast/component/trim = 3, /obj/item/smithing_cast/component/knife_blade = 3, /obj/item/smithing_cast/component/knife_handle = 3, + /obj/item/smithing_cast/component/rod_core = 3, + /obj/item/smithing_cast/component/rod_housing = 3, /obj/item/smithing_cast/misc/egun_parts = 3, /obj/item/storage/bag/smith = 2, /obj/item/storage/box/crewvend = 1) diff --git a/code/game/mecha/equipment/tools/work_tools.dm b/code/game/mecha/equipment/tools/work_tools.dm index 9e00f6ba8bb..a38c5571de6 100644 --- a/code/game/mecha/equipment/tools/work_tools.dm +++ b/code/game/mecha/equipment/tools/work_tools.dm @@ -43,6 +43,33 @@ chassis.occupant.dust() target.Bumped(chassis) return + if(istype(target, /obj/machinery/atmospherics/reactor_chamber)) + var/obj/machinery/atmospherics/reactor_chamber/chamber = target + if(chamber.chamber_state != CHAMBER_OPEN) // we need to handle this a bit special + chamber.attack_hand(cargo_holder.occupant) + return + if(chamber.held_rod) + if(length(cargo_holder.cargo) >= cargo_holder.cargo_capacity) + occupant_message("Not enough room in the cargo compartment!") + return + chamber.held_rod.add_hiddenprint(cargo_holder.occupant) + chassis.visible_message("[chassis] lifts [target] and starts to load it into the cargo compartment.") + cargo_holder.cargo += chamber.held_rod + chamber.held_rod.forceMove(chassis) + chamber.held_rod = null + playsound(chamber.loc, 'sound/machines/podopen.ogg', 50, 1) + chamber.update_icon(UPDATE_OVERLAYS) + return + + for(var/obj/item/nuclear_rod/rod in cargo_holder.cargo) + rod.add_hiddenprint(cargo_holder.occupant) + chamber.held_rod = rod + rod.forceMove(chamber) + cargo_holder.cargo -= rod + playsound(chamber.loc, 'sound/machines/podclose.ogg', 50, 1) + chamber.update_icon(UPDATE_OVERLAYS) + return + if(O.anchored) occupant_message(SPAN_WARNING("[target] is firmly secured!")) return diff --git a/code/game/mecha/working/ripley.dm b/code/game/mecha/working/ripley.dm index 33278dc879e..41ff057eb0d 100644 --- a/code/game/mecha/working/ripley.dm +++ b/code/game/mecha/working/ripley.dm @@ -14,6 +14,7 @@ armor = list(MELEE = 40, BULLET = 20, LASER = 10, ENERGY = 20, BOMB = 40, RAD = 0, FIRE = 100, ACID = 100) max_equip = 6 wreckage = /obj/structure/mecha_wreckage/ripley + flags_2 = RAD_PROTECT_CONTENTS_2 var/list/cargo = list() var/cargo_capacity = 15 diff --git a/code/game/objects/items/robot/cyborg_gripper.dm b/code/game/objects/items/robot/cyborg_gripper.dm index 62a3fb4eaf9..de971761a72 100644 --- a/code/game/objects/items/robot/cyborg_gripper.dm +++ b/code/game/objects/items/robot/cyborg_gripper.dm @@ -16,6 +16,7 @@ icon_state = "gripper" actions_types = list(/datum/action/item_action/drop_gripped_item) flags = ABSTRACT + flags_2 = RAD_NO_CONTAMINATE_2 new_attack_chain = TRUE /// Set to TRUE to removal of cells/lights from machine objects containing them. var/engineering_machine_interaction = FALSE @@ -163,6 +164,19 @@ ) return ITEM_INTERACT_COMPLETE + if(istype(target, /obj/machinery/atmospherics/reactor_chamber)) + var/obj/machinery/atmospherics/reactor_chamber/chamber = target + if(chamber.chamber_state == CHAMBER_OPEN && chamber.held_rod) + chamber.held_rod.forceMove(src) + gripped_item = chamber.held_rod + user.visible_message( + SPAN_NOTICE("[user] removes [chamber.held_rod] from [chamber]."), + SPAN_NOTICE("You remove [chamber.held_rod] from [chamber].") + ) + chamber.held_rod = null + chamber.update_appearance(UPDATE_OVERLAYS) + return ITEM_INTERACT_COMPLETE + /obj/item/gripper/emag_act(mob/user) emagged = !emagged ..() @@ -384,5 +398,6 @@ /obj/item/circuitboard, /obj/item/stack/ore/bluespace_crystal, /obj/item/stack/tile/light, - /obj/item/light + /obj/item/light, + /obj/item/nuclear_rod, ) diff --git a/code/game/objects/items/stacks/stack_recipe.dm b/code/game/objects/items/stacks/stack_recipe.dm index 86cbc140737..9478ed70caa 100644 --- a/code/game/objects/items/stacks/stack_recipe.dm +++ b/code/game/objects/items/stacks/stack_recipe.dm @@ -95,6 +95,10 @@ to_chat(user, SPAN_WARNING("There is a structure here!")) return FALSE + if(locate(/obj/machinery/atmospherics/reactor_chamber) in get_turf(material)) + to_chat(user, SPAN_WARNING("Building something here would get in the way of the reactor!")) + return FALSE + return TRUE /// Creates the atom defined by the recipe. Should always return the object it creates or FALSE. This proc assumes that the construction is already possible; for checking whether a recipe *can* be built before construction, use try_build() diff --git a/code/game/objects/structures/disaster_counter.dm b/code/game/objects/structures/disaster_counter.dm index 186771ea968..514f3823b04 100644 --- a/code/game/objects/structures/disaster_counter.dm +++ b/code/game/objects/structures/disaster_counter.dm @@ -87,6 +87,10 @@ name = "supermatter disaster counter" counter_id = "supermatter" +/obj/structure/disaster_counter/reactor + name = "reactor disaster counter" + counter_id = "reactor" + /obj/structure/disaster_counter/chemistry name = "chemistry disaster counter" counter_id = "chemistry" diff --git a/code/modules/admin/secrets.dm b/code/modules/admin/secrets.dm index 740b77cda6c..28a09cda2d8 100644 --- a/code/modules/admin/secrets.dm +++ b/code/modules/admin/secrets.dm @@ -79,6 +79,7 @@
Reinforce Station
Move the Gamma Armory   + Disable Fission Reactor Safeties  
"} diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 3f89118f387..856fcd6db9b 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -3341,6 +3341,15 @@ log_admin("[key_name(usr)] moved the gamma armory") move_gamma_ship() + if("nuclear_overload") + SSblackbox.record_feedback("tally", "admin_secrets_fun_used", 1, "Disable Fission Reactor Safeties") + message_admins("[key_name_admin(usr)] disabled reactor safeties") + log_admin("[key_name(usr)] disabled reactor safeties") + if(GLOB.main_fission_reactor) + INVOKE_ASYNC(GLOB.main_fission_reactor, TYPE_PROC_REF(/obj/machinery/atmospherics/fission_reactor/, overload_reactor)) + else + log_admin("An admin attempted to override fission reactor safeties, but no reactor was found!") + if(usr) log_admin("[key_name(usr)] used secret [href_list["secretsfun"]]") if(ok) diff --git a/code/modules/admin/verbs/freeze.dm b/code/modules/admin/verbs/freeze.dm index 40338991b89..526e8bb56c8 100644 --- a/code/modules/admin/verbs/freeze.dm +++ b/code/modules/admin/verbs/freeze.dm @@ -105,3 +105,19 @@ USER_CONTEXT_MENU(admin_freeze, R_ADMIN, "\[Admin\] Freeze", atom/movable/M) cut_overlay(freeze_overlay) message_admins(SPAN_NOTICE("[key_name_admin(admin)] [processes ? "unfroze" : "froze"] a supermatter crystal")) log_admin("[key_name(admin)] [processes ? "unfroze" : "froze"] a supermatter crystal") + +/obj/machinery/atmospherics/fission_reactor/admin_Freeze(client/admin) + var/obj/effect/overlay/adminoverlay/freeze_overlay = new + freeze_overlay.pixel_x = 16 + if(!admin_intervention) + radio.autosay("Alert: Unknown intervention is interfering in reactor core operations. It is not progressing in local timespace.", name, "Engineering") + GLOB.frozen_atom_list += src + admin_intervention = TRUE + add_overlay(freeze_overlay) + else + radio.autosay("Alert: Unknown intervention has ceased within the reactor core. It has returned to the regular flow of time.", name, "Engineering") + GLOB.frozen_atom_list -= src + admin_intervention = FALSE + cut_overlay(freeze_overlay) + message_admins(SPAN_NOTICE("[key_name_admin(admin)] [!admin_intervention ? "unfroze" : "froze"] the NGCR Reactor")) + log_admin("[key_name(admin)] [!admin_intervention ? "unfroze" : "froze"] the NGCR Reactor") diff --git a/code/modules/cooking/machines/cooking_machine.dm b/code/modules/cooking/machines/cooking_machine.dm index 6d3659c7f3c..2e1ba1d9a3a 100644 --- a/code/modules/cooking/machines/cooking_machine.dm +++ b/code/modules/cooking/machines/cooking_machine.dm @@ -110,10 +110,9 @@ RESTRICT_TYPE(/obj/machinery/cooking) return var/datum/cooking_surface/surface = surfaces[surface_idx] - var/list/surface_options = list( - RADIAL_ACTION_SET_ALARM = image(icon = 'icons/hud/radial.dmi', icon_state = "radial_setalarm"), - RADIAL_ACTION_ON_OFF = image(icon = 'icons/hud/radial.dmi', icon_state = "radial_onoff"), - ) + var/list/surface_options = list(RADIAL_ACTION_SET_ALARM = image(icon = 'icons/hud/radial.dmi', icon_state = "radial_setalarm")) + if(surface.allow_toggling) + surface_options[RADIAL_ACTION_ON_OFF] = image(icon = 'icons/hud/radial.dmi', icon_state = "radial_onoff") if(surface.allow_temp_change) surface_options[RADIAL_ACTION_SET_TEMPERATURE] = image(icon = 'icons/hud/radial.dmi', icon_state = "radial_settemp") var/option_choice = show_radial_menu(user, src, surface_options, require_near = TRUE) diff --git a/code/modules/cooking/machines/cooking_surface.dm b/code/modules/cooking/machines/cooking_surface.dm index c0db390f27d..a1783419b2f 100644 --- a/code/modules/cooking/machines/cooking_surface.dm +++ b/code/modules/cooking/machines/cooking_surface.dm @@ -15,6 +15,7 @@ RESTRICT_TYPE(/datum/cooking_surface) var/on = FALSE var/prob_quality_decrease = 0 var/allow_temp_change = TRUE + var/allow_toggling = TRUE VAR_PRIVATE/burn_callback VAR_PRIVATE/fire_callback VAR_PRIVATE/alarm_callback diff --git a/code/modules/cooking/machines/grill.dm b/code/modules/cooking/machines/grill.dm index 69653a38514..59fbd38597e 100644 --- a/code/modules/cooking/machines/grill.dm +++ b/code/modules/cooking/machines/grill.dm @@ -60,7 +60,8 @@ /obj/machinery/cooking/grill/examine(mob/user) . = ..() - . += SPAN_NOTICE("It contains [round(stored_wood, 0.01)]/[wood_maximum] units of charcoal.") + if(wood_maximum != INFINITY) + . += SPAN_NOTICE("It contains [round(stored_wood, 0.01)]/[wood_maximum] units of charcoal.") . += SPAN_NOTICE("Ctrl-Click on a surface to set its timer, temperature, and toggle it on or off.") /obj/machinery/cooking/grill/process() @@ -207,3 +208,65 @@ surface.container = new /obj/item/reagent_containers/cooking/grill_grate(src) stored_wood = 30 update_appearance() + +/obj/machinery/cooking/grill/loaded/reactor + icon_state = "blank" + wood_maximum = INFINITY + active_power_consumption = 0 + idle_power_consumption = 0 + flags = INDESTRUCTIBLE + /// The reactor that the grill is attached to + var/obj/machinery/atmospherics/fission_reactor/linked_reactor + +/obj/machinery/cooking/grill/loaded/reactor/Initialize(mapload) + . = ..() + stored_wood = INFINITY + var/datum/cooking_surface/surface = surfaces[1] + surface.container.pixel_x = -16 + surface.container.pixel_y = 0 + surface.container.transform = matrix().Scale(1.35, 1.35) + surface.allow_toggling = FALSE + surface = surfaces[2] + surface.container.pixel_x = 16 + surface.container.pixel_y = 0 + surface.container.transform = matrix().Scale(1.35, 1.35) + surface.allow_toggling = FALSE + +/obj/machinery/cooking/grill/loaded/reactor/attack_hand(mob/user, params) + var/mob/living/carbon/human/burn_victim = user + if(istype(burn_victim) && !burn_victim.gloves) + var/which_hand = "l_hand" + if(!burn_victim.hand) + which_hand = "r_hand" + burn_victim.adjustFireLossByPart(5, which_hand) + to_chat(burn_victim, SPAN_WARNING("Your hand is burned as you try to remove the grill grate, but its stuck firmly!")) + else if(istype(burn_victim)) + to_chat(burn_victim, SPAN_WARNING("You try to remove the grill grate, but its stuck firmly!")) + +// We dont want most of the normal proc for shutting off. +/obj/machinery/cooking/grill/loaded/reactor/ignite() + new /obj/effect/fire(loc, T0C + 300, (roll("2d10+15") SECONDS), 1) + + // Chance of spreading + var/spread_count = rand(1, 3) + if(prob(30)) + var/list/dirs = GLOB.alldirs.Copy() + while(spread_count && length(dirs)) + var/direction = pick_n_take(dirs) + var/turf/T = get_step(src, direction) + if(T.density) + continue + new /obj/effect/fire(T, T0C + 300, (roll("2d10+15") SECONDS), 1) + spread_count-- + +// we want our icons in a specific spot +/obj/machinery/cooking/grill/loaded/reactor/update_surface_icon(surface_idx) + var/datum/cooking_surface/surface = surfaces[surface_idx] + + if(!surface.container) + return + + add_to_visible(surface.container, surface_idx) + +/obj/machinery/cooking/grill/loaded/reactor/update_overlays() + return diff --git a/code/modules/mob/living/simple_animal/parrot.dm b/code/modules/mob/living/simple_animal/parrot.dm index 7e7dbec533e..378ca06bf5e 100644 --- a/code/modules/mob/living/simple_animal/parrot.dm +++ b/code/modules/mob/living/simple_animal/parrot.dm @@ -733,9 +733,28 @@ "TOXINS!", "ONI SOMA!", "GOLDEN BLAST", - "Is there supposed to be this much plasma in the chamber??",, + "Is there supposed to be this much plasma in the chamber??", "Why are there so many borgs?", - "Why're your eyes glowing red?" + "Why're your eyes glowing red?", + "Opening the reactor vent is how it gets gas, right?", + "Let's fill the reactor with supermatter rods!", + "Think we could weaponize ejected coolant rods?", + "WHO KEEPS LEAVING THE FUEL RODS OUT", + "Why do we need coolant rods if we use gas?", + "Wait, why isn't the reactor integrity going up?", + "When did engineering get a pool!?", + "Does anyone else taste copper?", + "10 sieverts isn't a harmful amount of radiation, is it?", + "HELP! THE CHEF IS GRILLING ME ON THE NGCR!", + "Replace the spent fuel rods you lazy bums!", + "There is a xenomorph nesting on the reactor!", + "Why is there a Ripley pulling out the coolant rods?", + "Atmospheric Technicians are the NGCR's favorite moderators", + "Who let the clown touch the control rods?", + "Which of you chucklefucks brought a fuel rod to medbay?", + "A coolant rod just flew into the captain!", + "The reactor is going supercritical!", + "Danger! Reactor core chamber meltdown in progress! Integrity: 79.47%" ) unique_pet = TRUE gold_core_spawnable = NO_SPAWN diff --git a/code/modules/power/engines/fission/datum_nuclear_rods.dm b/code/modules/power/engines/fission/datum_nuclear_rods.dm new file mode 100644 index 00000000000..be44fd331b7 --- /dev/null +++ b/code/modules/power/engines/fission/datum_nuclear_rods.dm @@ -0,0 +1,103 @@ +/datum/nuclear_rod_design + var/type_path + var/category = "Unknown" + var/list/metadata + +/datum/nuclear_rod_design/proc/build_metadata_list(path) + metadata = list() + type_path = path + + var/obj/item/nuclear_rod/T = path + + metadata["name"] = initial(T.name) + metadata["desc"] = initial(T.desc) + metadata["icon"] = initial(T.icon) + metadata["icon_state"] = initial(T.icon_state) + metadata["type_path"] = path + + metadata["max_durability"] = initial(T.max_durability) + metadata["degradation_speed"] = initial(T.degradation_speed) + metadata["heat_amount"] = initial(T.heat_amount) + metadata["heat_amp_mod"] = initial(T.heat_amp_mod) + metadata["power_amount"] = initial(T.power_amount) + metadata["power_amp_mod"] = initial(T.power_amp_mod) + metadata["alpha_rad"] = initial(T.alpha_rad) + metadata["beta_rad"] = initial(T.beta_rad) + metadata["gamma_rad"] = initial(T.gamma_rad) + metadata["minimum_temp_modifier"] = initial(T.minimum_temp_modifier) + metadata["upgrade_required"] = initial(T.upgrade_required) + + metadata["required_object"] = initial(T.required_object) + + // Temp object lets us read in materials and adjacent requirements because you can't initial() a list + var/obj/item/nuclear_rod/temp_rod = new path() + var/list/raw_materials = temp_rod.materials + var/list/requirements = temp_rod.adjacent_requirements + qdel(temp_rod) + + if(raw_materials && length(raw_materials)) + var/list/formatted_materials = list() + for(var/mat_id in raw_materials) + var/display_name = CallMaterialName(mat_id) + formatted_materials[display_name] = raw_materials[mat_id] + metadata["materials"] = formatted_materials + else + metadata["materials"] = list() + + if(ispath(path, /obj/item/nuclear_rod/fuel)) + var/obj/item/nuclear_rod/fuel/F = path + metadata["craftable"] = initial(F.craftable) + metadata["enrichment_cycles"] = initial(F.enrichment_cycles) + metadata["power_enrich_threshold"] = initial(F.power_enrich_threshold) + metadata["heat_enrich_threshold"] = initial(F.heat_enrich_threshold) + + // Get enrichment result names + if(initial(F.power_enrich_result)) + var/obj/item/nuclear_rod/power_result = initial(F.power_enrich_result) + metadata["power_enrichment"] = initial(power_result.name) + metadata["power_enrichment_requirement"] = initial(F.power_enrich_threshold) + else + metadata["power_enrichment"] = null + metadata["power_enrichment_requirement"] = null + + if(initial(F.heat_enrich_result)) + var/obj/item/nuclear_rod/heat_result = initial(F.heat_enrich_result) + metadata["heat_enrichment"] = initial(heat_result.name) + metadata["heat_enrichment_requirement"] = initial(F.heat_enrich_threshold) + else + metadata["heat_enrichment"] = null + metadata["heat_enrichment_requirement"] = null + else if(ispath(path, /obj/item/nuclear_rod/moderator)) + var/obj/item/nuclear_rod/moderator/M = path + metadata["craftable"] = initial(M.craftable) + else if(ispath(path, /obj/item/nuclear_rod/coolant)) + var/obj/item/nuclear_rod/coolant/C = path + metadata["craftable"] = initial(C.craftable) + else + metadata["craftable"] = FALSE + + if(requirements && length(requirements)) + var/list/temp_reqs = list() + var/list/req_counts = list() + + // Count occurrences of each requirement type + for(var/req_path in requirements) + var/obj/item/nuclear_rod/req = req_path + var/req_name = initial(req.name) + if(req_counts[req_name]) + req_counts[req_name]++ + else + req_counts[req_name] = 1 + + // Format the requirements with counts + for(var/req_name in req_counts) + var/count = req_counts[req_name] + temp_reqs += "[count]x [req_name]" + + metadata["neighbor_requirements"] = temp_reqs + metadata["adjacent_requirements_display"] = english_list(temp_reqs, and_text = ", ") + else + metadata["neighbor_requirements"] = list() + metadata["adjacent_requirements_display"] = "None" + + return TRUE diff --git a/code/modules/power/engines/fission/gas_node.dm b/code/modules/power/engines/fission/gas_node.dm new file mode 100644 index 00000000000..4134e0c25fe --- /dev/null +++ b/code/modules/power/engines/fission/gas_node.dm @@ -0,0 +1,140 @@ +#define MINIMUM_MOLES 3 //! the minimum amount of moles we transfer, regardless of pressure on the other side. + +/obj/machinery/atmospherics/unary/reactor_gas_node + name = "reactor gas intake" + desc = "A sturdy-looking gas inlet that injects gas into the reactor." + icon = 'icons/obj/fission/reactor_machines.dmi' + icon_state = "gas_node" + layer = GAS_PIPE_VISIBLE_LAYER + max_integrity = 2000 + target_pressure = 100000 // Maximum pressure in KPA + flags_2 = NO_MALF_EFFECT_2 + + /// Hold which reactor the intake is connected to. + var/obj/machinery/atmospherics/fission_reactor/linked_reactor + /// Is this vent taking air in or out. TRUE by default. + var/intake_vent = TRUE + +/obj/machinery/atmospherics/unary/reactor_gas_node/output + name = "Reactor Gas Extractor" + intake_vent = FALSE + +/obj/machinery/atmospherics/unary/reactor_gas_node/Initialize(mapload) + . = ..() + component_parts = list() + component_parts += new /obj/item/circuitboard/machine/reactor_gas_node(src) + component_parts += new /obj/item/stack/sheet/metal(src, 2) + component_parts += new /obj/item/stack/cable_coil(src, 2) + initialize_directions = dir + RefreshParts() + update_icon() + return INITIALIZE_HINT_LATELOAD + +// Needs lateload to prevent reactor not being initialized yet and thus not able to set the link. +/obj/machinery/atmospherics/unary/reactor_gas_node/LateInitialize() + . = ..() + form_link(TRUE) + +/obj/machinery/atmospherics/unary/reactor_gas_node/examine(mob/user) + . = ..() + . += SPAN_NOTICE("A wrench can be used to alter the direction of the node.") + . += SPAN_NOTICE("Gas nodes will only link with reactors when facing a reactor from the side opposite of the inlet pipe.") + +/obj/machinery/atmospherics/unary/reactor_gas_node/process_atmos() + if(stat & (NOPOWER|BROKEN)) + return FALSE + if(!linked_reactor) + return FALSE + if(linked_reactor.admin_intervention) + return FALSE + if(linked_reactor.safety_override) // We dont want to cool down an intentional runaway reactor + return FALSE + var/datum/gas_mixture/network1 + var/datum/gas_mixture/network2 + + if(intake_vent) + network1 = linked_reactor.air_contents + network2 = air_contents + else + network1 = air_contents + network2 = linked_reactor.air_contents + + if(!network1 || !network2) + return FALSE + + // This is basically passive gate code + var/output_starting_pressure = network1.return_pressure() + var/input_starting_pressure = network2.return_pressure() + + // Calculate necessary moles to transfer using PV = nRT + if((network2.total_moles() > 0) && (network2.temperature() > 0)) + var/pressure_delta = min(target_pressure - output_starting_pressure, (input_starting_pressure - output_starting_pressure) / 2) + if(intake_vent) + pressure_delta = max(pressure_delta, MINIMUM_MOLES) // Always work at least a little bit when inputting gas + var/transfer_moles = pressure_delta * network1.volume / (network2.temperature() * R_IDEAL_GAS_EQUATION) + + // Actually transfer the gas + var/datum/gas_mixture/removed = network2.remove(transfer_moles) + network1.merge(removed) + + parent.update = TRUE + + return TRUE + +/obj/machinery/atmospherics/unary/reactor_gas_node/screwdriver_act(mob/living/user, obj/item/I) + default_deconstruction_screwdriver(user, icon_state, icon_state, I) + +/obj/machinery/atmospherics/unary/reactor_gas_node/crowbar_act(mob/living/user, obj/item/I) + to_chat(user, SPAN_INFORMATION("You begin to pry out the internal piping...")) + if(I.use_tool(src, user, 3 SECONDS, volume = I.tool_volume)) + default_deconstruction_crowbar(user, I) + +/obj/machinery/atmospherics/unary/reactor_gas_node/wrench_act(mob/user, obj/item/I) + var/list/choices = list("West" = WEST, "East" = EAST, "South" = SOUTH, "North" = NORTH) + var/selected = tgui_input_list(user, "Select a direction for the connector.", "Connector Direction", choices) + if(!selected) + return ITEM_INTERACT_COMPLETE + if(!I.use_tool(src, user, 3 SECONDS, volume = I.tool_volume)) + return ITEM_INTERACT_COMPLETE + if(!Adjacent(user)) + to_chat(user, SPAN_WARNING("You moved away before construction was finished!")) + return ITEM_INTERACT_COMPLETE + dir = choices[selected] + initialize_directions = dir + for(var/obj/machinery/atmospherics/target in get_step(src, dir)) + if(target.initialize_directions & get_dir(target,src)) + node = target + break + form_link(FALSE) + initialize_atmos_network() + update_icon() + return ITEM_INTERACT_COMPLETE + +/obj/machinery/atmospherics/unary/reactor_gas_node/proc/form_link(silent = FALSE) + linked_reactor = null + var/turf/T = get_step(src, REVERSE_DIR(dir)) + for(var/obj/machinery/atmospherics/fission_reactor/reactor in T) + linked_reactor = reactor + for(var/obj/structure/filler/filler in T) + if(istype(filler.parent, /obj/machinery/atmospherics/fission_reactor)) + linked_reactor = filler.parent + if(silent) + return + if(!linked_reactor) + playsound(src, 'sound/machines/buzz-sigh.ogg', 30, TRUE) + audible_message(SPAN_INFO("The gas node buzzes as it fails to connect to a reactor.")) + else + playsound(src, 'sound/machines/ping.ogg', 30, TRUE) + audible_message(SPAN_INFO("The gas node pings as it connects to the reactor.")) + +/obj/machinery/atmospherics/unary/reactor_gas_node/multitool_act(mob/living/user, obj/item/I) + to_chat(user, SPAN_INFORMATION("You begin to reverse the gas flow direction...")) + if(do_after_once(user, 1 SECONDS, TRUE, src, allow_moving = FALSE)) + intake_vent = !intake_vent + if(intake_vent) + name = "Reactor Gas Intake" + else + name = "Reactor Gas Extractor" + return ..() + +#undef MINIMUM_MOLES diff --git a/code/modules/power/engines/fission/nuclear_misc.dm b/code/modules/power/engines/fission/nuclear_misc.dm new file mode 100644 index 00000000000..b02041352c5 --- /dev/null +++ b/code/modules/power/engines/fission/nuclear_misc.dm @@ -0,0 +1,398 @@ +// MARK: Reactor Power Output + +/obj/machinery/power/reactor_power + name = "reactor output terminal" + desc = "A bundle of heavy watt power cables for managing power output from the reactor." + icon_state = "term" + plane = FLOOR_PLANE + layer = WIRE_TERMINAL_LAYER // A bit above wires + resistance_flags = INDESTRUCTIBLE + var/obj/machinery/atmospherics/fission_reactor/linked_reactor + +/obj/machinery/power/reactor_power/Initialize(mapload) + . = ..() + return INITIALIZE_HINT_LATELOAD + +// Needs lateload to prevent reactor not being initialized yet and thus not able to set the link. +/obj/machinery/power/reactor_power/LateInitialize() + . = ..() + linked_reactor = GLOB.main_fission_reactor + +/obj/machinery/power/reactor_power/process() + if(linked_reactor && linked_reactor.can_create_power) + produce_direct_power(linked_reactor.final_power) + +// MARK: Monitor + +/obj/machinery/computer/fission_monitor + name = "NGCR monitoring console" + desc = "Used to monitor the Nanotrasen Gas Cooled Fission Reactor." + icon_keyboard = "power_key" + icon_screen = "smmon_0" + circuit = /obj/item/circuitboard/fission_monitor + light_color = LIGHT_COLOR_YELLOW + /// Last status of the active reactor for caching purposes + var/last_status + /// Reference to the active reactor + var/obj/machinery/atmospherics/fission_reactor/active + /// Is this monitor a controller? Affected by visibility from the reactor + var/controller = TRUE + +/obj/machinery/computer/fission_monitor/Initialize(mapload) + . = ..() + return INITIALIZE_HINT_LATELOAD + +/obj/machinery/computer/fission_monitor/LateInitialize() + . = ..() + active = GLOB.main_fission_reactor + determine_control() + +/obj/machinery/computer/fission_monitor/Destroy() + active = null + return ..() + +// This can normally never happen, but just in case. +/obj/machinery/computer/fission_monitor/Moved(atom/old_loc, movement_dir, forced, list/old_locs, momentum_change) + . = ..() + determine_control() + +/obj/machinery/computer/fission_monitor/proc/determine_control() + if(!active) + return + if(active in oview(12, src)) + controller = TRUE + else + controller = FALSE + +/obj/machinery/computer/fission_monitor/attack_ai(mob/user) + attack_hand(user) + +/obj/machinery/computer/fission_monitor/attack_hand(mob/user) + add_fingerprint(user) + if(stat & (BROKEN|NOPOWER)) + return + ui_interact(user) + +/obj/machinery/computer/fission_monitor/ui_state(mob/user) + return GLOB.default_state + +/obj/machinery/computer/fission_monitor/process() + if(stat & (NOPOWER|BROKEN)) + return FALSE + + if(active) + var/new_status = active.get_status() + if(last_status != new_status) + last_status = new_status + icon_screen = "smmon_[last_status]" + update_icon() + + return TRUE + +/obj/machinery/computer/fission_monitor/multitool_act(mob/living/user, obj/item/I) + if(!I.multitool_check_buffer(user)) + return + var/obj/item/multitool/multitool = I + if(istype(multitool.buffer, /obj/machinery/atmospherics/fission_reactor)) + active = multitool.buffer + to_chat(user, SPAN_NOTICE("You load the buffer's linking data to [src].")) + +/obj/machinery/computer/fission_monitor/ui_interact(mob/user, datum/tgui/ui = null) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "ReactorMonitor", name) + ui.open() + + return TRUE + +/obj/machinery/computer/fission_monitor/ui_data(mob/user) + var/list/data = list() + // If we somehow dont have an engine anymore, handle it here. + if(!active) + return + if(active.stat & BROKEN) + active = null + return + + var/datum/gas_mixture/air = active.air_contents + var/power_kilowatts = round((active.final_power / 1000), 1) + + data["venting"] = active.venting + data["NGCR_integrity"] = active.get_integrity() + data["NGCR_power"] = power_kilowatts + data["NGCR_ambienttemp"] = air.temperature() + data["NGCR_ambientpressure"] = air.return_pressure() + data["NGCR_coefficient"] = active.reactivity_multiplier + if(active.control_lockout) + data["NGCR_throttle"] = 0 + else + data["NGCR_throttle"] = 100 - active.desired_power + data["NGCR_operatingpower"] = 100 - active.operating_power + var/list/gasdata = list() + var/TM = air.total_moles() + if(TM) + gasdata.Add(list(list("name" = "Oxygen", "amount" = air.oxygen(), "portion" = round(100 * air.oxygen() / TM, 0.01)))) + gasdata.Add(list(list("name" = "Carbon Dioxide", "amount" = air.carbon_dioxide(), "portion" = round(100 * air.carbon_dioxide() / TM, 0.01)))) + gasdata.Add(list(list("name" = "Nitrogen", "amount" = air.nitrogen(), "portion" = round(100 * air.nitrogen() / TM, 0.01)))) + gasdata.Add(list(list("name" = "Plasma", "amount" = air.toxins(), "portion" = round(100 * air.toxins() / TM, 0.01)))) + gasdata.Add(list(list("name" = "Nitrous Oxide", "amount" = air.sleeping_agent(), "portion" = round(100 * air.sleeping_agent() / TM, 0.01)))) + gasdata.Add(list(list("name" = "Agent B", "amount" = air.agent_b(), "portion" = round(100 * air.agent_b() / TM, 0.01)))) + gasdata.Add(list(list("name" = "Hydrogen", "amount" = air.hydrogen(), "portion" = round(100 * air.hydrogen() / TM, 0.01)))) + gasdata.Add(list(list("name" = "Water Vapor", "amount" = air.water_vapor(), "portion" = round(100 * air.water_vapor() / TM, 0.01)))) + else + gasdata.Add(list(list("name" = "Oxygen", "amount" = 0, "portion" = 0))) + gasdata.Add(list(list("name" = "Carbon Dioxide", "amount" = 0,"portion" = 0))) + gasdata.Add(list(list("name" = "Nitrogen", "amount" = 0,"portion" = 0))) + gasdata.Add(list(list("name" = "Plasma", "amount" = 0,"portion" = 0))) + gasdata.Add(list(list("name" = "Nitrous Oxide", "amount" = 0,"portion" = 0))) + gasdata.Add(list(list("name" = "Agent B", "amount" = 0,"portion" = 0))) + gasdata.Add(list(list("name" = "Hydrogen", "amount" = 0,"portion" = 0))) + gasdata.Add(list(list("name" = "Water Vapor", "amount" = 0,"portion" = 0))) + data["gases"] = gasdata + data["controlling"] = controller + + return data + +/obj/machinery/computer/fission_monitor/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state) + if(..()) + return + + if(stat & (BROKEN|NOPOWER)) + return + + if(action == "set_throttle") + if(!controller) + visible_message(SPAN_WARNING("Error: Reactor is out of sight from laser guidance control.")) + playsound(src, 'sound/machines/buzz-sigh.ogg', 50, TRUE) + return + var/temp_number = text2num(params["NGCR_throttle"]) + active.desired_power = 100 - temp_number + + if(action == "toggle_vent") + if(!controller) + visible_message(SPAN_WARNING("Error: Reactor is out of sight from laser guidance control.")) + playsound(src, 'sound/machines/buzz-sigh.ogg', 50, TRUE) + return + if(active.vent_lockout) + playsound(src, 'sound/machines/buzz-sigh.ogg', 50, TRUE) + visible_message(SPAN_WARNING("ERROR: Vent servos unresponsive. Manual closure required.")) + else + active.venting = !active.venting + +// MARK: Slag + +/obj/item/slag + name = "corium slag" + desc = "A large clump of active nuclear fuel fused with structural reactor metals." + icon = 'icons/effects/effects.dmi' + icon_state = "big_molten" + move_resist = MOVE_FORCE_STRONG // Massive chunk of metal slag, shouldnt be moving it without carrying. + w_class = WEIGHT_CLASS_HUGE + force = 15 + throwforce = 10 + +/obj/item/slag/Initialize(mapload) + . = ..() + scatter_atom() + var/datum/component/inherent_radioactivity/rad_component = AddComponent(/datum/component/inherent_radioactivity, 5000, 5000, 5000, 2) + START_PROCESSING(SSradiation, rad_component) + START_PROCESSING(SSprocessing, src) + +/obj/item/slag/process() + . = ..() + radiation_pulse(src, 500, ALPHA_RAD) + radiation_pulse(src, 500, BETA_RAD) + radiation_pulse(src, 500, GAMMA_RAD) + +// MARK: Starter Grenade + +/obj/item/grenade/nuclear_starter + name = "Neutronic Agitator" + desc = "A throwable device capable of inducing an artificial startup in rod chambers. Won't do anything for chambers not positioned correctly, or chambers without any rods inserted." + +/obj/item/grenade/nuclear_starter/deconstruct(disassembled) + qdel(src) + +/obj/item/grenade/nuclear_starter/prime() + playsound(src.loc, 'sound/weapons/bsg_explode.ogg', 50, TRUE, -3) + var/obj/effect/temp_visual/neutronic/warp = new(loc) + warp.pixel_x += 16 + warp.pixel_y += 16 + warp.transform = matrix().Scale(0.01, 0.01) + animate(warp, time = 0.5 SECONDS, transform = matrix().Scale(1, 1)) + var/list/chamber_list = list() + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in range(3, loc)) + chamber_list += chamber + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in chamber_list) + if(chamber.chamber_state == CHAMBER_DOWN && chamber.held_rod) + chamber.operational = TRUE + chamber.update_icon(UPDATE_OVERLAYS) + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in chamber_list) + if(chamber.check_status()) + chamber.requirements_met = TRUE + else + chamber.requirements_met = FALSE + chamber.update_icon(UPDATE_OVERLAYS) + qdel(src) + +/obj/effect/temp_visual/neutronic + icon = 'icons/effects/light_352.dmi' + icon_state = "light" + plane = GRAVITY_PULSE_PLANE + appearance_flags = PIXEL_SCALE|LONG_GLIDE + duration = 0.5 SECONDS + pixel_x = -176 + pixel_y = -176 + +// MARK: Rad Proof Pool + +/turf/simulated/floor/plasteel/reactor_pool + name = "holding pool" + icon = 'icons/obj/fission/pool.dmi' + icon_state = "pool_round" + footstep = FOOTSTEP_WATER + barefootstep = FOOTSTEP_WATER + clawfootstep = FOOTSTEP_WATER + heavyfootstep = FOOTSTEP_WATER + /// Holds our pool controller + var/obj/machinery/poolcontroller/linkedcontroller + /// Holds our effect overlay + var/obj/item/effect/pool_overlay/effect + +/turf/simulated/floor/plasteel/reactor_pool/Initialize(mapload) + . = ..() + RegisterSignal(src, COMSIG_ATOM_INITIALIZED_ON, PROC_REF(initialized_on)) + return INITIALIZE_HINT_LATELOAD + +/turf/simulated/floor/plasteel/reactor_pool/LateInitialize() + . = ..() + effect = new(src) + +/turf/simulated/floor/plasteel/reactor_pool/crowbar_act(mob/user, obj/item/I) + return + +/turf/simulated/floor/plasteel/reactor_pool/proc/initialized_on(atom/A) + SIGNAL_HANDLER // COMSIG_ATOM_INITIALIZED_ON + if(!linkedcontroller) + return + if(istype(A, /obj/effect/decal/cleanable)) // Better a typecheck than looping through thousands of turfs everyday + linkedcontroller.decalinpool += A + +/turf/simulated/floor/plasteel/reactor_pool/Entered(atom/movable/AM, atom/OldLoc) + . = ..() + if(!linkedcontroller) + return + if(ismob(AM)) + linkedcontroller.mobinpool += AM + +/turf/simulated/floor/plasteel/reactor_pool/Exited(atom/movable/AM, direction) + . = ..() + if(!linkedcontroller) + return + if(ismob(AM)) + linkedcontroller.mobinpool -= AM + +/turf/simulated/floor/plasteel/reactor_pool/ChangeTurf(turf/simulated/floor/T, defer_change, keep_icon, ignore_air, copy_existing_baseturf) + QDEL_NULL(effect) + . = ..() + +/turf/simulated/floor/plasteel/reactor_pool/Destroy() + QDEL_NULL(effect) + . = ..() + +/turf/simulated/floor/plasteel/reactor_pool/wall + icon_state = "pool_wall_round" + +/turf/simulated/floor/plasteel/reactor_pool/wall/ladder + icon_state = "ladder_wall_round" + +/turf/simulated/floor/plasteel/reactor_pool/wall/filter + icon_state = "filter_wall_round" + +/turf/simulated/floor/plasteel/reactor_pool/square + icon_state = "pool_sharp_square" + +/obj/structure/railing/pool_lining + name = "pool lining" + icon = 'icons/obj/fission/pool.dmi' + icon_state = "poolborder" + flags = ON_BORDER | NODECONSTRUCT | INDESTRUCTIBLE + max_integrity = 200 + +/obj/structure/railing/pool_lining/ex_act(severity) + if(severity == EXPLODE_HEAVY || severity == EXPLODE_DEVASTATE) + qdel(src) + +/obj/item/effect/pool_overlay + name = "holding pool" + desc = "water" + icon = 'icons/misc/beach.dmi' + icon_state = "seadeep" + alpha = 75 + layer = ABOVE_ALL_MOB_LAYER + mouse_opacity = MOUSE_OPACITY_TRANSPARENT + anchored = TRUE + +/obj/structure/railing/corner/pool_corner + name = "pool lining" + icon = 'icons/obj/fission/pool.dmi' + icon_state = "bordercorner" + +/obj/structure/railing/corner/pool_corner/inner + icon_state = "innercorner" + +/obj/machinery/poolcontroller/invisible/nuclear + srange = 6 + deep_water = TRUE + +/obj/machinery/poolcontroller/invisible/nuclear/Initialize(mapload) + var/contents_loop = linked_area + if(!linked_area) + contents_loop = range(srange, src) + + for(var/turf/simulated/floor/plasteel/reactor_pool/T in contents_loop) + T.linkedcontroller = src + linkedturfs += T + return ..() + +/obj/machinery/poolcontroller/invisible/nuclear/Destroy() + for(var/turf/simulated/floor/plasteel/reactor_pool/W in linkedturfs) + if(W.linkedcontroller == src) + W.linkedcontroller = null + return ..() + +/obj/machinery/poolcontroller/invisible/nuclear/processMob() + for(var/mob/M in mobinpool) + if(!istype(get_turf(M), /turf/simulated/floor/plasteel/reactor_pool)) + mobinpool -= M + continue + + M.clean_blood(radiation_clean = TRUE) + + if(isliving(M)) + var/mob/living/L = M + L.ExtinguishMob() + L.adjust_fire_stacks(-20) //Douse ourselves with water to avoid fire more easily + + if(ishuman(M)) + handleDrowning(M) + +// MARK: Fab upgrade + +/obj/item/rod_fabricator_upgrade + name = "Nuclear Fabricator Upgrade" + desc = "A design disk containing a dizzying amount of designs and improvements for nuclear rod fabrication." + icon = 'icons/obj/module.dmi' + icon_state = "datadisk5" + drop_sound = 'sound/items/handling/disk_drop.ogg' + pickup_sound = 'sound/items/handling/disk_pickup.ogg' + new_attack_chain = TRUE + +// MARK: Chamber Doors + +/obj/effect/temp_visual/chamber_closing + icon = 'icons/obj/fission/reactor_chamber.dmi' + icon_state = "doors_closing" + duration = 0.7 SECONDS + layer = ABOVE_ALL_MOB_LAYER + 0.03 + diff --git a/code/modules/power/engines/fission/nuclear_rods.dm b/code/modules/power/engines/fission/nuclear_rods.dm new file mode 100644 index 00000000000..09cbdcf3eb8 --- /dev/null +++ b/code/modules/power/engines/fission/nuclear_rods.dm @@ -0,0 +1,546 @@ +/obj/item/nuclear_rod + name = "Nuclear Control Rod" + desc = ABSTRACT_TYPE_DESC + icon = 'icons/obj/fission/reactor_rods.dmi' + icon_state = "fuel_238" + resistance_flags = LAVA_PROOF | FIRE_PROOF | UNACIDABLE + w_class = WEIGHT_CLASS_HUGE + force = 15 + throwforce = 10 + /// The path of the object required to fabricate this rod. leave null for nothing + var/required_object + /// How much durability is left before the rod is useless + var/durability + /// The maximum amount of durability for this rod. Used for percentage calculations + var/max_durability = 3000 + /// How fast does this rod degrade? higher = faster + var/degradation_speed = 1 + /// How much heat does this rod add by default + var/heat_amount = 0 + /// How does this rod affect its neighbors heating + var/heat_amp_mod = 1 + /// Holds the current heat mod after durability loss + var/current_heat_mod + /// How much power does this rod add by default in watts + var/power_amount = 0 + /// How does this rod affect its neighbors power production + var/power_amp_mod = 1 + /// Holds the current power mod after durability loss + var/current_power_mod + /// How much Alpha Rad is emitted by this rod + var/alpha_rad = 0 + /// How much Beta Rad is emitted by this rod + var/beta_rad = 0 + /// How much Gamma Rad is emitted by this rod + var/gamma_rad = 0 + /// What items need to be adjacent to this rod for it to function properly + var/list/adjacent_requirements = list() + /// Modifies the reactor's minimum operating temperature. + var/minimum_temp_modifier = 0 + /// Modified the reactor's overheat threshold + var/reactor_overheat_modifier = 0 + /// holds our component to modify + var/datum/component/inherent_radioactivity/rad_component + /// Is this rod craftable at all via fabricators, or do they require other means? + var/craftable = FALSE + /// Does this rod require a science-upgraded fabricator? + var/upgrade_required = FALSE + +/obj/item/nuclear_rod/Initialize(mapload) + . = ..() + durability = max_durability + +/obj/item/nuclear_rod/examine(mob/user) + . = ..() + if(length(adjacent_requirements)) + var/list/templist = list() + for(var/obj/item/nuclear_rod/requirement as anything in adjacent_requirements) + templist += initial(requirement.name) + var/requirement_list = english_list(templist, and_text = ", ") + . += "This rod has the following neighbor requirements: [requirement_list]" + else + . += "This rod has no neighbor requirements." + +/obj/item/nuclear_rod/proc/get_durability_mod() + var/temp_mod + temp_mod = clamp(1.5 * (durability / max_durability) - 0.25, 0.25, 1) + return temp_mod + +/obj/item/nuclear_rod/proc/calc_stat_decrease() + // Formula: y = (x * A) + (1 - A) + var/durability_stat = get_durability_mod() + current_power_mod = (power_amp_mod * durability_stat) + (1 - durability_stat) + current_heat_mod = (heat_amp_mod * durability_stat) + (1 - durability_stat) + +/obj/item/nuclear_rod/proc/start_rads(power_modifier = 1) + var/new_alpha_rad = alpha_rad * power_modifier + var/new_beta_rad = beta_rad * power_modifier + var/new_gamma_rad = gamma_rad * power_modifier + rad_component = AddComponent(/datum/component/inherent_radioactivity, new_alpha_rad, new_beta_rad, new_gamma_rad, 1) + START_PROCESSING(SSradiation, rad_component) + +/obj/item/nuclear_rod/proc/stop_rads() + if(!rad_component) + return + rad_component.RemoveComponent() + QDEL_NULL(rad_component) + +/obj/item/nuclear_rod/proc/change_rad_intensity(power_modifier = 1) + rad_component.radioactivity_alpha = alpha_rad * power_modifier + rad_component.radioactivity_beta = beta_rad * power_modifier + rad_component.radioactivity_gamma = gamma_rad * power_modifier + +/obj/item/nuclear_rod/proc/check_rad_shield() + var/turf/T = get_turf(src) + if(!T || !loc) + stop_rads() + return + if(istype(T, /turf/simulated/floor/plasteel/reactor_pool)) + if(!rad_component) + return + else + stop_rads() + else if(istype(loc, /obj/machinery/atmospherics/reactor_chamber)) + stop_rads() + else if(!rad_component) + start_rads() + +/obj/item/nuclear_rod/Moved(atom/old_loc, movement_dir, forced, list/old_locs, momentum_change) + . = ..() + check_rad_shield() + +/obj/item/nuclear_rod/fuel + name = "any fuel rod" + alpha_rad = 50 + + /// the amount of cycles needed to complete enrichment. 30 = ~1 minute + var/enrichment_cycles = 25 + /// the total power amp mod needed to enrich + var/power_enrich_threshold = 0 + /// How far we have progressed from to power enrichment + var/power_enrich_progress = 0 + /// What power enrichment results in + var/power_enrich_result + /// the total heat amp mod needed to enrich + var/heat_enrich_threshold = 0 + /// How far we have progressed from to power enrichment + var/heat_enrich_progress = 0 + /// What heat enrichment results in + var/heat_enrich_result + +/obj/item/nuclear_rod/fuel/Initialize(mapload) + . = ..() + if(!istype(loc, /obj/structure/closet/crate)) + check_rad_shield() + +/obj/item/nuclear_rod/fuel/proc/enrich(power_mod, heat_mod) + var/successful_enrichment = FALSE + if(power_enrich_result) + if(power_mod > power_enrich_threshold && power_enrich_progress < enrichment_cycles) + power_enrich_progress++ + successful_enrichment = TRUE + if(heat_enrich_result) + if(heat_mod > heat_enrich_threshold && heat_enrich_progress < enrichment_cycles) + heat_enrich_progress++ + successful_enrichment = TRUE + return successful_enrichment + +// MARK: Fuel Rods + +/obj/item/nuclear_rod/fuel/uranium_238 + name = "uranium 238 fuel rod" + desc = "A standard fuel rod for most NGCR reactors. Has just barely enough Uranium 235 to be useful." + heat_amount = 5 + power_amount = 20 KW + heat_amp_mod = 1.8 + power_amp_mod = 1.1 + alpha_rad = 200 + beta_rad = 100 + heat_enrich_threshold = 10 // all uranium rods surrounding: 1.8 x 1.8 x 1.8 x 1.8 + power_enrich_threshold = 6.4 // all graphite rods surrounding: 1.6 x 1.6 x 1.6 x 1.6 + heat_enrich_result = /obj/item/nuclear_rod/fuel/weak_thorium + power_enrich_result = /obj/item/nuclear_rod/fuel/weak_plutonium + adjacent_requirements = list(/obj/item/nuclear_rod/moderator) + craftable = TRUE + materials = list(MAT_METAL = 2000, MAT_URANIUM = 1000) + +/obj/item/nuclear_rod/fuel/weak_thorium + name = "weak thorium fuel rod" + desc = "A specialized fuel rod refined from uranium 238. This rod will last longer than normal, and won't generate as much heat." + icon_state = "fuel_weakthor" + heat_amount = 5 + power_amount = 20 KW + heat_amp_mod = 1.6 + power_amp_mod = 1.1 + max_durability = 5000 + beta_rad = 100 + gamma_rad = 100 + power_enrich_threshold = 8 + power_enrich_result = /obj/item/nuclear_rod/fuel/uranium_235 + adjacent_requirements = list( + /obj/item/nuclear_rod/moderator, + /obj/item/nuclear_rod/coolant, + ) + +/obj/item/nuclear_rod/fuel/weak_plutonium + name = "weak plutonium fuel rod" + desc = "A specialized fuel rod refined from uranium 238. This rod produces twice as much power as standard uranium 238 fuel, but has higher operating requirements." + icon_state = "fuel_weakplut" + heat_amount = 10 + power_amount = 40 KW + heat_amp_mod = 1.6 + power_amp_mod = 1.1 + max_durability = 3500 + gamma_rad = 100 + heat_enrich_threshold = 14 + heat_enrich_result = /obj/item/nuclear_rod/fuel/uranium_235 + adjacent_requirements = list( + /obj/item/nuclear_rod/fuel, + /obj/item/nuclear_rod/moderator, + /obj/item/nuclear_rod/coolant, + ) + +/obj/item/nuclear_rod/fuel/uranium_235 + name = "uranium 235 fuel rod" + desc = "An advanced fuel rod for most NGCR reactors, formed from high-density uranium 235 isotopes." + icon_state = "fuel_235" + heat_amount = 20 + power_amount = 50 KW + heat_amp_mod = 2.2 + power_amp_mod = 1.3 + max_durability = 5000 + alpha_rad = 150 + beta_rad = 100 + heat_enrich_threshold = 25 + power_enrich_threshold = 18 + heat_enrich_result = /obj/item/nuclear_rod/fuel/thorium_salts + power_enrich_result = /obj/item/nuclear_rod/fuel/enriched_plutonium + origin_tech = "toxins=2" + craftable = TRUE + upgrade_required = TRUE + adjacent_requirements = list( + /obj/item/nuclear_rod/coolant/plasma_injector, + /obj/item/nuclear_rod/moderator, + /obj/item/nuclear_rod/moderator, + ) + materials = list(MAT_METAL = 4000, MAT_URANIUM = 4000) + +/obj/item/nuclear_rod/fuel/thorium_salts + name = "thorium salts fuel rod" + desc = "A specialized fuel rod refined from uranium 235. While this rod doesn't have any notable power boosts, its amazingly large integrity makes it virtually impossible to deplete in a single shift, if one can manage its heat." + icon_state = "fuel_richthor" + heat_amount = 40 + power_amount = 35 KW + heat_amp_mod = 2.2 + power_amp_mod = 1.3 + max_durability = 15000 + beta_rad = 250 + adjacent_requirements = list( + /obj/item/nuclear_rod/moderator, + /obj/item/nuclear_rod/fuel/uranium_235, + /obj/item/nuclear_rod/fuel, + ) + +/obj/item/nuclear_rod/fuel/enriched_plutonium + name = "enriched plutonium fuel rod" + desc = "A specialized fuel rod refined from uranium 235. This rod is extremely powerful, boasting high power outputs and moderate durability. However, its heat presents an exceptional danger." + icon_state = "fuel_richplut" + heat_amount = 60 + power_amount = 75 KW + heat_amp_mod = 4 + power_amp_mod = 1.6 + max_durability = 5000 + beta_rad = 250 + power_enrich_threshold = 25 + power_enrich_result = /obj/item/nuclear_rod/fuel/americium + adjacent_requirements = list( + /obj/item/nuclear_rod/moderator/plasma_agitator, + /obj/item/nuclear_rod/fuel/thorium_salts, + ) + +/obj/item/nuclear_rod/fuel/supermatter + name = "supermatter fuel rod" + desc = "A dangerous fuel rod made entirely of supermatter, contained safely in a specialized housing case. Due to its unusual properties, it completely neutralizes any potential power from nearby rods." + icon_state = "fuel_sm" + heat_amount = 1200 + power_amount = 800 KW + heat_amp_mod = 8 + power_amp_mod = 0.1 + max_durability = INFINITY + gamma_rad = 300 + adjacent_requirements = list( + /obj/item/nuclear_rod/coolant/steam_hammerjet, + /obj/item/nuclear_rod/fuel, + /obj/item/nuclear_rod/moderator, + ) + +/obj/item/nuclear_rod/fuel/americium + name = "americium fuel rod" + desc = "A specialized fuel rod refined from enriched plutonium. A pinnacle of power generation, this rod's power generation is nearly unmatched if one can tame its vicious heat output." + icon_state = "fuel_americium" + heat_amount = 100 + power_amount = 200 KW + heat_amp_mod = 6 + power_amp_mod = 1.6 + max_durability = 4000 + gamma_rad = 300 + adjacent_requirements = list( + /obj/item/nuclear_rod/fuel, + /obj/item/nuclear_rod/fuel, + ) + +/obj/item/nuclear_rod/fuel/bananium + name = "bananium fuel rod" + desc = "The funniest of all fuel rods with no solidified properties. Who knows what you might get out of it!" + icon_state = "fuel_clown" + gamma_rad = 300 + craftable = TRUE + upgrade_required = TRUE + materials = list(MAT_TITANIUM = 2000, MAT_BANANIUM = 2000) + +/obj/item/nuclear_rod/fuel/bananium/Initialize(mapload) + max_durability = rand(1000, 10000) + power_amp_mod = rand(1, 40) / 10 + heat_amp_mod = rand(5, 80) / 10 + power_amount = rand(10 KW, 200 KW) + heat_amount = rand(10, 500) + return ..() + +/obj/item/nuclear_rod/fuel/meltdown + name = "meltdown rod" + desc = "A Syndicate-crafted rod capable of generating massive amounts of heat, leading to an eventual meltdown." + icon_state = "fuel_syndie" + heat_amount = 2000 + max_durability = INFINITY + minimum_temp_modifier = 4000 // BIG hot + reactor_overheat_modifier = -400 + alpha_rad = 250 + beta_rad = 250 + gamma_rad = 250 + +// MARK: Moderator Rods + +/obj/item/nuclear_rod/moderator + name = "any moderator rod" + icon_state = "mod_water" + +/obj/item/nuclear_rod/moderator/heavy_water + name = "heavy water moderator" + desc = "A basic moderation rod filled with a variant of water comprised of deuterium instead of hydrogen atoms." + heat_amp_mod = 1.1 + power_amp_mod = 1.4 + craftable = TRUE + materials = list(MAT_METAL = 2000, MAT_GLASS = 1000) + +/obj/item/nuclear_rod/moderator/graphite + name = "graphite moderator" + desc = "A nuclear moderation rod comprised primarily of layered graphite. A staple of fission reactor operation through the ages." + icon_state = "mod_graphite" + heat_amp_mod = 1.3 + power_amp_mod = 1.6 + craftable = TRUE + materials = list(MAT_METAL = 4000, MAT_PLASMA = 2000) + adjacent_requirements = list(/obj/item/nuclear_rod/coolant) + +/obj/item/nuclear_rod/moderator/titanium + name = "titanium moderator" + desc = "A nuclear moderation rod comprised primarily of cast titanium. For what it lacks in power amplification, it makes up for in versatility and durability." + icon_state = "mod_titanium" + max_durability = 5000 + heat_amp_mod = 1.1 + power_amp_mod = 1.3 + craftable = TRUE + materials = list(MAT_METAL = 2000, MAT_TITANIUM = 2000) + +/obj/item/nuclear_rod/moderator/plasma_agitator + name = "plasma agitator" + desc = "A specialized moderator rod capable of inducing higher fission rates in fuel rods through a series of micro-burns. It doesn't last long." + icon_state = "mod_plasma" + max_durability = 2250 + heat_amount = 20 + heat_amp_mod = 5 + power_amp_mod = 3 + adjacent_requirements = list( + /obj/item/nuclear_rod/fuel, + /obj/item/nuclear_rod/fuel, + /obj/item/nuclear_rod/moderator, + ) + +/obj/item/nuclear_rod/moderator/aluminum_reflector + name = "liquid aluminum plate reflector" + desc = "A specialized moderator rod for amplifying the power output of nearby fuel rods. However, the temperature of the liquid aluminum will force the reactor to run hot." + icon_state = "mod_aluminium" + max_durability = 6000 + power_amount = -15 KW + heat_amp_mod = 5 + power_amp_mod = 3 + minimum_temp_modifier = 400 + reactor_overheat_modifier = 100 + adjacent_requirements = list( + /obj/item/nuclear_rod/coolant/nitrogen_circulator, + /obj/item/nuclear_rod/moderator, + ) + +/obj/item/nuclear_rod/moderator/bluespace_agitator + name = "bluespace crystal agitator" + desc = "An advanced moderator rod that will pull extra neutrons out of bluespace to bombard local fuel rods. The result is a massive increase of power and heat generation. It is exceptionally versatile; however, its power requirements limit its uses." + icon_state = "mod_bluespace" + max_durability = 4000 + power_amount = -30 KW + heat_amp_mod = 12 + power_amp_mod = 5 + upgrade_required = TRUE + craftable = TRUE + materials = list(MAT_METAL = 2000, MAT_TITANIUM = 1000, MAT_BLUESPACE = 1000) + +/obj/item/nuclear_rod/moderator/diamond_plate + name = "diamond reflector plates" + desc = "An advanced moderator rod that can reflect nearly all neutrons back to their point of origin. Simple, stable, reliable." + icon_state = "mod_diamond" + max_durability = 6000 + heat_amp_mod = 6.5 + power_amp_mod = 3.3 + reactor_overheat_modifier = 100 + craftable = TRUE + upgrade_required = TRUE + materials = list(MAT_METAL = 2000, MAT_TITANIUM = 1000, MAT_DIAMOND = 1000) + adjacent_requirements = list( + /obj/item/nuclear_rod/fuel, + /obj/item/nuclear_rod/fuel, + /obj/item/nuclear_rod/fuel, + ) + +/obj/item/nuclear_rod/moderator/platinum_plating + name = "platinum reflector plating" + desc = "An advanced moderator similar to diamond plates, but improved with precious space metals." + icon_state = "mod_platinum" + max_durability = 8000 + heat_amp_mod = 8 + power_amp_mod = 3.9 + reactor_overheat_modifier = 300 + adjacent_requirements = list(/obj/item/nuclear_rod/fuel/americium) + +/// MARK: Coolant Rods + +/obj/item/nuclear_rod/coolant + name = "any coolant rod" + icon_state = "coolant_water" + +/obj/item/nuclear_rod/coolant/light_water + name = "light water circulator" + desc = "A basic coolant rod that circulates distilled water through critical reactor components." + heat_amount = -10 + power_amount = -10 KW + reactor_overheat_modifier = 25 + craftable = TRUE + adjacent_requirements = list(/obj/item/nuclear_rod/moderator) + materials = list(MAT_METAL = 2000, MAT_GLASS = 1000) + +/obj/item/nuclear_rod/coolant/co2_regulator + name = "carbon dioxide regulator" + desc = "A specialized coolant rod filled with carbon dioxide gas, capable of regulating temperature spikes in fuel rods. However, it's very energy inefficient." + icon_state = "coolant_carbon" + heat_amount = -4 + heat_amp_mod = 0.6 + power_amount = -15 KW + craftable = TRUE + adjacent_requirements = list(/obj/item/nuclear_rod/moderator) + materials = list(MAT_METAL = 2000, MAT_PLASMA = 2000, MAT_GLASS = 1000) + +/obj/item/nuclear_rod/coolant/plasma_injector + name = "plasma injector" + desc = "A specialized coolant rod filled with gaseous plasma. By taking advantage of plasma's unique heat-absorbent properties, small amounts injected around fuel rods neutralize excess heat. However, the tank runs out quickly this way." + icon_state = "coolant_plasma" + max_durability = 1900 + heat_amp_mod = 0.5 + power_amp_mod = 1.5 + craftable = TRUE + adjacent_requirements = list(/obj/item/nuclear_rod/coolant) + materials = list(MAT_METAL = 2000, MAT_PLASMA = 2000, MAT_GLASS = 1000) + +/obj/item/nuclear_rod/coolant/nitrogen_circulator + name = "nitrogen circulator" + desc = "A specialized coolant rod filled with nitrogen gas. While not as powerful as similar alternatives, this rod is exceptionally stable and will last longer." + icon_state = "coolant_nitrogen" + max_durability = 3500 + heat_amount = -10 + power_amp_mod = 0.9 + heat_amp_mod = 0.7 + craftable = TRUE + reactor_overheat_modifier = 50 + power_amount = -5 KW + materials = list(MAT_METAL = 2000, MAT_PLASMA = 2000, MAT_GLASS = 1000) + +/obj/item/nuclear_rod/coolant/molten_salt + name = "molten salt circulator" + desc = "A specialized coolant rod that circulates molten salts through the core of the reactor. Despite forcing the reactor to run exceptionally hot, this rod provides top-notch cooling potential above its resting temperature." + icon_state = "coolant_salt" + power_amount = -20 KW + heat_amount = -60 + heat_amp_mod = 0.8 + max_durability = 8000 + minimum_temp_modifier = 750 + reactor_overheat_modifier = 100 + materials = list(MAT_METAL = 2000, MAT_PLASMA = 2000, MAT_GLASS = 1000) + adjacent_requirements = list( + /obj/item/nuclear_rod/coolant/nitrogen_circulator, + /obj/item/nuclear_rod/moderator, + /obj/item/nuclear_rod/fuel, + /obj/item/nuclear_rod/fuel, + ) + +/obj/item/nuclear_rod/coolant/steam_hammerjet + name = "steam hammerjet" + desc = "A specialized coolant rod that injects distilled steam throughout the reactor's critical components. Although it makes the reactor run warm, it's very good at suppressing heat buildup." + icon_state = "coolant_steam" + power_amount = -10 KW + heat_amount = -40 + heat_amp_mod = 0.4 + max_durability = 6000 + minimum_temp_modifier = 450 + reactor_overheat_modifier = 100 + adjacent_requirements = list( + /obj/item/nuclear_rod/coolant/light_water, + /obj/item/nuclear_rod/coolant/light_water, + ) + +/obj/item/nuclear_rod/coolant/bluespace_displacer + name = "bluespace heat displacer" + desc = "An advanced coolant rod capable of pulling heat directly out of neighboring rods and sending it... somewhere." + icon_state = "coolant_bluespace" + power_amount = -40 KW + heat_amount = -100 + heat_amp_mod = 0.8 + power_amp_mod = 1.3 + max_durability = INFINITY + reactor_overheat_modifier = 200 + craftable = TRUE + upgrade_required = TRUE + materials = list(MAT_METAL = 2000, MAT_PLASMA = 2000, MAT_BLUESPACE = 1000) + adjacent_requirements = list(/obj/item/nuclear_rod/moderator/bluespace_agitator) + +/obj/item/nuclear_rod/coolant/iridium_conductor + name = "iridium conductor coolant rod" + desc = "A dazzlingly beautiful rod with exceptionally powerful thermal conductivity. A highly sought after piece of equipment for its simplicity and potency." + icon_state = "coolant_iridium" + heat_amp_mod = 0.1 + max_durability = 10000 + reactor_overheat_modifier = 300 + adjacent_requirements = list( + /obj/item/nuclear_rod/moderator/aluminum_reflector, + /obj/item/nuclear_rod/fuel/uranium_235, + ) + +/obj/item/nuclear_rod/coolant/condensed_spacematter + name = "condensed spacematter coolant rod" + desc = "While it's unknown quite what the rod is filled with, there's no questioning its heat-suppressing efficiency. However, it violently disintegrates in contact with anything that isn't its housing." + icon_state = "coolant_spacematter" + heat_amount = -1500 + heat_amp_mod = 0.2 + materials = list(MAT_METAL = 6000, MAT_PLASMA = 4000, MAT_TITANIUM = 2000) + craftable = TRUE + upgrade_required = TRUE + adjacent_requirements = list( + /obj/item/nuclear_rod/fuel/enriched_plutonium, + /obj/item/nuclear_rod/fuel/thorium_salts, + ) diff --git a/code/modules/power/engines/fission/reactor.dm b/code/modules/power/engines/fission/reactor.dm new file mode 100644 index 00000000000..05dc73d37ed --- /dev/null +++ b/code/modules/power/engines/fission/reactor.dm @@ -0,0 +1,1110 @@ +// The steps for repairing the reactor +#define REACTOR_NEEDS_DIGGING 1 +#define REACTOR_NEEDS_CROWBAR 2 +#define REACTOR_NEEDS_PLASTITANIUM 3 +#define REACTOR_NEEDS_WRENCH 4 +#define REACTOR_NEEDS_WELDING 5 +#define REACTOR_NEEDS_PLASTEEL 6 +#define REACTOR_NEEDS_SCREWDRIVER 7 + +#define REACTOR_LIGHT_COLOR "#569fff" + +#define TOTAL_CONTROL_RODS 5 //! The max number of control rods. + +#define MIN_CHAMBERS_TO_OVERLOAD 20 //! The amount of connected chambers required before the overload is valid + +#define EVENT_MODIFIER 0.5 //! Multiplies the commonality of dangerous events. + +#define HEAT_CAP 40000 //! the highest temp before we artificially cap it +#define AVERAGE_HEAT_THRESHOLD 50 //! The threshold the average heat-per-rod must exceed to generate coefficient. +#define TOTAL_HEAT_THRESHOLD 600 //! The temp (in K) needed to begin generating coefficient. +#define HEAT_CONVERSION_RATIO 400 //! How much heat over the threshold = an extra coefficient point. +#define REACTIVITY_COEFFICIENT_CAP 30 //! The highest that reactivity coefficient can be + +// If integrity percent remaining is less than these values, the monitor sets off the relevant alarm. +#define NGCR_MELTDOWN_PERCENT 5 +#define NGCR_EMERGENCY_PERCENT 25 +#define NGCR_DANGER_PERCENT 50 +#define NGCR_WARNING_PERCENT 99 +#define CRITICAL_TEMPERATURE 10000 +#define WARNING_POINT 50 //! Begin sending warning messages +#define EMERGENCY_POINT 700 //! Begin sending warning messages over common +#define MELTDOWN_POINT 1000 //! The damage cap where meltdown occurs. higher = longer to meltdown + +#define NGCR_COUNTDOWN_TIME 30 SECONDS //! How long the meltdown countdown lasts +#define WARNING_DELAY 60 //! Time in deciseconds between warnings + +#define HEAT_DAMAGE_RATE 500 //! The rate at which damage increases due to heat +#define MOL_MINIMUM 30 //! The amount of mols of gas needed before it begins to take damage while operational +#define PRESSURE_MAXIMUM 20000 //! The highest safe pressure allowed by the reactor +#define PRESSURE_DAMAGE 0.5 //! The minimum damage caused by overpresurization +#define DAMAGE_MINIMUM 0.002 //! The minimum amount of damage done when taking any damage +#define DAMAGE_MAXIMUM 8 //! The highest amount of damage done when taking damage +#define MOL_DAMAGE_MULTIPLIER 1 //! An adjuster for damage balance from no gas +#define HEAT_DAMAGE_MULTIPLIER 1 //! An adjuster for damage balance from high heat +#define EXPLOSION_MODIFIER 1.5 //! Adjusts the size of the engine explosion + +#define MOLE_BONUS_THRESHOLD 800 //! The minimum number of moles needed to begin accruing multiplier. +#define MOLE_BONUS_COMPONENT 250 //! How many moles are required for one "unit" of modifier increase. Used in the math calculation. +#define N2_OVERHEAT_BONUS 600 //! The overheat threshold bonus that N2 coolant provides +#define N2_EVENT_MODIFIER 20 //! The negative event chance from N2. +#define N2O_OVERHEAT_BONUS 300 //! The overheat threshold bonus that N2O coolant provides +#define N2O_EVENT_MODIFIER 20 //! The negative event chance from N2O. +#define CO2_EVENT_MODIFIER 60 //! The negative event chance from CO2. +#define O2_EVENT_MODIFIER -50 //! The POSITIVE event chance from O2. +#define O2_REACTIVITY_BONUS 0.8 //! The highest amount of reactivity that O2 coolant provides +#define PLASMA_REACTIVITY_BONUS 0.2 //! The highest amount of reactivity that plasma coolant provides +#define PLASMA_OVERHEAT_BONUS 200 //! The overheat threshold bonus that plasma coolant provides + +/obj/machinery/atmospherics/fission_reactor + name = "Nuclear Fission Reactor" + desc = "An ancient yet reliable form of power generation utilizing fissile materials to generate heat." + icon = 'icons/goonstation/objects/reactor.dmi' + icon_state = "reactor_off" + density = TRUE + pass_flags_self = PASSTAKE + resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF | FREEZE_PROOF + pixel_x = -32 + flags_2 = RAD_PROTECT_CONTENTS_2 | RAD_NO_CONTAMINATE_2 | IMMUNE_TO_SHUTTLECRUSH_2 | NO_MALF_EFFECT_2 | CRITICAL_ATOM_2 + + /// Holds the list for the connected reactor chambers to take data from + var/list/connected_chambers = list() + /// Prevents the reactor from making power under certain circumstances + var/can_create_power = TRUE + /// The total amount of heat gathered in the reactor + var/final_heat + /// The total amount of power being generated by the engine (in watts) + var/final_power + /// A modifier for general reactivity, based off of heat production. Cant go below 1 + var/reactivity_multiplier = 1 + /// How many functional control rods does the reactor have? + var/control_rods_remaining = 5 + /// What repair step is the reactor on? + var/repair_step = 1 + /// The desired percentage the engineers set the reactor control rods + var/desired_power = 0 + /// What percentage are the reactor control rods running at? Minimum raised for each broken control rod + var/operating_power = 0 + /// The amount of damage we have currently. Use adjust_damage() to change it + var/damage = 0 + /// Is this the primary station engine that spawns in round? + var/primary_engine = FALSE + /// Has the engine warmed up enough to start + var/starting_up = TRUE + /// Is the engine currently fully offline + var/offline = TRUE + /// The heat (in K) before the reactor accrues damage + var/heat_damage_threshold = 1000 + /// The amount of heat created by averaging total heat against all rods + var/average_heatgen = 0 + /// The alert we send when we've reached warning_point + var/warning_alert = "Danger! Reactor core chamber meltdown in progress!" + /// Our "Shit is no longer fucked" message. We send it when temp_damage is 0 + var/safe_alert = "Reactor conditions stabilized within operating parameters. Core meltdown averted." + /// The alert we send when we've reached emergency_point + var/emergency_alert = "REACTOR CORE MELTDOWN IMMINENT." + /// Time in 1/10th of seconds since the last sent warning + var/lastwarning = 0 + /// A boolean value for if we need to send out an alert. (usually during meltdowns) + var/send_message = FALSE + /// Are we giving the final countdown to meltdown + var/final_countdown = FALSE + /// Are admins freezing the reactor for whatever reason + var/admin_intervention = FALSE + /// An admin-triggered var for enabling the station-ending self destruct + var/safety_override = FALSE + /// Disables changing the desired power value + var/control_lockout = FALSE + /// Toggles whether the reactor is erupting + var/venting = FALSE + /// Is the vent allowed to be closed without manual intervention? + var/vent_lockout = FALSE + /// How often do we want to process the vent? + var/ticks_per_run = 20 + /// How long has it been since we processed the vent? + var/tick_counter = 0 + /// What is the lowest temperature the reactor wants to be at? + var/minimum_operating_temp = 0 + /// Holds the bonus to overheat threshold from gasses + var/gas_overheat_bonus = 0 + /// Holds the bonus to reactivity from gasses + var/gas_reactivity_bonus = 0 + /// Affects the current negative event chances + var/gas_event_modifier = 1 + /// Our running soundloop + var/datum/looping_sound/reactor/soundloop + /// Our startup soundloop + var/datum/looping_sound/reactor_startup/startloop + /// The current air contents of this device + var/datum/gas_mixture/air_contents + /// Holds the grill for the reactor. + var/obj/machinery/cooking/grill/loaded/reactor/grill + /// Our internal radio + var/obj/item/radio/radio + +/obj/machinery/atmospherics/fission_reactor/roundstart + primary_engine = TRUE + +/obj/machinery/atmospherics/fission_reactor/examine(mob/user) + . = ..() + if(stat & BROKEN) + . += "A burning hole remains where the NGCR Reactor housed its core. It's inoperable in this state. The acrid smell permeates through even the thickest of suits." + switch(repair_step) + if(REACTOR_NEEDS_DIGGING) + . += SPAN_NOTICE("A shovel will be needed to extract all of the melted corium.") + if(REACTOR_NEEDS_CROWBAR) + . += SPAN_NOTICE("The old broken plating needs to be removed with a crowbar.") + if(REACTOR_NEEDS_PLASTITANIUM) + . += SPAN_NOTICE("The reactor requires a new plastitanium core.") + if(REACTOR_NEEDS_WRENCH) + . += SPAN_NOTICE("The new plastitanium core needs to be wrenched into place.") + if(REACTOR_NEEDS_WELDING) + . += SPAN_NOTICE("The new plastitanium core needs to be welded into place.") + if(REACTOR_NEEDS_PLASTEEL) + . += SPAN_NOTICE("The new plastitanium core needs a new plasteel housing cover.") + if(REACTOR_NEEDS_SCREWDRIVER) + . += SPAN_NOTICE("The plasteel housing cover needs screwed into place.") + return + if(venting) + . += SPAN_NOTICE("A crowbar can be used to close the malfunctioning vent.") + if(grill) + . += SPAN_NOTICE("Wirecutters can be used to remove the grill.") + +/obj/machinery/atmospherics/fission_reactor/examine_more(mob/user) + . = ..() + . += "The NGCR-5600 Nuclear Reactor was first actualized as a replacement for older, static nuclear or coal models before the discovery of supermatter harvesting techniques. \ + This reactor became widespread due to the modularity and ease of use of existing station materials, allowing it to be inserted into most stations that possessed basic engineering infrastructure." + . += "" + . += "However, despite the popularity of the engine, the need for frequent upkeep and higher energy demands led to innovations in newer, more advanced energy sources. \ + This engine soon became a relic of the past, but still remains a staple in many stations due to what Nanotrasen calls its 'long term reliability'." + +/obj/machinery/atmospherics/fission_reactor/Initialize(mapload) + . = ..() + AddComponent(/datum/component/multitile, list( + list(1, MACH_CENTER, 1), + )) + air_contents = new + air_contents.volume = 1000 // kpa + air_contents.set_oxygen(MOLES_O2STANDARD * 0.6) + air_contents.set_nitrogen(MOLES_N2STANDARD * 0.6) + air_contents.set_temperature(T20C) + GLOB.poi_list |= src + radio = new(src) + radio.listening = FALSE + radio.follow_target = src + radio.config(list("Engineering" = 0)) + if(primary_engine) + GLOB.main_fission_reactor = src + soundloop = new(list(src), FALSE) + startloop = new(list(src), FALSE) + update_icon(UPDATE_OVERLAYS) + +/obj/machinery/atmospherics/fission_reactor/ex_act(severity) + if(severity == EXPLODE_DEVASTATE) // Very sturdy. + set_broken() + else if(severity == EXPLODE_HEAVY) + adjust_damage(rand(100, 300)) + else + adjust_damage(rand(30, 150)) + +/obj/machinery/atmospherics/fission_reactor/blob_act(obj/structure/blob/B) + adjust_damage(rand(20, 60)) + +/obj/machinery/atmospherics/fission_reactor/zap_act(power, zap_flags) + . = ..() + if(zap_flags & ZAP_MACHINE_EXPLOSIVE) + qdel(src) // Like the singulo, tesla deletes it. stops it from exploding over and over + +// This shouldnt happen normally +/obj/machinery/atmospherics/fission_reactor/Destroy() + investigate_log("was destroyed!", INVESTIGATE_REACTOR) + clear_reactor_network() + QDEL_NULL(soundloop) + QDEL_NULL(startloop) + QDEL_NULL(air_contents) + QDEL_NULL(grill) + QDEL_NULL(radio) + return ..() + +/obj/machinery/atmospherics/fission_reactor/update_overlays() + . = ..() + if(!(stat & BROKEN)) + var/rod_state = round((100 - operating_power + 24) / 25) + rod_state = clamp(rod_state, 1, 5) + . += "rods_[control_rods_remaining]_[rod_state]" + +/// Links all valid chambers to the reactor itself. +/obj/machinery/atmospherics/fission_reactor/proc/build_reactor_network() + for(var/turf/T in RECT_TURFS(1, 2, src)) + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in T) + if(!chamber.linked_reactor && !chamber.skip_link) + chamber.find_link(src) + +/obj/machinery/atmospherics/fission_reactor/proc/clear_reactor_network(restart = FALSE) + for(var/obj/machinery/atmospherics/reactor_chamber/linked in connected_chambers) + linked.linked_reactor = null + connected_chambers -= linked + if(length(connected_chambers)) // For whatever reason, something that was not a reactor chamber was added to our list here (or is null), and shouldnt. Cut it to be safe. + log_debug("clear_reactor_network ran successfully, however connected_chambers still contains items!") + connected_chambers.Cut() + if(restart) + build_reactor_network() + +/obj/machinery/atmospherics/fission_reactor/proc/set_broken(meltdown = TRUE) + if(stat & BROKEN) + return + + stat |= BROKEN + overlays = null + + if(safety_override && operating_power >= 100) + INVOKE_ASYNC(src, PROC_REF(finalize_overload)) + return + + clear_reactor_network() + if(meltdown) // Just in case we dont want a violent explosion + INVOKE_ASYNC(src, PROC_REF(meltdown)) + else + icon_state = "broken" + +/// Begin the meltdown process +/obj/machinery/atmospherics/fission_reactor/proc/meltdown() + update_appearance(UPDATE_OVERLAYS) + icon_state = "meltdown" + sleep(2.5 SECONDS) + var/explosion_modifier = clamp(reactivity_multiplier * EXPLOSION_MODIFIER, 8, 40) + explosion(get_turf(src), explosion_modifier / 2, explosion_modifier, explosion_modifier + 3, explosion_modifier + 6, ignorecap = TRUE, smoke = TRUE) + icon_state = "broken" + +/obj/machinery/atmospherics/fission_reactor/proc/set_fixed() + stat &= ~BROKEN + icon_state = "reactor_off" + build_reactor_network() + +/obj/machinery/atmospherics/fission_reactor/item_interaction(mob/living/user, obj/item/used, list/modifiers) + . = ..() + if(!iscarbon(user)) + return + var/mob/living/carbon/creature = user + if(istype(used, /obj/item/shovel) && repair_step == REACTOR_NEEDS_DIGGING && (stat & BROKEN)) + playsound(src, used.usesound, 50, TRUE) + if(do_after_once(creature, 3 SECONDS, TRUE, src, allow_moving = FALSE)) + playsound(src, used.usesound, 50, TRUE) + new /obj/item/slag(loc) + if(prob(20)) + repair_step++ + to_chat(creature, SPAN_INFORMATION("No more melted slag remains in the chamber.")) + else + to_chat(creature, SPAN_INFORMATION("There seems to be additional slag clogging the ruined reactor core.")) + return ITEM_INTERACT_COMPLETE + if(istype(used, /obj/item/stack/sheet/mineral/plastitanium)) + var/obj/item/stack/sheet/plastitanium = used + if(plastitanium.amount < 5) + to_chat(creature, SPAN_WARNING("You need at least five sheets of plastitanium to reform the reactor core structure!")) + return ITEM_INTERACT_COMPLETE + + if(repair_step == REACTOR_NEEDS_PLASTITANIUM) + if(do_after_once(creature, 3 SECONDS, TRUE, src)) + if(plastitanium.amount < 5) + to_chat(creature, SPAN_WARNING("You need at least five sheets of plastitanium to reform the reactor core structure!")) + return ITEM_INTERACT_COMPLETE + plastitanium.use(5) + to_chat(creature, SPAN_INFORMATION("You reform the control rod housing and slot the structure into place.")) + repair_step++ + icon_state = "reactor_maintenance" + return + + if(!offline) + to_chat(creature, SPAN_WARNING("The reactor must be off to repair it!")) + return ITEM_INTERACT_COMPLETE + + if(damage == 0) + to_chat(creature, SPAN_WARNING("The reactor has nothing left to repair!")) + return ITEM_INTERACT_COMPLETE + + var/obj/item/item = creature.get_inactive_hand() + if(!istype(item, /obj/item/weldingtool)) + to_chat(creature, SPAN_WARNING("A functional welder is required to adhere the plastitanium.")) + return ITEM_INTERACT_COMPLETE + + if(!item.use_tool(src, creature, 0, amount = 1, volume = item.tool_volume)) + return ITEM_INTERACT_COMPLETE + + if(do_after_once(creature, 4 SECONDS, TRUE, src, allow_moving = FALSE)) + plastitanium.use(5) + adjust_damage((-MELTDOWN_POINT * 0.1)) + + return ITEM_INTERACT_COMPLETE + + if(istype(used, /obj/item/stack/sheet/plasteel) && repair_step == REACTOR_NEEDS_PLASTEEL) + var/obj/item/stack/sheet/plasteel = used + if(plasteel.amount < 5) + to_chat(user, SPAN_WARNING("You need at least five sheets of plasteel to reform the reactor core structure!")) + return ITEM_INTERACT_COMPLETE + if(do_after_once(user, 3 SECONDS, TRUE, src, allow_moving = FALSE)) + repair_step++ + plasteel.use(5) + to_chat(user, SPAN_INFORMATION("You attach a layer of radiation shielding around the reactor core.")) + return ITEM_INTERACT_COMPLETE + + if(istype(used, /obj/item/reagent_containers/cooking/grill_grate)) + var/obj/item/item = creature.get_inactive_hand() + if(!istype(item, /obj/item/reagent_containers/cooking/grill_grate)) + to_chat(user, SPAN_WARNING("You need a second grate to set up a proper grill!")) + return ITEM_INTERACT_COMPLETE + if(grill) + to_chat(user, SPAN_WARNING("There are already grill grates adhered to the surface of the reactor!")) + return ITEM_INTERACT_COMPLETE + + qdel(used) + qdel(item) + grill = new(loc) + return ITEM_INTERACT_COMPLETE + +/obj/machinery/atmospherics/fission_reactor/wirecutter_act(mob/living/user, obj/item/I) + if(grill) + to_chat(user, SPAN_WARNING("You begin cutting the adhered grates from the reactor body...")) + if(I.use_tool(src, user, 4 SECONDS, volume = I.tool_volume)) + new /obj/item/reagent_containers/cooking/grill_grate(loc) + new /obj/item/reagent_containers/cooking/grill_grate(loc) + QDEL_NULL(grill) + return ITEM_INTERACT_COMPLETE + +/obj/machinery/atmospherics/fission_reactor/crowbar_act(mob/living/user, obj/item/I) + if(repair_step == REACTOR_NEEDS_CROWBAR) + if(I.use_tool(src, user, 1 SECONDS, volume = I.tool_volume)) + playsound(src, I.usesound, 50, TRUE) + repair_step++ + to_chat(user, SPAN_INFORMATION("You remove any remaining damaged structure from the housing.")) + new /obj/item/stack/sheet/metal(user.loc, 2) + return ITEM_INTERACT_COMPLETE + if(!(stat & BROKEN) && venting) + if(I.use_tool(src, user, (8 SECONDS * I.toolspeed), volume = I.tool_volume)) + venting = FALSE + return ITEM_INTERACT_COMPLETE + +/obj/machinery/atmospherics/fission_reactor/wrench_act(mob/living/user, obj/item/I) + if(repair_step == REACTOR_NEEDS_WRENCH) + if(I.use_tool(src, user, 1 SECONDS, volume = 50)) + playsound(src, I.usesound, 50, TRUE) + repair_step++ + to_chat(user, SPAN_INFORMATION("You secure the new plastitanium structure in place.")) + new /obj/item/stack/sheet/metal(user.loc, 2) + return ITEM_INTERACT_COMPLETE + if(!(stat & BROKEN) && control_rods_remaining < TOTAL_CONTROL_RODS) + if(I.use_tool(src, user, 0, volume = I.tool_volume)) + if(do_after_once(user, (8 SECONDS * I.toolspeed), allow_moving = FALSE, target = src, progress = TRUE)) + control_rods_remaining++ + update_icon(UPDATE_OVERLAYS) + return ITEM_INTERACT_COMPLETE + +/obj/machinery/atmospherics/fission_reactor/screwdriver_act(mob/living/user, obj/item/I) + if(repair_step == REACTOR_NEEDS_SCREWDRIVER) + if(I.use_tool(src, user, 1 SECONDS, volume = 50)) + playsound(src, I.usesound, 50, TRUE) + to_chat(user, SPAN_INFORMATION("You secure the radiation shielding into place.")) + set_fixed() + return ITEM_INTERACT_COMPLETE + +/obj/machinery/atmospherics/fission_reactor/welder_act(mob/living/user, obj/item/I) + if(repair_step == REACTOR_NEEDS_WELDING) + if(I.use_tool(src, user, 1 SECONDS, volume = 50)) + playsound(src, I.usesound, 50, TRUE) + repair_step++ + to_chat(user, SPAN_INFORMATION("You weld together the framing, ensuring an airtight seal within the core.")) + new /obj/item/stack/sheet/metal(user.loc, 2) + return ITEM_INTERACT_COMPLETE + +/obj/machinery/atmospherics/fission_reactor/proc/get_integrity() + var/integrity = damage / MELTDOWN_POINT + integrity = round(100 - integrity * 100, 0.01) + integrity = integrity < 0 ? 0 : integrity + return integrity + +/obj/machinery/atmospherics/fission_reactor/multitool_act(mob/living/user, obj/item/I) + if(!I.use_tool(src, user, 0, volume = I.tool_volume)) + return + . = TRUE + var/obj/item/multitool/multi = I + multi.set_multitool_buffer(user, src) + +/obj/machinery/atmospherics/fission_reactor/process_atmos() + if(!venting) + return + + if(admin_intervention) + return + + tick_counter += SSair.wait + if(tick_counter >= ticks_per_run) + var/datum/milla_safe/reactor_process/milla = new() + milla.invoke_async(src) + tick_counter -= ticks_per_run + +/datum/milla_safe/reactor_process + +/datum/milla_safe/reactor_process/on_run(obj/machinery/atmospherics/fission_reactor/reactor) + var/turf/T = get_turf(reactor) + var/datum/gas_mixture/environment = get_turf_air(T) + + if(isnull(T)) // We have a null turf...something is wrong, stop processing this entity. + return PROCESS_KILL + + if(!isturf(reactor.loc)) + return + + if(T.density) + var/turf/did_it_melt = T.ChangeTurf(T.baseturf) + if(!did_it_melt.density) // In case some joker finds way to place these on indestructible walls + reactor.visible_message(SPAN_INFORMATION("[src] melts through [T]!")) + return + + for(var/obj/structure/holosign/barrier/atmos/fan in reactor.loc.contents) + reactor.visible_message(SPAN_INFORMATION("[src] violently ruptures through [fan]!")) + fan.Destroy() + return + + var/pressure_delta = reactor.air_contents.return_pressure() - environment.return_pressure() + pressure_delta /= 10 + + // Based on pressure_pump to equalize pressure + if(abs(pressure_delta) < 0.01) // Already equalized + return FALSE + . = TRUE + if(pressure_delta > 0) + // Transfer from pipe air to environment + if((reactor.air_contents.total_moles() > 0) && (reactor.air_contents.temperature() > 0)) + var/transfer_moles = pressure_delta * reactor.air_contents.volume / (reactor.air_contents.temperature() * R_IDEAL_GAS_EQUATION) + transfer_moles = min(transfer_moles, reactor.air_contents.volume) + + var/datum/gas_mixture/removed = reactor.air_contents.remove(transfer_moles) + environment.merge(removed) + return + + // Transfer from environment to pipe air + pressure_delta = -pressure_delta + if((environment.total_moles() > 0) && (environment.temperature() > 0)) + var/transfer_moles = pressure_delta * reactor.air_contents.volume / (environment.temperature() * R_IDEAL_GAS_EQUATION) + transfer_moles = min(transfer_moles, reactor.air_contents.volume) + + var/datum/gas_mixture/removed = environment.remove(transfer_moles) + reactor.air_contents.merge(removed) + +/obj/machinery/atmospherics/fission_reactor/process() + if(stat & BROKEN) + var/rad_type = pick(GAMMA_RAD, ALPHA_RAD, BETA_RAD) + radiation_pulse(src, 500, rad_type) + return + + if(admin_intervention) + return + + if(!offline && !starting_up) + var/light_range = clamp((final_power / (50 KW)), 2, 30) + set_light(light_range, max(reactivity_multiplier, 3), REACTOR_LIGHT_COLOR) + else + remove_light() + + if(control_lockout) + return + + var/minimum_power = 100 * (1 - (control_rods_remaining / TOTAL_CONTROL_RODS)) + if(operating_power < minimum_power) // Oops, control rods stuck + operating_power++ + update_appearance(UPDATE_OVERLAYS) + else + if(desired_power > operating_power) + operating_power++ + update_appearance(UPDATE_OVERLAYS) + else if(desired_power < operating_power) + operating_power-- + update_appearance(UPDATE_OVERLAYS) + + if(operating_power == desired_power && desired_power == 0 && offline != TRUE) + shut_off() + + if(operating_power > 0 && offline == TRUE) + boot_up() + + if(operating_power >= 10 && starting_up == TRUE) + become_operational() + + if(offline || starting_up) + return + + if(safety_override) + if(operating_power >= 100) + send_message = FALSE + countdown() + return + + // Lets fake it a little + var/heat_capacity = air_contents.heat_capacity() + var/temp = air_contents.temperature() + if(heat_capacity && temp < CRITICAL_TEMPERATURE) + air_contents.set_temperature(temp + rand(20, 200)) + else + air_contents.set_temperature(CRITICAL_TEMPERATURE) + if(reactivity_multiplier < 20) + reactivity_multiplier += (rand(15, 40) / 100) + else + reactivity_multiplier = 20 + + damage += max(0.5, rand(1, DAMAGE_MAXIMUM * 20) / 20) // This wont actually blow us up early + return + + final_power = 0 // Full resets to be recalculated + final_heat = 0 + + calculate_gas_effects() + + // Calculate the durability loss for all rods in use + // Lower operating power = more durability. Algorithm: 1 / (1 + 2.5^(-0.077 * (x - 65))) + var/algorithm_decay = 0.077 // Higher = steeper decline + var/durability_loss = 1 + if(operating_power <= 90) // Full loss at 90% and above + durability_loss = round(1 / (1 + 2.5 ** (-algorithm_decay * (operating_power - 65))), 0.01) + var/operating_rate = operating_rate() + + var/active_chambers + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in connected_chambers) + if(chamber.held_rod) + if(chamber.chamber_state == CHAMBER_DOWN) + chamber.calculate_stats(operating_rate) + active_chambers++ + continue + if(chamber.chamber_state == CHAMBER_UP) + active_chambers++ + continue + if(!active_chambers) // for average heat generation calculations not to divide by 0 + active_chambers = 0.5 + + // Gather all our data from the chambers, and enrich if we need to + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in connected_chambers) + var/power_total + var/heat_total + if(!chamber.held_rod) + continue + if(chamber.chamber_state == CHAMBER_OPEN) + continue + var/durability_mod = chamber.held_rod.get_durability_mod() + if(chamber.chamber_state == CHAMBER_DOWN) + if(chamber.operational) // We generate heat but not power while its down. + power_total = chamber.power_total * durability_mod // Some things have negative power, so we put this before fuel rod checks + if(istype(chamber.held_rod, /obj/item/nuclear_rod/fuel)) + var/obj/item/nuclear_rod/fuel/fuel_rod = chamber.held_rod + if(fuel_rod.enrich(chamber.power_mod_total * operating_rate, chamber.heat_mod_total * operating_rate)) + if(!chamber.enriching) // So we arnt constantly updating our overlay + chamber.enriching = TRUE + chamber.update_icon(UPDATE_OVERLAYS) + else if(chamber.enriching) + chamber.enriching = FALSE + chamber.update_icon(UPDATE_OVERLAYS) + + heat_total = chamber.heat_total * durability_mod + final_heat += heat_total + final_power += power_total + chamber.held_rod.durability -= durability_loss + + if(final_heat) + average_heatgen = final_heat / active_chambers + else + average_heatgen = 0.01 + + // Time to decide reactivity coefficient. + var/temp = air_contents.temperature() + var/total_mols = air_contents.total_moles() + if(!temp || !total_mols) + temp = 0 + if(average_heatgen > AVERAGE_HEAT_THRESHOLD) // The base reactivity from average heat gen + reactivity_multiplier = 1 + gas_reactivity_bonus + ((average_heatgen - AVERAGE_HEAT_THRESHOLD) / AVERAGE_HEAT_THRESHOLD) + else + reactivity_multiplier = 1 + gas_reactivity_bonus + if(temp > TOTAL_HEAT_THRESHOLD) + // Math equation for here: y = a + b * ln(x) + var/offset = 1 // The offset for the math calc. Gives a flat number boost. (A) component + var/curve_intensity = 3.5 // Negatively affects the rate of decay. higher = reactivity builds easier. (B) component + var/heat_component = (temp - TOTAL_HEAT_THRESHOLD) / HEAT_CONVERSION_RATIO // (X) Component + reactivity_multiplier += (offset + curve_intensity * log(heat_component)) + + reactivity_multiplier = clamp(reactivity_multiplier, 1, REACTIVITY_COEFFICIENT_CAP) + + + final_heat *= (reactivity_multiplier * 2) * HEAT_MODIFIER // Proportionally affects heat more + final_power *= reactivity_multiplier + + final_power = max(final_power, 0) // No negative numbers + + var/rad_type = pick(GAMMA_RAD, ALPHA_RAD, BETA_RAD) + + //Generating the amount of Plasma created + var/datum/gas_mixture/temp_gas = new() + // Math equation for here: y = a + b * ln(x) + var/gas_offset = 1 // The offset for the math calc. Gives a flat number boost. (A) component + var/gas_curve_intensity = 1.6 // Affects the rate of decay. higher = reactivity builds easier. (B) component + var/power_component = max((final_power / (5 MW)), 0.01) // (X) Component + var/h2_amount = clamp(gas_offset + gas_curve_intensity * log(power_component), 0, 30) + temp_gas.set_hydrogen(clamp(h2_amount * reactivity_multiplier, 0.2, 100)) + temp_gas.set_temperature(air_contents.temperature()) + air_contents.merge(temp_gas) + + radiation_pulse(src, 100 * reactivity_multiplier, rad_type) + + // Begin heating the air based off heat produced + var/heat_capacity = air_contents.heat_capacity() + if(heat_capacity) + if(temp < minimum_operating_temp) + air_contents.set_temperature(max(temp + (final_heat / heat_capacity), temp + 200)) // RAPIDLY reach our minimum temperature or our normal heat gen. Whichever is higher + else if(temp > HEAT_CAP) + air_contents.set_temperature(temp + rand(3, 20)) // Cap it but slowly gain until we get it down + else + air_contents.set_temperature(max(temp + (final_heat / heat_capacity), temp + 2)) + + temp = air_contents.temperature() + if(temp > heat_damage_threshold * 0.9) + icon_state = "reactor_overheat" + else if(temp > heat_damage_threshold * 0.5) + icon_state = "reactor_hot" + else + icon_state = "reactor_on" + + // Damage the reactor if conditions are not met, and handle events + var/new_damage = 0 + if(!total_mols) + new_damage += DAMAGE_MAXIMUM * MOL_DAMAGE_MULTIPLIER + else + if(total_mols <= MOL_MINIMUM) + new_damage += max(((1 - (total_mols / MOL_MINIMUM)) * DAMAGE_MAXIMUM * MOL_DAMAGE_MULTIPLIER), DAMAGE_MINIMUM) + if(check_overheating()) + // Breaking the equation up a little for readability. Should look like this: Y = (-AB ^ -X) + A + var/rate_of_decay = 1.13 // Closer to 1 = slower to reach DAMAGE_MAXIMUM. Do not set at or below 1 it will break + var/damage_increments = -((temp - heat_damage_threshold) / HEAT_DAMAGE_RATE) + var/damage_calculation = (-DAMAGE_MAXIMUM * (rate_of_decay ** damage_increments)) + DAMAGE_MAXIMUM + new_damage += max(damage_calculation * HEAT_DAMAGE_MULTIPLIER, DAMAGE_MINIMUM) // God math sucks. This gives decaying increments of damage for heat generation as it gets closer to DAMAGE_MAXIMUM. + + var/pressure = air_contents.return_pressure() + if(pressure > PRESSURE_MAXIMUM) + new_damage += PRESSURE_DAMAGE + + new_damage = clamp(new_damage, DAMAGE_MINIMUM, DAMAGE_MAXIMUM) + var/damage_multiplier = clamp(1 + ((50 - get_integrity()) / 25), 1, 3) // Gives a higher event chance below 50% integrity, up to 3x + damage_multiplier *= EVENT_MODIFIER * gas_event_modifier + if(final_countdown) + damage_multiplier = 10 + + // Eject a rod + if(prob(new_damage * damage_multiplier * 0.3)) + var/list/coolers = list() + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in connected_chambers) + if(istype(chamber.held_rod, /obj/item/nuclear_rod/coolant) && chamber.chamber_state == CHAMBER_DOWN) + coolers += chamber + if(length(coolers)) + var/obj/machinery/atmospherics/reactor_chamber/failure = coolers[rand(1, length(coolers))] + if(prob(60) || !failure.welded) // 60% Chance to break through the weld. you got lucky punk + failure.eject_rod() + + // Weld a vent. + if(prob(new_damage * damage_multiplier * 3)) + var/list/valid_chambers = list() + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in connected_chambers) + if(chamber.chamber_state == CHAMBER_DOWN) + valid_chambers += chamber + if(length(valid_chambers)) + while(length(valid_chambers)) + var/obj/machinery/atmospherics/reactor_chamber/failure = valid_chambers[rand(1, length(valid_chambers))] + if(!failure.welded) + failure.weld_shut() + break + else + valid_chambers -= failure // Just keep cycling through. + + // Control rod failure. + if(prob(new_damage * damage_multiplier * 0.5) && control_rods_remaining > 0) // Control rod failure. more probable + control_rod_failure() + + // Vent seal failure. + if(prob(new_damage * damage_multiplier * 0.05)) // Vent control failure. much rarer + begin_venting() + + if(damage > WARNING_POINT && (REALTIMEOFDAY - lastwarning) / 10 >= WARNING_DELAY && send_message && !final_countdown) + try_alarm(new_damage) + + if(new_damage) + adjust_damage(new_damage) + send_message = TRUE + new_damage = 0 + + if(damage >= MELTDOWN_POINT) + send_message = FALSE + countdown() + +/obj/machinery/atmospherics/fission_reactor/proc/try_alarm(new_damage) + lastwarning = REALTIMEOFDAY + if(!new_damage) + radio.autosay("[safe_alert] Integrity: [get_integrity()]%", name, "Engineering") + send_message = FALSE // Only stop sending alerts when no damage has been taken + return + + switch(get_status()) + if(REACTOR_WARNING) + radio.autosay("[warning_alert] Integrity: [get_integrity()]%", name, "Engineering") + if(REACTOR_DANGER) + radio.autosay("[warning_alert] Integrity: [get_integrity()]%", name, "Engineering") + if(REACTOR_EMERGENCY) + radio.autosay(SPAN_BIG("[warning_alert] Integrity: [get_integrity()]%"), name, null) + if(REACTOR_MELTDOWN) + radio.autosay(SPAN_BIG("[emergency_alert] Integrity: [get_integrity()]%"), name, null) + +/obj/machinery/atmospherics/fission_reactor/proc/get_status() + var/integrity = get_integrity() + if(integrity < NGCR_MELTDOWN_PERCENT) + return REACTOR_MELTDOWN + + if(integrity < NGCR_EMERGENCY_PERCENT) + return REACTOR_EMERGENCY + + if(integrity < NGCR_DANGER_PERCENT) + return REACTOR_DANGER + + if((integrity < NGCR_WARNING_PERCENT) || (air_contents.temperature() > CRITICAL_TEMPERATURE)) + return REACTOR_WARNING + + if(air_contents.temperature() > (heat_damage_threshold * 0.9)) + return REACTOR_NOTIFY + + if(offline) + return REACTOR_INACTIVE + + return REACTOR_NORMAL + +/// Turn the reactor off and stop processing. +/obj/machinery/atmospherics/fission_reactor/proc/shut_off() + starting_up = TRUE + offline = TRUE + can_create_power = FALSE + icon_state = "reactor_off" + final_heat = 0 + final_power = 0 + reactivity_multiplier = 1 + remove_light() + playsound(src, 'sound/machines/fission/reactor_shutoff.ogg', 80, FALSE, 4, ignore_walls = TRUE, channel = CHANNEL_ENGINE) + soundloop.stop() + startloop.stop() + if(send_message) + radio.autosay("Reactor SCRAM completed successfully. Integrity: [get_integrity()]%", name, "Engineering") + send_message = FALSE + if(grill) + for(var/datum/cooking_surface/surface in grill.surfaces) + if(surface.on) + surface.turn_off() + var/obj/item/reagent_containers/cooking/container = surface.container + if(istype(container) && container.tracker) + SEND_SIGNAL(container, COMSIG_COOK_MACHINE_STEP_INTERRUPTED, surface) + +/// Begin the startup sequence, but dont turn online yet. +/obj/machinery/atmospherics/fission_reactor/proc/boot_up() + offline = FALSE + icon_state = "reactor_starting" + startloop.start() + +/// Make the reactor become fully operational. +/obj/machinery/atmospherics/fission_reactor/proc/become_operational() + starting_up = FALSE + offline = FALSE + can_create_power = TRUE + playsound(src, 'sound/machines/fission/reactor_startup.ogg', 80, FALSE, 4, ignore_walls = TRUE) + startloop.stop() + soundloop.start() + if(safety_override) + icon_state = "reactor_overheat" + else + icon_state = "reactor_on" + set_light(2, 5, REACTOR_LIGHT_COLOR) + if(grill) + for(var/datum/cooking_surface/surface in grill.surfaces) + if(!surface.on) + surface.turn_on() + +/// Returns a value from 0 to 1 based off current operating power +/obj/machinery/atmospherics/fission_reactor/proc/operating_rate() + return operating_power / 100 + +// Pretty much ripped from the SM +/obj/machinery/atmospherics/fission_reactor/proc/countdown() + if(final_countdown) + return + final_countdown = TRUE + var/speaking = SPAN_REALLYBIG("[emergency_alert] Reactor structural stability compromised. ") + for(var/mob/M in GLOB.player_list) // For ALL players + var/turf/T = get_turf(M) + if(istype(T) && atoms_share_level(T, src)) // If the player is on the same zlevel as the SM shared + SEND_SOUND(M, sound('sound/machines/engine_alert2.ogg')) // Then send them the sound file + radio.autosay(speaking, name, null) + for(var/i in NGCR_COUNTDOWN_TIME to 0 step (-1 SECONDS)) + if(admin_intervention) // Stop exploding if you're frozen by an admin, damn you + final_countdown = FALSE + adjust_damage(MELTDOWN_POINT - 1, TRUE) // One point below exploding, so it will re-start the countdown once unfrozen + return + if(offline) // Engineers managed to fully turn off the reactor in time + radio.autosay(SPAN_BIG("[safe_alert]"), name, null) + final_countdown = FALSE + remove_filter(list("outline", "icon")) + return + else if((i % (5 SECONDS)) != 0 && i > (5 SECONDS)) // A message once every 5 seconds until the final 5 seconds which count down individualy + sleep(1 SECONDS) + continue + else if(i > (5 SECONDS)) + speaking = "[DisplayTimeText(i, TRUE)] remain before full reactor core meltdown." + else + speaking = SPAN_REALLYBIG("[i * 0.1]...") + radio.autosay(speaking, name, null) + sleep(1 SECONDS) + + set_broken() + +/// Begins the process of the centcomm doomsday overload +/obj/machinery/atmospherics/fission_reactor/proc/prep_overload() + desired_power = 0 + INVOKE_ASYNC(src, PROC_REF(scram)) + control_lockout = TRUE + safety_override = TRUE + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in connected_chambers) + chamber.set_idle_overload() + +/// Checks all connected chambers for a fuel rod +/obj/machinery/atmospherics/fission_reactor/proc/check_overload_ready() + if(length(connected_chambers) < MIN_CHAMBERS_TO_OVERLOAD) + return FALSE + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in connected_chambers) + if(chamber.chamber_state != CHAMBER_OVERLOAD_IDLE) + return FALSE + if(!chamber.held_rod) + return FALSE + if(!istype(chamber.held_rod, /obj/item/nuclear_rod/fuel)) + return FALSE + return TRUE + +/// Sets all the chambers to active overload position and unlocks the reactor. +/obj/machinery/atmospherics/fission_reactor/proc/set_overload() + control_lockout = FALSE + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in connected_chambers) + chamber.set_active_overload() + +/// The proc for actually blowing up the station. It is too late +/obj/machinery/atmospherics/fission_reactor/proc/finalize_overload() + icon_state = "meltdown" + playsound(src, 'sound/machines/alarm.ogg', 100, FALSE, 5) + if(SSticker && SSticker.mode) + SSticker.mode.explosion_in_progress = TRUE + SSticker.record_biohazard_results() + sleep(10 SECONDS) + + SSblackbox.record_feedback("tally", "fission_overload", 1, "detonation successful") + icon_state = "broken" + GLOB.enter_allowed = 0 + SSticker.station_explosion_cinematic(NUKE_SITE_ON_STATION, null) + SSticker.mode.station_was_nuked = TRUE + to_chat(world, SPAN_BOLD("The station was destroyed from a nuclear meltdown!")) + + if(!SSticker.mode.check_finished()) // If the mode does not deal with the nuke going off so just reboot because everyone is stuck as is + SSticker.reboot_helper("Station destroyed by nuclear fission meltdown.", "nuke - unhandled ending") + return + +/// Stops the reactor in a somewhat fancy way. Purely for anyone watching the monitor. +/obj/machinery/atmospherics/fission_reactor/proc/scram() + var/power_fraction + if(final_power) + power_fraction = final_power / operating_power + else + power_fraction = 0 + reactivity_multiplier = 1 + offline = TRUE + starting_up = TRUE + final_heat = 0 + var/temp = air_contents.temperature() + var/temp_fraction + + if(temp && temp > 300) + temp_fraction = (temp - 300) / operating_power + while(operating_power > 0) + operating_power-- + sleep(0.25) + final_power -= power_fraction + if(temp) + temp = air_contents.temperature() + air_contents.set_temperature(temp - temp_fraction) + + final_power = 0 + icon_state = "reactor_off" + +/// Check to see if the reactor is overheating or taking damage from lack of pressure. +/obj/machinery/atmospherics/fission_reactor/proc/check_overheating() + var/temp = air_contents.temperature() + var/mols = air_contents.total_moles() + if(!mols) + return TRUE + var/pressure = air_contents.return_pressure() + if(pressure > PRESSURE_MAXIMUM || temp >= heat_damage_threshold) + return TRUE + return FALSE + +/// Negative Event. Lose a control rod from the reactor. +/obj/machinery/atmospherics/fission_reactor/proc/control_rod_failure() + if(control_rods_remaining <= 0) + return + playsound(src, 'sound/effects/meteorimpact.ogg', 80, FALSE) + control_rods_remaining-- + radio.autosay("ALERT: Control rod failure! [control_rods_remaining] functional control rods remaining.", name, "Engineering") + update_icon(UPDATE_OVERLAYS) + +/// Negative Event. Ensure the emergency vent opens and gets stuck. +/obj/machinery/atmospherics/fission_reactor/proc/begin_venting() + if(venting) + return + var/datum/effect_system/smoke_spread/bad/smoke = new() + var/rad_type = pick(ALPHA_RAD, BETA_RAD, GAMMA_RAD) + for(var/turf/T in view(4, loc)) + T.contaminate_atom(src, 100, rad_type) + smoke.set_up(3, FALSE, loc) + smoke.start() + venting = TRUE + vent_lockout = TRUE + +/// Update the minimum running temperature of the reactor. +/obj/machinery/atmospherics/fission_reactor/proc/update_minimum_temp() + minimum_operating_temp = 0 + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in connected_chambers) + if(!chamber.held_rod) + continue + if(chamber.chamber_state != CHAMBER_DOWN) + continue + if(!chamber.held_rod.minimum_temp_modifier) + continue + else if(chamber.held_rod.minimum_temp_modifier > minimum_operating_temp) + minimum_operating_temp = chamber.held_rod.minimum_temp_modifier + +/// Update our new overheat threshold. +/obj/machinery/atmospherics/fission_reactor/proc/update_overheat_threshold(heat_change = 0) + if(!heat_change) + return + heat_damage_threshold += heat_change + +/// Adjust how much damage the reactor has, and set broken if we exceed the meltdown point. +/obj/machinery/atmospherics/fission_reactor/proc/adjust_damage(new_damage, set_by_number = FALSE) + if(set_by_number) + damage = clamp(new_damage, 0, MELTDOWN_POINT) + else + damage += new_damage + damage = clamp(damage, 0, MELTDOWN_POINT) + if(damage >= MELTDOWN_POINT && offline) + set_broken(FALSE) + +/// Calculate all of the bonuses and detriments of using specific gasses. +/obj/machinery/atmospherics/fission_reactor/proc/calculate_gas_effects() + gas_reactivity_bonus = 0 + var/temp_bonus_holder = 0 // Heat bonus container + var/temp_event_holder = 0 // Event chance modifier in percentages. 0 to 100 + var/combined_gas = air_contents.total_moles() + + // Math equation for here: y = a + b * ln(x) + var/offset = 1 // The offset for the math calc. Gives a flat number boost. (A) component + var/curve_intensity = 0.7 // Negatively affects the rate of decay. higher = reactivity builds easier. (B) component + var/gas_component = max((combined_gas - MOLE_BONUS_THRESHOLD) / MOLE_BONUS_COMPONENT, 0.01) + var/mole_multiplier = max((offset + curve_intensity * log(gas_component)), 0) + + // Raw composition of each gas in the chamber, ranges from 0 to 1 + var/n2comp = max(air_contents.nitrogen() / combined_gas, 0) + var/plasmacomp = max(air_contents.toxins() / combined_gas, 0) + var/o2comp = max(air_contents.oxygen() / combined_gas, 0) + var/co2comp = max(air_contents.carbon_dioxide() / combined_gas, 0) + var/n2ocomp = max(air_contents.sleeping_agent() / combined_gas, 0) + + // Dont put a mole multiplier on the event chances + if(n2comp) + temp_bonus_holder += n2comp * N2_OVERHEAT_BONUS * mole_multiplier + temp_event_holder += n2comp * N2_EVENT_MODIFIER + if(n2ocomp) + temp_bonus_holder += n2ocomp * N2O_OVERHEAT_BONUS * mole_multiplier + temp_event_holder += n2ocomp * N2O_EVENT_MODIFIER + if(co2comp) + temp_event_holder += co2comp * CO2_EVENT_MODIFIER * mole_multiplier + if(o2comp) + gas_reactivity_bonus += o2comp * O2_REACTIVITY_BONUS * mole_multiplier + temp_event_holder += o2comp * O2_EVENT_MODIFIER // This one actually should make events more likely + if(plasmacomp) + gas_reactivity_bonus += plasmacomp * PLASMA_REACTIVITY_BONUS * mole_multiplier + temp_bonus_holder += plasmacomp * PLASMA_OVERHEAT_BONUS * mole_multiplier + + temp_event_holder /= 100 // Bring between 0 and 1 + gas_event_modifier = 1 - temp_event_holder + + // Replace the old bonus with the new one + update_overheat_threshold(-gas_overheat_bonus) + update_overheat_threshold(temp_bonus_holder) + gas_overheat_bonus = temp_bonus_holder + +/obj/machinery/atmospherics/fission_reactor/proc/overload_reactor() + if(SSsecurity_level.get_current_level_as_number() != SEC_LEVEL_DELTA_REACTOR) + SSsecurity_level.set_level(SEC_LEVEL_DELTA_REACTOR) + else + log_admin("An admin attempted to override fission reactor safeties, but it was already overriden") + return + sleep(5 SECONDS) + radio.autosay(SPAN_BIG("Response teams are to cease all on-station activities and route towards the nuclear fission reactor for manual detonation unless otherwise instructed by CentComm faculty."), "Automated Announcement", "Special Ops") + prep_overload() + +#undef REACTOR_NEEDS_DIGGING +#undef REACTOR_NEEDS_CROWBAR +#undef REACTOR_NEEDS_PLASTITANIUM +#undef REACTOR_NEEDS_SCREWDRIVER +#undef REACTOR_NEEDS_WELDING +#undef REACTOR_NEEDS_PLASTEEL +#undef REACTOR_NEEDS_WRENCH + +#undef REACTOR_LIGHT_COLOR + +#undef TOTAL_CONTROL_RODS + +#undef MIN_CHAMBERS_TO_OVERLOAD + +#undef EVENT_MODIFIER + +#undef HEAT_CAP +#undef AVERAGE_HEAT_THRESHOLD +#undef TOTAL_HEAT_THRESHOLD +#undef HEAT_CONVERSION_RATIO +#undef REACTIVITY_COEFFICIENT_CAP + +#undef NGCR_MELTDOWN_PERCENT +#undef NGCR_EMERGENCY_PERCENT +#undef NGCR_DANGER_PERCENT +#undef NGCR_WARNING_PERCENT +#undef CRITICAL_TEMPERATURE +#undef WARNING_POINT +#undef EMERGENCY_POINT +#undef MELTDOWN_POINT + +#undef NGCR_COUNTDOWN_TIME +#undef WARNING_DELAY + +#undef HEAT_DAMAGE_RATE +#undef MOL_MINIMUM +#undef PRESSURE_MAXIMUM +#undef PRESSURE_DAMAGE +#undef DAMAGE_MINIMUM +#undef DAMAGE_MAXIMUM +#undef MOL_DAMAGE_MULTIPLIER +#undef HEAT_DAMAGE_MULTIPLIER +#undef EXPLOSION_MODIFIER + +#undef MOLE_BONUS_THRESHOLD +#undef MOLE_BONUS_COMPONENT +#undef N2_OVERHEAT_BONUS +#undef N2_EVENT_MODIFIER +#undef N2O_OVERHEAT_BONUS +#undef N2O_EVENT_MODIFIER +#undef CO2_EVENT_MODIFIER +#undef O2_EVENT_MODIFIER +#undef O2_REACTIVITY_BONUS +#undef PLASMA_REACTIVITY_BONUS +#undef PLASMA_OVERHEAT_BONUS diff --git a/code/modules/power/engines/fission/reactor_machines.dm b/code/modules/power/engines/fission/reactor_machines.dm new file mode 100644 index 00000000000..cf6da111b2e --- /dev/null +++ b/code/modules/power/engines/fission/reactor_machines.dm @@ -0,0 +1,470 @@ +#define DEFAULT_OPERATION_TIME 10 SECONDS //! The base amount of time needed to craft an item + +/// MARK: Centrifuge +/obj/machinery/nuclear_centrifuge + name = "Fuel Enrichment Centrifuge" + desc = "An advanced device capable of separating and collecting fissile materials from enriched fuel rods." + icon = 'icons/obj/fission/reactor_machines.dmi' + icon_state = "centrifuge_empty" + idle_power_consumption = 200 + active_power_consumption = 3000 + anchored = TRUE + density = TRUE + resistance_flags = FIRE_PROOF | FREEZE_PROOF + armor = list(melee = 25, bullet = 10, laser = 30, energy = 0, bomb = 0, rad = INFINITY, fire = INFINITY, acid = 70) + + /// The time it takes for the machine to process a rod + var/work_time + /// The averaged amount of all stock parts + var/average_component_rating + /// The result when we are done operating + var/rod_result + /// Holds the rod object inserted into the machine + var/obj/item/nuclear_rod/held_rod + /// the soundloop we will be using while operating + var/datum/looping_sound/centrifuge/soundloop + + COOLDOWN_DECLARE(enrichment_timer) + +/obj/machinery/nuclear_centrifuge/Initialize(mapload) + . = ..() + soundloop = new(list(src), FALSE) + component_parts = list() + component_parts += new /obj/item/circuitboard/nuclear_centrifuge(src) + component_parts += new /obj/item/stock_parts/manipulator(src) + component_parts += new /obj/item/stock_parts/manipulator(src) + component_parts += new /obj/item/stock_parts/manipulator(src) + component_parts += new /obj/item/stock_parts/manipulator(src) + RefreshParts() + update_icon(UPDATE_OVERLAYS) + +/obj/machinery/nuclear_centrifuge/examine(mob/user) + . = ..() + if(held_rod) + . += SPAN_NOTICE("The current fuel rod may be removed with Alt-Click.") + +/obj/machinery/nuclear_centrifuge/Destroy() + QDEL_NULL(soundloop) + return ..() + +/obj/machinery/nuclear_centrifuge/RefreshParts() + average_component_rating = 0 + for(var/obj/item/stock_parts/manipulator/part in component_parts) + average_component_rating += part.rating + average_component_rating /= 4 // average all 4 components + work_time = DEFAULT_OPERATION_TIME / average_component_rating + +/obj/machinery/nuclear_centrifuge/item_interaction(mob/living/user, obj/item/used, list/modifiers) + . = ..() + if(!istype(used, /obj/item/nuclear_rod/fuel)) + return CONTINUE_ATTACK + if(stat & NOPOWER) + return ITEM_INTERACT_COMPLETE + if(panel_open) + to_chat(user, SPAN_WARNING("You must close the access panel first!")) + return ITEM_INTERACT_COMPLETE + if(power_state == ACTIVE_POWER_USE) // dont start a new cycle when on + to_chat(user, SPAN_WARNING("There is already a fuel rod being processed!")) + return ITEM_INTERACT_COMPLETE + var/obj/item/nuclear_rod/fuel/rod = used + var/list/enrichment_to_name = list() + var/list/radial_list = list() + var/obj/item/nuclear_rod/fuel/rod_enrichment + if(rod.power_enrich_progress >= rod.enrichment_cycles && rod.power_enrich_result) + rod_enrichment = rod.power_enrich_result + enrichment_to_name["[rod_enrichment::name]"] = rod_enrichment + radial_list["[rod_enrichment::name]"] = image(icon = rod_enrichment::icon, icon_state = rod_enrichment::icon_state) + if(rod.heat_enrich_progress >= rod.enrichment_cycles && rod.heat_enrich_result) + rod_enrichment = rod.heat_enrich_result + enrichment_to_name["[rod_enrichment::name]"] = rod_enrichment + radial_list["[rod_enrichment::name]"] = image(icon = rod_enrichment::icon, icon_state = rod_enrichment::icon_state) + if(!length(radial_list)) + to_chat(user, SPAN_WARNING("This rod has no potential for enrichment!")) + return ITEM_INTERACT_COMPLETE + var/enrichment_choice = show_radial_menu(user, src, radial_list, src, radius = 30, require_near = TRUE) + if(!enrichment_choice) + return ITEM_INTERACT_COMPLETE + rod_result = enrichment_to_name[enrichment_choice] + held_rod = rod + user.transfer_item_to(rod, src) + begin_enrichment() + return ITEM_INTERACT_COMPLETE + +/obj/machinery/nuclear_centrifuge/AltClick(mob/user, modifiers) + if(!held_rod) + return + if(power_state == ACTIVE_POWER_USE) + to_chat(user, SPAN_WARNING("You cannot remove the fuel rod while the machine is running!")) + return + held_rod.forceMove(get_turf(src)) + held_rod = null + icon_state = "centrifuge_empty" + playsound(loc, 'sound/items/deconstruct.ogg', 50, TRUE) + +/obj/machinery/nuclear_centrifuge/process() + if(stat & NOPOWER) + if(power_state == ACTIVE_POWER_USE) + abort_enrichment() + return + if(power_state == IDLE_POWER_USE) + return + if(!COOLDOWN_FINISHED(src, enrichment_timer)) + return + finish_enrichment() + +/obj/machinery/nuclear_centrifuge/screwdriver_act(mob/user, obj/item/I) + . = TRUE + if(held_rod) + to_chat(user, SPAN_WARNING("The machine cannot be opened while it contains a fuel rod!")) + return ITEM_INTERACT_COMPLETE + default_deconstruction_screwdriver(user, "centrifuge_maint", "centrifuge_empty", I) + +/obj/machinery/nuclear_centrifuge/proc/begin_enrichment() + power_state = ACTIVE_POWER_USE + icon_state = "centrifuge_on" + COOLDOWN_START(src, enrichment_timer, work_time) + soundloop.start() + +/obj/machinery/nuclear_centrifuge/proc/abort_enrichment() + power_state = IDLE_POWER_USE + icon_state = "centrifuge_full" + playsound(src, 'sound/machines/buzz-sigh.ogg', 30, TRUE) + soundloop.stop() + +/obj/machinery/nuclear_centrifuge/proc/finish_enrichment() + icon_state = "centrifuge_full" + playsound(src, 'sound/machines/ping.ogg', 30, TRUE) + power_state = IDLE_POWER_USE + var/new_rod = new rod_result(contents) + rod_result = null + QDEL_NULL(held_rod) + held_rod = new_rod + soundloop.stop() + +// MARK: Rod Fabricator + +/obj/machinery/nuclear_rod_fabricator + name = "Nuclear Fuel Rod Fabricator" + desc = "A highly specialized fabricator for crafting nuclear rods." + icon = 'icons/obj/fission/reactor_machines.dmi' + icon_state = "rod_fab" + idle_power_consumption = 50 + active_power_consumption = 3000 + density = TRUE + resistance_flags = FIRE_PROOF | FREEZE_PROOF + armor = list(melee = 25, bullet = 10, laser = 30, energy = 0, bomb = 0, rad = INFINITY, fire = INFINITY, acid = 70) + + /// Our holder for materials + var/datum/component/material_container/materials + /// How fast do we operate and/or do we get extra rods + var/efficiency_coeff = 1 + /// The list for carrying fuel rods + var/list/category_fuel = list() + /// The list for carrying moderator rods + var/list/category_moderator = list() + /// The list for carrying coolant rods + var/list/category_coolant = list() + /// Is the rod fabricator currently upgraded from science + var/upgraded = FALSE + /// What is the current item being produced + var/schematic + /// The time it takes for the machine to process a rod + var/work_time + + COOLDOWN_DECLARE(fabrication_timer) + +/obj/machinery/nuclear_rod_fabricator/upgraded + upgraded = TRUE + +/obj/machinery/nuclear_rod_fabricator/Initialize(mapload) + . = ..() + materials = AddComponent(/datum/component/material_container, list(MAT_METAL, MAT_GLASS, MAT_SILVER, MAT_GOLD, MAT_DIAMOND, MAT_PLASMA, MAT_URANIUM, MAT_BANANIUM, MAT_TRANQUILLITE, MAT_TITANIUM, MAT_BLUESPACE, MAT_PLASTIC), 0, TRUE, /obj/item/stack, CALLBACK(src, PROC_REF(is_insertion_ready)), CALLBACK(src, PROC_REF(AfterMaterialInsert))) + materials.precise_insertion = TRUE + component_parts = list() + component_parts += new /obj/item/circuitboard/nuclear_rod_fabricator(src) + component_parts += new /obj/item/stock_parts/matter_bin(src) + component_parts += new /obj/item/stock_parts/matter_bin(src) + component_parts += new /obj/item/stock_parts/manipulator(src) + component_parts += new /obj/item/stock_parts/manipulator(src) + + RefreshParts() + create_designs() + +/obj/machinery/nuclear_rod_fabricator/RefreshParts() + var/temp_coeff = 12 + var/average_component_rating = 0 + for(var/obj/item/stock_parts/manipulator/M in component_parts) + temp_coeff -= M.rating + average_component_rating += M.rating + work_time = DEFAULT_OPERATION_TIME / average_component_rating + efficiency_coeff = clamp(temp_coeff / 10, 0.05, 1) + temp_coeff = 0 + for(var/obj/item/stock_parts/matter_bin/M in component_parts) + temp_coeff += M.rating + materials.max_amount = temp_coeff * 75000 + +/obj/machinery/nuclear_rod_fabricator/attack_ghost(mob/user) + return attack_hand(user) + +/obj/machinery/nuclear_rod_fabricator/proc/is_insertion_ready(mob/user) + if(panel_open) + to_chat(user, SPAN_WARNING("You can't load [src] while it's opened!")) + return FALSE + + if(stat & BROKEN) + to_chat(user, SPAN_WARNING("[src] is broken.")) + return FALSE + + if(stat & NOPOWER) + to_chat(user, SPAN_WARNING("[src] has no power.")) + return FALSE + + return TRUE + +/obj/machinery/nuclear_rod_fabricator/proc/AfterMaterialInsert(type_inserted, id_inserted, amount_inserted) + var/stack_name + if(ispath(type_inserted, /obj/item/stack/ore/bluespace_crystal)) + stack_name = "bluespace" + use_power(MINERAL_MATERIAL_AMOUNT / 10) + else + var/obj/item/stack/S = type_inserted + stack_name = initial(S.name) + use_power(min(1000, (amount_inserted / 100))) + add_overlay("protolathe_[stack_name]") + addtimer(CALLBACK(src, TYPE_PROC_REF(/atom, cut_overlay), "protolathe_[stack_name]"), 10) + +/obj/machinery/nuclear_rod_fabricator/proc/check_mat(obj/item/nuclear_rod/being_built, M) + var/A = materials.amount(M) + if(!A) + visible_message(SPAN_WARNING("Something has gone very wrong. Alert a developer.")) + return + else + A /= max(1, (being_built.materials[M] * efficiency_coeff)) + return A + +/obj/machinery/nuclear_rod_fabricator/item_interaction(mob/living/user, obj/item/used, list/modifiers) + if(istype(used, /obj/item/storage/part_replacer)) + return ..() + + if(panel_open) + to_chat(user, SPAN_WARNING("You can't load [src] while the maintenance panel is opened.")) + return ITEM_INTERACT_COMPLETE + + if(istype(used, /obj/item/rod_fabricator_upgrade)) + upgraded = TRUE + create_designs() + user.drop_item(used) + qdel(used) + return ITEM_INTERACT_COMPLETE + + return ..() + +/obj/machinery/nuclear_rod_fabricator/crowbar_act(mob/living/user, obj/item/I) + if(!panel_open) + return + . = TRUE + materials.retrieve_all() + default_deconstruction_crowbar(user, I) + +/obj/machinery/nuclear_rod_fabricator/on_deconstruction() + if(upgraded) + new /obj/item/rod_fabricator_upgrade(loc) + return ..() + +/obj/machinery/nuclear_rod_fabricator/proc/create_designs() + category_fuel = list() + category_moderator = list() + category_coolant = list() + + for(var/obj/rod_path as anything in subtypesof(/obj/item/nuclear_rod)) + if(initial(rod_path.desc) == ABSTRACT_TYPE_DESC) + continue + + var/datum/nuclear_rod_design/D = new /datum/nuclear_rod_design() + D.build_metadata_list(rod_path) + + if(!D.metadata["craftable"]) + continue + + if(D.metadata["upgrade_required"] && !upgraded) + continue + + if(ispath(rod_path, /obj/item/nuclear_rod/fuel)) + category_fuel += D + else if(ispath(rod_path, /obj/item/nuclear_rod/moderator)) + category_moderator += D + else if(ispath(rod_path, /obj/item/nuclear_rod/coolant)) + category_coolant += D + +/obj/machinery/nuclear_rod_fabricator/ui_data(mob/user) + var/list/data = list() + + data["fuel_rods"] = list() + for(var/datum/nuclear_rod_design/D in category_fuel) + data["fuel_rods"] += list(D.metadata) + + data["moderator_rods"] = list() + for(var/datum/nuclear_rod_design/D in category_moderator) + data["moderator_rods"] += list(D.metadata) + + data["coolant_rods"] = list() + for(var/datum/nuclear_rod_design/D in category_coolant) + data["coolant_rods"] += list(D.metadata) + + // Add available resources from the material container + data["resources"] = list() + if(materials) + // Get all material types that the fabricator supports + var/list/supported_materials = list( + MAT_METAL, MAT_GLASS, MAT_SILVER, MAT_GOLD, MAT_DIAMOND, MAT_PLASMA, + MAT_URANIUM, MAT_TITANIUM, MAT_BLUESPACE, MAT_PLASTIC, MAT_BANANIUM, MAT_TRANQUILLITE + ) + for(var/mat_id in supported_materials) + var/amount = materials.amount(mat_id) + if(amount > 0) + var/sheets = round(amount / MINERAL_MATERIAL_AMOUNT) + var/display_name = CallMaterialName(mat_id) + data["resources"][display_name] = list( + "amount" = amount, + "sheets" = sheets, + "id" = mat_id + ) + + return data + +/obj/machinery/nuclear_rod_fabricator/attack_hand(mob/user) + ui_interact(user) + +/obj/machinery/nuclear_rod_fabricator/interact(mob/user) + . = ..() + if(panel_open) + to_chat(user, SPAN_WARNING("You can't access [src] while it's opened!")) + return + +/obj/machinery/nuclear_rod_fabricator/ui_state(mob/user) + return GLOB.default_state + +/obj/machinery/nuclear_rod_fabricator/ui_interact(mob/user, datum/tgui/ui = null) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "NuclearRodFabricator", name) + ui.open() + +/obj/machinery/nuclear_rod_fabricator/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state) + if(..()) + return + + switch(action) + if("fabricate_rod") + var/rod_type_path = text2path(params["type_path"]) + if(!rod_type_path) + return FALSE + + var/datum/nuclear_rod_design/selected_design + for(var/datum/nuclear_rod_design/D in category_fuel + category_moderator + category_coolant) + if(D.type_path == rod_type_path) + selected_design = D + break + + if(!selected_design) + return FALSE + + if(power_state == ACTIVE_POWER_USE) + to_chat(usr, SPAN_WARNING("A rod is already being fabricated!")) + return FALSE + + // Check if we have enough materials + var/obj/item/nuclear_rod/temp_rod = new rod_type_path() + var/list/required_materials = temp_rod.materials + qdel(temp_rod) + + if(!required_materials || !length(required_materials)) + to_chat(usr, SPAN_WARNING("This rod design has no material requirements defined - please create an issue report!")) + return FALSE + + for(var/mat_id in required_materials) + var/required_amount = required_materials[mat_id] * efficiency_coeff + if(materials.amount(mat_id) < required_amount) + to_chat(usr, SPAN_WARNING("Not enough materials! Need [required_amount] units of [mat_id]!")) + return FALSE + + // Spend materials + var/list/materials_to_use = list() + for(var/mat_id in required_materials) + materials_to_use[mat_id] = required_materials[mat_id] * efficiency_coeff + + if(!materials.use_amount(materials_to_use)) + to_chat(usr, SPAN_WARNING("Failed to deduct materials!")) + return FALSE + + // Begin Process + begin_fabrication(rod_type_path) + + return TRUE + + if("eject_material") + var/material_id = params["id"] + var/amount = params["amount"] + + if(!material_id || !materials.materials[material_id]) + return FALSE + + var/desired_sheets = 0 + if(amount == "custom") + var/datum/material/M = materials.materials[material_id] + var/max_sheets = round(M.amount / MINERAL_MATERIAL_AMOUNT) + if(max_sheets <= 0) + to_chat(usr, SPAN_WARNING("Not enough [M.name] to eject!")) + return FALSE + desired_sheets = tgui_input_number(usr, "How many sheets do you want to eject?", "Ejecting [M.name]", 1, max_sheets, 1) + if(isnull(desired_sheets)) + return FALSE + else + desired_sheets = text2num(amount) + + desired_sheets = max(0, round(desired_sheets)) + if(desired_sheets > 0) + materials.retrieve_sheets(desired_sheets, material_id, get_turf(src)) + to_chat(usr, SPAN_NOTICE("[src] ejects [desired_sheets] sheets.")) + + return TRUE + + return FALSE + +/obj/machinery/nuclear_rod_fabricator/screwdriver_act(mob/user, obj/item/I) + . = TRUE + if(power_state == ACTIVE_POWER_USE) + to_chat(user, SPAN_WARNING("The machine cannot be opened while it is operating!")) + return ITEM_INTERACT_COMPLETE + default_deconstruction_screwdriver(user, "rod_fab_maint", "rod_fab", I) + +/obj/machinery/nuclear_rod_fabricator/proc/begin_fabrication(rod_type_path) + power_state = ACTIVE_POWER_USE + icon_state = "rod_fab_on" + COOLDOWN_START(src, fabrication_timer, work_time) + schematic = rod_type_path + +/obj/machinery/nuclear_rod_fabricator/proc/finish_fabrication() + power_state = IDLE_POWER_USE + icon_state = "rod_fab" + var/obj/item/nuclear_rod/new_rod = new schematic(get_turf(src)) + src.visible_message(SPAN_NOTICE("[src] fabricates \a [new_rod.name].")) + playsound(src, 'sound/machines/ping.ogg', 50, TRUE) + +/obj/machinery/nuclear_rod_fabricator/proc/abort_fabrication() + power_state = IDLE_POWER_USE + icon_state = "rod_fab" + playsound(src, 'sound/machines/buzz-sigh.ogg', 30, TRUE) + +/obj/machinery/nuclear_rod_fabricator/process() + if(stat & NOPOWER) + if(power_state == ACTIVE_POWER_USE) + abort_fabrication() + return + if(power_state == IDLE_POWER_USE) + return + if(!COOLDOWN_FINISHED(src, fabrication_timer)) + return + finish_fabrication() + +#undef DEFAULT_OPERATION_TIME diff --git a/code/modules/power/engines/fission/rod_chamber.dm b/code/modules/power/engines/fission/rod_chamber.dm new file mode 100644 index 00000000000..df8435da78c --- /dev/null +++ b/code/modules/power/engines/fission/rod_chamber.dm @@ -0,0 +1,810 @@ +#define CHAMBER_HEAT_DAMAGE 15 //! How much damage reactor chambers do when on. + +/obj/machinery/atmospherics/reactor_chamber + name = "rod housing chamber" + desc = "A chamber used to house nuclear rods of various types to facilitate a fission reaction." + icon = 'icons/obj/fission/reactor_chamber.dmi' + icon_state = "chamber_down" + layer = BELOW_OBJ_LAYER + pass_flags_self = PASSTAKE + resistance_flags = LAVA_PROOF | FIRE_PROOF | ACID_PROOF | FREEZE_PROOF + max_integrity = 400 + armor = list(melee = 80, bullet = 30, laser = 30, energy = 10, bomb = 40, rad = INFINITY, fire = INFINITY, acid = INFINITY) // Fairly robust + idle_power_consumption = 100 + flags_2 = NO_MALF_EFFECT_2 + + /// Each reactor chamber can only be linked to a single reactor, if somehow theres two. + var/obj/machinery/atmospherics/fission_reactor/linked_reactor + /// Holds the specific rod inserted into the chamber + var/obj/item/nuclear_rod/held_rod + /// Is the chamber up, down, or open + var/chamber_state = 1 + /// Has the requirements for the rod inside this chamber been met? + var/requirements_met = FALSE + /// Is the rod chamber actively running and providing its effects + var/operational = FALSE + /// Holds the list of linked neighbors + var/list/neighbors = list() + /// Skip this chamber when building links + var/skip_link = FALSE + /// The total amount of heat produced by this chamber + var/heat_total + /// The total amount of power produced by this rod + var/power_total + /// Is the chamber currently in an enrichment process + var/enriching = FALSE + /// Has the chamber been welded shut. Uh oh! + var/welded = FALSE + /// Holds the current accumulated power mod value from its neighbors + var/power_mod_total = 1 + /// Holds the current accumulated heat mod value from its neighbors + var/heat_mod_total = 1 + /// A simple binary to prevent open/close spam mucking up the anims + var/lockout = FALSE + /// Holds our durability bar overlay level. Updates overlays if it changes + var/durability_level = 0 + /// Holds our previous overlay. + var/previous_durability_level + +/obj/machinery/atmospherics/reactor_chamber/Initialize(mapload) + . = ..() + dupe_check() + component_parts = list() + component_parts += new /obj/item/circuitboard/machine/reactor_chamber(src) + component_parts += new /obj/item/stock_parts/manipulator(src) + component_parts += new /obj/item/stack/sheet/mineral/plastitanium(src, 2) + component_parts += new /obj/item/stack/sheet/metal(src, 2) + component_parts += new /obj/item/stack/cable_coil(src, 5) + RefreshParts() + update_icon(UPDATE_OVERLAYS) + RegisterSignal(src, COMSIG_PARENT_EXAMINE, PROC_REF(deep_examine)) + return INITIALIZE_HINT_LATELOAD + +// Needs to be late so it does not initialize before the reactor or the other neighbors are ready +/obj/machinery/atmospherics/reactor_chamber/LateInitialize() + . = ..() + find_link() + update_icon(UPDATE_OVERLAYS) + +/obj/machinery/atmospherics/reactor_chamber/uranium + +/obj/machinery/atmospherics/reactor_chamber/uranium/Initialize(mapload) + . = ..() + held_rod = new /obj/item/nuclear_rod/fuel/uranium_238(src) + +/obj/machinery/atmospherics/reactor_chamber/heavy_water + +/obj/machinery/atmospherics/reactor_chamber/heavy_water/Initialize(mapload) + . = ..() + held_rod = new /obj/item/nuclear_rod/moderator/heavy_water(src) + +/obj/machinery/atmospherics/reactor_chamber/examine(mob/user) + . = ..() + . += SPAN_NOTICE("[src] can be sealed/unsealed from its base with a lit welder using harm intent, but only while the chamber is lowered.") + . += SPAN_NOTICE("Alt+click to open and close the shielding while the chamber is raised.") + . += SPAN_NOTICE("Click on the chamber while it is closed to raise and lower it.") + + if(isobserver(user)) + // observers get regular examine + nested multitool info + var/list/deep_info = get_deep_examine_info() + if(length(deep_info)) + . += chat_box_examine(deep_info.Join("
")) + +/obj/machinery/atmospherics/reactor_chamber/on_deconstruction() + desync() + if(held_rod) // We shouldnt be able to decon with this in, but just in case + if(held_rod.reactor_overheat_modifier) + linked_reactor.update_overheat_threshold(-held_rod.reactor_overheat_modifier) + held_rod.forceMove(loc) + held_rod = null + return ..() + +/obj/machinery/atmospherics/reactor_chamber/Destroy() + if(held_rod && held_rod.reactor_overheat_modifier) + linked_reactor.update_overheat_threshold(-held_rod.reactor_overheat_modifier) + QDEL_NULL(held_rod) + if(linked_reactor) + desync() + UnregisterSignal(src, COMSIG_PARENT_EXAMINE) + return ..() + +/obj/machinery/atmospherics/reactor_chamber/update_icon_state() + return + +/obj/machinery/atmospherics/reactor_chamber/update_overlays() + . = ..() + overlays.Cut() + if(welded) + var/mutable_appearance/weld_overlay = mutable_appearance(layer = BELOW_OBJ_LAYER + 0.03) + weld_overlay.icon_state = "welded" + . += weld_overlay + if(chamber_state == CHAMBER_OPEN) + var/mutable_appearance/cover_icon = mutable_appearance(layer = ABOVE_ALL_MOB_LAYER + 0.02) + cover_icon.icon = icon + cover_icon.icon_state = "door_open" + . += cover_icon + + if(!held_rod) + return + if(chamber_state == CHAMBER_OPEN) + var/mutable_appearance/rod_overlay = mutable_appearance(layer = ABOVE_ALL_MOB_LAYER + 0.01) + rod_overlay.icon = icon + if(istype(held_rod, /obj/item/nuclear_rod/fuel)) + rod_overlay.icon_state = "fuel_overlay" + if(istype(held_rod, /obj/item/nuclear_rod/coolant)) + rod_overlay.icon_state = "coolant_overlay" + if(istype(held_rod, /obj/item/nuclear_rod/moderator)) + rod_overlay.icon_state = "moderator_overlay" + . += rod_overlay + + var/mutable_appearance/state_overlay = mutable_appearance(layer = BELOW_OBJ_LAYER + 0.01) + state_overlay.icon = icon + if(chamber_state == CHAMBER_DOWN) + if(enriching) + state_overlay.icon_state = "blue" + else if(requirements_met) + if(operational) + state_overlay.icon_state = "green" + else + state_overlay.icon_state = "orange" + else + if(operational) + state_overlay.icon_state = "orange" + else + state_overlay.icon_state = "red" + + var/mutable_appearance/display_overlay = mutable_appearance(layer = BELOW_OBJ_LAYER + 0.01) + if(istype(held_rod, /obj/item/nuclear_rod/fuel)) + display_overlay.icon_state = "display_fuel" + if(istype(held_rod, /obj/item/nuclear_rod/moderator)) + display_overlay.icon_state = "display_moderator" + if(istype(held_rod, /obj/item/nuclear_rod/coolant)) + display_overlay.icon_state = "display_coolant" + . += display_overlay + if(chamber_state == CHAMBER_OVERLOAD_IDLE) + if(held_rod && istype(held_rod, /obj/item/nuclear_rod/fuel)) + state_overlay.icon_state = "orange" + else + state_overlay.icon_state = "red" + if(chamber_state == CHAMBER_OVERLOAD_ACTIVE) + state_overlay.icon_state = "overload" + . += state_overlay + + var/mutable_appearance/durability_overlay = mutable_appearance(icon, layer = BELOW_OBJ_LAYER + 0.01) + durability_overlay.icon_state = "dur_[previous_durability_level]" + . += durability_overlay + +/// Check for multiple on a tile and nuke it +/obj/machinery/atmospherics/reactor_chamber/proc/dupe_check() + var/obj/machinery/atmospherics/reactor_chamber/chamber = locate() in range(0, src) + if(chamber && chamber != src) + visible_message(SPAN_WARNING("[src] has no room to deploy and breaks apart!")) + chamber.deconstruct() + +/obj/machinery/atmospherics/reactor_chamber/attack_hand(mob/user) + if(!user) + return + if(linked_reactor && linked_reactor.admin_intervention) + to_chat(user, SPAN_WARNING("An unusual force prevents you from moving the chamber!")) + return + if(stat & NOPOWER) + to_chat(user, SPAN_WARNING("The chamber's locks wont disengage without power!")) + return + + if(!is_mecha_occupant(user)) + add_fingerprint(user) + + switch(chamber_state) + if(CHAMBER_DOWN, CHAMBER_OVERLOAD_IDLE) + if(!Adjacent(user)) + return + if(welded) + to_chat(user, SPAN_WARNING("[src] is welded shut. It wont budge!")) + return + if(!density_check(user)) + return + var/delay = 1 SECONDS + if(linked_reactor && !linked_reactor.offline) + delay = 8 SECONDS + if(!is_mecha_occupant(user)) // Mech users are unaffected + burn_handler(user) + if(do_after_once(user, delay, target = src, allow_moving = FALSE)) + if(!Adjacent(user)) // For mecha users + return + if(density_check(user)) + raise() + return + + if(CHAMBER_UP) + if(!density_check(user)) + return + if(do_after_once(user, 2 SECONDS, target = src, allow_moving = FALSE)) + if(chamber_state != CHAMBER_UP) // So that we cant lower while in the open state + return + if(density_check(user)) + lower() + return + + if(CHAMBER_OPEN) + if(issilicon(user)) // Handled seperately. Dont pull out this way + return + if(!held_rod) + to_chat(user, SPAN_WARNING("There is no rod inside of the chamber to remove!")) + return + if(user.put_in_hands(held_rod)) + held_rod.add_fingerprint(user) + held_rod = null + playsound(loc, 'sound/machines/podopen.ogg', 50, TRUE) + update_icon(UPDATE_OVERLAYS) + return + + to_chat(user, SPAN_WARNING("Your hands are currently full!")) + return + if(CHAMBER_OVERLOAD_ACTIVE) + to_chat(user, SPAN_ALERT("The chamber lockdowns have been engaged, preventing it from being raised!")) + return + update_icon(UPDATE_OVERLAYS) + +/obj/machinery/atmospherics/reactor_chamber/AltClick(mob/user, modifiers) + if(!Adjacent(user) || lockout) + return + if(linked_reactor && linked_reactor.admin_intervention) + to_chat(user, SPAN_WARNING("An unusual force prevents you from manipulating the chamber!")) + return + if(chamber_state == CHAMBER_UP) + if(!lockout) + open() + return + if(chamber_state == CHAMBER_OPEN) + if(panel_open == TRUE) + to_chat(user, SPAN_WARNING("You must close the maintenance panel before the chamber can be sealed!")) + return + if(!lockout) + close() + return + +/obj/machinery/atmospherics/reactor_chamber/proc/density_check(mob/user) + for(var/atom/thing in get_turf(src)) + if(thing == src) + continue + if(thing.density) + to_chat(user, SPAN_WARNING("The chamber is being blocked from opening!")) + return FALSE + return TRUE + +/obj/machinery/atmospherics/reactor_chamber/item_interaction(mob/living/user, obj/item/used, list/modifiers) + if(issilicon(user) && get_dist(src, user) > 1) + attack_hand(user) + return ITEM_INTERACT_COMPLETE + + if(istype(used, /obj/item/nuclear_rod)) + if(chamber_state == CHAMBER_OPEN) + if(held_rod) + to_chat(user, SPAN_WARNING("There is already a rod inside of the chamber!")) + return ITEM_INTERACT_COMPLETE + if(panel_open) + to_chat(user, SPAN_WARNING("The open maintenance panel prevents the rod from slotting inside!")) + return ITEM_INTERACT_COMPLETE + if(user.transfer_item_to(used, src, force = TRUE)) + held_rod = used + playsound(loc, 'sound/machines/podclose.ogg', 50, TRUE) + update_icon(UPDATE_OVERLAYS) + return ITEM_INTERACT_COMPLETE + +/obj/machinery/atmospherics/reactor_chamber/screwdriver_act(mob/living/user, obj/item/I) + if(!I.use_tool(src, user, 0, volume = 0)) + return + . = TRUE + if(chamber_state != CHAMBER_OPEN) + to_chat(user, SPAN_ALERT("[src] must be raised and opened first!")) + return + if(linked_reactor && !linked_reactor.offline) + to_chat(user, SPAN_ALERT("The safety locks prevent maintenance while the reactor is on!")) + return + if(held_rod) + to_chat(user, SPAN_ALERT("You cannot reach the maintenance panel if there is a rod inside!")) + return + default_deconstruction_screwdriver(user, "chamber_maint", "chamber_open", I) + +/obj/machinery/atmospherics/reactor_chamber/crowbar_act(mob/living/user, obj/item/I) + . = TRUE + default_deconstruction_crowbar(user, I) + +/obj/machinery/atmospherics/reactor_chamber/welder_act(mob/living/user, obj/item/I) + if(user.a_intent == INTENT_HARM) + if(chamber_state == CHAMBER_OVERLOAD_IDLE || chamber_state == CHAMBER_OVERLOAD_ACTIVE) + to_chat(user, SPAN_WARNING("You probably shouldn't try to weld it right now.")) + return ITEM_INTERACT_COMPLETE + if(chamber_state != CHAMBER_DOWN) + return ITEM_INTERACT_COMPLETE + to_chat(user, SPAN_WARNING("You begin [welded ? "unwelding" : "welding"] [src]")) + if(!I.use_tool(src, user, (6 SECONDS) * I.toolspeed, volume = I.tool_volume)) + return ITEM_INTERACT_COMPLETE + if(welded) + unweld() + else + weld_shut() + update_icon(UPDATE_OVERLAYS) + return ITEM_INTERACT_COMPLETE + if(obj_integrity < max_integrity) + to_chat(user, SPAN_WARNING("You begin repairing [src].")) + if(!I.use_tool(src, user, (3 SECONDS) * I.toolspeed, volume = I.tool_volume)) + return ITEM_INTERACT_COMPLETE + obj_integrity = max_integrity // Lets make sure we can keep these healthy if need be + else + to_chat(user, SPAN_WARNING("[src] is not in need of repair.")) + return ITEM_INTERACT_COMPLETE + + +/obj/machinery/atmospherics/reactor_chamber/multitool_act(mob/living/user, obj/item/I) + . = TRUE + show_deep_examine(user) + +/obj/machinery/atmospherics/reactor_chamber/proc/get_deep_examine_info() + if(chamber_state != CHAMBER_DOWN) + return null + if(!held_rod) + return list(SPAN_WARNING("There is no nuclear rod inside this housing chamber.")) + if(!linked_reactor) + return list(SPAN_WARNING("This chamber is not connected to a reactor.")) + + var/operating_rate = linked_reactor.operating_rate() + var/durability_mod = held_rod.get_durability_mod() + var/list/message = list() + message += SPAN_NOTICE("[held_rod] is currently contained within this chamber.") + + message += "" + + if(held_rod.durability == 0) + message += SPAN_NOTICE("The rod has been fully depleted and rendered inert.") + return message + else + message += SPAN_NOTICE("Rod integrity is at [(held_rod.durability / held_rod.max_durability) * 100]%.") + + message += "" + + if(power_total && operational) + message += SPAN_NOTICE("The chamber is currently producing [(power_total * operating_rate * durability_mod) / 1000] KiloWatts of energy.") + message += SPAN_NOTICE("The chamber has a power modifier of [power_mod_total].") + else + message += SPAN_NOTICE("The chamber is producing no power.") + if(istype(held_rod, /obj/item/nuclear_rod/fuel)) + var/obj/item/nuclear_rod/fuel/rod = held_rod + if(rod.power_enrich_progress >= rod.enrichment_cycles && rod.power_enrich_result) + message += SPAN_NOTICE("[held_rod] has been power enriched") + else + message += SPAN_NOTICE("[held_rod] has not yet finished a power enrichment process.") + + message += "" + + if(heat_total) + message += SPAN_NOTICE("The chamber is currently producing [heat_total * HEAT_MODIFIER * operating_rate * durability_mod] joules of heat.") + message += SPAN_NOTICE("The chamber has a heat modifier of [heat_mod_total].") + else + message += SPAN_NOTICE("The chamber is producing no heat.") + if(istype(held_rod, /obj/item/nuclear_rod/fuel)) + var/obj/item/nuclear_rod/fuel/rod = held_rod + if(rod.heat_enrich_progress >= rod.enrichment_cycles && rod.heat_enrich_result) + message += SPAN_NOTICE("[held_rod] has been heat enriched") + else + message += SPAN_NOTICE("[held_rod] has not yet finished a heat enrichment process.") + + return message + +/obj/machinery/atmospherics/reactor_chamber/proc/show_deep_examine(mob/user) + var/list/info = get_deep_examine_info() + if(!info) + return ITEM_INTERACT_COMPLETE + + to_chat(user, chat_box_examine(info.Join("
"))) + return ITEM_INTERACT_COMPLETE + +/obj/machinery/atmospherics/reactor_chamber/proc/deep_examine(datum/source, mob/user, list/examine_list) + SIGNAL_HANDLER // COMSIG_PARENT_EXAMINE + show_deep_examine(user) + +/obj/machinery/atmospherics/reactor_chamber/proc/raise(playsound = TRUE) + chamber_state = CHAMBER_UP + icon_state = "chamber_up_anim" + lockout = TRUE + addtimer(CALLBACK(src, PROC_REF(finish_raise_anim)), 0.7 SECONDS) + density = TRUE + operational = FALSE + enriching = FALSE + requirements_met = FALSE + layer = ABOVE_MOB_LAYER + power_total = 0 + check_minimum_modifier() + if(held_rod && held_rod.reactor_overheat_modifier) + linked_reactor.update_overheat_threshold(-held_rod.reactor_overheat_modifier) + if(playsound) + playsound(loc, 'sound/items/deconstruct.ogg', 50, TRUE) + if(istype(held_rod, /obj/item/nuclear_rod/fuel)) + if(linked_reactor.offline) + held_rod.start_rads() + else + held_rod.start_rads(linked_reactor.reactivity_multiplier) + + update_icon() + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in neighbors) + if(!chamber.held_rod) + continue + if(chamber.check_status()) + chamber.requirements_met = TRUE + else + chamber.requirements_met = FALSE + +/obj/machinery/atmospherics/reactor_chamber/proc/finish_raise_anim() + lockout = FALSE + icon_state = "chamber_up" + +/obj/machinery/atmospherics/reactor_chamber/proc/lower(playsound = TRUE) + density = FALSE + layer = BELOW_OBJ_LAYER + if(playsound) + playsound(loc, 'sound/items/deconstruct.ogg', 50, TRUE) + + if(linked_reactor && linked_reactor.safety_override) + chamber_state = CHAMBER_OVERLOAD_IDLE + icon_state = "chamber_overload" + if(linked_reactor.check_overload_ready()) + linked_reactor.set_overload() + update_icon() + return + + chamber_state = CHAMBER_DOWN + icon_state = "chamber_down_anim" + addtimer(CALLBACK(src, PROC_REF(finish_down_anim)), 1.3 SECONDS) + + if(!held_rod) + update_icon() + return + + held_rod.stop_rads() + if(held_rod.reactor_overheat_modifier) + linked_reactor.update_overheat_threshold(held_rod.reactor_overheat_modifier) + previous_durability_level = clamp(ROUND_UP(((held_rod.durability / held_rod.max_durability) * 5) - 0.8), 0, 5) + if(check_status()) + requirements_met = TRUE + else + requirements_met = FALSE + check_minimum_modifier() + update_icon() + +/obj/machinery/atmospherics/reactor_chamber/proc/finish_down_anim() + icon_state = "chamber_down" + +/obj/machinery/atmospherics/reactor_chamber/proc/close(playsound = TRUE) + chamber_state = CHAMBER_UP + new /obj/effect/temp_visual/chamber_closing(loc) + addtimer(CALLBACK(src, PROC_REF(finish_closing)), 0.5 SECONDS) + lockout = TRUE + if(playsound) + playsound(loc, 'sound/machines/switch.ogg', 50, TRUE) + +/obj/machinery/atmospherics/reactor_chamber/proc/finish_closing() + lockout = FALSE + icon_state = "chamber_up" + update_icon(UPDATE_OVERLAYS) + +/obj/machinery/atmospherics/reactor_chamber/proc/open(playsound = TRUE) + chamber_state = CHAMBER_OPEN + icon_state = "chamber_open" + var/cover_icon = mutable_appearance(icon, icon_state = "doors_opening", layer = ABOVE_ALL_MOB_LAYER + 0.02) + add_overlay(cover_icon) + lockout = TRUE + addtimer(CALLBACK(src, PROC_REF(finish_opening)), 0.5 SECONDS) + if(playsound) + playsound(loc, 'sound/machines/switch.ogg', 50, TRUE) + update_icon(UPDATE_OVERLAYS) + +/obj/machinery/atmospherics/reactor_chamber/proc/finish_opening() + lockout = FALSE + +/obj/machinery/atmospherics/reactor_chamber/proc/set_idle_overload() + if(chamber_state == CHAMBER_DOWN) + chamber_state = CHAMBER_OVERLOAD_IDLE + icon_state = "chamber_overload" + if(welded) + welded = FALSE + operational = FALSE + enriching = FALSE + requirements_met = FALSE + update_icon(UPDATE_OVERLAYS) + +/obj/machinery/atmospherics/reactor_chamber/proc/set_active_overload() + chamber_state = CHAMBER_OVERLOAD_ACTIVE + icon_state = "chamber_down" + update_icon(UPDATE_OVERLAYS) + +/// Gets the neighbors of the current chamber, and adds itself to its neighbors. can prompt a cascade of linking +/obj/machinery/atmospherics/reactor_chamber/proc/get_neighbors() + for(var/direction in GLOB.cardinal) + var/obj/machinery/atmospherics/reactor_chamber/chamber = locate() in get_step(src, direction) + if(!chamber) + continue + if(chamber.linked_reactor && chamber.linked_reactor != linked_reactor) // If for some god forsaken reason we have two + continue + if((chamber in neighbors) || (src in chamber.neighbors)) + continue + neighbors += chamber + chamber.neighbors += src + if(!chamber.linked_reactor) + chamber.linked_reactor = linked_reactor + linked_reactor.connected_chambers += chamber + chamber.get_neighbors() + +/// Removes the chamber from neighbor from its neighbors, and forces them to run status checks +/obj/machinery/atmospherics/reactor_chamber/proc/desync() + if(length(neighbors)) + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in neighbors) + chamber.neighbors -= src + neighbors.Cut() + if(linked_reactor) + linked_reactor.connected_chambers -= src + linked_reactor.clear_reactor_network(restart = TRUE) + +/// Forms the two-way link between the reactor and the chamber, then searches for valid neighbors. +/obj/machinery/atmospherics/reactor_chamber/proc/form_link(obj/machinery/atmospherics/fission_reactor/reactor) + if(linked_reactor || skip_link) // Prevent duplicate linking or unwanted chambers + return + linked_reactor = reactor + linked_reactor.connected_chambers |= src + get_neighbors() + +/// Searches for a valid reactor or linked chamber nearby +/obj/machinery/atmospherics/reactor_chamber/proc/find_link() + if(linked_reactor) // We already have a linked reactor + return + var/turf/nearby_turf + for(var/direction in GLOB.cardinal) + nearby_turf = get_step(src, direction) + var/obj/machinery/atmospherics/fission_reactor/reactor = locate() in nearby_turf + if(reactor) + form_link(reactor) + return TRUE + var/obj/structure/filler/filler = locate() in nearby_turf + if(filler &&istype(filler.parent, /obj/machinery/atmospherics/fission_reactor)) + form_link(filler.parent) + return TRUE + var/obj/machinery/atmospherics/reactor_chamber/chamber = locate() in nearby_turf + if(chamber &&chamber.linked_reactor) + form_link(chamber.linked_reactor) + return TRUE + return FALSE + +/// Validates that all rod requirements are being met +/obj/machinery/atmospherics/reactor_chamber/proc/check_status() + if(!held_rod) + return FALSE + + var/list/temp_requirements = list() + temp_requirements += held_rod.adjacent_requirements // A temporary modable holder + if(!temp_requirements) + return TRUE + + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in neighbors) + if(!chamber.operational) + continue + if(chamber.held_rod.type in temp_requirements) + temp_requirements -= chamber.held_rod.type + continue + for(var/requirement in temp_requirements) + if(chamber.held_rod.type in typesof(requirement)) + temp_requirements -= requirement + break + + if(!length(temp_requirements)) + return TRUE + + return FALSE + +/obj/machinery/atmospherics/reactor_chamber/process() + if(!linked_reactor) + if(find_link()) + get_neighbors() + return + if(linked_reactor.admin_intervention) + return + if(!held_rod) + return + if(chamber_state != CHAMBER_DOWN) // We should only process reactor info when down + return + durability_level = clamp(ROUND_UP(((held_rod.durability / held_rod.max_durability) * 5) - 0.8), 0, 5) + if(durability_level != previous_durability_level) + previous_durability_level = durability_level + update_icon(UPDATE_OVERLAYS) + if(!linked_reactor.offline) + held_rod.calc_stat_decrease() // Only need to re-calc durability loss when the chamber is down and reactor is online + if(linked_reactor && linked_reactor.safety_override && !linked_reactor.control_lockout) // we only remove control lockout when the others are ready + if(chamber_state == CHAMBER_OVERLOAD_IDLE && istype(held_rod, /obj/item/nuclear_rod/fuel)) + set_active_overload() // For latejoiners + if(operational && held_rod.durability <= 0) + requirements_met = FALSE + update_icon(UPDATE_OVERLAYS) + return + if(!requirements_met && !operational) + if(check_status()) + requirements_met = TRUE + update_icon(UPDATE_OVERLAYS) + return + if(requirements_met && !operational) + if(prob(20)) + operational = TRUE + update_icon(UPDATE_OVERLAYS) + return + if(!requirements_met && operational) // If it loses requirements, it wont immediately turn off + if(istype(held_rod, /obj/item/nuclear_rod/coolant)) + if(prob(15)) // Higher rates of coolant rod failures once they're already on. Good luck. + operational = FALSE + update_icon(UPDATE_OVERLAYS) + else if(prob(1)) + enriching = FALSE + operational = FALSE + update_icon(UPDATE_OVERLAYS) + return + +/obj/machinery/atmospherics/reactor_chamber/process_atmos() + if(!held_rod || !linked_reactor || linked_reactor.offline) + return + if(chamber_state != CHAMBER_OPEN && chamber_state != CHAMBER_UP) + return + if(linked_reactor.admin_intervention) + return + + var/datum/milla_safe/chamber_process/milla = new() + milla.invoke_async(src) + +/datum/milla_safe/chamber_process + +/datum/milla_safe/chamber_process/on_run(obj/machinery/atmospherics/reactor_chamber/chamber) + var/turf/T = get_turf(chamber) + var/datum/gas_mixture/environment = get_turf_air(T) + + if(isnull(T)) // We have a null turf...something is wrong, stop processing this entity. + return PROCESS_KILL + + if(!istype(chamber.loc, /turf)) // How in the FUCK did we manage this + return // Yeah just stop. + + if(T.density) + var/turf/did_it_melt = T.ChangeTurf(T.baseturf) + if(!did_it_melt.density) // In case some joker finds way to place these on indestructible walls + chamber.visible_message(SPAN_WARNING("[chamber] melts through [T]!")) + return + + var/heat_capacity = environment.heat_capacity() + var/heat_change = max(chamber.heat_total / heat_capacity) * HEAT_MODIFIER // the hotter the rod, the hotter the air + var/temp = environment.temperature() + if(chamber.chamber_state == CHAMBER_UP) // Its not fully exposed yet, and heating the reactor + heat_change *= 0.25 + heat_change = max(heat_change, 1) // Always heat up at least a little + environment.set_temperature(temp + heat_change) + +/// Calculate how much heat and energy we should be making +/obj/machinery/atmospherics/reactor_chamber/proc/calculate_stats(operating_rate = 0) + power_total = (held_rod.power_amount * operating_rate) + heat_total = (held_rod.heat_amount * operating_rate) + + power_mod_total = 1 + heat_mod_total = 1 + for(var/obj/machinery/atmospherics/reactor_chamber/chamber in neighbors) + if(!chamber.held_rod || chamber.chamber_state == CHAMBER_OPEN) + continue + if(istype(chamber.held_rod, /obj/item/nuclear_rod/coolant) && !chamber.operational) // Do not apply negative heat gen on coolant when not on. + heat_mod_total *= 1 + else if(held_rod.heat_amount > 0) // Do not multiply negative heat. + heat_mod_total *= chamber.held_rod.current_heat_mod // We generate heat even when its not operational + if(operational && chamber.chamber_state == CHAMBER_DOWN) + if(held_rod.power_amount > 0) // Do not multiply negative power. + power_mod_total *= chamber.held_rod.current_power_mod + + power_total *= power_mod_total + heat_total *= heat_mod_total + +/obj/machinery/atmospherics/reactor_chamber/proc/eject_rod() + raise(FALSE) + open(FALSE) + var/datum/effect_system/smoke_spread/bad/smoke = new() + smoke.set_up(5, FALSE, loc) + smoke.start() + var/rad_type = pick(ALPHA_RAD, BETA_RAD, GAMMA_RAD) + for(var/turf/T in view(2, loc)) + T.contaminate_atom(src, 300, rad_type) + var/distance_traveled = rand(10, 60) + var/angle = rand(0, 360) + var/turf/end = get_turf_in_angle(angle, loc, distance_traveled) + var/obj/effect/immovablerod/nuclear_rod/nuclear_rod = new(loc, end) + var/matrix/M = new + M.Turn(angle) + nuclear_rod.transform = M + nuclear_rod.icon = held_rod.icon + nuclear_rod.icon_state = held_rod.icon_state + nuclear_rod.held_rod = held_rod + held_rod.forceMove(src) + held_rod = null + update_icon(UPDATE_OVERLAYS) + playsound(src, 'sound/effects/bang.ogg', 70, TRUE) + audible_message(SPAN_USERDANGER("POW!")) + +/obj/machinery/atmospherics/reactor_chamber/proc/weld_shut() + welded = TRUE + playsound(loc, 'sound/items/welder2.ogg', 60, TRUE) + update_icon(UPDATE_OVERLAYS) + +/obj/machinery/atmospherics/reactor_chamber/proc/unweld() + welded = FALSE + playsound(loc, 'sound/items/welder2.ogg', 60, TRUE) + update_icon(UPDATE_OVERLAYS) + +/obj/machinery/atmospherics/reactor_chamber/proc/burn_handler(mob/user) + var/burn_damage = CHAMBER_HEAT_DAMAGE + if(linked_reactor.check_overheating()) // Ouch, even hotter! + burn_damage *= 2 + if(istype(user, /mob/living/carbon/human)) + var/mob/living/carbon/human/H = user + if(H.gloves) + var/obj/item/clothing/gloves/G = H.gloves + if(G.max_heat_protection_temperature) + burn_damage *= 0.5 + else if(HAS_TRAIT(H, TRAIT_RESISTHEAT) || HAS_TRAIT(H, TRAIT_RESISTHEATHANDS)) + burn_damage *= 0.5 + var/obj/item/organ/external/affecting = H.get_organ("[user.hand ? "l" : "r" ]_hand") + if(affecting.receive_damage(0, burn_damage)) // Burn damage to them fingers + H.UpdateDamageIcon() + H.updatehealth() + else if(isliving(user)) + var/mob/living/L = user + if(issilicon(L)) // More resistant by default + burn_damage *= 0.5 + L.adjustFireLoss(burn_damage) + +/obj/machinery/atmospherics/reactor_chamber/proc/check_minimum_modifier() + if(!linked_reactor) + return + if(!held_rod) + return + if(!held_rod.minimum_temp_modifier) + return + if(held_rod.minimum_temp_modifier >= linked_reactor.minimum_operating_temp) + linked_reactor.update_minimum_temp() + +/obj/effect/immovablerod/nuclear_rod + name = "\improper Nuclear Coolant Rod" + desc = "Getting hit by this might make you wish you got radiation sickness instead." + notify = FALSE + var/obj/held_rod + +/// Lets not break the reactor with this. +/obj/effect/immovablerod/nuclear_rod/clong_thing(atom/victim) + if(istype(victim, /obj/machinery/atmospherics/fission_reactor)) + return + if(istype(victim, /obj/structure/filler)) + var/obj/structure/filler/filler = victim + if(istype(filler.parent, /obj/machinery/atmospherics/fission_reactor)) + return + if(istype(victim, /obj/machinery/atmospherics/reactor_chamber)) + return + + if(isobj(victim) && victim.density) + victim.ex_act(EXPLODE_HEAVY) + else if(ismob(victim)) + if(ishuman(victim)) + var/mob/living/carbon/human/H = victim + H.visible_message(SPAN_DANGER("[H.name] is penetrated by an ejected coolant rod!"), + SPAN_USERDANGER("The rod penetrates you!"), + SPAN_DANGER("You hear a CLANG!")) + H.adjustBruteLoss(100) // Not as strong as a normal rod + if(victim.density || prob(20)) // We want to hit more things than a normal rod though + victim.ex_act(EXPLODE_HEAVY) + +/obj/effect/immovablerod/nuclear_rod/Move() + . = ..() + if(loc == end) + qdel(src) + +/obj/effect/immovablerod/nuclear_rod/Destroy() + held_rod.forceMove(get_turf(src)) + return ..() + +#undef CHAMBER_HEAT_DAMAGE diff --git a/code/modules/research/designs/comp_board_designs.dm b/code/modules/research/designs/comp_board_designs.dm index 89b03b2dfb1..c537220a46d 100644 --- a/code/modules/research/designs/comp_board_designs.dm +++ b/code/modules/research/designs/comp_board_designs.dm @@ -312,6 +312,16 @@ build_path = /obj/item/circuitboard/singulo_monitor category = list("Computer Boards") +/datum/design/nuclear_monitor + name = "Console Board (Nuclear Reactor Monitoring)" + desc = "Allows for the construction of circuit boards used to build a nuclear reactor monitoring console." + id = "nuclear_monitor" + req_tech = list("programming" = 2, "powerstorage" = 2) + build_type = IMPRINTER + materials = list(MAT_GLASS = 1000) + build_path = /obj/item/circuitboard/fission_monitor + category = list("Computer Boards") + /datum/design/ordercomp name = "Console Board (Supply Ordering Console)" desc = "Allows for the construction of circuit boards used to build a supply ordering console." diff --git a/code/modules/research/designs/power_designs.dm b/code/modules/research/designs/power_designs.dm index 0143f2f5fc3..ec516ad8448 100644 --- a/code/modules/research/designs/power_designs.dm +++ b/code/modules/research/designs/power_designs.dm @@ -106,3 +106,64 @@ materials = list(MAT_GLASS = 1000) build_path = /obj/item/circuitboard/grounding_rod category = list("Engineering Machinery") + +/datum/design/centrifuge + name = "Machine Design (Nuclear Centrifuge Board)" + desc = "The circuit board for a nuclear centrifuge." + id = "nuclear_centrifuge" + req_tech = list("programming" = 3, "materials" = 5, "magnets" = 5, "plasmatech" = 3) + build_type = IMPRINTER + materials = list(MAT_GOLD = 1000, MAT_GLASS = 1000) + build_path = /obj/item/circuitboard/nuclear_centrifuge + category = list("Power", "Engineering Machinery") + +/datum/design/rod_fabricator + name = "Machine Design (Nuclear Rod Fabricator Board)" + desc = "The circuit board for a nuclear rod fabricator." + id = "nuclear_fabricator" + req_tech = list("programming" = 5, "materials" = 5, "magnets" = 4, "plasmatech" = 3) + build_type = IMPRINTER + materials = list(MAT_GOLD = 1000, MAT_GLASS = 1000) + build_path = /obj/item/circuitboard/nuclear_rod_fabricator + category = list("Power", "Engineering Machinery") + +/datum/design/nuclear_gas_node + name = "Machine Design (Nuclear Gas Node Board)" + desc = "The circuit board for a nuclear gas node." + id = "nuclear_gas_node" + req_tech = list("programming" = 4, "materials" = 4, "magnets" = 4, "plasmatech" = 3) + build_type = IMPRINTER + materials = list(MAT_GOLD = 1000, MAT_GLASS = 1000) + build_path = /obj/item/circuitboard/machine/reactor_gas_node + category = list("Power", "Engineering Machinery") + +/datum/design/rod_fabricator_upgrade + name = "Nuclear Rod Fabricator Upgrade" + desc = "A design disk containing a dizzying amount of designs and improvements for nuclear rod fabrication." + id = "nuclear_fab_upgrade" + req_tech = list("programming" = 5, "materials" = 5, "magnets" = 4, "plasmatech" = 3, "toxins" = 3) + build_type = PROTOLATHE + materials = list(MAT_METAL = 2000, MAT_GLASS = 2000, MAT_URANIUM = 500, MAT_GOLD = 400) + build_path = /obj/item/rod_fabricator_upgrade + category = list("Power", "Engineering Machinery", "Misc") + +/datum/design/reactor_chamber + name = "Machine Design (Reactor Chamber Board)" + desc = "A chamber used to house nuclear rods of various types to facilitate a fission reaction." + id = "reactor_chamber" + req_tech = list("programming" = 4, "materials" = 4, "magnets" = 4, "plasmatech" = 3) + build_type = IMPRINTER + materials = list(MAT_GLASS = 2000) + build_path = /obj/item/circuitboard/machine/reactor_chamber + category = list("Power", "Engineering Machinery", "Misc") + +/datum/design/neutron_grenade + name = "Neutron Agitator Grenade" + desc = "A throwable device capable of inducing an artificial startup in rod chambers." + id = "neutron_grenade" + req_tech = list("materials" = 6, "magnets" = 5, "plasmatech" = 5, "toxins" = 5) + build_type = PROTOLATHE + materials = list(MAT_METAL = 2000, MAT_PLASMA = 2000, MAT_GOLD = 2000) + build_path = /obj/item/grenade/nuclear_starter + category = list("Power", "Misc") + diff --git a/code/modules/security_levels/security_level_datums.dm b/code/modules/security_levels/security_level_datums.dm index f111ea82e14..2733e33ce07 100644 --- a/code/modules/security_levels/security_level_datums.dm +++ b/code/modules/security_levels/security_level_datums.dm @@ -143,3 +143,8 @@ status_display_data = "deltaalert" elevating_to_announcement_title = "Attention! Delta security level reached!" elevating_to_announcement_text = "The station's self-destruct mechanism has been engaged. All crew are instructed to abandon the station immediately. This is not a drill." + +/datum/security_level/delta/overload + number_level = SEC_LEVEL_DELTA_REACTOR + elevating_to_announcement_title = "Attention! Delta-AZ5 security level reached!" + elevating_to_announcement_text = "Central Command has disabled all nuclear fission reactor failsafes. Crew are instructed to ensure detonation of the station fission reactor at all costs." diff --git a/code/modules/smithing/components/reactor_components.dm b/code/modules/smithing/components/reactor_components.dm new file mode 100644 index 00000000000..92bc1f607d3 --- /dev/null +++ b/code/modules/smithing/components/reactor_components.dm @@ -0,0 +1,83 @@ +/obj/item/smithed_item/component/rod_housing + name = "Debug rod housing" + desc = ABSTRACT_TYPE_DESC + icon_state = "rod_housing" + part_type = PART_PRIMARY + +/obj/item/smithed_item/component/rod_housing/plasma_agitator + name = "plasma agitator cladding" + desc = "The primary structural housing of a plasma agitator." + materials = list(MAT_METAL = 6000, MAT_GOLD = 2000) + finished_product = /obj/item/nuclear_rod/moderator/plasma_agitator + +/obj/item/smithed_item/component/rod_housing/aluminum_reflector + name = "aluminum reflector cladding" + desc = "The primary structural housing of an aluminum reflector." + materials = list(MAT_METAL = 6000, MAT_GOLD = 2000) + finished_product = /obj/item/nuclear_rod/moderator/aluminum_reflector + +/obj/item/smithed_item/component/rod_housing/molten_salt + name = "molten salt circulator cladding" + desc = "The primary structural housing of a molten salt circultor." + materials = list(MAT_METAL = 6000, MAT_GLASS = 4000) + finished_product = /obj/item/nuclear_rod/coolant/molten_salt + +/obj/item/smithed_item/component/rod_housing/steam_hammerjet + name = "steam hammerjet cladding" + desc = "The primary structural housing of a steam hammerjet." + materials = list(MAT_METAL = 6000, MAT_GLASS = 4000) + finished_product = /obj/item/nuclear_rod/coolant/steam_hammerjet + +/obj/item/smithed_item/component/rod_housing/platinum_refelctor + name = "platinum plate cladding" + desc = "The primary structural housing of a platinum reflector plate." + materials = list(MAT_METAL = 6000, MAT_TITANIUM = 2000) + finished_product = /obj/item/nuclear_rod/moderator/platinum_plating + +/obj/item/smithed_item/component/rod_housing/iridium_conductor + name = "iridium conductor cladding" + desc = "The primary structural housing of an iridium conductor." + materials = list(MAT_METAL = 6000, MAT_TITANIUM = 2000) + finished_product = /obj/item/nuclear_rod/coolant/iridium_conductor + +/obj/item/smithed_item/component/rod_core + name = "Debug rod core" + desc = ABSTRACT_TYPE_DESC + icon_state = "rod_core" + part_type = PART_SECONDARY + +/obj/item/smithed_item/component/rod_core/plasma_agitator + name = "plasma agitator core" + desc = "This is the primary core structure of a plasma agitator." + materials = list(MAT_TITANIUM = 2000, MAT_PLASMA = 6000) + finished_product = /obj/item/nuclear_rod/moderator/plasma_agitator + +/obj/item/smithed_item/component/rod_core/aluminum_reflector + name = "aluminum reflector core" + desc = "This is the primary core structure of an aluminum reflector." + materials = list(MAT_TITANIUM = 2000, MAT_SILVER = 4000) + finished_product = /obj/item/nuclear_rod/moderator/aluminum_reflector + +/obj/item/smithed_item/component/rod_core/molten_salt + name = "molten salt circulator core" + desc = "This is the primary core structure of a molten salt circulator." + materials = list(MAT_TITANIUM = 4000) + finished_product = /obj/item/nuclear_rod/coolant/molten_salt + +/obj/item/smithed_item/component/rod_core/steam_hammerjet + name = "steam hammerjet core" + desc = "This is the primary core structure of a steam hammerjet." + materials = list(MAT_TITANIUM = 2000, MAT_GOLD = 2000) + finished_product = /obj/item/nuclear_rod/coolant/steam_hammerjet + +/obj/item/smithed_item/component/rod_core/platinum_refelctor + name = "platinum reflector core" + desc = "This is the primary core structure of a platinum reflector." + materials = list(MAT_TITANIUM = 2000, MAT_PLATINUM = 2000) + finished_product = /obj/item/nuclear_rod/moderator/platinum_plating + +/obj/item/smithed_item/component/rod_core/iridium_conductor + name = "iridium conductor core" + desc = "This is the primary core structure of an iridium conductor." + materials = list(MAT_TITANIUM = 2000, MAT_IRIDIUM = 2000) + finished_product = /obj/item/nuclear_rod/coolant/iridium_conductor diff --git a/code/modules/smithing/machinery/kinetic_assembler.dm b/code/modules/smithing/machinery/kinetic_assembler.dm index fdceab36765..182f84b4503 100644 --- a/code/modules/smithing/machinery/kinetic_assembler.dm +++ b/code/modules/smithing/machinery/kinetic_assembler.dm @@ -289,6 +289,8 @@ extra_product.material = current_product.material extra_product.set_stats() product = extra_product + else if(istype(finished_product, /obj/item/nuclear_rod)) + product = new finished_product.type(get_turf(src)) product.update_appearance(UPDATE_NAME) product.scatter_atom() diff --git a/code/modules/smithing/smithing_cast.dm b/code/modules/smithing/smithing_cast.dm index 3d317931da2..7c2601d3880 100644 --- a/code/modules/smithing/smithing_cast.dm +++ b/code/modules/smithing/smithing_cast.dm @@ -180,6 +180,26 @@ product_type = /obj/item/smithed_item/component/knife_handle basin_state = "cast_knife_handle" +/obj/item/smithing_cast/component/rod_housing + name = "rod housing cast" + icon_state = "rod_housing_cast" + desc = "A cast for creating a nuclear rod housing frame." + product_type = /obj/item/smithed_item/component/rod_housing + basin_state = "cast_rod_housing" + +/obj/item/smithing_cast/component/rod_housing/AltClick(mob/user) + return + +/obj/item/smithing_cast/component/rod_core + name = "rod core cast" + icon_state = "rod_core_cast" + desc = "A cast for creating a nuclear rod core." + product_type = /obj/item/smithed_item/component/rod_core + basin_state = "cast_rod_core" + +/obj/item/smithing_cast/component/rod_core/AltClick(mob/user) + return + /obj/item/smithing_cast/component/trim name = "trim cast" icon_state = "trim_cast" diff --git a/code/modules/station_goals/dna_vault.dm b/code/modules/station_goals/dna_vault.dm index eaacf078f77..2ee55da9824 100644 --- a/code/modules/station_goals/dna_vault.dm +++ b/code/modules/station_goals/dna_vault.dm @@ -134,6 +134,12 @@ GLOBAL_LIST_INIT(non_simple_animals, typecacheof(list(/mob/living/carbon/human/m density = TRUE anchored = TRUE invisibility = 101 + /// Keeps track of what the multitile is connected to + var/parent + +/obj/structure/filler/Destroy() + parent = null + . = ..() /obj/structure/filler/ex_act() return diff --git a/code/modules/supply/supply_packs/pack_engineering.dm b/code/modules/supply/supply_packs/pack_engineering.dm index e4af2067f05..1404c3fff1f 100644 --- a/code/modules/supply/supply_packs/pack_engineering.dm +++ b/code/modules/supply/supply_packs/pack_engineering.dm @@ -216,6 +216,54 @@ cost = 750 //So cargo thinks twice before killing themselves with it containername = "supermatter shard crate" +/datum/supply_packs/engineering/nuclear_supermatter_rod + name = "Nuclear Supermatter Rod Crate" + contains = list( + /obj/item/nuclear_rod/fuel/supermatter, + /obj/item/nuclear_rod/fuel/supermatter, + ) + cost = 400 + containertype = /obj/structure/closet/crate/secure/engineering + containername = "nuclear supermatter rod crate" + +/datum/supply_packs/engineering/nuclear_supermatter_kit + name = "Nuclear Supermatter Rods Starter Crate" + contains = list( + /obj/item/nuclear_rod/fuel/supermatter, + /obj/item/nuclear_rod/fuel/supermatter, + /obj/item/nuclear_rod/coolant/steam_hammerjet, + /obj/item/nuclear_rod/coolant/steam_hammerjet, + /obj/item/nuclear_rod/moderator/plasma_agitator, + /obj/item/nuclear_rod/moderator/plasma_agitator + ) + cost = 800 + containertype = /obj/structure/closet/crate/secure/engineering + containername = "nuclear supermatter starter crate" + +/datum/supply_packs/engineering/nuclear_moderator_rods + name = "Forged Nuclear Moderator crate" + contains = list( + /obj/item/nuclear_rod/moderator/plasma_agitator, + /obj/item/nuclear_rod/moderator/plasma_agitator, + /obj/item/nuclear_rod/moderator/aluminum_reflector, + /obj/item/nuclear_rod/moderator/aluminum_reflector + ) + cost = 600 + containertype = /obj/structure/closet/crate/secure/engineering + containername = "Forged Nuclear Moderator crate" + +/datum/supply_packs/engineering/nuclear_coolant_rods + name = "Forged Nuclear Coolant crate" + contains = list( + /obj/item/nuclear_rod/coolant/steam_hammerjet, + /obj/item/nuclear_rod/coolant/steam_hammerjet, + /obj/item/nuclear_rod/coolant/molten_salt, + /obj/item/nuclear_rod/coolant/molten_salt + ) + cost = 600 + containertype = /obj/structure/closet/crate/secure/engineering + containername = "Forged Nuclear Coolant crate" + /* Commented out as the TEG is fully problematic. If the syndie base is changed to be dependant on another powersource, we can look at a rework. /datum/supply_packs/engineering/engine/teg name = "Thermo-Electric Generator Crate" diff --git a/icons/goonstation/objects/reactor.dmi b/icons/goonstation/objects/reactor.dmi new file mode 100644 index 00000000000..7c6ff7c0b9c Binary files /dev/null and b/icons/goonstation/objects/reactor.dmi differ diff --git a/icons/obj/fission/pool.dmi b/icons/obj/fission/pool.dmi new file mode 100644 index 00000000000..37e49331cc0 Binary files /dev/null and b/icons/obj/fission/pool.dmi differ diff --git a/icons/obj/fission/reactor_chamber.dmi b/icons/obj/fission/reactor_chamber.dmi new file mode 100644 index 00000000000..a4d265a7bf1 Binary files /dev/null and b/icons/obj/fission/reactor_chamber.dmi differ diff --git a/icons/obj/fission/reactor_machines.dmi b/icons/obj/fission/reactor_machines.dmi new file mode 100644 index 00000000000..fb94a06aac6 Binary files /dev/null and b/icons/obj/fission/reactor_machines.dmi differ diff --git a/icons/obj/fission/reactor_rods.dmi b/icons/obj/fission/reactor_rods.dmi new file mode 100644 index 00000000000..fe965e4e678 Binary files /dev/null and b/icons/obj/fission/reactor_rods.dmi differ diff --git a/icons/obj/machines/smithing_machines.dmi b/icons/obj/machines/smithing_machines.dmi index 5aa23d313a7..fe37655fb54 100644 Binary files a/icons/obj/machines/smithing_machines.dmi and b/icons/obj/machines/smithing_machines.dmi differ diff --git a/icons/obj/smithing.dmi b/icons/obj/smithing.dmi index b3336d72223..4a369efad9f 100644 Binary files a/icons/obj/smithing.dmi and b/icons/obj/smithing.dmi differ diff --git a/paradise.dme b/paradise.dme index bccef7b078c..bfdef9b282c 100644 --- a/paradise.dme +++ b/paradise.dme @@ -2964,6 +2964,13 @@ #include "code\modules\power\cables\cable.dm" #include "code\modules\power\cables\cable_coil.dm" #include "code\modules\power\cables\terminal.dm" +#include "code\modules\power\engines\fission\datum_nuclear_rods.dm" +#include "code\modules\power\engines\fission\gas_node.dm" +#include "code\modules\power\engines\fission\nuclear_misc.dm" +#include "code\modules\power\engines\fission\nuclear_rods.dm" +#include "code\modules\power\engines\fission\reactor.dm" +#include "code\modules\power\engines\fission\reactor_machines.dm" +#include "code\modules\power\engines\fission\rod_chamber.dm" #include "code\modules\power\engines\singularity\collector.dm" #include "code\modules\power\engines\singularity\containment_field.dm" #include "code\modules\power\engines\singularity\emitter.dm" @@ -3195,6 +3202,7 @@ #include "code\modules\smithing\components\inserts_components.dm" #include "code\modules\smithing\components\knife_components.dm" #include "code\modules\smithing\components\lens_components.dm" +#include "code\modules\smithing\components\reactor_components.dm" #include "code\modules\smithing\components\tool_bits_components.dm" #include "code\modules\smithing\components\trim.dm" #include "code\modules\smithing\machinery\casting_basin.dm" diff --git a/sound/Attributions.txt b/sound/Attributions.txt index 31733ba4830..a735a6337c2 100644 --- a/sound/Attributions.txt +++ b/sound/Attributions.txt @@ -16,6 +16,8 @@ Angry Pig Oinking by Jofae (full version of above for sound/creatures/pig.ogg)-- Moo 3 - Moo Moo the Cow by manofham (sound/creatures/cow.ogg)-- https://freesound.org/s/700380/ -- License: Creative Commons 0 +/datum/looping_sound/centrifuge sounds spliced from washing_machine.wav -- https://freesound.org/people/magnus589/sounds/372183/ -- under CC Attribution 4.0 International + effects/voxfcaw.ogg and effects/voxrcaw.ogg are processed versions of https://opengameart.org/content/crow-caw from zeroisnotnull under CC0 1.0 starline_pickup was spliced from Phone Receiver.mp3 at https://freesound.org/people/Percy%20Duke/sounds/23535/ under Attributions CC 3.0 diff --git a/sound/machines/fission/centrifuge_mid.ogg b/sound/machines/fission/centrifuge_mid.ogg new file mode 100644 index 00000000000..2b74aaa882b Binary files /dev/null and b/sound/machines/fission/centrifuge_mid.ogg differ diff --git a/sound/machines/fission/centrifuge_start.ogg b/sound/machines/fission/centrifuge_start.ogg new file mode 100644 index 00000000000..c834dbf21ab Binary files /dev/null and b/sound/machines/fission/centrifuge_start.ogg differ diff --git a/sound/machines/fission/reactor_loop.ogg b/sound/machines/fission/reactor_loop.ogg new file mode 100644 index 00000000000..b6a27d74405 Binary files /dev/null and b/sound/machines/fission/reactor_loop.ogg differ diff --git a/sound/machines/fission/reactor_shutoff.ogg b/sound/machines/fission/reactor_shutoff.ogg new file mode 100644 index 00000000000..1cb31dcbc18 Binary files /dev/null and b/sound/machines/fission/reactor_shutoff.ogg differ diff --git a/sound/machines/fission/reactor_startup.ogg b/sound/machines/fission/reactor_startup.ogg new file mode 100644 index 00000000000..ad5f5c655e9 Binary files /dev/null and b/sound/machines/fission/reactor_startup.ogg differ diff --git a/sound/machines/fission/reactor_startup_beginning.ogg b/sound/machines/fission/reactor_startup_beginning.ogg new file mode 100644 index 00000000000..c5ca3206e6d Binary files /dev/null and b/sound/machines/fission/reactor_startup_beginning.ogg differ diff --git a/sound/machines/fission/reactor_startup_mid.ogg b/sound/machines/fission/reactor_startup_mid.ogg new file mode 100644 index 00000000000..eafb8f4736f Binary files /dev/null and b/sound/machines/fission/reactor_startup_mid.ogg differ diff --git a/tgui/packages/tgui/interfaces/NuclearRodFabricator.jsx b/tgui/packages/tgui/interfaces/NuclearRodFabricator.jsx new file mode 100644 index 00000000000..357ed4ea14a --- /dev/null +++ b/tgui/packages/tgui/interfaces/NuclearRodFabricator.jsx @@ -0,0 +1,317 @@ +import { useState } from 'react'; +import { Box, Button, Divider, NoticeBox, Section, Stack, Table, Tabs } from 'tgui-core/components'; + +import { useBackend } from '../backend'; +import { Window } from '../layouts'; + +const TABS = { + FABRICATE: 'fabricate', + MATERIALS: 'materials', +}; + +export const NuclearRodFabricator = (props) => { + const { data, act } = useBackend(props); + + const categories = [ + { key: 'fuel_rods', title: 'Fuel Rods' }, + { key: 'moderator_rods', title: 'Moderator Rods' }, + { key: 'coolant_rods', title: 'Coolant Rods' }, + ]; + + const [selectedRod, setSelectedRod] = useState(null); + const [hoveredRod, setHoveredRod] = useState(null); + const [activeTab, setActiveTab] = useState(TABS.FABRICATE); + const [categoryTab, setCategoryTab] = useState('fuel_rods'); + + return ( + + + + {/* Tab Navigation */} + + + setActiveTab(TABS.FABRICATE)}> + Fabricate + + setActiveTab(TABS.MATERIALS)}> + Materials + + + + + {/* Tab Content */} + + {activeTab === TABS.FABRICATE && ( + + {/* Left Side */} + +
+ {/* Category Tabs */} + + setCategoryTab('fuel_rods')} + > + Fuel Rods + + setCategoryTab('moderator_rods')} + > + Moderator Rods + + setCategoryTab('coolant_rods')} + > + Coolant Rods + + + + {/* Rod List */} + + {(() => { + const list = data[categoryTab] || []; + + if (list.length === 0) { + return ( + + No {categories.find((c) => c.key === categoryTab)?.title.toLowerCase()} available. + + ); + } + + return list.map((rod, i) => ( + setSelectedRod(rod)} + onMouseEnter={() => setHoveredRod(rod)} + onMouseLeave={() => setHoveredRod(null)} + > + {rod.name} + + {rod.desc} + + + )); + })()} + +
+
+ + {/* Right Side */} + +
+ {!selectedRod && Please select a rod design from the left.} + + {selectedRod && ( + + {/* Rod Statistics */} +
+ + + Power Generation: + {(selectedRod.power_amount || 0) / 1000} KW + + + Power Amplification: + {selectedRod.power_amp_mod || 1} + + + + + + Heat Generation: + {selectedRod.heat_amount || 0} joules + + + Heat Amplification: + {selectedRod.heat_amp_mod || 1} + + + + + + Lifespan: + {selectedRod.max_durability || 0} cycles + + {selectedRod.heat_enrichment && ( + <> + + + + + Heat Enrichment: + {selectedRod.heat_enrichment} + + + Heat Enrichment Requirement: + {selectedRod.heat_enrichment_requirement || 0} + + + )} + {selectedRod.power_enrichment && ( + <> + + + + + Power Enrichment: + {selectedRod.power_enrichment} + + + Power Enrichment Requirement: + {selectedRod.power_enrichment_requirement || 0} + + + )} +
+ + {/* Neighbor Requirements */} + {selectedRod.neighbor_requirements && selectedRod.neighbor_requirements.length > 0 ? ( + <> + + Neighbor Requirements: + + + {selectedRod.neighbor_requirements.map((requirement, idx) => ( + {requirement} + ))} + + + ) : ( + <> + + Neighbor Requirements: + + None + + )} +
+ + + + {/* Required Materials */} +
+ {!selectedRod.materials || Object.keys(selectedRod.materials).length === 0 ? ( + No materials required. + ) : ( + + {Object.entries(selectedRod.materials).map(([matName, matAmt], i) => { + // Check if we have enough of this material + const availableResource = Object.entries(data.resources || {}).find( + ([resName, resData]) => resName === matName + ); + const availableAmount = availableResource ? availableResource[1].amount : 0; + const hasEnough = availableAmount >= matAmt; + + return ( + + + {matName} + + {matAmt} + + ({Math.round(matAmt / 2000)} sheets) + + + ); + })} +
+ )} +
+ + + + {/* Fabricate Button */} +
+
+
+ )} + + {activeTab === TABS.MATERIALS && ( +
+ {!data.resources || Object.keys(data.resources).length === 0 ? ( + No materials loaded. + ) : ( + + {Object.entries(data.resources).map(([resName, resData], i) => ( + + {resName} + {resData.amount} units + ({resData.sheets} sheets) + +
+ )} +
+ )} +
+
+
+
+ ); +}; diff --git a/tgui/packages/tgui/interfaces/ReactorMonitor.tsx b/tgui/packages/tgui/interfaces/ReactorMonitor.tsx new file mode 100644 index 00000000000..3694f513f1c --- /dev/null +++ b/tgui/packages/tgui/interfaces/ReactorMonitor.tsx @@ -0,0 +1,199 @@ +import { Button, Knob, LabeledList, ProgressBar, Section, Stack } from 'tgui-core/components'; +import { toFixed } from 'tgui-core/math'; + +import { useBackend } from '../backend'; +import { getGasColor, getGasLabel } from '../constants'; +import { Window } from '../layouts'; + +interface FissionReactorData { + active: number; + supermatters?: Array<{ + supermatter_id: string; + area_name: string; + integrity: number; + }>; + venting: boolean; + NGCR_integrity: number; + NGCR_power: number; + NGCR_ambienttemp: number; + NGCR_ambientpressure: number; + NGCR_coefficient: number; + NGCR_operatingpower: number; + NGCR_throttle: number; + gases?: Array<{ + name: string; + amount: number; + portion: number; + }>; +} + +export const ReactorMonitor = (props) => { + const logScale = (value: number): number => Math.log2(16 + Math.max(0, value)) - 4; + const { act, data } = useBackend(); + const { + venting, + NGCR_integrity, + NGCR_power, + NGCR_ambienttemp, + NGCR_ambientpressure, + NGCR_coefficient, + NGCR_operatingpower, + NGCR_throttle, + gases = [], + } = data; + const filteredGases = (gases ?? []).filter((gas) => gas.amount >= 0.01).sort((a, b) => b.amount - a.amount); + const gasMaxAmount = Math.max(1, ...filteredGases.map((gas) => gas.portion)); + return ( + + + + +
+ + + + + + + {toFixed(NGCR_power < 10000 ? NGCR_power : NGCR_power / 1000) + + (NGCR_power < 10000 ? ' KW' : ' MW')} + + + + + {NGCR_coefficient.toFixed(2)} + + + + + {toFixed(NGCR_ambienttemp) + ' K'} + + + + + {toFixed(NGCR_ambientpressure) + ' kPa'} + + + + + {toFixed(NGCR_operatingpower) + ' %'} + + + +
+ + act('set_throttle', { + NGCR_throttle: value, + }) + } + /> +
+
+
+ + + +
act('toggle_vent')} + /> + } + > + + {filteredGases.map((gas) => ( + + + {toFixed(gas.amount) + ' mol (' + gas.portion + '%)'} + + + ))} + +
+
+
+
+
+
+
+ ); +}; diff --git a/tgui/public/tgui.bundle.js b/tgui/public/tgui.bundle.js index a8b6e3220b7..369519090ef 100644 --- a/tgui/public/tgui.bundle.js +++ b/tgui/public/tgui.bundle.js @@ -1 +1 @@ -(()=>{var e,n,t={222:function(e,n,t){var r={"./pai_atmosphere.jsx":"2817","./pai_bioscan.jsx":"7716","./pai_directives.jsx":"1091","./pai_doorjack.jsx":"9316","./pai_main_menu.jsx":"5042","./pai_manifest.jsx":"702","./pai_medrecords.jsx":"9513","./pai_messenger.jsx":"984","./pai_radio.jsx":"9028","./pai_secrecords.jsx":"6838","./pai_signaler.jsx":"4244"};function i(e){return t(o(e))}function o(e){if(!t.o(r,e)){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=222},2721:function(e,n,t){var r={"./pda_atmos_scan.jsx":"8539","./pda_cookbook.jsx":"5246","./pda_games.jsx":"2336","./pda_janitor.jsx":"3606","./pda_main_menu.jsx":"2526","./pda_manifest.jsx":"4642","./pda_medical.jsx":"1212","./pda_messenger.jsx":"3260","./pda_minesweeper.jsx":"3067","./pda_mule.jsx":"5030","./pda_nanobank.jsx":"9749","./pda_notes.jsx":"3194","./pda_power.jsx":"4702","./pda_secbot.jsx":"6651","./pda_security.jsx":"7155","./pda_signaler.jsx":"7024","./pda_status_display.jsx":"7148","./pda_supplyrecords.jsx":"7632"};function i(e){return t(o(e))}function o(e){if(!t.o(r,e)){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=2721},4808:function(e,n,t){var r={"./AICard":"9609","./AICard.jsx":"9609","./AIControllerDebugger":"1664","./AIControllerDebugger.tsx":"1664","./AIFixer":"8679","./AIFixer.jsx":"8679","./AIProgramPicker":"5233","./AIProgramPicker.jsx":"5233","./AIResourceManagementConsole":"9991","./AIResourceManagementConsole.jsx":"9991","./APC":"731","./APC.jsx":"731","./ATM":"6181","./ATM.jsx":"6181","./AccountsUplinkTerminal":"4558","./AccountsUplinkTerminal.jsx":"4558","./AdminAntagMenu":"3840","./AdminAntagMenu.jsx":"3840","./AgentCard":"2794","./AgentCard.tsx":"2794","./AiAirlock":"8706","./AiAirlock.jsx":"8706","./AirAlarm":"5486","./AirAlarm.jsx":"5486","./AirlockAccessController":"6962","./AirlockAccessController.jsx":"6962","./AirlockElectronics":"9281","./AirlockElectronics.tsx":"9281","./AlertModal":"934","./AlertModal.tsx":"934","./AppearanceChanger":"6473","./AppearanceChanger.jsx":"6473","./ArcadeBattle":"6085","./ArcadeBattle.tsx":"6085","./AtmosAlertConsole":"3438","./AtmosAlertConsole.jsx":"3438","./AtmosControl":"4788","./AtmosControl.jsx":"4788","./AtmosFilter":"1937","./AtmosFilter.jsx":"1937","./AtmosMixer":"7440","./AtmosMixer.jsx":"7440","./AtmosPump":"7897","./AtmosPump.jsx":"7897","./AtmosTankControl":"1164","./AtmosTankControl.jsx":"1164","./AtmosTemperatureGate":"8340","./AtmosTemperatureGate.jsx":"8340","./AugmentMenu":"6561","./AugmentMenu.jsx":"6561","./Autolathe":"8762","./Autolathe.tsx":"8762","./BioChipPad":"9766","./BioChipPad.jsx":"9766","./Biogenerator":"9968","./Biogenerator.jsx":"9968","./BloomEdit":"3764","./BloomEdit.jsx":"3764","./BlueSpaceArtilleryControl":"7166","./BlueSpaceArtilleryControl.jsx":"7166","./BluespaceTap":"8128","./BluespaceTap.jsx":"8128","./BodyScanner":"6807","./BodyScanner.jsx":"6807","./BookBinder":"2790","./BookBinder.jsx":"2790","./BotCall":"1326","./BotCall.jsx":"1326","./BotClean":"9091","./BotClean.jsx":"9091","./BotFloor":"3578","./BotFloor.jsx":"3578","./BotHonk":"5144","./BotHonk.jsx":"5144","./BotMed":"2078","./BotMed.jsx":"2078","./BotMule":"881","./BotMule.jsx":"881","./BotSecurity":"752","./BotSecurity.jsx":"752","./BrigCells":"2850","./BrigCells.jsx":"2850","./BrigTimer":"9478","./BrigTimer.jsx":"9478","./BugReportForm":"6993","./BugReportForm.tsx":"6993","./CameraConsole":"9835","./CameraConsole.tsx":"9835","./Canister":"2094","./Canister.jsx":"2094","./CardComputer":"991","./CardComputer/":"991","./CardComputer/auth_block":"1487","./CardComputer/auth_block.tsx":"1487","./CardComputer/card_details":"7542","./CardComputer/card_details.tsx":"7542","./CardComputer/index":"991","./CardComputer/index.tsx":"991","./CardComputer/job_priority":"4287","./CardComputer/job_priority.tsx":"4287","./CardComputer/job_transfer":"6530","./CardComputer/job_transfer.tsx":"6530","./CardComputer/records_log":"9490","./CardComputer/records_log.tsx":"9490","./CardComputer/types":"1488","./CardComputer/types.tsx":"1488","./CargoConsole":"6466","./CargoConsole.jsx":"6466","./Chameleon":"6205","./Chameleon.tsx":"6205","./ChangelogView":"9072","./ChangelogView.jsx":"9072","./CheckboxListInputModal":"6707","./CheckboxListInputModal.tsx":"6707","./ChemDispenser":"8573","./ChemDispenser.jsx":"8573","./ChemHeater":"6277","./ChemHeater.jsx":"6277","./ChemMaster":"9306","./ChemMaster.tsx":"9306","./CloningConsole":"2636","./CloningConsole.jsx":"2636","./CloningPod":"1558","./CloningPod.jsx":"1558","./CoinMint":"1276","./CoinMint.tsx":"1276","./ColorPickerModal":"1572","./ColorPickerModal.tsx":"1572","./ColourMatrixTester":"6851","./ColourMatrixTester.jsx":"6851","./CommunicationsComputer":"5325","./CommunicationsComputer.jsx":"5325","./CompostBin":"6185","./CompostBin.jsx":"6185","./Contractor":"4868","./Contractor.jsx":"4868","./ConveyorSwitch":"3510","./ConveyorSwitch.jsx":"3510","./CrewMonitor":"6714","./CrewMonitor.jsx":"6714","./Cryo":"2306","./Cryo.jsx":"2306","./CryopodConsole":"2394","./CryopodConsole.jsx":"2394","./DNAModifier":"3372","./DNAModifier.tsx":"3372","./DanceMachine":"4283","./DanceMachine.tsx":"4283","./DecalPainter":"5391","./DecalPainter.tsx":"5391","./DestinationTagger":"3883","./DestinationTagger.jsx":"3883","./DisposalBin":"6381","./DisposalBin.jsx":"6381","./DnaVault":"2908","./DnaVault.jsx":"2908","./DroneConsole":"2480","./DroneConsole.jsx":"2480","./EFTPOS":"1654","./EFTPOS.jsx":"1654","./ERTManager":"3991","./ERTManager.tsx":"3991","./EconomyManager":"9644","./EconomyManager.jsx":"9644","./Electropack":"6426","./Electropack.jsx":"6426","./Emojipedia":"9480","./Emojipedia.tsx":"9480","./EvolutionMenu":"9219","./EvolutionMenu.jsx":"9219","./ExosuitFabricator":"6251","./ExosuitFabricator.jsx":"6251","./ExperimentConsole":"9621","./ExperimentConsole.jsx":"9621","./ExternalAirlockController":"5091","./ExternalAirlockController.jsx":"5091","./FaxMachine":"6325","./FaxMachine.jsx":"6325","./FilingCabinet":"9788","./FilingCabinet.jsx":"9788","./FloorPainter":"26","./FloorPainter.jsx":"26","./GPS":"1561","./GPS.jsx":"1561","./GeneModder":"1259","./GeneModder.jsx":"1259","./GenericCrewManifest":"6954","./GenericCrewManifest.jsx":"6954","./GhostHudPanel":"9031","./GhostHudPanel.jsx":"9031","./GlandDispenser":"3396","./GlandDispenser.jsx":"3396","./GravityGen":"1009","./GravityGen.jsx":"1009","./GuestPass":"6294","./GuestPass.jsx":"6294","./HandheldChemDispenser":"9511","./HandheldChemDispenser.jsx":"9511","./HealthSensor":"3365","./HealthSensor.jsx":"3365","./Holodeck":"5880","./Holodeck.tsx":"5880","./IdCardModifier":"9721","./IdCardModifier.tsx":"9721","./Instrument":"6126","./Instrument.jsx":"6126","./KeyComboModal":"1783","./KeyComboModal.tsx":"1783","./KeycardAuth":"3928","./KeycardAuth.jsx":"3928","./KitchenMachine":"6706","./KitchenMachine.jsx":"6706","./LawManager":"9846","./LawManager.tsx":"9846","./LibraryComputer":"3023","./LibraryComputer.jsx":"3023","./LibraryManager":"183","./LibraryManager.jsx":"183","./ListInputModal":"1536","./ListInputModal.tsx":"1536","./Loadout":"7239","./Loadout.tsx":"7239","./LoreConsole":"5766","./LoreConsole.tsx":"5766","./MODsuit":"5531","./MODsuit.tsx":"5531","./MagnetController":"5247","./MagnetController.jsx":"5247","./MaterialContainer":"9587","./MaterialContainer.tsx":"9587","./MechBayConsole":"2433","./MechBayConsole.jsx":"2433","./MechaControlConsole":"3763","./MechaControlConsole.jsx":"3763","./MedicalRecords":"9548","./MedicalRecords.jsx":"9548","./MerchVendor":"2666","./MerchVendor.jsx":"2666","./MiningVendor":"6231","./MiningVendor.jsx":"6231","./NTRecruiter":"1972","./NTRecruiter.jsx":"1972","./Newscaster":"452","./Newscaster.jsx":"452","./Noticeboard":"6563","./Noticeboard.tsx":"6563","./NuclearBomb":"5867","./NuclearBomb.jsx":"5867","./NumberInputModal":"8007","./NumberInputModal.tsx":"8007","./ObjAccessModifier":"4965","./ObjAccessModifier.tsx":"4965","./OperatingComputer":"6499","./OperatingComputer.jsx":"6499","./Orbit":"7701","./Orbit.jsx":"7701","./OreRedemption":"5802","./OreRedemption.jsx":"5802","./PAI":"4235","./PAI.jsx":"4235","./PDA":"2740","./PDA.jsx":"2740","./Pacman":"377","./Pacman.jsx":"377","./PanDEMIC":"9454","./PanDEMIC.tsx":"9454","./ParticleAccelerator":"3566","./ParticleAccelerator.jsx":"3566","./PdaPainter":"3371","./PdaPainter.jsx":"3371","./PersonalCrafting":"6144","./PersonalCrafting.jsx":"6144","./Photocopier":"2327","./Photocopier.jsx":"2327","./PoolController":"7331","./PoolController.jsx":"7331","./PortablePump":"5562","./PortablePump.jsx":"5562","./PortableScrubber":"7920","./PortableScrubber.jsx":"7920","./PortableTurret":"2854","./PortableTurret.jsx":"2854","./PowerMonitor":"1784","./PowerMonitor.tsx":"1784","./PrisonerImplantManager":"8011","./PrisonerImplantManager.jsx":"8011","./PrisonerShuttleConsole":"2479","./PrisonerShuttleConsole.jsx":"2479","./PrizeCounter":"9083","./PrizeCounter.tsx":"9083","./QuirkMenu":"7692","./QuirkMenu.tsx":"7692","./RCD":"7076","./RCD.tsx":"7076","./RPD":"1703","./RPD.jsx":"1703","./Radio":"8930","./Radio.tsx":"8930","./RankedListInputModal":"4097","./RankedListInputModal.tsx":"4097","./ReagentGrinder":"1876","./ReagentGrinder.jsx":"1876","./ReagentsEditor":"1569","./ReagentsEditor.tsx":"1569","./RemoteSignaler":"9510","./RemoteSignaler.jsx":"9510","./RequestConsole":"5297","./RequestConsole.tsx":"5297","./RndBackupConsole":"4384","./RndBackupConsole.jsx":"4384","./RndConsole":"2247","./RndConsole/":"2247","./RndConsole/AnalyzerMenu":"4080","./RndConsole/AnalyzerMenu.jsx":"4080","./RndConsole/DataDiskMenu":"9529","./RndConsole/DataDiskMenu.jsx":"9529","./RndConsole/LatheCategory":"1465","./RndConsole/LatheCategory.jsx":"1465","./RndConsole/LatheChemicalStorage":"4154","./RndConsole/LatheChemicalStorage.jsx":"4154","./RndConsole/LatheMainMenu":"8563","./RndConsole/LatheMainMenu.jsx":"8563","./RndConsole/LatheMaterialStorage":"7635","./RndConsole/LatheMaterialStorage.jsx":"7635","./RndConsole/LatheMaterials":"5887","./RndConsole/LatheMaterials.jsx":"5887","./RndConsole/LatheMenu":"9760","./RndConsole/LatheMenu.jsx":"9760","./RndConsole/LatheSearch":"6013","./RndConsole/LatheSearch.jsx":"6013","./RndConsole/LinkMenu":"7726","./RndConsole/LinkMenu.jsx":"7726","./RndConsole/SettingsMenu":"3321","./RndConsole/SettingsMenu.jsx":"3321","./RndConsole/index":"2247","./RndConsole/index.jsx":"2247","./RndNetController":"7280","./RndNetController.jsx":"7280","./RndServer":"5156","./RndServer.jsx":"5156","./RobotSelfDiagnosis":"7868","./RobotSelfDiagnosis.jsx":"7868","./RoboticsControlConsole":"1696","./RoboticsControlConsole.jsx":"1696","./Safe":"5826","./Safe.jsx":"5826","./SatelliteControl":"1892","./SatelliteControl.jsx":"1892","./SecureStorage":"7943","./SecureStorage.jsx":"7943","./SecurityRecords":"8589","./SecurityRecords.jsx":"8589","./SeedExtractor":"6906","./SeedExtractor.tsx":"6906","./ShuttleConsole":"631","./ShuttleConsole.jsx":"631","./ShuttleManipulator":"5060","./ShuttleManipulator.jsx":"5060","./SingularityMonitor":"6448","./SingularityMonitor.jsx":"6448","./Sleeper":"1495","./Sleeper.tsx":"1495","./SlotMachine":"6526","./SlotMachine.jsx":"6526","./Smartfridge":"1645","./Smartfridge.jsx":"1645","./Smes":"1399","./Smes.tsx":"1399","./SolarControl":"1343","./SolarControl.jsx":"1343","./SpawnersMenu":"4263","./SpawnersMenu.jsx":"4263","./SpecMenu":"8729","./SpecMenu.jsx":"8729","./StackCraft":"9469","./StackCraft.tsx":"9469","./StationAlertConsole":"5592","./StationAlertConsole.jsx":"5592","./StationTraitsPanel":"5651","./StationTraitsPanel.tsx":"5651","./StripMenu":"5724","./StripMenu.tsx":"5724","./SuitStorage":"2975","./SuitStorage.jsx":"2975","./SupermatterMonitor":"4835","./SupermatterMonitor.tsx":"4835","./SyndicateComputerSimple":"2266","./SyndicateComputerSimple.jsx":"2266","./TEG":"8073","./TEG.jsx":"8073","./TachyonArray":"5808","./TachyonArray.jsx":"5808","./Tank":"5125","./Tank.jsx":"5125","./TankDispenser":"7112","./TankDispenser.jsx":"7112","./TcommsCore":"3283","./TcommsCore.jsx":"3283","./TcommsRelay":"431","./TcommsRelay.jsx":"431","./Teleporter":"5605","./Teleporter.jsx":"5605","./TelescienceConsole":"8336","./TelescienceConsole.jsx":"8336","./TempGun":"1745","./TempGun.jsx":"1745","./TextInputModal":"4273","./TextInputModal.tsx":"4273","./ThermoMachine":"9449","./ThermoMachine.jsx":"9449","./TransferValve":"1760","./TransferValve.jsx":"1760","./TurbineComputer":"6971","./TurbineComputer.jsx":"6971","./Uplink":"8380","./Uplink.tsx":"8380","./Vending":"1638","./Vending.jsx":"1638","./VolumeMixer":"2144","./VolumeMixer.jsx":"2144","./VotePanel":"7063","./VotePanel.jsx":"7063","./Wires":"7983","./Wires.jsx":"7983","./WizardApprenticeContract":"8167","./WizardApprenticeContract.jsx":"8167","./ZLevelManager":"234","./ZLevelManager.tsx":"234","./common/AccessList":"2723","./common/AccessList.tsx":"2723","./common/AtmosScan":"7276","./common/AtmosScan.tsx":"7276","./common/BeakerContents":"3013","./common/BeakerContents.tsx":"3013","./common/BotStatus":"9226","./common/BotStatus.jsx":"9226","./common/ComplexModal":"4744","./common/ComplexModal.jsx":"4744","./common/CrewManifest":"2639","./common/CrewManifest.jsx":"2639","./common/InputButtons":"1942","./common/InputButtons.tsx":"1942","./common/InterfaceLockNoticeBox":"1992","./common/InterfaceLockNoticeBox.jsx":"1992","./common/Loader":"9472","./common/Loader.tsx":"9472","./common/LoginInfo":"7352","./common/LoginInfo.jsx":"7352","./common/LoginScreen":"736","./common/LoginScreen.jsx":"736","./common/Operating":"6696","./common/Operating.tsx":"6696","./common/SearchableTableContext":"6888","./common/SearchableTableContext.tsx":"6888","./common/Signaler":"9298","./common/Signaler.jsx":"9298","./common/SimpleRecords":"4455","./common/SimpleRecords.jsx":"4455","./common/SortableTableContext":"2264","./common/SortableTableContext.tsx":"2264","./common/TabsContext":"4900","./common/TabsContext.tsx":"4900","./common/TemporaryNotice":"7482","./common/TemporaryNotice.jsx":"7482","./goonstation_PTL":"162","./goonstation_PTL/":"162","./goonstation_PTL/index":"162","./goonstation_PTL/index.jsx":"162","./pai/pai_atmosphere":"2817","./pai/pai_atmosphere.jsx":"2817","./pai/pai_bioscan":"7716","./pai/pai_bioscan.jsx":"7716","./pai/pai_directives":"1091","./pai/pai_directives.jsx":"1091","./pai/pai_doorjack":"9316","./pai/pai_doorjack.jsx":"9316","./pai/pai_main_menu":"5042","./pai/pai_main_menu.jsx":"5042","./pai/pai_manifest":"702","./pai/pai_manifest.jsx":"702","./pai/pai_medrecords":"9513","./pai/pai_medrecords.jsx":"9513","./pai/pai_messenger":"984","./pai/pai_messenger.jsx":"984","./pai/pai_radio":"9028","./pai/pai_radio.jsx":"9028","./pai/pai_secrecords":"6838","./pai/pai_secrecords.jsx":"6838","./pai/pai_signaler":"4244","./pai/pai_signaler.jsx":"4244","./pda/pda_atmos_scan":"8539","./pda/pda_atmos_scan.jsx":"8539","./pda/pda_cookbook":"5246","./pda/pda_cookbook.jsx":"5246","./pda/pda_games":"2336","./pda/pda_games.jsx":"2336","./pda/pda_janitor":"3606","./pda/pda_janitor.jsx":"3606","./pda/pda_main_menu":"2526","./pda/pda_main_menu.jsx":"2526","./pda/pda_manifest":"4642","./pda/pda_manifest.jsx":"4642","./pda/pda_medical":"1212","./pda/pda_medical.jsx":"1212","./pda/pda_messenger":"3260","./pda/pda_messenger.jsx":"3260","./pda/pda_minesweeper":"3067","./pda/pda_minesweeper.jsx":"3067","./pda/pda_mule":"5030","./pda/pda_mule.jsx":"5030","./pda/pda_nanobank":"9749","./pda/pda_nanobank.jsx":"9749","./pda/pda_notes":"3194","./pda/pda_notes.jsx":"3194","./pda/pda_power":"4702","./pda/pda_power.jsx":"4702","./pda/pda_secbot":"6651","./pda/pda_secbot.jsx":"6651","./pda/pda_security":"7155","./pda/pda_security.jsx":"7155","./pda/pda_signaler":"7024","./pda/pda_signaler.jsx":"7024","./pda/pda_status_display":"7148","./pda/pda_status_display.jsx":"7148","./pda/pda_supplyrecords":"7632","./pda/pda_supplyrecords.jsx":"7632"};function i(e){return t(o(e))}function o(e){if(!t.o(r,e)){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=4808},937:function(e,n,t){var r={"./ByondUi.stories.js":"7997","./Storage.stories.js":"6498","./Themes.stories.js":"9615"};function i(e){return t(o(e))}function o(e){if(!t.o(r,e)){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=937},7912:function(e,n,t){"use strict";function r(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var i,o=t(8014),l=t(4530),a=t(6634);function c(e){var n="https://react.dev/errors/"+e;if(1D||(e.current=$[D],$[D]=null,D--)}function L(e,n){$[++D]=e.current,e.current=n}var K=R(null),J=R(null),X=R(null),U=R(null);function F(e,n){switch(L(X,n),L(J,e),L(K,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?sj(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)e=sb(n=sj(n),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}M(K),L(K,e)}function V(){M(K),M(J),M(X)}function H(e){null!==e.memoizedState&&L(U,e);var n=K.current,t=sb(n,e.type);n!==t&&(L(J,e),L(K,t))}function W(e){J.current===e&&(M(K),M(J)),U.current===e&&(M(U),un._currentValue=N)}function q(e){if(void 0===nD)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);nD=n&&n[1]||"",nR=-1)":-1o||s[i]!==u[o]){var d="\n"+s[i].replace(" at new "," at ");return e.displayName&&d.includes("")&&(d=d.replace("",e.displayName)),d}while(1<=i&&0<=o);break}}}finally{G=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?q(t):""}function Y(e){try{var n="",t=null;do n+=function(e,n){switch(e.tag){case 26:case 27:case 5:return q(e.type);case 16:return q("Lazy");case 13:return e.child!==n&&null!==n?q("Suspense Fallback"):q("Suspense");case 19:return q("SuspenseList");case 0:case 15:return Q(e.type,!1);case 11:return Q(e.type.render,!1);case 1:return Q(e.type,!0);case 31:return q("Activity");default:return""}}(e,t),t=e,e=e.return;while(e);return n}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var Z=Object.prototype.hasOwnProperty,ee=o.unstable_scheduleCallback,en=o.unstable_cancelCallback,et=o.unstable_shouldYield,er=o.unstable_requestPaint,ei=o.unstable_now,eo=o.unstable_getCurrentPriorityLevel,el=o.unstable_ImmediatePriority,ea=o.unstable_UserBlockingPriority,ec=o.unstable_NormalPriority,es=o.unstable_LowPriority,eu=o.unstable_IdlePriority,ed=o.log,ef=o.unstable_setDisableYieldValue,eh=null,em=null;function ep(e){if("function"==typeof ed&&ef(e),em&&"function"==typeof em.setStrictMode)try{em.setStrictMode(eh,e)}catch(e){}}var ex=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(eg(e)/ej|0)|0},eg=Math.log,ej=Math.LN2,eb=256,ey=262144,ev=4194304;function ew(e){var n=42&e;if(0!==n)return n;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function ek(e,n,t){var r=e.pendingLanes;if(0===r)return 0;var i=0,o=e.suspendedLanes,l=e.pingedLanes;e=e.warmLanes;var a=0x7ffffff&r;return 0!==a?0!=(r=a&~o)?i=ew(r):0!=(l&=a)?i=ew(l):t||0!=(t=a&~e)&&(i=ew(t)):0!=(a=r&~o)?i=ew(a):0!==l?i=ew(l):t||0!=(t=r&~e)&&(i=ew(t)),0===i?0:0!==n&&n!==i&&0==(n&o)&&((o=i&-i)>=(t=n&-n)||32===o&&0!=(4194048&t))?n:i}function e_(e,n){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)}function eC(){var e=ev;return 0==(0x3c00000&(ev<<=1))&&(ev=4194304),e}function eI(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function eS(e,n){e.pendingLanes|=n,0x10000000!==n&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eO(e,n,t){e.pendingLanes|=n,e.suspendedLanes&=~n;var r=31-ex(n);e.entangledLanes|=n,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&t}function eA(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-ex(t),i=1<=tt),to=!1;function tl(e,n){switch(e){case"keyup":return -1!==te.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ta(e){return"object"===(void 0===(e=e.detail)?"undefined":r(e))&&"data"in e?e.data:null}var tc=!1,ts={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function tu(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!ts[e.type]:"textarea"===n}function td(e,n,t,r){ny?nv?nv.push(r):nv=[r]:ny=r,0<(n=si(n,"onChange")).length&&(t=new nX("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var tf=null,th=null;function tm(e){c4(e,0)}function tp(e){if(e9(eH(e)))return e}function tx(e,n){if("change"===e)return n}var tg=!1;if(nI){if(nI){var tj="oninput"in document;if(!tj){var tb=document.createElement("div");tb.setAttribute("oninput","return;"),tj="function"==typeof tb.oninput}i=tj}else i=!1;tg=i&&(!document.documentMode||9=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=tO(r)}}function tP(e){var n,t;e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var r=ne(e.document);n=r,null!=(t=e.HTMLIFrameElement)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](n):n instanceof t;){try{var i="string"==typeof r.contentWindow.location.href}catch(e){i=!1}if(i)e=r.contentWindow;else break;r=ne(e.document)}return r}function tE(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}var tB=nI&&"documentMode"in document&&11>=document.documentMode,tz=null,tT=null,tN=null,t$=!1;function tD(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;t$||null==tz||tz!==ne(r)||(r="selectionStart"in(r=tz)&&tE(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},tN&&tS(tN,r)||(tN=r,0<(r=si(tT,"onSelect")).length&&(n=new nX("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=tz)))}function tR(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var tM={animationend:tR("Animation","AnimationEnd"),animationiteration:tR("Animation","AnimationIteration"),animationstart:tR("Animation","AnimationStart"),transitionrun:tR("Transition","TransitionRun"),transitionstart:tR("Transition","TransitionStart"),transitioncancel:tR("Transition","TransitionCancel"),transitionend:tR("Transition","TransitionEnd")},tL={},tK={};function tJ(e){if(tL[e])return tL[e];if(!tM[e])return e;var n,t=tM[e];for(n in t)if(t.hasOwnProperty(n)&&n in tK)return tL[e]=t[n];return e}nI&&(tK=document.createElement("div").style,"AnimationEvent"in window||(delete tM.animationend.animation,delete tM.animationiteration.animation,delete tM.animationstart.animation),"TransitionEvent"in window||delete tM.transitionend.transition);var tX=tJ("animationend"),tU=tJ("animationiteration"),tF=tJ("animationstart"),tV=tJ("transitionrun"),tH=tJ("transitionstart"),tW=tJ("transitioncancel"),tq=tJ("transitionend"),tG=new Map,tQ="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function tY(e,n){tG.set(e,n),eY(n,[e])}tQ.push("scrollEnd");var tZ="function"==typeof reportError?reportError:function(e){if("object"===("undefined"==typeof window?"undefined":r(window))&&"function"==typeof window.ErrorEvent){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===(void 0===e?"undefined":r(e))&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if("object"===("undefined"==typeof process?"undefined":r(process))&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},t0=[],t1=0,t2=0;function t8(){for(var e=t1,n=t2=t1=0;n>=l,i-=l,rb=1<<32-ex(n)+i|t<f?(p=d,d=null):p=d.sibling;var x=m(r,d,a[f],c);if(null===x){null===d&&(d=p);break}e&&d&&null===x.alternate&&n(r,d),o=l(x,o,f),null===u?s=x:u.sibling=x,u=x,d=p}if(f===a.length)return t(r,d),rO&&rv(r,f),s;if(null===d){for(;fp?(x=f,f=null):x=f.sibling;var b=m(r,f,g.value,s);if(null===b){null===f&&(f=x);break}e&&f&&null===b.alternate&&n(r,f),o=l(b,o,p),null===d?u=b:d.sibling=b,d=b,f=x}if(g.done)return t(r,f),rO&&rv(r,p),u;if(null===f){for(;!g.done;p++,g=a.next())null!==(g=h(r,g.value,s))&&(o=l(g,o,p),null===d?u=g:d.sibling=g,d=g);return rO&&rv(r,p),u}for(f=i(f);!g.done;p++,g=a.next())null!==(g=j(f,r,p,g.value,s))&&(e&&null!==g.alternate&&f.delete(null===g.key?p:g.key),o=l(g,o,p),null===d?u=g:d.sibling=g,d=g);return e&&f.forEach(function(e){return n(r,e)}),rO&&rv(r,p),u}(u,d,f=y.call(f),b)}if("function"==typeof f.then)return s(u,d,ij(f),b);if(f.$$typeof===v)return s(u,d,rG(u,f),b);iy(u,f)}return"string"==typeof f&&""!==f||"number"==typeof f||"bigint"===(void 0===f?"undefined":r(f))?(f=""+f,null!==d&&6===d.tag?(t(u,d.sibling),(b=o(d,f)).return=u):(t(u,d),(b=ra(f,u.mode,b)).return=u),a(u=b)):t(u,d)}(s,u,d,f);return ix=null,b}catch(e){if(e===io||e===ia)throw e;var y=rn(29,e,null,s.mode);return y.lanes=f,y.return=s,y}finally{}}}var iw=iv(!0),ik=iv(!1),i_=!1;function iC(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function iI(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function iS(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function iO(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&aD)){var i=r.pending;return null===i?n.next=n:(n.next=i.next,i.next=n),r.pending=n,n=t7(e),t6(e,null,t),n}return t3(e,r,n,t),t7(e)}function iA(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,0!=(4194048&t))){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,eA(e,t)}}function iP(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var i=null,o=null;if(null!==(t=t.firstBaseUpdate)){do{var l={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};null===o?i=o=l:o=o.next=l,t=t.next}while(null!==t);null===o?i=o=n:o=o.next=n}else i=o=n;t={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},e.updateQueue=t;return}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}var iE=!1;function iB(){if(iE){var e=r6;if(null!==e)throw e}}function iz(e,n,t,r){iE=!1;var i=e.updateQueue;i_=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,a=i.shared.pending;if(null!==a){i.shared.pending=null;var c=a,s=c.next;c.next=null,null===l?o=s:l.next=s,l=c;var u=e.alternate;null!==u&&(a=(u=u.updateQueue).lastBaseUpdate)!==l&&(null===a?u.firstBaseUpdate=s:a.next=s,u.lastBaseUpdate=c)}if(null!==o){var d=i.baseState;for(l=0,u=s=c=null,a=o;;){var f=-0x20000001&a.lane,m=f!==a.lane;if(m?(aL&f)===f:(r&f)===f){0!==f&&f===r4&&(iE=!0),null!==u&&(u=u.next={lane:0,tag:a.tag,payload:a.payload,callback:null,next:null});e:{var p=e,x=a;switch(f=n,x.tag){case 1:if("function"==typeof(p=x.payload)){d=p.call(t,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(f="function"==typeof(p=x.payload)?p.call(t,d,f):p))break e;d=h({},d,f);break e;case 2:i_=!0}}null!==(f=a.callback)&&(e.flags|=64,m&&(e.flags|=8192),null===(m=i.callbacks)?i.callbacks=[f]:m.push(f))}else m={lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===u?(s=u=m,c=d):u=u.next=m,l|=f;if(null===(a=a.next))if(null===(a=i.shared.pending))break;else a=(m=a).next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}null===u&&(c=d),i.baseState=c,i.firstBaseUpdate=s,i.lastBaseUpdate=u,null===o&&(i.shared.lanes=0),aW|=l,e.lanes=l,e.memoizedState=d}}function iT(e,n){if("function"!=typeof e)throw Error(c(191,e));e.call(n)}function iN(e,n){var t=e.callbacks;if(null!==t)for(e.callbacks=null,e=0;el?l:8;var a=z.T,c={};z.T=c,le(e,!1,n,t);try{var s=o(),u=z.S;if(null!==u&&u(c,s),null!==s&&"object"===(void 0===s?"undefined":r(s))&&"function"==typeof s.then){var d,f,h=(d=[],f={status:"pending",value:null,reason:null,then:function(e){d.push(e)}},s.then(function(){f.status="fulfilled",f.value=i;for(var e=0;e title"))),sh(o,r,t),o[e$]=e,eq(o),r=o;break e;case"link":var l=s8("link","href",i).get(r+(t.href||""));if(l){for(var a=0;aa)break;var u=c.transferSize,d=c.initiatorType;u&&sm(d)&&(l+=u*((c=c.responseEnd)s4?50:800)+p);return m.unsuspend=e,function(){m.unsuspend=null,clearTimeout(n),clearTimeout(t)}}:null)){ce=o,e.cancelPendingCommit=x(cI.bind(null,e,n,o,t,r,i,l,a,c,u,d,null,f,h)),cd(e,o,l,!s);return}}cI(e,n,o,t,r,i,l,a,c)}function cd(e,n,t,r){n&=~aG,n&=~aq,e.suspendedLanes|=n,e.pingedLanes&=~n,r&&(e.warmLanes|=n),r=e.expirationTimes;for(var i=n;0<\/script>",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof r.is?l.createElement("select",{is:r.is}):l.createElement("select"),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o="string"==typeof r.is?l.createElement(i,{is:r.is}):l.createElement(i)}}o[e$]=n,o[eD]=r;e:for(l=n.child;null!==l;){if(5===l.tag||6===l.tag)o.appendChild(l.stateNode);else if(4!==l.tag&&27!==l.tag&&null!==l.child){l.child.return=l,l=l.child;continue}if(l===n)break;for(;null===l.sibling;){if(null===l.return||l.return===n)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(n.stateNode=o,sh(o,i,r),i){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&lG(n)}}return l1(n),lQ(n,n.type,null===e?null:e.memoizedProps,n.pendingProps,t),null;case 6:if(e&&null!=n.stateNode)e.memoizedProps!==r&&lG(n);else{if("string"!=typeof r&&null===n.stateNode)throw Error(c(166));if(e=X.current,rN(n)){if(e=n.stateNode,t=n.memoizedProps,r=null,null!==(i=rI))switch(i.tag){case 27:case 5:r=i.memoizedProps}e[e$]=n,(e=!!(e.nodeValue===t||null!==r&&!0===r.suppressHydrationWarning||su(e.nodeValue,t)))||rB(n,!0)}else(e=sg(e).createTextNode(r))[e$]=n,n.stateNode=e}return l1(n),null;case 31:if(t=n.memoizedState,null===e||null!==e.memoizedState){if(r=rN(n),null!==t){if(null===e){if(!r)throw Error(c(318));if(!(e=null!==(e=n.memoizedState)?e.dehydrated:null))throw Error(c(557));e[e$]=n}else r$(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;l1(n),e=!1}else t=rD(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e){if(256&n.flags)return iH(n),n;return iH(n),null}if(0!=(128&n.flags))throw Error(c(558))}return l1(n),null;case 13:if(r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(i=rN(n),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(c(318));if(!(i=null!==(i=n.memoizedState)?i.dehydrated:null))throw Error(c(317));i[e$]=n}else r$(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;l1(n),i=!1}else i=rD(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i){if(256&n.flags)return iH(n),n;return iH(n),null}}if(iH(n),0!=(128&n.flags))return n.lanes=t,n;return t=null!==r,e=null!==e&&null!==e.memoizedState,t&&(r=n.child,i=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(i=r.alternate.memoizedState.cachePool.pool),o=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)),t!==e&&t&&(n.child.flags|=8192),lZ(n,n.updateQueue),l1(n),null;case 4:return V(),null===e&&se(n.stateNode.containerInfo),l1(n),null;case 10:return rX(n.type),l1(n),null;case 19:if(M(iW),null===(r=n.memoizedState))return l1(n),null;if(i=0!=(128&n.flags),null===(o=r.rendering))if(i)l0(r,!1);else{if(0!==aH||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(o=iq(e))){for(n.flags|=128,l0(r,!1),n.updateQueue=e=o.updateQueue,lZ(n,e),n.subtreeFlags=0,e=t,t=n.child;null!==t;)ri(t,e),t=t.sibling;return L(iW,1&iW.current|2),rO&&rv(n,r.treeForkCount),n.child}e=e.sibling}null!==r.tail&&ei()>a3&&(n.flags|=128,i=!0,l0(r,!1),n.lanes=4194304)}else{if(!i)if(null!==(e=iq(o))){if(n.flags|=128,i=!0,n.updateQueue=e=e.updateQueue,lZ(n,e),l0(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate&&!rO)return l1(n),null}else 2*ei()-r.renderingStartTime>a3&&0x20000000!==t&&(n.flags|=128,i=!0,l0(r,!1),n.lanes=4194304);r.isBackwards?(o.sibling=n.child,n.child=o):(null!==(e=r.last)?e.sibling=o:n.child=o,r.last=o)}if(null!==r.tail)return e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ei(),e.sibling=null,t=iW.current,L(iW,i?1&t|2:1&t),rO&&rv(n,r.treeForkCount),e;return l1(n),null;case 22:case 23:return iH(n),iL(),r=null!==n.memoizedState,null!==e?null!==e.memoizedState!==r&&(n.flags|=8192):r&&(n.flags|=8192),r?0!=(0x20000000&t)&&0==(128&n.flags)&&(l1(n),6&n.subtreeFlags&&(n.flags|=8192)):l1(n),null!==(t=n.updateQueue)&&lZ(n,t.retryQueue),t=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(t=e.memoizedState.cachePool.pool),r=null,null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(r=n.memoizedState.cachePool.pool),r!==t&&(n.flags|=2048),null!==e&&M(ie),null;case 24:return t=null,null!==e&&(t=e.memoizedState.cache),n.memoizedState.cache!==t&&(n.flags|=2048),rX(r1),l1(n),null;case 25:case 30:return null}throw Error(c(156,n.tag))}(n.alternate,n,aV);if(null!==t){aM=t;return}if(null!==(n=n.sibling)){aM=n;return}aM=n=e}while(null!==n);0===aH&&(aH=5)}function cC(e,n){do{var t=function(e,n){switch(r_(n),n.tag){case 1:return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return rX(r1),V(),0!=(65536&(e=n.flags))&&0==(128&e)?(n.flags=-65537&e|128,n):null;case 26:case 27:case 5:return W(n),null;case 31:if(null!==n.memoizedState){if(iH(n),null===n.alternate)throw Error(c(340));r$()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 13:if(iH(n),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(c(340));r$()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return M(iW),null;case 4:return V(),null;case 10:return rX(n.type),null;case 22:case 23:return iH(n),iL(),null!==e&&M(ie),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 24:return rX(r1),null;default:return null}}(e.alternate,e);if(null!==t){t.flags&=32767,aM=t;return}if(null!==(t=e.return)&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!n&&null!==(e=e.sibling)){aM=e;return}aM=e=t}while(null!==e);aH=6,aM=null}function cI(e,n,t,r,i,o,l,a,s){e.cancelPendingCommit=null;do cE();while(0!==a6);if(0!=(6&aD))throw Error(c(327));if(null!==n){if(n===e.current)throw Error(c(177));if(!function(e,n,t,r,i,o){var l=e.pendingLanes;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0;var a=e.entanglements,c=e.expirationTimes,s=e.hiddenUpdates;for(t=l&~t;0x&&(l=x,x=p,p=l);var g=tA(a,p),j=tA(a,x);if(g&&j&&(1!==h.rangeCount||h.anchorNode!==g.node||h.anchorOffset!==g.offset||h.focusNode!==j.node||h.focusOffset!==j.offset)){var b=d.createRange();b.setStart(g.node,g.offset),h.removeAllRanges(),p>x?(h.addRange(b),h.extend(j.node,j.offset)):(b.setEnd(j.node,j.offset),h.addRange(b))}}}}for(d=[],h=a;h=h.parentNode;)1===h.nodeType&&d.push({element:h,left:h.scrollLeft,top:h.scrollTop});for("function"==typeof a.focus&&a.focus(),a=0;at?32:t,z.T=null,t=ct,ct=null;var o=a7,l=ce;if(a6=0,a9=a7=null,ce=0,0!=(6&aD))throw Error(c(331));var a=aD;if(aD|=4,az(o.current),aI(o,o.current,l,t),aD=a,cH(0,!1),em&&"function"==typeof em.onPostCommitFiberRoot)try{em.onPostCommitFiberRoot(eh,o)}catch(e){}return!0}finally{T.p=i,z.T=r,cP(e,n)}}function cz(e,n,t){n=rd(t,n),n=lj(e.stateNode,n,2),null!==(e=iO(e,n,2))&&(eS(e,2),cV(e))}function cT(e,n,t){if(3===e.tag)cz(e,e,t);else for(;null!==n;){if(3===n.tag){cz(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===a4||!a4.has(r))){e=rd(t,e),null!==(r=iO(n,t=lb(2),2))&&(ly(t,r,n,e),eS(r,2),cV(r));break}}n=n.return}}function cN(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new a$;var i=new Set;r.set(n,i)}else void 0===(i=r.get(n))&&(i=new Set,r.set(n,i));i.has(t)||(aF=!0,i.add(t),e=c$.bind(null,e,n,t),n.then(e,e))}function c$(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,aR===e&&(aL&t)===t&&(4===aH||3===aH&&(0x3c00000&aL)===aL&&300>ei()-a2?0==(2&aD)&&cm(e,0):aG|=t,aY===aL&&(aY=0)),cV(e)}function cD(e,n){0===n&&(n=eC()),null!==(e=t4(e,n))&&(eS(e,n),cV(e))}function cR(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),cD(e,t)}function cM(e,n){var t=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(t=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(c(314))}null!==r&&r.delete(n),cD(e,t)}var cL=null,cK=null,cJ=!1,cX=!1,cU=!1,cF=0;function cV(e){e!==cK&&null===e.next&&(null===cK?cL=cK=e:cK=cK.next=e),cX=!0,cJ||(cJ=!0,sC(function(){0!=(6&aD)?ee(el,cW):cq()}))}function cH(e,n){if(!cU&&cX){cU=!0;do for(var t=!1,r=cL;null!==r;){if(!n)if(0!==e){var i=r.pendingLanes;if(0===i)var o=0;else{var l=r.suspendedLanes,a=r.pingedLanes;o=0xc000095&(o=(1<<31-ex(42|e)+1)-1&(i&~(l&~a)))?0xc000095&o|1:o?2|o:0}0!==o&&(t=!0,cY(r,o))}else o=aL,0==(3&(o=ek(r,r===aR?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||e_(r,o)||(t=!0,cY(r,o));r=r.next}while(t);cU=!1}}function cW(){cq()}function cq(){cX=cJ=!1;var e,n=0;0===cF||((e=window.event)&&"popstate"===e.type?e===sv||(sv=e,0):(sv=null,1))||(n=cF);for(var t=ei(),r=null,i=cL;null!==i;){var o=i.next,l=cG(i,t);0===l?(i.next=null,null===r?cL=o:r.next=o,null===o&&(cK=r)):(r=i,(0!==n||0!=(3&l))&&(cX=!0)),i=o}0!==a6&&5!==a6||cH(n,!1),0!==cF&&(cF=0)}function cG(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=-0x3c00001&e.pendingLanes;0 title"):null)}function s5(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}var s4=0;function s6(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages)){if(this.stylesheets)s9(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var s7=null;function s9(e,n){e.stylesheets=null,null!==e.unsuspend&&(e.count++,s7=new Map,n.forEach(ue,e),s7=null,s6.call(e))}function ue(e,n){if(!(4&n.state.loading)){var t=s7.get(e);if(t)var r=t.get(null);else{t=new Map,s7.set(e,t);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;oe.length)&&(n=e.length);for(var t=0,r=Array(n);ti})},2316:function(e,n,t){"use strict";t.d(n,{KA:()=>r,KS:()=>o,NE:()=>l,bz:()=>i});var r=2,i=1,o=0,l=["average","bad","black","blue","brown","good","green","grey","label","olive","orange","pink","purple","red","teal","transparent","violet","white","yellow"]},1128:function(e,n,t){"use strict";t.d(n,{Nh:()=>u,WK:()=>w,tk:()=>v,y4:()=>f});var r,i=t(7686);function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1?n-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};d=!!e.ignoreWindowFocus},h=!0;function m(e,n){if(d){h=!0;return}if(r&&(clearTimeout(r),r=null),n){r=setTimeout(function(){return m(e)});return}h!==e&&(h=e,u.emit(e?"window-focus":"window-blur"),u.emit("window-focus-change",e))}var p=null;function x(e){var n=String(e.tagName).toLowerCase();return"input"===n||"textarea"===n}function g(){p&&(p.removeEventListener("blur",g),p=null,u.emit("input-blur"))}var j=null,b=null,y=[];function v(e){y.push(e)}function w(e){var n=y.indexOf(e);n>=0&&y.splice(n,1)}window.addEventListener("mousemove",function(e){var n=e.target;n!==b&&(b=n,function(e){if(!p&&h)for(var n=document.body;e&&e!==n;){if(y.includes(e)){if(e.contains(j))return;j=e,e.focus();return}e=e.parentElement}}(n))}),document.addEventListener("focus",function(e){var n,t,r;if(t=e.target,null!=(r=Element)&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?!r[Symbol.hasInstance](t):!(t instanceof r)){b=null,j=null;return}b=null,j=e.target,x(e.target)&&(n=e.target,g(),(p=n).addEventListener("blur",g),u.emit("input-focus"))},!0),document.addEventListener("blur",function(){b=null},!0),window.addEventListener("focus",function(){m(!0)}),window.addEventListener("blur",function(){b=null,m(!1,!0)}),window.addEventListener("close",function(){m(!1)});var k={},_=function(){function e(n,t,r){l(this,e),s(this,"event",void 0),s(this,"type",void 0),s(this,"code",void 0),s(this,"ctrl",void 0),s(this,"shift",void 0),s(this,"alt",void 0),s(this,"repeat",void 0),s(this,"_str",void 0),this.event=n,this.type=t,this.code=n.keyCode,this.ctrl=n.ctrlKey,this.shift=n.shiftKey,this.alt=n.altKey,this.repeat=!!r}return c(e,[{key:"hasModifierKeys",value:function(){return this.ctrl||this.alt||this.shift}},{key:"isModifierKey",value:function(){return this.code===i.Ss||this.code===i.re||this.code===i.cH}},{key:"isDown",value:function(){return"keydown"===this.type}},{key:"isUp",value:function(){return"keyup"===this.type}},{key:"toString",value:function(){return this._str||(this._str="",this.ctrl&&(this._str+="Ctrl+"),this.alt&&(this._str+="Alt+"),this.shift&&(this._str+="Shift+"),this.code>=48&&this.code<=90?this._str+=String.fromCharCode(this.code):this.code>=i.sV&&this.code<=i.Yw?this._str+="F".concat(this.code-111):this._str+="[".concat(this.code,"]")),this._str}}]),e}();document.addEventListener("keydown",function(e){if(!x(e.target)){var n=e.keyCode,t=new _(e,"keydown",k[n]);u.emit("keydown",t),u.emit("key",t),k[n]=!0}}),document.addEventListener("keyup",function(e){if(!x(e.target)){var n=e.keyCode,t=new _(e,"keyup");u.emit("keyup",t),u.emit("key",t),k[n]=!1}})},9582:function(e,n,t){"use strict";t.d(n,{QL:()=>o,d5:()=>l,fU:()=>c,up:()=>a});var r=["f","p","n","μ","m"," ","k","M","G","T","P","E","Z","Y","R","Q","F","N","H"],i=r.indexOf(" ");function o(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-i,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!Number.isFinite(e))return e.toString();var o=Math.floor(Math.max(3*n,Math.floor(Math.log10(Math.abs(e))))/3),l=r[Math.min(o+i,r.length-1)],a=(e/Math.pow(1e3,o)).toFixed(2);return a.endsWith(".00")?a=a.slice(0,-3):a.endsWith(".0")&&(a=a.slice(0,-2)),"".concat(a," ").concat(l.trim()).concat(t).trim()}function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return o(e,n,"W")}function a(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Number.isFinite(e))return String(e);var t=Number(e.toFixed(n)),r=Math.abs(t).toString().split(".");r[0]=r[0].replace(/\B(?=(\d{3})+(?!\d))/g," ");var i=r.join(".");return t<0?"-".concat(i):i}function c(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",t=Math.floor(e/10),r=Math.floor(t/3600),i=Math.floor(t%3600/60),o=t%60;if("short"===n)return"".concat(r>0?"".concat(r,"h"):"").concat(i>0?"".concat(i,"m"):"").concat(o>0?"".concat(o,"s"):"");var l=String(r).padStart(2,"0"),a=String(i).padStart(2,"0"),c=String(o).padStart(2,"0");return"".concat(l,":").concat(a,":").concat(c)}},1874:function(e,n,t){"use strict";t.d(n,{Bm:()=>d,ao:()=>f,sc:()=>h,zr:()=>s});var r=t(1128),i=t(7686),o={},l=[i.s6,i.Ri,i.iy,i.aW,i.Ss,i.re,i.gf,i.R,i.iU,i.zh,i.sP],a={},c=[];function s(){for(var e in a)a[e]&&(a[e]=!1,Byond.command(u.verbParamsFn(u.keyUpVerb,e)))}var u={keyDownVerb:"KeyDown",keyUpVerb:"KeyUp",verbParamsFn:function(e,n){return"".concat(e,' "').concat(n,'"')}};function d(e){e&&(u=e),Byond.winget("default.*").then(function(e){var n=function(e){return e.substring(1,e.length-1).replace(c,'"')},t={};for(var r in e){var i=r.split("."),l=i[1],a=i[2];l&&a&&(t[l]||(t[l]={}),t[l][a]=e[r])}var c=/\\"/g;for(var s in t){var u=t[s];o[n(u.name)]=n(u.command)}}),r.Nh.on("window-blur",function(){s()}),r.Nh.on("input-focus",function(){s()}),f()}function f(){r.Nh.on("key",m)}function h(){r.Nh.off("key",m)}function m(e){var n=!0,t=!1,r=void 0;try{for(var i,s=c[Symbol.iterator]();!(n=(i=s.next()).done);n=!0)(0,i.value)(e)}catch(e){t=!0,r=e}finally{try{n||null==s.return||s.return()}finally{if(t)throw r}}!function(e){var n,t=String(e);if("Ctrl+F5"===t||"Ctrl+R"===t)return location.reload();if(!("Ctrl+F"===t||e.event.defaultPrevented||e.isModifierKey()||l.includes(e.code))){var r=16===(n=e.code)?"Shift":17===n?"Ctrl":18===n?"Alt":33===n?"Northeast":34===n?"Southeast":35===n?"Southwest":36===n?"Northwest":37===n?"West":38===n?"North":39===n?"East":40===n?"South":45===n?"Insert":46===n?"Delete":n>=48&&n<=57||n>=65&&n<=90?String.fromCharCode(n):n>=96&&n<=105?"Numpad".concat(n-96):n>=112&&n<=123?"F".concat(n-111):188===n?",":189===n?"-":190===n?".":void 0;if(r){var i=o[r];if(i)return Byond.command(i);if(e.isDown()&&!a[r]){a[r]=!0;var c=u.verbParamsFn(u.keyDownVerb,r);return Byond.command(c)}if(e.isUp()&&a[r]){a[r]=!1;var s=u.verbParamsFn(u.keyUpVerb,r);Byond.command(s)}}}}(e)}},7686:function(e,n,t){"use strict";t.d(n,{C:()=>y,Pm:()=>p,R:()=>m,Ri:()=>o,Ss:()=>a,W8:()=>g,Wy:()=>x,Yw:()=>k,aW:()=>i,bh:()=>j,cH:()=>c,gf:()=>f,hr:()=>b,iU:()=>d,iy:()=>u,re:()=>l,s6:()=>s,sP:()=>w,sV:()=>v,ye:()=>r,zh:()=>h});var r=8,i=9,o=13,l=16,a=17,c=18,s=27,u=32,d=37,f=38,h=39,m=40,p=48,x=57,g=65,j=90,b=96,y=105,v=112,w=116,k=123},925:function(e,n,t){"use strict";t.d(n,{KL:()=>o,_:()=>i});var r,i=((r={}).A="a",r.Alt="Alt",r.Backspace="Backspace",r.Control="Control",r.D="d",r.Delete="Delete",r.Down="ArrowDown",r.E="e",r.End="End",r.Enter="Enter",r.Esc="Esc",r.Escape="Escape",r.Home="Home",r.Insert="Insert",r.Left="ArrowLeft",r.Minus="-",r.N="n",r.PageDown="PageDown",r.PageUp="PageUp",r.Plus="+",r.Right="ArrowRight",r.S="s",r.Shift="Shift",r.Space=" ",r.Tab="Tab",r.Up="ArrowUp",r.W="w",r.Z="z",r);function o(e){return"Esc"===e||"Escape"===e}},6859:function(e,n,t){"use strict";function r(e,n,t){return et?t:e}function i(e){return e<0?0:e>1?1:e}function o(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return(e-n)/(t-n)}function l(e,n){return Number.parseFloat((Math.round(e*Math.pow(10,n)+1e-4*(e>=0?1:-1))/Math.pow(10,n)).toFixed(n))}function a(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Number(e).toFixed(Math.max(n,0))}function c(e,n){var t=!0,r=!1,i=void 0;try{for(var o,l=Object.keys(n)[Symbol.iterator]();!(t=(o=l.next()).done);t=!0){var a,c=o.value;if((a=n[c])&&e>=a[0]&&e<=a[1])return c}}catch(e){r=!0,i=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw i}}}function s(e){return"number"==typeof e&&Number.isFinite(e)&&!Number.isNaN(e)}function u(e){return 180/Math.PI*e}t.d(n,{J$:()=>i,KJ:()=>u,LI:()=>l,Lz:()=>s,Mg:()=>a,TG:()=>c,hs:()=>o,qE:()=>r})},5490:function(e,n,t){"use strict";function r(e){for(var n="",t=0;tr,b5:()=>i})},3268:function(e,n,t){"use strict";function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return JSON.stringify(e)},t=e.toLowerCase().trim();return function(e){if(!t)return!0;var r=n(e);return!!r&&r.toLowerCase().includes(t)}}function i(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}t.d(n,{Sn:()=>a,XZ:()=>r,ZH:()=>i,jT:()=>u});var o=["Id","Tv"],l=["A","An","And","As","At","But","By","For","For","From","In","Into","Near","Nor","Of","On","Onto","Or","The","To","With"];function a(e){if(!e)return e;var n=e.replace(/([^\W_]+[^\s-]*) */g,function(e){return i(e)}),t=!0,r=!1,a=void 0;try{for(var c,s=l[Symbol.iterator]();!(t=(c=s.next()).done);t=!0){var u=c.value,d=RegExp("\\s".concat(u,"\\s"),"g");n=n.replace(d,function(e){return e.toLowerCase()})}}catch(e){r=!0,a=e}finally{try{t||null==s.return||s.return()}finally{if(r)throw a}}var f=!0,h=!1,m=void 0;try{for(var p,x=o[Symbol.iterator]();!(f=(p=x.next()).done);f=!0){var g=p.value,j=RegExp("\\b".concat(g,"\\b"),"g");n=n.replace(j,function(e){return e.toLowerCase()})}}catch(e){h=!0,m=e}finally{try{f||null==x.return||x.return()}finally{if(h)throw m}}return n}var c=/&(nbsp|amp|quot|lt|gt|apos|trade|copy);/g,s={amp:"&",apos:"'",cops:"\xa9",gt:">",lt:"<",nbsp:" ",quot:'"',trade:"™"};function u(e){return e?e.replace(/
/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(c,function(e,n){return s[n]}).replace(/&#?([0-9]+);/gi,function(e,n){return String.fromCharCode(Number.parseInt(n,10))}).replace(/&#x?([0-9a-f]+);/gi,function(e,n){return String.fromCharCode(Number.parseInt(n,16))}):e}},3375:function(e,n,t){"use strict";t.d(n,{Fl:()=>x,WP:()=>g,lO:()=>j,zA:()=>l});var r=t(2316),i=t(5490);function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ttJ,z2:()=>tM,wn:()=>rr,Z8:()=>x,y5:()=>m,Rr:()=>tp,aF:()=>t1,IC:()=>t2,XI:()=>ra,zv:()=>h,ms:()=>tI,_V:()=>tj,Y0:()=>v,$n:()=>n6,cG:()=>tx,m_:()=>nY,t1:()=>td,Nt:()=>th,so:()=>tB,Q7:()=>t6,SM:()=>rn,Ap:()=>ri,Ki:()=>tY,pd:()=>tF,N6:()=>tH,tU:()=>rh,Wx:()=>tQ,fs:()=>rg,D1:()=>ti,In:()=>I,c_:()=>tT,Hg:()=>tb,az:()=>y,BK:()=>tm,qT:()=>rv});var r,i,o,l,a=t(8138),c=t(6859),s=t(4530),u=t.t(s,2);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["as","className","children","tw"]),c=i?"".concat(i," ").concat((0,j.WP)(a)):(0,j.WP)(a);return(0,s.createElement)(void 0===r?"div":r,(n=b({},(0,j.Fl)(b({},a,(0,j.lO)(l)))),t=t={className:c},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n),o)}function v(e){var n=e.className,t=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["className"]);return(0,a.jsx)(y,function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var C=/-o$/;function I(e){var n=e.name,t=void 0===n?"":n,r=e.size,i=e.spin,o=e.className,l=e.rotation,c=_(e,["name","size","spin","className","rotation"]),s=c.style||{};r&&(s.fontSize="".concat(100*r,"%")),l&&(s.transform="rotate(".concat(l,"deg)")),c.style=s;var u=(0,j.Fl)(c),d="";if(t.startsWith("tg-"))d=t;else{var f=C.test(t),h=t.replace(C,""),m=!h.startsWith("fa-");d=f?"far ":"fas ",m&&(d+="fa-"),d+=h,i&&(d+=" fa-spin")}return(0,a.jsx)("i",k({className:(0,g.Ly)(["Icon",d,o,(0,j.WP)(c)])},u))}function S(){return"undefined"!=typeof window}function O(e){return E(e)?(e.nodeName||"").toLowerCase():"#document"}function A(e){var n;return(null==e||null==(n=e.ownerDocument)?void 0:n.defaultView)||window}function P(e){var n;return null==(n=(E(e)?e.ownerDocument:e.document)||window.document)?void 0:n.documentElement}function E(e){return!!S()&&(e instanceof Node||e instanceof A(e).Node)}function B(e){return!!S()&&(e instanceof Element||e instanceof A(e).Element)}function z(e){return!!S()&&(e instanceof HTMLElement||e instanceof A(e).HTMLElement)}function T(e){return!!S()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof A(e).ShadowRoot)}(I||(I={})).Stack=function(e){var n,t,r=e.className,i=e.children,o=e.size,l=_(e,["className","children","size"]),c=l.style||{};return o&&(c.fontSize="".concat(100*o,"%")),l.style=c,(0,a.jsx)("span",(n=k({className:(0,g.Ly)(["IconStack",r,(0,j.WP)(l)])},(0,j.Fl)(l)),t=t={children:i},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))};let N=new Set(["inline","contents"]);function $(e){let{overflow:n,overflowX:t,overflowY:r,display:i}=H(e);return/auto|scroll|overlay|hidden|clip/.test(n+r+t)&&!N.has(i)}let D=new Set(["table","td","th"]),R=[":popover-open",":modal"];function M(e){return R.some(n=>{try{return e.matches(n)}catch(e){return!1}})}let L=["transform","translate","scale","rotate","perspective"],K=["transform","translate","scale","rotate","perspective","filter"],J=["paint","layout","strict","content"];function X(e){let n=U(),t=B(e)?H(e):e;return L.some(e=>!!t[e]&&"none"!==t[e])||!!t.containerType&&"normal"!==t.containerType||!n&&!!t.backdropFilter&&"none"!==t.backdropFilter||!n&&!!t.filter&&"none"!==t.filter||K.some(e=>(t.willChange||"").includes(e))||J.some(e=>(t.contain||"").includes(e))}function U(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let F=new Set(["html","body","#document"]);function V(e){return F.has(O(e))}function H(e){return A(e).getComputedStyle(e)}function W(e){return B(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function q(e){if("html"===O(e))return e;let n=e.assignedSlot||e.parentNode||T(e)&&e.host||P(e);return T(n)?n.host:n}function G(e,n,t){var r;void 0===n&&(n=[]),void 0===t&&(t=!0);let i=function e(n){let t=q(n);return V(t)?n.ownerDocument?n.ownerDocument.body:n.body:z(t)&&$(t)?t:e(t)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=A(i);if(o){let e=Q(l);return n.concat(l,l.visualViewport||[],$(i)?i:[],e&&t?G(e):[])}return n.concat(i,G(i,[],t))}function Q(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var Y='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',Z="undefined"==typeof Element,ee=Z?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,en=!Z&&Element.prototype.getRootNode?function(e){var n;return null==e||null==(n=e.getRootNode)?void 0:n.call(e)}:function(e){return null==e?void 0:e.ownerDocument},et=function e(n,t){void 0===t&&(t=!0);var r,i=null==n||null==(r=n.getAttribute)?void 0:r.call(n,"inert");return""===i||"true"===i||t&&n&&e(n.parentNode)},er=function(e){var n,t=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"contenteditable");return""===t||"true"===t},ei=function(e,n,t){if(et(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(Y));return n&&ee.call(e,Y)&&r.unshift(e),r=r.filter(t)},eo=function e(n,t,r){for(var i=[],o=Array.from(n);o.length;){var l=o.shift();if(!et(l,!1))if("SLOT"===l.tagName){var a=l.assignedElements(),c=e(a.length?a:l.children,!0,r);r.flatten?i.push.apply(i,c):i.push({scopeParent:l,candidates:c})}else{ee.call(l,Y)&&r.filter(l)&&(t||!n.includes(l))&&i.push(l);var s=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),u=!et(s,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(s&&u){var d=e(!0===s?l.children:s.children,!0,r);r.flatten?i.push.apply(i,d):i.push({scopeParent:l,candidates:d})}else o.unshift.apply(o,l.children)}}return i},el=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ea=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||er(e))&&!el(e)?0:e.tabIndex},ec=function(e,n){var t=ea(e);return t<0&&n&&!el(e)?0:t},es=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},eu=function(e){return"INPUT"===e.tagName},ed=function(e,n){for(var t=0;tsummary:first-of-type")?e.parentElement:e;if(ee.call(i,"details:not([open]) *"))return!0;if(t&&"full"!==t&&"legacy-full"!==t){if("non-zero-area"===t)return ep(e)}else{if("function"==typeof r){for(var o=e;e;){var l=e.parentElement,a=en(e);if(l&&!l.shadowRoot&&!0===r(l))return ep(e);e=e.assignedSlot?e.assignedSlot:l||a===e.ownerDocument?l:a.host}e=o}if(em(e))return!e.getClientRects().length;if("legacy-full"!==t)return!0}return!1},eg=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if("FIELDSET"===n.tagName&&n.disabled){for(var t=0;tea(n))&&!!ej(e,n)},ey=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(n)||!!(n>=0)},ev=function e(n){var t=[],r=[];return n.forEach(function(n,i){var o=!!n.scopeParent,l=o?n.scopeParent:n,a=ec(l,o),c=o?e(n.candidates):l;0===a?o?t.push.apply(t,c):t.push(l):r.push({documentOrder:i,tabIndex:a,item:n,isScope:o,content:c})}),r.sort(es).reduce(function(e,n){return n.isScope?e.push.apply(e,n.content):e.push(n.content),e},[]).concat(t)},ew=function(e,n){return ev((n=n||{}).getShadowRoot?eo([e],n.includeContainer,{filter:eb.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:ey}):ei(e,n.includeContainer,eb.bind(null,n)))};function ek(e,n){if(!e||!n)return!1;let t=null==n.getRootNode?void 0:n.getRootNode();if(e.contains(n))return!0;if(t&&T(t)){let t=n;for(;t;){if(e===t)return!0;t=t.parentNode||t.host}}return!1}function e_(e){return"composedPath"in e?e.composedPath()[0]:e.target}function eC(e,n){return null!=n&&("composedPath"in e?e.composedPath().includes(n):null!=e.target&&n.contains(e.target))}function eI(e){return(null==e?void 0:e.ownerDocument)||document}function eS(e,n,t){return void 0===t&&(t=!0),e.filter(e=>{var r;return e.parentId===n&&(!t||(null==(r=e.context)?void 0:r.open))}).flatMap(n=>[n,...eS(e,n.id,t)])}function eO(e,n){let t=["mouse","pen"];return n||t.push("",void 0),t.includes(e)}var eA="undefined"!=typeof document?s.useLayoutEffect:function(){};function eP(e){let n=s.useRef(e);return eA(()=>{n.current=e}),n}let eE={...u}.useInsertionEffect||(e=>e());function eB(e){let n=s.useRef(()=>{});return eE(()=>{n.current=e}),s.useCallback(function(){for(var e=arguments.length,t=Array(e),r=0;r({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function eT(e,n){let t=ew(e,ez()),r=t.length;if(0===r)return;let i=function(e){let n=e.activeElement;for(;(null==(t=n)||null==(t=t.shadowRoot)?void 0:t.activeElement)!=null;){var t;n=n.shadowRoot.activeElement}return n}(eI(e)),o=t.indexOf(i);return t[-1===o?1===n?0:r-1:o+n]}function eN(e,n){let t=n||e.currentTarget,r=e.relatedTarget;return!r||!ek(t,r)}function e$(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let n=e.dataset.tabindex;delete e.dataset.tabindex,n?e.setAttribute("tabindex",n):e.removeAttribute("tabindex")})}var eD=t(6634);let eR=Math.min,eM=Math.max,eL=Math.round,eK=Math.floor,eJ=e=>({x:e,y:e}),eX={left:"right",right:"left",bottom:"top",top:"bottom"},eU={start:"end",end:"start"};function eF(e,n){return"function"==typeof e?e(n):e}function eV(e){return e.split("-")[0]}function eH(e){return e.split("-")[1]}function eW(e){return"x"===e?"y":"x"}function eq(e){return"y"===e?"height":"width"}let eG=new Set(["top","bottom"]);function eQ(e){return eG.has(eV(e))?"y":"x"}function eY(e){return e.replace(/start|end/g,e=>eU[e])}let eZ=["left","right"],e0=["right","left"],e1=["top","bottom"],e2=["bottom","top"];function e8(e){return e.replace(/left|right|bottom|top/g,e=>eX[e])}function e3(e){let{x:n,y:t,width:r,height:i}=e;return{width:r,height:i,top:t,left:n,right:n+r,bottom:t+i,x:n,y:t}}function e5(e,n,t){let r,{reference:i,floating:o}=e,l=eQ(n),a=eW(eQ(n)),c=eq(a),s=eV(n),u="y"===l,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,h=i[c]/2-o[c]/2;switch(s){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}switch(eH(n)){case"start":r[a]-=h*(t&&u?-1:1);break;case"end":r[a]+=h*(t&&u?-1:1)}return r}let e4=async(e,n,t)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=t,a=o.filter(Boolean),c=await (null==l.isRTL?void 0:l.isRTL(n)),s=await l.getElementRects({reference:e,floating:n,strategy:i}),{x:u,y:d}=e5(s,r,c),f=r,h={},m=0;for(let t=0;tB(e)&&"body"!==O(e)),i=null,o="fixed"===H(e).position,l=o?q(e):e;for(;B(l)&&!V(l);){let n=H(l),t=X(l);t||"fixed"!==n.position||(i=null),(o?!t&&!i:!t&&"static"===n.position&&!!i&&nc.has(i.position)||$(l)&&!t&&function e(n,t){let r=q(n);return!(r===t||!B(r)||V(r))&&("fixed"===H(r).position||e(r,t))}(e,l))?r=r.filter(e=>e!==l):i=n,l=q(l)}return n.set(e,r),r}(n,this._c):[].concat(t),r],l=o[0],a=o.reduce((e,t)=>{let r=ns(n,t,i);return e.top=eM(r.top,e.top),e.right=eR(r.right,e.right),e.bottom=eR(r.bottom,e.bottom),e.left=eM(r.left,e.left),e},ns(n,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:nf,getElementRects:nh,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:n,height:t}=ne(e);return{width:n,height:t}},getScale:nt,isElement:B,isRTL:function(e){return"rtl"===H(e).direction}};function np(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}var nx="undefined"!=typeof document?s.useLayoutEffect:function(){};function ng(e,n){let t,r,i;if(e===n)return!0;if(typeof e!=typeof n)return!1;if("function"==typeof e&&e.toString()===n.toString())return!0;if(e&&n&&"object"==typeof e){if(Array.isArray(e)){if((t=e.length)!==n.length)return!1;for(r=t;0!=r--;)if(!ng(e[r],n[r]))return!1;return!0}if((t=(i=Object.keys(e)).length)!==Object.keys(n).length)return!1;for(r=t;0!=r--;)if(!({}).hasOwnProperty.call(n,i[r]))return!1;for(r=t;0!=r--;){let t=i[r];if(("_owner"!==t||!e.$$typeof)&&!ng(e[t],n[t]))return!1}return!0}return e!=e&&n!=n}function nj(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nb(e,n){let t=nj(e);return Math.round(n*t)/t}function ny(e){let n=s.useRef(e);return nx(()=>{n.current=e}),n}let nv="active",nw="selected",nk={...u},n_=!1,nC=0,nI=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+nC++,nS=nk.useId||function(){let[e,n]=s.useState(()=>n_?nI():void 0);return eA(()=>{null==e&&n(nI())},[]),s.useEffect(()=>{n_=!0},[]),e},nO=s.createContext(null),nA=s.createContext(null),nP=()=>{var e;return(null==(e=s.useContext(nO))?void 0:e.id)||null};function nE(e){return"data-floating-ui-"+e}function nB(e){-1!==e.current&&(clearTimeout(e.current),e.current=-1)}let nz=nE("safe-polygon");function nT(e,n,t){if(t&&!eO(t))return 0;if("number"==typeof e)return e;if("function"==typeof e){let t=e();return"number"==typeof t?t:null==t?void 0:t[n]}return null==e?void 0:e[n]}function nN(e){return"function"==typeof e?e():e}let n$={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0},nD=s.forwardRef(function(e,n){let[t,r]=s.useState();eA(()=>{/apple/i.test(navigator.vendor)&&r("button")},[]);let i={ref:n,tabIndex:0,role:t,"aria-hidden":!t||void 0,[nE("focus-guard")]:"",style:n$};return(0,a.jsx)("span",{...e,...i})}),nR=s.createContext(null),nM=nE("portal");function nL(e){let{children:n,id:t,root:r,preserveTabOrder:i=!0}=e,o=function(e){void 0===e&&(e={});let{id:n,root:t}=e,r=nS(),i=nK(),[o,l]=s.useState(null),a=s.useRef(null);return eA(()=>()=>{null==o||o.remove(),queueMicrotask(()=>{a.current=null})},[o]),eA(()=>{if(!r||a.current)return;let e=n?document.getElementById(n):null;if(!e)return;let t=document.createElement("div");t.id=r,t.setAttribute(nM,""),e.appendChild(t),a.current=t,l(t)},[n,r]),eA(()=>{if(null===t||!r||a.current)return;let e=t||(null==i?void 0:i.portalNode);e&&!E(e)&&(e=e.current),e=e||document.body;let o=null;n&&((o=document.createElement("div")).id=n,e.appendChild(o));let c=document.createElement("div");c.id=r,c.setAttribute(nM,""),(e=o||e).appendChild(c),a.current=c,l(c)},[n,t,r,i]),o}({id:t,root:r}),[l,c]=s.useState(null),u=s.useRef(null),d=s.useRef(null),f=s.useRef(null),h=s.useRef(null),m=null==l?void 0:l.modal,p=null==l?void 0:l.open,x=!!l&&!l.modal&&l.open&&i&&!!(r||o);return s.useEffect(()=>{if(o&&i&&!m)return o.addEventListener("focusin",e,!0),o.addEventListener("focusout",e,!0),()=>{o.removeEventListener("focusin",e,!0),o.removeEventListener("focusout",e,!0)};function e(e){o&&eN(e)&&("focusin"===e.type?e$:function(e){ew(e,ez()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})})(o)}},[o,i,m]),s.useEffect(()=>{!o||p||e$(o)},[p,o]),(0,a.jsxs)(nR.Provider,{value:s.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:u,afterOutsideRef:d,beforeInsideRef:f,afterInsideRef:h,portalNode:o,setFocusManagerState:c}),[i,o]),children:[x&&o&&(0,a.jsx)(nD,{"data-type":"outside",ref:u,onFocus:e=>{var n,t;if(eN(e,o))null==(n=f.current)||n.focus();else{let e=eT(eI(t=l?l.domReference:null).body,-1)||t;null==e||e.focus()}}}),x&&o&&(0,a.jsx)("span",{"aria-owns":o.id,style:n$}),o&&eD.createPortal(n,o),x&&o&&(0,a.jsx)(nD,{"data-type":"outside",ref:d,onFocus:e=>{var n,t;if(eN(e,o))null==(n=h.current)||n.focus();else{let n=eT(eI(t=l?l.domReference:null).body,1)||t;null==n||n.focus(),(null==l?void 0:l.closeOnFocusOut)&&(null==l||l.onOpenChange(!1,e.nativeEvent,"focus-out"))}}})]})}let nK=()=>s.useContext(nR);function nJ(e){return z(e.target)&&"BUTTON"===e.target.tagName}function nX(e){return z(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}let nU={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},nF={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},nV=e=>{var n,t;return{escapeKey:"boolean"==typeof e?e:null!=(n=null==e?void 0:e.escapeKey)&&n,outsidePress:"boolean"==typeof e?e:null==(t=null==e?void 0:e.outsidePress)||t}};function nH(e,n,t){let r=new Map,i="item"===t,o=e;if(i&&e){let{[nv]:n,[nw]:t,...r}=e;o=r}return{..."floating"===t&&{tabIndex:-1,"data-floating-ui-focusable":""},...o,...n.map(n=>{let r=n?n[t]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,n)=>(n&&Object.entries(n).forEach(n=>{let[t,o]=n;if(!(i&&[nv,nw].includes(t)))if(0===t.indexOf("on")){if(r.has(t)||r.set(t,[]),"function"==typeof o){var l;null==(l=r.get(t))||l.push(o),e[t]=function(){for(var e,n=arguments.length,i=Array(n),o=0;oe(...i)).find(e=>void 0!==e)}}}else e[t]=o}),e),{})}}function nW(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t{let e;return e=new Map,{emit(n,t){var r;null==(r=e.get(n))||r.forEach(e=>e(t))},on(n,t){e.has(n)||e.set(n,new Set),e.get(n).add(t)},off(n,t){var r;null==(r=e.get(n))||r.delete(t)}}}),a=null!=nP(),[c,u]=s.useState(r.reference),d=eB((e,n,r)=>{o.current.openEvent=e?n:void 0,l.emit("openchange",{open:e,event:n,reason:r,nested:a}),null==t||t(e,n,r)}),f=s.useMemo(()=>({setPositionReference:u}),[]),h=s.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return s.useMemo(()=>({dataRef:o,open:n,onOpenChange:d,elements:h,events:l,floatingId:i,refs:f}),[n,d,h,l,i,f])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||t,i=r.elements,[o,l]=s.useState(null),[a,c]=s.useState(null),u=(null==i?void 0:i.domReference)||o,d=s.useRef(null),f=s.useContext(nA);eA(()=>{u&&(d.current=u)},[u]);let h=function(e){void 0===e&&(e={});let{placement:n="bottom",strategy:t="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:l}={},transform:a=!0,whileElementsMounted:c,open:u}=e,[d,f]=s.useState({x:0,y:0,strategy:t,placement:n,middlewareData:{},isPositioned:!1}),[h,m]=s.useState(r);ng(h,r)||m(r);let[p,x]=s.useState(null),[g,j]=s.useState(null),b=s.useCallback(e=>{e!==k.current&&(k.current=e,x(e))},[]),y=s.useCallback(e=>{e!==_.current&&(_.current=e,j(e))},[]),v=o||p,w=l||g,k=s.useRef(null),_=s.useRef(null),C=s.useRef(d),I=null!=c,S=ny(c),O=ny(i),A=ny(u),P=s.useCallback(()=>{var e,r;let i,o,l;if(!k.current||!_.current)return;let a={placement:n,strategy:t,middleware:h};O.current&&(a.platform=O.current),(e=k.current,r=_.current,i=new Map,l={...(o={platform:nm,...a}).platform,_c:i},e4(e,r,{...o,platform:l})).then(e=>{let n={...e,isPositioned:!1!==A.current};E.current&&!ng(C.current,n)&&(C.current=n,eD.flushSync(()=>{f(n)}))})},[h,n,t,O,A]);nx(()=>{!1===u&&C.current.isPositioned&&(C.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[u]);let E=s.useRef(!1);nx(()=>(E.current=!0,()=>{E.current=!1}),[]),nx(()=>{if(v&&(k.current=v),w&&(_.current=w),v&&w){if(S.current)return S.current(v,w,P);P()}},[v,w,P,S,I]);let B=s.useMemo(()=>({reference:k,floating:_,setReference:b,setFloating:y}),[b,y]),z=s.useMemo(()=>({reference:v,floating:w}),[v,w]),T=s.useMemo(()=>{let e={position:t,left:0,top:0};if(!z.floating)return e;let n=nb(z.floating,d.x),r=nb(z.floating,d.y);return a?{...e,transform:"translate("+n+"px, "+r+"px)",...nj(z.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:n,top:r}},[t,a,z.floating,d.x,d.y]);return s.useMemo(()=>({...d,update:P,refs:B,elements:z,floatingStyles:T}),[d,P,B,z,T])}({...e,elements:{...i,...a&&{reference:a}}}),m=s.useCallback(e=>{let n=B(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;c(n),h.refs.setReference(n)},[h.refs]),p=s.useCallback(e=>{(B(e)||null===e)&&(d.current=e,l(e)),(B(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!B(e))&&h.refs.setReference(e)},[h.refs]),x=s.useMemo(()=>({...h.refs,setReference:p,setPositionReference:m,domReference:d}),[h.refs,p,m]),g=s.useMemo(()=>({...h.elements,domReference:u}),[h.elements,u]),j=s.useMemo(()=>({...h,...r,refs:x,elements:g,nodeId:n}),[h,x,g,n,r]);return eA(()=>{r.dataRef.current.floatingContext=j;let e=null==f?void 0:f.nodesRef.current.find(e=>e.id===n);e&&(e.context=j)}),s.useMemo(()=>({...h,context:j,refs:x,elements:g}),[h,x,g,j])}({middleware:[{...(void 0===(f=u=void 0===N?6:N)&&(f=0),{name:"offset",options:f,async fn(e){var n,t;let{x:r,y:i,placement:o,middlewareData:l}=e,a=await e9(e,f);return o===(null==(n=l.offset)?void 0:n.placement)&&null!=(t=l.arrow)&&t.alignmentOffset?{}:{x:r+a.x,y:i+a.y,data:{...a,placement:o}}}}),options:[u,d]},{...{name:"flip",options:p=h={padding:6},async fn(e){var n,t,r,i,o,l,a,c;let s,u,d,{placement:f,middlewareData:h,rects:m,initialPlacement:x,platform:g,elements:j}=e,{mainAxis:b=!0,crossAxis:y=!0,fallbackPlacements:v,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:_=!0,...C}=eF(p,e);if(null!=(n=h.arrow)&&n.alignmentOffset)return{};let I=eV(f),S=eQ(x),O=eV(x)===x,A=await (null==g.isRTL?void 0:g.isRTL(j.floating)),P=v||(O||!_?[e8(x)]:(s=e8(x),[eY(x),s,eY(s)])),E="none"!==k;!v&&E&&P.push(...(u=eH(x),d=function(e,n,t){switch(e){case"top":case"bottom":if(t)return n?e0:eZ;return n?eZ:e0;case"left":case"right":return n?e1:e2;default:return[]}}(eV(x),"start"===k,A),u&&(d=d.map(e=>e+"-"+u),_&&(d=d.concat(d.map(eY)))),d));let B=[x,...P],z=await e6(e,C),T=[],N=(null==(t=h.flip)?void 0:t.overflows)||[];if(b&&T.push(z[I]),y){let e,n,t,r,i=(l=f,a=m,void 0===(c=A)&&(c=!1),e=eH(l),t=eq(n=eW(eQ(l))),r="x"===n?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[t]>a.floating[t]&&(r=e8(r)),[r,e8(r)]);T.push(z[i[0]],z[i[1]])}if(N=[...N,{placement:f,overflows:T}],!T.every(e=>e<=0)){let e=((null==(r=h.flip)?void 0:r.index)||0)+1,n=B[e];if(n&&("alignment"!==y||S===eQ(n)||N.every(e=>eQ(e.placement)!==S||e.overflows[0]>0)))return{data:{index:e,overflows:N},reset:{placement:n}};let t=null==(i=N.filter(e=>e.overflows[0]<=0).sort((e,n)=>e.overflows[1]-n.overflows[1])[0])?void 0:i.placement;if(!t)switch(w){case"bestFit":{let e=null==(o=N.filter(e=>{if(E){let n=eQ(e.placement);return n===S||"y"===n}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,n)=>e+n,0)]).sort((e,n)=>e[1]-n[1])[0])?void 0:o[0];e&&(t=e);break}case"initialPlacement":t=x}if(f!==t)return{reset:{placement:t}}}return{}}},options:[h,m]},{...(void 0===(b=x)&&(b={}),{name:"shift",options:b,async fn(e){let{x:n,y:t,placement:r}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:l={fn:e=>{let{x:n,y:t}=e;return{x:n,y:t}}},...a}=eF(b,e),c={x:n,y:t},s=await e6(e,a),u=eQ(eV(r)),d=eW(u),f=c[d],h=c[u];if(i){let e="y"===d?"top":"left",n="y"===d?"bottom":"right",t=f+s[e],r=f-s[n];f=eM(t,eR(f,r))}if(o){let e="y"===u?"top":"left",n="y"===u?"bottom":"right",t=h+s[e],r=h-s[n];h=eM(t,eR(h,r))}let m=l.fn({...e,[d]:f,[u]:h});return{...m,data:{x:m.x-n,y:m.y-t,enabled:{[d]:i,[u]:o}}}}}),options:[x,j]},E&&{...{name:"size",options:w=y={apply:function(e){var n=e.rects;e.elements.floating.style.width="".concat(n.reference.width,"px")}},async fn(e){var n,t;let r,i,{placement:o,rects:l,platform:a,elements:c}=e,{apply:s=()=>{},...u}=eF(w,e),d=await e6(e,u),f=eV(o),h=eH(o),m="y"===eQ(o),{width:p,height:x}=l.floating;"top"===f||"bottom"===f?(r=f,i=h===(await (null==a.isRTL?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(i=f,r="end"===h?"top":"bottom");let g=x-d.top-d.bottom,j=p-d.left-d.right,b=eR(x-d[r],g),y=eR(p-d[i],j),v=!e.middlewareData.shift,k=b,_=y;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(_=j),null!=(t=e.middlewareData.shift)&&t.enabled.y&&(k=g),v&&!h){let e=eM(d.left,0),n=eM(d.right,0),t=eM(d.top,0),r=eM(d.bottom,0);m?_=p-2*(0!==e||0!==n?e+n:eM(d.left,d.right)):k=x-2*(0!==t||0!==r?t+r:eM(d.top,d.bottom))}await s({...e,availableWidth:_,availableHeight:k});let C=await a.getDimensions(c.floating);return p!==C.width||x!==C.height?{reset:{rects:!0}}:{}}},options:[y,v]}],onOpenChange:function(e){Z(e),null==W||W(e)},open:Y,placement:J||"bottom",transform:!1,whileElementsMounted:function(e,n,t){return void 0!==K&&K(),function(e,n,t,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,u=nn(e),d=o||l?[...u?G(u):[],...G(n)]:[];d.forEach(e=>{o&&e.addEventListener("scroll",t,{passive:!0}),l&&e.addEventListener("resize",t)});let f=u&&c?function(e,n){let t,r=null,i=P(e);function o(){var e;clearTimeout(t),null==(e=r)||e.disconnect(),r=null}return!function l(a,c){void 0===a&&(a=!1),void 0===c&&(c=1),o();let s=e.getBoundingClientRect(),{left:u,top:d,width:f,height:h}=s;if(a||n(),!f||!h)return;let m={rootMargin:-eK(d)+"px "+-eK(i.clientWidth-(u+f))+"px "+-eK(i.clientHeight-(d+h))+"px "+-eK(u)+"px",threshold:eM(0,eR(1,c))||1},p=!0;function x(n){let r=n[0].intersectionRatio;if(r!==c){if(!p)return l();r?l(!1,r):t=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||np(s,e.getBoundingClientRect())||l(),p=!1}try{r=new IntersectionObserver(x,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(x,m)}r.observe(e)}(!0),o}(u,t):null,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&m&&(m.unobserve(n),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(n)})),t()}),u&&!s&&m.observe(u),m.observe(n));let p=s?no(e):null;return s&&function n(){let r=no(e);p&&!np(p,r)&&t(),p=r,i=requestAnimationFrame(n)}(),t(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",t),l&&e.removeEventListener("resize",t)}),null==f||f(),null==(e=m)||e.disconnect(),m=null,s&&cancelAnimationFrame(i)}}(e,n,t,{ancestorResize:!1,ancestorScroll:!1,elementResize:!1})}}),en=ee.refs,et=ee.floatingStyles,er=ee.context,ei=function(e,n){void 0===n&&(n={});let{open:t,elements:{floating:r}}=e,{duration:i=250}=n,o=("number"==typeof i?i:i.close)||0,[l,a]=s.useState("unmounted"),c=function(e,n){let[t,r]=s.useState(e);return e&&!t&&r(!0),s.useEffect(()=>{if(!e&&t){let e=setTimeout(()=>r(!1),n);return()=>clearTimeout(e)}},[e,t,n]),t}(t,o);return c||"close"!==l||a("unmounted"),eA(()=>{if(r){if(t){a("initial");let e=requestAnimationFrame(()=>{eD.flushSync(()=>{a("open")})});return()=>{cancelAnimationFrame(e)}}a("close")}},[t,r]),{isMounted:c,status:l}}(er,{duration:I||200}),eo=ei.isMounted,el=ei.status,ea=function(e,n){void 0===n&&(n={});let{open:t,onOpenChange:r,elements:i,dataRef:o}=e,{enabled:l=!0,escapeKey:a=!0,outsidePress:c=!0,outsidePressEvent:u="pointerdown",referencePress:d=!1,referencePressEvent:f="pointerdown",ancestorScroll:h=!1,bubbles:m,capture:p}=n,x=s.useContext(nA),g=eB("function"==typeof c?c:()=>!1),j="function"==typeof c?g:c,b=s.useRef(!1),{escapeKey:y,outsidePress:v}=nV(m),{escapeKey:w,outsidePress:k}=nV(p),_=s.useRef(!1),C=eB(e=>{var n;if(!t||!l||!a||"Escape"!==e.key||_.current)return;let i=null==(n=o.current.floatingContext)?void 0:n.nodeId,c=x?eS(x.nodesRef.current,i):[];if(!y&&(e.stopPropagation(),c.length>0)){let e=!0;if(c.forEach(n=>{var t;if(null!=(t=n.context)&&t.open&&!n.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}r(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}),I=eB(e=>{var n;let t=()=>{var n;C(e),null==(n=e_(e))||n.removeEventListener("keydown",t)};null==(n=e_(e))||n.addEventListener("keydown",t)}),S=eB(e=>{var n;let t=o.current.insideReactTree;o.current.insideReactTree=!1;let l=b.current;if(b.current=!1,"click"===u&&l||t||"function"==typeof j&&!j(e))return;let a=e_(e),c="["+nE("inert")+"]",s=eI(i.floating).querySelectorAll(c),d=B(a)?a:null;for(;d&&!V(d);){let e=q(d);if(V(e)||!B(e))break;d=e}if(s.length&&B(a)&&!a.matches("html,body")&&!ek(a,i.floating)&&Array.from(s).every(e=>!ek(d,e)))return;if(z(a)&&P){let n=V(a),t=H(a),r=/auto|scroll/,i=n||r.test(t.overflowX),o=n||r.test(t.overflowY),l=i&&a.clientWidth>0&&a.scrollWidth>a.clientWidth,c=o&&a.clientHeight>0&&a.scrollHeight>a.clientHeight,s="rtl"===t.direction,u=c&&(s?e.offsetX<=a.offsetWidth-a.clientWidth:e.offsetX>a.clientWidth),d=l&&e.offsetY>a.clientHeight;if(u||d)return}let f=null==(n=o.current.floatingContext)?void 0:n.nodeId,h=x&&eS(x.nodesRef.current,f).some(n=>{var t;return eC(e,null==(t=n.context)?void 0:t.elements.floating)});if(eC(e,i.floating)||eC(e,i.domReference)||h)return;let m=x?eS(x.nodesRef.current,f):[];if(m.length>0){let e=!0;if(m.forEach(n=>{var t;if(null!=(t=n.context)&&t.open&&!n.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}r(!1,e,"outside-press")}),O=eB(e=>{var n;let t=()=>{var n;S(e),null==(n=e_(e))||n.removeEventListener(u,t)};null==(n=e_(e))||n.addEventListener(u,t)});s.useEffect(()=>{if(!t||!l)return;o.current.__escapeKeyBubbles=y,o.current.__outsidePressBubbles=v;let e=-1;function n(e){r(!1,e,"ancestor-scroll")}function c(){window.clearTimeout(e),_.current=!0}function s(){e=window.setTimeout(()=>{_.current=!1},5*!!U())}let d=eI(i.floating);a&&(d.addEventListener("keydown",w?I:C,w),d.addEventListener("compositionstart",c),d.addEventListener("compositionend",s)),j&&d.addEventListener(u,k?O:S,k);let f=[];return h&&(B(i.domReference)&&(f=G(i.domReference)),B(i.floating)&&(f=f.concat(G(i.floating))),!B(i.reference)&&i.reference&&i.reference.contextElement&&(f=f.concat(G(i.reference.contextElement)))),(f=f.filter(e=>{var n;return e!==(null==(n=d.defaultView)?void 0:n.visualViewport)})).forEach(e=>{e.addEventListener("scroll",n,{passive:!0})}),()=>{a&&(d.removeEventListener("keydown",w?I:C,w),d.removeEventListener("compositionstart",c),d.removeEventListener("compositionend",s)),j&&d.removeEventListener(u,k?O:S,k),f.forEach(e=>{e.removeEventListener("scroll",n)}),window.clearTimeout(e)}},[o,i,a,j,u,t,r,h,l,y,v,C,w,I,S,k,O]),s.useEffect(()=>{o.current.insideReactTree=!1},[o,j,u]);let A=s.useMemo(()=>({onKeyDown:C,...d&&{[nU[f]]:e=>{r(!1,e.nativeEvent,"reference-press")},..."click"!==f&&{onClick(e){r(!1,e.nativeEvent,"reference-press")}}}}),[C,r,d,f]),P=s.useMemo(()=>({onKeyDown:C,onMouseDown(){b.current=!0},onMouseUp(){b.current=!0},[nF[u]]:()=>{o.current.insideReactTree=!0}}),[C,u,o]);return s.useMemo(()=>l?{reference:A,floating:P}:{},[l,A,P])}(er,{ancestorScroll:!0,outsidePress:function(e){var n,t;return!C||(n=e.target,(null!=(t=Element)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](n):n instanceof t)&&!e.target.closest(C))}}),ec=function(e,n){void 0===n&&(n={});let{open:t,onOpenChange:r,dataRef:i,elements:{domReference:o}}=e,{enabled:l=!0,event:a="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:d=!0,stickIfOpen:f=!0}=n,h=s.useRef(),m=s.useRef(!1),p=s.useMemo(()=>({onPointerDown(e){h.current=e.pointerType},onMouseDown(e){let n=h.current;0!==e.button||"click"===a||eO(n,!0)&&u||(t&&c&&(!i.current.openEvent||!f||"mousedown"===i.current.openEvent.type)?r(!1,e.nativeEvent,"click"):(e.preventDefault(),r(!0,e.nativeEvent,"click")))},onClick(e){let n=h.current;if("mousedown"===a&&h.current){h.current=void 0;return}eO(n,!0)&&u||(t&&c&&(!i.current.openEvent||!f||"click"===i.current.openEvent.type)?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))},onKeyDown(e){h.current=void 0,!(e.defaultPrevented||!d||nJ(e))&&(" "!==e.key||nX(o)||(e.preventDefault(),m.current=!0),z(e.target)&&"A"===e.target.tagName||"Enter"!==e.key||(t&&c?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click")))},onKeyUp(e){!(e.defaultPrevented||!d||nJ(e)||nX(o))&&" "===e.key&&m.current&&(m.current=!1,t&&c?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))}}),[i,o,a,u,d,r,t,f,c]);return s.useMemo(()=>l?{reference:p}:{},[l,p])}(er,{enabled:!D}),es=function(e,n){void 0===n&&(n={});let{open:t,onOpenChange:r,dataRef:i,events:o,elements:l}=e,{enabled:a=!0,delay:c=0,handleClose:u=null,mouseOnly:d=!1,restMs:f=0,move:h=!0}=n,m=s.useContext(nA),p=nP(),x=eP(u),g=eP(c),j=eP(t),b=eP(f),y=s.useRef(),v=s.useRef(-1),w=s.useRef(),k=s.useRef(-1),_=s.useRef(!0),C=s.useRef(!1),I=s.useRef(()=>{}),S=s.useRef(!1),O=eB(()=>{var e;let n=null==(e=i.current.openEvent)?void 0:e.type;return(null==n?void 0:n.includes("mouse"))&&"mousedown"!==n});s.useEffect(()=>{if(a)return o.on("openchange",e),()=>{o.off("openchange",e)};function e(e){let{open:n}=e;n||(nB(v),nB(k),_.current=!0,S.current=!1)}},[a,o]),s.useEffect(()=>{if(!a||!x.current||!t)return;function e(e){O()&&r(!1,e,"hover")}let n=eI(l.floating).documentElement;return n.addEventListener("mouseleave",e),()=>{n.removeEventListener("mouseleave",e)}},[l.floating,t,r,a,x,O]);let A=s.useCallback(function(e,n,t){void 0===n&&(n=!0),void 0===t&&(t="hover");let i=nT(g.current,"close",y.current);i&&!w.current?(nB(v),v.current=window.setTimeout(()=>r(!1,e,t),i)):n&&(nB(v),r(!1,e,t))},[g,r]),P=eB(()=>{I.current(),w.current=void 0}),E=eB(()=>{if(C.current){let e=eI(l.floating).body;e.style.pointerEvents="",e.removeAttribute(nz),C.current=!1}}),z=eB(()=>!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type));s.useEffect(()=>{if(a&&B(l.domReference)){let r=l.domReference,i=l.floating;return t&&r.addEventListener("mouseleave",o),h&&r.addEventListener("mousemove",e,{once:!0}),r.addEventListener("mouseenter",e),r.addEventListener("mouseleave",n),i&&(i.addEventListener("mouseleave",o),i.addEventListener("mouseenter",c),i.addEventListener("mouseleave",s)),()=>{t&&r.removeEventListener("mouseleave",o),h&&r.removeEventListener("mousemove",e),r.removeEventListener("mouseenter",e),r.removeEventListener("mouseleave",n),i&&(i.removeEventListener("mouseleave",o),i.removeEventListener("mouseenter",c),i.removeEventListener("mouseleave",s))}}function e(e){if(nB(v),_.current=!1,d&&!eO(y.current)||nN(b.current)>0&&!nT(g.current,"open"))return;let n=nT(g.current,"open",y.current);n?v.current=window.setTimeout(()=>{j.current||r(!0,e,"hover")},n):t||r(!0,e,"hover")}function n(e){if(z())return void E();I.current();let n=eI(l.floating);if(nB(k),S.current=!1,x.current&&i.current.floatingContext){t||nB(v),w.current=x.current({...i.current.floatingContext,tree:m,x:e.clientX,y:e.clientY,onClose(){E(),P(),z()||A(e,!0,"safe-polygon")}});let r=w.current;n.addEventListener("mousemove",r),I.current=()=>{n.removeEventListener("mousemove",r)};return}"touch"===y.current&&ek(l.floating,e.relatedTarget)||A(e)}function o(e){z()||i.current.floatingContext&&(null==x.current||x.current({...i.current.floatingContext,tree:m,x:e.clientX,y:e.clientY,onClose(){E(),P(),z()||A(e)}})(e))}function c(){nB(v)}function s(e){z()||A(e,!1)}},[l,a,e,d,h,A,P,E,r,t,j,m,g,x,i,z,b]),eA(()=>{var e,n;if(a&&t&&null!=(e=x.current)&&null!=(e=e.__options)&&e.blockPointerEvents&&O()){C.current=!0;let e=l.floating;if(B(l.domReference)&&e){let t=eI(l.floating).body;t.setAttribute(nz,"");let r=l.domReference,i=null==m||null==(n=m.nodesRef.current.find(e=>e.id===p))||null==(n=n.context)?void 0:n.elements.floating;return i&&(i.style.pointerEvents=""),t.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{t.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}},[a,t,p,l,m,x,O]),eA(()=>{t||(y.current=void 0,S.current=!1,P(),E())},[t,P,E]),s.useEffect(()=>()=>{P(),nB(v),nB(k),E()},[a,l.domReference,P,E]);let T=s.useMemo(()=>{function e(e){y.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:n}=e;function i(){_.current||j.current||r(!0,n,"hover")}d&&!eO(y.current)||t||0===nN(b.current)||S.current&&e.movementX**2+e.movementY**2<2||(nB(k),"touch"===y.current?i():(S.current=!0,k.current=window.setTimeout(i,nN(b.current))))}}},[d,r,t,j,b]);return s.useMemo(()=>a?{reference:T}:{},[a,T])}(er,{enabled:!D,restMs:R||200}),eu=void 0!==L,ed=(n=(k=eu?[]:[ea,M?es:ec]).map(e=>null==e?void 0:e.reference),t=k.map(e=>null==e?void 0:e.floating),r=k.map(e=>null==e?void 0:e.item),i=s.useCallback(e=>nH(e,k,"reference"),n),o=s.useCallback(e=>nH(e,k,"floating"),t),l=s.useCallback(e=>nH(e,k,"item"),r),s.useMemo(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:l}),[i,o,l])),ef=ed.getReferenceProps,eh=ed.getFloatingProps,em=ef(nq({ref:en.setReference},F&&{onClick:function(e){return e.stopPropagation()}})),ep=eh({onClick:function(){O&&er.onOpenChange(!1)},ref:en.setFloating});(0,s.useEffect)(function(){eu&&er.onOpenChange(L)},[L]),_=(0,s.isValidElement)(S)?(0,s.cloneElement)(S,em):(0,a.jsx)("div",nG(nq({},em),{children:S}));var ex=(0,a.jsx)("div",nG(nq({className:(0,g.Ly)(["Floating",!I&&"Floating--animated",T]),"data-position":er.placement,"data-transition":el,style:nq({},et,$)},ep),{children:A}));return(0,a.jsxs)(a.Fragment,{children:[_,eo&&!!A&&(X?ex:(0,a.jsx)(nL,{id:"tgui-root",children:ex}))]})}function nY(e){var n=e.content,t=e.children,r=e.position;return(0,a.jsx)(nQ,{content:n,contentClasses:"Tooltip",hoverOpen:!0,placement:r,children:t})}function nZ(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function n5(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),!n||o.length!==n);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(e,n)||function(e,n){if(e){if("string"==typeof e)return nZ(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return nZ(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n4(e,n){var t,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return l.next=a(0),l.throw=a(1),l.return=a(2),"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function a(a){return function(c){var s=[a,c];if(t)throw TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(o=0)),o;)try{if(t=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2];return function(){for(var i=arguments.length,o=Array(i),l=0;l=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["params","phonehome"]),i=(0,s.useRef)(null),o=(0,s.useRef)(function(e){var n=!(arguments.length>1)||void 0===arguments[1]||arguments[1],t=tr.length;tr.push(null);var r=e||"byondui_".concat(t);return{render:function(e){n&&Byond.sendMessage("renderByondUi",{renderByondUi:r}),tr[t]=r,Byond.winset(r,e)},unmount:function(){n&&Byond.sendMessage("unmountByondUi",{renderByondUi:r}),tr[t]=null,Byond.winset(r,{parent:""})}}}(null==n?void 0:n.id,t));function l(){var e=i.current;if(e){var t,r,l,a=(r=null!=(t=window.devicePixelRatio)?t:1,{pos:[(l=e.getBoundingClientRect()).left*r,l.top*r],size:[(l.right-l.left)*r,(l.bottom-l.top)*r]});o.current.render(tt(tn({parent:Byond.windowId},n),{pos:"".concat(a.pos[0],",").concat(a.pos[1]),size:"".concat(a.size[0],"x").concat(a.size[1])}))}}var c=te(function(){l()},100);return(0,s.useEffect)(function(){return window.addEventListener("resize",c),l(),function(){window.removeEventListener("resize",c),o.current.unmount()}},[]),(0,a.jsx)("div",tt(tn({ref:i},(0,j.Fl)(r)),{children:(0,a.jsx)("div",{style:{minHeight:"22px"}})}))}window.addEventListener("beforeunload",function(){for(var e=0;ee.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"]),h=(0,s.useRef)(null),m=ta((0,s.useState)([600,200]),2),p=m[0],x=m[1],g=function(e,n,t,r){if(0===e.length)return[];var i,o,l=to.y.apply(void 0,tc(e)),a=l.map(function(e){return(i=Math).min.apply(i,tc(e))}),c=l.map(function(e){return(o=Math).max.apply(o,tc(e))});return void 0!==t&&(a[0]=t[0],c[0]=t[1]),void 0!==r&&(a[1]=r[0],c[1]=r[1]),e.map(function(e){return(0,to.y)(e,a,c,n).map(function(e){var n=ta(e,4),t=n[0],r=n[1];return(t-r)/(n[2]-r)*n[3]})})}(void 0===r?[]:r,p,i,o);if(g.length>0){var j=g[0],b=g[g.length-1];g.push([p[0]+d,b[1]]),g.push([p[0]+d,-d]),g.push([-d,-d]),g.push([-d,j[1]])}var v=function(e){for(var n="",t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["children","child_mt","childStyles","color","title","buttons","icon"]),m=(n=(0,s.useState)(e.open),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),2!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,2)||function(e,n){if(e){if("string"==typeof e)return tf(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tf(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),p=m[0],x=m[1];return(0,a.jsxs)(y,{mb:1,children:[(0,a.jsxs)("div",{className:"Table",children:[(0,a.jsx)("div",{className:"Table__cell",children:(0,a.jsx)(n6,(t=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["content","children","className"]);return o.color=r?null:"default",o.backgroundColor=e.color||"default",(0,a.jsx)("div",(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["className","children"]);return(0,a.jsx)(y,(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["fixBlur","fixErrors","objectFit","src"]),d=(0,s.useRef)(0),f=(0,s.useRef)(null),h=(0,j.Fl)(u);return n=tg({},h.style),t=t={imageRendering:void 0===r||r?"pixelated":"auto",objectFit:void 0===o?"fill":o},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),h.style=n,(0,s.useEffect)(function(){return function(){f.current&&clearTimeout(f.current)}},[]),(0,a.jsx)("img",tg({alt:"dm icon",onError:function(e){if(!i||d.current>=5){f.current&&clearTimeout(f.current);return}var n=e.currentTarget;f.current=setTimeout(function(){n.src="".concat(c,"?attempt=").concat(d.current),d.current++},1e3)},src:c},h))}function tb(e){var n,t=e.direction,r=e.fallback,i=e.frame,o=e.icon_state,l=e.icon,c=e.movement,s=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["direction","fallback","frame","icon_state","icon","movement"]),u=null==(n=Byond.iconRefMap)?void 0:n[l];return u?(0,a.jsx)(tj,function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);tk.length-3?k.length-1:e-2;var t=z.current,r=null==t?void 0:t.children[n];t&&r&&(t.scrollTop=r.offsetTop)}function $(e){if(!(k.length<1)&&!c){var n,t=k.length-1;n=T<0?"next"===e?t:0:"next"===e?T===t?0:T+1:0===T?t:T-1,E&&r&&N(n),null==y||y(tC(k[n]))}}var D=_?"top":"bottom";return m&&(D="".concat(D,"-start")),(0,a.jsxs)("div",{className:(0,g.Ly)(["Dropdown",O&&"Dropdown--fluid"]),children:[(0,a.jsx)(nQ,{allowedOutsideClasses:".Dropdown__button",closeAfterInteract:!0,content:(0,a.jsx)("div",{className:"Dropdown__menu",ref:z,children:0===k.length?(0,a.jsx)("div",{className:"Dropdown__menu--entry",children:"No options"}):k.map(function(e){var n=tC(e);return(0,a.jsx)("div",{className:(0,g.Ly)(["Dropdown__menu--entry",S===n&&"selected"]),onClick:function(){null==y||y(n)},onKeyDown:function(e){e.key===w._.Enter&&(null==y||y(n))},children:"string"==typeof e?e:e.displayText},n)})}),contentAutoWidth:!p,contentClasses:"Dropdown__menu--wrapper",contentStyles:{width:p?(0,j.zA)(p):void 0},disabled:c,onMounted:function(){E&&r&&-1!==T&&N(T)},onOpenChange:B,placement:D,children:(0,a.jsxs)("div",{className:(0,g.Ly)(["Dropdown__control","Button--color--".concat(void 0===l?"default":l),c&&"Button--disabled",m&&"Dropdown__control--icon-only",o]),onClick:function(e){(!c||E)&&(null==b||b(e))},onKeyDown:function(e){e.key!==w._.Enter||c||null==b||b(e)},style:{width:(0,j.zA)(void 0===A?15:A)},children:[d&&(0,a.jsx)(I,{className:"Dropdown__icon",name:d,rotation:f,spin:h}),!m&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"Dropdown__selected-text",children:u||S&&tC(S)||(void 0===C?"Select...":C)}),!x&&(0,a.jsx)(I,{className:(0,g.Ly)(["Dropdown__icon","Dropdown__icon--arrow",_&&"over",E&&"open"]),name:"chevron-down"})]})]})}),i&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n6,{className:"Dropdown__button",disabled:c,icon:"chevron-left",onClick:function(){$("previous")}}),(0,a.jsx)(n6,{className:"Dropdown__button",disabled:c,icon:"chevron-right",onClick:function(){$("next")}})]})]})}function tS(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function tP(e){return(0,g.Ly)(["Flex",e.inlineFlex&&"Flex--inline",(0,j.WP)(e)])}function tE(e){var n=e.direction,t=e.wrap,r=e.align,i=e.justify,o=tA(e,["direction","wrap","align","justify"]);return(0,j.Fl)(tS({style:tO(tS({},o.style),{alignItems:r,flexDirection:n,flexWrap:!0===t?"wrap":t,justifyContent:i})},o))}function tB(e){var n=e.className,t=tA(e,["className"]);return(0,a.jsx)("div",tS({className:(0,g.Ly)([n,tP(t)])},tE(t)))}function tz(e){var n,t=e.style,r=e.grow,i=e.order,o=e.shrink,l=e.basis,a=e.align,c=tA(e,["style","grow","order","shrink","basis","align"]),s=null!=(n=null!=l?l:e.width)?n:void 0!==r?0:void 0;return(0,j.Fl)(tS({style:tO(tS({},t),{alignSelf:a,flexBasis:(0,j.zA)(s),flexGrow:void 0!==r&&Number(r),flexShrink:void 0!==o&&Number(o),order:i})},c))}function tT(e){var n,t,r=e.asset,i=e.assetSize,o=e.base64,l=e.buttons,c=e.buttonsAlt,s=e.children,u=e.className,d=e.color,f=e.disabled,h=e.dmFallback,m=e.dmIcon,p=e.dmIconState,x=e.fluid,b=e.fallbackIcon,y=e.imageSize,v=void 0===y?64:y,w=e.imageSrc,k=e.onClick,_=e.onRightClick,C=e.selected,I=e.title,S=e.tooltip,O=e.tooltipPosition,A=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["asset","assetSize","base64","buttons","buttonsAlt","children","className","color","disabled","dmFallback","dmIcon","dmIconState","fluid","fallbackIcon","imageSize","imageSrc","onClick","onRightClick","selected","title","tooltip","tooltipPosition"]),P=(0,a.jsxs)("div",{className:"ImageButton__container",onClick:function(e){!f&&k&&k(e)},onContextMenu:function(e){e.preventDefault(),!f&&_&&_(e)},onKeyDown:function(e){"Enter"===e.key&&!f&&k&&k(e)},style:{width:x?"auto":"calc(".concat(v,"px + 0.5em + 2px)")},tabIndex:f?void 0:0,children:[(0,a.jsx)("div",{className:"ImageButton__image",children:o||w?(0,a.jsx)(tj,{height:"".concat(v,"px"),src:o?"data:image/png;base64,".concat(o):w,width:"".concat(v,"px")}):m&&p?(0,a.jsx)(tb,{fallback:h||(0,a.jsx)(tN,{icon:"spinner",size:v,spin:!0}),height:"".concat(v,"px"),icon:m,icon_state:p,width:"".concat(v,"px")}):r?(0,a.jsx)(tj,{className:(0,g.Ly)(r||[]),height:"".concat(v,"px"),style:{transform:"scale(".concat(v/(void 0===i?32:i),")"),transformOrigin:"top left"},width:"".concat(v,"px")}):(0,a.jsx)(tN,{icon:b||"question",size:v})}),x&&(I||s)?(0,a.jsxs)("div",{className:"ImageButton__content",children:[I&&(0,a.jsx)("span",{className:(0,g.Ly)(["ImageButton__content--title",!!s&&"ImageButton__content--divider"]),children:I}),s&&(0,a.jsx)("span",{className:"ImageButton__content--text",children:s})]}):s&&(0,a.jsx)("span",{className:"ImageButton__content",children:s})]});return S&&(P=(0,a.jsx)(nY,{content:S,position:O,children:P})),(0,a.jsxs)("div",(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["className","value","minValue","maxValue","color","ranges","empty","children","fractionDigits"]),h=(0,c.hs)(t,void 0===r?0:r,void 0===i?1:i),m=void 0!==u,p=o||(0,c.TG)(t,void 0===l?{}:l)||"default",x=(0,j.Fl)(f),b=["ProgressBar",n,(0,j.WP)(f)],y={width:"".concat(100*(0,c.J$)(h),"%")};return t$.NE.includes(p)||"default"===p?b.push("ProgressBar--color--".concat(p)):(x.style=tR(tD({},x.style),{borderColor:p}),y.backgroundColor=p),(0,a.jsxs)("div",tR(tD({className:(0,g.Ly)(b)},x),{children:[(0,a.jsx)("div",{className:"ProgressBar__fill ProgressBar__fill--animated",style:y}),(0,a.jsx)("div",{className:"ProgressBar__content",children:m?u:!s&&"".concat((100*h).toFixed(void 0===d?0:d),"%")})]}))}function tL(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function tJ(e){var n=e.className,t=e.vertical,r=e.fill,i=e.reverse,o=e.zebra,l=tK(e,["className","vertical","fill","reverse","zebra"]);return(0,a.jsx)("div",tL({className:(0,g.Ly)(["Stack",r&&"Stack--fill",t?"Stack--vertical":"Stack--horizontal",o&&"Stack--zebra",i&&"Stack--reverse".concat(t?"--vertical":""),n,tP(e)])},tE(tL({direction:"".concat(t?"column":"row").concat(i?"-reverse":"")},l))))}function tX(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["autoFocus","autoSelect","className","disabled","expensive","fluid","maxLength","monospace","onBlur","onChange","onEnter","onEscape","onKeyDown","placeholder","ref","selfClear","spellcheck","value"]),O=(0,s.useRef)(null),A=null!=k?k:O,P=(n=(0,s.useState)(null!=I?I:""),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),2!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,2)||function(e,n){if(e){if("string"==typeof e)return tX(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tX(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),E=P[0],B=P[1];(0,s.useEffect)(function(){var e;return(i||o)&&(e=setTimeout(function(){var e,n;null==(e=A.current)||e.focus(),o&&(null==(n=A.current)||n.select())},1)),function(){return clearTimeout(e)}},[]),(0,s.useEffect)(function(){A.current&&document.activeElement!==A.current&&I!==E&&B(null!=I?I:"")},[I]);var z=(0,j.Fl)(S),T=(0,g.Ly)(["Input",c&&"Input--disabled",d&&"Input--fluid",h&&"Input--monospace",(0,j.WP)(S),l]);return(0,a.jsx)("input",(t=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["animated","tickWhileDragging","format","maxValue","minValue","onChange","step","stepPixelSize","unclamped","unit","value","bipolar","popupPosition","className","color","fillValue","ranges","size","style"]);return(0,a.jsx)(tk,{dragMatrix:[0,-1],animated:n,tickWhileDragging:t,format:r,maxValue:i,minValue:o,onChange:l,step:s,stepPixelSize:u,unclamped:d,unit:f,value:h,children:function(e){var n,t,r=e.displayElement,l=e.displayValue,s=e.dragging,u=e.handleDragStart,d=e.inputElement,f=(0,c.hs)(null!=y?y:l,o,i),v=(0,c.hs)(l,o,i),k=b||(0,c.TG)(null!=y?y:h,w)||"default",S=Math.min((v-.5)*270,225);return(0,a.jsx)(nQ,{content:r,contentClasses:"Knob__popupValue",handleOpen:s,placement:p||"top",preventPortal:!0,children:(0,a.jsxs)("div",(n=tV({className:(0,g.Ly)(["Knob","Knob--color--".concat(k),m&&"Knob--bipolar",x,(0,j.WP)(I)])},(0,j.Fl)(tV({style:tV({fontSize:"".concat(_,"em")},C)},I))),t=t={onMouseDown:u,children:[(0,a.jsx)("div",{className:"Knob__circle",children:(0,a.jsx)("div",{className:"Knob__cursorBox",style:{transform:"rotate(".concat(S,"deg)")},children:(0,a.jsx)("div",{className:"Knob__cursor"})})}),(0,a.jsxs)("svg",{className:"Knob__ring Knob__ringTrackPivot",viewBox:"0 0 100 100",children:[(0,a.jsx)("circle",{className:"Knob__ringTrack",cx:"50",cy:"50",r:"50"}),(0,a.jsx)("title",{children:"track"})]}),(0,a.jsxs)("svg",{className:"Knob__ring Knob__ringFillPivot",viewBox:"0 0 100 100",children:[(0,a.jsx)("title",{children:"fill"}),(0,a.jsx)("circle",{className:"Knob__ringFill",cx:"50",cy:"50",r:"50",style:{strokeDashoffset:Math.max(((m?2.75:2)-1.5*f)*Math.PI*50,0)}})]}),d]},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))})}})}function tW(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function tQ(e){var n=e.children,t=e.wrap,r=tG(e,["children","wrap"]);return(0,a.jsx)(tB,tq(tW({align:"stretch",justify:"space-between",mx:-.5,wrap:t},r),{children:n}))}function tY(e){var n=e.children;return(0,a.jsx)("table",{className:"LabeledList",children:(0,a.jsx)("tbody",{children:n})})}function tZ(e){var n,t,r=e.children,i=e.className,o=e.disabled,l=e.display,c=e.onClick,u=e.onMouseOver,d=(e.open,e.openWidth),f=(e.onOutsideClick,function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["children","className","disabled","display","onClick","onMouseOver","open","openWidth","onOutsideClick"])),h=(0,s.useRef)(null);return(0,a.jsx)(nQ,{allowedOutsideClasses:".Menubar_inner",content:(0,a.jsx)("div",{className:"MenuBar__menu",style:{width:d},children:r}),children:(0,a.jsx)("div",{className:"Menubar_inner",ref:h,children:(0,a.jsx)(y,(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["className","children","onEnter","onEscape"]);return(0,a.jsx)(tp,{className:"Modal__dimmer",onKeyDown:function(e){e.key===w._.Enter&&(null==o||o(e)),(0,w.KL)(e.key)&&(null==l||l(e))},children:(0,a.jsx)("div",(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["className","color","info","success","danger"]);return(0,a.jsx)(y,function(e){for(var n=1;n=o?(t.currentValue=(0,c.qE)((0,c.LI)(u/o,0)*o,r,i),t.origin=n.screenY):Math.abs(a)>s&&(t.origin=n.screenY)}else Math.abs(a)>4&&(t.dragging=!0);return t})}),t8(e,"handleDragEnd",function(n){var t=e.state,r=t.dragging,i=t.currentValue,o=e.props,l=o.onChange;if(!o.disabled){if(document.body.style["pointer-events"]="auto",clearInterval(e.dragInterval),clearTimeout(e.dragTimeout),e.setState({dragging:!1,editing:!r,previousValue:i}),r)null==l||l(i);else if(e.inputRef){var a=e.inputRef.current;a&&(a.value="".concat(i),setTimeout(function(){a.focus(),a.select()},10))}document.removeEventListener("mousemove",e.handleDragMove),document.removeEventListener("mouseup",e.handleDragEnd)}}),t8(e,"handleBlur",function(n){var t=e.state,r=t.editing,i=t.previousValue,o=e.props,l=o.minValue,a=o.maxValue,s=o.onChange;if(!o.disabled&&r){var u=(0,c.qE)(Number.parseFloat(n.target.value),l,a);if(Number.isNaN(u))return void e.setState({editing:!1});e.setState({currentValue:u,editing:!1,previousValue:u}),i!==u&&(null==s||s(u))}}),t8(e,"handleKeyDown",function(n){var t=e.props,r=t.minValue,i=t.maxValue,o=t.onChange;if(!t.disabled){var l=e.state.previousValue;if(n.key===w._.Enter){var a=(0,c.qE)(Number.parseFloat(n.currentTarget.value),r,i);if(Number.isNaN(a))return void e.setState({editing:!1});e.setState({currentValue:a,editing:!1,previousValue:a}),l!==a&&(null==o||o(a))}else(0,w.KL)(n.key)&&e.setState({editing:!1})}}),e}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&t5(t,e),n=[{key:"componentDidMount",value:function(){var e=Number.parseFloat(this.props.value.toString());this.setState({currentValue:e,previousValue:e})}},{key:"render",value:function(){var e=this.state,n=e.dragging,t=e.editing,r=e.currentValue,i=this.props,o=i.className,l=i.fluid,s=i.animated,u=i.unit,d=i.value,f=i.minValue,m=i.maxValue,p=i.height,x=i.width,j=i.lineHeight,b=i.fontSize,v=i.format,w=Number.parseFloat(d.toString());n&&(w=r);var k=(0,a.jsxs)("div",{className:"NumberInput__content",children:[s&&!n?(0,a.jsx)(h,{format:v,value:w}):v?v(w):w,u?" ".concat(u):""]});return(0,a.jsxs)(y,{className:(0,g.Ly)(["NumberInput",l&&"NumberInput--fluid",o]),fontSize:b,lineHeight:j,minHeight:p,minWidth:x,onMouseDown:this.handleDragStart,children:[(0,a.jsx)("div",{className:"NumberInput__barContainer",children:(0,a.jsx)("div",{className:"NumberInput__bar",style:{height:"".concat((0,c.qE)((w-f)/(m-f)*100,0,100),"%")}})}),k,(0,a.jsx)("input",{className:"NumberInput__input",onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:this.inputRef,style:{display:t?"inline":"none",fontSize:b,height:p,lineHeight:j}})]})}}],function(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["allowFloats","autoFocus","autoSelect","className","disabled","expensive","fluid","maxValue","minValue","monospace","onBlur","onChange","onEnter","onEscape","onKeyDown","onValidationChange","value"]),S=(0,s.useRef)(null),O=t9((0,s.useState)(null!=C?C:m),2),A=O[0],P=O[1],E=t9((0,s.useState)(!0),2),B=E[0],z=E[1];function T(e){b&&(u?re(function(){return b(e)}):b(e))}(0,s.useEffect)(function(){var e;return(i||o)&&(e=setTimeout(function(){var e,n;null==(e=S.current)||e.focus(),o&&(null==(n=S.current)||n.select())},1)),function(){return clearTimeout(e)}},[]),(0,s.useEffect)(function(){if(S.current){var e=S.current.validity.valid;B!==e&&(z(e),null==_||_(e))}},[A]),(0,s.useEffect)(function(){S.current&&document.activeElement!==S.current&&C!==A&&P(null!=C?C:m)},[C]);var N=(0,j.Fl)(I),$=(0,g.Ly)(["Input","RestrictedInput",c&&"Input--disabled",d&&"Input--fluid",p&&"Input--monospace",(0,j.WP)(I),l,!B&&"RestrictedInput--invalid"]);return(0,a.jsx)("input",(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["buttons","children","className","container_id","fill","fitted","flexGrow","noTopPadding","onScroll","ref","scrollable","scrollableHorizontal","stretchContents","title"]),w=(0,g.b5)(y)||(0,g.b5)(r),k=(0,s.useRef)(null),_=null!=m?m:k;return(0,s.useEffect)(function(){return _.current&&(p||x)&&(0,rt.tk)(_.current),function(){_.current&&(0,rt.WK)(_.current)}},[]),(0,a.jsxs)("div",(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["animated","tickWhileDragging","format","maxValue","minValue","onChange","step","stepPixelSize","unit","value","className","fillValue","color","ranges","children"]),w=void 0!==y;return(0,a.jsx)(tk,{dragMatrix:[1,0],animated:n,tickWhileDragging:t,format:r,maxValue:i,minValue:o,onChange:l,step:s,stepPixelSize:u,unit:d,value:f,children:function(e){var n,t,r=e.displayElement,l=e.displayValue,s=e.dragging,u=e.editing,d=e.handleDragStart,x=e.inputElement,k=(0,c.J$)((0,c.hs)(null!=m?m:l,o,i)),_=(0,c.J$)((0,c.hs)(l,o,i)),C=p||(0,c.TG)(null!=m?m:f,b)||"default";return(0,a.jsxs)("div",(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function ra(e){var n,t,r=e.className,i=e.collapsing,o=e.children,l=rl(e,["className","collapsing","children"]);return(0,a.jsx)("table",(n=ro({className:(0,g.Ly)(["Table",i&&"Table--collapsing",r,(0,j.WP)(l)])},(0,j.Fl)(l)),t=t={children:(0,a.jsx)("tbody",{children:o})},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))}function rc(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function rf(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),!n||o.length!==n);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(e,n)||function(e,n){if(e){if("string"==typeof e)return rc(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return rc(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rh(e){var n=e.className,t=e.vertical,r=e.scrollable,i=e.fill,o=e.fluid,l=e.children,c=rd(e,["className","vertical","scrollable","fill","fluid","children"]),u=(0,s.useRef)(!0),d=(0,s.useRef)(null),f=(0,s.useRef)(null),h=rf((0,s.useState)(!1),2),m=h[0],p=h[1],x=rf((0,s.useState)(!1),2),b=x[0],y=x[1];function v(e){if(d.current){var n=d.current,t=.5*n.clientWidth;n.scrollBy({left:"left"===e?-t:t,behavior:"smooth"})}}(0,s.useEffect)(function(){var e=function(){p(i.scrollLeft>0),y(i.scrollLeft+i.clientWidthMath.abs(e.deltaX)&&(i.scrollLeft+=e.deltaY)};if(r&&!t&&d.current){var i=d.current;if(!(i.scrollWidthe.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["autoFocus","autoSelect","className","disabled","dontUseTabForIndent","expensive","fluid","maxLength","monospace","onBlur","onChange","onEnter","onEscape","onKeyDown","placeholder","ref","selfClear","spellcheck","userMarkup","value"]),P=(0,s.useRef)(null),E=null!=_?_:P,B=(n=(0,s.useState)(null!=O?O:""),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),2!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,2)||function(e,n){if(e){if("string"==typeof e)return rp(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return rp(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),z=B[0],T=B[1];(0,s.useEffect)(function(){(i||o)&&setTimeout(function(){var e,n;null==(e=E.current)||e.focus(),o&&(null==(n=E.current)||n.select())},1)},[]),(0,s.useEffect)(function(){E.current&&document.activeElement!==E.current&&O!==z&&T(null!=O?O:"")},[O]);var N=(0,j.Fl)(A),$=(0,g.Ly)(["Input","TextArea",f&&"Input--fluid",m&&"Input--monospace",c&&"Input--disabled",(0,j.WP)(A),l]);return(0,a.jsx)("textarea",(t=function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t"']/g,U=RegExp(J.source),F=RegExp(X.source),V=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,W=/<%=([\s\S]+?)%>/g,q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,Q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,Z=RegExp(Y.source),ee=/^\s+/,en=/\s/,et=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,er=/\{\n\/\* \[wrapped with (.+)\] \*/,ei=/,? & /,eo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,el=/[()=,{}\[\]\/\s]/,ea=/\\(\\)?/g,ec=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,es=/\w*$/,eu=/^[-+]0x[0-9a-f]+$/i,ed=/^0b[01]+$/i,ef=/^\[object .+?Constructor\]$/,eh=/^0o[0-7]+$/i,em=/^(?:0|[1-9]\d*)$/,ep=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ex=/($^)/,eg=/['\n\r\u2028\u2029\\]/g,ej="\ud800-\udfff",eb="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ey="\\u2700-\\u27bf",ev="a-z\\xdf-\\xf6\\xf8-\\xff",ew="A-Z\\xc0-\\xd6\\xd8-\\xde",ek="\\ufe0e\\ufe0f",e_="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",eC="['’]",eI="["+e_+"]",eS="["+eb+"]",eO="["+ev+"]",eA="[^"+ej+e_+"\\d+"+ey+ev+ew+"]",eP="\ud83c[\udffb-\udfff]",eE="[^"+ej+"]",eB="(?:\ud83c[\udde6-\uddff]){2}",ez="[\ud800-\udbff][\udc00-\udfff]",eT="["+ew+"]",eN="\\u200d",e$="(?:"+eO+"|"+eA+")",eD="(?:"+eT+"|"+eA+")",eR="(?:"+eC+"(?:d|ll|m|re|s|t|ve))?",eM="(?:"+eC+"(?:D|LL|M|RE|S|T|VE))?",eL="(?:"+eS+"|"+eP+")?",eK="["+ek+"]?",eJ="(?:"+eN+"(?:"+[eE,eB,ez].join("|")+")"+eK+eL+")*",eX=eK+eL+eJ,eU="(?:"+["["+ey+"]",eB,ez].join("|")+")"+eX,eF="(?:"+[eE+eS+"?",eS,eB,ez,"["+ej+"]"].join("|")+")",eV=RegExp(eC,"g"),eH=RegExp(eS,"g"),eW=RegExp(eP+"(?="+eP+")|"+eF+eX,"g"),eq=RegExp([eT+"?"+eO+"+"+eR+"(?="+[eI,eT,"$"].join("|")+")",eD+"+"+eM+"(?="+[eI,eT+e$,"$"].join("|")+")",eT+"?"+e$+"+"+eR,eT+"+"+eM,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",eU].join("|"),"g"),eG=RegExp("["+eN+ej+eb+ek+"]"),eQ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eY=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eZ=-1,e0={};e0[P]=e0[E]=e0[B]=e0[z]=e0[T]=e0[N]=e0[$]=e0[D]=e0[R]=!0,e0[f]=e0[h]=e0[O]=e0[m]=e0[A]=e0[p]=e0[x]=e0[g]=e0[b]=e0[y]=e0[v]=e0[k]=e0[_]=e0[C]=e0[S]=!1;var e1={};e1[f]=e1[h]=e1[O]=e1[A]=e1[m]=e1[p]=e1[P]=e1[E]=e1[B]=e1[z]=e1[T]=e1[b]=e1[y]=e1[v]=e1[k]=e1[_]=e1[C]=e1[I]=e1[N]=e1[$]=e1[D]=e1[R]=!0,e1[x]=e1[g]=e1[S]=!1;var e2={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e8=parseFloat,e3=parseInt,e5=(void 0===t.g?"undefined":i(t.g))=="object"&&t.g&&t.g.Object===Object&&t.g,e4=("undefined"==typeof self?"undefined":i(self))=="object"&&self&&self.Object===Object&&self,e6=e5||e4||Function("return this")(),e7="object"==i(n)&&n&&!n.nodeType&&n,e9=e7&&"object"==i(e)&&e&&!e.nodeType&&e,ne=e9&&e9.exports===e7,nn=ne&&e5.process,nt=function(){try{var e=e9&&e9.require&&e9.require("util").types;if(e)return e;return nn&&nn.binding&&nn.binding("util")}catch(e){}}(),nr=nt&&nt.isArrayBuffer,ni=nt&&nt.isDate,no=nt&&nt.isMap,nl=nt&&nt.isRegExp,na=nt&&nt.isSet,nc=nt&&nt.isTypedArray;function ns(e,n,t){switch(t.length){case 0:return e.call(n);case 1:return e.call(n,t[0]);case 2:return e.call(n,t[0],t[1]);case 3:return e.call(n,t[0],t[1],t[2])}return e.apply(n,t)}function nu(e,n,t,r){for(var i=-1,o=null==e?0:e.length;++i-1}function np(e,n,t){for(var r=-1,i=null==e?0:e.length;++r-1;);return t}function nR(e,n){for(var t=e.length;t--&&n_(n,e[t],0)>-1;);return t}var nM=nA({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),nL=nA({"&":"&","<":"<",">":">",'"':""","'":"'"});function nK(e){return"\\"+e2[e]}function nJ(e){return eG.test(e)}function nX(e){var n=-1,t=Array(e.size);return e.forEach(function(e,r){t[++n]=[r,e]}),t}function nU(e,n){return function(t){return e(n(t))}}function nF(e,n){for(var t=-1,r=e.length,i=0,o=[];++t",""":'"',"'":"'"}),nQ=function e(n){var t,en,ej,eb,ey=(n=null==n?e6:nQ.defaults(e6.Object(),n,nQ.pick(e6,eY))).Array,ev=n.Date,ew=n.Error,ek=n.Function,e_=n.Math,eC=n.Object,eI=n.RegExp,eS=n.String,eO=n.TypeError,eA=ey.prototype,eP=ek.prototype,eE=eC.prototype,eB=n["__core-js_shared__"],ez=eP.toString,eT=eE.hasOwnProperty,eN=0,e$=(t=/[^.]+$/.exec(eB&&eB.keys&&eB.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"",eD=eE.toString,eR=ez.call(eC),eM=e6._,eL=eI("^"+ez.call(eT).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eK=ne?n.Buffer:o,eJ=n.Symbol,eX=n.Uint8Array,eU=eK?eK.allocUnsafe:o,eF=nU(eC.getPrototypeOf,eC),eW=eC.create,eG=eE.propertyIsEnumerable,e2=eA.splice,e5=eJ?eJ.isConcatSpreadable:o,e4=eJ?eJ.iterator:o,e7=eJ?eJ.toStringTag:o,e9=function(){try{var e=ix(eC,"defineProperty");return e({},"",{}),e}catch(e){}}(),nn=n.clearTimeout!==e6.clearTimeout&&n.clearTimeout,nt=ev&&ev.now!==e6.Date.now&&ev.now,nv=n.setTimeout!==e6.setTimeout&&n.setTimeout,nA=e_.ceil,nY=e_.floor,nZ=eC.getOwnPropertySymbols,n0=eK?eK.isBuffer:o,n1=n.isFinite,n2=eA.join,n8=nU(eC.keys,eC),n3=e_.max,n5=e_.min,n4=ev.now,n6=n.parseInt,n7=e_.random,n9=eA.reverse,te=ix(n,"DataView"),tn=ix(n,"Map"),tt=ix(n,"Promise"),tr=ix(n,"Set"),ti=ix(n,"WeakMap"),to=ix(eC,"create"),tl=ti&&new ti,ta={},tc=iK(te),ts=iK(tn),tu=iK(tt),td=iK(tr),tf=iK(ti),th=eJ?eJ.prototype:o,tm=th?th.valueOf:o,tp=th?th.toString:o;function tx(e){if(oG(e)&&!oM(e)&&!r(e,ty)){if(r(e,tb))return e;if(eT.call(e,"__wrapped__"))return iJ(e)}return new tb(e)}var tg=function(){function e(){}return function(n){if(!oq(n))return{};if(eW)return eW(n);e.prototype=n;var t=new e;return e.prototype=o,t}}();function tj(){}function tb(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=o}function ty(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}function tv(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n-1},tw.prototype.set=function(e,n){var t=this.__data__,r=tP(t,e);return r<0?(++this.size,t.push([e,n])):t[r][1]=n,this},tk.prototype.clear=function(){this.size=0,this.__data__={hash:new tv,map:new(tn||tw),string:new tv}},tk.prototype.delete=function(e){var n=im(this,e).delete(e);return this.size-=!!n,n},tk.prototype.get=function(e){return im(this,e).get(e)},tk.prototype.has=function(e){return im(this,e).has(e)},tk.prototype.set=function(e,n){var t=im(this,e),r=t.size;return t.set(e,n),this.size+=+(t.size!=r),this},t_.prototype.add=t_.prototype.push=function(e){return this.__data__.set(e,a),this},t_.prototype.has=function(e){return this.__data__.has(e)};function tO(e,n,t){(o===t||oN(e[n],t))&&(o!==t||n in e)||tz(e,n,t)}function tA(e,n,t){var r=e[n];eT.call(e,n)&&oN(r,t)&&(o!==t||n in e)||tz(e,n,t)}function tP(e,n){for(var t=e.length;t--;)if(oN(e[t][0],n))return t;return -1}function tE(e,n,t,r){return tL(e,function(e,i,o){n(r,e,t(e),o)}),r}function tB(e,n){return e&&rX(n,lx(n),e)}function tz(e,n,t){"__proto__"==n&&e9?e9(e,n,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[n]=t}function tT(e,n){for(var t=-1,r=n.length,i=ey(r),l=null==e;++t=n?e:n)),e}function t$(e,n,t,r,i,l){var a,c=1&n,s=2&n,u=4&n;if(t&&(a=i?t(e,r,i,l):t(e)),o!==a)return a;if(!oq(e))return e;var d=oM(e);if(d){if(x=(h=e).length,w=new h.constructor(x),x&&"string"==typeof h[0]&&eT.call(h,"index")&&(w.index=h.index,w.input=h.input),a=w,!c)return rJ(e,a)}else{var h,x,w,S,M,L,K,J,X=ib(e),U=X==g||X==j;if(oX(e))return r$(e,c);if(X==v||X==f||U&&!i){if(a=s||U?{}:iv(e),!c){return s?(S=e,M=(J=a)&&rX(e,lg(e),J),rX(S,ij(S),M)):(L=e,K=tB(a,e),rX(L,ig(L),K))}}else{if(!e1[X])return i?e:{};a=function(e,n,t){var r,i,o=e.constructor;switch(n){case O:return rD(e);case m:case p:return new o(+e);case A:return r=t?rD(e.buffer):e.buffer,new e.constructor(r,e.byteOffset,e.byteLength);case P:case E:case B:case z:case T:case N:case $:case D:case R:return rR(e,t);case b:return new o;case y:case C:return new o(e);case k:return(i=new e.constructor(e.source,es.exec(e))).lastIndex=e.lastIndex,i;case _:return new o;case I:return tm?eC(tm.call(e)):{}}}(e,X,c)}}l||(l=new tC);var F=l.get(e);if(F)return F;l.set(e,a),o1(e)?e.forEach(function(r){a.add(t$(r,n,t,r,e,l))}):oQ(e)&&e.forEach(function(r,i){a.set(i,t$(r,n,t,i,e,l))});var V=u?s?ic:ia:s?lg:lx,H=d?o:V(e);return nd(H||e,function(r,i){H&&(r=e[i=r]),tA(a,i,t$(r,n,t,i,e,l))}),a}function tD(e,n,t){var r=t.length;if(null==e)return!r;for(e=eC(e);r--;){var i=t[r],l=n[i],a=e[i];if(o===a&&!(i in e)||!l(a))return!1}return!0}function tR(e,n,t){if("function"!=typeof e)throw new eO(l);return iT(function(){e.apply(o,t)},n)}function tM(e,n,t,r){var i=-1,o=nm,l=!0,a=e.length,c=[],s=n.length;if(!a)return c;t&&(n=nx(n,nT(t))),r?(o=np,l=!1):n.length>=200&&(o=n$,l=!1,n=new t_(n));t:for(;++i0&&t(a)?n>1?tF(a,n-1,t,r,i):ng(i,a):r||(i[i.length]=a)}return i}var tV=rH(),tH=rH(!0);function tW(e,n){return e&&tV(e,n,lx)}function tq(e,n){return e&&tH(e,n,lx)}function tG(e,n){return nh(n,function(n){return oV(e[n])})}function tQ(e,n){n=rz(n,e);for(var t=0,r=n.length;null!=e&&tn}function t1(e,n){return null!=e&&eT.call(e,n)}function t2(e,n){return null!=e&&n in eC(e)}function t8(e,n,t){for(var r=t?np:nm,i=e[0].length,l=e.length,a=l,c=ey(l),s=1/0,u=[];a--;){var d=e[a];a&&n&&(d=nx(d,nT(n))),s=n5(d.length,s),c[a]=!t&&(n||i>=120&&d.length>=120)?new t_(a&&d):o}d=e[0];var f=-1,h=c[0];t:for(;++f=a)return c;return c*("desc"==t[r]?-1:1)}}return e.index-n.index}(e,n,t)});o--;)i[o]=i[o].value;return i}function rc(e,n,t){for(var r=-1,i=n.length,o={};++r-1;)a!==e&&e2.call(a,c,1),e2.call(e,c,1);return e}function ru(e,n){for(var t=e?n.length:0,r=t-1;t--;){var i=n[t];if(t==r||i!==o){var o=i;ik(i)?e2.call(e,i,1):rC(e,i)}}return e}function rd(e,n){return e+nY(n7()*(n-e+1))}function rf(e,n){var t="";if(!e||n<1||n>0x1fffffffffffff)return t;do n%2&&(t+=e),(n=nY(n/2))&&(e+=e);while(n);return t}function rh(e,n){return iN(iP(e,n,lJ),e+"")}function rm(e,n,t,r){if(!oq(e))return e;n=rz(n,e);for(var i=-1,l=n.length,a=l-1,c=e;null!=c&&++ii?0:i+n),(t=t>i?i:t)<0&&(t+=i),i=n>t?0:t-n>>>0,n>>>=0;for(var o=ey(i);++r>>1,l=e[o];null!==l&&!o8(l)&&(t?l<=n:l=200){var s=n?null:r7(e);if(s)return nV(s);l=!1,i=n$,c=new t_}else c=n?[]:a;t:for(;++r=r?e:rg(e,n,t)}var rN=nn||function(e){return e6.clearTimeout(e)};function r$(e,n){if(n)return e.slice();var t=e.length,r=eU?eU(t):new e.constructor(t);return e.copy(r),r}function rD(e){var n=new e.constructor(e.byteLength);return new eX(n).set(new eX(e)),n}function rR(e,n){var t=n?rD(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function rM(e,n){if(e!==n){var t=o!==e,r=null===e,i=e==e,l=o8(e),a=o!==n,c=null===n,s=n==n,u=o8(n);if(!c&&!u&&!l&&e>n||l&&a&&s&&!c&&!u||r&&a&&s||!t&&s||!i)return 1;if(!r&&!l&&!u&&e1?t[i-1]:o,a=i>2?t[2]:o;for(l=e.length>3&&"function"==typeof l?(i--,l):o,a&&i_(t[0],t[1],a)&&(l=i<3?o:l,i=1),n=eC(n);++r-1?i[l?n[a]:a]:o}}function rY(e){return il(function(n){var t=n.length,r=t,i=tb.prototype.thru;for(e&&n.reverse();r--;){var a=n[r];if("function"!=typeof a)throw new eO(l);if(i&&!c&&"wrapper"==iu(a))var c=new tb([],!0)}for(r=c?r:t;++r1&&y.reverse(),f&&uc))return!1;var u=l.get(e),d=l.get(n);if(u&&d)return u==n&&d==e;var f=-1,h=!0,m=2&t?new t_:o;for(l.set(e,n),l.set(n,e);++f-1&&e%1==0&&e1?"& ":"")+n[r],n=n.join(t>2?", ":" "),e.replace(et,"{\n/* [wrapped with "+n+"] */\n")}(l,(r=(o=l.match(er))?o[1].split(ei):[],i=t,nd(d,function(e){var n="_."+e[0];i&e[1]&&!nm(r,n)&&r.push(n)}),r.sort())))}function iD(e){var n=0,t=0;return function(){var r=n4(),i=16-(r-t);if(t=r,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(o,arguments)}}function iR(e,n){var t=-1,r=e.length,i=r-1;for(n=o===n?r:n;++t1?e[n-1]:o;return t="function"==typeof t?(e.pop(),t):o,i7(e,t)});function oo(e){var n=tx(e);return n.__chain__=!0,n}function ol(e,n){return n(e)}var oa=il(function(e){var n=e.length,t=n?e[0]:0,i=this.__wrapped__,l=function(n){return tT(n,e)};return n>1||this.__actions__.length||!r(i,ty)||!ik(t)?this.thru(l):((i=i.slice(t,+t+ +!!n)).__actions__.push({func:ol,args:[l],thisArg:o}),new tb(i,this.__chain__).thru(function(e){return n&&!e.length&&e.push(o),e}))}),oc=rU(function(e,n,t){eT.call(e,t)?++e[t]:tz(e,t,1)}),os=rQ(iV),ou=rQ(iH);function od(e,n){return(oM(e)?nd:tL)(e,ih(n,3))}function of(e,n){return(oM(e)?function(e,n){for(var t=null==e?0:e.length;t--&&!1!==n(e[t],t,e););return e}:tK)(e,ih(n,3))}var oh=rU(function(e,n,t){eT.call(e,t)?e[t].push(n):tz(e,t,[n])}),om=rh(function(e,n,t){var r=-1,i="function"==typeof n,o=oK(e)?ey(e.length):[];return tL(e,function(e){o[++r]=i?ns(n,e,t):t3(e,n,t)}),o}),op=rU(function(e,n,t){tz(e,t,n)});function ox(e,n){return(oM(e)?nx:rt)(e,ih(n,3))}var og=rU(function(e,n,t){e[+!t].push(n)},function(){return[[],[]]}),oj=rh(function(e,n){if(null==e)return[];var t=n.length;return t>1&&i_(e,n[0],n[1])?n=[]:t>2&&i_(n[0],n[1],n[2])&&(n=[n[0]]),ra(e,tF(n,1),[])}),ob=nt||function(){return e6.Date.now()};function oy(e,n,t){return n=t?o:n,n=e&&null==n?e.length:n,ie(e,128,o,o,o,o,n)}function ov(e,n){var t;if("function"!=typeof n)throw new eO(l);return e=o9(e),function(){return--e>0&&(t=n.apply(this,arguments)),e<=1&&(n=o),t}}var ow=rh(function(e,n,t){var r=1;if(t.length){var i=nF(t,id(ow));r|=32}return ie(e,r,n,t,i)}),ok=rh(function(e,n,t){var r=3;if(t.length){var i=nF(t,id(ok));r|=32}return ie(n,r,e,t,i)});function o_(e,n,t){n=t?o:n;var r=ie(e,8,o,o,o,o,o,n);return r.placeholder=o_.placeholder,r}function oC(e,n,t){n=t?o:n;var r=ie(e,16,o,o,o,o,o,n);return r.placeholder=oC.placeholder,r}function oI(e,n,t){var r,i,a,c,s,u,d=0,f=!1,h=!1,m=!0;if("function"!=typeof e)throw new eO(l);function p(n){var t=r,l=i;return r=i=o,d=n,c=e.apply(l,t)}function x(e){var t=e-u,r=e-d;return o===u||t>=n||t<0||h&&r>=a}function g(){var e,t,r,i=ob();if(x(i))return j(i);s=iT(g,(e=i-u,t=i-d,r=n-e,h?n5(r,a-t):r))}function j(e){return(s=o,m&&r)?p(e):(r=i=o,c)}function b(){var e,t=ob(),l=x(t);if(r=arguments,i=this,u=t,l){if(o===s)return d=e=u,s=iT(g,n),f?p(e):c;if(h)return rN(s),s=iT(g,n),p(u)}return o===s&&(s=iT(g,n)),c}return n=ln(n)||0,oq(t)&&(f=!!t.leading,a=(h="maxWait"in t)?n3(ln(t.maxWait)||0,n):a,m="trailing"in t?!!t.trailing:m),b.cancel=function(){o!==s&&rN(s),d=0,r=u=i=s=o},b.flush=function(){return o===s?c:j(ob())},b}var oS=rh(function(e,n){return tR(e,1,n)}),oO=rh(function(e,n,t){return tR(e,ln(n)||0,t)});function oA(e,n){if("function"!=typeof e||null!=n&&"function"!=typeof n)throw new eO(l);var t=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=t.cache;if(o.has(i))return o.get(i);var l=e.apply(this,r);return t.cache=o.set(i,l)||o,l};return t.cache=new(oA.Cache||tk),t}function oP(e){if("function"!=typeof e)throw new eO(l);return function(){var n=arguments;switch(n.length){case 0:return!e.call(this);case 1:return!e.call(this,n[0]);case 2:return!e.call(this,n[0],n[1]);case 3:return!e.call(this,n[0],n[1],n[2])}return!e.apply(this,n)}}oA.Cache=tk;var oE=rh(function(e,n){var t=(n=1==n.length&&oM(n[0])?nx(n[0],nT(ih())):nx(tF(n,1),nT(ih()))).length;return rh(function(r){for(var i=-1,o=n5(r.length,t);++i=n}),oR=t5(function(){return arguments}())?t5:function(e){return oG(e)&&eT.call(e,"callee")&&!eG.call(e,"callee")},oM=ey.isArray,oL=nr?nT(nr):function(e){return oG(e)&&tZ(e)==O};function oK(e){return null!=e&&oW(e.length)&&!oV(e)}function oJ(e){return oG(e)&&oK(e)}var oX=n0||l1,oU=ni?nT(ni):function(e){return oG(e)&&tZ(e)==p};function oF(e){if(!oG(e))return!1;var n=tZ(e);return n==x||"[object DOMException]"==n||"string"==typeof e.message&&"string"==typeof e.name&&!oZ(e)}function oV(e){if(!oq(e))return!1;var n=tZ(e);return n==g||n==j||"[object AsyncFunction]"==n||"[object Proxy]"==n}function oH(e){return"number"==typeof e&&e==o9(e)}function oW(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function oq(e){var n=void 0===e?"undefined":i(e);return null!=e&&("object"==n||"function"==n)}function oG(e){return null!=e&&(void 0===e?"undefined":i(e))=="object"}var oQ=no?nT(no):function(e){return oG(e)&&ib(e)==b};function oY(e){return"number"==typeof e||oG(e)&&tZ(e)==y}function oZ(e){if(!oG(e)||tZ(e)!=v)return!1;var n=eF(e);if(null===n)return!0;var t=eT.call(n,"constructor")&&n.constructor;return"function"==typeof t&&r(t,t)&&ez.call(t)==eR}var o0=nl?nT(nl):function(e){return oG(e)&&tZ(e)==k},o1=na?nT(na):function(e){return oG(e)&&ib(e)==_};function o2(e){return"string"==typeof e||!oM(e)&&oG(e)&&tZ(e)==C}function o8(e){return(void 0===e?"undefined":i(e))=="symbol"||oG(e)&&tZ(e)==I}var o3=nc?nT(nc):function(e){return oG(e)&&oW(e.length)&&!!e0[tZ(e)]},o5=r5(rn),o4=r5(function(e,n){return e<=n});function o6(e){if(!e)return[];if(oK(e))return o2(e)?nW(e):rJ(e);if(e4&&e[e4]){for(var n,t=e[e4](),r=[];!(n=t.next()).done;)r.push(n.value);return r}var i=ib(e);return(i==b?nX:i==_?nV:lC)(e)}function o7(e){return e?(e=ln(e))===s||e===-s?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function o9(e){var n=o7(e),t=n%1;return n==n?t?n-t:n:0}function le(e){return e?tN(o9(e),0,0xffffffff):0}function ln(e){if("number"==typeof e)return e;if(o8(e))return u;if(oq(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=oq(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=nz(e);var t=ed.test(e);return t||eh.test(e)?e3(e.slice(2),t?2:8):eu.test(e)?u:+e}function lt(e){return rX(e,lg(e))}function lr(e){return null==e?"":rk(e)}var li=rF(function(e,n){if(iO(n)||oK(n))return void rX(n,lx(n),e);for(var t in n)eT.call(n,t)&&tA(e,t,n[t])}),lo=rF(function(e,n){rX(n,lg(n),e)}),ll=rF(function(e,n,t,r){rX(n,lg(n),e,r)}),la=rF(function(e,n,t,r){rX(n,lx(n),e,r)}),lc=il(tT),ls=rh(function(e,n){e=eC(e);var t=-1,r=n.length,i=r>2?n[2]:o;for(i&&i_(n[0],n[1],i)&&(r=1);++t1),n}),rX(e,ic(e),t),r&&(t=t$(t,7,ii));for(var i=n.length;i--;)rC(t,n[i]);return t}),lv=il(function(e,n){return null==e?{}:rc(e,n,function(n,t){return lf(e,t)})});function lw(e,n){if(null==e)return{};var t=nx(ic(e),function(e){return[e]});return n=ih(n),rc(e,t,function(e,t){return n(e,t[0])})}var lk=r9(lx),l_=r9(lg);function lC(e){return null==e?[]:nN(e,lx(e))}var lI=rq(function(e,n,t){return n=n.toLowerCase(),e+(t?lS(n):n)});function lS(e){return lN(lr(e).toLowerCase())}function lO(e){return(e=lr(e))&&e.replace(ep,nM).replace(eH,"")}var lA=rq(function(e,n,t){return e+(t?"-":"")+n.toLowerCase()}),lP=rq(function(e,n,t){return e+(t?" ":"")+n.toLowerCase()}),lE=rW("toLowerCase"),lB=rq(function(e,n,t){return e+(t?"_":"")+n.toLowerCase()}),lz=rq(function(e,n,t){return e+(t?" ":"")+lN(n)}),lT=rq(function(e,n,t){return e+(t?" ":"")+n.toUpperCase()}),lN=rW("toUpperCase");function l$(e,n,t){if(e=lr(e),n=t?o:n,o===n){var r;return(r=e,eQ.test(r))?e.match(eq)||[]:e.match(eo)||[]}return e.match(n)||[]}var lD=rh(function(e,n){try{return ns(e,o,n)}catch(e){return oF(e)?e:new ew(e)}}),lR=il(function(e,n){return nd(n,function(n){tz(e,n=iL(n),ow(e[n],e))}),e});function lM(e){return function(){return e}}var lL=rY(),lK=rY(!0);function lJ(e){return e}function lX(e){return t9("function"==typeof e?e:t$(e,1))}var lU=rh(function(e,n){return function(t){return t3(t,e,n)}}),lF=rh(function(e,n){return function(t){return t3(e,t,n)}});function lV(e,n,t){var r=lx(n),i=tG(n,r);null!=t||oq(n)&&(i.length||!r.length)||(t=n,n=e,e=this,i=tG(n,lx(n)));var o=!(oq(t)&&"chain"in t)||!!t.chain,l=oV(e);return nd(i,function(t){var r=n[t];e[t]=r,l&&(e.prototype[t]=function(){var n=this.__chain__;if(o||n){var t=e(this.__wrapped__);return(t.__actions__=rJ(this.__actions__)).push({func:r,args:arguments,thisArg:e}),t.__chain__=n,t}return r.apply(e,ng([this.value()],arguments))})}),e}function lH(){}var lW=r2(nx),lq=r2(nf),lG=r2(ny);function lQ(e){return iC(e)?nO(iL(e)):function(n){return tQ(n,e)}}var lY=r3(),lZ=r3(!0);function l0(){return[]}function l1(){return!1}var l2=r1(function(e,n){return e+n},0),l8=r6("ceil"),l3=r1(function(e,n){return e/n},1),l5=r6("floor"),l4=r1(function(e,n){return e*n},1),l6=r6("round"),l7=r1(function(e,n){return e-n},0);return tx.after=function(e,n){if("function"!=typeof n)throw new eO(l);return e=o9(e),function(){if(--e<1)return n.apply(this,arguments)}},tx.ary=oy,tx.assign=li,tx.assignIn=lo,tx.assignInWith=ll,tx.assignWith=la,tx.at=lc,tx.before=ov,tx.bind=ow,tx.bindAll=lR,tx.bindKey=ok,tx.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return oM(e)?e:[e]},tx.chain=oo,tx.chunk=function(e,n,t){n=(t?i_(e,n,t):o===n)?1:n3(o9(n),0);var r=null==e?0:e.length;if(!r||n<1)return[];for(var i=0,l=0,a=ey(nA(r/n));ic?0:c+l),(a=o===a||a>c?c:o9(a))<0&&(a+=c),a=l>a?0:le(a);l>>0)?(e=lr(e))&&("string"==typeof n||null!=n&&!o0(n))&&!(n=rk(n))&&nJ(e)?rT(nW(e),0,t):e.split(n,t):[]},tx.spread=function(e,n){if("function"!=typeof e)throw new eO(l);return n=null==n?0:n3(o9(n),0),rh(function(t){var r=t[n],i=rT(t,0,n);return r&&ng(i,r),ns(e,this,i)})},tx.tail=function(e){var n=null==e?0:e.length;return n?rg(e,1,n):[]},tx.take=function(e,n,t){return e&&e.length?rg(e,0,(n=t||o===n?1:o9(n))<0?0:n):[]},tx.takeRight=function(e,n,t){var r=null==e?0:e.length;return r?rg(e,(n=r-(n=t||o===n?1:o9(n)))<0?0:n,r):[]},tx.takeRightWhile=function(e,n){return e&&e.length?rS(e,ih(n,3),!1,!0):[]},tx.takeWhile=function(e,n){return e&&e.length?rS(e,ih(n,3)):[]},tx.tap=function(e,n){return n(e),e},tx.throttle=function(e,n,t){var r=!0,i=!0;if("function"!=typeof e)throw new eO(l);return oq(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),oI(e,n,{leading:r,maxWait:n,trailing:i})},tx.thru=ol,tx.toArray=o6,tx.toPairs=lk,tx.toPairsIn=l_,tx.toPath=function(e){return oM(e)?nx(e,iL):o8(e)?[e]:rJ(iM(lr(e)))},tx.toPlainObject=lt,tx.transform=function(e,n,t){var r=oM(e),i=r||oX(e)||o3(e);if(n=ih(n,4),null==t){var o=e&&e.constructor;t=i?r?new o:[]:oq(e)&&oV(o)?tg(eF(e)):{}}return(i?nd:tW)(e,function(e,r,i){return n(t,e,r,i)}),t},tx.unary=function(e){return oy(e,1)},tx.union=i3,tx.unionBy=i5,tx.unionWith=i4,tx.uniq=function(e){return e&&e.length?r_(e):[]},tx.uniqBy=function(e,n){return e&&e.length?r_(e,ih(n,2)):[]},tx.uniqWith=function(e,n){return n="function"==typeof n?n:o,e&&e.length?r_(e,o,n):[]},tx.unset=function(e,n){return null==e||rC(e,n)},tx.unzip=i6,tx.unzipWith=i7,tx.update=function(e,n,t){return null==e?e:rI(e,n,rB(t))},tx.updateWith=function(e,n,t,r){return r="function"==typeof r?r:o,null==e?e:rI(e,n,rB(t),r)},tx.values=lC,tx.valuesIn=function(e){return null==e?[]:nN(e,lg(e))},tx.without=i9,tx.words=l$,tx.wrap=function(e,n){return oB(rB(n),e)},tx.xor=oe,tx.xorBy=on,tx.xorWith=ot,tx.zip=or,tx.zipObject=function(e,n){return rP(e||[],n||[],tA)},tx.zipObjectDeep=function(e,n){return rP(e||[],n||[],rm)},tx.zipWith=oi,tx.entries=lk,tx.entriesIn=l_,tx.extend=lo,tx.extendWith=ll,lV(tx,tx),tx.add=l2,tx.attempt=lD,tx.camelCase=lI,tx.capitalize=lS,tx.ceil=l8,tx.clamp=function(e,n,t){return o===t&&(t=n,n=o),o!==t&&(t=(t=ln(t))==t?t:0),o!==n&&(n=(n=ln(n))==n?n:0),tN(ln(e),n,t)},tx.clone=function(e){return t$(e,4)},tx.cloneDeep=function(e){return t$(e,5)},tx.cloneDeepWith=function(e,n){return t$(e,5,n="function"==typeof n?n:o)},tx.cloneWith=function(e,n){return t$(e,4,n="function"==typeof n?n:o)},tx.conformsTo=function(e,n){return null==n||tD(e,n,lx(n))},tx.deburr=lO,tx.defaultTo=function(e,n){return null==e||e!=e?n:e},tx.divide=l3,tx.endsWith=function(e,n,t){e=lr(e),n=rk(n);var r=e.length,i=t=o===t?r:tN(o9(t),0,r);return(t-=n.length)>=0&&e.slice(t,i)==n},tx.eq=oN,tx.escape=function(e){return(e=lr(e))&&F.test(e)?e.replace(X,nL):e},tx.escapeRegExp=function(e){return(e=lr(e))&&Z.test(e)?e.replace(Y,"\\$&"):e},tx.every=function(e,n,t){var r=oM(e)?nf:tJ;return t&&i_(e,n,t)&&(n=o),r(e,ih(n,3))},tx.find=os,tx.findIndex=iV,tx.findKey=function(e,n){return nw(e,ih(n,3),tW)},tx.findLast=ou,tx.findLastIndex=iH,tx.findLastKey=function(e,n){return nw(e,ih(n,3),tq)},tx.floor=l5,tx.forEach=od,tx.forEachRight=of,tx.forIn=function(e,n){return null==e?e:tV(e,ih(n,3),lg)},tx.forInRight=function(e,n){return null==e?e:tH(e,ih(n,3),lg)},tx.forOwn=function(e,n){return e&&tW(e,ih(n,3))},tx.forOwnRight=function(e,n){return e&&tq(e,ih(n,3))},tx.get=ld,tx.gt=o$,tx.gte=oD,tx.has=function(e,n){return null!=e&&iy(e,n,t1)},tx.hasIn=lf,tx.head=iq,tx.identity=lJ,tx.includes=function(e,n,t,r){e=oK(e)?e:lC(e),t=t&&!r?o9(t):0;var i=e.length;return t<0&&(t=n3(i+t,0)),o2(e)?t<=i&&e.indexOf(n,t)>-1:!!i&&n_(e,n,t)>-1},tx.indexOf=function(e,n,t){var r=null==e?0:e.length;if(!r)return -1;var i=null==t?0:o9(t);return i<0&&(i=n3(r+i,0)),n_(e,n,i)},tx.inRange=function(e,n,t){var r,i,l;return n=o7(n),o===t?(t=n,n=0):t=o7(t),(r=e=ln(e))>=n5(i=n,l=t)&&r=-0x1fffffffffffff&&e<=0x1fffffffffffff},tx.isSet=o1,tx.isString=o2,tx.isSymbol=o8,tx.isTypedArray=o3,tx.isUndefined=function(e){return o===e},tx.isWeakMap=function(e){return oG(e)&&ib(e)==S},tx.isWeakSet=function(e){return oG(e)&&"[object WeakSet]"==tZ(e)},tx.join=function(e,n){return null==e?"":n2.call(e,n)},tx.kebabCase=lA,tx.last=iZ,tx.lastIndexOf=function(e,n,t){var r=null==e?0:e.length;if(!r)return -1;var i=r;return o!==t&&(i=(i=o9(t))<0?n3(r+i,0):n5(i,r-1)),n==n?function(e,n,t){for(var r=t+1;r--&&e[r]!==n;);return r}(e,n,i):nk(e,nI,i,!0)},tx.lowerCase=lP,tx.lowerFirst=lE,tx.lt=o5,tx.lte=o4,tx.max=function(e){return e&&e.length?tX(e,lJ,t0):o},tx.maxBy=function(e,n){return e&&e.length?tX(e,ih(n,2),t0):o},tx.mean=function(e){return nS(e,lJ)},tx.meanBy=function(e,n){return nS(e,ih(n,2))},tx.min=function(e){return e&&e.length?tX(e,lJ,rn):o},tx.minBy=function(e,n){return e&&e.length?tX(e,ih(n,2),rn):o},tx.stubArray=l0,tx.stubFalse=l1,tx.stubObject=function(){return{}},tx.stubString=function(){return""},tx.stubTrue=function(){return!0},tx.multiply=l4,tx.nth=function(e,n){return e&&e.length?rl(e,o9(n)):o},tx.noConflict=function(){return e6._===this&&(e6._=eM),this},tx.noop=lH,tx.now=ob,tx.pad=function(e,n,t){e=lr(e);var r=(n=o9(n))?nH(e):0;if(!n||r>=n)return e;var i=(n-r)/2;return r8(nY(i),t)+e+r8(nA(i),t)},tx.padEnd=function(e,n,t){e=lr(e);var r=(n=o9(n))?nH(e):0;return n&&rn){var r=e;e=n,n=r}if(t||e%1||n%1){var i=n7();return n5(e+i*(n-e+e8("1e-"+((i+"").length-1))),n)}return rd(e,n)},tx.reduce=function(e,n,t){var r=oM(e)?nj:nP,i=arguments.length<3;return r(e,ih(n,4),t,i,tL)},tx.reduceRight=function(e,n,t){var r=oM(e)?nb:nP,i=arguments.length<3;return r(e,ih(n,4),t,i,tK)},tx.repeat=function(e,n,t){return n=(t?i_(e,n,t):o===n)?1:o9(n),rf(lr(e),n)},tx.replace=function(){var e=arguments,n=lr(e[0]);return e.length<3?n:n.replace(e[1],e[2])},tx.result=function(e,n,t){n=rz(n,e);var r=-1,i=n.length;for(i||(i=1,e=o);++r0x1fffffffffffff)return[];var t=0xffffffff,r=n5(e,0xffffffff);n=ih(n),e-=0xffffffff;for(var i=nB(r,n);++t=l)return e;var c=t-nH(r);if(c<1)return r;var s=a?rT(a,0,c).join(""):e.slice(0,c);if(o===i)return s+r;if(a&&(c+=s.length-c),o0(i)){if(e.slice(c).search(i)){var u,d=s;for(i.global||(i=eI(i.source,lr(es.exec(i))+"g")),i.lastIndex=0;u=i.exec(d);)var f=u.index;s=s.slice(0,o===f?c:f)}}else if(e.indexOf(rk(i),c)!=c){var h=s.lastIndexOf(i);h>-1&&(s=s.slice(0,h))}return s+r},tx.unescape=function(e){return(e=lr(e))&&U.test(e)?e.replace(J,nG):e},tx.uniqueId=function(e){var n=++eN;return lr(e)+n},tx.upperCase=lT,tx.upperFirst=lN,tx.each=od,tx.eachRight=of,tx.first=iq,lV(tx,(eb={},tW(tx,function(e,n){eT.call(tx.prototype,n)||(eb[n]=e)}),eb),{chain:!1}),tx.VERSION="4.17.21",nd(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){tx[e].placeholder=tx}),nd(["drop","take"],function(e,n){ty.prototype[e]=function(t){t=o===t?1:n3(o9(t),0);var r=this.__filtered__&&!n?new ty(this):this.clone();return r.__filtered__?r.__takeCount__=n5(t,r.__takeCount__):r.__views__.push({size:n5(t,0xffffffff),type:e+(r.__dir__<0?"Right":"")}),r},ty.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}}),nd(["filter","map","takeWhile"],function(e,n){var t=n+1,r=1==t||3==t;ty.prototype[e]=function(e){var n=this.clone();return n.__iteratees__.push({iteratee:ih(e,3),type:t}),n.__filtered__=n.__filtered__||r,n}}),nd(["head","last"],function(e,n){var t="take"+(n?"Right":"");ty.prototype[e]=function(){return this[t](1).value()[0]}}),nd(["initial","tail"],function(e,n){var t="drop"+(n?"":"Right");ty.prototype[e]=function(){return this.__filtered__?new ty(this):this[t](1)}}),ty.prototype.compact=function(){return this.filter(lJ)},ty.prototype.find=function(e){return this.filter(e).head()},ty.prototype.findLast=function(e){return this.reverse().find(e)},ty.prototype.invokeMap=rh(function(e,n){return"function"==typeof e?new ty(this):this.map(function(t){return t3(t,e,n)})}),ty.prototype.reject=function(e){return this.filter(oP(ih(e)))},ty.prototype.slice=function(e,n){e=o9(e);var t=this;return t.__filtered__&&(e>0||n<0)?new ty(t):(e<0?t=t.takeRight(-e):e&&(t=t.drop(e)),o!==n&&(t=(n=o9(n))<0?t.dropRight(-n):t.take(n-e)),t)},ty.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ty.prototype.toArray=function(){return this.take(0xffffffff)},tW(ty.prototype,function(e,n){var t=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),l=tx[i?"take"+("last"==n?"Right":""):n],a=i||/^find/.test(n);l&&(tx.prototype[n]=function(){var n=this.__wrapped__,c=i?[1]:arguments,s=r(n,ty),u=c[0],d=s||oM(n),f=function(e){var n=l.apply(tx,ng([e],c));return i&&h?n[0]:n};d&&t&&"function"==typeof u&&1!=u.length&&(s=d=!1);var h=this.__chain__,m=!!this.__actions__.length,p=a&&!h,x=s&&!m;if(!a&&d){n=x?n:new ty(this);var g=e.apply(n,c);return g.__actions__.push({func:ol,args:[f],thisArg:o}),new tb(g,h)}return p&&x?e.apply(this,c):(g=this.thru(f),p?i?g.value()[0]:g.value():g)})}),nd(["pop","push","shift","sort","splice","unshift"],function(e){var n=eA[e],t=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);tx.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return n.apply(oM(i)?i:[],e)}return this[t](function(t){return n.apply(oM(t)?t:[],e)})}}),tW(ty.prototype,function(e,n){var t=tx[n];if(t){var r=t.name+"";eT.call(ta,r)||(ta[r]=[]),ta[r].push({name:n,func:t})}}),ta[rZ(o,2).name]=[{name:"wrapper",func:o}],ty.prototype.clone=function(){var e=new ty(this.__wrapped__);return e.__actions__=rJ(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=rJ(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=rJ(this.__views__),e},ty.prototype.reverse=function(){if(this.__filtered__){var e=new ty(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},ty.prototype.value=function(){var e=this.__wrapped__.value(),n=this.__dir__,t=oM(e),r=n<0,i=t?e.length:0,o=function(e,n,t){for(var r=-1,i=t.length;++r=this.__values__.length,n=e?o:this.__values__[this.__index__++];return{done:e,value:n}},tx.prototype.plant=function(e){for(var n,t=this;r(t,tj);){var i=iJ(t);i.__index__=0,i.__values__=o,n?l.__wrapped__=i:n=i;var l=i;t=t.__wrapped__}return l.__wrapped__=e,n},tx.prototype.reverse=function(){var e=this.__wrapped__;if(r(e,ty)){var n=e;return this.__actions__.length&&(n=new ty(this)),(n=n.reverse()).__actions__.push({func:ol,args:[i8],thisArg:o}),new tb(n,this.__chain__)}return this.thru(i8)},tx.prototype.toJSON=tx.prototype.valueOf=tx.prototype.value=function(){return rO(this.__wrapped__,this.__actions__)},tx.prototype.first=tx.prototype.head,e4&&(tx.prototype[e4]=function(){return this}),tx}();"function"==typeof define&&"object"==i(define.amd)&&define.amd?(e6._=nQ,define(function(){return nQ})):e9?((e9.exports=nQ)._=nQ,e7._=nQ):e6._=nQ}).call(this)},6312:function(e,n){"use strict";var t=Symbol.for("react.transitional.element");function r(e,n,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==n.key&&(i=""+n.key),"key"in n)for(var o in r={},n)"key"!==o&&(r[o]=n[o]);else r=n;return{$$typeof:t,type:e,key:i,ref:void 0!==(n=r.ref)?n:null,props:r}}n.Fragment=Symbol.for("react.fragment"),n.jsx=r,n.jsxs=r},5059:function(e,n){"use strict";function t(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),p=Symbol.iterator,x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,j={};function b(e,n,t){this.props=e,this.context=n,this.refs=j,this.updater=t||x}function y(){}function v(e,n,t){this.props=e,this.context=n,this.refs=j,this.updater=t||x}b.prototype.isReactComponent={},b.prototype.setState=function(e,n){if("object"!==(void 0===e?"undefined":t(e))&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var w=v.prototype=new y;w.constructor=v,g(w,b.prototype),w.isPureReactComponent=!0;var k=Array.isArray;function _(){}var C={H:null,A:null,T:null,S:null},I=Object.prototype.hasOwnProperty;function S(e,n,t){var i=t.ref;return{$$typeof:r,type:e,key:n,ref:void 0!==i?i:null,props:t}}function O(e){return"object"===(void 0===e?"undefined":t(e))&&null!==e&&e.$$typeof===r}var A=/\/+/g;function P(e,n){var r,i;return"object"===(void 0===e?"undefined":t(e))&&null!==e&&null!=e.key?(r=""+e.key,i={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return i[e]})):n.toString(36)}function E(e,n,o){if(null==e)return e;var l=[],a=0;return!function e(n,o,l,a,c){var s,u,d,f=void 0===n?"undefined":t(n);("undefined"===f||"boolean"===f)&&(n=null);var m=!1;if(null===n)m=!0;else switch(f){case"bigint":case"string":case"number":m=!0;break;case"object":switch(n.$$typeof){case r:case i:m=!0;break;case h:return e((m=n._init)(n._payload),o,l,a,c)}}if(m)return c=c(n),m=""===a?"."+P(n,0):a,k(c)?(l="",null!=m&&(l=m.replace(A,"$&/")+"/"),e(c,o,l,"",function(e){return e})):null!=c&&(O(c)&&(s=c,u=l+(null==c.key||n&&n.key===c.key?"":(""+c.key).replace(A,"$&/")+"/")+m,c=S(s.type,u,s.props)),o.push(c)),1;m=0;var x=""===a?".":a+":";if(k(n))for(var g=0;g>>1,i=e[r];if(0>>1;rl(c,t))sl(u,c)?(e[r]=u,e[s]=t,r=s):(e[r]=c,e[a]=t,r=a);else if(sl(u,t))e[r]=u,e[s]=t,r=s;else break}}return n}function l(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if(n.unstable_now=void 0,"object"===("undefined"==typeof performance?"undefined":t(performance))&&"function"==typeof performance.now){var a,c=performance;n.unstable_now=function(){return c.now()}}else{var s=Date,u=s.now();n.unstable_now=function(){return s.now()-u}}var d=[],f=[],h=1,m=null,p=3,x=!1,g=!1,j=!1,b=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var n=i(f);null!==n;){if(null===n.callback)o(f);else if(n.startTime<=e)o(f),n.sortIndex=n.expirationTime,r(d,n);else break;n=i(f)}}function _(e){if(j=!1,k(e),!g)if(null!==i(d))g=!0,C||(C=!0,a());else{var n=i(f);null!==n&&z(_,n.startTime-e)}}var C=!1,I=-1,S=5,O=-1;function A(){return!!b||!(n.unstable_now()-Oe&&A());){var l=m.callback;if("function"==typeof l){m.callback=null,p=m.priorityLevel;var c=l(m.expirationTime<=e);if(e=n.unstable_now(),"function"==typeof c){m.callback=c,k(e),t=!0;break n}m===i(d)&&o(d),k(e)}else o(d);m=i(d)}if(null!==m)t=!0;else{var s=i(f);null!==s&&z(_,s.startTime-e),t=!1}}break e}finally{m=null,p=r,x=!1}}}finally{t?a():C=!1}}}if("function"==typeof w)a=function(){w(P)};else if("undefined"!=typeof MessageChannel){var E=new MessageChannel,B=E.port2;E.port1.onmessage=P,a=function(){B.postMessage(null)}}else a=function(){y(P,0)};function z(e,t){I=y(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_forceFrameRate=function(e){0>e||125c?(e.sortIndex=l,r(f,e),null===i(d)&&e===i(f)&&(j?(v(I),I=-1):j=!0,z(_,l-c))):(e.sortIndex=s,r(d,e),g||x||(g=!0,C||(C=!0,a()))),e},n.unstable_shouldYield=A,n.unstable_wrapCallback=function(e){var n=p;return function(){var t=p;p=n;try{return e.apply(this,arguments)}finally{p=t}}}},8014:function(e,n,t){"use strict";e.exports=t(2685)},8587:function(e,n,t){"use strict";t.d(n,{TS:()=>s,Tj:()=>o,Ul:()=>a,pb:()=>i,y1:()=>c,yU:()=>u});function r(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var i=function(e,n){if(null==e)return e;if(Array.isArray(e)){for(var t=[],i=0;ia)return 1}return 0},a=function(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;ri}),null==(r=window.performance)||r.now;var r,i={mark:function(e,n){},measure:function(e,n){}}},5900:function(e,n,t){"use strict";function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc,Tw:()=>a,VP:()=>s,y$:()=>l});var l=function(e,n){if(n)return n(l)(e);var t,r=[],i=function(n){t=e(t,n);for(var i=0;i1?a-1:0),s=1;s1?n-1:0),r=1;r1?n-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=i({},t),l=!1,a=!0,c=!1,s=void 0;try{for(var u,d=n[Symbol.iterator]();!(a=(u=d.next()).done);a=!0){var f=u.value,h=e[f],m=t[f],p=h(m,r);m!==p&&(l=!0,o[f]=p)}}catch(e){c=!0,s=e}finally{try{a||null==d.return||d.return()}finally{if(c)throw s}}return l?o:t}},s=function(e,n){var t=function(){for(var t=arguments.length,r=Array(t),l=0;l0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]m});var u,d=(u=function(){return window.hubStorage&&!!window.hubStorage.getItem},function(){try{return!!u()}catch(e){return!1}}),f=function(){function e(){o(this,e),c(this,"store",void 0),c(this,"impl",void 0),this.impl=0,this.store={}}return a(e,[{key:"get",value:function(e){return i(function(){return s(this,function(n){return[2,this.store[e]]})}).call(this)}},{key:"set",value:function(e,n){return i(function(){return s(this,function(t){return this.store[e]=n,[2]})}).call(this)}},{key:"remove",value:function(e){return i(function(){return s(this,function(n){return this.store[e]=void 0,[2]})}).call(this)}},{key:"clear",value:function(){return i(function(){return s(this,function(e){return this.store={},[2]})}).call(this)}}]),e}(),h=function(){function e(){o(this,e),c(this,"impl",void 0),this.impl=1}return a(e,[{key:"get",value:function(e){return i(function(){var n;return s(this,function(t){switch(t.label){case 0:return[4,window.hubStorage.getItem("paradise-"+e)];case 1:if("string"==typeof(n=t.sent()))return[2,JSON.parse(n)];return[2,void 0]}})})()}},{key:"set",value:function(e,n){return i(function(){return s(this,function(t){return window.hubStorage.setItem("paradise-"+e,JSON.stringify(n)),[2]})})()}},{key:"remove",value:function(e){return i(function(){return s(this,function(n){return window.hubStorage.removeItem("paradise-"+e),[2]})})()}},{key:"clear",value:function(){return i(function(){return s(this,function(e){return window.hubStorage.clear(),[2]})})()}}]),e}(),m=new(function(){function e(){o(this,e),c(this,"backendPromise",void 0),c(this,"impl",0),this.backendPromise=i(function(){return s(this,function(e){return d()?[2,new h]:(console.warn("No supported storage backend found. Using in-memory storage."),[2,new f])})})()}return a(e,[{key:"get",value:function(e){return i(function(){return s(this,function(n){switch(n.label){case 0:return[4,this.backendPromise];case 1:return[2,n.sent().get(e)]}})}).call(this)}},{key:"set",value:function(e,n){return i(function(){return s(this,function(t){switch(t.label){case 0:return[4,this.backendPromise];case 1:return[2,t.sent().set(e,n)]}})}).call(this)}},{key:"remove",value:function(e){return i(function(){return s(this,function(n){switch(n.label){case 0:return[4,this.backendPromise];case 1:return[2,n.sent().remove(e)]}})}).call(this)}},{key:"clear",value:function(){return i(function(){return s(this,function(e){switch(e.label){case 0:return[4,this.backendPromise];case 1:return[2,e.sent().clear()]}})}).call(this)}}]),e}())},6183:function(e,n,t){"use strict";t.d(n,{CO:()=>s,Xd:()=>f,Z4:()=>u,tk:()=>d});var r=t(8587);function i(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tl,l:()=>o});var r=[/v4shim/i],i={},o=function(e){return i[e]||e},l=function(e){return function(e){return function(n){var t=n.type,o=n.payload;if("asset/stylesheet"===t)return void Byond.loadCss(o);if("asset/mappings"===t){var l=!0,a=!1,c=void 0;try{for(var s,u=Object.keys(o)[Symbol.iterator]();!(l=(s=u.next()).done);l=!0)!function(){var e=s.value;if(!r.some(function(n){return n.test(e)})){var n=o[e],t=e.split(".").pop();i[e]=n,"css"===t&&Byond.loadCss(n),"js"===t&&Byond.loadJs(n)}}()}catch(e){a=!0,c=e}finally{try{l||null==u.return||u.return()}finally{if(a)throw c}}return}e(n)}}}},2864:function(e,n,t){"use strict";t.d(n,{H$:()=>w,J3:()=>r,JV:()=>C,Oc:()=>D,QY:()=>M,Ul:()=>R,d4:()=>L,jB:()=>E,pX:()=>B});var r,i=t(9227),o=t(5900),l=t(1874),a=t(6400),c=t(1604),s=t(2533),u=t(2901);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function j(e){var n=function(e,n){if("object"!==b(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==b(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===b(n)?n:String(n)}function b(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function y(e,n){if(e){if("string"==typeof e)return d(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return d(e,n)}}var v=(0,s.h)("backend"),w=function(e){r=e},k=(0,o.VP)("backend/update"),_=(0,o.VP)("backend/setSharedState"),C=(0,o.VP)("backend/suspendStart"),I=(0,o.VP)("backend/createPayloadQueue"),S=(0,o.VP)("backend/dequeuePayloadQueue"),O=(0,o.VP)("backend/removePayloadQueue"),A=(0,o.VP)("nextPayloadChunk"),P={config:{},data:{},shared:{},outgoingPayloadQueues:{},suspended:Date.now(),suspending:!1},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:P,n=arguments.length>1?arguments[1]:void 0,t=n.type,r=n.payload;if("backend/update"===t){var i=p({},e.config,r.config),o=p({},e.data,r.static_data,r.data),l=p({},e.shared);if(r.shared){var a=!0,c=!1,s=void 0;try{for(var u,d=Object.keys(r.shared)[Symbol.iterator]();!(a=(u=d.next()).done);a=!0){var b=u.value,v=r.shared[b];""===v?l[b]=void 0:l[b]=JSON.parse(v)}}catch(e){c=!0,s=e}finally{try{a||null==d.return||d.return()}finally{if(c)throw s}}}return x(p({},e),{config:i,data:o,shared:l,suspended:!1})}if("backend/setSharedState"===t){var w=r.key,k=r.nextState;return x(p({},e),{shared:x(p({},e.shared),h({},w,k))})}if("backend/suspendStart"===t)return x(p({},e),{suspending:!0});if("backend/suspendSuccess"===t){var _=r.timestamp;return x(p({},e),{data:{},shared:{},config:x(p({},e.config),{title:"",status:1}),suspending:!1,suspended:_})}if("backend/createPayloadQueue"===t){var C=r.id,I=r.chunks,S=e.outgoingPayloadQueues;return x(p({},e),{outgoingPayloadQueues:x(p({},S),h({},C,I))})}if("backend/dequeuePayloadQueue"===t){var O=r.id,A=e.outgoingPayloadQueues,E=A[O],B=g(A,[O].map(j)),z=f(E)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(E)||y(E)||m(),T=(z[0],z.slice(1));return x(p({},e),{outgoingPayloadQueues:T.length?x(p({},B),h({},O,T)):B})}if("backend/removePayloadQueue"===t){var N=r.id,$=e.outgoingPayloadQueues;$[N];var D=g($,[N].map(j));return x(p({},e),{outgoingPayloadQueues:D})}return e},B=function(e){var n,t;return function(r){return function(o){var s=$(e.getState()),d=s.suspended,f=s.outgoingPayloadQueues,h=o.type,m=o.payload;if("update"===h)return void e.dispatch(k(m));if("suspend"===h)return void e.dispatch({type:"backend/suspendSuccess",payload:{timestamp:Date.now()}});if("ping"===h)return void Byond.sendMessage("ping/reply");if("backend/suspendStart"===h&&!t){v.log("suspending (".concat(Byond.windowId,")"));var p=function(){return Byond.sendMessage("suspend")};p(),t=setInterval(p,2e3)}if("backend/suspendSuccess"===h&&((0,u.Su)(),clearInterval(t),t=void 0,Byond.winset(Byond.windowId,{"is-visible":!1}),(0,l.sc)(),(0,l.zr)(),setTimeout(function(){return(0,c.$)()})),"backend/update"===h){var x,g,j=null==(g=m.config)||null==(x=g.window)?void 0:x.fancy;void 0===n?n=j:n!==j&&(v.log("changing fancy mode to",j),n=j,Byond.winset(Byond.windowId,{titlebar:!j,"can-resize":!j}))}if("backend/update"===h&&d&&(v.log("backend/update",m),(0,u.P7)(),(0,l.ao)(),(0,a.MN)(),setTimeout(function(){i.k.mark("resume/start"),$(e.getState()).suspended||(Byond.winset(Byond.windowId,{"is-visible":!0}),Byond.sendMessage("visible"),i.k.mark("resume/finish"))})),"oversizePayloadResponse"===h&&(m.allow?e.dispatch(A(m)):e.dispatch(O(m))),"acknowlegePayloadChunk"===h&&(e.dispatch(S(m)),e.dispatch(A(m))),"nextPayloadChunk"===h){var b=m.id,y=f[b][0];Byond.sendMessage("payloadChunk",{id:b,chunk:y})}return r(o)}}},z=function(e,n){for(var t=e.length-1,r=0,i=0;r1024){var c=i+z(l,1024);r.push(n.slice(i,c1&&void 0!==arguments[1]?arguments[1]:{};if(!((void 0===n?"undefined":b(n))==="object"&&null!==n&&!Array.isArray(n)))return void v.error("Payload for act() must be an object, got this:",n);var t=JSON.stringify(n);if(Object.entries({type:"act/"+e,payload:t,tgui:1,windowId:Byond.windowId}).reduce(function(e,n,t){var r=f(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),2!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,2)||y(n,2)||m(),i=r[0],o=r[1];return e+"".concat(t>0?"&":"?").concat(encodeURIComponent(i),"=").concat(encodeURIComponent(o))},"").length>2048){var i=t.split(T),o="".concat(Date.now());null==r||r.dispatch(I({id:o,chunks:i})),Byond.sendMessage("oversizedPayloadRequest",{type:"act/"+e,id:o,chunkCount:i.length});return}Byond.sendMessage("act/"+e,n)},$=function(e){return e.backend||{}},D=function(){var e;return x(p({},null==r||null==(e=r.getState())?void 0:e.backend),{act:N})},R=function(e,n){var t,i,o=null==r||null==(t=r.getState())?void 0:t.backend,l=null!=(i=null==o?void 0:o.shared)?i:{},a=e in l?l[e]:n;return[a,function(n){r.dispatch(_({key:e,nextState:"function"==typeof n?n(a):n}))}]},M=function(e,n){var t,i,o=null==r||null==(t=r.getState())?void 0:t.backend,l=null!=(i=null==o?void 0:o.shared)?i:{},a=e in l?l[e]:n;return[a,function(n){Byond.sendMessage({type:"setSharedState",key:e,value:JSON.stringify("function"==typeof n?n(a):n)||""})}]},L=function(e){return e(null==r?void 0:r.getState())}},8095:function(e,n,t){"use strict";t.d(n,{H:()=>u});var r=t(8138),i=t(4530),o=t(6859);function l(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["onMove","onKey","style"]),m=(0,i.useRef)(null),p=a(u),x=a(d),g=(n=(0,i.useMemo)(function(){var e=function(e){e.preventDefault(),e.buttons>0&&m.current?p(s(m.current,e)):t(!1)},n=function(){return t(!1)},t=function(t){var r=c(m.current),i=t?r.addEventListener:r.removeEventListener;i("mousemove",e),i("mouseup",n)};return[function(e){var n=e.nativeEvent,r=m.current;r&&(n.preventDefault(),r.focus(),p(s(r,n)),t(!0))},function(e){var n=e.which||e.keyCode;n<37||n>40||(e.preventDefault(),x({left:39===n?.05:37===n?-.05:0,top:40===n?.05:38===n?-.05:0}))},t]},[x,p]),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),3!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,3)||function(e,n){if(e){if("string"==typeof e)return l(e,3);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,3)}}(n,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),j=g[0],b=g[1],y=g[2];return(0,i.useEffect)(function(){return y},[y]),(0,r.jsx)("div",(t=function(e){for(var n=1;nu,gm:()=>C,tx:()=>v,Gi:()=>a});var r=t(8138),i=t(4530),o=t(7790);function l(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["children","progressBar","timeStart","timeEnd","format"]),m=Math.max((u?d-u:d)*100,0),p=(n=(0,i.useState)(m),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),2!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,2)||function(e,n){if(e){if("string"==typeof e)return l(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),x=p[0],g=p[1],j=(0,i.useRef)(null);function b(){g(function(e){var n=Math.max(e-1e3,0);return n<=0&&clearInterval(j.current),n})}(0,i.useEffect)(function(){return j.current||(j.current=setInterval(b,1e3)),function(){return clearInterval(j.current)}},[]);var y=new Date(x).toISOString().slice(11,19),v=(0,r.jsx)(o.az,(t=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var u=function(e){var n,t,i=e.children,l=s(e,["children"]);return(0,r.jsx)(o.XI,(n=c({},l),t=t={children:(0,r.jsx)(o.XI.Row,{children:i})},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))};u.Column=function(e){var n=e.size,t=e.style,i=s(e,["size","style"]);return(0,r.jsx)(o.XI.Cell,c({style:c({width:(void 0===n?1:n)+"%"},t)},i))},t(8095);var d=t(8595),f=t(2864);function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function g(e,n){return(g=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function j(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(j=function(){return!!e})()}var b=(0,i.createContext)({zoom:1}),y=function(e){return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.cancelBubble=!0,e.returnValue=!1,!1},v=function(e){var n;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function t(e){var n,r,i,o,l,a;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");return l=t,a=[e],l=h(l),n=function(e,n){var t;if(n&&("object"==((t=n)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)||"function"==typeof n))return n;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,j()?Reflect.construct(l,a||[],h(this).constructor):l.apply(this,a)),window.innerWidth,window.innerHeight,n.state={offsetX:null!=(r=e.offsetX)?r:0,offsetY:null!=(i=e.offsetY)?i:0,dragging:!1,originX:null,originY:null,zoom:null!=(o=e.zoom)?o:1},n.handleDragStart=function(e){n.ref=e.target,n.setState({dragging:!1,originX:e.screenX,originY:e.screenY}),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd),y(e)},n.handleDragMove=function(e){n.setState(function(n){var t=m({},n),r=e.screenX-t.originX,i=e.screenY-t.originY;return n.dragging?(t.offsetX+=r/t.zoom,t.offsetY+=i/t.zoom,t.originX=e.screenX,t.originY=e.screenY):t.dragging=!0,t}),y(e)},n.handleDragEnd=function(t){var r;n.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),null==(r=e.onOffsetChange)||r.call(e,t,n.state),y(t)},n.handleZoom=function(t,r){n.setState(function(n){return n.zoom=Math.min(Math.max(r,1),8),e.onZoom&&e.onZoom(n.zoom),n})},n.handleReset=function(t){n.setState(function(r){var i;r.offsetX=0,r.offsetY=0,r.zoom=1,n.handleZoom(t,1),null==(i=e.onOffsetChange)||i.call(e,t,r)})},n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e),n=[{key:"render",value:function(){var e=(0,f.Oc)().config,n=this.state,t=n.dragging,i=n.offsetX,l=n.offsetY,a=n.zoom,c=void 0===a?1:a,s=this.props.children,u=e.map+"_nanomap_z1.png",h=510*c+"px";return(0,r.jsx)(b.Provider,{value:{zoom:c},children:(0,r.jsxs)(o.az,{className:"NanoMap__container",children:[(0,r.jsxs)(o.az,{style:{width:h,height:h,marginTop:l*c+"px",marginLeft:i*c+"px",overflow:"hidden",position:"relative",top:"50%",left:"50%",transform:"translate(-50%, -50%)",backgroundSize:"cover",backgroundRepeat:"no-repeat",textAlign:"center",cursor:t?"move":"auto"},onMouseDown:this.handleDragStart,children:[(0,r.jsx)("img",{src:(0,d.l)(u),style:{width:"100%",height:"100%",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",imageRendering:"pixelated"}}),(0,r.jsx)(o.az,{children:s})]}),(0,r.jsx)(k,{zoom:c,onZoom:this.handleZoom,onReset:this.handleReset})]})})}}],function(e,n){for(var t=0;ti,b_:()=>a,fF:()=>c,lm:()=>r,wM:()=>l});var r={department:{command:"#526aff",security:"#CF0000",medical:"#009190",science:"#993399",engineering:"#A66300",supply:"#9F8545",service:"#80A000",centcom:"#78789B",other:"#C38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}},i=[{name:"Syndicate",freq:1213,color:"#a52a2a"},{name:"SyndTeam",freq:1244,color:"#a52a2a"},{name:"Red Team",freq:1215,color:"#ff4444"},{name:"Blue Team",freq:1217,color:"#3434fd"},{name:"Response Team",freq:1345,color:"#2681a5"},{name:"Special Ops",freq:1341,color:"#2681a5"},{name:"Supply",freq:1347,color:"#b88646"},{name:"Service",freq:1349,color:"#6ca729"},{name:"Science",freq:1351,color:"#c68cfa"},{name:"Command",freq:1353,color:"#5177ff"},{name:"Procedure",freq:1339,color:"#F70285"},{name:"Medical",freq:1355,color:"#57b8f0"},{name:"Medical(I)",freq:1485,color:"#57b8f0"},{name:"Engineering",freq:1357,color:"#f37746"},{name:"Security",freq:1359,color:"#dd3535"},{name:"Security(I)",freq:1475,color:"#dd3535"},{name:"AI Private",freq:1343,color:"#d65d95"},{name:"Common",freq:1459,color:"#1ecc43"}],o=[{id:"o2",name:"Oxygen",label:"O₂",color:"blue"},{id:"n2",name:"Nitrogen",label:"N₂",color:"red"},{id:"co2",name:"Carbon Dioxide",label:"CO₂",color:"grey"},{id:"plasma",name:"Plasma",label:"Plasma",color:"pink"},{id:"water_vapor",name:"Water Vapor",label:"H₂O",color:"grey"},{id:"nob",name:"Hyper-noblium",label:"Hyper-nob",color:"teal"},{id:"n2o",name:"Nitrous Oxide",label:"N₂O",color:"red"},{id:"no2",name:"Nitryl",label:"NO₂",color:"brown"},{id:"tritium",name:"Tritium",label:"Tritium",color:"green"},{id:"bz",name:"BZ",label:"BZ",color:"purple"},{id:"stim",name:"Stimulum",label:"Stimulum",color:"purple"},{id:"pluox",name:"Pluoxium",label:"Pluoxium",color:"blue"},{id:"miasma",name:"Miasma",label:"Miasma",color:"olive"},{id:"hydrogen",name:"Hydrogen",label:"H₂",color:"#997379"},{id:"ab",name:"Agent B",label:"Agent B",color:"purple"}],l=function(e,n){var t=String(e).toLowerCase(),r=o.find(function(e){return e.id===t||e.name.toLowerCase()===t});return r&&r.label||n||e},a=function(e){var n=String(e).toLowerCase(),t=o.find(function(e){return e.id===n||e.name.toLowerCase()===n});return t&&t.color},c=function(e,n){if(e>n)return"in the future";var t=(n/=10)-(e/=10);if(t>3600){var r=Math.round(t/3600);return r+" hour"+(1===r?"":"s")+" ago"}if(t>60){var i=Math.round(t/60);return i+" minute"+(1===i?"":"s")+" ago"}var o=Math.round(t);return o+" second"+(1===o?"":"s")+" ago"}},4981:function(e,n,t){"use strict";t(8138),t(7218),t(4530),t(7790),t(3384),t(937)},7218:function(e,n,t){"use strict";t.d(n,{D:()=>r});var r=(0,t(4530).createContext)(["",function(e){}])},3123:function(e,n,t){"use strict";var r=t(5900);(0,r.VP)("debug/toggleKitchenSink"),(0,r.VP)("debug/toggleDebugLayout"),(0,r.VP)("debug/openExternalBrowser")},9216:function(e,n,t){"use strict";t.d(n,{L:()=>o});var r=t(2864),i=t(8318);function o(){return(0,r.d4)(i.m)}},1956:function(e,n,t){"use strict";t.d(n,{A$:()=>i.A,Lo:()=>r.L});var r=t(9216);t(4981),t(2550);var i=t(8408)},2550:function(e,n,t){"use strict";t(1128),t(1874),t(3123)},8408:function(e,n,t){"use strict";function r(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,t=n.type;return"debug/toggleKitchenSink"===t?i(r({},e),{kitchenSink:!e.kitchenSink}):"debug/toggleDebugLayout"===t?i(r({},e),{debugLayout:!e.debugLayout}):e}t.d(n,{A:()=>o})},8318:function(e,n,t){"use strict";function r(e){return e.debug}t.d(n,{m:()=>r})},6400:function(e,n,t){"use strict";t.d(n,{BF:()=>z,C8:()=>P,MN:()=>E,nZ:()=>$,y9:()=>w});var r,i,o,l,a,c,s=t(1699),u=t(6183);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]2&&void 0!==arguments[2]?arguments[2]:50,i=[n],o=0;o0&&void 0!==arguments[0]?arguments[0]:{};return h(function(){var n,t,r,o,l;return p(this,function(a){switch(a.label){case 0:if(!(t=e.fancy))return[3,2];return[4,s.IG.get(j)];case 1:t=a.sent(),a.label=2;case 2:return(n=t)&&x.log("recalled geometry:",n),r=(null==n?void 0:n.pos)||e.pos,o=e.size,e.scale&&o&&(o=[o[0]*g,o[1]*g]),e.scale?(document.body.style.zoom="",document.documentElement.style.setProperty("--scaling-amount",null)):(document.body.style.zoom="".concat(100/window.devicePixelRatio,"%"),document.documentElement.style.setProperty("--scaling-amount",window.devicePixelRatio.toString())),[4,i];case 3:return a.sent(),l=S(),o&&I(o=[Math.min(l[0],o[0]),Math.min(l[1],o[1])]),r?(o&&e.locked&&(r=B(r,o)[1]),C(r)):o&&C(r=(0,u.CO)((0,u.Xd)(l,.5),(0,u.Xd)(o,-.5),(0,u.Xd)(v,-1))),[2]}})})()},E=function(){return h(function(){var e;return p(this,function(n){switch(n.label){case 0:return e=k(),[4,i=Byond.winget(Byond.windowId,"pos").then(function(n){return[n.x-e[0],n.y-e[1]]})];case 1:return v=n.sent(),x.debug("screen offset",v),[2]}})})()},B=function(e,n){for(var t=[0-v[0],0-v[1]],r=S(),i=[e[0],e[1]],o=!1,l=0;l<2;l++){var a=t[l],c=t[l]+r[l];e[l]c&&(i[l]=c-n[l],o=!0)}return[o,i]},z=function(e){var n;x.log("drag start"),b=!0,o=(0,u.Z4)([e.screenX*g,e.screenY*g],k()),null==(n=e.target)||n.focus(),document.addEventListener("mousemove",N),document.addEventListener("mouseup",T),N(e)},T=function(e){x.log("drag end"),N(e),document.removeEventListener("mousemove",N),document.removeEventListener("mouseup",T),b=!1,A()},N=function(e){b&&(e.preventDefault(),C((0,u.Z4)([e.screenX*g,e.screenY*g],o)))},$=function(e,n){return function(t){var r;l=[e,n],x.log("resize start",l),y=!0,o=(0,u.Z4)([t.screenX*g,t.screenY*g],k()),a=_(),null==(r=t.target)||r.focus(),document.addEventListener("mousemove",R),document.addEventListener("mouseup",D),R(t)}},D=function(e){x.log("resize end",c),R(e),document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",D),y=!1,A()},R=function(e){if(y){e.preventDefault();var n=(0,u.Z4)([e.screenX*g,e.screenY*g],k()),t=(0,u.Z4)(n,o);(c=(0,u.CO)(a,(0,u.tk)(l,t),[1,1]))[0]=Math.max(c[0],150*g),c[1]=Math.max(c[1],50*g),I(c)}}},1604:function(e,n,t){"use strict";t.d(n,{$:()=>r});var r=function(){Byond.winset("paramapwindow.map",{focus:!0})}},9609:function(e,n,t){"use strict";t.r(n),t.d(n,{AICard:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;if(0===a.has_ai)return(0,r.jsx)(l.p8,{width:250,height:120,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{title:"Stored AI",children:(0,r.jsx)(i.az,{children:(0,r.jsx)("h3",{children:"No AI detected."})})})})});var c=null;return c=a.integrity>=75?"green":a.integrity>=25?"yellow":"red",(0,r.jsx)(l.p8,{width:600,height:420,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{title:a.name,children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:(0,r.jsx)(i.z2,{color:c,value:a.integrity/100})})}),(0,r.jsx)(i.az,{color:"red",children:(0,r.jsx)("h2",{children:1===a.flushing?"Wipe of AI in progress...":""})})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Laws",children:!!a.has_laws&&(0,r.jsx)(i.az,{children:a.laws.map(function(e,n){return(0,r.jsx)(i.az,{children:e},n)})})||(0,r.jsx)(i.az,{color:"red",children:(0,r.jsx)("h3",{children:"No laws detected."})})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Actions",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Wireless Activity",children:(0,r.jsx)(i.$n,{width:10,icon:a.wireless?"check":"times",content:a.wireless?"Enabled":"Disabled",color:a.wireless?"green":"red",onClick:function(){return t("wireless")}})}),(0,r.jsx)(i.Ki.Item,{label:"Subspace Transceiver",children:(0,r.jsx)(i.$n,{width:10,icon:a.radio?"check":"times",content:a.radio?"Enabled":"Disabled",color:a.radio?"green":"red",onClick:function(){return t("radio")}})}),(0,r.jsx)(i.Ki.Item,{label:"Wipe",children:(0,r.jsx)(i.$n.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:a.flushing||0===a.integrity,confirmColor:"red",content:"Wipe AI",onClick:function(){return t("wipe")}})})]})})})]})})})}},1664:function(e,n,t){"use strict";t.r(n),t.d(n,{AIControllerDebugger:()=>u,CopyableValue:()=>c,ObjectReference:()=>s});var r=t(8138),i=t(9623),o=t(7790),l=t(2864),a=t(3384),c=function(e){var n=e.text;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.$n,{icon:"clipboard-list",onClick:function(){return navigator.clipboard.writeText(n)}}),(0,r.jsx)("span",{style:{fontFamily:"monospace"},children:n})]})},s=function(e){var n=(0,l.Oc)().act,t=e.obj_ref;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.$n,{onClick:function(){return n("vv",{uid:t.uid})},children:"VV"}),(0,r.jsx)(o.$n,{onClick:function(){return n("flw",{uid:t.uid})},children:"FLW"}),"\xa0",t.name]})},u=function(e){var n=(0,l.Oc)(),t=n.data,u=n.act,d=t.controller;return(0,r.jsx)(a.p8,{width:675,height:600,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.wn,{title:"Basic Info",children:(0,r.jsxs)(o.XI,{children:[d.pawn&&(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Pawn"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(s,{obj_ref:d.pawn})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Status"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.ai_status})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Type"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.type})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Idle Behavior"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.idle_behavior})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Movement"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.movement})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Movement Delay"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.movement_delay})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Able to Plan"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.able_to_plan?"Yes":"No"})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"On Failed Planning Timeout"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.on_failed_planning_timeout?"Yes":"No"})})]}),d.movement_target&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Movement Target"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(s,{obj_ref:d.movement_target})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Target Source"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.movement_target.source})})]})]})]})}),(0,r.jsx)(o.wn,{title:"Blackboard",children:(0,r.jsx)(o.XI,{className:"AIControllerDebugger__Blackboard",children:d.blackboard.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.name.length>30?(0,r.jsx)(o.m_,{content:e.name,children:(0,r.jsx)(o.az,{children:(0,i.truncate)(e.name)})}):e.name}),(0,r.jsxs)(o.XI.Cell,{className:"bb_value",children:[e.uid&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.$n,{onClick:function(){return u("vv",{uid:e.uid})},children:"VV"}),(0,r.jsx)(o.$n,{onClick:function(){return u("flw",{uid:e.uid})},children:"FLW"}),"\xa0"]}),e.value||"null"]})]},e.name)})})}),(0,r.jsx)(o.wn,{title:"Current Behaviors",children:(0,r.jsx)(o.XI,{children:d.current_behaviors.map(function(e,n){return(0,r.jsx)(o.XI.Row,{children:(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:e})})},n)})})}),(0,r.jsx)(o.wn,{title:"Planned Behaviors",children:(0,r.jsx)(o.XI,{children:d.planned_behaviors.map(function(e,n){return(0,r.jsx)(o.XI.Row,{children:(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:e})})},n)})})})]})})})}},8679:function(e,n,t){"use strict";t.r(n),t.d(n,{AIFixer:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;if(null===a.occupant)return(0,r.jsx)(l.p8,{width:550,height:500,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{fill:!0,title:"Stored AI",children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,r.jsxs)(i.In.Stack,{children:[(0,r.jsx)(i.In,{name:"robot",size:5,color:"silver"}),(0,r.jsx)(i.In,{name:"slash",size:5,color:"red"})]}),(0,r.jsx)("br",{}),(0,r.jsx)("h3",{children:"No Artificial Intelligence detected."})]})})})})});var c=!0;(2===a.stat||null===a.stat)&&(c=!1);var s=null;s=a.integrity>=75?"green":a.integrity>=25?"yellow":"red";var u=!0;return a.integrity>=100&&2!==a.stat&&(u=!1),(0,r.jsx)(l.p8,{children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:a.occupant,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:(0,r.jsx)(i.z2,{color:s,value:a.integrity/100})}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:c?"green":"red",children:c?"Functional":"Non-Functional"})]})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Laws",children:!!a.has_laws&&(0,r.jsx)(i.az,{children:a.laws.map(function(e,n){return(0,r.jsx)(i.az,{inline:!0,children:e},n)})})||(0,r.jsx)(i.az,{color:"red",children:(0,r.jsx)("h3",{children:"No laws detected."})})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{title:"Actions",children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Wireless Activity",children:(0,r.jsx)(i.$n,{icon:a.wireless?"times":"check",content:a.wireless?"Disabled":"Enabled",color:a.wireless?"red":"green",onClick:function(){return t("wireless")}})}),(0,r.jsx)(i.Ki.Item,{label:"Subspace Transceiver",children:(0,r.jsx)(i.$n,{icon:a.radio?"times":"check",content:a.radio?"Disabled":"Enabled",color:a.radio?"red":"green",onClick:function(){return t("radio")}})}),(0,r.jsx)(i.Ki.Item,{label:"Start Repairs",children:(0,r.jsx)(i.$n,{icon:"wrench",disabled:!u||a.active,content:!u||a.active?"Already Repaired":"Repair",onClick:function(){return t("fix")}})})]}),(0,r.jsx)(i.az,{color:"green",lineHeight:2,children:a.active?"Reconstruction in progress.":""})]})})]})})})}},5233:function(e,n,t){"use strict";t.r(n),t.d(n,{AIProgramPicker:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.program_list,s=a.ai_info;return(0,r.jsx)(l.p8,{width:450,height:600,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Select Program",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Memory Available",children:s.memory}),(0,r.jsx)(i.Ki.Item,{label:"Bandwidth Available",children:s.bandwidth})]})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:!!c&&c.map(function(e,n){return(0,r.jsx)(i.wn,{title:e.name,mb:1,buttons:(0,r.jsx)(i.$n,{icon:"file",onClick:function(){return t("select",{uid:e.UID})},children:1===e.installed?"Update":"Install"}),children:(0,r.jsx)(i.BJ,{vertical:!0,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.BJ.Item,{mb:2,children:(0,r.jsx)(i.Ki.Item,{label:"Description",children:e.description})}),(0,r.jsxs)(i.BJ,{children:[(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.Ki.Item,{label:1===e.installed?"Bandwidth Cost":"Memory Cost",children:e.memory_cost}),(0,r.jsx)(i.Ki.Item,{label:"Upgrade Level",children:e.upgrade_level})]}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.Ki.Item,{label:"Installed",children:1===e.installed?"True":"False"}),(0,r.jsx)(i.Ki.Item,{label:"Passive",children:1===e.is_passive?"True":"False"})]})]})]})})},e)})})]})})})}},9991:function(e,n,t){"use strict";t.r(n),t.d(n,{AIResourceManagementConsole:()=>s});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=function(e){var n,t=(0,l.Oc)().data.screen;return 0===t?n=(0,r.jsx)(u,{}):1===t&&(n=(0,r.jsx)(d,{})),n},s=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data;o.auth,o.ai_list,o.nodes_list;var s=o.screen;return(0,r.jsx)(a.p8,{width:350,height:425,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.tU,{children:[(0,r.jsx)(i.tU.Tab,{selected:0===s,icon:"list",onClick:function(){return t("menu",{screen:0})},children:"Allocated Resources"}),(0,r.jsx)(i.tU.Tab,{selected:1===s,icon:"circle-nodes",onClick:function(){return t("menu",{screen:1})},children:"Online Nodes"})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,mt:0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(c,{})})})]})})})},u=function(e){var n=(0,l.Oc)(),t=(n.act,n.data);t.screen;var o=t.ai_list;return t.nodes_list,(0,r.jsxs)(i.az,{children:[(!o||0===o.length)&&(0,r.jsx)(i.IC,{children:"No AI detected."}),!!o&&o.map(function(e,n){return(0,r.jsx)(i.wn,{title:e.name,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Memory",children:e.memory}),(0,r.jsx)(i.Ki.Item,{label:"Maximum Memory",children:e.memory_max}),(0,r.jsx)(i.Ki.Item,{label:"Bandwidth",children:e.bandwidth}),(0,r.jsx)(i.Ki.Item,{label:"Maximum Bandwidth",children:e.bandwidth_max})]})},e)})]})},d=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data;a.screen,a.ai_list;var c=a.nodes_list;return(0,r.jsxs)(i.az,{children:[(!c||0===c.length)&&(0,r.jsx)(i.IC,{children:"No nodes detected."}),!!c&&c.map(function(e,n){return(0,r.jsx)(i.wn,{title:(0,o.ZH)(e.name),buttons:(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{icon:"circle-nodes",onClick:function(){return t("reassign",{uid:e.uid})},children:"Reassign"})}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Assigned AI",children:e.assigned_ai}),(0,r.jsx)(i.Ki.Item,{label:"Resource",children:(0,o.ZH)(e.resource)}),(0,r.jsx)(i.Ki.Item,{label:"Amount",children:e.amount})]})},e)})]})}},731:function(e,n,t){"use strict";t.r(n),t.d(n,{APC:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(1992),c=function(e){return(0,r.jsx)(l.p8,{width:510,height:435,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(d,{})})})},s={2:{color:"good",externalPowerText:"External Power",chargingText:"Fully Charged"},1:{color:"average",externalPowerText:"Low External Power",chargingText:"Charging"},0:{color:"bad",externalPowerText:"No External Power",chargingText:"Not Charging"}},u={1:{icon:"terminal",content:"Override Programming",action:"hack"},2:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"},3:{icon:"caret-square-left",content:"Return to Main Core",action:"deoccupy"},4:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"}},d=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,c=l.locked&&!l.siliconUser;l.normallyLocked;var d=s[l.externalPower]||s[0],f=s[l.chargingStatus]||s[0],h=l.powerChannels||[],m=u[l.malfStatus]||u[0],p=l.powerCellStatus/100;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.InterfaceLockNoticeBox,{}),(0,r.jsx)(i.wn,{title:"Power Status",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Main Breaker",color:d.color,buttons:(0,r.jsx)(i.$n,{icon:l.isOperating?"power-off":"times",content:l.isOperating?"On":"Off",selected:l.isOperating&&!c,color:l.isOperating?"":"bad",disabled:c,onClick:function(){return t("breaker")}}),children:["[ ",d.externalPowerText," ]"]}),(0,r.jsx)(i.Ki.Item,{label:"Power Cell",children:(0,r.jsx)(i.z2,{color:"good",value:p})}),(0,r.jsxs)(i.Ki.Item,{label:"Charge Mode",color:f.color,buttons:(0,r.jsx)(i.$n,{icon:l.chargeMode?"sync":"times",content:l.chargeMode?"Auto":"Off",selected:l.chargeMode,disabled:c,onClick:function(){return t("charge")}}),children:["[ ",f.chargingText," ]"]})]})}),(0,r.jsx)(i.wn,{title:"Power Channels",children:(0,r.jsxs)(i.Ki,{children:[h.map(function(e){var n=e.topicParams;return(0,r.jsxs)(i.Ki.Item,{label:e.title,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.az,{inline:!0,mx:2,color:e.status>=2?"good":"bad",children:e.status>=2?"On":"Off"}),(0,r.jsx)(i.$n,{icon:"sync",content:"Auto",selected:!c&&(1===e.status||3===e.status),disabled:c,onClick:function(){return t("channel",n.auto)}}),(0,r.jsx)(i.$n,{icon:"power-off",content:"On",selected:!c&&2===e.status,disabled:c,onClick:function(){return t("channel",n.on)}}),(0,r.jsx)(i.$n,{icon:"times",content:"Off",selected:!c&&0===e.status,disabled:c,onClick:function(){return t("channel",n.off)}})]}),children:[e.powerLoad," W"]},e.title)}),(0,r.jsx)(i.Ki.Item,{label:"Total Load",children:(0,r.jsxs)("b",{children:[l.totalLoad," W"]})})]})}),(0,r.jsx)(i.wn,{title:"Misc",buttons:!!l.siliconUser&&(0,r.jsxs)(r.Fragment,{children:[!!l.malfStatus&&(0,r.jsx)(i.$n,{icon:m.icon,content:m.content,color:"bad",onClick:function(){return t(m.action)}}),(0,r.jsx)(i.$n,{icon:"lightbulb-o",content:"Overload",onClick:function(){return t("overload")}})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Cover Lock",buttons:(0,r.jsx)(i.$n,{mb:.4,icon:l.coverLocked?"lock":"unlock",content:l.coverLocked?"Engaged":"Disengaged",disabled:c,onClick:function(){return t("cover")}})}),(0,r.jsx)(i.Ki.Item,{label:"Emergency Lighting",buttons:(0,r.jsx)(i.$n,{icon:"lightbulb-o",content:l.emergencyLights?"Enabled":"Disabled",disabled:c,onClick:function(){return t("emergency_lighting")}})}),(0,r.jsx)(i.Ki.Item,{label:"Night Shift Lighting",buttons:(0,r.jsx)(i.$n,{mt:.4,icon:"lightbulb-o",content:l.nightshiftLights?"Enabled":"Disabled",onClick:function(){return t("toggle_nightshift")}})})]})})]})}},6181:function(e,n,t){"use strict";t.r(n),t.d(n,{ATM:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0)n=(0,r.jsxs)(o.az,{bold:!0,color:"bad",children:[(0,r.jsx)(o.In,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(g)if(s)switch(c){case 1:n=(0,r.jsx)(f,{});break;case 2:n=(0,r.jsx)(h,{});break;case 3:n=(0,r.jsx)(x,{});break;default:n=(0,r.jsx)(m,{})}else n=(0,r.jsx)(p,{});else n=(0,r.jsxs)(o.az,{bold:!0,color:"bad",children:[(0,r.jsx)(o.In,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});return(0,r.jsx)(a.p8,{width:550,height:650,children:(0,r.jsxs)(a.p8.Content,{scrollable:!0,children:[(0,r.jsx)(d,{}),(0,r.jsx)(o.wn,{children:n})]})})},d=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data;i.machine_id;var a=i.held_card_name;return(0,r.jsxs)(o.wn,{title:"Nanotrasen Automatic Teller Machine",children:[(0,r.jsx)(o.az,{children:"For all your monetary needs!"}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(o.Ki,{children:(0,r.jsx)(o.Ki.Item,{label:"Card",children:(0,r.jsx)(o.$n,{content:a,icon:"eject",onClick:function(){return t("insert_card")}})})})]})},f=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data.security_level;return(0,r.jsxs)(o.wn,{title:"Select a new security level for this account",children:[(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.cG,{}),(0,r.jsx)(o.Ki.Item,{label:"Level",children:(0,r.jsx)(o.$n,{content:"Account Number",icon:"unlock",selected:0===i,onClick:function(){return t("change_security_level",{new_security_level:1})}})}),(0,r.jsx)(o.Ki.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(o.Ki.Item,{label:"Level",children:(0,r.jsx)(o.$n,{content:"Account Pin",icon:"unlock",selected:2===i,onClick:function(){return t("change_security_level",{new_security_level:2})}})}),(0,r.jsx)(o.Ki.Item,{label:"Description",children:"An account number and pin must be manually entered to access this account and process transactions."})]}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(g,{})]})},h=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=s((0,i.useState)(0),2),u=c[0],d=c[1],f=s((0,i.useState)(0),2),h=f[0],m=f[1],p=s((0,i.useState)(0),2),x=p[0],j=p[1],b=a.money;return(0,r.jsxs)(o.wn,{title:"Transfer Fund",children:[(0,r.jsxs)(o.Ki,{children:[(0,r.jsxs)(o.Ki.Item,{label:"Account Balance",children:["$",b]}),(0,r.jsx)(o.Ki.Item,{label:"Target Account Number",children:(0,r.jsx)(o.pd,{placeholder:"7 Digit Number",onChange:function(e){return d(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Funds to Transfer",children:(0,r.jsx)(o.pd,{onChange:function(e){return m(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Transaction Purpose",children:(0,r.jsx)(o.pd,{fluid:!0,onChange:function(e){return j(e)}})})]}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(o.$n,{content:"Transfer",icon:"sign-out-alt",onClick:function(){return t("transfer",{target_acc_number:u,funds_amount:h,purpose:x})}}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(g,{})]})},m=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=s((0,i.useState)(0),2),u=c[0],d=c[1],f=a.owner_name,h=a.money;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.wn,{title:"Welcome, "+f,buttons:(0,r.jsx)(o.$n,{content:"Logout",icon:"sign-out-alt",onClick:function(){return t("logout")}}),children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsxs)(o.Ki.Item,{label:"Account Balance",children:["$",h]}),(0,r.jsx)(o.Ki.Item,{label:"Withdrawal Amount",children:(0,r.jsx)(o.pd,{onChange:function(e){return d(e)}})}),(0,r.jsx)(o.Ki.Item,{children:(0,r.jsx)(o.$n,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){return t("withdrawal",{funds_amount:u})}})})]})}),(0,r.jsxs)(o.wn,{title:"Menu",children:[(0,r.jsx)(o.az,{children:(0,r.jsx)(o.$n,{content:"Change account security level",icon:"lock",onClick:function(){return t("view_screen",{view_screen:1})}})}),(0,r.jsx)(o.az,{children:(0,r.jsx)(o.$n,{content:"Make transfer",icon:"exchange-alt",onClick:function(){return t("view_screen",{view_screen:2})}})}),(0,r.jsx)(o.az,{children:(0,r.jsx)(o.$n,{content:"View transaction log",icon:"list",onClick:function(){return t("view_screen",{view_screen:3})}})}),(0,r.jsx)(o.az,{children:(0,r.jsx)(o.$n,{content:"Print balance statement",icon:"print",onClick:function(){return t("balance_statement")}})})]})]})},p=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=s((0,i.useState)(null),2),u=c[0],d=c[1],f=s((0,i.useState)(null),2),h=f[0],m=f[1];return a.machine_id,a.held_card_name,(0,r.jsx)(o.wn,{title:"Insert card or enter ID and pin to login",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Account ID",children:(0,r.jsx)(o.pd,{placeholder:"6 Digit Number",onChange:function(e){return d(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Pin",children:(0,r.jsx)(o.pd,{placeholder:"6 Digit Number",onChange:function(e){return m(e)}})}),(0,r.jsx)(o.Ki.Item,{children:(0,r.jsx)(o.$n,{content:"Login",icon:"sign-in-alt",onClick:function(){return t("attempt_auth",{account_num:u,account_pin:h})}})})]})})},x=function(e){var n=(0,l.Oc)(),t=(n.act,n.data).transaction_log;return(0,r.jsxs)(o.wn,{title:"Transactions",children:[(0,r.jsxs)(o.XI,{children:[(0,r.jsxs)(o.XI.Row,{header:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"Timestamp"}),(0,r.jsx)(o.XI.Cell,{children:"Reason"}),(0,r.jsx)(o.XI.Cell,{children:"Value"}),(0,r.jsx)(o.XI.Cell,{children:"Terminal"})]}),t.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.time}),(0,r.jsx)(o.XI.Cell,{children:e.purpose}),(0,r.jsxs)(o.XI.Cell,{color:e.is_deposit?"green":"red",children:["$",e.amount]}),(0,r.jsx)(o.XI.Cell,{children:e.target_name})]},e)})]}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(g,{})]})},g=function(e){var n=(0,l.Oc)(),t=n.act;return n.data,(0,r.jsx)(o.$n,{content:"Back",icon:"sign-out-alt",onClick:function(){return t("view_screen",{view_screen:0})}})}},4558:function(e,n,t){"use strict";t.r(n),t.d(n,{AccountsUplinkTerminal:()=>x});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384),s=t(7352),u=t(736),d=t(6888),f=t(2264),h=t(4900);function m(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tm});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384),s=t(6888),u=t(2264),d=t(4900),f=function(e){switch(e){case 0:return"Antagonists";case 1:return"Objectives";case 2:return"Security";case 3:return"All High Value Items";case 4:return"Advanced Disease Carriers";default:return"Something went wrong with this menu, make an issue report please!"}},h=function(e){switch(e){case 0:return(0,r.jsx)(j,{});case 1:return(0,r.jsx)(y,{});case 2:return(0,r.jsx)(w,{});case 3:return(0,r.jsx)(_,{});case 4:return(0,r.jsx)(I,{});default:return"Something went wrong with this menu, make an issue report please!"}},m=function(e){return(0,r.jsx)(c.p8,{width:800,height:600,children:(0,r.jsx)(c.p8.Content,{scrollable:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.IC,{children:"This menu is a Work in Progress. Some antagonists like Nuclear Operatives and Biohazards will not show up."})}),(0,r.jsxs)(d.default.Default,{tabIndex:0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(p,{})}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(x,{})})]})]})})})},p=function(){var e=(0,i.useContext)(d.default),n=e.tabIndex,t=e.setTabIndex;return(0,r.jsxs)(o.tU,{children:[(0,r.jsx)(o.tU.Tab,{selected:0===n,onClick:function(){t(0)},icon:"user",children:"Antagonists"},"Antagonists"),(0,r.jsx)(o.tU.Tab,{selected:1===n,onClick:function(){t(1)},icon:"people-robbery",children:"Objectives"},"Objectives"),(0,r.jsx)(o.tU.Tab,{selected:2===n,onClick:function(){t(2)},icon:"handcuffs",children:"Security"},"Security"),(0,r.jsx)(o.tU.Tab,{selected:3===n,onClick:function(){t(3)},icon:"lock",children:"High Value Items"},"HighValueItems"),(0,r.jsx)(o.tU.Tab,{selected:4===n,onClick:function(){t(4)},icon:"virus",children:"Advanced Disease Carriers"},"AdvancedDiseaseCarriers")]})},x=function(){return(0,r.jsx)(s.default.Default,{children:(0,r.jsx)(g,{})})},g=function(){var e=(0,a.Oc)().act,n=(0,i.useContext)(d.default).tabIndex,t=(0,i.useContext)(s.default).setSearchText;return(0,r.jsx)(o.wn,{title:f(n),fill:!0,scrollable:!0,buttons:(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.pd,{width:"300px",placeholder:"Search...",onChange:function(e){return t(e)}}),(0,r.jsx)(o.$n,{icon:"sync",onClick:function(){return e("refresh")},children:"Refresh"})]}),children:h(n)})},j=function(){return(0,r.jsx)(u.default.Default,{sortId:"antag_name",children:(0,r.jsx)(b,{})})},b=function(e){var n=(0,a.Oc)(),t=n.act,c=n.data.antagonists,d=(0,i.useContext)(s.default).searchText,f=(0,i.useContext)(u.default),h=f.sortId,m=f.sortOrder;return c.length?(0,r.jsxs)(o.XI,{className:"AdminAntagMenu__list",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(O,{id:"name",children:"Mob Name"}),(0,r.jsx)(O,{id:"",children:"Buttons"}),(0,r.jsx)(O,{id:"antag_name",children:"Antagonist Type"}),(0,r.jsx)(O,{id:"status",children:"Status"})]}),c.filter((0,l.XZ)(d,function(e){return e.name+"|"+e.status+"|"+e.antag_name})).sort(function(e,n){var t=m?1:-1;return void 0===e[h]||null===e[h]?t:void 0===n[h]||null===n[h]?-1*t:"number"==typeof e[h]?(e[h]-n[h])*t:e[h].localeCompare(n[h])*t}).map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:e.body_destroyed?e.name:(0,r.jsx)(o.$n,{color:e.is_hijacker||!e.name?"red":"",tooltip:e.is_hijacker?"Hijacker":"",onClick:function(){return t("show_player_panel",{mind_uid:e.antag_mind_uid})},children:e.name?e.name:"??? (NO NAME)"})}),(0,r.jsxs)(o.XI.Cell,{collapsing:!0,children:[(0,r.jsx)(o.$n,{onClick:function(){t("pm",{ckey:e.ckey})},children:"PM"}),(0,r.jsx)(o.$n,{onClick:function(){t("follow",{datum_uid:e.antag_mind_uid})},children:"FLW"}),(0,r.jsx)(o.$n,{onClick:function(){t("obs",{mind_uid:e.antag_mind_uid})},children:"OBS"}),(0,r.jsx)(o.$n,{onClick:function(){t("tp",{mind_uid:e.antag_mind_uid})},children:"TP"})]}),(0,r.jsx)(o.XI.Cell,{children:e.antag_name}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.az,{color:e.status?"red":"grey",children:e.status?e.status:"Alive"})})]},n)})]}):"No Antagonists!"},y=function(){return(0,r.jsx)(u.default.Default,{sortId:"target_name",children:(0,r.jsx)(v,{})})},v=function(e){var n=(0,a.Oc)(),t=n.act,c=n.data.objectives,d=(0,i.useContext)(s.default).searchText,f=(0,i.useContext)(u.default),h=f.sortId,m=f.sortOrder;return c.length?(0,r.jsxs)(o.XI,{className:"AdminAntagMenu__list",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(O,{sort_group:"sortId2",id:"obj_name",children:"Name"}),(0,r.jsx)(O,{sort_group:"sortId2",id:"target_name",children:"Target"}),(0,r.jsx)(O,{sort_group:"sortId2",id:"status",children:"Status"}),(0,r.jsx)(O,{sort_group:"sortId2",id:"owner_name",children:"Owner"})]}),c.filter((0,l.XZ)(d,function(e){return e.obj_name+"|"+e.target_name+"|"+(e.status?"success":"incompleted")+"|"+e.owner_name})).sort(function(e,n){var t=m?1:-1;return void 0===e[h]||null===e[h]||"target_name"===h&&e.no_target?t:void 0===n[h]||null===n[h]||"target_name"===h&&n.no_target?-1*t:"number"==typeof e[h]?(e[h]-n[h])*t:e[h].localeCompare(n[h])*t}).map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.$n,{tooltip:e.obj_desc,onClick:function(){return t("vv",{uid:e.obj_uid})},children:e.obj_name})}),(0,r.jsx)(o.XI.Cell,{children:e.no_target?"":e.track.length?e.track.map(function(n,i){return(0,r.jsxs)(o.$n,{onClick:function(){return t("follow",{datum_uid:n})},children:[e.target_name," ",e.track.length>1?"("+(parseInt(i,10)+1)+")":""]},i)}):"No "+e.target_name+" Found"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.az,{color:e.status?"green":"grey",children:e.status?"Success":"Incomplete"})}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)(o.$n,{onClick:function(){t("obj_owner",{owner_uid:e.owner_uid})},children:e.owner_name})})]},n)})]}):"No Objectives!"},w=function(){return(0,r.jsx)(u.default.Default,{sortId:"health",children:(0,r.jsx)(k,{})})},k=function(e){var n=(0,a.Oc)(),t=n.act,c=n.data.security,d=(0,i.useContext)(s.default).searchText,f=(0,i.useContext)(u.default),h=f.sortId,m=f.sortOrder,p=function(e){return 2===e.status?"Dead":1===e.status?"Unconscious":e.broken_bone&&e.internal_bleeding?"Broken Bone, IB":e.broken_bone?"Broken Bone":e.internal_bleeding?"IB":"Alive"};return c.length?(0,r.jsxs)(o.XI,{className:"AdminAntagMenu__list",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(O,{sort_group:"sortId3",id:"name",children:"Name"}),(0,r.jsx)(O,{sort_group:"sortId3",id:"role",children:"Role"}),(0,r.jsx)(O,{sort_group:"sortId3",id:"status",children:"Status"}),(0,r.jsx)(O,{sort_group:"sortId3",id:"antag",children:"Antag"}),(0,r.jsx)(O,{sort_group:"sortId3",id:"health",children:"Health"})]}),c.filter((0,l.XZ)(d,function(e){return e.name+"|"+e.role+"|"+p(e)+"|"+e.antag})).sort(function(e,n){var t=m?1:-1;return void 0===e[h]||null===e[h]?t:void 0===n[h]||null===n[h]?-1*t:"number"==typeof e[h]?(e[h]-n[h])*t:e[h].localeCompare(n[h])*t}).map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)(o.$n,{onClick:function(){return t("show_player_panel",{mind_uid:e.mind_uid})},children:e.name})}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:e.role}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)(o.az,{color:2===e.status?"red":1===e.status?"orange":e.broken_bone||e.internal_bleeding?"yellow":"grey",children:p(e)})}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:e.antag?(0,r.jsx)(o.$n,{textColor:"red",onClick:function(){t("tp",{mind_uid:e.mind_uid})},children:e.antag}):""}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.z2,{my:.5,minValue:0,value:e.health/e.max_health,maxValue:1,ranges:{good:[.6,1/0],average:[0,.6],bad:[-1/0,0]},children:e.health})}),(0,r.jsxs)(o.XI.Cell,{collapsing:!0,children:[(0,r.jsx)(o.$n,{onClick:function(){t("pm",{ckey:e.ckey})},children:"PM"}),(0,r.jsx)(o.$n,{onClick:function(){t("follow",{datum_uid:e.mind_uid})},children:"FLW"}),(0,r.jsx)(o.$n,{onClick:function(){t("obs",{mind_uid:e.mind_uid})},children:"OBS"})]})]},n)})]}):"No Security!"},_=function(){return(0,r.jsx)(u.default.Default,{sortId:"person",children:(0,r.jsx)(C,{})})},C=function(e){var n=(0,a.Oc)(),t=n.act,c=n.data.high_value_items,d=(0,i.useContext)(s.default).searchText,f=(0,i.useContext)(u.default),h=f.sortId,m=f.sortOrder;return c.length?(0,r.jsxs)(o.XI,{className:"AdminAntagMenu__list",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(O,{sort_group:"sortId4",id:"name",children:"Name"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"person",children:"Carrier"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"loc",children:"Location"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"admin_z",children:"On Admin Z-level"})]}),c.filter((0,l.XZ)(d,function(e){return e.name+"|"+e.loc})).sort(function(e,n){var t=m?1:-1;return void 0===e[h]||null===e[h]?t:void 0===n[h]||null===n[h]?-1*t:"number"==typeof e[h]?(e[h]-n[h])*t:e[h].localeCompare(n[h])*t}).map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.$n,{tooltip:e.obj_desc,onClick:function(){return t("vv",{uid:e.uid})},children:e.name})}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.az,{color:e.admin_z?"grey":"",children:e.person})}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.az,{color:e.admin_z?"grey":"",children:e.loc})}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.az,{color:"grey",children:e.admin_z?"On Admin Z-level":""})}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)(o.$n,{onClick:function(){t("follow",{datum_uid:e.uid})},children:"FLW"})})]},n)})]}):"No High Value Items!"},I=function(){return(0,r.jsx)(u.default.Default,{sortId:"strain",children:(0,r.jsx)(S,{})})},S=function(e){var n=(0,a.Oc)(),t=n.act,c=n.data,d=c.disease_carriers,f=c.virus_data,h=(0,i.useContext)(s.default).searchText,m=(0,i.useContext)(u.default),p=m.sortId,x=m.sortOrder,g=function(e){return 2===e.status?"Dead":1===e.status?"Unconscious":"Alive"};return d.length?(0,r.jsxs)(o.XI,{className:"AdminAntagMenu__list",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(O,{sort_group:"sortId4",id:"name",children:"Name"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"status",children:"Status"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"virus_name",children:"Virus Name"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"strain",children:"Strain"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"progress",children:"Progress"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"health",children:"Health"})]}),d.filter((0,l.XZ)(h,function(e){return e.name+"||"+g(e)+"|"+e.strain+"|"+e.virus_name})).sort(function(e,n){var t=x?1:-1;return void 0===e[p]||null===e[p]?t:void 0===n[p]||null===n[p]?-1*t:"number"==typeof e[p]?(e[p]-n[p])*t:e[p].localeCompare(n[p])*t}).map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)(o.$n,{color:e.patient_zero?"red":"",onClick:function(){return t("show_player_panel",{mind_uid:e.mind_uid})},children:e.name})}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)(o.az,{color:2===e.status?"red":1===e.status?"orange":e.broken_bone||e.internal_bleeding?"yellow":"grey",children:g(e)})}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:e.virus_name}),(0,r.jsx)(o.m_,{position:"right",content:"Symptoms: "+f[e.strain],children:(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:e.strain})},n),(0,r.jsx)(o.XI.Cell,{children:e.patient_zero?"Patient Zero":(0,r.jsx)(o.z2,{minValue:0,value:e.progress/100,maxValue:1,ranges:{good:[0,20],average:[20,60],bad:[60,100]},children:e.progress})}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.z2,{minValue:0,value:e.health/e.max_health,maxValue:1,ranges:{good:[.6,1/0],average:[0,.6],bad:[-1/0,0]},children:e.health})}),(0,r.jsxs)(o.XI.Cell,{collapsing:!0,children:[(0,r.jsx)(o.$n,{onClick:function(){t("pm",{ckey:e.ckey})},children:"PM"}),(0,r.jsx)(o.$n,{onClick:function(){t("follow",{datum_uid:e.mind_uid})},children:"FLW"}),(0,r.jsx)(o.$n,{onClick:function(){t("obs",{mind_uid:e.mind_uid})},children:"OBS"})]})]},n)})]}):"No Disease Carriers!"},O=function(e){var n=e.id,t=(e.sort_group,e.default_sort,e.children),l=(0,i.useContext)(u.default),a=l.sortId,c=l.setSortId,s=l.sortOrder,d=l.setSortOrder;return(0,r.jsx)(o.XI.Cell,{children:(0,r.jsxs)(o.$n,{color:a!==n&&"transparent",width:"100%",onClick:function(){a===n?d(!s):(c(n),d(!0))},children:[t,a===n&&(0,r.jsx)(o.In,{name:s?"sort-up":"sort-down",ml:"0.25rem;"})]})})}},2794:function(e,n,t){"use strict";t.r(n),t.d(n,{AgentCard:()=>m,AgentCardAppearances:()=>x,AgentCardInfo:()=>p});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=a[c.power.main]||a[0],u=a[c.power.backup]||a[0],d=a[c.shock]||a[0];return(0,r.jsx)(l.p8,{width:500,height:400,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Power Status",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Main",color:s.color,buttons:(0,r.jsx)(i.$n,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){return t("disrupt-main")}}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"[".concat(c.power.main_timeleft,"s]")]}),(0,r.jsxs)(i.Ki.Item,{label:"Backup",color:u.color,buttons:(0,r.jsx)(i.$n,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){return t("disrupt-backup")}}),children:[c.power.backup?"Online":"Offline"," ",!c.wires.backup_power&&"[Wires have been cut!]"||c.power.backup_timeleft>0&&"[".concat(c.power.backup_timeleft,"s]")]}),(0,r.jsxs)(i.Ki.Item,{label:"Electrify",color:d.color,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{mr:.5,icon:"wrench",disabled:!(c.wires.shock&&2!==c.shock),content:"Restore",onClick:function(){return t("shock-restore")}}),(0,r.jsx)(i.$n,{mr:.5,icon:"bolt",disabled:!c.wires.shock,content:"Temporary",onClick:function(){return t("shock-temp")}}),(0,r.jsx)(i.$n,{icon:"bolt",disabled:!c.wires.shock||0===c.shock,content:"Permanent",onClick:function(){return t("shock-perm")}})]}),children:[2===c.shock?"Safe":"Electrified"," ",!c.wires.shock&&"[Wires have been cut!]"||c.shock_timeleft>0&&"[".concat(c.shock_timeleft,"s]")||-1===c.shock_timeleft&&"[Permanent]"]})]})}),(0,r.jsx)(i.wn,{title:"Access and Door Control",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"ID Scan",color:"bad",buttons:(0,r.jsx)(i.$n,{mb:.5,width:6.5,icon:c.id_scanner?"power-off":"times",content:c.id_scanner?"Enabled":"Disabled",selected:c.id_scanner,disabled:!c.wires.id_scanner,onClick:function(){return t("idscan-toggle")}}),children:!c.wires.id_scanner&&"[Wires have been cut!]"}),(0,r.jsx)(i.Ki.Item,{label:"Emergency Access",buttons:(0,r.jsx)(i.$n,{width:6.5,icon:c.emergency?"power-off":"times",content:c.emergency?"Enabled":"Disabled",selected:c.emergency,onClick:function(){return t("emergency-toggle")}})}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsx)(i.Ki.Item,{label:"Door Bolts",color:"bad",buttons:(0,r.jsx)(i.$n,{mb:.5,icon:c.locked?"lock":"unlock",content:c.locked?"Lowered":"Raised",selected:c.locked,disabled:!c.wires.bolts,onClick:function(){return t("bolt-toggle")}}),children:!c.wires.bolts&&"[Wires have been cut!]"}),(0,r.jsx)(i.Ki.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,r.jsx)(i.$n,{mb:.5,width:6.5,icon:c.lights?"power-off":"times",content:c.lights?"Enabled":"Disabled",selected:c.lights,disabled:!c.wires.lights,onClick:function(){return t("light-toggle")}}),children:!c.wires.lights&&"[Wires have been cut!]"}),(0,r.jsx)(i.Ki.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,r.jsx)(i.$n,{mb:.5,width:6.5,icon:c.safe?"power-off":"times",content:c.safe?"Enabled":"Disabled",selected:c.safe,disabled:!c.wires.safe,onClick:function(){return t("safe-toggle")}}),children:!c.wires.safe&&"[Wires have been cut!]"}),(0,r.jsx)(i.Ki.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,r.jsx)(i.$n,{mb:.5,width:6.5,icon:c.speed?"power-off":"times",content:c.speed?"Enabled":"Disabled",selected:c.speed,disabled:!c.wires.timing,onClick:function(){return t("speed-toggle")}}),children:!c.wires.timing&&"[Wires have been cut!]"}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsx)(i.Ki.Item,{label:"Door Control",color:"bad",buttons:(0,r.jsx)(i.$n,{icon:c.opened?"sign-out-alt":"sign-in-alt",content:c.opened?"Open":"Closed",selected:c.opened,disabled:c.locked||c.welded,onClick:function(){return t("open-close")}}),children:!!(c.locked||c.welded)&&(0,r.jsxs)("span",{children:["[Door is ",c.locked?"bolted":"",c.locked&&c.welded?" and ":"",c.welded?"welded":"","!]"]})})]})})]})})}},5486:function(e,n,t){"use strict";t.r(n),t.d(n,{AirAlarm:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=t(1992),s=t(4900),u=function(e){var n=(0,l.Oc)(),t=(n.act,n.data).locked;return(0,r.jsx)(a.p8,{width:570,height:t?310:755,children:(0,r.jsxs)(a.p8.Content,{scrollable:!0,children:[(0,r.jsx)(c.InterfaceLockNoticeBox,{}),(0,r.jsx)(f,{}),!t&&(0,r.jsxs)(s.default.Default,{tabIndex:0,children:[(0,r.jsx)(h,{}),(0,r.jsx)(m,{})]})]})})},d=function(e){return 0===e?"green":1===e?"orange":"red"},f=function(e){var n,t=(0,l.Oc)(),i=t.act,a=t.data,c=a.air,s=a.mode,u=a.atmos_alarm,f=a.locked,h=a.alarmActivated,m=a.rcon,p=a.target_temp;return n=0===c.danger.overall?0===u?"Optimal":"Caution: Atmos alert in area":1===c.danger.overall?"Caution":"DANGER: Internals Required",(0,r.jsx)(o.wn,{title:"Air Status",children:c?(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Pressure",children:(0,r.jsxs)(o.az,{color:d(c.danger.pressure),children:[(0,r.jsx)(o.zv,{value:c.pressure})," kPa",!f&&(0,r.jsxs)(r.Fragment,{children:["\xa0",(0,r.jsx)(o.$n,{content:3===s?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:3===s,icon:"exclamation-triangle",onClick:function(){return i("mode",{mode:3===s?1:3})}})]})]})}),(0,r.jsx)(o.Ki.Item,{label:"Oxygen",children:(0,r.jsx)(o.z2,{value:c.contents.oxygen/100,fractionDigits:"1",color:d(c.danger.oxygen)})}),(0,r.jsx)(o.Ki.Item,{label:"Nitrogen",children:(0,r.jsx)(o.z2,{value:c.contents.nitrogen/100,fractionDigits:"1",color:d(c.danger.nitrogen)})}),(0,r.jsx)(o.Ki.Item,{label:"Carbon Dioxide",children:(0,r.jsx)(o.z2,{value:c.contents.co2/100,fractionDigits:"1",color:d(c.danger.co2)})}),(0,r.jsx)(o.Ki.Item,{label:"Toxins",children:(0,r.jsx)(o.z2,{value:c.contents.plasma/100,fractionDigits:"1",color:d(c.danger.plasma)})}),c.contents.n2o>.1&&(0,r.jsx)(o.Ki.Item,{label:"Nitrous Oxide",children:(0,r.jsx)(o.z2,{value:c.contents.n2o/100,fractionDigits:"1",color:d(c.danger.n2o)})}),c.contents.h2>.1&&(0,r.jsx)(o.Ki.Item,{label:"Hydrogen",children:(0,r.jsx)(o.z2,{value:c.contents.h2/100,fractionDigits:"1",color:d(c.danger.h2)})}),c.contents.water_vapor>.1&&(0,r.jsx)(o.Ki.Item,{label:"Water Vapor",children:(0,r.jsx)(o.z2,{value:c.contents.water_vapor/100,fractionDigits:"1",color:d(c.danger.water_vapor)})}),c.contents.other>.1&&(0,r.jsx)(o.Ki.Item,{label:"Other",children:(0,r.jsx)(o.z2,{value:c.contents.other/100,fractionDigits:"1",color:d(c.danger.other)})}),(0,r.jsx)(o.Ki.Item,{label:"Temperature",children:(0,r.jsxs)(o.az,{color:d(c.danger.temperature),children:[(0,r.jsx)(o.zv,{value:c.temperature})," K / ",(0,r.jsx)(o.zv,{value:c.temperature_c})," C\xa0",(0,r.jsx)(o.$n,{icon:"thermometer-full",content:p+" C",onClick:function(){return i("temperature")}}),(0,r.jsx)(o.$n,{content:c.thermostat_state?"On":"Off",selected:c.thermostat_state,icon:"power-off",onClick:function(){return i("thermostat_state")}})]})}),(0,r.jsx)(o.Ki.Item,{label:"Local Status",children:(0,r.jsxs)(o.az,{color:d(c.danger.overall),children:[n,!f&&(0,r.jsxs)(r.Fragment,{children:["\xa0",(0,r.jsx)(o.$n,{content:h?"Reset Alarm":"Activate Alarm",selected:h,onClick:function(){return i(h?"atmos_reset":"atmos_alarm")}})]})]})}),(0,r.jsxs)(o.Ki.Item,{label:"Remote Control Settings",children:[(0,r.jsx)(o.$n,{content:"Off",selected:1===m,onClick:function(){return i("set_rcon",{rcon:1})}}),(0,r.jsx)(o.$n,{content:"Auto",selected:2===m,onClick:function(){return i("set_rcon",{rcon:2})}}),(0,r.jsx)(o.$n,{content:"On",selected:3===m,onClick:function(){return i("set_rcon",{rcon:3})}})]})]}):(0,r.jsx)(o.az,{children:"Unable to acquire air sample!"})})},h=function(e){var n=(0,i.useContext)(s.default),t=n.tabIndex,l=n.setTabIndex;return(0,r.jsxs)(o.tU,{children:[(0,r.jsxs)(o.tU.Tab,{selected:0===t,onClick:function(){return l(0)},children:[(0,r.jsx)(o.In,{name:"sign-out-alt"})," Vent Control"]},"Vents"),(0,r.jsxs)(o.tU.Tab,{selected:1===t,onClick:function(){return l(1)},children:[(0,r.jsx)(o.In,{name:"sign-in-alt"})," Scrubber Control"]},"Scrubbers"),(0,r.jsxs)(o.tU.Tab,{selected:2===t,onClick:function(){return l(2)},children:[(0,r.jsx)(o.In,{name:"cog"})," Mode"]},"Mode"),(0,r.jsxs)(o.tU.Tab,{selected:3===t,onClick:function(){return l(3)},children:[(0,r.jsx)(o.In,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},m=function(e){switch((0,i.useContext)(s.default).tabIndex){case 0:return(0,r.jsx)(p,{});case 1:return(0,r.jsx)(x,{});case 2:return(0,r.jsx)(g,{});case 3:return(0,r.jsx)(j,{});default:return"WE SHOULDN'T BE HERE!"}},p=function(e){var n=(0,l.Oc)(),t=n.act;return n.data.vents.map(function(e){return(0,r.jsx)(o.wn,{title:e.name,children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsxs)(o.Ki.Item,{label:"Status",children:[(0,r.jsx)(o.$n,{content:e.power?"On":"Off",selected:e.power,icon:"power-off",onClick:function(){return t("command",{cmd:"power",val:!e.power,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:e.direction?"Blowing":"Siphoning",icon:e.direction?"sign-out-alt":"sign-in-alt",onClick:function(){return t("command",{cmd:"direction",val:!e.direction,id_tag:e.id_tag})}})]}),(0,r.jsxs)(o.Ki.Item,{label:"Pressure Checks",children:[(0,r.jsx)(o.$n,{content:"External",selected:1===e.checks,onClick:function(){return t("command",{cmd:"checks",val:1,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Internal",selected:2===e.checks,onClick:function(){return t("command",{cmd:"checks",val:2,id_tag:e.id_tag})}})]}),(0,r.jsxs)(o.Ki.Item,{label:"External Pressure Target",children:[(0,r.jsx)(o.zv,{value:e.external})," kPa\xa0",(0,r.jsx)(o.$n,{content:"Set",icon:"cog",onClick:function(){return t("command",{cmd:"set_external_pressure",id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Reset",icon:"redo-alt",onClick:function(){return t("command",{cmd:"set_external_pressure",val:101.325,id_tag:e.id_tag})}})]})]})},e.name)})},x=function(e){var n=(0,l.Oc)(),t=n.act;return n.data.scrubbers.map(function(e){return(0,r.jsx)(o.wn,{title:e.name,children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsxs)(o.Ki.Item,{label:"Status",children:[(0,r.jsx)(o.$n,{content:e.power?"On":"Off",selected:e.power,icon:"power-off",onClick:function(){return t("command",{cmd:"power",val:!e.power,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:e.scrubbing?"Scrubbing":"Siphoning",icon:e.scrubbing?"filter":"sign-in-alt",onClick:function(){return t("command",{cmd:"scrubbing",val:!e.scrubbing,id_tag:e.id_tag})}})]}),(0,r.jsx)(o.Ki.Item,{label:"Range",children:(0,r.jsx)(o.$n,{content:e.widenet?"Extended":"Normal",selected:e.widenet,icon:"expand-arrows-alt",onClick:function(){return t("command",{cmd:"widenet",val:!e.widenet,id_tag:e.id_tag})}})}),(0,r.jsxs)(o.Ki.Item,{label:"Filtering",children:[(0,r.jsx)(o.$n,{content:"Carbon Dioxide",selected:e.filter_co2,onClick:function(){return t("command",{cmd:"co2_scrub",val:!e.filter_co2,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Plasma",selected:e.filter_toxins,onClick:function(){return t("command",{cmd:"tox_scrub",val:!e.filter_toxins,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Nitrous Oxide",selected:e.filter_n2o,onClick:function(){return t("command",{cmd:"n2o_scrub",val:!e.filter_n2o,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Oxygen",selected:e.filter_o2,onClick:function(){return t("command",{cmd:"o2_scrub",val:!e.filter_o2,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Nitrogen",selected:e.filter_n2,onClick:function(){return t("command",{cmd:"n2_scrub",val:!e.filter_n2,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Hydrogen",selected:e.filter_h2,onClick:function(){return t("command",{cmd:"h2_scrub",val:!e.filter_h2,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Water Vapor",selected:e.filter_h2o,onClick:function(){return t("command",{cmd:"h2o_scrub",val:!e.filter_h2o,id_tag:e.id_tag})}})]})]})},e.name)})},g=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.modes,c=i.presets,s=i.emagged,u=i.mode,d=i.preset;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.wn,{title:"System Mode",children:Object.keys(a).map(function(e){var n=a[e];if(!n.emagonly||s)return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{textAlign:"right",width:1,children:(0,r.jsx)(o.$n,{content:n.name,icon:"cog",selected:n.id===u,onClick:function(){return t("mode",{mode:n.id})}})}),(0,r.jsx)(o.XI.Cell,{children:n.desc})]},n.name)})}),(0,r.jsxs)(o.wn,{title:"System Presets",children:[(0,r.jsx)(o.az,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,r.jsx)(o.XI,{mt:1,children:c.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{textAlign:"right",width:1,children:(0,r.jsx)(o.$n,{content:e.name,icon:"cog",selected:e.id===d,onClick:function(){return t("preset",{preset:e.id})}})}),(0,r.jsx)(o.XI.Cell,{children:e.desc})]},e.name)})})]})]})},j=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data.thresholds;return(0,r.jsx)(o.wn,{title:"Alarm Thresholds",children:(0,r.jsxs)(o.XI,{children:[(0,r.jsxs)(o.XI.Row,{header:!0,children:[(0,r.jsx)(o.XI.Cell,{width:"20%",children:"Value"}),(0,r.jsx)(o.XI.Cell,{color:"red",width:"20%",children:"Danger Min"}),(0,r.jsx)(o.XI.Cell,{color:"orange",width:"20%",children:"Warning Min"}),(0,r.jsx)(o.XI.Cell,{color:"orange",width:"20%",children:"Warning Max"}),(0,r.jsx)(o.XI.Cell,{color:"red",width:"20%",children:"Danger Max"})]}),i.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.name}),e.settings.map(function(e){return(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.$n,{content:-1===e.selected?"Off":e.selected,onClick:function(){return t("command",{cmd:"set_threshold",env:e.env,var:e.val})}})},e.val)})]},e.name)})]})})}},6962:function(e,n,t){"use strict";t.r(n),t.d(n,{AirlockAccessController:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t,a=(0,o.Oc)(),c=a.act,s=a.data,u=s.exterior_status,d=s.interior_status,f=s.processing;return n="open"===u?(0,r.jsx)(i.$n,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:f,onClick:function(){return c("force_ext")}}):(0,r.jsx)(i.$n,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:f,onClick:function(){return c("cycle_ext_door")}}),t="open"===d?(0,r.jsx)(i.$n,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:f,color:"open"===d?"red":f?"yellow":null,onClick:function(){return c("force_int")}}):(0,r.jsx)(i.$n,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:f,onClick:function(){return c("cycle_int_door")}}),(0,r.jsx)(l.p8,{width:330,height:200,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Information",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"External Door Status",children:"closed"===u?"Locked":"Open"}),(0,r.jsx)(i.Ki.Item,{label:"Internal Door Status",children:"closed"===d?"Locked":"Open"})]})}),(0,r.jsx)(i.wn,{title:"Actions",children:(0,r.jsxs)(i.az,{children:[n,t]})})]})})}},9281:function(e,n,t){"use strict";t.r(n),t.d(n,{AirlockElectronics:()=>c,ChooseAccess:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(2723),c=function(e){return(0,r.jsx)(l.p8,{width:500,height:565,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(s,{}),(0,r.jsx)(u,{})]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.unrestricted_dir;return(0,r.jsx)(i.wn,{title:"Access Control",children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{bold:!0,mb:1,children:"Unrestricted Access From:"}),(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"arrow-left",content:"East",selected:4&l,onClick:function(){return t("unrestricted_access",{unres_dir:4})}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"arrow-up",content:"South",selected:2&l,onClick:function(){return t("unrestricted_access",{unres_dir:2})}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:8&l,onClick:function(){return t("unrestricted_access",{unres_dir:8})}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"arrow-down",content:"North",selected:1&l,onClick:function(){return t("unrestricted_access",{unres_dir:1})}})})]})]})})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,c=l.selected_accesses,s=l.one_access,u=l.regions;return(0,r.jsx)(a.AccessList,{sectionButtons:(0,r.jsx)(r.Fragment,{}),grantableList:[],usedByRcd:1,rcdButtons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n.Checkbox,{checked:s,content:"One",onClick:function(){return t("set_one_access",{access:"one"})}}),(0,r.jsx)(i.$n.Checkbox,{checked:!s,content:"All",onClick:function(){return t("set_one_access",{access:"all"})}})]}),accesses:u,selectedList:c,accessMod:function(e){return t("set",{access:e})},grantAll:function(){return t("grant_all")},denyAll:function(){return t("clear_all")},grantDep:function(e){return t("grant_region",{region:e})},denyDep:function(e){return t("deny_region",{region:e})}})}},934:function(e,n,t){"use strict";t.r(n),t.d(n,{AlertModal:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(7686),a=t(2864),c=t(3384),s=t(9472);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t30?Math.ceil(b.length/4):0)+(b.length&&g?5:0),I=325+100*(x.length>2),S=function(e){0===k&&-1===e?_(x.length-1):k===x.length-1&&1===e?_(0):_(k+e)};return(0,r.jsxs)(c.p8,{title:v,height:C,width:I,children:[!!y&&(0,r.jsx)(s.Loader,{value:y}),(0,r.jsx)(c.p8.Content,{onKeyDown:function(e){var n=window.event?e.which:e.keyCode;n===l.iy||n===l.Ri?d("choose",{choice:x[k]}):n===l.s6?d("cancel"):n===l.iU?(e.preventDefault(),S(-1)):(n===l.aW||n===l.zh)&&(e.preventDefault(),S(1))},children:(0,r.jsx)(o.wn,{fill:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,m:1,children:(0,r.jsx)(o.az,{color:"label",overflow:"hidden",children:b})}),(0,r.jsxs)(o.BJ.Item,{children:[!!m&&(0,r.jsx)(o.y5,{}),(0,r.jsx)(f,{selected:k})]})]})})})]})},f=function(e){var n=(0,a.Oc)().data,t=n.buttons,i=void 0===t?[]:t,l=n.large_buttons,c=n.swapped_buttons,s=e.selected;return(0,r.jsx)(o.so,{fill:!0,align:"center",direction:c?"row":"row-reverse",justify:"space-around",wrap:!0,children:null==i?void 0:i.map(function(e,n){return l&&i.length<3?(0,r.jsx)(o.so.Item,{grow:!0,children:(0,r.jsx)(h,{button:e,id:n.toString(),selected:s===n})},n):(0,r.jsx)(o.so.Item,{grow:+!!l,children:(0,r.jsx)(h,{button:e,id:n.toString(),selected:s===n})},n)})})},h=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data.large_buttons,l=e.button,c=e.selected,s=l.length>7?"100%":7;return(0,r.jsx)(o.$n,{mx:+!!i,pt:.33*!!i,content:l,fluid:!!i,onClick:function(){return t("choose",{choice:l})},selected:c,textAlign:"center",height:!!i&&2,width:!i&&s})}},6473:function(e,n,t){"use strict";t.r(n),t.d(n,{AppearanceChanger:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,s=a.change_race,u=a.species,d=a.specimen,f=a.change_gender,h=a.gender,m=a.change_eye_color,p=a.change_skin_tone,x=a.change_skin_color,g=a.change_runechat_color,j=a.change_head_accessory_color,b=a.change_hair_color,y=a.change_secondary_hair_color,v=a.change_facial_hair_color,w=a.change_secondary_facial_hair_color,k=a.change_head_marking_color,_=a.change_body_marking_color,C=a.change_tail_marking_color,I=a.change_head_accessory,S=a.head_accessory_styles,O=a.head_accessory_style,A=a.change_hair,P=a.hair_styles,E=a.hair_style,B=a.change_hair_gradient,z=a.change_facial_hair,T=a.facial_hair_styles,N=a.facial_hair_style,$=a.change_head_markings,D=a.head_marking_styles,R=a.head_marking_style,M=a.change_body_markings,L=a.body_marking_styles,K=a.body_marking_style,J=a.change_tail_markings,X=a.tail_marking_styles,U=a.tail_marking_style,F=a.change_body_accessory,V=a.body_accessory_styles,H=a.body_accessory_style,W=a.change_alt_head,q=a.alt_head_styles,G=a.alt_head_style,Q=!1;return(m||p||x||j||g||b||y||v||w||k||_||C)&&(Q=!0),(0,r.jsx)(l.p8,{width:800,height:450,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.Ki,{children:[!!s&&(0,r.jsx)(i.Ki.Item,{label:"Species",children:u.map(function(e){return(0,r.jsx)(i.$n,{content:e.specimen,selected:e.specimen===d,onClick:function(){return t("race",{race:e.specimen})}},e.specimen)})}),!!f&&(0,r.jsxs)(i.Ki.Item,{label:"Gender",children:[(0,r.jsx)(i.$n,{content:"Male",selected:"male"===h,onClick:function(){return t("gender",{gender:"male"})}}),(0,r.jsx)(i.$n,{content:"Female",selected:"female"===h,onClick:function(){return t("gender",{gender:"female"})}}),(0,r.jsx)(i.$n,{content:"Genderless",selected:"plural"===h,onClick:function(){return t("gender",{gender:"plural"})}})]}),!!Q&&(0,r.jsx)(c,{}),!!I&&(0,r.jsx)(i.Ki.Item,{label:"Head accessory",children:S.map(function(e){return(0,r.jsx)(i.$n,{content:e.headaccessorystyle,selected:e.headaccessorystyle===O,onClick:function(){return t("head_accessory",{head_accessory:e.headaccessorystyle})}},e.headaccessorystyle)})}),!!A&&(0,r.jsx)(i.Ki.Item,{label:"Hair",children:P.map(function(e){return(0,r.jsx)(i.$n,{content:e.hairstyle,selected:e.hairstyle===E,onClick:function(){return t("hair",{hair:e.hairstyle})}},e.hairstyle)})}),!!B&&(0,r.jsxs)(i.Ki.Item,{label:"Hair Gradient",children:[(0,r.jsx)(i.$n,{content:"Change Style",onClick:function(){return t("hair_gradient")}}),(0,r.jsx)(i.$n,{content:"Change Offset",onClick:function(){return t("hair_gradient_offset")}}),(0,r.jsx)(i.$n,{content:"Change Color",onClick:function(){return t("hair_gradient_colour")}}),(0,r.jsx)(i.$n,{content:"Change Alpha",onClick:function(){return t("hair_gradient_alpha")}})]}),!!z&&(0,r.jsx)(i.Ki.Item,{label:"Facial hair",children:T.map(function(e){return(0,r.jsx)(i.$n,{content:e.facialhairstyle,selected:e.facialhairstyle===N,onClick:function(){return t("facial_hair",{facial_hair:e.facialhairstyle})}},e.facialhairstyle)})}),!!$&&(0,r.jsx)(i.Ki.Item,{label:"Head markings",children:D.map(function(e){return(0,r.jsx)(i.$n,{content:e.headmarkingstyle,selected:e.headmarkingstyle===R,onClick:function(){return t("head_marking",{head_marking:e.headmarkingstyle})}},e.headmarkingstyle)})}),!!M&&(0,r.jsx)(i.Ki.Item,{label:"Body markings",children:L.map(function(e){return(0,r.jsx)(i.$n,{content:e.bodymarkingstyle,selected:e.bodymarkingstyle===K,onClick:function(){return t("body_marking",{body_marking:e.bodymarkingstyle})}},e.bodymarkingstyle)})}),!!J&&(0,r.jsx)(i.Ki.Item,{label:"Tail markings",children:X.map(function(e){return(0,r.jsx)(i.$n,{content:e.tailmarkingstyle,selected:e.tailmarkingstyle===U,onClick:function(){return t("tail_marking",{tail_marking:e.tailmarkingstyle})}},e.tailmarkingstyle)})}),!!F&&(0,r.jsx)(i.Ki.Item,{label:"Body accessory",children:V.map(function(e){return(0,r.jsx)(i.$n,{content:e.bodyaccessorystyle,selected:e.bodyaccessorystyle===H,onClick:function(){return t("body_accessory",{body_accessory:e.bodyaccessorystyle})}},e.bodyaccessorystyle)})}),!!W&&(0,r.jsx)(i.Ki.Item,{label:"Alternate head",children:q.map(function(e){return(0,r.jsx)(i.$n,{content:e.altheadstyle,selected:e.altheadstyle===G,onClick:function(){return t("alt_head",{alt_head:e.altheadstyle})}},e.altheadstyle)})})]})})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data;return(0,r.jsx)(i.Ki.Item,{label:"Colors",children:[{key:"change_eye_color",text:"Change eye color",action:"eye_color"},{key:"change_skin_tone",text:"Change skin tone",action:"skin_tone"},{key:"change_skin_color",text:"Change skin color",action:"skin_color"},{key:"change_runechat_color",text:"Change runechat color",action:"runechat_color"},{key:"change_head_accessory_color",text:"Change head accessory color",action:"head_accessory_color"},{key:"change_hair_color",text:"Change hair color",action:"hair_color"},{key:"change_secondary_hair_color",text:"Change secondary hair color",action:"secondary_hair_color"},{key:"change_facial_hair_color",text:"Change facial hair color",action:"facial_hair_color"},{key:"change_secondary_facial_hair_color",text:"Change secondary facial hair color",action:"secondary_facial_hair_color"},{key:"change_head_marking_color",text:"Change head marking color",action:"head_marking_color"},{key:"change_body_marking_color",text:"Change body marking color",action:"body_marking_color"},{key:"change_tail_marking_color",text:"Change tail marking color",action:"tail_marking_color"}].map(function(e){return!!l[e.key]&&(0,r.jsx)(i.$n,{content:e.text,onClick:function(){return t(e.action)}},e.key)})})}},6085:function(e,n,t){"use strict";t.r(n),t.d(n,{ArcadeBattle:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e,n){var t=(0,o.Oc)(),a=t.act,c=t.data,s=c.enemyName,u=c.playerHP,d=c.playerMaxHP,f=c.playerMP,h=c.playerMaxMP,m=c.enemyHP,p=c.enemyMaxHP,x=c.onCooldown,g=c.gameOver,j=c.previousEvent;return g?(0,r.jsx)(l.p8,{height:350,width:350,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{fill:!0,align:"center",title:m<1?"Rejoyce!":"Game Over!",children:(0,r.jsxs)(i.BJ,{justify:"space-between",vertical:!0,fill:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.az,{children:j})}),(0,r.jsx)(i.BJ.Item,{height:"30%",children:(0,r.jsx)(i.$n,{bold:!0,fluid:!0,height:"100%",fontSize:"min(8vw, 15vh)",textAlign:"center",verticalAlignContent:"middle",onClick:function(){return a("newgame")},children:"New Game"})})]})})})}):(0,r.jsx)(l.p8,{height:350,width:350,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{vertical:!0,fill:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:s,children:(0,r.jsxs)(i.z2,{maxValue:p,minValue:0,value:m,ranges:{red:[-10,10],orange:[10,20],green:[20,p]},children:["Their Health: ",m]})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Fight!",children:j})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,title:"You",children:(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.z2,{maxValue:d,minValue:0,value:u,ranges:{red:[-10,10],orange:[10,20],green:[20,d]},children:["Your Health: ",u]})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.z2,{maxValue:h,minValue:0,value:f,ranges:{red:[-10,h/4],orange:[h/4,h/2],green:[h/2,h]},children:["Your Magic: ",f]})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.az,{bold:!0,align:"center",children:"What will you do?"})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.BJ,{justify:"center",children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"burst",lineHeight:3,onClick:function(){return a("attack")},disabled:x,children:"Attack"})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"plus",lineHeight:3,onClick:function(){return a("heal")},disabled:x,children:"Heal"})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"star",lineHeight:3,onClick:function(){return a("charge")},disabled:x,children:"Recharge"})})]})})]})})})]})})})}},3438:function(e,n,t){"use strict";t.r(n),t.d(n,{AtmosAlertConsole:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tu});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(7946),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.on,s=a.pressure,u=a.max_pressure,d=a.filter_type,f=a.filter_type_list;return(0,r.jsx)(l.p8,{width:380,height:160,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){return t("power")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Rate",children:[(0,r.jsx)(i.$n,{icon:"fast-backward",textAlign:"center",disabled:0===s,width:2.2,onClick:function(){return t("min_pressure")}}),(0,r.jsx)(i.Q7,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:u,value:s,tickWhileDragging:!0,onChange:function(e){return t("custom_pressure",{pressure:e})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",textAlign:"center",disabled:s===u,width:2.2,onClick:function(){return t("max_pressure")}})]}),(0,r.jsx)(i.Ki.Item,{label:"Filter",children:f.map(function(e){return(0,r.jsx)(i.$n,{selected:e.gas_type===d,content:e.label,onClick:function(){return t("set_filter",{filter:e.gas_type})}},e.label)})})]})})})})}},7440:function(e,n,t){"use strict";t.r(n),t.d(n,{AtmosMixer:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,s=a.on,u=a.pressure,d=a.max_pressure,f=a.node1_concentration,h=a.node2_concentration;return(0,r.jsx)(l.p8,{width:330,height:165,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:"power-off",content:s?"On":"Off",color:s?null:"red",selected:s,onClick:function(){return t("power")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Rate",children:[(0,r.jsx)(i.$n,{icon:"fast-backward",textAlign:"center",disabled:0===u,width:2.2,onClick:function(){return t("min_pressure")}}),(0,r.jsx)(i.Q7,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:d,value:u,onChange:function(e){return t("custom_pressure",{pressure:e})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",textAlign:"center",disabled:u===d,width:2.2,onClick:function(){return t("max_pressure")}})]}),(0,r.jsx)(c,{node_name:"Node 1",node_ref:f}),(0,r.jsx)(c,{node_name:"Node 2",node_ref:h})]})})})})},c=function(e){var n=(0,o.Oc)(),t=n.act;n.data;var l=e.node_name,a=e.node_ref;return(0,r.jsxs)(i.Ki.Item,{label:l,children:[(0,r.jsx)(i.$n,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:0===a,onClick:function(){return t("set_node",{node_name:l,concentration:(a-10)/100})}}),(0,r.jsx)(i.Q7,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,step:1,stepPixelSize:10,minValue:0,maxValue:100,value:a,onChange:function(e){return t("set_node",{node_name:l,concentration:e/100})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:100===a,onClick:function(){return t("set_node",{node_name:l,concentration:(a+10)/100})}})]})}},7897:function(e,n,t){"use strict";t.r(n),t.d(n,{AtmosPump:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.on,s=a.rate,u=a.max_rate,d=a.gas_unit,f=a.step;return(0,r.jsx)(l.p8,{width:330,height:110,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){return t("power")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Rate",children:[(0,r.jsx)(i.$n,{icon:"fast-backward",textAlign:"center",disabled:0===s,width:2.2,onClick:function(){return t("min_rate")}}),(0,r.jsx)(i.Q7,{animated:!0,unit:d,width:6.1,lineHeight:1.5,step:f,minValue:0,maxValue:u,value:s,onChange:function(e){return t("custom_rate",{rate:e})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",textAlign:"center",disabled:s===u,width:2.2,onClick:function(){return t("max_rate")}})]})]})})})})}},1164:function(e,n,t){"use strict";t.r(n),t.d(n,{AtmosTankControl:()=>s});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(421),c=t(3384),s=function(e){var n=(0,l.Oc)(),t=n.act,s=n.data,d=s.sensors||{};return(0,r.jsx)(c.p8,{width:400,height:435,children:(0,r.jsxs)(c.p8.Content,{scrollable:!0,children:[Object.keys(d).map(function(e){return(0,r.jsx)(i.wn,{title:e,children:(0,r.jsxs)(i.Ki,{children:[Object.keys(d[e]).indexOf("pressure")>-1?(0,r.jsxs)(i.Ki.Item,{label:"Pressure",children:[d[e].pressure," kpa"]}):"",Object.keys(d[e]).indexOf("temperature")>-1?(0,r.jsxs)(i.Ki.Item,{label:"Temperature",children:[d[e].temperature," K"]}):"",["o2","n2","plasma","co2","n2o","h2"].map(function(n){return Object.keys(d[e]).indexOf(n)>-1?(0,r.jsx)(i.Ki.Item,{label:(0,a.wM)(n),children:(0,r.jsx)(i.z2,{color:(0,a.b_)(n),value:d[e][n],minValue:0,maxValue:100,children:(0,o.Mg)(d[e][n],2)+"%"})},(0,a.wM)(n)):""})]})},e)}),(0,r.jsx)(i.wn,{title:"Inlets",children:s.inlets&&Object.keys(s.inlets).length>0?s.inlets.map(function(e){return(0,r.jsx)(i.wn,{title:e.name,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:(e.on,"power-off"),content:e.on?"On":"Off",color:e.on?null:"red",selected:e.on,onClick:function(){return t("toggle_inlet_active",{dev:e.uid})}})}),(0,r.jsx)(i.Ki.Item,{label:"Rate",children:(0,r.jsx)(i.Q7,{animated:!0,unit:"L/s",width:6.1,lineHeight:1.5,step:1,minValue:0,maxValue:50,value:e.rate,onChange:function(n){return t("set_inlet_volume_rate",{dev:e.uid,val:n})}})})]})},e)}):""}),(0,r.jsxs)(i.wn,{title:"Outlets",children:[s.vent_outlets&&Object.keys(s.vent_outlets).length>0?s.vent_outlets.map(function(e){return(0,r.jsx)(i.wn,{title:"Outlet: "+e.name,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:(0,r.jsx)(i.$n,{icon:(e.on,"power-off"),content:e.on?"On":"Off",color:e.on?null:"red",selected:e.on,onClick:function(){return t("toggle_outlet_active",{dev:e.uid})}})}),(0,r.jsxs)(i.Ki.Item,{label:"Pressure Checks",children:[(0,r.jsx)(i.$n,{content:"External",selected:1===e.checks,onClick:function(){return t("set_outlet_reference",{dev:e.uid,val:1})}}),(0,r.jsx)(i.$n,{content:"Internal",selected:2===e.checks,onClick:function(){return t("set_outlet_reference",{dev:e.uid,val:2})}})]}),(0,r.jsx)(i.Ki.Item,{label:"Rate",children:(0,r.jsx)(i.Q7,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:5066,value:e.rate,onChange:function(n){return t("set_outlet_pressure",{dev:e.uid,val:n})}})})]})},e)}):"",s.scrubber_outlets&&Object.keys(s.scrubber_outlets).length>0?(0,r.jsx)(u,{}):""]})]})})},u=function(e){var n=(0,l.Oc)(),t=n.act;return n.data.scrubber_outlets.map(function(e){return(0,r.jsx)(i.wn,{title:"Outlet: "+e.name,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Status",children:[(0,r.jsx)(i.$n,{content:e.power?"On":"Off",selected:e.power,icon:"power-off",onClick:function(){return t("command",{cmd:"power",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:e.scrubbing?"Scrubbing":"Siphoning",icon:e.scrubbing?"filter":"sign-in-alt",onClick:function(){return t("command",{cmd:"scrubbing",id_tag:e.id_tag})}})]}),(0,r.jsx)(i.Ki.Item,{label:"Range",children:(0,r.jsx)(i.$n,{content:e.widenet?"Extended":"Normal",selected:e.widenet,icon:"expand-arrows-alt",onClick:function(){return t("command",{cmd:"widenet",id_tag:e.id_tag})}})}),(0,r.jsxs)(i.Ki.Item,{label:"Filtering",children:[(0,r.jsx)(i.$n,{content:"Carbon Dioxide",selected:e.filter_co2,onClick:function(){return t("command",{cmd:"co2_scrub",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:"Plasma",selected:e.filter_toxins,onClick:function(){return t("command",{cmd:"tox_scrub",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:"Nitrous Oxide",selected:e.filter_n2o,onClick:function(){return t("command",{cmd:"n2o_scrub",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:"Oxygen",selected:e.filter_o2,onClick:function(){return t("command",{cmd:"o2_scrub",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:"Nitrogen",selected:e.filter_n2,onClick:function(){return t("command",{cmd:"n2_scrub",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:"Hydrogen",selected:e.filter_h2,onClick:function(){return t("command",{cmd:"h2_scrub",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:"Water Vapor",selected:e.filter_h2o,onClick:function(){return t("command",{cmd:"h2o_scrub",id_tag:e.id_tag})}})]})]})},e.name)})}},8340:function(e,n,t){"use strict";t.r(n),t.d(n,{AtmosTemperatureGate:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.on,s=a.temperature,u=a.max_temp,d=a.temp_unit,f=a.step,h=a.inverted;return(0,r.jsx)(l.p8,{width:330,height:130,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){return t("power")}})}),(0,r.jsx)(i.Ki.Item,{label:"Inverted",children:(0,r.jsx)(i.$n,{icon:h?"arrow-up":"arrow-down",content:h?"Yes":"No",color:h?null:"red",selected:h,onClick:function(){return t("inverted")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Temperature",children:[(0,r.jsx)(i.$n,{icon:"fast-backward",textAlign:"center",disabled:0===s,width:2.2,onClick:function(){return t("min_temp")}}),(0,r.jsx)(i.Q7,{animated:!0,unit:d,width:6.1,lineHeight:1.5,step:f,minValue:0,maxValue:u,value:s,onChange:function(e){return t("custom_temperature",{temperature:e})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",textAlign:"center",disabled:s===u,width:2.2,onClick:function(){return t("max_temp")}})]})]})})})})}},6561:function(e,n,t){"use strict";t.r(n),t.d(n,{AugmentMenu:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?"".concat(t.current_level," / ").concat(t.max_level):"0 / ".concat(e.max_level);return(0,r.jsxs)(o.BJ.Item,{children:[(0,r.jsxs)(o.BJ,{vertical:!1,children:[(0,r.jsx)(o.$n,{height:"20px",width:"35px",mb:1,textAlign:"center",content:i,disabled:i>c||t&&t.current_level===t.max_level,tooltip:"Purchase this ability?",onClick:function(){n("purchase",{ability_path:e.ability_path}),p(m)}}),(0,r.jsx)(o.BJ.Item,{fontSize:"16px",children:e.name})]}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsxs)(o.BJ,{vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{fontSize:"13px",children:e.desc||"Description not available"}),(0,r.jsxs)(o.BJ.Item,{children:["Level: ",(0,r.jsx)("span",{style:{color:"green"},children:l}),v&&e.stage>0&&(0,r.jsxs)("span",{children:[" (Stage: ",e.stage,")"]})]}),(0,r.jsx)(o.BJ.Divider,{})]})})]},e.name)})})]})},h=function(e){var n=e.act,t=e.abilityTabs,i=e.knownAbilities,l=e.usableSwarms,a=i.filter(function(e){return e.current_levell,tooltip:"Upgrade this ability?",onClick:function(){return n("purchase",{ability_path:e.ability_path})}}),(0,r.jsx)(o.BJ.Item,{fontSize:"16px",children:e.name})]}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsxs)(o.BJ,{vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{fontSize:"13px",children:e.upgrade_text}),(0,r.jsxs)(o.BJ.Item,{children:["Level:"," ",(0,r.jsx)("span",{style:{color:"green"},children:"".concat(e.current_level," / ").concat(e.max_level)}),i&&i.stage>0&&(0,r.jsxs)("span",{children:[" (Stage: ",i.stage,")"]})]}),(0,r.jsx)(o.BJ.Divider,{})]})})]},e.name)})})}},8762:function(e,n,t){"use strict";t.r(n),t.d(n,{Autolathe:()=>f});var r=t(8138),i=t(8587),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tn)&&!(e.requirements.glass*r>t)},f=function(e){var n=(0,a.Oc)(),t=n.act,s=n.data,f=s.total_amount,h=(s.max_amount,s.metal_amount),m=s.glass_amount,p=s.busyname,x=s.busyamt,g=s.showhacked,j=s.buildQueue,b=s.buildQueueLen,y=s.recipes,v=s.categories,w=s.fill_percent,k=u((0,a.QY)("category","Tools"),2),_=k[0],C=k[1],I=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),S=m.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),O=f.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),A=u((0,a.QY)("searchText",""),2),P=A[0],E=A[1],B=[];b>0&&(B=j.map(function(e,n){return(0,r.jsx)(o.az,{children:(0,r.jsx)(o.$n,{fluid:!0,icon:"times",color:"transparent",content:e[0],onClick:function(){return t("remove_from_queue",{remove_from_queue:n+1})}},n)},n)}));var z=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=(0,i.pb)(e,function(e){return(e.category.indexOf(_)>-1||!!n)&&(!!g||!e.hacked)});if(n){var r=(0,l.XZ)(n,function(e){return e.name});t=(0,i.pb)(t,r)}return(0,i.Ul)(t,function(e){return e.name.toLowerCase()})}(y,P),T="Build";return P?T="Results for: '"+P+"':":_&&(T="Build ("+_+")"),(0,r.jsx)(c.p8,{width:750,height:525,children:(0,r.jsx)(c.p8.Content,{scrollable:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.BJ.Item,{width:"70%",children:(0,r.jsxs)(o.wn,{fill:!0,scrollable:!0,title:T,buttons:(0,r.jsx)(o.ms,{width:"150px",options:v,selected:_,onSelected:function(e){return C(e)}}),children:[(0,r.jsx)(o.pd,{fluid:!0,mb:1,placeholder:"Search for...",onChange:function(e){return E(e)},value:P}),z.map(function(e){return(0,r.jsxs)(o.BJ.Item,{grow:!0,children:[(0,r.jsx)("img",{src:"data:image /jpeg;base64,".concat(e.image),style:{verticalAlign:"middle",width:"32px",margin:"0px"}}),(0,r.jsx)(o.$n,{mr:1,icon:"hammer",selected:p===e.name&&1===x,disabled:!d(e,h,m,1),onClick:function(){return t("make",{make:e.uid,multiplier:1})},children:e.name}),e.max_multiplier>=10&&(0,r.jsx)(o.$n,{mr:1,icon:"hammer",selected:p===e.name&&10===x,disabled:!d(e,h,m,10),onClick:function(){return t("make",{make:e.uid,multiplier:10})},children:"10x"}),e.max_multiplier>=25&&(0,r.jsx)(o.$n,{mr:1,icon:"hammer",selected:p===e.name&&25===x,disabled:!d(e,h,m,25),onClick:function(){return t("make",{make:e.uid,multiplier:25})},children:"25x"}),e.max_multiplier>25&&(0,r.jsxs)(o.$n,{mr:1,icon:"hammer",selected:p===e.name&&x===e.max_multiplier,disabled:!d(e,h,m,e.max_multiplier),onClick:function(){return t("make",{make:e.uid,multiplier:e.max_multiplier})},children:[e.max_multiplier,"x"]}),e.requirements&&Object.keys(e.requirements).map(function(n){return(0,l.Sn)(n)+": "+e.requirements[n]}).join(", ")||(0,r.jsx)(o.az,{children:"No resources required."})]},e.uid)})]})}),(0,r.jsxs)(o.BJ.Item,{width:"30%",children:[(0,r.jsx)(o.wn,{title:"Materials",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Metal",children:I}),(0,r.jsx)(o.Ki.Item,{label:"Glass",children:S}),(0,r.jsx)(o.Ki.Item,{label:"Total",children:O}),(0,r.jsxs)(o.Ki.Item,{label:"Storage",children:[w,"% Full"]})]})}),(0,r.jsx)(o.wn,{title:"Building",children:(0,r.jsx)(o.az,{color:p?"green":"",children:p||"Nothing"})}),(0,r.jsxs)(o.wn,{title:"Build Queue",height:23.7,children:[B,(0,r.jsx)(o.$n,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!b,onClick:function(){return t("clear_queue")}})]})]})]})})})}},9766:function(e,n,t){"use strict";t.r(n),t.d(n,{BioChipPad:()=>s});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ts});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(6696);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.glow_brightness_base,s=a.glow_brightness_power,u=a.glow_contrast_base,d=a.glow_contrast_power,f=a.exposure_brightness_base,h=a.exposure_brightness_power,m=a.exposure_contrast_base,p=a.exposure_contrast_power;return(0,r.jsx)(l.p8,{title:"BloomEdit",width:500,height:500,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{title:"Bloom Edit",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Lamp Brightness Base",children:[(0,r.jsx)(i.az,{inline:!0,children:"Base Lamp Brightness"}),(0,r.jsx)(i.Q7,{fluid:!0,value:c,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("glow_brightness_base",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Lamp Brightness Power",children:[(0,r.jsx)(i.az,{inline:!0,children:"Lamp Brightness * Light Power"}),(0,r.jsx)(i.Q7,{fluid:!0,value:s,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("glow_brightness_power",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Lamp Contrast Base",children:[(0,r.jsx)(i.az,{inline:!0,children:"Base Lamp Contrast"}),(0,r.jsx)(i.Q7,{fluid:!0,value:u,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("glow_contrast_base",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Lamp Contrast Power",children:[(0,r.jsx)(i.az,{inline:!0,children:"Lamp Contrast * Light Power"}),(0,r.jsx)(i.Q7,{fluid:!0,value:d,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("glow_contrast_power",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Exposure Brightness Base",children:[(0,r.jsx)(i.az,{inline:!0,children:"Base Exposure Brightness"}),(0,r.jsx)(i.Q7,{fluid:!0,value:f,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("exposure_brightness_base",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Exposure Brightness Power",children:[(0,r.jsx)(i.az,{inline:!0,children:"Exposure Brightness * Light Power"}),(0,r.jsx)(i.Q7,{fluid:!0,value:h,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("exposure_brightness_power",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Exposure Contrast Base",children:[(0,r.jsx)(i.az,{inline:!0,children:"Base Exposure Contrast"}),(0,r.jsx)(i.Q7,{fluid:!0,value:m,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("exposure_contrast_base",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Exposure Contrast Power",children:[(0,r.jsx)(i.az,{inline:!0,children:"Exposure Contrast * Light Power"}),(0,r.jsx)(i.Q7,{fluid:!0,value:p,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("exposure_contrast_power",{value:e})}})]}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsxs)(i.Ki.Item,{children:[(0,r.jsx)(i.$n,{content:"Reload Lamps with New Parameters",onClick:function(){return t("update_lamps")}}),(0,r.jsx)(i.$n,{content:"Reset to Default",onClick:function(){return t("default")}})]})]})})})})}},7166:function(e,n,t){"use strict";t.r(n),t.d(n,{BlueSpaceArtilleryControl:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t=(0,o.Oc)(),a=t.act,c=t.data;return n=c.ready?(0,r.jsx)(i.Ki.Item,{label:"Status",color:"green",children:"Ready"}):c.reloadtime_text?(0,r.jsx)(i.Ki.Item,{label:"Reloading In",color:"red",children:c.reloadtime_text}):(0,r.jsx)(i.Ki.Item,{label:"Status",color:"red",children:"No cannon connected!"}),(0,r.jsx)(l.p8,{width:400,height:150,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:(0,r.jsxs)(i.Ki,{children:[c.notice&&(0,r.jsx)(i.Ki.Item,{label:"Alert",color:"red",children:c.notice}),n,(0,r.jsx)(i.Ki.Item,{label:"Target",children:(0,r.jsx)(i.$n,{icon:"crosshairs",content:c.target?c.target:"None",onClick:function(){return a("recalibrate")}})}),1===c.ready&&!!c.target&&(0,r.jsx)(i.Ki.Item,{label:"Firing",children:(0,r.jsx)(i.$n,{icon:"skull",content:"FIRE!",color:"red",onClick:function(){return a("fire")}})}),!c.connected&&(0,r.jsx)(i.Ki.Item,{label:"Maintenance",children:(0,r.jsx)(i.$n,{icon:"wrench",content:"Complete Deployment",onClick:function(){return a("build")}})})]})})})})})})}},8128:function(e,n,t){"use strict";t.r(n),t.d(n,{Alerts:()=>u,BluespaceTap:()=>s,Incursion:()=>c});var r=t(8138),i=t(7790),o=t(9582),l=t(2864),a=t(3384),c=function(e){if((0,l.Oc)().data.portaling)return(0,r.jsx)(i.Rr,{fontsize:"256px",backgroundColor:"rgba(35,0,0,0.85)",children:(0,r.jsx)(i.Z8,{fontsize:"256px",interval:Math.random()>.25?750+400*Math.random():290+150*Math.random(),time:60+150*Math.random(),children:(0,r.jsx)(i.BJ,{mb:"30px",fontsize:"256px",children:(0,r.jsxs)(i.BJ.Item,{bold:!0,color:"red",fontsize:"256px",textAlign:"center",children:[(0,r.jsx)(i.In,{name:"skull",size:14,mb:"64px"}),(0,r.jsx)("br",{}),"E$#OR:& U#KN!WN IN%ERF#R_NCE"]})})})})},s=function(e){var n=(0,l.Oc)(),t=n.act,s=n.data,d=s.product||[],f=s.desiredMiningPower,h=s.miningPower,m=s.points,p=s.totalPoints,x=s.powerUse,g=s.availablePower,j=s.emagged,b=s.dirty,y=s.autoShutown,v=s.stabilizers,w=s.stabilizerPower,k=s.stabilizerPriority;return(0,r.jsx)(a.p8,{width:650,height:450,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(c,{}),(0,r.jsx)(u,{}),(0,r.jsx)(i.Nt,{title:"Input Management",children:(0,r.jsxs)(i.wn,{fill:!0,title:"Input",children:[(0,r.jsx)(i.$n,{icon:y&&!j?"toggle-on":"toggle-off",content:"Auto shutdown",color:y&&!j?"green":"red",disabled:!!j,tooltip:"Turn auto shutdown on or off",tooltipPosition:"top",onClick:function(){return t("auto_shutdown")}}),(0,r.jsx)(i.$n,{icon:v&&!j?"toggle-on":"toggle-off",content:"Stabilizers",color:v&&!j?"green":"red",disabled:!!j,tooltip:"Turn stabilizers on or off",tooltipPosition:"top",onClick:function(){return t("stabilizers")}}),(0,r.jsx)(i.$n,{icon:k&&!j?"toggle-on":"toggle-off",content:"Stabilizer priority",color:k&&!j?"green":"red",disabled:!!j,tooltip:"On: Mining power will not exceed what can be stabilized",tooltipPosition:"top",onClick:function(){return t("stabilizer_priority")}}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Desired Mining Power",children:(0,o.d5)(f)}),(0,r.jsx)(i.Ki.Item,{verticalAlign:"top",label:"Set Desired Mining Power",children:(0,r.jsxs)(i.BJ,{width:"100%",children:[(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"step-backward",disabled:0===f||j,tooltip:"Set to 0",tooltipPosition:"bottom",onClick:function(){return t("set",{set_power:0})}}),(0,r.jsx)(i.$n,{icon:"fast-backward",tooltip:"Decrease by 10 MW",tooltipPosition:"bottom",disabled:0===f||j,onClick:function(){return t("set",{set_power:f-1e7})}}),(0,r.jsx)(i.$n,{icon:"backward",disabled:0===f||j,tooltip:"Decrease by 1 MW",tooltipPosition:"bottom",onClick:function(){return t("set",{set_power:f-1e6})}})]}),(0,r.jsx)(i.BJ.Item,{mx:1,children:(0,r.jsx)(i.Q7,{disabled:j,minValue:0,value:f,maxValue:1/0,step:1,onChange:function(e){return t("set",{set_power:e})}})}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"forward",disabled:j,tooltip:"Increase by one MW",tooltipPosition:"bottom",onClick:function(){return t("set",{set_power:f+1e6})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",disabled:j,tooltip:"Increase by 10MW",tooltipPosition:"bottom",onClick:function(){return t("set",{set_power:f+1e7})}})]})]})}),(0,r.jsx)(i.Ki.Item,{label:"Total Power Use",children:(0,o.d5)(x)}),(0,r.jsx)(i.Ki.Item,{label:"Mining Power Use",children:(0,o.d5)(h)}),(0,r.jsx)(i.Ki.Item,{label:"Stabilizer Power Use",children:(0,o.d5)(w)}),(0,r.jsx)(i.Ki.Item,{label:"Surplus Power",children:(0,o.d5)(g)})]})]})}),(0,r.jsxs)(i.wn,{fill:!0,title:"Output",children:[b?(0,r.jsx)(i.Rr,{backgroundColor:"rgba(63, 39, 18, 0.85)",children:(0,r.jsx)(i.BJ,{mb:"30px",fontsize:"256px",children:(0,r.jsxs)(i.BJ.Item,{bold:!0,color:"brown",fontsize:"256px",textAlign:"center",children:["Blockage Detected",(0,r.jsx)("br",{}),"Cleanup Required"]})})}):"",(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Available Points",children:m}),(0,r.jsx)(i.Ki.Item,{label:"Total Points",children:p})]})})}),(0,r.jsx)(i.BJ.Item,{align:"end",children:(0,r.jsx)(i.az,{children:(0,r.jsx)(i.Ki,{children:d.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e.name,children:(0,r.jsx)(i.$n,{disabled:e.price>=m,onClick:function(){return t("vend",{target:e.key})},content:e.price})},e.key)})})})})]})]})]})})})},u=function(e){var n=(0,l.Oc)(),t=(n.act,n.data);t.product;var o=t.miningPower,a=t.stabilizerPower,c=t.emagged,s=(t.safeLevels,t.autoShutown),u=t.stabilizers;return t.overhead,(0,r.jsxs)(r.Fragment,{children:[!s&&!c&&(0,r.jsx)(i.IC,{danger:1,children:"Auto shutdown disabled"}),c?(0,r.jsx)(i.IC,{danger:1,children:"All safeties disabled"}):o<=15e6?"":u?o>a+15e6?(0,r.jsx)(i.IC,{danger:1,children:"Stabilizers overwhelmed, Instability likely"}):(0,r.jsx)(i.IC,{children:"High Power, engaging stabilizers"}):(0,r.jsx)(i.IC,{danger:1,children:"Stabilizers disabled, Instability likely"})]})}},6807:function(e,n,t){"use strict";t.r(n),t.d(n,{BodyScanner:()=>p});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=[["good","Alive"],["average","Critical"],["bad","DEAD"]],s=[["hasVirus","bad","Viral pathogen detected in blood stream."],["blind","average","Cataracts detected."],["colourblind","average","Photoreceptor abnormalities detected."],["nearsighted","average","Retinal misalignment detected."],["paraplegic","bad","Lumbar nerves damaged."]],u=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Cellular","cloneLoss"],["Burn","fireLoss"],["Inebriation","drunkenness"]],d={average:[.25,.5],bad:[.5,1/0]},f=function(e,n){for(var t=[],r=0;r0?e.filter(function(e){return!!e}).reduce(function(e,n){return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)(i.az,{children:n},n)]})},null):null},m=function(e){if(e>100){if(e<300)return"mild infection";if(e<400)return"mild infection+";if(e<500)return"mild infection++";if(e<700)return"acute infection";if(e<800)return"acute infection+";if(e<900)return"acute infection++";if(e>=900)return"septic"}return""},p=function(e){var n=(0,l.Oc)().data,t=n.occupied,i=n.occupant,o=t?(0,r.jsx)(x,{occupant:void 0===i?{}:i}):(0,r.jsx)(k,{});return(0,r.jsx)(a.p8,{width:700,height:600,title:"Body Scanner",children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:o})})},x=function(e){var n=e.occupant;return(0,r.jsxs)(i.az,{children:[(0,r.jsx)(g,{occupant:n}),(0,r.jsx)(j,{occupant:n}),(0,r.jsx)(b,{occupant:n}),(0,r.jsx)(v,{organs:n.extOrgan}),(0,r.jsx)(w,{organs:n.intOrgan})]})},g=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data.occupant;return(0,r.jsx)(i.wn,{title:"Occupant",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:"print",onClick:function(){return t("print_p")},children:"Print Report"}),(0,r.jsx)(i.$n,{icon:"user-slash",onClick:function(){return t("ejectify")},children:"Eject"})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:o.name}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{min:"0",max:o.maxHealth,value:o.health/o.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:c[o.stat][0],children:c[o.stat][1]}),(0,r.jsxs)(i.Ki.Item,{label:"Temperature",children:[(0,r.jsx)(i.zv,{value:Math.round(o.bodyTempC)}),"\xb0C,\xa0",(0,r.jsx)(i.zv,{value:Math.round(o.bodyTempF)}),"\xb0F"]}),(0,r.jsx)(i.Ki.Item,{label:"Implants",children:o.implant_len?(0,r.jsx)(i.az,{children:o.implant.map(function(e){return e.name}).join(", ")}):(0,r.jsx)(i.az,{color:"label",children:"None"})})]})})},j=function(e){var n=e.occupant;return n.hasBorer||n.blind||n.colourblind||n.nearsighted||n.hasVirus||n.paraplegic?(0,r.jsx)(i.wn,{title:"Abnormalities",children:s.map(function(e,t){if(n[e[0]])return(0,r.jsx)(i.az,{color:e[1],bold:"bad"===e[1],children:e[2]},e[2])})}):(0,r.jsx)(i.wn,{title:"Abnormalities",children:(0,r.jsx)(i.az,{color:"label",children:"No abnormalities found."})})},b=function(e){var n=e.occupant;return(0,r.jsx)(i.wn,{title:"Damage",children:(0,r.jsx)(i.XI,{children:f(u,function(e,t,o){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.XI.Row,{color:"label",children:[(0,r.jsxs)(i.XI.Cell,{children:[e[0],":"]}),(0,r.jsx)(i.XI.Cell,{children:!!t&&t[0]+":"})]}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(y,{value:n[e[1]],marginBottom:o100)&&"average"||!!e.status.robotic&&"label",width:"33%",children:(0,o.ZH)(e.name)}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:(0,r.jsx)(i.z2,{m:-.5,min:"0",max:e.maxHealth,mt:n>0&&"0.5rem",value:e.totalLoss/e.maxHealth,ranges:d,children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.m_,{content:"Total damage",children:(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.In,{name:"heartbeat",mr:.5}),Math.round(e.totalLoss)]})}),!!e.bruteLoss&&(0,r.jsx)(i.m_,{content:"Brute damage",children:(0,r.jsxs)(i.BJ.Item,{grow:!0,children:[(0,r.jsx)(i.In,{name:"bone",mr:.5}),Math.round(e.bruteLoss)]})}),!!e.fireLoss&&(0,r.jsx)(i.m_,{content:"Burn damage",children:(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.In,{name:"fire",mr:.5}),Math.round(e.fireLoss)]})})]})})}),(0,r.jsxs)(i.XI.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:n>0&&"calc(0.5rem + 2px)",children:[(0,r.jsx)(i.az,{color:"average",inline:!0,children:h([!!e.internalBleeding&&"Internal bleeding",!!e.burnWound&&"Critical tissue burns",!!e.lungRuptured&&"Ruptured lung",!!e.status.broken&&e.status.broken,m(e.germ_level),!!e.open&&"Open incision"])}),(0,r.jsxs)(i.az,{inline:!0,children:[h([!!e.status.splinted&&(0,r.jsx)(i.az,{color:"good",children:"Splinted"}),!!e.status.robotic&&(0,r.jsx)(i.az,{color:"label",children:"Robotic"}),!!e.status.dead&&(0,r.jsx)(i.az,{color:"bad",bold:!0,children:"DEAD"})]),h(e.shrapnel.map(function(e){return e.known?e.name:"Unknown object"}))]})]})]},n)})]})})},w=function(e){return 0===e.organs.length?(0,r.jsx)(i.wn,{title:"Internal Organs",children:(0,r.jsx)(i.az,{color:"label",children:"N/A"})}):(0,r.jsx)(i.wn,{title:"Internal Organs",children:(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Name"}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:"Damage"}),(0,r.jsx)(i.XI.Cell,{textAlign:"right",children:"Injuries"})]}),e.organs.map(function(e,n){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{color:!!e.dead&&"bad"||e.germ_level>100&&"average"||e.robotic>0&&"label",width:"33%",children:(0,o.ZH)(e.name)}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:(0,r.jsx)(i.z2,{min:"0",max:e.maxHealth,value:e.damage/e.maxHealth,mt:n>0&&"0.5rem",ranges:d,children:Math.round(e.damage)})}),(0,r.jsxs)(i.XI.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:n>0&&"calc(0.5rem + 2px)",children:[(0,r.jsx)(i.az,{color:"average",inline:!0,children:h([m(e.germ_level)])}),(0,r.jsx)(i.az,{inline:!0,children:h([1===e.robotic&&(0,r.jsx)(i.az,{color:"label",children:"Robotic"}),2===e.robotic&&(0,r.jsx)(i.az,{color:"label",children:"Assisted"}),!!e.dead&&(0,r.jsx)(i.az,{color:"bad",bold:!0,children:"DEAD"})])})]})]},n)})]})})},k=function(){return(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,textAlign:"center",children:(0,r.jsxs)(i.BJ.Item,{grow:!0,align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,r.jsx)("br",{}),"No occupant detected."]})})})}},2790:function(e,n,t){"use strict";t.r(n),t.d(n,{BookBinder:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4744),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.selectedbook,u=c.book_categories,d=[];return u.map(function(e){return d[e.description]=e.category_id}),(0,r.jsxs)(l.p8,{width:600,height:400,children:[(0,r.jsx)(a.ComplexModal,{}),(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsxs)(i.wn,{fill:!0,title:"Book Binder",buttons:(0,r.jsx)(i.$n,{icon:"print",width:"auto",content:"Print Book",onClick:function(){return t("print_book")}}),children:[(0,r.jsxs)(i.az,{ml:10,fontSize:"1.2rem",bold:!0,children:[(0,r.jsx)(i.In,{name:"search-plus",verticalAlign:"middle",size:3,mr:"1rem"}),"Book Binder"]}),(0,r.jsx)(i.BJ,{children:(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Title",children:(0,r.jsx)(i.$n,{textAlign:"left",icon:"pen",width:"auto",content:s.title,onClick:function(){return(0,a.modalOpen)("edit_selected_title")}})}),(0,r.jsx)(i.Ki.Item,{label:"Author",children:(0,r.jsx)(i.$n,{textAlign:"left",icon:"pen",width:"auto",content:s.author,onClick:function(){return(0,a.modalOpen)("edit_selected_author")}})}),(0,r.jsx)(i.Ki.Item,{label:"Select Categories",children:(0,r.jsx)(i.az,{children:(0,r.jsx)(i.ms,{width:"190px",options:u.map(function(e){return e.description}),onSelected:function(e){return t("toggle_binder_category",{category_id:d[e]})}})})}),(0,r.jsx)(i.Ki.Item,{label:"Summary",children:(0,r.jsx)(i.$n,{icon:"pen",width:"auto",content:"Edit Summary",onClick:function(){return(0,a.modalOpen)("edit_selected_summary")}})}),(0,r.jsx)(i.Ki.Item,{children:s.summary})]}),(0,r.jsx)("br",{}),u.filter(function(e){return s.categories.includes(e.category_id)}).map(function(e){return(0,r.jsx)(i.$n,{content:e.description,selected:!0,icon:"unlink",onClick:function(){return t("toggle_binder_category",{category_id:e.category_id})}},e.category_id)})]})})]})})})]})}},1326:function(e,n,t){"use strict";t.r(n),t.d(n,{BotCall:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(9226),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data;c.locked;var s=c.noaccess,u=(c.maintpanel,c.on,c.autopatrol,c.canhack,c.emagged,c.remote_disabled,c.painame),d=c.cleanblood,f=c.area;return(0,r.jsx)(l.p8,{width:500,height:400,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(a.BotStatus,{}),(0,r.jsx)(i.wn,{title:"Cleaning Settings",children:(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:d,content:"Clean Blood",disabled:s,onClick:function(){return t("blood")}})}),(0,r.jsxs)(i.wn,{title:"Misc Settings",children:[(0,r.jsx)(i.$n,{fluid:!0,content:f?"Reset Area Selection":"Restrict to Current Area",onClick:function(){return t("area")}}),null!==f&&(0,r.jsx)(i.az,{mb:1,children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Locked Area",children:f})})})]}),u&&(0,r.jsx)(i.wn,{title:"pAI",children:(0,r.jsx)(i.$n,{fluid:!0,icon:"eject",content:u,disabled:s,onClick:function(){return t("ejectpai")}})})]})})}},3578:function(e,n,t){"use strict";t.r(n),t.d(n,{BotFloor:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(9226),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.noaccess,u=c.painame,d=c.hullplating,f=c.replace,h=c.eat,m=c.make,p=c.fixfloor,x=c.nag_empty,g=c.magnet,j=c.tiles_amount;return(0,r.jsx)(l.p8,{width:500,height:510,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(a.BotStatus,{}),(0,r.jsxs)(i.wn,{title:"Floor Settings",children:[(0,r.jsx)(i.az,{mb:"5px",children:(0,r.jsx)(i.Ki.Item,{label:"Tiles Left",children:j})}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:d,content:"Add tiles to new hull plating",tooltip:"Fixing a plating requires the removal of floor tile. This will place it back after repairing. Same goes for hull breaches",disabled:s,onClick:function(){return t("autotile")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:f,content:"Add floor tiles on exposed hull plating",tooltip:"Example: It will add tiles to maintenance",disabled:s,onClick:function(){return t("replacetiles")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:p,content:"Repair damaged tiles and platings",disabled:s,onClick:function(){return t("fixfloors")}})]}),(0,r.jsxs)(i.wn,{title:"Miscellaneous",children:[(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:h,content:"Finds tiles",disabled:s,onClick:function(){return t("eattiles")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:m,content:"Make pieces of metal into tiles when empty",disabled:s,onClick:function(){return t("maketiles")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:x,content:"Transmit notice when empty",disabled:s,onClick:function(){return t("nagonempty")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:g,content:"Traction Magnets",disabled:s,onClick:function(){return t("anchored")}})]}),u&&(0,r.jsx)(i.wn,{title:"pAI",children:(0,r.jsx)(i.$n.Checkbox,{fluid:!0,icon:"eject",content:u,disabled:s,onClick:function(){return t("ejectpai")}})})]})})}},5144:function(e,n,t){"use strict";t.r(n),t.d(n,{BotHonk:()=>a});var r=t(8138),i=t(2864),o=t(3384),l=t(9226),a=function(e){var n=(0,i.Oc)();return n.act,n.data,(0,r.jsx)(o.p8,{width:500,height:220,children:(0,r.jsx)(o.p8.Content,{scrollable:!0,children:(0,r.jsx)(l.BotStatus,{})})})}},2078:function(e,n,t){"use strict";t.r(n),t.d(n,{BotMed:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(9226),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data;c.locked;var s=c.noaccess,u=(c.maintpanel,c.on,c.autopatrol,c.canhack,c.emagged,c.remote_disabled,c.painame),d=c.shut_up,f=c.declare_crit,h=c.stationary_mode,m=c.heal_threshold,p=c.injection_amount,x=c.use_beaker,g=c.treat_virus,j=c.reagent_glass;return(0,r.jsx)(l.p8,{width:500,height:500,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(a.BotStatus,{}),(0,r.jsxs)(i.wn,{title:"Communication Settings",children:[(0,r.jsx)(i.$n.Checkbox,{fluid:!0,content:"Speaker",checked:!d,disabled:s,onClick:function(){return t("toggle_speaker")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,content:"Critical Patient Alerts",checked:f,disabled:s,onClick:function(){return t("toggle_critical_alerts")}})]}),(0,r.jsxs)(i.wn,{fill:!0,title:"Treatment Settings",children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Healing Threshold",children:(0,r.jsx)(i.Ap,{value:m.value,minValue:m.min,maxValue:m.max,step:5,disabled:s,onChange:function(e,n){return t("set_heal_threshold",{target:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Injection Level",children:(0,r.jsx)(i.Ap,{value:p.value,minValue:p.min,maxValue:p.max,step:5,format:function(e){return"".concat(e,"u")},disabled:s,onChange:function(e,n){return t("set_injection_amount",{target:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Reagent Source",children:(0,r.jsx)(i.$n,{content:x?"Beaker":"Internal Synthesizer",icon:x?"flask":"cogs",disabled:s,onClick:function(){return t("toggle_use_beaker")}})}),j&&(0,r.jsx)(i.Ki.Item,{label:"Beaker",children:(0,r.jsxs)(i.BJ,{inline:!0,width:"100%",children:[(0,r.jsx)(i.BJ.Item,{grow:1,children:(0,r.jsxs)(i.z2,{value:j.amount,minValue:0,maxValue:j.max_amount,children:[j.amount," / ",j.max_amount]})}),(0,r.jsx)(i.BJ.Item,{ml:1,children:(0,r.jsx)(i.$n,{content:"Eject",disabled:s,onClick:function(){return t("eject_reagent_glass")}})})]})})]}),(0,r.jsx)(i.$n.Checkbox,{mt:1,fluid:!0,content:"Treat Viral Infections",checked:g,disabled:s,onClick:function(){return t("toggle_treat_viral")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,content:"Stationary Mode",checked:h,disabled:s,onClick:function(){return t("toggle_stationary_mode")}})]}),u&&(0,r.jsx)(i.wn,{title:"pAI",children:(0,r.jsx)(i.$n,{fluid:!0,icon:"eject",content:u,disabled:s,onClick:function(){return t("ejectpai")}})})]})})})}},881:function(e,n,t){"use strict";t.r(n),t.d(n,{BotMule:()=>s});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(9226);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(9226),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.noaccess,u=c.painame,d=c.check_id,f=c.check_weapons,h=c.check_warrant,m=c.arrest_mode,p=c.arrest_declare;return(0,r.jsx)(l.p8,{width:500,height:445,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(a.BotStatus,{}),(0,r.jsxs)(i.wn,{title:"Who To Arrest",children:[(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:d,content:"Unidentifiable Persons",disabled:s,onClick:function(){return t("authid")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:f,content:"Unauthorized Weapons",disabled:s,onClick:function(){return t("authweapon")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:h,content:"Wanted Criminals",disabled:s,onClick:function(){return t("authwarrant")}})]}),(0,r.jsxs)(i.wn,{title:"Arrest Procedure",children:[(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:m,content:"Detain Targets Indefinitely",disabled:s,onClick:function(){return t("arrtype")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:p,content:"Announce Arrests On Radio",disabled:s,onClick:function(){return t("arrdeclare")}})]}),u&&(0,r.jsx)(i.wn,{title:"pAI",children:(0,r.jsx)(i.$n,{fluid:!0,icon:"eject",content:u,disabled:s,onClick:function(){return t("ejectpai")}})})]})})}},2850:function(e,n,t){"use strict";t.r(n),t.d(n,{BrigCells:()=>s});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=e.cell,t=(0,o.Oc)().act,l=n.cell_id,a=n.occupant,c=n.crimes,s=n.brigged_by,u=n.time_left_seconds,d=n.time_set_seconds,f=n.ref,h="";return u>0&&(h+=" BrigCells__listRow--active"),(0,r.jsxs)(i.XI.Row,{className:h,children:[(0,r.jsx)(i.XI.Cell,{children:l}),(0,r.jsx)(i.XI.Cell,{children:a}),(0,r.jsx)(i.XI.Cell,{children:c}),(0,r.jsx)(i.XI.Cell,{children:s}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.qT,{totalSeconds:d})}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.qT,{totalSeconds:u})}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{type:"button",onClick:function(){t("release",{ref:f})},children:"Release"})})]})},c=function(e){var n=e.cells;return(0,r.jsxs)(i.XI,{className:"BrigCells__list",children:[(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{header:!0,children:"Cell"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Occupant"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Crimes"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Brigged By"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Time Brigged For"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Time Left"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Release"})]}),n.map(function(e){return(0,r.jsx)(a,{cell:e},e.ref)})]})},s=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).cells;return(0,r.jsx)(l.p8,{theme:"security",width:800,height:400,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(c,{cells:t})})})})})}},9478:function(e,n,t){"use strict";t.r(n),t.d(n,{BrigTimer:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;a.nameText=a.occupant,a.timing&&(a.prisoner_hasrec?a.nameText=(0,r.jsx)(i.az,{color:"green",children:a.occupant}):a.nameText=(0,r.jsx)(i.az,{color:"red",children:a.occupant}));var c="pencil-alt";a.prisoner_name&&!a.prisoner_hasrec&&(c="exclamation-triangle");var s=[],u=0;for(u=0;ud});var r=t(8138),i=t(4530),o=t(2864),l=t(3384),a=t(7790);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tp,CameraConsoleContent:()=>x});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(5490),c=t(3268),s=t(2864),u=t(3384);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);te?this.substring(0,e)+"...":this};var h=function(e,n){if(!n)return[];var t,r,i=e.findIndex(function(e){return e.name===n.name});return[null==(t=e[i-1])?void 0:t.name,null==(r=e[i+1])?void 0:r.name]},m=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=(0,i.pb)(e,function(e){return!!e.name});if(n){var r=(0,c.XZ)(n,function(e){return e.name});t=(0,i.pb)(t,r)}return(0,i.Ul)(t,function(e){return e.name})},p=function(e){var n=(0,s.Oc)(),t=n.act,i=n.data,o=i.mapRef,c=i.activeCamera,d=f(h(m(i.cameras),c),2),p=d[0],g=d[1];return(0,r.jsxs)(u.p8,{width:870,height:708,children:[(0,r.jsx)("div",{className:"CameraConsole__left",children:(0,r.jsx)(u.p8.Content,{children:(0,r.jsx)(l.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(x,{})})})}),(0,r.jsxs)("div",{className:"CameraConsole__right",children:[(0,r.jsxs)("div",{className:"CameraConsole__toolbar",children:[(0,r.jsx)("b",{children:"Camera: "}),c&&c.name||"—"]}),(0,r.jsxs)("div",{className:(0,a.Ly)(["CameraConsole__toolbar","CameraConsole__toolbar--right"]),children:[(0,r.jsx)(l.$n,{icon:"chevron-left",disabled:!p,onClick:function(){return t("switch_camera",{name:p})}}),(0,r.jsx)(l.$n,{icon:"chevron-right",disabled:!g,onClick:function(){return t("switch_camera",{name:g})}})]}),(0,r.jsx)(l.D1,{className:"CameraConsole__map",params:{id:o,type:"map"}})]})]})},x=function(e){var n=(0,s.Oc)(),t=n.act,i=n.data,c=f((0,o.useState)(""),2),u=c[0],d=c[1],h=i.activeCamera,p=m(i.cameras,u);return(0,r.jsxs)(l.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(l.BJ.Item,{children:(0,r.jsx)(l.pd,{fluid:!0,placeholder:"Search for a camera",onChange:function(e){return d(e)}})}),(0,r.jsx)(l.BJ.Item,{grow:!0,m:0,children:(0,r.jsx)(l.wn,{fill:!0,scrollable:!0,children:p.map(function(e){return(0,r.jsx)("div",{title:e.name,className:(0,a.Ly)(["Button","Button--fluid",h&&e.name===h.name?"Button--selected":"Button--color--transparent"]),onClick:function(){return t("switch_camera",{name:e.name})},children:e.name.trimLongStr(23)},e.name)})})})]})}},2094:function(e,n,t){"use strict";t.r(n),t.d(n,{Canister:()=>s});var r=t(8138),i=t(7790),o=t(9582),l=t(6859),a=t(2864),c=t(3384),s=function(e){var n=(0,a.Oc)(),t=n.act,s=n.data,u=s.portConnected,d=s.tankPressure,f=s.releasePressure,h=s.defaultReleasePressure,m=s.minReleasePressure,p=s.maxReleasePressure,x=s.valveOpen,g=s.name,j=s.canLabel,b=s.colorContainer,y=s.color_index,v=s.hasHoldingTank,w=s.holdingTank,k="";y.prim&&(k=b.prim.options[y.prim].name);var _="";y.sec&&(_=b.sec.options[y.sec].name);var C="";y.ter&&(C=b.ter.options[y.ter].name);var I="";y.quart&&(I=b.quart.options[y.quart].name);var S=[],O=[],A=[],P=[],E=0;for(E=0;El});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)().act,t=e.scanned_card,l=e.modifying_card;return(0,r.jsx)(i.wn,{title:"Authentication",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Login/Logout",children:t?(0,r.jsx)(i.$n,{icon:"sign-out-alt",selected:!0,onClick:function(){return n("interact_scanned")},children:"Log Out: ".concat(t.name)}):(0,r.jsx)(i.$n,{icon:"id-card",onClick:function(){return n("interact_scanned")},children:"-----"})}),(0,r.jsx)(i.Ki.Item,{label:"Card To Modify",children:l?(0,r.jsx)(i.$n,{icon:"eject",selected:!0,onClick:function(){return n("interact_modify")},children:"Remove Card: ".concat(l.name)}):(0,r.jsx)(i.$n,{icon:"id-card",onClick:function(){return n("interact_modify")},children:"-----"})})]})})}},7542:function(e,n,t){"use strict";t.r(n),t.d(n,{CardInformation:()=>l,CardSkins:()=>a,DropdownCardSkins:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)().act,t=e.card;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Registered Name",children:(0,r.jsx)(i.$n,{icon:t&&"Unknown"!==t.registered_name?"pencil-alt":"exclamation-triangle",selected:!!t,onClick:function(){return n("reg")},children:null==t?void 0:t.registered_name})}),(0,r.jsx)(i.Ki.Item,{label:"Account Number",children:(0,r.jsx)(i.$n,{icon:(null==t?void 0:t.associated_account_number)?"pencil-alt":"exclamation-triangle",selected:!!(null==t?void 0:t.associated_account_number),onClick:function(){return n("set_card_account_number")},children:(null==t?void 0:t.associated_account_number)?null==t?void 0:t.associated_account_number:"None"})})]})},a=function(e){var n=(0,o.Oc)().act,t=e.card_skins,l=e.card,a=e.is_centcom,c=e.all_centcom_skins;return(0,r.jsxs)(i.wn,{title:"Card Skins",children:[t.map(function(e){return(0,r.jsx)(i.c_,{selected:(null==l?void 0:l.current_skin)===e.skin,tooltip:e.display_name,dmIcon:e.icon,dmIconState:e.skin,onClick:function(){return n("set_card_skin",{skin_target:e.skin})}},e.skin)}),!!a&&(0,r.jsx)(i.az,{children:Array.isArray(c)&&c.map(function(e){return(0,r.jsx)(i.c_,{selected:(null==l?void 0:l.current_skin)===e.skin,tooltip:e.display_name,dmIcon:e.icon,dmIconState:e.skin,color:"purple",onClick:function(){return n("set_card_skin",{skin_target:e.skin})}},e.skin)})})]})},c=function(e){var n=(0,o.Oc)().act,t=e.card_skins,l=e.card,a=e.is_centcom,c=e.all_centcom_skins,s=t.map(function(e){return{displayText:e.display_name,value:e.skin}}).sort(function(e,n){return e.displayText.localeCompare(n.displayText)}),u=Array.isArray(c)?c.map(function(e){return{displayText:e.display_name,value:e.skin}}).sort(function(e,n){return e.displayText.localeCompare(n.displayText)}):[],d=s.filter(function(e){return e.value===(null==l?void 0:l.current_skin)}).length>0;return(0,r.jsxs)(i.wn,{title:"Card Skins",children:[(0,r.jsx)(i.Ki.Item,{label:"Department Skins",children:(0,r.jsx)(i.ms,{options:s,selected:d?null==l?void 0:l.current_skin_name:null,onSelected:function(e){return n("set_card_skin",{skin_target:e})}})}),!!a&&(0,r.jsx)(i.Ki.Item,{label:"Centcom Skins",children:(0,r.jsx)(i.ms,{options:u,selected:d?null:null==l?void 0:l.current_skin_name,onSelected:function(e){return n("set_card_skin",{skin_target:e})}})})]})}},991:function(e,n,t){"use strict";t.r(n),t.d(n,{CardComputer:()=>x,SlashedIcon:()=>f});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(2723),c=t(1487),s=t(4287),u=t(6530),d=t(9490),f=function(e){var n=e.title,t=e.name,o=e.text;return(0,r.jsx)(i.wn,{fill:!0,title:n,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,r.jsxs)(i.In.Stack,{children:[(0,r.jsx)(i.In,{name:t,size:5,color:"gray"}),(0,r.jsx)(i.In,{name:"slash",size:5,color:"red"})]}),(0,r.jsx)("br",{}),o]})})})},h=function(){return(0,r.jsx)(f,{title:"Warning",name:"user",text:"Not logged in"})},m=function(){return(0,r.jsx)(f,{title:"Records",name:"scroll",text:"No records"})},p=function(){return(0,r.jsx)(f,{title:"Card Missing",name:"id-card",text:"No card to modify"})},x=function(){var e,n=(0,o.Oc)(),t=n.act,f=n.data,x=f.all_centcom_skins,g=f.auth_or_ghost,j=f.authenticated,b=f.can_terminate,y=f.card_skins,v=f.cooldown_time,w=f.is_centcom,k=f.job_slots,_=f.job_formats,C=f.jobs_dept,I=f.jobs,S=f.mode,O=f.modifying_card,A=f.people_dept,P=f.priority_jobs,E=f.records,B=f.regions,z=f.scanned_card,T=f.selectedAccess,N=f.target_dept,$=(0,r.jsxs)(i.tU,{children:[(0,r.jsx)(i.tU.Tab,{icon:"id-card",selected:0===S,onClick:function(){return t("mode",{mode:0})},children:"Job Transfers"}),!N&&(0,r.jsx)(i.tU.Tab,{icon:"id-card",selected:2===S,onClick:function(){return t("mode",{mode:2})},children:"Access Modification"}),(0,r.jsx)(i.tU.Tab,{icon:"folder-open",selected:1===S,onClick:function(){return t("mode",{mode:1})},children:"Job Management"}),(0,r.jsx)(i.tU.Tab,{icon:"scroll",selected:3===S,onClick:function(){return t("mode",{mode:3})},children:"Records"}),(0,r.jsx)(i.tU.Tab,{icon:"users",selected:4===S,onClick:function(){return t("mode",{mode:4})},children:"Department"})]});switch(S){case 0:e=j&&z?O?(0,r.jsx)(u.CardComputerJobTransfer,{target_dept:N,card:O,can_terminate:b,is_centcom:w,jobs:I,job_colors:_,jobs_dept:C,card_skins:y,all_centcom_skins:x}):(0,r.jsx)(p,{}):(0,r.jsx)(h,{});break;case 1:e=g?(0,r.jsx)(s.CardComputerJobPriority,{cooldown_time:v,target_dept:N,priority_jobs:P,job_slots:k}):(0,r.jsx)(h,{});break;case 2:e=j&&z?O?(0,r.jsx)(a.AccessList,{accesses:B,selectedList:T,accessMod:function(e){return t("set",{access:e})},grantAll:function(){return t("grant_all")},denyAll:function(){return t("clear_all")},grantDep:function(e){return t("grant_region",{region:e})},denyDep:function(e){return t("deny_region",{region:e})}}):(0,r.jsx)(p,{}):(0,r.jsx)(h,{});break;case 3:e=j?E.length?(0,r.jsx)(d.CardComputerRecordsLog,{authenticated:j,records:E,target_dept:N,is_centcom:w}):(0,r.jsx)(m,{}):(0,r.jsx)(h,{});break;case 4:e=j&&z?(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Your Team",children:(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{height:2,children:[(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Name"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Rank"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Sec Status"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Actions"})]}),A.map(function(e){return(0,r.jsxs)(i.XI.Row,{height:2,children:[(0,r.jsx)(i.XI.Cell,{children:e.name}),(0,r.jsx)(i.XI.Cell,{children:e.title}),(0,r.jsx)(i.XI.Cell,{children:e.crimstat}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{disabled:!e.demotable,onClick:function(){return t("remote_demote",{remote_demote:e.name})},children:e.buttontext})})]},e.title)})]})}):(0,r.jsx)(h,{});break;default:e=(0,r.jsx)(i.wn,{title:"Warning",color:"red",children:"ERROR: Unknown Mode."})}return(0,r.jsx)(l.p8,{width:760,height:800,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(c.AuthBlock,{scanned_card:z,modifying_card:O})}),(0,r.jsx)(i.BJ.Item,{children:$}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:e})]})})})}},4287:function(e,n,t){"use strict";t.r(n),t.d(n,{CardComputerJobPriority:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)().act,t=e.cooldown_time,l=e.job_slots,a=e.target_dept,c=e.priority_jobs;return(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsxs)(i.wn,{color:t?"red":"",children:["Next Change Available:",t||"Now"]}),(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Job Slots",children:(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{height:2,children:[(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Title"}),(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Used Slots"}),(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Total Slots"}),(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Free Slots"}),(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Close Slot"}),(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Open Slot"}),(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Priority"})]}),l&&l.map(function(e){return(0,r.jsxs)(i.XI.Row,{height:2,className:"candystripe",children:[(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:(0,r.jsx)(i.az,{color:e.is_priority?"green":"",children:e.title})}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:e.current_positions}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:e.total_positions}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:e.total_positions>e.current_positions&&(0,r.jsx)(i.az,{color:"green",children:e.total_positions-e.current_positions})||(0,r.jsx)(i.az,{color:"red",children:"0"})}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:(0,r.jsx)(i.$n,{disabled:!!t||!e.can_close,onClick:function(){return n("make_job_unavailable",{job:e.title})},children:"-"})}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:(0,r.jsx)(i.$n,{disabled:!!t||!e.can_open,onClick:function(){return n("make_job_available",{job:e.title})},children:"+"})}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:a&&(0,r.jsx)(i.az,{color:"green",children:c.indexOf(e.title)>-1?"Yes":""})||(0,r.jsx)(i.$n,{selected:e.is_priority,disabled:!!t||!e.can_prioritize,onClick:function(){return n("prioritize_job",{job:e.title})},children:e.is_priority?"Yes":"No"})})]},e.title)})]})})]})}},6530:function(e,n,t){"use strict";t.r(n),t.d(n,{CardComputerJobTransfer:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(421),a=t(7542),c=l.lm.department,s=function(e){var n=(0,o.Oc)().act,t=e.job_colors,l=e.dept_name,a=e.job_names,c=e.dept_color,s=e.default_job_color,u=void 0===s?"":s,d=e.card;return(0,r.jsx)(i.Ki.Item,{label:l,labelColor:c,children:a.map(function(e){return(0,r.jsx)(i.$n,{selected:(null==d?void 0:d.rank)===e,color:t[e]?t[e]:u,onClick:function(){return n("assign",{assign_target:e})},children:e},e)})})},u=function(e){var n=(0,o.Oc)().act,t=e.card_skins,l=e.target_dept,u=e.card,d=e.can_terminate,f=e.is_centcom,h=e.jobs,m=e.jobs_dept,p=e.job_colors,x=e.all_centcom_skins,g=h&&[{name:"Special",jobs:h.top},{name:"Engineering",color:c.engineering,jobs:h.engineering},{name:"Medical",color:c.medical,jobs:h.medical},{name:"Science",color:c.science,jobs:h.science},{name:"Security",color:c.security,jobs:h.security},{name:"Service",color:c.service,jobs:h.service},{name:"Supply",color:c.supply,jobs:h.supply},{name:"Retirement",jobs:h.assistant}];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.wn,{title:"Card Information",children:[!l&&(0,r.jsx)(a.CardInformation,{card:u}),(0,r.jsx)(i.Ki.Item,{label:"Latest Transfer",children:(null==u?void 0:u.lastlog)||"---"})]}),(0,r.jsx)(i.wn,{title:l?"Department Job Transfer":"Job Transfer",children:(0,r.jsxs)(i.Ki,{children:[l?(0,r.jsx)(s,{dept_name:"Department",job_colors:p,job_names:void 0===m?[]:m,card:u}):(0,r.jsx)(r.Fragment,{children:g.map(function(e){return(0,r.jsx)(s,{dept_name:e.name,dept_color:e.color,job_names:e.jobs,job_colors:p,card:u})})}),!!f&&(0,r.jsx)(s,{dept_name:"Centcom",dept_color:c.centcom,job_colors:p,job_names:h.centcom,default_job_color:"purple",card:u}),(0,r.jsx)(i.Ki.Item,{label:"Demotion",children:(0,r.jsx)(i.$n,{disabled:(null==u?void 0:u.assignment)==="Demoted"||(null==u?void 0:u.assignment)==="Terminated",tooltip:"Assistant access, 'demoted' title.",color:"red",icon:"times",onClick:function(){return n("demote")},children:"Demoted"},"Demoted")}),!!d&&(0,r.jsx)(i.Ki.Item,{label:"Non-Crew",children:(0,r.jsx)(i.$n,{disabled:(null==u?void 0:u.assignment)==="Terminated",tooltip:"Zero access. Not crew.",color:"red",icon:"eraser",onClick:function(){return n("terminate")},children:"Terminated"},"Terminate")})]})}),!l&&(0,r.jsx)(a.CardSkins,{card:u,card_skins:t,is_centcom:f,all_centcom_skins:x})]})}},9490:function(e,n,t){"use strict";t.r(n),t.d(n,{CardComputerRecordsLog:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)().act,t=e.authenticated,l=e.records,a=e.target_dept,c=e.is_centcom;return(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Records",buttons:(0,r.jsx)(i.$n,{icon:"times",disabled:!t||0===l.length||a,onClick:function(){return n("wipe_all_logs")},children:"Delete All Records"}),children:[(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{height:2,children:[(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Crewman"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Old Rank"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"New Rank"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Authorized By"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Time"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Reason"}),!!c&&(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Deleted By"})]}),l.map(function(e){return(0,r.jsxs)(i.XI.Row,{height:2,children:[(0,r.jsx)(i.XI.Cell,{children:e.transferee}),(0,r.jsx)(i.XI.Cell,{children:e.oldvalue}),(0,r.jsx)(i.XI.Cell,{children:e.newvalue}),(0,r.jsx)(i.XI.Cell,{children:e.whodidit}),(0,r.jsx)(i.XI.Cell,{children:e.timestamp}),(0,r.jsx)(i.XI.Cell,{children:e.reason}),!!c&&(0,r.jsx)(i.XI.Cell,{children:e.deletedby})]},e.timestamp)})]}),!!c&&(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{icon:"pencil-alt",color:"purple",disabled:!t||0===l.length,onClick:function(){return n("wipe_my_logs")},children:"Delete MY Records"})})]})}},1488:function(e,n,t){"use strict";t.r(n)},6466:function(e,n,t){"use strict";t.r(n),t.d(n,{CargoConsole:()=>f});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(3268),c=t(2864),s=t(3384);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tu,ChameleonAppearances:()=>f});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"",t=(0,l.XZ)(n,function(e){return e.name});return e.filter(t)},f=function(e){var n,t=(0,a.Oc)(),l=t.act,c=t.data,u=(n=(0,i.useState)(""),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),2!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,2)||function(e,n){if(e){if("string"==typeof e)return s(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=u[0],h=u[1],m=d(c.chameleon_skins,f),p=c.selected_appearance;return(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.pd,{fluid:!0,placeholder:"Search for an appearance",onChange:function(e){return h(e)}})}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:"Item Appearance",children:m.map(function(e){var n=e.name+"_"+e.icon_state;return(0,r.jsx)(o.c_,{dmIcon:e.icon,dmIconState:e.icon_state,imageSize:64,m:.5,selected:n===p,tooltip:e.name,style:{opacity:n===p&&"1"||"0.5"},onClick:function(){l("change_appearance",{new_appearance:n})}},n)})})})]})}},9072:function(e,n,t){"use strict";t.r(n),t.d(n,{ChangelogView:()=>s});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tf});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=t(1942),s=t(9472);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tu});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(3013),c=[1,5,10,20,30,50],s=[1,5,10],u=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).chemicals;return(0,r.jsx)(l.p8,{width:400,height:400+24*Math.ceil(t.length/3),children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(d,{}),(0,r.jsx)(f,{}),(0,r.jsx)(h,{})]})})})},d=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.amount,s=l.energy,u=l.maxEnergy;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Settings",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Energy",children:(0,r.jsxs)(i.z2,{value:s,minValue:0,maxValue:u,ranges:{good:[.5*u,1/0],average:[.25*u,.5*u],bad:[-1/0,.25*u]},children:[s," / ",u," Units"]})}),(0,r.jsx)(i.Ki.Item,{label:"Dispense",verticalAlign:"middle",children:(0,r.jsx)(i.BJ,{children:c.map(function(e,n){return(0,r.jsx)(i.BJ.Item,{grow:!0,width:"15%",children:(0,r.jsx)(i.$n,{fluid:!0,icon:"cog",selected:a===e,content:e,onClick:function(){return t("amount",{amount:e})}})},n)})})})]})})})},f=function(e){for(var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.chemicals,c=void 0===a?[]:a,s=[],u=0;u<(c.length+1)%3;u++)s.push(!0);return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:l.glass?"Drink Dispenser":"Chemical Dispenser",children:[c.map(function(e,n){return(0,r.jsx)(i.$n,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",content:e.title,style:{marginLeft:"2px",textOverflow:"ellipsis"},onClick:function(){return t("dispense",{reagent:e.id})}},n)}),s.map(function(e,n){return(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"25%"},n)})]})})},h=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,c=l.isBeakerLoaded,u=l.beakerCurrentVolume,d=l.beakerMaxVolume,f=l.beakerContents;return(0,r.jsx)(i.BJ.Item,{height:16,children:(0,r.jsx)(i.wn,{title:l.glass?"Glass":"Beaker",fill:!0,scrollable:!0,buttons:(0,r.jsxs)(i.az,{children:[!!c&&(0,r.jsxs)(i.az,{inline:!0,color:"label",mr:2,children:[u," / ",d," units"]}),(0,r.jsx)(i.$n,{icon:"eject",content:"Eject",disabled:!c,onClick:function(){return t("ejectBeaker")}})]}),children:(0,r.jsx)(a.BeakerContents,{beakerLoaded:c,beakerContents:void 0===f?[]:f,buttons:function(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){return t("remove",{reagent:e.id,amount:-1})}}),s.map(function(n,o){return(0,r.jsx)(i.$n,{content:n,onClick:function(){return t("remove",{reagent:e.id,amount:n})}},o)}),(0,r.jsx)(i.$n,{content:"ALL",onClick:function(){return t("remove",{reagent:e.id,amount:e.volume})}})]})}})})})}},6277:function(e,n,t){"use strict";t.r(n),t.d(n,{ChemHeater:()=>s});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=t(3013),s=function(e){return(0,r.jsx)(a.p8,{width:350,height:275,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(u,{}),(0,r.jsx)(d,{})]})})})},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=a.targetTemp,s=a.targetTempReached,u=a.autoEject,d=a.isActive,f=a.currentTemp,h=a.isBeakerLoaded;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{fill:!0,title:"Settings",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"Auto-eject",icon:u?"toggle-on":"toggle-off",selected:u,onClick:function(){return t("toggle_autoeject")}}),(0,r.jsx)(i.$n,{content:d?"On":"Off",icon:"power-off",selected:d,disabled:!h,onClick:function(){return t("toggle_on")}})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Target",children:(0,r.jsx)(i.Q7,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,o.LI)(c,0),minValue:0,maxValue:1e3,onChange:function(e){return t("adjust_temperature",{target:e})}})}),(0,r.jsx)(i.Ki.Item,{label:"Reading",color:s?"good":"average",children:h&&(0,r.jsx)(i.zv,{value:f,format:function(e){return(0,o.Mg)(e)+" K"}})||"—"})]})})})},d=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.isBeakerLoaded,s=o.beakerCurrentVolume,u=o.beakerMaxVolume,d=o.beakerContents;return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{title:"Beaker",fill:!0,scrollable:!0,buttons:!!a&&(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.az,{inline:!0,color:"label",mr:2,children:[s," / ",u," units"]}),(0,r.jsx)(i.$n,{icon:"eject",content:"Eject",onClick:function(){return t("eject_beaker")}})]}),children:(0,r.jsx)(c.BeakerContents,{beakerLoaded:a,beakerContents:d})})})}},9306:function(e,n,t){"use strict";t.r(n),t.d(n,{ChemMaster:()=>x});var r=t(8138),i=t(7790),o=t(5490),l=t(3375),a=t(2864),c=t(3384),s=t(3013),u=t(4744);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var p=[1,5,10],x=function(e){return(0,r.jsxs)(c.p8,{width:575,height:650,children:[(0,r.jsx)(u.ComplexModal,{}),(0,r.jsx)(c.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(g,{}),(0,r.jsx)(j,{}),(0,r.jsx)(b,{}),(0,r.jsx)(C,{})]})})]})},g=function(e){var n=(0,a.Oc)(),t=n.act,o=n.data,l=o.beaker,c=o.beaker_reagents,d=o.buffer_reagents.length>0;return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{title:"Beaker",fill:!0,scrollable:!0,buttons:d?(0,r.jsx)(i.$n.Confirm,{icon:"eject",disabled:!l,content:"Eject and Clear Buffer",onClick:function(){return t("eject")}}):(0,r.jsx)(i.$n,{icon:"eject",disabled:!l,content:"Eject and Clear Buffer",onClick:function(){return t("eject")}}),children:l?(0,r.jsx)(s.BeakerContents,{beakerLoaded:!0,beakerContents:c,buttons:function(e,n){return(0,r.jsxs)(i.az,{mb:n0?(0,r.jsx)(s.BeakerContents,{beakerLoaded:!0,beakerContents:c,buttons:function(e,n){return(0,r.jsxs)(i.az,{mb:n0&&(n=s.map(function(e){var n=e.id,i=e.sprite;return(0,r.jsx)(k,{icon:i,selected:c===n,onClick:function(){return t("set_sprite_style",{production_mode:l,style:n})}},n)})),(0,r.jsx)(w,{productionData:e.productionData,children:n&&(0,r.jsx)(i.Ki.Item,{label:"Style",children:n})})},C=function(e){var n=(0,a.Oc)(),t=n.act,o=n.data,l=o.loaded_pill_bottle_style,c=o.containerstyles,s=o.loaded_pill_bottle,u="20px",d="20px",f=c.map(function(e){var n=e.color,o=e.name,a=l===n;return(0,r.jsxs)(i.$n,{style:{position:"relative",width:u,height:d},onClick:function(){return t("set_container_style",{style:n})},icon:a?"check":"",tooltip:o,tooltipPosition:"top",children:[!a&&(0,r.jsx)("div",{style:{display:"inline-block"}}),(0,r.jsx)("span",{className:"Button",style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:u,height:d,backgroundColor:n,opacity:.6,filter:"alpha(opacity=60)"}})]},n)});return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{fill:!0,title:"Container Customization",buttons:(0,r.jsx)(i.$n,{icon:"eject",disabled:!s,content:"Eject Container",onClick:function(){return t("ejectp")}}),children:s?(0,r.jsx)(i.Ki,{children:(0,r.jsxs)(i.Ki.Item,{label:"Style",children:[(0,r.jsx)(i.$n,{style:{width:u,height:d},icon:"tint-slash",onClick:function(){return t("clear_container_style")},selected:!l,tooltip:"Default",tooltipPosition:"top"}),f]})}):(0,r.jsx)(i.az,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,u.modalRegisterBodyOverride)("analyze",function(e){var n=(0,a.Oc)(),t=n.act,o=n.data,l=e.args.analysis;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:o.condi?"Condiment Analysis":"Reagent Analysis",children:(0,r.jsx)(i.az,{mx:"0.5rem",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:l.name}),(0,r.jsx)(i.Ki.Item,{label:"Description",children:(l.desc||"").length>0?l.desc:"N/A"}),l.blood_type&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Blood type",children:l.blood_type}),(0,r.jsx)(i.Ki.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:l.blood_dna})]}),!o.condi&&(0,r.jsx)(i.$n,{icon:o.printing?"spinner":"print",disabled:o.printing,iconSpin:!!o.printing,ml:"0.5rem",content:"Print",onClick:function(){return t("print",{idx:l.idx,beaker:e.args.beaker})}})]})})})})})},2636:function(e,n,t){"use strict";t.r(n),t.d(n,{CloningConsole:()=>c});var r=t(8138),i=t(7790),o=t(8595),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,c=o.tab,u=o.has_scanner,d=o.pod_amount;return(0,r.jsx)(a.p8,{width:640,height:520,children:(0,r.jsxs)(a.p8.Content,{scrollable:!0,children:[(0,r.jsx)(i.wn,{title:"Cloning Console",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Connected scanner",children:u?"Online":"Missing"}),(0,r.jsx)(i.Ki.Item,{label:"Connected pods",children:d})]})}),(0,r.jsxs)(i.tU,{children:[(0,r.jsx)(i.tU.Tab,{selected:1===c,icon:"home",onClick:function(){return t("menu",{tab:1})},children:"Main Menu"}),(0,r.jsx)(i.tU.Tab,{selected:2===c,icon:"user",onClick:function(){return t("menu",{tab:2})},children:"Damage Configuration"})]}),(0,r.jsx)(i.wn,{children:(0,r.jsx)(s,{})})]})})},s=function(e){var n,t=(0,l.Oc)().data.tab;return 1===t?n=(0,r.jsx)(u,{}):2===t&&(n=(0,r.jsx)(d,{})),n},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=a.pods,s=a.pod_amount,u=a.selected_pod_UID;return(0,r.jsxs)(i.az,{children:[!s&&(0,r.jsx)(i.az,{color:"average",children:"Notice: No pods connected."}),!!s&&c.map(function(e,n){return(0,r.jsx)(i.wn,{layer:2,title:"Pod "+(n+1),children:(0,r.jsxs)(i.BJ,{textAlign:"center",children:[(0,r.jsxs)(i.BJ.Item,{basis:"96px",shrink:0,children:[(0,r.jsx)("img",{src:(0,o.l)("pod_"+(e.cloning?"cloning":"idle")+".gif"),style:{width:"100%",imageRendering:"pixelated"}}),(0,r.jsx)(i.$n,{selected:u===e.uid,onClick:function(){return t("select_pod",{uid:e.uid})},children:"Select"})]}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Progress",children:[!e.cloning&&(0,r.jsx)(i.az,{color:"average",children:"Pod is inactive."}),!!e.cloning&&(0,r.jsx)(i.z2,{value:e.clone_progress,maxValue:100,color:"good"})]}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsx)(i.Ki.Item,{label:"Biomass",children:(0,r.jsxs)(i.z2,{value:e.biomass,ranges:{good:[2*e.biomass_storage_capacity/3,e.biomass_storage_capacity],average:[e.biomass_storage_capacity/3,2*e.biomass_storage_capacity/3],bad:[0,e.biomass_storage_capacity/3]},minValue:0,maxValue:e.biomass_storage_capacity,children:[e.biomass,"/",e.biomass_storage_capacity+" ("+100*e.biomass/e.biomass_storage_capacity+"%)"]})}),(0,r.jsx)(i.Ki.Item,{label:"Sanguine Reagent",children:e.sanguine_reagent}),(0,r.jsx)(i.Ki.Item,{label:"Osseous Reagent",children:e.osseous_reagent})]})})]})},e)})]})},d=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.selected_pod_data,c=o.has_scanned,s=o.scanner_has_patient,u=o.feedback,d=o.scan_successful,m=o.cloning_cost,p=o.has_scanner,x=o.currently_scanning;return(0,r.jsxs)(i.az,{children:[!p&&(0,r.jsx)(i.az,{color:"average",children:"Notice: No scanner connected."}),!!p&&(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.wn,{layer:2,title:"Scanner Info",buttons:(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{icon:"hourglass-half",onClick:function(){return t("scan")},disabled:!s||x,children:"Scan"}),(0,r.jsx)(i.$n,{icon:"eject",onClick:function(){return t("eject")},disabled:!s||x,children:"Eject Patient"})]}),children:[!c&&!x&&(0,r.jsx)(i.az,{color:"average",children:s?"No scan detected for current patient.":"No patient is in the scanner."}),(!!c||!!x)&&(0,r.jsx)(i.az,{color:u.color,children:u.text})]}),(0,r.jsx)(i.wn,{layer:2,title:"Damages Breakdown",children:(0,r.jsxs)(i.az,{children:[(!d||!c)&&(0,r.jsx)(i.az,{color:"average",children:"No valid scan detected."}),!!d&&!!c&&(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.BJ,{children:[(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{onClick:function(){return t("fix_all")},children:"Repair All Damages"}),(0,r.jsx)(i.$n,{onClick:function(){return t("fix_none")},children:"Repair No Damages"})]}),(0,r.jsx)(i.BJ.Item,{grow:1}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{onClick:function(){return t("clone")},children:"Clone"})})]}),(0,r.jsxs)(i.BJ,{height:"25px",children:[(0,r.jsx)(i.BJ.Item,{width:"40%",children:(0,r.jsxs)(i.z2,{value:m[0],maxValue:a.biomass_storage_capacity,ranges:{bad:[2*a.biomass_storage_capacity/3,a.biomass_storage_capacity],average:[a.biomass_storage_capacity/3,2*a.biomass_storage_capacity/3],good:[0,a.biomass_storage_capacity/3]},color:m[0]>a.biomass?"bad":null,children:["Biomass: ",m[0],"/",a.biomass,"/",a.biomass_storage_capacity]})}),(0,r.jsx)(i.BJ.Item,{width:"30%",children:(0,r.jsxs)(i.z2,{value:m[1],maxValue:a.max_reagent_capacity,ranges:{bad:[2*a.max_reagent_capacity/3,a.max_reagent_capacity],average:[a.max_reagent_capacity/3,2*a.max_reagent_capacity/3],good:[0,a.max_reagent_capacity/3]},color:m[1]>a.sanguine_reagent?"bad":"good",children:["Sanguine: ",m[1],"/",a.sanguine_reagent,"/",a.max_reagent_capacity]})}),(0,r.jsx)(i.BJ.Item,{width:"30%",children:(0,r.jsxs)(i.z2,{value:m[2],maxValue:a.max_reagent_capacity,ranges:{bad:[2*a.max_reagent_capacity/3,a.max_reagent_capacity],average:[a.max_reagent_capacity/3,2*a.max_reagent_capacity/3],good:[0,a.max_reagent_capacity/3]},color:m[2]>a.osseous_reagent?"bad":"good",children:["Osseous: ",m[2],"/",a.osseous_reagent,"/",a.max_reagent_capacity]})})]}),(0,r.jsx)(f,{}),(0,r.jsx)(h,{})]})]})})]})]})},f=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.patient_limb_data,c=o.limb_list,s=o.desired_limb_data;return(0,r.jsx)(i.Nt,{title:"Limbs",children:c.map(function(e,n){return(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.BJ,{align:"baseline",children:[(0,r.jsxs)(i.BJ.Item,{color:"label",width:"15%",height:"20px",children:[a[e][4],":"," "]}),(0,r.jsx)(i.BJ.Item,{grow:1}),0===a[e][3]&&(0,r.jsx)(i.BJ.Item,{width:"60%",children:(0,r.jsxs)(i.z2,{value:s[e][0]+s[e][1],maxValue:a[e][5],ranges:{good:[0,a[e][5]/3],average:[a[e][5]/3,2*a[e][5]/3],bad:[2*a[e][5]/3,a[e][5]]},children:["Post-Cloning Damage: ",(0,r.jsx)(i.In,{name:"bone"})," "+s[e][0]+" / ",(0,r.jsx)(i.In,{name:"fire"})," "+s[e][1]]})}),0!==a[e][3]&&(0,r.jsx)(i.BJ.Item,{width:"60%",children:(0,r.jsxs)(i.z2,{color:"bad",value:0,children:["The patient's ",a[e][4]," is missing!"]})})]}),(0,r.jsxs)(i.BJ,{children:[!!a[e][3]&&(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n.Checkbox,{checked:!s[e][3],onClick:function(){return t("toggle_limb_repair",{limb:e,type:"replace"})},children:"Replace Limb"})}),!a[e][3]&&(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n.Checkbox,{disabled:!(a[e][0]||a[e][1]),checked:!(s[e][0]||s[e][1]),onClick:function(){return t("toggle_limb_repair",{limb:e,type:"damage"})},children:"Repair Damages"}),(0,r.jsx)(i.$n.Checkbox,{disabled:!(1&a[e][2]),checked:!(1&s[e][2]),onClick:function(){return t("toggle_limb_repair",{limb:e,type:"bone"})},children:"Mend Bone"}),(0,r.jsx)(i.$n.Checkbox,{disabled:!(32&a[e][2]),checked:!(32&s[e][2]),onClick:function(){return t("toggle_limb_repair",{limb:e,type:"ib"})},children:"Mend IB"}),(0,r.jsx)(i.$n.Checkbox,{disabled:!(128&a[e][2]),checked:!(128&s[e][2]),onClick:function(){return t("toggle_limb_repair",{limb:e,type:"critburn"})},children:"Mend Critical Burn"})]})]})]},e)})})},h=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.patient_organ_data,c=o.organ_list,s=o.desired_organ_data;return(0,r.jsx)(i.Nt,{title:"Organs",children:c.map(function(e,n){return(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.BJ,{align:"baseline",children:[(0,r.jsxs)(i.BJ.Item,{color:"label",width:"20%",height:"20px",children:[a[e][3],":"," "]}),"heart"!==a[e][5]&&(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.BJ.Item,{children:[!!a[e][2]&&(0,r.jsx)(i.$n.Checkbox,{checked:!s[e][2]&&!s[e][1],onClick:function(){return t("toggle_organ_repair",{organ:e,type:"replace"})},children:"Replace Organ"}),!a[e][2]&&(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n.Checkbox,{disabled:!a[e][0],checked:!s[e][0],onClick:function(){return t("toggle_organ_repair",{organ:e,type:"damage"})},children:"Repair Damages"})})]})}),"heart"===a[e][5]&&(0,r.jsx)(i.az,{color:"average",children:"Heart replacement is required for cloning."}),(0,r.jsx)(i.BJ.Item,{grow:1}),(0,r.jsxs)(i.BJ.Item,{width:"35%",children:[!!a[e][2]&&(0,r.jsxs)(i.z2,{color:"bad",value:0,children:["The patient's ",a[e][3]," is missing!"]}),!a[e][2]&&(0,r.jsx)(i.z2,{value:s[e][0],maxValue:a[e][4],ranges:{good:[0,a[e][4]/3],average:[a[e][4]/3,2*a[e][4]/3],bad:[2*a[e][4]/3,a[e][4]]},children:"Post-Cloning Damage: "+s[e][0]})]})]})},e)})})}},1558:function(e,n,t){"use strict";t.r(n),t.d(n,{CloningPod:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.biomass,s=a.biomass_storage_capacity,u=a.sanguine_reagent,d=a.osseous_reagent,f=a.organs,h=a.currently_cloning;return(0,r.jsx)(l.p8,{width:500,height:500,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsxs)(i.wn,{title:"Liquid Storage",children:[(0,r.jsxs)(i.BJ,{height:"25px",align:"center",children:[(0,r.jsxs)(i.BJ.Item,{color:"label",width:"25%",children:["Biomass:"," "]}),(0,r.jsx)(i.BJ.Item,{grow:1,children:(0,r.jsx)(i.z2,{value:c,ranges:{good:[2*s/3,s],average:[s/3,2*s/3],bad:[0,s/3]},minValue:0,maxValue:s})})]}),(0,r.jsxs)(i.BJ,{height:"25px",align:"center",children:[(0,r.jsxs)(i.BJ.Item,{color:"label",width:"25%",children:["Sanguine Reagent:"," "]}),(0,r.jsx)(i.BJ.Item,{children:u+" units"}),(0,r.jsx)(i.BJ.Item,{grow:1}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.Q7,{value:0,minValue:0,maxValue:u,step:1,unit:"units",onChange:function(e){return t("remove_reagent",{reagent:"sanguine_reagent",amount:e})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Remove All",onClick:function(){return t("purge_reagent",{reagent:"sanguine_reagent"})}})})]}),(0,r.jsxs)(i.BJ,{height:"25px",align:"center",children:[(0,r.jsxs)(i.BJ.Item,{color:"label",width:"25%",children:["Osseous Reagent:"," "]}),(0,r.jsx)(i.BJ.Item,{children:d+" units"}),(0,r.jsx)(i.BJ.Item,{grow:1}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.Q7,{value:0,minValue:0,maxValue:d,step:1,unit:"units",onChange:function(e){return t("remove_reagent",{reagent:"osseous_reagent",amount:e})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Remove All",onClick:function(){return t("purge_reagent",{reagent:"osseous_reagent"})}})})]})]}),(0,r.jsxs)(i.wn,{title:"Organ Storage",children:[!h&&(0,r.jsxs)(i.az,{children:[!f&&(0,r.jsx)(i.az,{color:"average",children:"Notice: No organs loaded."}),!!f&&f.map(function(e){return(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{children:e.name}),(0,r.jsx)(i.BJ.Item,{grow:1}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Eject",onClick:function(){return t("eject_organ",{organ_ref:e.ref})}})})]},e)})]}),!!h&&(0,r.jsx)(i.BJ,{height:"100%",children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"lock",size:"5",mb:3}),(0,r.jsx)("br",{}),"Unable to access organ storage while cloning."]})})]})]})})}},1276:function(e,n,t){"use strict";t.r(n),t.d(n,{CoinMint:()=>c});var r=t(8138),i=t(7790),o=t(5490),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,s=c.materials,u=c.moneyBag,d=c.moneyBagContent,f=c.moneyBagMaxContent,h=(u?210:138)+64*Math.ceil(s.length/4);return(0,r.jsx)(a.p8,{width:210,height:h,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.IC,{m:0,info:!0,children:["Total coins produced: ",c.totalCoins]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,title:"Coin Type",buttons:(0,r.jsx)(i.$n,{icon:"power-off",color:c.active&&"bad",tooltip:!u&&"Need a money bag",disabled:!u,onClick:function(){return t("activate")}}),children:(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.z2,{minValue:0,maxValue:c.maxMaterials,value:c.totalMaterials})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"eject",tooltip:"Eject selected material",onClick:function(){return t("ejectMat")}})})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:s.map(function(e){return(0,r.jsx)(i.$n,{bold:!0,inline:!0,m:.2,textAlign:"center",selected:e.id===c.chosenMaterial,tooltip:e.name,content:(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{className:(0,o.Ly)(["materials32x32",e.id])}),(0,r.jsx)(i.BJ.Item,{children:e.amount})]}),onClick:function(){return t("selectMaterial",{material:e.id})}},e.id)})})]})})}),!!u&&(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Money Bag",buttons:(0,r.jsx)(i.$n,{icon:"eject",content:"Eject",disabled:c.active,onClick:function(){return t("ejectBag")}}),children:(0,r.jsxs)(i.z2,{width:"100%",minValue:0,maxValue:f,value:d,children:[d," / ",f]})})})]})})})}},1572:function(e,n,t){"use strict";t.r(n),t.d(n,{HexColorInput:()=>B,ColorSelector:()=>A,ColorPickerModal:()=>O,ColorInput:()=>z});var r=t(8138),i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Math.pow(10,n);return Math.round(t*e)/t},o=function(e){return h(l(e))},l=function(e){return("#"===e[0]&&(e=e.substring(1)),e.length<6)?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?i(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?i(parseInt(e.substring(6,8),16)/255,2):1}},a=function(e){return f(u(e))},c=function(e){var n=e.h,t=e.s,r=e.v,o=e.a,l=(200-t)*r/100;return{h:i(n),s:i(l>0&&l<200?t*r/100/(l<=100?l:200-l)*100:0),l:i(l/2),a:i(o,2)}},s=function(e){var n=c(e),t=n.h,r=n.s,i=n.l;return"hsl(".concat(t,", ").concat(r,"%, ").concat(i,"%)")},u=function(e){var n=e.h,t=e.s,r=e.v,o=e.a,l=Math.floor(n=n/360*6),a=(r/=100)*(1-(t/=100)),c=r*(1-(n-l)*t),s=r*(1-(1-n+l)*t),u=l%6;return{r:255*[r,c,a,a,s,r][u],g:255*[s,r,r,c,a,a][u],b:255*[a,a,s,r,r,c][u],a:i(o,2)}},d=function(e){var n=e.toString(16);return n.length<2?"0"+n:n},f=function(e){var n=e.r,t=e.g,r=e.b,o=e.a,l=o<1?d(i(255*o)):"";return"#"+d(i(n))+d(i(t))+d(i(r))+l},h=function(e){var n=e.r,t=e.g,r=e.b,i=e.a,o=Math.max(n,t,r),l=o-Math.min(n,t,r),a=l?o===n?(t-r)/l:o===t?2+(r-n)/l:4+(n-t)/l:0;return{h:60*(a<0?a+6:a),s:o?l/o*100:0,v:o/255*100,a:i}},m=/^#?([0-9A-F]{3,8})$/i,p=function(e,n){var t=m.exec(e),r=t?t[1].length:0;return 3===r||6===r||!!n&&4===r||!!n&&8===r},x=t(4530),g=t(7790),j=t(6859),b=t(5490),y=t(2864),v=t(7946),w=t(8095),k=t(3384),_=t(1942),C=t(9472);function I(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["prefixed","alpha","color","fluid","onChange"]);return(0,r.jsx)(z,(n=function(e){for(var n=1;na});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.colour_data;return(0,r.jsx)(l.p8,{width:360,height:190,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.wn,{fill:!0,title:"Modify Matrix",children:[[{name:"RR",idx:0},{name:"RG",idx:1},{name:"RB",idx:2},{name:"RA",idx:3}],[{name:"GR",idx:4},{name:"GG",idx:5},{name:"GB",idx:6},{name:"GA",idx:7}],[{name:"BR",idx:8},{name:"BG",idx:9},{name:"BB",idx:10},{name:"BA",idx:11}],[{name:"AR",idx:12},{name:"AG",idx:13},{name:"AB",idx:14},{name:"AA",idx:15}]].map(function(e){return(0,r.jsx)(i.BJ,{textAlign:"center",textColor:"label",children:e.map(function(e){return(0,r.jsxs)(i.BJ.Item,{grow:!0,mt:1,children:[e.name,":\xa0",(0,r.jsx)(i.Q7,{width:4,value:a[e.idx],step:.05,minValue:-5,maxValue:5,stepPixelSize:5,onChange:function(n){return t("setvalue",{idx:e.idx+1,value:n})}})]},e.name)})},e)})})})})})}},5325:function(e,n,t){"use strict";t.r(n),t.d(n,{CommunicationsComputer:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&(x+=" ("+a+"s)");var g=c?"Message [UNKNOWN]":"Message CentComm",b="Request Authentication Codes";return s>0&&(g+=" ("+s+"s)",b+=" ("+s+"s)"),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.wn,{fill:!0,title:"Captain-Only Actions",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Current Alert",color:u,children:d}),(0,r.jsx)(o.Ki.Item,{label:"Change Alert",children:(0,r.jsx)(j,{levels:f,required_access:h})}),(0,r.jsx)(o.Ki.Item,{label:"Announcement",children:(0,r.jsx)(o.$n,{icon:"bullhorn",content:x,disabled:!h||a>0,onClick:function(){return t("announce")}})}),!!c&&(0,r.jsxs)(o.Ki.Item,{label:"Transmit",children:[(0,r.jsx)(o.$n,{icon:"broadcast-tower",color:"red",content:g,disabled:!h||s>0,onClick:function(){return t("MessageSyndicate")}}),(0,r.jsx)(o.$n,{icon:"sync-alt",content:"Reset Relays",disabled:!h,onClick:function(){return t("RestoreBackup")}})]})||(0,r.jsx)(o.Ki.Item,{label:"Transmit",children:(0,r.jsx)(o.$n,{icon:"broadcast-tower",content:g,disabled:!h||s>0,onClick:function(){return t("MessageCentcomm")}})}),(0,r.jsx)(o.Ki.Item,{label:"Nuclear Device",children:(0,r.jsx)(o.$n,{icon:"bomb",content:b,disabled:!h||s>0,onClick:function(){return t("nukerequest")}})})]})})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.wn,{fill:!0,title:"Command Staff Actions",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Displays",children:(0,r.jsx)(o.$n,{icon:"tv",content:"Change Status Displays",disabled:!m,onClick:function(){return t("status")}})}),(0,r.jsx)(o.Ki.Item,{label:"Incoming Messages",children:(0,r.jsx)(o.$n,{icon:"folder-open",content:"View ("+p.length+")",disabled:!m,onClick:function(){return t("messagelist")}})})]})})})]})},x=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.stat_display,c=i.authhead;i.current_message_title;var s=a.presets.map(function(e){return(0,r.jsx)(o.$n,{content:e.label,selected:e.name===a.type,disabled:!c,onClick:function(){return t("setstat",{statdisp:e.name})}},e.name)}),u=a.alerts.map(function(e){return(0,r.jsx)(o.$n,{content:e.label,selected:e.alert===a.icon,disabled:!c,onClick:function(){return t("setstat",{statdisp:3,alert:e.alert})}},e.alert)});return(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.wn,{fill:!0,title:"Modify Status Screens",buttons:(0,r.jsx)(o.$n,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){return t("main")}}),children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Presets",children:s}),(0,r.jsx)(o.Ki.Item,{label:"Alerts",children:u}),(0,r.jsx)(o.Ki.Item,{label:"Message Line 1",children:(0,r.jsx)(o.$n,{icon:"pencil-alt",content:a.line_1,disabled:!c,onClick:function(){return t("setmsg1")}})}),(0,r.jsx)(o.Ki.Item,{label:"Message Line 2",children:(0,r.jsx)(o.$n,{icon:"pencil-alt",content:a.line_2,disabled:!c,onClick:function(){return t("setmsg2")}})})]})})})},g=function(e){var n,t=(0,l.Oc)(),i=t.act,a=t.data,c=a.authhead,s=a.current_message_title,u=a.current_message,d=a.messages;if(a.security_level,s)n=(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.wn,{title:s,buttons:(0,r.jsx)(o.$n,{icon:"times",content:"Return To Message List",disabled:!c,onClick:function(){return i("messagelist")}}),children:(0,r.jsx)(o.az,{children:u})})});else{var f=d.map(function(e){return(0,r.jsxs)(o.Ki.Item,{label:e.title,children:[(0,r.jsx)(o.$n,{icon:"eye",content:"View",disabled:!c||s===e.title,onClick:function(){return i("messagelist",{msgid:e.id})}}),(0,r.jsx)(o.$n.Confirm,{icon:"times",content:"Delete",disabled:!c,onClick:function(){return i("delmessage",{msgid:e.id})}})]},e.id)});n=(0,r.jsx)(o.wn,{title:"Messages Received",buttons:(0,r.jsx)(o.$n,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){return i("main")}}),children:(0,r.jsx)(o.Ki,{children:f})})}return(0,r.jsx)(o.az,{children:n})},j=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=e.levels,c=e.required_access,s=e.use_confirm,u=i.security_level;return s?a.map(function(e){return(0,r.jsx)(o.$n.Confirm,{icon:e.icon,content:e.name,disabled:!c||e.id===u,tooltip:e.tooltip,onClick:function(){return t("newalertlevel",{level:e.id})}},e.name)}):a.map(function(e){return(0,r.jsx)(o.$n,{icon:e.icon,content:e.name,disabled:!c||e.id===u,tooltip:e.tooltip,onClick:function(){return t("newalertlevel",{level:e.id})}},e.name)})},b=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=a.is_admin,u=a.possible_cc_sounds;if(!c)return t("main");var d=s((0,i.useState)(""),2),f=d[0],h=d[1],m=s((0,i.useState)(""),2),p=m[0],x=m[1],g=s((0,i.useState)(0),2),j=g[0],b=g[1],y=s((0,i.useState)("Beep"),2),v=y[0],w=y[1];return(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.wn,{fill:!0,title:"Central Command Report",buttons:(0,r.jsx)(o.$n,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){return t("main")}}),children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.pd,{fluid:!0,placeholder:"Enter Subtitle here.",value:f,onChange:function(e){return h(e)}}),(0,r.jsx)(o.fs,{fluid:!0,height:"100%",rows:10,placeholder:"Enter Announcement here. Multiline input is accepted.",value:p,onChange:x}),(0,r.jsx)(o.$n.Confirm,{fluid:!0,icon:"paper-plane",textAlign:"center",onClick:function(){t("make_cc_announcement",{subtitle:f,text:p,classified:j,beepsound:v}),x(""),h("")},children:"Send Announcement"}),(0,r.jsxs)(o.BJ,{align:"center",children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.ms,{options:u,selected:v,onSelected:function(e){return w(e)},disabled:j})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{icon:"volume-up",disabled:j,tooltip:"Test sound",onClick:function(){return t("test_sound",{sound:v})}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n.Checkbox,{fluid:!0,checked:j,tooltip:j?"Sent to station communications consoles":"Publically announced",onClick:function(){return b(!j)},children:"Classified"})})]})]})})})}},6185:function(e,n,t){"use strict";t.r(n),t.d(n,{CompostBin:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tj});var r=t(8138),i=t(4530),o=t(7790),l=t(6859),a=t(2864),c=t(7946),s=t(3384);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0,p=e.setViewingPhoto,g=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["setViewingPhoto"]);return(0,r.jsx)(o.wn,h(f({title:"Available Contracts",overflow:"auto",buttons:(0,r.jsxs)(o.$n,{disabled:!u||m,icon:"parachute-box",onClick:function(){return t("extract")},children:["Call Extraction"," ",m&&(0,r.jsx)(c.Gi,{timeEnd:d.time_left,format:function(e,n){return n.substr(3)}})]})},g),{children:l.slice().sort(function(e,n){return 1===e.status?-1:1===n.status?1:e.status-n.status}).map(function(e){var n;return(0,r.jsx)(o.wn,{title:(0,r.jsxs)(o.so,{children:[(0,r.jsx)(o.so.Item,{grow:"1",color:1===e.status&&"good",children:e.target_name}),(0,r.jsx)(o.so.Item,{basis:"content",children:e.has_photo&&(0,r.jsx)(o.$n,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){return p("target_photo_"+e.uid+".png")}})})]}),className:"Contractor__Contract",buttons:(0,r.jsxs)(o.az,{width:"100%",children:[!!x[e.status]&&(0,r.jsx)(o.az,{color:x[e.status][1],inline:!0,mt:1!==e.status&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:x[e.status][0]}),1===e.status&&(0,r.jsx)(o.$n.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){return t("abort")}})]}),children:(0,r.jsxs)(o.so,{children:[(0,r.jsxs)(o.so.Item,{grow:"2",mr:"0.5rem",children:[e.fluff_message,!!e.completed_time&&(0,r.jsxs)(o.az,{color:"good",children:[(0,r.jsx)("br",{}),(0,r.jsx)(o.In,{name:"check",mr:"0.5rem"}),"Contract completed at ",e.completed_time]}),!!e.dead_extraction&&(0,r.jsxs)(o.az,{color:"bad",mt:"0.5rem",bold:!0,children:[(0,r.jsx)(o.In,{name:"exclamation-triangle",mr:"0.5rem"}),"Telecrystals reward reduced drastically as the target was dead during extraction."]}),!!e.fail_reason&&(0,r.jsxs)(o.az,{color:"bad",children:[(0,r.jsx)("br",{}),(0,r.jsx)(o.In,{name:"times",mr:"0.5rem"}),"Contract failed: ",e.fail_reason]})]}),(0,r.jsxs)(o.so.Item,{flexBasis:"100%",children:[(0,r.jsxs)(o.so,{mb:"0.5rem",color:"label",children:["Extraction Zone:\xa0",w(e)]}),null==(n=e.difficulties)?void 0:n.map(function(n,i){return(0,r.jsx)(o.$n.Confirm,{disabled:!!s,content:n.name+" ("+n.reward+" TC)",onClick:function(){return t("activate",{uid:e.uid,difficulty:i+1})}},i)}),!!e.objective&&(0,r.jsxs)(o.az,{color:"white",bold:!0,children:[e.objective.extraction_name,(0,r.jsx)("br",{}),"(",(e.objective.rewards.tc||0)+" TC",",\xa0",(e.objective.rewards.credits||0)+" Credits",")"]})]})]})},e.uid)})}))},w=function(e){if(e.objective&&!(e.status>1)){var n=e.objective.locs.user_area_id,t=e.objective.locs.user_coords,i=e.objective.locs.target_area_id,a=e.objective.locs.target_coords,c=n===i;return(0,r.jsx)(o.so.Item,{children:(0,r.jsx)(o.In,{name:c?"dot-circle-o":"arrow-alt-circle-right-o",color:c?"green":"yellow",rotation:c?null:-(0,l.KJ)(Math.atan2(a[1]-t[1],a[0]-t[0])),lineHeight:c?null:"0.85",size:"1.5"})})}},k=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data,l=i.rep,c=i.buyables;return(0,r.jsx)(o.wn,h(f({title:"Available Purchases",overflow:"auto"},e),{children:c.map(function(e){return(0,r.jsxs)(o.wn,{title:e.name,children:[e.description,(0,r.jsx)("br",{}),(0,r.jsx)(o.$n.Confirm,{disabled:l-1&&(0,r.jsxs)(o.az,{as:"span",color:0===e.stock?"bad":"good",ml:"0.5rem",children:[e.stock," in stock"]})]},e.uid)})}))},_=function(e){var n;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function t(e){var n,r,i;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");return r=t,i=[e],r=d(r),(n=function(e,n){var t;if(n&&("object"==((t=n)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)||"function"==typeof n))return n;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,p()?Reflect.construct(r,i||[],d(this).constructor):r.apply(this,i))).timer=null,n.state={currentIndex:0,currentDisplay:[]},n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e),n=[{key:"tick",value:function(){var e=this.props,n=this.state;n.currentIndex<=e.allMessages.length?(this.setState(function(e){return{currentIndex:e.currentIndex+1}}),n.currentDisplay.push(e.allMessages[n.currentIndex])):(clearTimeout(this.timer),setTimeout(e.onFinished,e.finishedTimeout))}},{key:"componentDidMount",value:function(){var e=this,n=this.props.linesPerSecond;this.timer=setInterval(function(){return e.tick()},1e3/(void 0===n?2.5:n))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timer)}},{key:"render",value:function(){return(0,r.jsx)(o.az,{m:1,children:this.state.currentDisplay.map(function(e){return(0,r.jsxs)(i.Fragment,{children:[e,(0,r.jsx)("br",{})]},e)})})}}],function(e,n){for(var t=0;ta});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.slowFactor,s=a.oneWay,u=a.position;return(0,r.jsx)(l.p8,{width:350,height:135,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Lever position",children:u>0?"forward":u<0?"reverse":"neutral"}),(0,r.jsx)(i.Ki.Item,{label:"Allow reverse",children:(0,r.jsx)(i.$n.Checkbox,{checked:!s,onClick:function(){return t("toggleOneWay")}})}),(0,r.jsx)(i.Ki.Item,{label:"Slowdown factor",children:(0,r.jsxs)(i.so,{children:[(0,r.jsxs)(i.so.Item,{mx:"1px",children:[" ",(0,r.jsx)(i.$n,{icon:"angle-double-left",onClick:function(){return t("slowFactor",{value:c-5})}})," "]}),(0,r.jsxs)(i.so.Item,{mx:"1px",children:[" ",(0,r.jsx)(i.$n,{icon:"angle-left",onClick:function(){return t("slowFactor",{value:c-1})}})," "]}),(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.Ap,{width:"100px",mx:"1px",value:c,fillValue:c,minValue:1,maxValue:50,step:1,format:function(e){return e+"x"},onChange:function(e,n){return t("slowFactor",{value:n})}})}),(0,r.jsxs)(i.so.Item,{mx:"1px",children:[" ",(0,r.jsx)(i.$n,{icon:"angle-right",onClick:function(){return t("slowFactor",{value:c+1})}})," "]}),(0,r.jsxs)(i.so.Item,{mx:"1px",children:[" ",(0,r.jsx)(i.$n,{icon:"angle-double-right",onClick:function(){return t("slowFactor",{value:c+5})}})," "]})]})})]})})})})}},6714:function(e,n,t){"use strict";t.r(n),t.d(n,{CrewMonitor:()=>p});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(3268),c=t(2864),s=t(7946),u=t(421),d=t(3384);function f(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=2||s.ignoreSensors?(0,r.jsxs)(l.az,{inline:!0,ml:1,children:["(",(0,r.jsx)(l.az,{inline:!0,color:u.lm.damageType.oxy,children:e.oxy}),"|",(0,r.jsx)(l.az,{inline:!0,color:u.lm.damageType.toxin,children:e.tox}),"|",(0,r.jsx)(l.az,{inline:!0,color:u.lm.damageType.burn,children:e.fire}),"|",(0,r.jsx)(l.az,{inline:!0,color:u.lm.damageType.brute,children:e.brute}),")"]}):null]}),(0,r.jsx)(l.XI.Cell,{children:3===e.sensor_type||s.ignoreSensors?s.isAI||s.isObserver?(0,r.jsx)(l.$n,{fluid:!0,icon:"location-arrow",content:e.area+" ("+e.x+", "+e.y+")",onClick:function(){return t("track",{track:e.ref})}}):e.area+" ("+e.x+", "+e.y+")":(0,r.jsx)(l.az,{inline:!0,color:"grey",children:"Not Available"})})]},n)})]})]})},g=function(e){var n,t,i=e.color,o=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["color"]);return(0,r.jsx)(s.tx.Marker,(n=function(e){for(var n=1;ns});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],c=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],s=function(e){return(0,r.jsx)(l.p8,{width:520,height:500,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(u,{})})})})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,s=l.isOperating,u=l.hasOccupant,f=l.occupant,h=void 0===f?[]:f,m=l.cellTemperature,p=l.cellTemperatureStatus,x=l.isBeakerLoaded,g=l.cooldownProgress,j=l.auto_eject_healthy,b=l.auto_eject_dead;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{title:"Occupant",fill:!0,scrollable:!0,buttons:(0,r.jsx)(i.$n,{icon:"user-slash",onClick:function(){return t("ejectOccupant")},disabled:!u,children:"Eject"}),children:u?(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Occupant",children:h.name||"Unknown"}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{min:h.health,max:h.maxHealth,value:h.health/h.maxHealth,color:h.health>0?"good":"average",children:(0,r.jsx)(i.zv,{value:Math.round(h.health)})})}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:c[h.stat][0],children:c[h.stat][1]}),(0,r.jsxs)(i.Ki.Item,{label:"Temperature",children:[(0,r.jsx)(i.zv,{value:Math.round(h.bodyTemperature)})," K"]}),(0,r.jsx)(i.Ki.Divider,{}),a.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e.label,children:(0,r.jsx)(i.z2,{value:h[e.type]/100,ranges:{bad:[.01,1/0]},children:(0,r.jsx)(i.zv,{value:Math.round(h[e.type])})})},e.id)})]}):(0,r.jsx)(i.BJ,{fill:!0,textAlign:"center",children:(0,r.jsxs)(i.BJ.Item,{grow:!0,align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,r.jsx)("br",{}),"No occupant detected."]})})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Cell",buttons:(0,r.jsx)(i.$n,{icon:"eject",onClick:function(){return t("ejectBeaker")},disabled:!x,children:"Eject Beaker"}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:"power-off",onClick:function(){return t(s?"switchOff":"switchOn")},selected:s,children:s?"On":"Off"})}),(0,r.jsxs)(i.Ki.Item,{label:"Temperature",color:p,children:[(0,r.jsx)(i.zv,{value:m})," K"]}),(0,r.jsx)(i.Ki.Item,{label:"Beaker",children:(0,r.jsx)(d,{})}),(0,r.jsx)(i.Ki.Item,{label:"Dosage interval",children:(0,r.jsx)(i.z2,{ranges:{average:[-1/0,99],good:[99,1/0]},color:!x&&"average",value:g,minValue:0,maxValue:100})}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsx)(i.Ki.Item,{label:"Auto-eject healthy occupants",children:(0,r.jsx)(i.$n,{icon:j?"toggle-on":"toggle-off",selected:j,onClick:function(){return t(j?"auto_eject_healthy_off":"auto_eject_healthy_on")},children:j?"On":"Off"})}),(0,r.jsx)(i.Ki.Item,{label:"Auto-eject dead occupants",children:(0,r.jsx)(i.$n,{icon:b?"toggle-on":"toggle-off",selected:b,onClick:function(){return t(b?"auto_eject_dead_off":"auto_eject_dead_on")},children:b?"On":"Off"})})]})})})]})},d=function(e){var n=(0,o.Oc)(),t=(n.act,n.data),l=t.isBeakerLoaded,a=t.beakerLabel,c=t.beakerVolume;return l?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.az,{inline:!0,color:!a&&"average",children:[a||"No label",":"]}),(0,r.jsx)(i.az,{inline:!0,color:!c&&"bad",ml:1,children:c?(0,r.jsx)(i.zv,{value:c,format:function(e){return Math.round(e)+" units remaining"}}):"Beaker is empty"})]}):(0,r.jsx)(i.az,{inline:!0,color:"bad",children:"No beaker loaded"})}},2394:function(e,n,t){"use strict";t.r(n),t.d(n,{CryopodConsole:()=>c});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)().data,t=n.account_name,o=n.allow_items;return(0,r.jsx)(a.p8,{title:"Cryopod Console",width:400,height:480,children:(0,r.jsxs)(a.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Hello, ".concat(t||"[REDACTED]","!"),children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,r.jsx)(s,{}),!!o&&(0,r.jsx)(u,{})]})})},s=function(e){var n=(0,l.Oc)().data.frozen_crew;return(0,r.jsx)(i.Nt,{title:"Stored Crew",children:n.length?(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.Ki,{children:n.map(function(e,n){return(0,r.jsx)(i.Ki.Item,{label:e.name,children:e.rank},n)})})}):(0,r.jsx)(i.IC,{children:"No stored crew!"})})},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data.frozen_items,c=function(e){var n=e.toString();return n.startsWith("the ")&&(n=n.slice(4,n.length)),(0,o.Sn)(n)};return(0,r.jsx)(i.Nt,{title:"Stored Items",children:a.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.Ki,{children:a.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:c(e.name),buttons:(0,r.jsx)(i.$n,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){return t("one_item",{item:e.uid})}})},e)})})}),(0,r.jsx)(i.$n,{content:"Drop All Items",color:"red",onClick:function(){return t("all_items")}})]}):(0,r.jsx)(i.IC,{children:"No stored items!"})})}},3372:function(e,n,t){"use strict";t.r(n),t.d(n,{DNAModifier:()=>d});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4744),c=[["good","Alive"],["average","Critical"],["bad","DEAD"]],s=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],u=[5,10,20,30,50],d=function(){var e,n=(0,o.Oc)(),t=(n.act,n.data),c=t.irradiating,s=t.dnaBlockSize,u=t.occupant,d=!u.isViableSubject||!u.uniqueIdentity||!u.structuralEnzymes;return c&&(e=(0,r.jsx)(v,{duration:c})),(0,r.jsxs)(l.p8,{width:660,height:800,children:[(0,r.jsx)(a.ComplexModal,{}),e,(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(f,{isDNAInvalid:d})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(h,{dnaBlockSize:s,isDNAInvalid:d})})]})})]})},f=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.locked,s=l.hasOccupant,u=l.occupant,d=e.isDNAInvalid;return(0,r.jsx)(i.wn,{title:"Occupant",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.az,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,r.jsx)(i.$n,{disabled:!s,selected:a,icon:a?"toggle-on":"toggle-off",content:a?"Engaged":"Disengaged",onClick:function(){return t("toggleLock")}}),(0,r.jsx)(i.$n,{disabled:!s||a,icon:"user-slash",content:"Eject",onClick:function(){return t("ejectOccupant")}})]}),children:s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:u.name}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{minValue:u.minHealth,maxValue:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:c[u.stat][0],children:c[u.stat][1]}),(0,r.jsx)(i.Ki.Divider,{})]})}),d?(0,r.jsxs)(i.az,{color:"bad",children:[(0,r.jsx)(i.In,{name:"exclamation-circle"}),"\xa0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Radiation",children:(0,r.jsx)(i.z2,{minValue:0,maxValue:100,value:u.radiationLevel/100,color:"average"})}),(0,r.jsx)(i.Ki.Item,{label:"Unique Enzymes",children:l.occupant.uniqueEnzymes?l.occupant.uniqueEnzymes:(0,r.jsxs)(i.az,{color:"bad",children:[(0,r.jsx)(i.In,{name:"exclamation-circle"}),"\xa0 Unknown"]})})]})]}):(0,r.jsx)(i.az,{color:"label",children:"Cell unoccupied."})})},h=function(e){var n,t=(0,o.Oc)(),l=t.act,a=t.data,c=a.selectedMenuKey,u=a.hasOccupant,d=e.dnaBlockSize,f=e.isDNAInvalid;return u?f?(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"user-slash",mb:"0.5rem",size:5}),(0,r.jsx)("br",{}),"No operation possible on this subject."]})})}):("ui"===c?n=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m,{dnaBlockSize:d}),(0,r.jsx)(x,{})]}):"se"===c?n=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p,{dnaBlockSize:d}),(0,r.jsx)(x,{})]}):"buffer"===c?n=(0,r.jsx)(g,{}):"rejuvenators"===c&&(n=(0,r.jsx)(y,{})),(0,r.jsxs)(i.wn,{fill:!0,children:[(0,r.jsx)(i.tU,{children:s.map(function(e,n){return(0,r.jsx)(i.tU.Tab,{icon:e[2],selected:c===e[0],onClick:function(){return l("selectMenuKey",{key:e[0]})},children:e[1]},n)})}),n]})):(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"user-slash",mb:"0.5rem",size:5}),(0,r.jsx)("br",{}),"No occupant in DNA modifier."]})})})},m=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.selectedUIBlock,c=l.selectedUISubBlock,s=l.selectedUITarget,u=l.occupant,d=e.dnaBlockSize;return(0,r.jsx)(i.wn,{title:"Modify Unique Identifier",children:(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{children:(0,r.jsx)(w,{dnaString:u.uniqueIdentity,selectedBlock:a,selectedSubblock:c,blockSize:d,action:"selectUIBlock"})})}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Target",children:(0,r.jsx)(i.N6,{minValue:1,maxValue:15,stepPixelSize:20,value:s,format:function(e){return e.toString(16).toUpperCase()},ml:"0",onChange:function(e,n){return t("changeUITarget",{value:n})}})})}),(0,r.jsx)(i.$n,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){return t("pulseUIRadiation")}})]})]})})},p=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.selectedSEBlock,c=l.selectedSESubBlock,s=l.occupant,u=e.dnaBlockSize;return(0,r.jsx)(i.wn,{title:"Modify Structural Enzymes",children:(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{children:(0,r.jsx)(w,{dnaString:s.structuralEnzymes,selectedBlock:a,selectedSubblock:c,blockSize:u,action:"selectSEBlock"})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"radiation",content:"Irradiate Block",onClick:function(){return t("pulseSERadiation")}})})]})})},x=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.radiationIntensity,a=t.radiationDuration;return(0,r.jsxs)(i.wn,{title:"Radiation Emitter",children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Intensity",children:(0,r.jsx)(i.N6,{minValue:1,maxValue:10,stepPixelSize:20,value:l,popupPosition:"right",ml:"0",onChange:function(e,t){return n("radiationIntensity",{value:t})}})}),(0,r.jsx)(i.Ki.Item,{label:"Duration",children:(0,r.jsx)(i.N6,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:a,popupPosition:"right",ml:"0",onChange:function(e,t){return n("radiationDuration",{value:t})}})})]}),(0,r.jsx)(i.$n,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-start",mt:"0.5rem",onClick:function(){return n("pulseRadiation")}})]})},g=function(){var e=(0,o.Oc)().data.buffers.map(function(e,n){return(0,r.jsx)(j,{id:n+1,name:"Buffer "+(n+1),buffer:e},n)});return(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{height:"75%",mt:1,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Buffers",children:e})}),(0,r.jsx)(i.BJ.Item,{height:"25%",children:(0,r.jsx)(b,{})})]})},j=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=e.id,c=e.name,s=e.buffer,u=l.isInjectorReady,d=c+(s.data?" - "+s.label:"");return(0,r.jsx)(i.az,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,r.jsxs)(i.wn,{title:d,mx:"0",lineHeight:"18px",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n.Confirm,{disabled:!s.data,icon:"trash",content:"Clear",onClick:function(){return t("bufferOption",{option:"clear",id:a})}}),(0,r.jsx)(i.$n,{disabled:!s.data,icon:"pen",content:"Rename",onClick:function(){return t("bufferOption",{option:"changeLabel",id:a})}}),(0,r.jsx)(i.$n,{disabled:!s.data||!l.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-start",onClick:function(){return t("bufferOption",{option:"saveDisk",id:a})}})]}),children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Write",children:[(0,r.jsx)(i.$n,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){return t("bufferOption",{option:"saveUI",id:a})}}),(0,r.jsx)(i.$n,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){return t("bufferOption",{option:"saveUIAndUE",id:a})}}),(0,r.jsx)(i.$n,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){return t("bufferOption",{option:"saveSE",id:a})}}),(0,r.jsx)(i.$n,{disabled:!l.hasDisk||!l.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){return t("bufferOption",{option:"loadDisk",id:a})}})]}),!!s.data&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Subject",children:s.owner||(0,r.jsx)(i.az,{color:"average",children:"Unknown"})}),(0,r.jsxs)(i.Ki.Item,{label:"Data Type",children:["ui"===s.type?"Unique Identifiers":"Structural Enzymes",!!s.ue&&" and Unique Enzymes"]}),(0,r.jsxs)(i.Ki.Item,{label:"Transfer to",children:[(0,r.jsx)(i.$n,{disabled:!u,icon:u?"syringe":"spinner",iconSpin:!u,content:"Injector",mb:"0",onClick:function(){return t("bufferOption",{option:"createInjector",id:a})}}),(0,r.jsx)(i.$n,{disabled:!u,icon:u?"syringe":"spinner",iconSpin:!u,content:"Block Injector",mb:"0",onClick:function(){return t("bufferOption",{option:"createInjector",id:a,block:1})}}),(0,r.jsx)(i.$n,{icon:"user",content:"Subject",mb:"0",onClick:function(){return t("bufferOption",{option:"transfer",id:a})}})]})]})]}),!s.data&&(0,r.jsx)(i.az,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},b=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.hasDisk,a=t.disk;return(0,r.jsx)(i.wn,{title:"Data Disk",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n.Confirm,{disabled:!l||!a.data,icon:"trash",content:"Wipe",onClick:function(){return n("wipeDisk")}}),(0,r.jsx)(i.$n,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return n("ejectDisk")}})]}),children:l?a.data?(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Label",children:a.label?a.label:"No label"}),(0,r.jsx)(i.Ki.Item,{label:"Subject",children:a.owner?a.owner:(0,r.jsx)(i.az,{color:"average",children:"Unknown"})}),(0,r.jsxs)(i.Ki.Item,{label:"Data Type",children:["ui"===a.type?"Unique Identifiers":"Structural Enzymes",!!a.ue&&" and Unique Enzymes"]})]}):(0,r.jsx)(i.az,{color:"label",children:"Disk is blank."}):(0,r.jsxs)(i.az,{color:"label",textAlign:"center",my:"1rem",children:[(0,r.jsx)(i.In,{name:"save-o",size:4}),(0,r.jsx)("br",{}),"No disk inserted."]})})},y=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.isBeakerLoaded,a=t.beakerVolume,c=t.beakerLabel;return(0,r.jsx)(i.wn,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,r.jsx)(i.$n,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return n("ejectBeaker")}}),children:l?(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Inject",children:[u.map(function(e,t){return(0,r.jsx)(i.$n,{disabled:e>a,icon:"syringe",content:e,onClick:function(){return n("injectRejuvenators",{amount:e})}},t)}),(0,r.jsx)(i.$n,{disabled:a<=0,icon:"syringe",content:"All",onClick:function(){return n("injectRejuvenators",{amount:a})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Beaker",children:[(0,r.jsx)(i.az,{mb:"0.5rem",children:c||"No label"}),a?(0,r.jsxs)(i.az,{color:"good",children:[a," unit",1===a?"":"s"," remaining"]}):(0,r.jsx)(i.az,{color:"bad",children:"Empty"})]})]}):(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,align:"center",justify:"center",children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.In.Stack,{children:[(0,r.jsx)(i.In,{name:"flask",size:5,color:"silver"}),(0,r.jsx)(i.In,{name:"slash",size:5,color:"red"})]})}),(0,r.jsx)(i.BJ.Item,{bold:!0,color:"label",mb:"2rem",children:(0,r.jsx)("h3",{children:"No Beaker Loaded"})})]})})},v=function(e){var n=e.duration;return(0,r.jsxs)(i.Rr,{textAlign:"center",children:[(0,r.jsx)(i.In,{name:"spinner",size:5,spin:!0}),(0,r.jsx)("br",{}),(0,r.jsx)(i.az,{color:"average",children:(0,r.jsxs)("h1",{children:[(0,r.jsx)(i.In,{name:"radiation"}),"\xa0Irradiating occupant\xa0",(0,r.jsx)(i.In,{name:"radiation"})]})}),(0,r.jsx)(i.az,{color:"label",children:(0,r.jsxs)("h3",{children:["For ",n," second",1===n?"":"s"]})})]})},w=function(e){for(var n=function(e){for(var n=e/s+1,o=[],l=0;ls});var r=t(8138),i=t(7790),o=t(2864),l=t(3384);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tm});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(5490),c=t(4530),s=(0,c.createContext)({categoryStyles:[],removalMode:null}),u=function(e){var n=e.decal_typepath,t=e.direction,o=e.isSelected,l=e.onSelect,c="".concat(n.replace(/\//g,"_"),"_").concat(t);return(0,r.jsx)(i.az,{m:"2px",className:(0,a.Ly)(["decal_painter32x32",c]),onClick:l,style:{outlineStyle:o&&"solid"||"none",outlineWidth:"2px",outlineColor:"orange"}})},d=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.selectedCategory,a=t.categories;return(0,r.jsx)(i.BJ,{vertical:!0,children:(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.tU,{children:a.map(function(e){return(0,r.jsx)(i.tU.Tab,{selected:e==l,onClick:function(){return n("set_category",{category:e})},children:e})})})})})},f=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.selectedDecalType,a=t.removalMode,d=(0,c.useContext)(s).categoryStyles;return(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.az,{children:(0,r.jsx)(i.so,{wrap:"wrap",children:d.map(function(e){return(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(u,{decal_typepath:e.typepath,direction:2,isSelected:l===e.typepath&&!a,onSelect:function(){return n("set_decal_type",{decal_type:e.typepath})}})},e.typepath)})})})})},h=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.selectedDecalType,a=t.selectedDir,c=t.removalMode;return(0,r.jsx)(i.XI,{style:{display:"inline"},children:[1,0,2].map(function(e){return(0,r.jsx)(i.XI.Row,{children:[e+8,e,e+4].map(function(e){return(0,r.jsx)(i.XI.Cell,{style:{verticalAlign:"middle",textAlign:"center"},children:0===e?(0,r.jsx)(i.In,{name:"arrows-alt",size:3}):(0,r.jsx)(u,{decal_typepath:l,direction:e,isSelected:e===a&&!c,onSelect:function(){return n("set_direction",{direction:e})}})},e)})},e)})})},m=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,a=t.availableStyles,c=t.removalMode,u=a[t.selectedCategory];return(0,r.jsx)(l.p8,{width:650,height:565,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(s.Provider,{value:{categoryStyles:u,removalMode:c},children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{title:"Preview",children:[(0,r.jsx)(h,{}),(0,r.jsx)(i.$n,{icon:"eraser",color:c?"green":"transparent",onClick:function(){return n("toggle_removal_mode")},children:"Remove decals"})]})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{title:"Decals",children:[(0,r.jsx)(d,{}),(0,r.jsx)(f,{})]})})]})})})})}},3883:function(e,n,t){"use strict";t.r(n),t.d(n,{DestinationTagger:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t=(0,o.Oc)(),a=t.act,c=t.data,s=c.destinations,u=c.selected_destination_id,d=s[u-1];return(0,r.jsx)(l.p8,{width:355,height:330,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,textAlign:"center",title:"TagMaster 3.1",children:[(0,r.jsxs)(i.az,{width:"100%",textAlign:"center",children:[(0,r.jsx)(i.az,{color:"label",inline:!0,children:"Selected:"})," ",null!=(n=d.name)?n:"None"]}),(0,r.jsx)(i.az,{mt:1.5,children:(0,r.jsx)(i.BJ,{overflowY:"auto",wrap:"wrap",align:"center",justify:"space-evenly",direction:"row",children:s.map(function(e,n){return(0,r.jsx)(i.BJ.Item,{m:"2px",children:(0,r.jsx)(i.$n,{color:"transparent",width:"105px",textAlign:"center",content:e.name,selected:e.id===u,onClick:function(){return a("select_destination",{destination:e.id})}})},n)})})})]})})})})}},6381:function(e,n,t){"use strict";t.r(n),t.d(n,{DisposalBin:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t,a=(0,o.Oc)(),c=a.act,s=a.data;return 2===s.mode?(n="good",t="Ready"):s.mode<=0?(n="bad",t="N/A"):1===s.mode?(n="average",t="Pressurizing"):(n="average",t="Idle"),(0,r.jsx)(l.p8,{width:300,height:260,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Status",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"State",color:n,children:t}),(0,r.jsx)(i.Ki.Item,{label:"Pressure",children:(0,r.jsx)(i.z2,{ranges:{bad:[-1/0,0],average:[0,99],good:[99,1/0]},value:s.pressure,minValue:0,maxValue:100})})]})}),(0,r.jsx)(i.wn,{title:"Controls",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Handle",children:[(0,r.jsx)(i.$n,{icon:"toggle-off",disabled:s.isAI||s.panel_open,content:"Disengaged",selected:!s.flushing,onClick:function(){return c("disengageHandle")}}),(0,r.jsx)(i.$n,{icon:"toggle-on",disabled:s.isAI||s.panel_open,content:"Engaged",selected:s.flushing,onClick:function(){return c("engageHandle")}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Power",children:[(0,r.jsx)(i.$n,{icon:"toggle-off",disabled:-1===s.mode,content:"Off",selected:!s.mode,onClick:function(){return c("pumpOff")}}),(0,r.jsx)(i.$n,{icon:"toggle-on",disabled:-1===s.mode,content:"On",selected:s.mode,onClick:function(){return c("pumpOn")}})]}),(0,r.jsx)(i.Ki.Item,{label:"Eject",children:(0,r.jsx)(i.$n,{icon:"sign-out-alt",disabled:s.isAI,content:"Eject Contents",onClick:function(){return c("eject")}})})]})})]})})}},2908:function(e,n,t){"use strict";t.r(n),t.d(n,{DnaVault:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(7946),a=t(3384),c=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).completed;return(0,r.jsx)(a.p8,{width:350,height:270,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(s,{}),!!t&&(0,r.jsx)(u,{})]})})})},s=function(e){var n=(0,o.Oc)(),t=(n.act,n.data),l=t.dna,a=t.dna_max,c=t.plants,s=t.plants_max,u=t.animals,d=t.animals_max;return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,title:"DNA Vault Database",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Human DNA",children:(0,r.jsx)(i.z2,{value:l/a,ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},children:l+" / "+a+" Samples"})}),(0,r.jsx)(i.Ki.Item,{label:"Plant DNA",children:(0,r.jsx)(i.z2,{value:c/s,ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},children:c+" / "+s+" Samples"})}),(0,r.jsx)(i.Ki.Item,{label:"Animal DNA",children:(0,r.jsx)(i.z2,{value:u/d,ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},children:u+" / "+d+" Samples"})})]})})})},u=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.choiceA,s=a.choiceB,u=a.used;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{fill:!0,title:"Personal Gene Therapy",children:[(0,r.jsx)(i.az,{bold:!0,textAlign:"center",mb:1,children:"Applicable Gene Therapy Treatments"}),!u&&(0,r.jsxs)(l.xA,{children:[(0,r.jsx)(l.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,bold:!0,content:c,textAlign:"center",onClick:function(){return t("gene",{choice:c})}})}),(0,r.jsx)(l.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,bold:!0,content:s,textAlign:"center",onClick:function(){return t("gene",{choice:s})}})})]})||(0,r.jsx)(i.az,{bold:!0,textAlign:"center",mb:1,children:"Users DNA deemed unstable. Unable to provide more upgrades."})]})})}},2480:function(e,n,t){"use strict";t.r(n),t.d(n,{DroneConsole:()=>c});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=function(e){return(0,r.jsx)(a.p8,{width:420,height:500,children:(0,r.jsxs)(a.p8.Content,{scrollable:!0,children:[(0,r.jsx)(s,{}),(0,r.jsx)(u,{})]})})},s=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.drone_fab,c=o.fab_power,s=o.drone_prod,u=o.drone_progress;return(0,r.jsx)(i.wn,{title:"Drone Fabricator",buttons:(0,r.jsx)(i.$n,{icon:"power-off",content:s?"Online":"Offline",color:s?"green":"red",onClick:function(){return t("toggle_fab")}}),children:a?(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"External Power",children:(0,r.jsxs)(i.az,{color:c?"good":"bad",children:["[ ",c?"Online":"Offline"," ]"]})}),(0,r.jsx)(i.Ki.Item,{label:"Drone Production",children:(0,r.jsx)(i.z2,{value:u/100,ranges:{good:[.7,1/0],average:[.4,.7],bad:[-1/0,.4]}})})]}):(0,r.jsx)(i.IC,{textAlign:"center",danger:1,children:(0,r.jsxs)(i.so,{inline:1,direction:"column",children:[(0,r.jsx)(i.so.Item,{children:"FABRICATOR NOT DETECTED."}),(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.$n,{icon:"search",content:"Search",onClick:function(){return t("find_fab")}})})]})})})},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=a.drones,s=a.area_list,u=a.selected_area,d=a.ping_cd,f=function(e,n){var t,o;return 2===e?(t="bad",o="Disabled"):1!==e&&n?(t="good",o="Active"):(t="average",o="Inactive"),(0,r.jsx)(i.az,{color:t,children:o})};return(0,r.jsxs)(i.wn,{title:"Maintenance Units",children:[(0,r.jsxs)(i.so,{children:[(0,r.jsx)(i.so.Item,{children:"Request Drone presence in area:\xa0"}),(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.ms,{options:s,selected:u,width:"125px",onSelected:function(e){return t("set_area",{area:e})}})})]}),(0,r.jsx)(i.$n,{content:"Send Ping",icon:"broadcast-tower",disabled:d||!c.length,title:c.length?null:"No active drones!",fluid:!0,textAlign:"center",py:.4,mt:.6,onClick:function(){return t("ping")}}),(0,r.jsx)(function(){if(c.length)return(0,r.jsx)(i.az,{py:.2,children:(0,r.jsx)(i.cG,{})})},{}),c.map(function(e){return(0,r.jsx)(i.wn,{title:(0,o.Sn)(e.name),buttons:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"sync",content:"Resync",disabled:2===e.stat||e.sync_cd,onClick:function(){return t("resync",{uid:e.uid})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n.Confirm,{icon:"power-off",content:"Recall",disabled:2===e.stat||e.pathfinding,tooltip:e.pathfinding?"This drone is currently pathfinding, please wait.":null,tooltipPosition:"left",color:"bad",onClick:function(){return t("recall",{uid:e.uid})}})})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:f(e.stat,e.client)}),(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:(0,r.jsx)(i.z2,{value:e.health,ranges:{good:[.7,1/0],average:[.4,.7],bad:[-1/0,.4]}})}),(0,r.jsx)(i.Ki.Item,{label:"Charge",children:(0,r.jsx)(i.z2,{value:e.charge,ranges:{good:[.7,1/0],average:[.4,.7],bad:[-1/0,.4]}})}),(0,r.jsx)(i.Ki.Item,{label:"Location",children:e.location})]})},e.name)})]})}},1654:function(e,n,t){"use strict";t.r(n),t.d(n,{EFTPOS:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tf,ERTOverview:()=>h});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tj?"red":"green",children:[g," total, versus ",j," spawnpoints"]})}),(0,r.jsx)(o.Ki.Item,{label:"Dispatch",children:(0,r.jsx)(o.$n,{width:10.5,textAlign:"center",icon:"ambulance",onClick:function(){return n("dispatch_ert",{silent:v})},children:"Send ERT"})})]})})})},p=function(){var e=(0,a.Oc)(),n=e.act,t=e.data.ert_request_messages;return(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.wn,{fill:!0,children:t&&t.length?t.map(function(e){return(0,r.jsx)(o.wn,{title:e.time,buttons:(0,r.jsx)(o.$n,{onClick:function(){return n("view_player_panel",{uid:e.sender_uid})},tooltip:"View player panel",children:e.sender_real_name}),children:e.message},(0,l.jT)(e.time))}):(0,r.jsx)(o.BJ,{fill:!0,children:(0,r.jsxs)(o.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,r.jsxs)(o.In.Stack,{children:[(0,r.jsx)(o.In,{name:"broadcast-tower",size:5,color:"gray"}),(0,r.jsx)(o.In,{name:"slash",size:5,color:"red"})]}),(0,r.jsx)("br",{}),"No ERT requests."]})})})})},x=function(){var e=(0,a.Oc)().act,n=u((0,i.useState)(""),2),t=n[0],l=n[1];return(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsxs)(o.wn,{fill:!0,children:[(0,r.jsx)(o.fs,{placeholder:"Enter ERT denial reason here. Shift-Enter to add a new line.",fluid:!0,height:24,value:t,onChange:function(e){return l(e)}}),(0,r.jsx)(o.$n.Confirm,{fluid:!0,icon:"times",mt:2,textAlign:"center",onClick:function(){return e("deny_ert",{reason:t})},children:"Deny ERT"})]})})}},9644:function(e,n,t){"use strict";t.r(n),t.d(n,{EconomyManager:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4744),c=function(e){return(0,r.jsxs)(l.p8,{width:600,height:325,children:[(0,r.jsx)(a.ComplexModal,{}),(0,r.jsx)(l.p8.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,r.jsx)(s,{})})]})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.next_payroll_time;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.wn,{children:[(0,r.jsxs)(i.az,{fontSize:"1.4rem",bold:!0,children:[(0,r.jsx)(i.In,{name:"coins",verticalAlign:"middle",size:3,mr:"1rem"}),"Economy Manager"]}),(0,r.jsx)("br",{}),(0,r.jsxs)(i.Ki,{label:"Pay Bonuses and Deductions",children:[(0,r.jsx)(i.Ki.Item,{label:"Global",children:(0,r.jsx)(i.$n,{icon:"dollar-sign",width:"auto",content:"Global Payroll Modification",onClick:function(){return t("payroll_modification",{mod_type:"global"})}})}),(0,r.jsx)(i.Ki.Item,{label:"Department Accounts",children:(0,r.jsx)(i.$n,{icon:"dollar-sign",width:"auto",content:"Department Account Payroll Modification",onClick:function(){return t("payroll_modification",{mod_type:"department"})}})}),(0,r.jsx)(i.Ki.Item,{label:"Department Members",children:(0,r.jsx)(i.$n,{icon:"dollar-sign",width:"auto",content:"Department Members Payroll Modification",onClick:function(){return t("payroll_modification",{mod_type:"department_members"})}})}),(0,r.jsx)(i.Ki.Item,{label:"Single Accounts",children:(0,r.jsx)(i.$n,{icon:"dollar-sign",width:"auto",content:"Crew Member Payroll Modification",onClick:function(){return t("payroll_modification",{mod_type:"crew_member"})}})})]}),(0,r.jsx)("hr",{}),(0,r.jsxs)(i.az,{mb:.5,children:["Next Payroll in: ",l," Minutes"]}),(0,r.jsx)(i.$n,{icon:"angle-double-left",width:"auto",color:"bad",content:"Delay Payroll",onClick:function(){return t("delay_payroll")}}),(0,r.jsx)(i.$n,{width:"auto",content:"Set Payroll Time",onClick:function(){return t("set_payroll")}}),(0,r.jsx)(i.$n,{icon:"angle-double-right",width:"auto",color:"good",content:"Accelerate Payroll",onClick:function(){return t("accelerate_payroll")}})]}),(0,r.jsxs)(i.IC,{children:[(0,r.jsx)("b",{children:"WARNING:"})," You take full responsibility for unbalancing the economy with these buttons!"]})]})}},6426:function(e,n,t){"use strict";t.r(n),t.d(n,{Electropack:()=>c});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,s=c.power,u=c.code,d=c.frequency,f=c.minFrequency,h=c.maxFrequency;return(0,r.jsx)(a.p8,{width:360,height:135,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:s?"power-off":"times",content:s?"On":"Off",selected:s,onClick:function(){return t("power")}})}),(0,r.jsx)(i.Ki.Item,{label:"Frequency",buttons:(0,r.jsx)(i.$n,{icon:"sync",content:"Reset",onClick:function(){return t("reset",{reset:"freq"})}}),children:(0,r.jsx)(i.Q7,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:f/10,maxValue:h/10,value:d/10,format:function(e){return(0,o.Mg)(e,1)},width:"80px",onChange:function(e){return t("freq",{freq:e})}})}),(0,r.jsx)(i.Ki.Item,{label:"Code",buttons:(0,r.jsx)(i.$n,{icon:"sync",content:"Reset",onClick:function(){return t("reset",{reset:"code"})}}),children:(0,r.jsx)(i.Q7,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:u,width:"80px",onChange:function(e){return t("code",{code:e})}})})]})})})})}},9480:function(e,n,t){"use strict";t.r(n),t.d(n,{Emojipedia:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(5490),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tf});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(3268),c=t(2864),s=t(3384);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"";return e&&0!==e.length?(e=(0,i.pb)(e,function(e){return!!(null==e?void 0:e.name)}),n&&(e=(0,i.pb)(e,(0,a.XZ)(n,function(e){return e.name+"|"+e.description}))),(0,i.Ul)(e,function(e){return null==e?void 0:e.name})):[]},C=function(e){if(y(e),""===e)return k(x.abilities);k(_(f.map(function(e){return e.abilities}).flat(),e))},I=function(e){g(e),k(e.abilities),y("")};return(0,r.jsx)(l.BJ.Item,{grow:!0,children:(0,r.jsxs)(l.wn,{fill:!0,scrollable:!0,title:"Abilities",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.pd,{width:"200px",placeholder:"Search Abilities",onChange:function(e){C(e)},value:b}),(0,r.jsx)(l.$n,{icon:m?"square-o":"check-square-o",selected:!m,content:"Compact",onClick:function(){return t("set_view_mode",{mode:0})}}),(0,r.jsx)(l.$n,{icon:m?"check-square-o":"square-o",selected:m,content:"Expanded",onClick:function(){return t("set_view_mode",{mode:1})}})]}),children:[(0,r.jsx)(l.tU,{children:f.map(function(e){return(0,r.jsx)(l.tU.Tab,{selected:""===b&&x===e,onClick:function(){I(e)},children:e.category},e)})}),w.map(function(e,n){return(0,r.jsxs)(l.az,{p:.5,mx:-1,className:"candystripe",children:[(0,r.jsxs)(l.BJ,{align:"center",children:[(0,r.jsx)(l.BJ.Item,{ml:.5,color:"#dedede",children:e.name}),h.includes(e.power_path)&&(0,r.jsx)(l.BJ.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,r.jsxs)(l.BJ.Item,{mr:3,textAlign:"right",grow:1,children:[(0,r.jsxs)(l.az,{as:"span",color:"label",children:["Cost:"," "]}),(0,r.jsx)(l.az,{as:"span",bold:!0,color:"#1b945c",children:e.cost})]}),(0,r.jsx)(l.BJ.Item,{textAlign:"right",children:(0,r.jsx)(l.$n,{mr:.5,disabled:e.cost>u||h.includes(e.power_path),content:"Evolve",onClick:function(){return t("purchase",{power_path:e.power_path})}})})]}),!!m&&(0,r.jsx)(l.BJ,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:e.description+" "+e.helptext})]},n)})]})})}},6251:function(e,n,t){"use strict";t.r(n),t.d(n,{ExosuitFabricator:()=>h});var r=t(8138),i=t(4530),o=t(7790),l=t(5490),a=t(3268),c=t(2864),s=t(7946),u=t(3384);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&(0,r.jsx)(o.$n,{icon:"arrow-up",onClick:function(){return t("queueswap",{from:n+1,to:n})}}),n0&&(0,r.jsxs)(o.BJ.Item,{className:"Exofab__queue--time",children:[(0,r.jsx)(o.cG,{}),"Processing time:",(0,r.jsx)(o.In,{name:"clock",mx:"0.5rem"}),(0,r.jsx)(o.az,{inline:!0,bold:!0,children:new Date(u/10*1e3).toISOString().substr(14,5)})]}),Object.keys(s).length>0&&(0,r.jsxs)(o.BJ.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,r.jsx)(o.cG,{}),"Lacking materials to complete:",s.map(function(e){return(0,r.jsx)(o.az,{children:(0,r.jsx)(j,{id:e[0],amount:-e[1],lineDisplay:!0})},e[0])})]})]})})})},j=function(e){var n,t,i=(0,c.Oc)(),a=(i.act,i.data),s=e.id,u=e.amount,d=e.lineDisplay,f=e.onClick,h=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["id","amount","lineDisplay","onClick"]),m=a.materials[s]||0,p=u||m;if(!(p<=0)||"metal"===s||"glass"===s)return(0,r.jsx)(o.BJ,(n=function(e){for(var n=1;nm&&"bad",ml:0,mr:1,children:p.toLocaleString("en-US")})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.BJ.Item,{basis:"content",children:(0,r.jsx)(o.$n,{width:"85%",color:"transparent",onClick:f,children:(0,r.jsx)(o.az,{mt:1,className:(0,l.Ly)(["materials32x32",s])})})}),(0,r.jsxs)(o.BJ.Item,{grow:"1",children:[(0,r.jsx)(o.az,{className:"Exofab__material--name",children:s}),(0,r.jsxs)(o.az,{className:"Exofab__material--amount",children:[p.toLocaleString("en-US")," cm\xb3 (",Math.round(p/2e3*10)/10," ","sheets)"]})]})]})},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))},b=function(e){var n=(0,c.Oc)(),t=n.act,i=n.data,l=e.design;return(0,r.jsxs)(o.az,{className:"Exofab__design",children:[(0,r.jsx)(o.$n,{disabled:l.notEnough||i.building,icon:"cog",content:l.name,onClick:function(){return t("build",{id:l.id})}}),(0,r.jsx)(o.$n,{icon:"plus-circle",onClick:function(){return t("queue",{id:l.id})}}),(0,r.jsx)(o.az,{className:"Exofab__design--cost",children:Object.entries(l.cost).map(function(e){return(0,r.jsx)(o.az,{children:(0,r.jsx)(j,{id:e[0],amount:e[1],lineDisplay:!0})},e[0])})}),(0,r.jsx)(o.BJ,{className:"Exofab__design--time",children:(0,r.jsxs)(o.BJ.Item,{children:[(0,r.jsx)(o.In,{name:"clock"}),l.time>0?(0,r.jsxs)(r.Fragment,{children:[l.time/10," seconds"]}):"Instant"]})})]})},y=function(e){var n=(0,c.Oc)(),t=n.act,i=n.data.controllers;return(0,r.jsx)(u.p8,{children:(0,r.jsx)(u.p8.Content,{children:(0,r.jsx)(o.wn,{title:"Setup Linkage",children:(0,r.jsxs)(o.XI,{m:"0.5rem",children:[(0,r.jsxs)(o.XI.Row,{header:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"Network Address"}),(0,r.jsx)(o.XI.Cell,{children:"Network ID"}),(0,r.jsx)(o.XI.Cell,{children:"Link"})]}),i.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.addr}),(0,r.jsx)(o.XI.Cell,{children:e.net_id}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.$n,{content:"Link",icon:"link",onClick:function(){return t("linktonetworkcontroller",{target_controller:e.addr})}})})]},e.addr)})]})})})})},v=function(e){var n=(0,c.Oc)(),t=(n.act,n.data).tech_levels,i=e.showLevelsModal,l=e.setShowLevelsModal;return i?(0,r.jsx)(o.aF,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:.75*window.innerHeight+"px",mx:"auto",children:(0,r.jsx)(o.wn,{title:"Current tech levels",buttons:(0,r.jsx)(o.$n,{content:"Close",onClick:function(){l(!1)}}),children:(0,r.jsx)(o.Ki,{children:t.map(function(e){var n=e.name,t=e.level;return(0,r.jsx)(o.Ki.Item,{label:n,children:t},n)})})})}):null}},9621:function(e,n,t){"use strict";t.r(n),t.d(n,{ExperimentConsole:()=>s});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=new Map([[0,{text:"Conscious",color:"good"}],[1,{text:"Unconscious",color:"average"}],[2,{text:"Deceased",color:"bad"}]]),c=new Map([[0,{label:"Probe",icon:"thermometer"}],[1,{label:"Dissect",icon:"brain"}],[2,{label:"Analyze",icon:"search"}]]),s=function(e){var n=(0,o.Oc)(),t=n.act,s=n.data,u=s.open,d=s.feedback,f=s.occupant,h=s.occupant_name,m=s.occupant_status,p=function(){if(!f)return(0,r.jsx)(i.IC,{children:"No specimen detected."});var e=a.get(m);return(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:h}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:e.color,children:e.text}),(0,r.jsx)(i.Ki.Item,{label:"Experiments",children:[0,1,2].map(function(e){return(0,r.jsx)(i.$n,{icon:c.get(e).icon,content:c.get(e).label,onClick:function(){return t("experiment",{experiment_type:e})}},e)})})]})}();return(0,r.jsx)(l.p8,{theme:"abductor",width:350,height:200,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Status",children:d})})}),(0,r.jsx)(i.wn,{title:"Scanner",buttons:(0,r.jsx)(i.$n,{icon:"eject",content:"Eject",disabled:!u,onClick:function(){return t("door")}}),children:p})]})})}},5091:function(e,n,t){"use strict";t.r(n),t.d(n,{ExternalAirlockController:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n="good";return e<80?n="bad":e<95||e>110?n="average":e>120&&(n="bad"),n},c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.chamber_pressure,u=(c.exterior_status,c.interior_status),d=c.processing;return(0,r.jsx)(l.p8,{width:330,height:205,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Information",children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Chamber Pressure",children:(0,r.jsxs)(i.z2,{color:a(s),value:s,minValue:0,maxValue:1013,children:[s," kPa"]})})})}),(0,r.jsxs)(i.wn,{title:"Actions",buttons:(0,r.jsx)(i.$n,{content:"Abort",icon:"ban",color:"red",disabled:!d,onClick:function(){return t("abort")}}),children:[(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{width:"49%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:d,onClick:function(){return t("cycle_ext")}}),(0,r.jsx)(i.$n,{width:"50%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:d,onClick:function(){return t("cycle_int")}})]}),(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{width:"49%",content:"Force Exterior Door",icon:"exclamation-triangle",color:"open"===u?"red":d?"yellow":null,onClick:function(){return t("force_ext")}}),(0,r.jsx)(i.$n,{width:"50%",content:"Force Interior Door",icon:"exclamation-triangle",color:"open"===u?"red":d?"yellow":null,onClick:function(){return t("force_int")}})]})]})]})})}},6325:function(e,n,t){"use strict";t.r(n),t.d(n,{FaxMachine:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;return(0,r.jsx)(l.p8,{width:540,height:295,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Authorization",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"ID Card",children:(0,r.jsx)(i.$n,{icon:a.scan_name?"eject":"id-card",selected:a.scan_name,content:a.scan_name?a.scan_name:"-----",tooltip:a.scan_name?"Eject ID":"Insert ID",onClick:function(){return t("scan")}})}),(0,r.jsx)(i.Ki.Item,{label:"Authorize",children:(0,r.jsx)(i.$n,{icon:a.authenticated?"sign-out-alt":"id-card",selected:a.authenticated,disabled:a.nologin,content:a.realauth?"Log Out":"Log In",onClick:function(){return t("auth")}})})]})}),(0,r.jsx)(i.wn,{title:"Fax Menu",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Network",children:a.network}),(0,r.jsxs)(i.Ki.Item,{label:"Document",children:[(0,r.jsx)(i.$n,{icon:a.paper?"eject":"paperclip",disabled:!a.authenticated&&!a.paper,content:a.paper?a.paper:"-----",onClick:function(){return t("paper")}}),!!a.paper&&(0,r.jsx)(i.$n,{icon:"pencil-alt",content:"Rename",onClick:function(){return t("rename")}})]}),(0,r.jsx)(i.Ki.Item,{label:"Sending To",children:(0,r.jsx)(i.$n,{icon:"print",content:a.destination?a.destination:"-----",disabled:!a.authenticated,onClick:function(){return t("dept")}})}),(0,r.jsx)(i.Ki.Item,{label:"Action",children:(0,r.jsx)(i.$n,{icon:"envelope",content:a.sendError?a.sendError:"Send",disabled:!a.paper||!a.destination||!a.authenticated||a.sendError,onClick:function(){return t("send")}})})]})})]})})}},9788:function(e,n,t){"use strict";t.r(n),t.d(n,{FilingCabinet:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=n.config,s=a.contents,u=c.title;return(0,r.jsx)(l.p8,{width:400,height:300,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Contents",children:[!s&&(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,r.jsxs)(i.In.Stack,{children:[(0,r.jsx)(i.In,{name:"folder-open",size:5,color:"gray"}),(0,r.jsx)(i.In,{name:"slash",size:5,color:"red"})]}),(0,r.jsx)("br",{}),"The ",u," is empty."]})}),!!s&&s.slice().map(function(e){return(0,r.jsxs)(i.BJ,{mt:.5,className:"candystripe",children:[(0,r.jsx)(i.BJ.Item,{width:"80%",children:e.display_name}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"arrow-down",content:"Retrieve",onClick:function(){return t("retrieve",{index:e.index})}})})]},e)})]})})})})}},26:function(e,n,t){"use strict";t.r(n),t.d(n,{FloorPainter:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=(n.act,n.data),l=e.icon_state,a=e.direction,c=e.isSelected,s=e.onSelect;return(0,r.jsx)(i.Hg,{icon:t.icon,icon_state:l,direction:a,onClick:s,style:{borderStyle:c&&"solid"||"none",borderWidth:"2px",borderColor:"orange",padding:c&&"0px"||"2px"}})},c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.availableStyles,u=c.selectedStyle,d=c.selectedDir,f=c.wideMode;return(0,r.jsx)(l.p8,{width:405,height:475,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.wn,{title:"Floor setup",children:[(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"chevron-left",onClick:function(){return t("cycle_style",{offset:-1})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.ms,{options:s,selected:u,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(e){return t("select_style",{style:e})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"chevron-right",onClick:function(){return t("cycle_style",{offset:1})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"eraser",color:f?"green":"transparent",onClick:function(){return t("wide_mode")},children:"Wide mode"})})]}),(0,r.jsx)(i.az,{mt:"5px",mb:"5px",children:(0,r.jsx)(i.so,{overflowY:"auto",maxHeight:"239px",wrap:"wrap",children:s.map(function(e){return(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(a,{icon_state:e,isSelected:u===e,onSelect:function(){return t("select_style",{style:e})}})},e)})})}),(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Direction",children:(0,r.jsx)(i.XI,{style:{display:"inline"},children:[1,null,2].map(function(e){return(0,r.jsx)(i.XI.Row,{children:[e+8,e,e+4].map(function(e){return(0,r.jsx)(i.XI.Cell,{style:{verticalAlign:"middle",textAlign:"center"},children:null===e?(0,r.jsx)(i.In,{name:"arrows-alt",size:3}):(0,r.jsx)(a,{icon_state:u,direction:e,isSelected:e===d,onSelect:function(){return t("select_direction",{direction:e})}})},e)})},e)})})})})]})})})}},1561:function(e,n,t){"use strict";t.r(n),t.d(n,{GPS:()=>h});var r=t(8138),i=t(4530),o=t(7790),l=t(6859),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?"arrow-right":"circle",rotation:-e.angle}),"\xa0",Math.floor(e.distance)+"m"]}),void 0!==e.due&&(0,r.jsxs)(o.az,{children:[(0,r.jsx)(o.In,{name:"arrow-up",rotation:e.due}),"\xa0--"]})]}),(0,r.jsx)(o.XI.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:d(e.position)})]},n)})})},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))}},1259:function(e,n,t){"use strict";t.r(n),t.d(n,{GeneModder:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4744),c=function(e){var n=(0,o.Oc)().data.has_seed;return(0,r.jsxs)(l.p8,{width:950,height:650,children:[(0,r.jsx)("div",{className:"GeneModder__left",children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(x,{scrollable:!0})})}),(0,r.jsx)("div",{className:"GeneModder__right",children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,scrollable:!0,children:[(0,r.jsx)(d,{}),(0,r.jsx)(a.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),0===n?(0,r.jsx)(u,{}):(0,r.jsx)(s,{})]})})})]})},s=function(e){var n=(0,o.Oc)();return(n.act,n.data).disk,(0,r.jsxs)(i.wn,{title:"Genes",fill:!0,scrollable:!0,children:[(0,r.jsx)(f,{}),(0,r.jsx)(h,{}),(0,r.jsx)(m,{})]})},u=function(e){return(0,r.jsx)(i.wn,{fill:!0,height:"85%",children:(0,r.jsx)(i.BJ,{height:"100%",children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,r.jsx)(i.In,{name:"leaf",size:5,mb:"10px"}),(0,r.jsx)("br",{}),"The plant DNA manipulator is missing a seed."]})})})},d=function(e){var n,t,l=(0,o.Oc)(),a=l.act,c=l.data,s=c.has_seed,u=c.seed,d=c.has_disk,f=c.disk;return n=s?(0,r.jsxs)(i.BJ.Item,{mb:"-6px",mt:"-4px",children:[(0,r.jsx)("img",{src:"data:image/jpeg;base64,".concat(u.image),style:{verticalAlign:"middle",width:"32px",margin:"-1px",marginLeft:"-11px"}}),(0,r.jsx)(i.$n,{content:u.name,onClick:function(){return a("eject_seed")}}),(0,r.jsx)(i.$n,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){return a("variant_name")}})]}):(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{ml:3.3,content:"None",onClick:function(){return a("eject_seed")}})}),t=d?f.name:"None",(0,r.jsx)(i.wn,{title:"Storage",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Plant Sample",children:n}),(0,r.jsx)(i.Ki.Item,{label:"Data Disk",children:(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{ml:3.3,content:t,tooltip:"Select Empty Disk",onClick:function(){return a("select_empty_disk")}})})})]})})},f=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.disk,c=l.core_genes;return(0,r.jsxs)(i.Nt,{title:"Core Genes",open:!0,children:[c.map(function(e){return(0,r.jsxs)(i.BJ,{py:"2px",className:"candystripe",children:[(0,r.jsx)(i.BJ.Item,{width:"100%",ml:"2px",children:e.name}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Extract",disabled:!(null==a?void 0:a.can_extract),icon:"save",onClick:function(){return t("extract",{id:e.id})}})})]},e)})," ",(0,r.jsx)(i.BJ,{children:(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Extract All",disabled:!(null==a?void 0:a.can_extract),icon:"save",onClick:function(){return t("bulk_extract_core")}})})})]},"Core Genes")},h=function(e){var n=(0,o.Oc)().data,t=n.reagent_genes,i=n.has_reagent;return(0,r.jsx)(p,{title:"Reagent Genes",gene_set:t,do_we_show:i})},m=function(e){var n=(0,o.Oc)().data,t=n.trait_genes,i=n.has_trait;return(0,r.jsx)(p,{title:"Trait Genes",gene_set:t,do_we_show:i})},p=function(e){var n=e.title,t=e.gene_set,l=e.do_we_show,a=(0,o.Oc)(),c=a.act,s=a.data.disk;return(0,r.jsx)(i.Nt,{title:n,open:!0,children:l?t.map(function(e){return(0,r.jsxs)(i.BJ,{py:"2px",className:"candystripe",children:[(0,r.jsx)(i.BJ.Item,{width:"100%",ml:"2px",children:e.name}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Extract",disabled:!(null==s?void 0:s.can_extract),icon:"save",onClick:function(){return c("extract",{id:e.id})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Remove",icon:"times",onClick:function(){return c("remove",{id:e.id})}})})]},e)}):(0,r.jsx)(i.BJ.Item,{children:"No Genes Detected"})},n)},x=function(e){e.title,e.gene_set,e.do_we_show;var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.has_seed,c=l.empty_disks,s=l.stat_disks,u=l.trait_disks,d=l.reagent_disks;return(0,r.jsxs)(i.wn,{title:"Disks",children:[(0,r.jsx)("br",{}),"Empty Disks: ",c,(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{width:12,icon:"arrow-down",tooltip:"Eject an Empty disk",content:"Eject Empty Disk",onClick:function(){return t("eject_empty_disk")}}),(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.wn,{title:"Stats",children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,scrollable:!0,children:[s.slice().sort(function(e,n){return e.display_name.localeCompare(n.display_name)}).map(function(e){return(0,r.jsxs)(i.BJ,{mr:2,children:[(0,r.jsx)(i.BJ.Item,{width:"49%",children:e.display_name}),(0,r.jsxs)(i.BJ.Item,{width:25,children:["All"===e.stat?(0,r.jsx)(i.$n,{content:"Replace All",tooltip:"Write disk stats to seed",disabled:!(null==e?void 0:e.ready)||!a,icon:"arrow-circle-down",onClick:function(){return t("bulk_replace_core",{index:e.index})}}):(0,r.jsx)(i.$n,{width:6,icon:"arrow-circle-down",tooltip:"Write disk stat to seed",disabled:!e||!a,content:"Replace",onClick:function(){return t("replace",{index:e.index,stat:e.stat})}}),(0,r.jsx)(i.$n,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){return t("select",{index:e.index})}}),(0,r.jsx)(i.$n,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){return t("eject_disk",{index:e.index})}}),(0,r.jsx)(i.$n,{width:2,icon:e.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){return t("set_read_only",{index:e.index,read_only:e.read_only})}})]})]},e)}),(0,r.jsx)(i.$n,{})]})}),(0,r.jsx)(i.wn,{title:"Traits",children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,scrollable:!0,children:[u.slice().sort(function(e,n){return e.display_name.localeCompare(n.display_name)}).map(function(e){return(0,r.jsxs)(i.BJ,{mr:2,children:[(0,r.jsx)(i.BJ.Item,{width:"49%",children:e.display_name}),(0,r.jsxs)(i.BJ.Item,{width:25,children:[(0,r.jsx)(i.$n,{width:6,icon:"arrow-circle-down",disabled:!e||!e.can_insert,tooltip:"Add disk trait to seed",content:"Insert",onClick:function(){return t("insert",{index:e.index})}}),(0,r.jsx)(i.$n,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){return t("select",{index:e.index})}}),(0,r.jsx)(i.$n,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){return t("eject_disk",{index:e.index})}}),(0,r.jsx)(i.$n,{width:2,icon:e.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){return t("set_read_only",{index:e.index,read_only:e.read_only})}})]})]},e)}),(0,r.jsx)(i.$n,{})]})}),(0,r.jsx)(i.wn,{title:"Reagents",children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,scrollable:!0,children:[d.slice().sort(function(e,n){return e.display_name.localeCompare(n.display_name)}).map(function(e){return(0,r.jsxs)(i.BJ,{mr:2,children:[(0,r.jsx)(i.BJ.Item,{width:"49%",children:e.display_name}),(0,r.jsxs)(i.BJ.Item,{width:25,children:[(0,r.jsx)(i.$n,{width:6,icon:"arrow-circle-down",disabled:!e||!e.can_insert,tooltip:"Add disk reagent to seed",content:"Insert",onClick:function(){return t("insert",{index:e.index})}}),(0,r.jsx)(i.$n,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){return t("select",{index:e.index})}}),(0,r.jsx)(i.$n,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){return t("eject_disk",{index:e.index})}}),(0,r.jsx)(i.$n,{width:2,icon:e.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){return t("set_read_only",{index:e.index,read_only:e.read_only})}})]})]},e)}),(0,r.jsx)(i.$n,{})]})})]})]})}},6954:function(e,n,t){"use strict";t.r(n),t.d(n,{GenericCrewManifest:()=>a});var r=t(8138),i=t(7790),o=t(3384),l=t(2639),a=function(e){return(0,r.jsx)(o.p8,{theme:"nologo",width:588,height:510,children:(0,r.jsx)(o.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.wn,{noTopPadding:!0,children:(0,r.jsx)(l.CrewManifest,{})})})})}},9031:function(e,n,t){"use strict";t.r(n),t.d(n,{GhostHudPanel:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)().data,t=n.security,a=n.medical,s=n.diagnostic,u=n.pressure,d=n.radioactivity,f=n.ahud;return(0,r.jsx)(l.p8,{width:250,height:217,theme:"nologo",children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{children:[(0,r.jsx)(c,{label:"Medical",type:"medical",is_active:a}),(0,r.jsx)(c,{label:"Security",type:"security",is_active:t}),(0,r.jsx)(c,{label:"Diagnostic",type:"diagnostic",is_active:s}),(0,r.jsx)(c,{label:"Pressure",type:"pressure",is_active:u}),(0,r.jsx)(i.cG,{}),(0,r.jsx)(c,{label:"Radioactivity",type:"radioactivity",is_active:d,act_on:"toggle_rad",act_off:"toggle_rad"}),(0,r.jsx)(i.cG,{}),(0,r.jsx)(c,{label:"Antag HUD",is_active:f,act_on:"ahud_on",act_off:"ahud_off"})]})})})},c=function(e){var n=(0,o.Oc)().act,t=e.label,l=e.type,a=void 0===l?null:l,c=e.is_active,s=e.act_on,u=void 0===s?"hud_on":s,d=e.act_off,f=void 0===d?"hud_off":d;return(0,r.jsxs)(i.so,{pt:.3,color:"label",children:[(0,r.jsx)(i.so.Item,{pl:.5,align:"center",width:"80%",children:t}),(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.$n,{mr:.6,content:c?"On":"Off",icon:c?"toggle-on":"toggle-off",selected:c,onClick:function(){return n(c?f:u,{hud_type:a})}})})]})}},3396:function(e,n,t){"use strict";t.r(n),t.d(n,{GlandDispenser:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.glands;return(0,r.jsx)(l.p8,{width:300,height:338,theme:"abductor",children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(void 0===a?[]:a).map(function(e){return(0,r.jsx)(i.$n,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:e.color,content:e.amount||"0",disabled:!e.amount,onClick:function(){return t("dispense",{gland_id:e.id})}},e.id)})})})})}},1009:function(e,n,t){"use strict";t.r(n),t.d(n,{GravityGen:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.charging_state,s=a.charge_count,u=a.breaker,d=a.ext_power;return(0,r.jsx)(l.p8,{width:350,height:170,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[function(e){if(e>0)return(0,r.jsxs)(i.IC,{danger:!0,p:1.5,children:[(0,r.jsx)("b",{children:"WARNING:"})," Radiation Detected!"]})}(c),(0,r.jsx)(i.wn,{fill:!0,title:"Generator Status",buttons:(0,r.jsx)(i.$n,{icon:u?"power-off":"times",content:u?"Online":"Offline",color:u?"green":"red",px:1.5,onClick:function(){return t("breaker")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power Status",color:d?"good":"bad",children:c>0?(0,r.jsxs)(i.az,{inline:!0,color:"average",children:["[ ",1===c?"Charging":"Discharging"," ]"]}):(0,r.jsxs)(i.az,{inline:!0,color:d?"good":"bad",children:["[ ",d?"Powered":"Unpowered"," ]"]})}),(0,r.jsx)(i.Ki.Item,{label:"Gravity Charge",children:(0,r.jsx)(i.z2,{value:s/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})})]})})]})})})}},6294:function(e,n,t){"use strict";t.r(n),t.d(n,{GuestPass:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(2723),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data;return(0,r.jsx)(l.p8,{width:500,height:690,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.tU,{children:[(0,r.jsx)(i.tU.Tab,{icon:"id-card",selected:!c.showlogs,onClick:function(){return t("mode",{mode:0})},children:"Issue Pass"}),(0,r.jsxs)(i.tU.Tab,{icon:"scroll",selected:c.showlogs,onClick:function(){return t("mode",{mode:1})},children:["Records (",c.issue_log.length,")"]})]})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Authorization",children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"ID Card",children:(0,r.jsx)(i.$n,{icon:c.scan_name?"eject":"id-card",selected:c.scan_name,content:c.scan_name?c.scan_name:"-----",tooltip:c.scan_name?"Eject ID":"Insert ID",onClick:function(){return t("scan")}})})})})}),(0,r.jsx)(i.BJ.Item,{children:!c.showlogs&&(0,r.jsx)(i.wn,{title:"Issue Guest Pass",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Issue To",children:(0,r.jsx)(i.$n,{icon:"pencil-alt",content:c.giv_name?c.giv_name:"-----",disabled:!c.scan_name,onClick:function(){return t("giv_name")}})}),(0,r.jsx)(i.Ki.Item,{label:"Reason",children:(0,r.jsx)(i.$n,{icon:"pencil-alt",content:c.reason?c.reason:"-----",disabled:!c.scan_name,onClick:function(){return t("reason")}})}),(0,r.jsx)(i.Ki.Item,{label:"Duration",children:(0,r.jsx)(i.$n,{icon:"pencil-alt",content:c.duration?c.duration:"-----",disabled:!c.scan_name,onClick:function(){return t("duration")}})})]})})}),!c.showlogs&&(c.scan_name?(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(a.AccessList,{sectionButtons:(0,r.jsx)(i.$n,{icon:"id-card",content:c.printmsg,disabled:!c.canprint,onClick:function(){return t("issue")}}),grantableList:c.grantableList,accesses:c.regions,selectedList:c.selectedAccess,accessMod:function(e){return t("access",{access:e})},grantAll:function(){return t("grant_all")},denyAll:function(){return t("clear_all")},grantDep:function(e){return t("grant_region",{region:e})},denyDep:function(e){return t("deny_region",{region:e})}})}):(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"id-card",size:5,color:"gray",mb:5}),(0,r.jsx)("br",{}),"Please, insert ID Card"]})})})})),!!c.showlogs&&(0,r.jsx)(i.BJ.Item,{grow:!0,m:0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Issuance Log",buttons:(0,r.jsx)(i.$n,{icon:"print",content:"Print",disabled:!c.scan_name,onClick:function(){return t("print")}}),children:!!c.issue_log.length&&(0,r.jsx)(i.Ki,{children:c.issue_log.map(function(e,n){return(0,r.jsx)(i.Ki.Item,{children:e},n)})})||(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,r.jsxs)(i.In.Stack,{children:[(0,r.jsx)(i.In,{name:"scroll",size:5,color:"gray"}),(0,r.jsx)(i.In,{name:"slash",size:5,color:"red"})]}),(0,r.jsx)("br",{}),"No logs"]})})})})]})})})}},9511:function(e,n,t){"use strict";t.r(n),t.d(n,{HandheldChemDispenser:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=[1,5,10,20,30,50],c=function(e){return(0,r.jsx)(l.p8,{width:390,height:430,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(s,{}),(0,r.jsx)(u,{})]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,c=l.amount,s=l.energy,u=l.maxEnergy,d=l.mode;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Settings",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Energy",children:(0,r.jsxs)(i.z2,{value:s,minValue:0,maxValue:u,ranges:{good:[.5*u,1/0],average:[.25*u,.5*u],bad:[-1/0,.25*u]},children:[s," / ",u," Units"]})}),(0,r.jsx)(i.Ki.Item,{label:"Amount",verticalAlign:"middle",children:(0,r.jsx)(i.BJ,{children:a.map(function(e,n){return(0,r.jsx)(i.BJ.Item,{grow:!0,width:"15%",children:(0,r.jsx)(i.$n,{fluid:!0,icon:"cog",selected:c===e,content:e,onClick:function(){return t("amount",{amount:e})}})},n)})})}),(0,r.jsx)(i.Ki.Item,{label:"Mode",verticalAlign:"middle",children:(0,r.jsxs)(i.BJ,{justify:"space-between",children:[(0,r.jsx)(i.$n,{icon:"cog",selected:"dispense"===d,content:"Dispense",m:"0",width:"32%",onClick:function(){return t("mode",{mode:"dispense"})}}),(0,r.jsx)(i.$n,{icon:"cog",selected:"remove"===d,content:"Remove",m:"0",width:"32%",onClick:function(){return t("mode",{mode:"remove"})}}),(0,r.jsx)(i.$n,{icon:"cog",selected:"isolate"===d,content:"Isolate",m:"0",width:"32%",onClick:function(){return t("mode",{mode:"isolate"})}})]})})]})})})},u=function(e){for(var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.chemicals,c=void 0===a?[]:a,s=l.current_reagent,u=[],d=0;d<(c.length+1)%3;d++)u.push(!0);return(0,r.jsx)(i.BJ.Item,{grow:!0,height:"18%",children:(0,r.jsxs)(i.wn,{fill:!0,title:l.glass?"Drink Selector":"Chemical Selector",children:[c.map(function(e,n){return(0,r.jsx)(i.$n,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:s===e.id,content:e.title,style:{marginLeft:"2px"},onClick:function(){return t("dispense",{reagent:e.id})}},n)}),u.map(function(e,n){return(0,r.jsx)(i.BJ.Item,{grow:"1",basis:"25%"},n)})]})})}},3365:function(e,n,t){"use strict";t.r(n),t.d(n,{HealthSensor:()=>c});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,u=c.on,d=c.user_health,f=c.minHealth,h=c.maxHealth,m=c.alarm_health;return(0,r.jsx)(a.p8,{width:300,height:125,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Scanning",children:(0,r.jsx)(i.$n,{icon:"power-off",content:u?"On":"Off",color:u?null:"red",selected:u,onClick:function(){return t("scan_toggle")}})}),(0,r.jsx)(i.Ki.Item,{label:"Health activation",children:(0,r.jsx)(i.Q7,{animate:!0,step:2,stepPixelSize:6,minValue:f,maxValue:h,value:m,format:function(e){return(0,o.Mg)(e,1)},width:"80px",onChange:function(e){return t("alarm_health",{alarm_health:e})}})}),null!==d&&(0,r.jsx)(i.Ki.Item,{label:"User health",children:(0,r.jsx)(i.az,{color:s(d),bold:d>=100,children:(0,r.jsx)(i.zv,{value:d})})})]})})})})},s=function(e){return e>50?"green":e>0?"orange":"red"}},5880:function(e,n,t){"use strict";t.r(n),t.d(n,{Holodeck:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ts});var r=t(8138),i=t(7790),o=t(3384),l=t(2864),a=t(7542),c=t(2723),s=function(){var e=(0,l.Oc)(),n=e.act,t=e.data,s=t.card,u=t.card_skins,d=t.all_centcom_skins,f=t.regions;return(0,r.jsx)(o.p8,{width:600,height:565,children:(0,r.jsx)(o.p8.Content,{children:(0,r.jsxs)(i.BJ,{vertical:!0,fill:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,{title:"Basic Information",children:[(0,r.jsx)(a.CardInformation,{card:s}),(0,r.jsx)(i.Ki.Item,{label:"Job Name",children:(0,r.jsx)(i.$n,{icon:s&&"Unknown"!==s.rank?"pencil-alt":"exclamation-triangle",selected:!!s,onClick:function(){return n("set_job_name")},children:null==s?void 0:s.rank})})]})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(a.DropdownCardSkins,{is_centcom:!0,card:s,card_skins:u,all_centcom_skins:d})})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(c.AccessList,{accesses:f,selectedList:s.access,accessMod:function(e){return n("set",{access:e})},grantAll:function(){return n("grant_all")},denyAll:function(){return n("clear_all")},grantDep:function(e){return n("grant_region",{region:e})},denyDep:function(e){return n("deny_region",{region:e})}})})]})})})}},6126:function(e,n,t){"use strict";t.r(n),t.d(n,{Instrument:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)();return n.act,n.data,(0,r.jsxs)(l.p8,{width:600,height:505,children:[(0,r.jsx)(c,{}),(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(s,{}),(0,r.jsx)(d,{})]})})]})},c=function(e){var n=(0,o.Oc)(),t=n.act;if(n.data.help)return(0,r.jsx)(i.aF,{maxWidth:"75%",height:.75*window.innerHeight+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,r.jsx)(i.wn,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,r.jsxs)(i.az,{px:"0.5rem",mt:"-0.5rem",children:[(0,r.jsx)("h1",{children:"Making a Song"}),(0,r.jsxs)("p",{children:["Lines are a series of chords, separated by commas\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"(,)"}),", each with notes separated by hyphens\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"(-)"}),".",(0,r.jsx)("br",{}),"Every note in a chord will play together, with the chord timed by the\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"tempo"})," ","as defined above."]}),(0,r.jsxs)("p",{children:["Notes are played by the\xa0",(0,r.jsx)(i.az,{as:"span",color:"good",children:"names of the note"}),", and optionally, the\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"accidental"}),", and/or the"," ",(0,r.jsx)(i.az,{as:"span",color:"bad",children:"octave number"}),".",(0,r.jsx)("br",{}),"By default, every note is\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"natural"})," ","and in\xa0",(0,r.jsx)(i.az,{as:"span",color:"bad",children:"octave 3"}),". Defining a different state for either is remembered for each"," ",(0,r.jsx)(i.az,{as:"span",color:"good",children:"note"}),".",(0,r.jsxs)("ul",{children:[(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"Example:"}),"\xa0",(0,r.jsx)("i",{children:"C,D,E,F,G,A,B"})," will play a\xa0",(0,r.jsx)(i.az,{as:"span",color:"good",children:"C"}),"\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"major"})," ","scale."]}),(0,r.jsxs)("li",{children:["After a note has an\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"accidental"})," ","or\xa0",(0,r.jsx)(i.az,{as:"span",color:"bad",children:"octave"})," ","placed, it will be remembered:\xa0",(0,r.jsx)("i",{children:"C,C4,C#,C3"})," is ",(0,r.jsx)("i",{children:"C3,C4,C4#,C3#"})]})]})]}),(0,r.jsxs)("p",{children:[(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"Chords"}),"\xa0can be played simply by seperating each note with a hyphen: ",(0,r.jsx)("i",{children:"A-C#,Cn-E,E-G#,Gn-B"}),".",(0,r.jsx)("br",{}),"A"," ",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"pause"}),"\xa0may be denoted by an empty chord: ",(0,r.jsx)("i",{children:"C,E,,C,G"}),".",(0,r.jsx)("br",{}),"To make a chord be a different time, end it with /x, where the chord length will be length defined by\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"tempo / x"}),",\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"eg:"})," ",(0,r.jsx)("i",{children:"C,G/2,E/4"}),"."]}),(0,r.jsxs)("p",{children:["Combined, an example line is: ",(0,r.jsx)("i",{children:"E-E4/4,F#/2,G#/8,B/8,E3-E4/4"}),".",(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:"Lines may be up to 300 characters."}),(0,r.jsx)("li",{children:"A song may only contain up to 1,000 lines."})]})]}),(0,r.jsxs)("p",{children:["Lines are a series of chords, separated by commas\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"(,)"}),", each with notes separated by hyphens\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"(-)"}),".",(0,r.jsx)("br",{}),"Every note in a chord will play together, with the chord timed by the\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"tempo"})," ","as defined above."]}),(0,r.jsxs)("p",{children:["Notes are played by the\xa0",(0,r.jsx)(i.az,{as:"span",color:"good",children:"names of the note"}),", and optionally, the\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"accidental"}),", and/or the"," ",(0,r.jsx)(i.az,{as:"span",color:"bad",children:"octave number"}),".",(0,r.jsx)("br",{}),"By default, every note is\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"natural"})," ","and in\xa0",(0,r.jsx)(i.az,{as:"span",color:"bad",children:"octave 3"}),". Defining a different state for either is remembered for each"," ",(0,r.jsx)(i.az,{as:"span",color:"good",children:"note"}),".",(0,r.jsxs)("ul",{children:[(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"Example:"}),"\xa0",(0,r.jsx)("i",{children:"C,D,E,F,G,A,B"})," will play a\xa0",(0,r.jsx)(i.az,{as:"span",color:"good",children:"C"}),"\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"major"})," ","scale."]}),(0,r.jsxs)("li",{children:["After a note has an\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"accidental"})," ","or\xa0",(0,r.jsx)(i.az,{as:"span",color:"bad",children:"octave"})," ","placed, it will be remembered:\xa0",(0,r.jsx)("i",{children:"C,C4,C#,C3"})," is ",(0,r.jsx)("i",{children:"C3,C4,C4#,C3#"})]})]})]}),(0,r.jsxs)("p",{children:[(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"Chords"}),"\xa0can be played simply by seperating each note with a hyphen: ",(0,r.jsx)("i",{children:"A-C#,Cn-E,E-G#,Gn-B"}),".",(0,r.jsx)("br",{}),"A"," ",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"pause"}),"\xa0may be denoted by an empty chord: ",(0,r.jsx)("i",{children:"C,E,,C,G"}),".",(0,r.jsx)("br",{}),"To make a chord be a different time, end it with /x, where the chord length will be length defined by\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"tempo / x"}),",\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"eg:"})," ",(0,r.jsx)("i",{children:"C,G/2,E/4"}),"."]}),(0,r.jsxs)("p",{children:["Combined, an example line is: ",(0,r.jsx)("i",{children:"E-E4/4,F#/2,G#/8,B/8,E3-E4/4"}),".",(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:"Lines may be up to 300 characters."}),(0,r.jsx)("li",{children:"A song may only contain up to 1,000 lines."})]})]}),(0,r.jsx)("h1",{children:"Instrument Advanced Settings"}),(0,r.jsxs)("ul",{children:[(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"label",children:"Type:"}),"\xa0Whether the instrument is legacy or synthesized.",(0,r.jsx)("br",{}),"Legacy instruments have a collection of sounds that are selectively used depending on the note to play.",(0,r.jsx)("br",{}),"Synthesized instruments use a base sound and change its pitch to match the note to play."]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"label",children:"Current:"}),"\xa0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!"]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),"\xa0The pitch to apply to all notes of the song."]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"label",children:"Sustain Mode:"}),"\xa0How a played note fades out.",(0,r.jsx)("br",{}),"Linear sustain means a note will fade out at a constant rate.",(0,r.jsx)("br",{}),"Exponential sustain means a note will fade out at an exponential rate, sounding smoother."]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),"\xa0The volume threshold at which a note is fully stopped."]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),"\xa0Whether the last note should be sustained indefinitely."]})]}),(0,r.jsx)(i.$n,{color:"grey",content:"Close",onClick:function(){return t("help")}})]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.lines,c=l.playing,s=l.repeat,d=l.maxRepeats,f=l.tempo,h=l.minTempo,m=l.maxTempo,p=l.tickLag,x=l.volume,g=l.minVolume,j=l.maxVolume,b=l.ready;return(0,r.jsxs)(i.wn,{m:0,title:"Instrument",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:"info",content:"Help",onClick:function(){return t("help")}}),(0,r.jsx)(i.$n,{icon:"file",content:"New",onClick:function(){return t("newsong")}}),(0,r.jsx)(i.$n,{icon:"upload",content:"Import",onClick:function(){return t("import")}})]}),children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Playback",children:[(0,r.jsx)(i.$n,{selected:c,disabled:0===a.length||s<0,icon:"play",content:"Play",onClick:function(){return t("play")}}),(0,r.jsx)(i.$n,{disabled:!c,icon:"stop",content:"Stop",onClick:function(){return t("stop")}})]}),(0,r.jsx)(i.Ki.Item,{label:"Repeat",children:(0,r.jsx)(i.Ap,{animated:!0,minValue:0,maxValue:d,value:s,stepPixelSize:59,onChange:function(e,n){return t("repeat",{new:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Tempo",children:(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{disabled:f>=m,content:"-",as:"span",mr:"0.5rem",onClick:function(){return t("tempo",{new:f+p})}}),Math.round(600/f)," BPM",(0,r.jsx)(i.$n,{disabled:f<=h,content:"+",as:"span",ml:"0.5rem",onClick:function(){return t("tempo",{new:f-p})}})]})}),(0,r.jsx)(i.Ki.Item,{label:"Volume",children:(0,r.jsx)(i.Ap,{animated:!0,minValue:g,maxValue:j,value:x,stepPixelSize:6,tickWhileDragging:!0,onChange:function(e,n){return t("setvolume",{new:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Status",children:b?(0,r.jsx)(i.az,{color:"good",children:"Ready"}):(0,r.jsx)(i.az,{color:"bad",children:"Instrument Definition Error!"})})]}),(0,r.jsx)(u,{})]})},u=function(e){var n,t,l=(0,o.Oc)(),a=l.act,c=l.data,s=c.allowedInstrumentNames,u=c.instrumentLoaded,d=c.instrument,f=c.canNoteShift,h=c.noteShift,m=c.noteShiftMin,p=c.noteShiftMax,x=c.sustainMode,g=c.sustainLinearDuration,j=c.sustainExponentialDropoff,b=c.legacy,y=c.sustainDropoffVolume,v=c.sustainHeldNote;return 1===x?(n="Linear",t=(0,r.jsx)(i.Ap,{minValue:.1,maxValue:5,value:g,step:.5,stepPixelSize:85,format:function(e){return Math.round(100*e)/100+" seconds"},onChange:function(e,n){return a("setlinearfalloff",{new:n/10})}})):2===x&&(n="Exponential",t=(0,r.jsx)(i.Ap,{minValue:1.025,maxValue:10,value:j,step:.01,format:function(e){return Math.round(1e3*e)/1e3+"% per decisecond"},onChange:function(e,n){return a("setexpfalloff",{new:n})}})),s.sort(),(0,r.jsx)(i.az,{my:-1,children:(0,r.jsx)(i.Nt,{mt:"1rem",mb:"0",title:"Advanced",children:(0,r.jsxs)(i.wn,{mt:-1,children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Type",children:b?"Legacy":"Synthesized"}),(0,r.jsx)(i.Ki.Item,{label:"Current",children:u?(0,r.jsx)(i.ms,{options:s,selected:d,width:"50%",onSelected:function(e){return a("switchinstrument",{name:e})}}):(0,r.jsx)(i.az,{color:"bad",children:"None!"})}),!!(!b&&f)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Note Shift/Note Transpose",children:(0,r.jsx)(i.Ap,{minValue:m,maxValue:p,value:h,stepPixelSize:2,format:function(e){return e+" keys / "+Math.round(e/12*100)/100+" octaves"},onChange:function(e,n){return a("setnoteshift",{new:n})}})}),(0,r.jsxs)(i.Ki.Item,{label:"Sustain Mode",children:[(0,r.jsx)(i.ms,{options:["Linear","Exponential"],selected:n,mb:"0.4rem",onSelected:function(e){return a("setsustainmode",{new:e})}}),t]}),(0,r.jsx)(i.Ki.Item,{label:"Volume Dropoff Threshold",children:(0,r.jsx)(i.Ap,{animated:!0,minValue:.01,maxValue:100,value:y,stepPixelSize:6,onChange:function(e,n){return a("setdropoffvolume",{new:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Sustain indefinitely last held note",children:(0,r.jsx)(i.$n,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"Yes":"No",onClick:function(){return a("togglesustainhold")}})})]})]}),(0,r.jsx)(i.$n,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){return a("reset")}})]})})})},d=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.playing,c=l.lines,s=l.editing;return(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{disabled:!s||a,icon:"plus",content:"Add Line",onClick:function(){return t("newline",{line:c.length+1})}}),(0,r.jsx)(i.$n,{selected:!s,icon:s?"chevron-up":"chevron-down",onClick:function(){return t("edit")}})]}),children:!!s&&(c.length>0?(0,r.jsx)(i.Ki,{children:c.map(function(e,n){return(0,r.jsx)(i.Ki.Item,{label:n+1,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{disabled:a,icon:"pen",onClick:function(){return t("modifyline",{line:n+1})}}),(0,r.jsx)(i.$n,{disabled:a,icon:"trash",onClick:function(){return t("deleteline",{line:n+1})}})]}),children:e},n)})}):(0,r.jsx)(i.az,{color:"label",children:"Song is empty."}))})}},1783:function(e,n,t){"use strict";t.r(n),t.d(n,{KeyComboModal:()=>x});var r=t(8138),i=t(4530),o=t(7790),l=t(925),a=t(2864),c=t(3384),s=t(1942),u=t(9472);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=48&&e.keyCode<=57)&&(n+="Shift"),3===e.location&&(n+="Numpad"),h(e))if(e.shiftKey&&e.keyCode>=48&&e.keyCode<=57)n+="Shift"+(e.keyCode-48);else{var t=e.key.toUpperCase();n+=m[t]||t}return n},x=function(e){var n=(0,a.Oc)(),t=n.act,d=n.data,m=d.init_value,x=d.large_buttons,g=d.message,j=void 0===g?"":g,b=d.title,y=d.timeout,v=f((0,i.useState)(m),2),w=v[0],k=v[1],_=f((0,i.useState)(!0),2),C=_[0],I=_[1],S=function(e){if(!C){e.key===l._.Enter&&t("submit",{entry:w}),(0,l.KL)(e.key)&&t("cancel");return}if(e.preventDefault(),h(e)){O(p(e)),I(!1);return}if(e.key===l._.Escape){O(m),I(!1);return}},O=function(e){e!==w&&k(e)},A=130+(j.length>30?Math.ceil(j.length/3):0)+(j.length&&x?5:0);return(0,r.jsxs)(c.p8,{title:b,width:240,height:A,children:[y&&(0,r.jsx)(u.Loader,{value:y}),(0,r.jsx)(c.p8.Content,{onKeyDown:function(e){S(e)},children:(0,r.jsxs)(o.wn,{fill:!0,children:[(0,r.jsx)(o.y5,{}),(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.az,{color:"label",children:j})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{disabled:C,content:C&&null!==C?"Awaiting input...":""+w,width:"100%",textAlign:"center",onClick:function(){O(m),I(!0)}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(s.InputButtons,{input:w})})]})]})})]})}},3928:function(e,n,t){"use strict";t.r(n),t.d(n,{KeycardAuth:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=(0,r.jsx)(i.wn,{title:"Keycard Authentication Device",children:(0,r.jsx)(i.az,{children:"This device is used to trigger certain high security events. It requires the simultaneous swipe of two high-level ID cards."})});if(!a.swiping&&!a.busy)return(0,r.jsx)(l.p8,{width:540,height:280,children:(0,r.jsxs)(l.p8.Content,{children:[c,(0,r.jsx)(i.wn,{title:"Choose Action",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Red Alert",children:(0,r.jsx)(i.$n,{icon:"exclamation-triangle",disabled:!a.redAvailable,onClick:function(){return t("triggerevent",{triggerevent:"Red Alert"})},content:"Red Alert"})}),(0,r.jsx)(i.Ki.Item,{label:"ERT",children:(0,r.jsx)(i.$n,{icon:"broadcast-tower",onClick:function(){return t("triggerevent",{triggerevent:"Emergency Response Team"})},content:"Call ERT"})}),(0,r.jsxs)(i.Ki.Item,{label:"Emergency Maint Access",children:[(0,r.jsx)(i.$n,{icon:"door-open",onClick:function(){return t("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})},content:"Grant"}),(0,r.jsx)(i.$n,{icon:"door-closed",onClick:function(){return t("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})},content:"Revoke"})]}),(0,r.jsxs)(i.Ki.Item,{label:"Emergency Station-Wide Access",children:[(0,r.jsx)(i.$n,{icon:"door-open",onClick:function(){return t("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})},content:"Grant"}),(0,r.jsx)(i.$n,{icon:"door-closed",onClick:function(){return t("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})},content:"Revoke"})]})]})})]})});var s=(0,r.jsx)(i.az,{color:"red",children:"Waiting for YOU to swipe your ID..."});return a.hasSwiped||a.ertreason||"Emergency Response Team"!==a.event?a.hasConfirm?s=(0,r.jsx)(i.az,{color:"green",children:"Request Confirmed!"}):a.isRemote?s=(0,r.jsx)(i.az,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):a.hasSwiped&&(s=(0,r.jsx)(i.az,{color:"orange",children:"Waiting for second person to confirm..."})):s=(0,r.jsx)(i.az,{color:"red",children:"Fill out the reason for your ERT request."}),(0,r.jsx)(l.p8,{width:540,height:265,children:(0,r.jsxs)(l.p8.Content,{children:[c,"Emergency Response Team"===a.event&&(0,r.jsx)(i.wn,{title:"Reason for ERT Call",children:(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{color:a.ertreason?"":"red",icon:a.ertreason?"check":"pencil-alt",content:a.ertreason?a.ertreason:"-----",disabled:a.busy,onClick:function(){return t("ert")}})})}),(0,r.jsx)(i.wn,{title:a.event,buttons:(0,r.jsx)(i.$n,{icon:"arrow-circle-left",content:"Back",disabled:a.busy||a.hasConfirm,onClick:function(){return t("reset")}}),children:s})]})})}},6706:function(e,n,t){"use strict";t.r(n),t.d(n,{KitchenMachine:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(6696),c=function(e){var n=(0,o.Oc)(),t=n.data,c=n.config,u=t.ingredients,d=t.operating,f=c.title;return(0,r.jsx)(l.p8,{width:400,height:320,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(a.Operating,{operating:d,name:f}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(s,{})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Ingredients",children:(0,r.jsx)(i.XI,{className:"Ingredient__Table",children:u.map(function(e){return(0,r.jsxs)(i.XI.Row,{tr:5,children:[(0,r.jsx)("td",{children:(0,r.jsx)(i.XI.Cell,{bold:!0,children:e.name})}),(0,r.jsx)("td",{children:(0,r.jsxs)(i.XI.Cell,{collapsing:!0,textAlign:"center",children:[e.amount," ",e.units]})})]},e.name)})})})})]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.inactive,c=l.tooltip;return(0,r.jsx)(i.wn,{title:"Controls",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"power-off",disabled:a,tooltip:a?c:"",tooltipPosition:"bottom",content:"Activate",onClick:function(){return t("cook")}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"eject",disabled:a,tooltip:a?c:"",tooltipPosition:"bottom",content:"Eject Contents",onClick:function(){return t("eject")}})})]})})}},9846:function(e,n,t){"use strict";t.r(n),t.d(n,{LawManager:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,u=a.isAdmin,d=a.isSlaved,f=a.isMalf,h=a.isAIMalf,m=a.view;return(0,r.jsx)(l.p8,{width:800,height:f?620:365,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[!!(u&&d)&&(0,r.jsxs)(i.IC,{children:["This unit is slaved to ",d,"."]}),!!(f||h)&&(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{content:"Law Management",selected:0===m,onClick:function(){return t("set_view",{set_view:0})}}),(0,r.jsx)(i.$n,{content:"Lawsets",selected:1===m,onClick:function(){return t("set_view",{set_view:1})}})]}),0===m&&(0,r.jsx)(c,{}),1===m&&(0,r.jsx)(s,{})]})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.has_zeroth_laws,c=l.zeroth_laws,s=l.has_ion_laws,d=l.ion_laws,f=l.ion_law_nr,h=l.has_inherent_laws,m=l.inherent_laws,p=l.has_supplied_laws,x=l.supplied_laws,g=l.channels,j=l.channel,b=l.isMalf,y=l.isAdmin,v=l.zeroth_law,w=l.ion_law,k=l.inherent_law,_=l.supplied_law,C=l.supplied_law_position;return(0,r.jsxs)(r.Fragment,{children:[!!a&&(0,r.jsx)(u,{title:"ERR_NULL_VALUE",laws:c,isMalf:b}),!!s&&(0,r.jsx)(u,{title:"".concat(f),laws:d,isMalf:b}),!!h&&(0,r.jsx)(u,{title:"Inherent",laws:m,isMalf:b}),!!p&&(0,r.jsx)(u,{title:"Supplied",laws:x,isMalf:b}),(0,r.jsx)(i.wn,{title:"Statement Settings",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Statement Channel",children:g.map(function(e){return(0,r.jsx)(i.$n,{content:e.channel,selected:e.channel===j,onClick:function(){return t("law_channel",{law_channel:e.channel})}},e.channel)})}),(0,r.jsx)(i.Ki.Item,{label:"State Laws",children:(0,r.jsx)(i.$n,{content:"State Laws",onClick:function(){return t("state_laws")}})}),(0,r.jsx)(i.Ki.Item,{label:"Law Notification",children:(0,r.jsx)(i.$n,{content:"Notify",onClick:function(){return t("notify_laws")}})})]})}),!!b&&(0,r.jsx)(i.wn,{title:"Add Laws",children:(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{width:"10%",children:"Type"}),(0,r.jsx)(i.XI.Cell,{width:"60%",children:"Law"}),(0,r.jsx)(i.XI.Cell,{width:"10%",children:"Index"}),(0,r.jsx)(i.XI.Cell,{width:"20%",children:"Actions"})]}),!!(y&&!a)&&(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:"Zero"}),(0,r.jsx)(i.XI.Cell,{children:v}),(0,r.jsx)(i.XI.Cell,{children:"N/A"}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n,{content:"Edit",icon:"pencil-alt",onClick:function(){return t("change_zeroth_law")}}),(0,r.jsx)(i.$n,{content:"Add",icon:"plus",onClick:function(){return t("add_zeroth_law")}})]})]}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:"Ion"}),(0,r.jsx)(i.XI.Cell,{children:w}),(0,r.jsx)(i.XI.Cell,{children:"N/A"}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n,{content:"Edit",icon:"pencil-alt",onClick:function(){return t("change_ion_law")}}),(0,r.jsx)(i.$n,{content:"Add",icon:"plus",onClick:function(){return t("add_ion_law")}})]})]}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:"Inherent"}),(0,r.jsx)(i.XI.Cell,{children:k}),(0,r.jsx)(i.XI.Cell,{children:"N/A"}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n,{content:"Edit",icon:"pencil-alt",onClick:function(){return t("change_inherent_law")}}),(0,r.jsx)(i.$n,{content:"Add",icon:"plus",onClick:function(){return t("add_inherent_law")}})]})]}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:"Supplied"}),(0,r.jsx)(i.XI.Cell,{children:_}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{content:C,onClick:function(){return t("change_supplied_law_position")}})}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n,{content:"Edit",icon:"pencil-alt",onClick:function(){return t("change_supplied_law")}}),(0,r.jsx)(i.$n,{content:"Add",icon:"plus",onClick:function(){return t("add_supplied_law")}})]})]})]})})]})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.law_sets;return(0,r.jsx)(i.az,{children:l.map(function(e){return(0,r.jsx)(i.wn,{title:e.name+" - "+e.header,buttons:(0,r.jsx)(i.$n,{content:"Load Laws",icon:"download",onClick:function(){return t("transfer_laws",{transfer_laws:e.ref})}}),children:(0,r.jsxs)(i.Ki,{children:[e.laws.has_ion_laws>0&&e.laws.ion_laws.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e.index,children:e.law},e.index)}),e.laws.has_zeroth_laws>0&&e.laws.zeroth_laws.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e.index,children:e.law},e.index)}),e.laws.has_inherent_laws>0&&e.laws.inherent_laws.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e.index,children:e.law},e.index)}),e.laws.has_supplied_laws>0&&e.laws.inherent_laws.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e.index,children:e.law},e.index)})]})},e.name)})})},u=function(e){var n=(0,o.Oc)(),t=n.act;n.data;var l=e.isMalf,a=e.laws,c=e.title;return(0,r.jsx)(i.wn,{title:c+" Laws",children:(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{width:"10%",children:"Index"}),(0,r.jsx)(i.XI.Cell,{width:"69%",children:"Law"}),(0,r.jsx)(i.XI.Cell,{width:"21%",children:"State?"})]}),a.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.index}),(0,r.jsx)(i.XI.Cell,{children:e.law}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n,{content:e.state?"Yes":"No",selected:e.state,onClick:function(){return t("state_law",{ref:e.ref,state_law:+!e.state})}}),!!l&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"Edit",icon:"pencil-alt",onClick:function(){return t("edit_law",{edit_law:e.ref})}}),(0,r.jsx)(i.$n,{content:"Delete",icon:"trash",color:"red",onClick:function(){return t("delete_law",{delete_law:e.ref})}})]})]})]},e.law)})]})})}},3023:function(e,n,t){"use strict";t.r(n),t.d(n,{LibraryComputer:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=t(4744);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=e?"caution":"default",onClick:function(){return i("set_rating",{rating_value:e})}})},n)}),(0,r.jsxs)(o.BJ.Item,{bold:!0,ml:2,fontSize:"150%",children:[a+"/10",(0,r.jsx)(o.In,{name:"star",color:"yellow",ml:.5,verticalAlign:"top"})]})]})},h=function(e){var n=(0,l.Oc)().data,t=e.tabIndex,i=e.setTabIndex,a=n.login_state;return(0,r.jsx)(o.BJ.Item,{mb:1,children:(0,r.jsxs)(o.tU,{fluid:!0,textAlign:"center",children:[(0,r.jsx)(o.tU.Tab,{selected:0===t,onClick:function(){return i(0)},children:"Book Archives"}),(0,r.jsx)(o.tU.Tab,{selected:1===t,onClick:function(){return i(1)},children:"Corporate Literature"}),(0,r.jsx)(o.tU.Tab,{selected:2===t,onClick:function(){return i(2)},children:"Upload Book"}),1===a&&(0,r.jsx)(o.tU.Tab,{selected:3===t,onClick:function(){return i(3)},children:"Patron Manager"}),(0,r.jsx)(o.tU.Tab,{selected:4===t,onClick:function(){return i(4)},children:"Inventory"})]})})},m=function(e){switch(e.tabIndex){case 0:return(0,r.jsx)(x,{});case 1:return(0,r.jsx)(g,{});case 2:return(0,r.jsx)(j,{});case 3:return(0,r.jsx)(b,{});case 4:return(0,r.jsx)(y,{});default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},p=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.searchcontent,s=i.book_categories,u=i.user_ckey,d=[];return s.map(function(e){return d[e.description]=e.category_id}),(0,r.jsxs)(o.BJ,{children:[(0,r.jsxs)(o.BJ.Item,{width:"35%",children:[(0,r.jsxs)(o.az,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,r.jsx)(o.In,{name:"edit",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Inputs"]}),(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Title",children:(0,r.jsx)(o.$n,{textAlign:"left",icon:"pen",width:20,content:a.title||"Input Title",onClick:function(){return(0,c.modalOpen)("edit_search_title")}})}),(0,r.jsx)(o.Ki.Item,{label:"Author",children:(0,r.jsx)(o.$n,{textAlign:"left",icon:"pen",width:20,content:a.author||"Input Author",onClick:function(){return(0,c.modalOpen)("edit_search_author")}})}),(0,r.jsx)(o.Ki.Item,{label:"Ratings",children:(0,r.jsxs)(o.BJ,{children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{mr:1,width:"min-content",content:a.ratingmin,onClick:function(){return(0,c.modalOpen)("edit_search_ratingmin")}})}),(0,r.jsx)(o.BJ.Item,{children:"To"}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{ml:1,width:"min-content",content:a.ratingmax,onClick:function(){return(0,c.modalOpen)("edit_search_ratingmax")}})})]})})]})]}),(0,r.jsxs)(o.BJ.Item,{width:"40%",children:[(0,r.jsxs)(o.az,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,r.jsx)(o.In,{name:"clipboard-list",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Book Categories"]}),(0,r.jsx)(o.Ki,{children:(0,r.jsx)(o.Ki.Item,{label:"Select Categories",children:(0,r.jsx)(o.az,{mt:2,children:(0,r.jsx)(o.ms,{mt:.6,width:"190px",options:s.map(function(e){return e.description}),onSelected:function(e){return t("toggle_search_category",{category_id:d[e]})}})})})}),(0,r.jsx)("br",{}),s.filter(function(e){return a.categories.includes(e.category_id)}).map(function(e){return(0,r.jsx)(o.$n,{content:e.description,selected:!0,icon:"unlink",onClick:function(){return t("toggle_search_category",{category_id:e.category_id})}},e.category_id)})]}),(0,r.jsxs)(o.BJ.Item,{children:[(0,r.jsxs)(o.az,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,r.jsx)(o.In,{name:"search-plus",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Actions"]}),(0,r.jsx)(o.$n,{content:"Clear Search",icon:"eraser",onClick:function(){return t("clear_search")}}),a.ckey?(0,r.jsx)(o.$n,{mb:.5,content:"Stop Showing My Books",color:"bad",icon:"search",onClick:function(){return t("clear_ckey_search")}}):(0,r.jsx)(o.$n,{content:"Find My Books",icon:"search",onClick:function(){return t("find_users_books",{user_ckey:u})}})]})]})},x=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.external_booklist,s=i.archive_pagenumber,u=i.num_pages,d=i.login_state;return(0,r.jsxs)(o.wn,{fill:!0,scrollable:!0,title:"Book System Access",buttons:(0,r.jsxs)("div",{children:[(0,r.jsx)(o.$n,{icon:"angle-double-left",disabled:1===s,onClick:function(){return t("deincrementpagemax")}}),(0,r.jsx)(o.$n,{icon:"chevron-left",disabled:1===s,onClick:function(){return t("deincrementpage")}}),(0,r.jsx)(o.$n,{bold:!0,content:s,onClick:function(){return(0,c.modalOpen)("setpagenumber")}}),(0,r.jsx)(o.$n,{icon:"chevron-right",disabled:s===u,onClick:function(){return t("incrementpage")}}),(0,r.jsx)(o.$n,{icon:"angle-double-right",disabled:s===u,onClick:function(){return t("incrementpagemax")}})]}),children:[(0,r.jsx)(p,{}),(0,r.jsx)("hr",{}),(0,r.jsxs)(o.XI,{className:"Library__Booklist",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"SSID"}),(0,r.jsx)(o.XI.Cell,{children:"Title"}),(0,r.jsx)(o.XI.Cell,{children:"Author"}),(0,r.jsx)(o.XI.Cell,{children:"Ratings"}),(0,r.jsx)(o.XI.Cell,{children:"Category"}),(0,r.jsx)(o.XI.Cell,{textAlign:"middle",children:"Actions"})]}),a.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.id}),(0,r.jsxs)(o.XI.Cell,{textAlign:"left",children:[(0,r.jsx)(o.In,{name:"book",mr:.5}),e.title.length>45?e.title.substr(0,45)+"...":e.title]}),(0,r.jsx)(o.XI.Cell,{textAlign:"left",children:e.author.length>30?e.author.substr(0,30)+"...":e.author}),(0,r.jsxs)(o.XI.Cell,{children:[e.rating,(0,r.jsx)(o.In,{name:"star",ml:.5,color:"yellow",verticalAlign:"middle"})]}),(0,r.jsx)(o.XI.Cell,{children:e.categories.join(", ").substr(0,45)}),(0,r.jsxs)(o.XI.Cell,{textAlign:"right",children:[1===d&&(0,r.jsx)(o.$n,{content:"Order",icon:"print",onClick:function(){return t("order_external_book",{bookid:e.id})}}),(0,r.jsx)(o.$n,{content:"More...",onClick:function(){return(0,c.modalOpen)("expand_info",{bookid:e.id})}})]})]},e.id)})]})]})},g=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.programmatic_booklist,s=i.login_state;return(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:"Corporate Book Catalog",children:(0,r.jsxs)(o.XI,{className:"Library__Booklist",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"SSID"}),(0,r.jsx)(o.XI.Cell,{children:"Title"}),(0,r.jsx)(o.XI.Cell,{children:"Author"}),(0,r.jsx)(o.XI.Cell,{textAlign:"middle",children:"Actions"})]}),a.map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.id}),(0,r.jsxs)(o.XI.Cell,{textAlign:"left",children:[(0,r.jsx)(o.In,{name:"book",mr:2}),e.title]}),(0,r.jsx)(o.XI.Cell,{textAlign:"left",children:e.author}),(0,r.jsxs)(o.XI.Cell,{textAlign:"right",children:[1===s&&(0,r.jsx)(o.$n,{content:"Order",icon:"print",onClick:function(){return t("order_programmatic_book",{bookid:e.id})}}),(0,r.jsx)(o.$n,{content:"More...",onClick:function(){return(0,c.modalOpen)("expand_info",{bookid:e.id})}})]})]},n)})]})})},j=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.selectedbook,s=i.book_categories,u=i.user_ckey,d=[];return s.map(function(e){return d[e.description]=e.category_id}),(0,r.jsxs)(o.wn,{fill:!0,scrollable:!0,title:"Book System Upload",buttons:(0,r.jsx)(o.$n.Confirm,{bold:!0,width:9.5,icon:"upload",disabled:a.copyright,content:"Upload Book",onClick:function(){return t("uploadbook",{user_ckey:u})}}),children:[a.copyright?(0,r.jsx)(o.IC,{color:"red",children:"WARNING: You cannot upload or modify the attributes of a copyrighted book"}):(0,r.jsx)("br",{}),(0,r.jsxs)(o.az,{ml:15,mb:3,fontSize:"1.2rem",bold:!0,children:[(0,r.jsx)(o.In,{name:"search-plus",verticalAlign:"middle",size:3,mr:2}),"Book Uploader"]}),(0,r.jsxs)(o.BJ,{children:[(0,r.jsxs)(o.BJ.Item,{children:[(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Title",children:(0,r.jsx)(o.$n,{width:20,textAlign:"left",icon:"pen",disabled:a.copyright,content:a.title,onClick:function(){return(0,c.modalOpen)("edit_selected_title")}})}),(0,r.jsx)(o.Ki.Item,{label:"Author",children:(0,r.jsx)(o.$n,{width:20,textAlign:"left",icon:"pen",disabled:a.copyright,content:a.author,onClick:function(){return(0,c.modalOpen)("edit_selected_author")}})}),(0,r.jsx)(o.Ki.Item,{label:"Select Categories",children:(0,r.jsx)(o.az,{children:(0,r.jsx)(o.ms,{width:"240px",options:s.map(function(e){return e.description}),onSelected:function(e){return t("toggle_upload_category",{category_id:d[e]})}})})})]}),(0,r.jsx)("br",{}),s.filter(function(e){return a.categories.includes(e.category_id)}).map(function(e){return(0,r.jsx)(o.$n,{content:e.description,disabled:a.copyright,selected:!0,icon:"unlink",onClick:function(){return t("toggle_upload_category",{category_id:e.category_id})}},e.category_id)})]}),(0,r.jsx)(o.BJ.Item,{mr:75,children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Summary",children:(0,r.jsx)(o.$n,{icon:"pen",width:"auto",disabled:a.copyright,content:"Edit Summary",onClick:function(){return(0,c.modalOpen)("edit_selected_summary")}})}),(0,r.jsx)(o.Ki.Item,{children:a.summary})]})})]})]})},b=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data.checkout_data;return(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:"Checked Out Books",children:(0,r.jsxs)(o.XI,{className:"Library__Booklist",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"Patron"}),(0,r.jsx)(o.XI.Cell,{children:"Title"}),(0,r.jsx)(o.XI.Cell,{children:"Time Left"}),(0,r.jsx)(o.XI.Cell,{children:"Actions"})]}),i.map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsxs)(o.XI.Cell,{children:[(0,r.jsx)(o.In,{name:"user-tag"}),e.patron_name]}),(0,r.jsx)(o.XI.Cell,{textAlign:"left",children:e.title}),(0,r.jsx)(o.XI.Cell,{children:e.timeleft>=0?e.timeleft:"LATE"}),(0,r.jsx)(o.XI.Cell,{textAlign:"left",children:(0,r.jsx)(o.$n,{content:"Mark Lost",icon:"flag",color:"bad",disabled:e.timeleft>=0,onClick:function(){return t("reportlost",{libraryid:e.libraryid})}})})]},n)})]})})},y=function(e){var n=(0,l.Oc)(),t=(n.act,n.data).inventory_list;return(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:"Library Inventory",children:(0,r.jsxs)(o.XI,{className:"Library__Booklist",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"LIB ID"}),(0,r.jsx)(o.XI.Cell,{children:"Title"}),(0,r.jsx)(o.XI.Cell,{children:"Author"}),(0,r.jsx)(o.XI.Cell,{children:"Status"})]}),t.map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.libraryid}),(0,r.jsxs)(o.XI.Cell,{textAlign:"left",children:[(0,r.jsx)(o.In,{name:"book"})," ",e.title]}),(0,r.jsx)(o.XI.Cell,{textAlign:"left",children:e.author}),(0,r.jsx)(o.XI.Cell,{textAlign:"left",children:e.checked_out?"Checked Out":"Available"})]},n)})]})})};(0,c.modalRegisterBodyOverride)("expand_info",function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=e.args,s=i.user_ckey;return(0,r.jsxs)(o.wn,{children:[(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Title",children:a.title}),(0,r.jsx)(o.Ki.Item,{label:"Author",children:a.author}),(0,r.jsx)(o.Ki.Item,{label:"Summary",children:a.summary}),(0,r.jsxs)(o.Ki.Item,{label:"Rating",children:[a.rating,(0,r.jsx)(o.In,{name:"star",color:"yellow",verticalAlign:"top"})]}),!a.isProgrammatic&&(0,r.jsx)(o.Ki.Item,{label:"Categories",children:a.categories.join(", ")})]}),(0,r.jsx)("br",{}),s===a.ckey&&(0,r.jsx)(o.$n,{content:"Delete Book",icon:"trash",color:"red",disabled:a.isProgrammatic,onClick:function(){return t("delete_book",{bookid:a.id,user_ckey:s})}}),(0,r.jsx)(o.$n,{content:"Report Book",icon:"flag",color:"red",disabled:a.isProgrammatic,onClick:function(){return(0,c.modalOpen)("report_book",{bookid:a.id})}}),(0,r.jsx)(o.$n,{content:"Rate Book",icon:"star",color:"caution",disabled:a.isProgrammatic,onClick:function(){return(0,c.modalOpen)("rate_info",{bookid:a.id})}})]})}),(0,c.modalRegisterBodyOverride)("report_book",function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=e.args,s=a.selected_report,u=a.report_categories,d=a.user_ckey;return(0,r.jsxs)(o.wn,{level:2,m:"-1rem",pb:"1.5rem",title:"Report this book for Rule Violations",children:[(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Title",children:c.title}),(0,r.jsx)(o.Ki.Item,{label:"Reasons",children:(0,r.jsx)(o.az,{children:u.map(function(e,n){return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(o.$n,{content:e.description,selected:e.category_id===s,onClick:function(){return t("set_report",{report_type:e.category_id})}}),(0,r.jsx)("br",{})]},n)})})})]}),(0,r.jsx)(o.$n.Confirm,{bold:!0,icon:"paper-plane",content:"Submit Report",onClick:function(){return t("submit_report",{bookid:c.id,user_ckey:d})}})]})}),(0,c.modalRegisterBodyOverride)("rate_info",function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=e.args,c=i.user_ckey;return(0,r.jsxs)(o.wn,{level:2,m:"-1rem",pb:"1.5rem",children:[(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Title",children:a.title}),(0,r.jsx)(o.Ki.Item,{label:"Author",children:a.author}),(0,r.jsxs)(o.Ki.Item,{label:"Rating",children:[a.current_rating?a.current_rating:0,(0,r.jsx)(o.In,{name:"star",color:"yellow",ml:.5,verticalAlign:"middle"})]}),(0,r.jsx)(o.Ki.Item,{label:"Total Ratings",children:a.total_ratings?a.total_ratings:0})]}),(0,r.jsx)(f,{}),(0,r.jsx)(o.$n.Confirm,{mt:2,content:"Submit",icon:"paper-plane",onClick:function(){return t("rate_book",{bookid:a.id,user_ckey:c})}})]})})},183:function(e,n,t){"use strict";t.r(n),t.d(n,{LibraryManager:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4744),c=function(e){return(0,r.jsxs)(l.p8,{width:600,height:600,children:[(0,r.jsx)(a.ComplexModal,{}),(0,r.jsx)(l.p8.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,r.jsx)(s,{})})]})},s=function(e){var n=(0,o.Oc)();switch((n.act,n.data).pagestate){case 1:return(0,r.jsx)(u,{});case 2:return(0,r.jsx)(f,{});case 3:return(0,r.jsx)(d,{});default:return"WE SHOULDN'T BE HERE!"}},u=function(e){var n=(0,o.Oc)(),t=n.act;return n.data,(0,r.jsxs)(i.wn,{children:[(0,r.jsxs)(i.az,{fontSize:"1.4rem",bold:!0,children:[(0,r.jsx)(i.In,{name:"user-shield",verticalAlign:"middle",size:3,mr:"1rem"}),"Library Manager"]}),(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{icon:"trash",width:"auto",color:"danger",content:"Delete Book by SSID",onClick:function(){return(0,a.modalOpen)("specify_ssid_delete")}}),(0,r.jsx)(i.$n,{icon:"user-slash",width:"auto",color:"danger",content:"Delete All Books By CKEY",onClick:function(){return(0,a.modalOpen)("specify_ckey_delete")}}),(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{icon:"search",width:"auto",content:"View All Books By CKEY",onClick:function(){return(0,a.modalOpen)("specify_ckey_search")}}),(0,r.jsx)(i.$n,{icon:"search",width:"auto",content:"View All Reported Books",onClick:function(){return t("view_reported_books")}})]})},d=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.reports;return(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.XI,{className:"Library__Booklist",children:[(0,r.jsxs)(i.az,{fontSize:"1.2rem",bold:!0,children:[(0,r.jsx)(i.In,{name:"user-secret",verticalAlign:"middle",size:2,mr:"1rem"}),(0,r.jsx)("br",{}),"All Reported Books",(0,r.jsx)("br",{})]}),(0,r.jsx)(i.$n,{content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){return t("return")}}),(0,r.jsxs)(i.XI.Row,{bold:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Uploader CKEY"}),(0,r.jsx)(i.XI.Cell,{children:"SSID"}),(0,r.jsx)(i.XI.Cell,{children:"Title"}),(0,r.jsx)(i.XI.Cell,{children:"Author"}),(0,r.jsx)(i.XI.Cell,{children:"Report Type"}),(0,r.jsx)(i.XI.Cell,{children:"Reporter Ckey"}),(0,r.jsx)(i.XI.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),l.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{bold:!0,children:e.uploader_ckey}),(0,r.jsx)(i.XI.Cell,{children:e.id}),(0,r.jsxs)(i.XI.Cell,{textAlign:"left",children:[(0,r.jsx)(i.In,{name:"book"}),e.title]}),(0,r.jsx)(i.XI.Cell,{textAlign:"left",children:e.author}),(0,r.jsx)(i.XI.Cell,{textAlign:"left",children:e.report_description}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:e.reporter_ckey}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n.Confirm,{content:"Delete",icon:"trash",onClick:function(){return t("delete_book",{bookid:e.id})}}),(0,r.jsx)(i.$n,{content:"Unflag",icon:"flag",color:"caution",onClick:function(){return t("unflag_book",{bookid:e.id})}}),(0,r.jsx)(i.$n,{content:"View",onClick:function(){return t("view_book",{bookid:e.id})}})]})]},e.id)})]})})},f=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.ckey,c=l.booklist;return(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.XI,{className:"Library__Booklist",children:[(0,r.jsxs)(i.az,{fontSize:"1.2rem",bold:!0,children:[(0,r.jsx)(i.In,{name:"user",verticalAlign:"middle",size:2,mr:"1rem"}),(0,r.jsx)("br",{}),"Books uploaded by ",a,(0,r.jsx)("br",{})]}),(0,r.jsx)(i.$n,{mt:1,content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){return t("return")}}),(0,r.jsxs)(i.XI.Row,{bold:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"SSID"}),(0,r.jsx)(i.XI.Cell,{children:"Title"}),(0,r.jsx)(i.XI.Cell,{children:"Author"}),(0,r.jsx)(i.XI.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),c.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.id}),(0,r.jsxs)(i.XI.Cell,{textAlign:"left",children:[(0,r.jsx)(i.In,{name:"book"}),e.title]}),(0,r.jsx)(i.XI.Cell,{textAlign:"left",children:e.author}),(0,r.jsxs)(i.XI.Cell,{textAlign:"right",children:[(0,r.jsx)(i.$n.Confirm,{content:"Delete",icon:"trash",color:"bad",onClick:function(){return t("delete_book",{bookid:e.id})}}),(0,r.jsx)(i.$n,{content:"View",onClick:function(){return t("view_book",{bookid:e.id})}})]})]},e.id)})]})})}},1536:function(e,n,t){"use strict";t.r(n),t.d(n,{ListInputModal:()=>h});var r=t(8138),i=t(4530),o=t(7790),l=t(7686),a=t(2864),c=t(3384),s=t(1942),u=t(9472);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t10),2),I=C[0],S=C[1],O=f((0,i.useState)(""),2),A=O[0],P=O[1],E=function(e){var n,t,r,i,o=T.length-1;e===l.R?null===k||k===o?(_(0),null==(n=document.getElementById("0"))||n.scrollIntoView()):(_(k+1),null==(t=document.getElementById((k+1).toString()))||t.scrollIntoView()):e===l.gf&&(null===k||0===k?(_(o),null==(r=document.getElementById(o.toString()))||r.scrollIntoView()):(_(k-1),null==(i=document.getElementById((k-1).toString()))||i.scrollIntoView()))},B=function(e){var n=String.fromCharCode(e),t=x.find(function(e){return null==e?void 0:e.toLowerCase().startsWith(null==n?void 0:n.toLowerCase())});if(t){var r,i=x.indexOf(t);_(i),null==(r=document.getElementById(i.toString()))||r.scrollIntoView()}},z=function(){S(!I),P("")},T=x.filter(function(e){return null==e?void 0:e.toLowerCase().includes(A.toLowerCase())}),N=350+Math.ceil(j.length/3);return I||setTimeout(function(){var e;return null==(e=document.getElementById(k.toString()))?void 0:e.focus()},1),(0,r.jsxs)(c.p8,{title:v,width:325,height:N,children:[y&&(0,r.jsx)(u.Loader,{value:y}),(0,r.jsx)(c.p8.Content,{onKeyDown:function(e){var n=window.event?e.which:e.keyCode;(n===l.R||n===l.gf)&&(e.preventDefault(),E(n)),n===l.Ri&&(e.preventDefault(),t("submit",{entry:T[k]})),!I&&n>=l.W8&&n<=l.bh&&(e.preventDefault(),B(n)),n===l.s6&&(e.preventDefault(),t("cancel"))},children:(0,r.jsx)(o.wn,{buttons:(0,r.jsx)(o.$n,{compact:!0,icon:I?"search":"font",selected:!0,tooltip:I?"Search Mode. Type to search or use arrow keys to select manually.":"Hotkey Mode. Type a letter to jump to the first match. Enter to select.",tooltipPosition:"left",onClick:function(){return z()}}),className:"ListInput__Section",fill:!0,title:j,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(m,{filteredItems:T,onClick:function(e){e!==k&&_(e)},onFocusSearch:function(){S(!1),S(!0)},searchBarVisible:I,selected:k})}),(0,r.jsx)(o.BJ.Item,{m:0,children:I&&(0,r.jsx)(p,{filteredItems:T,onSearch:function(e){var n;e!==A&&(P(e),_(0),null==(n=document.getElementById("0"))||n.scrollIntoView())},searchQuery:A,selected:k})}),(0,r.jsx)(o.BJ.Item,{mt:.5,children:(0,r.jsx)(s.InputButtons,{input:T[k]})})]})})})]})},m=function(e){var n=(0,a.Oc)().act,t=e.filteredItems,i=e.onClick,c=e.onFocusSearch,s=e.searchBarVisible,u=e.selected;return(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,children:t.map(function(e,a){return(0,r.jsx)(o.$n,{fluid:!0,color:"transparent",id:a,onClick:function(){return i(a)},onMouseDown:function(e){2===e.detail&&(e.preventDefault(),n("submit",{entry:t[u]}))},onKeyDown:function(e){var n=window.event?e.which:e.keyCode;s&&n>=l.W8&&n<=l.bh&&(e.preventDefault(),c())},selected:a===u,style:{animation:"none",transition:"none"},children:e.replace(/^\w/,function(e){return e.toUpperCase()})},a)})})},p=function(e){var n=(0,a.Oc)().act,t=e.filteredItems,i=e.onSearch,l=e.searchQuery,c=e.selected;return(0,r.jsx)(o.pd,{width:"100%",autoFocus:!0,autoSelect:!0,placeholder:"Search...",value:l,onChange:function(e){return i(e)},onEnter:function(){n("submit",{entry:t[c]})}})}},7239:function(e,n,t){"use strict";t.r(n),t.d(n,{Loadout:()=>f});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2?Object.entries(s.gears).reduce(function(e,n){var t=u(n,2),r=(t[0],t[1]);return e.concat(Object.entries(r).map(function(e){var n=u(e,2);return{key:n[0],gear:n[1]}}))},[]).filter(function(e){return I(e.gear)}):Object.entries(s.gears[p]).map(function(e){var n=u(e,2);return{key:n[0],gear:n[1]}})).sort(d[v]),_&&(n=n.reverse()),(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:p,buttons:(0,r.jsxs)(o.BJ,{children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.ms,{height:1.66,selected:v,options:Object.keys(d),onSelected:function(e){return w(e)}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{icon:_?"arrow-down-wide-short":"arrow-down-short-wide",tooltip:_?"Ascending order":"Descending order",tooltipPosition:"bottom-end",onClick:function(){return C(!_)}})}),x&&(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.pd,{width:20,placeholder:"Search...",value:j,onChange:function(e){return b(e)}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{icon:"magnifying-glass",selected:x,tooltip:"Toggle search field",tooltipPosition:"bottom-end",onClick:function(){g(!x),b("")}})})]}),children:n.map(function(e){var n=e.key,t=e.gear,i=Object.keys(s.selected_gears).includes(n),l=1===t.cost?"".concat(t.cost," Point"):"".concat(t.cost," Points"),a=(0,r.jsxs)(o.az,{children:[t.name.length>12&&(0,r.jsx)(o.az,{children:t.name}),t.gear_tier>f&&(0,r.jsx)(o.az,{mt:t.name.length>12&&1.5,textColor:"red",children:"That gear is only available at a higher donation tier than you are on."})]}),d=(0,r.jsxs)(r.Fragment,{children:[t.allowed_roles&&(0,r.jsx)(o.$n,{width:"22px",color:"transparent",icon:"user",tooltip:(0,r.jsx)(o.wn,{m:-1,title:"Allowed Roles",children:t.allowed_roles.map(function(e){return(0,r.jsx)(o.az,{children:e},e)})}),tooltipPosition:"left"}),Object.entries(t.tweaks).map(function(e){var n=u(e,2),t=n[0];return n[1].map(function(e){return(0,r.jsx)(o.$n,{width:"22px",color:"transparent",icon:e.icon,tooltip:e.tooltip,tooltipPosition:"top"},t)})}),(0,r.jsx)(o.$n,{width:"22px",color:"transparent",icon:"info",tooltip:t.desc,tooltipPosition:"top"})]}),p=(0,r.jsxs)(o.az,{className:"Loadout-InfoBox",children:[(0,r.jsx)(o.az,{style:{flexGrow:1},fontSize:1,color:"gold",opacity:.75,children:t.gear_tier>0&&"Tier ".concat(t.gear_tier)}),(0,r.jsx)(o.az,{fontSize:.75,opacity:.66,children:l})]});return(0,r.jsx)(o.c_,{m:.5,imageSize:84,dmIcon:t.icon,dmIconState:t.icon_state,tooltip:(t.name.length>12||t.gear_tier>0)&&a,tooltipPosition:"bottom",selected:i,disabled:t.gear_tier>f||h+t.cost>m&&!i,buttons:d,buttonsAlt:p,onClick:function(){return c("toggle_gear",{gear:n})},children:t.name},n)})})},p=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data,l=e.setTweakedGear,c=Object.entries(i.gears).reduce(function(e,n){var t=u(n,2),r=Object.entries((t[0],t[1])).filter(function(e){var n=u(e,1)[0];return Object.keys(i.selected_gears).includes(n)}).map(function(e){var n=u(e,2);return function(e){for(var n=1;n0&&(0,r.jsx)(o.$n,{icon:"gears",iconColor:"gray",width:"33px",onClick:function(){return l(e)}}),(0,r.jsx)(o.$n,{icon:"times",iconColor:"red",width:"32px",onClick:function(){return t("toggle_gear",{gear:e.key})}})]}),children:e.name},e.key)})})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.wn,{children:(0,r.jsx)(o.z2,{value:i.gear_slots,maxValue:i.max_gear_slots,ranges:{bad:[i.max_gear_slots,1/0],average:[.66*i.max_gear_slots,i.max_gear_slots],good:[0,.66*i.max_gear_slots]},children:(0,r.jsxs)(o.az,{textAlign:"center",children:["Used points ",i.gear_slots,"/",i.max_gear_slots]})})})})]})},x=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data,l=e.tweakedGear,c=e.setTweakedGear;return(0,r.jsx)(o.Rr,{children:(0,r.jsx)(o.az,{className:"Loadout-Modal__background",children:(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,width:20,height:20,title:l.name,buttons:(0,r.jsx)(o.$n,{color:"red",icon:"times",tooltip:"Close",tooltipPosition:"top",onClick:function(){return c("")}}),children:(0,r.jsx)(o.Ki,{children:Object.entries(l.tweaks).map(function(e){var n=u(e,2),a=n[0];return n[1].map(function(e){var n=i.selected_gears[l.key][a];return(0,r.jsxs)(o.Ki.Item,{label:e.name,color:n?"":"gray",buttons:(0,r.jsx)(o.$n,{color:"transparent",icon:"pen",onClick:function(){return t("set_tweak",{gear:l.key,tweak:a})}}),children:[n||"Default",(0,r.jsx)(o.az,{inline:!0,ml:1,width:1,height:1,verticalAlign:"middle",style:{backgroundColor:"".concat(n)}})]},a)})})})})})})}},5766:function(e,n,t){"use strict";t.r(n),t.d(n,{LoreConsole:()=>e2});var r,i=t(8138),o=t(2864),l=t(4530),a=t(7790),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t"']/,b=RegExp(j.source,"g"),y=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,v=RegExp(y.source,"g"),w={"&":"&","<":"<",">":">",'"':""","'":"'"},k=function(e){return w[e]};function _(e,n){if(n){if(j.test(e))return e.replace(b,k)}else if(y.test(e))return e.replace(v,k);return e}var C=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function I(e){return e.replace(C,function(e,n){return"colon"===(n=n.toLowerCase())?":":"#"===n.charAt(0)?"x"===n.charAt(1)?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""})}var S=/(^|[^\[])\^/g;function O(e,n){e="string"==typeof e?e:e.source,n=n||"";var t={replace:function(n,r){return r=(r=r.source||r).replace(S,"$1"),e=e.replace(n,r),t},getRegex:function(){return new RegExp(e,n)}};return t}var A=/[^\w:]/g,P=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function E(e,n,t){var r,i,o,l;if(e){try{r=decodeURIComponent(I(t)).replace(A,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}n&&!P.test(t)&&(i=n,o=t,B[" "+i]||(z.test(i)?B[" "+i]=i+"/":B[" "+i]=R(i,"/",!0)),l=-1===(i=B[" "+i]).indexOf(":"),t="//"===o.substring(0,2)?l?o:i.replace(T,"$1")+o:"/"!==o.charAt(0)?i+o:l?o:i.replace(N,"$1")+o);try{t=encodeURI(t).replace(/%25/g,"%")}catch(e){return null}return t}var B={},z=/^[^:]+:\/*[^/]*$/,T=/^([^:]+:)[\s\S]*$/,N=/^([^:]+:\/*[^/]*)[\s\S]*$/,$={exec:function(){}};function D(e,n){var t=e.replace(/\|/g,function(e,n,t){for(var r=!1,i=n;--i>=0&&"\\"===t[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(t[0].trim()||t.shift(),t.length>0&&!t[t.length-1].trim()&&t.pop(),t.length>n)t.splice(n);else for(;t.length1;)1&n&&(t+=e),n>>=1,e+=e;return t+e}function L(e,n,t,r){var i=n.href,o=n.title?_(n.title):null,l=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;var a={type:"link",raw:t,href:i,title:o,text:l,tokens:r.inlineTokens(l)};return r.state.inLink=!1,a}return{type:"image",raw:t,href:i,title:o,text:_(l)}}var K=function(){function e(n){u(this,e),this.options=n||g}return f(e,[{key:"space",value:function(e){var n=this.rules.block.newline.exec(e);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}},{key:"code",value:function(e){var n=this.rules.block.code.exec(e);if(n){var t=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?t:R(t,"\n")}}}},{key:"fences",value:function(e){var n=this.rules.block.fences.exec(e);if(n){var t=n[0],r=function(e,n){var t=e.match(/^(\s+)(?:```)/);if(null===t)return n;var r=t[1];return n.split("\n").map(function(e){var n=e.match(/^\s+/);return null===n?e:(function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),1!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,1)||function(e,n){if(e){if("string"==typeof e)return s(e,1);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(e,1)}}(n,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0].length>=r.length?e.slice(r.length):e}).join("\n")}(t,n[3]||"");return{type:"code",raw:t,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:r}}}},{key:"heading",value:function(e){var n=this.rules.block.heading.exec(e);if(n){var t=n[2].trim();if(/#$/.test(t)){var r=R(t,"#");this.options.pedantic?t=r.trim():(!r||/ $/.test(r))&&(t=r.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:t,tokens:this.lexer.inline(t)}}}},{key:"hr",value:function(e){var n=this.rules.block.hr.exec(e);if(n)return{type:"hr",raw:n[0]}}},{key:"blockquote",value:function(e){var n=this.rules.block.blockquote.exec(e);if(n){var t=n[0].replace(/^ *>[ \t]?/gm,""),r=this.lexer.state.top;this.lexer.state.top=!0;var i=this.lexer.blockTokens(t);return this.lexer.state.top=r,{type:"blockquote",raw:n[0],tokens:i,text:t}}}},{key:"list",value:function(e){var n=this.rules.block.list.exec(e);if(n){var t,r,i,o,l,a,c,s,u,d,f,h,m=n[1].trim(),p=m.length>1,x={type:"list",raw:"",ordered:p,start:p?+m.slice(0,-1):"",loose:!1,items:[]};m=p?"\\d{1,9}\\".concat(m.slice(-1)):"\\".concat(m),this.options.pedantic&&(m=p?m:"[*+-]");for(var g=new RegExp("^( {0,3}".concat(m,")((?:[ ][^\\n]*)?(?:\\n|$))"));e&&(h=!1,!(!(n=g.exec(e))||this.rules.block.hr.test(e)));){if(t=n[0],e=e.substring(t.length),s=n[2].split("\n",1)[0].replace(/^\t+/,function(e){return" ".repeat(3*e.length)}),u=e.split("\n",1)[0],this.options.pedantic?(o=2,f=s.trimLeft()):(o=(o=n[2].search(/[^ ]/))>4?1:o,f=s.slice(o),o+=n[1].length),a=!1,!s&&/^ *$/.test(u)&&(t+=u+"\n",e=e.substring(u.length+1),h=!0),!h)for(var j=new RegExp("^ {0,".concat(Math.min(3,o-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))")),b=new RegExp("^ {0,".concat(Math.min(3,o-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),y=new RegExp("^ {0,".concat(Math.min(3,o-1),"}(?:```|~~~)")),v=new RegExp("^ {0,".concat(Math.min(3,o-1),"}#"));e&&(u=d=e.split("\n",1)[0],this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(y.test(u)||v.test(u)||j.test(u)||b.test(e)));){if(u.search(/[^ ]/)>=o||!u.trim())f+="\n"+u.slice(o);else{if(a||s.search(/[^ ]/)>=4||y.test(s)||v.test(s)||b.test(s))break;f+="\n"+u}a||u.trim()||(a=!0),t+=d+"\n",e=e.substring(d.length+1),s=u.slice(o)}!x.loose&&(c?x.loose=!0:/\n *\n *$/.test(t)&&(c=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(f))&&(i="[ ] "!==r[0],f=f.replace(/^\[[ xX]\] +/,"")),x.items.push({type:"list_item",raw:t,task:!!r,checked:i,loose:!1,text:f}),x.raw+=t}x.items[x.items.length-1].raw=t.trimRight(),x.items[x.items.length-1].text=f.trimRight(),x.raw=x.raw.trimRight();var w=x.items.length;for(l=0;l0&&k.some(function(e){return/\n.*\n/.test(e.raw)})}if(x.loose)for(l=0;l$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline._escapes,"$1"):n[3];return{type:"def",tag:t,raw:n[0],href:r,title:i}}}},{key:"table",value:function(e){var n=this.rules.block.table.exec(e);if(n){var t={type:"table",header:D(n[1]).map(function(e){return{text:e}}),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(t.header.length===t.align.length){t.raw=n[0];var r,i,o,l,a=t.align.length;for(r=0;r/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):_(n[0]):n[0]}}},{key:"link",value:function(e){var n=this.rules.inline.link.exec(e);if(n){var t=n[2].trim();if(!this.options.pedantic&&/^$/.test(t))return;var r=R(t.slice(0,-1),"\\");if((t.length-r.length)%2==0)return}else{var i=function(e,n){if(-1===e.indexOf(")"))return -1;for(var t=e.length,r=0,i=0;i-1){var o=(0===n[0].indexOf("!")?5:4)+n[1].length+i;n[2]=n[2].substring(0,i),n[0]=n[0].substring(0,o).trim(),n[3]=""}}var l=n[2],a="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);c&&(l=c[1],a=c[3])}else a=n[3]?n[3].slice(1,-1):"";return l=l.trim(),/^$/.test(t)?l.slice(1):l.slice(1,-1)),L(n,{href:l?l.replace(this.rules.inline._escapes,"$1"):l,title:a?a.replace(this.rules.inline._escapes,"$1"):a},n[0],this.lexer)}}},{key:"reflink",value:function(e,n){var t;if((t=this.rules.inline.reflink.exec(e))||(t=this.rules.inline.nolink.exec(e))){var r=(t[2]||t[1]).replace(/\s+/g," ");if(!(r=n[r.toLowerCase()])){var i=t[0].charAt(0);return{type:"text",raw:i,text:i}}return L(t,r,t[0],this.lexer)}}},{key:"emStrong",value:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&!(r[3]&&t.match(RegExp("[\\p{L}\\p{N}]","u")))){var i=r[1]||r[2]||"";if(!i||i&&(""===t||this.rules.inline.punctuation.exec(t))){var o,l,a=r[0].length-1,c=a,s=0,u="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,n=n.slice(-1*e.length+a);null!=(r=u.exec(n));){if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6]){if(l=o.length,r[3]||r[4]){c+=l;continue}if((r[5]||r[6])&&a%3&&!((a+l)%3)){s+=l;continue}if(!((c-=l)>0)){l=Math.min(l,l+c+s);var d=e.slice(0,a+r.index+(r[0].length-o.length)+l);if(Math.min(a,l)%2){var f=d.slice(1,-1);return{type:"em",raw:d,text:f,tokens:this.lexer.inlineTokens(f)}}var h=d.slice(2,-2);return{type:"strong",raw:d,text:h,tokens:this.lexer.inlineTokens(h)}}}}}}}},{key:"codespan",value:function(e){var n=this.rules.inline.code.exec(e);if(n){var t=n[2].replace(/\n/g," "),r=/[^ ]/.test(t),i=/^ /.test(t)&&/ $/.test(t);return r&&i&&(t=t.substring(1,t.length-1)),t=_(t,!0),{type:"codespan",raw:n[0],text:t}}}},{key:"br",value:function(e){var n=this.rules.inline.br.exec(e);if(n)return{type:"br",raw:n[0]}}},{key:"del",value:function(e){var n=this.rules.inline.del.exec(e);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}},{key:"autolink",value:function(e,n){var t,r,i=this.rules.inline.autolink.exec(e);if(i)return r="@"===i[2]?"mailto:"+(t=_(this.options.mangle?n(i[1]):i[1])):t=_(i[1]),{type:"link",raw:i[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}},{key:"url",value:function(e,n){var t,r,i,o;if(t=this.rules.inline.url.exec(e)){if("@"===t[2])i="mailto:"+(r=_(this.options.mangle?n(t[0]):t[0]));else{do o=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])[0];while(o!==t[0]);r=_(t[0]),i="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}},{key:"inlineText",value:function(e,n){var t,r=this.rules.inline.text.exec(e);if(r)return t=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):_(r[0]):r[0]:_(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:t}}}]),e}(),J={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:$,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};J._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,J._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,J.def=O(J.def).replace("label",J._label).replace("title",J._title).getRegex(),J.bullet=/(?:[*+-]|\d{1,9}[.)])/,J.listItemStart=O(/^( *)(bull) */).replace("bull",J.bullet).getRegex(),J.list=O(J.list).replace(/bull/g,J.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+J.def.source+")").getRegex(),J._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",J._comment=/|$)/,J.html=O(J.html,"i").replace("comment",J._comment).replace("tag",J._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),J.paragraph=O(J._paragraph).replace("hr",J.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",J._tag).getRegex(),J.blockquote=O(J.blockquote).replace("paragraph",J.paragraph).getRegex(),J.normal=m({},J),J.gfm=p(m({},J.normal),{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),J.gfm.table=O(J.gfm.table).replace("hr",J.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",J._tag).getRegex(),J.gfm.paragraph=O(J._paragraph).replace("hr",J.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",J.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",J._tag).getRegex(),J.pedantic=p(m({},J.normal),{html:O("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",J._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:$,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:O(J.normal._paragraph).replace("hr",J.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",J.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var X={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:$,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:$,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(t="x"+t.toString(16)),r+="&#"+t+";";return r}X._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",X.punctuation=O(X.punctuation).replace(/punctuation/g,X._punctuation).getRegex(),X.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,X.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,X._comment=O(J._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),X.emStrong.lDelim=O(X.emStrong.lDelim).replace(/punct/g,X._punctuation).getRegex(),X.emStrong.rDelimAst=O(X.emStrong.rDelimAst,"g").replace(/punct/g,X._punctuation).getRegex(),X.emStrong.rDelimUnd=O(X.emStrong.rDelimUnd,"g").replace(/punct/g,X._punctuation).getRegex(),X._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,X._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,X._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,X.autolink=O(X.autolink).replace("scheme",X._scheme).replace("email",X._email).getRegex(),X._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,X.tag=O(X.tag).replace("comment",X._comment).replace("attribute",X._attribute).getRegex(),X._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,X._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,X._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,X.link=O(X.link).replace("label",X._label).replace("href",X._href).replace("title",X._title).getRegex(),X.reflink=O(X.reflink).replace("label",X._label).replace("ref",J._label).getRegex(),X.nolink=O(X.nolink).replace("ref",J._label).getRegex(),X.reflinkSearch=O(X.reflinkSearch,"g").replace("reflink",X.reflink).replace("nolink",X.nolink).getRegex(),X.normal=m({},X),X.pedantic=p(m({},X.normal),{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:O(/^!?\[(label)\]\((.*?)\)/).replace("label",X._label).getRegex(),reflink:O(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",X._label).getRegex()}),X.gfm=p(m({},X.normal),{escape:O(X.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\1&&void 0!==arguments[1]?arguments[1]:[];for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,function(e,n,t){return n+" ".repeat(t.length)});e&&"break"!==(o=this,function(){if(o.options.extensions&&o.options.extensions.block&&o.options.extensions.block.some(function(t){return!!(n=t.call({lexer:l},e,a))&&(e=e.substring(n.raw.length),a.push(n),!0)}))return"continue";if(n=o.tokenizer.space(e))return e=e.substring(n.raw.length),1===n.raw.length&&a.length>0?a[a.length-1].raw+="\n":a.push(n),"continue";if(n=o.tokenizer.code(e))return e=e.substring(n.raw.length),(t=a[a.length-1])&&("paragraph"===t.type||"text"===t.type)?(t.raw+="\n"+n.raw,t.text+="\n"+n.text,o.inlineQueue[o.inlineQueue.length-1].src=t.text):a.push(n),"continue";if((n=o.tokenizer.fences(e))||(n=o.tokenizer.heading(e))||(n=o.tokenizer.hr(e))||(n=o.tokenizer.blockquote(e))||(n=o.tokenizer.list(e))||(n=o.tokenizer.html(e)))return e=e.substring(n.raw.length),a.push(n),"continue";if(n=o.tokenizer.def(e))return e=e.substring(n.raw.length),(t=a[a.length-1])&&("paragraph"===t.type||"text"===t.type)?(t.raw+="\n"+n.raw,t.text+="\n"+n.raw,o.inlineQueue[o.inlineQueue.length-1].src=t.text):o.tokens.links[n.tag]||(o.tokens.links[n.tag]={href:n.href,title:n.title}),"continue";if((n=o.tokenizer.table(e))||(n=o.tokenizer.lheading(e)))return e=e.substring(n.raw.length),a.push(n),"continue";if(r=e,o.options.extensions&&o.options.extensions.startBlock){var c=1/0,s=e.slice(1),u=void 0;o.options.extensions.startBlock.forEach(function(e){"number"==typeof(u=e.call({lexer:this},s))&&u>=0&&(c=Math.min(c,u))}),c<1/0&&c>=0&&(r=e.substring(0,c+1))}if(o.state.top&&(n=o.tokenizer.paragraph(r)))return t=a[a.length-1],i&&"paragraph"===t.type?(t.raw+="\n"+n.raw,t.text+="\n"+n.text,o.inlineQueue.pop(),o.inlineQueue[o.inlineQueue.length-1].src=t.text):a.push(n),i=r.length!==e.length,e=e.substring(n.raw.length),"continue";if(n=o.tokenizer.text(e))return e=e.substring(n.raw.length),(t=a[a.length-1])&&"text"===t.type?(t.raw+="\n"+n.raw,t.text+="\n"+n.text,o.inlineQueue.pop(),o.inlineQueue[o.inlineQueue.length-1].src=t.text):a.push(n),"continue";if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(o.options.silent)return console.error(d),"break";throw Error(d)}}()););return this.state.top=!0,a}},{key:"inline",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:n}),n}},{key:"inlineTokens",value:function(e){var n,t,r,i,o,l,a,c=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=e;if(this.tokens.links){var d=Object.keys(this.tokens.links);if(d.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(u));)d.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,i.index)+"["+M("a",i[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(u));)u=u.slice(0,i.index)+"["+M("a",i[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(u));)u=u.slice(0,i.index+i[0].length-2)+"++"+u.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e&&"break"!==(a=this,function(){if(o||(l=""),o=!1,a.options.extensions&&a.options.extensions.inline&&a.options.extensions.inline.some(function(t){return!!(n=t.call({lexer:c},e,s))&&(e=e.substring(n.raw.length),s.push(n),!0)}))return"continue";if(n=a.tokenizer.escape(e))return e=e.substring(n.raw.length),s.push(n),"continue";if(n=a.tokenizer.tag(e))return e=e.substring(n.raw.length),(t=s[s.length-1])&&"text"===n.type&&"text"===t.type?(t.raw+=n.raw,t.text+=n.text):s.push(n),"continue";if(n=a.tokenizer.link(e))return e=e.substring(n.raw.length),s.push(n),"continue";if(n=a.tokenizer.reflink(e,a.tokens.links))return e=e.substring(n.raw.length),(t=s[s.length-1])&&"text"===n.type&&"text"===t.type?(t.raw+=n.raw,t.text+=n.text):s.push(n),"continue";if((n=a.tokenizer.emStrong(e,u,l))||(n=a.tokenizer.codespan(e))||(n=a.tokenizer.br(e))||(n=a.tokenizer.del(e))||(n=a.tokenizer.autolink(e,F))||!a.state.inLink&&(n=a.tokenizer.url(e,F)))return e=e.substring(n.raw.length),s.push(n),"continue";if(r=e,a.options.extensions&&a.options.extensions.startInline){var i=1/0,d=e.slice(1),f=void 0;a.options.extensions.startInline.forEach(function(e){"number"==typeof(f=e.call({lexer:this},d))&&f>=0&&(i=Math.min(i,f))}),i<1/0&&i>=0&&(r=e.substring(0,i+1))}if(n=a.tokenizer.inlineText(r,U))return e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(l=n.raw.slice(-1)),o=!0,(t=s[s.length-1])&&"text"===t.type?(t.raw+=n.raw,t.text+=n.text):s.push(n),"continue";if(e){var h="Infinite loop on byte: "+e.charCodeAt(0);if(a.options.silent)return console.error(h),"break";throw Error(h)}}()););return s}}],[{key:"rules",get:function(){return{block:J,inline:X}}},{key:"lex",value:function(n,t){return new e(t).lex(n)}},{key:"lexInline",value:function(n,t){return new e(t).inlineTokens(n)}}]),e}(),H=function(){function e(n){u(this,e),this.options=n||g}return f(e,[{key:"code",value:function(e,n,t){var r=(n||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(t=!0,e=i)}return(e=e.replace(/\n$/,"")+"\n",r)?'
'+(t?e:_(e,!0))+"
\n":"
"+(t?e:_(e,!0))+"
\n"}},{key:"blockquote",value:function(e){return"
\n".concat(e,"
\n")}},{key:"html",value:function(e){return e}},{key:"heading",value:function(e,n,t,r){if(this.options.headerIds){var i=this.options.headerPrefix+r.slug(t);return"').concat(e,"\n")}return"").concat(e,"\n")}},{key:"hr",value:function(){return this.options.xhtml?"
\n":"
\n"}},{key:"list",value:function(e,n,t){var r=n?"ol":"ul";return"<"+r+(n&&1!==t?' start="'+t+'"':"")+">\n"+e+"\n"}},{key:"listitem",value:function(e){return"
  • ".concat(e,"
  • \n")}},{key:"checkbox",value:function(e){return" "}},{key:"paragraph",value:function(e){return"

    ".concat(e,"

    \n")}},{key:"table",value:function(e,n){return n&&(n="".concat(n,"")),"\n\n"+e+"\n"+n+"
    \n"}},{key:"tablerow",value:function(e){return"\n".concat(e,"\n")}},{key:"tablecell",value:function(e,n){var t=n.header?"th":"td";return(n.align?"<".concat(t,' align="').concat(n.align,'">'):"<".concat(t,">"))+e+"\n")}},{key:"strong",value:function(e){return"".concat(e,"")}},{key:"em",value:function(e){return"".concat(e,"")}},{key:"codespan",value:function(e){return"".concat(e,"")}},{key:"br",value:function(){return this.options.xhtml?"
    ":"
    "}},{key:"del",value:function(e){return"".concat(e,"")}},{key:"link",value:function(e,n,t){if(null===(e=E(this.options.sanitize,this.options.baseUrl,e)))return t;var r='"}},{key:"image",value:function(e,n,t){if(null===(e=E(this.options.sanitize,this.options.baseUrl,e)))return t;var r='').concat(t,'":">"}},{key:"text",value:function(e){return e}}]),e}(),W=function(){function e(){u(this,e)}return f(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,n,t){return""+t}},{key:"image",value:function(e,n,t){return""+t}},{key:"br",value:function(){return""}}]),e}(),q=function(){function e(){u(this,e),this.seen={}}return f(e,[{key:"serialize",value:function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(e,n){var t=e,r=0;if(this.seen.hasOwnProperty(t)){r=this.seen[e];do t=e+"-"+ ++r;while(this.seen.hasOwnProperty(t))}return n||(this.seen[e]=r,this.seen[t]=0),t}},{key:"slug",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=this.serialize(e);return this.getNextSafeSlug(t,n.dryrun)}}]),e}(),G=function(){function e(n){u(this,e),this.options=n||g,this.options.renderer=this.options.renderer||new H,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new W,this.slugger=new q}return f(e,[{key:"parse",value:function(e){var n,t,r,i,o,l,a,c,s,u,d,f,h,m,p,x,g,j,b,y=!(arguments.length>1)||void 0===arguments[1]||arguments[1],v="",w=e.length;for(n=0;n0&&"paragraph"===p.tokens[0].type?(p.tokens[0].text=j+" "+p.tokens[0].text,p.tokens[0].tokens&&p.tokens[0].tokens.length>0&&"text"===p.tokens[0].tokens[0].type&&(p.tokens[0].tokens[0].text=j+" "+p.tokens[0].tokens[0].text)):p.tokens.unshift({type:"text",text:j}):m+=j),m+=this.parse(p.tokens,h),s+=this.renderer.listitem(m,g,x);v+=this.renderer.list(s,d,f);continue;case"html":v+=this.renderer.html(u.text);continue;case"paragraph":v+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":for(s=u.tokens?this.parseInline(u.tokens):u.text;n+1";return c?Promise.resolve(n):s?void s(null,n):n}if(c)return Promise.reject(e);if(s)return void s(e);throw e});if(null==t)return l(Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return l(Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if((u=r)&&u.sanitize&&!u.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options"),r.hooks&&(r.hooks.options=r),i){var a,c,s,u,d,f=r.highlight;try{r.hooks&&(t=r.hooks.preprocess(t)),d=e(t,r)}catch(e){return l(e)}var h=function(e){var t;if(!e)try{r.walkTokens&&Z.walkTokens(d,r.walkTokens),t=n(d,r),r.hooks&&(t=r.hooks.postprocess(t))}catch(n){e=n}return r.highlight=f,e?l(e):i(null,t)};if(!f||f.length<3||(delete r.highlight,!d.length))return h();var p=0;return Z.walkTokens(d,function(e){"code"===e.type&&(p++,setTimeout(function(){f(e.text,e.lang,function(n,t){if(n)return h(n);null!=t&&t!==e.text&&(e.text=t,e.escaped=!0),0==--p&&h()})},0))}),void(0===p&&h())}if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(t):t).then(function(n){return e(n,r)}).then(function(e){return r.walkTokens?Promise.all(Z.walkTokens(e,r.walkTokens)).then(function(){return e}):e}).then(function(e){return n(e,r)}).then(function(e){return r.hooks?r.hooks.postprocess(e):e}).catch(l);try{r.hooks&&(t=r.hooks.preprocess(t));var x=e(t,r);r.walkTokens&&Z.walkTokens(x,r.walkTokens);var g=n(x,r);return r.hooks&&(g=r.hooks.postprocess(g)),g}catch(e){return l(e)}}}function Z(e,n,t){return Y(V.lex,G.parse)(e,n,t)}h(Q,"passThroughHooks",new Set(["preprocess","postprocess"])),Z.options=Z.setOptions=function(e){return Z.defaults=m({},Z.defaults,e),g=Z.defaults,Z},Z.getDefaults=x,Z.defaults=g,Z.use=function(){for(var e=arguments.length,n=Array(e),t=0;t2?t-2:0),i=2;i1?n-1:0),r=1;r1?t-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:ep;en&&en(e,null);let r=n.length;for(;r--;){let i=n[r];if("string"==typeof i){let e=t(i);e!==i&&(et(n)||(n[r]=e),i=e)}e[i]=!0}return e}function eI(e){let n=ea(null);for(let[t,r]of ee(e))ev(e,t)&&(Array.isArray(r)?n[t]=function(e){for(let n=0;n/gm),eK=el(/\$\{[\w\W]*/gm),eJ=el(/^data-[\-\w.\u00B7-\uFFFF]+$/),eX=el(/^aria-[\-\w]+$/),eU=el(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),eF=el(/^(?:\w+script|data):/i),eV=el(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),eH=el(/^html$/i);var eW=Object.freeze({__proto__:null,ARIA_ATTR:eX,ATTR_WHITESPACE:eV,CUSTOM_ELEMENT:el(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:eJ,DOCTYPE_NAME:eH,ERB_EXPR:eL,IS_ALLOWED_URI:eU,IS_SCRIPT_OR_DATA:eF,MUSTACHE_EXPR:eM,TMPLIT_EXPR:eK});let eq=function(e,n){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let t=null,r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(t=n.getAttribute(r));let i="dompurify"+(t?"#"+t:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},eG=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var eQ=function e(){let n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,r=n=>e(n);if(r.version="3.2.7",r.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return r.isSupported=!1,r;let{document:i}=t,o=i,l=o.currentScript,{DocumentFragment:a,HTMLTemplateElement:c,Node:s,Element:u,NodeFilter:d,NamedNodeMap:f=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:h,DOMParser:m,trustedTypes:p}=t,x=u.prototype,g=eS(x,"cloneNode"),j=eS(x,"remove"),b=eS(x,"nextSibling"),y=eS(x,"childNodes"),v=eS(x,"parentNode");if("function"==typeof c){let e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let w="",{implementation:k,createNodeIterator:_,createDocumentFragment:C,getElementsByTagName:I}=i,{importNode:S}=o,O=eG();r.isSupported="function"==typeof ee&&"function"==typeof v&&k&&void 0!==k.createHTMLDocument;let{MUSTACHE_EXPR:A,ERB_EXPR:P,TMPLIT_EXPR:E,DATA_ATTR:B,ARIA_ATTR:z,IS_SCRIPT_OR_DATA:T,ATTR_WHITESPACE:N,CUSTOM_ELEMENT:$}=eW,{IS_ALLOWED_URI:D}=eW,R=null,M=eC({},[...eO,...eA,...eP,...eB,...eT]),L=null,K=eC({},[...eN,...e$,...eD,...eR]),J=Object.seal(ea(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),X=null,U=null,F=!0,V=!0,H=!1,W=!0,q=!1,G=!0,Q=!1,Y=!1,Z=!1,en=!1,et=!1,er=!1,ei=!0,el=!1,ec=!0,es=!1,e_={},eM=null,eL=eC({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eK=null,eJ=eC({},["audio","video","img","source","image","track"]),eX=null,eF=eC({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eV="http://www.w3.org/1998/Math/MathML",eQ="http://www.w3.org/2000/svg",eY="http://www.w3.org/1999/xhtml",eZ=eY,e0=!1,e1=null,e2=eC({},[eV,eQ,eY],ex),e8=eC({},["mi","mo","mn","ms","mtext"]),e3=eC({},["annotation-xml"]),e5=eC({},["title","style","font","a","script"]),e4=null,e6=["application/xhtml+xml","text/html"],e7=null,e9=null,ne=i.createElement("form"),nn=function(e){return e instanceof RegExp||e instanceof Function},nt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!e9||e9!==e){if(e&&"object"==typeof e||(e={}),e=eI(e),e7="application/xhtml+xml"===(e4=-1===e6.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?ex:ep,R=ev(e,"ALLOWED_TAGS")?eC({},e.ALLOWED_TAGS,e7):M,L=ev(e,"ALLOWED_ATTR")?eC({},e.ALLOWED_ATTR,e7):K,e1=ev(e,"ALLOWED_NAMESPACES")?eC({},e.ALLOWED_NAMESPACES,ex):e2,eX=ev(e,"ADD_URI_SAFE_ATTR")?eC(eI(eF),e.ADD_URI_SAFE_ATTR,e7):eF,eK=ev(e,"ADD_DATA_URI_TAGS")?eC(eI(eJ),e.ADD_DATA_URI_TAGS,e7):eJ,eM=ev(e,"FORBID_CONTENTS")?eC({},e.FORBID_CONTENTS,e7):eL,X=ev(e,"FORBID_TAGS")?eC({},e.FORBID_TAGS,e7):eI({}),U=ev(e,"FORBID_ATTR")?eC({},e.FORBID_ATTR,e7):eI({}),e_=!!ev(e,"USE_PROFILES")&&e.USE_PROFILES,F=!1!==e.ALLOW_ARIA_ATTR,V=!1!==e.ALLOW_DATA_ATTR,H=e.ALLOW_UNKNOWN_PROTOCOLS||!1,W=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,q=e.SAFE_FOR_TEMPLATES||!1,G=!1!==e.SAFE_FOR_XML,Q=e.WHOLE_DOCUMENT||!1,en=e.RETURN_DOM||!1,et=e.RETURN_DOM_FRAGMENT||!1,er=e.RETURN_TRUSTED_TYPE||!1,Z=e.FORCE_BODY||!1,ei=!1!==e.SANITIZE_DOM,el=e.SANITIZE_NAMED_PROPS||!1,ec=!1!==e.KEEP_CONTENT,es=e.IN_PLACE||!1,D=e.ALLOWED_URI_REGEXP||eU,eZ=e.NAMESPACE||eY,e8=e.MATHML_TEXT_INTEGRATION_POINTS||e8,e3=e.HTML_INTEGRATION_POINTS||e3,J=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&nn(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(J.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&nn(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(J.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(J.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),q&&(V=!1),et&&(en=!0),e_&&(R=eC({},eT),L=[],!0===e_.html&&(eC(R,eO),eC(L,eN)),!0===e_.svg&&(eC(R,eA),eC(L,e$),eC(L,eR)),!0===e_.svgFilters&&(eC(R,eP),eC(L,e$),eC(L,eR)),!0===e_.mathMl&&(eC(R,eB),eC(L,eD),eC(L,eR))),e.ADD_TAGS&&(R===M&&(R=eI(R)),eC(R,e.ADD_TAGS,e7)),e.ADD_ATTR&&(L===K&&(L=eI(L)),eC(L,e.ADD_ATTR,e7)),e.ADD_URI_SAFE_ATTR&&eC(eX,e.ADD_URI_SAFE_ATTR,e7),e.FORBID_CONTENTS&&(eM===eL&&(eM=eI(eM)),eC(eM,e.FORBID_CONTENTS,e7)),ec&&(R["#text"]=!0),Q&&eC(R,["html","head","body"]),R.table&&(eC(R,["tbody"]),delete X.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw ek('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw ek('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=(n=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===n&&(n=eq(p,l)),null!==n&&"string"==typeof w&&(w=n.createHTML(""));eo&&eo(e),e9=e}},nr=eC({},[...eA,...eP,...eE]),ni=eC({},[...eB,...ez]),no=function(e){let n=v(e);n&&n.tagName||(n={namespaceURI:eZ,tagName:"template"});let t=ep(e.tagName),r=ep(n.tagName);return!!e1[e.namespaceURI]&&(e.namespaceURI===eQ?n.namespaceURI===eY?"svg"===t:n.namespaceURI===eV?"svg"===t&&("annotation-xml"===r||e8[r]):!!nr[t]:e.namespaceURI===eV?n.namespaceURI===eY?"math"===t:n.namespaceURI===eQ?"math"===t&&e3[r]:!!ni[t]:e.namespaceURI===eY?(n.namespaceURI!==eQ||!!e3[r])&&(n.namespaceURI!==eV||!!e8[r])&&!ni[t]&&(e5[t]||!nr[t]):"application/xhtml+xml"===e4&&!!e1[e.namespaceURI])},nl=function(e){eh(r.removed,{element:e});try{v(e).removeChild(e)}catch(n){j(e)}},na=function(e,n){try{eh(r.removed,{attribute:n.getAttributeNode(e),from:n})}catch(e){eh(r.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e)if(en||et)try{nl(n)}catch(e){}else try{n.setAttribute(e,"")}catch(e){}},nc=function(e){let t=null,r=null;if(Z)e=""+e;else{let n=eg(e,/^[\r\n\t ]+/);r=n&&n[0]}"application/xhtml+xml"===e4&&eZ===eY&&(e=''+e+"");let o=n?n.createHTML(e):e;if(eZ===eY)try{t=new m().parseFromString(o,e4)}catch(e){}if(!t||!t.documentElement){t=k.createDocument(eZ,"template",null);try{t.documentElement.innerHTML=e0?w:o}catch(e){}}let l=t.body||t.documentElement;return(e&&r&&l.insertBefore(i.createTextNode(r),l.childNodes[0]||null),eZ===eY)?I.call(t,Q?"html":"body")[0]:Q?t.documentElement:l},ns=function(e){return _.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},nu=function(e){return e instanceof h&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof f)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},nd=function(e){return"function"==typeof s&&e instanceof s};function nf(e,n,t){eu(e,e=>{e.call(r,n,t,e9)})}let nh=function(e){let n=null;if(nf(O.beforeSanitizeElements,e,null),nu(e))return nl(e),!0;let t=e7(e.nodeName);if(nf(O.uponSanitizeElement,e,{tagName:t,allowedTags:R}),G&&e.hasChildNodes()&&!nd(e.firstElementChild)&&ew(/<[/\w!]/g,e.innerHTML)&&ew(/<[/\w!]/g,e.textContent)||7===e.nodeType||G&&8===e.nodeType&&ew(/<[/\w]/g,e.data))return nl(e),!0;if(!R[t]||X[t]){if(!X[t]&&np(t)&&(J.tagNameCheck instanceof RegExp&&ew(J.tagNameCheck,t)||J.tagNameCheck instanceof Function&&J.tagNameCheck(t)))return!1;if(ec&&!eM[t]){let n=v(e)||e.parentNode,t=y(e)||e.childNodes;if(t&&n){let r=t.length;for(let i=r-1;i>=0;--i){let r=g(t[i],!0);r.__removalCount=(e.__removalCount||0)+1,n.insertBefore(r,b(e))}}}return nl(e),!0}return e instanceof u&&!no(e)||("noscript"===t||"noembed"===t||"noframes"===t)&&ew(/<\/no(script|embed|frames)/i,e.innerHTML)?(nl(e),!0):(q&&3===e.nodeType&&(n=e.textContent,eu([A,P,E],e=>{n=ej(n,e," ")}),e.textContent!==n&&(eh(r.removed,{element:e.cloneNode()}),e.textContent=n)),nf(O.afterSanitizeElements,e,null),!1)},nm=function(e,n,t){if(ei&&("id"===n||"name"===n)&&(t in i||t in ne))return!1;if(V&&!U[n]&&ew(B,n));else if(F&&ew(z,n));else if(!L[n]||U[n]){if(!(np(e)&&(J.tagNameCheck instanceof RegExp&&ew(J.tagNameCheck,e)||J.tagNameCheck instanceof Function&&J.tagNameCheck(e))&&(J.attributeNameCheck instanceof RegExp&&ew(J.attributeNameCheck,n)||J.attributeNameCheck instanceof Function&&J.attributeNameCheck(n,e))||"is"===n&&J.allowCustomizedBuiltInElements&&(J.tagNameCheck instanceof RegExp&&ew(J.tagNameCheck,t)||J.tagNameCheck instanceof Function&&J.tagNameCheck(t))))return!1}else if(eX[n]);else if(ew(D,ej(t,N,"")));else if(("src"===n||"xlink:href"===n||"href"===n)&&"script"!==e&&0===eb(t,"data:")&&eK[e]);else if(H&&!ew(T,ej(t,N,"")));else if(t)return!1;return!0},np=function(e){return"annotation-xml"!==e&&eg(e,$)},nx=function(e){nf(O.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||nu(e))return;let i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:L,forceKeepAttr:void 0},o=t.length;for(;o--;){let{name:l,namespaceURI:a,value:c}=t[o],s=e7(l),u="value"===l?c:ey(c);if(i.attrName=s,i.attrValue=u,i.keepAttr=!0,i.forceKeepAttr=void 0,nf(O.uponSanitizeAttribute,e,i),u=i.attrValue,el&&("id"===s||"name"===s)&&(na(l,e),u="user-content-"+u),G&&ew(/((--!?|])>)|<\/(style|title|textarea)/i,u)||"attributename"===s&&eg(u,"href")){na(l,e);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr||!W&&ew(/\/>/i,u)){na(l,e);continue}q&&eu([A,P,E],e=>{u=ej(u,e," ")});let d=e7(e.nodeName);if(!nm(d,s,u)){na(l,e);continue}if(n&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(a);else switch(p.getAttributeType(d,s)){case"TrustedHTML":u=n.createHTML(u);break;case"TrustedScriptURL":u=n.createScriptURL(u)}if(u!==c)try{a?e.setAttributeNS(a,l,u):e.setAttribute(l,u),nu(e)?nl(e):ef(r.removed)}catch(n){na(l,e)}}nf(O.afterSanitizeAttributes,e,null)},ng=function e(n){let t=null,r=ns(n);for(nf(O.beforeSanitizeShadowDOM,n,null);t=r.nextNode();)nf(O.uponSanitizeShadowNode,t,null),nh(t),nx(t),t.content instanceof a&&e(t.content);nf(O.afterSanitizeShadowDOM,n,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,l=null,c=null,u=null;if((e0=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!nd(e))if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw ek("dirty is not a string, aborting")}else throw ek("toString is not a function");if(!r.isSupported)return e;if(Y||nt(t),r.removed=[],"string"==typeof e&&(es=!1),es){if(e.nodeName){let n=e7(e.nodeName);if(!R[n]||X[n])throw ek("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)1===(l=(i=nc("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?i=l:i.appendChild(l);else{if(!en&&!q&&!Q&&-1===e.indexOf("<"))return n&&er?n.createHTML(e):e;if(!(i=nc(e)))return en?null:er?w:""}i&&Z&&nl(i.firstChild);let d=ns(es?e:i);for(;c=d.nextNode();)nh(c),nx(c),c.content instanceof a&&ng(c.content);if(es)return e;if(en){if(et)for(u=C.call(i.ownerDocument);i.firstChild;)u.appendChild(i.firstChild);else u=i;return(L.shadowroot||L.shadowrootmode)&&(u=S.call(o,u,!0)),u}let f=Q?i.outerHTML:i.innerHTML;return Q&&R["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&ew(eH,i.ownerDocument.doctype.name)&&(f="\n"+f),q&&eu([A,P,E],e=>{f=ej(f,e," ")}),n&&er?n.createHTML(f):f},r.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};nt(e),Y=!0},r.clearConfig=function(){e9=null,Y=!1},r.isValidAttribute=function(e,n,t){return e9||nt({}),nm(e7(e),e7(n),t)},r.addHook=function(e,n){"function"==typeof n&&eh(O[e],n)},r.removeHook=function(e,n){if(void 0!==n){let t=ed(O[e],n);return -1===t?void 0:em(O[e],t,1)[0]}return ef(O[e])},r.removeHooks=function(e){O[e]=[]},r.removeAllHooks=function(){O=eG()},r}(),eY=["b","blockquote","br","center","code","dd","del","div","dl","dt","em","font","h1","h2","h3","h4","h5","h6","hr","i","ins","li","menu","ol","p","pre","span","strong","table","tbody","td","th","thead","tfoot","tr","u","ul"],eZ=["img"],e0=["class","style","background"];function e1(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&(0,i.jsx)(a.BJ.Item,{children:(0,i.jsx)(a.wn,{fill:!0,title:"Page ".concat(s+1,"/").concat(t.length),textAlign:"center",children:(0,i.jsxs)(a.BJ,{children:[(0,i.jsx)(a.BJ.Item,{grow:!0,basis:0,children:(0,i.jsx)(a.$n,{fluid:!0,content:"Previous",fontSize:"150%",icon:"arrow-left",lineHeight:2,disabled:s<=0,onClick:function(){return u(s-1)}})}),(0,i.jsx)(a.BJ.Item,{grow:!0,basis:0,children:(0,i.jsx)(a.$n,{fluid:!0,content:"Next",fontSize:"150%",icon:"arrow-right",lineHeight:2,disabled:s>=t.length-1,onClick:function(){return u(s+1)}})})]})})}),(0,i.jsxs)(a.BJ.Item,{children:[(0,i.jsx)("h1",{children:d.title&&d.title}),(0,i.jsx)("div",{className:"LoreConsole__entryText",dangerouslySetInnerHTML:{__html:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eY,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:eZ;return n&&(t=t.concat(i)),eQ.sanitize(e,{ALLOWED_TAGS:t,FORBID_ATTR:r})}(Z(d.body,{breaks:!0,smartypants:!0,smartLists:!0,baseUrl:"thisshouldbreakhttp"}))}})]})]})})}},5531:function(e,n,t){"use strict";t.r(n),t.d(n,{MODsuit:()=>_,MODsuitContent:()=>k});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&e.cooldown/10||"0","/",e.cooldown_time/10,"s"]}),(0,r.jsxs)(o.XI.Cell,{textAlign:"center",children:[(0,r.jsx)(o.$n,{onClick:function(){return t("select",{ref:e.ref})},icon:"bullseye",selected:e.module_active,tooltip:j(e.module_type),tooltipPosition:"left",disabled:!e.module_type}),(0,r.jsx)(o.$n,{onClick:function(){return h(e.ref)},icon:"cog",selected:f===e.ref,tooltip:"Configure",tooltipPosition:"left",disabled:0===Object.keys(e.configuration_data).length}),(0,r.jsx)(o.$n,{onClick:function(){return t("pin",{ref:e.ref})},icon:"thumbtack",selected:e.pinned,tooltip:"Pin",tooltipPosition:"left",disabled:!e.module_type})]})]})]}),(0,r.jsx)(o.az,{children:e.description})]})})},e.ref)})||(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.az,{textAlign:"center",children:"No Modules Detected"})})})})},k=function(){var e=(0,l.Oc)().data.interface_break;return(0,r.jsx)(o.wn,{fill:!0,scrollable:!e,children:!!e&&(0,r.jsx)(p,{})||(0,r.jsxs)(o.BJ,{vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(b,{})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(y,{})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(v,{})}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(w,{})})]})})},_=function(){var e=(0,l.Oc)().data.ui_theme;return(0,r.jsx)(a.p8,{theme:e,width:400,height:620,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsx)(o.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(k,{})})})})}},5247:function(e,n,t){"use strict";t.r(n),t.d(n,{MagnetController:()=>d});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=t(4744);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=new Set(["metal","glass"]),c=function(){return(0,r.jsx)(l.p8,{width:300,height:400,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(s,{})})})},s=function(){return(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Metals",children:(0,r.jsxs)(i.XI,{className:"materials-table",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{header:!0,pl:"0.5rem",py:"0.5rem",children:"Material"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Sheets"}),(0,r.jsx)(u,{})]}),(0,r.jsx)(d,{})]})})},u=function(){if((0,o.Oc)().data.showPoints)return(0,r.jsx)(i.XI.Cell,{header:!0,children:"Points"})},d=function(){return(0,o.Oc)().data.materials.filter(function(e){return e.amount>=1||a.has(e.id)}).map(function(e){return(0,r.jsx)(f,{material:e},e.id)})},f=function(e){var n=e.material,t=n.id,l=n.amount,a=(0,o.Oc)().data,c=a.icon,s=a.showPoints,u=a.staticMaterials[t],d=u.iconState,f=u.name,h=u.points;return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsxs)(i.XI.Cell,{children:[d?(0,r.jsx)(i.Hg,{icon:c,icon_state:d,verticalAlign:"middle"}):(0,r.jsx)(i.In,{name:"sheet-plastic",verticalAlign:"middle"}),null!=f?f:t]}),(0,r.jsx)(i.XI.Cell,{color:l>=1?"good":"gray",children:l}),!!s&&h&&(0,r.jsx)(i.XI.Cell,{children:h})]})}},2433:function(e,n,t){"use strict";t.r(n),t.d(n,{MechBayConsole:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.recharge_port,c=a&&a.mech,s=c&&c.cell,u=c&&c.name;return(0,r.jsx)(l.p8,{width:400,height:155,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{fill:!0,title:u?"Mech status: "+u:"Mech status",textAlign:"center",buttons:(0,r.jsx)(i.$n,{icon:"sync",content:"Sync",onClick:function(){return t("reconnect")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:!a&&(0,r.jsx)(i.IC,{children:"No power port detected. Please re-sync."})||!c&&(0,r.jsx)(i.IC,{children:"No mech detected."})||(0,r.jsx)(i.z2,{value:c.health/c.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,r.jsx)(i.Ki.Item,{label:"Power",children:!a&&(0,r.jsx)(i.IC,{children:"No power port detected. Please re-sync."})||!c&&(0,r.jsx)(i.IC,{children:"No mech detected."})||!s&&(0,r.jsx)(i.IC,{children:"No cell is installed."})||(0,r.jsxs)(i.z2,{value:s.charge/s.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,r.jsx)(i.zv,{value:s.charge})," / "+s.maxcharge]})})]})})})})}},3763:function(e,n,t){"use strict";t.r(n),t.d(n,{MechaControlConsole:()=>c});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,s=c.beacons,u=c.stored_data;return u.length?(0,r.jsx)(a.p8,{width:420,height:500,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.wn,{title:"Log",buttons:(0,r.jsx)(i.$n,{icon:"window-close",onClick:function(){return t("clear_log")}}),children:u.map(function(e){return(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.az,{color:"label",children:["(",e.time,")"]}),(0,r.jsx)(i.az,{children:(0,o.jT)(e.message)})]},e.time)})})})}):(0,r.jsx)(a.p8,{width:420,height:500,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:s.length&&s.map(function(e){return(0,r.jsx)(i.wn,{title:e.name,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:"comment",onClick:function(){return t("send_message",{mt:e.uid})},children:"Message"}),(0,r.jsx)(i.$n,{icon:"eye",onClick:function(){return t("get_log",{mt:e.uid})},children:"View Log"}),(0,r.jsx)(i.$n.Confirm,{color:"red",content:"Sabotage",icon:"bomb",onClick:function(){return t("shock",{mt:e.uid})}})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{ranges:{good:[.75*e.maxHealth,1/0],average:[.5*e.maxHealth,.75*e.maxHealth],bad:[-1/0,.5*e.maxHealth]},value:e.health,maxValue:e.maxHealth})}),(0,r.jsx)(i.Ki.Item,{label:"Cell Charge",children:e.cell&&(0,r.jsx)(i.z2,{ranges:{good:[.75*e.cellMaxCharge,1/0],average:[.5*e.cellMaxCharge,.75*e.cellMaxCharge],bad:[-1/0,.5*e.cellMaxCharge]},value:e.cellCharge,maxValue:e.cellMaxCharge})||(0,r.jsx)(i.IC,{children:"No Cell Installed"})}),(0,r.jsxs)(i.Ki.Item,{label:"Air Tank",children:[e.airtank,"kPa"]}),(0,r.jsx)(i.Ki.Item,{label:"Pilot",children:e.pilot||"Unoccupied"}),(0,r.jsx)(i.Ki.Item,{label:"Location",children:(0,o.Sn)(e.location)||"Unknown"}),(0,r.jsx)(i.Ki.Item,{label:"Active Equipment",children:e.active||"None"}),e.cargoMax&&(0,r.jsx)(i.Ki.Item,{label:"Cargo Space",children:(0,r.jsx)(i.z2,{ranges:{bad:[.75*e.cargoMax,1/0],average:[.5*e.cargoMax,.75*e.cargoMax],good:[-1/0,.5*e.cargoMax]},value:e.cargoUsed,maxValue:e.cargoMax})})||null]})},e.name)})||(0,r.jsx)(i.IC,{children:"No mecha beacons found."})})})}},9548:function(e,n,t){"use strict";t.r(n),t.d(n,{MedicalRecords:()=>b});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384),s=t(4744),u=t(7352),d=t(736),f=t(2264),h=t(7482);function m(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);td});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=t(4900),s=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=e.product,c=e.productImage,s=e.productCategory,u=i.user_money;return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)("img",{src:"data:image/jpeg;base64,".concat(c),style:{verticalAlign:"middle",width:"32px",margin:"0px"}})}),(0,r.jsx)(o.XI.Cell,{bold:!0,children:a.name}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,textAlign:"center",children:(0,r.jsx)(o.$n,{disabled:a.price>u,icon:"shopping-cart",content:a.price,textAlign:"left",onClick:function(){return t("purchase",{name:a.name,category:s})}})})]})},u=function(e){var n=(0,l.Oc)().data,t=(0,i.useContext)(c.default).tabIndex,a=n.products,u=n.imagelist,d=["apparel","toy","decoration"];return(0,r.jsx)(o.XI,{children:a[d[t]].map(function(e){return(0,r.jsx)(s,{product:e,productImage:u[e.path],productCategory:d[t]},e.name)})})},d=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,s=i.user_cash,d=i.inserted_cash;return(0,r.jsx)(a.p8,{title:"Merch Computer",width:450,height:600,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.wn,{title:"User",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.az,{color:"light-grey",inline:!0,mr:"0.5rem",children:["There is ",(0,r.jsx)("b",{children:d})," credits inserted."]}),(0,r.jsx)(o.$n,{disabled:!d,icon:"money-bill-wave-alt",content:"Dispense Change",textAlign:"left",onClick:function(){return t("change")}})]}),children:(0,r.jsxs)(o.BJ.Item,{children:["Doing your job and not getting any recognition at work? Well, welcome to the merch shop! Here, you can buy cool things in exchange for money you earn when you have completed your Job Objectives.",null!==s&&(0,r.jsxs)(o.az,{mt:"0.5rem",children:["Your balance is ",(0,r.jsxs)("b",{children:[s||0," credits"]}),"."]})]})})}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:"Products",children:(0,r.jsxs)(c.default.Default,{tabIndex:1,children:[(0,r.jsx)(f,{}),(0,r.jsx)(u,{})]})})})]})})})},f=function(e){var n=(0,l.Oc)().data,t=(0,i.useContext)(c.default),a=t.tabIndex,s=t.setTabIndex;return n.login_state,(0,r.jsxs)(o.tU,{children:[(0,r.jsx)(o.tU.Tab,{icon:"dice",selected:1===a,onClick:function(){return s(1)},children:"Toys"}),(0,r.jsx)(o.tU.Tab,{icon:"flag",selected:2===a,onClick:function(){return s(2)},children:"Decorations"})]})}},6231:function(e,n,t){"use strict";t.r(n),t.d(n,{MiningVendor:()=>f});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=e[1].price,e[1]}).sort(d[h]);if(0!==t.length)return m&&(t=t.reverse()),g=!0,(0,r.jsx)(x,{title:e[0],items:t,gridLayout:u},e[0])});return(0,r.jsx)(o.BJ.Item,{grow:!0,mt:.5,children:(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,children:g?j:(0,r.jsx)(o.az,{color:"label",children:"No items matching your criteria was found!"})})})},p=function(e){var n=e.gridLayout,t=e.setGridLayout,i=e.setSearchText,l=e.sortOrder,a=e.setSortOrder,c=e.descending,s=e.setDescending;return(0,r.jsx)(o.az,{children:(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.pd,{fluid:!0,mt:.2,placeholder:"Search by item name..",onChange:function(e){return i(e)}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{icon:n?"list":"table-cells-large",height:1.75,tooltip:n?"Toggle List Layout":"Toggle Grid Layout",tooltipPosition:"bottom-start",onClick:function(){return t(!n)}})}),(0,r.jsx)(o.BJ.Item,{basis:"30%",children:(0,r.jsx)(o.ms,{selected:l,options:Object.keys(d),width:"100%",onSelected:function(e){return a(e)}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{icon:c?"arrow-down":"arrow-up",height:1.75,tooltip:c?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){return s(!c)}})})]})})},x=function(e){var n,t,i=(0,a.Oc)(),l=i.act,c=i.data,s=e.title,u=e.items,d=e.gridLayout,f=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["title","items","gridLayout"]);return(0,r.jsx)(o.Nt,(n=function(e){for(var n=1;na});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.gamestatus,s=a.cand_name,u=a.cand_birth,d=a.cand_age,f=a.cand_species,h=a.cand_planet,m=a.cand_job,p=a.cand_records,x=a.cand_curriculum,g=a.total_curriculums,j=a.reason;return 0===c?(0,r.jsx)(l.p8,{width:400,height:550,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{pt:"45%",fontSize:"31px",color:"white",textAlign:"center",bold:!0,children:"Nanotrasen Recruiter Simulator"}),(0,r.jsx)(i.BJ.Item,{pt:"1%",fontSize:"16px",textAlign:"center",color:"label",children:"Work as the Nanotrasen recruiter and avoid hiring incompetent employees!"})]})}),(0,r.jsxs)(i.wn,{children:[(0,r.jsx)(i.$n,{textAlign:"center",lineHeight:2,fluid:!0,icon:"play",color:"green",content:"Begin Shift",onClick:function(){return t("start_game")}}),(0,r.jsx)(i.$n,{textAlign:"center",lineHeight:2,fluid:!0,icon:"info",color:"blue",content:"Guide",onClick:function(){return t("instructions")}})]})]})})}):1===c?(0,r.jsx)(l.p8,{width:400,height:550,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.wn,{fill:!0,color:"grey",title:"Guide",buttons:(0,r.jsx)(i.$n,{icon:"arrow-left",content:"Main Menu",onClick:function(){return t("back_to_menu")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"1#",color:"silver",children:["To win this game you must hire/dismiss ",(0,r.jsx)("b",{children:g})," candidates, one wrongly made choice leads to a game over."]}),(0,r.jsx)(i.Ki.Item,{label:"2#",color:"silver",children:"Make the right choice by truly putting yourself into the skin of a recruiter working for Nanotrasen!"}),(0,r.jsxs)(i.Ki.Item,{label:"3#",color:"silver",children:[(0,r.jsx)("b",{children:"Unique"})," characters may appear, pay attention to them!"]}),(0,r.jsx)(i.Ki.Item,{label:"4#",color:"silver",children:"Make sure to pay attention to details like age, planet names, the requested job and even the species of the candidate!"}),(0,r.jsxs)(i.Ki.Item,{label:"5#",color:"silver",children:["Not every employment record is good, remember to make your choice based on the ",(0,r.jsx)("b",{children:"company morals"}),"!"]}),(0,r.jsx)(i.Ki.Item,{label:"6#",color:"silver",children:"The planet of origin has no restriction on the species of the candidate, don't think too much when you see humans that came from Boron!"}),(0,r.jsxs)(i.Ki.Item,{label:"7#",color:"silver",children:["Pay attention to ",(0,r.jsx)("b",{children:"typos"})," and ",(0,r.jsx)("b",{children:"missing words"}),", these do make for bad applications!"]}),(0,r.jsxs)(i.Ki.Item,{label:"8#",color:"silver",children:["Remember, you are recruiting people to work at one of the many NT stations, so no hiring for"," ",(0,r.jsx)("b",{children:"jobs"})," that they ",(0,r.jsx)("b",{children:"don't offer"}),"!"]}),(0,r.jsxs)(i.Ki.Item,{label:"9#",color:"silver",children:["Keep your eyes open for incompatible ",(0,r.jsx)("b",{children:"naming schemes"}),", no company wants a Vox named Joe!"]}),(0,r.jsxs)(i.Ki.Item,{label:"10#",color:"silver",children:["For some unknown reason ",(0,r.jsx)("b",{children:"clowns"})," are never denied by the company, no matter what."]})]})})})})}):2===c?(0,r.jsx)(l.p8,{width:400,height:550,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,color:"label",fontSize:"14px",title:"Employment Applications",children:[(0,r.jsxs)(i.az,{fontSize:"24px",textAlign:"center",color:"silver",bold:!0,children:["Candidate Number #",x]}),(0,r.jsx)("br",{}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",color:"silver",children:(0,r.jsx)("b",{children:s})}),(0,r.jsx)(i.Ki.Item,{label:"Species",color:"silver",children:(0,r.jsx)("b",{children:f})}),(0,r.jsx)(i.Ki.Item,{label:"Age",color:"silver",children:(0,r.jsx)("b",{children:d})}),(0,r.jsx)(i.Ki.Item,{label:"Date of Birth",color:"silver",children:(0,r.jsx)("b",{children:u})}),(0,r.jsx)(i.Ki.Item,{label:"Planet of Origin",color:"silver",children:(0,r.jsx)("b",{children:h})}),(0,r.jsx)(i.Ki.Item,{label:"Requested Job",color:"silver",children:(0,r.jsx)("b",{children:m})}),(0,r.jsx)(i.Ki.Item,{label:"Employment Records",color:"silver",children:(0,r.jsx)("b",{children:p})})]})]})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{fill:!0,title:"Stamp the application!",color:"grey",textAlign:"center",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,basis:0,children:(0,r.jsx)(i.$n,{fluid:!0,color:"red",content:"Dismiss",fontSize:"150%",icon:"ban",lineHeight:4.5,onClick:function(){return t("dismiss")}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:0,children:(0,r.jsx)(i.$n,{fluid:!0,color:"green",content:"Hire",fontSize:"150%",icon:"arrow-circle-up",lineHeight:4.5,onClick:function(){return t("hire")}})})]})})})]})})}):3===c?(0,r.jsx)(l.p8,{width:400,height:550,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,{pt:"40%",fill:!0,children:[(0,r.jsx)(i.BJ.Item,{bold:!0,color:"red",fontSize:"50px",textAlign:"center",children:"Game Over"}),(0,r.jsx)(i.BJ.Item,{fontSize:"15px",color:"label",textAlign:"center",children:j}),(0,r.jsxs)(i.BJ.Item,{color:"blue",fontSize:"20px",textAlign:"center",pt:"10px",children:["FINAL SCORE: ",x-1,"/",g]})]})}),(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.$n,{lineHeight:4,fluid:!0,icon:"arrow-left",content:"Main Menu",onClick:function(){return t("back_to_menu")}})})]})})}):void 0}},452:function(e,n,t){"use strict";t.r(n),t.d(n,{Newscaster:()=>v});var r=t(8138),i=t(4530),o=t(7790),l=t(5490),a=t(2864),c=t(421),s=t(3384),u=t(4744),d=t(7482);function f(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function x(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),!n||o.length!==n);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(e,n)||g(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,n){if(e){if("string"==typeof e)return f(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return f(e,n)}}var j=["security","engineering","medical","science","service","supply"],b={security:{title:"Security",fluff_text:"Help keep the crew safe"},engineering:{title:"Engineering",fluff_text:"Ensure the station runs smoothly"},medical:{title:"Medical",fluff_text:"Practice medicine and save lives"},science:{title:"Science",fluff_text:"Develop new technologies"},service:{title:"Service",fluff_text:"Provide amenities to the crew"},supply:{title:"Supply",fluff_text:"Keep the station supplied"}},y=(0,i.createContext)(null),v=function(e){var n,t=(0,a.Oc)(),c=t.act,f=t.data,h=f.is_security,m=f.is_admin,p=f.is_silent,g=f.is_printing,j=f.screen,b=f.channels,v=f.channel_idx,C=void 0===v?-1:v,I=x((0,i.useState)(!1),2),O=I[0],A=I[1],P=x((0,i.useState)(""),2),E=P[0],B=P[1],z=x((0,i.useState)(!1),2),T=z[0],N=z[1],$=x((0,i.useState)([]),2),D=$[0],R=$[1];0===j||2===j?n=(0,r.jsx)(k,{}):1===j&&(n=(0,r.jsx)(_,{}));var M=b.reduce(function(e,n){return e+n.unread},0);return(0,r.jsxs)(s.p8,{theme:h&&"security",width:800,height:600,children:[(0,r.jsx)(y.Provider,{value:{viewingPhoto:E,setViewingPhoto:B},children:E?(0,r.jsx)(S,{}):(0,r.jsx)(u.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"})}),(0,r.jsx)(s.p8.Content,{children:(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.wn,{fill:!0,className:(0,l.Ly)(["Newscaster__menu",O&&"Newscaster__menu--open"]),children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsxs)(o.BJ.Item,{children:[(0,r.jsx)(w,{icon:"bars",title:"Toggle Menu",onClick:function(){return A(!O)}}),(0,r.jsx)(w,{icon:"newspaper",title:"Headlines",selected:0===j,onClick:function(){return c("headlines")},children:M>0&&(0,r.jsx)(o.az,{className:"Newscaster__menuButton--unread",children:M>=10?"9+":M})}),(0,r.jsx)(w,{icon:"briefcase",title:"Job Openings",selected:1===j,onClick:function(){return c("jobs")}}),(0,r.jsx)(o.cG,{})]}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:b.map(function(e){return(0,r.jsx)(w,{icon:e.icon,title:e.name,selected:2===j&&b[C-1]===e,onClick:function(){return c("channel",{uid:e.uid})},children:e.unread>0&&(0,r.jsx)(o.az,{className:"Newscaster__menuButton--unread",children:e.unread>=10?"9+":e.unread})},e)})}),(0,r.jsxs)(o.BJ.Item,{children:[(0,r.jsx)(o.cG,{}),(!!h||!!m)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){return(0,u.modalOpen)("wanted_notice")}}),(0,r.jsx)(w,{security:!0,icon:T?"minus-square":"minus-square-o",title:"Censor Mode: "+(T?"On":"Off"),mb:"0.5rem",onClick:function(){return N(!T)}}),(0,r.jsx)(o.cG,{})]}),(0,r.jsx)(w,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){return(0,u.modalOpen)("create_story")}}),(0,r.jsx)(w,{icon:"plus-circle",title:"New Channel",onClick:function(){return(0,u.modalOpen)("create_channel")}}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(w,{icon:g?"spinner":"print",iconSpin:g,title:g?"Printing...":"Print Newspaper",onClick:function(){return c("print_newspaper")}}),(0,r.jsx)(w,{icon:p?"volume-mute":"volume-up",title:"Mute: "+(p?"On":"Off"),onClick:function(){return c("toggle_mute")}})]})]})}),(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,width:"100%",children:[(0,r.jsx)(d.TemporaryNotice,{}),(0,r.jsx)(y.Provider,{value:{viewingPhoto:E,setViewingPhoto:B,censorMode:T,fullStories:D,setFullStories:R},children:n})]})]})})]})},w=function(e){(0,a.Oc)().act;var n=e.icon,t=e.iconSpin,i=e.selected,c=void 0!==i&&i,s=e.security,u=e.onClick,d=e.title,f=e.children,x=p(e,["icon","iconSpin","selected","security","onClick","title","children"]);return(0,r.jsxs)(o.BJ,m(h({align:"center",className:(0,l.Ly)(["Newscaster__menuButton",c&&"Newscaster__menuButton--selected",void 0!==s&&s&&"Newscaster__menuButton--security"]),onClick:u},x),{children:[(0,r.jsxs)(o.BJ.Item,{children:[c&&(0,r.jsx)(o.az,{className:"Newscaster__menuButton--selectedBar"}),(0,r.jsx)(o.In,{name:void 0===n?"":n,spin:t,size:"2"})]}),(0,r.jsx)(o.BJ.Item,{className:"Newscaster__menuButton--title",children:d}),f]}))},k=function(e){var n=(0,a.Oc)(),t=n.act,l=n.data,c=l.screen,s=l.is_admin,d=l.channel_idx,f=l.channel_can_manage,p=l.channels,x=l.stories,g=l.wanted,j=(0,i.useContext)(y),b=j.fullStories,v=j.censorMode,w=2===c&&d>-1?p[d-1]:null;return(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[!!g&&(0,r.jsx)(C,{story:g,wanted:!0}),(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.In,{name:w?w.icon:"newspaper",mr:"0.5rem"}),w?w.name:"Headlines"]}),children:x.length>0?x.slice().reverse().map(function(e){return!b.includes(e.uid)&&e.body.length+3>128?m(h({},e),{body_short:e.body.substr(0,124)+"..."}):e}).map(function(e,n){return(0,r.jsx)(C,{story:e},n)}):(0,r.jsxs)(o.az,{className:"Newscaster__emptyNotice",children:[(0,r.jsx)(o.In,{name:"times",size:"3"}),(0,r.jsx)("br",{}),"There are no stories at this time."]})}),!!w&&(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,height:"40%",title:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.In,{name:"info-circle",mr:"0.5rem"}),"About"]}),buttons:(0,r.jsxs)(r.Fragment,{children:[v&&(0,r.jsx)(o.$n,{disabled:!!w.admin&&!s,selected:w.censored,icon:w.censored?"comment-slash":"comment",content:w.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){return t("censor_channel",{uid:w.uid})}}),(0,r.jsx)(o.$n,{disabled:!f,icon:"cog",content:"Manage",onClick:function(){return(0,u.modalOpen)("manage_channel",{uid:w.uid})}})]}),children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Description",children:w.description||"N/A"}),(0,r.jsx)(o.Ki.Item,{label:"Owner",children:w.author||"N/A"}),!!s&&(0,r.jsx)(o.Ki.Item,{label:"Ckey",children:w.author_ckey}),(0,r.jsx)(o.Ki.Item,{label:"Public",children:w.public?"Yes":"No"}),(0,r.jsxs)(o.Ki.Item,{label:"Total Views",children:[(0,r.jsx)(o.In,{name:"eye",mr:"0.5rem"}),x.reduce(function(e,n){return e+n.view_count},0).toLocaleString()]})]})})]})},_=function(e){var n=(0,a.Oc)(),t=(n.act,n.data),i=t.jobs,c=t.wanted,s=Object.entries(i).reduce(function(e,n){var t=x(n,2);return e+(t[0],t[1]).length},0);return(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[!!c&&(0,r.jsx)(C,{story:c,wanted:!0}),(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,m:0,title:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.In,{name:"briefcase",mr:"0.5rem"}),"Job Openings"]}),buttons:(0,r.jsx)(o.az,{mt:"0.25rem",color:"label",children:"Work for a better future at Nanotrasen"}),children:s>0?j.map(function(e){return Object.assign({},b[e],{id:e,jobs:i[e]})}).filter(function(e){return!!e&&e.jobs.length>0}).map(function(e){return(0,r.jsx)(o.wn,{className:(0,l.Ly)(["Newscaster__jobCategory","Newscaster__jobCategory--"+e.id]),title:e.title,buttons:(0,r.jsx)(o.az,{mt:"0.25rem",color:"label",children:e.fluff_text}),children:e.jobs.map(function(e){return(0,r.jsxs)(o.az,{class:(0,l.Ly)(["Newscaster__jobOpening",!!e.is_command&&"Newscaster__jobOpening--command"]),children:["• ",e.title]},e.title)})},e.id)}):(0,r.jsxs)(o.az,{className:"Newscaster__emptyNotice",children:[(0,r.jsx)(o.In,{name:"times",size:"3"}),(0,r.jsx)("br",{}),"There are no openings at this time."]})}),(0,r.jsxs)(o.wn,{height:"17%",children:["Interested in serving Nanotrasen?",(0,r.jsx)("br",{}),"Sign up for any of the above position now at the ",(0,r.jsx)("b",{children:"Head of Personnel's Office!"}),(0,r.jsx)("br",{}),(0,r.jsx)(o.az,{as:"small",color:"label",children:"By signing up for a job at Nanotrasen, you agree to transfer your soul to the loyalty department of the omnipresent and helpful watcher of humanity."})]})]})},C=function(e){var n=(0,a.Oc)(),t=n.act,s=n.data,u=e.story,d=e.wanted,h=void 0!==d&&d,m=s.is_admin,p=(0,i.useContext)(y),x=p.fullStories,j=p.setFullStories,b=p.censorMode;return(0,r.jsx)(o.wn,{className:(0,l.Ly)(["Newscaster__story",h&&"Newscaster__story--wanted"]),title:(0,r.jsxs)(r.Fragment,{children:[h&&(0,r.jsx)(o.In,{name:"exclamation-circle",mr:"0.5rem"}),2&u.censor_flags&&"[REDACTED]"||u.title||"News from "+u.author]}),buttons:(0,r.jsx)(o.az,{mt:"0.25rem",children:(0,r.jsxs)(o.az,{color:"label",children:[!h&&b&&(0,r.jsx)(o.az,{inline:!0,children:(0,r.jsx)(o.$n,{enabled:2&u.censor_flags,icon:2&u.censor_flags?"comment-slash":"comment",content:2&u.censor_flags?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){return t("censor_story",{uid:u.uid})}})}),(0,r.jsxs)(o.az,{inline:!0,children:[(0,r.jsx)(o.In,{name:"user"})," ",u.author," |\xa0",!!m&&(0,r.jsxs)(r.Fragment,{children:["ckey: ",u.author_ckey," |\xa0"]}),!h&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.In,{name:"eye"})," ",u.view_count.toLocaleString()," |\xa0"]}),(0,r.jsx)(o.In,{name:"clock"})," ",(0,c.fF)(u.publish_time,s.world_time)]})]})}),children:(0,r.jsx)(o.az,{children:2&u.censor_flags?"[REDACTED]":(0,r.jsxs)(r.Fragment,{children:[!!u.has_photo&&(0,r.jsx)(I,{name:"story_photo_"+u.uid+".png",style:{float:"right"},ml:"0.5rem"}),(u.body_short||u.body).split("\n").map(function(e,n){return(0,r.jsx)(o.az,{children:e||(0,r.jsx)("br",{})},n)}),u.body_short&&(0,r.jsx)(o.$n,{content:"Read more..",mt:"0.5rem",onClick:function(){return j(((function(e){if(Array.isArray(e))return f(e)})(x)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(x)||g(x)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([u.uid]))}}),(0,r.jsx)(o.az,{clear:"right"})]})})})},I=function(e){var n=e.name,t=p(e,["name"]),l=(0,i.useContext)(y).setViewingPhoto;return(0,r.jsx)(o.az,h({as:"img",className:"Newscaster__photo",src:n,onClick:function(){return l(n)}},t))},S=function(e){var n=(0,i.useContext)(y),t=n.viewingPhoto,l=n.setViewingPhoto;return(0,r.jsxs)(o.aF,{className:"Newscaster__photoZoom",children:[(0,r.jsx)(o.az,{as:"img",src:t}),(0,r.jsx)(o.$n,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){return l("")}})]})},O=function(e){var n=(0,a.Oc)(),t=(n.act,n.data),l=!!e.args.uid&&t.channels.filter(function(n){return n.uid===e.args.uid}).pop();if("manage_channel"===e.id&&!l)return void(0,u.modalClose)();var c="manage_channel"===e.id,s=!!e.args.is_admin,d=e.args.scanned_user,f=x((0,i.useState)((null==l?void 0:l.author)||d||"Unknown"),2),h=f[0],m=f[1],p=x((0,i.useState)((null==l?void 0:l.name)||""),2),g=p[0],j=p[1],b=x((0,i.useState)((null==l?void 0:l.description)||""),2),y=b[0],v=b[1],w=x((0,i.useState)((null==l?void 0:l.icon)||"newspaper"),2),k=w[0],_=w[1],C=x((0,i.useState)(!!c&&!!(null==l?void 0:l.public)),2),I=C[0],S=C[1],O=x((0,i.useState)((null==l?void 0:l.admin)===1),2),A=O[0],P=O[1];return(0,r.jsxs)(o.wn,{m:"-1rem",pb:"1.5rem",title:c?"Manage "+l.name:"Create New Channel",children:[(0,r.jsx)(o.az,{mx:"0.5rem",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Owner",children:(0,r.jsx)(o.pd,{disabled:!s,width:"100%",value:h,onChange:function(e){return m(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Name",children:(0,r.jsx)(o.pd,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:g,onChange:function(e){return j(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Description (optional)",verticalAlign:"top",children:(0,r.jsx)(o.pd,{multiline:!0,width:"100%",placeholder:"128 characters max.",maxLength:"128",value:y,onChange:function(e){return v(e)}})}),(0,r.jsxs)(o.Ki.Item,{label:"Icon",children:[(0,r.jsx)(o.pd,{disabled:!s,value:k,width:"35%",mr:"0.5rem",onChange:function(e){return _(e)}}),(0,r.jsx)(o.In,{name:k,size:"2",verticalAlign:"middle",mr:"0.5rem"})]}),(0,r.jsx)(o.Ki.Item,{label:"Accept Public Stories?",children:(0,r.jsx)(o.$n,{selected:I,icon:I?"toggle-on":"toggle-off",content:I?"Yes":"No",onClick:function(){return S(!I)}})}),s&&(0,r.jsx)(o.Ki.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,r.jsx)(o.$n,{selected:A,icon:A?"lock":"lock-open",content:A?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){return P(!A)}})})]})}),(0,r.jsx)(o.$n.Confirm,{disabled:0===h.trim().length||0===g.trim().length,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){(0,u.modalAnswer)(e.id,"",{author:h,name:g.substr(0,49),description:y.substr(0,128),icon:k,public:+!!I,admin_locked:+!!A})}})]})};(0,u.modalRegisterBodyOverride)("create_channel",O),(0,u.modalRegisterBodyOverride)("manage_channel",O),(0,u.modalRegisterBodyOverride)("create_story",function(e){var n=(0,a.Oc)(),t=n.act,l=n.data,c=l.photo,s=l.channels,d=l.channel_idx,f=void 0===d?-1:d,h=!!e.args.is_admin,m=e.args.scanned_user,p=s.slice().sort(function(e,n){if(f<0)return 0;var t=s[f-1];return t.uid===e.uid?-1:t.uid===n.uid?1:void 0}).filter(function(e){return h||!e.frozen&&(e.author===m||!!e.public)}),g=x((0,i.useState)(m||"Unknown"),2),j=g[0],b=g[1],y=x((0,i.useState)(p.length>0?p[0].name:""),2),v=y[0],w=y[1],k=x((0,i.useState)(""),2),_=k[0],C=k[1],S=x((0,i.useState)(""),2),O=S[0],A=S[1],P=x((0,i.useState)(!1),2),E=P[0],B=P[1];return(0,r.jsxs)(o.wn,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,r.jsx)(o.az,{mx:"0.5rem",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Author",children:(0,r.jsx)(o.pd,{disabled:!h,width:"100%",value:j,onChange:function(e){return b(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Channel",verticalAlign:"top",children:(0,r.jsx)(o.ms,{selected:v,options:p.map(function(e){return e.name}),mb:"0",width:"100%",onSelected:function(e){return w(e)}})}),(0,r.jsx)(o.Ki.Divider,{}),(0,r.jsx)(o.Ki.Item,{label:"Title",children:(0,r.jsx)(o.pd,{width:"100%",placeholder:"128 characters max.",maxLength:"128",value:_,onChange:function(e){return C(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Story Text",verticalAlign:"top",children:(0,r.jsx)(o.pd,{fluid:!0,multiline:!0,placeholder:"1024 characters max.",maxLength:"1024",rows:"8",width:"100%",value:O,onChange:function(e){return A(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Photo (optional)",verticalAlign:"top",children:(0,r.jsx)(o.$n,{icon:"image",selected:c,content:c?"Eject: "+c.name:"Insert Photo",tooltip:!c&&"Attach a photo to this story by holding the photograph in your hand.",onClick:function(){return t(c?"eject_photo":"attach_photo")}})}),(0,r.jsx)(o.Ki.Item,{label:"Preview",verticalAlign:"top",children:(0,r.jsx)(o.wn,{noTopPadding:!0,title:_,maxHeight:"13.5rem",overflow:"auto",children:(0,r.jsxs)(o.az,{mt:"0.5rem",children:[!!c&&(0,r.jsx)(I,{name:"inserted_photo_"+c.uid+".png",style:{float:"right"}}),O.split("\n").map(function(e,n){return(0,r.jsx)(o.az,{children:e||(0,r.jsx)("br",{})},n)}),(0,r.jsx)(o.az,{clear:"right"})]})})}),h&&(0,r.jsx)(o.Ki.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,r.jsx)(o.$n,{selected:E,icon:E?"lock":"lock-open",content:E?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){return B(!E)}})})]})}),(0,r.jsx)(o.$n.Confirm,{disabled:0===j.trim().length||0===v.trim().length||0===_.trim().length||0===O.trim().length,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){(0,u.modalAnswer)("create_story","",{author:j,channel:v,title:_.substr(0,127),body:O.substr(0,1023),admin_locked:+!!E})}})]})}),(0,u.modalRegisterBodyOverride)("wanted_notice",function(e){var n=(0,a.Oc)(),t=n.act,l=n.data,c=l.photo,s=l.wanted,d=!!e.args.is_admin,f=e.args.scanned_user,h=x((0,i.useState)((null==s?void 0:s.author)||f||"Unknown"),2),m=h[0],p=h[1],g=x((0,i.useState)((null==s?void 0:s.title.substr(8))||""),2),j=g[0],b=g[1],y=x((0,i.useState)((null==s?void 0:s.body)||""),2),v=y[0],w=y[1],k=x((0,i.useState)((null==s?void 0:s.admin_locked)===1),2),_=k[0],C=k[1];return(0,r.jsxs)(o.wn,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,r.jsx)(o.az,{mx:"0.5rem",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Authority",children:(0,r.jsx)(o.pd,{disabled:!d,width:"100%",value:m,onChange:function(e){return p(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Name",children:(0,r.jsx)(o.pd,{width:"100%",value:j,maxLength:"128",onChange:function(e){return b(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Description",verticalAlign:"top",children:(0,r.jsx)(o.pd,{multiline:!0,width:"100%",value:v,maxLength:"512",rows:"4",onChange:function(e){return w(e)}})}),(0,r.jsxs)(o.Ki.Item,{label:"Photo (optional)",verticalAlign:"top",children:[(0,r.jsx)(o.$n,{icon:"image",selected:c,content:c?"Eject: "+c.name:"Insert Photo",tooltip:!c&&"Attach a photo to this wanted notice by holding the photograph in your hand.",tooltipPosition:"top",onClick:function(){return t(c?"eject_photo":"attach_photo")}}),!!c&&(0,r.jsx)(I,{name:"inserted_photo_"+c.uid+".png",style:{float:"right"}})]}),d&&(0,r.jsx)(o.Ki.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,r.jsx)(o.$n,{selected:_,icon:_?"lock":"lock-open",content:_?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){return C(!_)}})})]})}),(0,r.jsx)(o.$n.Confirm,{disabled:!s,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){t("clear_wanted_notice"),(0,u.modalClose)()}}),(0,r.jsx)(o.$n.Confirm,{disabled:0===m.trim().length||0===j.trim().length||0===v.trim().length,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){(0,u.modalAnswer)(e.id,"",{author:m,name:j.substr(0,127),description:v.substr(0,511),admin_locked:+!!_})}})]})})},6563:function(e,n,t){"use strict";t.r(n),t.d(n,{Noticeboard:()=>c});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data.papers;return(0,r.jsx)(a.p8,{width:600,height:300,theme:"noticeboard",children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,children:c.map(function(e){return(0,r.jsx)(i.BJ.Item,{align:"center",width:"22.45%",height:"85%",onClick:function(){return t("interact",{paper:e.ref})},onContextMenu:function(n){n.preventDefault(),t("showFull",{paper:e.ref})},children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,fontSize:.75,title:e.name,children:(0,o.jT)(e.contents)})},e.ref)})})})})}},5867:function(e,n,t){"use strict";t.r(n),t.d(n,{NuclearBomb:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;return a.extended?(0,r.jsx)(l.p8,{width:350,height:290,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Authorization",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Auth Disk",children:(0,r.jsx)(i.$n,{icon:a.authdisk?"eject":"id-card",selected:a.authdisk,content:a.diskname?a.diskname:"-----",tooltip:a.authdisk?"Eject Disk":"Insert Disk",onClick:function(){return t("auth")}})}),(0,r.jsx)(i.Ki.Item,{label:"Auth Code",children:(0,r.jsx)(i.$n,{icon:"key",disabled:!a.authdisk,selected:a.authcode,content:a.codemsg,onClick:function(){return t("code")}})})]})}),(0,r.jsx)(i.wn,{title:"Arming & Disarming",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Bolted to floor",children:(0,r.jsx)(i.$n,{icon:a.anchored?"check":"times",selected:a.anchored,disabled:!a.authdisk,content:a.anchored?"YES":"NO",onClick:function(){return t("toggle_anchor")}})}),(0,r.jsx)(i.Ki.Item,{label:"Time Left",children:(0,r.jsx)(i.$n,{icon:"stopwatch",content:a.time,disabled:!a.authfull,tooltip:"Set Timer",onClick:function(){return t("set_time")}})}),(0,r.jsx)(i.Ki.Item,{label:"Safety",children:(0,r.jsx)(i.$n,{icon:a.safety?"check":"times",selected:a.safety,disabled:!a.authfull,content:a.safety?"ON":"OFF",tooltip:a.safety?"Disable Safety":"Enable Safety",onClick:function(){return t("toggle_safety")}})}),(0,r.jsx)(i.Ki.Item,{label:"Arm/Disarm",children:(0,r.jsx)(i.$n,{icon:(a.timer,"bomb"),disabled:a.safety||!a.authfull,color:"red",content:a.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){return t("toggle_armed")}})})]})})]})}):(0,r.jsx)(l.p8,{width:350,height:115,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{title:"Deployment",children:(0,r.jsx)(i.$n,{fluid:!0,icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){return t("deploy")}})})})})}},8007:function(e,n,t){"use strict";t.r(n),t.d(n,{NumberInputModal:()=>f});var r=t(8138),i=t(4530),o=t(7790),l=t(7686),a=t(2864),c=t(3384),s=t(1942),u=t(9472);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&x?5:0);return(0,r.jsxs)(c.p8,{title:y,width:270,height:_,children:[b&&(0,r.jsx)(u.Loader,{value:b}),(0,r.jsx)(c.p8.Content,{onKeyDown:function(e){var n=window.event?e.which:e.keyCode;n===l.Ri&&f("submit",{entry:w}),n===l.s6&&f("cancel")},children:(0,r.jsx)(o.wn,{fill:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.az,{color:"label",children:j})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(h,{input:w,onClick:function(e){e!==w&&k(e)},onChange:function(e){e!==w&&k(e)}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(s.InputButtons,{input:w})})]})})})]})},h=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data,l=i.min_value,c=i.max_value,s=i.init_value,u=i.round_value,d=e.input,f=e.onClick,h=e.onChange,m=Math.round(d!==l?Math.max(d/2,l):c/2),p=d===l&&l>0||1===d;return(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{disabled:d===l,icon:"angle-double-left",onClick:function(){return f(l)},tooltip:d===l?"Min":"Min (".concat(l,")")})}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.SM,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!u,minValue:l,maxValue:c,value:d,onChange:h,onEnter:function(e){return t("submit",{entry:e})}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{disabled:d===c,icon:"angle-double-right",onClick:function(){return f(c)},tooltip:d===c?"Max":"Max (".concat(c,")")})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{disabled:p,icon:"divide",onClick:function(){return f(m)},tooltip:p?"Split":"Split (".concat(m,")")})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{disabled:d===s,icon:"redo",onClick:function(){return f(s)},tooltip:s?"Reset (".concat(s,")"):"Reset"})})]})}},4965:function(e,n,t){"use strict";t.r(n),t.d(n,{ObjAccessModifier:()=>a});var r=t(8138),i=t(7790),o=t(3384),l=t(9281),a=function(){return(0,r.jsx)(o.p8,{width:500,height:565,children:(0,r.jsx)(o.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(l.ChooseAccess,{})})})})}},6499:function(e,n,t){"use strict";t.r(n),t.d(n,{OperatingComputer:()=>d});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],c=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],s={average:[.25,.5],bad:[.5,1/0]},u=["bad","average","average","good","average","average","bad"],d=function(e){var n,t=(0,o.Oc)(),a=t.act,c=t.data,s=c.hasOccupant,u=c.choice;return n=u?(0,r.jsx)(m,{}):s?(0,r.jsx)(f,{}):(0,r.jsx)(h,{}),(0,r.jsx)(l.p8,{width:650,height:455,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.tU,{children:[(0,r.jsx)(i.tU.Tab,{selected:!u,icon:"user",onClick:function(){return a("choiceOff")},children:"Patient"}),(0,r.jsx)(i.tU.Tab,{selected:!!u,icon:"cog",onClick:function(){return a("choiceOn")},children:"Options"})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:n})})]})})})},f=function(e){var n=(0,o.Oc)().data.occupant,t=n.activeSurgeries;return(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,title:"Patient",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:n.name}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:a[n.stat][0],children:a[n.stat][1]}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{min:"0",max:n.maxHealth,value:n.health/n.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),c.map(function(e,t){return(0,r.jsx)(i.Ki.Item,{label:e[0]+" Damage",children:(0,r.jsx)(i.z2,{min:"0",max:"100",value:n[e[1]]/100,ranges:s,children:Math.round(n[e[1]])},t)},t)}),(0,r.jsx)(i.Ki.Item,{label:"Temperature",children:(0,r.jsxs)(i.z2,{min:"0",max:n.maxTemp,value:n.bodyTemperature/n.maxTemp,color:u[n.temperatureSuitability+3],children:[Math.round(n.btCelsius),"\xb0C, ",Math.round(n.btFaren),"\xb0F"]})}),!!n.hasBlood&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Blood Level",children:(0,r.jsxs)(i.z2,{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,r.jsxs)(i.Ki.Item,{label:"Pulse",children:[n.pulse," BPM"]})]})]})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Active surgeries",level:"2",children:n.inSurgery&&t?t.map(function(e,n){return(0,r.jsx)(i.wn,{style:{textTransform:"capitalize"},title:e.name+" ("+e.location+")",children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Next Step",children:e.step},n)},n)},n)}):(0,r.jsx)(i.az,{color:"label",children:"No procedure ongoing."})})})]})},h=function(){return(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,r.jsx)("br",{}),"No patient detected."]})})},m=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.verbose,c=l.health,s=l.healthAlarm,u=l.oxy,d=l.oxyAlarm,f=l.crit;return(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Loudspeaker",children:(0,r.jsx)(i.$n,{selected:a,icon:a?"toggle-on":"toggle-off",content:a?"On":"Off",onClick:function(){return t(a?"verboseOff":"verboseOn")}})}),(0,r.jsx)(i.Ki.Item,{label:"Health Announcer",children:(0,r.jsx)(i.$n,{selected:c,icon:c?"toggle-on":"toggle-off",content:c?"On":"Off",onClick:function(){return t(c?"healthOff":"healthOn")}})}),(0,r.jsx)(i.Ki.Item,{label:"Health Announcer Threshold",children:(0,r.jsx)(i.N6,{bipolar:!0,minValue:-100,maxValue:100,value:s,stepPixelSize:5,ml:"0",onChange:function(e,n){return t("health_adj",{new:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Oxygen Alarm",children:(0,r.jsx)(i.$n,{selected:u,icon:u?"toggle-on":"toggle-off",content:u?"On":"Off",onClick:function(){return t(u?"oxyOff":"oxyOn")}})}),(0,r.jsx)(i.Ki.Item,{label:"Oxygen Alarm Threshold",children:(0,r.jsx)(i.N6,{bipolar:!0,minValue:-100,maxValue:100,value:d,stepPixelSize:5,ml:"0",onChange:function(e,n){return t("oxy_adj",{new:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Critical Alert",children:(0,r.jsx)(i.$n,{selected:f,icon:f?"toggle-on":"toggle-off",content:f?"On":"Off",onClick:function(){return t(f?"critOff":"critOn")}})})]})}},7701:function(e,n,t){"use strict";t.r(n),t.d(n,{Orbit:()=>j});var r=t(8138),i=t(4530),o=t(7790),l=t(5490),a=t(3268),c=t(2864),s=t(3384);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tn},p=function(e,n){var t=e.name,r=n.name;if(!t||!r)return 0;var i=t.match(f),o=r.match(f);return i&&o&&t.replace(f,"")===r.replace(f,"")?parseInt(i[1],10)-parseInt(o[1],10):m(t,r)},x=function(e){var n=e.searchText,t=e.source,i=e.title,l=e.color,a=e.sorted,c=t.filter(h(n));return a&&c.sort(p),t.length>0&&(0,r.jsx)(o.wn,{title:"".concat(i," - (").concat(t.length,")"),children:c.map(function(e){return(0,r.jsx)(g,{thing:e,color:l},e.name)})})},g=function(e){var n=(0,c.Oc)().act,t=e.color,i=e.thing;return(0,r.jsxs)(o.$n,{color:t,tooltip:i.assigned_role?(0,r.jsxs)(o.BJ,{children:[(0,r.jsx)(o.az,{as:"img",mr:"0.5em",className:(0,l.Ly)(["job_icons16x16",i.assigned_role_sprite])})," ",i.assigned_role]}):"",tooltipPosition:"bottom",onClick:function(){return n("orbit",{ref:i.ref})},children:[i.name,i.orbiters&&(0,r.jsxs)(o.az,{inline:!0,ml:1,children:["(",i.orbiters," ",(0,r.jsx)(o.In,{name:"eye"}),")"]})]})},j=function(e){var n=(0,c.Oc)(),t=n.act,l=n.data,a=l.alive,u=l.antagonists,f=l.highlights,j=l.response_teams,b=l.tourist,y=(l.auto_observe,l.dead),v=l.ssd,w=l.ghosts,k=l.misc,_=l.npcs,C=d((0,i.useState)(""),2),I=C[0],S=C[1],O={},A=!0,P=!1,E=void 0;try{for(var B,z=u[Symbol.iterator]();!(A=(B=z.next()).done);A=!0){var T=B.value;void 0===O[T.antag]&&(O[T.antag]=[]),O[T.antag].push(T)}}catch(e){P=!0,E=e}finally{try{A||null==z.return||z.return()}finally{if(P)throw E}}var N=Object.entries(O);N.sort(function(e,n){return m(e[0],n[0])});var $=function(e){for(var n=0,r=[N.map(function(e){var n=d(e,2);return n[0],n[1]}),b,f,a,w,v,y,_,k];n0&&(0,r.jsx)(o.wn,{title:"Antagonists",children:N.map(function(e){var n=d(e,2),t=n[0],i=n[1];return(0,r.jsx)(o.wn,{title:"".concat(t," - (").concat(i.length,")"),level:2,children:i.filter(h(I)).sort(p).map(function(e){return(0,r.jsx)(g,{color:"bad",thing:e},e.name)})},t)})}),f.length>0&&(0,r.jsx)(x,{title:"Highlights",source:f,searchText:I,color:"teal"}),(0,r.jsx)(x,{title:"Response Teams",source:j,searchText:I,color:"purple"}),(0,r.jsx)(x,{title:"Tourists",source:b,searchText:I,color:"violet"}),(0,r.jsx)(x,{title:"Alive",source:a,searchText:I,color:"good"}),(0,r.jsx)(x,{title:"Ghosts",source:w,searchText:I,color:"grey"}),(0,r.jsx)(x,{title:"SSD",source:v,searchText:I,color:"grey"}),(0,r.jsx)(x,{title:"Dead",source:y,searchText:I,sorted:!1}),(0,r.jsx)(x,{title:"NPCs",source:_,searchText:I,sorted:!1}),(0,r.jsx)(x,{title:"Misc",source:k,searchText:I,sorted:!1})]})})}},5802:function(e,n,t){"use strict";t.r(n),t.d(n,{OreRedemption:()=>f});var r=t(8138),i=t(7790),o=t(5490),l=t(2864),a=t(3384);function c(){return(c=Object.assign||function(e){for(var n=1;n0?"good":"grey",bold:a>0&&"good",children:a.toLocaleString("en-US")+" pts"})}),(0,r.jsx)(i.cG,{}),f?(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Design disk",children:[(0,r.jsx)(i.$n,{selected:!0,bold:!0,icon:"eject",content:f.name,tooltip:"Ejects the design disk.",onClick:function(){return t("eject_disk")}}),(0,r.jsx)(i.$n,{disabled:!f.design||!f.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){return t("download")}})]}),(0,r.jsx)(i.Ki.Item,{label:"Stored design",children:(0,r.jsx)(i.az,{color:f.design&&(f.compatible?"good":"bad"),children:f.design||"N/A"})})]}):(0,r.jsx)(i.az,{color:"label",children:"No design disk inserted."})]}))},m=function(e){var n=(0,l.Oc)(),t=(n.act,n.data).sheets,o=c({},s(e));return(0,r.jsx)(i.BJ.Item,{grow:!0,height:"20%",children:(0,r.jsxs)(i.wn,d(u({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},o),{children:[(0,r.jsx)(x,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),t.map(function(e){return(0,r.jsx)(g,{ore:e},e.id)})]}))})},p=function(e){var n=(0,l.Oc)(),t=(n.act,n.data).alloys,o=c({},s(e));return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,d(u({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},o),{children:[(0,r.jsx)(x,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),t.map(function(e){return(0,r.jsx)(j,{ore:e},e.id)})]}))})},x=function(e){var n;return(0,r.jsx)(i.az,{className:"OreHeader",children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:e.title}),null==(n=e.columns)?void 0:n.map(function(e){return(0,r.jsx)(i.BJ.Item,{basis:e[1],textAlign:"center",color:"label",bold:!0,children:e[0]},e)})]})})},g=function(e){var n=(0,l.Oc)().act,t=e.ore;if(!t.value||!(t.amount<=0)||["metal","glass"].indexOf(t.id)>-1)return(0,r.jsx)(i.az,{className:"SheetLine",children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{basis:"45%",align:"middle",children:(0,r.jsxs)(i.BJ,{align:"center",children:[(0,r.jsx)(i.BJ.Item,{className:(0,o.Ly)(["materials32x32",t.id])}),(0,r.jsx)(i.BJ.Item,{children:t.name})]})}),(0,r.jsx)(i.BJ.Item,{basis:"20%",textAlign:"center",color:t.amount>=1?"good":"gray",bold:t.amount>=1,align:"center",children:t.amount.toLocaleString("en-US")}),(0,r.jsx)(i.BJ.Item,{basis:"20%",textAlign:"center",align:"center",children:t.value}),(0,r.jsx)(i.BJ.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,r.jsx)(i.Q7,{width:"40%",value:0,minValue:0,maxValue:Math.min(t.amount,50),step:1,stepPixelSize:6,onChange:function(e){return n(t.value?"sheet":"alloy",{id:t.id,amount:e})}})})]})})},j=function(e){var n=(0,l.Oc)().act,t=e.ore;return(0,r.jsx)(i.az,{className:"SheetLine",children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{basis:"7%",align:"middle",children:(0,r.jsx)(i.az,{className:(0,o.Ly)(["alloys32x32",t.id])})}),(0,r.jsx)(i.BJ.Item,{basis:"30%",textAlign:"middle",align:"center",children:t.name}),(0,r.jsx)(i.BJ.Item,{basis:"35%",textAlign:"middle",color:t.amount>=1?"good":"gray",align:"center",children:t.description}),(0,r.jsx)(i.BJ.Item,{basis:"10%",textAlign:"center",color:t.amount>=1?"good":"gray",bold:t.amount>=1,align:"center",children:t.amount.toLocaleString("en-US")}),(0,r.jsx)(i.BJ.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,r.jsx)(i.Q7,{width:"40%",value:0,minValue:0,maxValue:Math.min(t.amount,50),stepPixelSize:6,step:1,onChange:function(e){return n(t.value?"sheet":"alloy",{id:t.id,amount:e})}})})]})})}},4235:function(e,n,t){"use strict";t.r(n),t.d(n,{PAI:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(483),c=t(222),s=function(e){try{n=c("./".concat(e,".jsx"))}catch(n){if("MODULE_NOT_FOUND"===n.code)return(0,a.z)("notFound",e);throw n}var n,t=n[e];return t||(0,a.z)("missingExport",e)},u=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.app_template,u=a.app_icon,d=a.app_title,f=s(c);return(0,r.jsx)(l.p8,{width:600,height:650,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{p:1,fill:!0,scrollable:!0,title:(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.In,{name:u,mr:1}),d,"pai_main_menu"!==c&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{ml:2,mb:0,content:"Back",icon:"arrow-left",onClick:function(){return t("Back")}}),(0,r.jsx)(i.$n,{content:"Home",icon:"arrow-up",onClick:function(){return t("MASTER_back")}})]})]}),children:(0,r.jsx)(f,{})})})})})})}},2740:function(e,n,t){"use strict";t.r(n),t.d(n,{PDA:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(483),c=t(2721),s=function(e){try{n=c("./".concat(e,".jsx"))}catch(n){if("MODULE_NOT_FOUND"===n.code)return(0,a.z)("notFound",e);throw n}var n,t=n[e];return t||(0,a.z)("missingExport",e)},u=function(e){var n=(0,o.Oc)(),t=(n.act,n.data),a=t.app;if(!t.owner)return(0,r.jsx)(l.p8,{width:350,height:105,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.wn,{title:"Error",children:"No user data found. Please swipe an ID card."})})});var c=s(a.template);return(0,r.jsx)(l.p8,{width:600,height:650,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(d,{})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,p:1,pb:0,title:(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.In,{name:a.icon,mr:1}),a.name]}),children:(0,r.jsx)(c,{})})}),(0,r.jsx)(i.BJ.Item,{mt:7.5,children:(0,r.jsx)(f,{})})]})})})},d=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.idInserted,c=l.idLink,s=l.stationTime,u=l.cartridge_name;return(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{ml:.5,children:(0,r.jsx)(i.$n,{icon:"id-card",color:"transparent",onClick:function(){return t("Authenticate")},content:a?c:"No ID Inserted"})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"sd-card",color:"transparent",onClick:function(){return t("Eject")},content:u?["Eject "+u]:"No Cartridge Inserted"})}),(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:s})]})},f=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.app;return(0,r.jsx)(i.az,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,r.jsxs)(i.BJ,{fill:!0,children:[!!l.has_back&&(0,r.jsx)(i.BJ.Item,{basis:"33%",mr:-.5,children:(0,r.jsx)(i.$n,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:l.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){return t("Back")}})}),(0,r.jsx)(i.BJ.Item,{basis:l.has_back?"33%":"100%",children:(0,r.jsx)(i.$n,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:l.is_home?"disabled":"white",icon:"home",onClick:function(){t("Home")}})})]})})}},377:function(e,n,t){"use strict";t.r(n),t.d(n,{Pacman:()=>s});var r=t(8138),i=t(7790),o=t(9582),l=t(2864),a=t(7946),c=t(3384),s=function(e){var n=(0,l.Oc)(),t=n.act,s=n.data,u=s.active,d=s.anchored,f=s.broken,h=s.emagged,m=s.fuel_type,p=s.fuel_usage,x=s.fuel_stored,g=s.fuel_cap,j=s.is_ai,b=s.tmp_current,y=s.tmp_max,v=s.tmp_overheat,w=s.output_max,k=s.power_gen,_=s.output_set,C=s.has_fuel,I=Math.round(x/p*2),S=Math.round(I/60);return(0,r.jsx)(c.p8,{width:500,height:225,children:(0,r.jsxs)(c.p8.Content,{children:[(f||!d)&&(0,r.jsxs)(i.wn,{title:"Status",children:[!!f&&(0,r.jsx)(i.az,{color:"orange",children:"The generator is malfunctioning!"}),!f&&!d&&(0,r.jsx)(i.az,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!f&&!!d&&(0,r.jsxs)("div",{children:[(0,r.jsx)(i.wn,{title:"Status",buttons:(0,r.jsx)(i.$n,{icon:u?"power-off":"times",content:u?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!C,selected:u,onClick:function(){return t("toggle_power")}}),children:(0,r.jsxs)(i.so,{direction:"row",children:[(0,r.jsx)(i.so.Item,{width:"50%",className:"ml-1",children:(0,r.jsx)(i.Ki,{children:(0,r.jsxs)(i.Ki.Item,{label:"Power setting",children:[(0,r.jsx)(i.Q7,{value:_,minValue:1,maxValue:w*(h?2.5:1),step:1,className:"mt-1",onChange:function(e){return t("change_power",{change_power:e})}}),"(",(0,o.d5)(_*k),")"]})})}),(0,r.jsx)(i.so.Item,{width:"50%",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Temperature",children:(0,r.jsxs)(i.z2,{value:b/y,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[b," ℃"]})}),(0,r.jsxs)(i.Ki.Item,{label:"Status",children:[v>50&&(0,r.jsx)(i.az,{color:"red",children:"CRITICAL OVERHEAT!"}),v>20&&v<=50&&(0,r.jsx)(i.az,{color:"orange",children:"WARNING: Overheating!"}),v>1&&v<=20&&(0,r.jsx)(i.az,{color:"orange",children:"Temperature High"}),0===v&&(0,r.jsx)(i.az,{color:"green",children:"Optimal"})]})]})})]})}),(0,r.jsx)(i.wn,{title:"Fuel",buttons:(0,r.jsx)(i.$n,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:u||j||!C,onClick:function(){return t("eject_fuel")}}),children:(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Type",children:m}),(0,r.jsx)(i.Ki.Item,{label:"Fuel level",children:(0,r.jsxs)(i.z2,{value:x/g,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(x/1e3)," dm\xb3"]})})]})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Fuel usage",children:[p/1e3," dm\xb3/s"]}),(0,r.jsxs)(i.Ki.Item,{label:"Fuel depletion",children:[!!C&&(p?I>120?"".concat(S," minutes"):"".concat(I," seconds"):"N/A"),!C&&(0,r.jsx)(i.az,{color:"red",children:"Out of fuel"})]})]})})]})})]})]})})}},9454:function(e,n,t){"use strict";t.r(n),t.d(n,{PanDEMIC:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t=(0,o.Oc)().data,a=t.reporting,u=t.analyzing,d=t.beakerLoaded,h=t.beakerContainsBlood,m=t.beakerContainsVirus,p=t.resistances,g=void 0===p?[]:p;return d?h?h&&!m&&(n=(0,r.jsx)(r.Fragment,{children:"No disease detected in provided blood sample."})):n=(0,r.jsx)(r.Fragment,{children:"No blood sample found in the loaded container."}):n=(0,r.jsx)(r.Fragment,{children:"No container loaded."}),(0,r.jsx)(l.p8,{width:700,height:640,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(c,{operating:u||a,name:"PanD.E.M.I.C"}),n&&!m?(0,r.jsx)(i.wn,{title:"Container Information",buttons:(0,r.jsx)(s,{fill:!0,vertical:!0}),children:(0,r.jsx)(i.IC,{children:n})}):(0,r.jsx)(f,{}),(null==g?void 0:g.length)>0&&(0,r.jsx)(x,{align:"bottom"})]})})})},c=function(e){var n=e.operating,t=(0,o.Oc)(),l=t.act,a=t.data,c=a.analyzing,s=a.analysisTime,u=a.analysisDuration,d=a.analysisDifficulty,f=a.totalContribution,h=a.analysisContributions,m=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Analysis Difficulty",children:Math.ceil(d)}),h.map(function(e,n){return(0,r.jsx)(i.Ki.Item,{label:e.factor,children:Math.floor(e.amount)},n)}),(0,r.jsx)(i.Ki.Item,{label:"Total",children:Math.floor(f)}),(0,r.jsx)(i.Ki.Item,{label:"Analysis Result",children:d-f<0?"Disease Analyzed Successfully":"Analysis Failed"})]});if(n)return c?(0,r.jsx)(i.Rr,{children:(0,r.jsx)(i.so,{mb:"30px",children:(0,r.jsxs)(i.so.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,r.jsx)(i.In,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,r.jsx)("br",{}),"Analyzing ",Math.floor(100-100*s/u),"%"]})})}):(0,r.jsx)(i.aF,{backgroundColor:"rgba(0, 0, 0, 1)",children:(0,r.jsx)(i.wn,{title:"Analysis Results",backgroundColor:"rgba(0, 0, 0, 1)",bold:!0,children:(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsx)(i.Ki,{children:m}),(0,r.jsx)(i.$n,{textAlign:"center",onClick:function(){return l("close_report")},children:"Close"})]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.beakerLoaded;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:"eject",content:"Eject",disabled:!l,onClick:function(){return t("eject_beaker")}}),(0,r.jsx)(i.$n.Confirm,{icon:"trash-alt",confirmIcon:"eraser",content:"Destroy",confirmContent:"Destroy",disabled:!l,onClick:function(){return t("destroy_eject_beaker")}})]})},u=function(e){var n,t,l,a=(0,o.Oc)(),c=a.act,s=a.data,u=s.analysisDifficulty,d=s.analysisContributions,f=s.beakerContainsVirus,h=s.analyzing,m=s.canAnalyze,p=e.strain,x=p.commonName,g=p.description,j=p.strainID,b=p.sample_stage,y=p.known,v=p.diseaseAgent,w=p.bloodDNA,k=p.bloodType,_=p.possibleCures,C=p.transmissionRoute,I=p.isAdvanced,S=p.RequiredCures,O=p.Stabilized,A=p.StrainTracker,P=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Blood DNA",children:w?(0,r.jsx)("span",{style:{fontFamily:"'Courier New', monospace"},children:w}):"Undetectable"}),(0,r.jsx)(i.Ki.Item,{label:"Blood Type",children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:null!=k?k:"Undetectable"}})})]});if(!f)return(0,r.jsx)(i.Ki,{children:P});var E=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Analysis Difficulty",children:Math.ceil(u)}),d.map(function(e,n){return(0,r.jsx)(i.Ki.Item,{label:e.factor,children:(0,r.jsx)(i.z2,{maxValue:Math.min(e.maxAmount,u),minValue:0,value:e.amount,ranges:{good:[.66*Math.min(e.maxAmount,u),1/0],average:[.33*Math.min(e.maxAmount,u),.66*Math.min(e.maxAmount,u)],bad:[-1/0,.33*Math.min(e.maxAmount,u)]},children:e.amount})},n)})]});if(I)return n=null!=x&&"Unknown"!==x?(0,r.jsx)(i.$n,{icon:"print",content:"Print Release Forms",disabled:!y,onClick:function(){return c("print_release_forms",{strain_index:e.strainIndex})},style:{marginLeft:"auto"}}):(0,r.jsx)(i.$n,{icon:"pen",content:null!=x&&"Unknown"!==x?"Rename Disease":"Name Disease",disabled:!y,onClick:function(){return c("name_strain",{strain_index:e.strainIndex})},style:{marginLeft:"auto"}}),I&&(t=(0,r.jsx)(i.$n,{content:"Analyze",disabled:!m||h,onClick:function(){return c("analyze_strain",{strain_index:e.strainIndex})}}),l=(0,r.jsx)(i.$n.Confirm,{icon:"trash-alt",confirmIcon:"eraser",content:"Delete Data",confirmContent:"Delete Data",disabled:!e.strain.known,onClick:function(){return c("remove_from_database",{strain_id:e.strain.strainFullID})}})),(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsxs)(i.BJ,{align:"left",children:[n,t,l]}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Common Name",className:"common-name-label",children:null!=x?x:"Unknown"}),g&&(0,r.jsx)(i.Ki.Item,{label:"Description",children:g}),(0,r.jsx)(i.Ki.Item,{label:"Strain ID",children:j}),m?E:"",(0,r.jsx)(i.Ki.Item,{label:"Sample Stage",children:b}),(0,r.jsx)(i.Ki.Item,{label:"Disease Agent",children:v}),P,(0,r.jsx)(i.Ki.Item,{label:"Spread Vector",children:null!=C?C:"None"}),(0,r.jsx)(i.Ki.Item,{label:"Possible Cures",children:null!=_?_:"None"}),(0,r.jsx)(i.Ki.Item,{label:"Required Cures",children:null!=S?S:"None"}),I?(0,r.jsx)(i.Ki.Item,{label:"Stabilized",children:1===O?"Yes":"No"}):"",I?(0,r.jsx)(i.Ki.Item,{label:"Tracked Strain",children:A&&""!==A?A:"None"}):""]})]})},d=function(e){var n,t=(0,o.Oc)(),l=t.act,a=!!t.data.synthesisCooldown,c=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:a?"spinner":"clone",iconSpin:a,content:"Clone",disabled:a,onClick:function(){return l("clone_strain",{strain_index:e.strainIndex})}}),e.sectionButtons]});return(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.wn,{title:null!=(n=e.sectionTitle)?n:"Strain Information",buttons:c,children:(0,r.jsx)(u,{strain:e.strain,strainIndex:e.strainIndex})})})},f=function(e){var n,t,l=(0,o.Oc)(),a=l.act,c=l.data,u=c.selectedStrainIndex,f=c.strains,h=f[u-1];if(0===f.length)return(0,r.jsx)(i.wn,{title:"Container Information",buttons:(0,r.jsx)(s,{}),children:(0,r.jsx)(i.IC,{children:"No disease detected in provided blood sample."})});if(1===f.length)return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d,{strain:f[0],strainIndex:1,sectionButtons:(0,r.jsx)(s,{})}),(null==(t=f[0].symptoms)?void 0:t.length)>0&&(0,r.jsx)(m,{strain:f[0]})]});var p=(0,r.jsx)(s,{});return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,{title:"Culture Information",fill:!0,buttons:p,children:[(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.tU,{children:f.map(function(e,n){var t;return(0,r.jsx)(i.tU.Tab,{icon:"virus",selected:u-1===n,onClick:function(){return a("switch_strain",{strain_index:n+1})},children:null!=(t=e.commonName)?t:"Unknown"},n)})})}),(0,r.jsx)(d,{strain:h,strainIndex:u}),(null==(n=h.symptoms)?void 0:n.length)>0&&(0,r.jsx)(m,{className:"remove-section-bottom-padding",strain:h})]})})},h=function(e){return e.reduce(function(e,n){return e+n},0)},m=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.predictions,c=l.symptom_names,s=l.analyzing,u=l.analysisDuration,d=e.strain,f=d.baseStats,m=d.symptoms,p=d.known;return(0,r.jsx)(i.so.Item,{grow:!0,children:(0,r.jsx)(i.wn,{title:"Infection Symptoms",fill:!0,className:e.className,children:(0,r.jsxs)(i.XI,{className:"symptoms-table",children:[(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:"Name"}),(0,r.jsx)(i.XI.Cell,{children:"Stealth"}),(0,r.jsx)(i.XI.Cell,{children:"Resistance"}),(0,r.jsx)(i.XI.Cell,{children:"Stage Speed"}),(0,r.jsx)(i.XI.Cell,{children:"Transmissibility"})]}),m.map(function(e,n){return(0,r.jsxs)(i.XI.Row,{children:[p||"UNKNOWN"!==e.name?(0,r.jsx)(i.XI.Cell,{children:e.name}):(0,r.jsx)(i.ms,{options:c.sort(function(e,n){return e.localeCompare(n)}),width:"180px",selected:a[n],disabled:s||-2===u,onSelected:function(e){return t("set_prediction",{pred_index:n+1,pred_value:e})}}),(0,r.jsx)(i.XI.Cell,{children:e.stealth}),(0,r.jsx)(i.XI.Cell,{children:e.resistance}),(0,r.jsx)(i.XI.Cell,{children:e.stageSpeed}),(0,r.jsx)(i.XI.Cell,{children:e.transmissibility})]},n)}),(0,r.jsx)(i.XI.Row,{className:"table-spacer"}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:"Base Stats"}),(0,r.jsx)(i.XI.Cell,{children:p?f.stealth:"UNKNOWN"}),(0,r.jsx)(i.XI.Cell,{children:p?f.resistance:"UNKNOWN"}),(0,r.jsx)(i.XI.Cell,{children:p?f.stageSpeed:"UNKNOWN"}),(0,r.jsx)(i.XI.Cell,{children:p?f.transmissibility:"UNKNOWN"})]}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Total"}),(0,r.jsx)(i.XI.Cell,{children:p?h(m.map(function(e){return e.stealth}))+f.stealth:"UNKNOWN"}),(0,r.jsx)(i.XI.Cell,{children:p?h(m.map(function(e){return e.resistance}))+f.resistance:"UNKNOWN"}),(0,r.jsx)(i.XI.Cell,{children:p?h(m.map(function(e){return e.stageSpeed}))+f.stageSpeed:"UNKNOWN"}),(0,r.jsx)(i.XI.Cell,{children:p?h(m.map(function(e){return e.transmissibility}))+f.transmissibility:"UNKNOWN"})]})]})})})},p=["flask","vial","eye-dropper"],x=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.synthesisCooldown,c=(l.beakerContainsVirus,l.resistances);return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Antibodies",fill:!0,children:(0,r.jsx)(i.BJ,{wrap:!0,children:c.map(function(e,n){return(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:p[n%p.length],disabled:!!a,onClick:function(){return t("clone_vaccine",{resistance_index:n+1})},mr:"0.5em"}),e]},n)})})})})}},3566:function(e,n,t){"use strict";t.r(n),t.d(n,{ParticleAccelerator:()=>u});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(7946),c=t(3384),s=function(e){switch(e){case 1:return"north";case 2:return"south";case 4:return"east";case 8:return"west";case 5:return"northeast";case 6:return"southeast";case 9:return"northwest";case 10:return"southwest"}return""},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,s=a.assembled,u=a.power,h=a.strength,m=a.max_strength,p=(a.icon,a.layout_1,a.layout_2,a.layout_3,a.orientation);return(0,r.jsx)(c.p8,{width:395,height:s?160:"north"===p||"south"===p?540:465,children:(0,r.jsxs)(c.p8.Content,{scrollable:!0,children:[(0,r.jsx)(i.wn,{title:"Control Panel",buttons:(0,r.jsx)(i.$n,{dmIcon:"sync",content:"Connect",onClick:function(){return t("scan")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",mb:"5px",children:(0,r.jsx)(i.az,{color:s?"good":"bad",children:s?"Operational":"Error: Verify Configuration"})}),(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,disabled:!s,onClick:function(){return t("power")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Strength",children:[(0,r.jsx)(i.$n,{icon:"backward",disabled:!s||0===h,onClick:function(){return t("remove_strength")},mr:"4px"}),h,(0,r.jsx)(i.$n,{icon:"forward",disabled:!s||h===m,onClick:function(){return t("add_strength")},ml:"4px"})]})]})}),s?"":(0,r.jsx)(i.wn,{title:p?"EM Acceleration Chamber Orientation: "+(0,o.ZH)(p):"Place EM Acceleration Chamber Next To Console",children:0===p?"":"north"===p||"south"===p?(0,r.jsx)(f,{}):(0,r.jsx)(d,{})})]})})},d=function(e){var n=(0,l.Oc)(),t=(n.act,n.data);t.assembled,t.power,t.strength,t.max_strength;var o=t.icon,a=t.layout_1,c=t.layout_2,u=t.layout_3,d=t.orientation;return(0,r.jsxs)(i.XI,{children:[(0,r.jsx)(i.XI.Row,{width:"40px",children:("east"===d?a:u).slice().map(function(e){return(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.m_,{content:(0,r.jsxs)("span",{style:{wordWrap:"break-word"},children:[e.name," ",(0,r.jsx)("br",{})," ","Status: ".concat(e.status),(0,r.jsx)("br",{}),"Direction: ".concat(s(e.dir))]}),children:(0,r.jsx)(i.c_,{dmIcon:o,dmIconState:e.icon_state,dmDirection:e.dir,style:{borderStyle:"solid",borderWidth:"2px",borderColor:"good"===e.status?"green":"Incomplete"===e.status?"orange":"red",padding:"2px"}})})},e.name)})}),(0,r.jsx)(i.XI.Row,{width:"40px",children:c.slice().map(function(e){return(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.m_,{content:(0,r.jsxs)("span",{style:{wordWrap:"break-word"},children:[e.name," ",(0,r.jsx)("br",{})," ","Status: ".concat(e.status),(0,r.jsx)("br",{}),"Direction: ".concat(s(e.dir))]}),children:(0,r.jsx)(i.c_,{dmIcon:o,dmIconState:e.icon_state,dmDirection:e.dir,style:{borderStyle:"solid",borderWidth:"2px",borderColor:"good"===e.status?"green":"Incomplete"===e.status?"orange":"red",padding:"2px"}})})},e.name)})}),(0,r.jsx)(i.XI.Row,{width:"40px",children:("east"===d?u:a).slice().map(function(e){return(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.m_,{content:(0,r.jsxs)("span",{style:{wordWrap:"break-word"},children:[e.name," ",(0,r.jsx)("br",{})," ","Status: ".concat(e.status),(0,r.jsx)("br",{}),"Direction: ".concat(s(e.dir))]}),children:(0,r.jsx)(i.c_,{dmIcon:o,dmIconState:e.icon_state,dmDirection:e.dir,style:{borderStyle:"solid",borderWidth:"2px",borderColor:"good"===e.status?"green":"Incomplete"===e.status?"orange":"red",padding:"2px"}})})},e.name)})})]})},f=function(e){var n=(0,l.Oc)(),t=(n.act,n.data);t.assembled,t.power,t.strength,t.max_strength;var o=t.icon,c=t.layout_1,u=t.layout_2,d=t.layout_3,f=t.orientation;return(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{width:"40px",children:("north"===f?c:d).slice().map(function(e){return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.m_,{content:(0,r.jsxs)("span",{style:{wordWrap:"break-word"},children:[e.name," ",(0,r.jsx)("br",{})," ","Status: ".concat(e.status),(0,r.jsx)("br",{}),"Direction: ".concat(s(e.dir))]}),children:(0,r.jsx)(i.c_,{dmIcon:o,dmIconState:e.icon_state,dmDirection:e.dir,style:{borderStyle:"solid",borderWidth:"2px",borderColor:"good"===e.status?"green":"Incomplete"===e.status?"orange":"red",padding:"2px"}})})},e.name)})}),(0,r.jsx)(a.xA.Column,{children:u.slice().map(function(e){return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.m_,{content:(0,r.jsxs)("span",{style:{wordWrap:"break-word"},children:[e.name," ",(0,r.jsx)("br",{})," ","Status: ".concat(e.status),(0,r.jsx)("br",{}),"Direction: ".concat(s(e.dir))]}),children:(0,r.jsx)(i.c_,{dmIcon:o,dmIconState:e.icon_state,dmDirection:e.dir,style:{borderStyle:"solid",borderWidth:"2px",borderColor:"good"===e.status?"green":"Incomplete"===e.status?"orange":"red",padding:"2px"}})})},e.name)})}),(0,r.jsx)(a.xA.Column,{width:"40px",children:("north"===f?d:c).slice().map(function(e){return(0,r.jsx)(i.BJ.Item,{grow:!0,tooltip:e.status,children:(0,r.jsx)(i.m_,{content:(0,r.jsxs)("span",{style:{wordWrap:"break-word"},children:[e.name," ",(0,r.jsx)("br",{})," ","Status: ".concat(e.status),(0,r.jsx)("br",{}),"Direction: ".concat(s(e.dir))]}),children:(0,r.jsx)(i.c_,{dmIcon:o,dmIconState:e.icon_state,dmDirection:e.dir,style:{borderStyle:"solid",borderWidth:"2px",borderColor:"good"===e.status?"green":"Incomplete"===e.status?"orange":"red",padding:"2px"}})})},e.name)})})]})}},3371:function(e,n,t){"use strict";t.r(n),t.d(n,{PdaPainter:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)().data.has_pda;return(0,r.jsx)(l.p8,{width:510,height:505,children:(0,r.jsx)(l.p8.Content,{children:n?(0,r.jsx)(s,{}):(0,r.jsx)(c,{})})})},c=function(e){var n=(0,o.Oc)().act;return(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,r.jsx)(i.In,{name:"download",size:5,mb:"10px"}),(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{width:"160px",textAlign:"center",content:"Insert PDA",onClick:function(){return n("insert_pda")}})]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.pda_colors;return(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(u,{})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(i.XI,{className:"PdaPainter__list",children:Object.keys(l).map(function(e){return(0,r.jsxs)(i.XI.Row,{onClick:function(){return t("choose_pda",{selectedPda:e})},children:[(0,r.jsx)(i.XI.Cell,{collapsing:!0,children:(0,r.jsx)("img",{src:"data:image/png;base64,".concat(l[e][0]),style:{verticalAlign:"middle",width:"32px",margin:"0px",imageRendering:"pixelated"}})}),(0,r.jsx)(i.XI.Cell,{children:e})]},e)})})})})]})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.current_appearance,c=l.preview_appearance;return(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsxs)(i.wn,{title:"Current PDA",children:[(0,r.jsx)("img",{src:"data:image/jpeg;base64,".concat(a),style:{verticalAlign:"middle",width:"160px",margin:"0px",imageRendering:"pixelated"}}),(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"eject",content:"Eject",color:"green",onClick:function(){return t("eject_pda")}}),(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"paint-roller",content:"Paint PDA",onClick:function(){return t("paint_pda")}})]}),(0,r.jsx)(i.wn,{title:"Preview",children:(0,r.jsx)("img",{src:"data:image/jpeg;base64,".concat(c),style:{verticalAlign:"middle",width:"160px",margin:"0px",imageRendering:"pixelated"}})})]})}},6144:function(e,n,t){"use strict";t.r(n),t.d(n,{PersonalCrafting:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,u=a.busy,d=a.category,f=a.display_craftable_only,h=a.display_compact,m=a.prev_cat,p=a.next_cat,x=a.subcategory,g=a.prev_subcat,j=a.next_subcat;return(0,r.jsx)(l.p8,{width:700,height:800,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[!!u&&(0,r.jsxs)(i.Rr,{fontSize:"32px",children:[(0,r.jsx)(i.In,{name:"cog",spin:1})," Crafting..."]}),(0,r.jsxs)(i.wn,{title:d,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"Show Craftable Only",icon:f?"check-square-o":"square-o",selected:f,onClick:function(){return t("toggle_recipes")}}),(0,r.jsx)(i.$n,{content:"Compact Mode",icon:h?"check-square-o":"square-o",selected:h,onClick:function(){return t("toggle_compact")}})]}),children:[(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{content:m,icon:"arrow-left",onClick:function(){return t("backwardCat")}}),(0,r.jsx)(i.$n,{content:p,icon:"arrow-right",onClick:function(){return t("forwardCat")}})]}),x&&(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{content:g,icon:"arrow-left",onClick:function(){return t("backwardSubCat")}}),(0,r.jsx)(i.$n,{content:j,icon:"arrow-right",onClick:function(){return t("forwardSubCat")}})]}),h?(0,r.jsx)(c,{}):(0,r.jsx)(s,{})]})]})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.display_craftable_only,c=l.can_craft,s=l.cant_craft;return(0,r.jsx)(i.az,{mt:1,children:(0,r.jsxs)(i.Ki,{children:[c.map(function(e){return(0,r.jsxs)(i.Ki.Item,{label:e.name,children:[(0,r.jsx)(i.$n,{icon:"hammer",content:"Craft",onClick:function(){return t("make",{make:e.ref})}}),e.catalyst_text&&(0,r.jsx)(i.$n,{tooltip:e.catalyst_text,content:"Catalysts",color:"transparent"}),(0,r.jsx)(i.$n,{tooltip:e.req_text,content:"Requirements",color:"transparent"}),e.tool_text&&(0,r.jsx)(i.$n,{tooltip:e.tool_text,content:"Tools",color:"transparent"})]},e.name)}),!a&&s.map(function(e){return(0,r.jsxs)(i.Ki.Item,{label:e.name,children:[(0,r.jsx)(i.$n,{icon:"hammer",content:"Craft",disabled:!0}),e.catalyst_text&&(0,r.jsx)(i.$n,{tooltip:e.catalyst_text,content:"Catalysts",color:"transparent"}),(0,r.jsx)(i.$n,{tooltip:e.req_text,content:"Requirements",color:"transparent"}),e.tool_text&&(0,r.jsx)(i.$n,{tooltip:e.tool_text,content:"Tools",color:"transparent"})]},e.name)})]})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.display_craftable_only,c=l.can_craft,s=l.cant_craft;return(0,r.jsxs)(i.az,{mt:1,children:[c.map(function(e){return(0,r.jsx)(i.wn,{title:e.name,buttons:(0,r.jsx)(i.$n,{icon:"hammer",content:"Craft",onClick:function(){return t("make",{make:e.ref})}}),children:(0,r.jsxs)(i.Ki,{children:[e.catalyst_text&&(0,r.jsx)(i.Ki.Item,{label:"Catalysts",children:e.catalyst_text}),(0,r.jsx)(i.Ki.Item,{label:"Requirements",children:e.req_text}),e.tool_text&&(0,r.jsx)(i.Ki.Item,{label:"Tools",children:e.tool_text})]})},e.name)}),!a&&s.map(function(e){return(0,r.jsx)(i.wn,{title:e.name,buttons:(0,r.jsx)(i.$n,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,r.jsxs)(i.Ki,{children:[e.catalyst_text&&(0,r.jsx)(i.Ki.Item,{label:"Catalysts",children:e.catalyst_text}),(0,r.jsx)(i.Ki.Item,{label:"Requirements",children:e.req_text}),e.tool_text&&(0,r.jsx)(i.Ki.Item,{label:"Tools",children:e.tool_text})]})},e.name)})]})}},2327:function(e,n,t){"use strict";t.r(n),t.d(n,{Photocopier:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;return(0,r.jsx)(l.p8,{width:400,height:440,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsxs)(i.wn,{title:"Photocopier",color:"silver",children:[(0,r.jsxs)(i.BJ,{mb:1,children:[(0,r.jsx)(i.BJ.Item,{width:12,children:"Copies:"}),(0,r.jsx)(i.BJ.Item,{width:"2em",bold:!0,children:a.copynumber}),(0,r.jsxs)(i.BJ.Item,{style:{float:"right"},children:[(0,r.jsx)(i.$n,{icon:"minus",textAlign:"center",content:"",onClick:function(){return t("minus")}}),(0,r.jsx)(i.$n,{icon:"plus",textAlign:"center",content:"",onClick:function(){return t("add")}})]})]}),(0,r.jsxs)(i.BJ,{mb:2,children:[(0,r.jsx)(i.BJ.Item,{width:12,children:"Toner:"}),(0,r.jsx)(i.BJ.Item,{bold:!0,children:a.toner})]}),(0,r.jsxs)(i.BJ,{mb:1,children:[(0,r.jsx)(i.BJ.Item,{width:12,children:"Inserted Document:"}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",disabled:!a.copyitem&&!a.mob,content:a.copyitem?a.copyitem:a.mob?a.mob+"'s ass!":"document",onClick:function(){return t("removedocument")}})})]}),(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{width:12,children:"Inserted Folder:"}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",disabled:!a.folder,content:a.folder?a.folder:"folder",onClick:function(){return t("removefolder")}})})]})]}),(0,r.jsx)(i.wn,{children:(0,r.jsx)(c,{})}),(0,r.jsx)(s,{})]})})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.issilicon;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{fluid:!0,icon:"copy",textAlign:"center",content:"Copy",onClick:function(){return t("copy")}}),(0,r.jsx)(i.$n,{fluid:!0,icon:"file-import",textAlign:"center",content:"Scan",onClick:function(){return t("scandocument")}}),!!l&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{fluid:!0,icon:"file",color:"green",textAlign:"center",content:"Print Text",onClick:function(){return t("ai_text")}}),(0,r.jsx)(i.$n,{fluid:!0,icon:"image",color:"green",textAlign:"center",content:"Print Image",onClick:function(){return t("ai_pic")}})]})]})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data;return(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Scanned Files",children:l.files.map(function(e){return(0,r.jsx)(i.wn,{title:e.name,buttons:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.$n,{icon:"print",content:"Print",disabled:l.toner<=0,onClick:function(){return t("filecopy",{uid:e.uid})}}),(0,r.jsx)(i.$n.Confirm,{icon:"trash-alt",content:"Delete",color:"bad",onClick:function(){return t("deletefile",{uid:e.uid})}})]})},e.name)})})}},7331:function(e,n,t){"use strict";t.r(n),t.d(n,{PoolController:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["tempKey"]),s=c[l];if(!s)return null;var u=(0,o.Oc)(),d=u.data,f=u.act,h=d.currentTemp,m=s.label,p=s.icon;return(0,r.jsxs)(i.$n,(n=function(e){for(var n=1;na});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).has_holding_tank;return(0,r.jsx)(l.p8,{width:435,height:330,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(c,{}),(0,r.jsx)(s,{}),t?(0,r.jsx)(u,{}):(0,r.jsx)(i.wn,{fill:!0,title:"Holding Tank",children:(0,r.jsx)(i.az,{color:"average",bold:1,textAlign:"center",mt:2.5,children:"No Holding Tank Inserted."})})]})})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.on,c=l.direction,s=l.port_connected;return(0,r.jsx)(i.wn,{title:"Pump Settings",buttons:(0,r.jsx)(i.$n,{width:4,icon:"power-off",content:a?"On":"Off",color:a?null:"red",selected:a,onClick:function(){return t("power")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Pump Direction",children:(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{width:4,icon:"sign-in-alt",content:"In",selected:!c,onClick:function(){return t("set_direction",{direction:0})}}),(0,r.jsx)(i.$n,{width:4,icon:"sign-out-alt",content:"Out",selected:c,onClick:function(){return t("set_direction",{direction:1})}})]})}),(0,r.jsx)(i.Ki.Item,{label:"Port status",children:(0,r.jsx)(i.az,{color:s?"green":"average",bold:1,ml:.5,children:s?"Connected":"Disconnected"})})]})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.tank_pressure,c=l.target_pressure,s=l.max_target_pressure,u=.7*s,d=.25*s;return(0,r.jsxs)(i.wn,{title:"Pressure Settings",children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Stored pressure",children:(0,r.jsxs)(i.z2,{value:a,minValue:0,maxValue:s,ranges:{good:[u,1/0],average:[d,u],bad:[-1/0,d]},children:[a," kPa"]})})}),(0,r.jsxs)(i.BJ,{mt:1,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,color:"label",mt:.3,children:"Target pressure:"}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"undo",mr:.5,width:2.2,textAlign:"center",onClick:function(){return t("set_pressure",{pressure:101.325})}}),(0,r.jsx)(i.$n,{icon:"fast-backward",mr:.5,width:2.2,textAlign:"center",onClick:function(){return t("set_pressure",{pressure:0})}})]}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.Ap,{animated:!0,unit:"kPa",width:16.5,stepPixelSize:.22,minValue:0,maxValue:s,value:c,onChange:function(e,n){return t("set_pressure",{pressure:n})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"fast-forward",ml:.5,width:2.2,textAlign:"center",onClick:function(){return t("set_pressure",{pressure:s})}})})]})]})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.holding_tank,c=l.max_target_pressure,s=.7*c,u=.25*c;return(0,r.jsxs)(i.wn,{fill:!0,title:"Holding Tank",buttons:(0,r.jsx)(i.$n,{onClick:function(){return t("remove_tank")},icon:"eject",children:"Eject"}),children:[(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{color:"label",children:"Tank Label:"}),(0,r.jsx)(i.BJ.Item,{color:"silver",ml:4.5,children:a.name})]}),(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{color:"label",mt:2,children:"Tank Pressure:"}),(0,r.jsx)(i.BJ.Item,{grow:!0,mt:1.5,children:(0,r.jsxs)(i.z2,{value:a.tank_pressure,minValue:0,maxValue:c,ranges:{good:[s,1/0],average:[u,s],bad:[-1/0,u]},children:[a.tank_pressure," kPa"]})})]})]})}},7920:function(e,n,t){"use strict";t.r(n),t.d(n,{PortableScrubber:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).has_holding_tank;return(0,r.jsx)(l.p8,{width:435,height:300,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(c,{}),(0,r.jsx)(s,{}),t?(0,r.jsx)(u,{}):(0,r.jsx)(i.wn,{fill:!0,title:"Holding Tank",children:(0,r.jsx)(i.az,{color:"average",bold:1,textAlign:"center",mt:2.5,children:"No Holding Tank Inserted."})})]})})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.on,c=l.port_connected;return(0,r.jsx)(i.wn,{title:"Pump Settings",buttons:(0,r.jsx)(i.$n,{width:4,icon:"power-off",content:a?"On":"Off",color:a?null:"red",selected:a,onClick:function(){return t("power")}}),children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{color:"label",children:"Port Status:"}),(0,r.jsx)(i.BJ.Item,{color:c?"green":"average",bold:1,ml:6,children:c?"Connected":"Disconnected"})]})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.tank_pressure,c=l.rate,s=l.max_rate,u=.7*s,d=.25*s;return(0,r.jsxs)(i.wn,{title:"Pressure Settings",children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Stored pressure",children:(0,r.jsxs)(i.z2,{value:a,minValue:0,maxValue:s,ranges:{good:[u,1/0],average:[d,u],bad:[-1/0,d]},children:[a," kPa"]})})}),(0,r.jsxs)(i.BJ,{mt:1,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,color:"label",mt:.3,children:"Target pressure:"}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"undo",mr:.5,width:2.2,textAlign:"center",onClick:function(){return t("set_rate",{rate:101.325})}}),(0,r.jsx)(i.$n,{icon:"fast-backward",mr:.5,width:2.2,textAlign:"center",onClick:function(){return t("set_rate",{rate:0})}})]}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.Ap,{animated:!0,unit:"kPa",width:16.5,stepPixelSize:.22,minValue:0,maxValue:s,value:c,onChange:function(e,n){return t("set_rate",{rate:n})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"fast-forward",ml:.5,width:2.2,textAlign:"center",onClick:function(){return t("set_rate",{rate:s})}})})]})]})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.holding_tank,c=l.max_rate,s=.7*c,u=.25*c;return(0,r.jsxs)(i.wn,{fill:!0,title:"Holding Tank",buttons:(0,r.jsx)(i.$n,{onClick:function(){return t("remove_tank")},icon:"eject",children:"Eject"}),children:[(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{color:"label",children:"Tank Label:"}),(0,r.jsx)(i.BJ.Item,{color:"silver",ml:4.5,children:a.name})]}),(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{color:"label",mt:2,children:"Tank Pressure:"}),(0,r.jsx)(i.BJ.Item,{grow:!0,mt:1.5,children:(0,r.jsxs)(i.z2,{value:a.tank_pressure,minValue:0,maxValue:c,ranges:{good:[s,1/0],average:[u,s],bad:[-1/0,u]},children:[a.tank_pressure," kPa"]})})]})]})}},2854:function(e,n,t){"use strict";t.r(n),t.d(n,{PortableTurret:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(2723),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.locked,u=c.on,d=c.lethal,f=c.lethal_is_configurable,h=c.targetting_is_configurable,m=c.check_weapons,p=c.neutralize_noaccess,x=c.access_is_configurable,g=c.regions,j=c.selectedAccess,b=c.one_access,y=c.neutralize_norecord,v=c.neutralize_criminals,w=c.neutralize_all,k=c.neutralize_unidentified,_=c.neutralize_cyborgs;return(0,r.jsx)(l.p8,{width:475,height:750,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsxs)(i.IC,{children:["Swipe an ID card to ",s?"unlock":"lock"," this interface."]}),(0,r.jsx)(i.BJ.Item,{m:0,children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:(0,r.jsx)(i.$n,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,disabled:s,onClick:function(){return t("power")}})}),!!f&&(0,r.jsx)(i.Ki.Item,{label:"Lethals",children:(0,r.jsx)(i.$n,{icon:d?"exclamation-triangle":"times",content:d?"On":"Off",color:d?"bad":"",disabled:s,onClick:function(){return t("lethal")}})}),!!x&&(0,r.jsx)(i.Ki.Item,{label:"One Access Mode",children:(0,r.jsx)(i.$n,{icon:b?"address-card":"exclamation-triangle",content:b?"On":"Off",selected:b,disabled:s,onClick:function(){return t("one_access")}})})]})})}),!!h&&(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsxs)(i.wn,{title:"Humanoid Targets",children:[(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:v,content:"Wanted Criminals",disabled:s,onClick:function(){return t("autharrest")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:y,content:"No Sec Record",disabled:s,onClick:function(){return t("authnorecord")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:m,content:"Unauthorized Weapons",disabled:s,onClick:function(){return t("authweapon")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:p,content:"Unauthorized Access",disabled:s,onClick:function(){return t("authaccess")}})]}),(0,r.jsxs)(i.wn,{title:"Other Targets",children:[(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:k,content:"Unidentified Lifesigns (Xenos, Animals, Etc)",disabled:s,onClick:function(){return t("authxeno")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:_,content:"Cyborgs",disabled:s,onClick:function(){return t("authborgs")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:w,content:"All Non-Synthetics",disabled:s,onClick:function(){return t("authsynth")}})]})]}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:!!x&&(0,r.jsx)(a.AccessList,{accesses:g,selectedList:j,accessMod:function(e){return t("set",{access:e})},grantAll:function(){return t("grant_all")},denyAll:function(){return t("clear_all")},grantDep:function(e){return t("grant_region",{region:e})},denyDep:function(e){return t("deny_region",{region:e})}})})]})})})}},1784:function(e,n,t){"use strict";t.r(n),t.d(n,{PowerMonitor:()=>m,PowerMonitorMainContent:()=>p});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(6859),c=t(3268),s=t(2864),u=t(3384);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t50?"battery-half":"battery-quarter";break;case"C":i="bolt";break;case"F":i="battery-full";break;case"M":i="slash"}return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.In,{width:"18px",textAlign:"center",name:i,color:"N"===n&&(t>50?"yellow":"red")||"C"===n&&"yellow"||"F"===n&&"green"||"M"===n&&"orange"}),(0,r.jsx)(l.az,{inline:!0,width:"36px",textAlign:"right",children:(0,a.Mg)(t)+"%"})]})},b=function(e){switch(e.status){case"AOn":n=!0,t=!0;break;case"AOff":n=!0,t=!1;break;case"On":n=!1,t=!0;break;case"Off":n=!1,t=!1}var n,t,i=(t?"On":"Off")+" [".concat(n?"auto":"manual","]");return(0,r.jsx)(l.m_,{content:i,children:(0,r.jsx)(l.BK,{color:t?"good":"bad",content:n?void 0:"M"})})}},8011:function(e,n,t){"use strict";t.r(n),t.d(n,{PrisonerImplantManager:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4744),c=t(7352),s=t(736),u=function(e){var n=(0,o.Oc)(),t=n.act,u=n.data,d=u.loginState,f=u.prisonerInfo,h=u.chemicalInfo,m=u.trackingInfo;if(!d.logged_in)return(0,r.jsx)(l.p8,{theme:"security",width:500,height:850,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(s.LoginScreen,{})})});var p=[1,5,10];return(0,r.jsxs)(l.p8,{theme:"security",width:500,height:850,children:[(0,r.jsx)(a.ComplexModal,{}),(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(c.LoginInfo,{}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Prisoner",children:(0,r.jsx)(i.$n,{icon:f.name?"eject":"id-card",selected:f.name,content:f.name?f.name:"-----",tooltip:f.name?"Eject ID":"Insert ID",onClick:function(){return t("id_card")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Points",children:[null!==f.points?f.points:"-/-",(0,r.jsx)(i.$n,{ml:2,icon:"minus-square",disabled:null===f.points,content:"Reset",onClick:function(){return t("reset_points")}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Point Goal",children:[null!==f.goal?f.goal:"-/-",(0,r.jsx)(i.$n,{ml:2,icon:"pen",disabled:null===f.goal,content:"Edit",onClick:function(){return(0,a.modalOpen)("set_points")}})]}),(0,r.jsx)(i.Ki.Item,{children:(0,r.jsxs)("box",{hidden:null===f.goal,children:["1 minute of prison time should roughly equate to 150 points.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"Sentences should not exceed 5000 points.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"Permanent prisoners should not be given a point goal.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle."]})})]})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Tracking Implants",children:m.map(function(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.az,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,r.jsxs)(i.az,{bold:!0,children:["Subject: ",e.subject]}),(0,r.jsxs)(i.az,{children:[" ",(0,r.jsx)("br",{}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Location",children:e.location}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:e.health}),(0,r.jsx)(i.Ki.Item,{label:"Prisoner",children:(0,r.jsx)(i.$n,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){return(0,a.modalOpen)("warn",{uid:e.uid})}})})]})]},e.subject)]}),(0,r.jsx)("br",{})]})})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Chemical Implants",children:h.map(function(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.az,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,r.jsxs)(i.az,{bold:!0,children:["Subject: ",e.name]}),(0,r.jsxs)(i.az,{children:[" ",(0,r.jsx)("br",{}),(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Remaining Reagents",children:e.volume})}),p.map(function(n){return(0,r.jsx)(i.$n,{mt:2,disabled:e.volumea});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.can_go_home,s=a.emagged,u=a.id_inserted,d=a.id_name,f=a.id_points,h=a.id_goal,m=+!s,p=c?"Completed!":"Insufficient";s&&(p="ERR0R");var x="No ID inserted";return u?x=(0,r.jsx)(i.z2,{value:f/h,ranges:{good:[m,1/0],bad:[-1/0,m]},children:f+" / "+h+" "+p}):s&&(x="ERR0R COMPLETED?!@"),(0,r.jsx)(l.p8,{width:315,height:150,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:x}),(0,r.jsx)(i.Ki.Item,{label:"Shuttle controls",children:(0,r.jsx)(i.$n,{fluid:!0,content:"Move shuttle",disabled:!c,onClick:function(){return t("move_shuttle")}})}),(0,r.jsx)(i.Ki.Item,{label:"Inserted ID",children:(0,r.jsx)(i.$n,{fluid:!0,content:u?d:"-------------",onClick:function(){return t("handle_id")}})})]})})})}},9083:function(e,n,t){"use strict";t.r(n),t.d(n,{PrizeCounter:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tu;return(0,r.jsx)(o.c_,{fluid:!0,title:e.name,dmIcon:e.icon,dmIconState:e.icon_state,buttonsAlt:(0,r.jsxs)(o.$n,{bold:!0,fontSize:1.5,tooltip:n&&"Not enough tickets",disabled:n,onClick:function(){return t("purchase",{purchase:e.itemID})},children:[e.cost,(0,r.jsx)(o.In,{m:0,mt:.25,name:"ticket",color:n?"bad":"good",size:1.6})]}),children:e.desc},e.name)})})})})})})}},7692:function(e,n,t){"use strict";t.r(n),t.d(n,{QuirkMenu:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=e.cost},j=function(e){var n=p.has(e.name);if(n){var r=u(h.filter(function(n){return n!==e.name}),d.all_quirks);if(e.cost<0&&r<0)return}else if(e.cost>0&&!g(e))return;m(n?h.filter(function(n){return n!==e.name}):((function(e){if(Array.isArray(e))return c(e)})(h)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(h)||s(h)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([e.name])),t(n?"remove_quirk":"add_quirk",{path:e.path})},b=function(e,n,t,i){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.az,{p:.5,mb:1,color:t,style:{border:"1px solid ".concat(t),backgroundColor:"rgba(".concat("green"===t?"0,128,0":"255,0,0",",0.1)")},children:[(0,r.jsx)(o.In,{name:i})," ",n]}),e.map(function(e){var n=p.has(e.name),t=e.cost>0?"-".concat(e.cost):"+".concat(Math.abs(e.cost)),i=e.cost>0?"bad":"good",l=!1,a=n?"Remove":"Select",c=n?"bad":"good";if(n){var s=u(h.filter(function(n){return n!==e.name}),d.all_quirks);e.cost<0&&s<0&&(l=!0,a="Locked (Balance)",c="average")}else e.cost>0&&!g(e)&&(l=!0,a="Locked",c="average");return(0,r.jsx)(o.wn,{title:e.name,mb:1,buttons:(0,r.jsx)(o.$n,{color:c,content:a,disabled:l,onClick:function(){return j(e)},fluid:!0}),children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Description",children:e.desc}),(0,r.jsx)(o.Ki.Item,{label:"Effect",children:(0,r.jsx)(o.az,{color:i,bold:!0,children:t})})]})},e.name)})]})};return(0,r.jsx)(a.p8,{width:750,height:550,theme:"ntos",children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,basis:500,children:(0,r.jsx)(o.wn,{title:"Available Quirks",fill:!0,scrollable:!0,children:(0,r.jsxs)(o.BJ,{vertical:!0,children:[b(d.all_quirks.filter(function(e){return e.cost<0}),"Negative Quirks (Add Points)","green","minus-circle"),b(d.all_quirks.filter(function(e){return e.cost>0}),"Positive Quirks (Cost Points)","bad","plus-circle")]})})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.cG,{vertical:!0})}),(0,r.jsx)(o.BJ.Item,{basis:250,children:(0,r.jsxs)(o.BJ,{vertical:!0,fill:!0,children:[(0,r.jsx)(o.wn,{title:"Balance",children:(0,r.jsx)(o.az,{bold:!0,color:x>=0?"good":"bad",fontSize:"18px",children:x})}),(0,r.jsx)(o.wn,{title:"Selected Quirks",fill:!0,scrollable:!0,children:h.length?h.map(function(e){var n=d.all_quirks.find(function(n){return n.name===e});if(!n)return null;var t=n.cost>0?"-".concat(n.cost):"+".concat(Math.abs(n.cost)),i=n.cost>0?"var(--color-bad)":"var(--color-good)";return(0,r.jsx)(o.az,{mb:.5,p:.5,style:{borderLeft:"3px solid ".concat(i)},children:(0,r.jsxs)(o.BJ,{justify:"space-between",children:[(0,r.jsx)(o.az,{bold:!0,children:e}),(0,r.jsx)(o.az,{children:t})]})},e)}):(0,r.jsx)(o.az,{italic:!0,children:"No quirks selected."})})]})})]})})})}},7076:function(e,n,t){"use strict";t.r(n),t.d(n,{RCD:()=>s});var r=t(8138);t(4530);var i=t(7790),o=t(2864),l=t(3384),a=t(2723),c=t(4744),s=function(){return(0,r.jsxs)(l.p8,{width:480,height:670,children:[(0,r.jsx)(c.ComplexModal,{}),(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(u,{}),(0,r.jsx)(d,{}),(0,r.jsx)(h,{}),(0,r.jsx)(m,{})]})})]})},u=function(){var e=(0,o.Oc)().data,n=e.matter,t=e.max_matter,l=.7*t,a=.25*t;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Matter Storage",children:(0,r.jsx)(i.z2,{ranges:{good:[l,1/0],average:[a,l],bad:[-1/0,a]},value:n,maxValue:t,children:(0,r.jsx)(i.BJ.Item,{textAlign:"center",children:"".concat(n," / ").concat(t," units")})})})})},d=function(){return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Construction Type",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(f,{mode_type:"Floors and Walls"}),(0,r.jsx)(f,{mode_type:"Airlocks"}),(0,r.jsx)(f,{mode_type:"Windows"}),(0,r.jsx)(f,{mode_type:"Deconstruction"})]})})})},f=function(e){var n=e.mode_type,t=(0,o.Oc)(),l=t.act,a=t.data.mode;return(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsx)(i.$n,{fluid:!0,color:"transparent",content:n,selected:+(a===n),onClick:function(){return l("mode",{mode:n})}})})},h=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.door_name,a=t.electrochromic,s=t.airlock_glass;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Airlock Settings",children:(0,r.jsxs)(i.BJ,{textAlign:"center",children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,color:"transparent",icon:"pen-alt",content:(0,r.jsxs)(r.Fragment,{children:["Rename: ",(0,r.jsx)("b",{children:l})]}),onClick:function(){return(0,c.modalOpen)("renameAirlock")}})}),(0,r.jsx)(i.BJ.Item,{children:1===s&&(0,r.jsx)(i.$n,{fluid:!0,icon:a?"toggle-on":"toggle-off",content:"Electrochromic",selected:a,onClick:function(){return n("electrochromic")}})})]})})})},m=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.tab,c=t.locked,s=t.one_access,u=t.selected_accesses,d=t.regions;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{textAlign:"center",children:(0,r.jsxs)(i.tU,{fluid:!0,children:[(0,r.jsx)(i.tU.Tab,{icon:"cog",selected:1===l,onClick:function(){return n("set_tab",{tab:1})},children:"Airlock Types"}),(0,r.jsx)(i.tU.Tab,{selected:2===l,icon:"list",onClick:function(){return n("set_tab",{tab:2})},children:"Airlock Access"})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:1===l?(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Types",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(p,{check_number:0})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(p,{check_number:1})})]})}):2===l&&c?(0,r.jsx)(i.wn,{fill:!0,title:"Access",buttons:(0,r.jsx)(i.$n,{icon:"lock-open",content:"Unlock",onClick:function(){return n("set_lock",{new_lock:"unlock"})}}),children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"lock",size:5,mb:3}),(0,r.jsx)("br",{}),"Airlock access selection is currently locked."]})})}):(0,r.jsx)(a.AccessList,{sectionButtons:(0,r.jsx)(i.$n,{icon:"lock",content:"Lock",onClick:function(){return n("set_lock",{new_lock:"lock"})}}),usedByRcd:1,rcdButtons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n.Checkbox,{checked:s,content:"One",onClick:function(){return n("set_one_access",{access:"one"})}}),(0,r.jsx)(i.$n.Checkbox,{checked:!s,width:4,content:"All",onClick:function(){return n("set_one_access",{access:"all"})}})]}),accesses:d,selectedList:u,accessMod:function(e){return n("set",{access:e})},grantAll:function(){return n("grant_all")},denyAll:function(){return n("clear_all")},grantDep:function(e){return n("grant_region",{region:e})},denyDep:function(e){return n("deny_region",{region:e})},grantableList:[]})})]})},p=function(e){var n=e.check_number,t=(0,o.Oc)(),l=t.act,a=t.data,c=a.door_types_ui_list,s=a.door_type,u=c.filter(function(e,t){return t%2===n});return(0,r.jsx)(i.BJ.Item,{children:u.map(function(e,n){return(0,r.jsx)(i.BJ,{mb:.5,children:(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,selected:s===e.type,content:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("img",{src:"data:image/jpeg;base64,".concat(e.image),style:{verticalAlign:"middle",width:"32px",margin:"3px",marginRight:"6px",marginLeft:"-3px"}}),e.name]}),onClick:function(){return l("door_type",{door_type:e.type})}})})},n)})})}},1703:function(e,n,t){"use strict";t.r(n),t.d(n,{RPD:()=>s});var r=t(8138),i=t(7790),o=t(5490),l=t(2864),a=t(7946),c=t(3384),s=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.mainmenu,s=o.mode;return(0,r.jsx)(c.p8,{width:550,height:440,children:(0,r.jsx)(c.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.tU,{fluid:!0,children:a.map(function(e){return(0,r.jsx)(i.tU.Tab,{icon:e.icon,selected:e.mode===s,onClick:function(){return t("mode",{mode:e.mode})},children:e.category},e.category)})})}),function(e){switch(e){case 1:return(0,r.jsx)(u,{});case 2:return(0,r.jsx)(d,{});case 3:return(0,r.jsx)(h,{});case 4:return(0,r.jsx)(m,{});case 5:return(0,r.jsx)(p,{});case 6:return(0,r.jsx)(x,{});default:return"WE SHOULDN'T BE HERE!"}}(s)]})})})},u=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,s=c.pipemenu,u=c.pipe_category,d=c.pipelist,h=c.whatpipe,m=c.iconrotation;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.tU,{fluid:!0,children:s.map(function(e){return(0,r.jsx)(i.tU.Tab,{textAlign:"center",selected:e.pipemode===u,onClick:function(){return t("pipe_category",{pipe_category:e.pipemode})},children:e.category},e.category)})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.pd,{fluid:!0,placeholder:"Enter pipe label",onChange:function(e){return t("set_label",{set_label:e})}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"50%",children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(a.xA,{children:(0,r.jsx)(a.xA.Column,{children:d.filter(function(e){return 1===e.pipe_type}).filter(function(e){return e.pipe_category===u}).map(function(e){return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{fluid:!0,content:e.pipe_name,icon:"cog",selected:e.pipe_id===h,onClick:function(){return t("whatpipe",{whatpipe:e.pipe_id})},style:{marginBottom:"2px"}})},e.pipe_name)})})})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"50%",children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(a.xA,{children:(0,r.jsxs)(a.xA.Column,{children:[(0,r.jsx)(f,{}),d.filter(function(e){return 1===e.pipe_type&&e.pipe_id===h&&1!==e.orientations}).map(function(e){return(0,r.jsx)(i.az,{children:e.bendy?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:4===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","southeast-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:4})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:2===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","southwest-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:2})},style:{marginBottom:"5px"}})})]}),(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:1===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","northeast-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:1})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:8===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","northwest-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:8})},style:{marginBottom:"5px"}})})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:1===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","north-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:1})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:4===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","east-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:4})},style:{marginBottom:"5px"}})})]}),4===e.orientations&&(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:2===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","south-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:2})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:8===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","west-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:8})},style:{marginBottom:"5px"}})})]})]})},e.pipe_id)})]})})})})]})})]})},d=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data;c.pipe_category;var s=c.pipelist,u=c.whatdpipe,d=c.iconrotation;return c.auto_wrench_toggle,(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"50%",children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(a.xA,{children:(0,r.jsx)(a.xA.Column,{children:s.filter(function(e){return 2===e.pipe_type}).map(function(e){return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{fluid:!0,content:e.pipe_name,icon:"cog",selected:e.pipe_id===u,onClick:function(){return t("whatdpipe",{whatdpipe:e.pipe_id})},style:{marginBottom:"2px"}})},e.pipe_name)})})})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"50%",children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(a.xA,{children:(0,r.jsxs)(a.xA.Column,{children:[(0,r.jsx)(f,{}),s.filter(function(e){return 2===e.pipe_type&&e.pipe_id===u&&1!==e.orientations}).map(function(e){return(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:1===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","north-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:1})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:4===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","east-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:4})},style:{marginBottom:"5px"}})})]}),4===e.orientations&&(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:2===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","south-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:2})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:8===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","west-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:8})},style:{marginBottom:"5px"}})})]})]},e.pipe_id)})]})})})})]})})},f=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.iconrotation,c=o.auto_wrench_toggle;return(0,r.jsxs)(i.BJ,{mb:1,textAlign:"center",children:[(0,r.jsx)(i.BJ.Item,{basis:"50%",children:(0,r.jsx)(i.$n,{fluid:!0,content:"Auto-orientation",selected:0===a,onClick:function(){return t("iconrotation",{iconrotation:0})}})}),(0,r.jsx)(i.BJ.Item,{basis:"50%",children:(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:c,content:"Auto-anchor",onClick:function(){return t("auto_wrench_toggle")}})})]})},h=function(e){return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",children:[(0,r.jsx)(i.In,{name:"sync-alt",size:5,color:"gray",mb:5}),(0,r.jsx)("br",{}),"Device ready to rotate loose pipes..."]})})})})},m=function(e){return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",children:[(0,r.jsx)(i.In,{name:"arrows-alt-h",size:5,color:"gray",mb:5}),(0,r.jsx)("br",{}),"Device ready to flip loose pipes..."]})})})})},p=function(e){return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",children:[(0,r.jsx)(i.In,{name:"recycle",size:5,color:"gray",mb:5}),(0,r.jsx)("br",{}),"Device ready to eat loose pipes..."]})})})})},x=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data;c.pipe_category;var s=c.pipelist,u=c.whatttube,d=c.iconrotation;return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"50%",children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(a.xA,{children:(0,r.jsx)(a.xA.Column,{children:s.filter(function(e){return 3===e.pipe_type}).map(function(e){return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{fluid:!0,content:e.pipe_name,icon:"cog",selected:e.pipe_id===u,onClick:function(){return t("whatttube",{whatttube:e.pipe_id})},style:{marginBottom:"2px"}})},e.pipe_name)})})})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"50%",children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(a.xA,{children:(0,r.jsxs)(a.xA.Column,{children:[(0,r.jsx)(f,{}),s.filter(function(e){return 3===e.pipe_type&&e.pipe_id===u&&1!==e.orientations}).map(function(e){return(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:1===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","north-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:1})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:4===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","east-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:4})},style:{marginBottom:"5px"}})})]}),4===e.orientations&&(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:2===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","south-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:2})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:8===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","west-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:8})},style:{marginBottom:"5px"}})})]})]},e.pipe_id)})]})})})})]})})}},8930:function(e,n,t){"use strict";t.r(n),t.d(n,{Radio:()=>u});var r=t(8138),i=t(8587),o=t(7790),l=t(6859),a=t(2864),c=t(421),s=t(3384),u=function(e){var n=(0,a.Oc)(),t=n.act,u=n.data,d=u.freqlock,f=u.frequency,h=u.minFrequency,m=u.maxFrequency,p=u.canReset,x=u.listening,g=u.broadcasting,j=u.loudspeaker,b=u.has_loudspeaker,y=u.ichannels,v=u.schannels,w=c.Fo.find(function(e){return e.freq===f}),k=!!w&&!!w.name,_=[];c.Fo.forEach(function(e){_[e.name]=e.color});var C=(0,i.Tj)(v,function(e,n){return{name:n,status:!!e}}),I=(0,i.Tj)(y,function(e,n){return{name:n,freq:e}});return(0,r.jsx)(s.p8,{width:375,height:130+21.2*C.length+11*I.length,children:(0,r.jsx)(s.p8.Content,{scrollable:!0,children:(0,r.jsx)(o.wn,{fill:!0,children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsxs)(o.Ki.Item,{label:"Frequency",children:[d&&(0,r.jsx)(o.az,{inline:!0,color:"light-gray",children:(0,l.Mg)(f/10,1)+" kHz"})||(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.Q7,{animated:!0,unit:"kHz",step:.2,stepPixelSize:10,minValue:h/10,maxValue:m/10,value:f/10,format:function(e){return(0,l.Mg)(e,1)},onChange:function(e){return t("frequency",{adjust:e-f/10})}}),(0,r.jsx)(o.$n,{icon:"undo",content:"",disabled:!p,tooltip:"Reset",onClick:function(){return t("frequency",{tune:"reset"})}})]}),k&&w&&(0,r.jsxs)(o.az,{inline:!0,color:w.color,ml:2,children:["[",w.name,"]"]})]}),(0,r.jsxs)(o.Ki.Item,{label:"Audio",children:[(0,r.jsx)(o.$n,{textAlign:"center",width:"37px",icon:x?"volume-up":"volume-mute",selected:x,color:x?"":"bad",tooltip:x?"Disable Incoming":"Enable Incoming",onClick:function(){return t("listen")}}),(0,r.jsx)(o.$n,{textAlign:"center",width:"37px",icon:g?"microphone":"microphone-slash",selected:g,tooltip:g?"Disable Hotmic":"Enable Hotmic",onClick:function(){return t("broadcast")}}),!!b&&(0,r.jsx)(o.$n,{ml:1,icon:"bullhorn",selected:j,content:"Loudspeaker",tooltip:j?"Disable Loudspeaker":"Enable Loudspeaker",onClick:function(){return t("loudspeaker")}})]}),0!==v.length&&(0,r.jsx)(o.Ki.Item,{label:"Keyed Channels",children:C.map(function(e){return(0,r.jsxs)(o.az,{children:[(0,r.jsx)(o.$n,{icon:e.status?"check-square-o":"square-o",selected:e.status,content:"",onClick:function(){return t("channel",{channel:e.name})}}),(0,r.jsx)(o.az,{inline:!0,color:_[e.name],children:e.name})]},e.name)})}),0!==I.length&&(0,r.jsx)(o.Ki.Item,{label:"Standard Channel",children:I.map(function(e){return(0,r.jsx)(o.$n,{icon:"arrow-right",content:e.name,selected:k&&w&&w.name===e.name,onClick:function(){return t("ichannel",{ichannel:e.freq})}},"i_"+e.name)})})]})})})})}},4097:function(e,n,t){"use strict";t.r(n),t.d(n,{RankedListInputModal:()=>h});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=t(1942),s=t(9472);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:null;if(null!==a){var i=function(e){if(Array.isArray(e))return u(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||f(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i.splice(a,1)[0];null===r?i.push(o):i.splice(r,0,o),t(i),c(null),e.stopPropagation()}};return(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,onDrop:function(e){return m(e)},onDragOver:h,children:(0,r.jsx)(o.XI,{children:n.map(function(e,n){return(0,r.jsx)(o.XI.Row,{style:{padding:"8px"},draggable:!0,onDragStart:function(){return s(n)},onDragOver:h,onDrop:function(e){return m(e,n)},children:(0,r.jsx)(o.$n,{fluid:!0,py:"0.25rem",color:"transparent",style:{animation:"none",transition:"none",cursor:"move"},icon:"grip-lines",children:e.replace(/^\w/,function(e){return e.toUpperCase()})})},n)})})})}},1876:function(e,n,t){"use strict";t.r(n),t.d(n,{ReagentGrinder:()=>s});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(3013),c=t(6696),s=function(e){var n=(0,o.Oc)(),t=(n.act,n.data),a=n.config,s=t.operating,h=a.title;return(0,r.jsx)(l.p8,{width:400,height:565,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(c.Operating,{operating:s,name:h}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(u,{})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(d,{})}),(0,r.jsx)(i.BJ.Item,{height:"30%",children:(0,r.jsx)(f,{})})]})})})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.inactive;return(0,r.jsx)(i.wn,{title:"Controls",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"mortar-pestle",disabled:l,tooltip:l?"There are no contents":"Grind the contents",tooltipPosition:"bottom",content:"Grind",onClick:function(){return t("grind")}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"blender",disabled:l,tooltip:l?"There are no contents":"Juice the contents",tooltipPosition:"bottom",content:"Juice",onClick:function(){return t("juice")}})})]})})},d=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.contents,c=l.limit,s=l.count,u=l.inactive;return(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Contents",buttons:(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.az,{inline:!0,color:"label",mr:2,children:[s," / ",c," items"]}),(0,r.jsx)(i.$n,{icon:"eject",content:"Eject Contents",onClick:function(){return t("eject")},disabled:u,tooltip:u?"There are no contents":""})]}),children:(0,r.jsx)(i.XI,{className:"Ingredient__Table",children:a.map(function(e){return(0,r.jsxs)(i.XI.Row,{tr:5,children:[(0,r.jsx)("td",{children:(0,r.jsx)(i.XI.Cell,{bold:!0,children:e.name})}),(0,r.jsx)("td",{children:(0,r.jsxs)(i.XI.Cell,{collapsing:!0,textAlign:"center",children:[e.amount," ",e.units]})})]},e.name)})})})},f=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,c=l.beaker_loaded,s=l.beaker_current_volume,u=l.beaker_max_volume,d=l.beaker_contents;return(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Beaker",buttons:!!c&&(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.az,{inline:!0,color:"label",mr:2,children:[s," / ",u," units"]}),(0,r.jsx)(i.$n,{icon:"eject",content:"Detach Beaker",onClick:function(){return t("detach")}})]}),children:(0,r.jsx)(a.BeakerContents,{beakerLoaded:c,beakerContents:d})})}},1569:function(e,n,t){"use strict";t.r(n),t.d(n,{ReagentsEditor:()=>g});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(9298),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.on;return(0,r.jsx)(l.p8,{width:300,height:165,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Receiver",children:(0,r.jsx)(i.$n,{icon:"power-off",content:s?"On":"Off",color:s?null:"red",selected:s,onClick:function(){return t("recv_power")}})})}),(0,r.jsx)(a.Signaler,{data:c})]})})})}},5297:function(e,n,t){"use strict";t.r(n),t.d(n,{RequestConsole:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(){var e=(0,o.Oc)().data,n=e.screen,t=e.announcementConsole;return(0,r.jsx)(l.p8,{width:450,height:t?430:385,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:function(e){switch(e){case 0:return(0,r.jsx)(u,{});case 1:return(0,r.jsx)(d,{purpose:"ASSISTANCE"});case 2:return(0,r.jsx)(d,{purpose:"SUPPLIES"});case 3:return(0,r.jsx)(d,{purpose:"INFO"});case 4:return(0,r.jsx)(f,{type:"SUCCESS"});case 5:return(0,r.jsx)(f,{type:"FAIL"});case 6:return(0,r.jsx)(h,{type:"MESSAGES"});case 7:return(0,r.jsx)(m,{});case 8:return(0,r.jsx)(p,{});case 9:return(0,r.jsx)(x,{});case 10:return(0,r.jsx)(h,{type:"SHIPPING"});case 11:return(0,r.jsx)(g,{});default:return"WE SHOULDN'T BE HERE!"}}(n)})})})},c=function(e){var n=(0,o.Oc)().act,t=e.text,l=e.icon,a=e.screen;return(0,r.jsx)(i.$n,{fluid:!0,lineHeight:3,icon:l,onClick:function(){return n("setScreen",{setScreen:a})},children:t})},s=function(){var e=(0,o.Oc)().act;return(0,r.jsx)(i.$n,{icon:"arrow-left",onClick:function(){return e("setScreen",{setScreen:0})},children:"Back"})},u=function(){var e,n=(0,o.Oc)(),t=n.act,l=n.data,a=l.newmessagepriority,s=l.announcementConsole,u=l.silent;return e=3===a?(0,r.jsx)(i.Z8,{children:(0,r.jsx)(i.az,{color:"red",bold:!0,mb:1,children:"NEW PRIORITY MESSAGES"})}):a>0?(0,r.jsx)(i.az,{color:"red",bold:!0,mb:1,children:"There are new messages"}):(0,r.jsx)(i.az,{color:"label",mb:1,children:"There are no new messages"}),(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Main Menu",buttons:(0,r.jsx)(i.$n,{width:9,selected:!u,icon:u?"volume-mute":"volume-up",onClick:function(){return t("toggleSilent")},children:u?"Speaker Off":"Speaker On"}),children:[e,(0,r.jsx)(i.az,{children:(0,r.jsx)(c,{icon:a>0?"envelope-open-text":"envelope",screen:6,text:"View Messages"})}),(0,r.jsxs)(i.az,{mt:1,children:[(0,r.jsx)(c,{icon:"hand-paper",screen:1,text:"Request Assistance"}),(0,r.jsx)(c,{icon:"box",screen:2,text:"Request Supplies"}),(0,r.jsx)(c,{icon:"clipboard-list",screen:11,text:"Request Secondary Goal"}),(0,r.jsx)(c,{icon:"comment",screen:3,text:"Relay Anonymous Information"})]}),(0,r.jsxs)(i.az,{mt:1,children:[(0,r.jsx)(c,{icon:"tag",screen:9,text:"Print Shipping Label"}),(0,r.jsx)(c,{icon:"clipboard-list",screen:10,text:"View Shipping Logs"})]}),!!s&&(0,r.jsx)(i.az,{mt:1,children:(0,r.jsx)(c,{icon:"bullhorn",screen:8,text:"Send Station-Wide Announcement"})})]})})},d=function(e){var n,t=(0,o.Oc)(),l=t.act,a=t.data,c=a.department,u=a.assist_dept,d=a.supply_dept,f=a.info_dept,h=[];switch(e.purpose){case"ASSISTANCE":h=u,n="Request assistance from another department";break;case"SUPPLIES":h=d,n="Request supplies from another department";break;case"INFO":h=f,n="Relay information to another department"}return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:n,buttons:(0,r.jsx)(s,{}),children:(0,r.jsx)(i.Ki,{children:h.filter(function(e){return e!==c}).map(function(e){return(0,r.jsxs)(i.Ki.Item,{label:e,textAlign:"right",className:"candystripe",children:[(0,r.jsx)(i.$n,{icon:"envelope",onClick:function(){return l("writeInput",{write:e,priority:2})},children:"Message"}),(0,r.jsx)(i.$n,{icon:"exclamation-circle",onClick:function(){return l("writeInput",{write:e,priority:3})},children:"High Priority"})]},e)})})})})},f=function(e){var n;switch(e.type){case"SUCCESS":n="Message sent successfully";break;case"FAIL":n="Unable to contact messaging server"}return(0,r.jsx)(i.wn,{fill:!0,title:n,buttons:(0,r.jsx)(s,{})})},h=function(e){var n,t=(0,o.Oc)(),l=(t.act,t.data),a=l.message_log,c=l.shipping_log,u=[];switch(e.type){case"MESSAGES":u=a,n="Message Log";break;case"SHIPPING":u=c,n="Shipping label print log"}return u.reverse(),(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:n,buttons:(0,r.jsx)(s,{}),children:u.map(function(e,n){return(0,r.jsxs)(i.az,{textAlign:"left",children:[e.map(function(e,n){return(0,r.jsx)("div",{children:e},n)}),(0,r.jsx)("hr",{})]},n)})})})},m=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.recipient,a=t.message,c=t.msgVerified,u=t.msgStamped;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Message Authentication",buttons:(0,r.jsx)(s,{}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Recipient",children:l}),(0,r.jsx)(i.Ki.Item,{label:"Message",children:a}),(0,r.jsx)(i.Ki.Item,{label:"Validated by",color:"green",children:c}),(0,r.jsx)(i.Ki.Item,{label:"Stamped by",color:"blue",children:u})]})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"envelope",onClick:function(){return n("department",{department:l})},children:"Send Message"})})})]})},p=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.message,a=t.announceAuth;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Station-Wide Announcement",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s,{}),(0,r.jsx)(i.$n,{icon:"edit",onClick:function(){return n("writeAnnouncement")},children:"Edit Message"})]}),children:l})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{children:[a?(0,r.jsx)(i.az,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,r.jsx)(i.az,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}),(0,r.jsx)(i.$n,{fluid:!0,mt:2,textAlign:"center",icon:"bullhorn",disabled:!(a&&l),onClick:function(){return n("sendAnnouncement")},children:"Send Announcement"})]})})]})},x=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.shipDest,a=t.msgVerified,c=t.ship_dept;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{textAlign:"center",children:(0,r.jsxs)(i.wn,{title:"Print Shipping Label",buttons:(0,r.jsx)(s,{}),children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Destination",children:l}),(0,r.jsx)(i.Ki.Item,{label:"Validated by",children:a})]}),(0,r.jsx)(i.$n,{fluid:!0,mt:1,textAlign:"center",icon:"print",disabled:!(l&&a),onClick:function(){return n("printLabel")},children:"Print Label"})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Destinations",children:(0,r.jsx)(i.Ki,{children:c.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e,textAlign:"right",className:"candystripe",children:(0,r.jsx)(i.$n,{selected:l===e,onClick:function(){return n("shipSelect",{shipSelect:e})},children:l===e?"Selected":"Select"})},e)})})})})]})},g=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.secondaryGoalAuth,a=t.secondaryGoalEnabled;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Request Secondary Goal",buttons:(0,r.jsx)(s,{})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{children:[a?l?(0,r.jsx)(i.az,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,r.jsx)(i.az,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}):(0,r.jsx)(i.az,{textAlign:"center",color:"label",children:"Complete your current goal first!"}),(0,r.jsx)(i.$n,{fluid:!0,mt:2,textAlign:"center",icon:"clipboard-list",disabled:!(l&&a),onClick:function(){return n("requestSecondaryGoal")},children:"Request Secondary Goal"})]})})]})}},4384:function(e,n,t){"use strict";t.r(n),t.d(n,{LinkMenu:()=>c,RndBackupConsole:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,s=a.network_name,u=a.has_disk,d=a.disk_name,f=a.linked,h=a.techs,m=a.last_timestamp;return(0,r.jsx)(l.p8,{width:900,height:600,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsxs)(i.wn,{title:"Device Info",children:[(0,r.jsx)(i.az,{mb:2,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Current Network",children:f?(0,r.jsx)(i.$n,{content:s,icon:"unlink",selected:1,onClick:function(){return t("unlink")}}):"None"}),(0,r.jsx)(i.Ki.Item,{label:"Loaded Disk",children:u?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:d+" (Last backup: "+m+")",icon:"save",selected:1,onClick:function(){return t("eject_disk")}}),(0,r.jsx)(i.$n,{icon:"sign-in-alt",content:"Save all",onClick:function(){return t("saveall2disk")}}),(0,r.jsx)(i.$n,{icon:"sign-out-alt",content:"Load all",onClick:function(){return t("saveall2network")}})]}):"None"})]})}),!!f||(0,r.jsx)(c,{})]}),(0,r.jsx)(i.az,{mt:2,children:(0,r.jsx)(i.wn,{title:"Tech Info",children:(0,r.jsxs)(i.XI,{m:"0.5rem",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Tech Name"}),(0,r.jsx)(i.XI.Cell,{children:"Network Level"}),(0,r.jsx)(i.XI.Cell,{children:"Disk Level"}),(0,r.jsx)(i.XI.Cell,{children:"Actions"})]}),Object.keys(h).map(function(e){return!(h[e].network_level>0||h[e].disk_level>0)||(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:h[e].name}),(0,r.jsx)(i.XI.Cell,{children:h[e].network_level||"None"}),(0,r.jsx)(i.XI.Cell,{children:h[e].disk_level||"None"}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n,{icon:"sign-in-alt",content:"Load to network",disabled:!u||!f,onClick:function(){return t("savetech2network",{tech:e})}}),(0,r.jsx)(i.$n,{icon:"sign-out-alt",content:"Load to disk",disabled:!u||!f,onClick:function(){return t("savetech2disk",{tech:e})}})]})]},e)})]})})})]})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.controllers;return(0,r.jsx)(i.wn,{title:"Setup Linkage",children:(0,r.jsxs)(i.XI,{m:"0.5rem",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Network Address"}),(0,r.jsx)(i.XI.Cell,{children:"Network ID"}),(0,r.jsx)(i.XI.Cell,{children:"Link"})]}),l.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.addr}),(0,r.jsx)(i.XI.Cell,{children:e.net_id}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{content:"Link",icon:"link",onClick:function(){return t("linktonetworkcontroller",{target_controller:e.addr})}})})]},e.addr)})]})})}},4080:function(e,n,t){"use strict";t.r(n),t.d(n,{AnalyzerMenu:()=>a});var r=t(8138),i=t(7790),o=t(5490),l=t(2864),a=function(e){var n=(0,l.Oc)(),t=n.data,o=n.act,a=t.tech_levels,s=t.loaded_item,u=t.linked_analyzer,d=t.can_discover;return u?s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.wn,{title:"Object Analysis",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"Deconstruct",icon:"microscope",onClick:function(){o("deconstruct")}}),(0,r.jsx)(i.$n,{content:"Eject",icon:"eject",onClick:function(){o("eject_item")}}),!d||(0,r.jsx)(i.$n,{content:"Discover",icon:"atom",onClick:function(){o("discover")}})]}),children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Name",children:s.name})})}),(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.XI,{id:"research-levels",children:[(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Research Field"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Current Level"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Object Level"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"New Level"})]}),a.map(function(e){return(0,r.jsx)(c,{techLevel:e},e.id)})]})})]}):(0,r.jsx)(i.wn,{title:"Analysis Menu",children:"No item loaded. Standing by..."}):(0,r.jsx)(i.wn,{title:"Analysis Menu",children:"NO SCIENTIFIC ANALYZER LINKED TO CONSOLE"})},c=function(e){var n=e.techLevel,t=n.name,l=n.desc,a=n.level,c=n.object_level,s=n.ui_icon,u=null!=c,d=u&&c>=a?Math.max(c,a+1):a;return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{icon:"circle-info",tooltip:l})}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.In,{name:s})," ",t]}),(0,r.jsx)(i.XI.Cell,{children:a}),u?(0,r.jsx)(i.XI.Cell,{children:c}):(0,r.jsx)(i.XI.Cell,{className:"research-level-no-effect",children:"-"}),(0,r.jsx)(i.XI.Cell,{className:(0,o.Ly)([d!==a&&"upgraded-level"]),children:d})]})}},9529:function(e,n,t){"use strict";t.r(n),t.d(n,{DataDiskMenu:()=>d});var r=t(8138),i=t(7790),o=t(2864),l="tech",a=function(e){var n=(0,o.Oc)(),t=n.data,l=n.act,a=t.disk_data;return a?(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:a.name}),(0,r.jsx)(i.Ki.Item,{label:"Level",children:a.level}),(0,r.jsx)(i.Ki.Item,{label:"Description",children:a.desc})]}),(0,r.jsx)(i.az,{mt:"10px",children:(0,r.jsx)(i.$n,{content:"Upload to Database",icon:"arrow-up",onClick:function(){return l("updt_tech")}})})]}):null},c=function(e){var n=(0,o.Oc)(),t=n.data,l=n.act,a=t.disk_data;if(!a)return null;var c=a.name,s=a.lathe_types,u=a.materials,d=s.join(", ");return(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:c}),d?(0,r.jsx)(i.Ki.Item,{label:"Lathe Types",children:d}):null,(0,r.jsx)(i.Ki.Item,{label:"Required Materials"})]}),u.map(function(e){return(0,r.jsxs)(i.az,{children:["- ",(0,r.jsx)("span",{style:{textTransform:"capitalize"},children:e.name})," x ",e.amount]},e.name)}),(0,r.jsx)(i.az,{mt:"10px",children:(0,r.jsx)(i.$n,{content:"Upload to Database",icon:"arrow-up",onClick:function(){return l("updt_design")}})})]})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.disk_data;return(0,r.jsx)(i.wn,function(e){for(var n=1;na});var r=t(8138),i=t(7790),o=t(2864),l=t(5887),a=function(e){var n=(0,o.Oc)(),t=n.data,a=n.act,c=t.category,s=t.matching_designs,u=4===t.menu?"build":"imprint";return(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,height:36,title:c,children:[(0,r.jsx)(l.LatheMaterials,{}),(0,r.jsx)(i.XI,{className:"RndConsole__LatheCategory__MatchingDesigns",children:s.map(function(e){var n=e.id,t=e.name,o=e.can_build,l=e.materials;return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{icon:"print",content:t,disabled:o<1,onClick:function(){return a(u,{id:n,amount:1})}})}),(0,r.jsx)(i.XI.Cell,{children:o>=5?(0,r.jsx)(i.$n,{content:"x5",onClick:function(){return a(u,{id:n,amount:5})}}):null}),(0,r.jsx)(i.XI.Cell,{children:o>=10?(0,r.jsx)(i.$n,{content:"x10",onClick:function(){return a(u,{id:n,amount:10})}}):null}),(0,r.jsx)(i.XI.Cell,{children:l.map(function(e){return(0,r.jsxs)(r.Fragment,{children:[" | ",(0,r.jsxs)("span",{className:e.is_red?"color-red":null,children:[e.amount," ",e.name]})]})})})]},n)})})]})}},4154:function(e,n,t){"use strict";t.r(n),t.d(n,{LatheChemicalStorage:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.data,l=n.act,a=t.loaded_chemicals,c=4===t.menu;return(0,r.jsxs)(i.wn,{title:"Chemical Storage",children:[(0,r.jsx)(i.$n,{content:"Purge All",icon:"trash",onClick:function(){l(c?"disposeallP":"disposeallI")}}),(0,r.jsx)(i.Ki,{children:a.map(function(e){var n=e.volume,t=e.name,o=e.id;return(0,r.jsx)(i.Ki.Item,{label:"* ".concat(n," of ").concat(t),children:(0,r.jsx)(i.$n,{content:"Purge",icon:"trash",onClick:function(){l(c?"disposeP":"disposeI",{id:o})}})},o)})})]})}},8563:function(e,n,t){"use strict";t.r(n),t.d(n,{LatheMainMenu:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(5887),a=t(6013),c=function(e){var n=(0,o.Oc)(),t=n.data,c=n.act,s=t.menu,u=t.categories;return(0,r.jsxs)(i.wn,{title:(4===s?"Protolathe":"Circuit Imprinter")+" Menu",children:[(0,r.jsx)(l.LatheMaterials,{}),(0,r.jsx)(a.LatheSearch,{}),(0,r.jsx)(i.cG,{}),(0,r.jsx)(i.so,{wrap:"wrap",children:u.map(function(e){return(0,r.jsx)(i.so,{style:{flexBasis:"50%",marginBottom:"6px"},children:(0,r.jsx)(i.$n,{icon:"arrow-right",content:e,onClick:function(){c("setCategory",{category:e})}})},e)})})]})}},7635:function(e,n,t){"use strict";t.r(n),t.d(n,{LatheMaterialStorage:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.data,l=n.act,a=t.loaded_materials;return(0,r.jsx)(i.wn,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,r.jsx)(i.XI,{children:a.map(function(e){var n=e.id,o=e.amount,a=e.name,c=function(e){l(4===t.menu?"lathe_ejectsheet":"imprinter_ejectsheet",{id:n,amount:e})},s=Math.floor(o/2e3),u=o<1;return(0,r.jsxs)(i.XI.Row,{className:u?"color-grey":"color-yellow",children:[(0,r.jsxs)(i.XI.Cell,{minWidth:"210px",children:["* ",o," of ",a]}),(0,r.jsxs)(i.XI.Cell,{minWidth:"110px",children:["(",s," sheet",1===s?"":"s",")"]}),(0,r.jsx)(i.XI.Cell,{children:o>=2e3?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"1x",icon:"eject",onClick:function(){return c(1)}}),(0,r.jsx)(i.$n,{content:"C",icon:"eject",onClick:function(){return c("custom")}}),o>=1e4?(0,r.jsx)(i.$n,{content:"5x",icon:"eject",onClick:function(){return c(5)}}):null,(0,r.jsx)(i.$n,{content:"All",icon:"eject",onClick:function(){return c(50)}})]}):null})]},n)})})})}},5887:function(e,n,t){"use strict";t.r(n),t.d(n,{LatheMaterials:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)().data,t=n.total_materials,l=n.max_materials,a=n.max_chemicals,c=n.total_chemicals;return(0,r.jsx)(i.az,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,r.jsxs)(i.XI,{width:"auto",children:[(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Material Amount:"}),(0,r.jsx)(i.XI.Cell,{children:t}),l?(0,r.jsx)(i.XI.Cell,{children:" / "+l}):null]}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Chemical Amount:"}),(0,r.jsx)(i.XI.Cell,{children:c}),a?(0,r.jsx)(i.XI.Cell,{children:" / "+a}):null]})]})})}},9760:function(e,n,t){"use strict";t.r(n),t.d(n,{LatheMenu:()=>p});var r=t(8138),i=t(7790),o=t(2864),l=t(2247),a=t(1465),c=t(4154),s=t(8563),u=t(7635);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["menu"]);return(0,r.jsx)(f,function(e){for(var n=1;nl});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)().act;return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.pd,{placeholder:"Search...",onEnter:function(e){return n("search",{to_search:e})}})})}},7726:function(e,n,t){"use strict";t.r(n),t.d(n,{LinkMenu:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.controllers;return(0,r.jsx)(l.p8,{width:800,height:550,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{title:"Setup Linkage",children:(0,r.jsxs)(i.XI,{m:"0.5rem",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Network Address"}),(0,r.jsx)(i.XI.Cell,{children:"Network ID"}),(0,r.jsx)(i.XI.Cell,{children:"Link"})]}),a.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.addr}),(0,r.jsx)(i.XI.Cell,{children:e.net_id}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{content:"Link",icon:"link",onClick:function(){return t("linktonetworkcontroller",{target_controller:e.addr})}})})]},e.addr)})]})})})})}},3321:function(e,n,t){"use strict";t.r(n),t.d(n,{SettingsMenu:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){return(0,r.jsxs)(i.az,{children:[(0,r.jsx)(a,{}),(0,r.jsx)(c,{})]})},a=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data;l.sync;var a=l.admin;return(0,r.jsx)(i.wn,{title:"Settings",children:(0,r.jsxs)(i.so,{direction:"column",align:"flex-start",children:[(0,r.jsx)(i.$n,{color:"red",icon:"unlink",content:"Disconnect from Research Network",onClick:function(){t("unlink")}}),1===a?(0,r.jsx)(i.$n,{icon:"gears",color:"red",content:"[ADMIN] Maximize research levels",onClick:function(){return t("maxresearch")}}):null]})})},c=function(e){var n=(0,o.Oc)(),t=n.data,l=n.act,a=t.linked_analyzer,c=t.linked_lathe,s=t.linked_imprinter;return(0,r.jsx)(i.wn,{title:"Linked Devices",buttons:(0,r.jsx)(i.$n,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){return l("find_device")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Scientific Analyzer",children:(0,r.jsx)(i.$n,{icon:"unlink",disabled:!a,content:a?"Unlink":"Undetected",onClick:function(){return l("disconnect",{item:"analyze"})}})}),(0,r.jsx)(i.Ki.Item,{label:"Protolathe",children:(0,r.jsx)(i.$n,{icon:"unlink",disabled:!c,content:c?"Unlink":"Undetected",onClick:function(){l("disconnect",{item:"lathe"})}})}),(0,r.jsx)(i.Ki.Item,{label:"Circuit Imprinter",children:(0,r.jsx)(i.$n,{icon:"unlink",disabled:!s,content:s?"Unlink":"Undetected",onClick:function(){return l("disconnect",{item:"imprinter"})}})})]})})}},2247:function(e,n,t){"use strict";t.r(n),t.d(n,{MENU:()=>h,PRINTER_MENU:()=>m,RndConsole:()=>g});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4080),c=t(9529),s=t(9760),u=t(7726),d=t(3321),f=i.tU.Tab,h={MAIN:0,DISK:2,ANALYZE:3,LATHE:4,IMPRINTER:5,SETTINGS:6},m={MAIN:0,SEARCH:1,MATERIALS:2,CHEMICALS:3},p=function(e){switch(e){case h.MAIN:return(0,r.jsx)(b,{});case h.DISK:return(0,r.jsx)(c.DataDiskMenu,{});case h.ANALYZE:return(0,r.jsx)(a.AnalyzerMenu,{});case h.LATHE:case h.IMPRINTER:return(0,r.jsx)(s.LatheMenu,{});case h.SETTINGS:return(0,r.jsx)(d.SettingsMenu,{});default:return"UNKNOWN MENU"}},x=function(e){var n=(0,o.Oc)(),t=n.act,i=n.data.menu,l=e.menu,a=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["menu"]);return(0,r.jsx)(f,function(e){for(var n=1;nd});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t-1});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.wn,{title:"Network Configuration",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Network Name",children:(0,r.jsx)(o.$n,{content:h||"Unset",selected:h,icon:"edit",onClick:function(){return t("network_name")}})}),(0,r.jsx)(o.Ki.Item,{label:"Network Password",children:(0,r.jsx)(o.$n,{content:f||"Unset",selected:f,icon:"lock",onClick:function(){return t("network_password")}})})]})}),(0,r.jsxs)(o.wn,{title:"Connected Devices",children:[(0,r.jsxs)(o.tU,{children:[(0,r.jsx)(o.tU.Tab,{selected:"ALL"===s,onClick:function(){return d("ALL")},icon:"network-wired",children:"All Devices"},"AllDevices"),(0,r.jsx)(o.tU.Tab,{selected:"SRV"===s,onClick:function(){return d("SRV")},icon:"server",children:"R&D Servers"},"RNDServers"),(0,r.jsx)(o.tU.Tab,{selected:"RDC"===s,onClick:function(){return d("RDC")},icon:"desktop",children:"R&D Consoles"},"RDConsoles"),(0,r.jsx)(o.tU.Tab,{selected:"MFB"===s,onClick:function(){return d("MFB")},icon:"industry",children:"Exosuit Fabricators"},"Mechfabs"),(0,r.jsx)(o.tU.Tab,{selected:"MSC"===s,onClick:function(){return d("MSC")},icon:"microchip",children:"Miscellaneous Devices"},"Misc")]}),(0,r.jsxs)(o.XI,{m:"0.5rem",children:[(0,r.jsxs)(o.XI.Row,{header:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"Device Name"}),(0,r.jsx)(o.XI.Cell,{children:"Device ID"}),(0,r.jsx)(o.XI.Cell,{children:"Unlink"})]}),x.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.name}),(0,r.jsx)(o.XI.Cell,{children:e.id}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.$n,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){return t("unlink_device",{dclass:e.dclass,uid:e.id})}})})]},e.id)})]})]})]})},h=function(e){var n=(0,a.Oc)(),t=n.act,c=n.data.designs,s=u((0,i.useState)(""),2),d=s[0],f=s[1];return(0,r.jsxs)(o.wn,{title:"Design Management",children:[(0,r.jsx)(o.pd,{fluid:!0,placeholder:"Search for designs",mb:2,onChange:function(e){return f(e)}}),c.filter((0,l.XZ)(d,function(e){return e.name})).map(function(e){return(0,r.jsx)(o.$n.Checkbox,{fluid:!0,content:e.name,checked:!e.blacklisted,onClick:function(){return t(e.blacklisted?"unblacklist_design":"blacklist_design",{d_uid:e.uid})}},e.name)})]})}},5156:function(e,n,t){"use strict";t.r(n),t.d(n,{RndServer:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,u=a.active,d=a.network_name;return(0,r.jsx)(l.p8,{width:600,height:500,resizable:!0,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(i.wn,{title:"Server Configuration",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Machine power",children:(0,r.jsx)(i.$n,{content:u?"On":"Off",selected:u,icon:"power-off",onClick:function(){return t("toggle_active")}})}),(0,r.jsx)(i.Ki.Item,{label:"Link status",children:null===d?(0,r.jsx)(i.az,{color:"red",children:"Unlinked"}):(0,r.jsx)(i.az,{color:"green",children:"Linked"})})]})}),null===d?(0,r.jsx)(s,{}):(0,r.jsx)(c,{})]})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.network_name;return(0,r.jsx)(i.wn,{title:"Network Info",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Connected network ID",children:l}),(0,r.jsx)(i.Ki.Item,{label:"Unlink",children:(0,r.jsx)(i.$n,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){return t("unlink")}})})]})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.controllers;return(0,r.jsx)(i.wn,{title:"Detected Cores",children:(0,r.jsxs)(i.XI,{m:"0.5rem",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Network ID"}),(0,r.jsx)(i.XI.Cell,{children:"Link"})]}),l.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.netname}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{content:"Link",icon:"link",onClick:function(){return t("link",{addr:e.addr})}})})]},e.addr)})]})})}},7868:function(e,n,t){"use strict";t.r(n),t.d(n,{RobotSelfDiagnosis:()=>s});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=function(e,n){var t=e/n;return t<=.2?"good":t<=.5?"average":"bad"},s=function(e){var n=(0,l.Oc)().data.component_data;return(0,r.jsx)(a.p8,{width:280,height:480,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:n.map(function(e,n){return(0,r.jsx)(i.wn,{title:(0,o.ZH)(e.name),children:e.installed<=0?(0,r.jsx)(i.IC,{m:-.5,height:3.5,color:"red",style:{fontStyle:"normal"},children:(0,r.jsx)(i.so,{height:"100%",children:(0,r.jsx)(i.so.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:-1===e.installed?"Destroyed":"Missing"})})}):(0,r.jsxs)(i.so,{children:[(0,r.jsx)(i.so.Item,{width:"72%",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Brute Damage",color:c(e.brute_damage,e.max_damage),children:e.brute_damage}),(0,r.jsx)(i.Ki.Item,{label:"Burn Damage",color:c(e.electronic_damage,e.max_damage),children:e.electronic_damage})]})}),(0,r.jsx)(i.so.Item,{width:"50%",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Powered",color:e.powered?"good":"bad",children:e.powered?"Yes":"No"}),(0,r.jsx)(i.Ki.Item,{label:"Enabled",color:e.status?"good":"bad",children:e.status?"Yes":"No"})]})})]})},n)})})})}},1696:function(e,n,t){"use strict";t.r(n),t.d(n,{RoboticsControlConsole:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,s=a.can_hack,u=a.safety,d=a.show_lock_all,f=a.cyborgs;return(0,r.jsx)(l.p8,{width:500,height:460,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[!!d&&(0,r.jsxs)(i.wn,{title:"Emergency Lock Down",children:[(0,r.jsx)(i.$n,{icon:u?"lock":"unlock",content:u?"Disable Safety":"Enable Safety",selected:u,onClick:function(){return t("arm",{})}}),(0,r.jsx)(i.$n,{icon:"lock",disabled:u,content:"Lock ALL Cyborgs",color:"bad",onClick:function(){return t("masslock",{})}})]}),(0,r.jsx)(c,{cyborgs:void 0===f?[]:f,can_hack:s})]})})},c=function(e){var n=e.cyborgs;e.can_hack;var t=(0,o.Oc)(),l=t.act,a=t.data,c="Detonate";return(a.detonate_cooldown>0&&(c+=" ("+a.detonate_cooldown+"s)"),n.length)?n.map(function(e){return(0,r.jsx)(i.wn,{title:e.name,buttons:(0,r.jsxs)(r.Fragment,{children:[!!e.hackable&&!e.emagged&&(0,r.jsx)(i.$n,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){return l("hackbot",{uid:e.uid})}}),(0,r.jsx)(i.$n.Confirm,{icon:e.locked_down?"unlock":"lock",color:e.locked_down?"good":"default",content:e.locked_down?"Release":"Lockdown",disabled:!a.auth,onClick:function(){return l("stopbot",{uid:e.uid})}}),(0,r.jsx)(i.$n.Confirm,{icon:"bomb",content:c,disabled:!a.auth||a.detonate_cooldown>0,color:"bad",onClick:function(){return l("killbot",{uid:e.uid})}})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:(0,r.jsx)(i.az,{color:e.status?"bad":e.locked_down?"average":"good",children:e.status?"Not Responding":e.locked_down?"Locked Down":"Nominal"})}),(0,r.jsx)(i.Ki.Item,{label:"Location",children:(0,r.jsx)(i.az,{children:e.locstring})}),(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:(0,r.jsx)(i.z2,{color:e.health>50?"good":"bad",value:e.health/100})}),"number"==typeof e.charge&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Cell Charge",children:(0,r.jsx)(i.z2,{color:e.charge>30?"good":"bad",value:e.charge/100})}),(0,r.jsx)(i.Ki.Item,{label:"Cell Capacity",children:(0,r.jsx)(i.az,{color:e.cell_capacity<3e4?"average":"good",children:e.cell_capacity})})]})||(0,r.jsx)(i.Ki.Item,{label:"Cell",children:(0,r.jsx)(i.az,{color:"bad",children:"No Power Cell"})}),!!e.is_hacked&&(0,r.jsx)(i.Ki.Item,{label:"Safeties",children:(0,r.jsx)(i.az,{color:"bad",children:"DISABLED"})}),(0,r.jsx)(i.Ki.Item,{label:"Module",children:e.module}),(0,r.jsx)(i.Ki.Item,{label:"Master AI",children:(0,r.jsx)(i.az,{color:e.synchronization?"default":"average",children:e.synchronization||"None"})})]})},e.uid)}):(0,r.jsx)(i.IC,{children:"No cyborg units detected within access parameters."})}},5826:function(e,n,t){"use strict";t.r(n),t.d(n,{Safe:()=>c});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=(n.act,n.data),i=t.dial,c=t.open;return t.locked,t.contents,(0,r.jsx)(a.p8,{theme:"safe",width:600,height:800,children:(0,r.jsxs)(a.p8.Content,{children:[(0,r.jsxs)(o.az,{className:"Safe--engraving",children:[(0,r.jsx)(s,{}),(0,r.jsxs)(o.az,{children:[(0,r.jsx)(o.az,{className:"Safe--engraving--hinge",top:"25%"}),(0,r.jsx)(o.az,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,r.jsx)(o.In,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,r.jsx)("br",{}),c?(0,r.jsx)(u,{}):(0,r.jsx)(o.az,{as:"img",className:"Safe--dial",src:"safe_dial.png",style:{transform:"rotate(-"+3.6*i+"deg)",zIndex:0}})]}),!c&&(0,r.jsx)(d,{})]})})},s=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.dial,c=i.open,s=i.locked,u=function(e,n){return(0,r.jsx)(o.$n,{disabled:c||n&&!s,icon:"arrow-"+(n?"right":"left"),content:(n?"Right":"Left")+" "+e,iconRight:n,onClick:function(){return t(n?"turnleft":"turnright",{num:e})},style:{zIndex:10}})};return(0,r.jsxs)(o.az,{className:"Safe--dialer",children:[(0,r.jsx)(o.$n,{disabled:s,icon:c?"lock":"lock-open",content:c?"Close":"Open",mb:"0.5rem",onClick:function(){return t("open")}}),(0,r.jsx)("br",{}),(0,r.jsx)(o.az,{position:"absolute",children:[u(50),u(10),u(1)]}),(0,r.jsx)(o.az,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[u(1,!0),u(10,!0),u(50,!0)]}),(0,r.jsx)(o.az,{className:"Safe--dialer--number",children:a})]})},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data.contents;return(0,r.jsx)(o.az,{className:"Safe--contents",overflow:"auto",children:a.map(function(e,n){return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsxs)(o.$n,{mb:"0.5rem",onClick:function(){return t("retrieve",{index:n+1})},children:[(0,r.jsx)(o.az,{as:"img",src:e.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),e.name]}),(0,r.jsx)("br",{})]},e)})})},d=function(e){return(0,r.jsxs)(o.wn,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,r.jsxs)(o.az,{children:["1. Turn the dial left to the first number.",(0,r.jsx)("br",{}),"2. Turn the dial right to the second number.",(0,r.jsx)("br",{}),"3. Continue repeating this process for each number, switching between left and right each time.",(0,r.jsx)("br",{}),"4. Open the safe."]}),(0,r.jsx)(o.az,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},1892:function(e,n,t){"use strict";t.r(n),t.d(n,{SatelliteControl:()=>u,SatelliteControlFooter:()=>h,SatelliteControlMapView:()=>f,SatelliteControlSatellitesList:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(7946),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=d?"good":"average",value:u,maxValue:100,children:[u,"%"]})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{content:"Check coverage",disabled:f,onClick:function(){return t("begin_test")}})})]})})}),(0,r.jsx)(o.BJ.Item,{color:c,children:a})]})}},7943:function(e,n,t){"use strict";t.r(n),t.d(n,{SecureStorage:()=>s});var r=t(8138),i=t(7790),o=t(7686),l=t(5490),a=t(2864),c=t(3384),s=function(e){return(0,r.jsx)(c.p8,{theme:"securestorage",height:500,width:280,children:(0,r.jsx)(c.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(d,{})})})})})},u=function(e){var n=(0,a.Oc)().act,t=window.event?e.which:e.keyCode;if(t===o.Ri){e.preventDefault(),n("keypad",{digit:"E"});return}if(t===o.s6){e.preventDefault(),n("keypad",{digit:"C"});return}if(t===o.ye){e.preventDefault(),n("backspace");return}if(t>=o.Pm&&t<=o.Wy){e.preventDefault(),n("keypad",{digit:t-o.Pm});return}if(t>=o.hr&&t<=o.C){e.preventDefault(),n("keypad",{digit:t-o.hr});return}},d=function(e){var n=(0,a.Oc)(),t=(n.act,n.data),o=t.locked,c=t.no_passcode,s=t.emagged,d=t.user_entered_code;return(0,r.jsx)(i.wn,{fill:!0,className:"SecureStorage",onKeyDown:function(e){return u(e)},children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{height:7.3,children:(0,r.jsx)(i.az,{className:(0,l.Ly)(["SecureStorage__displayBox","SecureStorage__displayBox--"+(c?"":o?"bad":"good")]),height:"100%",children:s?"ERROR":d})}),(0,r.jsx)(i.BJ.Item,{align:"center",children:(0,r.jsx)(i.XI,{collapsing:!0,children:[["1","2","3"],["4","5","6"],["7","8","9"],["C","0","E"]].map(function(e){return(0,r.jsx)(i.XI.Row,{children:e.map(function(e){return(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(f,{number:e})},e)})},e[0])})})})]})})},f=function(e){var n=(0,a.Oc)(),t=n.act;n.data;var o=e.number;return(0,r.jsx)(i.$n,{bold:!0,fluid:!0,textAlign:"center",fontSize:"55px",lineHeight:1.25,width:"80px",className:(0,l.Ly)(["SecureStorage__Button","SecureStorage__Button--keypad","SecureStorage__Button--"+o]),onClick:function(){return t("keypad",{digit:o})},children:o})}},8589:function(e,n,t){"use strict";t.r(n),t.d(n,{SecurityRecords:()=>g});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384),s=t(4744),u=t(7352),d=t(736),f=t(2264),h=t(7482);function m(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tf});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=t(4744);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=n},r=function(e,n){return e<=n},i=e.split(" "),o=[],l=!0,a=!1,c=void 0;try{for(var s,u=i[Symbol.iterator]();!(l=(s=u.next()).done);l=!0){var d=function(){var e=s.value.split(":");if(0===e.length)return"continue";if(1===e.length)return o.push(function(n){return(n.name+" ("+n.variant+")").toLocaleLowerCase().includes(e[0].toLocaleLowerCase())}),"continue";if(e.length>2)return{v:function(e){return!1}};var i=void 0,l=n;if("-"===e[1][e[1].length-1]?(l=r,i=Number(e[1].substring(0,e[1].length-1))):"+"===e[1][e[1].length-1]?(l=t,i=Number(e[1].substring(0,e[1].length-1))):i=Number(e[1]),isNaN(i))return{v:function(e){return!1}};switch(e[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":o.push(function(e){return l(e.lifespan,i)});break;case"e":case"end":case"endurance":o.push(function(e){return l(e.endurance,i)});break;case"m":case"mat":case"maturation":o.push(function(e){return l(e.maturation,i)});break;case"pr":case"prod":case"production":o.push(function(e){return l(e.production,i)});break;case"y":case"yield":o.push(function(e){return l(e.yield,i)});break;case"po":case"pot":case"potency":o.push(function(e){return l(e.potency,i)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":o.push(function(e){return l(e.amount,i)});break;default:return{v:function(e){return!1}}}}();if("object"==(d&&"undefined"!=typeof Symbol&&d.constructor===Symbol?"symbol":typeof d))return d.v}}catch(e){a=!0,c=e}finally{try{l||null==u.return||u.return()}finally{if(a)throw c}}return function(e){var n=!0,t=!1,r=void 0;try{for(var i,l=o[Symbol.iterator]();!(n=(i=l.next()).done);n=!0)if(!(0,i.value)(e))return!1}catch(e){t=!0,r=e}finally{try{n||null==l.return||l.return()}finally{if(t)throw r}}return!0}},m=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=(0,i.useContext)(d),s=c.searchTextState,f=c.vendAmountState,m=c.sortIdState,x=c.sortOrderState,g=u(s,2),j=g[0];g[1];var b=u(f,2),y=b[0];b[1];var v=u(m,2),w=v[0];v[1];var k=u(x,2),_=k[0];k[1];var C=a.icons,I=a.seeds;return(0,r.jsx)(o.BJ.Item,{grow:!0,mt:.5,children:(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,children:(0,r.jsxs)(o.XI,{className:"SeedExtractor__list",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(p,{id:"name",children:"Name"}),(0,r.jsx)(p,{id:"lifespan",children:"Lifespan"}),(0,r.jsx)(p,{id:"endurance",children:"Endurance"}),(0,r.jsx)(p,{id:"maturation",children:"Maturation"}),(0,r.jsx)(p,{id:"production",children:"Production"}),(0,r.jsx)(p,{id:"yield",children:"Yield"}),(0,r.jsx)(p,{id:"potency",children:"Potency"}),(0,r.jsx)(p,{id:"amount",children:"Stock"})]}),0===I.length?"No seeds present.":I.filter(h(j)).sort(function(e,n){var t=_?1:-1;return"number"==typeof e[w]?(e[w]-n[w])*t:e[w].localeCompare(n[w])*t}).map(function(e){return(0,r.jsxs)(o.XI.Row,{onClick:function(){return t("vend",{seed_id:e.id,seed_variant:e.variant,vend_amount:y})},children:[(0,r.jsxs)(o.XI.Cell,{children:[(0,r.jsx)("img",{src:"data:image/jpeg;base64,".concat(C[e.image]),style:{verticalAlign:"middle",width:"32px",margin:"0px"}}),e.name]}),(0,r.jsx)(o.XI.Cell,{children:e.lifespan}),(0,r.jsx)(o.XI.Cell,{children:e.endurance}),(0,r.jsx)(o.XI.Cell,{children:e.maturation}),(0,r.jsx)(o.XI.Cell,{children:e.production}),(0,r.jsx)(o.XI.Cell,{children:e.yield}),(0,r.jsx)(o.XI.Cell,{children:e.potency}),(0,r.jsx)(o.XI.Cell,{children:e.amount})]},e.id)})]})})})},p=function(e){var n=(0,i.useContext)(d),t=n.sortIdState,l=n.sortOrderState,a=u(t,2),c=a[0],s=a[1],f=u(l,2),h=f[0],m=f[1],p=e.id,x=e.children;return(0,r.jsx)(o.XI.Cell,{children:(0,r.jsxs)(o.$n,{color:c!==p&&"transparent",fluid:!0,onClick:function(){c===p?m(!h):(s(p),m(!0))},children:[x,c===p&&(0,r.jsx)(o.In,{name:h?"sort-up":"sort-down",ml:"0.25rem;"})]})})},x=function(e){var n=(0,i.useContext)(d),t=n.searchTextState,l=n.vendAmountState,a=u(t,2),c=a[0],s=a[1],f=u(l,2),h=f[0],m=f[1];return(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.pd,{placeholder:"Search by name, variant, potency:70+, production:3-, ...",fluid:!0,onChange:function(e){return s(e)},value:c})}),(0,r.jsxs)(o.BJ.Item,{children:["Vend amount:",(0,r.jsx)(o.pd,{placeholder:"1",onChange:function(e){return m(Number(e)>=1?Number(e):1)},value:"".concat(h)})]})]})}},631:function(e,n,t){"use strict";t.r(n),t.d(n,{ShuttleConsole:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;return(0,r.jsx)(l.p8,{width:350,height:150,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Location",children:a.status?a.status:(0,r.jsx)(i.IC,{color:"red",children:"Shuttle Missing"})}),!!a.shuttle&&(!!a.docking_ports_len&&(0,r.jsx)(i.Ki.Item,{label:"Send to ",children:a.docking_ports.map(function(e){return(0,r.jsx)(i.$n,{icon:"chevron-right",content:e.name,onClick:function(){return t("move",{move:e.id})}},e.name)})})||(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",color:"red",children:(0,r.jsx)(i.IC,{color:"red",children:"Shuttle Locked"})}),!!a.admin_controlled&&(0,r.jsx)(i.Ki.Item,{label:"Authorization",children:(0,r.jsx)(i.$n,{icon:"exclamation-circle",content:"Request Authorization",disabled:!a.status,onClick:function(){return t("request")}})})]}))]})})})})}},5060:function(e,n,t){"use strict";t.r(n),t.d(n,{ShuttleManipulator:()=>s});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)();return 0===(n.act,n.data).active?(0,r.jsx)(s,{}):(0,r.jsx)(u,{})},s=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data.singularities;return(0,r.jsx)(a.p8,{width:450,height:185,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.wn,{fill:!0,title:"Detected Singularities",buttons:(0,r.jsx)(i.$n,{icon:"sync",content:"Refresh",onClick:function(){return t("refresh")}}),children:(0,r.jsx)(i.XI,{children:(void 0===c?[]:c).map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.singularity_id+". "+e.area_name}),(0,r.jsx)(i.XI.Cell,{collapsing:!0,color:"label",children:"Stage:"}),(0,r.jsx)(i.XI.Cell,{collapsing:!0,width:"120px",children:(0,r.jsx)(i.z2,{value:e.stage,minValue:0,maxValue:6,ranges:{good:[1,2],average:[3,4],bad:[5,6]},children:(0,o.Mg)(e.stage)})}),(0,r.jsx)(i.XI.Cell,{collapsing:!0,children:(0,r.jsx)(i.$n,{content:"Details",onClick:function(){return t("view",{view:e.singularity_id})}})})]},e.singularity_id)})})})})})},u=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data;c.active;var s=c.singulo_stage,u=c.singulo_potential_stage,d=c.singulo_energy,f=c.singulo_high,h=c.singulo_low,m=c.generators;return(0,r.jsx)(a.p8,{width:550,height:185,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{width:"270px",children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Metrics",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Stage",children:(0,r.jsx)(i.z2,{value:s,minValue:0,maxValue:6,ranges:{good:[1,2],average:[3,4],bad:[5,6]},children:(0,o.Mg)(s)})}),(0,r.jsx)(i.Ki.Item,{label:"Potential Stage",children:(0,r.jsx)(i.z2,{value:u,minValue:0,maxValue:6,ranges:{good:[1,s+.5],average:[s+.5,s+1.5],bad:[s+1.5,s+2]},children:(0,o.Mg)(u)})}),(0,r.jsx)(i.Ki.Item,{label:"Energy",children:(0,r.jsx)(i.z2,{value:d,minValue:h,maxValue:f,ranges:{good:[.67*f+.33*h,f],average:[.33*f+.67*h,.67*f+.33*h],bad:[h,.33*f+.67*h]},children:(0,o.Mg)(d)+"MJ"})})]})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Field Generators",buttons:(0,r.jsx)(i.$n,{icon:"arrow-left",content:"Back",onClick:function(){return t("back")}}),children:(0,r.jsx)(i.Ki,{children:(void 0===m?[]:m).map(function(e){return(0,r.jsx)(i.Ki.Item,{label:"Remaining Charge",children:(0,r.jsx)(i.z2,{value:e.charge,minValue:0,maxValue:125,ranges:{good:[80,125],average:[30,80],bad:[0,30]},children:(0,o.Mg)(e.charge)})},e.gen_index)})})})})]})})})}},1495:function(e,n,t){"use strict";t.r(n),t.d(n,{Sleeper:()=>f});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=[["good","Alive"],["average","Critical"],["bad","DEAD"]],s=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],u={average:[.25,.5],bad:[.5,1/0]},d=["bad","average","average","good","average","average","bad"],f=function(e){var n=(0,l.Oc)(),t=(n.act,n.data).hasOccupant?(0,r.jsx)(h,{}):(0,r.jsx)(j,{});return(0,r.jsx)(a.p8,{width:550,height:760,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:t}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(x,{})})]})})})},h=function(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m,{}),(0,r.jsx)(p,{}),(0,r.jsx)(g,{})]})},m=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,s=a.occupant,u=a.auto_eject_dead;return(0,r.jsx)(i.wn,{title:"Occupant",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.az,{color:"label",inline:!0,children:"Auto-eject if dead:\xa0"}),(0,r.jsx)(i.$n,{icon:u?"toggle-on":"toggle-off",selected:u,content:u?"On":"Off",onClick:function(){return t("auto_eject_dead_"+(u?"off":"on"))}}),(0,r.jsx)(i.$n,{icon:"user-slash",content:"Eject",onClick:function(){return t("ejectify")}})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:s.name}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{minValue:0,maxValue:s.maxHealth,value:s.health,ranges:{good:[.5*s.maxHealth,1/0],average:[0,.5*s.maxHealth],bad:[-1/0,0]},children:(0,o.LI)(s.health,0)})}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:c[s.stat][0],children:c[s.stat][1]}),(0,r.jsx)(i.Ki.Item,{label:"Temperature",children:(0,r.jsxs)(i.z2,{minValue:0,maxValue:s.maxTemp,value:s.bodyTemperature,color:d[s.temperatureSuitability+3],children:[(0,o.LI)(s.btCelsius,0),"\xb0C, ",(0,o.LI)(s.btFaren,0),"\xb0F"]})}),!!s.hasBlood&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Blood Level",children:(0,r.jsxs)(i.z2,{minValue:0,maxValue:s.bloodMax,value:s.bloodLevel,ranges:{bad:[-1/0,.6*s.bloodMax],average:[.6*s.bloodMax,.9*s.bloodMax],good:[.9*s.bloodMax,1/0]},children:[s.bloodPercent,"%, ",s.bloodLevel,"cl"]})}),(0,r.jsxs)(i.Ki.Item,{label:"Pulse",verticalAlign:"middle",children:[s.pulse," BPM"]})]})]})})},p=function(e){var n=(0,l.Oc)().data.occupant;return(0,r.jsx)(i.wn,{title:"Occupant Damage",children:(0,r.jsx)(i.Ki,{children:s.map(function(e,t){var l=n[e[1]],a="number"==typeof l?l:0;return(0,r.jsx)(i.Ki.Item,{label:e[0],children:(0,r.jsx)(i.z2,{minValue:0,maxValue:100,value:a,ranges:u,children:(0,o.LI)(a,0)},t)},t)})})})},x=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.hasOccupant,c=o.isBeakerLoaded,s=o.beakerMaxSpace,u=o.beakerFreeSpace,d=o.dialysis&&u>0;return(0,r.jsx)(i.wn,{title:"Dialysis",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{disabled:!c||u<=0||!a,selected:d,icon:d?"toggle-on":"toggle-off",content:d?"Active":"Inactive",onClick:function(){return t("togglefilter")}}),(0,r.jsx)(i.$n,{disabled:!c,icon:"eject",content:"Eject",onClick:function(){return t("removebeaker")}})]}),children:c?(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Remaining Space",children:(0,r.jsxs)(i.z2,{minValue:0,maxValue:s,value:u,ranges:{good:[.5*s,1/0],average:[.25*s,.5*s],bad:[-1/0,.25*s]},children:[u,"u"]})})}):(0,r.jsx)(i.az,{color:"label",children:"No beaker loaded."})})},g=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.occupant,c=o.chemicals,s=o.maxchem,u=o.amounts;return(0,r.jsx)(i.wn,{title:"Occupant Chemicals",children:c.map(function(e,n){var o,l="";return e.overdosing?(l="bad",o=(0,r.jsxs)(i.az,{color:"bad",children:[(0,r.jsx)(i.In,{name:"exclamation-circle"}),"\xa0 Overdosing!"]})):e.od_warning&&(l="average",o=(0,r.jsxs)(i.az,{color:"average",children:[(0,r.jsx)(i.In,{name:"exclamation-triangle"}),"\xa0 Close to overdosing"]})),(0,r.jsx)(i.az,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,r.jsx)(i.wn,{title:e.title,buttons:o,children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsxs)(i.z2,{minValue:0,maxValue:s,value:e.occ_amount,color:l,mr:"0.5rem",children:[e.pretty_amount,"/",s,"u"]}),u.map(function(n,o){return(0,r.jsx)(i.$n,{disabled:!e.injectable||e.occ_amount+n>s||2===a.stat,icon:"syringe",content:"Inject ".concat(n,"u"),mb:"0",height:"19px",onClick:function(){return t("chemical",{chemid:e.id,amount:n})}},o)})]})})},n)})})},j=function(e){return(0,r.jsx)(i.wn,{fill:!0,textAlign:"center",children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{grow:!0,align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"user-slash",mb:"0.5rem",size:5}),(0,r.jsx)("br",{}),"No occupant detected."]})})})}},6526:function(e,n,t){"use strict";t.r(n),t.d(n,{SlotMachine:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t=(0,o.Oc)(),a=t.act,c=t.data;return null===c.money?(0,r.jsx)(l.p8,{width:350,height:90,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{children:[(0,r.jsx)(i.az,{children:"Could not scan your card or could not find account!"}),(0,r.jsx)(i.az,{children:"Please wear or hold your ID and try again."})]})})}):(n=1===c.plays?c.plays+" player has tried their luck today!":c.plays+" players have tried their luck today!",(0,r.jsx)(l.p8,{width:300,height:151,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{children:[(0,r.jsx)(i.az,{lineHeight:2,children:n}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Credits Remaining",children:(0,r.jsx)(i.zv,{value:c.money})}),(0,r.jsx)(i.Ki.Item,{label:"10 credits to spin",children:(0,r.jsx)(i.$n,{icon:"coins",disabled:c.working,content:c.working?"Spinning...":"Spin",onClick:function(){return a("spin")}})})]}),(0,r.jsx)(i.az,{bold:!0,lineHeight:2,color:c.resultlvl,children:c.result})]})})}))}},1645:function(e,n,t){"use strict";t.r(n),t.d(n,{Smartfridge:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.secure,s=a.can_dry,u=a.drying,d=a.contents;return(0,r.jsx)(l.p8,{width:500,height:500,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[!!c&&(0,r.jsx)(i.IC,{children:"Secure Access: Please have your identification ready."}),(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:s?"Drying rack":"Contents",buttons:!!s&&(0,r.jsx)(i.$n,{width:4,icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){return t("drying")}}),children:[!d&&(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,r.jsxs)(i.In.Stack,{children:[(0,r.jsx)(i.In,{name:"cookie-bite",size:5,color:"brown"}),(0,r.jsx)(i.In,{name:"slash",size:5,color:"red"})]}),(0,r.jsx)("br",{}),"No products loaded."]})}),!!d&&d.slice().sort(function(e,n){return e.display_name.localeCompare(n.display_name)}).map(function(e){return(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{width:"55%",children:e.display_name}),(0,r.jsxs)(i.BJ.Item,{width:"25%",children:["(",e.quantity," in stock)"]}),(0,r.jsxs)(i.BJ.Item,{width:13,children:[(0,r.jsx)(i.$n,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){return t("vend",{index:e.vend,amount:1})}}),(0,r.jsx)(i.Q7,{width:"40px",minValue:0,value:0,maxValue:e.quantity,step:1,stepPixelSize:3,onChange:function(n){return t("vend",{index:e.vend,amount:n})}}),(0,r.jsx)(i.$n,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){return t("vend",{index:e.vend,amount:e.quantity})}})]})]},e)})]})]})})})}},1399:function(e,n,t){"use strict";t.r(n),t.d(n,{Smes:()=>c});var r=t(8138),i=t(7790),o=t(9582),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,s=c.capacityPercent,u=(c.capacity,c.charge),d=c.inputAttempt,f=c.inputting,h=c.inputLevel,m=c.inputLevelMax,p=c.inputAvailable,x=c.outputPowernet,g=c.outputAttempt,j=c.outputting,b=c.outputLevel,y=c.outputLevelMax,v=c.outputUsed,w=s>=100&&"good"||f&&"average"||"bad";return(0,r.jsx)(a.p8,{width:340,height:360,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.wn,{title:"Stored Energy",children:(0,r.jsx)(i.z2,{value:.01*s,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,r.jsx)(i.wn,{title:"Input",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Charge Mode",buttons:(0,r.jsx)(i.$n,{icon:d?"sync-alt":"times",selected:d,onClick:function(){return t("tryinput")},children:d?"Auto":"Off"}),children:(0,r.jsx)(i.az,{color:w,children:s>=100&&"Fully Charged"||f&&"Charging"||"Not Charging"})}),(0,r.jsx)(i.Ki.Item,{label:"Target Input",children:(0,r.jsxs)(i.BJ,{width:"100%",children:[(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"fast-backward",disabled:0===h,onClick:function(){return t("input",{target:"min"})}}),(0,r.jsx)(i.$n,{icon:"backward",disabled:0===h,onClick:function(){return t("input",{adjust:-1e4})}})]}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.Ap,{value:h/1e3,fillValue:p/1e3,minValue:0,maxValue:m/1e3,step:5,stepPixelSize:4,format:function(e){return(0,o.d5)(1e3*e,1)},onChange:function(e,n){return t("input",{target:1e3*n})}})}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"forward",disabled:h===m,onClick:function(){return t("input",{adjust:1e4})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",disabled:h===m,onClick:function(){return t("input",{target:"max"})}})]})]})}),(0,r.jsx)(i.Ki.Item,{label:"Available",children:(0,o.d5)(p)})]})}),(0,r.jsx)(i.wn,{fill:!0,title:"Output",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Output Mode",buttons:(0,r.jsx)(i.$n,{icon:g?"power-off":"times",selected:g,onClick:function(){return t("tryoutput")},children:g?"On":"Off"}),children:(0,r.jsx)(i.az,{color:j&&"good"||u>0&&"average"||"bad",children:x?j?"Sending":u>0?"Not Sending":"No Charge":"Not Connected"})}),(0,r.jsx)(i.Ki.Item,{label:"Target Output",children:(0,r.jsxs)(i.BJ,{width:"100%",children:[(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"fast-backward",disabled:0===b,onClick:function(){return t("output",{target:"min"})}}),(0,r.jsx)(i.$n,{icon:"backward",disabled:0===b,onClick:function(){return t("output",{adjust:-1e4})}})]}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.Ap,{value:b/1e3,minValue:0,maxValue:y/1e3,step:5,stepPixelSize:4,format:function(e){return(0,o.d5)(1e3*e,1)},onChange:function(e,n){return t("output",{target:1e3*n})}})}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"forward",disabled:b===y,onClick:function(){return t("output",{adjust:1e4})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",disabled:b===y,onClick:function(){return t("output",{target:"max"})}})]})]})}),(0,r.jsx)(i.Ki.Item,{label:"Outputting",children:(0,o.d5)(v)})]})})]})})})}},1343:function(e,n,t){"use strict";t.r(n),t.d(n,{SolarControl:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(7946),a=t(3384),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.generated,u=c.generated_ratio,d=c.tracking_state,f=c.tracking_rate,h=c.connected_panels,m=c.connected_tracker,p=c.cdir,x=c.direction,g=c.rotating_direction;return(0,r.jsx)(a.p8,{width:490,height:277,children:(0,r.jsxs)(a.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Status",buttons:(0,r.jsx)(i.$n,{icon:"sync",content:"Scan for new hardware",onClick:function(){return t("refresh")}}),children:(0,r.jsxs)(l.xA,{children:[(0,r.jsx)(l.xA.Column,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Solar tracker",color:m?"good":"bad",children:m?"OK":"N/A"}),(0,r.jsx)(i.Ki.Item,{label:"Solar panels",color:h>0?"good":"bad",children:h})]})}),(0,r.jsx)(l.xA.Column,{size:2,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power output",children:(0,r.jsx)(i.z2,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:u,children:s+" W"})}),(0,r.jsxs)(i.Ki.Item,{label:"Panel orientation",children:[p,"\xb0 (",x,")"]}),(0,r.jsxs)(i.Ki.Item,{label:"Tracker rotation",children:[2===d&&(0,r.jsx)(i.az,{children:" Automated "}),1===d&&(0,r.jsxs)(i.az,{children:[" ",f,"\xb0/h (",g,")"," "]}),0===d&&(0,r.jsx)(i.az,{children:" Tracker offline "})]})]})})]})}),(0,r.jsx)(i.wn,{title:"Controls",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Panel orientation",children:[2!==d&&(0,r.jsx)(i.Q7,{unit:"\xb0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:p,onChange:function(e){return t("cdir",{cdir:e})}}),2===d&&(0,r.jsx)(i.az,{lineHeight:"19px",children:" Automated "})]}),(0,r.jsxs)(i.Ki.Item,{label:"Tracker status",children:[(0,r.jsx)(i.$n,{icon:"times",content:"Off",selected:0===d,onClick:function(){return t("track",{track:0})}}),(0,r.jsx)(i.$n,{icon:"clock-o",content:"Timed",selected:1===d,onClick:function(){return t("track",{track:1})}}),(0,r.jsx)(i.$n,{icon:"sync",content:"Auto",selected:2===d,disabled:!m,onClick:function(){return t("track",{track:2})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Tracker rotation",children:[1===d&&(0,r.jsx)(i.Q7,{unit:"\xb0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:f,format:function(e){return(Math.sign(e)>0?"+":"-")+Math.abs(e)},onChange:function(e){return t("tdir",{tdir:e})}}),0===d&&(0,r.jsx)(i.az,{lineHeight:"19px",children:" Tracker offline "}),2===d&&(0,r.jsx)(i.az,{lineHeight:"19px",children:" Automated "})]})]})})]})})}},4263:function(e,n,t){"use strict";t.r(n),t.d(n,{SpawnersMenu:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.spawners||[];return(0,r.jsx)(l.p8,{width:700,height:600,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.wn,{children:a.map(function(e){return(0,r.jsxs)(i.wn,{mb:.5,title:e.name+" ("+e.amount_left+" left)",level:2,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:"chevron-circle-right",content:"Jump",onClick:function(){return t("jump",{ID:e.uids})}}),(0,r.jsx)(i.$n,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){return t("spawn",{ID:e.uids})}})]}),children:[(0,r.jsx)(i.az,{style:{whiteSpace:"pre-wrap"},mb:1,fontSize:"16px",children:e.desc}),!!e.fluff&&(0,r.jsx)(i.az,{style:{whiteSpace:"pre-wrap"},textColor:"#878787",fontSize:"14px",children:e.fluff}),!!e.important_info&&(0,r.jsx)(i.az,{style:{whiteSpace:"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:e.important_info})]},e.name)})})})})}},8729:function(e,n,t){"use strict";t.r(n),t.d(n,{SpecMenu:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){return(0,r.jsx)(l.p8,{width:1100,height:600,theme:"nologo",children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(c,{}),(0,r.jsx)(s,{}),(0,r.jsx)(u,{}),(0,r.jsx)(d,{})]})})})},c=function(e){var n=(0,o.Oc)(),t=n.act;return n.data.subclasses,(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"25%",children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Hemomancer",buttons:(0,r.jsx)(i.$n,{content:"Choose",onClick:function(){return t("hemomancer")}}),children:[(0,r.jsx)("h3",{children:"Focuses on blood magic and the manipulation of blood around you."}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Vampiric claws"}),": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood Barrier"}),": Unlocked at 250 blood, allows you to select two turfs and create a wall between them."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood tendrils"}),": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Sanguine pool"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Predator senses"}),": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood eruption"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Full power"}),(0,r.jsx)(i.cG,{}),(0,r.jsx)("b",{children:"The blood bringers rite"}),": 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."]})]})})},s=function(e){var n=(0,o.Oc)(),t=n.act;return n.data.subclasses,(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"25%",children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Umbrae",buttons:(0,r.jsx)(i.$n,{content:"Choose",onClick:function(){return t("umbrae")}}),children:[(0,r.jsx)("h3",{children:"Focuses on darkness, stealth ambushing and mobility."}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Cloak of darkness"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Shadow anchor"}),": 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 will do a fake recall, causing a clone to appear at the anchor and making yourself invisible. It will not teleport you between Z levels."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Shadow snare"}),": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensnares the victim. This trap is hard to see, but withers in the light."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Dark passage"}),": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Extinguish"}),": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms."]}),(0,r.jsx)("b",{children:"Shadow boxing"}),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Full power"}),(0,r.jsx)(i.cG,{}),(0,r.jsx)("b",{children:"Eternal darkness"}),": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. Inside the radius, nearby creatures will freeze and energy projectiles will deal less damage."]}),(0,r.jsx)("p",{children:"In addition, you also gain permanent X-ray vision."})]})})},u=function(e){var n=(0,o.Oc)(),t=n.act;return n.data.subclasses,(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"25%",children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Gargantua",buttons:(0,r.jsx)(i.$n,{content:"Choose",onClick:function(){return t("gargantua")}}),children:[(0,r.jsx)("h3",{children:"Focuses on tenacity and melee damage."}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Rejuvenate"}),": Will heal you at an increased rate based on how much damage you have taken."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood swell"}),": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Seismic stomp"}),": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood rush"}),": Unlocked at 250 blood, gives you a short speed boost when cast."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood swell II"}),": Unlocked at 400 blood, increases all melee damage by 10."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Overwhelming force"}),": Unlocked at 600 blood, when toggled, if you bump into a door that you do not have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Demonic grasp"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Charge"}),": Unlocked at 800 blood, you gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Full Power"}),(0,r.jsx)(i.cG,{}),(0,r.jsx)("b",{children:"Desecrated Duel"}),": Leap towards a visible enemy, creating an arena upon landing, infusing you with increased regeneration, and granting you resistance to internal damages."]})]})})},d=function(e){var n=(0,o.Oc)(),t=n.act;return n.data.subclasses,(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"25%",children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Dantalion",buttons:(0,r.jsx)(i.$n,{content:"Choose",onClick:function(){return t("dantalion")}}),children:[(0,r.jsx)("h3",{children:"Focuses on thralling and illusions."}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Enthrall"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Thrall cap"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Thrall commune"}),": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Subspace swap"}),": Unlocked at 250 blood, allows you to swap positions with a target."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Pacify"}),": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Decoy"}),": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Rally thralls"}),": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood bond"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Full Power"}),(0,r.jsx)(i.cG,{}),(0,r.jsx)("b",{children:"Mass Hysteria"}),": Casts a powerful illusion that blinds and then makes everyone nearby perceive others as random animals."]})]})})}},9469:function(e,n,t){"use strict";t.r(n),t.d(n,{StackCraft:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=e&&c.push((0,r.jsx)(o.$n,{bold:!0,fontSize:.85,width:"32px",content:e*t.result_amount+"x",onClick:function(){return n("make",{recipe_uid:t.uid,multiplier:e})}}))}()}catch(e){u=!0,d=e}finally{try{s||null==h.return||h.return()}finally{if(u)throw d}}return -1===l.indexOf(i)&&c.push((0,r.jsx)(o.$n,{bold:!0,fontSize:.85,width:"32px",content:i*t.result_amount+"x",onClick:function(){return n("make",{recipe_uid:t.uid,multiplier:i})}})),(0,r.jsx)(r.Fragment,{children:c.map(function(e){return e})})},x=function(e){return Object.entries(e.recipes).map(function(e){var n=u(e,2),t=n[0],i=n[1];return m(i)?(0,r.jsx)(o.Nt,{title:t,child_mt:0,childStyles:{padding:"0.5em",backgroundColor:"rgba(62, 97, 137, 0.15)",border:"1px solid rgba(255, 255, 255, 0.1)",borderTop:"none",borderRadius:"0 0 0.33em 0.33em"},children:(0,r.jsx)(o.az,{p:1,pb:.25,children:(0,r.jsx)(x,{recipes:i})})},t):(0,r.jsx)(g,{title:t,recipe:i},t)})},g=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data.amount,l=e.title,c=e.recipe,s=c.result_amount,u=c.required_amount,d=c.max_result_amount,f=c.uid,h=c.icon,m=c.icon_state,x=c.image,g="".concat(s>1?"".concat(s,"x "):"").concat(l),j="".concat(u," sheet").concat(u>1?"s":""),b=c.required_amount>i?0:Math.floor(i/c.required_amount);return(0,r.jsx)(o.c_,{fluid:!0,base64:x,dmIcon:h,dmIconState:m,imageSize:32,disabled:!b,tooltip:j,buttons:d>1&&b>1&&(0,r.jsx)(p,{recipe:c,max_possible_multiplier:b}),onClick:function(){return t("make",{recipe_uid:f,multiplier:1})},children:g})}},5592:function(e,n,t){"use strict";t.r(n),t.d(n,{StationAlertConsole:()=>a,StationAlertConsoleContent:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(){return(0,r.jsx)(l.p8,{width:325,height:500,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(c,{})})})},c=function(e){var n=(0,o.Oc)().data.alarms||[],t=n.Fire||[],l=n.Atmosphere||[],a=n.Power||[];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.wn,{title:"Fire Alarms",children:(0,r.jsxs)("ul",{children:[0===t.length&&(0,r.jsx)("li",{className:"color-good",children:"Systems Nominal"}),t.map(function(e){return(0,r.jsx)("li",{className:"color-average",children:e},e)})]})}),(0,r.jsx)(i.wn,{title:"Atmospherics Alarms",children:(0,r.jsxs)("ul",{children:[0===l.length&&(0,r.jsx)("li",{className:"color-good",children:"Systems Nominal"}),l.map(function(e){return(0,r.jsx)("li",{className:"color-average",children:e},e)})]})}),(0,r.jsx)(i.wn,{title:"Power Alarms",children:(0,r.jsxs)("ul",{children:[0===a.length&&(0,r.jsx)("li",{className:"color-good",children:"Systems Nominal"}),a.map(function(e){return(0,r.jsx)("li",{className:"color-average",children:e},e)})]})})]})}},5651:function(e,n,t){"use strict";t.r(n),t.d(n,{StationTraitsPanel:()=>m});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?(0,r.jsx)(l.BJ,{vertical:!0,fill:!0,children:f.map(function(e){return(0,r.jsx)(l.BJ.Item,{children:(0,r.jsxs)(l.BJ,{fill:!0,children:[(0,r.jsx)(l.BJ.Item,{grow:!0,children:e.name}),(0,r.jsx)(l.BJ.Item,{children:(0,r.jsx)(l.$n,{color:"red",icon:"times",onClick:function(){t("setup_future_traits",{station_traits:(0,i.pb)((0,i.Tj)(f,function(e){return e.path}),function(n){return n!==e.path})})},children:"Delete"})})]})},e.path)})}):(0,r.jsxs)(l.az,{textAlign:"center",children:[(0,r.jsx)(l.az,{children:"No station traits will run next round."}),(0,r.jsx)(l.$n,{mt:1,fluid:!0,color:"good",icon:"times",tooltip:"The next round will roll station traits randomly, just like normal",onClick:function(){return t("clear_future_traits")},children:"Run Station Traits Normally"})]}):(0,r.jsxs)(l.az,{textAlign:"center",children:[(0,r.jsx)(l.az,{children:"No future station traits are planned."}),(0,r.jsx)(l.$n,{mt:1,fluid:!0,color:"red",icon:"times",onClick:function(){return t("setup_future_traits",{station_traits:[]})},children:"Prevent station traits from running next round"})]})]})},h=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data;return i.current_traits.length>0?(0,r.jsx)(l.BJ,{vertical:!0,fill:!0,children:i.current_traits.map(function(e){return(0,r.jsx)(l.BJ.Item,{children:(0,r.jsxs)(l.BJ,{fill:!0,children:[(0,r.jsx)(l.BJ.Item,{grow:!0,children:e.name}),(0,r.jsx)(l.BJ.Item,{children:(0,r.jsx)(l.$n.Confirm,{content:"Revert",color:"red",disabled:i.too_late_to_revert||!e.can_revert,tooltip:!e.can_revert&&"This trait is not revertable."||i.too_late_to_revert&&"It's too late to revert station traits, the round has already started.",icon:"times",onClick:function(){return t("revert",{ref:e.ref})}})})]})},e.ref)})}):(0,r.jsx)(l.az,{textAlign:"center",children:"There are no active station traits."})},m=function(e){var n,t=u((0,o.useState)(1),2),i=t[0],a=t[1];switch(i){case 0:n=(0,r.jsx)(f,{});break;case 1:n=(0,r.jsx)(h,{});break;default:throw Error("Unhandled case: ".concat(i))}return(0,r.jsx)(c.p8,{title:"Modify Station Traits",height:350,width:350,children:(0,r.jsx)(c.p8.Content,{scrollable:!0,children:(0,r.jsxs)(l.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(l.BJ.Item,{children:(0,r.jsxs)(l.tU,{children:[(0,r.jsx)(l.tU.Tab,{icon:"eye",selected:1===i,onClick:function(){return a(1)},children:"View"}),(0,r.jsx)(l.tU.Tab,{icon:"edit",selected:0===i,onClick:function(){return a(0)},children:"Edit"})]})}),(0,r.jsxs)(l.BJ.Item,{m:0,children:[(0,r.jsx)(l.cG,{}),n]})]})})})}},5724:function(e,n,t){"use strict";t.r(n),t.d(n,{StripMenu:()=>x});var r=t(8138),i=t(8587),o=t(7790),l=t(8595),a=t(2864),c=t(3384),s=function(e){return 0===e?5:9},u="64px",d=function(e){return"".concat(e[0],"/").concat(e[1])},f=function(e){var n=e.align,t=e.children;return(0,r.jsx)(o.az,{style:{position:"absolute",left:"left"===n?"6px":"48px",textAlign:n,textShadow:"2px 2px 2px #000",top:"2px"},children:t})},h={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"}},m={eyes:{displayName:"eyewear",gridSpot:d([0,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:d([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:d([1,1]),image:"inventory-mask.png"},neck:{displayName:"neck",gridSpot:d([1,0]),image:"inventory-neck.png"},pet_collar:{displayName:"collar",gridSpot:d([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:d([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:d([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:d([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:d([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:d([1,4])},jumpsuit:{displayName:"uniform",gridSpot:d([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:d([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:d([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:d([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,r.jsx)(f,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:d([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,r.jsx)(f,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:d([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:d([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:d([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:d([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:d([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:d([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:d([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:d([4,4]),image:"inventory-pda.png"}},p={eyes:{displayName:"eyewear",gridSpot:d([0,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:d([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:d([1,1]),image:"inventory-mask.png"},neck:{displayName:"neck",gridSpot:d([1,0]),image:"inventory-neck.png"},pet_collar:{displayName:"collar",gridSpot:d([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:d([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:d([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:d([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:d([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:d([1,4])},jumpsuit:{displayName:"uniform",gridSpot:d([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:d([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:d([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:d([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,r.jsx)(f,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:d([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,r.jsx)(f,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:d([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:d([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:d([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:d([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:d([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:d([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:d([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:d([4,8]),image:"inventory-pda.png"}},x=function(e){var n=(0,a.Oc)(),t=n.act,f=n.data,x=new Map;if(0===f.show_mode){var g=!0,j=!1,b=void 0;try{for(var y,v=Object.keys(f.items)[Symbol.iterator]();!(g=(y=v.next()).done);g=!0){var w=y.value;x.set(m[w].gridSpot,w)}}catch(e){j=!0,b=e}finally{try{g||null==v.return||v.return()}finally{if(j)throw b}}}else{var k=!0,_=!1,C=void 0;try{for(var I,S=Object.keys(f.items)[Symbol.iterator]();!(k=(I=S.next()).done);k=!0){var O=I.value;x.set(p[O].gridSpot,O)}}catch(e){_=!0,C=e}finally{try{k||null==S.return||S.return()}finally{if(_)throw C}}}return 0===x.size?(0,r.jsx)(c.p8,{title:"Stripping ".concat(f.name),width:64*s(f.show_mode)+6*(s(f.show_mode)+1),height:390,theme:"nologo",children:(0,r.jsx)(c.p8.Content,{style:{backgroundColor:"rgba(0, 0, 0, 0.5)"},children:(0,r.jsx)(o.BJ,{fill:!0,children:(0,r.jsx)(o.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:"No slots"})})})}):(0,r.jsx)(c.p8,{title:"Stripping ".concat(f.name),width:64*s(f.show_mode)+6*(s(f.show_mode)+1),height:390,theme:"nologo",children:(0,r.jsx)(c.p8.Content,{style:{backgroundColor:"rgba(0, 0, 0, 0.5)"},children:(0,r.jsx)(o.BJ,{fill:!0,vertical:!0,children:(0,i.y1)(0,5).map(function(e){return(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.BJ,{fill:!0,children:(0,i.y1)(0,s(f.show_mode)).map(function(n){var i,a,c,s=d([e,n]),p=x.get(s);if(!p)return(0,r.jsx)(o.BJ.Item,{style:{width:u,height:u}},s);var g=f.items[p],j=m[p];return null===g?c=j.displayName:"name"in g?(a=(0,r.jsx)(o._V,{src:"data:image/jpeg;base64,".concat(g.icon),height:"100%",width:"100%",style:{imageRendering:"pixelated",verticalAlign:"middle"}}),c=g.name):"obscured"in g&&(a=(0,r.jsx)(o.In,{name:1===g.obscured?"ban":"eye-slash",size:3,ml:0,mt:2.5,color:"white",style:{textAlign:"center",height:"100%",width:"100%"}}),c="obscured ".concat(j.displayName)),null!==g&&"alternates"in g&&null!==g.alternates&&(i=g.alternates),(0,r.jsx)(o.BJ.Item,{style:{width:u,height:u},children:(0,r.jsxs)(o.az,{style:{position:"relative",width:"100%",height:"100%"},children:[(0,r.jsxs)(o.$n,{onClick:function(){t("use",{key:p})},fluid:!0,color:(null==g?void 0:g.interacting)?"average":null,tooltip:c,style:{position:"relative",width:"100%",height:"100%",padding:0,backgroundColor:(null==g?void 0:g.cantstrip)?"transparent":"none"},children:[j.image&&(0,r.jsx)(o._V,{src:(0,l.l)(j.image),opacity:.7,style:{position:"absolute",width:"32px",height:"32px",left:"50%",top:"50%",transform:"translateX(-50%) translateY(-50%) scale(2)"}}),(0,r.jsx)(o.az,{style:{position:"relative"},children:a}),j.additionalComponent]}),(0,r.jsx)(o.BJ,{direction:"row-reverse",children:void 0!==i&&i.map(function(e,n){var i=1.8*n;return(0,r.jsx)(o.BJ.Item,{width:"100%",children:(0,r.jsx)(o.$n,{onClick:function(){t("alt",{key:p,action_key:e})},tooltip:h[e].text,width:"1.8em",style:{background:"rgba(0, 0, 0, 0.6)",position:"absolute",bottom:0,right:"".concat(i,"em"),zIndex:2+n},children:(0,r.jsx)(o.In,{name:h[e].icon})})},n)})})]})},s)})})},e)})})})})}},2975:function(e,n,t){"use strict";t.r(n),t.d(n,{SuitStorage:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)().data.uv;return(0,r.jsx)(l.p8,{width:400,height:260,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[!!n&&(0,r.jsx)(i.Rr,{backgroundColor:"black",opacity:.85,children:(0,r.jsx)(i.BJ,{children:(0,r.jsxs)(i.BJ.Item,{bold:!0,textAlign:"center",mb:1,children:[(0,r.jsx)(i.In,{name:"spinner",spin:1,size:4,mb:4}),(0,r.jsx)("br",{}),"Disinfection of contents in progress..."]})})}),(0,r.jsx)(c,{}),(0,r.jsx)(u,{})]})})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.helmet,c=l.suit,u=l.magboots,d=l.mask,f=l.storage,h=l.open,m=l.locked;return(0,r.jsx)(i.wn,{fill:!0,title:"Stored Items",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"Start Disinfection Cycle",icon:"radiation",textAlign:"center",onClick:function(){return t("cook")}}),(0,r.jsx)(i.$n,{content:m?"Unlock":"Lock",icon:m?"unlock":"lock",disabled:h,onClick:function(){return t("toggle_lock")}})]}),children:h&&!m?(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(s,{object:a,label:"Helmet",missingText:"helmet",eject:"dispense_helmet"}),(0,r.jsx)(s,{object:c,label:"Suit",missingText:"suit",eject:"dispense_suit"}),(0,r.jsx)(s,{object:u,label:"Boots",missingText:"boots",eject:"dispense_boots"}),(0,r.jsx)(s,{object:d,label:"Breathmask",missingText:"mask",eject:"dispense_mask"}),(0,r.jsx)(s,{object:f,label:"Storage",missingText:"storage item",eject:"dispense_storage"})]}):(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:m?"lock":"exclamation-circle",size:"5",mb:3}),(0,r.jsx)("br",{}),m?"The unit is locked.":"The unit is closed."]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act;n.data;var l=e.object,a=e.label,c=e.missingText,s=e.eject;return(0,r.jsx)(i.Ki.Item,{label:a,children:(0,r.jsx)(i.az,{my:.5,children:l?(0,r.jsx)(i.$n,{my:-1,icon:"eject",content:l,onClick:function(){return t(s)}}):(0,r.jsxs)(i.az,{color:"silver",bold:!0,children:["No ",c," found."]})})})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.open,c=l.locked;return(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.$n,{fluid:!0,content:a?"Close Suit Storage Unit":"Open Suit Storage Unit",icon:a?"times-circle":"expand",color:a?"red":"green",disabled:c,textAlign:"center",onClick:function(){return t("toggle_open")}})})}},4835:function(e,n,t){"use strict";t.r(n),t.d(n,{SupermatterMonitor:()=>u});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(421),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=.01}).sort(function(e,n){return n.amount-e.amount}),k=(n=Math).max.apply(n,[1].concat(function(e){if(Array.isArray(e))return s(e)}(e=w.map(function(e){return e.portion}))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return s(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));return(0,r.jsx)(c.p8,{width:550,height:270,children:(0,r.jsx)(c.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{width:"270px",children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Metrics",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:(0,r.jsx)(i.z2,{value:h/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,r.jsx)(i.Ki.Item,{label:"Peak EER",children:(0,r.jsx)(i.z2,{value:p,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.Mg)(p)+" MeV/cm3"})}),(0,r.jsx)(i.Ki.Item,{label:"Nominal EER",children:(0,r.jsx)(i.z2,{value:m,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.Mg)(m)+" MeV/cm3"})}),(0,r.jsx)(i.Ki.Item,{label:"Gas Coefficient",children:(0,r.jsx)(i.z2,{value:b,minValue:1,maxValue:5.25,ranges:{bad:[1,1.55],average:[1.55,5.25],good:[5.25,1/0]},children:b.toFixed(2)})}),(0,r.jsx)(i.Ki.Item,{label:"Temperature",children:(0,r.jsx)(i.z2,{value:d(x),minValue:0,maxValue:d(1e4),ranges:{teal:[-1/0,d(80)],good:[d(80),d(373)],average:[d(373),d(1e3)],bad:[d(1e3),1/0]},children:(0,o.Mg)(x)+" K"})}),(0,r.jsx)(i.Ki.Item,{label:"Mole Per Tile",children:(0,r.jsx)(i.z2,{value:j,minValue:0,maxValue:12e3,ranges:{teal:[-1/0,100],average:[100,11333],good:[11333,12e3],bad:[12e3,1/0]},children:(0,o.Mg)(j)+" mol"})}),(0,r.jsx)(i.Ki.Item,{label:"Pressure",children:(0,r.jsx)(i.z2,{value:d(g),minValue:0,maxValue:d(5e4),ranges:{good:[d(1),d(300)],average:[-1/0,d(1e3)],bad:[d(1e3),1/0]},children:(0,o.Mg)(g)+" kPa"})})]})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,r.jsx)(i.$n,{icon:"arrow-left",content:"Back",onClick:function(){return u("back")}}),children:(0,r.jsx)(i.Ki,{children:w.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:(0,a.wM)(e.name,e.name),children:(0,r.jsx)(i.z2,{color:(0,a.b_)(e.name),value:e.portion,minValue:0,maxValue:k,children:(0,o.Mg)(e.amount)+" mol ("+e.portion+"%)"})},e.name)})})})})]})})})}},2266:function(e,n,t){"use strict";t.r(n),t.d(n,{SyndicateComputerSimple:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;return(0,r.jsx)(l.p8,{theme:"syndicate",width:400,height:400,children:(0,r.jsx)(l.p8.Content,{children:a.rows.map(function(e){return(0,r.jsxs)(i.wn,{title:e.title,buttons:(0,r.jsx)(i.$n,{content:e.buttontitle,disabled:e.buttondisabled,tooltip:e.buttontooltip,tooltipPosition:"left",onClick:function(){return t(e.buttonact)}}),children:[e.status,!!e.bullets&&(0,r.jsx)(i.az,{children:e.bullets.map(function(e){return(0,r.jsx)(i.az,{children:e},e)})})]},e.title)})})})}},8073:function(e,n,t){"use strict";t.r(n),t.d(n,{TEG:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){return e.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data;return c.error?(0,r.jsx)(l.p8,{width:500,height:400,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{title:"Error",children:[c.error,(0,r.jsx)(i.$n,{icon:"circle",content:"Recheck",onClick:function(){return t("check")}})]})})}):(0,r.jsx)(l.p8,{width:500,height:400,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Cold Loop ("+c.cold_dir+")",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Cold Inlet",children:[a(c.cold_inlet_temp)," K, ",a(c.cold_inlet_pressure)," kPa"]}),(0,r.jsxs)(i.Ki.Item,{label:"Cold Outlet",children:[a(c.cold_outlet_temp)," K, ",a(c.cold_outlet_pressure)," kPa"]})]})}),(0,r.jsx)(i.wn,{title:"Hot Loop ("+c.hot_dir+")",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Hot Inlet",children:[a(c.hot_inlet_temp)," K, ",a(c.hot_inlet_pressure)," kPa"]}),(0,r.jsxs)(i.Ki.Item,{label:"Hot Outlet",children:[a(c.hot_outlet_temp)," K, ",a(c.hot_outlet_pressure)," kPa"]})]})}),(0,r.jsxs)(i.wn,{title:"Power Output",children:[a(c.output_power)," W",!!c.warning_switched&&(0,r.jsx)(i.az,{color:"red",children:"Warning: Cold inlet temperature exceeds hot inlet temperature."}),!!c.warning_cold_pressure&&(0,r.jsx)(i.az,{color:"red",children:"Warning: Cold circulator inlet pressure is under 1,000 kPa."}),!!c.warning_hot_pressure&&(0,r.jsx)(i.az,{color:"red",children:"Warning: Hot circulator inlet pressure is under 1,000 kPa."})]})]})})}},5808:function(e,n,t){"use strict";t.r(n),t.d(n,{TachyonArray:()=>a,TachyonArrayContent:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,s=a.records,u=void 0===s?[]:s,d=a.explosion_target,f=a.toxins_tech,h=a.printing;return(0,r.jsx)(l.p8,{width:500,height:600,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Shift's Target",children:d}),(0,r.jsx)(i.Ki.Item,{label:"Current Toxins Level",children:f}),(0,r.jsxs)(i.Ki.Item,{label:"Administration",children:[(0,r.jsx)(i.$n,{icon:"print",content:"Print All Logs",disabled:!u.length||h,align:"center",onClick:function(){return t("print_logs")}}),(0,r.jsx)(i.$n.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!u.length,color:"bad",align:"center",onClick:function(){return t("delete_logs")}})]})]})}),u.length?(0,r.jsx)(c,{}):(0,r.jsx)(i.IC,{children:"No Records"})]})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.records;return(0,r.jsx)(i.wn,{title:"Logged Explosions",children:(0,r.jsx)(i.so,{children:(0,r.jsx)(i.so.Item,{children:(0,r.jsxs)(i.XI,{m:"0.5rem",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Time"}),(0,r.jsx)(i.XI.Cell,{children:"Epicenter"}),(0,r.jsx)(i.XI.Cell,{children:"Actual Size"}),(0,r.jsx)(i.XI.Cell,{children:"Theoretical Size"})]}),(void 0===l?[]:l).map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.logged_time}),(0,r.jsx)(i.XI.Cell,{children:e.epicenter}),(0,r.jsx)(i.XI.Cell,{children:e.actual_size_message}),(0,r.jsx)(i.XI.Cell,{children:e.theoretical_size_message}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){return t("delete_record",{index:e.index})}})})]},e.index)})]})})})})}},5125:function(e,n,t){"use strict";t.r(n),t.d(n,{Tank:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t=(0,o.Oc)(),a=t.act,c=t.data;return n=c.has_mask?(0,r.jsx)(i.Ki.Item,{label:"Mask",children:(0,r.jsx)(i.$n,{fluid:!0,width:"76%",icon:c.connected?"check":"times",content:c.connected?"Internals On":"Internals Off",selected:c.connected,onClick:function(){return a("internals")}})}):(0,r.jsx)(i.Ki.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,r.jsx)(l.p8,{width:325,height:135,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Tank Pressure",children:(0,r.jsx)(i.z2,{value:c.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:c.tankPressure+" kPa"})}),(0,r.jsxs)(i.Ki.Item,{label:"Release Pressure",children:[(0,r.jsx)(i.$n,{icon:"fast-backward",disabled:c.ReleasePressure===c.minReleasePressure,tooltip:"Min",onClick:function(){return a("pressure",{pressure:"min"})}}),(0,r.jsx)(i.Q7,{animated:!0,value:parseFloat(c.releasePressure),width:"65px",unit:"kPa",minValue:c.minReleasePressure,maxValue:c.maxReleasePressure,onChange:function(e){return a("pressure",{pressure:e})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",disabled:c.ReleasePressure===c.maxReleasePressure,tooltip:"Max",onClick:function(){return a("pressure",{pressure:"max"})}}),(0,r.jsx)(i.$n,{icon:"undo",content:"",disabled:c.ReleasePressure===c.defaultReleasePressure,tooltip:"Reset",onClick:function(){return a("pressure",{pressure:"reset"})}})]}),n]})})})})}},7112:function(e,n,t){"use strict";t.r(n),t.d(n,{TankDispenser:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.o_tanks,s=a.p_tanks;return(0,r.jsx)(l.p8,{width:250,height:105,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{children:[(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{fluid:!0,content:"Dispense Oxygen Tank ("+c+")",disabled:0===c,icon:"arrow-circle-down",onClick:function(){return t("oxygen")}})}),(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{mt:1,fluid:!0,content:"Dispense Plasma Tank ("+s+")",disabled:0===s,icon:"arrow-circle-down",onClick:function(){return t("plasma")}})})]})})})}},3283:function(e,n,t){"use strict";t.r(n),t.d(n,{TcommsCore:()=>s});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,u=a.linked,d=a.active,f=a.network_id;return(0,r.jsx)(l.p8,{width:600,height:292,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(i.wn,{title:"Relay Configuration",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Machine Power",children:(0,r.jsx)(i.$n,{content:d?"On":"Off",selected:d,icon:"power-off",onClick:function(){return t("toggle_active")}})}),(0,r.jsx)(i.Ki.Item,{label:"Network ID",children:(0,r.jsx)(i.$n,{content:f||"Unset",selected:f,icon:"server",onClick:function(){return t("network_id")}})}),(0,r.jsx)(i.Ki.Item,{label:"Link Status",children:1===u?(0,r.jsx)(i.az,{color:"green",children:"Linked"}):(0,r.jsx)(i.az,{color:"red",children:"Unlinked"})})]})}),1===u?(0,r.jsx)(c,{}):(0,r.jsx)(s,{})]})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.linked_core_id,c=l.linked_core_addr,s=l.hidden_link;return(0,r.jsx)(i.wn,{title:"Link Status",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Linked Core ID",children:a}),(0,r.jsx)(i.Ki.Item,{label:"Linked Core Address",children:c}),(0,r.jsx)(i.Ki.Item,{label:"Hidden Link",children:(0,r.jsx)(i.$n,{content:s?"Yes":"No",icon:s?"eye-slash":"eye",selected:s,onClick:function(){return t("toggle_hidden_link")}})}),(0,r.jsx)(i.Ki.Item,{label:"Unlink",children:(0,r.jsx)(i.$n,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){return t("unlink")}})})]})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.cores;return(0,r.jsx)(i.wn,{title:"Detected Cores",children:(0,r.jsxs)(i.XI,{m:"0.5rem",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Network Address"}),(0,r.jsx)(i.XI.Cell,{children:"Network ID"}),(0,r.jsx)(i.XI.Cell,{children:"Sector"}),(0,r.jsx)(i.XI.Cell,{children:"Link"})]}),l.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.addr}),(0,r.jsx)(i.XI.Cell,{children:e.net_id}),(0,r.jsx)(i.XI.Cell,{children:e.sector}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{content:"Link",icon:"link",onClick:function(){return t("link",{addr:e.addr})}})})]},e.addr)})]})})}},5605:function(e,n,t){"use strict";t.r(n),t.d(n,{Teleporter:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.targetsTeleport?a.targetsTeleport:{},s=a.calibrated,u=a.calibrating,d=a.powerstation,f=a.regime,h=a.teleporterhub,m=a.target,p=a.locked,x=a.adv_beacon_allowed,g=a.advanced_beacon_locking;return(0,r.jsx)(l.p8,{width:350,height:325,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsxs)(i.BJ.Item,{grow:!0,children:[(!d||!h)&&(0,r.jsxs)(i.wn,{fill:!0,title:"Error",children:[h,!d&&(0,r.jsx)(i.az,{color:"bad",children:" Powerstation not linked "}),d&&!h&&(0,r.jsx)(i.az,{color:"bad",children:" Teleporter hub not linked "})]}),d&&h&&(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Status",buttons:(0,r.jsx)(r.Fragment,{children:!!x&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.az,{inline:!0,color:"label",children:"Advanced Beacon Locking:\xa0"}),(0,r.jsx)(i.$n,{selected:g,icon:g?"toggle-on":"toggle-off",content:g?"Enabled":"Disabled",onClick:function(){return t("advanced_beacon_locking",{on:+!g})}})]})}),children:[(0,r.jsxs)(i.BJ,{mb:1,children:[(0,r.jsx)(i.BJ.Item,{width:8.5,color:"label",children:"Teleport target:"}),(0,r.jsxs)(i.BJ.Item,{children:[0===f&&(0,r.jsx)(i.ms,{width:18.2,selected:m,disabled:u,options:Object.keys(c),color:"None"!==m?"default":"bad",onSelected:function(e){return t("settarget",{x:c[e].x,y:c[e].y,z:c[e].z,tptarget:c[e].pretarget})}}),1===f&&(0,r.jsx)(i.ms,{width:18.2,selected:m,disabled:u,options:Object.keys(c),color:"None"!==m?"default":"bad",onSelected:function(e){return t("settarget",{x:c[e].x,y:c[e].y,z:c[e].z,tptarget:c[e].pretarget})}}),2===f&&(0,r.jsx)(i.az,{children:m})]})]}),(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{width:8.5,color:"label",children:"Regime:"}),(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsx)(i.$n,{fluid:!0,content:"Gate",tooltip:"Teleport to another teleport hub.",tooltipPosition:"top",color:1===f?"good":null,onClick:function(){return t("setregime",{regime:1})}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsx)(i.$n,{fluid:!0,content:"Teleporter",tooltip:"One-way teleport.",tooltipPosition:"top",color:0===f?"good":null,onClick:function(){return t("setregime",{regime:0})}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsx)(i.$n,{fluid:!0,content:"GPS",tooltip:"Teleport to a location stored in a GPS device.",tooltipPosition:"top-end",color:2===f?"good":null,disabled:!p,onClick:function(){return t("setregime",{regime:2})}})})]}),(0,r.jsxs)(i.BJ,{label:"Calibration",mt:1,children:[(0,r.jsx)(i.BJ.Item,{width:8.5,color:"label",children:"Calibration:"}),(0,r.jsxs)(i.BJ.Item,{children:["None"!==m&&(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{width:15.8,textAlign:"center",mt:.5,children:u&&(0,r.jsx)(i.az,{color:"average",children:"In Progress"})||s&&(0,r.jsx)(i.az,{color:"good",children:"Optimal"})||(0,r.jsx)(i.az,{color:"bad",children:"Sub-Optimal"})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{icon:"sync-alt",tooltip:"Calibrates the hub. \\ Accidents may occur when the \\ calibration is not optimal.",tooltipPosition:"bottom-end",disabled:!!s||!!u,onClick:function(){return t("calibrate")}})})]}),"None"===m&&(0,r.jsx)(i.az,{lineHeight:"21px",children:"No target set"})]})]})]}),!!(p&&d&&h&&2===f)&&(0,r.jsx)(i.wn,{title:"GPS",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.$n,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){return t("load")}}),(0,r.jsx)(i.$n,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){return t("eject")}})]})})]})})})})}},8336:function(e,n,t){"use strict";t.r(n),t.d(n,{TelescienceConsole:()=>s});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0)||(0,r.jsx)("ul",{children:m.map(function(e){return(0,r.jsx)("li",{children:e},e)})})]})}),(0,r.jsx)(o.wn,{title:"Telepad Status",children:1===f?(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Current Bearing",children:(0,r.jsxs)(o.az,{inline:!0,position:"relative",children:[(0,r.jsx)(o.Q7,{unit:"\xb0",width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:360,disabled:v,value:j,onChange:function(e){C(e),s("setbear",{bear:e})}}),(0,r.jsx)(o.In,{ml:1,size:1,name:"arrow-up",rotation:_})]})}),(0,r.jsx)(o.Ki.Item,{label:"Current Elevation",children:(0,r.jsx)(o.Q7,{width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:100,disabled:v,value:b,onChange:function(e){return s("setelev",{elev:e})}})}),(0,r.jsx)(o.Ki.Item,{label:"Power Level",children:p.map(function(e,n){return(0,r.jsx)(o.$n,{content:e,selected:g===e,disabled:n>=x-1||v,onClick:function(){return s("setpwr",{pwr:n+1})}},e)})}),(0,r.jsx)(o.Ki.Item,{label:"Target Sector",children:(0,r.jsx)(o.Q7,{width:6.1,lineHeight:1.5,step:1,minValue:2,maxValue:w,value:y,disabled:v,onChange:function(e){return s("setz",{newz:e})}})}),(0,r.jsxs)(o.Ki.Item,{label:"Telepad Actions",children:[(0,r.jsx)(o.$n,{content:"Send",disabled:v,onClick:function(){return s("pad_send")}}),(0,r.jsx)(o.$n,{content:"Receive",disabled:v,onClick:function(){return s("pad_receive")}})]}),(0,r.jsxs)(o.Ki.Item,{label:"Crystal Maintenance",children:[(0,r.jsx)(o.$n,{content:"Recalibrate Crystals",disabled:v,onClick:function(){return s("recal_crystals")}}),(0,r.jsx)(o.$n,{content:"Eject Crystals",disabled:v,onClick:function(){return s("eject_crystals")}})]})]}):(0,r.jsx)(r.Fragment,{children:"No pad linked to console. Please use a multitool to link a pad."})}),(0,r.jsx)(o.wn,{title:"GPS Actions",children:1===h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.$n,{disabled:0===h||v,content:"Eject GPS",onClick:function(){return s("eject_gps")}}),(0,r.jsx)(o.$n,{disabled:0===h||v,content:"Store Coordinates",onClick:function(){return s("store_to_gps")}})]}):(0,r.jsx)(r.Fragment,{children:"Please insert a GPS to store coordinates to it."})})]})})}},1745:function(e,n,t){"use strict";t.r(n),t.d(n,{TempGun:()=>c});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,f=c.target_temperature,h=c.temperature,m=c.max_temp,p=c.min_temp;return(0,r.jsx)(a.p8,{width:250,height:121,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Target Temperature",children:[(0,r.jsx)(i.Q7,{animate:!0,step:10,stepPixelSize:6,minValue:p,maxValue:m,value:f,format:function(e){return(0,o.Mg)(e,2)},width:"50px",onChange:function(e){return t("target_temperature",{target_temperature:e})}}),"\xb0C"]}),(0,r.jsx)(i.Ki.Item,{label:"Current Temperature",children:(0,r.jsxs)(i.az,{color:s(h),bold:h>500-273.15,children:[(0,r.jsx)(i.zv,{value:(0,o.LI)(h,2)}),"\xb0C"]})}),(0,r.jsx)(i.Ki.Item,{label:"Power Cost",children:(0,r.jsx)(i.az,{color:d(h),children:u(h)})})]})})})})},s=function(e){return e<=-100?"blue":e<=0?"teal":e<=100?"green":e<=200?"orange":"red"},u=function(e){return e<=100-273.15?"High":e<=250-273.15?"Medium":e<=300-273.15?"Low":e<=400-273.15?"Medium":"High"},d=function(e){return e<=100-273.15?"red":e<=250-273.15?"orange":e<=300-273.15?"green":e<=400-273.15?"orange":"red"}},4273:function(e,n,t){"use strict";t.r(n),t.d(n,{TextInputModal:()=>m,removeAllSkiplines:()=>h,sanitizeMultiline:()=>f});var r=t(8138),i=t(4530),o=t(7790),l=t(925),a=t(2864),c=t(3384),s=t(1942),u=t(9472);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=30,O=135+(b.length>30?Math.ceil(b.length/4):0)+75*!!S+(b.length&&x?5:0);return(0,r.jsxs)(c.p8,{title:k,width:325,height:O,children:[w&&(0,r.jsx)(u.Loader,{value:w}),(0,r.jsx)(c.p8.Content,{onKeyDown:function(e){e.key!==l._.Enter||S&&e.shiftKey||m("submit",{entry:C}),(0,l.KL)(e.key)&&m("cancel")},children:(0,r.jsx)(o.wn,{fill:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.az,{color:"label",children:b})}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.fs,{autoFocus:!0,autoSelect:!0,fluid:!0,height:y||C.length>=30?"100%":"1.8rem",maxLength:g,onEscape:function(){return m("cancel")},onChange:function(e){e!==C&&I(y?f(e):h(e))},placeholder:"Type something...",value:C})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(s.InputButtons,{input:C,message:"".concat(C.length,"/").concat(g||"∞")})})]})})})]})}},9449:function(e,n,t){"use strict";t.r(n),t.d(n,{ThermoMachine:()=>c});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data;return(0,r.jsx)(a.p8,{width:300,height:225,children:(0,r.jsxs)(a.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Status",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Temperature",children:[(0,r.jsx)(i.zv,{value:c.temperature,format:function(e){return(0,o.Mg)(e,2)}})," K"]}),(0,r.jsxs)(i.Ki.Item,{label:"Pressure",children:[(0,r.jsx)(i.zv,{value:c.pressure,format:function(e){return(0,o.Mg)(e,2)}})," kPa"]})]})}),(0,r.jsx)(i.wn,{title:"Controls",buttons:(0,r.jsx)(i.$n,{icon:c.on?"power-off":"times",content:c.on?"On":"Off",selected:c.on,onClick:function(){return t("power")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Setting",textAlign:"center",children:(0,r.jsx)(i.$n,{fluid:!0,icon:c.cooling?"temperature-low":"temperature-high",content:c.cooling?"Cooling":"Heating",selected:c.cooling,onClick:function(){return t("cooling")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Target Temperature",children:[(0,r.jsx)(i.$n,{icon:"fast-backward",disabled:c.target===c.min,title:"Minimum temperature",onClick:function(){return t("target",{target:c.min})}}),(0,r.jsx)(i.Q7,{animated:!0,value:Math.round(c.target),unit:"K",width:5.4,lineHeight:1.4,minValue:Math.round(c.min),maxValue:Math.round(c.max),step:5,stepPixelSize:3,onChange:function(e){return t("target",{target:e})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",disabled:c.target===c.max,title:"Maximum Temperature",onClick:function(){return t("target",{target:c.max})}}),(0,r.jsx)(i.$n,{icon:"sync",disabled:c.target===c.initial,title:"Room Temperature",onClick:function(){return t("target",{target:c.initial})}})]})]})})]})})}},1760:function(e,n,t){"use strict";t.r(n),t.d(n,{TransferValve:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.tank_one,s=a.tank_two,u=a.attached_device,d=a.valve;return(0,r.jsx)(l.p8,{width:460,height:285,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Valve Status",children:(0,r.jsx)(i.$n,{icon:d?"unlock":"lock",content:d?"Open":"Closed",disabled:!c||!s,onClick:function(){return t("toggle")}})})})}),(0,r.jsx)(i.wn,{title:"Assembly",buttons:(0,r.jsx)(i.$n,{icon:"cog",content:"Configure Assembly",disabled:!u,onClick:function(){return t("device")}}),children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Attachment",children:u?(0,r.jsx)(i.$n,{icon:"eject",content:u,disabled:!u,onClick:function(){return t("remove_device")}}):(0,r.jsx)(i.az,{color:"average",children:"No Assembly"})})})}),(0,r.jsx)(i.wn,{title:"Attachment One",children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Attachment",children:c?(0,r.jsx)(i.$n,{icon:"eject",content:c,disabled:!c,onClick:function(){return t("tankone")}}):(0,r.jsx)(i.az,{color:"average",children:"No Tank"})})})}),(0,r.jsx)(i.wn,{title:"Attachment Two",children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Attachment",children:s?(0,r.jsx)(i.$n,{icon:"eject",content:s,disabled:!s,onClick:function(){return t("tanktwo")}}):(0,r.jsx)(i.az,{color:"average",children:"No Tank"})})})})]})})}},6971:function(e,n,t){"use strict";t.r(n),t.d(n,{TurbineComputer:()=>s});var r=t(8138),i=t(7790),o=t(9582),l=t(6859),a=t(2864),c=t(3384),s=function(e){var n=(0,a.Oc)(),t=n.act,o=n.data,l=o.compressor,s=o.compressor_broken,f=o.turbine,h=o.turbine_broken,m=o.online,p=o.throttle,x=(o.preBurnTemperature,o.bearingDamage),g=!!(l&&!s&&f&&!h);return(0,r.jsx)(c.p8,{width:400,height:415,children:(0,r.jsxs)(c.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Status",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:m?"power-off":"times",content:m?"Online":"Offline",selected:m,disabled:!g,onClick:function(){return t("toggle_power")}}),(0,r.jsx)(i.$n,{icon:"times",content:"Disconnect",onClick:function(){return t("disconnect")}})]}),children:g?(0,r.jsx)(d,{}):(0,r.jsx)(u,{})}),x>=100?(0,r.jsx)(i.BJ,{mb:"30px",fontsize:"256px",children:(0,r.jsx)(i.BJ.Item,{bold:!0,color:"red",fontsize:"256px",textAlign:"center",children:"Bearings Inoperable, Repair Required"})}):(0,r.jsx)(i.wn,{title:"Throttle",children:g?(0,r.jsx)(i.N6,{size:3,value:p,unit:"%",minValue:0,maxValue:100,step:1,stepPixelSize:1,tickWhileDragging:!0,onChange:function(e,n){return t("set_throttle",{throttle:n})}}):""})]})})},u=function(e){var n=(0,a.Oc)().data,t=n.compressor,o=n.compressor_broken,l=n.turbine,c=n.turbine_broken;return n.online,(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Compressor Status",color:!t||o?"bad":"good",children:o?t?"Offline":"Missing":"Online"}),(0,r.jsx)(i.Ki.Item,{label:"Turbine Status",color:!l||c?"bad":"good",children:c?l?"Offline":"Missing":"Online"})]})},d=function(e){var n=(0,a.Oc)().data,t=n.rpm,c=n.temperature,s=n.power,u=n.bearingDamage,d=n.preBurnTemperature,f=n.postBurnTemperature,h=n.thermalEfficiency,m=n.compressionRatio,p=n.gasThroughput;return(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Turbine Speed",children:[(0,l.Mg)(t,2)," RPM"]}),(0,r.jsxs)(i.Ki.Item,{label:"Effective Compression Ratio",children:[(0,l.Mg)(m,2),":1"]}),(0,r.jsxs)(i.Ki.Item,{label:"Gasmix Pre Burn Temp",children:[(0,l.Mg)(d,2)," K"]}),(0,r.jsxs)(i.Ki.Item,{label:"Gasmix Post Burn Temp",children:[(0,l.Mg)(f,2)," K"]}),(0,r.jsxs)(i.Ki.Item,{label:"Compressor Temp",children:[(0,l.Mg)(c,2)," K"]}),(0,r.jsxs)(i.Ki.Item,{label:"Thermal Efficiency",children:[(0,l.Mg)(100*h,2)," %"]}),(0,r.jsxs)(i.Ki.Item,{label:"Gas Throughput",children:[(0,l.Mg)(p,2)," mol/s"]}),(0,r.jsx)(i.Ki.Item,{label:"Generated Power",children:(0,o.d5)(s)}),(0,r.jsx)(i.Ki.Item,{label:"Bearing Damage",children:(0,r.jsx)(i.z2,{value:u,minValue:0,maxValue:100,ranges:{good:[-1/0,60],average:[60,90],bad:[90,1/0]},children:(0,l.Mg)(u)+"%"})})]})}},8380:function(e,n,t){"use strict";t.r(n),t.d(n,{Uplink:()=>m});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(3268),c=t(2864),s=t(3384),u=t(4744);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"";if(e=(0,i.pb)(e,function(e){return!!e.name}),n){var t=(0,a.XZ)(n,function(e){var n="".concat(e.name,"|").concat(e.desc,"|").concat(e.cost,"tc");return e.hijack_only&&(n+="|hijack"),n});e=(0,i.pb)(e,function(e){return t(e)})}return(0,i.Ul)(e,function(e){return e.name})},v=function(e){if(b(e),""===e)return p(d[0].items);p(y(d.map(function(e){return e.items}).flat(),e))},w=f((0,o.useState)(1),2),k=w[0],_=w[1];return(0,r.jsxs)(l.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(l.BJ,{vertical:!0,children:(0,r.jsx)(l.BJ.Item,{children:(0,r.jsx)(l.wn,{title:"Current Balance: "+u+"TC",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.$n.Checkbox,{content:"Show Descriptions",checked:k,onClick:function(){return _(!k)}}),(0,r.jsx)(l.$n,{content:"Random Item",icon:"question",onClick:function(){return t("buyRandom")}}),(0,r.jsx)(l.$n,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){return t("refund")}})]}),children:(0,r.jsx)(l.pd,{fluid:!0,placeholder:"Search Equipment",value:g,onChange:function(e){v(e)}})})})}),(0,r.jsxs)(l.BJ,{fill:!0,mt:.3,children:[(0,r.jsx)(l.BJ.Item,{width:"30%",children:(0,r.jsx)(l.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(l.tU,{vertical:!0,children:d.map(function(e){return(0,r.jsx)(l.tU.Tab,{selected:""===g&&e.items===m,onClick:function(){p(e.items),b("")},children:e.cat},e.cat)})})})}),(0,r.jsx)(l.BJ.Item,{grow:!0,children:(0,r.jsx)(l.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(l.BJ,{vertical:!0,children:m.map(function(e){return(0,r.jsx)(l.BJ.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,r.jsx)(j,{i:e,showDecription:k},(0,a.jT)(e.name))},(0,a.jT)(e.name))})})})})]})]})},x=function(e){var n=(0,c.Oc)(),t=n.act,i=n.data,s=i.cart,u=i.crystals,d=i.cart_price,h=f((0,o.useState)(0),2),m=h[0],p=h[1];return(0,r.jsxs)(l.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(l.BJ.Item,{grow:!0,children:(0,r.jsx)(l.wn,{fill:!0,scrollable:!0,title:"Current Balance: "+u+"TC",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.$n.Checkbox,{content:"Show Descriptions",checked:m,onClick:function(){return p(!m)}}),(0,r.jsx)(l.$n,{content:"Empty Cart",icon:"trash",onClick:function(){return t("empty_cart")},disabled:!s}),(0,r.jsx)(l.$n,{content:"Purchase Cart ("+d+"TC)",icon:"shopping-cart",onClick:function(){return t("purchase_cart")},disabled:!s||d>u})]}),children:(0,r.jsx)(l.BJ,{vertical:!0,children:s?s.map(function(e){return(0,r.jsx)(l.BJ.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,r.jsx)(j,{i:e,showDecription:m,buttons:(0,r.jsx)(y,{i:e})})},(0,a.jT)(e.name))}):(0,r.jsx)(l.az,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,r.jsx)(g,{})]})},g=function(e){var n=(0,c.Oc)(),t=n.act,i=n.data,o=i.cats,a=i.lucky_numbers;return(0,r.jsx)(l.BJ.Item,{grow:!0,children:(0,r.jsx)(l.wn,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,r.jsx)(l.$n,{icon:"dice",content:"See more suggestions",onClick:function(){return t("shuffle_lucky_numbers")}}),children:(0,r.jsx)(l.BJ,{wrap:!0,children:a.map(function(e){return o[e.cat].items[e.item]}).filter(function(e){return null!=e}).map(function(e,n){return(0,r.jsx)(l.BJ.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",grow:!0,children:(0,r.jsx)(j,{i:e})},n)})})})})},j=function(e){var n=e.i,t=e.showDecription,i=e.buttons,o=void 0===i?(0,r.jsx)(b,{i:n}):i;return(0,r.jsx)(l.wn,{title:(0,a.jT)(n.name),buttons:o,children:(void 0===t?1:t)?(0,r.jsx)(l.az,{italic:!0,children:(0,a.jT)(n.desc)}):null})},b=function(e){var n=(0,c.Oc)(),t=n.act,i=n.data,o=e.i,a=i.crystals;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.$n,{icon:"shopping-cart",color:1===o.hijack_only&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){return t("add_to_cart",{item:o.obj_path})},disabled:o.cost>a}),(0,r.jsx)(l.$n,{content:"Buy ("+o.cost+"TC)"+(o.refundable?" [Refundable]":""),color:1===o.hijack_only&&"red",tooltip:1===o.hijack_only&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){return t("buyItem",{item:o.obj_path})},disabled:o.cost>a})]})},y=function(e){var n=(0,c.Oc)(),t=n.act,i=n.data,o=e.i;return i.exploitable,(0,r.jsxs)(l.BJ,{children:[(0,r.jsx)(l.$n,{icon:"times",content:"("+o.cost*o.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){return t("remove_from_cart",{item:o.obj_path})}}),(0,r.jsx)(l.$n,{icon:"minus",tooltip:0===o.limit&&"Discount already redeemed!",ml:"5px",onClick:function(){return t("set_cart_item_quantity",{item:o.obj_path,quantity:--o.amount})},disabled:o.amount<=0}),(0,r.jsx)(l.$n.Input,{value:"".concat(o.amount),width:"45px",tooltipPosition:"bottom-end",tooltip:0===o.limit&&"Discount already redeemed!",onCommit:function(e){return t("set_cart_item_quantity",{item:o.obj_path,quantity:e})},disabled:-1!==o.limit&&o.amount>=o.limit&&o.amount<=0}),(0,r.jsx)(l.$n,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:0===o.limit&&"Discount already redeemed!",onClick:function(){return t("set_cart_item_quantity",{item:o.obj_path,quantity:++o.amount})},disabled:-1!==o.limit&&o.amount>=o.limit})]})},v=function(e){var n=(0,c.Oc)(),t=n.act,s=n.data,u=s.exploitable,d=s.selected_record,h=f((0,o.useState)(""),2),m=h[0],p=h[1],x=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=(0,i.pb)(e,function(e){return!!e.name});if(n){var r=(0,a.XZ)(n,function(e){return e.name});t=(0,i.pb)(t,function(e){return r(e)})}return(0,i.Ul)(t,function(e){return e.name})}(u,m);return(0,r.jsxs)(l.BJ,{fill:!0,children:[(0,r.jsx)(l.BJ.Item,{width:"30%",children:(0,r.jsxs)(l.wn,{fill:!0,scrollable:!0,title:"Exploitable Records",children:[(0,r.jsx)(l.pd,{fluid:!0,mb:1,placeholder:"Search Crew",onChange:function(e){return p(e)}}),(0,r.jsx)(l.tU,{vertical:!0,children:x&&x.map(function(e){return(0,r.jsx)(l.tU.Tab,{selected:e.name===d.name,onClick:function(){return t("view_record",{uid_gen:e.uid_gen})},children:e.name},e.uid_gen)})})]})}),(0,r.jsx)(l.BJ.Item,{grow:!0,children:(0,r.jsx)(l.wn,{fill:!0,scrollable:!0,title:d.name,children:(0,r.jsxs)(l.BJ,{children:[(0,r.jsx)(l.BJ.Item,{children:(0,r.jsxs)(l.Ki,{children:[(0,r.jsx)(l.Ki.Item,{label:"Age",children:d.age}),(0,r.jsx)(l.Ki.Item,{label:"Fingerprint",children:d.fingerprint}),(0,r.jsx)(l.Ki.Item,{label:"Rank",children:d.rank}),(0,r.jsx)(l.Ki.Item,{label:"Sex",children:d.sex}),(0,r.jsx)(l.Ki.Item,{label:"Species",children:d.species}),(0,r.jsx)(l.Ki.Item,{label:"NT Relation",children:d.nt_relation})]})}),!!d.has_photos&&d.photos.map(function(e,n){return(0,r.jsxs)(l.BJ.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,r.jsx)("img",{src:e,style:{width:"96px",marginTop:"1rem",marginBottom:"0.5rem",imageRendering:"pixelated"}}),(0,r.jsx)("br",{}),"Photo #",n+1]},n)})]})})})]})}},1638:function(e,n,t){"use strict";t.r(n),t.d(n,{Vending:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);th&&a.price>m;return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{collapsing:!0,children:(0,r.jsx)(i.Hg,{verticalAlign:"middle",icon:s,icon_state:u,fallback:(0,r.jsx)(i.In,{p:.66,name:"spinner",size:2,spin:!0})})}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:a.name}),(0,r.jsx)(i.XI.Cell,{collapsing:!0,textAlign:"center",children:(0,r.jsxs)(i.az,{color:c<=0&&"bad"||c<=a.max_amount/2&&"average"||"good",children:[c," in stock"]})}),(0,r.jsx)(i.XI.Cell,{collapsing:!0,textAlign:"center",children:(0,r.jsx)(i.$n,{fluid:!0,disabled:j,icon:g,content:x,textAlign:"left",onClick:function(){return t("vend",{inum:a.inum})}})})]})},u=function(e){var n,t=(0,o.Oc)(),a=t.act,u=t.data,d=u.user,f=u.usermoney,h=u.inserted_cash,m=u.product_records,p=u.hidden_records,x=u.stock,g=(u.vend_ready,u.inserted_item_name),j=u.panel_open,b=u.speaker,y=u.locked,v=u.bypass_lock;return n=c(void 0===m?[]:m),u.extended_inventory&&(n=c(n).concat(c(void 0===p?[]:p))),n=n.filter(function(e){return!!e}),(0,r.jsx)(l.p8,{title:"Vending Machine",width:450,height:Math.min((!y||v?230:171)+32*n.length,585),children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(!y||!!v)&&(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Configuration",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"pen-to-square",content:"Rename Vendor",onClick:function(){return a("rename",{})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"pen-to-square",content:"Change Vendor Appearance",onClick:function(){return a("change_appearance",{})}})})]})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"User",buttons:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{children:!!g&&(0,r.jsx)(i.$n,{fluid:!0,icon:"eject",content:(0,r.jsx)("span",{style:{textTransform:"capitalize"},children:g}),onClick:function(){return a("eject_item",{})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{disabled:!h,icon:"money-bill-wave-alt",content:h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:h})," credits"]}):"Dispense Change",tooltip:h?"Dispense Change":null,textAlign:"left",onClick:function(){return a("change")}})})]}),children:d&&(0,r.jsxs)(i.az,{children:["Welcome, ",(0,r.jsx)("b",{children:d.name}),", ",(0,r.jsx)("b",{children:d.job||"Unemployed"}),"!",(0,r.jsx)("br",{}),"Your balance is ",(0,r.jsxs)("b",{children:[f," credits"]}),".",(0,r.jsx)("br",{})]})})}),!!j&&(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Maintenance",children:(0,r.jsx)(i.$n,{icon:b?"check":"volume-mute",selected:b,content:"Speaker",textAlign:"left",onClick:function(){return a("toggle_voice",{})}})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Products",children:(0,r.jsx)(i.XI,{children:n.map(function(e){return(0,r.jsx)(s,{product:e,productStock:x[e.name],productIcon:e.icon,productIconState:e.icon_state},e.name)})})})})]})})})}},2144:function(e,n,t){"use strict";t.r(n),t.d(n,{VolumeMixer:()=>c});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data.channels;return(0,r.jsx)(a.p8,{width:350,height:Math.min(95+50*c.length,565),children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,children:c.map(function(e,n){return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(o.az,{fontSize:"1.25rem",color:"label",mt:n>0&&"0.5rem",children:e.name}),(0,r.jsx)(o.az,{mt:"0.5rem",children:(0,r.jsxs)(o.BJ,{children:[(0,r.jsx)(o.BJ.Item,{mr:.5,children:(0,r.jsx)(o.$n,{width:"24px",color:"transparent",children:(0,r.jsx)(o.In,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){return t("volume",{channel:e.num,volume:0})}})})}),(0,r.jsx)(o.BJ.Item,{grow:!0,mx:"0.5rem",children:(0,r.jsx)(o.Ap,{minValue:0,maxValue:100,stepPixelSize:3.13,value:e.volume,onChange:function(n,r){return t("volume",{channel:e.num,volume:r})}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{width:"24px",color:"transparent",children:(0,r.jsx)(o.In,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){return t("volume",{channel:e.num,volume:100})}})})})]})})]},e.num)})})})})}},7063:function(e,n,t){"use strict";t.r(n),t.d(n,{VotePanel:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.remaining,s=a.question,u=a.choices,d=a.user_vote,f=a.counts,h=a.show_counts;return(0,r.jsx)(l.p8,{width:400,height:360,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:s,children:[(0,r.jsxs)(i.az,{mb:1.5,ml:.5,children:["Time remaining: ",Math.round(c/10),"s"]}),u.map(function(e){return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{mb:1,fluid:!0,lineHeight:3,multiLine:e,content:e+(h?" ("+(f[e]||0)+")":""),onClick:function(){return t("vote",{target:e})},selected:e===d})},e)})]})})})}},7983:function(e,n,t){"use strict";t.r(n),t.d(n,{Wires:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.wires||[],s=a.status||[],u=56+23*c.length+(status?0:15+17*s.length);return(0,r.jsx)(l.p8,{width:350,height:u,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(i.Ki,{children:c.map(function(e){return(0,r.jsx)(i.Ki.Item,{className:"candystripe",label:e.color_name,labelColor:e.seen_color,color:e.seen_color,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:e.cut?"Mend":"Cut",onClick:function(){return t("cut",{wire:e.color})}}),(0,r.jsx)(i.$n,{content:"Pulse",onClick:function(){return t("pulse",{wire:e.color})}}),(0,r.jsx)(i.$n,{content:e.attached?"Detach":"Attach",onClick:function(){return t("attach",{wire:e.color})}})]}),children:!!e.wire&&(0,r.jsxs)("i",{children:["(",e.wire,")"]})},e.seen_color)})})})}),!!s.length&&(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{children:s.map(function(e){return(0,r.jsx)(i.az,{color:"lightgray",children:e},e)})})})]})})})}},8167:function(e,n,t){"use strict";t.r(n),t.d(n,{WizardApprenticeContract:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.used;return(0,r.jsx)(l.p8,{width:500,height:555,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsxs)(i.wn,{title:"Contract of Apprenticeship",children:["Using this contract, you may summon an apprentice to aid you on your mission.",(0,r.jsx)("p",{children:"If you are unable to establish contact with your apprentice, you can feed the contract back to the spellbook to refund your points."}),a?(0,r.jsx)(i.az,{bold:!0,color:"red",children:"You've already summoned an apprentice or you are in process of summoning one."}):""]}),(0,r.jsx)(i.wn,{title:"Which school of magic is your apprentice studying?",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Fire",children:["Your apprentice is skilled in bending fire. ",(0,r.jsx)("br",{}),"They know Fireball, Sacred Flame, and Ethereal Jaunt.",(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{content:"Select",disabled:a,onClick:function(){return t("fire")}})]}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsxs)(i.Ki.Item,{label:"Translocation",children:["Your apprentice is able to defy physics, learning how to move through bluespace. ",(0,r.jsx)("br",{}),"They know Teleport, Blink and Ethereal Jaunt.",(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{content:"Select",disabled:a,onClick:function(){return t("translocation")}})]}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsxs)(i.Ki.Item,{label:"Restoration",children:["Your apprentice is dedicated to supporting your magical prowess.",(0,r.jsx)("br",{}),"They come equipped with a Staff of Healing, have the unique ability to teleport back to you, and know Charge and Knock.",(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{content:"Select",disabled:a,onClick:function(){return t("restoration")}})]}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsxs)(i.Ki.Item,{label:"Stealth",children:["Your apprentice is learning the art of infiltrating mundane facilities. ",(0,r.jsx)("br",{}),"They know Mindswap, Knock, Homing Toolbox, and Disguise Self, all of which can be cast without robes. They also join you in a Maintenance Dweller disguise, complete with Gloves of Shock Immunity and a Belt of Tools.",(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{content:"Select",disabled:a,onClick:function(){return t("stealth")}})]}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsxs)(i.Ki.Item,{label:"Honk",children:["Your apprentice is here to spread the Honkmother's blessings.",(0,r.jsx)("br",{}),"They know Banana Touch, Instant Summons, Ethereal Jaunt, and come equipped with a Staff of Slipping."," ",(0,r.jsx)("br",{}),"While under your tutelage, they have been 'blessed' with clown shoes that are impossible to remove.",(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{content:"Select",disabled:a,onClick:function(){return t("honk")}})]}),(0,r.jsx)(i.Ki.Divider,{})]})})]})})}},234:function(e,n,t){"use strict";t.r(n),t.d(n,{ZLevelManager:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4530);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ts});var r=t(8138),i=t(8587),o=t(4530),l=t(7790);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&!g.includes(e.ref)&&!p.includes(e.ref),checked:p.includes(e.ref),onClick:function(){return j(e.ref)}},e.desc)})]})]})})}},7276:function(e,n,t){"use strict";t.r(n),t.d(n,{AtmosScan:()=>l});var r=t(8138),i=t(8587),o=t(7790),l=function(e){var n=e.aircontents;return(0,r.jsx)(o.az,{children:(0,r.jsx)(o.Ki,{children:(0,i.pb)(n,function(e){return"0"!==e.val||"Pressure"===e.entry||"Temperature"===e.entry}).map(function(e){var n,t,i,l,a;return(0,r.jsxs)(o.Ki.Item,{label:e.entry,color:(n=e.val,t=e.bad_low,i=e.poor_low,l=e.poor_high,a=e.bad_high,nl?"average":n>a?"bad":"good"),children:[e.val,e.units]},e.entry)})})})}},3013:function(e,n,t){"use strict";t.r(n),t.d(n,{BeakerContents:()=>o});var r=t(8138),i=t(7790),o=function(e){var n=e.beakerLoaded,t=e.beakerContents,o=void 0===t?[]:t,l=e.buttons;return(0,r.jsx)(i.BJ,{vertical:!0,children:n?0===o.length?(0,r.jsx)(i.BJ.Item,{color:"label",children:"Beaker is empty."}):o.map(function(e,n){var t;return(0,r.jsxs)(i.BJ,{children:[(0,r.jsxs)(i.BJ.Item,{color:"label",grow:!0,children:[(t=e.volume)+" unit"+(1===t?"":"s")," of ",e.name]},e.name),!!l&&(0,r.jsx)(i.BJ.Item,{children:l(e,n)})]},e.name)}):(0,r.jsx)(i.BJ.Item,{color:"label",children:"No beaker loaded."})})}},9226:function(e,n,t){"use strict";t.r(n),t.d(n,{BotStatus:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.locked,c=l.noaccess,s=l.maintpanel,u=l.on,d=l.autopatrol,f=l.canhack,h=l.emagged,m=l.remote_disabled;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.IC,{children:["Swipe an ID card to ",a?"unlock":"lock"," this interface."]}),(0,r.jsx)(i.wn,{title:"General Settings",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:(0,r.jsx)(i.$n,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,disabled:c,onClick:function(){return t("power")}})}),void 0!==d&&(0,r.jsx)(i.Ki.Item,{label:"Patrol",children:(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:d,content:"Auto Patrol",disabled:c,onClick:function(){return t("autopatrol")}})}),!!s&&(0,r.jsx)(i.Ki.Item,{label:"Maintenance Panel",children:(0,r.jsx)(i.az,{color:"bad",children:"Panel Open!"})}),(0,r.jsx)(i.Ki.Item,{label:"Safety System",children:(0,r.jsx)(i.az,{color:h?"bad":"good",children:h?"DISABLED!":"Enabled"})}),!!f&&(0,r.jsx)(i.Ki.Item,{label:"Hacking",children:(0,r.jsx)(i.$n,{icon:"terminal",content:h?"Restore Safties":"Hack",disabled:c,color:"bad",onClick:function(){return t("hack")}})}),(0,r.jsx)(i.Ki.Item,{label:"Remote Access",children:(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:!m,content:"AI Remote Control",disabled:c,onClick:function(){return t("disableremote")}})})]})})]})}},4744:function(e,n,t){"use strict";t.r(n),t.d(n,{ComplexModal:()=>h,modalAnswer:()=>d,modalClose:()=>f,modalOpen:()=>s,modalRegisterBodyOverride:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(2864);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);td});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(421).lm.department,c=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],s=function(e){if(-1!==c.indexOf(e))return!0},u=function(e){return e.length>0&&(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{header:!0,color:"white",children:[(0,r.jsx)(i.XI.Cell,{width:"50%",children:"Name"}),(0,r.jsx)(i.XI.Cell,{width:"35%",children:"Rank"}),(0,r.jsx)(i.XI.Cell,{width:"15%",children:"Active"})]}),e.map(function(e){var n;return(0,r.jsxs)(i.XI.Row,{color:(n=e.rank,-1!==c.indexOf(n)?"green":"orange"),bold:s(e.rank),children:[(0,r.jsx)(i.XI.Cell,{children:(0,o.jT)(e.name)}),(0,r.jsx)(i.XI.Cell,{children:(0,o.jT)(e.rank)}),(0,r.jsx)(i.XI.Cell,{children:e.active})]},e.name+e.rank)})]})},d=function(e){if((0,l.Oc)().act,e.data)n=e.data;else{var n;n=(0,l.Oc)().data}var t=n.manifest,o=t.heads,c=t.sec,s=t.eng,d=t.med,f=t.sci,h=t.ser,m=t.sup,p=t.misc;return(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.command,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:u(o)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.security,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:u(c)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.engineering,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:u(s)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.medical,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:u(d)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.science,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:u(f)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.service,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:u(h)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.supply,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:u(m)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:u(p)})]})}},1942:function(e,n,t){"use strict";t.r(n),t.d(n,{InputButtons:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.large_buttons,c=l.swapped_buttons,s=e.input,u=e.message,d=e.disabled,f=(0,r.jsx)(i.$n,{color:"good",textAlign:"center",bold:!!a,fluid:!!a,tooltip:!!a&&u,disabled:!!d,width:!a&&6,onClick:function(){return t("submit",{entry:s})},children:"Submit"}),h=(0,r.jsx)(i.$n,{color:"bad",textAlign:"center",bold:!!a,fluid:!!a,width:!a&&6,onClick:function(){return t("cancel")},children:"Cancel"});return(0,r.jsxs)(i.BJ,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[(0,r.jsx)(i.BJ.Item,{grow:a,children:h}),!a&&u&&(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.az,{color:"label",textAlign:"center",children:u})}),(0,r.jsx)(i.BJ.Item,{grow:a,children:f})]})}},1992:function(e,n,t){"use strict";t.r(n),t.d(n,{InterfaceLockNoticeBox:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=e.siliconUser,c=void 0===a?l.siliconUser:a,s=e.locked,u=void 0===s?l.locked:s,d=e.normallyLocked,f=void 0===d?l.normallyLocked:d,h=e.onLockStatusChange,m=void 0===h?function(){return t("lock")}:h,p=e.accessText;return c?(0,r.jsx)(i.IC,{color:c&&"grey",children:(0,r.jsxs)(i.so,{align:"center",children:[(0,r.jsx)(i.so.Item,{children:"Interface lock status:"}),(0,r.jsx)(i.so.Item,{grow:"1"}),(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.$n,{m:"0",color:f?"red":"green",icon:f?"lock":"unlock",content:f?"Locked":"Unlocked",onClick:function(){m&&m(!u)}})})]})}):(0,r.jsxs)(i.IC,{children:["Swipe ",void 0===p?"an ID card":p," to ",u?"unlock":"lock"," this interface."]})}},9472:function(e,n,t){"use strict";t.r(n),t.d(n,{Loader:()=>l});var r=t(8138),i=t(7790),o=t(6859),l=function(e){var n=e.value;return(0,r.jsx)("div",{className:"AlertModal__Loader",children:(0,r.jsx)(i.az,{className:"AlertModal__LoaderProgress",style:{width:100*(0,o.J$)(n)+"%"}})})}},7352:function(e,n,t){"use strict";t.r(n),t.d(n,{LoginInfo:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.loginState;if(l)return(0,r.jsx)(i.IC,{info:!0,children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsxs)(i.BJ.Item,{grow:!0,mt:.5,children:["Logged in as: ",a.name," (",a.rank,")"]}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"eject",disabled:!a.id,content:"Eject ID",color:"good",onClick:function(){return t("login_eject")}}),(0,r.jsx)(i.$n,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){return t("login_logout")}})]})]})})}},736:function(e,n,t){"use strict";t.r(n),t.d(n,{LoginScreen:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.loginState,c=l.isAI,s=l.isRobot,u=l.isAdmin;return(0,r.jsx)(i.wn,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,r.jsx)(i.so,{height:"100%",align:"center",justify:"center",children:(0,r.jsxs)(i.so.Item,{textAlign:"center",mt:"-2rem",children:[(0,r.jsxs)(i.az,{fontSize:"1.5rem",bold:!0,children:[(0,r.jsx)(i.In,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,r.jsxs)(i.az,{color:"label",my:"1rem",children:["ID:",(0,r.jsx)(i.$n,{icon:"id-card",content:a.id?a.id:"----------",ml:"0.5rem",onClick:function(){return t("login_insert")}})]}),(0,r.jsx)(i.$n,{icon:"sign-in-alt",disabled:!a.id,content:"Login",onClick:function(){return t("login_login",{login_type:1})}}),!!c&&(0,r.jsx)(i.$n,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){return t("login_login",{login_type:2})}}),!!s&&(0,r.jsx)(i.$n,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){return t("login_login",{login_type:3})}}),!!u&&(0,r.jsx)(i.$n,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){return t("login_login",{login_type:4})}})]})})})}},6696:function(e,n,t){"use strict";t.r(n),t.d(n,{Operating:()=>o});var r=t(8138),i=t(7790),o=function(e){var n=e.operating,t=e.name;if(n)return(0,r.jsx)(i.Rr,{children:(0,r.jsx)(i.so,{mb:"30px",children:(0,r.jsxs)(i.so.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,r.jsx)(i.In,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,r.jsx)("br",{}),"The ",t," is processing..."]})})})}},6888:function(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>a});var r=t(8138),i=t(4530);function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=function(e){var n=(0,l.Oc)().act,t=e.data,a=t.code,c=t.frequency,s=t.minFrequency,u=t.maxFrequency;return(0,r.jsxs)(i.wn,{children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Frequency",children:(0,r.jsx)(i.Q7,{animate:!0,step:.2,stepPixelSize:6,minValue:s/10,maxValue:u/10,value:c/10,format:function(e){return(0,o.Mg)(e,1)},width:"80px",onChange:function(e){return n("freq",{freq:e})}})}),(0,r.jsx)(i.Ki.Item,{label:"Code",children:(0,r.jsx)(i.Q7,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:a,width:"80px",onChange:function(e){return n("code",{code:e})}})})]}),(0,r.jsx)(i.$n,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){return n("signal")}})]})}},4455:function(e,n,t){"use strict";t.r(n),t.d(n,{SimpleRecords:()=>u});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(3268),c=t(2864);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"",t=(0,i.pb)(u,function(e){return null==e?void 0:e.Name});return n&&(t=(0,i.pb)(t,(0,a.XZ)(n,function(e){return e.Name}))),(0,i.Ul)(t,function(e){return e.Name})}(u,f);return(0,r.jsxs)(l.az,{children:[(0,r.jsx)(l.pd,{fluid:!0,mb:1,placeholder:"Search records...",onChange:function(e){return h(e)}}),m.map(function(e){return(0,r.jsx)(l.az,{children:(0,r.jsx)(l.$n,{mb:.5,content:e.Name,icon:"user",onClick:function(){return t("Records",{target:e.uid})}})},e)})]})},f=function(e){(0,c.Oc)().act;var n,t=e.data.records,i=t.general,o=t.medical,a=t.security;switch(e.recordType){case"MED":n=(0,r.jsx)(l.wn,{level:2,title:"Medical Data",children:o?(0,r.jsxs)(l.Ki,{children:[(0,r.jsx)(l.Ki.Item,{label:"Blood Type",children:o.blood_type}),(0,r.jsx)(l.Ki.Item,{label:"Minor Disabilities",children:o.mi_dis}),(0,r.jsx)(l.Ki.Item,{label:"Details",children:o.mi_dis_d}),(0,r.jsx)(l.Ki.Item,{label:"Major Disabilities",children:o.ma_dis}),(0,r.jsx)(l.Ki.Item,{label:"Details",children:o.ma_dis_d}),(0,r.jsx)(l.Ki.Item,{label:"Allergies",children:o.alg}),(0,r.jsx)(l.Ki.Item,{label:"Details",children:o.alg_d}),(0,r.jsx)(l.Ki.Item,{label:"Current Diseases",children:o.cdi}),(0,r.jsx)(l.Ki.Item,{label:"Details",children:o.cdi_d}),(0,r.jsx)(l.Ki.Item,{label:"Important Notes",preserveWhitespace:!0,children:o.notes})]}):(0,r.jsx)(l.az,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":n=(0,r.jsx)(l.wn,{level:2,title:"Security Data",children:a?(0,r.jsxs)(l.Ki,{children:[(0,r.jsx)(l.Ki.Item,{label:"Criminal Status",children:a.criminal}),(0,r.jsx)(l.Ki.Item,{label:"Minor Crimes",children:a.mi_crim}),(0,r.jsx)(l.Ki.Item,{label:"Details",children:a.mi_crim_d}),(0,r.jsx)(l.Ki.Item,{label:"Major Crimes",children:a.ma_crim}),(0,r.jsx)(l.Ki.Item,{label:"Details",children:a.ma_crim_d}),(0,r.jsx)(l.Ki.Item,{label:"Important Notes",preserveWhitespace:!0,children:a.notes})]}):(0,r.jsx)(l.az,{color:"red",bold:!0,children:"Security record lost!"})})}return(0,r.jsxs)(l.az,{children:[(0,r.jsx)(l.wn,{title:"General Data",children:i?(0,r.jsxs)(l.Ki,{children:[(0,r.jsx)(l.Ki.Item,{label:"Name",children:i.name}),(0,r.jsx)(l.Ki.Item,{label:"Sex",children:i.sex}),(0,r.jsx)(l.Ki.Item,{label:"Species",children:i.species}),(0,r.jsx)(l.Ki.Item,{label:"Age",children:i.age}),(0,r.jsx)(l.Ki.Item,{label:"Rank",children:i.rank}),(0,r.jsx)(l.Ki.Item,{label:"Fingerprint",children:i.fingerprint}),(0,r.jsx)(l.Ki.Item,{label:"Physical Status",children:i.p_stat}),(0,r.jsx)(l.Ki.Item,{label:"Mental Status",children:i.m_stat})]}):(0,r.jsx)(l.az,{color:"red",bold:!0,children:"General record lost!"})}),n]})}},2264:function(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>c});var r=t(8138),i=t(4530);function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(4530);function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(7790),o=t(2864);function l(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.temp;if(a){var c,s,u=l({},a.style,!0);return(0,r.jsx)(i.IC,(c=function(e){for(var n=1;nc});var r=t(8138),i=t(7790),o=t(9582),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)().data,t=n.total_earnings,c=n.total_energy;return n.name,(0,r.jsx)(a.p8,{title:"Power Transmission Laser",width:"310",height:"485",children:(0,r.jsxs)(a.p8.Content,{children:[(0,r.jsx)(s,{}),(0,r.jsx)(u,{}),(0,r.jsx)(d,{}),(0,r.jsxs)(i.IC,{success:!0,children:["Earned Credits : ",t?(0,o.up)(t):0]}),(0,r.jsxs)(i.IC,{success:!0,children:["Energy Sold : ",c?(0,o.QL)(c,0,"J"):"0 J"]})]})})},s=function(e){var n=(0,l.Oc)().data,t=n.max_capacity,a=n.held_power,c=n.input_total,s=n.max_grid_load;return(0,r.jsxs)(i.wn,{title:"Status",children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Reserve energy",children:a?(0,o.QL)(a,0,"J"):"0 J"})}),(0,r.jsx)(i.z2,{mt:"0.5em",mb:"0.5em",ranges:{good:[.8,1/0],average:[.5,.8],bad:[-1/0,.5]},value:a/t}),(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Grid Saturation"})}),(0,r.jsx)(i.z2,{mt:"0.5em",ranges:{good:[.8,1/0],average:[.5,.8],bad:[-1/0,.5]},value:Math.min(c,t-a)/s})]})},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=a.input_total,s=a.accepting_power,u=a.sucking_power,d=a.input_number,f=a.power_format;return(0,r.jsxs)(i.wn,{title:"Input Controls",children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Input Circuit",buttons:(0,r.jsx)(i.$n,{icon:"power-off",color:s?"green":"red",onClick:function(){return t("toggle_input")},children:s?"Enabled":"Disabled"}),children:(0,r.jsx)(i.az,{color:u&&"good"||s&&"average"||"bad",children:u&&"Online"||s&&"Idle"||"Offline"})}),(0,r.jsx)(i.Ki.Item,{label:"Input Level",children:c?(0,o.d5)(c):"0 W"})]}),(0,r.jsxs)(i.az,{mt:"0.5em",children:[(0,r.jsx)(i.Q7,{mr:"0.5em",animated:!0,size:1.25,inline:!0,step:1,stepPixelSize:2,minValue:0,maxValue:999,value:d,onChange:function(e){return t("set_input",{set_input:e})}}),(0,r.jsx)(i.$n,{selected:1===f,onClick:function(){return t("inputW")},children:"W"}),(0,r.jsx)(i.$n,{selected:1e3===f,onClick:function(){return t("inputKW")},children:"KW"}),(0,r.jsx)(i.$n,{selected:1e6===f,onClick:function(){return t("inputMW")},children:"MW"}),(0,r.jsx)(i.$n,{selected:1e9===f,onClick:function(){return t("inputGW")},children:"GW"})]})]})},d=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=a.output_total,s=a.firing,u=a.accepting_power,d=a.output_number,f=a.output_multiplier,h=a.target,m=a.held_power;return(0,r.jsxs)(i.wn,{title:"Output Controls",children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Laser Circuit",buttons:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.$n,{icon:"crosshairs",color:""===h?"green":"red",onClick:function(){return t("target")},children:h}),(0,r.jsx)(i.$n,{icon:"power-off",color:s?"green":"red",disabled:!s&&m<1e6,onClick:function(){return t("toggle_output")},children:s?"Enabled":"Disabled"})]}),children:(0,r.jsx)(i.az,{color:s&&"good"||u&&"average"||"bad",children:s&&"Online"||u&&"Idle"||"Offline"})}),(0,r.jsx)(i.Ki.Item,{label:"Output Level",children:c?c<0?"-"+(0,o.d5)(Math.abs(c)):(0,o.d5)(c):"0 W"})]}),(0,r.jsxs)(i.az,{mt:"0.5em",children:[(0,r.jsx)(i.Q7,{mr:"0.5em",size:1.25,animated:!0,inline:!0,step:1,stepPixelSize:2,minValue:0,maxValue:999,ranges:{bad:[-1/0,-1]},value:d,onChange:function(e){return t("set_output",{set_output:e})}}),(0,r.jsx)(i.$n,{selected:1e6===f,onClick:function(){return t("outputMW")},children:"MW"}),(0,r.jsx)(i.$n,{selected:1e9===f,onClick:function(){return t("outputGW")},children:"GW"})]})]})}},2817:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_atmosphere:()=>l});var r=t(8138),i=t(2864),o=t(7276),l=function(e){var n=(0,i.Oc)(),t=(n.act,n.data);return(0,r.jsx)(o.AtmosScan,{aircontents:t.app_data.aircontents})}},7716:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_bioscan:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).app_data,l=t.holder,a=t.dead,c=t.health,s=t.brute,u=t.oxy,d=t.tox,f=t.burn;return(t.temp,l)?(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:a?(0,r.jsx)(i.az,{bold:!0,color:"red",children:"Dead"}):(0,r.jsx)(i.az,{bold:!0,color:"green",children:"Alive"})}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{min:0,max:1,value:c/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,r.jsx)(i.Ki.Item,{label:"Oxygen Damage",children:(0,r.jsx)(i.az,{color:"blue",children:u})}),(0,r.jsx)(i.Ki.Item,{label:"Toxin Damage",children:(0,r.jsx)(i.az,{color:"green",children:d})}),(0,r.jsx)(i.Ki.Item,{label:"Burn Damage",children:(0,r.jsx)(i.az,{color:"orange",children:f})}),(0,r.jsx)(i.Ki.Item,{label:"Brute Damage",children:(0,r.jsx)(i.az,{color:"red",children:s})})]}):(0,r.jsx)(i.az,{color:"red",children:"Error: No biological host found."})}},1091:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_directives:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.app_data,a=l.master,c=l.dna,s=l.prime,u=l.supplemental;return(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Master",children:a?a+" ("+c+")":"None"}),a&&(0,r.jsx)(i.Ki.Item,{label:"Request DNA",children:(0,r.jsx)(i.$n,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){return t("getdna")}})}),(0,r.jsx)(i.Ki.Item,{label:"Prime Directive",children:s}),(0,r.jsx)(i.Ki.Item,{label:"Supplemental Directives",children:u||"None"})]}),(0,r.jsx)(i.az,{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,r.jsx)(i.az,{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."})]})}},9316:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_doorjack:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n,t,l=(0,o.Oc)(),a=l.act,c=l.data.app_data,s=c.cable,u=c.machine,d=c.inprogress,f=c.progress;return c.aborted,n=u?(0,r.jsx)(i.$n,{selected:!0,content:"Connected"}):(0,r.jsx)(i.$n,{content:s?"Extended":"Retracted",color:s?"orange":null,onClick:function(){return a("cable")}}),u&&(t=(0,r.jsxs)(i.Ki.Item,{label:"Hack",children:[(0,r.jsx)(i.z2,{ranges:{good:[67,1/0],average:[33,67],bad:[-1/0,33]},value:f,maxValue:100}),d?(0,r.jsx)(i.$n,{mt:1,color:"red",content:"Abort",onClick:function(){return a("cancel")}}):(0,r.jsx)(i.$n,{mt:1,content:"Start",onClick:function(){return a("jack")}})]})),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Cable",children:n}),t]})}},5042:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_main_menu:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.app_data,a=l.available_software,c=l.installed_software,s=l.installed_toggles,u=l.available_ram,d=l.emotions,f=l.current_emotion,h=l.speech_verbs,m=l.current_speech_verb,p=l.available_chassises,x=l.current_chassis,g=[];return c.map(function(e){return g[e.key]=e.name}),s.map(function(e){return g[e.key]=e.name}),(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Available RAM",children:u}),(0,r.jsxs)(i.Ki.Item,{label:"Available Software",children:[a.filter(function(e){return!g[e.key]}).map(function(e){return(0,r.jsx)(i.$n,{content:e.name+" ("+e.cost+")",icon:e.icon,disabled:e.cost>u,onClick:function(){return t("purchaseSoftware",{key:e.key})}},e.key)}),0===a.filter(function(e){return!g[e.key]}).length&&"No software available!"]}),(0,r.jsxs)(i.Ki.Item,{label:"Installed Software",children:[c.filter(function(e){return"mainmenu"!==e.key}).map(function(e){return(0,r.jsx)(i.$n,{content:e.name,icon:e.icon,onClick:function(){return t("startSoftware",{software_key:e.key})}},e.key)}),0===c.length&&"No software installed!"]}),(0,r.jsxs)(i.Ki.Item,{label:"Installed Toggles",children:[s.map(function(e){return(0,r.jsx)(i.$n,{content:e.name,icon:e.icon,selected:e.active,onClick:function(){return t("setToggle",{toggle_key:e.key})}},e.key)}),0===s.length&&"No toggles installed!"]}),(0,r.jsx)(i.Ki.Item,{label:"Select Emotion",children:d.map(function(e){return(0,r.jsx)(i.$n,{content:e.name,selected:e.id===f,onClick:function(){return t("setEmotion",{emotion:e.id})}},e.id)})}),(0,r.jsx)(i.Ki.Item,{label:"Select Speaking State",children:h.map(function(e){return(0,r.jsx)(i.$n,{content:e.name,selected:e.name===m,onClick:function(){return t("setSpeechStyle",{speech_state:e.name})}},e.id)})}),(0,r.jsx)(i.Ki.Item,{label:"Select Chassis Type",children:p.map(function(e){return(0,r.jsx)(i.$n,{content:e.name,selected:e.icon===x,onClick:function(){return t("setChassis",{chassis_to_change:e.icon})}},e.id)})})]})})}},702:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_manifest:()=>l});var r=t(8138),i=t(2864),o=t(2639),l=function(e){var n=(0,i.Oc)(),t=(n.act,n.data);return(0,r.jsx)(o.CrewManifest,{data:t.app_data})}},9513:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_medrecords:()=>l});var r=t(8138),i=t(2864),o=t(4455),l=function(e){var n=(0,i.Oc)().data;return(0,r.jsx)(o.SimpleRecords,{data:n.app_data,recordType:"MED"})}},984:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_messenger:()=>l});var r=t(8138),i=t(2864),o=t(3260),l=function(e){var n=(0,i.Oc)(),t=(n.act,n.data);return t.app_data.active_convo?(0,r.jsx)(o.ActiveConversation,{data:t.app_data}):(0,r.jsx)(o.MessengerList,{data:t.app_data})}},9028:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_radio:()=>a});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data.app_data,c=a.minFrequency,s=a.maxFrequency,u=a.frequency,d=a.broadcasting;return(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Frequency",children:[(0,r.jsx)(i.Q7,{animate:!0,step:.2,stepPixelSize:6,minValue:c/10,maxValue:s/10,value:u/10,format:function(e){return(0,o.Mg)(e,1)},onChange:function(e){return t("freq",{freq:e})}}),(0,r.jsx)(i.$n,{tooltip:"Reset",icon:"undo",onClick:function(){return t("freq",{freq:"145.9"})}})]}),(0,r.jsx)(i.Ki.Item,{label:"Broadcast Nearby Speech",children:(0,r.jsx)(i.$n,{onClick:function(){return t("toggleBroadcast")},selected:d,content:d?"Enabled":"Disabled"})})]})}},6838:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_secrecords:()=>l});var r=t(8138),i=t(2864),o=t(4455),l=function(e){var n=(0,i.Oc)().data;return(0,r.jsx)(o.SimpleRecords,{data:n.app_data,recordType:"SEC"})}},4244:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_signaler:()=>l});var r=t(8138),i=t(2864),o=t(9298),l=function(e){var n=(0,i.Oc)(),t=(n.act,n.data);return(0,r.jsx)(o.Signaler,{data:t.app_data})}},8539:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_atmos_scan:()=>l});var r=t(8138),i=t(2864),o=t(7276),l=function(e){var n=(0,i.Oc)().data;return(0,r.jsx)(o.AtmosScan,{aircontents:n.aircontents})}},5246:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_cookbook:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tl});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.games;return(0,r.jsx)(i.az,{children:l.map(function(e){return(0,r.jsxs)(i.$n,{width:"33%",textAlign:"center",color:"transparent",onClick:function(){return t("play",{id:e.id})},children:[(0,r.jsx)(i.In.Stack,{height:"96px",children:"Minesweeper"===e.name?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.In,{ml:"4px",mt:"10px",name:"flag",size:"6",color:"gray",rotation:30}),(0,r.jsx)(i.In,{ml:"20px",mt:"4px",name:"bomb",size:"3",color:"black"})]}):(0,r.jsx)(i.In,{name:"gamepad",size:"6"})}),(0,r.jsx)(i.az,{children:e.name})]},e.name)})})}},3606:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_janitor:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).janitor,l=t.user_loc,a=t.mops,c=t.buckets,s=t.cleanbots,u=t.carts,d=t.janicarts;return(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Current Location",children:[l.x,",",l.y]}),a&&(0,r.jsx)(i.Ki.Item,{label:"Mop Locations",children:a.map(function(e){return(0,r.jsxs)(i.az,{children:[e.x,",",e.y," (",e.dir,") - ",e.status]},e)})}),c&&(0,r.jsx)(i.Ki.Item,{label:"Mop Bucket Locations",children:c.map(function(e){return(0,r.jsxs)(i.az,{children:[e.x,",",e.y," (",e.dir,") - [",e.volume,"/",e.max_volume,"]"]},e)})}),s&&(0,r.jsx)(i.Ki.Item,{label:"Cleanbot Locations",children:s.map(function(e){return(0,r.jsxs)(i.az,{children:[e.x,",",e.y," (",e.dir,") - ",e.status]},e)})}),u&&(0,r.jsx)(i.Ki.Item,{label:"Janitorial Cart Locations",children:u.map(function(e){return(0,r.jsxs)(i.az,{children:[e.x,",",e.y," (",e.dir,") - [",e.volume,"/",e.max_volume,"]"]},e)})}),d&&(0,r.jsx)(i.Ki.Item,{label:"Janicart Locations",children:d.map(function(e){return(0,r.jsxs)(i.az,{children:[e.x,",",e.y," (",e.direction_from_user,")"]},e)})})]})}},2526:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_main_menu:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.owner,c=l.ownjob,s=l.idInserted,u=l.categories,d=l.pai,f=l.notifying;return(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Owner",color:"average",children:[a,", ",c]}),(0,r.jsx)(i.Ki.Item,{label:"ID",children:(0,r.jsx)(i.$n,{icon:"sync",content:"Update PDA Info",disabled:!s,onClick:function(){return t("UpdateInfo")}})})]})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Functions",children:(0,r.jsx)(i.Ki,{children:u.map(function(e){var n=l.apps[e];return n&&n.length?(0,r.jsx)(i.Ki.Item,{label:e,children:n.map(function(e){return(0,r.jsx)(i.$n,{icon:e.uid in f?e.notify_icon:e.icon,iconSpin:e.uid in f,color:e.uid in f?"red":"transparent",content:e.name,onClick:function(){return t("StartProgram",{program:e.uid})}},e.uid)})},e):null})})})}),(0,r.jsx)(i.BJ.Item,{children:!!d&&(0,r.jsxs)(i.wn,{title:"pAI",children:[(0,r.jsx)(i.$n,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){return t("pai",{option:1})}}),(0,r.jsx)(i.$n,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){return t("pai",{option:2})}})]})})]})}},4642:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_manifest:()=>l});var r=t(8138),i=t(2864),o=t(2639),l=function(e){var n=(0,i.Oc)();return n.act,n.data,(0,r.jsx)(o.CrewManifest,{})}},1212:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_medical:()=>l});var r=t(8138),i=t(2864),o=t(4455),l=function(e){var n=(0,i.Oc)().data;return(0,r.jsx)(o.SimpleRecords,{data:n,recordType:"MED"})}},3260:function(e,n,t){"use strict";t.r(n),t.d(n,{ActiveConversation:()=>d,MessengerList:()=>f,pda_messenger:()=>u});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(2864);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tu,MineSweeperLeaderboard:()=>d,pda_minesweeper:()=>s});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(2264);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tl});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).mulebot.active;return(0,r.jsx)(i.az,{children:t?(0,r.jsx)(c,{}):(0,r.jsx)(a,{})})},a=function(e){var n=(0,o.Oc)(),t=n.act;return n.data.mulebot.bots.map(function(e){return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{content:e.Name,icon:"cog",onClick:function(){return t("control",{bot:e.uid})}})},e.Name)})},c=function(e){var n,t=(0,o.Oc)(),l=t.act,a=t.data.mulebot,c=a.botstatus,s=a.active,u=c.mode,d=c.loca,f=c.load,h=c.powr,m=c.dest,p=c.home,x=c.retn,g=c.pick;switch(u){case 0:n="Ready";break;case 1:n="Loading/Unloading";break;case 2:case 12:n="Navigating to delivery location";break;case 3:n="Navigating to Home";break;case 4:n="Waiting for clear path";break;case 5:case 6:n="Calculating navigation path";break;case 7:n="Unable to locate destination";break;default:n=u}return(0,r.jsxs)(i.wn,{title:s,children:[-1===u&&(0,r.jsx)(i.az,{color:"red",bold:!0,children:"Waiting for response..."}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Location",children:d}),(0,r.jsx)(i.Ki.Item,{label:"Status",children:n}),(0,r.jsxs)(i.Ki.Item,{label:"Power",children:[h,"%"]}),(0,r.jsx)(i.Ki.Item,{label:"Home",children:p}),(0,r.jsx)(i.Ki.Item,{label:"Destination",children:(0,r.jsx)(i.$n,{content:m?m+" (Set)":"None (Set)",onClick:function(){return l("target")}})}),(0,r.jsx)(i.Ki.Item,{label:"Current Load",children:(0,r.jsx)(i.$n,{content:f?f+" (Unload)":"None",disabled:!f,onClick:function(){return l("unload")}})}),(0,r.jsx)(i.Ki.Item,{label:"Auto Pickup",children:(0,r.jsx)(i.$n,{content:g?"Yes":"No",selected:g,onClick:function(){return l("set_pickup_type",{autopick:+!g})}})}),(0,r.jsx)(i.Ki.Item,{label:"Auto Return",children:(0,r.jsx)(i.$n,{content:x?"Yes":"No",selected:x,onClick:function(){return l("set_auto_return",{autoret:+!x})}})}),(0,r.jsxs)(i.Ki.Item,{label:"Controls",children:[(0,r.jsx)(i.$n,{content:"Stop",icon:"stop",onClick:function(){return l("stop")}}),(0,r.jsx)(i.$n,{content:"Proceed",icon:"play",onClick:function(){return l("start")}}),(0,r.jsx)(i.$n,{content:"Return Home",icon:"home",onClick:function(){return l("home")}})]})]})]})}},9749:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_nanobank:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tl});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.note;return(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.wn,{children:l}),(0,r.jsx)(i.$n,{icon:"pen",onClick:function(){return t("Edit")},content:"Edit"})]})}},4702:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_power:()=>l});var r=t(8138),i=t(2864),o=t(1784),l=function(e){var n=(0,i.Oc)();return n.act,n.data,(0,r.jsx)(o.PowerMonitorMainContent,{})}},6651:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_secbot:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).beepsky.active;return(0,r.jsx)(i.az,{children:t?(0,r.jsx)(c,{}):(0,r.jsx)(a,{})})},a=function(e){var n=(0,o.Oc)(),t=n.act;return n.data.beepsky.bots.map(function(e){return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{content:e.Name,icon:"cog",onClick:function(){return t("control",{bot:e.uid})}})},e.Name)})},c=function(e){var n,t=(0,o.Oc)(),l=t.act,a=t.data.beepsky,c=a.botstatus,s=a.active,u=c.mode,d=c.loca;switch(u){case 0:n="Ready";break;case 1:n="Apprehending target";break;case 2:case 3:n="Arresting target";break;case 4:n="Starting patrol";break;case 5:n="On patrol";break;case 6:n="Responding to summons"}return(0,r.jsxs)(i.wn,{title:s,children:[-1===u&&(0,r.jsx)(i.az,{color:"red",bold:!0,children:"Waiting for response..."}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Location",children:d}),(0,r.jsx)(i.Ki.Item,{label:"Status",children:n}),(0,r.jsxs)(i.Ki.Item,{label:"Controls",children:[(0,r.jsx)(i.$n,{content:"Go",icon:"play",onClick:function(){return l("go")}}),(0,r.jsx)(i.$n,{content:"Stop",icon:"stop",onClick:function(){return l("stop")}}),(0,r.jsx)(i.$n,{content:"Summon",icon:"arrow-down",onClick:function(){return l("summon")}})]})]})]})}},7155:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_security:()=>l});var r=t(8138),i=t(2864),o=t(4455),l=function(e){var n=(0,i.Oc)().data;return(0,r.jsx)(o.SimpleRecords,{data:n,recordType:"SEC"})}},7024:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_signaler:()=>l});var r=t(8138),i=t(2864),o=t(9298),l=function(e){var n=(0,i.Oc)(),t=(n.act,n.data);return(0,r.jsx)(o.Signaler,{data:t})}},7148:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_status_display:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.records;return(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Code",children:[(0,r.jsx)(i.$n,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){return t("Status",{statdisp:0})}}),(0,r.jsx)(i.$n,{color:"transparent",icon:"clock",content:"Evac ETA",onClick:function(){return t("Status",{statdisp:1})}}),(0,r.jsx)(i.$n,{color:"transparent",icon:"edit",content:"Message",onClick:function(){return t("Status",{statdisp:2})}}),(0,r.jsx)(i.$n,{color:"transparent",icon:"exclamation-triangle",content:"Red Alert",onClick:function(){return t("Status",{statdisp:3,alert:"redalert"})}}),(0,r.jsx)(i.$n,{color:"transparent",icon:"boxes",content:"NT Logo",onClick:function(){return t("Status",{statdisp:3,alert:"default"})}}),(0,r.jsx)(i.$n,{color:"transparent",icon:"lock",content:"Lockdown",onClick:function(){return t("Status",{statdisp:3,alert:"lockdown"})}}),(0,r.jsx)(i.$n,{color:"transparent",icon:"biohazard",content:"Biohazard",onClick:function(){return t("Status",{statdisp:3,alert:"biohazard"})}})]}),(0,r.jsx)(i.Ki.Item,{label:"Message line 1",children:(0,r.jsx)(i.$n,{content:l.message1+" (set)",icon:"pen",onClick:function(){return t("SetMessage",{msgnum:1})}})}),(0,r.jsx)(i.Ki.Item,{label:"Message line 2",children:(0,r.jsx)(i.$n,{content:l.message2+" (set)",icon:"pen",onClick:function(){return t("SetMessage",{msgnum:2})}})})]})})}},7632:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_supplyrecords:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).supply,l=t.shuttle_loc,a=t.shuttle_time,c=t.shuttle_moving,s=t.approved,u=t.approved_count,d=t.requests,f=t.requests_count;return(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Shuttle Status",children:c?(0,r.jsxs)(i.az,{children:["In transit ",a]}):(0,r.jsx)(i.az,{children:l})})}),(0,r.jsx)(i.wn,{mt:1,title:"Requested Orders",children:f>0&&d.map(function(e){return(0,r.jsxs)(i.az,{children:["#",e.Number,' - "',e.Name,'" for "',e.OrderedBy,'"']},e)})}),(0,r.jsx)(i.wn,{title:"Approved Orders",children:u>0&&s.map(function(e){return(0,r.jsxs)(i.az,{children:["#",e.Number,' - "',e.Name,'" for "',e.ApprovedBy,'"']},e)})})]})}},9136:function(e,n,t){"use strict";t.d(n,{P:()=>d});var r=t(8138),i=t(4530),o=t(1128),l=t(5490),a=t(3375);function c(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function d(e){var n=e.className,t=e.theme,i=void 0===t?"nanotrasen":t,o=e.children,d=u(e,["className","theme","children"]);return document.documentElement.className="theme-".concat(i),(0,r.jsx)("div",{className:"theme-"+i,children:(0,r.jsx)("div",s(c({className:(0,l.Ly)(["Layout",n,(0,a.WP)(d)])},(0,a.Fl)(d)),{children:o}))})}d.Content=function(e){var n=e.className,t=e.scrollable,d=e.children,f=u(e,["className","scrollable","children"]),h=(0,i.useRef)(null);return(0,i.useEffect)(function(){var e=h.current;return e&&t&&(0,o.tk)(e),function(){e&&t&&(0,o.WK)(e)}},[]),(0,r.jsx)("div",s(c({className:(0,l.Ly)(["Layout__content",t&&"Layout__content--scrollable",n,(0,a.WP)(f)]),ref:h},(0,a.Fl)(f)),{children:d}))}},2372:function(e,n,t){"use strict";t(8138),t(7790),t(5490),t(2864),t(1956),t(9136)},7655:function(e,n,t){"use strict";t.d(n,{c:()=>s});var r=t(8138),i=t(7790),o=t(2316),l=t(5490),a=t(3268),c=t(2864);function s(e){var n=e.className,t=e.title,s=e.status,u=e.canClose,d=e.fancy,f=e.onDragStart,h=e.onClose,m=e.children;c.J3.dispatch;var p="string"==typeof t&&t===t.toLowerCase()&&(0,a.Sn)(t)||t;return(0,r.jsxs)("div",{className:(0,l.Ly)(["TitleBar",n]),children:[(0,r.jsx)("div",{className:"TitleBar__dragZone",onMouseDown:function(e){return d&&f&&f(e)}}),void 0===s?(0,r.jsx)(i.In,{className:"TitleBar__statusIcon",name:"tools",opacity:.5}):(0,r.jsx)(i.In,{className:"TitleBar__statusIcon",color:function(e){switch(e){case o.KA:return"good";case o.bz:return"average";case o.KS:default:return"bad"}}(s),name:s===o.KS?"eye-slash":"eye"}),(0,r.jsx)("div",{className:"TitleBar__title",children:p}),!!m&&(0,r.jsx)("div",{className:"TitleBar__buttons",children:m}),!1,!!(d&&u)&&(0,r.jsx)("div",{className:"TitleBar__close",onClick:h,children:(0,r.jsx)(i.In,{className:"TitleBar__close--icon",name:"times"})})]})}t(3123)},7334:function(e,n,t){"use strict";t.d(n,{p:()=>b});var r=t(8138),i=t(4530),o=t(2316),l=t(5490),a=t(3268),c=t(2864),s=t(1956),u=t(6400),d=t(2533),f=t(9136),h=t(7655);function m(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["className","fitted","children"]);return(0,r.jsx)(f.P.Content,x(p({className:(0,l.Ly)(["Window__content",n])},o),{children:t&&i||(0,r.jsx)("div",{className:"Window__contentPadding",children:i})}))}},3384:function(e,n,t){"use strict";t.d(n,{p8:()=>r.p}),t(9136),t(2372);var r=t(7334)},2533:function(e,n,t){"use strict";function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tl,v:()=>a});var o=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Generic",t=arguments.length,r=Array(t>2?t-2:0),o=2;o=2){var l=[n].concat(i(r)).map(function(e){var n;return"string"==typeof e?e:(null!=(n=Error)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n)?e.stack||String(e):JSON.stringify(e)}).filter(function(e){return e}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",ns:n,message:l})}},l=function(e){return{debug:function(){for(var n=arguments.length,t=Array(n),r=0;rc,Su:()=>s,XX:()=>u});var r,i=t(9227),o=t(1843);(0,t(2533).h)("renderer");var l=!0,a=!1;function c(){l=l||"resumed",a=!1}function s(){a=!0}function u(e){if(i.k.mark("render/start"),!r){var n=document.getElementById("react-root");r=(0,o.createRoot)(n)}r.render(e),i.k.mark("render/finish"),!a&&l&&(l=!1)}},483:function(e,n,t){"use strict";t.d(n,{l:()=>f,z:()=>s});var r=t(8138),i=t(7790),o=t(2864),l=t(1956),a=t(3384),c=t(4808),s=function(e,n){return function(){return(0,r.jsx)(a.p8,{children:(0,r.jsxs)(a.p8.Content,{scrollable:!0,children:["notFound"===e&&(0,r.jsxs)("div",{children:["Interface ",(0,r.jsx)("b",{children:n})," was not found."]}),"missingExport"===e&&(0,r.jsxs)("div",{children:["Interface ",(0,r.jsx)("b",{children:n})," is missing an export."]})]})})}};function u(){return(0,r.jsx)(a.p8,{children:(0,r.jsx)(a.p8.Content,{scrollable:!0})})}function d(){return(0,r.jsx)(a.p8,{height:130,title:"Loading",width:150,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(i.BJ,{align:"center",fill:!0,justify:"center",vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.In,{color:"blue",name:"toolbox",spin:!0,size:4})}),(0,r.jsx)(i.BJ.Item,{children:"Please wait..."})]})})})}function f(){var e,n=(0,o.Oc)(),t=n.suspended,r=n.config;if((0,l.Lo)().kitchenSink,t)return u;if(null==r?void 0:r.refreshing)return d;for(var i=null==r?void 0:r.interface,a=[function(e){return"./".concat(e,".tsx")},function(e){return"./".concat(e,".jsx")},function(e){return"./".concat(e,"/index.tsx")},function(e){return"./".concat(e,"/index.jsx")}];!e&&a.length>0;){var f=a.shift()(i);try{e=c(f)}catch(e){if("MODULE_NOT_FOUND"!==e.code)throw e}}if(!e)return s("notFound",i);var h=e[i];return h||s("missingExport",i)}},7997:function(e,n,t){"use strict";t.r(n),t.d(n,{meta:()=>c});var r=t(8138),i=t(4530),o=t(7790),l=t(2533);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(1699),o=t(7790),l=t(9582),a={title:"Storage",render:function(){return(0,r.jsx)(c,{})}},c=function(e){return window.localStorage?(0,r.jsx)(o.wn,{title:"Local Storage",buttons:(0,r.jsx)(o.$n,{icon:"recycle",onClick:function(){localStorage.clear(),i.IG.clear()},children:"Clear"}),children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Keys in use",children:localStorage.length}),(0,r.jsx)(o.Ki.Item,{label:"Remaining space",children:(0,l.QL)(localStorage.remainingSpace,0,"B")})]})}):(0,r.jsx)(o.IC,{children:"Local storage is not available."})}},9615:function(e,n,t){"use strict";t.r(n),t.d(n,{meta:()=>c});var r=t(8138),i=t(4530),o=t(7790),l=t(7218);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tl,sendMessage:()=>o,setupHotReloading:()=>a,subscribe:()=>i});let r=[];function i(e){r.push(e)}function o(e){}function l(e,n){}function a(){}}},r={};function i(e){var n=r[e];if(void 0!==n)return n.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.m=t,i.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return i.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(t,r){if(1&r&&(t=this(t)),8&r||"object"==typeof t&&t&&(4&r&&t.__esModule||16&r&&"function"==typeof t.then))return t;var o=Object.create(null);i.r(o);var l={};e=e||[null,n({}),n([]),n(n)];for(var a=2&r&&t;"object"==typeof a&&!~e.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach(e=>{l[e]=()=>t[e]});return l.default=()=>t,i.d(o,l),o},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.k=e=>""+e+".css",i.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.p="/",i.rv=()=>"1.5.8",i.ruid="bundler=rspack@1.5.8",(()=>{"use strict";var e,n=i(8138);i(5810),i(8232),i(5153),i(4620),i(9258),i(3001),i(4648),i(5616),i(2186),i(6070),i(8523),i(4372),i(8500),i(9782),i(9770);var t=i(9227),r=i(1128),o=i(1874),l=i(2864),a=i(4530),c=i(8595),s=i(2533);function u(){return(0,a.useEffect)(function(){0===Object.keys(Byond.iconRefMap).length&&(function e(n,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;return fetch(n,t).catch(function(){return new Promise(function(i){setTimeout(function(){e(n,t,r).then(i)},r)})})})((0,c.l)("icon_ref_map.json")).then(function(e){return e.json()}).then(function(e){return Byond.iconRefMap=e}).catch(function(e){return s.v.log(e)})},[]),null}function d(){return(0,n.jsx)(a.Suspense,{fallback:null,children:(0,n.jsx)(u,{})})}function f(){var e=(0,i(483).l)(l.J3);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e,{}),(0,n.jsx)(d,{})]})}var h=function(){document.addEventListener("click",function(e){for(var n=e.target;;){if(!n||n===document.body)return;if("a"===String(n.tagName).toLowerCase())break;n=n.parentElement}var t=n.getAttribute("href")||"";if(!("?"===t.charAt(0)||t.startsWith("byond://"))){e.preventDefault();var r=t;r.toLowerCase().startsWith("www")&&(r="https://"+r),Byond.sendMessage({type:"openLink",url:r})}})},m=i(2901),p=i(5900);function x(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1?t-1:0),i=1;ie.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0]?arguments[0]:{},t=n.sideEffects,r=n.reducer,i=n.middleware,o=b([(0,p.HY)({debug:y.A$,backend:l.jB}),r]),a=void 0===t||t?w((null==i?void 0:i.pre)||[]).concat([c.h,l.pX],w((null==i?void 0:i.post)||[])):[],s=p.Tw.apply(void 0,w(a)),u=(0,p.y$)(o,s);return window.__store__=u,window.__augmentStack__=(e=u,function(n,t){(t=t||Error(n.split("\n")[0])).stack=t.stack||n,k.log("FatalError:",t);var r,i,o=e.getState(),l=null==o||null==(r=o.backend)?void 0:r.config;return n+"\nUser Agent: "+navigator.userAgent+"\nState: "+JSON.stringify({ckey:null==l||null==(i=l.client)?void 0:i.ckey,interface:null==l?void 0:l.interface,window:null==l?void 0:l.window})}),u}();!function e(){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):((0,l.H$)(_),(0,r.y4)(),(0,o.Bm)({keyUpVerb:"Key_Up",keyDownVerb:"Key_Down",verbParamsFn:function(e,n){return"".concat(e,' "').concat(n,'"')}}),h(),_.subscribe(function(){return(0,m.XX)((0,n.jsx)(f,{}))}),Byond.subscribe(function(e,n){return _.dispatch({type:e,payload:n})}))}()})()})(); \ No newline at end of file +(()=>{var e,n,t={222:function(e,n,t){var r={"./pai_atmosphere.jsx":"2817","./pai_bioscan.jsx":"7716","./pai_directives.jsx":"1091","./pai_doorjack.jsx":"9316","./pai_main_menu.jsx":"5042","./pai_manifest.jsx":"702","./pai_medrecords.jsx":"9513","./pai_messenger.jsx":"984","./pai_radio.jsx":"9028","./pai_secrecords.jsx":"6838","./pai_signaler.jsx":"4244"};function i(e){return t(o(e))}function o(e){if(!t.o(r,e)){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=222},2721:function(e,n,t){var r={"./pda_atmos_scan.jsx":"8539","./pda_cookbook.jsx":"5246","./pda_games.jsx":"2336","./pda_janitor.jsx":"3606","./pda_main_menu.jsx":"2526","./pda_manifest.jsx":"4642","./pda_medical.jsx":"1212","./pda_messenger.jsx":"3260","./pda_minesweeper.jsx":"3067","./pda_mule.jsx":"5030","./pda_nanobank.jsx":"9749","./pda_notes.jsx":"3194","./pda_power.jsx":"4702","./pda_secbot.jsx":"6651","./pda_security.jsx":"7155","./pda_signaler.jsx":"7024","./pda_status_display.jsx":"7148","./pda_supplyrecords.jsx":"7632"};function i(e){return t(o(e))}function o(e){if(!t.o(r,e)){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=2721},4808:function(e,n,t){var r={"./AICard":"9609","./AICard.jsx":"9609","./AIControllerDebugger":"1664","./AIControllerDebugger.tsx":"1664","./AIFixer":"8679","./AIFixer.jsx":"8679","./AIProgramPicker":"5233","./AIProgramPicker.jsx":"5233","./AIResourceManagementConsole":"9991","./AIResourceManagementConsole.jsx":"9991","./APC":"731","./APC.jsx":"731","./ATM":"6181","./ATM.jsx":"6181","./AccountsUplinkTerminal":"4558","./AccountsUplinkTerminal.jsx":"4558","./AdminAntagMenu":"3840","./AdminAntagMenu.jsx":"3840","./AgentCard":"2794","./AgentCard.tsx":"2794","./AiAirlock":"8706","./AiAirlock.jsx":"8706","./AirAlarm":"5486","./AirAlarm.jsx":"5486","./AirlockAccessController":"6962","./AirlockAccessController.jsx":"6962","./AirlockElectronics":"9281","./AirlockElectronics.tsx":"9281","./AlertModal":"934","./AlertModal.tsx":"934","./AppearanceChanger":"6473","./AppearanceChanger.jsx":"6473","./ArcadeBattle":"6085","./ArcadeBattle.tsx":"6085","./AtmosAlertConsole":"3438","./AtmosAlertConsole.jsx":"3438","./AtmosControl":"4788","./AtmosControl.jsx":"4788","./AtmosFilter":"1937","./AtmosFilter.jsx":"1937","./AtmosMixer":"7440","./AtmosMixer.jsx":"7440","./AtmosPump":"7897","./AtmosPump.jsx":"7897","./AtmosTankControl":"1164","./AtmosTankControl.jsx":"1164","./AtmosTemperatureGate":"8340","./AtmosTemperatureGate.jsx":"8340","./AugmentMenu":"6561","./AugmentMenu.jsx":"6561","./Autolathe":"8762","./Autolathe.tsx":"8762","./BioChipPad":"9766","./BioChipPad.jsx":"9766","./Biogenerator":"9968","./Biogenerator.jsx":"9968","./BloomEdit":"3764","./BloomEdit.jsx":"3764","./BlueSpaceArtilleryControl":"7166","./BlueSpaceArtilleryControl.jsx":"7166","./BluespaceTap":"8128","./BluespaceTap.jsx":"8128","./BodyScanner":"6807","./BodyScanner.jsx":"6807","./BookBinder":"2790","./BookBinder.jsx":"2790","./BotCall":"1326","./BotCall.jsx":"1326","./BotClean":"9091","./BotClean.jsx":"9091","./BotFloor":"3578","./BotFloor.jsx":"3578","./BotHonk":"5144","./BotHonk.jsx":"5144","./BotMed":"2078","./BotMed.jsx":"2078","./BotMule":"881","./BotMule.jsx":"881","./BotSecurity":"752","./BotSecurity.jsx":"752","./BrigCells":"2850","./BrigCells.jsx":"2850","./BrigTimer":"9478","./BrigTimer.jsx":"9478","./BugReportForm":"6993","./BugReportForm.tsx":"6993","./CameraConsole":"9835","./CameraConsole.tsx":"9835","./Canister":"2094","./Canister.jsx":"2094","./CardComputer":"991","./CardComputer/":"991","./CardComputer/auth_block":"1487","./CardComputer/auth_block.tsx":"1487","./CardComputer/card_details":"7542","./CardComputer/card_details.tsx":"7542","./CardComputer/index":"991","./CardComputer/index.tsx":"991","./CardComputer/job_priority":"4287","./CardComputer/job_priority.tsx":"4287","./CardComputer/job_transfer":"6530","./CardComputer/job_transfer.tsx":"6530","./CardComputer/records_log":"9490","./CardComputer/records_log.tsx":"9490","./CardComputer/types":"1488","./CardComputer/types.tsx":"1488","./CargoConsole":"6466","./CargoConsole.jsx":"6466","./Chameleon":"6205","./Chameleon.tsx":"6205","./ChangelogView":"9072","./ChangelogView.jsx":"9072","./CheckboxListInputModal":"6707","./CheckboxListInputModal.tsx":"6707","./ChemDispenser":"8573","./ChemDispenser.jsx":"8573","./ChemHeater":"6277","./ChemHeater.jsx":"6277","./ChemMaster":"9306","./ChemMaster.tsx":"9306","./CloningConsole":"2636","./CloningConsole.jsx":"2636","./CloningPod":"1558","./CloningPod.jsx":"1558","./CoinMint":"1276","./CoinMint.tsx":"1276","./ColorPickerModal":"1572","./ColorPickerModal.tsx":"1572","./ColourMatrixTester":"6851","./ColourMatrixTester.jsx":"6851","./CommunicationsComputer":"5325","./CommunicationsComputer.jsx":"5325","./CompostBin":"6185","./CompostBin.jsx":"6185","./Contractor":"4868","./Contractor.jsx":"4868","./ConveyorSwitch":"3510","./ConveyorSwitch.jsx":"3510","./CrewMonitor":"6714","./CrewMonitor.jsx":"6714","./Cryo":"2306","./Cryo.jsx":"2306","./CryopodConsole":"2394","./CryopodConsole.jsx":"2394","./DNAModifier":"3372","./DNAModifier.tsx":"3372","./DanceMachine":"4283","./DanceMachine.tsx":"4283","./DecalPainter":"5391","./DecalPainter.tsx":"5391","./DestinationTagger":"3883","./DestinationTagger.jsx":"3883","./DisposalBin":"6381","./DisposalBin.jsx":"6381","./DnaVault":"2908","./DnaVault.jsx":"2908","./DroneConsole":"2480","./DroneConsole.jsx":"2480","./EFTPOS":"1654","./EFTPOS.jsx":"1654","./ERTManager":"3991","./ERTManager.tsx":"3991","./EconomyManager":"9644","./EconomyManager.jsx":"9644","./Electropack":"6426","./Electropack.jsx":"6426","./Emojipedia":"9480","./Emojipedia.tsx":"9480","./EvolutionMenu":"9219","./EvolutionMenu.jsx":"9219","./ExosuitFabricator":"6251","./ExosuitFabricator.jsx":"6251","./ExperimentConsole":"9621","./ExperimentConsole.jsx":"9621","./ExternalAirlockController":"5091","./ExternalAirlockController.jsx":"5091","./FaxMachine":"6325","./FaxMachine.jsx":"6325","./FilingCabinet":"9788","./FilingCabinet.jsx":"9788","./FloorPainter":"26","./FloorPainter.jsx":"26","./GPS":"1561","./GPS.jsx":"1561","./GeneModder":"1259","./GeneModder.jsx":"1259","./GenericCrewManifest":"6954","./GenericCrewManifest.jsx":"6954","./GhostHudPanel":"9031","./GhostHudPanel.jsx":"9031","./GlandDispenser":"3396","./GlandDispenser.jsx":"3396","./GravityGen":"1009","./GravityGen.jsx":"1009","./GuestPass":"6294","./GuestPass.jsx":"6294","./HandheldChemDispenser":"9511","./HandheldChemDispenser.jsx":"9511","./HealthSensor":"3365","./HealthSensor.jsx":"3365","./Holodeck":"5880","./Holodeck.tsx":"5880","./IdCardModifier":"9721","./IdCardModifier.tsx":"9721","./Instrument":"6126","./Instrument.jsx":"6126","./KeyComboModal":"1783","./KeyComboModal.tsx":"1783","./KeycardAuth":"3928","./KeycardAuth.jsx":"3928","./KitchenMachine":"6706","./KitchenMachine.jsx":"6706","./LawManager":"9846","./LawManager.tsx":"9846","./LibraryComputer":"3023","./LibraryComputer.jsx":"3023","./LibraryManager":"183","./LibraryManager.jsx":"183","./ListInputModal":"1536","./ListInputModal.tsx":"1536","./Loadout":"7239","./Loadout.tsx":"7239","./LoreConsole":"5766","./LoreConsole.tsx":"5766","./MODsuit":"5531","./MODsuit.tsx":"5531","./MagnetController":"5247","./MagnetController.jsx":"5247","./MaterialContainer":"9587","./MaterialContainer.tsx":"9587","./MechBayConsole":"2433","./MechBayConsole.jsx":"2433","./MechaControlConsole":"3763","./MechaControlConsole.jsx":"3763","./MedicalRecords":"9548","./MedicalRecords.jsx":"9548","./MerchVendor":"2666","./MerchVendor.jsx":"2666","./MiningVendor":"6231","./MiningVendor.jsx":"6231","./NTRecruiter":"1972","./NTRecruiter.jsx":"1972","./Newscaster":"452","./Newscaster.jsx":"452","./Noticeboard":"6563","./Noticeboard.tsx":"6563","./NuclearBomb":"5867","./NuclearBomb.jsx":"5867","./NuclearRodFabricator":"7579","./NuclearRodFabricator.jsx":"7579","./NumberInputModal":"8007","./NumberInputModal.tsx":"8007","./ObjAccessModifier":"4965","./ObjAccessModifier.tsx":"4965","./OperatingComputer":"6499","./OperatingComputer.jsx":"6499","./Orbit":"7701","./Orbit.jsx":"7701","./OreRedemption":"5802","./OreRedemption.jsx":"5802","./PAI":"4235","./PAI.jsx":"4235","./PDA":"2740","./PDA.jsx":"2740","./Pacman":"377","./Pacman.jsx":"377","./PanDEMIC":"9454","./PanDEMIC.tsx":"9454","./ParticleAccelerator":"3566","./ParticleAccelerator.jsx":"3566","./PdaPainter":"3371","./PdaPainter.jsx":"3371","./PersonalCrafting":"6144","./PersonalCrafting.jsx":"6144","./Photocopier":"2327","./Photocopier.jsx":"2327","./PoolController":"7331","./PoolController.jsx":"7331","./PortablePump":"5562","./PortablePump.jsx":"5562","./PortableScrubber":"7920","./PortableScrubber.jsx":"7920","./PortableTurret":"2854","./PortableTurret.jsx":"2854","./PowerMonitor":"1784","./PowerMonitor.tsx":"1784","./PrisonerImplantManager":"8011","./PrisonerImplantManager.jsx":"8011","./PrisonerShuttleConsole":"2479","./PrisonerShuttleConsole.jsx":"2479","./PrizeCounter":"9083","./PrizeCounter.tsx":"9083","./QuirkMenu":"7692","./QuirkMenu.tsx":"7692","./RCD":"7076","./RCD.tsx":"7076","./RPD":"1703","./RPD.jsx":"1703","./Radio":"8930","./Radio.tsx":"8930","./RankedListInputModal":"4097","./RankedListInputModal.tsx":"4097","./ReactorMonitor":"4087","./ReactorMonitor.tsx":"4087","./ReagentGrinder":"1876","./ReagentGrinder.jsx":"1876","./ReagentsEditor":"1569","./ReagentsEditor.tsx":"1569","./RemoteSignaler":"9510","./RemoteSignaler.jsx":"9510","./RequestConsole":"5297","./RequestConsole.tsx":"5297","./RndBackupConsole":"4384","./RndBackupConsole.jsx":"4384","./RndConsole":"2247","./RndConsole/":"2247","./RndConsole/AnalyzerMenu":"4080","./RndConsole/AnalyzerMenu.jsx":"4080","./RndConsole/DataDiskMenu":"9529","./RndConsole/DataDiskMenu.jsx":"9529","./RndConsole/LatheCategory":"1465","./RndConsole/LatheCategory.jsx":"1465","./RndConsole/LatheChemicalStorage":"4154","./RndConsole/LatheChemicalStorage.jsx":"4154","./RndConsole/LatheMainMenu":"8563","./RndConsole/LatheMainMenu.jsx":"8563","./RndConsole/LatheMaterialStorage":"7635","./RndConsole/LatheMaterialStorage.jsx":"7635","./RndConsole/LatheMaterials":"5887","./RndConsole/LatheMaterials.jsx":"5887","./RndConsole/LatheMenu":"9760","./RndConsole/LatheMenu.jsx":"9760","./RndConsole/LatheSearch":"6013","./RndConsole/LatheSearch.jsx":"6013","./RndConsole/LinkMenu":"7726","./RndConsole/LinkMenu.jsx":"7726","./RndConsole/SettingsMenu":"3321","./RndConsole/SettingsMenu.jsx":"3321","./RndConsole/index":"2247","./RndConsole/index.jsx":"2247","./RndNetController":"7280","./RndNetController.jsx":"7280","./RndServer":"5156","./RndServer.jsx":"5156","./RobotSelfDiagnosis":"7868","./RobotSelfDiagnosis.jsx":"7868","./RoboticsControlConsole":"1696","./RoboticsControlConsole.jsx":"1696","./Safe":"5826","./Safe.jsx":"5826","./SatelliteControl":"1892","./SatelliteControl.jsx":"1892","./SecureStorage":"7943","./SecureStorage.jsx":"7943","./SecurityRecords":"8589","./SecurityRecords.jsx":"8589","./SeedExtractor":"6906","./SeedExtractor.tsx":"6906","./ShuttleConsole":"631","./ShuttleConsole.jsx":"631","./ShuttleManipulator":"5060","./ShuttleManipulator.jsx":"5060","./SingularityMonitor":"6448","./SingularityMonitor.jsx":"6448","./Sleeper":"1495","./Sleeper.tsx":"1495","./SlotMachine":"6526","./SlotMachine.jsx":"6526","./Smartfridge":"1645","./Smartfridge.jsx":"1645","./Smes":"1399","./Smes.tsx":"1399","./SolarControl":"1343","./SolarControl.jsx":"1343","./SpawnersMenu":"4263","./SpawnersMenu.jsx":"4263","./SpecMenu":"8729","./SpecMenu.jsx":"8729","./StackCraft":"9469","./StackCraft.tsx":"9469","./StationAlertConsole":"5592","./StationAlertConsole.jsx":"5592","./StationTraitsPanel":"5651","./StationTraitsPanel.tsx":"5651","./StripMenu":"5724","./StripMenu.tsx":"5724","./SuitStorage":"2975","./SuitStorage.jsx":"2975","./SupermatterMonitor":"4835","./SupermatterMonitor.tsx":"4835","./SyndicateComputerSimple":"2266","./SyndicateComputerSimple.jsx":"2266","./TEG":"8073","./TEG.jsx":"8073","./TachyonArray":"5808","./TachyonArray.jsx":"5808","./Tank":"5125","./Tank.jsx":"5125","./TankDispenser":"7112","./TankDispenser.jsx":"7112","./TcommsCore":"3283","./TcommsCore.jsx":"3283","./TcommsRelay":"431","./TcommsRelay.jsx":"431","./Teleporter":"5605","./Teleporter.jsx":"5605","./TelescienceConsole":"8336","./TelescienceConsole.jsx":"8336","./TempGun":"1745","./TempGun.jsx":"1745","./TextInputModal":"4273","./TextInputModal.tsx":"4273","./ThermoMachine":"9449","./ThermoMachine.jsx":"9449","./TransferValve":"1760","./TransferValve.jsx":"1760","./TurbineComputer":"6971","./TurbineComputer.jsx":"6971","./Uplink":"8380","./Uplink.tsx":"8380","./Vending":"1638","./Vending.jsx":"1638","./VolumeMixer":"2144","./VolumeMixer.jsx":"2144","./VotePanel":"7063","./VotePanel.jsx":"7063","./Wires":"7983","./Wires.jsx":"7983","./WizardApprenticeContract":"8167","./WizardApprenticeContract.jsx":"8167","./ZLevelManager":"234","./ZLevelManager.tsx":"234","./common/AccessList":"2723","./common/AccessList.tsx":"2723","./common/AtmosScan":"7276","./common/AtmosScan.tsx":"7276","./common/BeakerContents":"3013","./common/BeakerContents.tsx":"3013","./common/BotStatus":"9226","./common/BotStatus.jsx":"9226","./common/ComplexModal":"4744","./common/ComplexModal.jsx":"4744","./common/CrewManifest":"2639","./common/CrewManifest.jsx":"2639","./common/InputButtons":"1942","./common/InputButtons.tsx":"1942","./common/InterfaceLockNoticeBox":"1992","./common/InterfaceLockNoticeBox.jsx":"1992","./common/Loader":"9472","./common/Loader.tsx":"9472","./common/LoginInfo":"7352","./common/LoginInfo.jsx":"7352","./common/LoginScreen":"736","./common/LoginScreen.jsx":"736","./common/Operating":"6696","./common/Operating.tsx":"6696","./common/SearchableTableContext":"6888","./common/SearchableTableContext.tsx":"6888","./common/Signaler":"9298","./common/Signaler.jsx":"9298","./common/SimpleRecords":"4455","./common/SimpleRecords.jsx":"4455","./common/SortableTableContext":"2264","./common/SortableTableContext.tsx":"2264","./common/TabsContext":"4900","./common/TabsContext.tsx":"4900","./common/TemporaryNotice":"7482","./common/TemporaryNotice.jsx":"7482","./goonstation_PTL":"162","./goonstation_PTL/":"162","./goonstation_PTL/index":"162","./goonstation_PTL/index.jsx":"162","./pai/pai_atmosphere":"2817","./pai/pai_atmosphere.jsx":"2817","./pai/pai_bioscan":"7716","./pai/pai_bioscan.jsx":"7716","./pai/pai_directives":"1091","./pai/pai_directives.jsx":"1091","./pai/pai_doorjack":"9316","./pai/pai_doorjack.jsx":"9316","./pai/pai_main_menu":"5042","./pai/pai_main_menu.jsx":"5042","./pai/pai_manifest":"702","./pai/pai_manifest.jsx":"702","./pai/pai_medrecords":"9513","./pai/pai_medrecords.jsx":"9513","./pai/pai_messenger":"984","./pai/pai_messenger.jsx":"984","./pai/pai_radio":"9028","./pai/pai_radio.jsx":"9028","./pai/pai_secrecords":"6838","./pai/pai_secrecords.jsx":"6838","./pai/pai_signaler":"4244","./pai/pai_signaler.jsx":"4244","./pda/pda_atmos_scan":"8539","./pda/pda_atmos_scan.jsx":"8539","./pda/pda_cookbook":"5246","./pda/pda_cookbook.jsx":"5246","./pda/pda_games":"2336","./pda/pda_games.jsx":"2336","./pda/pda_janitor":"3606","./pda/pda_janitor.jsx":"3606","./pda/pda_main_menu":"2526","./pda/pda_main_menu.jsx":"2526","./pda/pda_manifest":"4642","./pda/pda_manifest.jsx":"4642","./pda/pda_medical":"1212","./pda/pda_medical.jsx":"1212","./pda/pda_messenger":"3260","./pda/pda_messenger.jsx":"3260","./pda/pda_minesweeper":"3067","./pda/pda_minesweeper.jsx":"3067","./pda/pda_mule":"5030","./pda/pda_mule.jsx":"5030","./pda/pda_nanobank":"9749","./pda/pda_nanobank.jsx":"9749","./pda/pda_notes":"3194","./pda/pda_notes.jsx":"3194","./pda/pda_power":"4702","./pda/pda_power.jsx":"4702","./pda/pda_secbot":"6651","./pda/pda_secbot.jsx":"6651","./pda/pda_security":"7155","./pda/pda_security.jsx":"7155","./pda/pda_signaler":"7024","./pda/pda_signaler.jsx":"7024","./pda/pda_status_display":"7148","./pda/pda_status_display.jsx":"7148","./pda/pda_supplyrecords":"7632","./pda/pda_supplyrecords.jsx":"7632"};function i(e){return t(o(e))}function o(e){if(!t.o(r,e)){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=4808},937:function(e,n,t){var r={"./ByondUi.stories.js":"7997","./Storage.stories.js":"6498","./Themes.stories.js":"9615"};function i(e){return t(o(e))}function o(e){if(!t.o(r,e)){var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=937},7912:function(e,n,t){"use strict";function r(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var i,o=t(8014),l=t(4530),a=t(6634);function c(e){var n="https://react.dev/errors/"+e;if(1$||(e.current=R[$],R[$]=null,$--)}function L(e,n){R[++$]=e.current,e.current=n}var K=D(null),J=D(null),X=D(null),U=D(null);function F(e,n){switch(L(X,n),L(J,e),L(K,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?sj(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)e=sb(n=sj(n),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}M(K),L(K,e)}function V(){M(K),M(J),M(X)}function H(e){null!==e.memoizedState&&L(U,e);var n=K.current,t=sb(n,e.type);n!==t&&(L(J,e),L(K,t))}function W(e){J.current===e&&(M(K),M(J)),U.current===e&&(M(U),un._currentValue=N)}function q(e){if(void 0===n$)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);n$=n&&n[1]||"",nD=-1)":-1o||s[i]!==u[o]){var d="\n"+s[i].replace(" at new "," at ");return e.displayName&&d.includes("")&&(d=d.replace("",e.displayName)),d}while(1<=i&&0<=o);break}}}finally{G=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?q(t):""}function Y(e){try{var n="",t=null;do n+=function(e,n){switch(e.tag){case 26:case 27:case 5:return q(e.type);case 16:return q("Lazy");case 13:return e.child!==n&&null!==n?q("Suspense Fallback"):q("Suspense");case 19:return q("SuspenseList");case 0:case 15:return Q(e.type,!1);case 11:return Q(e.type.render,!1);case 1:return Q(e.type,!0);case 31:return q("Activity");default:return""}}(e,t),t=e,e=e.return;while(e);return n}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var Z=Object.prototype.hasOwnProperty,ee=o.unstable_scheduleCallback,en=o.unstable_cancelCallback,et=o.unstable_shouldYield,er=o.unstable_requestPaint,ei=o.unstable_now,eo=o.unstable_getCurrentPriorityLevel,el=o.unstable_ImmediatePriority,ea=o.unstable_UserBlockingPriority,ec=o.unstable_NormalPriority,es=o.unstable_LowPriority,eu=o.unstable_IdlePriority,ed=o.log,ef=o.unstable_setDisableYieldValue,eh=null,em=null;function ep(e){if("function"==typeof ed&&ef(e),em&&"function"==typeof em.setStrictMode)try{em.setStrictMode(eh,e)}catch(e){}}var ex=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(eg(e)/ej|0)|0},eg=Math.log,ej=Math.LN2,eb=256,ey=262144,ev=4194304;function ew(e){var n=42&e;if(0!==n)return n;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function ek(e,n,t){var r=e.pendingLanes;if(0===r)return 0;var i=0,o=e.suspendedLanes,l=e.pingedLanes;e=e.warmLanes;var a=0x7ffffff&r;return 0!==a?0!=(r=a&~o)?i=ew(r):0!=(l&=a)?i=ew(l):t||0!=(t=a&~e)&&(i=ew(t)):0!=(a=r&~o)?i=ew(a):0!==l?i=ew(l):t||0!=(t=r&~e)&&(i=ew(t)),0===i?0:0!==n&&n!==i&&0==(n&o)&&((o=i&-i)>=(t=n&-n)||32===o&&0!=(4194048&t))?n:i}function e_(e,n){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)}function eC(){var e=ev;return 0==(0x3c00000&(ev<<=1))&&(ev=4194304),e}function eI(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function eS(e,n){e.pendingLanes|=n,0x10000000!==n&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eO(e,n,t){e.pendingLanes|=n,e.suspendedLanes&=~n;var r=31-ex(n);e.entangledLanes|=n,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&t}function eA(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-ex(t),i=1<=tt),to=!1;function tl(e,n){switch(e){case"keyup":return -1!==te.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ta(e){return"object"===(void 0===(e=e.detail)?"undefined":r(e))&&"data"in e?e.data:null}var tc=!1,ts={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function tu(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!ts[e.type]:"textarea"===n}function td(e,n,t,r){ny?nv?nv.push(r):nv=[r]:ny=r,0<(n=si(n,"onChange")).length&&(t=new nX("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var tf=null,th=null;function tm(e){c4(e,0)}function tp(e){if(e9(eH(e)))return e}function tx(e,n){if("change"===e)return n}var tg=!1;if(nI){if(nI){var tj="oninput"in document;if(!tj){var tb=document.createElement("div");tb.setAttribute("oninput","return;"),tj="function"==typeof tb.oninput}i=tj}else i=!1;tg=i&&(!document.documentMode||9=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=tO(r)}}function tP(e){var n,t;e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var r=ne(e.document);n=r,null!=(t=e.HTMLIFrameElement)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](n):n instanceof t;){try{var i="string"==typeof r.contentWindow.location.href}catch(e){i=!1}if(i)e=r.contentWindow;else break;r=ne(e.document)}return r}function tE(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}var tB=nI&&"documentMode"in document&&11>=document.documentMode,tz=null,tT=null,tN=null,tR=!1;function t$(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;tR||null==tz||tz!==ne(r)||(r="selectionStart"in(r=tz)&&tE(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},tN&&tS(tN,r)||(tN=r,0<(r=si(tT,"onSelect")).length&&(n=new nX("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=tz)))}function tD(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var tM={animationend:tD("Animation","AnimationEnd"),animationiteration:tD("Animation","AnimationIteration"),animationstart:tD("Animation","AnimationStart"),transitionrun:tD("Transition","TransitionRun"),transitionstart:tD("Transition","TransitionStart"),transitioncancel:tD("Transition","TransitionCancel"),transitionend:tD("Transition","TransitionEnd")},tL={},tK={};function tJ(e){if(tL[e])return tL[e];if(!tM[e])return e;var n,t=tM[e];for(n in t)if(t.hasOwnProperty(n)&&n in tK)return tL[e]=t[n];return e}nI&&(tK=document.createElement("div").style,"AnimationEvent"in window||(delete tM.animationend.animation,delete tM.animationiteration.animation,delete tM.animationstart.animation),"TransitionEvent"in window||delete tM.transitionend.transition);var tX=tJ("animationend"),tU=tJ("animationiteration"),tF=tJ("animationstart"),tV=tJ("transitionrun"),tH=tJ("transitionstart"),tW=tJ("transitioncancel"),tq=tJ("transitionend"),tG=new Map,tQ="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function tY(e,n){tG.set(e,n),eY(n,[e])}tQ.push("scrollEnd");var tZ="function"==typeof reportError?reportError:function(e){if("object"===("undefined"==typeof window?"undefined":r(window))&&"function"==typeof window.ErrorEvent){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===(void 0===e?"undefined":r(e))&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if("object"===("undefined"==typeof process?"undefined":r(process))&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},t0=[],t1=0,t2=0;function t8(){for(var e=t1,n=t2=t1=0;n>=l,i-=l,rb=1<<32-ex(n)+i|t<f?(p=d,d=null):p=d.sibling;var x=m(r,d,a[f],c);if(null===x){null===d&&(d=p);break}e&&d&&null===x.alternate&&n(r,d),o=l(x,o,f),null===u?s=x:u.sibling=x,u=x,d=p}if(f===a.length)return t(r,d),rO&&rv(r,f),s;if(null===d){for(;fp?(x=f,f=null):x=f.sibling;var b=m(r,f,g.value,s);if(null===b){null===f&&(f=x);break}e&&f&&null===b.alternate&&n(r,f),o=l(b,o,p),null===d?u=b:d.sibling=b,d=b,f=x}if(g.done)return t(r,f),rO&&rv(r,p),u;if(null===f){for(;!g.done;p++,g=a.next())null!==(g=h(r,g.value,s))&&(o=l(g,o,p),null===d?u=g:d.sibling=g,d=g);return rO&&rv(r,p),u}for(f=i(f);!g.done;p++,g=a.next())null!==(g=j(f,r,p,g.value,s))&&(e&&null!==g.alternate&&f.delete(null===g.key?p:g.key),o=l(g,o,p),null===d?u=g:d.sibling=g,d=g);return e&&f.forEach(function(e){return n(r,e)}),rO&&rv(r,p),u}(u,d,f=y.call(f),b)}if("function"==typeof f.then)return s(u,d,ij(f),b);if(f.$$typeof===v)return s(u,d,rG(u,f),b);iy(u,f)}return"string"==typeof f&&""!==f||"number"==typeof f||"bigint"===(void 0===f?"undefined":r(f))?(f=""+f,null!==d&&6===d.tag?(t(u,d.sibling),(b=o(d,f)).return=u):(t(u,d),(b=ra(f,u.mode,b)).return=u),a(u=b)):t(u,d)}(s,u,d,f);return ix=null,b}catch(e){if(e===io||e===ia)throw e;var y=rn(29,e,null,s.mode);return y.lanes=f,y.return=s,y}finally{}}}var iw=iv(!0),ik=iv(!1),i_=!1;function iC(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function iI(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function iS(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function iO(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&a$)){var i=r.pending;return null===i?n.next=n:(n.next=i.next,i.next=n),r.pending=n,n=t7(e),t6(e,null,t),n}return t3(e,r,n,t),t7(e)}function iA(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,0!=(4194048&t))){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,eA(e,t)}}function iP(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var i=null,o=null;if(null!==(t=t.firstBaseUpdate)){do{var l={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};null===o?i=o=l:o=o.next=l,t=t.next}while(null!==t);null===o?i=o=n:o=o.next=n}else i=o=n;t={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},e.updateQueue=t;return}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}var iE=!1;function iB(){if(iE){var e=r6;if(null!==e)throw e}}function iz(e,n,t,r){iE=!1;var i=e.updateQueue;i_=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,a=i.shared.pending;if(null!==a){i.shared.pending=null;var c=a,s=c.next;c.next=null,null===l?o=s:l.next=s,l=c;var u=e.alternate;null!==u&&(a=(u=u.updateQueue).lastBaseUpdate)!==l&&(null===a?u.firstBaseUpdate=s:a.next=s,u.lastBaseUpdate=c)}if(null!==o){var d=i.baseState;for(l=0,u=s=c=null,a=o;;){var f=-0x20000001&a.lane,m=f!==a.lane;if(m?(aL&f)===f:(r&f)===f){0!==f&&f===r4&&(iE=!0),null!==u&&(u=u.next={lane:0,tag:a.tag,payload:a.payload,callback:null,next:null});e:{var p=e,x=a;switch(f=n,x.tag){case 1:if("function"==typeof(p=x.payload)){d=p.call(t,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(f="function"==typeof(p=x.payload)?p.call(t,d,f):p))break e;d=h({},d,f);break e;case 2:i_=!0}}null!==(f=a.callback)&&(e.flags|=64,m&&(e.flags|=8192),null===(m=i.callbacks)?i.callbacks=[f]:m.push(f))}else m={lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===u?(s=u=m,c=d):u=u.next=m,l|=f;if(null===(a=a.next))if(null===(a=i.shared.pending))break;else a=(m=a).next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}null===u&&(c=d),i.baseState=c,i.firstBaseUpdate=s,i.lastBaseUpdate=u,null===o&&(i.shared.lanes=0),aW|=l,e.lanes=l,e.memoizedState=d}}function iT(e,n){if("function"!=typeof e)throw Error(c(191,e));e.call(n)}function iN(e,n){var t=e.callbacks;if(null!==t)for(e.callbacks=null,e=0;el?l:8;var a=z.T,c={};z.T=c,le(e,!1,n,t);try{var s=o(),u=z.S;if(null!==u&&u(c,s),null!==s&&"object"===(void 0===s?"undefined":r(s))&&"function"==typeof s.then){var d,f,h=(d=[],f={status:"pending",value:null,reason:null,then:function(e){d.push(e)}},s.then(function(){f.status="fulfilled",f.value=i;for(var e=0;e title"))),sh(o,r,t),o[eR]=e,eq(o),r=o;break e;case"link":var l=s8("link","href",i).get(r+(t.href||""));if(l){for(var a=0;aa)break;var u=c.transferSize,d=c.initiatorType;u&&sm(d)&&(l+=u*((c=c.responseEnd)s4?50:800)+p);return m.unsuspend=e,function(){m.unsuspend=null,clearTimeout(n),clearTimeout(t)}}:null)){ce=o,e.cancelPendingCommit=x(cI.bind(null,e,n,o,t,r,i,l,a,c,u,d,null,f,h)),cd(e,o,l,!s);return}}cI(e,n,o,t,r,i,l,a,c)}function cd(e,n,t,r){n&=~aG,n&=~aq,e.suspendedLanes|=n,e.pingedLanes&=~n,r&&(e.warmLanes|=n),r=e.expirationTimes;for(var i=n;0<\/script>",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof r.is?l.createElement("select",{is:r.is}):l.createElement("select"),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o="string"==typeof r.is?l.createElement(i,{is:r.is}):l.createElement(i)}}o[eR]=n,o[e$]=r;e:for(l=n.child;null!==l;){if(5===l.tag||6===l.tag)o.appendChild(l.stateNode);else if(4!==l.tag&&27!==l.tag&&null!==l.child){l.child.return=l,l=l.child;continue}if(l===n)break;for(;null===l.sibling;){if(null===l.return||l.return===n)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(n.stateNode=o,sh(o,i,r),i){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&lG(n)}}return l1(n),lQ(n,n.type,null===e?null:e.memoizedProps,n.pendingProps,t),null;case 6:if(e&&null!=n.stateNode)e.memoizedProps!==r&&lG(n);else{if("string"!=typeof r&&null===n.stateNode)throw Error(c(166));if(e=X.current,rN(n)){if(e=n.stateNode,t=n.memoizedProps,r=null,null!==(i=rI))switch(i.tag){case 27:case 5:r=i.memoizedProps}e[eR]=n,(e=!!(e.nodeValue===t||null!==r&&!0===r.suppressHydrationWarning||su(e.nodeValue,t)))||rB(n,!0)}else(e=sg(e).createTextNode(r))[eR]=n,n.stateNode=e}return l1(n),null;case 31:if(t=n.memoizedState,null===e||null!==e.memoizedState){if(r=rN(n),null!==t){if(null===e){if(!r)throw Error(c(318));if(!(e=null!==(e=n.memoizedState)?e.dehydrated:null))throw Error(c(557));e[eR]=n}else rR(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;l1(n),e=!1}else t=r$(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e){if(256&n.flags)return iH(n),n;return iH(n),null}if(0!=(128&n.flags))throw Error(c(558))}return l1(n),null;case 13:if(r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(i=rN(n),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(c(318));if(!(i=null!==(i=n.memoizedState)?i.dehydrated:null))throw Error(c(317));i[eR]=n}else rR(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;l1(n),i=!1}else i=r$(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i){if(256&n.flags)return iH(n),n;return iH(n),null}}if(iH(n),0!=(128&n.flags))return n.lanes=t,n;return t=null!==r,e=null!==e&&null!==e.memoizedState,t&&(r=n.child,i=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(i=r.alternate.memoizedState.cachePool.pool),o=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==i&&(r.flags|=2048)),t!==e&&t&&(n.child.flags|=8192),lZ(n,n.updateQueue),l1(n),null;case 4:return V(),null===e&&se(n.stateNode.containerInfo),l1(n),null;case 10:return rX(n.type),l1(n),null;case 19:if(M(iW),null===(r=n.memoizedState))return l1(n),null;if(i=0!=(128&n.flags),null===(o=r.rendering))if(i)l0(r,!1);else{if(0!==aH||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(o=iq(e))){for(n.flags|=128,l0(r,!1),n.updateQueue=e=o.updateQueue,lZ(n,e),n.subtreeFlags=0,e=t,t=n.child;null!==t;)ri(t,e),t=t.sibling;return L(iW,1&iW.current|2),rO&&rv(n,r.treeForkCount),n.child}e=e.sibling}null!==r.tail&&ei()>a3&&(n.flags|=128,i=!0,l0(r,!1),n.lanes=4194304)}else{if(!i)if(null!==(e=iq(o))){if(n.flags|=128,i=!0,n.updateQueue=e=e.updateQueue,lZ(n,e),l0(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate&&!rO)return l1(n),null}else 2*ei()-r.renderingStartTime>a3&&0x20000000!==t&&(n.flags|=128,i=!0,l0(r,!1),n.lanes=4194304);r.isBackwards?(o.sibling=n.child,n.child=o):(null!==(e=r.last)?e.sibling=o:n.child=o,r.last=o)}if(null!==r.tail)return e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ei(),e.sibling=null,t=iW.current,L(iW,i?1&t|2:1&t),rO&&rv(n,r.treeForkCount),e;return l1(n),null;case 22:case 23:return iH(n),iL(),r=null!==n.memoizedState,null!==e?null!==e.memoizedState!==r&&(n.flags|=8192):r&&(n.flags|=8192),r?0!=(0x20000000&t)&&0==(128&n.flags)&&(l1(n),6&n.subtreeFlags&&(n.flags|=8192)):l1(n),null!==(t=n.updateQueue)&&lZ(n,t.retryQueue),t=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(t=e.memoizedState.cachePool.pool),r=null,null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(r=n.memoizedState.cachePool.pool),r!==t&&(n.flags|=2048),null!==e&&M(ie),null;case 24:return t=null,null!==e&&(t=e.memoizedState.cache),n.memoizedState.cache!==t&&(n.flags|=2048),rX(r1),l1(n),null;case 25:case 30:return null}throw Error(c(156,n.tag))}(n.alternate,n,aV);if(null!==t){aM=t;return}if(null!==(n=n.sibling)){aM=n;return}aM=n=e}while(null!==n);0===aH&&(aH=5)}function cC(e,n){do{var t=function(e,n){switch(r_(n),n.tag){case 1:return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return rX(r1),V(),0!=(65536&(e=n.flags))&&0==(128&e)?(n.flags=-65537&e|128,n):null;case 26:case 27:case 5:return W(n),null;case 31:if(null!==n.memoizedState){if(iH(n),null===n.alternate)throw Error(c(340));rR()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 13:if(iH(n),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(c(340));rR()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return M(iW),null;case 4:return V(),null;case 10:return rX(n.type),null;case 22:case 23:return iH(n),iL(),null!==e&&M(ie),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 24:return rX(r1),null;default:return null}}(e.alternate,e);if(null!==t){t.flags&=32767,aM=t;return}if(null!==(t=e.return)&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!n&&null!==(e=e.sibling)){aM=e;return}aM=e=t}while(null!==e);aH=6,aM=null}function cI(e,n,t,r,i,o,l,a,s){e.cancelPendingCommit=null;do cE();while(0!==a6);if(0!=(6&a$))throw Error(c(327));if(null!==n){if(n===e.current)throw Error(c(177));if(!function(e,n,t,r,i,o){var l=e.pendingLanes;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0;var a=e.entanglements,c=e.expirationTimes,s=e.hiddenUpdates;for(t=l&~t;0x&&(l=x,x=p,p=l);var g=tA(a,p),j=tA(a,x);if(g&&j&&(1!==h.rangeCount||h.anchorNode!==g.node||h.anchorOffset!==g.offset||h.focusNode!==j.node||h.focusOffset!==j.offset)){var b=d.createRange();b.setStart(g.node,g.offset),h.removeAllRanges(),p>x?(h.addRange(b),h.extend(j.node,j.offset)):(b.setEnd(j.node,j.offset),h.addRange(b))}}}}for(d=[],h=a;h=h.parentNode;)1===h.nodeType&&d.push({element:h,left:h.scrollLeft,top:h.scrollTop});for("function"==typeof a.focus&&a.focus(),a=0;at?32:t,z.T=null,t=ct,ct=null;var o=a7,l=ce;if(a6=0,a9=a7=null,ce=0,0!=(6&a$))throw Error(c(331));var a=a$;if(a$|=4,az(o.current),aI(o,o.current,l,t),a$=a,cH(0,!1),em&&"function"==typeof em.onPostCommitFiberRoot)try{em.onPostCommitFiberRoot(eh,o)}catch(e){}return!0}finally{T.p=i,z.T=r,cP(e,n)}}function cz(e,n,t){n=rd(t,n),n=lj(e.stateNode,n,2),null!==(e=iO(e,n,2))&&(eS(e,2),cV(e))}function cT(e,n,t){if(3===e.tag)cz(e,e,t);else for(;null!==n;){if(3===n.tag){cz(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===a4||!a4.has(r))){e=rd(t,e),null!==(r=iO(n,t=lb(2),2))&&(ly(t,r,n,e),eS(r,2),cV(r));break}}n=n.return}}function cN(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new aR;var i=new Set;r.set(n,i)}else void 0===(i=r.get(n))&&(i=new Set,r.set(n,i));i.has(t)||(aF=!0,i.add(t),e=cR.bind(null,e,n,t),n.then(e,e))}function cR(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,aD===e&&(aL&t)===t&&(4===aH||3===aH&&(0x3c00000&aL)===aL&&300>ei()-a2?0==(2&a$)&&cm(e,0):aG|=t,aY===aL&&(aY=0)),cV(e)}function c$(e,n){0===n&&(n=eC()),null!==(e=t4(e,n))&&(eS(e,n),cV(e))}function cD(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),c$(e,t)}function cM(e,n){var t=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(t=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(c(314))}null!==r&&r.delete(n),c$(e,t)}var cL=null,cK=null,cJ=!1,cX=!1,cU=!1,cF=0;function cV(e){e!==cK&&null===e.next&&(null===cK?cL=cK=e:cK=cK.next=e),cX=!0,cJ||(cJ=!0,sC(function(){0!=(6&a$)?ee(el,cW):cq()}))}function cH(e,n){if(!cU&&cX){cU=!0;do for(var t=!1,r=cL;null!==r;){if(!n)if(0!==e){var i=r.pendingLanes;if(0===i)var o=0;else{var l=r.suspendedLanes,a=r.pingedLanes;o=0xc000095&(o=(1<<31-ex(42|e)+1)-1&(i&~(l&~a)))?0xc000095&o|1:o?2|o:0}0!==o&&(t=!0,cY(r,o))}else o=aL,0==(3&(o=ek(r,r===aD?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||e_(r,o)||(t=!0,cY(r,o));r=r.next}while(t);cU=!1}}function cW(){cq()}function cq(){cX=cJ=!1;var e,n=0;0===cF||((e=window.event)&&"popstate"===e.type?e===sv||(sv=e,0):(sv=null,1))||(n=cF);for(var t=ei(),r=null,i=cL;null!==i;){var o=i.next,l=cG(i,t);0===l?(i.next=null,null===r?cL=o:r.next=o,null===o&&(cK=r)):(r=i,(0!==n||0!=(3&l))&&(cX=!0)),i=o}0!==a6&&5!==a6||cH(n,!1),0!==cF&&(cF=0)}function cG(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=-0x3c00001&e.pendingLanes;0 title"):null)}function s5(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}var s4=0;function s6(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages)){if(this.stylesheets)s9(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var s7=null;function s9(e,n){e.stylesheets=null,null!==e.unsuspend&&(e.count++,s7=new Map,n.forEach(ue,e),s7=null,s6.call(e))}function ue(e,n){if(!(4&n.state.loading)){var t=s7.get(e);if(t)var r=t.get(null);else{t=new Map,s7.set(e,t);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;oe.length)&&(n=e.length);for(var t=0,r=Array(n);ti})},2316:function(e,n,t){"use strict";t.d(n,{KA:()=>r,KS:()=>o,NE:()=>l,bz:()=>i});var r=2,i=1,o=0,l=["average","bad","black","blue","brown","good","green","grey","label","olive","orange","pink","purple","red","teal","transparent","violet","white","yellow"]},1128:function(e,n,t){"use strict";t.d(n,{Nh:()=>u,WK:()=>w,tk:()=>v,y4:()=>f});var r,i=t(7686);function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1?n-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};d=!!e.ignoreWindowFocus},h=!0;function m(e,n){if(d){h=!0;return}if(r&&(clearTimeout(r),r=null),n){r=setTimeout(function(){return m(e)});return}h!==e&&(h=e,u.emit(e?"window-focus":"window-blur"),u.emit("window-focus-change",e))}var p=null;function x(e){var n=String(e.tagName).toLowerCase();return"input"===n||"textarea"===n}function g(){p&&(p.removeEventListener("blur",g),p=null,u.emit("input-blur"))}var j=null,b=null,y=[];function v(e){y.push(e)}function w(e){var n=y.indexOf(e);n>=0&&y.splice(n,1)}window.addEventListener("mousemove",function(e){var n=e.target;n!==b&&(b=n,function(e){if(!p&&h)for(var n=document.body;e&&e!==n;){if(y.includes(e)){if(e.contains(j))return;j=e,e.focus();return}e=e.parentElement}}(n))}),document.addEventListener("focus",function(e){var n,t,r;if(t=e.target,null!=(r=Element)&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?!r[Symbol.hasInstance](t):!(t instanceof r)){b=null,j=null;return}b=null,j=e.target,x(e.target)&&(n=e.target,g(),(p=n).addEventListener("blur",g),u.emit("input-focus"))},!0),document.addEventListener("blur",function(){b=null},!0),window.addEventListener("focus",function(){m(!0)}),window.addEventListener("blur",function(){b=null,m(!1,!0)}),window.addEventListener("close",function(){m(!1)});var k={},_=function(){function e(n,t,r){l(this,e),s(this,"event",void 0),s(this,"type",void 0),s(this,"code",void 0),s(this,"ctrl",void 0),s(this,"shift",void 0),s(this,"alt",void 0),s(this,"repeat",void 0),s(this,"_str",void 0),this.event=n,this.type=t,this.code=n.keyCode,this.ctrl=n.ctrlKey,this.shift=n.shiftKey,this.alt=n.altKey,this.repeat=!!r}return c(e,[{key:"hasModifierKeys",value:function(){return this.ctrl||this.alt||this.shift}},{key:"isModifierKey",value:function(){return this.code===i.Ss||this.code===i.re||this.code===i.cH}},{key:"isDown",value:function(){return"keydown"===this.type}},{key:"isUp",value:function(){return"keyup"===this.type}},{key:"toString",value:function(){return this._str||(this._str="",this.ctrl&&(this._str+="Ctrl+"),this.alt&&(this._str+="Alt+"),this.shift&&(this._str+="Shift+"),this.code>=48&&this.code<=90?this._str+=String.fromCharCode(this.code):this.code>=i.sV&&this.code<=i.Yw?this._str+="F".concat(this.code-111):this._str+="[".concat(this.code,"]")),this._str}}]),e}();document.addEventListener("keydown",function(e){if(!x(e.target)){var n=e.keyCode,t=new _(e,"keydown",k[n]);u.emit("keydown",t),u.emit("key",t),k[n]=!0}}),document.addEventListener("keyup",function(e){if(!x(e.target)){var n=e.keyCode,t=new _(e,"keyup");u.emit("keyup",t),u.emit("key",t),k[n]=!1}})},9582:function(e,n,t){"use strict";t.d(n,{QL:()=>o,d5:()=>l,fU:()=>c,up:()=>a});var r=["f","p","n","μ","m"," ","k","M","G","T","P","E","Z","Y","R","Q","F","N","H"],i=r.indexOf(" ");function o(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-i,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!Number.isFinite(e))return e.toString();var o=Math.floor(Math.max(3*n,Math.floor(Math.log10(Math.abs(e))))/3),l=r[Math.min(o+i,r.length-1)],a=(e/Math.pow(1e3,o)).toFixed(2);return a.endsWith(".00")?a=a.slice(0,-3):a.endsWith(".0")&&(a=a.slice(0,-2)),"".concat(a," ").concat(l.trim()).concat(t).trim()}function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return o(e,n,"W")}function a(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Number.isFinite(e))return String(e);var t=Number(e.toFixed(n)),r=Math.abs(t).toString().split(".");r[0]=r[0].replace(/\B(?=(\d{3})+(?!\d))/g," ");var i=r.join(".");return t<0?"-".concat(i):i}function c(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",t=Math.floor(e/10),r=Math.floor(t/3600),i=Math.floor(t%3600/60),o=t%60;if("short"===n)return"".concat(r>0?"".concat(r,"h"):"").concat(i>0?"".concat(i,"m"):"").concat(o>0?"".concat(o,"s"):"");var l=String(r).padStart(2,"0"),a=String(i).padStart(2,"0"),c=String(o).padStart(2,"0");return"".concat(l,":").concat(a,":").concat(c)}},1874:function(e,n,t){"use strict";t.d(n,{Bm:()=>d,ao:()=>f,sc:()=>h,zr:()=>s});var r=t(1128),i=t(7686),o={},l=[i.s6,i.Ri,i.iy,i.aW,i.Ss,i.re,i.gf,i.R,i.iU,i.zh,i.sP],a={},c=[];function s(){for(var e in a)a[e]&&(a[e]=!1,Byond.command(u.verbParamsFn(u.keyUpVerb,e)))}var u={keyDownVerb:"KeyDown",keyUpVerb:"KeyUp",verbParamsFn:function(e,n){return"".concat(e,' "').concat(n,'"')}};function d(e){e&&(u=e),Byond.winget("default.*").then(function(e){var n=function(e){return e.substring(1,e.length-1).replace(c,'"')},t={};for(var r in e){var i=r.split("."),l=i[1],a=i[2];l&&a&&(t[l]||(t[l]={}),t[l][a]=e[r])}var c=/\\"/g;for(var s in t){var u=t[s];o[n(u.name)]=n(u.command)}}),r.Nh.on("window-blur",function(){s()}),r.Nh.on("input-focus",function(){s()}),f()}function f(){r.Nh.on("key",m)}function h(){r.Nh.off("key",m)}function m(e){var n=!0,t=!1,r=void 0;try{for(var i,s=c[Symbol.iterator]();!(n=(i=s.next()).done);n=!0)(0,i.value)(e)}catch(e){t=!0,r=e}finally{try{n||null==s.return||s.return()}finally{if(t)throw r}}!function(e){var n,t=String(e);if("Ctrl+F5"===t||"Ctrl+R"===t)return location.reload();if(!("Ctrl+F"===t||e.event.defaultPrevented||e.isModifierKey()||l.includes(e.code))){var r=16===(n=e.code)?"Shift":17===n?"Ctrl":18===n?"Alt":33===n?"Northeast":34===n?"Southeast":35===n?"Southwest":36===n?"Northwest":37===n?"West":38===n?"North":39===n?"East":40===n?"South":45===n?"Insert":46===n?"Delete":n>=48&&n<=57||n>=65&&n<=90?String.fromCharCode(n):n>=96&&n<=105?"Numpad".concat(n-96):n>=112&&n<=123?"F".concat(n-111):188===n?",":189===n?"-":190===n?".":void 0;if(r){var i=o[r];if(i)return Byond.command(i);if(e.isDown()&&!a[r]){a[r]=!0;var c=u.verbParamsFn(u.keyDownVerb,r);return Byond.command(c)}if(e.isUp()&&a[r]){a[r]=!1;var s=u.verbParamsFn(u.keyUpVerb,r);Byond.command(s)}}}}(e)}},7686:function(e,n,t){"use strict";t.d(n,{C:()=>y,Pm:()=>p,R:()=>m,Ri:()=>o,Ss:()=>a,W8:()=>g,Wy:()=>x,Yw:()=>k,aW:()=>i,bh:()=>j,cH:()=>c,gf:()=>f,hr:()=>b,iU:()=>d,iy:()=>u,re:()=>l,s6:()=>s,sP:()=>w,sV:()=>v,ye:()=>r,zh:()=>h});var r=8,i=9,o=13,l=16,a=17,c=18,s=27,u=32,d=37,f=38,h=39,m=40,p=48,x=57,g=65,j=90,b=96,y=105,v=112,w=116,k=123},925:function(e,n,t){"use strict";t.d(n,{KL:()=>o,_:()=>i});var r,i=((r={}).A="a",r.Alt="Alt",r.Backspace="Backspace",r.Control="Control",r.D="d",r.Delete="Delete",r.Down="ArrowDown",r.E="e",r.End="End",r.Enter="Enter",r.Esc="Esc",r.Escape="Escape",r.Home="Home",r.Insert="Insert",r.Left="ArrowLeft",r.Minus="-",r.N="n",r.PageDown="PageDown",r.PageUp="PageUp",r.Plus="+",r.Right="ArrowRight",r.S="s",r.Shift="Shift",r.Space=" ",r.Tab="Tab",r.Up="ArrowUp",r.W="w",r.Z="z",r);function o(e){return"Esc"===e||"Escape"===e}},6859:function(e,n,t){"use strict";function r(e,n,t){return et?t:e}function i(e){return e<0?0:e>1?1:e}function o(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return(e-n)/(t-n)}function l(e,n){return Number.parseFloat((Math.round(e*Math.pow(10,n)+1e-4*(e>=0?1:-1))/Math.pow(10,n)).toFixed(n))}function a(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Number(e).toFixed(Math.max(n,0))}function c(e,n){var t=!0,r=!1,i=void 0;try{for(var o,l=Object.keys(n)[Symbol.iterator]();!(t=(o=l.next()).done);t=!0){var a,c=o.value;if((a=n[c])&&e>=a[0]&&e<=a[1])return c}}catch(e){r=!0,i=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw i}}}function s(e){return"number"==typeof e&&Number.isFinite(e)&&!Number.isNaN(e)}function u(e){return 180/Math.PI*e}t.d(n,{J$:()=>i,KJ:()=>u,LI:()=>l,Lz:()=>s,Mg:()=>a,TG:()=>c,hs:()=>o,qE:()=>r})},5490:function(e,n,t){"use strict";function r(e){for(var n="",t=0;tr,b5:()=>i})},3268:function(e,n,t){"use strict";function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return JSON.stringify(e)},t=e.toLowerCase().trim();return function(e){if(!t)return!0;var r=n(e);return!!r&&r.toLowerCase().includes(t)}}function i(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}t.d(n,{Sn:()=>a,XZ:()=>r,ZH:()=>i,jT:()=>u});var o=["Id","Tv"],l=["A","An","And","As","At","But","By","For","For","From","In","Into","Near","Nor","Of","On","Onto","Or","The","To","With"];function a(e){if(!e)return e;var n=e.replace(/([^\W_]+[^\s-]*) */g,function(e){return i(e)}),t=!0,r=!1,a=void 0;try{for(var c,s=l[Symbol.iterator]();!(t=(c=s.next()).done);t=!0){var u=c.value,d=RegExp("\\s".concat(u,"\\s"),"g");n=n.replace(d,function(e){return e.toLowerCase()})}}catch(e){r=!0,a=e}finally{try{t||null==s.return||s.return()}finally{if(r)throw a}}var f=!0,h=!1,m=void 0;try{for(var p,x=o[Symbol.iterator]();!(f=(p=x.next()).done);f=!0){var g=p.value,j=RegExp("\\b".concat(g,"\\b"),"g");n=n.replace(j,function(e){return e.toLowerCase()})}}catch(e){h=!0,m=e}finally{try{f||null==x.return||x.return()}finally{if(h)throw m}}return n}var c=/&(nbsp|amp|quot|lt|gt|apos|trade|copy);/g,s={amp:"&",apos:"'",cops:"\xa9",gt:">",lt:"<",nbsp:" ",quot:'"',trade:"™"};function u(e){return e?e.replace(/
    /gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(c,function(e,n){return s[n]}).replace(/&#?([0-9]+);/gi,function(e,n){return String.fromCharCode(Number.parseInt(n,10))}).replace(/&#x?([0-9a-f]+);/gi,function(e,n){return String.fromCharCode(Number.parseInt(n,16))}):e}},3375:function(e,n,t){"use strict";t.d(n,{Fl:()=>x,WP:()=>g,lO:()=>j,zA:()=>l});var r=t(2316),i=t(5490);function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ttJ,z2:()=>tM,wn:()=>rr,Z8:()=>x,y5:()=>m,Rr:()=>tp,aF:()=>t1,IC:()=>t2,XI:()=>ra,zv:()=>h,ms:()=>tI,_V:()=>tj,Y0:()=>v,$n:()=>n6,cG:()=>tx,m_:()=>nY,t1:()=>td,Nt:()=>th,so:()=>tB,Q7:()=>t6,SM:()=>rn,Ap:()=>ri,Ki:()=>tY,pd:()=>tF,N6:()=>tH,tU:()=>rh,Wx:()=>tQ,fs:()=>rg,D1:()=>ti,In:()=>I,c_:()=>tT,Hg:()=>tb,az:()=>y,BK:()=>tm,qT:()=>rv});var r,i,o,l,a=t(8138),c=t(6859),s=t(4530),u=t.t(s,2);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["as","className","children","tw"]),c=i?"".concat(i," ").concat((0,j.WP)(a)):(0,j.WP)(a);return(0,s.createElement)(void 0===r?"div":r,(n=b({},(0,j.Fl)(b({},a,(0,j.lO)(l)))),t=t={className:c},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n),o)}function v(e){var n=e.className,t=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["className"]);return(0,a.jsx)(y,function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var C=/-o$/;function I(e){var n=e.name,t=void 0===n?"":n,r=e.size,i=e.spin,o=e.className,l=e.rotation,c=_(e,["name","size","spin","className","rotation"]),s=c.style||{};r&&(s.fontSize="".concat(100*r,"%")),l&&(s.transform="rotate(".concat(l,"deg)")),c.style=s;var u=(0,j.Fl)(c),d="";if(t.startsWith("tg-"))d=t;else{var f=C.test(t),h=t.replace(C,""),m=!h.startsWith("fa-");d=f?"far ":"fas ",m&&(d+="fa-"),d+=h,i&&(d+=" fa-spin")}return(0,a.jsx)("i",k({className:(0,g.Ly)(["Icon",d,o,(0,j.WP)(c)])},u))}function S(){return"undefined"!=typeof window}function O(e){return E(e)?(e.nodeName||"").toLowerCase():"#document"}function A(e){var n;return(null==e||null==(n=e.ownerDocument)?void 0:n.defaultView)||window}function P(e){var n;return null==(n=(E(e)?e.ownerDocument:e.document)||window.document)?void 0:n.documentElement}function E(e){return!!S()&&(e instanceof Node||e instanceof A(e).Node)}function B(e){return!!S()&&(e instanceof Element||e instanceof A(e).Element)}function z(e){return!!S()&&(e instanceof HTMLElement||e instanceof A(e).HTMLElement)}function T(e){return!!S()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof A(e).ShadowRoot)}(I||(I={})).Stack=function(e){var n,t,r=e.className,i=e.children,o=e.size,l=_(e,["className","children","size"]),c=l.style||{};return o&&(c.fontSize="".concat(100*o,"%")),l.style=c,(0,a.jsx)("span",(n=k({className:(0,g.Ly)(["IconStack",r,(0,j.WP)(l)])},(0,j.Fl)(l)),t=t={children:i},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))};let N=new Set(["inline","contents"]);function R(e){let{overflow:n,overflowX:t,overflowY:r,display:i}=H(e);return/auto|scroll|overlay|hidden|clip/.test(n+r+t)&&!N.has(i)}let $=new Set(["table","td","th"]),D=[":popover-open",":modal"];function M(e){return D.some(n=>{try{return e.matches(n)}catch(e){return!1}})}let L=["transform","translate","scale","rotate","perspective"],K=["transform","translate","scale","rotate","perspective","filter"],J=["paint","layout","strict","content"];function X(e){let n=U(),t=B(e)?H(e):e;return L.some(e=>!!t[e]&&"none"!==t[e])||!!t.containerType&&"normal"!==t.containerType||!n&&!!t.backdropFilter&&"none"!==t.backdropFilter||!n&&!!t.filter&&"none"!==t.filter||K.some(e=>(t.willChange||"").includes(e))||J.some(e=>(t.contain||"").includes(e))}function U(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let F=new Set(["html","body","#document"]);function V(e){return F.has(O(e))}function H(e){return A(e).getComputedStyle(e)}function W(e){return B(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function q(e){if("html"===O(e))return e;let n=e.assignedSlot||e.parentNode||T(e)&&e.host||P(e);return T(n)?n.host:n}function G(e,n,t){var r;void 0===n&&(n=[]),void 0===t&&(t=!0);let i=function e(n){let t=q(n);return V(t)?n.ownerDocument?n.ownerDocument.body:n.body:z(t)&&R(t)?t:e(t)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=A(i);if(o){let e=Q(l);return n.concat(l,l.visualViewport||[],R(i)?i:[],e&&t?G(e):[])}return n.concat(i,G(i,[],t))}function Q(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var Y='input:not([inert]),select:not([inert]),textarea:not([inert]),a[href]:not([inert]),button:not([inert]),[tabindex]:not(slot):not([inert]),audio[controls]:not([inert]),video[controls]:not([inert]),[contenteditable]:not([contenteditable="false"]):not([inert]),details>summary:first-of-type:not([inert]),details:not([inert])',Z="undefined"==typeof Element,ee=Z?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,en=!Z&&Element.prototype.getRootNode?function(e){var n;return null==e||null==(n=e.getRootNode)?void 0:n.call(e)}:function(e){return null==e?void 0:e.ownerDocument},et=function e(n,t){void 0===t&&(t=!0);var r,i=null==n||null==(r=n.getAttribute)?void 0:r.call(n,"inert");return""===i||"true"===i||t&&n&&e(n.parentNode)},er=function(e){var n,t=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"contenteditable");return""===t||"true"===t},ei=function(e,n,t){if(et(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(Y));return n&&ee.call(e,Y)&&r.unshift(e),r=r.filter(t)},eo=function e(n,t,r){for(var i=[],o=Array.from(n);o.length;){var l=o.shift();if(!et(l,!1))if("SLOT"===l.tagName){var a=l.assignedElements(),c=e(a.length?a:l.children,!0,r);r.flatten?i.push.apply(i,c):i.push({scopeParent:l,candidates:c})}else{ee.call(l,Y)&&r.filter(l)&&(t||!n.includes(l))&&i.push(l);var s=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),u=!et(s,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(s&&u){var d=e(!0===s?l.children:s.children,!0,r);r.flatten?i.push.apply(i,d):i.push({scopeParent:l,candidates:d})}else o.unshift.apply(o,l.children)}}return i},el=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ea=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||er(e))&&!el(e)?0:e.tabIndex},ec=function(e,n){var t=ea(e);return t<0&&n&&!el(e)?0:t},es=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},eu=function(e){return"INPUT"===e.tagName},ed=function(e,n){for(var t=0;tsummary:first-of-type")?e.parentElement:e;if(ee.call(i,"details:not([open]) *"))return!0;if(t&&"full"!==t&&"legacy-full"!==t){if("non-zero-area"===t)return ep(e)}else{if("function"==typeof r){for(var o=e;e;){var l=e.parentElement,a=en(e);if(l&&!l.shadowRoot&&!0===r(l))return ep(e);e=e.assignedSlot?e.assignedSlot:l||a===e.ownerDocument?l:a.host}e=o}if(em(e))return!e.getClientRects().length;if("legacy-full"!==t)return!0}return!1},eg=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if("FIELDSET"===n.tagName&&n.disabled){for(var t=0;tea(n))&&!!ej(e,n)},ey=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(n)||!!(n>=0)},ev=function e(n){var t=[],r=[];return n.forEach(function(n,i){var o=!!n.scopeParent,l=o?n.scopeParent:n,a=ec(l,o),c=o?e(n.candidates):l;0===a?o?t.push.apply(t,c):t.push(l):r.push({documentOrder:i,tabIndex:a,item:n,isScope:o,content:c})}),r.sort(es).reduce(function(e,n){return n.isScope?e.push.apply(e,n.content):e.push(n.content),e},[]).concat(t)},ew=function(e,n){return ev((n=n||{}).getShadowRoot?eo([e],n.includeContainer,{filter:eb.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:ey}):ei(e,n.includeContainer,eb.bind(null,n)))};function ek(e,n){if(!e||!n)return!1;let t=null==n.getRootNode?void 0:n.getRootNode();if(e.contains(n))return!0;if(t&&T(t)){let t=n;for(;t;){if(e===t)return!0;t=t.parentNode||t.host}}return!1}function e_(e){return"composedPath"in e?e.composedPath()[0]:e.target}function eC(e,n){return null!=n&&("composedPath"in e?e.composedPath().includes(n):null!=e.target&&n.contains(e.target))}function eI(e){return(null==e?void 0:e.ownerDocument)||document}function eS(e,n,t){return void 0===t&&(t=!0),e.filter(e=>{var r;return e.parentId===n&&(!t||(null==(r=e.context)?void 0:r.open))}).flatMap(n=>[n,...eS(e,n.id,t)])}function eO(e,n){let t=["mouse","pen"];return n||t.push("",void 0),t.includes(e)}var eA="undefined"!=typeof document?s.useLayoutEffect:function(){};function eP(e){let n=s.useRef(e);return eA(()=>{n.current=e}),n}let eE={...u}.useInsertionEffect||(e=>e());function eB(e){let n=s.useRef(()=>{});return eE(()=>{n.current=e}),s.useCallback(function(){for(var e=arguments.length,t=Array(e),r=0;r({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function eT(e,n){let t=ew(e,ez()),r=t.length;if(0===r)return;let i=function(e){let n=e.activeElement;for(;(null==(t=n)||null==(t=t.shadowRoot)?void 0:t.activeElement)!=null;){var t;n=n.shadowRoot.activeElement}return n}(eI(e)),o=t.indexOf(i);return t[-1===o?1===n?0:r-1:o+n]}function eN(e,n){let t=n||e.currentTarget,r=e.relatedTarget;return!r||!ek(t,r)}function eR(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let n=e.dataset.tabindex;delete e.dataset.tabindex,n?e.setAttribute("tabindex",n):e.removeAttribute("tabindex")})}var e$=t(6634);let eD=Math.min,eM=Math.max,eL=Math.round,eK=Math.floor,eJ=e=>({x:e,y:e}),eX={left:"right",right:"left",bottom:"top",top:"bottom"},eU={start:"end",end:"start"};function eF(e,n){return"function"==typeof e?e(n):e}function eV(e){return e.split("-")[0]}function eH(e){return e.split("-")[1]}function eW(e){return"x"===e?"y":"x"}function eq(e){return"y"===e?"height":"width"}let eG=new Set(["top","bottom"]);function eQ(e){return eG.has(eV(e))?"y":"x"}function eY(e){return e.replace(/start|end/g,e=>eU[e])}let eZ=["left","right"],e0=["right","left"],e1=["top","bottom"],e2=["bottom","top"];function e8(e){return e.replace(/left|right|bottom|top/g,e=>eX[e])}function e3(e){let{x:n,y:t,width:r,height:i}=e;return{width:r,height:i,top:t,left:n,right:n+r,bottom:t+i,x:n,y:t}}function e5(e,n,t){let r,{reference:i,floating:o}=e,l=eQ(n),a=eW(eQ(n)),c=eq(a),s=eV(n),u="y"===l,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,h=i[c]/2-o[c]/2;switch(s){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}switch(eH(n)){case"start":r[a]-=h*(t&&u?-1:1);break;case"end":r[a]+=h*(t&&u?-1:1)}return r}let e4=async(e,n,t)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=t,a=o.filter(Boolean),c=await (null==l.isRTL?void 0:l.isRTL(n)),s=await l.getElementRects({reference:e,floating:n,strategy:i}),{x:u,y:d}=e5(s,r,c),f=r,h={},m=0;for(let t=0;tB(e)&&"body"!==O(e)),i=null,o="fixed"===H(e).position,l=o?q(e):e;for(;B(l)&&!V(l);){let n=H(l),t=X(l);t||"fixed"!==n.position||(i=null),(o?!t&&!i:!t&&"static"===n.position&&!!i&&nc.has(i.position)||R(l)&&!t&&function e(n,t){let r=q(n);return!(r===t||!B(r)||V(r))&&("fixed"===H(r).position||e(r,t))}(e,l))?r=r.filter(e=>e!==l):i=n,l=q(l)}return n.set(e,r),r}(n,this._c):[].concat(t),r],l=o[0],a=o.reduce((e,t)=>{let r=ns(n,t,i);return e.top=eM(r.top,e.top),e.right=eD(r.right,e.right),e.bottom=eD(r.bottom,e.bottom),e.left=eM(r.left,e.left),e},ns(n,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:nf,getElementRects:nh,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:n,height:t}=ne(e);return{width:n,height:t}},getScale:nt,isElement:B,isRTL:function(e){return"rtl"===H(e).direction}};function np(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}var nx="undefined"!=typeof document?s.useLayoutEffect:function(){};function ng(e,n){let t,r,i;if(e===n)return!0;if(typeof e!=typeof n)return!1;if("function"==typeof e&&e.toString()===n.toString())return!0;if(e&&n&&"object"==typeof e){if(Array.isArray(e)){if((t=e.length)!==n.length)return!1;for(r=t;0!=r--;)if(!ng(e[r],n[r]))return!1;return!0}if((t=(i=Object.keys(e)).length)!==Object.keys(n).length)return!1;for(r=t;0!=r--;)if(!({}).hasOwnProperty.call(n,i[r]))return!1;for(r=t;0!=r--;){let t=i[r];if(("_owner"!==t||!e.$$typeof)&&!ng(e[t],n[t]))return!1}return!0}return e!=e&&n!=n}function nj(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nb(e,n){let t=nj(e);return Math.round(n*t)/t}function ny(e){let n=s.useRef(e);return nx(()=>{n.current=e}),n}let nv="active",nw="selected",nk={...u},n_=!1,nC=0,nI=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+nC++,nS=nk.useId||function(){let[e,n]=s.useState(()=>n_?nI():void 0);return eA(()=>{null==e&&n(nI())},[]),s.useEffect(()=>{n_=!0},[]),e},nO=s.createContext(null),nA=s.createContext(null),nP=()=>{var e;return(null==(e=s.useContext(nO))?void 0:e.id)||null};function nE(e){return"data-floating-ui-"+e}function nB(e){-1!==e.current&&(clearTimeout(e.current),e.current=-1)}let nz=nE("safe-polygon");function nT(e,n,t){if(t&&!eO(t))return 0;if("number"==typeof e)return e;if("function"==typeof e){let t=e();return"number"==typeof t?t:null==t?void 0:t[n]}return null==e?void 0:e[n]}function nN(e){return"function"==typeof e?e():e}let nR={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0},n$=s.forwardRef(function(e,n){let[t,r]=s.useState();eA(()=>{/apple/i.test(navigator.vendor)&&r("button")},[]);let i={ref:n,tabIndex:0,role:t,"aria-hidden":!t||void 0,[nE("focus-guard")]:"",style:nR};return(0,a.jsx)("span",{...e,...i})}),nD=s.createContext(null),nM=nE("portal");function nL(e){let{children:n,id:t,root:r,preserveTabOrder:i=!0}=e,o=function(e){void 0===e&&(e={});let{id:n,root:t}=e,r=nS(),i=nK(),[o,l]=s.useState(null),a=s.useRef(null);return eA(()=>()=>{null==o||o.remove(),queueMicrotask(()=>{a.current=null})},[o]),eA(()=>{if(!r||a.current)return;let e=n?document.getElementById(n):null;if(!e)return;let t=document.createElement("div");t.id=r,t.setAttribute(nM,""),e.appendChild(t),a.current=t,l(t)},[n,r]),eA(()=>{if(null===t||!r||a.current)return;let e=t||(null==i?void 0:i.portalNode);e&&!E(e)&&(e=e.current),e=e||document.body;let o=null;n&&((o=document.createElement("div")).id=n,e.appendChild(o));let c=document.createElement("div");c.id=r,c.setAttribute(nM,""),(e=o||e).appendChild(c),a.current=c,l(c)},[n,t,r,i]),o}({id:t,root:r}),[l,c]=s.useState(null),u=s.useRef(null),d=s.useRef(null),f=s.useRef(null),h=s.useRef(null),m=null==l?void 0:l.modal,p=null==l?void 0:l.open,x=!!l&&!l.modal&&l.open&&i&&!!(r||o);return s.useEffect(()=>{if(o&&i&&!m)return o.addEventListener("focusin",e,!0),o.addEventListener("focusout",e,!0),()=>{o.removeEventListener("focusin",e,!0),o.removeEventListener("focusout",e,!0)};function e(e){o&&eN(e)&&("focusin"===e.type?eR:function(e){ew(e,ez()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})})(o)}},[o,i,m]),s.useEffect(()=>{!o||p||eR(o)},[p,o]),(0,a.jsxs)(nD.Provider,{value:s.useMemo(()=>({preserveTabOrder:i,beforeOutsideRef:u,afterOutsideRef:d,beforeInsideRef:f,afterInsideRef:h,portalNode:o,setFocusManagerState:c}),[i,o]),children:[x&&o&&(0,a.jsx)(n$,{"data-type":"outside",ref:u,onFocus:e=>{var n,t;if(eN(e,o))null==(n=f.current)||n.focus();else{let e=eT(eI(t=l?l.domReference:null).body,-1)||t;null==e||e.focus()}}}),x&&o&&(0,a.jsx)("span",{"aria-owns":o.id,style:nR}),o&&e$.createPortal(n,o),x&&o&&(0,a.jsx)(n$,{"data-type":"outside",ref:d,onFocus:e=>{var n,t;if(eN(e,o))null==(n=h.current)||n.focus();else{let n=eT(eI(t=l?l.domReference:null).body,1)||t;null==n||n.focus(),(null==l?void 0:l.closeOnFocusOut)&&(null==l||l.onOpenChange(!1,e.nativeEvent,"focus-out"))}}})]})}let nK=()=>s.useContext(nD);function nJ(e){return z(e.target)&&"BUTTON"===e.target.tagName}function nX(e){return z(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}let nU={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},nF={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},nV=e=>{var n,t;return{escapeKey:"boolean"==typeof e?e:null!=(n=null==e?void 0:e.escapeKey)&&n,outsidePress:"boolean"==typeof e?e:null==(t=null==e?void 0:e.outsidePress)||t}};function nH(e,n,t){let r=new Map,i="item"===t,o=e;if(i&&e){let{[nv]:n,[nw]:t,...r}=e;o=r}return{..."floating"===t&&{tabIndex:-1,"data-floating-ui-focusable":""},...o,...n.map(n=>{let r=n?n[t]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,n)=>(n&&Object.entries(n).forEach(n=>{let[t,o]=n;if(!(i&&[nv,nw].includes(t)))if(0===t.indexOf("on")){if(r.has(t)||r.set(t,[]),"function"==typeof o){var l;null==(l=r.get(t))||l.push(o),e[t]=function(){for(var e,n=arguments.length,i=Array(n),o=0;oe(...i)).find(e=>void 0!==e)}}}else e[t]=o}),e),{})}}function nW(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t{let e;return e=new Map,{emit(n,t){var r;null==(r=e.get(n))||r.forEach(e=>e(t))},on(n,t){e.has(n)||e.set(n,new Set),e.get(n).add(t)},off(n,t){var r;null==(r=e.get(n))||r.delete(t)}}}),a=null!=nP(),[c,u]=s.useState(r.reference),d=eB((e,n,r)=>{o.current.openEvent=e?n:void 0,l.emit("openchange",{open:e,event:n,reason:r,nested:a}),null==t||t(e,n,r)}),f=s.useMemo(()=>({setPositionReference:u}),[]),h=s.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return s.useMemo(()=>({dataRef:o,open:n,onOpenChange:d,elements:h,events:l,floatingId:i,refs:f}),[n,d,h,l,i,f])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||t,i=r.elements,[o,l]=s.useState(null),[a,c]=s.useState(null),u=(null==i?void 0:i.domReference)||o,d=s.useRef(null),f=s.useContext(nA);eA(()=>{u&&(d.current=u)},[u]);let h=function(e){void 0===e&&(e={});let{placement:n="bottom",strategy:t="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:l}={},transform:a=!0,whileElementsMounted:c,open:u}=e,[d,f]=s.useState({x:0,y:0,strategy:t,placement:n,middlewareData:{},isPositioned:!1}),[h,m]=s.useState(r);ng(h,r)||m(r);let[p,x]=s.useState(null),[g,j]=s.useState(null),b=s.useCallback(e=>{e!==k.current&&(k.current=e,x(e))},[]),y=s.useCallback(e=>{e!==_.current&&(_.current=e,j(e))},[]),v=o||p,w=l||g,k=s.useRef(null),_=s.useRef(null),C=s.useRef(d),I=null!=c,S=ny(c),O=ny(i),A=ny(u),P=s.useCallback(()=>{var e,r;let i,o,l;if(!k.current||!_.current)return;let a={placement:n,strategy:t,middleware:h};O.current&&(a.platform=O.current),(e=k.current,r=_.current,i=new Map,l={...(o={platform:nm,...a}).platform,_c:i},e4(e,r,{...o,platform:l})).then(e=>{let n={...e,isPositioned:!1!==A.current};E.current&&!ng(C.current,n)&&(C.current=n,e$.flushSync(()=>{f(n)}))})},[h,n,t,O,A]);nx(()=>{!1===u&&C.current.isPositioned&&(C.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[u]);let E=s.useRef(!1);nx(()=>(E.current=!0,()=>{E.current=!1}),[]),nx(()=>{if(v&&(k.current=v),w&&(_.current=w),v&&w){if(S.current)return S.current(v,w,P);P()}},[v,w,P,S,I]);let B=s.useMemo(()=>({reference:k,floating:_,setReference:b,setFloating:y}),[b,y]),z=s.useMemo(()=>({reference:v,floating:w}),[v,w]),T=s.useMemo(()=>{let e={position:t,left:0,top:0};if(!z.floating)return e;let n=nb(z.floating,d.x),r=nb(z.floating,d.y);return a?{...e,transform:"translate("+n+"px, "+r+"px)",...nj(z.floating)>=1.5&&{willChange:"transform"}}:{position:t,left:n,top:r}},[t,a,z.floating,d.x,d.y]);return s.useMemo(()=>({...d,update:P,refs:B,elements:z,floatingStyles:T}),[d,P,B,z,T])}({...e,elements:{...i,...a&&{reference:a}}}),m=s.useCallback(e=>{let n=B(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;c(n),h.refs.setReference(n)},[h.refs]),p=s.useCallback(e=>{(B(e)||null===e)&&(d.current=e,l(e)),(B(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!B(e))&&h.refs.setReference(e)},[h.refs]),x=s.useMemo(()=>({...h.refs,setReference:p,setPositionReference:m,domReference:d}),[h.refs,p,m]),g=s.useMemo(()=>({...h.elements,domReference:u}),[h.elements,u]),j=s.useMemo(()=>({...h,...r,refs:x,elements:g,nodeId:n}),[h,x,g,n,r]);return eA(()=>{r.dataRef.current.floatingContext=j;let e=null==f?void 0:f.nodesRef.current.find(e=>e.id===n);e&&(e.context=j)}),s.useMemo(()=>({...h,context:j,refs:x,elements:g}),[h,x,g,j])}({middleware:[{...(void 0===(f=u=void 0===N?6:N)&&(f=0),{name:"offset",options:f,async fn(e){var n,t;let{x:r,y:i,placement:o,middlewareData:l}=e,a=await e9(e,f);return o===(null==(n=l.offset)?void 0:n.placement)&&null!=(t=l.arrow)&&t.alignmentOffset?{}:{x:r+a.x,y:i+a.y,data:{...a,placement:o}}}}),options:[u,d]},{...{name:"flip",options:p=h={padding:6},async fn(e){var n,t,r,i,o,l,a,c;let s,u,d,{placement:f,middlewareData:h,rects:m,initialPlacement:x,platform:g,elements:j}=e,{mainAxis:b=!0,crossAxis:y=!0,fallbackPlacements:v,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:_=!0,...C}=eF(p,e);if(null!=(n=h.arrow)&&n.alignmentOffset)return{};let I=eV(f),S=eQ(x),O=eV(x)===x,A=await (null==g.isRTL?void 0:g.isRTL(j.floating)),P=v||(O||!_?[e8(x)]:(s=e8(x),[eY(x),s,eY(s)])),E="none"!==k;!v&&E&&P.push(...(u=eH(x),d=function(e,n,t){switch(e){case"top":case"bottom":if(t)return n?e0:eZ;return n?eZ:e0;case"left":case"right":return n?e1:e2;default:return[]}}(eV(x),"start"===k,A),u&&(d=d.map(e=>e+"-"+u),_&&(d=d.concat(d.map(eY)))),d));let B=[x,...P],z=await e6(e,C),T=[],N=(null==(t=h.flip)?void 0:t.overflows)||[];if(b&&T.push(z[I]),y){let e,n,t,r,i=(l=f,a=m,void 0===(c=A)&&(c=!1),e=eH(l),t=eq(n=eW(eQ(l))),r="x"===n?e===(c?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[t]>a.floating[t]&&(r=e8(r)),[r,e8(r)]);T.push(z[i[0]],z[i[1]])}if(N=[...N,{placement:f,overflows:T}],!T.every(e=>e<=0)){let e=((null==(r=h.flip)?void 0:r.index)||0)+1,n=B[e];if(n&&("alignment"!==y||S===eQ(n)||N.every(e=>eQ(e.placement)!==S||e.overflows[0]>0)))return{data:{index:e,overflows:N},reset:{placement:n}};let t=null==(i=N.filter(e=>e.overflows[0]<=0).sort((e,n)=>e.overflows[1]-n.overflows[1])[0])?void 0:i.placement;if(!t)switch(w){case"bestFit":{let e=null==(o=N.filter(e=>{if(E){let n=eQ(e.placement);return n===S||"y"===n}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,n)=>e+n,0)]).sort((e,n)=>e[1]-n[1])[0])?void 0:o[0];e&&(t=e);break}case"initialPlacement":t=x}if(f!==t)return{reset:{placement:t}}}return{}}},options:[h,m]},{...(void 0===(b=x)&&(b={}),{name:"shift",options:b,async fn(e){let{x:n,y:t,placement:r}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:l={fn:e=>{let{x:n,y:t}=e;return{x:n,y:t}}},...a}=eF(b,e),c={x:n,y:t},s=await e6(e,a),u=eQ(eV(r)),d=eW(u),f=c[d],h=c[u];if(i){let e="y"===d?"top":"left",n="y"===d?"bottom":"right",t=f+s[e],r=f-s[n];f=eM(t,eD(f,r))}if(o){let e="y"===u?"top":"left",n="y"===u?"bottom":"right",t=h+s[e],r=h-s[n];h=eM(t,eD(h,r))}let m=l.fn({...e,[d]:f,[u]:h});return{...m,data:{x:m.x-n,y:m.y-t,enabled:{[d]:i,[u]:o}}}}}),options:[x,j]},E&&{...{name:"size",options:w=y={apply:function(e){var n=e.rects;e.elements.floating.style.width="".concat(n.reference.width,"px")}},async fn(e){var n,t;let r,i,{placement:o,rects:l,platform:a,elements:c}=e,{apply:s=()=>{},...u}=eF(w,e),d=await e6(e,u),f=eV(o),h=eH(o),m="y"===eQ(o),{width:p,height:x}=l.floating;"top"===f||"bottom"===f?(r=f,i=h===(await (null==a.isRTL?void 0:a.isRTL(c.floating))?"start":"end")?"left":"right"):(i=f,r="end"===h?"top":"bottom");let g=x-d.top-d.bottom,j=p-d.left-d.right,b=eD(x-d[r],g),y=eD(p-d[i],j),v=!e.middlewareData.shift,k=b,_=y;if(null!=(n=e.middlewareData.shift)&&n.enabled.x&&(_=j),null!=(t=e.middlewareData.shift)&&t.enabled.y&&(k=g),v&&!h){let e=eM(d.left,0),n=eM(d.right,0),t=eM(d.top,0),r=eM(d.bottom,0);m?_=p-2*(0!==e||0!==n?e+n:eM(d.left,d.right)):k=x-2*(0!==t||0!==r?t+r:eM(d.top,d.bottom))}await s({...e,availableWidth:_,availableHeight:k});let C=await a.getDimensions(c.floating);return p!==C.width||x!==C.height?{reset:{rects:!0}}:{}}},options:[y,v]}],onOpenChange:function(e){Z(e),null==W||W(e)},open:Y,placement:J||"bottom",transform:!1,whileElementsMounted:function(e,n,t){return void 0!==K&&K(),function(e,n,t,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,u=nn(e),d=o||l?[...u?G(u):[],...G(n)]:[];d.forEach(e=>{o&&e.addEventListener("scroll",t,{passive:!0}),l&&e.addEventListener("resize",t)});let f=u&&c?function(e,n){let t,r=null,i=P(e);function o(){var e;clearTimeout(t),null==(e=r)||e.disconnect(),r=null}return!function l(a,c){void 0===a&&(a=!1),void 0===c&&(c=1),o();let s=e.getBoundingClientRect(),{left:u,top:d,width:f,height:h}=s;if(a||n(),!f||!h)return;let m={rootMargin:-eK(d)+"px "+-eK(i.clientWidth-(u+f))+"px "+-eK(i.clientHeight-(d+h))+"px "+-eK(u)+"px",threshold:eM(0,eD(1,c))||1},p=!0;function x(n){let r=n[0].intersectionRatio;if(r!==c){if(!p)return l();r?l(!1,r):t=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||np(s,e.getBoundingClientRect())||l(),p=!1}try{r=new IntersectionObserver(x,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(x,m)}r.observe(e)}(!0),o}(u,t):null,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&m&&(m.unobserve(n),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(n)})),t()}),u&&!s&&m.observe(u),m.observe(n));let p=s?no(e):null;return s&&function n(){let r=no(e);p&&!np(p,r)&&t(),p=r,i=requestAnimationFrame(n)}(),t(),()=>{var e;d.forEach(e=>{o&&e.removeEventListener("scroll",t),l&&e.removeEventListener("resize",t)}),null==f||f(),null==(e=m)||e.disconnect(),m=null,s&&cancelAnimationFrame(i)}}(e,n,t,{ancestorResize:!1,ancestorScroll:!1,elementResize:!1})}}),en=ee.refs,et=ee.floatingStyles,er=ee.context,ei=function(e,n){void 0===n&&(n={});let{open:t,elements:{floating:r}}=e,{duration:i=250}=n,o=("number"==typeof i?i:i.close)||0,[l,a]=s.useState("unmounted"),c=function(e,n){let[t,r]=s.useState(e);return e&&!t&&r(!0),s.useEffect(()=>{if(!e&&t){let e=setTimeout(()=>r(!1),n);return()=>clearTimeout(e)}},[e,t,n]),t}(t,o);return c||"close"!==l||a("unmounted"),eA(()=>{if(r){if(t){a("initial");let e=requestAnimationFrame(()=>{e$.flushSync(()=>{a("open")})});return()=>{cancelAnimationFrame(e)}}a("close")}},[t,r]),{isMounted:c,status:l}}(er,{duration:I||200}),eo=ei.isMounted,el=ei.status,ea=function(e,n){void 0===n&&(n={});let{open:t,onOpenChange:r,elements:i,dataRef:o}=e,{enabled:l=!0,escapeKey:a=!0,outsidePress:c=!0,outsidePressEvent:u="pointerdown",referencePress:d=!1,referencePressEvent:f="pointerdown",ancestorScroll:h=!1,bubbles:m,capture:p}=n,x=s.useContext(nA),g=eB("function"==typeof c?c:()=>!1),j="function"==typeof c?g:c,b=s.useRef(!1),{escapeKey:y,outsidePress:v}=nV(m),{escapeKey:w,outsidePress:k}=nV(p),_=s.useRef(!1),C=eB(e=>{var n;if(!t||!l||!a||"Escape"!==e.key||_.current)return;let i=null==(n=o.current.floatingContext)?void 0:n.nodeId,c=x?eS(x.nodesRef.current,i):[];if(!y&&(e.stopPropagation(),c.length>0)){let e=!0;if(c.forEach(n=>{var t;if(null!=(t=n.context)&&t.open&&!n.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}r(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}),I=eB(e=>{var n;let t=()=>{var n;C(e),null==(n=e_(e))||n.removeEventListener("keydown",t)};null==(n=e_(e))||n.addEventListener("keydown",t)}),S=eB(e=>{var n;let t=o.current.insideReactTree;o.current.insideReactTree=!1;let l=b.current;if(b.current=!1,"click"===u&&l||t||"function"==typeof j&&!j(e))return;let a=e_(e),c="["+nE("inert")+"]",s=eI(i.floating).querySelectorAll(c),d=B(a)?a:null;for(;d&&!V(d);){let e=q(d);if(V(e)||!B(e))break;d=e}if(s.length&&B(a)&&!a.matches("html,body")&&!ek(a,i.floating)&&Array.from(s).every(e=>!ek(d,e)))return;if(z(a)&&P){let n=V(a),t=H(a),r=/auto|scroll/,i=n||r.test(t.overflowX),o=n||r.test(t.overflowY),l=i&&a.clientWidth>0&&a.scrollWidth>a.clientWidth,c=o&&a.clientHeight>0&&a.scrollHeight>a.clientHeight,s="rtl"===t.direction,u=c&&(s?e.offsetX<=a.offsetWidth-a.clientWidth:e.offsetX>a.clientWidth),d=l&&e.offsetY>a.clientHeight;if(u||d)return}let f=null==(n=o.current.floatingContext)?void 0:n.nodeId,h=x&&eS(x.nodesRef.current,f).some(n=>{var t;return eC(e,null==(t=n.context)?void 0:t.elements.floating)});if(eC(e,i.floating)||eC(e,i.domReference)||h)return;let m=x?eS(x.nodesRef.current,f):[];if(m.length>0){let e=!0;if(m.forEach(n=>{var t;if(null!=(t=n.context)&&t.open&&!n.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}r(!1,e,"outside-press")}),O=eB(e=>{var n;let t=()=>{var n;S(e),null==(n=e_(e))||n.removeEventListener(u,t)};null==(n=e_(e))||n.addEventListener(u,t)});s.useEffect(()=>{if(!t||!l)return;o.current.__escapeKeyBubbles=y,o.current.__outsidePressBubbles=v;let e=-1;function n(e){r(!1,e,"ancestor-scroll")}function c(){window.clearTimeout(e),_.current=!0}function s(){e=window.setTimeout(()=>{_.current=!1},5*!!U())}let d=eI(i.floating);a&&(d.addEventListener("keydown",w?I:C,w),d.addEventListener("compositionstart",c),d.addEventListener("compositionend",s)),j&&d.addEventListener(u,k?O:S,k);let f=[];return h&&(B(i.domReference)&&(f=G(i.domReference)),B(i.floating)&&(f=f.concat(G(i.floating))),!B(i.reference)&&i.reference&&i.reference.contextElement&&(f=f.concat(G(i.reference.contextElement)))),(f=f.filter(e=>{var n;return e!==(null==(n=d.defaultView)?void 0:n.visualViewport)})).forEach(e=>{e.addEventListener("scroll",n,{passive:!0})}),()=>{a&&(d.removeEventListener("keydown",w?I:C,w),d.removeEventListener("compositionstart",c),d.removeEventListener("compositionend",s)),j&&d.removeEventListener(u,k?O:S,k),f.forEach(e=>{e.removeEventListener("scroll",n)}),window.clearTimeout(e)}},[o,i,a,j,u,t,r,h,l,y,v,C,w,I,S,k,O]),s.useEffect(()=>{o.current.insideReactTree=!1},[o,j,u]);let A=s.useMemo(()=>({onKeyDown:C,...d&&{[nU[f]]:e=>{r(!1,e.nativeEvent,"reference-press")},..."click"!==f&&{onClick(e){r(!1,e.nativeEvent,"reference-press")}}}}),[C,r,d,f]),P=s.useMemo(()=>({onKeyDown:C,onMouseDown(){b.current=!0},onMouseUp(){b.current=!0},[nF[u]]:()=>{o.current.insideReactTree=!0}}),[C,u,o]);return s.useMemo(()=>l?{reference:A,floating:P}:{},[l,A,P])}(er,{ancestorScroll:!0,outsidePress:function(e){var n,t;return!C||(n=e.target,(null!=(t=Element)&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](n):n instanceof t)&&!e.target.closest(C))}}),ec=function(e,n){void 0===n&&(n={});let{open:t,onOpenChange:r,dataRef:i,elements:{domReference:o}}=e,{enabled:l=!0,event:a="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:d=!0,stickIfOpen:f=!0}=n,h=s.useRef(),m=s.useRef(!1),p=s.useMemo(()=>({onPointerDown(e){h.current=e.pointerType},onMouseDown(e){let n=h.current;0!==e.button||"click"===a||eO(n,!0)&&u||(t&&c&&(!i.current.openEvent||!f||"mousedown"===i.current.openEvent.type)?r(!1,e.nativeEvent,"click"):(e.preventDefault(),r(!0,e.nativeEvent,"click")))},onClick(e){let n=h.current;if("mousedown"===a&&h.current){h.current=void 0;return}eO(n,!0)&&u||(t&&c&&(!i.current.openEvent||!f||"click"===i.current.openEvent.type)?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))},onKeyDown(e){h.current=void 0,!(e.defaultPrevented||!d||nJ(e))&&(" "!==e.key||nX(o)||(e.preventDefault(),m.current=!0),z(e.target)&&"A"===e.target.tagName||"Enter"!==e.key||(t&&c?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click")))},onKeyUp(e){!(e.defaultPrevented||!d||nJ(e)||nX(o))&&" "===e.key&&m.current&&(m.current=!1,t&&c?r(!1,e.nativeEvent,"click"):r(!0,e.nativeEvent,"click"))}}),[i,o,a,u,d,r,t,f,c]);return s.useMemo(()=>l?{reference:p}:{},[l,p])}(er,{enabled:!$}),es=function(e,n){void 0===n&&(n={});let{open:t,onOpenChange:r,dataRef:i,events:o,elements:l}=e,{enabled:a=!0,delay:c=0,handleClose:u=null,mouseOnly:d=!1,restMs:f=0,move:h=!0}=n,m=s.useContext(nA),p=nP(),x=eP(u),g=eP(c),j=eP(t),b=eP(f),y=s.useRef(),v=s.useRef(-1),w=s.useRef(),k=s.useRef(-1),_=s.useRef(!0),C=s.useRef(!1),I=s.useRef(()=>{}),S=s.useRef(!1),O=eB(()=>{var e;let n=null==(e=i.current.openEvent)?void 0:e.type;return(null==n?void 0:n.includes("mouse"))&&"mousedown"!==n});s.useEffect(()=>{if(a)return o.on("openchange",e),()=>{o.off("openchange",e)};function e(e){let{open:n}=e;n||(nB(v),nB(k),_.current=!0,S.current=!1)}},[a,o]),s.useEffect(()=>{if(!a||!x.current||!t)return;function e(e){O()&&r(!1,e,"hover")}let n=eI(l.floating).documentElement;return n.addEventListener("mouseleave",e),()=>{n.removeEventListener("mouseleave",e)}},[l.floating,t,r,a,x,O]);let A=s.useCallback(function(e,n,t){void 0===n&&(n=!0),void 0===t&&(t="hover");let i=nT(g.current,"close",y.current);i&&!w.current?(nB(v),v.current=window.setTimeout(()=>r(!1,e,t),i)):n&&(nB(v),r(!1,e,t))},[g,r]),P=eB(()=>{I.current(),w.current=void 0}),E=eB(()=>{if(C.current){let e=eI(l.floating).body;e.style.pointerEvents="",e.removeAttribute(nz),C.current=!1}}),z=eB(()=>!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type));s.useEffect(()=>{if(a&&B(l.domReference)){let r=l.domReference,i=l.floating;return t&&r.addEventListener("mouseleave",o),h&&r.addEventListener("mousemove",e,{once:!0}),r.addEventListener("mouseenter",e),r.addEventListener("mouseleave",n),i&&(i.addEventListener("mouseleave",o),i.addEventListener("mouseenter",c),i.addEventListener("mouseleave",s)),()=>{t&&r.removeEventListener("mouseleave",o),h&&r.removeEventListener("mousemove",e),r.removeEventListener("mouseenter",e),r.removeEventListener("mouseleave",n),i&&(i.removeEventListener("mouseleave",o),i.removeEventListener("mouseenter",c),i.removeEventListener("mouseleave",s))}}function e(e){if(nB(v),_.current=!1,d&&!eO(y.current)||nN(b.current)>0&&!nT(g.current,"open"))return;let n=nT(g.current,"open",y.current);n?v.current=window.setTimeout(()=>{j.current||r(!0,e,"hover")},n):t||r(!0,e,"hover")}function n(e){if(z())return void E();I.current();let n=eI(l.floating);if(nB(k),S.current=!1,x.current&&i.current.floatingContext){t||nB(v),w.current=x.current({...i.current.floatingContext,tree:m,x:e.clientX,y:e.clientY,onClose(){E(),P(),z()||A(e,!0,"safe-polygon")}});let r=w.current;n.addEventListener("mousemove",r),I.current=()=>{n.removeEventListener("mousemove",r)};return}"touch"===y.current&&ek(l.floating,e.relatedTarget)||A(e)}function o(e){z()||i.current.floatingContext&&(null==x.current||x.current({...i.current.floatingContext,tree:m,x:e.clientX,y:e.clientY,onClose(){E(),P(),z()||A(e)}})(e))}function c(){nB(v)}function s(e){z()||A(e,!1)}},[l,a,e,d,h,A,P,E,r,t,j,m,g,x,i,z,b]),eA(()=>{var e,n;if(a&&t&&null!=(e=x.current)&&null!=(e=e.__options)&&e.blockPointerEvents&&O()){C.current=!0;let e=l.floating;if(B(l.domReference)&&e){let t=eI(l.floating).body;t.setAttribute(nz,"");let r=l.domReference,i=null==m||null==(n=m.nodesRef.current.find(e=>e.id===p))||null==(n=n.context)?void 0:n.elements.floating;return i&&(i.style.pointerEvents=""),t.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{t.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}},[a,t,p,l,m,x,O]),eA(()=>{t||(y.current=void 0,S.current=!1,P(),E())},[t,P,E]),s.useEffect(()=>()=>{P(),nB(v),nB(k),E()},[a,l.domReference,P,E]);let T=s.useMemo(()=>{function e(e){y.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:n}=e;function i(){_.current||j.current||r(!0,n,"hover")}d&&!eO(y.current)||t||0===nN(b.current)||S.current&&e.movementX**2+e.movementY**2<2||(nB(k),"touch"===y.current?i():(S.current=!0,k.current=window.setTimeout(i,nN(b.current))))}}},[d,r,t,j,b]);return s.useMemo(()=>a?{reference:T}:{},[a,T])}(er,{enabled:!$,restMs:D||200}),eu=void 0!==L,ed=(n=(k=eu?[]:[ea,M?es:ec]).map(e=>null==e?void 0:e.reference),t=k.map(e=>null==e?void 0:e.floating),r=k.map(e=>null==e?void 0:e.item),i=s.useCallback(e=>nH(e,k,"reference"),n),o=s.useCallback(e=>nH(e,k,"floating"),t),l=s.useCallback(e=>nH(e,k,"item"),r),s.useMemo(()=>({getReferenceProps:i,getFloatingProps:o,getItemProps:l}),[i,o,l])),ef=ed.getReferenceProps,eh=ed.getFloatingProps,em=ef(nq({ref:en.setReference},F&&{onClick:function(e){return e.stopPropagation()}})),ep=eh({onClick:function(){O&&er.onOpenChange(!1)},ref:en.setFloating});(0,s.useEffect)(function(){eu&&er.onOpenChange(L)},[L]),_=(0,s.isValidElement)(S)?(0,s.cloneElement)(S,em):(0,a.jsx)("div",nG(nq({},em),{children:S}));var ex=(0,a.jsx)("div",nG(nq({className:(0,g.Ly)(["Floating",!I&&"Floating--animated",T]),"data-position":er.placement,"data-transition":el,style:nq({},et,R)},ep),{children:A}));return(0,a.jsxs)(a.Fragment,{children:[_,eo&&!!A&&(X?ex:(0,a.jsx)(nL,{id:"tgui-root",children:ex}))]})}function nY(e){var n=e.content,t=e.children,r=e.position;return(0,a.jsx)(nQ,{content:n,contentClasses:"Tooltip",hoverOpen:!0,placement:r,children:t})}function nZ(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function n5(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),!n||o.length!==n);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(e,n)||function(e,n){if(e){if("string"==typeof e)return nZ(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return nZ(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n4(e,n){var t,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return l.next=a(0),l.throw=a(1),l.return=a(2),"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function a(a){return function(c){var s=[a,c];if(t)throw TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(o=0)),o;)try{if(t=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]e.length)&&(n=e.length);for(var t=0,r=Array(n);t2&&void 0!==arguments[2]&&arguments[2];return function(){for(var i=arguments.length,o=Array(i),l=0;l=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["params","phonehome"]),i=(0,s.useRef)(null),o=(0,s.useRef)(function(e){var n=!(arguments.length>1)||void 0===arguments[1]||arguments[1],t=tr.length;tr.push(null);var r=e||"byondui_".concat(t);return{render:function(e){n&&Byond.sendMessage("renderByondUi",{renderByondUi:r}),tr[t]=r,Byond.winset(r,e)},unmount:function(){n&&Byond.sendMessage("unmountByondUi",{renderByondUi:r}),tr[t]=null,Byond.winset(r,{parent:""})}}}(null==n?void 0:n.id,t));function l(){var e=i.current;if(e){var t,r,l,a=(r=null!=(t=window.devicePixelRatio)?t:1,{pos:[(l=e.getBoundingClientRect()).left*r,l.top*r],size:[(l.right-l.left)*r,(l.bottom-l.top)*r]});o.current.render(tt(tn({parent:Byond.windowId},n),{pos:"".concat(a.pos[0],",").concat(a.pos[1]),size:"".concat(a.size[0],"x").concat(a.size[1])}))}}var c=te(function(){l()},100);return(0,s.useEffect)(function(){return window.addEventListener("resize",c),l(),function(){window.removeEventListener("resize",c),o.current.unmount()}},[]),(0,a.jsx)("div",tt(tn({ref:i},(0,j.Fl)(r)),{children:(0,a.jsx)("div",{style:{minHeight:"22px"}})}))}window.addEventListener("beforeunload",function(){for(var e=0;ee.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"]),h=(0,s.useRef)(null),m=ta((0,s.useState)([600,200]),2),p=m[0],x=m[1],g=function(e,n,t,r){if(0===e.length)return[];var i,o,l=to.y.apply(void 0,tc(e)),a=l.map(function(e){return(i=Math).min.apply(i,tc(e))}),c=l.map(function(e){return(o=Math).max.apply(o,tc(e))});return void 0!==t&&(a[0]=t[0],c[0]=t[1]),void 0!==r&&(a[1]=r[0],c[1]=r[1]),e.map(function(e){return(0,to.y)(e,a,c,n).map(function(e){var n=ta(e,4),t=n[0],r=n[1];return(t-r)/(n[2]-r)*n[3]})})}(void 0===r?[]:r,p,i,o);if(g.length>0){var j=g[0],b=g[g.length-1];g.push([p[0]+d,b[1]]),g.push([p[0]+d,-d]),g.push([-d,-d]),g.push([-d,j[1]])}var v=function(e){for(var n="",t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["children","child_mt","childStyles","color","title","buttons","icon"]),m=(n=(0,s.useState)(e.open),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),2!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,2)||function(e,n){if(e){if("string"==typeof e)return tf(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tf(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),p=m[0],x=m[1];return(0,a.jsxs)(y,{mb:1,children:[(0,a.jsxs)("div",{className:"Table",children:[(0,a.jsx)("div",{className:"Table__cell",children:(0,a.jsx)(n6,(t=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["content","children","className"]);return o.color=r?null:"default",o.backgroundColor=e.color||"default",(0,a.jsx)("div",(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["className","children"]);return(0,a.jsx)(y,(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["fixBlur","fixErrors","objectFit","src"]),d=(0,s.useRef)(0),f=(0,s.useRef)(null),h=(0,j.Fl)(u);return n=tg({},h.style),t=t={imageRendering:void 0===r||r?"pixelated":"auto",objectFit:void 0===o?"fill":o},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),h.style=n,(0,s.useEffect)(function(){return function(){f.current&&clearTimeout(f.current)}},[]),(0,a.jsx)("img",tg({alt:"dm icon",onError:function(e){if(!i||d.current>=5){f.current&&clearTimeout(f.current);return}var n=e.currentTarget;f.current=setTimeout(function(){n.src="".concat(c,"?attempt=").concat(d.current),d.current++},1e3)},src:c},h))}function tb(e){var n,t=e.direction,r=e.fallback,i=e.frame,o=e.icon_state,l=e.icon,c=e.movement,s=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["direction","fallback","frame","icon_state","icon","movement"]),u=null==(n=Byond.iconRefMap)?void 0:n[l];return u?(0,a.jsx)(tj,function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);tk.length-3?k.length-1:e-2;var t=z.current,r=null==t?void 0:t.children[n];t&&r&&(t.scrollTop=r.offsetTop)}function R(e){if(!(k.length<1)&&!c){var n,t=k.length-1;n=T<0?"next"===e?t:0:"next"===e?T===t?0:T+1:0===T?t:T-1,E&&r&&N(n),null==y||y(tC(k[n]))}}var $=_?"top":"bottom";return m&&($="".concat($,"-start")),(0,a.jsxs)("div",{className:(0,g.Ly)(["Dropdown",O&&"Dropdown--fluid"]),children:[(0,a.jsx)(nQ,{allowedOutsideClasses:".Dropdown__button",closeAfterInteract:!0,content:(0,a.jsx)("div",{className:"Dropdown__menu",ref:z,children:0===k.length?(0,a.jsx)("div",{className:"Dropdown__menu--entry",children:"No options"}):k.map(function(e){var n=tC(e);return(0,a.jsx)("div",{className:(0,g.Ly)(["Dropdown__menu--entry",S===n&&"selected"]),onClick:function(){null==y||y(n)},onKeyDown:function(e){e.key===w._.Enter&&(null==y||y(n))},children:"string"==typeof e?e:e.displayText},n)})}),contentAutoWidth:!p,contentClasses:"Dropdown__menu--wrapper",contentStyles:{width:p?(0,j.zA)(p):void 0},disabled:c,onMounted:function(){E&&r&&-1!==T&&N(T)},onOpenChange:B,placement:$,children:(0,a.jsxs)("div",{className:(0,g.Ly)(["Dropdown__control","Button--color--".concat(void 0===l?"default":l),c&&"Button--disabled",m&&"Dropdown__control--icon-only",o]),onClick:function(e){(!c||E)&&(null==b||b(e))},onKeyDown:function(e){e.key!==w._.Enter||c||null==b||b(e)},style:{width:(0,j.zA)(void 0===A?15:A)},children:[d&&(0,a.jsx)(I,{className:"Dropdown__icon",name:d,rotation:f,spin:h}),!m&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"Dropdown__selected-text",children:u||S&&tC(S)||(void 0===C?"Select...":C)}),!x&&(0,a.jsx)(I,{className:(0,g.Ly)(["Dropdown__icon","Dropdown__icon--arrow",_&&"over",E&&"open"]),name:"chevron-down"})]})]})}),i&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n6,{className:"Dropdown__button",disabled:c,icon:"chevron-left",onClick:function(){R("previous")}}),(0,a.jsx)(n6,{className:"Dropdown__button",disabled:c,icon:"chevron-right",onClick:function(){R("next")}})]})]})}function tS(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function tP(e){return(0,g.Ly)(["Flex",e.inlineFlex&&"Flex--inline",(0,j.WP)(e)])}function tE(e){var n=e.direction,t=e.wrap,r=e.align,i=e.justify,o=tA(e,["direction","wrap","align","justify"]);return(0,j.Fl)(tS({style:tO(tS({},o.style),{alignItems:r,flexDirection:n,flexWrap:!0===t?"wrap":t,justifyContent:i})},o))}function tB(e){var n=e.className,t=tA(e,["className"]);return(0,a.jsx)("div",tS({className:(0,g.Ly)([n,tP(t)])},tE(t)))}function tz(e){var n,t=e.style,r=e.grow,i=e.order,o=e.shrink,l=e.basis,a=e.align,c=tA(e,["style","grow","order","shrink","basis","align"]),s=null!=(n=null!=l?l:e.width)?n:void 0!==r?0:void 0;return(0,j.Fl)(tS({style:tO(tS({},t),{alignSelf:a,flexBasis:(0,j.zA)(s),flexGrow:void 0!==r&&Number(r),flexShrink:void 0!==o&&Number(o),order:i})},c))}function tT(e){var n,t,r=e.asset,i=e.assetSize,o=e.base64,l=e.buttons,c=e.buttonsAlt,s=e.children,u=e.className,d=e.color,f=e.disabled,h=e.dmFallback,m=e.dmIcon,p=e.dmIconState,x=e.fluid,b=e.fallbackIcon,y=e.imageSize,v=void 0===y?64:y,w=e.imageSrc,k=e.onClick,_=e.onRightClick,C=e.selected,I=e.title,S=e.tooltip,O=e.tooltipPosition,A=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["asset","assetSize","base64","buttons","buttonsAlt","children","className","color","disabled","dmFallback","dmIcon","dmIconState","fluid","fallbackIcon","imageSize","imageSrc","onClick","onRightClick","selected","title","tooltip","tooltipPosition"]),P=(0,a.jsxs)("div",{className:"ImageButton__container",onClick:function(e){!f&&k&&k(e)},onContextMenu:function(e){e.preventDefault(),!f&&_&&_(e)},onKeyDown:function(e){"Enter"===e.key&&!f&&k&&k(e)},style:{width:x?"auto":"calc(".concat(v,"px + 0.5em + 2px)")},tabIndex:f?void 0:0,children:[(0,a.jsx)("div",{className:"ImageButton__image",children:o||w?(0,a.jsx)(tj,{height:"".concat(v,"px"),src:o?"data:image/png;base64,".concat(o):w,width:"".concat(v,"px")}):m&&p?(0,a.jsx)(tb,{fallback:h||(0,a.jsx)(tN,{icon:"spinner",size:v,spin:!0}),height:"".concat(v,"px"),icon:m,icon_state:p,width:"".concat(v,"px")}):r?(0,a.jsx)(tj,{className:(0,g.Ly)(r||[]),height:"".concat(v,"px"),style:{transform:"scale(".concat(v/(void 0===i?32:i),")"),transformOrigin:"top left"},width:"".concat(v,"px")}):(0,a.jsx)(tN,{icon:b||"question",size:v})}),x&&(I||s)?(0,a.jsxs)("div",{className:"ImageButton__content",children:[I&&(0,a.jsx)("span",{className:(0,g.Ly)(["ImageButton__content--title",!!s&&"ImageButton__content--divider"]),children:I}),s&&(0,a.jsx)("span",{className:"ImageButton__content--text",children:s})]}):s&&(0,a.jsx)("span",{className:"ImageButton__content",children:s})]});return S&&(P=(0,a.jsx)(nY,{content:S,position:O,children:P})),(0,a.jsxs)("div",(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["className","value","minValue","maxValue","color","ranges","empty","children","fractionDigits"]),h=(0,c.hs)(t,void 0===r?0:r,void 0===i?1:i),m=void 0!==u,p=o||(0,c.TG)(t,void 0===l?{}:l)||"default",x=(0,j.Fl)(f),b=["ProgressBar",n,(0,j.WP)(f)],y={width:"".concat(100*(0,c.J$)(h),"%")};return tR.NE.includes(p)||"default"===p?b.push("ProgressBar--color--".concat(p)):(x.style=tD(t$({},x.style),{borderColor:p}),y.backgroundColor=p),(0,a.jsxs)("div",tD(t$({className:(0,g.Ly)(b)},x),{children:[(0,a.jsx)("div",{className:"ProgressBar__fill ProgressBar__fill--animated",style:y}),(0,a.jsx)("div",{className:"ProgressBar__content",children:m?u:!s&&"".concat((100*h).toFixed(void 0===d?0:d),"%")})]}))}function tL(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function tJ(e){var n=e.className,t=e.vertical,r=e.fill,i=e.reverse,o=e.zebra,l=tK(e,["className","vertical","fill","reverse","zebra"]);return(0,a.jsx)("div",tL({className:(0,g.Ly)(["Stack",r&&"Stack--fill",t?"Stack--vertical":"Stack--horizontal",o&&"Stack--zebra",i&&"Stack--reverse".concat(t?"--vertical":""),n,tP(e)])},tE(tL({direction:"".concat(t?"column":"row").concat(i?"-reverse":"")},l))))}function tX(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["autoFocus","autoSelect","className","disabled","expensive","fluid","maxLength","monospace","onBlur","onChange","onEnter","onEscape","onKeyDown","placeholder","ref","selfClear","spellcheck","value"]),O=(0,s.useRef)(null),A=null!=k?k:O,P=(n=(0,s.useState)(null!=I?I:""),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),2!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,2)||function(e,n){if(e){if("string"==typeof e)return tX(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tX(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),E=P[0],B=P[1];(0,s.useEffect)(function(){var e;return(i||o)&&(e=setTimeout(function(){var e,n;null==(e=A.current)||e.focus(),o&&(null==(n=A.current)||n.select())},1)),function(){return clearTimeout(e)}},[]),(0,s.useEffect)(function(){A.current&&document.activeElement!==A.current&&I!==E&&B(null!=I?I:"")},[I]);var z=(0,j.Fl)(S),T=(0,g.Ly)(["Input",c&&"Input--disabled",d&&"Input--fluid",h&&"Input--monospace",(0,j.WP)(S),l]);return(0,a.jsx)("input",(t=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["animated","tickWhileDragging","format","maxValue","minValue","onChange","step","stepPixelSize","unclamped","unit","value","bipolar","popupPosition","className","color","fillValue","ranges","size","style"]);return(0,a.jsx)(tk,{dragMatrix:[0,-1],animated:n,tickWhileDragging:t,format:r,maxValue:i,minValue:o,onChange:l,step:s,stepPixelSize:u,unclamped:d,unit:f,value:h,children:function(e){var n,t,r=e.displayElement,l=e.displayValue,s=e.dragging,u=e.handleDragStart,d=e.inputElement,f=(0,c.hs)(null!=y?y:l,o,i),v=(0,c.hs)(l,o,i),k=b||(0,c.TG)(null!=y?y:h,w)||"default",S=Math.min((v-.5)*270,225);return(0,a.jsx)(nQ,{content:r,contentClasses:"Knob__popupValue",handleOpen:s,placement:p||"top",preventPortal:!0,children:(0,a.jsxs)("div",(n=tV({className:(0,g.Ly)(["Knob","Knob--color--".concat(k),m&&"Knob--bipolar",x,(0,j.WP)(I)])},(0,j.Fl)(tV({style:tV({fontSize:"".concat(_,"em")},C)},I))),t=t={onMouseDown:u,children:[(0,a.jsx)("div",{className:"Knob__circle",children:(0,a.jsx)("div",{className:"Knob__cursorBox",style:{transform:"rotate(".concat(S,"deg)")},children:(0,a.jsx)("div",{className:"Knob__cursor"})})}),(0,a.jsxs)("svg",{className:"Knob__ring Knob__ringTrackPivot",viewBox:"0 0 100 100",children:[(0,a.jsx)("circle",{className:"Knob__ringTrack",cx:"50",cy:"50",r:"50"}),(0,a.jsx)("title",{children:"track"})]}),(0,a.jsxs)("svg",{className:"Knob__ring Knob__ringFillPivot",viewBox:"0 0 100 100",children:[(0,a.jsx)("title",{children:"fill"}),(0,a.jsx)("circle",{className:"Knob__ringFill",cx:"50",cy:"50",r:"50",style:{strokeDashoffset:Math.max(((m?2.75:2)-1.5*f)*Math.PI*50,0)}})]}),d]},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))})}})}function tW(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function tQ(e){var n=e.children,t=e.wrap,r=tG(e,["children","wrap"]);return(0,a.jsx)(tB,tq(tW({align:"stretch",justify:"space-between",mx:-.5,wrap:t},r),{children:n}))}function tY(e){var n=e.children;return(0,a.jsx)("table",{className:"LabeledList",children:(0,a.jsx)("tbody",{children:n})})}function tZ(e){var n,t,r=e.children,i=e.className,o=e.disabled,l=e.display,c=e.onClick,u=e.onMouseOver,d=(e.open,e.openWidth),f=(e.onOutsideClick,function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["children","className","disabled","display","onClick","onMouseOver","open","openWidth","onOutsideClick"])),h=(0,s.useRef)(null);return(0,a.jsx)(nQ,{allowedOutsideClasses:".Menubar_inner",content:(0,a.jsx)("div",{className:"MenuBar__menu",style:{width:d},children:r}),children:(0,a.jsx)("div",{className:"Menubar_inner",ref:h,children:(0,a.jsx)(y,(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["className","children","onEnter","onEscape"]);return(0,a.jsx)(tp,{className:"Modal__dimmer",onKeyDown:function(e){e.key===w._.Enter&&(null==o||o(e)),(0,w.KL)(e.key)&&(null==l||l(e))},children:(0,a.jsx)("div",(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["className","color","info","success","danger"]);return(0,a.jsx)(y,function(e){for(var n=1;n=o?(t.currentValue=(0,c.qE)((0,c.LI)(u/o,0)*o,r,i),t.origin=n.screenY):Math.abs(a)>s&&(t.origin=n.screenY)}else Math.abs(a)>4&&(t.dragging=!0);return t})}),t8(e,"handleDragEnd",function(n){var t=e.state,r=t.dragging,i=t.currentValue,o=e.props,l=o.onChange;if(!o.disabled){if(document.body.style["pointer-events"]="auto",clearInterval(e.dragInterval),clearTimeout(e.dragTimeout),e.setState({dragging:!1,editing:!r,previousValue:i}),r)null==l||l(i);else if(e.inputRef){var a=e.inputRef.current;a&&(a.value="".concat(i),setTimeout(function(){a.focus(),a.select()},10))}document.removeEventListener("mousemove",e.handleDragMove),document.removeEventListener("mouseup",e.handleDragEnd)}}),t8(e,"handleBlur",function(n){var t=e.state,r=t.editing,i=t.previousValue,o=e.props,l=o.minValue,a=o.maxValue,s=o.onChange;if(!o.disabled&&r){var u=(0,c.qE)(Number.parseFloat(n.target.value),l,a);if(Number.isNaN(u))return void e.setState({editing:!1});e.setState({currentValue:u,editing:!1,previousValue:u}),i!==u&&(null==s||s(u))}}),t8(e,"handleKeyDown",function(n){var t=e.props,r=t.minValue,i=t.maxValue,o=t.onChange;if(!t.disabled){var l=e.state.previousValue;if(n.key===w._.Enter){var a=(0,c.qE)(Number.parseFloat(n.currentTarget.value),r,i);if(Number.isNaN(a))return void e.setState({editing:!1});e.setState({currentValue:a,editing:!1,previousValue:a}),l!==a&&(null==o||o(a))}else(0,w.KL)(n.key)&&e.setState({editing:!1})}}),e}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&t5(t,e),n=[{key:"componentDidMount",value:function(){var e=Number.parseFloat(this.props.value.toString());this.setState({currentValue:e,previousValue:e})}},{key:"render",value:function(){var e=this.state,n=e.dragging,t=e.editing,r=e.currentValue,i=this.props,o=i.className,l=i.fluid,s=i.animated,u=i.unit,d=i.value,f=i.minValue,m=i.maxValue,p=i.height,x=i.width,j=i.lineHeight,b=i.fontSize,v=i.format,w=Number.parseFloat(d.toString());n&&(w=r);var k=(0,a.jsxs)("div",{className:"NumberInput__content",children:[s&&!n?(0,a.jsx)(h,{format:v,value:w}):v?v(w):w,u?" ".concat(u):""]});return(0,a.jsxs)(y,{className:(0,g.Ly)(["NumberInput",l&&"NumberInput--fluid",o]),fontSize:b,lineHeight:j,minHeight:p,minWidth:x,onMouseDown:this.handleDragStart,children:[(0,a.jsx)("div",{className:"NumberInput__barContainer",children:(0,a.jsx)("div",{className:"NumberInput__bar",style:{height:"".concat((0,c.qE)((w-f)/(m-f)*100,0,100),"%")}})}),k,(0,a.jsx)("input",{className:"NumberInput__input",onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:this.inputRef,style:{display:t?"inline":"none",fontSize:b,height:p,lineHeight:j}})]})}}],function(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["allowFloats","autoFocus","autoSelect","className","disabled","expensive","fluid","maxValue","minValue","monospace","onBlur","onChange","onEnter","onEscape","onKeyDown","onValidationChange","value"]),S=(0,s.useRef)(null),O=t9((0,s.useState)(null!=C?C:m),2),A=O[0],P=O[1],E=t9((0,s.useState)(!0),2),B=E[0],z=E[1];function T(e){b&&(u?re(function(){return b(e)}):b(e))}(0,s.useEffect)(function(){var e;return(i||o)&&(e=setTimeout(function(){var e,n;null==(e=S.current)||e.focus(),o&&(null==(n=S.current)||n.select())},1)),function(){return clearTimeout(e)}},[]),(0,s.useEffect)(function(){if(S.current){var e=S.current.validity.valid;B!==e&&(z(e),null==_||_(e))}},[A]),(0,s.useEffect)(function(){S.current&&document.activeElement!==S.current&&C!==A&&P(null!=C?C:m)},[C]);var N=(0,j.Fl)(I),R=(0,g.Ly)(["Input","RestrictedInput",c&&"Input--disabled",d&&"Input--fluid",p&&"Input--monospace",(0,j.WP)(I),l,!B&&"RestrictedInput--invalid"]);return(0,a.jsx)("input",(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["buttons","children","className","container_id","fill","fitted","flexGrow","noTopPadding","onScroll","ref","scrollable","scrollableHorizontal","stretchContents","title"]),w=(0,g.b5)(y)||(0,g.b5)(r),k=(0,s.useRef)(null),_=null!=m?m:k;return(0,s.useEffect)(function(){return _.current&&(p||x)&&(0,rt.tk)(_.current),function(){_.current&&(0,rt.WK)(_.current)}},[]),(0,a.jsxs)("div",(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["animated","tickWhileDragging","format","maxValue","minValue","onChange","step","stepPixelSize","unit","value","className","fillValue","color","ranges","children"]),w=void 0!==y;return(0,a.jsx)(tk,{dragMatrix:[1,0],animated:n,tickWhileDragging:t,format:r,maxValue:i,minValue:o,onChange:l,step:s,stepPixelSize:u,unit:d,value:f,children:function(e){var n,t,r=e.displayElement,l=e.displayValue,s=e.dragging,u=e.editing,d=e.handleDragStart,x=e.inputElement,k=(0,c.J$)((0,c.hs)(null!=m?m:l,o,i)),_=(0,c.J$)((0,c.hs)(l,o,i)),C=p||(0,c.TG)(null!=m?m:f,b)||"default";return(0,a.jsxs)("div",(n=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function ra(e){var n,t,r=e.className,i=e.collapsing,o=e.children,l=rl(e,["className","collapsing","children"]);return(0,a.jsx)("table",(n=ro({className:(0,g.Ly)(["Table",i&&"Table--collapsing",r,(0,j.WP)(l)])},(0,j.Fl)(l)),t=t={children:(0,a.jsx)("tbody",{children:o})},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))}function rc(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function rf(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),!n||o.length!==n);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(e,n)||function(e,n){if(e){if("string"==typeof e)return rc(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return rc(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rh(e){var n=e.className,t=e.vertical,r=e.scrollable,i=e.fill,o=e.fluid,l=e.children,c=rd(e,["className","vertical","scrollable","fill","fluid","children"]),u=(0,s.useRef)(!0),d=(0,s.useRef)(null),f=(0,s.useRef)(null),h=rf((0,s.useState)(!1),2),m=h[0],p=h[1],x=rf((0,s.useState)(!1),2),b=x[0],y=x[1];function v(e){if(d.current){var n=d.current,t=.5*n.clientWidth;n.scrollBy({left:"left"===e?-t:t,behavior:"smooth"})}}(0,s.useEffect)(function(){var e=function(){p(i.scrollLeft>0),y(i.scrollLeft+i.clientWidthMath.abs(e.deltaX)&&(i.scrollLeft+=e.deltaY)};if(r&&!t&&d.current){var i=d.current;if(!(i.scrollWidthe.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["autoFocus","autoSelect","className","disabled","dontUseTabForIndent","expensive","fluid","maxLength","monospace","onBlur","onChange","onEnter","onEscape","onKeyDown","placeholder","ref","selfClear","spellcheck","userMarkup","value"]),P=(0,s.useRef)(null),E=null!=_?_:P,B=(n=(0,s.useState)(null!=O?O:""),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),2!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,2)||function(e,n){if(e){if("string"==typeof e)return rp(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return rp(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),z=B[0],T=B[1];(0,s.useEffect)(function(){(i||o)&&setTimeout(function(){var e,n;null==(e=E.current)||e.focus(),o&&(null==(n=E.current)||n.select())},1)},[]),(0,s.useEffect)(function(){E.current&&document.activeElement!==E.current&&O!==z&&T(null!=O?O:"")},[O]);var N=(0,j.Fl)(A),R=(0,g.Ly)(["Input","TextArea",f&&"Input--fluid",m&&"Input--monospace",c&&"Input--disabled",(0,j.WP)(A),l]);return(0,a.jsx)("textarea",(t=function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t"']/g,U=RegExp(J.source),F=RegExp(X.source),V=/<%-([\s\S]+?)%>/g,H=/<%([\s\S]+?)%>/g,W=/<%=([\s\S]+?)%>/g,q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/,Q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,Z=RegExp(Y.source),ee=/^\s+/,en=/\s/,et=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,er=/\{\n\/\* \[wrapped with (.+)\] \*/,ei=/,? & /,eo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,el=/[()=,{}\[\]\/\s]/,ea=/\\(\\)?/g,ec=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,es=/\w*$/,eu=/^[-+]0x[0-9a-f]+$/i,ed=/^0b[01]+$/i,ef=/^\[object .+?Constructor\]$/,eh=/^0o[0-7]+$/i,em=/^(?:0|[1-9]\d*)$/,ep=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ex=/($^)/,eg=/['\n\r\u2028\u2029\\]/g,ej="\ud800-\udfff",eb="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ey="\\u2700-\\u27bf",ev="a-z\\xdf-\\xf6\\xf8-\\xff",ew="A-Z\\xc0-\\xd6\\xd8-\\xde",ek="\\ufe0e\\ufe0f",e_="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",eC="['’]",eI="["+e_+"]",eS="["+eb+"]",eO="["+ev+"]",eA="[^"+ej+e_+"\\d+"+ey+ev+ew+"]",eP="\ud83c[\udffb-\udfff]",eE="[^"+ej+"]",eB="(?:\ud83c[\udde6-\uddff]){2}",ez="[\ud800-\udbff][\udc00-\udfff]",eT="["+ew+"]",eN="\\u200d",eR="(?:"+eO+"|"+eA+")",e$="(?:"+eT+"|"+eA+")",eD="(?:"+eC+"(?:d|ll|m|re|s|t|ve))?",eM="(?:"+eC+"(?:D|LL|M|RE|S|T|VE))?",eL="(?:"+eS+"|"+eP+")?",eK="["+ek+"]?",eJ="(?:"+eN+"(?:"+[eE,eB,ez].join("|")+")"+eK+eL+")*",eX=eK+eL+eJ,eU="(?:"+["["+ey+"]",eB,ez].join("|")+")"+eX,eF="(?:"+[eE+eS+"?",eS,eB,ez,"["+ej+"]"].join("|")+")",eV=RegExp(eC,"g"),eH=RegExp(eS,"g"),eW=RegExp(eP+"(?="+eP+")|"+eF+eX,"g"),eq=RegExp([eT+"?"+eO+"+"+eD+"(?="+[eI,eT,"$"].join("|")+")",e$+"+"+eM+"(?="+[eI,eT+eR,"$"].join("|")+")",eT+"?"+eR+"+"+eD,eT+"+"+eM,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",eU].join("|"),"g"),eG=RegExp("["+eN+ej+eb+ek+"]"),eQ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eY=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eZ=-1,e0={};e0[P]=e0[E]=e0[B]=e0[z]=e0[T]=e0[N]=e0[R]=e0[$]=e0[D]=!0,e0[f]=e0[h]=e0[O]=e0[m]=e0[A]=e0[p]=e0[x]=e0[g]=e0[b]=e0[y]=e0[v]=e0[k]=e0[_]=e0[C]=e0[S]=!1;var e1={};e1[f]=e1[h]=e1[O]=e1[A]=e1[m]=e1[p]=e1[P]=e1[E]=e1[B]=e1[z]=e1[T]=e1[b]=e1[y]=e1[v]=e1[k]=e1[_]=e1[C]=e1[I]=e1[N]=e1[R]=e1[$]=e1[D]=!0,e1[x]=e1[g]=e1[S]=!1;var e2={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},e8=parseFloat,e3=parseInt,e5=(void 0===t.g?"undefined":i(t.g))=="object"&&t.g&&t.g.Object===Object&&t.g,e4=("undefined"==typeof self?"undefined":i(self))=="object"&&self&&self.Object===Object&&self,e6=e5||e4||Function("return this")(),e7="object"==i(n)&&n&&!n.nodeType&&n,e9=e7&&"object"==i(e)&&e&&!e.nodeType&&e,ne=e9&&e9.exports===e7,nn=ne&&e5.process,nt=function(){try{var e=e9&&e9.require&&e9.require("util").types;if(e)return e;return nn&&nn.binding&&nn.binding("util")}catch(e){}}(),nr=nt&&nt.isArrayBuffer,ni=nt&&nt.isDate,no=nt&&nt.isMap,nl=nt&&nt.isRegExp,na=nt&&nt.isSet,nc=nt&&nt.isTypedArray;function ns(e,n,t){switch(t.length){case 0:return e.call(n);case 1:return e.call(n,t[0]);case 2:return e.call(n,t[0],t[1]);case 3:return e.call(n,t[0],t[1],t[2])}return e.apply(n,t)}function nu(e,n,t,r){for(var i=-1,o=null==e?0:e.length;++i-1}function np(e,n,t){for(var r=-1,i=null==e?0:e.length;++r-1;);return t}function nD(e,n){for(var t=e.length;t--&&n_(n,e[t],0)>-1;);return t}var nM=nA({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),nL=nA({"&":"&","<":"<",">":">",'"':""","'":"'"});function nK(e){return"\\"+e2[e]}function nJ(e){return eG.test(e)}function nX(e){var n=-1,t=Array(e.size);return e.forEach(function(e,r){t[++n]=[r,e]}),t}function nU(e,n){return function(t){return e(n(t))}}function nF(e,n){for(var t=-1,r=e.length,i=0,o=[];++t",""":'"',"'":"'"}),nQ=function e(n){var t,en,ej,eb,ey=(n=null==n?e6:nQ.defaults(e6.Object(),n,nQ.pick(e6,eY))).Array,ev=n.Date,ew=n.Error,ek=n.Function,e_=n.Math,eC=n.Object,eI=n.RegExp,eS=n.String,eO=n.TypeError,eA=ey.prototype,eP=ek.prototype,eE=eC.prototype,eB=n["__core-js_shared__"],ez=eP.toString,eT=eE.hasOwnProperty,eN=0,eR=(t=/[^.]+$/.exec(eB&&eB.keys&&eB.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"",e$=eE.toString,eD=ez.call(eC),eM=e6._,eL=eI("^"+ez.call(eT).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),eK=ne?n.Buffer:o,eJ=n.Symbol,eX=n.Uint8Array,eU=eK?eK.allocUnsafe:o,eF=nU(eC.getPrototypeOf,eC),eW=eC.create,eG=eE.propertyIsEnumerable,e2=eA.splice,e5=eJ?eJ.isConcatSpreadable:o,e4=eJ?eJ.iterator:o,e7=eJ?eJ.toStringTag:o,e9=function(){try{var e=ix(eC,"defineProperty");return e({},"",{}),e}catch(e){}}(),nn=n.clearTimeout!==e6.clearTimeout&&n.clearTimeout,nt=ev&&ev.now!==e6.Date.now&&ev.now,nv=n.setTimeout!==e6.setTimeout&&n.setTimeout,nA=e_.ceil,nY=e_.floor,nZ=eC.getOwnPropertySymbols,n0=eK?eK.isBuffer:o,n1=n.isFinite,n2=eA.join,n8=nU(eC.keys,eC),n3=e_.max,n5=e_.min,n4=ev.now,n6=n.parseInt,n7=e_.random,n9=eA.reverse,te=ix(n,"DataView"),tn=ix(n,"Map"),tt=ix(n,"Promise"),tr=ix(n,"Set"),ti=ix(n,"WeakMap"),to=ix(eC,"create"),tl=ti&&new ti,ta={},tc=iK(te),ts=iK(tn),tu=iK(tt),td=iK(tr),tf=iK(ti),th=eJ?eJ.prototype:o,tm=th?th.valueOf:o,tp=th?th.toString:o;function tx(e){if(oG(e)&&!oM(e)&&!r(e,ty)){if(r(e,tb))return e;if(eT.call(e,"__wrapped__"))return iJ(e)}return new tb(e)}var tg=function(){function e(){}return function(n){if(!oq(n))return{};if(eW)return eW(n);e.prototype=n;var t=new e;return e.prototype=o,t}}();function tj(){}function tb(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=o}function ty(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}function tv(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n-1},tw.prototype.set=function(e,n){var t=this.__data__,r=tP(t,e);return r<0?(++this.size,t.push([e,n])):t[r][1]=n,this},tk.prototype.clear=function(){this.size=0,this.__data__={hash:new tv,map:new(tn||tw),string:new tv}},tk.prototype.delete=function(e){var n=im(this,e).delete(e);return this.size-=!!n,n},tk.prototype.get=function(e){return im(this,e).get(e)},tk.prototype.has=function(e){return im(this,e).has(e)},tk.prototype.set=function(e,n){var t=im(this,e),r=t.size;return t.set(e,n),this.size+=+(t.size!=r),this},t_.prototype.add=t_.prototype.push=function(e){return this.__data__.set(e,a),this},t_.prototype.has=function(e){return this.__data__.has(e)};function tO(e,n,t){(o===t||oN(e[n],t))&&(o!==t||n in e)||tz(e,n,t)}function tA(e,n,t){var r=e[n];eT.call(e,n)&&oN(r,t)&&(o!==t||n in e)||tz(e,n,t)}function tP(e,n){for(var t=e.length;t--;)if(oN(e[t][0],n))return t;return -1}function tE(e,n,t,r){return tL(e,function(e,i,o){n(r,e,t(e),o)}),r}function tB(e,n){return e&&rX(n,lx(n),e)}function tz(e,n,t){"__proto__"==n&&e9?e9(e,n,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[n]=t}function tT(e,n){for(var t=-1,r=n.length,i=ey(r),l=null==e;++t=n?e:n)),e}function tR(e,n,t,r,i,l){var a,c=1&n,s=2&n,u=4&n;if(t&&(a=i?t(e,r,i,l):t(e)),o!==a)return a;if(!oq(e))return e;var d=oM(e);if(d){if(x=(h=e).length,w=new h.constructor(x),x&&"string"==typeof h[0]&&eT.call(h,"index")&&(w.index=h.index,w.input=h.input),a=w,!c)return rJ(e,a)}else{var h,x,w,S,M,L,K,J,X=ib(e),U=X==g||X==j;if(oX(e))return rR(e,c);if(X==v||X==f||U&&!i){if(a=s||U?{}:iv(e),!c){return s?(S=e,M=(J=a)&&rX(e,lg(e),J),rX(S,ij(S),M)):(L=e,K=tB(a,e),rX(L,ig(L),K))}}else{if(!e1[X])return i?e:{};a=function(e,n,t){var r,i,o=e.constructor;switch(n){case O:return r$(e);case m:case p:return new o(+e);case A:return r=t?r$(e.buffer):e.buffer,new e.constructor(r,e.byteOffset,e.byteLength);case P:case E:case B:case z:case T:case N:case R:case $:case D:return rD(e,t);case b:return new o;case y:case C:return new o(e);case k:return(i=new e.constructor(e.source,es.exec(e))).lastIndex=e.lastIndex,i;case _:return new o;case I:return tm?eC(tm.call(e)):{}}}(e,X,c)}}l||(l=new tC);var F=l.get(e);if(F)return F;l.set(e,a),o1(e)?e.forEach(function(r){a.add(tR(r,n,t,r,e,l))}):oQ(e)&&e.forEach(function(r,i){a.set(i,tR(r,n,t,i,e,l))});var V=u?s?ic:ia:s?lg:lx,H=d?o:V(e);return nd(H||e,function(r,i){H&&(r=e[i=r]),tA(a,i,tR(r,n,t,i,e,l))}),a}function t$(e,n,t){var r=t.length;if(null==e)return!r;for(e=eC(e);r--;){var i=t[r],l=n[i],a=e[i];if(o===a&&!(i in e)||!l(a))return!1}return!0}function tD(e,n,t){if("function"!=typeof e)throw new eO(l);return iT(function(){e.apply(o,t)},n)}function tM(e,n,t,r){var i=-1,o=nm,l=!0,a=e.length,c=[],s=n.length;if(!a)return c;t&&(n=nx(n,nT(t))),r?(o=np,l=!1):n.length>=200&&(o=nR,l=!1,n=new t_(n));t:for(;++i0&&t(a)?n>1?tF(a,n-1,t,r,i):ng(i,a):r||(i[i.length]=a)}return i}var tV=rH(),tH=rH(!0);function tW(e,n){return e&&tV(e,n,lx)}function tq(e,n){return e&&tH(e,n,lx)}function tG(e,n){return nh(n,function(n){return oV(e[n])})}function tQ(e,n){n=rz(n,e);for(var t=0,r=n.length;null!=e&&tn}function t1(e,n){return null!=e&&eT.call(e,n)}function t2(e,n){return null!=e&&n in eC(e)}function t8(e,n,t){for(var r=t?np:nm,i=e[0].length,l=e.length,a=l,c=ey(l),s=1/0,u=[];a--;){var d=e[a];a&&n&&(d=nx(d,nT(n))),s=n5(d.length,s),c[a]=!t&&(n||i>=120&&d.length>=120)?new t_(a&&d):o}d=e[0];var f=-1,h=c[0];t:for(;++f=a)return c;return c*("desc"==t[r]?-1:1)}}return e.index-n.index}(e,n,t)});o--;)i[o]=i[o].value;return i}function rc(e,n,t){for(var r=-1,i=n.length,o={};++r-1;)a!==e&&e2.call(a,c,1),e2.call(e,c,1);return e}function ru(e,n){for(var t=e?n.length:0,r=t-1;t--;){var i=n[t];if(t==r||i!==o){var o=i;ik(i)?e2.call(e,i,1):rC(e,i)}}return e}function rd(e,n){return e+nY(n7()*(n-e+1))}function rf(e,n){var t="";if(!e||n<1||n>0x1fffffffffffff)return t;do n%2&&(t+=e),(n=nY(n/2))&&(e+=e);while(n);return t}function rh(e,n){return iN(iP(e,n,lJ),e+"")}function rm(e,n,t,r){if(!oq(e))return e;n=rz(n,e);for(var i=-1,l=n.length,a=l-1,c=e;null!=c&&++ii?0:i+n),(t=t>i?i:t)<0&&(t+=i),i=n>t?0:t-n>>>0,n>>>=0;for(var o=ey(i);++r>>1,l=e[o];null!==l&&!o8(l)&&(t?l<=n:l=200){var s=n?null:r7(e);if(s)return nV(s);l=!1,i=nR,c=new t_}else c=n?[]:a;t:for(;++r=r?e:rg(e,n,t)}var rN=nn||function(e){return e6.clearTimeout(e)};function rR(e,n){if(n)return e.slice();var t=e.length,r=eU?eU(t):new e.constructor(t);return e.copy(r),r}function r$(e){var n=new e.constructor(e.byteLength);return new eX(n).set(new eX(e)),n}function rD(e,n){var t=n?r$(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function rM(e,n){if(e!==n){var t=o!==e,r=null===e,i=e==e,l=o8(e),a=o!==n,c=null===n,s=n==n,u=o8(n);if(!c&&!u&&!l&&e>n||l&&a&&s&&!c&&!u||r&&a&&s||!t&&s||!i)return 1;if(!r&&!l&&!u&&e1?t[i-1]:o,a=i>2?t[2]:o;for(l=e.length>3&&"function"==typeof l?(i--,l):o,a&&i_(t[0],t[1],a)&&(l=i<3?o:l,i=1),n=eC(n);++r-1?i[l?n[a]:a]:o}}function rY(e){return il(function(n){var t=n.length,r=t,i=tb.prototype.thru;for(e&&n.reverse();r--;){var a=n[r];if("function"!=typeof a)throw new eO(l);if(i&&!c&&"wrapper"==iu(a))var c=new tb([],!0)}for(r=c?r:t;++r1&&y.reverse(),f&&uc))return!1;var u=l.get(e),d=l.get(n);if(u&&d)return u==n&&d==e;var f=-1,h=!0,m=2&t?new t_:o;for(l.set(e,n),l.set(n,e);++f-1&&e%1==0&&e1?"& ":"")+n[r],n=n.join(t>2?", ":" "),e.replace(et,"{\n/* [wrapped with "+n+"] */\n")}(l,(r=(o=l.match(er))?o[1].split(ei):[],i=t,nd(d,function(e){var n="_."+e[0];i&e[1]&&!nm(r,n)&&r.push(n)}),r.sort())))}function i$(e){var n=0,t=0;return function(){var r=n4(),i=16-(r-t);if(t=r,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(o,arguments)}}function iD(e,n){var t=-1,r=e.length,i=r-1;for(n=o===n?r:n;++t1?e[n-1]:o;return t="function"==typeof t?(e.pop(),t):o,i7(e,t)});function oo(e){var n=tx(e);return n.__chain__=!0,n}function ol(e,n){return n(e)}var oa=il(function(e){var n=e.length,t=n?e[0]:0,i=this.__wrapped__,l=function(n){return tT(n,e)};return n>1||this.__actions__.length||!r(i,ty)||!ik(t)?this.thru(l):((i=i.slice(t,+t+ +!!n)).__actions__.push({func:ol,args:[l],thisArg:o}),new tb(i,this.__chain__).thru(function(e){return n&&!e.length&&e.push(o),e}))}),oc=rU(function(e,n,t){eT.call(e,t)?++e[t]:tz(e,t,1)}),os=rQ(iV),ou=rQ(iH);function od(e,n){return(oM(e)?nd:tL)(e,ih(n,3))}function of(e,n){return(oM(e)?function(e,n){for(var t=null==e?0:e.length;t--&&!1!==n(e[t],t,e););return e}:tK)(e,ih(n,3))}var oh=rU(function(e,n,t){eT.call(e,t)?e[t].push(n):tz(e,t,[n])}),om=rh(function(e,n,t){var r=-1,i="function"==typeof n,o=oK(e)?ey(e.length):[];return tL(e,function(e){o[++r]=i?ns(n,e,t):t3(e,n,t)}),o}),op=rU(function(e,n,t){tz(e,t,n)});function ox(e,n){return(oM(e)?nx:rt)(e,ih(n,3))}var og=rU(function(e,n,t){e[+!t].push(n)},function(){return[[],[]]}),oj=rh(function(e,n){if(null==e)return[];var t=n.length;return t>1&&i_(e,n[0],n[1])?n=[]:t>2&&i_(n[0],n[1],n[2])&&(n=[n[0]]),ra(e,tF(n,1),[])}),ob=nt||function(){return e6.Date.now()};function oy(e,n,t){return n=t?o:n,n=e&&null==n?e.length:n,ie(e,128,o,o,o,o,n)}function ov(e,n){var t;if("function"!=typeof n)throw new eO(l);return e=o9(e),function(){return--e>0&&(t=n.apply(this,arguments)),e<=1&&(n=o),t}}var ow=rh(function(e,n,t){var r=1;if(t.length){var i=nF(t,id(ow));r|=32}return ie(e,r,n,t,i)}),ok=rh(function(e,n,t){var r=3;if(t.length){var i=nF(t,id(ok));r|=32}return ie(n,r,e,t,i)});function o_(e,n,t){n=t?o:n;var r=ie(e,8,o,o,o,o,o,n);return r.placeholder=o_.placeholder,r}function oC(e,n,t){n=t?o:n;var r=ie(e,16,o,o,o,o,o,n);return r.placeholder=oC.placeholder,r}function oI(e,n,t){var r,i,a,c,s,u,d=0,f=!1,h=!1,m=!0;if("function"!=typeof e)throw new eO(l);function p(n){var t=r,l=i;return r=i=o,d=n,c=e.apply(l,t)}function x(e){var t=e-u,r=e-d;return o===u||t>=n||t<0||h&&r>=a}function g(){var e,t,r,i=ob();if(x(i))return j(i);s=iT(g,(e=i-u,t=i-d,r=n-e,h?n5(r,a-t):r))}function j(e){return(s=o,m&&r)?p(e):(r=i=o,c)}function b(){var e,t=ob(),l=x(t);if(r=arguments,i=this,u=t,l){if(o===s)return d=e=u,s=iT(g,n),f?p(e):c;if(h)return rN(s),s=iT(g,n),p(u)}return o===s&&(s=iT(g,n)),c}return n=ln(n)||0,oq(t)&&(f=!!t.leading,a=(h="maxWait"in t)?n3(ln(t.maxWait)||0,n):a,m="trailing"in t?!!t.trailing:m),b.cancel=function(){o!==s&&rN(s),d=0,r=u=i=s=o},b.flush=function(){return o===s?c:j(ob())},b}var oS=rh(function(e,n){return tD(e,1,n)}),oO=rh(function(e,n,t){return tD(e,ln(n)||0,t)});function oA(e,n){if("function"!=typeof e||null!=n&&"function"!=typeof n)throw new eO(l);var t=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=t.cache;if(o.has(i))return o.get(i);var l=e.apply(this,r);return t.cache=o.set(i,l)||o,l};return t.cache=new(oA.Cache||tk),t}function oP(e){if("function"!=typeof e)throw new eO(l);return function(){var n=arguments;switch(n.length){case 0:return!e.call(this);case 1:return!e.call(this,n[0]);case 2:return!e.call(this,n[0],n[1]);case 3:return!e.call(this,n[0],n[1],n[2])}return!e.apply(this,n)}}oA.Cache=tk;var oE=rh(function(e,n){var t=(n=1==n.length&&oM(n[0])?nx(n[0],nT(ih())):nx(tF(n,1),nT(ih()))).length;return rh(function(r){for(var i=-1,o=n5(r.length,t);++i=n}),oD=t5(function(){return arguments}())?t5:function(e){return oG(e)&&eT.call(e,"callee")&&!eG.call(e,"callee")},oM=ey.isArray,oL=nr?nT(nr):function(e){return oG(e)&&tZ(e)==O};function oK(e){return null!=e&&oW(e.length)&&!oV(e)}function oJ(e){return oG(e)&&oK(e)}var oX=n0||l1,oU=ni?nT(ni):function(e){return oG(e)&&tZ(e)==p};function oF(e){if(!oG(e))return!1;var n=tZ(e);return n==x||"[object DOMException]"==n||"string"==typeof e.message&&"string"==typeof e.name&&!oZ(e)}function oV(e){if(!oq(e))return!1;var n=tZ(e);return n==g||n==j||"[object AsyncFunction]"==n||"[object Proxy]"==n}function oH(e){return"number"==typeof e&&e==o9(e)}function oW(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function oq(e){var n=void 0===e?"undefined":i(e);return null!=e&&("object"==n||"function"==n)}function oG(e){return null!=e&&(void 0===e?"undefined":i(e))=="object"}var oQ=no?nT(no):function(e){return oG(e)&&ib(e)==b};function oY(e){return"number"==typeof e||oG(e)&&tZ(e)==y}function oZ(e){if(!oG(e)||tZ(e)!=v)return!1;var n=eF(e);if(null===n)return!0;var t=eT.call(n,"constructor")&&n.constructor;return"function"==typeof t&&r(t,t)&&ez.call(t)==eD}var o0=nl?nT(nl):function(e){return oG(e)&&tZ(e)==k},o1=na?nT(na):function(e){return oG(e)&&ib(e)==_};function o2(e){return"string"==typeof e||!oM(e)&&oG(e)&&tZ(e)==C}function o8(e){return(void 0===e?"undefined":i(e))=="symbol"||oG(e)&&tZ(e)==I}var o3=nc?nT(nc):function(e){return oG(e)&&oW(e.length)&&!!e0[tZ(e)]},o5=r5(rn),o4=r5(function(e,n){return e<=n});function o6(e){if(!e)return[];if(oK(e))return o2(e)?nW(e):rJ(e);if(e4&&e[e4]){for(var n,t=e[e4](),r=[];!(n=t.next()).done;)r.push(n.value);return r}var i=ib(e);return(i==b?nX:i==_?nV:lC)(e)}function o7(e){return e?(e=ln(e))===s||e===-s?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}function o9(e){var n=o7(e),t=n%1;return n==n?t?n-t:n:0}function le(e){return e?tN(o9(e),0,0xffffffff):0}function ln(e){if("number"==typeof e)return e;if(o8(e))return u;if(oq(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=oq(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=nz(e);var t=ed.test(e);return t||eh.test(e)?e3(e.slice(2),t?2:8):eu.test(e)?u:+e}function lt(e){return rX(e,lg(e))}function lr(e){return null==e?"":rk(e)}var li=rF(function(e,n){if(iO(n)||oK(n))return void rX(n,lx(n),e);for(var t in n)eT.call(n,t)&&tA(e,t,n[t])}),lo=rF(function(e,n){rX(n,lg(n),e)}),ll=rF(function(e,n,t,r){rX(n,lg(n),e,r)}),la=rF(function(e,n,t,r){rX(n,lx(n),e,r)}),lc=il(tT),ls=rh(function(e,n){e=eC(e);var t=-1,r=n.length,i=r>2?n[2]:o;for(i&&i_(n[0],n[1],i)&&(r=1);++t1),n}),rX(e,ic(e),t),r&&(t=tR(t,7,ii));for(var i=n.length;i--;)rC(t,n[i]);return t}),lv=il(function(e,n){return null==e?{}:rc(e,n,function(n,t){return lf(e,t)})});function lw(e,n){if(null==e)return{};var t=nx(ic(e),function(e){return[e]});return n=ih(n),rc(e,t,function(e,t){return n(e,t[0])})}var lk=r9(lx),l_=r9(lg);function lC(e){return null==e?[]:nN(e,lx(e))}var lI=rq(function(e,n,t){return n=n.toLowerCase(),e+(t?lS(n):n)});function lS(e){return lN(lr(e).toLowerCase())}function lO(e){return(e=lr(e))&&e.replace(ep,nM).replace(eH,"")}var lA=rq(function(e,n,t){return e+(t?"-":"")+n.toLowerCase()}),lP=rq(function(e,n,t){return e+(t?" ":"")+n.toLowerCase()}),lE=rW("toLowerCase"),lB=rq(function(e,n,t){return e+(t?"_":"")+n.toLowerCase()}),lz=rq(function(e,n,t){return e+(t?" ":"")+lN(n)}),lT=rq(function(e,n,t){return e+(t?" ":"")+n.toUpperCase()}),lN=rW("toUpperCase");function lR(e,n,t){if(e=lr(e),n=t?o:n,o===n){var r;return(r=e,eQ.test(r))?e.match(eq)||[]:e.match(eo)||[]}return e.match(n)||[]}var l$=rh(function(e,n){try{return ns(e,o,n)}catch(e){return oF(e)?e:new ew(e)}}),lD=il(function(e,n){return nd(n,function(n){tz(e,n=iL(n),ow(e[n],e))}),e});function lM(e){return function(){return e}}var lL=rY(),lK=rY(!0);function lJ(e){return e}function lX(e){return t9("function"==typeof e?e:tR(e,1))}var lU=rh(function(e,n){return function(t){return t3(t,e,n)}}),lF=rh(function(e,n){return function(t){return t3(e,t,n)}});function lV(e,n,t){var r=lx(n),i=tG(n,r);null!=t||oq(n)&&(i.length||!r.length)||(t=n,n=e,e=this,i=tG(n,lx(n)));var o=!(oq(t)&&"chain"in t)||!!t.chain,l=oV(e);return nd(i,function(t){var r=n[t];e[t]=r,l&&(e.prototype[t]=function(){var n=this.__chain__;if(o||n){var t=e(this.__wrapped__);return(t.__actions__=rJ(this.__actions__)).push({func:r,args:arguments,thisArg:e}),t.__chain__=n,t}return r.apply(e,ng([this.value()],arguments))})}),e}function lH(){}var lW=r2(nx),lq=r2(nf),lG=r2(ny);function lQ(e){return iC(e)?nO(iL(e)):function(n){return tQ(n,e)}}var lY=r3(),lZ=r3(!0);function l0(){return[]}function l1(){return!1}var l2=r1(function(e,n){return e+n},0),l8=r6("ceil"),l3=r1(function(e,n){return e/n},1),l5=r6("floor"),l4=r1(function(e,n){return e*n},1),l6=r6("round"),l7=r1(function(e,n){return e-n},0);return tx.after=function(e,n){if("function"!=typeof n)throw new eO(l);return e=o9(e),function(){if(--e<1)return n.apply(this,arguments)}},tx.ary=oy,tx.assign=li,tx.assignIn=lo,tx.assignInWith=ll,tx.assignWith=la,tx.at=lc,tx.before=ov,tx.bind=ow,tx.bindAll=lD,tx.bindKey=ok,tx.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return oM(e)?e:[e]},tx.chain=oo,tx.chunk=function(e,n,t){n=(t?i_(e,n,t):o===n)?1:n3(o9(n),0);var r=null==e?0:e.length;if(!r||n<1)return[];for(var i=0,l=0,a=ey(nA(r/n));ic?0:c+l),(a=o===a||a>c?c:o9(a))<0&&(a+=c),a=l>a?0:le(a);l>>0)?(e=lr(e))&&("string"==typeof n||null!=n&&!o0(n))&&!(n=rk(n))&&nJ(e)?rT(nW(e),0,t):e.split(n,t):[]},tx.spread=function(e,n){if("function"!=typeof e)throw new eO(l);return n=null==n?0:n3(o9(n),0),rh(function(t){var r=t[n],i=rT(t,0,n);return r&&ng(i,r),ns(e,this,i)})},tx.tail=function(e){var n=null==e?0:e.length;return n?rg(e,1,n):[]},tx.take=function(e,n,t){return e&&e.length?rg(e,0,(n=t||o===n?1:o9(n))<0?0:n):[]},tx.takeRight=function(e,n,t){var r=null==e?0:e.length;return r?rg(e,(n=r-(n=t||o===n?1:o9(n)))<0?0:n,r):[]},tx.takeRightWhile=function(e,n){return e&&e.length?rS(e,ih(n,3),!1,!0):[]},tx.takeWhile=function(e,n){return e&&e.length?rS(e,ih(n,3)):[]},tx.tap=function(e,n){return n(e),e},tx.throttle=function(e,n,t){var r=!0,i=!0;if("function"!=typeof e)throw new eO(l);return oq(t)&&(r="leading"in t?!!t.leading:r,i="trailing"in t?!!t.trailing:i),oI(e,n,{leading:r,maxWait:n,trailing:i})},tx.thru=ol,tx.toArray=o6,tx.toPairs=lk,tx.toPairsIn=l_,tx.toPath=function(e){return oM(e)?nx(e,iL):o8(e)?[e]:rJ(iM(lr(e)))},tx.toPlainObject=lt,tx.transform=function(e,n,t){var r=oM(e),i=r||oX(e)||o3(e);if(n=ih(n,4),null==t){var o=e&&e.constructor;t=i?r?new o:[]:oq(e)&&oV(o)?tg(eF(e)):{}}return(i?nd:tW)(e,function(e,r,i){return n(t,e,r,i)}),t},tx.unary=function(e){return oy(e,1)},tx.union=i3,tx.unionBy=i5,tx.unionWith=i4,tx.uniq=function(e){return e&&e.length?r_(e):[]},tx.uniqBy=function(e,n){return e&&e.length?r_(e,ih(n,2)):[]},tx.uniqWith=function(e,n){return n="function"==typeof n?n:o,e&&e.length?r_(e,o,n):[]},tx.unset=function(e,n){return null==e||rC(e,n)},tx.unzip=i6,tx.unzipWith=i7,tx.update=function(e,n,t){return null==e?e:rI(e,n,rB(t))},tx.updateWith=function(e,n,t,r){return r="function"==typeof r?r:o,null==e?e:rI(e,n,rB(t),r)},tx.values=lC,tx.valuesIn=function(e){return null==e?[]:nN(e,lg(e))},tx.without=i9,tx.words=lR,tx.wrap=function(e,n){return oB(rB(n),e)},tx.xor=oe,tx.xorBy=on,tx.xorWith=ot,tx.zip=or,tx.zipObject=function(e,n){return rP(e||[],n||[],tA)},tx.zipObjectDeep=function(e,n){return rP(e||[],n||[],rm)},tx.zipWith=oi,tx.entries=lk,tx.entriesIn=l_,tx.extend=lo,tx.extendWith=ll,lV(tx,tx),tx.add=l2,tx.attempt=l$,tx.camelCase=lI,tx.capitalize=lS,tx.ceil=l8,tx.clamp=function(e,n,t){return o===t&&(t=n,n=o),o!==t&&(t=(t=ln(t))==t?t:0),o!==n&&(n=(n=ln(n))==n?n:0),tN(ln(e),n,t)},tx.clone=function(e){return tR(e,4)},tx.cloneDeep=function(e){return tR(e,5)},tx.cloneDeepWith=function(e,n){return tR(e,5,n="function"==typeof n?n:o)},tx.cloneWith=function(e,n){return tR(e,4,n="function"==typeof n?n:o)},tx.conformsTo=function(e,n){return null==n||t$(e,n,lx(n))},tx.deburr=lO,tx.defaultTo=function(e,n){return null==e||e!=e?n:e},tx.divide=l3,tx.endsWith=function(e,n,t){e=lr(e),n=rk(n);var r=e.length,i=t=o===t?r:tN(o9(t),0,r);return(t-=n.length)>=0&&e.slice(t,i)==n},tx.eq=oN,tx.escape=function(e){return(e=lr(e))&&F.test(e)?e.replace(X,nL):e},tx.escapeRegExp=function(e){return(e=lr(e))&&Z.test(e)?e.replace(Y,"\\$&"):e},tx.every=function(e,n,t){var r=oM(e)?nf:tJ;return t&&i_(e,n,t)&&(n=o),r(e,ih(n,3))},tx.find=os,tx.findIndex=iV,tx.findKey=function(e,n){return nw(e,ih(n,3),tW)},tx.findLast=ou,tx.findLastIndex=iH,tx.findLastKey=function(e,n){return nw(e,ih(n,3),tq)},tx.floor=l5,tx.forEach=od,tx.forEachRight=of,tx.forIn=function(e,n){return null==e?e:tV(e,ih(n,3),lg)},tx.forInRight=function(e,n){return null==e?e:tH(e,ih(n,3),lg)},tx.forOwn=function(e,n){return e&&tW(e,ih(n,3))},tx.forOwnRight=function(e,n){return e&&tq(e,ih(n,3))},tx.get=ld,tx.gt=oR,tx.gte=o$,tx.has=function(e,n){return null!=e&&iy(e,n,t1)},tx.hasIn=lf,tx.head=iq,tx.identity=lJ,tx.includes=function(e,n,t,r){e=oK(e)?e:lC(e),t=t&&!r?o9(t):0;var i=e.length;return t<0&&(t=n3(i+t,0)),o2(e)?t<=i&&e.indexOf(n,t)>-1:!!i&&n_(e,n,t)>-1},tx.indexOf=function(e,n,t){var r=null==e?0:e.length;if(!r)return -1;var i=null==t?0:o9(t);return i<0&&(i=n3(r+i,0)),n_(e,n,i)},tx.inRange=function(e,n,t){var r,i,l;return n=o7(n),o===t?(t=n,n=0):t=o7(t),(r=e=ln(e))>=n5(i=n,l=t)&&r=-0x1fffffffffffff&&e<=0x1fffffffffffff},tx.isSet=o1,tx.isString=o2,tx.isSymbol=o8,tx.isTypedArray=o3,tx.isUndefined=function(e){return o===e},tx.isWeakMap=function(e){return oG(e)&&ib(e)==S},tx.isWeakSet=function(e){return oG(e)&&"[object WeakSet]"==tZ(e)},tx.join=function(e,n){return null==e?"":n2.call(e,n)},tx.kebabCase=lA,tx.last=iZ,tx.lastIndexOf=function(e,n,t){var r=null==e?0:e.length;if(!r)return -1;var i=r;return o!==t&&(i=(i=o9(t))<0?n3(r+i,0):n5(i,r-1)),n==n?function(e,n,t){for(var r=t+1;r--&&e[r]!==n;);return r}(e,n,i):nk(e,nI,i,!0)},tx.lowerCase=lP,tx.lowerFirst=lE,tx.lt=o5,tx.lte=o4,tx.max=function(e){return e&&e.length?tX(e,lJ,t0):o},tx.maxBy=function(e,n){return e&&e.length?tX(e,ih(n,2),t0):o},tx.mean=function(e){return nS(e,lJ)},tx.meanBy=function(e,n){return nS(e,ih(n,2))},tx.min=function(e){return e&&e.length?tX(e,lJ,rn):o},tx.minBy=function(e,n){return e&&e.length?tX(e,ih(n,2),rn):o},tx.stubArray=l0,tx.stubFalse=l1,tx.stubObject=function(){return{}},tx.stubString=function(){return""},tx.stubTrue=function(){return!0},tx.multiply=l4,tx.nth=function(e,n){return e&&e.length?rl(e,o9(n)):o},tx.noConflict=function(){return e6._===this&&(e6._=eM),this},tx.noop=lH,tx.now=ob,tx.pad=function(e,n,t){e=lr(e);var r=(n=o9(n))?nH(e):0;if(!n||r>=n)return e;var i=(n-r)/2;return r8(nY(i),t)+e+r8(nA(i),t)},tx.padEnd=function(e,n,t){e=lr(e);var r=(n=o9(n))?nH(e):0;return n&&rn){var r=e;e=n,n=r}if(t||e%1||n%1){var i=n7();return n5(e+i*(n-e+e8("1e-"+((i+"").length-1))),n)}return rd(e,n)},tx.reduce=function(e,n,t){var r=oM(e)?nj:nP,i=arguments.length<3;return r(e,ih(n,4),t,i,tL)},tx.reduceRight=function(e,n,t){var r=oM(e)?nb:nP,i=arguments.length<3;return r(e,ih(n,4),t,i,tK)},tx.repeat=function(e,n,t){return n=(t?i_(e,n,t):o===n)?1:o9(n),rf(lr(e),n)},tx.replace=function(){var e=arguments,n=lr(e[0]);return e.length<3?n:n.replace(e[1],e[2])},tx.result=function(e,n,t){n=rz(n,e);var r=-1,i=n.length;for(i||(i=1,e=o);++r0x1fffffffffffff)return[];var t=0xffffffff,r=n5(e,0xffffffff);n=ih(n),e-=0xffffffff;for(var i=nB(r,n);++t=l)return e;var c=t-nH(r);if(c<1)return r;var s=a?rT(a,0,c).join(""):e.slice(0,c);if(o===i)return s+r;if(a&&(c+=s.length-c),o0(i)){if(e.slice(c).search(i)){var u,d=s;for(i.global||(i=eI(i.source,lr(es.exec(i))+"g")),i.lastIndex=0;u=i.exec(d);)var f=u.index;s=s.slice(0,o===f?c:f)}}else if(e.indexOf(rk(i),c)!=c){var h=s.lastIndexOf(i);h>-1&&(s=s.slice(0,h))}return s+r},tx.unescape=function(e){return(e=lr(e))&&U.test(e)?e.replace(J,nG):e},tx.uniqueId=function(e){var n=++eN;return lr(e)+n},tx.upperCase=lT,tx.upperFirst=lN,tx.each=od,tx.eachRight=of,tx.first=iq,lV(tx,(eb={},tW(tx,function(e,n){eT.call(tx.prototype,n)||(eb[n]=e)}),eb),{chain:!1}),tx.VERSION="4.17.21",nd(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){tx[e].placeholder=tx}),nd(["drop","take"],function(e,n){ty.prototype[e]=function(t){t=o===t?1:n3(o9(t),0);var r=this.__filtered__&&!n?new ty(this):this.clone();return r.__filtered__?r.__takeCount__=n5(t,r.__takeCount__):r.__views__.push({size:n5(t,0xffffffff),type:e+(r.__dir__<0?"Right":"")}),r},ty.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}}),nd(["filter","map","takeWhile"],function(e,n){var t=n+1,r=1==t||3==t;ty.prototype[e]=function(e){var n=this.clone();return n.__iteratees__.push({iteratee:ih(e,3),type:t}),n.__filtered__=n.__filtered__||r,n}}),nd(["head","last"],function(e,n){var t="take"+(n?"Right":"");ty.prototype[e]=function(){return this[t](1).value()[0]}}),nd(["initial","tail"],function(e,n){var t="drop"+(n?"":"Right");ty.prototype[e]=function(){return this.__filtered__?new ty(this):this[t](1)}}),ty.prototype.compact=function(){return this.filter(lJ)},ty.prototype.find=function(e){return this.filter(e).head()},ty.prototype.findLast=function(e){return this.reverse().find(e)},ty.prototype.invokeMap=rh(function(e,n){return"function"==typeof e?new ty(this):this.map(function(t){return t3(t,e,n)})}),ty.prototype.reject=function(e){return this.filter(oP(ih(e)))},ty.prototype.slice=function(e,n){e=o9(e);var t=this;return t.__filtered__&&(e>0||n<0)?new ty(t):(e<0?t=t.takeRight(-e):e&&(t=t.drop(e)),o!==n&&(t=(n=o9(n))<0?t.dropRight(-n):t.take(n-e)),t)},ty.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ty.prototype.toArray=function(){return this.take(0xffffffff)},tW(ty.prototype,function(e,n){var t=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),l=tx[i?"take"+("last"==n?"Right":""):n],a=i||/^find/.test(n);l&&(tx.prototype[n]=function(){var n=this.__wrapped__,c=i?[1]:arguments,s=r(n,ty),u=c[0],d=s||oM(n),f=function(e){var n=l.apply(tx,ng([e],c));return i&&h?n[0]:n};d&&t&&"function"==typeof u&&1!=u.length&&(s=d=!1);var h=this.__chain__,m=!!this.__actions__.length,p=a&&!h,x=s&&!m;if(!a&&d){n=x?n:new ty(this);var g=e.apply(n,c);return g.__actions__.push({func:ol,args:[f],thisArg:o}),new tb(g,h)}return p&&x?e.apply(this,c):(g=this.thru(f),p?i?g.value()[0]:g.value():g)})}),nd(["pop","push","shift","sort","splice","unshift"],function(e){var n=eA[e],t=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);tx.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return n.apply(oM(i)?i:[],e)}return this[t](function(t){return n.apply(oM(t)?t:[],e)})}}),tW(ty.prototype,function(e,n){var t=tx[n];if(t){var r=t.name+"";eT.call(ta,r)||(ta[r]=[]),ta[r].push({name:n,func:t})}}),ta[rZ(o,2).name]=[{name:"wrapper",func:o}],ty.prototype.clone=function(){var e=new ty(this.__wrapped__);return e.__actions__=rJ(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=rJ(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=rJ(this.__views__),e},ty.prototype.reverse=function(){if(this.__filtered__){var e=new ty(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e},ty.prototype.value=function(){var e=this.__wrapped__.value(),n=this.__dir__,t=oM(e),r=n<0,i=t?e.length:0,o=function(e,n,t){for(var r=-1,i=t.length;++r=this.__values__.length,n=e?o:this.__values__[this.__index__++];return{done:e,value:n}},tx.prototype.plant=function(e){for(var n,t=this;r(t,tj);){var i=iJ(t);i.__index__=0,i.__values__=o,n?l.__wrapped__=i:n=i;var l=i;t=t.__wrapped__}return l.__wrapped__=e,n},tx.prototype.reverse=function(){var e=this.__wrapped__;if(r(e,ty)){var n=e;return this.__actions__.length&&(n=new ty(this)),(n=n.reverse()).__actions__.push({func:ol,args:[i8],thisArg:o}),new tb(n,this.__chain__)}return this.thru(i8)},tx.prototype.toJSON=tx.prototype.valueOf=tx.prototype.value=function(){return rO(this.__wrapped__,this.__actions__)},tx.prototype.first=tx.prototype.head,e4&&(tx.prototype[e4]=function(){return this}),tx}();"function"==typeof define&&"object"==i(define.amd)&&define.amd?(e6._=nQ,define(function(){return nQ})):e9?((e9.exports=nQ)._=nQ,e7._=nQ):e6._=nQ}).call(this)},6312:function(e,n){"use strict";var t=Symbol.for("react.transitional.element");function r(e,n,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==n.key&&(i=""+n.key),"key"in n)for(var o in r={},n)"key"!==o&&(r[o]=n[o]);else r=n;return{$$typeof:t,type:e,key:i,ref:void 0!==(n=r.ref)?n:null,props:r}}n.Fragment=Symbol.for("react.fragment"),n.jsx=r,n.jsxs=r},5059:function(e,n){"use strict";function t(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),p=Symbol.iterator,x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,j={};function b(e,n,t){this.props=e,this.context=n,this.refs=j,this.updater=t||x}function y(){}function v(e,n,t){this.props=e,this.context=n,this.refs=j,this.updater=t||x}b.prototype.isReactComponent={},b.prototype.setState=function(e,n){if("object"!==(void 0===e?"undefined":t(e))&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var w=v.prototype=new y;w.constructor=v,g(w,b.prototype),w.isPureReactComponent=!0;var k=Array.isArray;function _(){}var C={H:null,A:null,T:null,S:null},I=Object.prototype.hasOwnProperty;function S(e,n,t){var i=t.ref;return{$$typeof:r,type:e,key:n,ref:void 0!==i?i:null,props:t}}function O(e){return"object"===(void 0===e?"undefined":t(e))&&null!==e&&e.$$typeof===r}var A=/\/+/g;function P(e,n){var r,i;return"object"===(void 0===e?"undefined":t(e))&&null!==e&&null!=e.key?(r=""+e.key,i={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return i[e]})):n.toString(36)}function E(e,n,o){if(null==e)return e;var l=[],a=0;return!function e(n,o,l,a,c){var s,u,d,f=void 0===n?"undefined":t(n);("undefined"===f||"boolean"===f)&&(n=null);var m=!1;if(null===n)m=!0;else switch(f){case"bigint":case"string":case"number":m=!0;break;case"object":switch(n.$$typeof){case r:case i:m=!0;break;case h:return e((m=n._init)(n._payload),o,l,a,c)}}if(m)return c=c(n),m=""===a?"."+P(n,0):a,k(c)?(l="",null!=m&&(l=m.replace(A,"$&/")+"/"),e(c,o,l,"",function(e){return e})):null!=c&&(O(c)&&(s=c,u=l+(null==c.key||n&&n.key===c.key?"":(""+c.key).replace(A,"$&/")+"/")+m,c=S(s.type,u,s.props)),o.push(c)),1;m=0;var x=""===a?".":a+":";if(k(n))for(var g=0;g>>1,i=e[r];if(0>>1;rl(c,t))sl(u,c)?(e[r]=u,e[s]=t,r=s):(e[r]=c,e[a]=t,r=a);else if(sl(u,t))e[r]=u,e[s]=t,r=s;else break}}return n}function l(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if(n.unstable_now=void 0,"object"===("undefined"==typeof performance?"undefined":t(performance))&&"function"==typeof performance.now){var a,c=performance;n.unstable_now=function(){return c.now()}}else{var s=Date,u=s.now();n.unstable_now=function(){return s.now()-u}}var d=[],f=[],h=1,m=null,p=3,x=!1,g=!1,j=!1,b=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function k(e){for(var n=i(f);null!==n;){if(null===n.callback)o(f);else if(n.startTime<=e)o(f),n.sortIndex=n.expirationTime,r(d,n);else break;n=i(f)}}function _(e){if(j=!1,k(e),!g)if(null!==i(d))g=!0,C||(C=!0,a());else{var n=i(f);null!==n&&z(_,n.startTime-e)}}var C=!1,I=-1,S=5,O=-1;function A(){return!!b||!(n.unstable_now()-Oe&&A());){var l=m.callback;if("function"==typeof l){m.callback=null,p=m.priorityLevel;var c=l(m.expirationTime<=e);if(e=n.unstable_now(),"function"==typeof c){m.callback=c,k(e),t=!0;break n}m===i(d)&&o(d),k(e)}else o(d);m=i(d)}if(null!==m)t=!0;else{var s=i(f);null!==s&&z(_,s.startTime-e),t=!1}}break e}finally{m=null,p=r,x=!1}}}finally{t?a():C=!1}}}if("function"==typeof w)a=function(){w(P)};else if("undefined"!=typeof MessageChannel){var E=new MessageChannel,B=E.port2;E.port1.onmessage=P,a=function(){B.postMessage(null)}}else a=function(){y(P,0)};function z(e,t){I=y(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_forceFrameRate=function(e){0>e||125c?(e.sortIndex=l,r(f,e),null===i(d)&&e===i(f)&&(j?(v(I),I=-1):j=!0,z(_,l-c))):(e.sortIndex=s,r(d,e),g||x||(g=!0,C||(C=!0,a()))),e},n.unstable_shouldYield=A,n.unstable_wrapCallback=function(e){var n=p;return function(){var t=p;p=n;try{return e.apply(this,arguments)}finally{p=t}}}},8014:function(e,n,t){"use strict";e.exports=t(2685)},8587:function(e,n,t){"use strict";t.d(n,{TS:()=>s,Tj:()=>o,Ul:()=>a,pb:()=>i,y1:()=>c,yU:()=>u});function r(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var i=function(e,n){if(null==e)return e;if(Array.isArray(e)){for(var t=[],i=0;ia)return 1}return 0},a=function(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;ri}),null==(r=window.performance)||r.now;var r,i={mark:function(e,n){},measure:function(e,n){}}},5900:function(e,n,t){"use strict";function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc,Tw:()=>a,VP:()=>s,y$:()=>l});var l=function(e,n){if(n)return n(l)(e);var t,r=[],i=function(n){t=e(t,n);for(var i=0;i1?a-1:0),s=1;s1?n-1:0),r=1;r1?n-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,o=i({},t),l=!1,a=!0,c=!1,s=void 0;try{for(var u,d=n[Symbol.iterator]();!(a=(u=d.next()).done);a=!0){var f=u.value,h=e[f],m=t[f],p=h(m,r);m!==p&&(l=!0,o[f]=p)}}catch(e){c=!0,s=e}finally{try{a||null==d.return||d.return()}finally{if(c)throw s}}return l?o:t}},s=function(e,n){var t=function(){for(var t=arguments.length,r=Array(t),l=0;l0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]m});var u,d=(u=function(){return window.hubStorage&&!!window.hubStorage.getItem},function(){try{return!!u()}catch(e){return!1}}),f=function(){function e(){o(this,e),c(this,"store",void 0),c(this,"impl",void 0),this.impl=0,this.store={}}return a(e,[{key:"get",value:function(e){return i(function(){return s(this,function(n){return[2,this.store[e]]})}).call(this)}},{key:"set",value:function(e,n){return i(function(){return s(this,function(t){return this.store[e]=n,[2]})}).call(this)}},{key:"remove",value:function(e){return i(function(){return s(this,function(n){return this.store[e]=void 0,[2]})}).call(this)}},{key:"clear",value:function(){return i(function(){return s(this,function(e){return this.store={},[2]})}).call(this)}}]),e}(),h=function(){function e(){o(this,e),c(this,"impl",void 0),this.impl=1}return a(e,[{key:"get",value:function(e){return i(function(){var n;return s(this,function(t){switch(t.label){case 0:return[4,window.hubStorage.getItem("paradise-"+e)];case 1:if("string"==typeof(n=t.sent()))return[2,JSON.parse(n)];return[2,void 0]}})})()}},{key:"set",value:function(e,n){return i(function(){return s(this,function(t){return window.hubStorage.setItem("paradise-"+e,JSON.stringify(n)),[2]})})()}},{key:"remove",value:function(e){return i(function(){return s(this,function(n){return window.hubStorage.removeItem("paradise-"+e),[2]})})()}},{key:"clear",value:function(){return i(function(){return s(this,function(e){return window.hubStorage.clear(),[2]})})()}}]),e}(),m=new(function(){function e(){o(this,e),c(this,"backendPromise",void 0),c(this,"impl",0),this.backendPromise=i(function(){return s(this,function(e){return d()?[2,new h]:(console.warn("No supported storage backend found. Using in-memory storage."),[2,new f])})})()}return a(e,[{key:"get",value:function(e){return i(function(){return s(this,function(n){switch(n.label){case 0:return[4,this.backendPromise];case 1:return[2,n.sent().get(e)]}})}).call(this)}},{key:"set",value:function(e,n){return i(function(){return s(this,function(t){switch(t.label){case 0:return[4,this.backendPromise];case 1:return[2,t.sent().set(e,n)]}})}).call(this)}},{key:"remove",value:function(e){return i(function(){return s(this,function(n){switch(n.label){case 0:return[4,this.backendPromise];case 1:return[2,n.sent().remove(e)]}})}).call(this)}},{key:"clear",value:function(){return i(function(){return s(this,function(e){switch(e.label){case 0:return[4,this.backendPromise];case 1:return[2,e.sent().clear()]}})}).call(this)}}]),e}())},6183:function(e,n,t){"use strict";t.d(n,{CO:()=>s,Xd:()=>f,Z4:()=>u,tk:()=>d});var r=t(8587);function i(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tl,l:()=>o});var r=[/v4shim/i],i={},o=function(e){return i[e]||e},l=function(e){return function(e){return function(n){var t=n.type,o=n.payload;if("asset/stylesheet"===t)return void Byond.loadCss(o);if("asset/mappings"===t){var l=!0,a=!1,c=void 0;try{for(var s,u=Object.keys(o)[Symbol.iterator]();!(l=(s=u.next()).done);l=!0)!function(){var e=s.value;if(!r.some(function(n){return n.test(e)})){var n=o[e],t=e.split(".").pop();i[e]=n,"css"===t&&Byond.loadCss(n),"js"===t&&Byond.loadJs(n)}}()}catch(e){a=!0,c=e}finally{try{l||null==u.return||u.return()}finally{if(a)throw c}}return}e(n)}}}},2864:function(e,n,t){"use strict";t.d(n,{H$:()=>w,J3:()=>r,JV:()=>C,Oc:()=>$,QY:()=>M,Ul:()=>D,d4:()=>L,jB:()=>E,pX:()=>B});var r,i=t(9227),o=t(5900),l=t(1874),a=t(6400),c=t(1604),s=t(2533),u=t(2901);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function j(e){var n=function(e,n){if("object"!==b(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!==b(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===b(n)?n:String(n)}function b(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function y(e,n){if(e){if("string"==typeof e)return d(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return d(e,n)}}var v=(0,s.h)("backend"),w=function(e){r=e},k=(0,o.VP)("backend/update"),_=(0,o.VP)("backend/setSharedState"),C=(0,o.VP)("backend/suspendStart"),I=(0,o.VP)("backend/createPayloadQueue"),S=(0,o.VP)("backend/dequeuePayloadQueue"),O=(0,o.VP)("backend/removePayloadQueue"),A=(0,o.VP)("nextPayloadChunk"),P={config:{},data:{},shared:{},outgoingPayloadQueues:{},suspended:Date.now(),suspending:!1},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:P,n=arguments.length>1?arguments[1]:void 0,t=n.type,r=n.payload;if("backend/update"===t){var i=p({},e.config,r.config),o=p({},e.data,r.static_data,r.data),l=p({},e.shared);if(r.shared){var a=!0,c=!1,s=void 0;try{for(var u,d=Object.keys(r.shared)[Symbol.iterator]();!(a=(u=d.next()).done);a=!0){var b=u.value,v=r.shared[b];""===v?l[b]=void 0:l[b]=JSON.parse(v)}}catch(e){c=!0,s=e}finally{try{a||null==d.return||d.return()}finally{if(c)throw s}}}return x(p({},e),{config:i,data:o,shared:l,suspended:!1})}if("backend/setSharedState"===t){var w=r.key,k=r.nextState;return x(p({},e),{shared:x(p({},e.shared),h({},w,k))})}if("backend/suspendStart"===t)return x(p({},e),{suspending:!0});if("backend/suspendSuccess"===t){var _=r.timestamp;return x(p({},e),{data:{},shared:{},config:x(p({},e.config),{title:"",status:1}),suspending:!1,suspended:_})}if("backend/createPayloadQueue"===t){var C=r.id,I=r.chunks,S=e.outgoingPayloadQueues;return x(p({},e),{outgoingPayloadQueues:x(p({},S),h({},C,I))})}if("backend/dequeuePayloadQueue"===t){var O=r.id,A=e.outgoingPayloadQueues,E=A[O],B=g(A,[O].map(j)),z=f(E)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(E)||y(E)||m(),T=(z[0],z.slice(1));return x(p({},e),{outgoingPayloadQueues:T.length?x(p({},B),h({},O,T)):B})}if("backend/removePayloadQueue"===t){var N=r.id,R=e.outgoingPayloadQueues;R[N];var $=g(R,[N].map(j));return x(p({},e),{outgoingPayloadQueues:$})}return e},B=function(e){var n,t;return function(r){return function(o){var s=R(e.getState()),d=s.suspended,f=s.outgoingPayloadQueues,h=o.type,m=o.payload;if("update"===h)return void e.dispatch(k(m));if("suspend"===h)return void e.dispatch({type:"backend/suspendSuccess",payload:{timestamp:Date.now()}});if("ping"===h)return void Byond.sendMessage("ping/reply");if("backend/suspendStart"===h&&!t){v.log("suspending (".concat(Byond.windowId,")"));var p=function(){return Byond.sendMessage("suspend")};p(),t=setInterval(p,2e3)}if("backend/suspendSuccess"===h&&((0,u.Su)(),clearInterval(t),t=void 0,Byond.winset(Byond.windowId,{"is-visible":!1}),(0,l.sc)(),(0,l.zr)(),setTimeout(function(){return(0,c.$)()})),"backend/update"===h){var x,g,j=null==(g=m.config)||null==(x=g.window)?void 0:x.fancy;void 0===n?n=j:n!==j&&(v.log("changing fancy mode to",j),n=j,Byond.winset(Byond.windowId,{titlebar:!j,"can-resize":!j}))}if("backend/update"===h&&d&&(v.log("backend/update",m),(0,u.P7)(),(0,l.ao)(),(0,a.MN)(),setTimeout(function(){i.k.mark("resume/start"),R(e.getState()).suspended||(Byond.winset(Byond.windowId,{"is-visible":!0}),Byond.sendMessage("visible"),i.k.mark("resume/finish"))})),"oversizePayloadResponse"===h&&(m.allow?e.dispatch(A(m)):e.dispatch(O(m))),"acknowlegePayloadChunk"===h&&(e.dispatch(S(m)),e.dispatch(A(m))),"nextPayloadChunk"===h){var b=m.id,y=f[b][0];Byond.sendMessage("payloadChunk",{id:b,chunk:y})}return r(o)}}},z=function(e,n){for(var t=e.length-1,r=0,i=0;r1024){var c=i+z(l,1024);r.push(n.slice(i,c1&&void 0!==arguments[1]?arguments[1]:{};if(!((void 0===n?"undefined":b(n))==="object"&&null!==n&&!Array.isArray(n)))return void v.error("Payload for act() must be an object, got this:",n);var t=JSON.stringify(n);if(Object.entries({type:"act/"+e,payload:t,tgui:1,windowId:Byond.windowId}).reduce(function(e,n,t){var r=f(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),2!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,2)||y(n,2)||m(),i=r[0],o=r[1];return e+"".concat(t>0?"&":"?").concat(encodeURIComponent(i),"=").concat(encodeURIComponent(o))},"").length>2048){var i=t.split(T),o="".concat(Date.now());null==r||r.dispatch(I({id:o,chunks:i})),Byond.sendMessage("oversizedPayloadRequest",{type:"act/"+e,id:o,chunkCount:i.length});return}Byond.sendMessage("act/"+e,n)},R=function(e){return e.backend||{}},$=function(){var e;return x(p({},null==r||null==(e=r.getState())?void 0:e.backend),{act:N})},D=function(e,n){var t,i,o=null==r||null==(t=r.getState())?void 0:t.backend,l=null!=(i=null==o?void 0:o.shared)?i:{},a=e in l?l[e]:n;return[a,function(n){r.dispatch(_({key:e,nextState:"function"==typeof n?n(a):n}))}]},M=function(e,n){var t,i,o=null==r||null==(t=r.getState())?void 0:t.backend,l=null!=(i=null==o?void 0:o.shared)?i:{},a=e in l?l[e]:n;return[a,function(n){Byond.sendMessage({type:"setSharedState",key:e,value:JSON.stringify("function"==typeof n?n(a):n)||""})}]},L=function(e){return e(null==r?void 0:r.getState())}},8095:function(e,n,t){"use strict";t.d(n,{H:()=>u});var r=t(8138),i=t(4530),o=t(6859);function l(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["onMove","onKey","style"]),m=(0,i.useRef)(null),p=a(u),x=a(d),g=(n=(0,i.useMemo)(function(){var e=function(e){e.preventDefault(),e.buttons>0&&m.current?p(s(m.current,e)):t(!1)},n=function(){return t(!1)},t=function(t){var r=c(m.current),i=t?r.addEventListener:r.removeEventListener;i("mousemove",e),i("mouseup",n)};return[function(e){var n=e.nativeEvent,r=m.current;r&&(n.preventDefault(),r.focus(),p(s(r,n)),t(!0))},function(e){var n=e.which||e.keyCode;n<37||n>40||(e.preventDefault(),x({left:39===n?.05:37===n?-.05:0,top:40===n?.05:38===n?-.05:0}))},t]},[x,p]),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),3!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,3)||function(e,n){if(e){if("string"==typeof e)return l(e,3);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,3)}}(n,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),j=g[0],b=g[1],y=g[2];return(0,i.useEffect)(function(){return y},[y]),(0,r.jsx)("div",(t=function(e){for(var n=1;nu,gm:()=>C,tx:()=>v,Gi:()=>a});var r=t(8138),i=t(4530),o=t(7790);function l(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["children","progressBar","timeStart","timeEnd","format"]),m=Math.max((u?d-u:d)*100,0),p=(n=(0,i.useState)(m),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),2!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,2)||function(e,n){if(e){if("string"==typeof e)return l(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),x=p[0],g=p[1],j=(0,i.useRef)(null);function b(){g(function(e){var n=Math.max(e-1e3,0);return n<=0&&clearInterval(j.current),n})}(0,i.useEffect)(function(){return j.current||(j.current=setInterval(b,1e3)),function(){return clearInterval(j.current)}},[]);var y=new Date(x).toISOString().slice(11,19),v=(0,r.jsx)(o.az,(t=function(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var u=function(e){var n,t,i=e.children,l=s(e,["children"]);return(0,r.jsx)(o.XI,(n=c({},l),t=t={children:(0,r.jsx)(o.XI.Row,{children:i})},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))};u.Column=function(e){var n=e.size,t=e.style,i=s(e,["size","style"]);return(0,r.jsx)(o.XI.Cell,c({style:c({width:(void 0===n?1:n)+"%"},t)},i))},t(8095);var d=t(8595),f=t(2864);function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function g(e,n){return(g=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function j(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(j=function(){return!!e})()}var b=(0,i.createContext)({zoom:1}),y=function(e){return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),e.cancelBubble=!0,e.returnValue=!1,!1},v=function(e){var n;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function t(e){var n,r,i,o,l,a;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");return l=t,a=[e],l=h(l),n=function(e,n){var t;if(n&&("object"==((t=n)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)||"function"==typeof n))return n;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,j()?Reflect.construct(l,a||[],h(this).constructor):l.apply(this,a)),window.innerWidth,window.innerHeight,n.state={offsetX:null!=(r=e.offsetX)?r:0,offsetY:null!=(i=e.offsetY)?i:0,dragging:!1,originX:null,originY:null,zoom:null!=(o=e.zoom)?o:1},n.handleDragStart=function(e){n.ref=e.target,n.setState({dragging:!1,originX:e.screenX,originY:e.screenY}),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd),y(e)},n.handleDragMove=function(e){n.setState(function(n){var t=m({},n),r=e.screenX-t.originX,i=e.screenY-t.originY;return n.dragging?(t.offsetX+=r/t.zoom,t.offsetY+=i/t.zoom,t.originX=e.screenX,t.originY=e.screenY):t.dragging=!0,t}),y(e)},n.handleDragEnd=function(t){var r;n.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),null==(r=e.onOffsetChange)||r.call(e,t,n.state),y(t)},n.handleZoom=function(t,r){n.setState(function(n){return n.zoom=Math.min(Math.max(r,1),8),e.onZoom&&e.onZoom(n.zoom),n})},n.handleReset=function(t){n.setState(function(r){var i;r.offsetX=0,r.offsetY=0,r.zoom=1,n.handleZoom(t,1),null==(i=e.onOffsetChange)||i.call(e,t,r)})},n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e),n=[{key:"render",value:function(){var e=(0,f.Oc)().config,n=this.state,t=n.dragging,i=n.offsetX,l=n.offsetY,a=n.zoom,c=void 0===a?1:a,s=this.props.children,u=e.map+"_nanomap_z1.png",h=510*c+"px";return(0,r.jsx)(b.Provider,{value:{zoom:c},children:(0,r.jsxs)(o.az,{className:"NanoMap__container",children:[(0,r.jsxs)(o.az,{style:{width:h,height:h,marginTop:l*c+"px",marginLeft:i*c+"px",overflow:"hidden",position:"relative",top:"50%",left:"50%",transform:"translate(-50%, -50%)",backgroundSize:"cover",backgroundRepeat:"no-repeat",textAlign:"center",cursor:t?"move":"auto"},onMouseDown:this.handleDragStart,children:[(0,r.jsx)("img",{src:(0,d.l)(u),style:{width:"100%",height:"100%",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",imageRendering:"pixelated"}}),(0,r.jsx)(o.az,{children:s})]}),(0,r.jsx)(k,{zoom:c,onZoom:this.handleZoom,onReset:this.handleReset})]})})}}],function(e,n){for(var t=0;ti,b_:()=>a,fF:()=>c,lm:()=>r,wM:()=>l});var r={department:{command:"#526aff",security:"#CF0000",medical:"#009190",science:"#993399",engineering:"#A66300",supply:"#9F8545",service:"#80A000",centcom:"#78789B",other:"#C38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}},i=[{name:"Syndicate",freq:1213,color:"#a52a2a"},{name:"SyndTeam",freq:1244,color:"#a52a2a"},{name:"Red Team",freq:1215,color:"#ff4444"},{name:"Blue Team",freq:1217,color:"#3434fd"},{name:"Response Team",freq:1345,color:"#2681a5"},{name:"Special Ops",freq:1341,color:"#2681a5"},{name:"Supply",freq:1347,color:"#b88646"},{name:"Service",freq:1349,color:"#6ca729"},{name:"Science",freq:1351,color:"#c68cfa"},{name:"Command",freq:1353,color:"#5177ff"},{name:"Procedure",freq:1339,color:"#F70285"},{name:"Medical",freq:1355,color:"#57b8f0"},{name:"Medical(I)",freq:1485,color:"#57b8f0"},{name:"Engineering",freq:1357,color:"#f37746"},{name:"Security",freq:1359,color:"#dd3535"},{name:"Security(I)",freq:1475,color:"#dd3535"},{name:"AI Private",freq:1343,color:"#d65d95"},{name:"Common",freq:1459,color:"#1ecc43"}],o=[{id:"o2",name:"Oxygen",label:"O₂",color:"blue"},{id:"n2",name:"Nitrogen",label:"N₂",color:"red"},{id:"co2",name:"Carbon Dioxide",label:"CO₂",color:"grey"},{id:"plasma",name:"Plasma",label:"Plasma",color:"pink"},{id:"water_vapor",name:"Water Vapor",label:"H₂O",color:"grey"},{id:"nob",name:"Hyper-noblium",label:"Hyper-nob",color:"teal"},{id:"n2o",name:"Nitrous Oxide",label:"N₂O",color:"red"},{id:"no2",name:"Nitryl",label:"NO₂",color:"brown"},{id:"tritium",name:"Tritium",label:"Tritium",color:"green"},{id:"bz",name:"BZ",label:"BZ",color:"purple"},{id:"stim",name:"Stimulum",label:"Stimulum",color:"purple"},{id:"pluox",name:"Pluoxium",label:"Pluoxium",color:"blue"},{id:"miasma",name:"Miasma",label:"Miasma",color:"olive"},{id:"hydrogen",name:"Hydrogen",label:"H₂",color:"#997379"},{id:"ab",name:"Agent B",label:"Agent B",color:"purple"}],l=function(e,n){var t=String(e).toLowerCase(),r=o.find(function(e){return e.id===t||e.name.toLowerCase()===t});return r&&r.label||n||e},a=function(e){var n=String(e).toLowerCase(),t=o.find(function(e){return e.id===n||e.name.toLowerCase()===n});return t&&t.color},c=function(e,n){if(e>n)return"in the future";var t=(n/=10)-(e/=10);if(t>3600){var r=Math.round(t/3600);return r+" hour"+(1===r?"":"s")+" ago"}if(t>60){var i=Math.round(t/60);return i+" minute"+(1===i?"":"s")+" ago"}var o=Math.round(t);return o+" second"+(1===o?"":"s")+" ago"}},4981:function(e,n,t){"use strict";t(8138),t(7218),t(4530),t(7790),t(3384),t(937)},7218:function(e,n,t){"use strict";t.d(n,{D:()=>r});var r=(0,t(4530).createContext)(["",function(e){}])},3123:function(e,n,t){"use strict";var r=t(5900);(0,r.VP)("debug/toggleKitchenSink"),(0,r.VP)("debug/toggleDebugLayout"),(0,r.VP)("debug/openExternalBrowser")},9216:function(e,n,t){"use strict";t.d(n,{L:()=>o});var r=t(2864),i=t(8318);function o(){return(0,r.d4)(i.m)}},1956:function(e,n,t){"use strict";t.d(n,{A$:()=>i.A,Lo:()=>r.L});var r=t(9216);t(4981),t(2550);var i=t(8408)},2550:function(e,n,t){"use strict";t(1128),t(1874),t(3123)},8408:function(e,n,t){"use strict";function r(e){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,t=n.type;return"debug/toggleKitchenSink"===t?i(r({},e),{kitchenSink:!e.kitchenSink}):"debug/toggleDebugLayout"===t?i(r({},e),{debugLayout:!e.debugLayout}):e}t.d(n,{A:()=>o})},8318:function(e,n,t){"use strict";function r(e){return e.debug}t.d(n,{m:()=>r})},6400:function(e,n,t){"use strict";t.d(n,{BF:()=>z,C8:()=>P,MN:()=>E,nZ:()=>R,y9:()=>w});var r,i,o,l,a,c,s=t(1699),u=t(6183);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]2&&void 0!==arguments[2]?arguments[2]:50,i=[n],o=0;o0&&void 0!==arguments[0]?arguments[0]:{};return h(function(){var n,t,r,o,l;return p(this,function(a){switch(a.label){case 0:if(!(t=e.fancy))return[3,2];return[4,s.IG.get(j)];case 1:t=a.sent(),a.label=2;case 2:return(n=t)&&x.log("recalled geometry:",n),r=(null==n?void 0:n.pos)||e.pos,o=e.size,e.scale&&o&&(o=[o[0]*g,o[1]*g]),e.scale?(document.body.style.zoom="",document.documentElement.style.setProperty("--scaling-amount",null)):(document.body.style.zoom="".concat(100/window.devicePixelRatio,"%"),document.documentElement.style.setProperty("--scaling-amount",window.devicePixelRatio.toString())),[4,i];case 3:return a.sent(),l=S(),o&&I(o=[Math.min(l[0],o[0]),Math.min(l[1],o[1])]),r?(o&&e.locked&&(r=B(r,o)[1]),C(r)):o&&C(r=(0,u.CO)((0,u.Xd)(l,.5),(0,u.Xd)(o,-.5),(0,u.Xd)(v,-1))),[2]}})})()},E=function(){return h(function(){var e;return p(this,function(n){switch(n.label){case 0:return e=k(),[4,i=Byond.winget(Byond.windowId,"pos").then(function(n){return[n.x-e[0],n.y-e[1]]})];case 1:return v=n.sent(),x.debug("screen offset",v),[2]}})})()},B=function(e,n){for(var t=[0-v[0],0-v[1]],r=S(),i=[e[0],e[1]],o=!1,l=0;l<2;l++){var a=t[l],c=t[l]+r[l];e[l]c&&(i[l]=c-n[l],o=!0)}return[o,i]},z=function(e){var n;x.log("drag start"),b=!0,o=(0,u.Z4)([e.screenX*g,e.screenY*g],k()),null==(n=e.target)||n.focus(),document.addEventListener("mousemove",N),document.addEventListener("mouseup",T),N(e)},T=function(e){x.log("drag end"),N(e),document.removeEventListener("mousemove",N),document.removeEventListener("mouseup",T),b=!1,A()},N=function(e){b&&(e.preventDefault(),C((0,u.Z4)([e.screenX*g,e.screenY*g],o)))},R=function(e,n){return function(t){var r;l=[e,n],x.log("resize start",l),y=!0,o=(0,u.Z4)([t.screenX*g,t.screenY*g],k()),a=_(),null==(r=t.target)||r.focus(),document.addEventListener("mousemove",D),document.addEventListener("mouseup",$),D(t)}},$=function(e){x.log("resize end",c),D(e),document.removeEventListener("mousemove",D),document.removeEventListener("mouseup",$),y=!1,A()},D=function(e){if(y){e.preventDefault();var n=(0,u.Z4)([e.screenX*g,e.screenY*g],k()),t=(0,u.Z4)(n,o);(c=(0,u.CO)(a,(0,u.tk)(l,t),[1,1]))[0]=Math.max(c[0],150*g),c[1]=Math.max(c[1],50*g),I(c)}}},1604:function(e,n,t){"use strict";t.d(n,{$:()=>r});var r=function(){Byond.winset("paramapwindow.map",{focus:!0})}},9609:function(e,n,t){"use strict";t.r(n),t.d(n,{AICard:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;if(0===a.has_ai)return(0,r.jsx)(l.p8,{width:250,height:120,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{title:"Stored AI",children:(0,r.jsx)(i.az,{children:(0,r.jsx)("h3",{children:"No AI detected."})})})})});var c=null;return c=a.integrity>=75?"green":a.integrity>=25?"yellow":"red",(0,r.jsx)(l.p8,{width:600,height:420,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{title:a.name,children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:(0,r.jsx)(i.z2,{color:c,value:a.integrity/100})})}),(0,r.jsx)(i.az,{color:"red",children:(0,r.jsx)("h2",{children:1===a.flushing?"Wipe of AI in progress...":""})})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Laws",children:!!a.has_laws&&(0,r.jsx)(i.az,{children:a.laws.map(function(e,n){return(0,r.jsx)(i.az,{children:e},n)})})||(0,r.jsx)(i.az,{color:"red",children:(0,r.jsx)("h3",{children:"No laws detected."})})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Actions",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Wireless Activity",children:(0,r.jsx)(i.$n,{width:10,icon:a.wireless?"check":"times",content:a.wireless?"Enabled":"Disabled",color:a.wireless?"green":"red",onClick:function(){return t("wireless")}})}),(0,r.jsx)(i.Ki.Item,{label:"Subspace Transceiver",children:(0,r.jsx)(i.$n,{width:10,icon:a.radio?"check":"times",content:a.radio?"Enabled":"Disabled",color:a.radio?"green":"red",onClick:function(){return t("radio")}})}),(0,r.jsx)(i.Ki.Item,{label:"Wipe",children:(0,r.jsx)(i.$n.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:a.flushing||0===a.integrity,confirmColor:"red",content:"Wipe AI",onClick:function(){return t("wipe")}})})]})})})]})})})}},1664:function(e,n,t){"use strict";t.r(n),t.d(n,{AIControllerDebugger:()=>u,CopyableValue:()=>c,ObjectReference:()=>s});var r=t(8138),i=t(9623),o=t(7790),l=t(2864),a=t(3384),c=function(e){var n=e.text;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.$n,{icon:"clipboard-list",onClick:function(){return navigator.clipboard.writeText(n)}}),(0,r.jsx)("span",{style:{fontFamily:"monospace"},children:n})]})},s=function(e){var n=(0,l.Oc)().act,t=e.obj_ref;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.$n,{onClick:function(){return n("vv",{uid:t.uid})},children:"VV"}),(0,r.jsx)(o.$n,{onClick:function(){return n("flw",{uid:t.uid})},children:"FLW"}),"\xa0",t.name]})},u=function(e){var n=(0,l.Oc)(),t=n.data,u=n.act,d=t.controller;return(0,r.jsx)(a.p8,{width:675,height:600,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.wn,{title:"Basic Info",children:(0,r.jsxs)(o.XI,{children:[d.pawn&&(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Pawn"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(s,{obj_ref:d.pawn})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Status"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.ai_status})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Type"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.type})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Idle Behavior"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.idle_behavior})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Movement"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.movement})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Movement Delay"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.movement_delay})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Able to Plan"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.able_to_plan?"Yes":"No"})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"On Failed Planning Timeout"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.on_failed_planning_timeout?"Yes":"No"})})]}),d.movement_target&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Movement Target"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(s,{obj_ref:d.movement_target})})]}),(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:"Target Source"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:d.movement_target.source})})]})]})]})}),(0,r.jsx)(o.wn,{title:"Blackboard",children:(0,r.jsx)(o.XI,{className:"AIControllerDebugger__Blackboard",children:d.blackboard.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.name.length>30?(0,r.jsx)(o.m_,{content:e.name,children:(0,r.jsx)(o.az,{children:(0,i.truncate)(e.name)})}):e.name}),(0,r.jsxs)(o.XI.Cell,{className:"bb_value",children:[e.uid&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.$n,{onClick:function(){return u("vv",{uid:e.uid})},children:"VV"}),(0,r.jsx)(o.$n,{onClick:function(){return u("flw",{uid:e.uid})},children:"FLW"}),"\xa0"]}),e.value||"null"]})]},e.name)})})}),(0,r.jsx)(o.wn,{title:"Current Behaviors",children:(0,r.jsx)(o.XI,{children:d.current_behaviors.map(function(e,n){return(0,r.jsx)(o.XI.Row,{children:(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:e})})},n)})})}),(0,r.jsx)(o.wn,{title:"Planned Behaviors",children:(0,r.jsx)(o.XI,{children:d.planned_behaviors.map(function(e,n){return(0,r.jsx)(o.XI.Row,{children:(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(c,{text:e})})},n)})})})]})})})}},8679:function(e,n,t){"use strict";t.r(n),t.d(n,{AIFixer:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;if(null===a.occupant)return(0,r.jsx)(l.p8,{width:550,height:500,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{fill:!0,title:"Stored AI",children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,r.jsxs)(i.In.Stack,{children:[(0,r.jsx)(i.In,{name:"robot",size:5,color:"silver"}),(0,r.jsx)(i.In,{name:"slash",size:5,color:"red"})]}),(0,r.jsx)("br",{}),(0,r.jsx)("h3",{children:"No Artificial Intelligence detected."})]})})})})});var c=!0;(2===a.stat||null===a.stat)&&(c=!1);var s=null;s=a.integrity>=75?"green":a.integrity>=25?"yellow":"red";var u=!0;return a.integrity>=100&&2!==a.stat&&(u=!1),(0,r.jsx)(l.p8,{children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:a.occupant,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:(0,r.jsx)(i.z2,{color:s,value:a.integrity/100})}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:c?"green":"red",children:c?"Functional":"Non-Functional"})]})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Laws",children:!!a.has_laws&&(0,r.jsx)(i.az,{children:a.laws.map(function(e,n){return(0,r.jsx)(i.az,{inline:!0,children:e},n)})})||(0,r.jsx)(i.az,{color:"red",children:(0,r.jsx)("h3",{children:"No laws detected."})})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{title:"Actions",children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Wireless Activity",children:(0,r.jsx)(i.$n,{icon:a.wireless?"times":"check",content:a.wireless?"Disabled":"Enabled",color:a.wireless?"red":"green",onClick:function(){return t("wireless")}})}),(0,r.jsx)(i.Ki.Item,{label:"Subspace Transceiver",children:(0,r.jsx)(i.$n,{icon:a.radio?"times":"check",content:a.radio?"Disabled":"Enabled",color:a.radio?"red":"green",onClick:function(){return t("radio")}})}),(0,r.jsx)(i.Ki.Item,{label:"Start Repairs",children:(0,r.jsx)(i.$n,{icon:"wrench",disabled:!u||a.active,content:!u||a.active?"Already Repaired":"Repair",onClick:function(){return t("fix")}})})]}),(0,r.jsx)(i.az,{color:"green",lineHeight:2,children:a.active?"Reconstruction in progress.":""})]})})]})})})}},5233:function(e,n,t){"use strict";t.r(n),t.d(n,{AIProgramPicker:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.program_list,s=a.ai_info;return(0,r.jsx)(l.p8,{width:450,height:600,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Select Program",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Memory Available",children:s.memory}),(0,r.jsx)(i.Ki.Item,{label:"Bandwidth Available",children:s.bandwidth})]})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:!!c&&c.map(function(e,n){return(0,r.jsx)(i.wn,{title:e.name,mb:1,buttons:(0,r.jsx)(i.$n,{icon:"file",onClick:function(){return t("select",{uid:e.UID})},children:1===e.installed?"Update":"Install"}),children:(0,r.jsx)(i.BJ,{vertical:!0,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.BJ.Item,{mb:2,children:(0,r.jsx)(i.Ki.Item,{label:"Description",children:e.description})}),(0,r.jsxs)(i.BJ,{children:[(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.Ki.Item,{label:1===e.installed?"Bandwidth Cost":"Memory Cost",children:e.memory_cost}),(0,r.jsx)(i.Ki.Item,{label:"Upgrade Level",children:e.upgrade_level})]}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.Ki.Item,{label:"Installed",children:1===e.installed?"True":"False"}),(0,r.jsx)(i.Ki.Item,{label:"Passive",children:1===e.is_passive?"True":"False"})]})]})]})})},e)})})]})})})}},9991:function(e,n,t){"use strict";t.r(n),t.d(n,{AIResourceManagementConsole:()=>s});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=function(e){var n,t=(0,l.Oc)().data.screen;return 0===t?n=(0,r.jsx)(u,{}):1===t&&(n=(0,r.jsx)(d,{})),n},s=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data;o.auth,o.ai_list,o.nodes_list;var s=o.screen;return(0,r.jsx)(a.p8,{width:350,height:425,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.tU,{children:[(0,r.jsx)(i.tU.Tab,{selected:0===s,icon:"list",onClick:function(){return t("menu",{screen:0})},children:"Allocated Resources"}),(0,r.jsx)(i.tU.Tab,{selected:1===s,icon:"circle-nodes",onClick:function(){return t("menu",{screen:1})},children:"Online Nodes"})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,mt:0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(c,{})})})]})})})},u=function(e){var n=(0,l.Oc)(),t=(n.act,n.data);t.screen;var o=t.ai_list;return t.nodes_list,(0,r.jsxs)(i.az,{children:[(!o||0===o.length)&&(0,r.jsx)(i.IC,{children:"No AI detected."}),!!o&&o.map(function(e,n){return(0,r.jsx)(i.wn,{title:e.name,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Memory",children:e.memory}),(0,r.jsx)(i.Ki.Item,{label:"Maximum Memory",children:e.memory_max}),(0,r.jsx)(i.Ki.Item,{label:"Bandwidth",children:e.bandwidth}),(0,r.jsx)(i.Ki.Item,{label:"Maximum Bandwidth",children:e.bandwidth_max})]})},e)})]})},d=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data;a.screen,a.ai_list;var c=a.nodes_list;return(0,r.jsxs)(i.az,{children:[(!c||0===c.length)&&(0,r.jsx)(i.IC,{children:"No nodes detected."}),!!c&&c.map(function(e,n){return(0,r.jsx)(i.wn,{title:(0,o.ZH)(e.name),buttons:(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{icon:"circle-nodes",onClick:function(){return t("reassign",{uid:e.uid})},children:"Reassign"})}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Assigned AI",children:e.assigned_ai}),(0,r.jsx)(i.Ki.Item,{label:"Resource",children:(0,o.ZH)(e.resource)}),(0,r.jsx)(i.Ki.Item,{label:"Amount",children:e.amount})]})},e)})]})}},731:function(e,n,t){"use strict";t.r(n),t.d(n,{APC:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(1992),c=function(e){return(0,r.jsx)(l.p8,{width:510,height:435,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(d,{})})})},s={2:{color:"good",externalPowerText:"External Power",chargingText:"Fully Charged"},1:{color:"average",externalPowerText:"Low External Power",chargingText:"Charging"},0:{color:"bad",externalPowerText:"No External Power",chargingText:"Not Charging"}},u={1:{icon:"terminal",content:"Override Programming",action:"hack"},2:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"},3:{icon:"caret-square-left",content:"Return to Main Core",action:"deoccupy"},4:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"}},d=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,c=l.locked&&!l.siliconUser;l.normallyLocked;var d=s[l.externalPower]||s[0],f=s[l.chargingStatus]||s[0],h=l.powerChannels||[],m=u[l.malfStatus]||u[0],p=l.powerCellStatus/100;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.InterfaceLockNoticeBox,{}),(0,r.jsx)(i.wn,{title:"Power Status",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Main Breaker",color:d.color,buttons:(0,r.jsx)(i.$n,{icon:l.isOperating?"power-off":"times",content:l.isOperating?"On":"Off",selected:l.isOperating&&!c,color:l.isOperating?"":"bad",disabled:c,onClick:function(){return t("breaker")}}),children:["[ ",d.externalPowerText," ]"]}),(0,r.jsx)(i.Ki.Item,{label:"Power Cell",children:(0,r.jsx)(i.z2,{color:"good",value:p})}),(0,r.jsxs)(i.Ki.Item,{label:"Charge Mode",color:f.color,buttons:(0,r.jsx)(i.$n,{icon:l.chargeMode?"sync":"times",content:l.chargeMode?"Auto":"Off",selected:l.chargeMode,disabled:c,onClick:function(){return t("charge")}}),children:["[ ",f.chargingText," ]"]})]})}),(0,r.jsx)(i.wn,{title:"Power Channels",children:(0,r.jsxs)(i.Ki,{children:[h.map(function(e){var n=e.topicParams;return(0,r.jsxs)(i.Ki.Item,{label:e.title,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.az,{inline:!0,mx:2,color:e.status>=2?"good":"bad",children:e.status>=2?"On":"Off"}),(0,r.jsx)(i.$n,{icon:"sync",content:"Auto",selected:!c&&(1===e.status||3===e.status),disabled:c,onClick:function(){return t("channel",n.auto)}}),(0,r.jsx)(i.$n,{icon:"power-off",content:"On",selected:!c&&2===e.status,disabled:c,onClick:function(){return t("channel",n.on)}}),(0,r.jsx)(i.$n,{icon:"times",content:"Off",selected:!c&&0===e.status,disabled:c,onClick:function(){return t("channel",n.off)}})]}),children:[e.powerLoad," W"]},e.title)}),(0,r.jsx)(i.Ki.Item,{label:"Total Load",children:(0,r.jsxs)("b",{children:[l.totalLoad," W"]})})]})}),(0,r.jsx)(i.wn,{title:"Misc",buttons:!!l.siliconUser&&(0,r.jsxs)(r.Fragment,{children:[!!l.malfStatus&&(0,r.jsx)(i.$n,{icon:m.icon,content:m.content,color:"bad",onClick:function(){return t(m.action)}}),(0,r.jsx)(i.$n,{icon:"lightbulb-o",content:"Overload",onClick:function(){return t("overload")}})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Cover Lock",buttons:(0,r.jsx)(i.$n,{mb:.4,icon:l.coverLocked?"lock":"unlock",content:l.coverLocked?"Engaged":"Disengaged",disabled:c,onClick:function(){return t("cover")}})}),(0,r.jsx)(i.Ki.Item,{label:"Emergency Lighting",buttons:(0,r.jsx)(i.$n,{icon:"lightbulb-o",content:l.emergencyLights?"Enabled":"Disabled",disabled:c,onClick:function(){return t("emergency_lighting")}})}),(0,r.jsx)(i.Ki.Item,{label:"Night Shift Lighting",buttons:(0,r.jsx)(i.$n,{mt:.4,icon:"lightbulb-o",content:l.nightshiftLights?"Enabled":"Disabled",onClick:function(){return t("toggle_nightshift")}})})]})})]})}},6181:function(e,n,t){"use strict";t.r(n),t.d(n,{ATM:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0)n=(0,r.jsxs)(o.az,{bold:!0,color:"bad",children:[(0,r.jsx)(o.In,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(g)if(s)switch(c){case 1:n=(0,r.jsx)(f,{});break;case 2:n=(0,r.jsx)(h,{});break;case 3:n=(0,r.jsx)(x,{});break;default:n=(0,r.jsx)(m,{})}else n=(0,r.jsx)(p,{});else n=(0,r.jsxs)(o.az,{bold:!0,color:"bad",children:[(0,r.jsx)(o.In,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});return(0,r.jsx)(a.p8,{width:550,height:650,children:(0,r.jsxs)(a.p8.Content,{scrollable:!0,children:[(0,r.jsx)(d,{}),(0,r.jsx)(o.wn,{children:n})]})})},d=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data;i.machine_id;var a=i.held_card_name;return(0,r.jsxs)(o.wn,{title:"Nanotrasen Automatic Teller Machine",children:[(0,r.jsx)(o.az,{children:"For all your monetary needs!"}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(o.Ki,{children:(0,r.jsx)(o.Ki.Item,{label:"Card",children:(0,r.jsx)(o.$n,{content:a,icon:"eject",onClick:function(){return t("insert_card")}})})})]})},f=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data.security_level;return(0,r.jsxs)(o.wn,{title:"Select a new security level for this account",children:[(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.cG,{}),(0,r.jsx)(o.Ki.Item,{label:"Level",children:(0,r.jsx)(o.$n,{content:"Account Number",icon:"unlock",selected:0===i,onClick:function(){return t("change_security_level",{new_security_level:1})}})}),(0,r.jsx)(o.Ki.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(o.Ki.Item,{label:"Level",children:(0,r.jsx)(o.$n,{content:"Account Pin",icon:"unlock",selected:2===i,onClick:function(){return t("change_security_level",{new_security_level:2})}})}),(0,r.jsx)(o.Ki.Item,{label:"Description",children:"An account number and pin must be manually entered to access this account and process transactions."})]}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(g,{})]})},h=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=s((0,i.useState)(0),2),u=c[0],d=c[1],f=s((0,i.useState)(0),2),h=f[0],m=f[1],p=s((0,i.useState)(0),2),x=p[0],j=p[1],b=a.money;return(0,r.jsxs)(o.wn,{title:"Transfer Fund",children:[(0,r.jsxs)(o.Ki,{children:[(0,r.jsxs)(o.Ki.Item,{label:"Account Balance",children:["$",b]}),(0,r.jsx)(o.Ki.Item,{label:"Target Account Number",children:(0,r.jsx)(o.pd,{placeholder:"7 Digit Number",onChange:function(e){return d(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Funds to Transfer",children:(0,r.jsx)(o.pd,{onChange:function(e){return m(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Transaction Purpose",children:(0,r.jsx)(o.pd,{fluid:!0,onChange:function(e){return j(e)}})})]}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(o.$n,{content:"Transfer",icon:"sign-out-alt",onClick:function(){return t("transfer",{target_acc_number:u,funds_amount:h,purpose:x})}}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(g,{})]})},m=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=s((0,i.useState)(0),2),u=c[0],d=c[1],f=a.owner_name,h=a.money;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.wn,{title:"Welcome, "+f,buttons:(0,r.jsx)(o.$n,{content:"Logout",icon:"sign-out-alt",onClick:function(){return t("logout")}}),children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsxs)(o.Ki.Item,{label:"Account Balance",children:["$",h]}),(0,r.jsx)(o.Ki.Item,{label:"Withdrawal Amount",children:(0,r.jsx)(o.pd,{onChange:function(e){return d(e)}})}),(0,r.jsx)(o.Ki.Item,{children:(0,r.jsx)(o.$n,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){return t("withdrawal",{funds_amount:u})}})})]})}),(0,r.jsxs)(o.wn,{title:"Menu",children:[(0,r.jsx)(o.az,{children:(0,r.jsx)(o.$n,{content:"Change account security level",icon:"lock",onClick:function(){return t("view_screen",{view_screen:1})}})}),(0,r.jsx)(o.az,{children:(0,r.jsx)(o.$n,{content:"Make transfer",icon:"exchange-alt",onClick:function(){return t("view_screen",{view_screen:2})}})}),(0,r.jsx)(o.az,{children:(0,r.jsx)(o.$n,{content:"View transaction log",icon:"list",onClick:function(){return t("view_screen",{view_screen:3})}})}),(0,r.jsx)(o.az,{children:(0,r.jsx)(o.$n,{content:"Print balance statement",icon:"print",onClick:function(){return t("balance_statement")}})})]})]})},p=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=s((0,i.useState)(null),2),u=c[0],d=c[1],f=s((0,i.useState)(null),2),h=f[0],m=f[1];return a.machine_id,a.held_card_name,(0,r.jsx)(o.wn,{title:"Insert card or enter ID and pin to login",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Account ID",children:(0,r.jsx)(o.pd,{placeholder:"6 Digit Number",onChange:function(e){return d(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Pin",children:(0,r.jsx)(o.pd,{placeholder:"6 Digit Number",onChange:function(e){return m(e)}})}),(0,r.jsx)(o.Ki.Item,{children:(0,r.jsx)(o.$n,{content:"Login",icon:"sign-in-alt",onClick:function(){return t("attempt_auth",{account_num:u,account_pin:h})}})})]})})},x=function(e){var n=(0,l.Oc)(),t=(n.act,n.data).transaction_log;return(0,r.jsxs)(o.wn,{title:"Transactions",children:[(0,r.jsxs)(o.XI,{children:[(0,r.jsxs)(o.XI.Row,{header:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"Timestamp"}),(0,r.jsx)(o.XI.Cell,{children:"Reason"}),(0,r.jsx)(o.XI.Cell,{children:"Value"}),(0,r.jsx)(o.XI.Cell,{children:"Terminal"})]}),t.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.time}),(0,r.jsx)(o.XI.Cell,{children:e.purpose}),(0,r.jsxs)(o.XI.Cell,{color:e.is_deposit?"green":"red",children:["$",e.amount]}),(0,r.jsx)(o.XI.Cell,{children:e.target_name})]},e)})]}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(g,{})]})},g=function(e){var n=(0,l.Oc)(),t=n.act;return n.data,(0,r.jsx)(o.$n,{content:"Back",icon:"sign-out-alt",onClick:function(){return t("view_screen",{view_screen:0})}})}},4558:function(e,n,t){"use strict";t.r(n),t.d(n,{AccountsUplinkTerminal:()=>x});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384),s=t(7352),u=t(736),d=t(6888),f=t(2264),h=t(4900);function m(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tm});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384),s=t(6888),u=t(2264),d=t(4900),f=function(e){switch(e){case 0:return"Antagonists";case 1:return"Objectives";case 2:return"Security";case 3:return"All High Value Items";case 4:return"Advanced Disease Carriers";default:return"Something went wrong with this menu, make an issue report please!"}},h=function(e){switch(e){case 0:return(0,r.jsx)(j,{});case 1:return(0,r.jsx)(y,{});case 2:return(0,r.jsx)(w,{});case 3:return(0,r.jsx)(_,{});case 4:return(0,r.jsx)(I,{});default:return"Something went wrong with this menu, make an issue report please!"}},m=function(e){return(0,r.jsx)(c.p8,{width:800,height:600,children:(0,r.jsx)(c.p8.Content,{scrollable:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.IC,{children:"This menu is a Work in Progress. Some antagonists like Nuclear Operatives and Biohazards will not show up."})}),(0,r.jsxs)(d.default.Default,{tabIndex:0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(p,{})}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(x,{})})]})]})})})},p=function(){var e=(0,i.useContext)(d.default),n=e.tabIndex,t=e.setTabIndex;return(0,r.jsxs)(o.tU,{children:[(0,r.jsx)(o.tU.Tab,{selected:0===n,onClick:function(){t(0)},icon:"user",children:"Antagonists"},"Antagonists"),(0,r.jsx)(o.tU.Tab,{selected:1===n,onClick:function(){t(1)},icon:"people-robbery",children:"Objectives"},"Objectives"),(0,r.jsx)(o.tU.Tab,{selected:2===n,onClick:function(){t(2)},icon:"handcuffs",children:"Security"},"Security"),(0,r.jsx)(o.tU.Tab,{selected:3===n,onClick:function(){t(3)},icon:"lock",children:"High Value Items"},"HighValueItems"),(0,r.jsx)(o.tU.Tab,{selected:4===n,onClick:function(){t(4)},icon:"virus",children:"Advanced Disease Carriers"},"AdvancedDiseaseCarriers")]})},x=function(){return(0,r.jsx)(s.default.Default,{children:(0,r.jsx)(g,{})})},g=function(){var e=(0,a.Oc)().act,n=(0,i.useContext)(d.default).tabIndex,t=(0,i.useContext)(s.default).setSearchText;return(0,r.jsx)(o.wn,{title:f(n),fill:!0,scrollable:!0,buttons:(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.pd,{width:"300px",placeholder:"Search...",onChange:function(e){return t(e)}}),(0,r.jsx)(o.$n,{icon:"sync",onClick:function(){return e("refresh")},children:"Refresh"})]}),children:h(n)})},j=function(){return(0,r.jsx)(u.default.Default,{sortId:"antag_name",children:(0,r.jsx)(b,{})})},b=function(e){var n=(0,a.Oc)(),t=n.act,c=n.data.antagonists,d=(0,i.useContext)(s.default).searchText,f=(0,i.useContext)(u.default),h=f.sortId,m=f.sortOrder;return c.length?(0,r.jsxs)(o.XI,{className:"AdminAntagMenu__list",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(O,{id:"name",children:"Mob Name"}),(0,r.jsx)(O,{id:"",children:"Buttons"}),(0,r.jsx)(O,{id:"antag_name",children:"Antagonist Type"}),(0,r.jsx)(O,{id:"status",children:"Status"})]}),c.filter((0,l.XZ)(d,function(e){return e.name+"|"+e.status+"|"+e.antag_name})).sort(function(e,n){var t=m?1:-1;return void 0===e[h]||null===e[h]?t:void 0===n[h]||null===n[h]?-1*t:"number"==typeof e[h]?(e[h]-n[h])*t:e[h].localeCompare(n[h])*t}).map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:e.body_destroyed?e.name:(0,r.jsx)(o.$n,{color:e.is_hijacker||!e.name?"red":"",tooltip:e.is_hijacker?"Hijacker":"",onClick:function(){return t("show_player_panel",{mind_uid:e.antag_mind_uid})},children:e.name?e.name:"??? (NO NAME)"})}),(0,r.jsxs)(o.XI.Cell,{collapsing:!0,children:[(0,r.jsx)(o.$n,{onClick:function(){t("pm",{ckey:e.ckey})},children:"PM"}),(0,r.jsx)(o.$n,{onClick:function(){t("follow",{datum_uid:e.antag_mind_uid})},children:"FLW"}),(0,r.jsx)(o.$n,{onClick:function(){t("obs",{mind_uid:e.antag_mind_uid})},children:"OBS"}),(0,r.jsx)(o.$n,{onClick:function(){t("tp",{mind_uid:e.antag_mind_uid})},children:"TP"})]}),(0,r.jsx)(o.XI.Cell,{children:e.antag_name}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.az,{color:e.status?"red":"grey",children:e.status?e.status:"Alive"})})]},n)})]}):"No Antagonists!"},y=function(){return(0,r.jsx)(u.default.Default,{sortId:"target_name",children:(0,r.jsx)(v,{})})},v=function(e){var n=(0,a.Oc)(),t=n.act,c=n.data.objectives,d=(0,i.useContext)(s.default).searchText,f=(0,i.useContext)(u.default),h=f.sortId,m=f.sortOrder;return c.length?(0,r.jsxs)(o.XI,{className:"AdminAntagMenu__list",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(O,{sort_group:"sortId2",id:"obj_name",children:"Name"}),(0,r.jsx)(O,{sort_group:"sortId2",id:"target_name",children:"Target"}),(0,r.jsx)(O,{sort_group:"sortId2",id:"status",children:"Status"}),(0,r.jsx)(O,{sort_group:"sortId2",id:"owner_name",children:"Owner"})]}),c.filter((0,l.XZ)(d,function(e){return e.obj_name+"|"+e.target_name+"|"+(e.status?"success":"incompleted")+"|"+e.owner_name})).sort(function(e,n){var t=m?1:-1;return void 0===e[h]||null===e[h]||"target_name"===h&&e.no_target?t:void 0===n[h]||null===n[h]||"target_name"===h&&n.no_target?-1*t:"number"==typeof e[h]?(e[h]-n[h])*t:e[h].localeCompare(n[h])*t}).map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.$n,{tooltip:e.obj_desc,onClick:function(){return t("vv",{uid:e.obj_uid})},children:e.obj_name})}),(0,r.jsx)(o.XI.Cell,{children:e.no_target?"":e.track.length?e.track.map(function(n,i){return(0,r.jsxs)(o.$n,{onClick:function(){return t("follow",{datum_uid:n})},children:[e.target_name," ",e.track.length>1?"("+(parseInt(i,10)+1)+")":""]},i)}):"No "+e.target_name+" Found"}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.az,{color:e.status?"green":"grey",children:e.status?"Success":"Incomplete"})}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)(o.$n,{onClick:function(){t("obj_owner",{owner_uid:e.owner_uid})},children:e.owner_name})})]},n)})]}):"No Objectives!"},w=function(){return(0,r.jsx)(u.default.Default,{sortId:"health",children:(0,r.jsx)(k,{})})},k=function(e){var n=(0,a.Oc)(),t=n.act,c=n.data.security,d=(0,i.useContext)(s.default).searchText,f=(0,i.useContext)(u.default),h=f.sortId,m=f.sortOrder,p=function(e){return 2===e.status?"Dead":1===e.status?"Unconscious":e.broken_bone&&e.internal_bleeding?"Broken Bone, IB":e.broken_bone?"Broken Bone":e.internal_bleeding?"IB":"Alive"};return c.length?(0,r.jsxs)(o.XI,{className:"AdminAntagMenu__list",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(O,{sort_group:"sortId3",id:"name",children:"Name"}),(0,r.jsx)(O,{sort_group:"sortId3",id:"role",children:"Role"}),(0,r.jsx)(O,{sort_group:"sortId3",id:"status",children:"Status"}),(0,r.jsx)(O,{sort_group:"sortId3",id:"antag",children:"Antag"}),(0,r.jsx)(O,{sort_group:"sortId3",id:"health",children:"Health"})]}),c.filter((0,l.XZ)(d,function(e){return e.name+"|"+e.role+"|"+p(e)+"|"+e.antag})).sort(function(e,n){var t=m?1:-1;return void 0===e[h]||null===e[h]?t:void 0===n[h]||null===n[h]?-1*t:"number"==typeof e[h]?(e[h]-n[h])*t:e[h].localeCompare(n[h])*t}).map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)(o.$n,{onClick:function(){return t("show_player_panel",{mind_uid:e.mind_uid})},children:e.name})}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:e.role}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)(o.az,{color:2===e.status?"red":1===e.status?"orange":e.broken_bone||e.internal_bleeding?"yellow":"grey",children:p(e)})}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:e.antag?(0,r.jsx)(o.$n,{textColor:"red",onClick:function(){t("tp",{mind_uid:e.mind_uid})},children:e.antag}):""}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.z2,{my:.5,minValue:0,value:e.health/e.max_health,maxValue:1,ranges:{good:[.6,1/0],average:[0,.6],bad:[-1/0,0]},children:e.health})}),(0,r.jsxs)(o.XI.Cell,{collapsing:!0,children:[(0,r.jsx)(o.$n,{onClick:function(){t("pm",{ckey:e.ckey})},children:"PM"}),(0,r.jsx)(o.$n,{onClick:function(){t("follow",{datum_uid:e.mind_uid})},children:"FLW"}),(0,r.jsx)(o.$n,{onClick:function(){t("obs",{mind_uid:e.mind_uid})},children:"OBS"})]})]},n)})]}):"No Security!"},_=function(){return(0,r.jsx)(u.default.Default,{sortId:"person",children:(0,r.jsx)(C,{})})},C=function(e){var n=(0,a.Oc)(),t=n.act,c=n.data.high_value_items,d=(0,i.useContext)(s.default).searchText,f=(0,i.useContext)(u.default),h=f.sortId,m=f.sortOrder;return c.length?(0,r.jsxs)(o.XI,{className:"AdminAntagMenu__list",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(O,{sort_group:"sortId4",id:"name",children:"Name"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"person",children:"Carrier"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"loc",children:"Location"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"admin_z",children:"On Admin Z-level"})]}),c.filter((0,l.XZ)(d,function(e){return e.name+"|"+e.loc})).sort(function(e,n){var t=m?1:-1;return void 0===e[h]||null===e[h]?t:void 0===n[h]||null===n[h]?-1*t:"number"==typeof e[h]?(e[h]-n[h])*t:e[h].localeCompare(n[h])*t}).map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.$n,{tooltip:e.obj_desc,onClick:function(){return t("vv",{uid:e.uid})},children:e.name})}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.az,{color:e.admin_z?"grey":"",children:e.person})}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.az,{color:e.admin_z?"grey":"",children:e.loc})}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.az,{color:"grey",children:e.admin_z?"On Admin Z-level":""})}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)(o.$n,{onClick:function(){t("follow",{datum_uid:e.uid})},children:"FLW"})})]},n)})]}):"No High Value Items!"},I=function(){return(0,r.jsx)(u.default.Default,{sortId:"strain",children:(0,r.jsx)(S,{})})},S=function(e){var n=(0,a.Oc)(),t=n.act,c=n.data,d=c.disease_carriers,f=c.virus_data,h=(0,i.useContext)(s.default).searchText,m=(0,i.useContext)(u.default),p=m.sortId,x=m.sortOrder,g=function(e){return 2===e.status?"Dead":1===e.status?"Unconscious":"Alive"};return d.length?(0,r.jsxs)(o.XI,{className:"AdminAntagMenu__list",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(O,{sort_group:"sortId4",id:"name",children:"Name"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"status",children:"Status"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"virus_name",children:"Virus Name"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"strain",children:"Strain"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"progress",children:"Progress"}),(0,r.jsx)(O,{sort_group:"sortId4",id:"health",children:"Health"})]}),d.filter((0,l.XZ)(h,function(e){return e.name+"||"+g(e)+"|"+e.strain+"|"+e.virus_name})).sort(function(e,n){var t=x?1:-1;return void 0===e[p]||null===e[p]?t:void 0===n[p]||null===n[p]?-1*t:"number"==typeof e[p]?(e[p]-n[p])*t:e[p].localeCompare(n[p])*t}).map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)(o.$n,{color:e.patient_zero?"red":"",onClick:function(){return t("show_player_panel",{mind_uid:e.mind_uid})},children:e.name})}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)(o.az,{color:2===e.status?"red":1===e.status?"orange":e.broken_bone||e.internal_bleeding?"yellow":"grey",children:g(e)})}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:e.virus_name}),(0,r.jsx)(o.m_,{position:"right",content:"Symptoms: "+f[e.strain],children:(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:e.strain})},n),(0,r.jsx)(o.XI.Cell,{children:e.patient_zero?"Patient Zero":(0,r.jsx)(o.z2,{minValue:0,value:e.progress/100,maxValue:1,ranges:{good:[0,20],average:[20,60],bad:[60,100]},children:e.progress})}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.z2,{minValue:0,value:e.health/e.max_health,maxValue:1,ranges:{good:[.6,1/0],average:[0,.6],bad:[-1/0,0]},children:e.health})}),(0,r.jsxs)(o.XI.Cell,{collapsing:!0,children:[(0,r.jsx)(o.$n,{onClick:function(){t("pm",{ckey:e.ckey})},children:"PM"}),(0,r.jsx)(o.$n,{onClick:function(){t("follow",{datum_uid:e.mind_uid})},children:"FLW"}),(0,r.jsx)(o.$n,{onClick:function(){t("obs",{mind_uid:e.mind_uid})},children:"OBS"})]})]},n)})]}):"No Disease Carriers!"},O=function(e){var n=e.id,t=(e.sort_group,e.default_sort,e.children),l=(0,i.useContext)(u.default),a=l.sortId,c=l.setSortId,s=l.sortOrder,d=l.setSortOrder;return(0,r.jsx)(o.XI.Cell,{children:(0,r.jsxs)(o.$n,{color:a!==n&&"transparent",width:"100%",onClick:function(){a===n?d(!s):(c(n),d(!0))},children:[t,a===n&&(0,r.jsx)(o.In,{name:s?"sort-up":"sort-down",ml:"0.25rem;"})]})})}},2794:function(e,n,t){"use strict";t.r(n),t.d(n,{AgentCard:()=>m,AgentCardAppearances:()=>x,AgentCardInfo:()=>p});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=a[c.power.main]||a[0],u=a[c.power.backup]||a[0],d=a[c.shock]||a[0];return(0,r.jsx)(l.p8,{width:500,height:400,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Power Status",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Main",color:s.color,buttons:(0,r.jsx)(i.$n,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){return t("disrupt-main")}}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"[".concat(c.power.main_timeleft,"s]")]}),(0,r.jsxs)(i.Ki.Item,{label:"Backup",color:u.color,buttons:(0,r.jsx)(i.$n,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){return t("disrupt-backup")}}),children:[c.power.backup?"Online":"Offline"," ",!c.wires.backup_power&&"[Wires have been cut!]"||c.power.backup_timeleft>0&&"[".concat(c.power.backup_timeleft,"s]")]}),(0,r.jsxs)(i.Ki.Item,{label:"Electrify",color:d.color,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{mr:.5,icon:"wrench",disabled:!(c.wires.shock&&2!==c.shock),content:"Restore",onClick:function(){return t("shock-restore")}}),(0,r.jsx)(i.$n,{mr:.5,icon:"bolt",disabled:!c.wires.shock,content:"Temporary",onClick:function(){return t("shock-temp")}}),(0,r.jsx)(i.$n,{icon:"bolt",disabled:!c.wires.shock||0===c.shock,content:"Permanent",onClick:function(){return t("shock-perm")}})]}),children:[2===c.shock?"Safe":"Electrified"," ",!c.wires.shock&&"[Wires have been cut!]"||c.shock_timeleft>0&&"[".concat(c.shock_timeleft,"s]")||-1===c.shock_timeleft&&"[Permanent]"]})]})}),(0,r.jsx)(i.wn,{title:"Access and Door Control",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"ID Scan",color:"bad",buttons:(0,r.jsx)(i.$n,{mb:.5,width:6.5,icon:c.id_scanner?"power-off":"times",content:c.id_scanner?"Enabled":"Disabled",selected:c.id_scanner,disabled:!c.wires.id_scanner,onClick:function(){return t("idscan-toggle")}}),children:!c.wires.id_scanner&&"[Wires have been cut!]"}),(0,r.jsx)(i.Ki.Item,{label:"Emergency Access",buttons:(0,r.jsx)(i.$n,{width:6.5,icon:c.emergency?"power-off":"times",content:c.emergency?"Enabled":"Disabled",selected:c.emergency,onClick:function(){return t("emergency-toggle")}})}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsx)(i.Ki.Item,{label:"Door Bolts",color:"bad",buttons:(0,r.jsx)(i.$n,{mb:.5,icon:c.locked?"lock":"unlock",content:c.locked?"Lowered":"Raised",selected:c.locked,disabled:!c.wires.bolts,onClick:function(){return t("bolt-toggle")}}),children:!c.wires.bolts&&"[Wires have been cut!]"}),(0,r.jsx)(i.Ki.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,r.jsx)(i.$n,{mb:.5,width:6.5,icon:c.lights?"power-off":"times",content:c.lights?"Enabled":"Disabled",selected:c.lights,disabled:!c.wires.lights,onClick:function(){return t("light-toggle")}}),children:!c.wires.lights&&"[Wires have been cut!]"}),(0,r.jsx)(i.Ki.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,r.jsx)(i.$n,{mb:.5,width:6.5,icon:c.safe?"power-off":"times",content:c.safe?"Enabled":"Disabled",selected:c.safe,disabled:!c.wires.safe,onClick:function(){return t("safe-toggle")}}),children:!c.wires.safe&&"[Wires have been cut!]"}),(0,r.jsx)(i.Ki.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,r.jsx)(i.$n,{mb:.5,width:6.5,icon:c.speed?"power-off":"times",content:c.speed?"Enabled":"Disabled",selected:c.speed,disabled:!c.wires.timing,onClick:function(){return t("speed-toggle")}}),children:!c.wires.timing&&"[Wires have been cut!]"}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsx)(i.Ki.Item,{label:"Door Control",color:"bad",buttons:(0,r.jsx)(i.$n,{icon:c.opened?"sign-out-alt":"sign-in-alt",content:c.opened?"Open":"Closed",selected:c.opened,disabled:c.locked||c.welded,onClick:function(){return t("open-close")}}),children:!!(c.locked||c.welded)&&(0,r.jsxs)("span",{children:["[Door is ",c.locked?"bolted":"",c.locked&&c.welded?" and ":"",c.welded?"welded":"","!]"]})})]})})]})})}},5486:function(e,n,t){"use strict";t.r(n),t.d(n,{AirAlarm:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=t(1992),s=t(4900),u=function(e){var n=(0,l.Oc)(),t=(n.act,n.data).locked;return(0,r.jsx)(a.p8,{width:570,height:t?310:755,children:(0,r.jsxs)(a.p8.Content,{scrollable:!0,children:[(0,r.jsx)(c.InterfaceLockNoticeBox,{}),(0,r.jsx)(f,{}),!t&&(0,r.jsxs)(s.default.Default,{tabIndex:0,children:[(0,r.jsx)(h,{}),(0,r.jsx)(m,{})]})]})})},d=function(e){return 0===e?"green":1===e?"orange":"red"},f=function(e){var n,t=(0,l.Oc)(),i=t.act,a=t.data,c=a.air,s=a.mode,u=a.atmos_alarm,f=a.locked,h=a.alarmActivated,m=a.rcon,p=a.target_temp;return n=0===c.danger.overall?0===u?"Optimal":"Caution: Atmos alert in area":1===c.danger.overall?"Caution":"DANGER: Internals Required",(0,r.jsx)(o.wn,{title:"Air Status",children:c?(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Pressure",children:(0,r.jsxs)(o.az,{color:d(c.danger.pressure),children:[(0,r.jsx)(o.zv,{value:c.pressure})," kPa",!f&&(0,r.jsxs)(r.Fragment,{children:["\xa0",(0,r.jsx)(o.$n,{content:3===s?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:3===s,icon:"exclamation-triangle",onClick:function(){return i("mode",{mode:3===s?1:3})}})]})]})}),(0,r.jsx)(o.Ki.Item,{label:"Oxygen",children:(0,r.jsx)(o.z2,{value:c.contents.oxygen/100,fractionDigits:"1",color:d(c.danger.oxygen)})}),(0,r.jsx)(o.Ki.Item,{label:"Nitrogen",children:(0,r.jsx)(o.z2,{value:c.contents.nitrogen/100,fractionDigits:"1",color:d(c.danger.nitrogen)})}),(0,r.jsx)(o.Ki.Item,{label:"Carbon Dioxide",children:(0,r.jsx)(o.z2,{value:c.contents.co2/100,fractionDigits:"1",color:d(c.danger.co2)})}),(0,r.jsx)(o.Ki.Item,{label:"Toxins",children:(0,r.jsx)(o.z2,{value:c.contents.plasma/100,fractionDigits:"1",color:d(c.danger.plasma)})}),c.contents.n2o>.1&&(0,r.jsx)(o.Ki.Item,{label:"Nitrous Oxide",children:(0,r.jsx)(o.z2,{value:c.contents.n2o/100,fractionDigits:"1",color:d(c.danger.n2o)})}),c.contents.h2>.1&&(0,r.jsx)(o.Ki.Item,{label:"Hydrogen",children:(0,r.jsx)(o.z2,{value:c.contents.h2/100,fractionDigits:"1",color:d(c.danger.h2)})}),c.contents.water_vapor>.1&&(0,r.jsx)(o.Ki.Item,{label:"Water Vapor",children:(0,r.jsx)(o.z2,{value:c.contents.water_vapor/100,fractionDigits:"1",color:d(c.danger.water_vapor)})}),c.contents.other>.1&&(0,r.jsx)(o.Ki.Item,{label:"Other",children:(0,r.jsx)(o.z2,{value:c.contents.other/100,fractionDigits:"1",color:d(c.danger.other)})}),(0,r.jsx)(o.Ki.Item,{label:"Temperature",children:(0,r.jsxs)(o.az,{color:d(c.danger.temperature),children:[(0,r.jsx)(o.zv,{value:c.temperature})," K / ",(0,r.jsx)(o.zv,{value:c.temperature_c})," C\xa0",(0,r.jsx)(o.$n,{icon:"thermometer-full",content:p+" C",onClick:function(){return i("temperature")}}),(0,r.jsx)(o.$n,{content:c.thermostat_state?"On":"Off",selected:c.thermostat_state,icon:"power-off",onClick:function(){return i("thermostat_state")}})]})}),(0,r.jsx)(o.Ki.Item,{label:"Local Status",children:(0,r.jsxs)(o.az,{color:d(c.danger.overall),children:[n,!f&&(0,r.jsxs)(r.Fragment,{children:["\xa0",(0,r.jsx)(o.$n,{content:h?"Reset Alarm":"Activate Alarm",selected:h,onClick:function(){return i(h?"atmos_reset":"atmos_alarm")}})]})]})}),(0,r.jsxs)(o.Ki.Item,{label:"Remote Control Settings",children:[(0,r.jsx)(o.$n,{content:"Off",selected:1===m,onClick:function(){return i("set_rcon",{rcon:1})}}),(0,r.jsx)(o.$n,{content:"Auto",selected:2===m,onClick:function(){return i("set_rcon",{rcon:2})}}),(0,r.jsx)(o.$n,{content:"On",selected:3===m,onClick:function(){return i("set_rcon",{rcon:3})}})]})]}):(0,r.jsx)(o.az,{children:"Unable to acquire air sample!"})})},h=function(e){var n=(0,i.useContext)(s.default),t=n.tabIndex,l=n.setTabIndex;return(0,r.jsxs)(o.tU,{children:[(0,r.jsxs)(o.tU.Tab,{selected:0===t,onClick:function(){return l(0)},children:[(0,r.jsx)(o.In,{name:"sign-out-alt"})," Vent Control"]},"Vents"),(0,r.jsxs)(o.tU.Tab,{selected:1===t,onClick:function(){return l(1)},children:[(0,r.jsx)(o.In,{name:"sign-in-alt"})," Scrubber Control"]},"Scrubbers"),(0,r.jsxs)(o.tU.Tab,{selected:2===t,onClick:function(){return l(2)},children:[(0,r.jsx)(o.In,{name:"cog"})," Mode"]},"Mode"),(0,r.jsxs)(o.tU.Tab,{selected:3===t,onClick:function(){return l(3)},children:[(0,r.jsx)(o.In,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},m=function(e){switch((0,i.useContext)(s.default).tabIndex){case 0:return(0,r.jsx)(p,{});case 1:return(0,r.jsx)(x,{});case 2:return(0,r.jsx)(g,{});case 3:return(0,r.jsx)(j,{});default:return"WE SHOULDN'T BE HERE!"}},p=function(e){var n=(0,l.Oc)(),t=n.act;return n.data.vents.map(function(e){return(0,r.jsx)(o.wn,{title:e.name,children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsxs)(o.Ki.Item,{label:"Status",children:[(0,r.jsx)(o.$n,{content:e.power?"On":"Off",selected:e.power,icon:"power-off",onClick:function(){return t("command",{cmd:"power",val:!e.power,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:e.direction?"Blowing":"Siphoning",icon:e.direction?"sign-out-alt":"sign-in-alt",onClick:function(){return t("command",{cmd:"direction",val:!e.direction,id_tag:e.id_tag})}})]}),(0,r.jsxs)(o.Ki.Item,{label:"Pressure Checks",children:[(0,r.jsx)(o.$n,{content:"External",selected:1===e.checks,onClick:function(){return t("command",{cmd:"checks",val:1,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Internal",selected:2===e.checks,onClick:function(){return t("command",{cmd:"checks",val:2,id_tag:e.id_tag})}})]}),(0,r.jsxs)(o.Ki.Item,{label:"External Pressure Target",children:[(0,r.jsx)(o.zv,{value:e.external})," kPa\xa0",(0,r.jsx)(o.$n,{content:"Set",icon:"cog",onClick:function(){return t("command",{cmd:"set_external_pressure",id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Reset",icon:"redo-alt",onClick:function(){return t("command",{cmd:"set_external_pressure",val:101.325,id_tag:e.id_tag})}})]})]})},e.name)})},x=function(e){var n=(0,l.Oc)(),t=n.act;return n.data.scrubbers.map(function(e){return(0,r.jsx)(o.wn,{title:e.name,children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsxs)(o.Ki.Item,{label:"Status",children:[(0,r.jsx)(o.$n,{content:e.power?"On":"Off",selected:e.power,icon:"power-off",onClick:function(){return t("command",{cmd:"power",val:!e.power,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:e.scrubbing?"Scrubbing":"Siphoning",icon:e.scrubbing?"filter":"sign-in-alt",onClick:function(){return t("command",{cmd:"scrubbing",val:!e.scrubbing,id_tag:e.id_tag})}})]}),(0,r.jsx)(o.Ki.Item,{label:"Range",children:(0,r.jsx)(o.$n,{content:e.widenet?"Extended":"Normal",selected:e.widenet,icon:"expand-arrows-alt",onClick:function(){return t("command",{cmd:"widenet",val:!e.widenet,id_tag:e.id_tag})}})}),(0,r.jsxs)(o.Ki.Item,{label:"Filtering",children:[(0,r.jsx)(o.$n,{content:"Carbon Dioxide",selected:e.filter_co2,onClick:function(){return t("command",{cmd:"co2_scrub",val:!e.filter_co2,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Plasma",selected:e.filter_toxins,onClick:function(){return t("command",{cmd:"tox_scrub",val:!e.filter_toxins,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Nitrous Oxide",selected:e.filter_n2o,onClick:function(){return t("command",{cmd:"n2o_scrub",val:!e.filter_n2o,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Oxygen",selected:e.filter_o2,onClick:function(){return t("command",{cmd:"o2_scrub",val:!e.filter_o2,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Nitrogen",selected:e.filter_n2,onClick:function(){return t("command",{cmd:"n2_scrub",val:!e.filter_n2,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Hydrogen",selected:e.filter_h2,onClick:function(){return t("command",{cmd:"h2_scrub",val:!e.filter_h2,id_tag:e.id_tag})}}),(0,r.jsx)(o.$n,{content:"Water Vapor",selected:e.filter_h2o,onClick:function(){return t("command",{cmd:"h2o_scrub",val:!e.filter_h2o,id_tag:e.id_tag})}})]})]})},e.name)})},g=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.modes,c=i.presets,s=i.emagged,u=i.mode,d=i.preset;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.wn,{title:"System Mode",children:Object.keys(a).map(function(e){var n=a[e];if(!n.emagonly||s)return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{textAlign:"right",width:1,children:(0,r.jsx)(o.$n,{content:n.name,icon:"cog",selected:n.id===u,onClick:function(){return t("mode",{mode:n.id})}})}),(0,r.jsx)(o.XI.Cell,{children:n.desc})]},n.name)})}),(0,r.jsxs)(o.wn,{title:"System Presets",children:[(0,r.jsx)(o.az,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,r.jsx)(o.XI,{mt:1,children:c.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{textAlign:"right",width:1,children:(0,r.jsx)(o.$n,{content:e.name,icon:"cog",selected:e.id===d,onClick:function(){return t("preset",{preset:e.id})}})}),(0,r.jsx)(o.XI.Cell,{children:e.desc})]},e.name)})})]})]})},j=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data.thresholds;return(0,r.jsx)(o.wn,{title:"Alarm Thresholds",children:(0,r.jsxs)(o.XI,{children:[(0,r.jsxs)(o.XI.Row,{header:!0,children:[(0,r.jsx)(o.XI.Cell,{width:"20%",children:"Value"}),(0,r.jsx)(o.XI.Cell,{color:"red",width:"20%",children:"Danger Min"}),(0,r.jsx)(o.XI.Cell,{color:"orange",width:"20%",children:"Warning Min"}),(0,r.jsx)(o.XI.Cell,{color:"orange",width:"20%",children:"Warning Max"}),(0,r.jsx)(o.XI.Cell,{color:"red",width:"20%",children:"Danger Max"})]}),i.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.name}),e.settings.map(function(e){return(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.$n,{content:-1===e.selected?"Off":e.selected,onClick:function(){return t("command",{cmd:"set_threshold",env:e.env,var:e.val})}})},e.val)})]},e.name)})]})})}},6962:function(e,n,t){"use strict";t.r(n),t.d(n,{AirlockAccessController:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t,a=(0,o.Oc)(),c=a.act,s=a.data,u=s.exterior_status,d=s.interior_status,f=s.processing;return n="open"===u?(0,r.jsx)(i.$n,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:f,onClick:function(){return c("force_ext")}}):(0,r.jsx)(i.$n,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:f,onClick:function(){return c("cycle_ext_door")}}),t="open"===d?(0,r.jsx)(i.$n,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:f,color:"open"===d?"red":f?"yellow":null,onClick:function(){return c("force_int")}}):(0,r.jsx)(i.$n,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:f,onClick:function(){return c("cycle_int_door")}}),(0,r.jsx)(l.p8,{width:330,height:200,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Information",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"External Door Status",children:"closed"===u?"Locked":"Open"}),(0,r.jsx)(i.Ki.Item,{label:"Internal Door Status",children:"closed"===d?"Locked":"Open"})]})}),(0,r.jsx)(i.wn,{title:"Actions",children:(0,r.jsxs)(i.az,{children:[n,t]})})]})})}},9281:function(e,n,t){"use strict";t.r(n),t.d(n,{AirlockElectronics:()=>c,ChooseAccess:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(2723),c=function(e){return(0,r.jsx)(l.p8,{width:500,height:565,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(s,{}),(0,r.jsx)(u,{})]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.unrestricted_dir;return(0,r.jsx)(i.wn,{title:"Access Control",children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{bold:!0,mb:1,children:"Unrestricted Access From:"}),(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"arrow-left",content:"East",selected:4&l,onClick:function(){return t("unrestricted_access",{unres_dir:4})}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"arrow-up",content:"South",selected:2&l,onClick:function(){return t("unrestricted_access",{unres_dir:2})}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:8&l,onClick:function(){return t("unrestricted_access",{unres_dir:8})}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"arrow-down",content:"North",selected:1&l,onClick:function(){return t("unrestricted_access",{unres_dir:1})}})})]})]})})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,c=l.selected_accesses,s=l.one_access,u=l.regions;return(0,r.jsx)(a.AccessList,{sectionButtons:(0,r.jsx)(r.Fragment,{}),grantableList:[],usedByRcd:1,rcdButtons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n.Checkbox,{checked:s,content:"One",onClick:function(){return t("set_one_access",{access:"one"})}}),(0,r.jsx)(i.$n.Checkbox,{checked:!s,content:"All",onClick:function(){return t("set_one_access",{access:"all"})}})]}),accesses:u,selectedList:c,accessMod:function(e){return t("set",{access:e})},grantAll:function(){return t("grant_all")},denyAll:function(){return t("clear_all")},grantDep:function(e){return t("grant_region",{region:e})},denyDep:function(e){return t("deny_region",{region:e})}})}},934:function(e,n,t){"use strict";t.r(n),t.d(n,{AlertModal:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(7686),a=t(2864),c=t(3384),s=t(9472);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t30?Math.ceil(b.length/4):0)+(b.length&&g?5:0),I=325+100*(x.length>2),S=function(e){0===k&&-1===e?_(x.length-1):k===x.length-1&&1===e?_(0):_(k+e)};return(0,r.jsxs)(c.p8,{title:v,height:C,width:I,children:[!!y&&(0,r.jsx)(s.Loader,{value:y}),(0,r.jsx)(c.p8.Content,{onKeyDown:function(e){var n=window.event?e.which:e.keyCode;n===l.iy||n===l.Ri?d("choose",{choice:x[k]}):n===l.s6?d("cancel"):n===l.iU?(e.preventDefault(),S(-1)):(n===l.aW||n===l.zh)&&(e.preventDefault(),S(1))},children:(0,r.jsx)(o.wn,{fill:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,m:1,children:(0,r.jsx)(o.az,{color:"label",overflow:"hidden",children:b})}),(0,r.jsxs)(o.BJ.Item,{children:[!!m&&(0,r.jsx)(o.y5,{}),(0,r.jsx)(f,{selected:k})]})]})})})]})},f=function(e){var n=(0,a.Oc)().data,t=n.buttons,i=void 0===t?[]:t,l=n.large_buttons,c=n.swapped_buttons,s=e.selected;return(0,r.jsx)(o.so,{fill:!0,align:"center",direction:c?"row":"row-reverse",justify:"space-around",wrap:!0,children:null==i?void 0:i.map(function(e,n){return l&&i.length<3?(0,r.jsx)(o.so.Item,{grow:!0,children:(0,r.jsx)(h,{button:e,id:n.toString(),selected:s===n})},n):(0,r.jsx)(o.so.Item,{grow:+!!l,children:(0,r.jsx)(h,{button:e,id:n.toString(),selected:s===n})},n)})})},h=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data.large_buttons,l=e.button,c=e.selected,s=l.length>7?"100%":7;return(0,r.jsx)(o.$n,{mx:+!!i,pt:.33*!!i,content:l,fluid:!!i,onClick:function(){return t("choose",{choice:l})},selected:c,textAlign:"center",height:!!i&&2,width:!i&&s})}},6473:function(e,n,t){"use strict";t.r(n),t.d(n,{AppearanceChanger:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,s=a.change_race,u=a.species,d=a.specimen,f=a.change_gender,h=a.gender,m=a.change_eye_color,p=a.change_skin_tone,x=a.change_skin_color,g=a.change_runechat_color,j=a.change_head_accessory_color,b=a.change_hair_color,y=a.change_secondary_hair_color,v=a.change_facial_hair_color,w=a.change_secondary_facial_hair_color,k=a.change_head_marking_color,_=a.change_body_marking_color,C=a.change_tail_marking_color,I=a.change_head_accessory,S=a.head_accessory_styles,O=a.head_accessory_style,A=a.change_hair,P=a.hair_styles,E=a.hair_style,B=a.change_hair_gradient,z=a.change_facial_hair,T=a.facial_hair_styles,N=a.facial_hair_style,R=a.change_head_markings,$=a.head_marking_styles,D=a.head_marking_style,M=a.change_body_markings,L=a.body_marking_styles,K=a.body_marking_style,J=a.change_tail_markings,X=a.tail_marking_styles,U=a.tail_marking_style,F=a.change_body_accessory,V=a.body_accessory_styles,H=a.body_accessory_style,W=a.change_alt_head,q=a.alt_head_styles,G=a.alt_head_style,Q=!1;return(m||p||x||j||g||b||y||v||w||k||_||C)&&(Q=!0),(0,r.jsx)(l.p8,{width:800,height:450,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.Ki,{children:[!!s&&(0,r.jsx)(i.Ki.Item,{label:"Species",children:u.map(function(e){return(0,r.jsx)(i.$n,{content:e.specimen,selected:e.specimen===d,onClick:function(){return t("race",{race:e.specimen})}},e.specimen)})}),!!f&&(0,r.jsxs)(i.Ki.Item,{label:"Gender",children:[(0,r.jsx)(i.$n,{content:"Male",selected:"male"===h,onClick:function(){return t("gender",{gender:"male"})}}),(0,r.jsx)(i.$n,{content:"Female",selected:"female"===h,onClick:function(){return t("gender",{gender:"female"})}}),(0,r.jsx)(i.$n,{content:"Genderless",selected:"plural"===h,onClick:function(){return t("gender",{gender:"plural"})}})]}),!!Q&&(0,r.jsx)(c,{}),!!I&&(0,r.jsx)(i.Ki.Item,{label:"Head accessory",children:S.map(function(e){return(0,r.jsx)(i.$n,{content:e.headaccessorystyle,selected:e.headaccessorystyle===O,onClick:function(){return t("head_accessory",{head_accessory:e.headaccessorystyle})}},e.headaccessorystyle)})}),!!A&&(0,r.jsx)(i.Ki.Item,{label:"Hair",children:P.map(function(e){return(0,r.jsx)(i.$n,{content:e.hairstyle,selected:e.hairstyle===E,onClick:function(){return t("hair",{hair:e.hairstyle})}},e.hairstyle)})}),!!B&&(0,r.jsxs)(i.Ki.Item,{label:"Hair Gradient",children:[(0,r.jsx)(i.$n,{content:"Change Style",onClick:function(){return t("hair_gradient")}}),(0,r.jsx)(i.$n,{content:"Change Offset",onClick:function(){return t("hair_gradient_offset")}}),(0,r.jsx)(i.$n,{content:"Change Color",onClick:function(){return t("hair_gradient_colour")}}),(0,r.jsx)(i.$n,{content:"Change Alpha",onClick:function(){return t("hair_gradient_alpha")}})]}),!!z&&(0,r.jsx)(i.Ki.Item,{label:"Facial hair",children:T.map(function(e){return(0,r.jsx)(i.$n,{content:e.facialhairstyle,selected:e.facialhairstyle===N,onClick:function(){return t("facial_hair",{facial_hair:e.facialhairstyle})}},e.facialhairstyle)})}),!!R&&(0,r.jsx)(i.Ki.Item,{label:"Head markings",children:$.map(function(e){return(0,r.jsx)(i.$n,{content:e.headmarkingstyle,selected:e.headmarkingstyle===D,onClick:function(){return t("head_marking",{head_marking:e.headmarkingstyle})}},e.headmarkingstyle)})}),!!M&&(0,r.jsx)(i.Ki.Item,{label:"Body markings",children:L.map(function(e){return(0,r.jsx)(i.$n,{content:e.bodymarkingstyle,selected:e.bodymarkingstyle===K,onClick:function(){return t("body_marking",{body_marking:e.bodymarkingstyle})}},e.bodymarkingstyle)})}),!!J&&(0,r.jsx)(i.Ki.Item,{label:"Tail markings",children:X.map(function(e){return(0,r.jsx)(i.$n,{content:e.tailmarkingstyle,selected:e.tailmarkingstyle===U,onClick:function(){return t("tail_marking",{tail_marking:e.tailmarkingstyle})}},e.tailmarkingstyle)})}),!!F&&(0,r.jsx)(i.Ki.Item,{label:"Body accessory",children:V.map(function(e){return(0,r.jsx)(i.$n,{content:e.bodyaccessorystyle,selected:e.bodyaccessorystyle===H,onClick:function(){return t("body_accessory",{body_accessory:e.bodyaccessorystyle})}},e.bodyaccessorystyle)})}),!!W&&(0,r.jsx)(i.Ki.Item,{label:"Alternate head",children:q.map(function(e){return(0,r.jsx)(i.$n,{content:e.altheadstyle,selected:e.altheadstyle===G,onClick:function(){return t("alt_head",{alt_head:e.altheadstyle})}},e.altheadstyle)})})]})})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data;return(0,r.jsx)(i.Ki.Item,{label:"Colors",children:[{key:"change_eye_color",text:"Change eye color",action:"eye_color"},{key:"change_skin_tone",text:"Change skin tone",action:"skin_tone"},{key:"change_skin_color",text:"Change skin color",action:"skin_color"},{key:"change_runechat_color",text:"Change runechat color",action:"runechat_color"},{key:"change_head_accessory_color",text:"Change head accessory color",action:"head_accessory_color"},{key:"change_hair_color",text:"Change hair color",action:"hair_color"},{key:"change_secondary_hair_color",text:"Change secondary hair color",action:"secondary_hair_color"},{key:"change_facial_hair_color",text:"Change facial hair color",action:"facial_hair_color"},{key:"change_secondary_facial_hair_color",text:"Change secondary facial hair color",action:"secondary_facial_hair_color"},{key:"change_head_marking_color",text:"Change head marking color",action:"head_marking_color"},{key:"change_body_marking_color",text:"Change body marking color",action:"body_marking_color"},{key:"change_tail_marking_color",text:"Change tail marking color",action:"tail_marking_color"}].map(function(e){return!!l[e.key]&&(0,r.jsx)(i.$n,{content:e.text,onClick:function(){return t(e.action)}},e.key)})})}},6085:function(e,n,t){"use strict";t.r(n),t.d(n,{ArcadeBattle:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e,n){var t=(0,o.Oc)(),a=t.act,c=t.data,s=c.enemyName,u=c.playerHP,d=c.playerMaxHP,f=c.playerMP,h=c.playerMaxMP,m=c.enemyHP,p=c.enemyMaxHP,x=c.onCooldown,g=c.gameOver,j=c.previousEvent;return g?(0,r.jsx)(l.p8,{height:350,width:350,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{fill:!0,align:"center",title:m<1?"Rejoyce!":"Game Over!",children:(0,r.jsxs)(i.BJ,{justify:"space-between",vertical:!0,fill:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.az,{children:j})}),(0,r.jsx)(i.BJ.Item,{height:"30%",children:(0,r.jsx)(i.$n,{bold:!0,fluid:!0,height:"100%",fontSize:"min(8vw, 15vh)",textAlign:"center",verticalAlignContent:"middle",onClick:function(){return a("newgame")},children:"New Game"})})]})})})}):(0,r.jsx)(l.p8,{height:350,width:350,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{vertical:!0,fill:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:s,children:(0,r.jsxs)(i.z2,{maxValue:p,minValue:0,value:m,ranges:{red:[-10,10],orange:[10,20],green:[20,p]},children:["Their Health: ",m]})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Fight!",children:j})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,title:"You",children:(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.z2,{maxValue:d,minValue:0,value:u,ranges:{red:[-10,10],orange:[10,20],green:[20,d]},children:["Your Health: ",u]})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.z2,{maxValue:h,minValue:0,value:f,ranges:{red:[-10,h/4],orange:[h/4,h/2],green:[h/2,h]},children:["Your Magic: ",f]})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.az,{bold:!0,align:"center",children:"What will you do?"})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.BJ,{justify:"center",children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"burst",lineHeight:3,onClick:function(){return a("attack")},disabled:x,children:"Attack"})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"plus",lineHeight:3,onClick:function(){return a("heal")},disabled:x,children:"Heal"})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"star",lineHeight:3,onClick:function(){return a("charge")},disabled:x,children:"Recharge"})})]})})]})})})]})})})}},3438:function(e,n,t){"use strict";t.r(n),t.d(n,{AtmosAlertConsole:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tu});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(7946),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.on,s=a.pressure,u=a.max_pressure,d=a.filter_type,f=a.filter_type_list;return(0,r.jsx)(l.p8,{width:380,height:160,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){return t("power")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Rate",children:[(0,r.jsx)(i.$n,{icon:"fast-backward",textAlign:"center",disabled:0===s,width:2.2,onClick:function(){return t("min_pressure")}}),(0,r.jsx)(i.Q7,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:u,value:s,tickWhileDragging:!0,onChange:function(e){return t("custom_pressure",{pressure:e})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",textAlign:"center",disabled:s===u,width:2.2,onClick:function(){return t("max_pressure")}})]}),(0,r.jsx)(i.Ki.Item,{label:"Filter",children:f.map(function(e){return(0,r.jsx)(i.$n,{selected:e.gas_type===d,content:e.label,onClick:function(){return t("set_filter",{filter:e.gas_type})}},e.label)})})]})})})})}},7440:function(e,n,t){"use strict";t.r(n),t.d(n,{AtmosMixer:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,s=a.on,u=a.pressure,d=a.max_pressure,f=a.node1_concentration,h=a.node2_concentration;return(0,r.jsx)(l.p8,{width:330,height:165,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:"power-off",content:s?"On":"Off",color:s?null:"red",selected:s,onClick:function(){return t("power")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Rate",children:[(0,r.jsx)(i.$n,{icon:"fast-backward",textAlign:"center",disabled:0===u,width:2.2,onClick:function(){return t("min_pressure")}}),(0,r.jsx)(i.Q7,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:d,value:u,onChange:function(e){return t("custom_pressure",{pressure:e})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",textAlign:"center",disabled:u===d,width:2.2,onClick:function(){return t("max_pressure")}})]}),(0,r.jsx)(c,{node_name:"Node 1",node_ref:f}),(0,r.jsx)(c,{node_name:"Node 2",node_ref:h})]})})})})},c=function(e){var n=(0,o.Oc)(),t=n.act;n.data;var l=e.node_name,a=e.node_ref;return(0,r.jsxs)(i.Ki.Item,{label:l,children:[(0,r.jsx)(i.$n,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:0===a,onClick:function(){return t("set_node",{node_name:l,concentration:(a-10)/100})}}),(0,r.jsx)(i.Q7,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,step:1,stepPixelSize:10,minValue:0,maxValue:100,value:a,onChange:function(e){return t("set_node",{node_name:l,concentration:e/100})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:100===a,onClick:function(){return t("set_node",{node_name:l,concentration:(a+10)/100})}})]})}},7897:function(e,n,t){"use strict";t.r(n),t.d(n,{AtmosPump:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.on,s=a.rate,u=a.max_rate,d=a.gas_unit,f=a.step;return(0,r.jsx)(l.p8,{width:330,height:110,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){return t("power")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Rate",children:[(0,r.jsx)(i.$n,{icon:"fast-backward",textAlign:"center",disabled:0===s,width:2.2,onClick:function(){return t("min_rate")}}),(0,r.jsx)(i.Q7,{animated:!0,unit:d,width:6.1,lineHeight:1.5,step:f,minValue:0,maxValue:u,value:s,onChange:function(e){return t("custom_rate",{rate:e})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",textAlign:"center",disabled:s===u,width:2.2,onClick:function(){return t("max_rate")}})]})]})})})})}},1164:function(e,n,t){"use strict";t.r(n),t.d(n,{AtmosTankControl:()=>s});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(421),c=t(3384),s=function(e){var n=(0,l.Oc)(),t=n.act,s=n.data,d=s.sensors||{};return(0,r.jsx)(c.p8,{width:400,height:435,children:(0,r.jsxs)(c.p8.Content,{scrollable:!0,children:[Object.keys(d).map(function(e){return(0,r.jsx)(i.wn,{title:e,children:(0,r.jsxs)(i.Ki,{children:[Object.keys(d[e]).indexOf("pressure")>-1?(0,r.jsxs)(i.Ki.Item,{label:"Pressure",children:[d[e].pressure," kpa"]}):"",Object.keys(d[e]).indexOf("temperature")>-1?(0,r.jsxs)(i.Ki.Item,{label:"Temperature",children:[d[e].temperature," K"]}):"",["o2","n2","plasma","co2","n2o","h2"].map(function(n){return Object.keys(d[e]).indexOf(n)>-1?(0,r.jsx)(i.Ki.Item,{label:(0,a.wM)(n),children:(0,r.jsx)(i.z2,{color:(0,a.b_)(n),value:d[e][n],minValue:0,maxValue:100,children:(0,o.Mg)(d[e][n],2)+"%"})},(0,a.wM)(n)):""})]})},e)}),(0,r.jsx)(i.wn,{title:"Inlets",children:s.inlets&&Object.keys(s.inlets).length>0?s.inlets.map(function(e){return(0,r.jsx)(i.wn,{title:e.name,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:(e.on,"power-off"),content:e.on?"On":"Off",color:e.on?null:"red",selected:e.on,onClick:function(){return t("toggle_inlet_active",{dev:e.uid})}})}),(0,r.jsx)(i.Ki.Item,{label:"Rate",children:(0,r.jsx)(i.Q7,{animated:!0,unit:"L/s",width:6.1,lineHeight:1.5,step:1,minValue:0,maxValue:50,value:e.rate,onChange:function(n){return t("set_inlet_volume_rate",{dev:e.uid,val:n})}})})]})},e)}):""}),(0,r.jsxs)(i.wn,{title:"Outlets",children:[s.vent_outlets&&Object.keys(s.vent_outlets).length>0?s.vent_outlets.map(function(e){return(0,r.jsx)(i.wn,{title:"Outlet: "+e.name,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:(0,r.jsx)(i.$n,{icon:(e.on,"power-off"),content:e.on?"On":"Off",color:e.on?null:"red",selected:e.on,onClick:function(){return t("toggle_outlet_active",{dev:e.uid})}})}),(0,r.jsxs)(i.Ki.Item,{label:"Pressure Checks",children:[(0,r.jsx)(i.$n,{content:"External",selected:1===e.checks,onClick:function(){return t("set_outlet_reference",{dev:e.uid,val:1})}}),(0,r.jsx)(i.$n,{content:"Internal",selected:2===e.checks,onClick:function(){return t("set_outlet_reference",{dev:e.uid,val:2})}})]}),(0,r.jsx)(i.Ki.Item,{label:"Rate",children:(0,r.jsx)(i.Q7,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:5066,value:e.rate,onChange:function(n){return t("set_outlet_pressure",{dev:e.uid,val:n})}})})]})},e)}):"",s.scrubber_outlets&&Object.keys(s.scrubber_outlets).length>0?(0,r.jsx)(u,{}):""]})]})})},u=function(e){var n=(0,l.Oc)(),t=n.act;return n.data.scrubber_outlets.map(function(e){return(0,r.jsx)(i.wn,{title:"Outlet: "+e.name,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Status",children:[(0,r.jsx)(i.$n,{content:e.power?"On":"Off",selected:e.power,icon:"power-off",onClick:function(){return t("command",{cmd:"power",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:e.scrubbing?"Scrubbing":"Siphoning",icon:e.scrubbing?"filter":"sign-in-alt",onClick:function(){return t("command",{cmd:"scrubbing",id_tag:e.id_tag})}})]}),(0,r.jsx)(i.Ki.Item,{label:"Range",children:(0,r.jsx)(i.$n,{content:e.widenet?"Extended":"Normal",selected:e.widenet,icon:"expand-arrows-alt",onClick:function(){return t("command",{cmd:"widenet",id_tag:e.id_tag})}})}),(0,r.jsxs)(i.Ki.Item,{label:"Filtering",children:[(0,r.jsx)(i.$n,{content:"Carbon Dioxide",selected:e.filter_co2,onClick:function(){return t("command",{cmd:"co2_scrub",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:"Plasma",selected:e.filter_toxins,onClick:function(){return t("command",{cmd:"tox_scrub",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:"Nitrous Oxide",selected:e.filter_n2o,onClick:function(){return t("command",{cmd:"n2o_scrub",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:"Oxygen",selected:e.filter_o2,onClick:function(){return t("command",{cmd:"o2_scrub",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:"Nitrogen",selected:e.filter_n2,onClick:function(){return t("command",{cmd:"n2_scrub",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:"Hydrogen",selected:e.filter_h2,onClick:function(){return t("command",{cmd:"h2_scrub",id_tag:e.id_tag})}}),(0,r.jsx)(i.$n,{content:"Water Vapor",selected:e.filter_h2o,onClick:function(){return t("command",{cmd:"h2o_scrub",id_tag:e.id_tag})}})]})]})},e.name)})}},8340:function(e,n,t){"use strict";t.r(n),t.d(n,{AtmosTemperatureGate:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.on,s=a.temperature,u=a.max_temp,d=a.temp_unit,f=a.step,h=a.inverted;return(0,r.jsx)(l.p8,{width:330,height:130,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){return t("power")}})}),(0,r.jsx)(i.Ki.Item,{label:"Inverted",children:(0,r.jsx)(i.$n,{icon:h?"arrow-up":"arrow-down",content:h?"Yes":"No",color:h?null:"red",selected:h,onClick:function(){return t("inverted")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Temperature",children:[(0,r.jsx)(i.$n,{icon:"fast-backward",textAlign:"center",disabled:0===s,width:2.2,onClick:function(){return t("min_temp")}}),(0,r.jsx)(i.Q7,{animated:!0,unit:d,width:6.1,lineHeight:1.5,step:f,minValue:0,maxValue:u,value:s,onChange:function(e){return t("custom_temperature",{temperature:e})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",textAlign:"center",disabled:s===u,width:2.2,onClick:function(){return t("max_temp")}})]})]})})})})}},6561:function(e,n,t){"use strict";t.r(n),t.d(n,{AugmentMenu:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?"".concat(t.current_level," / ").concat(t.max_level):"0 / ".concat(e.max_level);return(0,r.jsxs)(o.BJ.Item,{children:[(0,r.jsxs)(o.BJ,{vertical:!1,children:[(0,r.jsx)(o.$n,{height:"20px",width:"35px",mb:1,textAlign:"center",content:i,disabled:i>c||t&&t.current_level===t.max_level,tooltip:"Purchase this ability?",onClick:function(){n("purchase",{ability_path:e.ability_path}),p(m)}}),(0,r.jsx)(o.BJ.Item,{fontSize:"16px",children:e.name})]}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsxs)(o.BJ,{vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{fontSize:"13px",children:e.desc||"Description not available"}),(0,r.jsxs)(o.BJ.Item,{children:["Level: ",(0,r.jsx)("span",{style:{color:"green"},children:l}),v&&e.stage>0&&(0,r.jsxs)("span",{children:[" (Stage: ",e.stage,")"]})]}),(0,r.jsx)(o.BJ.Divider,{})]})})]},e.name)})})]})},h=function(e){var n=e.act,t=e.abilityTabs,i=e.knownAbilities,l=e.usableSwarms,a=i.filter(function(e){return e.current_levell,tooltip:"Upgrade this ability?",onClick:function(){return n("purchase",{ability_path:e.ability_path})}}),(0,r.jsx)(o.BJ.Item,{fontSize:"16px",children:e.name})]}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsxs)(o.BJ,{vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{fontSize:"13px",children:e.upgrade_text}),(0,r.jsxs)(o.BJ.Item,{children:["Level:"," ",(0,r.jsx)("span",{style:{color:"green"},children:"".concat(e.current_level," / ").concat(e.max_level)}),i&&i.stage>0&&(0,r.jsxs)("span",{children:[" (Stage: ",i.stage,")"]})]}),(0,r.jsx)(o.BJ.Divider,{})]})})]},e.name)})})}},8762:function(e,n,t){"use strict";t.r(n),t.d(n,{Autolathe:()=>f});var r=t(8138),i=t(8587),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tn)&&!(e.requirements.glass*r>t)},f=function(e){var n=(0,a.Oc)(),t=n.act,s=n.data,f=s.total_amount,h=(s.max_amount,s.metal_amount),m=s.glass_amount,p=s.busyname,x=s.busyamt,g=s.showhacked,j=s.buildQueue,b=s.buildQueueLen,y=s.recipes,v=s.categories,w=s.fill_percent,k=u((0,a.QY)("category","Tools"),2),_=k[0],C=k[1],I=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),S=m.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),O=f.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),A=u((0,a.QY)("searchText",""),2),P=A[0],E=A[1],B=[];b>0&&(B=j.map(function(e,n){return(0,r.jsx)(o.az,{children:(0,r.jsx)(o.$n,{fluid:!0,icon:"times",color:"transparent",content:e[0],onClick:function(){return t("remove_from_queue",{remove_from_queue:n+1})}},n)},n)}));var z=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=(0,i.pb)(e,function(e){return(e.category.indexOf(_)>-1||!!n)&&(!!g||!e.hacked)});if(n){var r=(0,l.XZ)(n,function(e){return e.name});t=(0,i.pb)(t,r)}return(0,i.Ul)(t,function(e){return e.name.toLowerCase()})}(y,P),T="Build";return P?T="Results for: '"+P+"':":_&&(T="Build ("+_+")"),(0,r.jsx)(c.p8,{width:750,height:525,children:(0,r.jsx)(c.p8.Content,{scrollable:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.BJ.Item,{width:"70%",children:(0,r.jsxs)(o.wn,{fill:!0,scrollable:!0,title:T,buttons:(0,r.jsx)(o.ms,{width:"150px",options:v,selected:_,onSelected:function(e){return C(e)}}),children:[(0,r.jsx)(o.pd,{fluid:!0,mb:1,placeholder:"Search for...",onChange:function(e){return E(e)},value:P}),z.map(function(e){return(0,r.jsxs)(o.BJ.Item,{grow:!0,children:[(0,r.jsx)("img",{src:"data:image /jpeg;base64,".concat(e.image),style:{verticalAlign:"middle",width:"32px",margin:"0px"}}),(0,r.jsx)(o.$n,{mr:1,icon:"hammer",selected:p===e.name&&1===x,disabled:!d(e,h,m,1),onClick:function(){return t("make",{make:e.uid,multiplier:1})},children:e.name}),e.max_multiplier>=10&&(0,r.jsx)(o.$n,{mr:1,icon:"hammer",selected:p===e.name&&10===x,disabled:!d(e,h,m,10),onClick:function(){return t("make",{make:e.uid,multiplier:10})},children:"10x"}),e.max_multiplier>=25&&(0,r.jsx)(o.$n,{mr:1,icon:"hammer",selected:p===e.name&&25===x,disabled:!d(e,h,m,25),onClick:function(){return t("make",{make:e.uid,multiplier:25})},children:"25x"}),e.max_multiplier>25&&(0,r.jsxs)(o.$n,{mr:1,icon:"hammer",selected:p===e.name&&x===e.max_multiplier,disabled:!d(e,h,m,e.max_multiplier),onClick:function(){return t("make",{make:e.uid,multiplier:e.max_multiplier})},children:[e.max_multiplier,"x"]}),e.requirements&&Object.keys(e.requirements).map(function(n){return(0,l.Sn)(n)+": "+e.requirements[n]}).join(", ")||(0,r.jsx)(o.az,{children:"No resources required."})]},e.uid)})]})}),(0,r.jsxs)(o.BJ.Item,{width:"30%",children:[(0,r.jsx)(o.wn,{title:"Materials",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Metal",children:I}),(0,r.jsx)(o.Ki.Item,{label:"Glass",children:S}),(0,r.jsx)(o.Ki.Item,{label:"Total",children:O}),(0,r.jsxs)(o.Ki.Item,{label:"Storage",children:[w,"% Full"]})]})}),(0,r.jsx)(o.wn,{title:"Building",children:(0,r.jsx)(o.az,{color:p?"green":"",children:p||"Nothing"})}),(0,r.jsxs)(o.wn,{title:"Build Queue",height:23.7,children:[B,(0,r.jsx)(o.$n,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!b,onClick:function(){return t("clear_queue")}})]})]})]})})})}},9766:function(e,n,t){"use strict";t.r(n),t.d(n,{BioChipPad:()=>s});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ts});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(6696);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.glow_brightness_base,s=a.glow_brightness_power,u=a.glow_contrast_base,d=a.glow_contrast_power,f=a.exposure_brightness_base,h=a.exposure_brightness_power,m=a.exposure_contrast_base,p=a.exposure_contrast_power;return(0,r.jsx)(l.p8,{title:"BloomEdit",width:500,height:500,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{title:"Bloom Edit",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Lamp Brightness Base",children:[(0,r.jsx)(i.az,{inline:!0,children:"Base Lamp Brightness"}),(0,r.jsx)(i.Q7,{fluid:!0,value:c,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("glow_brightness_base",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Lamp Brightness Power",children:[(0,r.jsx)(i.az,{inline:!0,children:"Lamp Brightness * Light Power"}),(0,r.jsx)(i.Q7,{fluid:!0,value:s,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("glow_brightness_power",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Lamp Contrast Base",children:[(0,r.jsx)(i.az,{inline:!0,children:"Base Lamp Contrast"}),(0,r.jsx)(i.Q7,{fluid:!0,value:u,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("glow_contrast_base",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Lamp Contrast Power",children:[(0,r.jsx)(i.az,{inline:!0,children:"Lamp Contrast * Light Power"}),(0,r.jsx)(i.Q7,{fluid:!0,value:d,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("glow_contrast_power",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Exposure Brightness Base",children:[(0,r.jsx)(i.az,{inline:!0,children:"Base Exposure Brightness"}),(0,r.jsx)(i.Q7,{fluid:!0,value:f,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("exposure_brightness_base",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Exposure Brightness Power",children:[(0,r.jsx)(i.az,{inline:!0,children:"Exposure Brightness * Light Power"}),(0,r.jsx)(i.Q7,{fluid:!0,value:h,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("exposure_brightness_power",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Exposure Contrast Base",children:[(0,r.jsx)(i.az,{inline:!0,children:"Base Exposure Contrast"}),(0,r.jsx)(i.Q7,{fluid:!0,value:m,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("exposure_contrast_base",{value:e})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Exposure Contrast Power",children:[(0,r.jsx)(i.az,{inline:!0,children:"Exposure Contrast * Light Power"}),(0,r.jsx)(i.Q7,{fluid:!0,value:p,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e){return t("exposure_contrast_power",{value:e})}})]}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsxs)(i.Ki.Item,{children:[(0,r.jsx)(i.$n,{content:"Reload Lamps with New Parameters",onClick:function(){return t("update_lamps")}}),(0,r.jsx)(i.$n,{content:"Reset to Default",onClick:function(){return t("default")}})]})]})})})})}},7166:function(e,n,t){"use strict";t.r(n),t.d(n,{BlueSpaceArtilleryControl:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t=(0,o.Oc)(),a=t.act,c=t.data;return n=c.ready?(0,r.jsx)(i.Ki.Item,{label:"Status",color:"green",children:"Ready"}):c.reloadtime_text?(0,r.jsx)(i.Ki.Item,{label:"Reloading In",color:"red",children:c.reloadtime_text}):(0,r.jsx)(i.Ki.Item,{label:"Status",color:"red",children:"No cannon connected!"}),(0,r.jsx)(l.p8,{width:400,height:150,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:(0,r.jsxs)(i.Ki,{children:[c.notice&&(0,r.jsx)(i.Ki.Item,{label:"Alert",color:"red",children:c.notice}),n,(0,r.jsx)(i.Ki.Item,{label:"Target",children:(0,r.jsx)(i.$n,{icon:"crosshairs",content:c.target?c.target:"None",onClick:function(){return a("recalibrate")}})}),1===c.ready&&!!c.target&&(0,r.jsx)(i.Ki.Item,{label:"Firing",children:(0,r.jsx)(i.$n,{icon:"skull",content:"FIRE!",color:"red",onClick:function(){return a("fire")}})}),!c.connected&&(0,r.jsx)(i.Ki.Item,{label:"Maintenance",children:(0,r.jsx)(i.$n,{icon:"wrench",content:"Complete Deployment",onClick:function(){return a("build")}})})]})})})})})})}},8128:function(e,n,t){"use strict";t.r(n),t.d(n,{Alerts:()=>u,BluespaceTap:()=>s,Incursion:()=>c});var r=t(8138),i=t(7790),o=t(9582),l=t(2864),a=t(3384),c=function(e){if((0,l.Oc)().data.portaling)return(0,r.jsx)(i.Rr,{fontsize:"256px",backgroundColor:"rgba(35,0,0,0.85)",children:(0,r.jsx)(i.Z8,{fontsize:"256px",interval:Math.random()>.25?750+400*Math.random():290+150*Math.random(),time:60+150*Math.random(),children:(0,r.jsx)(i.BJ,{mb:"30px",fontsize:"256px",children:(0,r.jsxs)(i.BJ.Item,{bold:!0,color:"red",fontsize:"256px",textAlign:"center",children:[(0,r.jsx)(i.In,{name:"skull",size:14,mb:"64px"}),(0,r.jsx)("br",{}),"E$#OR:& U#KN!WN IN%ERF#R_NCE"]})})})})},s=function(e){var n=(0,l.Oc)(),t=n.act,s=n.data,d=s.product||[],f=s.desiredMiningPower,h=s.miningPower,m=s.points,p=s.totalPoints,x=s.powerUse,g=s.availablePower,j=s.emagged,b=s.dirty,y=s.autoShutown,v=s.stabilizers,w=s.stabilizerPower,k=s.stabilizerPriority;return(0,r.jsx)(a.p8,{width:650,height:450,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(c,{}),(0,r.jsx)(u,{}),(0,r.jsx)(i.Nt,{title:"Input Management",children:(0,r.jsxs)(i.wn,{fill:!0,title:"Input",children:[(0,r.jsx)(i.$n,{icon:y&&!j?"toggle-on":"toggle-off",content:"Auto shutdown",color:y&&!j?"green":"red",disabled:!!j,tooltip:"Turn auto shutdown on or off",tooltipPosition:"top",onClick:function(){return t("auto_shutdown")}}),(0,r.jsx)(i.$n,{icon:v&&!j?"toggle-on":"toggle-off",content:"Stabilizers",color:v&&!j?"green":"red",disabled:!!j,tooltip:"Turn stabilizers on or off",tooltipPosition:"top",onClick:function(){return t("stabilizers")}}),(0,r.jsx)(i.$n,{icon:k&&!j?"toggle-on":"toggle-off",content:"Stabilizer priority",color:k&&!j?"green":"red",disabled:!!j,tooltip:"On: Mining power will not exceed what can be stabilized",tooltipPosition:"top",onClick:function(){return t("stabilizer_priority")}}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Desired Mining Power",children:(0,o.d5)(f)}),(0,r.jsx)(i.Ki.Item,{verticalAlign:"top",label:"Set Desired Mining Power",children:(0,r.jsxs)(i.BJ,{width:"100%",children:[(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"step-backward",disabled:0===f||j,tooltip:"Set to 0",tooltipPosition:"bottom",onClick:function(){return t("set",{set_power:0})}}),(0,r.jsx)(i.$n,{icon:"fast-backward",tooltip:"Decrease by 10 MW",tooltipPosition:"bottom",disabled:0===f||j,onClick:function(){return t("set",{set_power:f-1e7})}}),(0,r.jsx)(i.$n,{icon:"backward",disabled:0===f||j,tooltip:"Decrease by 1 MW",tooltipPosition:"bottom",onClick:function(){return t("set",{set_power:f-1e6})}})]}),(0,r.jsx)(i.BJ.Item,{mx:1,children:(0,r.jsx)(i.Q7,{disabled:j,minValue:0,value:f,maxValue:1/0,step:1,onChange:function(e){return t("set",{set_power:e})}})}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"forward",disabled:j,tooltip:"Increase by one MW",tooltipPosition:"bottom",onClick:function(){return t("set",{set_power:f+1e6})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",disabled:j,tooltip:"Increase by 10MW",tooltipPosition:"bottom",onClick:function(){return t("set",{set_power:f+1e7})}})]})]})}),(0,r.jsx)(i.Ki.Item,{label:"Total Power Use",children:(0,o.d5)(x)}),(0,r.jsx)(i.Ki.Item,{label:"Mining Power Use",children:(0,o.d5)(h)}),(0,r.jsx)(i.Ki.Item,{label:"Stabilizer Power Use",children:(0,o.d5)(w)}),(0,r.jsx)(i.Ki.Item,{label:"Surplus Power",children:(0,o.d5)(g)})]})]})}),(0,r.jsxs)(i.wn,{fill:!0,title:"Output",children:[b?(0,r.jsx)(i.Rr,{backgroundColor:"rgba(63, 39, 18, 0.85)",children:(0,r.jsx)(i.BJ,{mb:"30px",fontsize:"256px",children:(0,r.jsxs)(i.BJ.Item,{bold:!0,color:"brown",fontsize:"256px",textAlign:"center",children:["Blockage Detected",(0,r.jsx)("br",{}),"Cleanup Required"]})})}):"",(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Available Points",children:m}),(0,r.jsx)(i.Ki.Item,{label:"Total Points",children:p})]})})}),(0,r.jsx)(i.BJ.Item,{align:"end",children:(0,r.jsx)(i.az,{children:(0,r.jsx)(i.Ki,{children:d.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e.name,children:(0,r.jsx)(i.$n,{disabled:e.price>=m,onClick:function(){return t("vend",{target:e.key})},content:e.price})},e.key)})})})})]})]})]})})})},u=function(e){var n=(0,l.Oc)(),t=(n.act,n.data);t.product;var o=t.miningPower,a=t.stabilizerPower,c=t.emagged,s=(t.safeLevels,t.autoShutown),u=t.stabilizers;return t.overhead,(0,r.jsxs)(r.Fragment,{children:[!s&&!c&&(0,r.jsx)(i.IC,{danger:1,children:"Auto shutdown disabled"}),c?(0,r.jsx)(i.IC,{danger:1,children:"All safeties disabled"}):o<=15e6?"":u?o>a+15e6?(0,r.jsx)(i.IC,{danger:1,children:"Stabilizers overwhelmed, Instability likely"}):(0,r.jsx)(i.IC,{children:"High Power, engaging stabilizers"}):(0,r.jsx)(i.IC,{danger:1,children:"Stabilizers disabled, Instability likely"})]})}},6807:function(e,n,t){"use strict";t.r(n),t.d(n,{BodyScanner:()=>p});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=[["good","Alive"],["average","Critical"],["bad","DEAD"]],s=[["hasVirus","bad","Viral pathogen detected in blood stream."],["blind","average","Cataracts detected."],["colourblind","average","Photoreceptor abnormalities detected."],["nearsighted","average","Retinal misalignment detected."],["paraplegic","bad","Lumbar nerves damaged."]],u=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Cellular","cloneLoss"],["Burn","fireLoss"],["Inebriation","drunkenness"]],d={average:[.25,.5],bad:[.5,1/0]},f=function(e,n){for(var t=[],r=0;r0?e.filter(function(e){return!!e}).reduce(function(e,n){return(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)(i.az,{children:n},n)]})},null):null},m=function(e){if(e>100){if(e<300)return"mild infection";if(e<400)return"mild infection+";if(e<500)return"mild infection++";if(e<700)return"acute infection";if(e<800)return"acute infection+";if(e<900)return"acute infection++";if(e>=900)return"septic"}return""},p=function(e){var n=(0,l.Oc)().data,t=n.occupied,i=n.occupant,o=t?(0,r.jsx)(x,{occupant:void 0===i?{}:i}):(0,r.jsx)(k,{});return(0,r.jsx)(a.p8,{width:700,height:600,title:"Body Scanner",children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:o})})},x=function(e){var n=e.occupant;return(0,r.jsxs)(i.az,{children:[(0,r.jsx)(g,{occupant:n}),(0,r.jsx)(j,{occupant:n}),(0,r.jsx)(b,{occupant:n}),(0,r.jsx)(v,{organs:n.extOrgan}),(0,r.jsx)(w,{organs:n.intOrgan})]})},g=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data.occupant;return(0,r.jsx)(i.wn,{title:"Occupant",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:"print",onClick:function(){return t("print_p")},children:"Print Report"}),(0,r.jsx)(i.$n,{icon:"user-slash",onClick:function(){return t("ejectify")},children:"Eject"})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:o.name}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{min:"0",max:o.maxHealth,value:o.health/o.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:c[o.stat][0],children:c[o.stat][1]}),(0,r.jsxs)(i.Ki.Item,{label:"Temperature",children:[(0,r.jsx)(i.zv,{value:Math.round(o.bodyTempC)}),"\xb0C,\xa0",(0,r.jsx)(i.zv,{value:Math.round(o.bodyTempF)}),"\xb0F"]}),(0,r.jsx)(i.Ki.Item,{label:"Implants",children:o.implant_len?(0,r.jsx)(i.az,{children:o.implant.map(function(e){return e.name}).join(", ")}):(0,r.jsx)(i.az,{color:"label",children:"None"})})]})})},j=function(e){var n=e.occupant;return n.hasBorer||n.blind||n.colourblind||n.nearsighted||n.hasVirus||n.paraplegic?(0,r.jsx)(i.wn,{title:"Abnormalities",children:s.map(function(e,t){if(n[e[0]])return(0,r.jsx)(i.az,{color:e[1],bold:"bad"===e[1],children:e[2]},e[2])})}):(0,r.jsx)(i.wn,{title:"Abnormalities",children:(0,r.jsx)(i.az,{color:"label",children:"No abnormalities found."})})},b=function(e){var n=e.occupant;return(0,r.jsx)(i.wn,{title:"Damage",children:(0,r.jsx)(i.XI,{children:f(u,function(e,t,o){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.XI.Row,{color:"label",children:[(0,r.jsxs)(i.XI.Cell,{children:[e[0],":"]}),(0,r.jsx)(i.XI.Cell,{children:!!t&&t[0]+":"})]}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(y,{value:n[e[1]],marginBottom:o100)&&"average"||!!e.status.robotic&&"label",width:"33%",children:(0,o.ZH)(e.name)}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:(0,r.jsx)(i.z2,{m:-.5,min:"0",max:e.maxHealth,mt:n>0&&"0.5rem",value:e.totalLoss/e.maxHealth,ranges:d,children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.m_,{content:"Total damage",children:(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.In,{name:"heartbeat",mr:.5}),Math.round(e.totalLoss)]})}),!!e.bruteLoss&&(0,r.jsx)(i.m_,{content:"Brute damage",children:(0,r.jsxs)(i.BJ.Item,{grow:!0,children:[(0,r.jsx)(i.In,{name:"bone",mr:.5}),Math.round(e.bruteLoss)]})}),!!e.fireLoss&&(0,r.jsx)(i.m_,{content:"Burn damage",children:(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.In,{name:"fire",mr:.5}),Math.round(e.fireLoss)]})})]})})}),(0,r.jsxs)(i.XI.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:n>0&&"calc(0.5rem + 2px)",children:[(0,r.jsx)(i.az,{color:"average",inline:!0,children:h([!!e.internalBleeding&&"Internal bleeding",!!e.burnWound&&"Critical tissue burns",!!e.lungRuptured&&"Ruptured lung",!!e.status.broken&&e.status.broken,m(e.germ_level),!!e.open&&"Open incision"])}),(0,r.jsxs)(i.az,{inline:!0,children:[h([!!e.status.splinted&&(0,r.jsx)(i.az,{color:"good",children:"Splinted"}),!!e.status.robotic&&(0,r.jsx)(i.az,{color:"label",children:"Robotic"}),!!e.status.dead&&(0,r.jsx)(i.az,{color:"bad",bold:!0,children:"DEAD"})]),h(e.shrapnel.map(function(e){return e.known?e.name:"Unknown object"}))]})]})]},n)})]})})},w=function(e){return 0===e.organs.length?(0,r.jsx)(i.wn,{title:"Internal Organs",children:(0,r.jsx)(i.az,{color:"label",children:"N/A"})}):(0,r.jsx)(i.wn,{title:"Internal Organs",children:(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Name"}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:"Damage"}),(0,r.jsx)(i.XI.Cell,{textAlign:"right",children:"Injuries"})]}),e.organs.map(function(e,n){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{color:!!e.dead&&"bad"||e.germ_level>100&&"average"||e.robotic>0&&"label",width:"33%",children:(0,o.ZH)(e.name)}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:(0,r.jsx)(i.z2,{min:"0",max:e.maxHealth,value:e.damage/e.maxHealth,mt:n>0&&"0.5rem",ranges:d,children:Math.round(e.damage)})}),(0,r.jsxs)(i.XI.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:n>0&&"calc(0.5rem + 2px)",children:[(0,r.jsx)(i.az,{color:"average",inline:!0,children:h([m(e.germ_level)])}),(0,r.jsx)(i.az,{inline:!0,children:h([1===e.robotic&&(0,r.jsx)(i.az,{color:"label",children:"Robotic"}),2===e.robotic&&(0,r.jsx)(i.az,{color:"label",children:"Assisted"}),!!e.dead&&(0,r.jsx)(i.az,{color:"bad",bold:!0,children:"DEAD"})])})]})]},n)})]})})},k=function(){return(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,textAlign:"center",children:(0,r.jsxs)(i.BJ.Item,{grow:!0,align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,r.jsx)("br",{}),"No occupant detected."]})})})}},2790:function(e,n,t){"use strict";t.r(n),t.d(n,{BookBinder:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4744),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.selectedbook,u=c.book_categories,d=[];return u.map(function(e){return d[e.description]=e.category_id}),(0,r.jsxs)(l.p8,{width:600,height:400,children:[(0,r.jsx)(a.ComplexModal,{}),(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsxs)(i.wn,{fill:!0,title:"Book Binder",buttons:(0,r.jsx)(i.$n,{icon:"print",width:"auto",content:"Print Book",onClick:function(){return t("print_book")}}),children:[(0,r.jsxs)(i.az,{ml:10,fontSize:"1.2rem",bold:!0,children:[(0,r.jsx)(i.In,{name:"search-plus",verticalAlign:"middle",size:3,mr:"1rem"}),"Book Binder"]}),(0,r.jsx)(i.BJ,{children:(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Title",children:(0,r.jsx)(i.$n,{textAlign:"left",icon:"pen",width:"auto",content:s.title,onClick:function(){return(0,a.modalOpen)("edit_selected_title")}})}),(0,r.jsx)(i.Ki.Item,{label:"Author",children:(0,r.jsx)(i.$n,{textAlign:"left",icon:"pen",width:"auto",content:s.author,onClick:function(){return(0,a.modalOpen)("edit_selected_author")}})}),(0,r.jsx)(i.Ki.Item,{label:"Select Categories",children:(0,r.jsx)(i.az,{children:(0,r.jsx)(i.ms,{width:"190px",options:u.map(function(e){return e.description}),onSelected:function(e){return t("toggle_binder_category",{category_id:d[e]})}})})}),(0,r.jsx)(i.Ki.Item,{label:"Summary",children:(0,r.jsx)(i.$n,{icon:"pen",width:"auto",content:"Edit Summary",onClick:function(){return(0,a.modalOpen)("edit_selected_summary")}})}),(0,r.jsx)(i.Ki.Item,{children:s.summary})]}),(0,r.jsx)("br",{}),u.filter(function(e){return s.categories.includes(e.category_id)}).map(function(e){return(0,r.jsx)(i.$n,{content:e.description,selected:!0,icon:"unlink",onClick:function(){return t("toggle_binder_category",{category_id:e.category_id})}},e.category_id)})]})})]})})})]})}},1326:function(e,n,t){"use strict";t.r(n),t.d(n,{BotCall:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(9226),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data;c.locked;var s=c.noaccess,u=(c.maintpanel,c.on,c.autopatrol,c.canhack,c.emagged,c.remote_disabled,c.painame),d=c.cleanblood,f=c.area;return(0,r.jsx)(l.p8,{width:500,height:400,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(a.BotStatus,{}),(0,r.jsx)(i.wn,{title:"Cleaning Settings",children:(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:d,content:"Clean Blood",disabled:s,onClick:function(){return t("blood")}})}),(0,r.jsxs)(i.wn,{title:"Misc Settings",children:[(0,r.jsx)(i.$n,{fluid:!0,content:f?"Reset Area Selection":"Restrict to Current Area",onClick:function(){return t("area")}}),null!==f&&(0,r.jsx)(i.az,{mb:1,children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Locked Area",children:f})})})]}),u&&(0,r.jsx)(i.wn,{title:"pAI",children:(0,r.jsx)(i.$n,{fluid:!0,icon:"eject",content:u,disabled:s,onClick:function(){return t("ejectpai")}})})]})})}},3578:function(e,n,t){"use strict";t.r(n),t.d(n,{BotFloor:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(9226),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.noaccess,u=c.painame,d=c.hullplating,f=c.replace,h=c.eat,m=c.make,p=c.fixfloor,x=c.nag_empty,g=c.magnet,j=c.tiles_amount;return(0,r.jsx)(l.p8,{width:500,height:510,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(a.BotStatus,{}),(0,r.jsxs)(i.wn,{title:"Floor Settings",children:[(0,r.jsx)(i.az,{mb:"5px",children:(0,r.jsx)(i.Ki.Item,{label:"Tiles Left",children:j})}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:d,content:"Add tiles to new hull plating",tooltip:"Fixing a plating requires the removal of floor tile. This will place it back after repairing. Same goes for hull breaches",disabled:s,onClick:function(){return t("autotile")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:f,content:"Add floor tiles on exposed hull plating",tooltip:"Example: It will add tiles to maintenance",disabled:s,onClick:function(){return t("replacetiles")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:p,content:"Repair damaged tiles and platings",disabled:s,onClick:function(){return t("fixfloors")}})]}),(0,r.jsxs)(i.wn,{title:"Miscellaneous",children:[(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:h,content:"Finds tiles",disabled:s,onClick:function(){return t("eattiles")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:m,content:"Make pieces of metal into tiles when empty",disabled:s,onClick:function(){return t("maketiles")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:x,content:"Transmit notice when empty",disabled:s,onClick:function(){return t("nagonempty")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:g,content:"Traction Magnets",disabled:s,onClick:function(){return t("anchored")}})]}),u&&(0,r.jsx)(i.wn,{title:"pAI",children:(0,r.jsx)(i.$n.Checkbox,{fluid:!0,icon:"eject",content:u,disabled:s,onClick:function(){return t("ejectpai")}})})]})})}},5144:function(e,n,t){"use strict";t.r(n),t.d(n,{BotHonk:()=>a});var r=t(8138),i=t(2864),o=t(3384),l=t(9226),a=function(e){var n=(0,i.Oc)();return n.act,n.data,(0,r.jsx)(o.p8,{width:500,height:220,children:(0,r.jsx)(o.p8.Content,{scrollable:!0,children:(0,r.jsx)(l.BotStatus,{})})})}},2078:function(e,n,t){"use strict";t.r(n),t.d(n,{BotMed:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(9226),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data;c.locked;var s=c.noaccess,u=(c.maintpanel,c.on,c.autopatrol,c.canhack,c.emagged,c.remote_disabled,c.painame),d=c.shut_up,f=c.declare_crit,h=c.stationary_mode,m=c.heal_threshold,p=c.injection_amount,x=c.use_beaker,g=c.treat_virus,j=c.reagent_glass;return(0,r.jsx)(l.p8,{width:500,height:500,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(a.BotStatus,{}),(0,r.jsxs)(i.wn,{title:"Communication Settings",children:[(0,r.jsx)(i.$n.Checkbox,{fluid:!0,content:"Speaker",checked:!d,disabled:s,onClick:function(){return t("toggle_speaker")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,content:"Critical Patient Alerts",checked:f,disabled:s,onClick:function(){return t("toggle_critical_alerts")}})]}),(0,r.jsxs)(i.wn,{fill:!0,title:"Treatment Settings",children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Healing Threshold",children:(0,r.jsx)(i.Ap,{value:m.value,minValue:m.min,maxValue:m.max,step:5,disabled:s,onChange:function(e,n){return t("set_heal_threshold",{target:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Injection Level",children:(0,r.jsx)(i.Ap,{value:p.value,minValue:p.min,maxValue:p.max,step:5,format:function(e){return"".concat(e,"u")},disabled:s,onChange:function(e,n){return t("set_injection_amount",{target:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Reagent Source",children:(0,r.jsx)(i.$n,{content:x?"Beaker":"Internal Synthesizer",icon:x?"flask":"cogs",disabled:s,onClick:function(){return t("toggle_use_beaker")}})}),j&&(0,r.jsx)(i.Ki.Item,{label:"Beaker",children:(0,r.jsxs)(i.BJ,{inline:!0,width:"100%",children:[(0,r.jsx)(i.BJ.Item,{grow:1,children:(0,r.jsxs)(i.z2,{value:j.amount,minValue:0,maxValue:j.max_amount,children:[j.amount," / ",j.max_amount]})}),(0,r.jsx)(i.BJ.Item,{ml:1,children:(0,r.jsx)(i.$n,{content:"Eject",disabled:s,onClick:function(){return t("eject_reagent_glass")}})})]})})]}),(0,r.jsx)(i.$n.Checkbox,{mt:1,fluid:!0,content:"Treat Viral Infections",checked:g,disabled:s,onClick:function(){return t("toggle_treat_viral")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,content:"Stationary Mode",checked:h,disabled:s,onClick:function(){return t("toggle_stationary_mode")}})]}),u&&(0,r.jsx)(i.wn,{title:"pAI",children:(0,r.jsx)(i.$n,{fluid:!0,icon:"eject",content:u,disabled:s,onClick:function(){return t("ejectpai")}})})]})})})}},881:function(e,n,t){"use strict";t.r(n),t.d(n,{BotMule:()=>s});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(9226);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(9226),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.noaccess,u=c.painame,d=c.check_id,f=c.check_weapons,h=c.check_warrant,m=c.arrest_mode,p=c.arrest_declare;return(0,r.jsx)(l.p8,{width:500,height:445,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(a.BotStatus,{}),(0,r.jsxs)(i.wn,{title:"Who To Arrest",children:[(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:d,content:"Unidentifiable Persons",disabled:s,onClick:function(){return t("authid")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:f,content:"Unauthorized Weapons",disabled:s,onClick:function(){return t("authweapon")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:h,content:"Wanted Criminals",disabled:s,onClick:function(){return t("authwarrant")}})]}),(0,r.jsxs)(i.wn,{title:"Arrest Procedure",children:[(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:m,content:"Detain Targets Indefinitely",disabled:s,onClick:function(){return t("arrtype")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:p,content:"Announce Arrests On Radio",disabled:s,onClick:function(){return t("arrdeclare")}})]}),u&&(0,r.jsx)(i.wn,{title:"pAI",children:(0,r.jsx)(i.$n,{fluid:!0,icon:"eject",content:u,disabled:s,onClick:function(){return t("ejectpai")}})})]})})}},2850:function(e,n,t){"use strict";t.r(n),t.d(n,{BrigCells:()=>s});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=e.cell,t=(0,o.Oc)().act,l=n.cell_id,a=n.occupant,c=n.crimes,s=n.brigged_by,u=n.time_left_seconds,d=n.time_set_seconds,f=n.ref,h="";return u>0&&(h+=" BrigCells__listRow--active"),(0,r.jsxs)(i.XI.Row,{className:h,children:[(0,r.jsx)(i.XI.Cell,{children:l}),(0,r.jsx)(i.XI.Cell,{children:a}),(0,r.jsx)(i.XI.Cell,{children:c}),(0,r.jsx)(i.XI.Cell,{children:s}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.qT,{totalSeconds:d})}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.qT,{totalSeconds:u})}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{type:"button",onClick:function(){t("release",{ref:f})},children:"Release"})})]})},c=function(e){var n=e.cells;return(0,r.jsxs)(i.XI,{className:"BrigCells__list",children:[(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{header:!0,children:"Cell"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Occupant"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Crimes"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Brigged By"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Time Brigged For"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Time Left"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Release"})]}),n.map(function(e){return(0,r.jsx)(a,{cell:e},e.ref)})]})},s=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).cells;return(0,r.jsx)(l.p8,{theme:"security",width:800,height:400,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(c,{cells:t})})})})})}},9478:function(e,n,t){"use strict";t.r(n),t.d(n,{BrigTimer:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;a.nameText=a.occupant,a.timing&&(a.prisoner_hasrec?a.nameText=(0,r.jsx)(i.az,{color:"green",children:a.occupant}):a.nameText=(0,r.jsx)(i.az,{color:"red",children:a.occupant}));var c="pencil-alt";a.prisoner_name&&!a.prisoner_hasrec&&(c="exclamation-triangle");var s=[],u=0;for(u=0;ud});var r=t(8138),i=t(4530),o=t(2864),l=t(3384),a=t(7790);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tp,CameraConsoleContent:()=>x});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(5490),c=t(3268),s=t(2864),u=t(3384);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);te?this.substring(0,e)+"...":this};var h=function(e,n){if(!n)return[];var t,r,i=e.findIndex(function(e){return e.name===n.name});return[null==(t=e[i-1])?void 0:t.name,null==(r=e[i+1])?void 0:r.name]},m=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=(0,i.pb)(e,function(e){return!!e.name});if(n){var r=(0,c.XZ)(n,function(e){return e.name});t=(0,i.pb)(t,r)}return(0,i.Ul)(t,function(e){return e.name})},p=function(e){var n=(0,s.Oc)(),t=n.act,i=n.data,o=i.mapRef,c=i.activeCamera,d=f(h(m(i.cameras),c),2),p=d[0],g=d[1];return(0,r.jsxs)(u.p8,{width:870,height:708,children:[(0,r.jsx)("div",{className:"CameraConsole__left",children:(0,r.jsx)(u.p8.Content,{children:(0,r.jsx)(l.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(x,{})})})}),(0,r.jsxs)("div",{className:"CameraConsole__right",children:[(0,r.jsxs)("div",{className:"CameraConsole__toolbar",children:[(0,r.jsx)("b",{children:"Camera: "}),c&&c.name||"—"]}),(0,r.jsxs)("div",{className:(0,a.Ly)(["CameraConsole__toolbar","CameraConsole__toolbar--right"]),children:[(0,r.jsx)(l.$n,{icon:"chevron-left",disabled:!p,onClick:function(){return t("switch_camera",{name:p})}}),(0,r.jsx)(l.$n,{icon:"chevron-right",disabled:!g,onClick:function(){return t("switch_camera",{name:g})}})]}),(0,r.jsx)(l.D1,{className:"CameraConsole__map",params:{id:o,type:"map"}})]})]})},x=function(e){var n=(0,s.Oc)(),t=n.act,i=n.data,c=f((0,o.useState)(""),2),u=c[0],d=c[1],h=i.activeCamera,p=m(i.cameras,u);return(0,r.jsxs)(l.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(l.BJ.Item,{children:(0,r.jsx)(l.pd,{fluid:!0,placeholder:"Search for a camera",onChange:function(e){return d(e)}})}),(0,r.jsx)(l.BJ.Item,{grow:!0,m:0,children:(0,r.jsx)(l.wn,{fill:!0,scrollable:!0,children:p.map(function(e){return(0,r.jsx)("div",{title:e.name,className:(0,a.Ly)(["Button","Button--fluid",h&&e.name===h.name?"Button--selected":"Button--color--transparent"]),onClick:function(){return t("switch_camera",{name:e.name})},children:e.name.trimLongStr(23)},e.name)})})})]})}},2094:function(e,n,t){"use strict";t.r(n),t.d(n,{Canister:()=>s});var r=t(8138),i=t(7790),o=t(9582),l=t(6859),a=t(2864),c=t(3384),s=function(e){var n=(0,a.Oc)(),t=n.act,s=n.data,u=s.portConnected,d=s.tankPressure,f=s.releasePressure,h=s.defaultReleasePressure,m=s.minReleasePressure,p=s.maxReleasePressure,x=s.valveOpen,g=s.name,j=s.canLabel,b=s.colorContainer,y=s.color_index,v=s.hasHoldingTank,w=s.holdingTank,k="";y.prim&&(k=b.prim.options[y.prim].name);var _="";y.sec&&(_=b.sec.options[y.sec].name);var C="";y.ter&&(C=b.ter.options[y.ter].name);var I="";y.quart&&(I=b.quart.options[y.quart].name);var S=[],O=[],A=[],P=[],E=0;for(E=0;El});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)().act,t=e.scanned_card,l=e.modifying_card;return(0,r.jsx)(i.wn,{title:"Authentication",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Login/Logout",children:t?(0,r.jsx)(i.$n,{icon:"sign-out-alt",selected:!0,onClick:function(){return n("interact_scanned")},children:"Log Out: ".concat(t.name)}):(0,r.jsx)(i.$n,{icon:"id-card",onClick:function(){return n("interact_scanned")},children:"-----"})}),(0,r.jsx)(i.Ki.Item,{label:"Card To Modify",children:l?(0,r.jsx)(i.$n,{icon:"eject",selected:!0,onClick:function(){return n("interact_modify")},children:"Remove Card: ".concat(l.name)}):(0,r.jsx)(i.$n,{icon:"id-card",onClick:function(){return n("interact_modify")},children:"-----"})})]})})}},7542:function(e,n,t){"use strict";t.r(n),t.d(n,{CardInformation:()=>l,CardSkins:()=>a,DropdownCardSkins:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)().act,t=e.card;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Registered Name",children:(0,r.jsx)(i.$n,{icon:t&&"Unknown"!==t.registered_name?"pencil-alt":"exclamation-triangle",selected:!!t,onClick:function(){return n("reg")},children:null==t?void 0:t.registered_name})}),(0,r.jsx)(i.Ki.Item,{label:"Account Number",children:(0,r.jsx)(i.$n,{icon:(null==t?void 0:t.associated_account_number)?"pencil-alt":"exclamation-triangle",selected:!!(null==t?void 0:t.associated_account_number),onClick:function(){return n("set_card_account_number")},children:(null==t?void 0:t.associated_account_number)?null==t?void 0:t.associated_account_number:"None"})})]})},a=function(e){var n=(0,o.Oc)().act,t=e.card_skins,l=e.card,a=e.is_centcom,c=e.all_centcom_skins;return(0,r.jsxs)(i.wn,{title:"Card Skins",children:[t.map(function(e){return(0,r.jsx)(i.c_,{selected:(null==l?void 0:l.current_skin)===e.skin,tooltip:e.display_name,dmIcon:e.icon,dmIconState:e.skin,onClick:function(){return n("set_card_skin",{skin_target:e.skin})}},e.skin)}),!!a&&(0,r.jsx)(i.az,{children:Array.isArray(c)&&c.map(function(e){return(0,r.jsx)(i.c_,{selected:(null==l?void 0:l.current_skin)===e.skin,tooltip:e.display_name,dmIcon:e.icon,dmIconState:e.skin,color:"purple",onClick:function(){return n("set_card_skin",{skin_target:e.skin})}},e.skin)})})]})},c=function(e){var n=(0,o.Oc)().act,t=e.card_skins,l=e.card,a=e.is_centcom,c=e.all_centcom_skins,s=t.map(function(e){return{displayText:e.display_name,value:e.skin}}).sort(function(e,n){return e.displayText.localeCompare(n.displayText)}),u=Array.isArray(c)?c.map(function(e){return{displayText:e.display_name,value:e.skin}}).sort(function(e,n){return e.displayText.localeCompare(n.displayText)}):[],d=s.filter(function(e){return e.value===(null==l?void 0:l.current_skin)}).length>0;return(0,r.jsxs)(i.wn,{title:"Card Skins",children:[(0,r.jsx)(i.Ki.Item,{label:"Department Skins",children:(0,r.jsx)(i.ms,{options:s,selected:d?null==l?void 0:l.current_skin_name:null,onSelected:function(e){return n("set_card_skin",{skin_target:e})}})}),!!a&&(0,r.jsx)(i.Ki.Item,{label:"Centcom Skins",children:(0,r.jsx)(i.ms,{options:u,selected:d?null:null==l?void 0:l.current_skin_name,onSelected:function(e){return n("set_card_skin",{skin_target:e})}})})]})}},991:function(e,n,t){"use strict";t.r(n),t.d(n,{CardComputer:()=>x,SlashedIcon:()=>f});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(2723),c=t(1487),s=t(4287),u=t(6530),d=t(9490),f=function(e){var n=e.title,t=e.name,o=e.text;return(0,r.jsx)(i.wn,{fill:!0,title:n,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,r.jsxs)(i.In.Stack,{children:[(0,r.jsx)(i.In,{name:t,size:5,color:"gray"}),(0,r.jsx)(i.In,{name:"slash",size:5,color:"red"})]}),(0,r.jsx)("br",{}),o]})})})},h=function(){return(0,r.jsx)(f,{title:"Warning",name:"user",text:"Not logged in"})},m=function(){return(0,r.jsx)(f,{title:"Records",name:"scroll",text:"No records"})},p=function(){return(0,r.jsx)(f,{title:"Card Missing",name:"id-card",text:"No card to modify"})},x=function(){var e,n=(0,o.Oc)(),t=n.act,f=n.data,x=f.all_centcom_skins,g=f.auth_or_ghost,j=f.authenticated,b=f.can_terminate,y=f.card_skins,v=f.cooldown_time,w=f.is_centcom,k=f.job_slots,_=f.job_formats,C=f.jobs_dept,I=f.jobs,S=f.mode,O=f.modifying_card,A=f.people_dept,P=f.priority_jobs,E=f.records,B=f.regions,z=f.scanned_card,T=f.selectedAccess,N=f.target_dept,R=(0,r.jsxs)(i.tU,{children:[(0,r.jsx)(i.tU.Tab,{icon:"id-card",selected:0===S,onClick:function(){return t("mode",{mode:0})},children:"Job Transfers"}),!N&&(0,r.jsx)(i.tU.Tab,{icon:"id-card",selected:2===S,onClick:function(){return t("mode",{mode:2})},children:"Access Modification"}),(0,r.jsx)(i.tU.Tab,{icon:"folder-open",selected:1===S,onClick:function(){return t("mode",{mode:1})},children:"Job Management"}),(0,r.jsx)(i.tU.Tab,{icon:"scroll",selected:3===S,onClick:function(){return t("mode",{mode:3})},children:"Records"}),(0,r.jsx)(i.tU.Tab,{icon:"users",selected:4===S,onClick:function(){return t("mode",{mode:4})},children:"Department"})]});switch(S){case 0:e=j&&z?O?(0,r.jsx)(u.CardComputerJobTransfer,{target_dept:N,card:O,can_terminate:b,is_centcom:w,jobs:I,job_colors:_,jobs_dept:C,card_skins:y,all_centcom_skins:x}):(0,r.jsx)(p,{}):(0,r.jsx)(h,{});break;case 1:e=g?(0,r.jsx)(s.CardComputerJobPriority,{cooldown_time:v,target_dept:N,priority_jobs:P,job_slots:k}):(0,r.jsx)(h,{});break;case 2:e=j&&z?O?(0,r.jsx)(a.AccessList,{accesses:B,selectedList:T,accessMod:function(e){return t("set",{access:e})},grantAll:function(){return t("grant_all")},denyAll:function(){return t("clear_all")},grantDep:function(e){return t("grant_region",{region:e})},denyDep:function(e){return t("deny_region",{region:e})}}):(0,r.jsx)(p,{}):(0,r.jsx)(h,{});break;case 3:e=j?E.length?(0,r.jsx)(d.CardComputerRecordsLog,{authenticated:j,records:E,target_dept:N,is_centcom:w}):(0,r.jsx)(m,{}):(0,r.jsx)(h,{});break;case 4:e=j&&z?(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Your Team",children:(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{height:2,children:[(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Name"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Rank"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Sec Status"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Actions"})]}),A.map(function(e){return(0,r.jsxs)(i.XI.Row,{height:2,children:[(0,r.jsx)(i.XI.Cell,{children:e.name}),(0,r.jsx)(i.XI.Cell,{children:e.title}),(0,r.jsx)(i.XI.Cell,{children:e.crimstat}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{disabled:!e.demotable,onClick:function(){return t("remote_demote",{remote_demote:e.name})},children:e.buttontext})})]},e.title)})]})}):(0,r.jsx)(h,{});break;default:e=(0,r.jsx)(i.wn,{title:"Warning",color:"red",children:"ERROR: Unknown Mode."})}return(0,r.jsx)(l.p8,{width:760,height:800,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(c.AuthBlock,{scanned_card:z,modifying_card:O})}),(0,r.jsx)(i.BJ.Item,{children:R}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:e})]})})})}},4287:function(e,n,t){"use strict";t.r(n),t.d(n,{CardComputerJobPriority:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)().act,t=e.cooldown_time,l=e.job_slots,a=e.target_dept,c=e.priority_jobs;return(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsxs)(i.wn,{color:t?"red":"",children:["Next Change Available:",t||"Now"]}),(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Job Slots",children:(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{height:2,children:[(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Title"}),(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Used Slots"}),(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Total Slots"}),(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Free Slots"}),(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Close Slot"}),(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Open Slot"}),(0,r.jsx)(i.XI.Cell,{bold:!0,textAlign:"center",children:"Priority"})]}),l&&l.map(function(e){return(0,r.jsxs)(i.XI.Row,{height:2,className:"candystripe",children:[(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:(0,r.jsx)(i.az,{color:e.is_priority?"green":"",children:e.title})}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:e.current_positions}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:e.total_positions}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:e.total_positions>e.current_positions&&(0,r.jsx)(i.az,{color:"green",children:e.total_positions-e.current_positions})||(0,r.jsx)(i.az,{color:"red",children:"0"})}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:(0,r.jsx)(i.$n,{disabled:!!t||!e.can_close,onClick:function(){return n("make_job_unavailable",{job:e.title})},children:"-"})}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:(0,r.jsx)(i.$n,{disabled:!!t||!e.can_open,onClick:function(){return n("make_job_available",{job:e.title})},children:"+"})}),(0,r.jsx)(i.XI.Cell,{textAlign:"center",children:a&&(0,r.jsx)(i.az,{color:"green",children:c.indexOf(e.title)>-1?"Yes":""})||(0,r.jsx)(i.$n,{selected:e.is_priority,disabled:!!t||!e.can_prioritize,onClick:function(){return n("prioritize_job",{job:e.title})},children:e.is_priority?"Yes":"No"})})]},e.title)})]})})]})}},6530:function(e,n,t){"use strict";t.r(n),t.d(n,{CardComputerJobTransfer:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(421),a=t(7542),c=l.lm.department,s=function(e){var n=(0,o.Oc)().act,t=e.job_colors,l=e.dept_name,a=e.job_names,c=e.dept_color,s=e.default_job_color,u=void 0===s?"":s,d=e.card;return(0,r.jsx)(i.Ki.Item,{label:l,labelColor:c,children:a.map(function(e){return(0,r.jsx)(i.$n,{selected:(null==d?void 0:d.rank)===e,color:t[e]?t[e]:u,onClick:function(){return n("assign",{assign_target:e})},children:e},e)})})},u=function(e){var n=(0,o.Oc)().act,t=e.card_skins,l=e.target_dept,u=e.card,d=e.can_terminate,f=e.is_centcom,h=e.jobs,m=e.jobs_dept,p=e.job_colors,x=e.all_centcom_skins,g=h&&[{name:"Special",jobs:h.top},{name:"Engineering",color:c.engineering,jobs:h.engineering},{name:"Medical",color:c.medical,jobs:h.medical},{name:"Science",color:c.science,jobs:h.science},{name:"Security",color:c.security,jobs:h.security},{name:"Service",color:c.service,jobs:h.service},{name:"Supply",color:c.supply,jobs:h.supply},{name:"Retirement",jobs:h.assistant}];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.wn,{title:"Card Information",children:[!l&&(0,r.jsx)(a.CardInformation,{card:u}),(0,r.jsx)(i.Ki.Item,{label:"Latest Transfer",children:(null==u?void 0:u.lastlog)||"---"})]}),(0,r.jsx)(i.wn,{title:l?"Department Job Transfer":"Job Transfer",children:(0,r.jsxs)(i.Ki,{children:[l?(0,r.jsx)(s,{dept_name:"Department",job_colors:p,job_names:void 0===m?[]:m,card:u}):(0,r.jsx)(r.Fragment,{children:g.map(function(e){return(0,r.jsx)(s,{dept_name:e.name,dept_color:e.color,job_names:e.jobs,job_colors:p,card:u})})}),!!f&&(0,r.jsx)(s,{dept_name:"Centcom",dept_color:c.centcom,job_colors:p,job_names:h.centcom,default_job_color:"purple",card:u}),(0,r.jsx)(i.Ki.Item,{label:"Demotion",children:(0,r.jsx)(i.$n,{disabled:(null==u?void 0:u.assignment)==="Demoted"||(null==u?void 0:u.assignment)==="Terminated",tooltip:"Assistant access, 'demoted' title.",color:"red",icon:"times",onClick:function(){return n("demote")},children:"Demoted"},"Demoted")}),!!d&&(0,r.jsx)(i.Ki.Item,{label:"Non-Crew",children:(0,r.jsx)(i.$n,{disabled:(null==u?void 0:u.assignment)==="Terminated",tooltip:"Zero access. Not crew.",color:"red",icon:"eraser",onClick:function(){return n("terminate")},children:"Terminated"},"Terminate")})]})}),!l&&(0,r.jsx)(a.CardSkins,{card:u,card_skins:t,is_centcom:f,all_centcom_skins:x})]})}},9490:function(e,n,t){"use strict";t.r(n),t.d(n,{CardComputerRecordsLog:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)().act,t=e.authenticated,l=e.records,a=e.target_dept,c=e.is_centcom;return(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Records",buttons:(0,r.jsx)(i.$n,{icon:"times",disabled:!t||0===l.length||a,onClick:function(){return n("wipe_all_logs")},children:"Delete All Records"}),children:[(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{height:2,children:[(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Crewman"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Old Rank"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"New Rank"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Authorized By"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Time"}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Reason"}),!!c&&(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Deleted By"})]}),l.map(function(e){return(0,r.jsxs)(i.XI.Row,{height:2,children:[(0,r.jsx)(i.XI.Cell,{children:e.transferee}),(0,r.jsx)(i.XI.Cell,{children:e.oldvalue}),(0,r.jsx)(i.XI.Cell,{children:e.newvalue}),(0,r.jsx)(i.XI.Cell,{children:e.whodidit}),(0,r.jsx)(i.XI.Cell,{children:e.timestamp}),(0,r.jsx)(i.XI.Cell,{children:e.reason}),!!c&&(0,r.jsx)(i.XI.Cell,{children:e.deletedby})]},e.timestamp)})]}),!!c&&(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{icon:"pencil-alt",color:"purple",disabled:!t||0===l.length,onClick:function(){return n("wipe_my_logs")},children:"Delete MY Records"})})]})}},1488:function(e,n,t){"use strict";t.r(n)},6466:function(e,n,t){"use strict";t.r(n),t.d(n,{CargoConsole:()=>f});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(3268),c=t(2864),s=t(3384);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tu,ChameleonAppearances:()=>f});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"",t=(0,l.XZ)(n,function(e){return e.name});return e.filter(t)},f=function(e){var n,t=(0,a.Oc)(),l=t.act,c=t.data,u=(n=(0,i.useState)(""),function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),2!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,2)||function(e,n){if(e){if("string"==typeof e)return s(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(e,2)}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),f=u[0],h=u[1],m=d(c.chameleon_skins,f),p=c.selected_appearance;return(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.pd,{fluid:!0,placeholder:"Search for an appearance",onChange:function(e){return h(e)}})}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:"Item Appearance",children:m.map(function(e){var n=e.name+"_"+e.icon_state;return(0,r.jsx)(o.c_,{dmIcon:e.icon,dmIconState:e.icon_state,imageSize:64,m:.5,selected:n===p,tooltip:e.name,style:{opacity:n===p&&"1"||"0.5"},onClick:function(){l("change_appearance",{new_appearance:n})}},n)})})})]})}},9072:function(e,n,t){"use strict";t.r(n),t.d(n,{ChangelogView:()=>s});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tf});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=t(1942),s=t(9472);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tu});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(3013),c=[1,5,10,20,30,50],s=[1,5,10],u=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).chemicals;return(0,r.jsx)(l.p8,{width:400,height:400+24*Math.ceil(t.length/3),children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(d,{}),(0,r.jsx)(f,{}),(0,r.jsx)(h,{})]})})})},d=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.amount,s=l.energy,u=l.maxEnergy;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Settings",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Energy",children:(0,r.jsxs)(i.z2,{value:s,minValue:0,maxValue:u,ranges:{good:[.5*u,1/0],average:[.25*u,.5*u],bad:[-1/0,.25*u]},children:[s," / ",u," Units"]})}),(0,r.jsx)(i.Ki.Item,{label:"Dispense",verticalAlign:"middle",children:(0,r.jsx)(i.BJ,{children:c.map(function(e,n){return(0,r.jsx)(i.BJ.Item,{grow:!0,width:"15%",children:(0,r.jsx)(i.$n,{fluid:!0,icon:"cog",selected:a===e,content:e,onClick:function(){return t("amount",{amount:e})}})},n)})})})]})})})},f=function(e){for(var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.chemicals,c=void 0===a?[]:a,s=[],u=0;u<(c.length+1)%3;u++)s.push(!0);return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:l.glass?"Drink Dispenser":"Chemical Dispenser",children:[c.map(function(e,n){return(0,r.jsx)(i.$n,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",content:e.title,style:{marginLeft:"2px",textOverflow:"ellipsis"},onClick:function(){return t("dispense",{reagent:e.id})}},n)}),s.map(function(e,n){return(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"25%"},n)})]})})},h=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,c=l.isBeakerLoaded,u=l.beakerCurrentVolume,d=l.beakerMaxVolume,f=l.beakerContents;return(0,r.jsx)(i.BJ.Item,{height:16,children:(0,r.jsx)(i.wn,{title:l.glass?"Glass":"Beaker",fill:!0,scrollable:!0,buttons:(0,r.jsxs)(i.az,{children:[!!c&&(0,r.jsxs)(i.az,{inline:!0,color:"label",mr:2,children:[u," / ",d," units"]}),(0,r.jsx)(i.$n,{icon:"eject",content:"Eject",disabled:!c,onClick:function(){return t("ejectBeaker")}})]}),children:(0,r.jsx)(a.BeakerContents,{beakerLoaded:c,beakerContents:void 0===f?[]:f,buttons:function(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){return t("remove",{reagent:e.id,amount:-1})}}),s.map(function(n,o){return(0,r.jsx)(i.$n,{content:n,onClick:function(){return t("remove",{reagent:e.id,amount:n})}},o)}),(0,r.jsx)(i.$n,{content:"ALL",onClick:function(){return t("remove",{reagent:e.id,amount:e.volume})}})]})}})})})}},6277:function(e,n,t){"use strict";t.r(n),t.d(n,{ChemHeater:()=>s});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=t(3013),s=function(e){return(0,r.jsx)(a.p8,{width:350,height:275,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(u,{}),(0,r.jsx)(d,{})]})})})},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=a.targetTemp,s=a.targetTempReached,u=a.autoEject,d=a.isActive,f=a.currentTemp,h=a.isBeakerLoaded;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{fill:!0,title:"Settings",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"Auto-eject",icon:u?"toggle-on":"toggle-off",selected:u,onClick:function(){return t("toggle_autoeject")}}),(0,r.jsx)(i.$n,{content:d?"On":"Off",icon:"power-off",selected:d,disabled:!h,onClick:function(){return t("toggle_on")}})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Target",children:(0,r.jsx)(i.Q7,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,o.LI)(c,0),minValue:0,maxValue:1e3,onChange:function(e){return t("adjust_temperature",{target:e})}})}),(0,r.jsx)(i.Ki.Item,{label:"Reading",color:s?"good":"average",children:h&&(0,r.jsx)(i.zv,{value:f,format:function(e){return(0,o.Mg)(e)+" K"}})||"—"})]})})})},d=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.isBeakerLoaded,s=o.beakerCurrentVolume,u=o.beakerMaxVolume,d=o.beakerContents;return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{title:"Beaker",fill:!0,scrollable:!0,buttons:!!a&&(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.az,{inline:!0,color:"label",mr:2,children:[s," / ",u," units"]}),(0,r.jsx)(i.$n,{icon:"eject",content:"Eject",onClick:function(){return t("eject_beaker")}})]}),children:(0,r.jsx)(c.BeakerContents,{beakerLoaded:a,beakerContents:d})})})}},9306:function(e,n,t){"use strict";t.r(n),t.d(n,{ChemMaster:()=>x});var r=t(8138),i=t(7790),o=t(5490),l=t(3375),a=t(2864),c=t(3384),s=t(3013),u=t(4744);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var p=[1,5,10],x=function(e){return(0,r.jsxs)(c.p8,{width:575,height:650,children:[(0,r.jsx)(u.ComplexModal,{}),(0,r.jsx)(c.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(g,{}),(0,r.jsx)(j,{}),(0,r.jsx)(b,{}),(0,r.jsx)(C,{})]})})]})},g=function(e){var n=(0,a.Oc)(),t=n.act,o=n.data,l=o.beaker,c=o.beaker_reagents,d=o.buffer_reagents.length>0;return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{title:"Beaker",fill:!0,scrollable:!0,buttons:d?(0,r.jsx)(i.$n.Confirm,{icon:"eject",disabled:!l,content:"Eject and Clear Buffer",onClick:function(){return t("eject")}}):(0,r.jsx)(i.$n,{icon:"eject",disabled:!l,content:"Eject and Clear Buffer",onClick:function(){return t("eject")}}),children:l?(0,r.jsx)(s.BeakerContents,{beakerLoaded:!0,beakerContents:c,buttons:function(e,n){return(0,r.jsxs)(i.az,{mb:n0?(0,r.jsx)(s.BeakerContents,{beakerLoaded:!0,beakerContents:c,buttons:function(e,n){return(0,r.jsxs)(i.az,{mb:n0&&(n=s.map(function(e){var n=e.id,i=e.sprite;return(0,r.jsx)(k,{icon:i,selected:c===n,onClick:function(){return t("set_sprite_style",{production_mode:l,style:n})}},n)})),(0,r.jsx)(w,{productionData:e.productionData,children:n&&(0,r.jsx)(i.Ki.Item,{label:"Style",children:n})})},C=function(e){var n=(0,a.Oc)(),t=n.act,o=n.data,l=o.loaded_pill_bottle_style,c=o.containerstyles,s=o.loaded_pill_bottle,u="20px",d="20px",f=c.map(function(e){var n=e.color,o=e.name,a=l===n;return(0,r.jsxs)(i.$n,{style:{position:"relative",width:u,height:d},onClick:function(){return t("set_container_style",{style:n})},icon:a?"check":"",tooltip:o,tooltipPosition:"top",children:[!a&&(0,r.jsx)("div",{style:{display:"inline-block"}}),(0,r.jsx)("span",{className:"Button",style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:u,height:d,backgroundColor:n,opacity:.6,filter:"alpha(opacity=60)"}})]},n)});return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{fill:!0,title:"Container Customization",buttons:(0,r.jsx)(i.$n,{icon:"eject",disabled:!s,content:"Eject Container",onClick:function(){return t("ejectp")}}),children:s?(0,r.jsx)(i.Ki,{children:(0,r.jsxs)(i.Ki.Item,{label:"Style",children:[(0,r.jsx)(i.$n,{style:{width:u,height:d},icon:"tint-slash",onClick:function(){return t("clear_container_style")},selected:!l,tooltip:"Default",tooltipPosition:"top"}),f]})}):(0,r.jsx)(i.az,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,u.modalRegisterBodyOverride)("analyze",function(e){var n=(0,a.Oc)(),t=n.act,o=n.data,l=e.args.analysis;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:o.condi?"Condiment Analysis":"Reagent Analysis",children:(0,r.jsx)(i.az,{mx:"0.5rem",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:l.name}),(0,r.jsx)(i.Ki.Item,{label:"Description",children:(l.desc||"").length>0?l.desc:"N/A"}),l.blood_type&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Blood type",children:l.blood_type}),(0,r.jsx)(i.Ki.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:l.blood_dna})]}),!o.condi&&(0,r.jsx)(i.$n,{icon:o.printing?"spinner":"print",disabled:o.printing,iconSpin:!!o.printing,ml:"0.5rem",content:"Print",onClick:function(){return t("print",{idx:l.idx,beaker:e.args.beaker})}})]})})})})})},2636:function(e,n,t){"use strict";t.r(n),t.d(n,{CloningConsole:()=>c});var r=t(8138),i=t(7790),o=t(8595),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,c=o.tab,u=o.has_scanner,d=o.pod_amount;return(0,r.jsx)(a.p8,{width:640,height:520,children:(0,r.jsxs)(a.p8.Content,{scrollable:!0,children:[(0,r.jsx)(i.wn,{title:"Cloning Console",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Connected scanner",children:u?"Online":"Missing"}),(0,r.jsx)(i.Ki.Item,{label:"Connected pods",children:d})]})}),(0,r.jsxs)(i.tU,{children:[(0,r.jsx)(i.tU.Tab,{selected:1===c,icon:"home",onClick:function(){return t("menu",{tab:1})},children:"Main Menu"}),(0,r.jsx)(i.tU.Tab,{selected:2===c,icon:"user",onClick:function(){return t("menu",{tab:2})},children:"Damage Configuration"})]}),(0,r.jsx)(i.wn,{children:(0,r.jsx)(s,{})})]})})},s=function(e){var n,t=(0,l.Oc)().data.tab;return 1===t?n=(0,r.jsx)(u,{}):2===t&&(n=(0,r.jsx)(d,{})),n},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=a.pods,s=a.pod_amount,u=a.selected_pod_UID;return(0,r.jsxs)(i.az,{children:[!s&&(0,r.jsx)(i.az,{color:"average",children:"Notice: No pods connected."}),!!s&&c.map(function(e,n){return(0,r.jsx)(i.wn,{layer:2,title:"Pod "+(n+1),children:(0,r.jsxs)(i.BJ,{textAlign:"center",children:[(0,r.jsxs)(i.BJ.Item,{basis:"96px",shrink:0,children:[(0,r.jsx)("img",{src:(0,o.l)("pod_"+(e.cloning?"cloning":"idle")+".gif"),style:{width:"100%",imageRendering:"pixelated"}}),(0,r.jsx)(i.$n,{selected:u===e.uid,onClick:function(){return t("select_pod",{uid:e.uid})},children:"Select"})]}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Progress",children:[!e.cloning&&(0,r.jsx)(i.az,{color:"average",children:"Pod is inactive."}),!!e.cloning&&(0,r.jsx)(i.z2,{value:e.clone_progress,maxValue:100,color:"good"})]}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsx)(i.Ki.Item,{label:"Biomass",children:(0,r.jsxs)(i.z2,{value:e.biomass,ranges:{good:[2*e.biomass_storage_capacity/3,e.biomass_storage_capacity],average:[e.biomass_storage_capacity/3,2*e.biomass_storage_capacity/3],bad:[0,e.biomass_storage_capacity/3]},minValue:0,maxValue:e.biomass_storage_capacity,children:[e.biomass,"/",e.biomass_storage_capacity+" ("+100*e.biomass/e.biomass_storage_capacity+"%)"]})}),(0,r.jsx)(i.Ki.Item,{label:"Sanguine Reagent",children:e.sanguine_reagent}),(0,r.jsx)(i.Ki.Item,{label:"Osseous Reagent",children:e.osseous_reagent})]})})]})},e)})]})},d=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.selected_pod_data,c=o.has_scanned,s=o.scanner_has_patient,u=o.feedback,d=o.scan_successful,m=o.cloning_cost,p=o.has_scanner,x=o.currently_scanning;return(0,r.jsxs)(i.az,{children:[!p&&(0,r.jsx)(i.az,{color:"average",children:"Notice: No scanner connected."}),!!p&&(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.wn,{layer:2,title:"Scanner Info",buttons:(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{icon:"hourglass-half",onClick:function(){return t("scan")},disabled:!s||x,children:"Scan"}),(0,r.jsx)(i.$n,{icon:"eject",onClick:function(){return t("eject")},disabled:!s||x,children:"Eject Patient"})]}),children:[!c&&!x&&(0,r.jsx)(i.az,{color:"average",children:s?"No scan detected for current patient.":"No patient is in the scanner."}),(!!c||!!x)&&(0,r.jsx)(i.az,{color:u.color,children:u.text})]}),(0,r.jsx)(i.wn,{layer:2,title:"Damages Breakdown",children:(0,r.jsxs)(i.az,{children:[(!d||!c)&&(0,r.jsx)(i.az,{color:"average",children:"No valid scan detected."}),!!d&&!!c&&(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.BJ,{children:[(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{onClick:function(){return t("fix_all")},children:"Repair All Damages"}),(0,r.jsx)(i.$n,{onClick:function(){return t("fix_none")},children:"Repair No Damages"})]}),(0,r.jsx)(i.BJ.Item,{grow:1}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{onClick:function(){return t("clone")},children:"Clone"})})]}),(0,r.jsxs)(i.BJ,{height:"25px",children:[(0,r.jsx)(i.BJ.Item,{width:"40%",children:(0,r.jsxs)(i.z2,{value:m[0],maxValue:a.biomass_storage_capacity,ranges:{bad:[2*a.biomass_storage_capacity/3,a.biomass_storage_capacity],average:[a.biomass_storage_capacity/3,2*a.biomass_storage_capacity/3],good:[0,a.biomass_storage_capacity/3]},color:m[0]>a.biomass?"bad":null,children:["Biomass: ",m[0],"/",a.biomass,"/",a.biomass_storage_capacity]})}),(0,r.jsx)(i.BJ.Item,{width:"30%",children:(0,r.jsxs)(i.z2,{value:m[1],maxValue:a.max_reagent_capacity,ranges:{bad:[2*a.max_reagent_capacity/3,a.max_reagent_capacity],average:[a.max_reagent_capacity/3,2*a.max_reagent_capacity/3],good:[0,a.max_reagent_capacity/3]},color:m[1]>a.sanguine_reagent?"bad":"good",children:["Sanguine: ",m[1],"/",a.sanguine_reagent,"/",a.max_reagent_capacity]})}),(0,r.jsx)(i.BJ.Item,{width:"30%",children:(0,r.jsxs)(i.z2,{value:m[2],maxValue:a.max_reagent_capacity,ranges:{bad:[2*a.max_reagent_capacity/3,a.max_reagent_capacity],average:[a.max_reagent_capacity/3,2*a.max_reagent_capacity/3],good:[0,a.max_reagent_capacity/3]},color:m[2]>a.osseous_reagent?"bad":"good",children:["Osseous: ",m[2],"/",a.osseous_reagent,"/",a.max_reagent_capacity]})})]}),(0,r.jsx)(f,{}),(0,r.jsx)(h,{})]})]})})]})]})},f=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.patient_limb_data,c=o.limb_list,s=o.desired_limb_data;return(0,r.jsx)(i.Nt,{title:"Limbs",children:c.map(function(e,n){return(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.BJ,{align:"baseline",children:[(0,r.jsxs)(i.BJ.Item,{color:"label",width:"15%",height:"20px",children:[a[e][4],":"," "]}),(0,r.jsx)(i.BJ.Item,{grow:1}),0===a[e][3]&&(0,r.jsx)(i.BJ.Item,{width:"60%",children:(0,r.jsxs)(i.z2,{value:s[e][0]+s[e][1],maxValue:a[e][5],ranges:{good:[0,a[e][5]/3],average:[a[e][5]/3,2*a[e][5]/3],bad:[2*a[e][5]/3,a[e][5]]},children:["Post-Cloning Damage: ",(0,r.jsx)(i.In,{name:"bone"})," "+s[e][0]+" / ",(0,r.jsx)(i.In,{name:"fire"})," "+s[e][1]]})}),0!==a[e][3]&&(0,r.jsx)(i.BJ.Item,{width:"60%",children:(0,r.jsxs)(i.z2,{color:"bad",value:0,children:["The patient's ",a[e][4]," is missing!"]})})]}),(0,r.jsxs)(i.BJ,{children:[!!a[e][3]&&(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n.Checkbox,{checked:!s[e][3],onClick:function(){return t("toggle_limb_repair",{limb:e,type:"replace"})},children:"Replace Limb"})}),!a[e][3]&&(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n.Checkbox,{disabled:!(a[e][0]||a[e][1]),checked:!(s[e][0]||s[e][1]),onClick:function(){return t("toggle_limb_repair",{limb:e,type:"damage"})},children:"Repair Damages"}),(0,r.jsx)(i.$n.Checkbox,{disabled:!(1&a[e][2]),checked:!(1&s[e][2]),onClick:function(){return t("toggle_limb_repair",{limb:e,type:"bone"})},children:"Mend Bone"}),(0,r.jsx)(i.$n.Checkbox,{disabled:!(32&a[e][2]),checked:!(32&s[e][2]),onClick:function(){return t("toggle_limb_repair",{limb:e,type:"ib"})},children:"Mend IB"}),(0,r.jsx)(i.$n.Checkbox,{disabled:!(128&a[e][2]),checked:!(128&s[e][2]),onClick:function(){return t("toggle_limb_repair",{limb:e,type:"critburn"})},children:"Mend Critical Burn"})]})]})]},e)})})},h=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.patient_organ_data,c=o.organ_list,s=o.desired_organ_data;return(0,r.jsx)(i.Nt,{title:"Organs",children:c.map(function(e,n){return(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.BJ,{align:"baseline",children:[(0,r.jsxs)(i.BJ.Item,{color:"label",width:"20%",height:"20px",children:[a[e][3],":"," "]}),"heart"!==a[e][5]&&(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.BJ.Item,{children:[!!a[e][2]&&(0,r.jsx)(i.$n.Checkbox,{checked:!s[e][2]&&!s[e][1],onClick:function(){return t("toggle_organ_repair",{organ:e,type:"replace"})},children:"Replace Organ"}),!a[e][2]&&(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n.Checkbox,{disabled:!a[e][0],checked:!s[e][0],onClick:function(){return t("toggle_organ_repair",{organ:e,type:"damage"})},children:"Repair Damages"})})]})}),"heart"===a[e][5]&&(0,r.jsx)(i.az,{color:"average",children:"Heart replacement is required for cloning."}),(0,r.jsx)(i.BJ.Item,{grow:1}),(0,r.jsxs)(i.BJ.Item,{width:"35%",children:[!!a[e][2]&&(0,r.jsxs)(i.z2,{color:"bad",value:0,children:["The patient's ",a[e][3]," is missing!"]}),!a[e][2]&&(0,r.jsx)(i.z2,{value:s[e][0],maxValue:a[e][4],ranges:{good:[0,a[e][4]/3],average:[a[e][4]/3,2*a[e][4]/3],bad:[2*a[e][4]/3,a[e][4]]},children:"Post-Cloning Damage: "+s[e][0]})]})]})},e)})})}},1558:function(e,n,t){"use strict";t.r(n),t.d(n,{CloningPod:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.biomass,s=a.biomass_storage_capacity,u=a.sanguine_reagent,d=a.osseous_reagent,f=a.organs,h=a.currently_cloning;return(0,r.jsx)(l.p8,{width:500,height:500,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsxs)(i.wn,{title:"Liquid Storage",children:[(0,r.jsxs)(i.BJ,{height:"25px",align:"center",children:[(0,r.jsxs)(i.BJ.Item,{color:"label",width:"25%",children:["Biomass:"," "]}),(0,r.jsx)(i.BJ.Item,{grow:1,children:(0,r.jsx)(i.z2,{value:c,ranges:{good:[2*s/3,s],average:[s/3,2*s/3],bad:[0,s/3]},minValue:0,maxValue:s})})]}),(0,r.jsxs)(i.BJ,{height:"25px",align:"center",children:[(0,r.jsxs)(i.BJ.Item,{color:"label",width:"25%",children:["Sanguine Reagent:"," "]}),(0,r.jsx)(i.BJ.Item,{children:u+" units"}),(0,r.jsx)(i.BJ.Item,{grow:1}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.Q7,{value:0,minValue:0,maxValue:u,step:1,unit:"units",onChange:function(e){return t("remove_reagent",{reagent:"sanguine_reagent",amount:e})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Remove All",onClick:function(){return t("purge_reagent",{reagent:"sanguine_reagent"})}})})]}),(0,r.jsxs)(i.BJ,{height:"25px",align:"center",children:[(0,r.jsxs)(i.BJ.Item,{color:"label",width:"25%",children:["Osseous Reagent:"," "]}),(0,r.jsx)(i.BJ.Item,{children:d+" units"}),(0,r.jsx)(i.BJ.Item,{grow:1}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.Q7,{value:0,minValue:0,maxValue:d,step:1,unit:"units",onChange:function(e){return t("remove_reagent",{reagent:"osseous_reagent",amount:e})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Remove All",onClick:function(){return t("purge_reagent",{reagent:"osseous_reagent"})}})})]})]}),(0,r.jsxs)(i.wn,{title:"Organ Storage",children:[!h&&(0,r.jsxs)(i.az,{children:[!f&&(0,r.jsx)(i.az,{color:"average",children:"Notice: No organs loaded."}),!!f&&f.map(function(e){return(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{children:e.name}),(0,r.jsx)(i.BJ.Item,{grow:1}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Eject",onClick:function(){return t("eject_organ",{organ_ref:e.ref})}})})]},e)})]}),!!h&&(0,r.jsx)(i.BJ,{height:"100%",children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"lock",size:"5",mb:3}),(0,r.jsx)("br",{}),"Unable to access organ storage while cloning."]})})]})]})})}},1276:function(e,n,t){"use strict";t.r(n),t.d(n,{CoinMint:()=>c});var r=t(8138),i=t(7790),o=t(5490),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,s=c.materials,u=c.moneyBag,d=c.moneyBagContent,f=c.moneyBagMaxContent,h=(u?210:138)+64*Math.ceil(s.length/4);return(0,r.jsx)(a.p8,{width:210,height:h,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.IC,{m:0,info:!0,children:["Total coins produced: ",c.totalCoins]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,title:"Coin Type",buttons:(0,r.jsx)(i.$n,{icon:"power-off",color:c.active&&"bad",tooltip:!u&&"Need a money bag",disabled:!u,onClick:function(){return t("activate")}}),children:(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.z2,{minValue:0,maxValue:c.maxMaterials,value:c.totalMaterials})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"eject",tooltip:"Eject selected material",onClick:function(){return t("ejectMat")}})})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:s.map(function(e){return(0,r.jsx)(i.$n,{bold:!0,inline:!0,m:.2,textAlign:"center",selected:e.id===c.chosenMaterial,tooltip:e.name,content:(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{className:(0,o.Ly)(["materials32x32",e.id])}),(0,r.jsx)(i.BJ.Item,{children:e.amount})]}),onClick:function(){return t("selectMaterial",{material:e.id})}},e.id)})})]})})}),!!u&&(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Money Bag",buttons:(0,r.jsx)(i.$n,{icon:"eject",content:"Eject",disabled:c.active,onClick:function(){return t("ejectBag")}}),children:(0,r.jsxs)(i.z2,{width:"100%",minValue:0,maxValue:f,value:d,children:[d," / ",f]})})})]})})})}},1572:function(e,n,t){"use strict";t.r(n),t.d(n,{HexColorInput:()=>B,ColorSelector:()=>A,ColorPickerModal:()=>O,ColorInput:()=>z});var r=t(8138),i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Math.pow(10,n);return Math.round(t*e)/t},o=function(e){return h(l(e))},l=function(e){return("#"===e[0]&&(e=e.substring(1)),e.length<6)?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?i(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?i(parseInt(e.substring(6,8),16)/255,2):1}},a=function(e){return f(u(e))},c=function(e){var n=e.h,t=e.s,r=e.v,o=e.a,l=(200-t)*r/100;return{h:i(n),s:i(l>0&&l<200?t*r/100/(l<=100?l:200-l)*100:0),l:i(l/2),a:i(o,2)}},s=function(e){var n=c(e),t=n.h,r=n.s,i=n.l;return"hsl(".concat(t,", ").concat(r,"%, ").concat(i,"%)")},u=function(e){var n=e.h,t=e.s,r=e.v,o=e.a,l=Math.floor(n=n/360*6),a=(r/=100)*(1-(t/=100)),c=r*(1-(n-l)*t),s=r*(1-(1-n+l)*t),u=l%6;return{r:255*[r,c,a,a,s,r][u],g:255*[s,r,r,c,a,a][u],b:255*[a,a,s,r,r,c][u],a:i(o,2)}},d=function(e){var n=e.toString(16);return n.length<2?"0"+n:n},f=function(e){var n=e.r,t=e.g,r=e.b,o=e.a,l=o<1?d(i(255*o)):"";return"#"+d(i(n))+d(i(t))+d(i(r))+l},h=function(e){var n=e.r,t=e.g,r=e.b,i=e.a,o=Math.max(n,t,r),l=o-Math.min(n,t,r),a=l?o===n?(t-r)/l:o===t?2+(r-n)/l:4+(n-t)/l:0;return{h:60*(a<0?a+6:a),s:o?l/o*100:0,v:o/255*100,a:i}},m=/^#?([0-9A-F]{3,8})$/i,p=function(e,n){var t=m.exec(e),r=t?t[1].length:0;return 3===r||6===r||!!n&&4===r||!!n&&8===r},x=t(4530),g=t(7790),j=t(6859),b=t(5490),y=t(2864),v=t(7946),w=t(8095),k=t(3384),_=t(1942),C=t(9472);function I(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["prefixed","alpha","color","fluid","onChange"]);return(0,r.jsx)(z,(n=function(e){for(var n=1;na});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.colour_data;return(0,r.jsx)(l.p8,{width:360,height:190,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.wn,{fill:!0,title:"Modify Matrix",children:[[{name:"RR",idx:0},{name:"RG",idx:1},{name:"RB",idx:2},{name:"RA",idx:3}],[{name:"GR",idx:4},{name:"GG",idx:5},{name:"GB",idx:6},{name:"GA",idx:7}],[{name:"BR",idx:8},{name:"BG",idx:9},{name:"BB",idx:10},{name:"BA",idx:11}],[{name:"AR",idx:12},{name:"AG",idx:13},{name:"AB",idx:14},{name:"AA",idx:15}]].map(function(e){return(0,r.jsx)(i.BJ,{textAlign:"center",textColor:"label",children:e.map(function(e){return(0,r.jsxs)(i.BJ.Item,{grow:!0,mt:1,children:[e.name,":\xa0",(0,r.jsx)(i.Q7,{width:4,value:a[e.idx],step:.05,minValue:-5,maxValue:5,stepPixelSize:5,onChange:function(n){return t("setvalue",{idx:e.idx+1,value:n})}})]},e.name)})},e)})})})})})}},5325:function(e,n,t){"use strict";t.r(n),t.d(n,{CommunicationsComputer:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&(x+=" ("+a+"s)");var g=c?"Message [UNKNOWN]":"Message CentComm",b="Request Authentication Codes";return s>0&&(g+=" ("+s+"s)",b+=" ("+s+"s)"),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.wn,{fill:!0,title:"Captain-Only Actions",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Current Alert",color:u,children:d}),(0,r.jsx)(o.Ki.Item,{label:"Change Alert",children:(0,r.jsx)(j,{levels:f,required_access:h})}),(0,r.jsx)(o.Ki.Item,{label:"Announcement",children:(0,r.jsx)(o.$n,{icon:"bullhorn",content:x,disabled:!h||a>0,onClick:function(){return t("announce")}})}),!!c&&(0,r.jsxs)(o.Ki.Item,{label:"Transmit",children:[(0,r.jsx)(o.$n,{icon:"broadcast-tower",color:"red",content:g,disabled:!h||s>0,onClick:function(){return t("MessageSyndicate")}}),(0,r.jsx)(o.$n,{icon:"sync-alt",content:"Reset Relays",disabled:!h,onClick:function(){return t("RestoreBackup")}})]})||(0,r.jsx)(o.Ki.Item,{label:"Transmit",children:(0,r.jsx)(o.$n,{icon:"broadcast-tower",content:g,disabled:!h||s>0,onClick:function(){return t("MessageCentcomm")}})}),(0,r.jsx)(o.Ki.Item,{label:"Nuclear Device",children:(0,r.jsx)(o.$n,{icon:"bomb",content:b,disabled:!h||s>0,onClick:function(){return t("nukerequest")}})})]})})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.wn,{fill:!0,title:"Command Staff Actions",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Displays",children:(0,r.jsx)(o.$n,{icon:"tv",content:"Change Status Displays",disabled:!m,onClick:function(){return t("status")}})}),(0,r.jsx)(o.Ki.Item,{label:"Incoming Messages",children:(0,r.jsx)(o.$n,{icon:"folder-open",content:"View ("+p.length+")",disabled:!m,onClick:function(){return t("messagelist")}})})]})})})]})},x=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.stat_display,c=i.authhead;i.current_message_title;var s=a.presets.map(function(e){return(0,r.jsx)(o.$n,{content:e.label,selected:e.name===a.type,disabled:!c,onClick:function(){return t("setstat",{statdisp:e.name})}},e.name)}),u=a.alerts.map(function(e){return(0,r.jsx)(o.$n,{content:e.label,selected:e.alert===a.icon,disabled:!c,onClick:function(){return t("setstat",{statdisp:3,alert:e.alert})}},e.alert)});return(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.wn,{fill:!0,title:"Modify Status Screens",buttons:(0,r.jsx)(o.$n,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){return t("main")}}),children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Presets",children:s}),(0,r.jsx)(o.Ki.Item,{label:"Alerts",children:u}),(0,r.jsx)(o.Ki.Item,{label:"Message Line 1",children:(0,r.jsx)(o.$n,{icon:"pencil-alt",content:a.line_1,disabled:!c,onClick:function(){return t("setmsg1")}})}),(0,r.jsx)(o.Ki.Item,{label:"Message Line 2",children:(0,r.jsx)(o.$n,{icon:"pencil-alt",content:a.line_2,disabled:!c,onClick:function(){return t("setmsg2")}})})]})})})},g=function(e){var n,t=(0,l.Oc)(),i=t.act,a=t.data,c=a.authhead,s=a.current_message_title,u=a.current_message,d=a.messages;if(a.security_level,s)n=(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.wn,{title:s,buttons:(0,r.jsx)(o.$n,{icon:"times",content:"Return To Message List",disabled:!c,onClick:function(){return i("messagelist")}}),children:(0,r.jsx)(o.az,{children:u})})});else{var f=d.map(function(e){return(0,r.jsxs)(o.Ki.Item,{label:e.title,children:[(0,r.jsx)(o.$n,{icon:"eye",content:"View",disabled:!c||s===e.title,onClick:function(){return i("messagelist",{msgid:e.id})}}),(0,r.jsx)(o.$n.Confirm,{icon:"times",content:"Delete",disabled:!c,onClick:function(){return i("delmessage",{msgid:e.id})}})]},e.id)});n=(0,r.jsx)(o.wn,{title:"Messages Received",buttons:(0,r.jsx)(o.$n,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){return i("main")}}),children:(0,r.jsx)(o.Ki,{children:f})})}return(0,r.jsx)(o.az,{children:n})},j=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=e.levels,c=e.required_access,s=e.use_confirm,u=i.security_level;return s?a.map(function(e){return(0,r.jsx)(o.$n.Confirm,{icon:e.icon,content:e.name,disabled:!c||e.id===u,tooltip:e.tooltip,onClick:function(){return t("newalertlevel",{level:e.id})}},e.name)}):a.map(function(e){return(0,r.jsx)(o.$n,{icon:e.icon,content:e.name,disabled:!c||e.id===u,tooltip:e.tooltip,onClick:function(){return t("newalertlevel",{level:e.id})}},e.name)})},b=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=a.is_admin,u=a.possible_cc_sounds;if(!c)return t("main");var d=s((0,i.useState)(""),2),f=d[0],h=d[1],m=s((0,i.useState)(""),2),p=m[0],x=m[1],g=s((0,i.useState)(0),2),j=g[0],b=g[1],y=s((0,i.useState)("Beep"),2),v=y[0],w=y[1];return(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.wn,{fill:!0,title:"Central Command Report",buttons:(0,r.jsx)(o.$n,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){return t("main")}}),children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.pd,{fluid:!0,placeholder:"Enter Subtitle here.",value:f,onChange:function(e){return h(e)}}),(0,r.jsx)(o.fs,{fluid:!0,height:"100%",rows:10,placeholder:"Enter Announcement here. Multiline input is accepted.",value:p,onChange:x}),(0,r.jsx)(o.$n.Confirm,{fluid:!0,icon:"paper-plane",textAlign:"center",onClick:function(){t("make_cc_announcement",{subtitle:f,text:p,classified:j,beepsound:v}),x(""),h("")},children:"Send Announcement"}),(0,r.jsxs)(o.BJ,{align:"center",children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.ms,{options:u,selected:v,onSelected:function(e){return w(e)},disabled:j})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{icon:"volume-up",disabled:j,tooltip:"Test sound",onClick:function(){return t("test_sound",{sound:v})}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n.Checkbox,{fluid:!0,checked:j,tooltip:j?"Sent to station communications consoles":"Publically announced",onClick:function(){return b(!j)},children:"Classified"})})]})]})})})}},6185:function(e,n,t){"use strict";t.r(n),t.d(n,{CompostBin:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tj});var r=t(8138),i=t(4530),o=t(7790),l=t(6859),a=t(2864),c=t(7946),s=t(3384);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0,p=e.setViewingPhoto,g=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["setViewingPhoto"]);return(0,r.jsx)(o.wn,h(f({title:"Available Contracts",overflow:"auto",buttons:(0,r.jsxs)(o.$n,{disabled:!u||m,icon:"parachute-box",onClick:function(){return t("extract")},children:["Call Extraction"," ",m&&(0,r.jsx)(c.Gi,{timeEnd:d.time_left,format:function(e,n){return n.substr(3)}})]})},g),{children:l.slice().sort(function(e,n){return 1===e.status?-1:1===n.status?1:e.status-n.status}).map(function(e){var n;return(0,r.jsx)(o.wn,{title:(0,r.jsxs)(o.so,{children:[(0,r.jsx)(o.so.Item,{grow:"1",color:1===e.status&&"good",children:e.target_name}),(0,r.jsx)(o.so.Item,{basis:"content",children:e.has_photo&&(0,r.jsx)(o.$n,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){return p("target_photo_"+e.uid+".png")}})})]}),className:"Contractor__Contract",buttons:(0,r.jsxs)(o.az,{width:"100%",children:[!!x[e.status]&&(0,r.jsx)(o.az,{color:x[e.status][1],inline:!0,mt:1!==e.status&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:x[e.status][0]}),1===e.status&&(0,r.jsx)(o.$n.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){return t("abort")}})]}),children:(0,r.jsxs)(o.so,{children:[(0,r.jsxs)(o.so.Item,{grow:"2",mr:"0.5rem",children:[e.fluff_message,!!e.completed_time&&(0,r.jsxs)(o.az,{color:"good",children:[(0,r.jsx)("br",{}),(0,r.jsx)(o.In,{name:"check",mr:"0.5rem"}),"Contract completed at ",e.completed_time]}),!!e.dead_extraction&&(0,r.jsxs)(o.az,{color:"bad",mt:"0.5rem",bold:!0,children:[(0,r.jsx)(o.In,{name:"exclamation-triangle",mr:"0.5rem"}),"Telecrystals reward reduced drastically as the target was dead during extraction."]}),!!e.fail_reason&&(0,r.jsxs)(o.az,{color:"bad",children:[(0,r.jsx)("br",{}),(0,r.jsx)(o.In,{name:"times",mr:"0.5rem"}),"Contract failed: ",e.fail_reason]})]}),(0,r.jsxs)(o.so.Item,{flexBasis:"100%",children:[(0,r.jsxs)(o.so,{mb:"0.5rem",color:"label",children:["Extraction Zone:\xa0",w(e)]}),null==(n=e.difficulties)?void 0:n.map(function(n,i){return(0,r.jsx)(o.$n.Confirm,{disabled:!!s,content:n.name+" ("+n.reward+" TC)",onClick:function(){return t("activate",{uid:e.uid,difficulty:i+1})}},i)}),!!e.objective&&(0,r.jsxs)(o.az,{color:"white",bold:!0,children:[e.objective.extraction_name,(0,r.jsx)("br",{}),"(",(e.objective.rewards.tc||0)+" TC",",\xa0",(e.objective.rewards.credits||0)+" Credits",")"]})]})]})},e.uid)})}))},w=function(e){if(e.objective&&!(e.status>1)){var n=e.objective.locs.user_area_id,t=e.objective.locs.user_coords,i=e.objective.locs.target_area_id,a=e.objective.locs.target_coords,c=n===i;return(0,r.jsx)(o.so.Item,{children:(0,r.jsx)(o.In,{name:c?"dot-circle-o":"arrow-alt-circle-right-o",color:c?"green":"yellow",rotation:c?null:-(0,l.KJ)(Math.atan2(a[1]-t[1],a[0]-t[0])),lineHeight:c?null:"0.85",size:"1.5"})})}},k=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data,l=i.rep,c=i.buyables;return(0,r.jsx)(o.wn,h(f({title:"Available Purchases",overflow:"auto"},e),{children:c.map(function(e){return(0,r.jsxs)(o.wn,{title:e.name,children:[e.description,(0,r.jsx)("br",{}),(0,r.jsx)(o.$n.Confirm,{disabled:l-1&&(0,r.jsxs)(o.az,{as:"span",color:0===e.stock?"bad":"good",ml:"0.5rem",children:[e.stock," in stock"]})]},e.uid)})}))},_=function(e){var n;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function t(e){var n,r,i;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");return r=t,i=[e],r=d(r),(n=function(e,n){var t;if(n&&("object"==((t=n)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)||"function"==typeof n))return n;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,p()?Reflect.construct(r,i||[],d(this).constructor):r.apply(this,i))).timer=null,n.state={currentIndex:0,currentDisplay:[]},n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e),n=[{key:"tick",value:function(){var e=this.props,n=this.state;n.currentIndex<=e.allMessages.length?(this.setState(function(e){return{currentIndex:e.currentIndex+1}}),n.currentDisplay.push(e.allMessages[n.currentIndex])):(clearTimeout(this.timer),setTimeout(e.onFinished,e.finishedTimeout))}},{key:"componentDidMount",value:function(){var e=this,n=this.props.linesPerSecond;this.timer=setInterval(function(){return e.tick()},1e3/(void 0===n?2.5:n))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timer)}},{key:"render",value:function(){return(0,r.jsx)(o.az,{m:1,children:this.state.currentDisplay.map(function(e){return(0,r.jsxs)(i.Fragment,{children:[e,(0,r.jsx)("br",{})]},e)})})}}],function(e,n){for(var t=0;ta});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.slowFactor,s=a.oneWay,u=a.position;return(0,r.jsx)(l.p8,{width:350,height:135,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Lever position",children:u>0?"forward":u<0?"reverse":"neutral"}),(0,r.jsx)(i.Ki.Item,{label:"Allow reverse",children:(0,r.jsx)(i.$n.Checkbox,{checked:!s,onClick:function(){return t("toggleOneWay")}})}),(0,r.jsx)(i.Ki.Item,{label:"Slowdown factor",children:(0,r.jsxs)(i.so,{children:[(0,r.jsxs)(i.so.Item,{mx:"1px",children:[" ",(0,r.jsx)(i.$n,{icon:"angle-double-left",onClick:function(){return t("slowFactor",{value:c-5})}})," "]}),(0,r.jsxs)(i.so.Item,{mx:"1px",children:[" ",(0,r.jsx)(i.$n,{icon:"angle-left",onClick:function(){return t("slowFactor",{value:c-1})}})," "]}),(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.Ap,{width:"100px",mx:"1px",value:c,fillValue:c,minValue:1,maxValue:50,step:1,format:function(e){return e+"x"},onChange:function(e,n){return t("slowFactor",{value:n})}})}),(0,r.jsxs)(i.so.Item,{mx:"1px",children:[" ",(0,r.jsx)(i.$n,{icon:"angle-right",onClick:function(){return t("slowFactor",{value:c+1})}})," "]}),(0,r.jsxs)(i.so.Item,{mx:"1px",children:[" ",(0,r.jsx)(i.$n,{icon:"angle-double-right",onClick:function(){return t("slowFactor",{value:c+5})}})," "]})]})})]})})})})}},6714:function(e,n,t){"use strict";t.r(n),t.d(n,{CrewMonitor:()=>p});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(3268),c=t(2864),s=t(7946),u=t(421),d=t(3384);function f(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=2||s.ignoreSensors?(0,r.jsxs)(l.az,{inline:!0,ml:1,children:["(",(0,r.jsx)(l.az,{inline:!0,color:u.lm.damageType.oxy,children:e.oxy}),"|",(0,r.jsx)(l.az,{inline:!0,color:u.lm.damageType.toxin,children:e.tox}),"|",(0,r.jsx)(l.az,{inline:!0,color:u.lm.damageType.burn,children:e.fire}),"|",(0,r.jsx)(l.az,{inline:!0,color:u.lm.damageType.brute,children:e.brute}),")"]}):null]}),(0,r.jsx)(l.XI.Cell,{children:3===e.sensor_type||s.ignoreSensors?s.isAI||s.isObserver?(0,r.jsx)(l.$n,{fluid:!0,icon:"location-arrow",content:e.area+" ("+e.x+", "+e.y+")",onClick:function(){return t("track",{track:e.ref})}}):e.area+" ("+e.x+", "+e.y+")":(0,r.jsx)(l.az,{inline:!0,color:"grey",children:"Not Available"})})]},n)})]})]})},g=function(e){var n,t,i=e.color,o=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["color"]);return(0,r.jsx)(s.tx.Marker,(n=function(e){for(var n=1;ns});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],c=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],s=function(e){return(0,r.jsx)(l.p8,{width:520,height:500,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(u,{})})})})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,s=l.isOperating,u=l.hasOccupant,f=l.occupant,h=void 0===f?[]:f,m=l.cellTemperature,p=l.cellTemperatureStatus,x=l.isBeakerLoaded,g=l.cooldownProgress,j=l.auto_eject_healthy,b=l.auto_eject_dead;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{title:"Occupant",fill:!0,scrollable:!0,buttons:(0,r.jsx)(i.$n,{icon:"user-slash",onClick:function(){return t("ejectOccupant")},disabled:!u,children:"Eject"}),children:u?(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Occupant",children:h.name||"Unknown"}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{min:h.health,max:h.maxHealth,value:h.health/h.maxHealth,color:h.health>0?"good":"average",children:(0,r.jsx)(i.zv,{value:Math.round(h.health)})})}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:c[h.stat][0],children:c[h.stat][1]}),(0,r.jsxs)(i.Ki.Item,{label:"Temperature",children:[(0,r.jsx)(i.zv,{value:Math.round(h.bodyTemperature)})," K"]}),(0,r.jsx)(i.Ki.Divider,{}),a.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e.label,children:(0,r.jsx)(i.z2,{value:h[e.type]/100,ranges:{bad:[.01,1/0]},children:(0,r.jsx)(i.zv,{value:Math.round(h[e.type])})})},e.id)})]}):(0,r.jsx)(i.BJ,{fill:!0,textAlign:"center",children:(0,r.jsxs)(i.BJ.Item,{grow:!0,align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,r.jsx)("br",{}),"No occupant detected."]})})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Cell",buttons:(0,r.jsx)(i.$n,{icon:"eject",onClick:function(){return t("ejectBeaker")},disabled:!x,children:"Eject Beaker"}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:"power-off",onClick:function(){return t(s?"switchOff":"switchOn")},selected:s,children:s?"On":"Off"})}),(0,r.jsxs)(i.Ki.Item,{label:"Temperature",color:p,children:[(0,r.jsx)(i.zv,{value:m})," K"]}),(0,r.jsx)(i.Ki.Item,{label:"Beaker",children:(0,r.jsx)(d,{})}),(0,r.jsx)(i.Ki.Item,{label:"Dosage interval",children:(0,r.jsx)(i.z2,{ranges:{average:[-1/0,99],good:[99,1/0]},color:!x&&"average",value:g,minValue:0,maxValue:100})}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsx)(i.Ki.Item,{label:"Auto-eject healthy occupants",children:(0,r.jsx)(i.$n,{icon:j?"toggle-on":"toggle-off",selected:j,onClick:function(){return t(j?"auto_eject_healthy_off":"auto_eject_healthy_on")},children:j?"On":"Off"})}),(0,r.jsx)(i.Ki.Item,{label:"Auto-eject dead occupants",children:(0,r.jsx)(i.$n,{icon:b?"toggle-on":"toggle-off",selected:b,onClick:function(){return t(b?"auto_eject_dead_off":"auto_eject_dead_on")},children:b?"On":"Off"})})]})})})]})},d=function(e){var n=(0,o.Oc)(),t=(n.act,n.data),l=t.isBeakerLoaded,a=t.beakerLabel,c=t.beakerVolume;return l?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.az,{inline:!0,color:!a&&"average",children:[a||"No label",":"]}),(0,r.jsx)(i.az,{inline:!0,color:!c&&"bad",ml:1,children:c?(0,r.jsx)(i.zv,{value:c,format:function(e){return Math.round(e)+" units remaining"}}):"Beaker is empty"})]}):(0,r.jsx)(i.az,{inline:!0,color:"bad",children:"No beaker loaded"})}},2394:function(e,n,t){"use strict";t.r(n),t.d(n,{CryopodConsole:()=>c});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)().data,t=n.account_name,o=n.allow_items;return(0,r.jsx)(a.p8,{title:"Cryopod Console",width:400,height:480,children:(0,r.jsxs)(a.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Hello, ".concat(t||"[REDACTED]","!"),children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,r.jsx)(s,{}),!!o&&(0,r.jsx)(u,{})]})})},s=function(e){var n=(0,l.Oc)().data.frozen_crew;return(0,r.jsx)(i.Nt,{title:"Stored Crew",children:n.length?(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.Ki,{children:n.map(function(e,n){return(0,r.jsx)(i.Ki.Item,{label:e.name,children:e.rank},n)})})}):(0,r.jsx)(i.IC,{children:"No stored crew!"})})},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data.frozen_items,c=function(e){var n=e.toString();return n.startsWith("the ")&&(n=n.slice(4,n.length)),(0,o.Sn)(n)};return(0,r.jsx)(i.Nt,{title:"Stored Items",children:a.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.Ki,{children:a.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:c(e.name),buttons:(0,r.jsx)(i.$n,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){return t("one_item",{item:e.uid})}})},e)})})}),(0,r.jsx)(i.$n,{content:"Drop All Items",color:"red",onClick:function(){return t("all_items")}})]}):(0,r.jsx)(i.IC,{children:"No stored items!"})})}},3372:function(e,n,t){"use strict";t.r(n),t.d(n,{DNAModifier:()=>d});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4744),c=[["good","Alive"],["average","Critical"],["bad","DEAD"]],s=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],u=[5,10,20,30,50],d=function(){var e,n=(0,o.Oc)(),t=(n.act,n.data),c=t.irradiating,s=t.dnaBlockSize,u=t.occupant,d=!u.isViableSubject||!u.uniqueIdentity||!u.structuralEnzymes;return c&&(e=(0,r.jsx)(v,{duration:c})),(0,r.jsxs)(l.p8,{width:660,height:800,children:[(0,r.jsx)(a.ComplexModal,{}),e,(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(f,{isDNAInvalid:d})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(h,{dnaBlockSize:s,isDNAInvalid:d})})]})})]})},f=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.locked,s=l.hasOccupant,u=l.occupant,d=e.isDNAInvalid;return(0,r.jsx)(i.wn,{title:"Occupant",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.az,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,r.jsx)(i.$n,{disabled:!s,selected:a,icon:a?"toggle-on":"toggle-off",content:a?"Engaged":"Disengaged",onClick:function(){return t("toggleLock")}}),(0,r.jsx)(i.$n,{disabled:!s||a,icon:"user-slash",content:"Eject",onClick:function(){return t("ejectOccupant")}})]}),children:s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:u.name}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{minValue:u.minHealth,maxValue:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:c[u.stat][0],children:c[u.stat][1]}),(0,r.jsx)(i.Ki.Divider,{})]})}),d?(0,r.jsxs)(i.az,{color:"bad",children:[(0,r.jsx)(i.In,{name:"exclamation-circle"}),"\xa0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Radiation",children:(0,r.jsx)(i.z2,{minValue:0,maxValue:100,value:u.radiationLevel/100,color:"average"})}),(0,r.jsx)(i.Ki.Item,{label:"Unique Enzymes",children:l.occupant.uniqueEnzymes?l.occupant.uniqueEnzymes:(0,r.jsxs)(i.az,{color:"bad",children:[(0,r.jsx)(i.In,{name:"exclamation-circle"}),"\xa0 Unknown"]})})]})]}):(0,r.jsx)(i.az,{color:"label",children:"Cell unoccupied."})})},h=function(e){var n,t=(0,o.Oc)(),l=t.act,a=t.data,c=a.selectedMenuKey,u=a.hasOccupant,d=e.dnaBlockSize,f=e.isDNAInvalid;return u?f?(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"user-slash",mb:"0.5rem",size:5}),(0,r.jsx)("br",{}),"No operation possible on this subject."]})})}):("ui"===c?n=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m,{dnaBlockSize:d}),(0,r.jsx)(x,{})]}):"se"===c?n=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p,{dnaBlockSize:d}),(0,r.jsx)(x,{})]}):"buffer"===c?n=(0,r.jsx)(g,{}):"rejuvenators"===c&&(n=(0,r.jsx)(y,{})),(0,r.jsxs)(i.wn,{fill:!0,children:[(0,r.jsx)(i.tU,{children:s.map(function(e,n){return(0,r.jsx)(i.tU.Tab,{icon:e[2],selected:c===e[0],onClick:function(){return l("selectMenuKey",{key:e[0]})},children:e[1]},n)})}),n]})):(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"user-slash",mb:"0.5rem",size:5}),(0,r.jsx)("br",{}),"No occupant in DNA modifier."]})})})},m=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.selectedUIBlock,c=l.selectedUISubBlock,s=l.selectedUITarget,u=l.occupant,d=e.dnaBlockSize;return(0,r.jsx)(i.wn,{title:"Modify Unique Identifier",children:(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{children:(0,r.jsx)(w,{dnaString:u.uniqueIdentity,selectedBlock:a,selectedSubblock:c,blockSize:d,action:"selectUIBlock"})})}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Target",children:(0,r.jsx)(i.N6,{minValue:1,maxValue:15,stepPixelSize:20,value:s,format:function(e){return e.toString(16).toUpperCase()},ml:"0",onChange:function(e,n){return t("changeUITarget",{value:n})}})})}),(0,r.jsx)(i.$n,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){return t("pulseUIRadiation")}})]})]})})},p=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.selectedSEBlock,c=l.selectedSESubBlock,s=l.occupant,u=e.dnaBlockSize;return(0,r.jsx)(i.wn,{title:"Modify Structural Enzymes",children:(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{children:(0,r.jsx)(w,{dnaString:s.structuralEnzymes,selectedBlock:a,selectedSubblock:c,blockSize:u,action:"selectSEBlock"})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"radiation",content:"Irradiate Block",onClick:function(){return t("pulseSERadiation")}})})]})})},x=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.radiationIntensity,a=t.radiationDuration;return(0,r.jsxs)(i.wn,{title:"Radiation Emitter",children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Intensity",children:(0,r.jsx)(i.N6,{minValue:1,maxValue:10,stepPixelSize:20,value:l,popupPosition:"right",ml:"0",onChange:function(e,t){return n("radiationIntensity",{value:t})}})}),(0,r.jsx)(i.Ki.Item,{label:"Duration",children:(0,r.jsx)(i.N6,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:a,popupPosition:"right",ml:"0",onChange:function(e,t){return n("radiationDuration",{value:t})}})})]}),(0,r.jsx)(i.$n,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-start",mt:"0.5rem",onClick:function(){return n("pulseRadiation")}})]})},g=function(){var e=(0,o.Oc)().data.buffers.map(function(e,n){return(0,r.jsx)(j,{id:n+1,name:"Buffer "+(n+1),buffer:e},n)});return(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{height:"75%",mt:1,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Buffers",children:e})}),(0,r.jsx)(i.BJ.Item,{height:"25%",children:(0,r.jsx)(b,{})})]})},j=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=e.id,c=e.name,s=e.buffer,u=l.isInjectorReady,d=c+(s.data?" - "+s.label:"");return(0,r.jsx)(i.az,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,r.jsxs)(i.wn,{title:d,mx:"0",lineHeight:"18px",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n.Confirm,{disabled:!s.data,icon:"trash",content:"Clear",onClick:function(){return t("bufferOption",{option:"clear",id:a})}}),(0,r.jsx)(i.$n,{disabled:!s.data,icon:"pen",content:"Rename",onClick:function(){return t("bufferOption",{option:"changeLabel",id:a})}}),(0,r.jsx)(i.$n,{disabled:!s.data||!l.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-start",onClick:function(){return t("bufferOption",{option:"saveDisk",id:a})}})]}),children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Write",children:[(0,r.jsx)(i.$n,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){return t("bufferOption",{option:"saveUI",id:a})}}),(0,r.jsx)(i.$n,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){return t("bufferOption",{option:"saveUIAndUE",id:a})}}),(0,r.jsx)(i.$n,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){return t("bufferOption",{option:"saveSE",id:a})}}),(0,r.jsx)(i.$n,{disabled:!l.hasDisk||!l.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){return t("bufferOption",{option:"loadDisk",id:a})}})]}),!!s.data&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Subject",children:s.owner||(0,r.jsx)(i.az,{color:"average",children:"Unknown"})}),(0,r.jsxs)(i.Ki.Item,{label:"Data Type",children:["ui"===s.type?"Unique Identifiers":"Structural Enzymes",!!s.ue&&" and Unique Enzymes"]}),(0,r.jsxs)(i.Ki.Item,{label:"Transfer to",children:[(0,r.jsx)(i.$n,{disabled:!u,icon:u?"syringe":"spinner",iconSpin:!u,content:"Injector",mb:"0",onClick:function(){return t("bufferOption",{option:"createInjector",id:a})}}),(0,r.jsx)(i.$n,{disabled:!u,icon:u?"syringe":"spinner",iconSpin:!u,content:"Block Injector",mb:"0",onClick:function(){return t("bufferOption",{option:"createInjector",id:a,block:1})}}),(0,r.jsx)(i.$n,{icon:"user",content:"Subject",mb:"0",onClick:function(){return t("bufferOption",{option:"transfer",id:a})}})]})]})]}),!s.data&&(0,r.jsx)(i.az,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},b=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.hasDisk,a=t.disk;return(0,r.jsx)(i.wn,{title:"Data Disk",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n.Confirm,{disabled:!l||!a.data,icon:"trash",content:"Wipe",onClick:function(){return n("wipeDisk")}}),(0,r.jsx)(i.$n,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return n("ejectDisk")}})]}),children:l?a.data?(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Label",children:a.label?a.label:"No label"}),(0,r.jsx)(i.Ki.Item,{label:"Subject",children:a.owner?a.owner:(0,r.jsx)(i.az,{color:"average",children:"Unknown"})}),(0,r.jsxs)(i.Ki.Item,{label:"Data Type",children:["ui"===a.type?"Unique Identifiers":"Structural Enzymes",!!a.ue&&" and Unique Enzymes"]})]}):(0,r.jsx)(i.az,{color:"label",children:"Disk is blank."}):(0,r.jsxs)(i.az,{color:"label",textAlign:"center",my:"1rem",children:[(0,r.jsx)(i.In,{name:"save-o",size:4}),(0,r.jsx)("br",{}),"No disk inserted."]})})},y=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.isBeakerLoaded,a=t.beakerVolume,c=t.beakerLabel;return(0,r.jsx)(i.wn,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,r.jsx)(i.$n,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return n("ejectBeaker")}}),children:l?(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Inject",children:[u.map(function(e,t){return(0,r.jsx)(i.$n,{disabled:e>a,icon:"syringe",content:e,onClick:function(){return n("injectRejuvenators",{amount:e})}},t)}),(0,r.jsx)(i.$n,{disabled:a<=0,icon:"syringe",content:"All",onClick:function(){return n("injectRejuvenators",{amount:a})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Beaker",children:[(0,r.jsx)(i.az,{mb:"0.5rem",children:c||"No label"}),a?(0,r.jsxs)(i.az,{color:"good",children:[a," unit",1===a?"":"s"," remaining"]}):(0,r.jsx)(i.az,{color:"bad",children:"Empty"})]})]}):(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,align:"center",justify:"center",children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.In.Stack,{children:[(0,r.jsx)(i.In,{name:"flask",size:5,color:"silver"}),(0,r.jsx)(i.In,{name:"slash",size:5,color:"red"})]})}),(0,r.jsx)(i.BJ.Item,{bold:!0,color:"label",mb:"2rem",children:(0,r.jsx)("h3",{children:"No Beaker Loaded"})})]})})},v=function(e){var n=e.duration;return(0,r.jsxs)(i.Rr,{textAlign:"center",children:[(0,r.jsx)(i.In,{name:"spinner",size:5,spin:!0}),(0,r.jsx)("br",{}),(0,r.jsx)(i.az,{color:"average",children:(0,r.jsxs)("h1",{children:[(0,r.jsx)(i.In,{name:"radiation"}),"\xa0Irradiating occupant\xa0",(0,r.jsx)(i.In,{name:"radiation"})]})}),(0,r.jsx)(i.az,{color:"label",children:(0,r.jsxs)("h3",{children:["For ",n," second",1===n?"":"s"]})})]})},w=function(e){for(var n=function(e){for(var n=e/s+1,o=[],l=0;ls});var r=t(8138),i=t(7790),o=t(2864),l=t(3384);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tm});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(5490),c=t(4530),s=(0,c.createContext)({categoryStyles:[],removalMode:null}),u=function(e){var n=e.decal_typepath,t=e.direction,o=e.isSelected,l=e.onSelect,c="".concat(n.replace(/\//g,"_"),"_").concat(t);return(0,r.jsx)(i.az,{m:"2px",className:(0,a.Ly)(["decal_painter32x32",c]),onClick:l,style:{outlineStyle:o&&"solid"||"none",outlineWidth:"2px",outlineColor:"orange"}})},d=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.selectedCategory,a=t.categories;return(0,r.jsx)(i.BJ,{vertical:!0,children:(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.tU,{children:a.map(function(e){return(0,r.jsx)(i.tU.Tab,{selected:e==l,onClick:function(){return n("set_category",{category:e})},children:e})})})})})},f=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.selectedDecalType,a=t.removalMode,d=(0,c.useContext)(s).categoryStyles;return(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.az,{children:(0,r.jsx)(i.so,{wrap:"wrap",children:d.map(function(e){return(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(u,{decal_typepath:e.typepath,direction:2,isSelected:l===e.typepath&&!a,onSelect:function(){return n("set_decal_type",{decal_type:e.typepath})}})},e.typepath)})})})})},h=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.selectedDecalType,a=t.selectedDir,c=t.removalMode;return(0,r.jsx)(i.XI,{style:{display:"inline"},children:[1,0,2].map(function(e){return(0,r.jsx)(i.XI.Row,{children:[e+8,e,e+4].map(function(e){return(0,r.jsx)(i.XI.Cell,{style:{verticalAlign:"middle",textAlign:"center"},children:0===e?(0,r.jsx)(i.In,{name:"arrows-alt",size:3}):(0,r.jsx)(u,{decal_typepath:l,direction:e,isSelected:e===a&&!c,onSelect:function(){return n("set_direction",{direction:e})}})},e)})},e)})})},m=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,a=t.availableStyles,c=t.removalMode,u=a[t.selectedCategory];return(0,r.jsx)(l.p8,{width:650,height:565,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(s.Provider,{value:{categoryStyles:u,removalMode:c},children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{title:"Preview",children:[(0,r.jsx)(h,{}),(0,r.jsx)(i.$n,{icon:"eraser",color:c?"green":"transparent",onClick:function(){return n("toggle_removal_mode")},children:"Remove decals"})]})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{title:"Decals",children:[(0,r.jsx)(d,{}),(0,r.jsx)(f,{})]})})]})})})})}},3883:function(e,n,t){"use strict";t.r(n),t.d(n,{DestinationTagger:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t=(0,o.Oc)(),a=t.act,c=t.data,s=c.destinations,u=c.selected_destination_id,d=s[u-1];return(0,r.jsx)(l.p8,{width:355,height:330,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,textAlign:"center",title:"TagMaster 3.1",children:[(0,r.jsxs)(i.az,{width:"100%",textAlign:"center",children:[(0,r.jsx)(i.az,{color:"label",inline:!0,children:"Selected:"})," ",null!=(n=d.name)?n:"None"]}),(0,r.jsx)(i.az,{mt:1.5,children:(0,r.jsx)(i.BJ,{overflowY:"auto",wrap:"wrap",align:"center",justify:"space-evenly",direction:"row",children:s.map(function(e,n){return(0,r.jsx)(i.BJ.Item,{m:"2px",children:(0,r.jsx)(i.$n,{color:"transparent",width:"105px",textAlign:"center",content:e.name,selected:e.id===u,onClick:function(){return a("select_destination",{destination:e.id})}})},n)})})})]})})})})}},6381:function(e,n,t){"use strict";t.r(n),t.d(n,{DisposalBin:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t,a=(0,o.Oc)(),c=a.act,s=a.data;return 2===s.mode?(n="good",t="Ready"):s.mode<=0?(n="bad",t="N/A"):1===s.mode?(n="average",t="Pressurizing"):(n="average",t="Idle"),(0,r.jsx)(l.p8,{width:300,height:260,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Status",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"State",color:n,children:t}),(0,r.jsx)(i.Ki.Item,{label:"Pressure",children:(0,r.jsx)(i.z2,{ranges:{bad:[-1/0,0],average:[0,99],good:[99,1/0]},value:s.pressure,minValue:0,maxValue:100})})]})}),(0,r.jsx)(i.wn,{title:"Controls",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Handle",children:[(0,r.jsx)(i.$n,{icon:"toggle-off",disabled:s.isAI||s.panel_open,content:"Disengaged",selected:!s.flushing,onClick:function(){return c("disengageHandle")}}),(0,r.jsx)(i.$n,{icon:"toggle-on",disabled:s.isAI||s.panel_open,content:"Engaged",selected:s.flushing,onClick:function(){return c("engageHandle")}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Power",children:[(0,r.jsx)(i.$n,{icon:"toggle-off",disabled:-1===s.mode,content:"Off",selected:!s.mode,onClick:function(){return c("pumpOff")}}),(0,r.jsx)(i.$n,{icon:"toggle-on",disabled:-1===s.mode,content:"On",selected:s.mode,onClick:function(){return c("pumpOn")}})]}),(0,r.jsx)(i.Ki.Item,{label:"Eject",children:(0,r.jsx)(i.$n,{icon:"sign-out-alt",disabled:s.isAI,content:"Eject Contents",onClick:function(){return c("eject")}})})]})})]})})}},2908:function(e,n,t){"use strict";t.r(n),t.d(n,{DnaVault:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(7946),a=t(3384),c=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).completed;return(0,r.jsx)(a.p8,{width:350,height:270,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(s,{}),!!t&&(0,r.jsx)(u,{})]})})})},s=function(e){var n=(0,o.Oc)(),t=(n.act,n.data),l=t.dna,a=t.dna_max,c=t.plants,s=t.plants_max,u=t.animals,d=t.animals_max;return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,title:"DNA Vault Database",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Human DNA",children:(0,r.jsx)(i.z2,{value:l/a,ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},children:l+" / "+a+" Samples"})}),(0,r.jsx)(i.Ki.Item,{label:"Plant DNA",children:(0,r.jsx)(i.z2,{value:c/s,ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},children:c+" / "+s+" Samples"})}),(0,r.jsx)(i.Ki.Item,{label:"Animal DNA",children:(0,r.jsx)(i.z2,{value:u/d,ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},children:u+" / "+d+" Samples"})})]})})})},u=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.choiceA,s=a.choiceB,u=a.used;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{fill:!0,title:"Personal Gene Therapy",children:[(0,r.jsx)(i.az,{bold:!0,textAlign:"center",mb:1,children:"Applicable Gene Therapy Treatments"}),!u&&(0,r.jsxs)(l.xA,{children:[(0,r.jsx)(l.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,bold:!0,content:c,textAlign:"center",onClick:function(){return t("gene",{choice:c})}})}),(0,r.jsx)(l.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,bold:!0,content:s,textAlign:"center",onClick:function(){return t("gene",{choice:s})}})})]})||(0,r.jsx)(i.az,{bold:!0,textAlign:"center",mb:1,children:"Users DNA deemed unstable. Unable to provide more upgrades."})]})})}},2480:function(e,n,t){"use strict";t.r(n),t.d(n,{DroneConsole:()=>c});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=function(e){return(0,r.jsx)(a.p8,{width:420,height:500,children:(0,r.jsxs)(a.p8.Content,{scrollable:!0,children:[(0,r.jsx)(s,{}),(0,r.jsx)(u,{})]})})},s=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.drone_fab,c=o.fab_power,s=o.drone_prod,u=o.drone_progress;return(0,r.jsx)(i.wn,{title:"Drone Fabricator",buttons:(0,r.jsx)(i.$n,{icon:"power-off",content:s?"Online":"Offline",color:s?"green":"red",onClick:function(){return t("toggle_fab")}}),children:a?(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"External Power",children:(0,r.jsxs)(i.az,{color:c?"good":"bad",children:["[ ",c?"Online":"Offline"," ]"]})}),(0,r.jsx)(i.Ki.Item,{label:"Drone Production",children:(0,r.jsx)(i.z2,{value:u/100,ranges:{good:[.7,1/0],average:[.4,.7],bad:[-1/0,.4]}})})]}):(0,r.jsx)(i.IC,{textAlign:"center",danger:1,children:(0,r.jsxs)(i.so,{inline:1,direction:"column",children:[(0,r.jsx)(i.so.Item,{children:"FABRICATOR NOT DETECTED."}),(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.$n,{icon:"search",content:"Search",onClick:function(){return t("find_fab")}})})]})})})},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=a.drones,s=a.area_list,u=a.selected_area,d=a.ping_cd,f=function(e,n){var t,o;return 2===e?(t="bad",o="Disabled"):1!==e&&n?(t="good",o="Active"):(t="average",o="Inactive"),(0,r.jsx)(i.az,{color:t,children:o})};return(0,r.jsxs)(i.wn,{title:"Maintenance Units",children:[(0,r.jsxs)(i.so,{children:[(0,r.jsx)(i.so.Item,{children:"Request Drone presence in area:\xa0"}),(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.ms,{options:s,selected:u,width:"125px",onSelected:function(e){return t("set_area",{area:e})}})})]}),(0,r.jsx)(i.$n,{content:"Send Ping",icon:"broadcast-tower",disabled:d||!c.length,title:c.length?null:"No active drones!",fluid:!0,textAlign:"center",py:.4,mt:.6,onClick:function(){return t("ping")}}),(0,r.jsx)(function(){if(c.length)return(0,r.jsx)(i.az,{py:.2,children:(0,r.jsx)(i.cG,{})})},{}),c.map(function(e){return(0,r.jsx)(i.wn,{title:(0,o.Sn)(e.name),buttons:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"sync",content:"Resync",disabled:2===e.stat||e.sync_cd,onClick:function(){return t("resync",{uid:e.uid})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n.Confirm,{icon:"power-off",content:"Recall",disabled:2===e.stat||e.pathfinding,tooltip:e.pathfinding?"This drone is currently pathfinding, please wait.":null,tooltipPosition:"left",color:"bad",onClick:function(){return t("recall",{uid:e.uid})}})})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:f(e.stat,e.client)}),(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:(0,r.jsx)(i.z2,{value:e.health,ranges:{good:[.7,1/0],average:[.4,.7],bad:[-1/0,.4]}})}),(0,r.jsx)(i.Ki.Item,{label:"Charge",children:(0,r.jsx)(i.z2,{value:e.charge,ranges:{good:[.7,1/0],average:[.4,.7],bad:[-1/0,.4]}})}),(0,r.jsx)(i.Ki.Item,{label:"Location",children:e.location})]})},e.name)})]})}},1654:function(e,n,t){"use strict";t.r(n),t.d(n,{EFTPOS:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tf,ERTOverview:()=>h});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tj?"red":"green",children:[g," total, versus ",j," spawnpoints"]})}),(0,r.jsx)(o.Ki.Item,{label:"Dispatch",children:(0,r.jsx)(o.$n,{width:10.5,textAlign:"center",icon:"ambulance",onClick:function(){return n("dispatch_ert",{silent:v})},children:"Send ERT"})})]})})})},p=function(){var e=(0,a.Oc)(),n=e.act,t=e.data.ert_request_messages;return(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.wn,{fill:!0,children:t&&t.length?t.map(function(e){return(0,r.jsx)(o.wn,{title:e.time,buttons:(0,r.jsx)(o.$n,{onClick:function(){return n("view_player_panel",{uid:e.sender_uid})},tooltip:"View player panel",children:e.sender_real_name}),children:e.message},(0,l.jT)(e.time))}):(0,r.jsx)(o.BJ,{fill:!0,children:(0,r.jsxs)(o.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,r.jsxs)(o.In.Stack,{children:[(0,r.jsx)(o.In,{name:"broadcast-tower",size:5,color:"gray"}),(0,r.jsx)(o.In,{name:"slash",size:5,color:"red"})]}),(0,r.jsx)("br",{}),"No ERT requests."]})})})})},x=function(){var e=(0,a.Oc)().act,n=u((0,i.useState)(""),2),t=n[0],l=n[1];return(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsxs)(o.wn,{fill:!0,children:[(0,r.jsx)(o.fs,{placeholder:"Enter ERT denial reason here. Shift-Enter to add a new line.",fluid:!0,height:24,value:t,onChange:function(e){return l(e)}}),(0,r.jsx)(o.$n.Confirm,{fluid:!0,icon:"times",mt:2,textAlign:"center",onClick:function(){return e("deny_ert",{reason:t})},children:"Deny ERT"})]})})}},9644:function(e,n,t){"use strict";t.r(n),t.d(n,{EconomyManager:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4744),c=function(e){return(0,r.jsxs)(l.p8,{width:600,height:325,children:[(0,r.jsx)(a.ComplexModal,{}),(0,r.jsx)(l.p8.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,r.jsx)(s,{})})]})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.next_payroll_time;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.wn,{children:[(0,r.jsxs)(i.az,{fontSize:"1.4rem",bold:!0,children:[(0,r.jsx)(i.In,{name:"coins",verticalAlign:"middle",size:3,mr:"1rem"}),"Economy Manager"]}),(0,r.jsx)("br",{}),(0,r.jsxs)(i.Ki,{label:"Pay Bonuses and Deductions",children:[(0,r.jsx)(i.Ki.Item,{label:"Global",children:(0,r.jsx)(i.$n,{icon:"dollar-sign",width:"auto",content:"Global Payroll Modification",onClick:function(){return t("payroll_modification",{mod_type:"global"})}})}),(0,r.jsx)(i.Ki.Item,{label:"Department Accounts",children:(0,r.jsx)(i.$n,{icon:"dollar-sign",width:"auto",content:"Department Account Payroll Modification",onClick:function(){return t("payroll_modification",{mod_type:"department"})}})}),(0,r.jsx)(i.Ki.Item,{label:"Department Members",children:(0,r.jsx)(i.$n,{icon:"dollar-sign",width:"auto",content:"Department Members Payroll Modification",onClick:function(){return t("payroll_modification",{mod_type:"department_members"})}})}),(0,r.jsx)(i.Ki.Item,{label:"Single Accounts",children:(0,r.jsx)(i.$n,{icon:"dollar-sign",width:"auto",content:"Crew Member Payroll Modification",onClick:function(){return t("payroll_modification",{mod_type:"crew_member"})}})})]}),(0,r.jsx)("hr",{}),(0,r.jsxs)(i.az,{mb:.5,children:["Next Payroll in: ",l," Minutes"]}),(0,r.jsx)(i.$n,{icon:"angle-double-left",width:"auto",color:"bad",content:"Delay Payroll",onClick:function(){return t("delay_payroll")}}),(0,r.jsx)(i.$n,{width:"auto",content:"Set Payroll Time",onClick:function(){return t("set_payroll")}}),(0,r.jsx)(i.$n,{icon:"angle-double-right",width:"auto",color:"good",content:"Accelerate Payroll",onClick:function(){return t("accelerate_payroll")}})]}),(0,r.jsxs)(i.IC,{children:[(0,r.jsx)("b",{children:"WARNING:"})," You take full responsibility for unbalancing the economy with these buttons!"]})]})}},6426:function(e,n,t){"use strict";t.r(n),t.d(n,{Electropack:()=>c});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,s=c.power,u=c.code,d=c.frequency,f=c.minFrequency,h=c.maxFrequency;return(0,r.jsx)(a.p8,{width:360,height:135,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:s?"power-off":"times",content:s?"On":"Off",selected:s,onClick:function(){return t("power")}})}),(0,r.jsx)(i.Ki.Item,{label:"Frequency",buttons:(0,r.jsx)(i.$n,{icon:"sync",content:"Reset",onClick:function(){return t("reset",{reset:"freq"})}}),children:(0,r.jsx)(i.Q7,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:f/10,maxValue:h/10,value:d/10,format:function(e){return(0,o.Mg)(e,1)},width:"80px",onChange:function(e){return t("freq",{freq:e})}})}),(0,r.jsx)(i.Ki.Item,{label:"Code",buttons:(0,r.jsx)(i.$n,{icon:"sync",content:"Reset",onClick:function(){return t("reset",{reset:"code"})}}),children:(0,r.jsx)(i.Q7,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:u,width:"80px",onChange:function(e){return t("code",{code:e})}})})]})})})})}},9480:function(e,n,t){"use strict";t.r(n),t.d(n,{Emojipedia:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(5490),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tf});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(3268),c=t(2864),s=t(3384);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"";return e&&0!==e.length?(e=(0,i.pb)(e,function(e){return!!(null==e?void 0:e.name)}),n&&(e=(0,i.pb)(e,(0,a.XZ)(n,function(e){return e.name+"|"+e.description}))),(0,i.Ul)(e,function(e){return null==e?void 0:e.name})):[]},C=function(e){if(y(e),""===e)return k(x.abilities);k(_(f.map(function(e){return e.abilities}).flat(),e))},I=function(e){g(e),k(e.abilities),y("")};return(0,r.jsx)(l.BJ.Item,{grow:!0,children:(0,r.jsxs)(l.wn,{fill:!0,scrollable:!0,title:"Abilities",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.pd,{width:"200px",placeholder:"Search Abilities",onChange:function(e){C(e)},value:b}),(0,r.jsx)(l.$n,{icon:m?"square-o":"check-square-o",selected:!m,content:"Compact",onClick:function(){return t("set_view_mode",{mode:0})}}),(0,r.jsx)(l.$n,{icon:m?"check-square-o":"square-o",selected:m,content:"Expanded",onClick:function(){return t("set_view_mode",{mode:1})}})]}),children:[(0,r.jsx)(l.tU,{children:f.map(function(e){return(0,r.jsx)(l.tU.Tab,{selected:""===b&&x===e,onClick:function(){I(e)},children:e.category},e)})}),w.map(function(e,n){return(0,r.jsxs)(l.az,{p:.5,mx:-1,className:"candystripe",children:[(0,r.jsxs)(l.BJ,{align:"center",children:[(0,r.jsx)(l.BJ.Item,{ml:.5,color:"#dedede",children:e.name}),h.includes(e.power_path)&&(0,r.jsx)(l.BJ.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,r.jsxs)(l.BJ.Item,{mr:3,textAlign:"right",grow:1,children:[(0,r.jsxs)(l.az,{as:"span",color:"label",children:["Cost:"," "]}),(0,r.jsx)(l.az,{as:"span",bold:!0,color:"#1b945c",children:e.cost})]}),(0,r.jsx)(l.BJ.Item,{textAlign:"right",children:(0,r.jsx)(l.$n,{mr:.5,disabled:e.cost>u||h.includes(e.power_path),content:"Evolve",onClick:function(){return t("purchase",{power_path:e.power_path})}})})]}),!!m&&(0,r.jsx)(l.BJ,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:e.description+" "+e.helptext})]},n)})]})})}},6251:function(e,n,t){"use strict";t.r(n),t.d(n,{ExosuitFabricator:()=>h});var r=t(8138),i=t(4530),o=t(7790),l=t(5490),a=t(3268),c=t(2864),s=t(7946),u=t(3384);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&(0,r.jsx)(o.$n,{icon:"arrow-up",onClick:function(){return t("queueswap",{from:n+1,to:n})}}),n0&&(0,r.jsxs)(o.BJ.Item,{className:"Exofab__queue--time",children:[(0,r.jsx)(o.cG,{}),"Processing time:",(0,r.jsx)(o.In,{name:"clock",mx:"0.5rem"}),(0,r.jsx)(o.az,{inline:!0,bold:!0,children:new Date(u/10*1e3).toISOString().substr(14,5)})]}),Object.keys(s).length>0&&(0,r.jsxs)(o.BJ.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,r.jsx)(o.cG,{}),"Lacking materials to complete:",s.map(function(e){return(0,r.jsx)(o.az,{children:(0,r.jsx)(j,{id:e[0],amount:-e[1],lineDisplay:!0})},e[0])})]})]})})})},j=function(e){var n,t,i=(0,c.Oc)(),a=(i.act,i.data),s=e.id,u=e.amount,d=e.lineDisplay,f=e.onClick,h=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["id","amount","lineDisplay","onClick"]),m=a.materials[s]||0,p=u||m;if(!(p<=0)||"metal"===s||"glass"===s)return(0,r.jsx)(o.BJ,(n=function(e){for(var n=1;nm&&"bad",ml:0,mr:1,children:p.toLocaleString("en-US")})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.BJ.Item,{basis:"content",children:(0,r.jsx)(o.$n,{width:"85%",color:"transparent",onClick:f,children:(0,r.jsx)(o.az,{mt:1,className:(0,l.Ly)(["materials32x32",s])})})}),(0,r.jsxs)(o.BJ.Item,{grow:"1",children:[(0,r.jsx)(o.az,{className:"Exofab__material--name",children:s}),(0,r.jsxs)(o.az,{className:"Exofab__material--amount",children:[p.toLocaleString("en-US")," cm\xb3 (",Math.round(p/2e3*10)/10," ","sheets)"]})]})]})},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))},b=function(e){var n=(0,c.Oc)(),t=n.act,i=n.data,l=e.design;return(0,r.jsxs)(o.az,{className:"Exofab__design",children:[(0,r.jsx)(o.$n,{disabled:l.notEnough||i.building,icon:"cog",content:l.name,onClick:function(){return t("build",{id:l.id})}}),(0,r.jsx)(o.$n,{icon:"plus-circle",onClick:function(){return t("queue",{id:l.id})}}),(0,r.jsx)(o.az,{className:"Exofab__design--cost",children:Object.entries(l.cost).map(function(e){return(0,r.jsx)(o.az,{children:(0,r.jsx)(j,{id:e[0],amount:e[1],lineDisplay:!0})},e[0])})}),(0,r.jsx)(o.BJ,{className:"Exofab__design--time",children:(0,r.jsxs)(o.BJ.Item,{children:[(0,r.jsx)(o.In,{name:"clock"}),l.time>0?(0,r.jsxs)(r.Fragment,{children:[l.time/10," seconds"]}):"Instant"]})})]})},y=function(e){var n=(0,c.Oc)(),t=n.act,i=n.data.controllers;return(0,r.jsx)(u.p8,{children:(0,r.jsx)(u.p8.Content,{children:(0,r.jsx)(o.wn,{title:"Setup Linkage",children:(0,r.jsxs)(o.XI,{m:"0.5rem",children:[(0,r.jsxs)(o.XI.Row,{header:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"Network Address"}),(0,r.jsx)(o.XI.Cell,{children:"Network ID"}),(0,r.jsx)(o.XI.Cell,{children:"Link"})]}),i.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.addr}),(0,r.jsx)(o.XI.Cell,{children:e.net_id}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.$n,{content:"Link",icon:"link",onClick:function(){return t("linktonetworkcontroller",{target_controller:e.addr})}})})]},e.addr)})]})})})})},v=function(e){var n=(0,c.Oc)(),t=(n.act,n.data).tech_levels,i=e.showLevelsModal,l=e.setShowLevelsModal;return i?(0,r.jsx)(o.aF,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:.75*window.innerHeight+"px",mx:"auto",children:(0,r.jsx)(o.wn,{title:"Current tech levels",buttons:(0,r.jsx)(o.$n,{content:"Close",onClick:function(){l(!1)}}),children:(0,r.jsx)(o.Ki,{children:t.map(function(e){var n=e.name,t=e.level;return(0,r.jsx)(o.Ki.Item,{label:n,children:t},n)})})})}):null}},9621:function(e,n,t){"use strict";t.r(n),t.d(n,{ExperimentConsole:()=>s});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=new Map([[0,{text:"Conscious",color:"good"}],[1,{text:"Unconscious",color:"average"}],[2,{text:"Deceased",color:"bad"}]]),c=new Map([[0,{label:"Probe",icon:"thermometer"}],[1,{label:"Dissect",icon:"brain"}],[2,{label:"Analyze",icon:"search"}]]),s=function(e){var n=(0,o.Oc)(),t=n.act,s=n.data,u=s.open,d=s.feedback,f=s.occupant,h=s.occupant_name,m=s.occupant_status,p=function(){if(!f)return(0,r.jsx)(i.IC,{children:"No specimen detected."});var e=a.get(m);return(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:h}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:e.color,children:e.text}),(0,r.jsx)(i.Ki.Item,{label:"Experiments",children:[0,1,2].map(function(e){return(0,r.jsx)(i.$n,{icon:c.get(e).icon,content:c.get(e).label,onClick:function(){return t("experiment",{experiment_type:e})}},e)})})]})}();return(0,r.jsx)(l.p8,{theme:"abductor",width:350,height:200,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Status",children:d})})}),(0,r.jsx)(i.wn,{title:"Scanner",buttons:(0,r.jsx)(i.$n,{icon:"eject",content:"Eject",disabled:!u,onClick:function(){return t("door")}}),children:p})]})})}},5091:function(e,n,t){"use strict";t.r(n),t.d(n,{ExternalAirlockController:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n="good";return e<80?n="bad":e<95||e>110?n="average":e>120&&(n="bad"),n},c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.chamber_pressure,u=(c.exterior_status,c.interior_status),d=c.processing;return(0,r.jsx)(l.p8,{width:330,height:205,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Information",children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Chamber Pressure",children:(0,r.jsxs)(i.z2,{color:a(s),value:s,minValue:0,maxValue:1013,children:[s," kPa"]})})})}),(0,r.jsxs)(i.wn,{title:"Actions",buttons:(0,r.jsx)(i.$n,{content:"Abort",icon:"ban",color:"red",disabled:!d,onClick:function(){return t("abort")}}),children:[(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{width:"49%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:d,onClick:function(){return t("cycle_ext")}}),(0,r.jsx)(i.$n,{width:"50%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:d,onClick:function(){return t("cycle_int")}})]}),(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{width:"49%",content:"Force Exterior Door",icon:"exclamation-triangle",color:"open"===u?"red":d?"yellow":null,onClick:function(){return t("force_ext")}}),(0,r.jsx)(i.$n,{width:"50%",content:"Force Interior Door",icon:"exclamation-triangle",color:"open"===u?"red":d?"yellow":null,onClick:function(){return t("force_int")}})]})]})]})})}},6325:function(e,n,t){"use strict";t.r(n),t.d(n,{FaxMachine:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;return(0,r.jsx)(l.p8,{width:540,height:295,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Authorization",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"ID Card",children:(0,r.jsx)(i.$n,{icon:a.scan_name?"eject":"id-card",selected:a.scan_name,content:a.scan_name?a.scan_name:"-----",tooltip:a.scan_name?"Eject ID":"Insert ID",onClick:function(){return t("scan")}})}),(0,r.jsx)(i.Ki.Item,{label:"Authorize",children:(0,r.jsx)(i.$n,{icon:a.authenticated?"sign-out-alt":"id-card",selected:a.authenticated,disabled:a.nologin,content:a.realauth?"Log Out":"Log In",onClick:function(){return t("auth")}})})]})}),(0,r.jsx)(i.wn,{title:"Fax Menu",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Network",children:a.network}),(0,r.jsxs)(i.Ki.Item,{label:"Document",children:[(0,r.jsx)(i.$n,{icon:a.paper?"eject":"paperclip",disabled:!a.authenticated&&!a.paper,content:a.paper?a.paper:"-----",onClick:function(){return t("paper")}}),!!a.paper&&(0,r.jsx)(i.$n,{icon:"pencil-alt",content:"Rename",onClick:function(){return t("rename")}})]}),(0,r.jsx)(i.Ki.Item,{label:"Sending To",children:(0,r.jsx)(i.$n,{icon:"print",content:a.destination?a.destination:"-----",disabled:!a.authenticated,onClick:function(){return t("dept")}})}),(0,r.jsx)(i.Ki.Item,{label:"Action",children:(0,r.jsx)(i.$n,{icon:"envelope",content:a.sendError?a.sendError:"Send",disabled:!a.paper||!a.destination||!a.authenticated||a.sendError,onClick:function(){return t("send")}})})]})})]})})}},9788:function(e,n,t){"use strict";t.r(n),t.d(n,{FilingCabinet:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=n.config,s=a.contents,u=c.title;return(0,r.jsx)(l.p8,{width:400,height:300,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Contents",children:[!s&&(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,r.jsxs)(i.In.Stack,{children:[(0,r.jsx)(i.In,{name:"folder-open",size:5,color:"gray"}),(0,r.jsx)(i.In,{name:"slash",size:5,color:"red"})]}),(0,r.jsx)("br",{}),"The ",u," is empty."]})}),!!s&&s.slice().map(function(e){return(0,r.jsxs)(i.BJ,{mt:.5,className:"candystripe",children:[(0,r.jsx)(i.BJ.Item,{width:"80%",children:e.display_name}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"arrow-down",content:"Retrieve",onClick:function(){return t("retrieve",{index:e.index})}})})]},e)})]})})})})}},26:function(e,n,t){"use strict";t.r(n),t.d(n,{FloorPainter:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=(n.act,n.data),l=e.icon_state,a=e.direction,c=e.isSelected,s=e.onSelect;return(0,r.jsx)(i.Hg,{icon:t.icon,icon_state:l,direction:a,onClick:s,style:{borderStyle:c&&"solid"||"none",borderWidth:"2px",borderColor:"orange",padding:c&&"0px"||"2px"}})},c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.availableStyles,u=c.selectedStyle,d=c.selectedDir,f=c.wideMode;return(0,r.jsx)(l.p8,{width:405,height:475,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.wn,{title:"Floor setup",children:[(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"chevron-left",onClick:function(){return t("cycle_style",{offset:-1})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.ms,{options:s,selected:u,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(e){return t("select_style",{style:e})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"chevron-right",onClick:function(){return t("cycle_style",{offset:1})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"eraser",color:f?"green":"transparent",onClick:function(){return t("wide_mode")},children:"Wide mode"})})]}),(0,r.jsx)(i.az,{mt:"5px",mb:"5px",children:(0,r.jsx)(i.so,{overflowY:"auto",maxHeight:"239px",wrap:"wrap",children:s.map(function(e){return(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(a,{icon_state:e,isSelected:u===e,onSelect:function(){return t("select_style",{style:e})}})},e)})})}),(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Direction",children:(0,r.jsx)(i.XI,{style:{display:"inline"},children:[1,null,2].map(function(e){return(0,r.jsx)(i.XI.Row,{children:[e+8,e,e+4].map(function(e){return(0,r.jsx)(i.XI.Cell,{style:{verticalAlign:"middle",textAlign:"center"},children:null===e?(0,r.jsx)(i.In,{name:"arrows-alt",size:3}):(0,r.jsx)(a,{icon_state:u,direction:e,isSelected:e===d,onSelect:function(){return t("select_direction",{direction:e})}})},e)})},e)})})})})]})})})}},1561:function(e,n,t){"use strict";t.r(n),t.d(n,{GPS:()=>h});var r=t(8138),i=t(4530),o=t(7790),l=t(6859),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?"arrow-right":"circle",rotation:-e.angle}),"\xa0",Math.floor(e.distance)+"m"]}),void 0!==e.due&&(0,r.jsxs)(o.az,{children:[(0,r.jsx)(o.In,{name:"arrow-up",rotation:e.due}),"\xa0--"]})]}),(0,r.jsx)(o.XI.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:d(e.position)})]},n)})})},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))}},1259:function(e,n,t){"use strict";t.r(n),t.d(n,{GeneModder:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4744),c=function(e){var n=(0,o.Oc)().data.has_seed;return(0,r.jsxs)(l.p8,{width:950,height:650,children:[(0,r.jsx)("div",{className:"GeneModder__left",children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(x,{scrollable:!0})})}),(0,r.jsx)("div",{className:"GeneModder__right",children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,scrollable:!0,children:[(0,r.jsx)(d,{}),(0,r.jsx)(a.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),0===n?(0,r.jsx)(u,{}):(0,r.jsx)(s,{})]})})})]})},s=function(e){var n=(0,o.Oc)();return(n.act,n.data).disk,(0,r.jsxs)(i.wn,{title:"Genes",fill:!0,scrollable:!0,children:[(0,r.jsx)(f,{}),(0,r.jsx)(h,{}),(0,r.jsx)(m,{})]})},u=function(e){return(0,r.jsx)(i.wn,{fill:!0,height:"85%",children:(0,r.jsx)(i.BJ,{height:"100%",children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,r.jsx)(i.In,{name:"leaf",size:5,mb:"10px"}),(0,r.jsx)("br",{}),"The plant DNA manipulator is missing a seed."]})})})},d=function(e){var n,t,l=(0,o.Oc)(),a=l.act,c=l.data,s=c.has_seed,u=c.seed,d=c.has_disk,f=c.disk;return n=s?(0,r.jsxs)(i.BJ.Item,{mb:"-6px",mt:"-4px",children:[(0,r.jsx)("img",{src:"data:image/jpeg;base64,".concat(u.image),style:{verticalAlign:"middle",width:"32px",margin:"-1px",marginLeft:"-11px"}}),(0,r.jsx)(i.$n,{content:u.name,onClick:function(){return a("eject_seed")}}),(0,r.jsx)(i.$n,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){return a("variant_name")}})]}):(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{ml:3.3,content:"None",onClick:function(){return a("eject_seed")}})}),t=d?f.name:"None",(0,r.jsx)(i.wn,{title:"Storage",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Plant Sample",children:n}),(0,r.jsx)(i.Ki.Item,{label:"Data Disk",children:(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{ml:3.3,content:t,tooltip:"Select Empty Disk",onClick:function(){return a("select_empty_disk")}})})})]})})},f=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.disk,c=l.core_genes;return(0,r.jsxs)(i.Nt,{title:"Core Genes",open:!0,children:[c.map(function(e){return(0,r.jsxs)(i.BJ,{py:"2px",className:"candystripe",children:[(0,r.jsx)(i.BJ.Item,{width:"100%",ml:"2px",children:e.name}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Extract",disabled:!(null==a?void 0:a.can_extract),icon:"save",onClick:function(){return t("extract",{id:e.id})}})})]},e)})," ",(0,r.jsx)(i.BJ,{children:(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Extract All",disabled:!(null==a?void 0:a.can_extract),icon:"save",onClick:function(){return t("bulk_extract_core")}})})})]},"Core Genes")},h=function(e){var n=(0,o.Oc)().data,t=n.reagent_genes,i=n.has_reagent;return(0,r.jsx)(p,{title:"Reagent Genes",gene_set:t,do_we_show:i})},m=function(e){var n=(0,o.Oc)().data,t=n.trait_genes,i=n.has_trait;return(0,r.jsx)(p,{title:"Trait Genes",gene_set:t,do_we_show:i})},p=function(e){var n=e.title,t=e.gene_set,l=e.do_we_show,a=(0,o.Oc)(),c=a.act,s=a.data.disk;return(0,r.jsx)(i.Nt,{title:n,open:!0,children:l?t.map(function(e){return(0,r.jsxs)(i.BJ,{py:"2px",className:"candystripe",children:[(0,r.jsx)(i.BJ.Item,{width:"100%",ml:"2px",children:e.name}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Extract",disabled:!(null==s?void 0:s.can_extract),icon:"save",onClick:function(){return c("extract",{id:e.id})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{content:"Remove",icon:"times",onClick:function(){return c("remove",{id:e.id})}})})]},e)}):(0,r.jsx)(i.BJ.Item,{children:"No Genes Detected"})},n)},x=function(e){e.title,e.gene_set,e.do_we_show;var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.has_seed,c=l.empty_disks,s=l.stat_disks,u=l.trait_disks,d=l.reagent_disks;return(0,r.jsxs)(i.wn,{title:"Disks",children:[(0,r.jsx)("br",{}),"Empty Disks: ",c,(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{width:12,icon:"arrow-down",tooltip:"Eject an Empty disk",content:"Eject Empty Disk",onClick:function(){return t("eject_empty_disk")}}),(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.wn,{title:"Stats",children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,scrollable:!0,children:[s.slice().sort(function(e,n){return e.display_name.localeCompare(n.display_name)}).map(function(e){return(0,r.jsxs)(i.BJ,{mr:2,children:[(0,r.jsx)(i.BJ.Item,{width:"49%",children:e.display_name}),(0,r.jsxs)(i.BJ.Item,{width:25,children:["All"===e.stat?(0,r.jsx)(i.$n,{content:"Replace All",tooltip:"Write disk stats to seed",disabled:!(null==e?void 0:e.ready)||!a,icon:"arrow-circle-down",onClick:function(){return t("bulk_replace_core",{index:e.index})}}):(0,r.jsx)(i.$n,{width:6,icon:"arrow-circle-down",tooltip:"Write disk stat to seed",disabled:!e||!a,content:"Replace",onClick:function(){return t("replace",{index:e.index,stat:e.stat})}}),(0,r.jsx)(i.$n,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){return t("select",{index:e.index})}}),(0,r.jsx)(i.$n,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){return t("eject_disk",{index:e.index})}}),(0,r.jsx)(i.$n,{width:2,icon:e.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){return t("set_read_only",{index:e.index,read_only:e.read_only})}})]})]},e)}),(0,r.jsx)(i.$n,{})]})}),(0,r.jsx)(i.wn,{title:"Traits",children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,scrollable:!0,children:[u.slice().sort(function(e,n){return e.display_name.localeCompare(n.display_name)}).map(function(e){return(0,r.jsxs)(i.BJ,{mr:2,children:[(0,r.jsx)(i.BJ.Item,{width:"49%",children:e.display_name}),(0,r.jsxs)(i.BJ.Item,{width:25,children:[(0,r.jsx)(i.$n,{width:6,icon:"arrow-circle-down",disabled:!e||!e.can_insert,tooltip:"Add disk trait to seed",content:"Insert",onClick:function(){return t("insert",{index:e.index})}}),(0,r.jsx)(i.$n,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){return t("select",{index:e.index})}}),(0,r.jsx)(i.$n,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){return t("eject_disk",{index:e.index})}}),(0,r.jsx)(i.$n,{width:2,icon:e.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){return t("set_read_only",{index:e.index,read_only:e.read_only})}})]})]},e)}),(0,r.jsx)(i.$n,{})]})}),(0,r.jsx)(i.wn,{title:"Reagents",children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,scrollable:!0,children:[d.slice().sort(function(e,n){return e.display_name.localeCompare(n.display_name)}).map(function(e){return(0,r.jsxs)(i.BJ,{mr:2,children:[(0,r.jsx)(i.BJ.Item,{width:"49%",children:e.display_name}),(0,r.jsxs)(i.BJ.Item,{width:25,children:[(0,r.jsx)(i.$n,{width:6,icon:"arrow-circle-down",disabled:!e||!e.can_insert,tooltip:"Add disk reagent to seed",content:"Insert",onClick:function(){return t("insert",{index:e.index})}}),(0,r.jsx)(i.$n,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){return t("select",{index:e.index})}}),(0,r.jsx)(i.$n,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){return t("eject_disk",{index:e.index})}}),(0,r.jsx)(i.$n,{width:2,icon:e.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){return t("set_read_only",{index:e.index,read_only:e.read_only})}})]})]},e)}),(0,r.jsx)(i.$n,{})]})})]})]})}},6954:function(e,n,t){"use strict";t.r(n),t.d(n,{GenericCrewManifest:()=>a});var r=t(8138),i=t(7790),o=t(3384),l=t(2639),a=function(e){return(0,r.jsx)(o.p8,{theme:"nologo",width:588,height:510,children:(0,r.jsx)(o.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.wn,{noTopPadding:!0,children:(0,r.jsx)(l.CrewManifest,{})})})})}},9031:function(e,n,t){"use strict";t.r(n),t.d(n,{GhostHudPanel:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)().data,t=n.security,a=n.medical,s=n.diagnostic,u=n.pressure,d=n.radioactivity,f=n.ahud;return(0,r.jsx)(l.p8,{width:250,height:217,theme:"nologo",children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{children:[(0,r.jsx)(c,{label:"Medical",type:"medical",is_active:a}),(0,r.jsx)(c,{label:"Security",type:"security",is_active:t}),(0,r.jsx)(c,{label:"Diagnostic",type:"diagnostic",is_active:s}),(0,r.jsx)(c,{label:"Pressure",type:"pressure",is_active:u}),(0,r.jsx)(i.cG,{}),(0,r.jsx)(c,{label:"Radioactivity",type:"radioactivity",is_active:d,act_on:"toggle_rad",act_off:"toggle_rad"}),(0,r.jsx)(i.cG,{}),(0,r.jsx)(c,{label:"Antag HUD",is_active:f,act_on:"ahud_on",act_off:"ahud_off"})]})})})},c=function(e){var n=(0,o.Oc)().act,t=e.label,l=e.type,a=void 0===l?null:l,c=e.is_active,s=e.act_on,u=void 0===s?"hud_on":s,d=e.act_off,f=void 0===d?"hud_off":d;return(0,r.jsxs)(i.so,{pt:.3,color:"label",children:[(0,r.jsx)(i.so.Item,{pl:.5,align:"center",width:"80%",children:t}),(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.$n,{mr:.6,content:c?"On":"Off",icon:c?"toggle-on":"toggle-off",selected:c,onClick:function(){return n(c?f:u,{hud_type:a})}})})]})}},3396:function(e,n,t){"use strict";t.r(n),t.d(n,{GlandDispenser:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.glands;return(0,r.jsx)(l.p8,{width:300,height:338,theme:"abductor",children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(void 0===a?[]:a).map(function(e){return(0,r.jsx)(i.$n,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:e.color,content:e.amount||"0",disabled:!e.amount,onClick:function(){return t("dispense",{gland_id:e.id})}},e.id)})})})})}},1009:function(e,n,t){"use strict";t.r(n),t.d(n,{GravityGen:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.charging_state,s=a.charge_count,u=a.breaker,d=a.ext_power;return(0,r.jsx)(l.p8,{width:350,height:170,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[function(e){if(e>0)return(0,r.jsxs)(i.IC,{danger:!0,p:1.5,children:[(0,r.jsx)("b",{children:"WARNING:"})," Radiation Detected!"]})}(c),(0,r.jsx)(i.wn,{fill:!0,title:"Generator Status",buttons:(0,r.jsx)(i.$n,{icon:u?"power-off":"times",content:u?"Online":"Offline",color:u?"green":"red",px:1.5,onClick:function(){return t("breaker")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power Status",color:d?"good":"bad",children:c>0?(0,r.jsxs)(i.az,{inline:!0,color:"average",children:["[ ",1===c?"Charging":"Discharging"," ]"]}):(0,r.jsxs)(i.az,{inline:!0,color:d?"good":"bad",children:["[ ",d?"Powered":"Unpowered"," ]"]})}),(0,r.jsx)(i.Ki.Item,{label:"Gravity Charge",children:(0,r.jsx)(i.z2,{value:s/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})})]})})]})})})}},6294:function(e,n,t){"use strict";t.r(n),t.d(n,{GuestPass:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(2723),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data;return(0,r.jsx)(l.p8,{width:500,height:690,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.tU,{children:[(0,r.jsx)(i.tU.Tab,{icon:"id-card",selected:!c.showlogs,onClick:function(){return t("mode",{mode:0})},children:"Issue Pass"}),(0,r.jsxs)(i.tU.Tab,{icon:"scroll",selected:c.showlogs,onClick:function(){return t("mode",{mode:1})},children:["Records (",c.issue_log.length,")"]})]})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Authorization",children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"ID Card",children:(0,r.jsx)(i.$n,{icon:c.scan_name?"eject":"id-card",selected:c.scan_name,content:c.scan_name?c.scan_name:"-----",tooltip:c.scan_name?"Eject ID":"Insert ID",onClick:function(){return t("scan")}})})})})}),(0,r.jsx)(i.BJ.Item,{children:!c.showlogs&&(0,r.jsx)(i.wn,{title:"Issue Guest Pass",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Issue To",children:(0,r.jsx)(i.$n,{icon:"pencil-alt",content:c.giv_name?c.giv_name:"-----",disabled:!c.scan_name,onClick:function(){return t("giv_name")}})}),(0,r.jsx)(i.Ki.Item,{label:"Reason",children:(0,r.jsx)(i.$n,{icon:"pencil-alt",content:c.reason?c.reason:"-----",disabled:!c.scan_name,onClick:function(){return t("reason")}})}),(0,r.jsx)(i.Ki.Item,{label:"Duration",children:(0,r.jsx)(i.$n,{icon:"pencil-alt",content:c.duration?c.duration:"-----",disabled:!c.scan_name,onClick:function(){return t("duration")}})})]})})}),!c.showlogs&&(c.scan_name?(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(a.AccessList,{sectionButtons:(0,r.jsx)(i.$n,{icon:"id-card",content:c.printmsg,disabled:!c.canprint,onClick:function(){return t("issue")}}),grantableList:c.grantableList,accesses:c.regions,selectedList:c.selectedAccess,accessMod:function(e){return t("access",{access:e})},grantAll:function(){return t("grant_all")},denyAll:function(){return t("clear_all")},grantDep:function(e){return t("grant_region",{region:e})},denyDep:function(e){return t("deny_region",{region:e})}})}):(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"id-card",size:5,color:"gray",mb:5}),(0,r.jsx)("br",{}),"Please, insert ID Card"]})})})})),!!c.showlogs&&(0,r.jsx)(i.BJ.Item,{grow:!0,m:0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Issuance Log",buttons:(0,r.jsx)(i.$n,{icon:"print",content:"Print",disabled:!c.scan_name,onClick:function(){return t("print")}}),children:!!c.issue_log.length&&(0,r.jsx)(i.Ki,{children:c.issue_log.map(function(e,n){return(0,r.jsx)(i.Ki.Item,{children:e},n)})})||(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,r.jsxs)(i.In.Stack,{children:[(0,r.jsx)(i.In,{name:"scroll",size:5,color:"gray"}),(0,r.jsx)(i.In,{name:"slash",size:5,color:"red"})]}),(0,r.jsx)("br",{}),"No logs"]})})})})]})})})}},9511:function(e,n,t){"use strict";t.r(n),t.d(n,{HandheldChemDispenser:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=[1,5,10,20,30,50],c=function(e){return(0,r.jsx)(l.p8,{width:390,height:430,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(s,{}),(0,r.jsx)(u,{})]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,c=l.amount,s=l.energy,u=l.maxEnergy,d=l.mode;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Settings",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Energy",children:(0,r.jsxs)(i.z2,{value:s,minValue:0,maxValue:u,ranges:{good:[.5*u,1/0],average:[.25*u,.5*u],bad:[-1/0,.25*u]},children:[s," / ",u," Units"]})}),(0,r.jsx)(i.Ki.Item,{label:"Amount",verticalAlign:"middle",children:(0,r.jsx)(i.BJ,{children:a.map(function(e,n){return(0,r.jsx)(i.BJ.Item,{grow:!0,width:"15%",children:(0,r.jsx)(i.$n,{fluid:!0,icon:"cog",selected:c===e,content:e,onClick:function(){return t("amount",{amount:e})}})},n)})})}),(0,r.jsx)(i.Ki.Item,{label:"Mode",verticalAlign:"middle",children:(0,r.jsxs)(i.BJ,{justify:"space-between",children:[(0,r.jsx)(i.$n,{icon:"cog",selected:"dispense"===d,content:"Dispense",m:"0",width:"32%",onClick:function(){return t("mode",{mode:"dispense"})}}),(0,r.jsx)(i.$n,{icon:"cog",selected:"remove"===d,content:"Remove",m:"0",width:"32%",onClick:function(){return t("mode",{mode:"remove"})}}),(0,r.jsx)(i.$n,{icon:"cog",selected:"isolate"===d,content:"Isolate",m:"0",width:"32%",onClick:function(){return t("mode",{mode:"isolate"})}})]})})]})})})},u=function(e){for(var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.chemicals,c=void 0===a?[]:a,s=l.current_reagent,u=[],d=0;d<(c.length+1)%3;d++)u.push(!0);return(0,r.jsx)(i.BJ.Item,{grow:!0,height:"18%",children:(0,r.jsxs)(i.wn,{fill:!0,title:l.glass?"Drink Selector":"Chemical Selector",children:[c.map(function(e,n){return(0,r.jsx)(i.$n,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:s===e.id,content:e.title,style:{marginLeft:"2px"},onClick:function(){return t("dispense",{reagent:e.id})}},n)}),u.map(function(e,n){return(0,r.jsx)(i.BJ.Item,{grow:"1",basis:"25%"},n)})]})})}},3365:function(e,n,t){"use strict";t.r(n),t.d(n,{HealthSensor:()=>c});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,u=c.on,d=c.user_health,f=c.minHealth,h=c.maxHealth,m=c.alarm_health;return(0,r.jsx)(a.p8,{width:300,height:125,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Scanning",children:(0,r.jsx)(i.$n,{icon:"power-off",content:u?"On":"Off",color:u?null:"red",selected:u,onClick:function(){return t("scan_toggle")}})}),(0,r.jsx)(i.Ki.Item,{label:"Health activation",children:(0,r.jsx)(i.Q7,{animate:!0,step:2,stepPixelSize:6,minValue:f,maxValue:h,value:m,format:function(e){return(0,o.Mg)(e,1)},width:"80px",onChange:function(e){return t("alarm_health",{alarm_health:e})}})}),null!==d&&(0,r.jsx)(i.Ki.Item,{label:"User health",children:(0,r.jsx)(i.az,{color:s(d),bold:d>=100,children:(0,r.jsx)(i.zv,{value:d})})})]})})})})},s=function(e){return e>50?"green":e>0?"orange":"red"}},5880:function(e,n,t){"use strict";t.r(n),t.d(n,{Holodeck:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ts});var r=t(8138),i=t(7790),o=t(3384),l=t(2864),a=t(7542),c=t(2723),s=function(){var e=(0,l.Oc)(),n=e.act,t=e.data,s=t.card,u=t.card_skins,d=t.all_centcom_skins,f=t.regions;return(0,r.jsx)(o.p8,{width:600,height:565,children:(0,r.jsx)(o.p8.Content,{children:(0,r.jsxs)(i.BJ,{vertical:!0,fill:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,{title:"Basic Information",children:[(0,r.jsx)(a.CardInformation,{card:s}),(0,r.jsx)(i.Ki.Item,{label:"Job Name",children:(0,r.jsx)(i.$n,{icon:s&&"Unknown"!==s.rank?"pencil-alt":"exclamation-triangle",selected:!!s,onClick:function(){return n("set_job_name")},children:null==s?void 0:s.rank})})]})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(a.DropdownCardSkins,{is_centcom:!0,card:s,card_skins:u,all_centcom_skins:d})})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(c.AccessList,{accesses:f,selectedList:s.access,accessMod:function(e){return n("set",{access:e})},grantAll:function(){return n("grant_all")},denyAll:function(){return n("clear_all")},grantDep:function(e){return n("grant_region",{region:e})},denyDep:function(e){return n("deny_region",{region:e})}})})]})})})}},6126:function(e,n,t){"use strict";t.r(n),t.d(n,{Instrument:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)();return n.act,n.data,(0,r.jsxs)(l.p8,{width:600,height:505,children:[(0,r.jsx)(c,{}),(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(s,{}),(0,r.jsx)(d,{})]})})]})},c=function(e){var n=(0,o.Oc)(),t=n.act;if(n.data.help)return(0,r.jsx)(i.aF,{maxWidth:"75%",height:.75*window.innerHeight+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,r.jsx)(i.wn,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,r.jsxs)(i.az,{px:"0.5rem",mt:"-0.5rem",children:[(0,r.jsx)("h1",{children:"Making a Song"}),(0,r.jsxs)("p",{children:["Lines are a series of chords, separated by commas\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"(,)"}),", each with notes separated by hyphens\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"(-)"}),".",(0,r.jsx)("br",{}),"Every note in a chord will play together, with the chord timed by the\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"tempo"})," ","as defined above."]}),(0,r.jsxs)("p",{children:["Notes are played by the\xa0",(0,r.jsx)(i.az,{as:"span",color:"good",children:"names of the note"}),", and optionally, the\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"accidental"}),", and/or the"," ",(0,r.jsx)(i.az,{as:"span",color:"bad",children:"octave number"}),".",(0,r.jsx)("br",{}),"By default, every note is\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"natural"})," ","and in\xa0",(0,r.jsx)(i.az,{as:"span",color:"bad",children:"octave 3"}),". Defining a different state for either is remembered for each"," ",(0,r.jsx)(i.az,{as:"span",color:"good",children:"note"}),".",(0,r.jsxs)("ul",{children:[(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"Example:"}),"\xa0",(0,r.jsx)("i",{children:"C,D,E,F,G,A,B"})," will play a\xa0",(0,r.jsx)(i.az,{as:"span",color:"good",children:"C"}),"\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"major"})," ","scale."]}),(0,r.jsxs)("li",{children:["After a note has an\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"accidental"})," ","or\xa0",(0,r.jsx)(i.az,{as:"span",color:"bad",children:"octave"})," ","placed, it will be remembered:\xa0",(0,r.jsx)("i",{children:"C,C4,C#,C3"})," is ",(0,r.jsx)("i",{children:"C3,C4,C4#,C3#"})]})]})]}),(0,r.jsxs)("p",{children:[(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"Chords"}),"\xa0can be played simply by seperating each note with a hyphen: ",(0,r.jsx)("i",{children:"A-C#,Cn-E,E-G#,Gn-B"}),".",(0,r.jsx)("br",{}),"A"," ",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"pause"}),"\xa0may be denoted by an empty chord: ",(0,r.jsx)("i",{children:"C,E,,C,G"}),".",(0,r.jsx)("br",{}),"To make a chord be a different time, end it with /x, where the chord length will be length defined by\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"tempo / x"}),",\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"eg:"})," ",(0,r.jsx)("i",{children:"C,G/2,E/4"}),"."]}),(0,r.jsxs)("p",{children:["Combined, an example line is: ",(0,r.jsx)("i",{children:"E-E4/4,F#/2,G#/8,B/8,E3-E4/4"}),".",(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:"Lines may be up to 300 characters."}),(0,r.jsx)("li",{children:"A song may only contain up to 1,000 lines."})]})]}),(0,r.jsxs)("p",{children:["Lines are a series of chords, separated by commas\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"(,)"}),", each with notes separated by hyphens\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"(-)"}),".",(0,r.jsx)("br",{}),"Every note in a chord will play together, with the chord timed by the\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"tempo"})," ","as defined above."]}),(0,r.jsxs)("p",{children:["Notes are played by the\xa0",(0,r.jsx)(i.az,{as:"span",color:"good",children:"names of the note"}),", and optionally, the\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"accidental"}),", and/or the"," ",(0,r.jsx)(i.az,{as:"span",color:"bad",children:"octave number"}),".",(0,r.jsx)("br",{}),"By default, every note is\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"natural"})," ","and in\xa0",(0,r.jsx)(i.az,{as:"span",color:"bad",children:"octave 3"}),". Defining a different state for either is remembered for each"," ",(0,r.jsx)(i.az,{as:"span",color:"good",children:"note"}),".",(0,r.jsxs)("ul",{children:[(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"Example:"}),"\xa0",(0,r.jsx)("i",{children:"C,D,E,F,G,A,B"})," will play a\xa0",(0,r.jsx)(i.az,{as:"span",color:"good",children:"C"}),"\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"major"})," ","scale."]}),(0,r.jsxs)("li",{children:["After a note has an\xa0",(0,r.jsx)(i.az,{as:"span",color:"average",children:"accidental"})," ","or\xa0",(0,r.jsx)(i.az,{as:"span",color:"bad",children:"octave"})," ","placed, it will be remembered:\xa0",(0,r.jsx)("i",{children:"C,C4,C#,C3"})," is ",(0,r.jsx)("i",{children:"C3,C4,C4#,C3#"})]})]})]}),(0,r.jsxs)("p",{children:[(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"Chords"}),"\xa0can be played simply by seperating each note with a hyphen: ",(0,r.jsx)("i",{children:"A-C#,Cn-E,E-G#,Gn-B"}),".",(0,r.jsx)("br",{}),"A"," ",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"pause"}),"\xa0may be denoted by an empty chord: ",(0,r.jsx)("i",{children:"C,E,,C,G"}),".",(0,r.jsx)("br",{}),"To make a chord be a different time, end it with /x, where the chord length will be length defined by\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"tempo / x"}),",\xa0",(0,r.jsx)(i.az,{as:"span",color:"highlight",children:"eg:"})," ",(0,r.jsx)("i",{children:"C,G/2,E/4"}),"."]}),(0,r.jsxs)("p",{children:["Combined, an example line is: ",(0,r.jsx)("i",{children:"E-E4/4,F#/2,G#/8,B/8,E3-E4/4"}),".",(0,r.jsxs)("ul",{children:[(0,r.jsx)("li",{children:"Lines may be up to 300 characters."}),(0,r.jsx)("li",{children:"A song may only contain up to 1,000 lines."})]})]}),(0,r.jsx)("h1",{children:"Instrument Advanced Settings"}),(0,r.jsxs)("ul",{children:[(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"label",children:"Type:"}),"\xa0Whether the instrument is legacy or synthesized.",(0,r.jsx)("br",{}),"Legacy instruments have a collection of sounds that are selectively used depending on the note to play.",(0,r.jsx)("br",{}),"Synthesized instruments use a base sound and change its pitch to match the note to play."]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"label",children:"Current:"}),"\xa0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!"]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),"\xa0The pitch to apply to all notes of the song."]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"label",children:"Sustain Mode:"}),"\xa0How a played note fades out.",(0,r.jsx)("br",{}),"Linear sustain means a note will fade out at a constant rate.",(0,r.jsx)("br",{}),"Exponential sustain means a note will fade out at an exponential rate, sounding smoother."]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),"\xa0The volume threshold at which a note is fully stopped."]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(i.az,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),"\xa0Whether the last note should be sustained indefinitely."]})]}),(0,r.jsx)(i.$n,{color:"grey",content:"Close",onClick:function(){return t("help")}})]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.lines,c=l.playing,s=l.repeat,d=l.maxRepeats,f=l.tempo,h=l.minTempo,m=l.maxTempo,p=l.tickLag,x=l.volume,g=l.minVolume,j=l.maxVolume,b=l.ready;return(0,r.jsxs)(i.wn,{m:0,title:"Instrument",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:"info",content:"Help",onClick:function(){return t("help")}}),(0,r.jsx)(i.$n,{icon:"file",content:"New",onClick:function(){return t("newsong")}}),(0,r.jsx)(i.$n,{icon:"upload",content:"Import",onClick:function(){return t("import")}})]}),children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Playback",children:[(0,r.jsx)(i.$n,{selected:c,disabled:0===a.length||s<0,icon:"play",content:"Play",onClick:function(){return t("play")}}),(0,r.jsx)(i.$n,{disabled:!c,icon:"stop",content:"Stop",onClick:function(){return t("stop")}})]}),(0,r.jsx)(i.Ki.Item,{label:"Repeat",children:(0,r.jsx)(i.Ap,{animated:!0,minValue:0,maxValue:d,value:s,stepPixelSize:59,onChange:function(e,n){return t("repeat",{new:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Tempo",children:(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{disabled:f>=m,content:"-",as:"span",mr:"0.5rem",onClick:function(){return t("tempo",{new:f+p})}}),Math.round(600/f)," BPM",(0,r.jsx)(i.$n,{disabled:f<=h,content:"+",as:"span",ml:"0.5rem",onClick:function(){return t("tempo",{new:f-p})}})]})}),(0,r.jsx)(i.Ki.Item,{label:"Volume",children:(0,r.jsx)(i.Ap,{animated:!0,minValue:g,maxValue:j,value:x,stepPixelSize:6,tickWhileDragging:!0,onChange:function(e,n){return t("setvolume",{new:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Status",children:b?(0,r.jsx)(i.az,{color:"good",children:"Ready"}):(0,r.jsx)(i.az,{color:"bad",children:"Instrument Definition Error!"})})]}),(0,r.jsx)(u,{})]})},u=function(e){var n,t,l=(0,o.Oc)(),a=l.act,c=l.data,s=c.allowedInstrumentNames,u=c.instrumentLoaded,d=c.instrument,f=c.canNoteShift,h=c.noteShift,m=c.noteShiftMin,p=c.noteShiftMax,x=c.sustainMode,g=c.sustainLinearDuration,j=c.sustainExponentialDropoff,b=c.legacy,y=c.sustainDropoffVolume,v=c.sustainHeldNote;return 1===x?(n="Linear",t=(0,r.jsx)(i.Ap,{minValue:.1,maxValue:5,value:g,step:.5,stepPixelSize:85,format:function(e){return Math.round(100*e)/100+" seconds"},onChange:function(e,n){return a("setlinearfalloff",{new:n/10})}})):2===x&&(n="Exponential",t=(0,r.jsx)(i.Ap,{minValue:1.025,maxValue:10,value:j,step:.01,format:function(e){return Math.round(1e3*e)/1e3+"% per decisecond"},onChange:function(e,n){return a("setexpfalloff",{new:n})}})),s.sort(),(0,r.jsx)(i.az,{my:-1,children:(0,r.jsx)(i.Nt,{mt:"1rem",mb:"0",title:"Advanced",children:(0,r.jsxs)(i.wn,{mt:-1,children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Type",children:b?"Legacy":"Synthesized"}),(0,r.jsx)(i.Ki.Item,{label:"Current",children:u?(0,r.jsx)(i.ms,{options:s,selected:d,width:"50%",onSelected:function(e){return a("switchinstrument",{name:e})}}):(0,r.jsx)(i.az,{color:"bad",children:"None!"})}),!!(!b&&f)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Note Shift/Note Transpose",children:(0,r.jsx)(i.Ap,{minValue:m,maxValue:p,value:h,stepPixelSize:2,format:function(e){return e+" keys / "+Math.round(e/12*100)/100+" octaves"},onChange:function(e,n){return a("setnoteshift",{new:n})}})}),(0,r.jsxs)(i.Ki.Item,{label:"Sustain Mode",children:[(0,r.jsx)(i.ms,{options:["Linear","Exponential"],selected:n,mb:"0.4rem",onSelected:function(e){return a("setsustainmode",{new:e})}}),t]}),(0,r.jsx)(i.Ki.Item,{label:"Volume Dropoff Threshold",children:(0,r.jsx)(i.Ap,{animated:!0,minValue:.01,maxValue:100,value:y,stepPixelSize:6,onChange:function(e,n){return a("setdropoffvolume",{new:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Sustain indefinitely last held note",children:(0,r.jsx)(i.$n,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"Yes":"No",onClick:function(){return a("togglesustainhold")}})})]})]}),(0,r.jsx)(i.$n,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){return a("reset")}})]})})})},d=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.playing,c=l.lines,s=l.editing;return(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{disabled:!s||a,icon:"plus",content:"Add Line",onClick:function(){return t("newline",{line:c.length+1})}}),(0,r.jsx)(i.$n,{selected:!s,icon:s?"chevron-up":"chevron-down",onClick:function(){return t("edit")}})]}),children:!!s&&(c.length>0?(0,r.jsx)(i.Ki,{children:c.map(function(e,n){return(0,r.jsx)(i.Ki.Item,{label:n+1,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{disabled:a,icon:"pen",onClick:function(){return t("modifyline",{line:n+1})}}),(0,r.jsx)(i.$n,{disabled:a,icon:"trash",onClick:function(){return t("deleteline",{line:n+1})}})]}),children:e},n)})}):(0,r.jsx)(i.az,{color:"label",children:"Song is empty."}))})}},1783:function(e,n,t){"use strict";t.r(n),t.d(n,{KeyComboModal:()=>x});var r=t(8138),i=t(4530),o=t(7790),l=t(925),a=t(2864),c=t(3384),s=t(1942),u=t(9472);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=48&&e.keyCode<=57)&&(n+="Shift"),3===e.location&&(n+="Numpad"),h(e))if(e.shiftKey&&e.keyCode>=48&&e.keyCode<=57)n+="Shift"+(e.keyCode-48);else{var t=e.key.toUpperCase();n+=m[t]||t}return n},x=function(e){var n=(0,a.Oc)(),t=n.act,d=n.data,m=d.init_value,x=d.large_buttons,g=d.message,j=void 0===g?"":g,b=d.title,y=d.timeout,v=f((0,i.useState)(m),2),w=v[0],k=v[1],_=f((0,i.useState)(!0),2),C=_[0],I=_[1],S=function(e){if(!C){e.key===l._.Enter&&t("submit",{entry:w}),(0,l.KL)(e.key)&&t("cancel");return}if(e.preventDefault(),h(e)){O(p(e)),I(!1);return}if(e.key===l._.Escape){O(m),I(!1);return}},O=function(e){e!==w&&k(e)},A=130+(j.length>30?Math.ceil(j.length/3):0)+(j.length&&x?5:0);return(0,r.jsxs)(c.p8,{title:b,width:240,height:A,children:[y&&(0,r.jsx)(u.Loader,{value:y}),(0,r.jsx)(c.p8.Content,{onKeyDown:function(e){S(e)},children:(0,r.jsxs)(o.wn,{fill:!0,children:[(0,r.jsx)(o.y5,{}),(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.az,{color:"label",children:j})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{disabled:C,content:C&&null!==C?"Awaiting input...":""+w,width:"100%",textAlign:"center",onClick:function(){O(m),I(!0)}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(s.InputButtons,{input:w})})]})]})})]})}},3928:function(e,n,t){"use strict";t.r(n),t.d(n,{KeycardAuth:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=(0,r.jsx)(i.wn,{title:"Keycard Authentication Device",children:(0,r.jsx)(i.az,{children:"This device is used to trigger certain high security events. It requires the simultaneous swipe of two high-level ID cards."})});if(!a.swiping&&!a.busy)return(0,r.jsx)(l.p8,{width:540,height:280,children:(0,r.jsxs)(l.p8.Content,{children:[c,(0,r.jsx)(i.wn,{title:"Choose Action",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Red Alert",children:(0,r.jsx)(i.$n,{icon:"exclamation-triangle",disabled:!a.redAvailable,onClick:function(){return t("triggerevent",{triggerevent:"Red Alert"})},content:"Red Alert"})}),(0,r.jsx)(i.Ki.Item,{label:"ERT",children:(0,r.jsx)(i.$n,{icon:"broadcast-tower",onClick:function(){return t("triggerevent",{triggerevent:"Emergency Response Team"})},content:"Call ERT"})}),(0,r.jsxs)(i.Ki.Item,{label:"Emergency Maint Access",children:[(0,r.jsx)(i.$n,{icon:"door-open",onClick:function(){return t("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})},content:"Grant"}),(0,r.jsx)(i.$n,{icon:"door-closed",onClick:function(){return t("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})},content:"Revoke"})]}),(0,r.jsxs)(i.Ki.Item,{label:"Emergency Station-Wide Access",children:[(0,r.jsx)(i.$n,{icon:"door-open",onClick:function(){return t("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})},content:"Grant"}),(0,r.jsx)(i.$n,{icon:"door-closed",onClick:function(){return t("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})},content:"Revoke"})]})]})})]})});var s=(0,r.jsx)(i.az,{color:"red",children:"Waiting for YOU to swipe your ID..."});return a.hasSwiped||a.ertreason||"Emergency Response Team"!==a.event?a.hasConfirm?s=(0,r.jsx)(i.az,{color:"green",children:"Request Confirmed!"}):a.isRemote?s=(0,r.jsx)(i.az,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):a.hasSwiped&&(s=(0,r.jsx)(i.az,{color:"orange",children:"Waiting for second person to confirm..."})):s=(0,r.jsx)(i.az,{color:"red",children:"Fill out the reason for your ERT request."}),(0,r.jsx)(l.p8,{width:540,height:265,children:(0,r.jsxs)(l.p8.Content,{children:[c,"Emergency Response Team"===a.event&&(0,r.jsx)(i.wn,{title:"Reason for ERT Call",children:(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{color:a.ertreason?"":"red",icon:a.ertreason?"check":"pencil-alt",content:a.ertreason?a.ertreason:"-----",disabled:a.busy,onClick:function(){return t("ert")}})})}),(0,r.jsx)(i.wn,{title:a.event,buttons:(0,r.jsx)(i.$n,{icon:"arrow-circle-left",content:"Back",disabled:a.busy||a.hasConfirm,onClick:function(){return t("reset")}}),children:s})]})})}},6706:function(e,n,t){"use strict";t.r(n),t.d(n,{KitchenMachine:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(6696),c=function(e){var n=(0,o.Oc)(),t=n.data,c=n.config,u=t.ingredients,d=t.operating,f=c.title;return(0,r.jsx)(l.p8,{width:400,height:320,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(a.Operating,{operating:d,name:f}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(s,{})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Ingredients",children:(0,r.jsx)(i.XI,{className:"Ingredient__Table",children:u.map(function(e){return(0,r.jsxs)(i.XI.Row,{tr:5,children:[(0,r.jsx)("td",{children:(0,r.jsx)(i.XI.Cell,{bold:!0,children:e.name})}),(0,r.jsx)("td",{children:(0,r.jsxs)(i.XI.Cell,{collapsing:!0,textAlign:"center",children:[e.amount," ",e.units]})})]},e.name)})})})})]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.inactive,c=l.tooltip;return(0,r.jsx)(i.wn,{title:"Controls",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"power-off",disabled:a,tooltip:a?c:"",tooltipPosition:"bottom",content:"Activate",onClick:function(){return t("cook")}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"eject",disabled:a,tooltip:a?c:"",tooltipPosition:"bottom",content:"Eject Contents",onClick:function(){return t("eject")}})})]})})}},9846:function(e,n,t){"use strict";t.r(n),t.d(n,{LawManager:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,u=a.isAdmin,d=a.isSlaved,f=a.isMalf,h=a.isAIMalf,m=a.view;return(0,r.jsx)(l.p8,{width:800,height:f?620:365,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[!!(u&&d)&&(0,r.jsxs)(i.IC,{children:["This unit is slaved to ",d,"."]}),!!(f||h)&&(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{content:"Law Management",selected:0===m,onClick:function(){return t("set_view",{set_view:0})}}),(0,r.jsx)(i.$n,{content:"Lawsets",selected:1===m,onClick:function(){return t("set_view",{set_view:1})}})]}),0===m&&(0,r.jsx)(c,{}),1===m&&(0,r.jsx)(s,{})]})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.has_zeroth_laws,c=l.zeroth_laws,s=l.has_ion_laws,d=l.ion_laws,f=l.ion_law_nr,h=l.has_inherent_laws,m=l.inherent_laws,p=l.has_supplied_laws,x=l.supplied_laws,g=l.channels,j=l.channel,b=l.isMalf,y=l.isAdmin,v=l.zeroth_law,w=l.ion_law,k=l.inherent_law,_=l.supplied_law,C=l.supplied_law_position;return(0,r.jsxs)(r.Fragment,{children:[!!a&&(0,r.jsx)(u,{title:"ERR_NULL_VALUE",laws:c,isMalf:b}),!!s&&(0,r.jsx)(u,{title:"".concat(f),laws:d,isMalf:b}),!!h&&(0,r.jsx)(u,{title:"Inherent",laws:m,isMalf:b}),!!p&&(0,r.jsx)(u,{title:"Supplied",laws:x,isMalf:b}),(0,r.jsx)(i.wn,{title:"Statement Settings",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Statement Channel",children:g.map(function(e){return(0,r.jsx)(i.$n,{content:e.channel,selected:e.channel===j,onClick:function(){return t("law_channel",{law_channel:e.channel})}},e.channel)})}),(0,r.jsx)(i.Ki.Item,{label:"State Laws",children:(0,r.jsx)(i.$n,{content:"State Laws",onClick:function(){return t("state_laws")}})}),(0,r.jsx)(i.Ki.Item,{label:"Law Notification",children:(0,r.jsx)(i.$n,{content:"Notify",onClick:function(){return t("notify_laws")}})})]})}),!!b&&(0,r.jsx)(i.wn,{title:"Add Laws",children:(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{width:"10%",children:"Type"}),(0,r.jsx)(i.XI.Cell,{width:"60%",children:"Law"}),(0,r.jsx)(i.XI.Cell,{width:"10%",children:"Index"}),(0,r.jsx)(i.XI.Cell,{width:"20%",children:"Actions"})]}),!!(y&&!a)&&(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:"Zero"}),(0,r.jsx)(i.XI.Cell,{children:v}),(0,r.jsx)(i.XI.Cell,{children:"N/A"}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n,{content:"Edit",icon:"pencil-alt",onClick:function(){return t("change_zeroth_law")}}),(0,r.jsx)(i.$n,{content:"Add",icon:"plus",onClick:function(){return t("add_zeroth_law")}})]})]}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:"Ion"}),(0,r.jsx)(i.XI.Cell,{children:w}),(0,r.jsx)(i.XI.Cell,{children:"N/A"}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n,{content:"Edit",icon:"pencil-alt",onClick:function(){return t("change_ion_law")}}),(0,r.jsx)(i.$n,{content:"Add",icon:"plus",onClick:function(){return t("add_ion_law")}})]})]}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:"Inherent"}),(0,r.jsx)(i.XI.Cell,{children:k}),(0,r.jsx)(i.XI.Cell,{children:"N/A"}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n,{content:"Edit",icon:"pencil-alt",onClick:function(){return t("change_inherent_law")}}),(0,r.jsx)(i.$n,{content:"Add",icon:"plus",onClick:function(){return t("add_inherent_law")}})]})]}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:"Supplied"}),(0,r.jsx)(i.XI.Cell,{children:_}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{content:C,onClick:function(){return t("change_supplied_law_position")}})}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n,{content:"Edit",icon:"pencil-alt",onClick:function(){return t("change_supplied_law")}}),(0,r.jsx)(i.$n,{content:"Add",icon:"plus",onClick:function(){return t("add_supplied_law")}})]})]})]})})]})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.law_sets;return(0,r.jsx)(i.az,{children:l.map(function(e){return(0,r.jsx)(i.wn,{title:e.name+" - "+e.header,buttons:(0,r.jsx)(i.$n,{content:"Load Laws",icon:"download",onClick:function(){return t("transfer_laws",{transfer_laws:e.ref})}}),children:(0,r.jsxs)(i.Ki,{children:[e.laws.has_ion_laws>0&&e.laws.ion_laws.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e.index,children:e.law},e.index)}),e.laws.has_zeroth_laws>0&&e.laws.zeroth_laws.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e.index,children:e.law},e.index)}),e.laws.has_inherent_laws>0&&e.laws.inherent_laws.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e.index,children:e.law},e.index)}),e.laws.has_supplied_laws>0&&e.laws.inherent_laws.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e.index,children:e.law},e.index)})]})},e.name)})})},u=function(e){var n=(0,o.Oc)(),t=n.act;n.data;var l=e.isMalf,a=e.laws,c=e.title;return(0,r.jsx)(i.wn,{title:c+" Laws",children:(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{width:"10%",children:"Index"}),(0,r.jsx)(i.XI.Cell,{width:"69%",children:"Law"}),(0,r.jsx)(i.XI.Cell,{width:"21%",children:"State?"})]}),a.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.index}),(0,r.jsx)(i.XI.Cell,{children:e.law}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n,{content:e.state?"Yes":"No",selected:e.state,onClick:function(){return t("state_law",{ref:e.ref,state_law:+!e.state})}}),!!l&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"Edit",icon:"pencil-alt",onClick:function(){return t("edit_law",{edit_law:e.ref})}}),(0,r.jsx)(i.$n,{content:"Delete",icon:"trash",color:"red",onClick:function(){return t("delete_law",{delete_law:e.ref})}})]})]})]},e.law)})]})})}},3023:function(e,n,t){"use strict";t.r(n),t.d(n,{LibraryComputer:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=t(4744);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=e?"caution":"default",onClick:function(){return i("set_rating",{rating_value:e})}})},n)}),(0,r.jsxs)(o.BJ.Item,{bold:!0,ml:2,fontSize:"150%",children:[a+"/10",(0,r.jsx)(o.In,{name:"star",color:"yellow",ml:.5,verticalAlign:"top"})]})]})},h=function(e){var n=(0,l.Oc)().data,t=e.tabIndex,i=e.setTabIndex,a=n.login_state;return(0,r.jsx)(o.BJ.Item,{mb:1,children:(0,r.jsxs)(o.tU,{fluid:!0,textAlign:"center",children:[(0,r.jsx)(o.tU.Tab,{selected:0===t,onClick:function(){return i(0)},children:"Book Archives"}),(0,r.jsx)(o.tU.Tab,{selected:1===t,onClick:function(){return i(1)},children:"Corporate Literature"}),(0,r.jsx)(o.tU.Tab,{selected:2===t,onClick:function(){return i(2)},children:"Upload Book"}),1===a&&(0,r.jsx)(o.tU.Tab,{selected:3===t,onClick:function(){return i(3)},children:"Patron Manager"}),(0,r.jsx)(o.tU.Tab,{selected:4===t,onClick:function(){return i(4)},children:"Inventory"})]})})},m=function(e){switch(e.tabIndex){case 0:return(0,r.jsx)(x,{});case 1:return(0,r.jsx)(g,{});case 2:return(0,r.jsx)(j,{});case 3:return(0,r.jsx)(b,{});case 4:return(0,r.jsx)(y,{});default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},p=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.searchcontent,s=i.book_categories,u=i.user_ckey,d=[];return s.map(function(e){return d[e.description]=e.category_id}),(0,r.jsxs)(o.BJ,{children:[(0,r.jsxs)(o.BJ.Item,{width:"35%",children:[(0,r.jsxs)(o.az,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,r.jsx)(o.In,{name:"edit",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Inputs"]}),(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Title",children:(0,r.jsx)(o.$n,{textAlign:"left",icon:"pen",width:20,content:a.title||"Input Title",onClick:function(){return(0,c.modalOpen)("edit_search_title")}})}),(0,r.jsx)(o.Ki.Item,{label:"Author",children:(0,r.jsx)(o.$n,{textAlign:"left",icon:"pen",width:20,content:a.author||"Input Author",onClick:function(){return(0,c.modalOpen)("edit_search_author")}})}),(0,r.jsx)(o.Ki.Item,{label:"Ratings",children:(0,r.jsxs)(o.BJ,{children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{mr:1,width:"min-content",content:a.ratingmin,onClick:function(){return(0,c.modalOpen)("edit_search_ratingmin")}})}),(0,r.jsx)(o.BJ.Item,{children:"To"}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{ml:1,width:"min-content",content:a.ratingmax,onClick:function(){return(0,c.modalOpen)("edit_search_ratingmax")}})})]})})]})]}),(0,r.jsxs)(o.BJ.Item,{width:"40%",children:[(0,r.jsxs)(o.az,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,r.jsx)(o.In,{name:"clipboard-list",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Book Categories"]}),(0,r.jsx)(o.Ki,{children:(0,r.jsx)(o.Ki.Item,{label:"Select Categories",children:(0,r.jsx)(o.az,{mt:2,children:(0,r.jsx)(o.ms,{mt:.6,width:"190px",options:s.map(function(e){return e.description}),onSelected:function(e){return t("toggle_search_category",{category_id:d[e]})}})})})}),(0,r.jsx)("br",{}),s.filter(function(e){return a.categories.includes(e.category_id)}).map(function(e){return(0,r.jsx)(o.$n,{content:e.description,selected:!0,icon:"unlink",onClick:function(){return t("toggle_search_category",{category_id:e.category_id})}},e.category_id)})]}),(0,r.jsxs)(o.BJ.Item,{children:[(0,r.jsxs)(o.az,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,r.jsx)(o.In,{name:"search-plus",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Actions"]}),(0,r.jsx)(o.$n,{content:"Clear Search",icon:"eraser",onClick:function(){return t("clear_search")}}),a.ckey?(0,r.jsx)(o.$n,{mb:.5,content:"Stop Showing My Books",color:"bad",icon:"search",onClick:function(){return t("clear_ckey_search")}}):(0,r.jsx)(o.$n,{content:"Find My Books",icon:"search",onClick:function(){return t("find_users_books",{user_ckey:u})}})]})]})},x=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.external_booklist,s=i.archive_pagenumber,u=i.num_pages,d=i.login_state;return(0,r.jsxs)(o.wn,{fill:!0,scrollable:!0,title:"Book System Access",buttons:(0,r.jsxs)("div",{children:[(0,r.jsx)(o.$n,{icon:"angle-double-left",disabled:1===s,onClick:function(){return t("deincrementpagemax")}}),(0,r.jsx)(o.$n,{icon:"chevron-left",disabled:1===s,onClick:function(){return t("deincrementpage")}}),(0,r.jsx)(o.$n,{bold:!0,content:s,onClick:function(){return(0,c.modalOpen)("setpagenumber")}}),(0,r.jsx)(o.$n,{icon:"chevron-right",disabled:s===u,onClick:function(){return t("incrementpage")}}),(0,r.jsx)(o.$n,{icon:"angle-double-right",disabled:s===u,onClick:function(){return t("incrementpagemax")}})]}),children:[(0,r.jsx)(p,{}),(0,r.jsx)("hr",{}),(0,r.jsxs)(o.XI,{className:"Library__Booklist",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"SSID"}),(0,r.jsx)(o.XI.Cell,{children:"Title"}),(0,r.jsx)(o.XI.Cell,{children:"Author"}),(0,r.jsx)(o.XI.Cell,{children:"Ratings"}),(0,r.jsx)(o.XI.Cell,{children:"Category"}),(0,r.jsx)(o.XI.Cell,{textAlign:"middle",children:"Actions"})]}),a.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.id}),(0,r.jsxs)(o.XI.Cell,{textAlign:"left",children:[(0,r.jsx)(o.In,{name:"book",mr:.5}),e.title.length>45?e.title.substr(0,45)+"...":e.title]}),(0,r.jsx)(o.XI.Cell,{textAlign:"left",children:e.author.length>30?e.author.substr(0,30)+"...":e.author}),(0,r.jsxs)(o.XI.Cell,{children:[e.rating,(0,r.jsx)(o.In,{name:"star",ml:.5,color:"yellow",verticalAlign:"middle"})]}),(0,r.jsx)(o.XI.Cell,{children:e.categories.join(", ").substr(0,45)}),(0,r.jsxs)(o.XI.Cell,{textAlign:"right",children:[1===d&&(0,r.jsx)(o.$n,{content:"Order",icon:"print",onClick:function(){return t("order_external_book",{bookid:e.id})}}),(0,r.jsx)(o.$n,{content:"More...",onClick:function(){return(0,c.modalOpen)("expand_info",{bookid:e.id})}})]})]},e.id)})]})]})},g=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.programmatic_booklist,s=i.login_state;return(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:"Corporate Book Catalog",children:(0,r.jsxs)(o.XI,{className:"Library__Booklist",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"SSID"}),(0,r.jsx)(o.XI.Cell,{children:"Title"}),(0,r.jsx)(o.XI.Cell,{children:"Author"}),(0,r.jsx)(o.XI.Cell,{textAlign:"middle",children:"Actions"})]}),a.map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.id}),(0,r.jsxs)(o.XI.Cell,{textAlign:"left",children:[(0,r.jsx)(o.In,{name:"book",mr:2}),e.title]}),(0,r.jsx)(o.XI.Cell,{textAlign:"left",children:e.author}),(0,r.jsxs)(o.XI.Cell,{textAlign:"right",children:[1===s&&(0,r.jsx)(o.$n,{content:"Order",icon:"print",onClick:function(){return t("order_programmatic_book",{bookid:e.id})}}),(0,r.jsx)(o.$n,{content:"More...",onClick:function(){return(0,c.modalOpen)("expand_info",{bookid:e.id})}})]})]},n)})]})})},j=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.selectedbook,s=i.book_categories,u=i.user_ckey,d=[];return s.map(function(e){return d[e.description]=e.category_id}),(0,r.jsxs)(o.wn,{fill:!0,scrollable:!0,title:"Book System Upload",buttons:(0,r.jsx)(o.$n.Confirm,{bold:!0,width:9.5,icon:"upload",disabled:a.copyright,content:"Upload Book",onClick:function(){return t("uploadbook",{user_ckey:u})}}),children:[a.copyright?(0,r.jsx)(o.IC,{color:"red",children:"WARNING: You cannot upload or modify the attributes of a copyrighted book"}):(0,r.jsx)("br",{}),(0,r.jsxs)(o.az,{ml:15,mb:3,fontSize:"1.2rem",bold:!0,children:[(0,r.jsx)(o.In,{name:"search-plus",verticalAlign:"middle",size:3,mr:2}),"Book Uploader"]}),(0,r.jsxs)(o.BJ,{children:[(0,r.jsxs)(o.BJ.Item,{children:[(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Title",children:(0,r.jsx)(o.$n,{width:20,textAlign:"left",icon:"pen",disabled:a.copyright,content:a.title,onClick:function(){return(0,c.modalOpen)("edit_selected_title")}})}),(0,r.jsx)(o.Ki.Item,{label:"Author",children:(0,r.jsx)(o.$n,{width:20,textAlign:"left",icon:"pen",disabled:a.copyright,content:a.author,onClick:function(){return(0,c.modalOpen)("edit_selected_author")}})}),(0,r.jsx)(o.Ki.Item,{label:"Select Categories",children:(0,r.jsx)(o.az,{children:(0,r.jsx)(o.ms,{width:"240px",options:s.map(function(e){return e.description}),onSelected:function(e){return t("toggle_upload_category",{category_id:d[e]})}})})})]}),(0,r.jsx)("br",{}),s.filter(function(e){return a.categories.includes(e.category_id)}).map(function(e){return(0,r.jsx)(o.$n,{content:e.description,disabled:a.copyright,selected:!0,icon:"unlink",onClick:function(){return t("toggle_upload_category",{category_id:e.category_id})}},e.category_id)})]}),(0,r.jsx)(o.BJ.Item,{mr:75,children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Summary",children:(0,r.jsx)(o.$n,{icon:"pen",width:"auto",disabled:a.copyright,content:"Edit Summary",onClick:function(){return(0,c.modalOpen)("edit_selected_summary")}})}),(0,r.jsx)(o.Ki.Item,{children:a.summary})]})})]})]})},b=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data.checkout_data;return(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:"Checked Out Books",children:(0,r.jsxs)(o.XI,{className:"Library__Booklist",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"Patron"}),(0,r.jsx)(o.XI.Cell,{children:"Title"}),(0,r.jsx)(o.XI.Cell,{children:"Time Left"}),(0,r.jsx)(o.XI.Cell,{children:"Actions"})]}),i.map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsxs)(o.XI.Cell,{children:[(0,r.jsx)(o.In,{name:"user-tag"}),e.patron_name]}),(0,r.jsx)(o.XI.Cell,{textAlign:"left",children:e.title}),(0,r.jsx)(o.XI.Cell,{children:e.timeleft>=0?e.timeleft:"LATE"}),(0,r.jsx)(o.XI.Cell,{textAlign:"left",children:(0,r.jsx)(o.$n,{content:"Mark Lost",icon:"flag",color:"bad",disabled:e.timeleft>=0,onClick:function(){return t("reportlost",{libraryid:e.libraryid})}})})]},n)})]})})},y=function(e){var n=(0,l.Oc)(),t=(n.act,n.data).inventory_list;return(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:"Library Inventory",children:(0,r.jsxs)(o.XI,{className:"Library__Booklist",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"LIB ID"}),(0,r.jsx)(o.XI.Cell,{children:"Title"}),(0,r.jsx)(o.XI.Cell,{children:"Author"}),(0,r.jsx)(o.XI.Cell,{children:"Status"})]}),t.map(function(e,n){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.libraryid}),(0,r.jsxs)(o.XI.Cell,{textAlign:"left",children:[(0,r.jsx)(o.In,{name:"book"})," ",e.title]}),(0,r.jsx)(o.XI.Cell,{textAlign:"left",children:e.author}),(0,r.jsx)(o.XI.Cell,{textAlign:"left",children:e.checked_out?"Checked Out":"Available"})]},n)})]})})};(0,c.modalRegisterBodyOverride)("expand_info",function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=e.args,s=i.user_ckey;return(0,r.jsxs)(o.wn,{children:[(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Title",children:a.title}),(0,r.jsx)(o.Ki.Item,{label:"Author",children:a.author}),(0,r.jsx)(o.Ki.Item,{label:"Summary",children:a.summary}),(0,r.jsxs)(o.Ki.Item,{label:"Rating",children:[a.rating,(0,r.jsx)(o.In,{name:"star",color:"yellow",verticalAlign:"top"})]}),!a.isProgrammatic&&(0,r.jsx)(o.Ki.Item,{label:"Categories",children:a.categories.join(", ")})]}),(0,r.jsx)("br",{}),s===a.ckey&&(0,r.jsx)(o.$n,{content:"Delete Book",icon:"trash",color:"red",disabled:a.isProgrammatic,onClick:function(){return t("delete_book",{bookid:a.id,user_ckey:s})}}),(0,r.jsx)(o.$n,{content:"Report Book",icon:"flag",color:"red",disabled:a.isProgrammatic,onClick:function(){return(0,c.modalOpen)("report_book",{bookid:a.id})}}),(0,r.jsx)(o.$n,{content:"Rate Book",icon:"star",color:"caution",disabled:a.isProgrammatic,onClick:function(){return(0,c.modalOpen)("rate_info",{bookid:a.id})}})]})}),(0,c.modalRegisterBodyOverride)("report_book",function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=e.args,s=a.selected_report,u=a.report_categories,d=a.user_ckey;return(0,r.jsxs)(o.wn,{level:2,m:"-1rem",pb:"1.5rem",title:"Report this book for Rule Violations",children:[(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Title",children:c.title}),(0,r.jsx)(o.Ki.Item,{label:"Reasons",children:(0,r.jsx)(o.az,{children:u.map(function(e,n){return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(o.$n,{content:e.description,selected:e.category_id===s,onClick:function(){return t("set_report",{report_type:e.category_id})}}),(0,r.jsx)("br",{})]},n)})})})]}),(0,r.jsx)(o.$n.Confirm,{bold:!0,icon:"paper-plane",content:"Submit Report",onClick:function(){return t("submit_report",{bookid:c.id,user_ckey:d})}})]})}),(0,c.modalRegisterBodyOverride)("rate_info",function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=e.args,c=i.user_ckey;return(0,r.jsxs)(o.wn,{level:2,m:"-1rem",pb:"1.5rem",children:[(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Title",children:a.title}),(0,r.jsx)(o.Ki.Item,{label:"Author",children:a.author}),(0,r.jsxs)(o.Ki.Item,{label:"Rating",children:[a.current_rating?a.current_rating:0,(0,r.jsx)(o.In,{name:"star",color:"yellow",ml:.5,verticalAlign:"middle"})]}),(0,r.jsx)(o.Ki.Item,{label:"Total Ratings",children:a.total_ratings?a.total_ratings:0})]}),(0,r.jsx)(f,{}),(0,r.jsx)(o.$n.Confirm,{mt:2,content:"Submit",icon:"paper-plane",onClick:function(){return t("rate_book",{bookid:a.id,user_ckey:c})}})]})})},183:function(e,n,t){"use strict";t.r(n),t.d(n,{LibraryManager:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4744),c=function(e){return(0,r.jsxs)(l.p8,{width:600,height:600,children:[(0,r.jsx)(a.ComplexModal,{}),(0,r.jsx)(l.p8.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,r.jsx)(s,{})})]})},s=function(e){var n=(0,o.Oc)();switch((n.act,n.data).pagestate){case 1:return(0,r.jsx)(u,{});case 2:return(0,r.jsx)(f,{});case 3:return(0,r.jsx)(d,{});default:return"WE SHOULDN'T BE HERE!"}},u=function(e){var n=(0,o.Oc)(),t=n.act;return n.data,(0,r.jsxs)(i.wn,{children:[(0,r.jsxs)(i.az,{fontSize:"1.4rem",bold:!0,children:[(0,r.jsx)(i.In,{name:"user-shield",verticalAlign:"middle",size:3,mr:"1rem"}),"Library Manager"]}),(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{icon:"trash",width:"auto",color:"danger",content:"Delete Book by SSID",onClick:function(){return(0,a.modalOpen)("specify_ssid_delete")}}),(0,r.jsx)(i.$n,{icon:"user-slash",width:"auto",color:"danger",content:"Delete All Books By CKEY",onClick:function(){return(0,a.modalOpen)("specify_ckey_delete")}}),(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{icon:"search",width:"auto",content:"View All Books By CKEY",onClick:function(){return(0,a.modalOpen)("specify_ckey_search")}}),(0,r.jsx)(i.$n,{icon:"search",width:"auto",content:"View All Reported Books",onClick:function(){return t("view_reported_books")}})]})},d=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.reports;return(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.XI,{className:"Library__Booklist",children:[(0,r.jsxs)(i.az,{fontSize:"1.2rem",bold:!0,children:[(0,r.jsx)(i.In,{name:"user-secret",verticalAlign:"middle",size:2,mr:"1rem"}),(0,r.jsx)("br",{}),"All Reported Books",(0,r.jsx)("br",{})]}),(0,r.jsx)(i.$n,{content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){return t("return")}}),(0,r.jsxs)(i.XI.Row,{bold:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Uploader CKEY"}),(0,r.jsx)(i.XI.Cell,{children:"SSID"}),(0,r.jsx)(i.XI.Cell,{children:"Title"}),(0,r.jsx)(i.XI.Cell,{children:"Author"}),(0,r.jsx)(i.XI.Cell,{children:"Report Type"}),(0,r.jsx)(i.XI.Cell,{children:"Reporter Ckey"}),(0,r.jsx)(i.XI.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),l.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{bold:!0,children:e.uploader_ckey}),(0,r.jsx)(i.XI.Cell,{children:e.id}),(0,r.jsxs)(i.XI.Cell,{textAlign:"left",children:[(0,r.jsx)(i.In,{name:"book"}),e.title]}),(0,r.jsx)(i.XI.Cell,{textAlign:"left",children:e.author}),(0,r.jsx)(i.XI.Cell,{textAlign:"left",children:e.report_description}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:e.reporter_ckey}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n.Confirm,{content:"Delete",icon:"trash",onClick:function(){return t("delete_book",{bookid:e.id})}}),(0,r.jsx)(i.$n,{content:"Unflag",icon:"flag",color:"caution",onClick:function(){return t("unflag_book",{bookid:e.id})}}),(0,r.jsx)(i.$n,{content:"View",onClick:function(){return t("view_book",{bookid:e.id})}})]})]},e.id)})]})})},f=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.ckey,c=l.booklist;return(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.XI,{className:"Library__Booklist",children:[(0,r.jsxs)(i.az,{fontSize:"1.2rem",bold:!0,children:[(0,r.jsx)(i.In,{name:"user",verticalAlign:"middle",size:2,mr:"1rem"}),(0,r.jsx)("br",{}),"Books uploaded by ",a,(0,r.jsx)("br",{})]}),(0,r.jsx)(i.$n,{mt:1,content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){return t("return")}}),(0,r.jsxs)(i.XI.Row,{bold:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"SSID"}),(0,r.jsx)(i.XI.Cell,{children:"Title"}),(0,r.jsx)(i.XI.Cell,{children:"Author"}),(0,r.jsx)(i.XI.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),c.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.id}),(0,r.jsxs)(i.XI.Cell,{textAlign:"left",children:[(0,r.jsx)(i.In,{name:"book"}),e.title]}),(0,r.jsx)(i.XI.Cell,{textAlign:"left",children:e.author}),(0,r.jsxs)(i.XI.Cell,{textAlign:"right",children:[(0,r.jsx)(i.$n.Confirm,{content:"Delete",icon:"trash",color:"bad",onClick:function(){return t("delete_book",{bookid:e.id})}}),(0,r.jsx)(i.$n,{content:"View",onClick:function(){return t("view_book",{bookid:e.id})}})]})]},e.id)})]})})}},1536:function(e,n,t){"use strict";t.r(n),t.d(n,{ListInputModal:()=>h});var r=t(8138),i=t(4530),o=t(7790),l=t(7686),a=t(2864),c=t(3384),s=t(1942),u=t(9472);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t10),2),I=C[0],S=C[1],O=f((0,i.useState)(""),2),A=O[0],P=O[1],E=function(e){var n,t,r,i,o=T.length-1;e===l.R?null===k||k===o?(_(0),null==(n=document.getElementById("0"))||n.scrollIntoView()):(_(k+1),null==(t=document.getElementById((k+1).toString()))||t.scrollIntoView()):e===l.gf&&(null===k||0===k?(_(o),null==(r=document.getElementById(o.toString()))||r.scrollIntoView()):(_(k-1),null==(i=document.getElementById((k-1).toString()))||i.scrollIntoView()))},B=function(e){var n=String.fromCharCode(e),t=x.find(function(e){return null==e?void 0:e.toLowerCase().startsWith(null==n?void 0:n.toLowerCase())});if(t){var r,i=x.indexOf(t);_(i),null==(r=document.getElementById(i.toString()))||r.scrollIntoView()}},z=function(){S(!I),P("")},T=x.filter(function(e){return null==e?void 0:e.toLowerCase().includes(A.toLowerCase())}),N=350+Math.ceil(j.length/3);return I||setTimeout(function(){var e;return null==(e=document.getElementById(k.toString()))?void 0:e.focus()},1),(0,r.jsxs)(c.p8,{title:v,width:325,height:N,children:[y&&(0,r.jsx)(u.Loader,{value:y}),(0,r.jsx)(c.p8.Content,{onKeyDown:function(e){var n=window.event?e.which:e.keyCode;(n===l.R||n===l.gf)&&(e.preventDefault(),E(n)),n===l.Ri&&(e.preventDefault(),t("submit",{entry:T[k]})),!I&&n>=l.W8&&n<=l.bh&&(e.preventDefault(),B(n)),n===l.s6&&(e.preventDefault(),t("cancel"))},children:(0,r.jsx)(o.wn,{buttons:(0,r.jsx)(o.$n,{compact:!0,icon:I?"search":"font",selected:!0,tooltip:I?"Search Mode. Type to search or use arrow keys to select manually.":"Hotkey Mode. Type a letter to jump to the first match. Enter to select.",tooltipPosition:"left",onClick:function(){return z()}}),className:"ListInput__Section",fill:!0,title:j,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(m,{filteredItems:T,onClick:function(e){e!==k&&_(e)},onFocusSearch:function(){S(!1),S(!0)},searchBarVisible:I,selected:k})}),(0,r.jsx)(o.BJ.Item,{m:0,children:I&&(0,r.jsx)(p,{filteredItems:T,onSearch:function(e){var n;e!==A&&(P(e),_(0),null==(n=document.getElementById("0"))||n.scrollIntoView())},searchQuery:A,selected:k})}),(0,r.jsx)(o.BJ.Item,{mt:.5,children:(0,r.jsx)(s.InputButtons,{input:T[k]})})]})})})]})},m=function(e){var n=(0,a.Oc)().act,t=e.filteredItems,i=e.onClick,c=e.onFocusSearch,s=e.searchBarVisible,u=e.selected;return(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,children:t.map(function(e,a){return(0,r.jsx)(o.$n,{fluid:!0,color:"transparent",id:a,onClick:function(){return i(a)},onMouseDown:function(e){2===e.detail&&(e.preventDefault(),n("submit",{entry:t[u]}))},onKeyDown:function(e){var n=window.event?e.which:e.keyCode;s&&n>=l.W8&&n<=l.bh&&(e.preventDefault(),c())},selected:a===u,style:{animation:"none",transition:"none"},children:e.replace(/^\w/,function(e){return e.toUpperCase()})},a)})})},p=function(e){var n=(0,a.Oc)().act,t=e.filteredItems,i=e.onSearch,l=e.searchQuery,c=e.selected;return(0,r.jsx)(o.pd,{width:"100%",autoFocus:!0,autoSelect:!0,placeholder:"Search...",value:l,onChange:function(e){return i(e)},onEnter:function(){n("submit",{entry:t[c]})}})}},7239:function(e,n,t){"use strict";t.r(n),t.d(n,{Loadout:()=>f});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t2?Object.entries(s.gears).reduce(function(e,n){var t=u(n,2),r=(t[0],t[1]);return e.concat(Object.entries(r).map(function(e){var n=u(e,2);return{key:n[0],gear:n[1]}}))},[]).filter(function(e){return I(e.gear)}):Object.entries(s.gears[p]).map(function(e){var n=u(e,2);return{key:n[0],gear:n[1]}})).sort(d[v]),_&&(n=n.reverse()),(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:p,buttons:(0,r.jsxs)(o.BJ,{children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.ms,{height:1.66,selected:v,options:Object.keys(d),onSelected:function(e){return w(e)}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{icon:_?"arrow-down-wide-short":"arrow-down-short-wide",tooltip:_?"Ascending order":"Descending order",tooltipPosition:"bottom-end",onClick:function(){return C(!_)}})}),x&&(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.pd,{width:20,placeholder:"Search...",value:j,onChange:function(e){return b(e)}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{icon:"magnifying-glass",selected:x,tooltip:"Toggle search field",tooltipPosition:"bottom-end",onClick:function(){g(!x),b("")}})})]}),children:n.map(function(e){var n=e.key,t=e.gear,i=Object.keys(s.selected_gears).includes(n),l=1===t.cost?"".concat(t.cost," Point"):"".concat(t.cost," Points"),a=(0,r.jsxs)(o.az,{children:[t.name.length>12&&(0,r.jsx)(o.az,{children:t.name}),t.gear_tier>f&&(0,r.jsx)(o.az,{mt:t.name.length>12&&1.5,textColor:"red",children:"That gear is only available at a higher donation tier than you are on."})]}),d=(0,r.jsxs)(r.Fragment,{children:[t.allowed_roles&&(0,r.jsx)(o.$n,{width:"22px",color:"transparent",icon:"user",tooltip:(0,r.jsx)(o.wn,{m:-1,title:"Allowed Roles",children:t.allowed_roles.map(function(e){return(0,r.jsx)(o.az,{children:e},e)})}),tooltipPosition:"left"}),Object.entries(t.tweaks).map(function(e){var n=u(e,2),t=n[0];return n[1].map(function(e){return(0,r.jsx)(o.$n,{width:"22px",color:"transparent",icon:e.icon,tooltip:e.tooltip,tooltipPosition:"top"},t)})}),(0,r.jsx)(o.$n,{width:"22px",color:"transparent",icon:"info",tooltip:t.desc,tooltipPosition:"top"})]}),p=(0,r.jsxs)(o.az,{className:"Loadout-InfoBox",children:[(0,r.jsx)(o.az,{style:{flexGrow:1},fontSize:1,color:"gold",opacity:.75,children:t.gear_tier>0&&"Tier ".concat(t.gear_tier)}),(0,r.jsx)(o.az,{fontSize:.75,opacity:.66,children:l})]});return(0,r.jsx)(o.c_,{m:.5,imageSize:84,dmIcon:t.icon,dmIconState:t.icon_state,tooltip:(t.name.length>12||t.gear_tier>0)&&a,tooltipPosition:"bottom",selected:i,disabled:t.gear_tier>f||h+t.cost>m&&!i,buttons:d,buttonsAlt:p,onClick:function(){return c("toggle_gear",{gear:n})},children:t.name},n)})})},p=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data,l=e.setTweakedGear,c=Object.entries(i.gears).reduce(function(e,n){var t=u(n,2),r=Object.entries((t[0],t[1])).filter(function(e){var n=u(e,1)[0];return Object.keys(i.selected_gears).includes(n)}).map(function(e){var n=u(e,2);return function(e){for(var n=1;n0&&(0,r.jsx)(o.$n,{icon:"gears",iconColor:"gray",width:"33px",onClick:function(){return l(e)}}),(0,r.jsx)(o.$n,{icon:"times",iconColor:"red",width:"32px",onClick:function(){return t("toggle_gear",{gear:e.key})}})]}),children:e.name},e.key)})})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.wn,{children:(0,r.jsx)(o.z2,{value:i.gear_slots,maxValue:i.max_gear_slots,ranges:{bad:[i.max_gear_slots,1/0],average:[.66*i.max_gear_slots,i.max_gear_slots],good:[0,.66*i.max_gear_slots]},children:(0,r.jsxs)(o.az,{textAlign:"center",children:["Used points ",i.gear_slots,"/",i.max_gear_slots]})})})})]})},x=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data,l=e.tweakedGear,c=e.setTweakedGear;return(0,r.jsx)(o.Rr,{children:(0,r.jsx)(o.az,{className:"Loadout-Modal__background",children:(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,width:20,height:20,title:l.name,buttons:(0,r.jsx)(o.$n,{color:"red",icon:"times",tooltip:"Close",tooltipPosition:"top",onClick:function(){return c("")}}),children:(0,r.jsx)(o.Ki,{children:Object.entries(l.tweaks).map(function(e){var n=u(e,2),a=n[0];return n[1].map(function(e){var n=i.selected_gears[l.key][a];return(0,r.jsxs)(o.Ki.Item,{label:e.name,color:n?"":"gray",buttons:(0,r.jsx)(o.$n,{color:"transparent",icon:"pen",onClick:function(){return t("set_tweak",{gear:l.key,tweak:a})}}),children:[n||"Default",(0,r.jsx)(o.az,{inline:!0,ml:1,width:1,height:1,verticalAlign:"middle",style:{backgroundColor:"".concat(n)}})]},a)})})})})})})}},5766:function(e,n,t){"use strict";t.r(n),t.d(n,{LoreConsole:()=>e2});var r,i=t(8138),o=t(2864),l=t(4530),a=t(7790),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t"']/,b=RegExp(j.source,"g"),y=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,v=RegExp(y.source,"g"),w={"&":"&","<":"<",">":">",'"':""","'":"'"},k=function(e){return w[e]};function _(e,n){if(n){if(j.test(e))return e.replace(b,k)}else if(y.test(e))return e.replace(v,k);return e}var C=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function I(e){return e.replace(C,function(e,n){return"colon"===(n=n.toLowerCase())?":":"#"===n.charAt(0)?"x"===n.charAt(1)?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""})}var S=/(^|[^\[])\^/g;function O(e,n){e="string"==typeof e?e:e.source,n=n||"";var t={replace:function(n,r){return r=(r=r.source||r).replace(S,"$1"),e=e.replace(n,r),t},getRegex:function(){return new RegExp(e,n)}};return t}var A=/[^\w:]/g,P=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function E(e,n,t){var r,i,o,l;if(e){try{r=decodeURIComponent(I(t)).replace(A,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}n&&!P.test(t)&&(i=n,o=t,B[" "+i]||(z.test(i)?B[" "+i]=i+"/":B[" "+i]=D(i,"/",!0)),l=-1===(i=B[" "+i]).indexOf(":"),t="//"===o.substring(0,2)?l?o:i.replace(T,"$1")+o:"/"!==o.charAt(0)?i+o:l?o:i.replace(N,"$1")+o);try{t=encodeURI(t).replace(/%25/g,"%")}catch(e){return null}return t}var B={},z=/^[^:]+:\/*[^/]*$/,T=/^([^:]+:)[\s\S]*$/,N=/^([^:]+:\/*[^/]*)[\s\S]*$/,R={exec:function(){}};function $(e,n){var t=e.replace(/\|/g,function(e,n,t){for(var r=!1,i=n;--i>=0&&"\\"===t[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(t[0].trim()||t.shift(),t.length>0&&!t[t.length-1].trim()&&t.pop(),t.length>n)t.splice(n);else for(;t.length1;)1&n&&(t+=e),n>>=1,e+=e;return t+e}function L(e,n,t,r){var i=n.href,o=n.title?_(n.title):null,l=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;var a={type:"link",raw:t,href:i,title:o,text:l,tokens:r.inlineTokens(l)};return r.state.inLink=!1,a}return{type:"image",raw:t,href:i,title:o,text:_(l)}}var K=function(){function e(n){u(this,e),this.options=n||g}return f(e,[{key:"space",value:function(e){var n=this.rules.block.newline.exec(e);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}},{key:"code",value:function(e){var n=this.rules.block.code.exec(e);if(n){var t=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?t:D(t,"\n")}}}},{key:"fences",value:function(e){var n=this.rules.block.fences.exec(e);if(n){var t=n[0],r=function(e,n){var t=e.match(/^(\s+)(?:```)/);if(null===t)return n;var r=t[1];return n.split("\n").map(function(e){var n=e.match(/^\s+/);return null===n?e:(function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),1!==o.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(n,1)||function(e,n){if(e){if("string"==typeof e)return s(e,1);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(e,1)}}(n,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0].length>=r.length?e.slice(r.length):e}).join("\n")}(t,n[3]||"");return{type:"code",raw:t,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:r}}}},{key:"heading",value:function(e){var n=this.rules.block.heading.exec(e);if(n){var t=n[2].trim();if(/#$/.test(t)){var r=D(t,"#");this.options.pedantic?t=r.trim():(!r||/ $/.test(r))&&(t=r.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:t,tokens:this.lexer.inline(t)}}}},{key:"hr",value:function(e){var n=this.rules.block.hr.exec(e);if(n)return{type:"hr",raw:n[0]}}},{key:"blockquote",value:function(e){var n=this.rules.block.blockquote.exec(e);if(n){var t=n[0].replace(/^ *>[ \t]?/gm,""),r=this.lexer.state.top;this.lexer.state.top=!0;var i=this.lexer.blockTokens(t);return this.lexer.state.top=r,{type:"blockquote",raw:n[0],tokens:i,text:t}}}},{key:"list",value:function(e){var n=this.rules.block.list.exec(e);if(n){var t,r,i,o,l,a,c,s,u,d,f,h,m=n[1].trim(),p=m.length>1,x={type:"list",raw:"",ordered:p,start:p?+m.slice(0,-1):"",loose:!1,items:[]};m=p?"\\d{1,9}\\".concat(m.slice(-1)):"\\".concat(m),this.options.pedantic&&(m=p?m:"[*+-]");for(var g=new RegExp("^( {0,3}".concat(m,")((?:[ ][^\\n]*)?(?:\\n|$))"));e&&(h=!1,!(!(n=g.exec(e))||this.rules.block.hr.test(e)));){if(t=n[0],e=e.substring(t.length),s=n[2].split("\n",1)[0].replace(/^\t+/,function(e){return" ".repeat(3*e.length)}),u=e.split("\n",1)[0],this.options.pedantic?(o=2,f=s.trimLeft()):(o=(o=n[2].search(/[^ ]/))>4?1:o,f=s.slice(o),o+=n[1].length),a=!1,!s&&/^ *$/.test(u)&&(t+=u+"\n",e=e.substring(u.length+1),h=!0),!h)for(var j=new RegExp("^ {0,".concat(Math.min(3,o-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))")),b=new RegExp("^ {0,".concat(Math.min(3,o-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),y=new RegExp("^ {0,".concat(Math.min(3,o-1),"}(?:```|~~~)")),v=new RegExp("^ {0,".concat(Math.min(3,o-1),"}#"));e&&(u=d=e.split("\n",1)[0],this.options.pedantic&&(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(y.test(u)||v.test(u)||j.test(u)||b.test(e)));){if(u.search(/[^ ]/)>=o||!u.trim())f+="\n"+u.slice(o);else{if(a||s.search(/[^ ]/)>=4||y.test(s)||v.test(s)||b.test(s))break;f+="\n"+u}a||u.trim()||(a=!0),t+=d+"\n",e=e.substring(d.length+1),s=u.slice(o)}!x.loose&&(c?x.loose=!0:/\n *\n *$/.test(t)&&(c=!0)),this.options.gfm&&(r=/^\[[ xX]\] /.exec(f))&&(i="[ ] "!==r[0],f=f.replace(/^\[[ xX]\] +/,"")),x.items.push({type:"list_item",raw:t,task:!!r,checked:i,loose:!1,text:f}),x.raw+=t}x.items[x.items.length-1].raw=t.trimRight(),x.items[x.items.length-1].text=f.trimRight(),x.raw=x.raw.trimRight();var w=x.items.length;for(l=0;l0&&k.some(function(e){return/\n.*\n/.test(e.raw)})}if(x.loose)for(l=0;l$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline._escapes,"$1"):n[3];return{type:"def",tag:t,raw:n[0],href:r,title:i}}}},{key:"table",value:function(e){var n=this.rules.block.table.exec(e);if(n){var t={type:"table",header:$(n[1]).map(function(e){return{text:e}}),align:n[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(t.header.length===t.align.length){t.raw=n[0];var r,i,o,l,a=t.align.length;for(r=0;r/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):_(n[0]):n[0]}}},{key:"link",value:function(e){var n=this.rules.inline.link.exec(e);if(n){var t=n[2].trim();if(!this.options.pedantic&&/^$/.test(t))return;var r=D(t.slice(0,-1),"\\");if((t.length-r.length)%2==0)return}else{var i=function(e,n){if(-1===e.indexOf(")"))return -1;for(var t=e.length,r=0,i=0;i-1){var o=(0===n[0].indexOf("!")?5:4)+n[1].length+i;n[2]=n[2].substring(0,i),n[0]=n[0].substring(0,o).trim(),n[3]=""}}var l=n[2],a="";if(this.options.pedantic){var c=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);c&&(l=c[1],a=c[3])}else a=n[3]?n[3].slice(1,-1):"";return l=l.trim(),/^$/.test(t)?l.slice(1):l.slice(1,-1)),L(n,{href:l?l.replace(this.rules.inline._escapes,"$1"):l,title:a?a.replace(this.rules.inline._escapes,"$1"):a},n[0],this.lexer)}}},{key:"reflink",value:function(e,n){var t;if((t=this.rules.inline.reflink.exec(e))||(t=this.rules.inline.nolink.exec(e))){var r=(t[2]||t[1]).replace(/\s+/g," ");if(!(r=n[r.toLowerCase()])){var i=t[0].charAt(0);return{type:"text",raw:i,text:i}}return L(t,r,t[0],this.lexer)}}},{key:"emStrong",value:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrong.lDelim.exec(e);if(r&&!(r[3]&&t.match(RegExp("[\\p{L}\\p{N}]","u")))){var i=r[1]||r[2]||"";if(!i||i&&(""===t||this.rules.inline.punctuation.exec(t))){var o,l,a=r[0].length-1,c=a,s=0,u="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,n=n.slice(-1*e.length+a);null!=(r=u.exec(n));){if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6]){if(l=o.length,r[3]||r[4]){c+=l;continue}if((r[5]||r[6])&&a%3&&!((a+l)%3)){s+=l;continue}if(!((c-=l)>0)){l=Math.min(l,l+c+s);var d=e.slice(0,a+r.index+(r[0].length-o.length)+l);if(Math.min(a,l)%2){var f=d.slice(1,-1);return{type:"em",raw:d,text:f,tokens:this.lexer.inlineTokens(f)}}var h=d.slice(2,-2);return{type:"strong",raw:d,text:h,tokens:this.lexer.inlineTokens(h)}}}}}}}},{key:"codespan",value:function(e){var n=this.rules.inline.code.exec(e);if(n){var t=n[2].replace(/\n/g," "),r=/[^ ]/.test(t),i=/^ /.test(t)&&/ $/.test(t);return r&&i&&(t=t.substring(1,t.length-1)),t=_(t,!0),{type:"codespan",raw:n[0],text:t}}}},{key:"br",value:function(e){var n=this.rules.inline.br.exec(e);if(n)return{type:"br",raw:n[0]}}},{key:"del",value:function(e){var n=this.rules.inline.del.exec(e);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}},{key:"autolink",value:function(e,n){var t,r,i=this.rules.inline.autolink.exec(e);if(i)return r="@"===i[2]?"mailto:"+(t=_(this.options.mangle?n(i[1]):i[1])):t=_(i[1]),{type:"link",raw:i[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}},{key:"url",value:function(e,n){var t,r,i,o;if(t=this.rules.inline.url.exec(e)){if("@"===t[2])i="mailto:"+(r=_(this.options.mangle?n(t[0]):t[0]));else{do o=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])[0];while(o!==t[0]);r=_(t[0]),i="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}},{key:"inlineText",value:function(e,n){var t,r=this.rules.inline.text.exec(e);if(r)return t=this.lexer.state.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):_(r[0]):r[0]:_(this.options.smartypants?n(r[0]):r[0]),{type:"text",raw:r[0],text:t}}}]),e}(),J={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:R,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};J._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,J._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,J.def=O(J.def).replace("label",J._label).replace("title",J._title).getRegex(),J.bullet=/(?:[*+-]|\d{1,9}[.)])/,J.listItemStart=O(/^( *)(bull) */).replace("bull",J.bullet).getRegex(),J.list=O(J.list).replace(/bull/g,J.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+J.def.source+")").getRegex(),J._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",J._comment=/|$)/,J.html=O(J.html,"i").replace("comment",J._comment).replace("tag",J._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),J.paragraph=O(J._paragraph).replace("hr",J.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",J._tag).getRegex(),J.blockquote=O(J.blockquote).replace("paragraph",J.paragraph).getRegex(),J.normal=m({},J),J.gfm=p(m({},J.normal),{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),J.gfm.table=O(J.gfm.table).replace("hr",J.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",J._tag).getRegex(),J.gfm.paragraph=O(J._paragraph).replace("hr",J.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",J.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",J._tag).getRegex(),J.pedantic=p(m({},J.normal),{html:O("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",J._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:R,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:O(J.normal._paragraph).replace("hr",J.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",J.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var X={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:R,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:R,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(t="x"+t.toString(16)),r+="&#"+t+";";return r}X._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",X.punctuation=O(X.punctuation).replace(/punctuation/g,X._punctuation).getRegex(),X.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,X.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g,X._comment=O(J._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),X.emStrong.lDelim=O(X.emStrong.lDelim).replace(/punct/g,X._punctuation).getRegex(),X.emStrong.rDelimAst=O(X.emStrong.rDelimAst,"g").replace(/punct/g,X._punctuation).getRegex(),X.emStrong.rDelimUnd=O(X.emStrong.rDelimUnd,"g").replace(/punct/g,X._punctuation).getRegex(),X._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,X._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,X._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,X.autolink=O(X.autolink).replace("scheme",X._scheme).replace("email",X._email).getRegex(),X._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,X.tag=O(X.tag).replace("comment",X._comment).replace("attribute",X._attribute).getRegex(),X._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,X._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,X._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,X.link=O(X.link).replace("label",X._label).replace("href",X._href).replace("title",X._title).getRegex(),X.reflink=O(X.reflink).replace("label",X._label).replace("ref",J._label).getRegex(),X.nolink=O(X.nolink).replace("ref",J._label).getRegex(),X.reflinkSearch=O(X.reflinkSearch,"g").replace("reflink",X.reflink).replace("nolink",X.nolink).getRegex(),X.normal=m({},X),X.pedantic=p(m({},X.normal),{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:O(/^!?\[(label)\]\((.*?)\)/).replace("label",X._label).getRegex(),reflink:O(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",X._label).getRegex()}),X.gfm=p(m({},X.normal),{escape:O(X.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\1&&void 0!==arguments[1]?arguments[1]:[];for(e=this.options.pedantic?e.replace(/\t/g," ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,function(e,n,t){return n+" ".repeat(t.length)});e&&"break"!==(o=this,function(){if(o.options.extensions&&o.options.extensions.block&&o.options.extensions.block.some(function(t){return!!(n=t.call({lexer:l},e,a))&&(e=e.substring(n.raw.length),a.push(n),!0)}))return"continue";if(n=o.tokenizer.space(e))return e=e.substring(n.raw.length),1===n.raw.length&&a.length>0?a[a.length-1].raw+="\n":a.push(n),"continue";if(n=o.tokenizer.code(e))return e=e.substring(n.raw.length),(t=a[a.length-1])&&("paragraph"===t.type||"text"===t.type)?(t.raw+="\n"+n.raw,t.text+="\n"+n.text,o.inlineQueue[o.inlineQueue.length-1].src=t.text):a.push(n),"continue";if((n=o.tokenizer.fences(e))||(n=o.tokenizer.heading(e))||(n=o.tokenizer.hr(e))||(n=o.tokenizer.blockquote(e))||(n=o.tokenizer.list(e))||(n=o.tokenizer.html(e)))return e=e.substring(n.raw.length),a.push(n),"continue";if(n=o.tokenizer.def(e))return e=e.substring(n.raw.length),(t=a[a.length-1])&&("paragraph"===t.type||"text"===t.type)?(t.raw+="\n"+n.raw,t.text+="\n"+n.raw,o.inlineQueue[o.inlineQueue.length-1].src=t.text):o.tokens.links[n.tag]||(o.tokens.links[n.tag]={href:n.href,title:n.title}),"continue";if((n=o.tokenizer.table(e))||(n=o.tokenizer.lheading(e)))return e=e.substring(n.raw.length),a.push(n),"continue";if(r=e,o.options.extensions&&o.options.extensions.startBlock){var c=1/0,s=e.slice(1),u=void 0;o.options.extensions.startBlock.forEach(function(e){"number"==typeof(u=e.call({lexer:this},s))&&u>=0&&(c=Math.min(c,u))}),c<1/0&&c>=0&&(r=e.substring(0,c+1))}if(o.state.top&&(n=o.tokenizer.paragraph(r)))return t=a[a.length-1],i&&"paragraph"===t.type?(t.raw+="\n"+n.raw,t.text+="\n"+n.text,o.inlineQueue.pop(),o.inlineQueue[o.inlineQueue.length-1].src=t.text):a.push(n),i=r.length!==e.length,e=e.substring(n.raw.length),"continue";if(n=o.tokenizer.text(e))return e=e.substring(n.raw.length),(t=a[a.length-1])&&"text"===t.type?(t.raw+="\n"+n.raw,t.text+="\n"+n.text,o.inlineQueue.pop(),o.inlineQueue[o.inlineQueue.length-1].src=t.text):a.push(n),"continue";if(e){var d="Infinite loop on byte: "+e.charCodeAt(0);if(o.options.silent)return console.error(d),"break";throw Error(d)}}()););return this.state.top=!0,a}},{key:"inline",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:n}),n}},{key:"inlineTokens",value:function(e){var n,t,r,i,o,l,a,c=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],u=e;if(this.tokens.links){var d=Object.keys(this.tokens.links);if(d.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(u));)d.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,i.index)+"["+M("a",i[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(u));)u=u.slice(0,i.index)+"["+M("a",i[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.escapedEmSt.exec(u));)u=u.slice(0,i.index+i[0].length-2)+"++"+u.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e&&"break"!==(a=this,function(){if(o||(l=""),o=!1,a.options.extensions&&a.options.extensions.inline&&a.options.extensions.inline.some(function(t){return!!(n=t.call({lexer:c},e,s))&&(e=e.substring(n.raw.length),s.push(n),!0)}))return"continue";if(n=a.tokenizer.escape(e))return e=e.substring(n.raw.length),s.push(n),"continue";if(n=a.tokenizer.tag(e))return e=e.substring(n.raw.length),(t=s[s.length-1])&&"text"===n.type&&"text"===t.type?(t.raw+=n.raw,t.text+=n.text):s.push(n),"continue";if(n=a.tokenizer.link(e))return e=e.substring(n.raw.length),s.push(n),"continue";if(n=a.tokenizer.reflink(e,a.tokens.links))return e=e.substring(n.raw.length),(t=s[s.length-1])&&"text"===n.type&&"text"===t.type?(t.raw+=n.raw,t.text+=n.text):s.push(n),"continue";if((n=a.tokenizer.emStrong(e,u,l))||(n=a.tokenizer.codespan(e))||(n=a.tokenizer.br(e))||(n=a.tokenizer.del(e))||(n=a.tokenizer.autolink(e,F))||!a.state.inLink&&(n=a.tokenizer.url(e,F)))return e=e.substring(n.raw.length),s.push(n),"continue";if(r=e,a.options.extensions&&a.options.extensions.startInline){var i=1/0,d=e.slice(1),f=void 0;a.options.extensions.startInline.forEach(function(e){"number"==typeof(f=e.call({lexer:this},d))&&f>=0&&(i=Math.min(i,f))}),i<1/0&&i>=0&&(r=e.substring(0,i+1))}if(n=a.tokenizer.inlineText(r,U))return e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(l=n.raw.slice(-1)),o=!0,(t=s[s.length-1])&&"text"===t.type?(t.raw+=n.raw,t.text+=n.text):s.push(n),"continue";if(e){var h="Infinite loop on byte: "+e.charCodeAt(0);if(a.options.silent)return console.error(h),"break";throw Error(h)}}()););return s}}],[{key:"rules",get:function(){return{block:J,inline:X}}},{key:"lex",value:function(n,t){return new e(t).lex(n)}},{key:"lexInline",value:function(n,t){return new e(t).inlineTokens(n)}}]),e}(),H=function(){function e(n){u(this,e),this.options=n||g}return f(e,[{key:"code",value:function(e,n,t){var r=(n||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(t=!0,e=i)}return(e=e.replace(/\n$/,"")+"\n",r)?'
    '+(t?e:_(e,!0))+"
    \n":"
    "+(t?e:_(e,!0))+"
    \n"}},{key:"blockquote",value:function(e){return"
    \n".concat(e,"
    \n")}},{key:"html",value:function(e){return e}},{key:"heading",value:function(e,n,t,r){if(this.options.headerIds){var i=this.options.headerPrefix+r.slug(t);return"').concat(e,"\n")}return"").concat(e,"\n")}},{key:"hr",value:function(){return this.options.xhtml?"
    \n":"
    \n"}},{key:"list",value:function(e,n,t){var r=n?"ol":"ul";return"<"+r+(n&&1!==t?' start="'+t+'"':"")+">\n"+e+"\n"}},{key:"listitem",value:function(e){return"
  • ".concat(e,"
  • \n")}},{key:"checkbox",value:function(e){return" "}},{key:"paragraph",value:function(e){return"

    ".concat(e,"

    \n")}},{key:"table",value:function(e,n){return n&&(n="".concat(n,"")),"\n\n"+e+"\n"+n+"
    \n"}},{key:"tablerow",value:function(e){return"\n".concat(e,"\n")}},{key:"tablecell",value:function(e,n){var t=n.header?"th":"td";return(n.align?"<".concat(t,' align="').concat(n.align,'">'):"<".concat(t,">"))+e+"\n")}},{key:"strong",value:function(e){return"".concat(e,"")}},{key:"em",value:function(e){return"".concat(e,"")}},{key:"codespan",value:function(e){return"".concat(e,"")}},{key:"br",value:function(){return this.options.xhtml?"
    ":"
    "}},{key:"del",value:function(e){return"".concat(e,"")}},{key:"link",value:function(e,n,t){if(null===(e=E(this.options.sanitize,this.options.baseUrl,e)))return t;var r='
    "}},{key:"image",value:function(e,n,t){if(null===(e=E(this.options.sanitize,this.options.baseUrl,e)))return t;var r='').concat(t,'":">"}},{key:"text",value:function(e){return e}}]),e}(),W=function(){function e(){u(this,e)}return f(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,n,t){return""+t}},{key:"image",value:function(e,n,t){return""+t}},{key:"br",value:function(){return""}}]),e}(),q=function(){function e(){u(this,e),this.seen={}}return f(e,[{key:"serialize",value:function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(e,n){var t=e,r=0;if(this.seen.hasOwnProperty(t)){r=this.seen[e];do t=e+"-"+ ++r;while(this.seen.hasOwnProperty(t))}return n||(this.seen[e]=r,this.seen[t]=0),t}},{key:"slug",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=this.serialize(e);return this.getNextSafeSlug(t,n.dryrun)}}]),e}(),G=function(){function e(n){u(this,e),this.options=n||g,this.options.renderer=this.options.renderer||new H,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new W,this.slugger=new q}return f(e,[{key:"parse",value:function(e){var n,t,r,i,o,l,a,c,s,u,d,f,h,m,p,x,g,j,b,y=!(arguments.length>1)||void 0===arguments[1]||arguments[1],v="",w=e.length;for(n=0;n0&&"paragraph"===p.tokens[0].type?(p.tokens[0].text=j+" "+p.tokens[0].text,p.tokens[0].tokens&&p.tokens[0].tokens.length>0&&"text"===p.tokens[0].tokens[0].type&&(p.tokens[0].tokens[0].text=j+" "+p.tokens[0].tokens[0].text)):p.tokens.unshift({type:"text",text:j}):m+=j),m+=this.parse(p.tokens,h),s+=this.renderer.listitem(m,g,x);v+=this.renderer.list(s,d,f);continue;case"html":v+=this.renderer.html(u.text);continue;case"paragraph":v+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":for(s=u.tokens?this.parseInline(u.tokens):u.text;n+1";return c?Promise.resolve(n):s?void s(null,n):n}if(c)return Promise.reject(e);if(s)return void s(e);throw e});if(null==t)return l(Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return l(Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if((u=r)&&u.sanitize&&!u.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options"),r.hooks&&(r.hooks.options=r),i){var a,c,s,u,d,f=r.highlight;try{r.hooks&&(t=r.hooks.preprocess(t)),d=e(t,r)}catch(e){return l(e)}var h=function(e){var t;if(!e)try{r.walkTokens&&Z.walkTokens(d,r.walkTokens),t=n(d,r),r.hooks&&(t=r.hooks.postprocess(t))}catch(n){e=n}return r.highlight=f,e?l(e):i(null,t)};if(!f||f.length<3||(delete r.highlight,!d.length))return h();var p=0;return Z.walkTokens(d,function(e){"code"===e.type&&(p++,setTimeout(function(){f(e.text,e.lang,function(n,t){if(n)return h(n);null!=t&&t!==e.text&&(e.text=t,e.escaped=!0),0==--p&&h()})},0))}),void(0===p&&h())}if(r.async)return Promise.resolve(r.hooks?r.hooks.preprocess(t):t).then(function(n){return e(n,r)}).then(function(e){return r.walkTokens?Promise.all(Z.walkTokens(e,r.walkTokens)).then(function(){return e}):e}).then(function(e){return n(e,r)}).then(function(e){return r.hooks?r.hooks.postprocess(e):e}).catch(l);try{r.hooks&&(t=r.hooks.preprocess(t));var x=e(t,r);r.walkTokens&&Z.walkTokens(x,r.walkTokens);var g=n(x,r);return r.hooks&&(g=r.hooks.postprocess(g)),g}catch(e){return l(e)}}}function Z(e,n,t){return Y(V.lex,G.parse)(e,n,t)}h(Q,"passThroughHooks",new Set(["preprocess","postprocess"])),Z.options=Z.setOptions=function(e){return Z.defaults=m({},Z.defaults,e),g=Z.defaults,Z},Z.getDefaults=x,Z.defaults=g,Z.use=function(){for(var e=arguments.length,n=Array(e),t=0;t2?t-2:0),i=2;i1?n-1:0),r=1;r1?t-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:ep;en&&en(e,null);let r=n.length;for(;r--;){let i=n[r];if("string"==typeof i){let e=t(i);e!==i&&(et(n)||(n[r]=e),i=e)}e[i]=!0}return e}function eI(e){let n=ea(null);for(let[t,r]of ee(e))ev(e,t)&&(Array.isArray(r)?n[t]=function(e){for(let n=0;n/gm),eK=el(/\$\{[\w\W]*/gm),eJ=el(/^data-[\-\w.\u00B7-\uFFFF]+$/),eX=el(/^aria-[\-\w]+$/),eU=el(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),eF=el(/^(?:\w+script|data):/i),eV=el(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),eH=el(/^html$/i);var eW=Object.freeze({__proto__:null,ARIA_ATTR:eX,ATTR_WHITESPACE:eV,CUSTOM_ELEMENT:el(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:eJ,DOCTYPE_NAME:eH,ERB_EXPR:eL,IS_ALLOWED_URI:eU,IS_SCRIPT_OR_DATA:eF,MUSTACHE_EXPR:eM,TMPLIT_EXPR:eK});let eq=function(e,n){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let t=null,r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(t=n.getAttribute(r));let i="dompurify"+(t?"#"+t:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},eG=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var eQ=function e(){let n,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,r=n=>e(n);if(r.version="3.2.7",r.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return r.isSupported=!1,r;let{document:i}=t,o=i,l=o.currentScript,{DocumentFragment:a,HTMLTemplateElement:c,Node:s,Element:u,NodeFilter:d,NamedNodeMap:f=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:h,DOMParser:m,trustedTypes:p}=t,x=u.prototype,g=eS(x,"cloneNode"),j=eS(x,"remove"),b=eS(x,"nextSibling"),y=eS(x,"childNodes"),v=eS(x,"parentNode");if("function"==typeof c){let e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let w="",{implementation:k,createNodeIterator:_,createDocumentFragment:C,getElementsByTagName:I}=i,{importNode:S}=o,O=eG();r.isSupported="function"==typeof ee&&"function"==typeof v&&k&&void 0!==k.createHTMLDocument;let{MUSTACHE_EXPR:A,ERB_EXPR:P,TMPLIT_EXPR:E,DATA_ATTR:B,ARIA_ATTR:z,IS_SCRIPT_OR_DATA:T,ATTR_WHITESPACE:N,CUSTOM_ELEMENT:R}=eW,{IS_ALLOWED_URI:$}=eW,D=null,M=eC({},[...eO,...eA,...eP,...eB,...eT]),L=null,K=eC({},[...eN,...eR,...e$,...eD]),J=Object.seal(ea(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),X=null,U=null,F=!0,V=!0,H=!1,W=!0,q=!1,G=!0,Q=!1,Y=!1,Z=!1,en=!1,et=!1,er=!1,ei=!0,el=!1,ec=!0,es=!1,e_={},eM=null,eL=eC({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eK=null,eJ=eC({},["audio","video","img","source","image","track"]),eX=null,eF=eC({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eV="http://www.w3.org/1998/Math/MathML",eQ="http://www.w3.org/2000/svg",eY="http://www.w3.org/1999/xhtml",eZ=eY,e0=!1,e1=null,e2=eC({},[eV,eQ,eY],ex),e8=eC({},["mi","mo","mn","ms","mtext"]),e3=eC({},["annotation-xml"]),e5=eC({},["title","style","font","a","script"]),e4=null,e6=["application/xhtml+xml","text/html"],e7=null,e9=null,ne=i.createElement("form"),nn=function(e){return e instanceof RegExp||e instanceof Function},nt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!e9||e9!==e){if(e&&"object"==typeof e||(e={}),e=eI(e),e7="application/xhtml+xml"===(e4=-1===e6.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?ex:ep,D=ev(e,"ALLOWED_TAGS")?eC({},e.ALLOWED_TAGS,e7):M,L=ev(e,"ALLOWED_ATTR")?eC({},e.ALLOWED_ATTR,e7):K,e1=ev(e,"ALLOWED_NAMESPACES")?eC({},e.ALLOWED_NAMESPACES,ex):e2,eX=ev(e,"ADD_URI_SAFE_ATTR")?eC(eI(eF),e.ADD_URI_SAFE_ATTR,e7):eF,eK=ev(e,"ADD_DATA_URI_TAGS")?eC(eI(eJ),e.ADD_DATA_URI_TAGS,e7):eJ,eM=ev(e,"FORBID_CONTENTS")?eC({},e.FORBID_CONTENTS,e7):eL,X=ev(e,"FORBID_TAGS")?eC({},e.FORBID_TAGS,e7):eI({}),U=ev(e,"FORBID_ATTR")?eC({},e.FORBID_ATTR,e7):eI({}),e_=!!ev(e,"USE_PROFILES")&&e.USE_PROFILES,F=!1!==e.ALLOW_ARIA_ATTR,V=!1!==e.ALLOW_DATA_ATTR,H=e.ALLOW_UNKNOWN_PROTOCOLS||!1,W=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,q=e.SAFE_FOR_TEMPLATES||!1,G=!1!==e.SAFE_FOR_XML,Q=e.WHOLE_DOCUMENT||!1,en=e.RETURN_DOM||!1,et=e.RETURN_DOM_FRAGMENT||!1,er=e.RETURN_TRUSTED_TYPE||!1,Z=e.FORCE_BODY||!1,ei=!1!==e.SANITIZE_DOM,el=e.SANITIZE_NAMED_PROPS||!1,ec=!1!==e.KEEP_CONTENT,es=e.IN_PLACE||!1,$=e.ALLOWED_URI_REGEXP||eU,eZ=e.NAMESPACE||eY,e8=e.MATHML_TEXT_INTEGRATION_POINTS||e8,e3=e.HTML_INTEGRATION_POINTS||e3,J=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&nn(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(J.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&nn(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(J.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(J.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),q&&(V=!1),et&&(en=!0),e_&&(D=eC({},eT),L=[],!0===e_.html&&(eC(D,eO),eC(L,eN)),!0===e_.svg&&(eC(D,eA),eC(L,eR),eC(L,eD)),!0===e_.svgFilters&&(eC(D,eP),eC(L,eR),eC(L,eD)),!0===e_.mathMl&&(eC(D,eB),eC(L,e$),eC(L,eD))),e.ADD_TAGS&&(D===M&&(D=eI(D)),eC(D,e.ADD_TAGS,e7)),e.ADD_ATTR&&(L===K&&(L=eI(L)),eC(L,e.ADD_ATTR,e7)),e.ADD_URI_SAFE_ATTR&&eC(eX,e.ADD_URI_SAFE_ATTR,e7),e.FORBID_CONTENTS&&(eM===eL&&(eM=eI(eM)),eC(eM,e.FORBID_CONTENTS,e7)),ec&&(D["#text"]=!0),Q&&eC(D,["html","head","body"]),D.table&&(eC(D,["tbody"]),delete X.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw ek('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw ek('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=(n=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===n&&(n=eq(p,l)),null!==n&&"string"==typeof w&&(w=n.createHTML(""));eo&&eo(e),e9=e}},nr=eC({},[...eA,...eP,...eE]),ni=eC({},[...eB,...ez]),no=function(e){let n=v(e);n&&n.tagName||(n={namespaceURI:eZ,tagName:"template"});let t=ep(e.tagName),r=ep(n.tagName);return!!e1[e.namespaceURI]&&(e.namespaceURI===eQ?n.namespaceURI===eY?"svg"===t:n.namespaceURI===eV?"svg"===t&&("annotation-xml"===r||e8[r]):!!nr[t]:e.namespaceURI===eV?n.namespaceURI===eY?"math"===t:n.namespaceURI===eQ?"math"===t&&e3[r]:!!ni[t]:e.namespaceURI===eY?(n.namespaceURI!==eQ||!!e3[r])&&(n.namespaceURI!==eV||!!e8[r])&&!ni[t]&&(e5[t]||!nr[t]):"application/xhtml+xml"===e4&&!!e1[e.namespaceURI])},nl=function(e){eh(r.removed,{element:e});try{v(e).removeChild(e)}catch(n){j(e)}},na=function(e,n){try{eh(r.removed,{attribute:n.getAttributeNode(e),from:n})}catch(e){eh(r.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e)if(en||et)try{nl(n)}catch(e){}else try{n.setAttribute(e,"")}catch(e){}},nc=function(e){let t=null,r=null;if(Z)e=""+e;else{let n=eg(e,/^[\r\n\t ]+/);r=n&&n[0]}"application/xhtml+xml"===e4&&eZ===eY&&(e=''+e+"");let o=n?n.createHTML(e):e;if(eZ===eY)try{t=new m().parseFromString(o,e4)}catch(e){}if(!t||!t.documentElement){t=k.createDocument(eZ,"template",null);try{t.documentElement.innerHTML=e0?w:o}catch(e){}}let l=t.body||t.documentElement;return(e&&r&&l.insertBefore(i.createTextNode(r),l.childNodes[0]||null),eZ===eY)?I.call(t,Q?"html":"body")[0]:Q?t.documentElement:l},ns=function(e){return _.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},nu=function(e){return e instanceof h&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof f)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},nd=function(e){return"function"==typeof s&&e instanceof s};function nf(e,n,t){eu(e,e=>{e.call(r,n,t,e9)})}let nh=function(e){let n=null;if(nf(O.beforeSanitizeElements,e,null),nu(e))return nl(e),!0;let t=e7(e.nodeName);if(nf(O.uponSanitizeElement,e,{tagName:t,allowedTags:D}),G&&e.hasChildNodes()&&!nd(e.firstElementChild)&&ew(/<[/\w!]/g,e.innerHTML)&&ew(/<[/\w!]/g,e.textContent)||7===e.nodeType||G&&8===e.nodeType&&ew(/<[/\w]/g,e.data))return nl(e),!0;if(!D[t]||X[t]){if(!X[t]&&np(t)&&(J.tagNameCheck instanceof RegExp&&ew(J.tagNameCheck,t)||J.tagNameCheck instanceof Function&&J.tagNameCheck(t)))return!1;if(ec&&!eM[t]){let n=v(e)||e.parentNode,t=y(e)||e.childNodes;if(t&&n){let r=t.length;for(let i=r-1;i>=0;--i){let r=g(t[i],!0);r.__removalCount=(e.__removalCount||0)+1,n.insertBefore(r,b(e))}}}return nl(e),!0}return e instanceof u&&!no(e)||("noscript"===t||"noembed"===t||"noframes"===t)&&ew(/<\/no(script|embed|frames)/i,e.innerHTML)?(nl(e),!0):(q&&3===e.nodeType&&(n=e.textContent,eu([A,P,E],e=>{n=ej(n,e," ")}),e.textContent!==n&&(eh(r.removed,{element:e.cloneNode()}),e.textContent=n)),nf(O.afterSanitizeElements,e,null),!1)},nm=function(e,n,t){if(ei&&("id"===n||"name"===n)&&(t in i||t in ne))return!1;if(V&&!U[n]&&ew(B,n));else if(F&&ew(z,n));else if(!L[n]||U[n]){if(!(np(e)&&(J.tagNameCheck instanceof RegExp&&ew(J.tagNameCheck,e)||J.tagNameCheck instanceof Function&&J.tagNameCheck(e))&&(J.attributeNameCheck instanceof RegExp&&ew(J.attributeNameCheck,n)||J.attributeNameCheck instanceof Function&&J.attributeNameCheck(n,e))||"is"===n&&J.allowCustomizedBuiltInElements&&(J.tagNameCheck instanceof RegExp&&ew(J.tagNameCheck,t)||J.tagNameCheck instanceof Function&&J.tagNameCheck(t))))return!1}else if(eX[n]);else if(ew($,ej(t,N,"")));else if(("src"===n||"xlink:href"===n||"href"===n)&&"script"!==e&&0===eb(t,"data:")&&eK[e]);else if(H&&!ew(T,ej(t,N,"")));else if(t)return!1;return!0},np=function(e){return"annotation-xml"!==e&&eg(e,R)},nx=function(e){nf(O.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||nu(e))return;let i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:L,forceKeepAttr:void 0},o=t.length;for(;o--;){let{name:l,namespaceURI:a,value:c}=t[o],s=e7(l),u="value"===l?c:ey(c);if(i.attrName=s,i.attrValue=u,i.keepAttr=!0,i.forceKeepAttr=void 0,nf(O.uponSanitizeAttribute,e,i),u=i.attrValue,el&&("id"===s||"name"===s)&&(na(l,e),u="user-content-"+u),G&&ew(/((--!?|])>)|<\/(style|title|textarea)/i,u)||"attributename"===s&&eg(u,"href")){na(l,e);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr||!W&&ew(/\/>/i,u)){na(l,e);continue}q&&eu([A,P,E],e=>{u=ej(u,e," ")});let d=e7(e.nodeName);if(!nm(d,s,u)){na(l,e);continue}if(n&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(a);else switch(p.getAttributeType(d,s)){case"TrustedHTML":u=n.createHTML(u);break;case"TrustedScriptURL":u=n.createScriptURL(u)}if(u!==c)try{a?e.setAttributeNS(a,l,u):e.setAttribute(l,u),nu(e)?nl(e):ef(r.removed)}catch(n){na(l,e)}}nf(O.afterSanitizeAttributes,e,null)},ng=function e(n){let t=null,r=ns(n);for(nf(O.beforeSanitizeShadowDOM,n,null);t=r.nextNode();)nf(O.uponSanitizeShadowNode,t,null),nh(t),nx(t),t.content instanceof a&&e(t.content);nf(O.afterSanitizeShadowDOM,n,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,l=null,c=null,u=null;if((e0=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!nd(e))if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw ek("dirty is not a string, aborting")}else throw ek("toString is not a function");if(!r.isSupported)return e;if(Y||nt(t),r.removed=[],"string"==typeof e&&(es=!1),es){if(e.nodeName){let n=e7(e.nodeName);if(!D[n]||X[n])throw ek("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)1===(l=(i=nc("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?i=l:i.appendChild(l);else{if(!en&&!q&&!Q&&-1===e.indexOf("<"))return n&&er?n.createHTML(e):e;if(!(i=nc(e)))return en?null:er?w:""}i&&Z&&nl(i.firstChild);let d=ns(es?e:i);for(;c=d.nextNode();)nh(c),nx(c),c.content instanceof a&&ng(c.content);if(es)return e;if(en){if(et)for(u=C.call(i.ownerDocument);i.firstChild;)u.appendChild(i.firstChild);else u=i;return(L.shadowroot||L.shadowrootmode)&&(u=S.call(o,u,!0)),u}let f=Q?i.outerHTML:i.innerHTML;return Q&&D["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&ew(eH,i.ownerDocument.doctype.name)&&(f="\n"+f),q&&eu([A,P,E],e=>{f=ej(f,e," ")}),n&&er?n.createHTML(f):f},r.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};nt(e),Y=!0},r.clearConfig=function(){e9=null,Y=!1},r.isValidAttribute=function(e,n,t){return e9||nt({}),nm(e7(e),e7(n),t)},r.addHook=function(e,n){"function"==typeof n&&eh(O[e],n)},r.removeHook=function(e,n){if(void 0!==n){let t=ed(O[e],n);return -1===t?void 0:em(O[e],t,1)[0]}return ef(O[e])},r.removeHooks=function(e){O[e]=[]},r.removeAllHooks=function(){O=eG()},r}(),eY=["b","blockquote","br","center","code","dd","del","div","dl","dt","em","font","h1","h2","h3","h4","h5","h6","hr","i","ins","li","menu","ol","p","pre","span","strong","table","tbody","td","th","thead","tfoot","tr","u","ul"],eZ=["img"],e0=["class","style","background"];function e1(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&(0,i.jsx)(a.BJ.Item,{children:(0,i.jsx)(a.wn,{fill:!0,title:"Page ".concat(s+1,"/").concat(t.length),textAlign:"center",children:(0,i.jsxs)(a.BJ,{children:[(0,i.jsx)(a.BJ.Item,{grow:!0,basis:0,children:(0,i.jsx)(a.$n,{fluid:!0,content:"Previous",fontSize:"150%",icon:"arrow-left",lineHeight:2,disabled:s<=0,onClick:function(){return u(s-1)}})}),(0,i.jsx)(a.BJ.Item,{grow:!0,basis:0,children:(0,i.jsx)(a.$n,{fluid:!0,content:"Next",fontSize:"150%",icon:"arrow-right",lineHeight:2,disabled:s>=t.length-1,onClick:function(){return u(s+1)}})})]})})}),(0,i.jsxs)(a.BJ.Item,{children:[(0,i.jsx)("h1",{children:d.title&&d.title}),(0,i.jsx)("div",{className:"LoreConsole__entryText",dangerouslySetInnerHTML:{__html:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eY,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:eZ;return n&&(t=t.concat(i)),eQ.sanitize(e,{ALLOWED_TAGS:t,FORBID_ATTR:r})}(Z(d.body,{breaks:!0,smartypants:!0,smartLists:!0,baseUrl:"thisshouldbreakhttp"}))}})]})]})})}},5531:function(e,n,t){"use strict";t.r(n),t.d(n,{MODsuit:()=>_,MODsuitContent:()=>k});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&e.cooldown/10||"0","/",e.cooldown_time/10,"s"]}),(0,r.jsxs)(o.XI.Cell,{textAlign:"center",children:[(0,r.jsx)(o.$n,{onClick:function(){return t("select",{ref:e.ref})},icon:"bullseye",selected:e.module_active,tooltip:j(e.module_type),tooltipPosition:"left",disabled:!e.module_type}),(0,r.jsx)(o.$n,{onClick:function(){return h(e.ref)},icon:"cog",selected:f===e.ref,tooltip:"Configure",tooltipPosition:"left",disabled:0===Object.keys(e.configuration_data).length}),(0,r.jsx)(o.$n,{onClick:function(){return t("pin",{ref:e.ref})},icon:"thumbtack",selected:e.pinned,tooltip:"Pin",tooltipPosition:"left",disabled:!e.module_type})]})]})]}),(0,r.jsx)(o.az,{children:e.description})]})})},e.ref)})||(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.az,{textAlign:"center",children:"No Modules Detected"})})})})},k=function(){var e=(0,l.Oc)().data.interface_break;return(0,r.jsx)(o.wn,{fill:!0,scrollable:!e,children:!!e&&(0,r.jsx)(p,{})||(0,r.jsxs)(o.BJ,{vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(b,{})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(y,{})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(v,{})}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(w,{})})]})})},_=function(){var e=(0,l.Oc)().data.ui_theme;return(0,r.jsx)(a.p8,{theme:e,width:400,height:620,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsx)(o.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(k,{})})})})}},5247:function(e,n,t){"use strict";t.r(n),t.d(n,{MagnetController:()=>d});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=t(4744);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=new Set(["metal","glass"]),c=function(){return(0,r.jsx)(l.p8,{width:300,height:400,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(s,{})})})},s=function(){return(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Metals",children:(0,r.jsxs)(i.XI,{className:"materials-table",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{header:!0,pl:"0.5rem",py:"0.5rem",children:"Material"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Sheets"}),(0,r.jsx)(u,{})]}),(0,r.jsx)(d,{})]})})},u=function(){if((0,o.Oc)().data.showPoints)return(0,r.jsx)(i.XI.Cell,{header:!0,children:"Points"})},d=function(){return(0,o.Oc)().data.materials.filter(function(e){return e.amount>=1||a.has(e.id)}).map(function(e){return(0,r.jsx)(f,{material:e},e.id)})},f=function(e){var n=e.material,t=n.id,l=n.amount,a=(0,o.Oc)().data,c=a.icon,s=a.showPoints,u=a.staticMaterials[t],d=u.iconState,f=u.name,h=u.points;return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsxs)(i.XI.Cell,{children:[d?(0,r.jsx)(i.Hg,{icon:c,icon_state:d,verticalAlign:"middle"}):(0,r.jsx)(i.In,{name:"sheet-plastic",verticalAlign:"middle"}),null!=f?f:t]}),(0,r.jsx)(i.XI.Cell,{color:l>=1?"good":"gray",children:l}),!!s&&h&&(0,r.jsx)(i.XI.Cell,{children:h})]})}},2433:function(e,n,t){"use strict";t.r(n),t.d(n,{MechBayConsole:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.recharge_port,c=a&&a.mech,s=c&&c.cell,u=c&&c.name;return(0,r.jsx)(l.p8,{width:400,height:155,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{fill:!0,title:u?"Mech status: "+u:"Mech status",textAlign:"center",buttons:(0,r.jsx)(i.$n,{icon:"sync",content:"Sync",onClick:function(){return t("reconnect")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:!a&&(0,r.jsx)(i.IC,{children:"No power port detected. Please re-sync."})||!c&&(0,r.jsx)(i.IC,{children:"No mech detected."})||(0,r.jsx)(i.z2,{value:c.health/c.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,r.jsx)(i.Ki.Item,{label:"Power",children:!a&&(0,r.jsx)(i.IC,{children:"No power port detected. Please re-sync."})||!c&&(0,r.jsx)(i.IC,{children:"No mech detected."})||!s&&(0,r.jsx)(i.IC,{children:"No cell is installed."})||(0,r.jsxs)(i.z2,{value:s.charge/s.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,r.jsx)(i.zv,{value:s.charge})," / "+s.maxcharge]})})]})})})})}},3763:function(e,n,t){"use strict";t.r(n),t.d(n,{MechaControlConsole:()=>c});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,s=c.beacons,u=c.stored_data;return u.length?(0,r.jsx)(a.p8,{width:420,height:500,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.wn,{title:"Log",buttons:(0,r.jsx)(i.$n,{icon:"window-close",onClick:function(){return t("clear_log")}}),children:u.map(function(e){return(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.az,{color:"label",children:["(",e.time,")"]}),(0,r.jsx)(i.az,{children:(0,o.jT)(e.message)})]},e.time)})})})}):(0,r.jsx)(a.p8,{width:420,height:500,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:s.length&&s.map(function(e){return(0,r.jsx)(i.wn,{title:e.name,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:"comment",onClick:function(){return t("send_message",{mt:e.uid})},children:"Message"}),(0,r.jsx)(i.$n,{icon:"eye",onClick:function(){return t("get_log",{mt:e.uid})},children:"View Log"}),(0,r.jsx)(i.$n.Confirm,{color:"red",content:"Sabotage",icon:"bomb",onClick:function(){return t("shock",{mt:e.uid})}})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{ranges:{good:[.75*e.maxHealth,1/0],average:[.5*e.maxHealth,.75*e.maxHealth],bad:[-1/0,.5*e.maxHealth]},value:e.health,maxValue:e.maxHealth})}),(0,r.jsx)(i.Ki.Item,{label:"Cell Charge",children:e.cell&&(0,r.jsx)(i.z2,{ranges:{good:[.75*e.cellMaxCharge,1/0],average:[.5*e.cellMaxCharge,.75*e.cellMaxCharge],bad:[-1/0,.5*e.cellMaxCharge]},value:e.cellCharge,maxValue:e.cellMaxCharge})||(0,r.jsx)(i.IC,{children:"No Cell Installed"})}),(0,r.jsxs)(i.Ki.Item,{label:"Air Tank",children:[e.airtank,"kPa"]}),(0,r.jsx)(i.Ki.Item,{label:"Pilot",children:e.pilot||"Unoccupied"}),(0,r.jsx)(i.Ki.Item,{label:"Location",children:(0,o.Sn)(e.location)||"Unknown"}),(0,r.jsx)(i.Ki.Item,{label:"Active Equipment",children:e.active||"None"}),e.cargoMax&&(0,r.jsx)(i.Ki.Item,{label:"Cargo Space",children:(0,r.jsx)(i.z2,{ranges:{bad:[.75*e.cargoMax,1/0],average:[.5*e.cargoMax,.75*e.cargoMax],good:[-1/0,.5*e.cargoMax]},value:e.cargoUsed,maxValue:e.cargoMax})})||null]})},e.name)})||(0,r.jsx)(i.IC,{children:"No mecha beacons found."})})})}},9548:function(e,n,t){"use strict";t.r(n),t.d(n,{MedicalRecords:()=>b});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384),s=t(4744),u=t(7352),d=t(736),f=t(2264),h=t(7482);function m(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);td});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=t(4900),s=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=e.product,c=e.productImage,s=e.productCategory,u=i.user_money;return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{collapsing:!0,children:(0,r.jsx)("img",{src:"data:image/jpeg;base64,".concat(c),style:{verticalAlign:"middle",width:"32px",margin:"0px"}})}),(0,r.jsx)(o.XI.Cell,{bold:!0,children:a.name}),(0,r.jsx)(o.XI.Cell,{collapsing:!0,textAlign:"center",children:(0,r.jsx)(o.$n,{disabled:a.price>u,icon:"shopping-cart",content:a.price,textAlign:"left",onClick:function(){return t("purchase",{name:a.name,category:s})}})})]})},u=function(e){var n=(0,l.Oc)().data,t=(0,i.useContext)(c.default).tabIndex,a=n.products,u=n.imagelist,d=["apparel","toy","decoration"];return(0,r.jsx)(o.XI,{children:a[d[t]].map(function(e){return(0,r.jsx)(s,{product:e,productImage:u[e.path],productCategory:d[t]},e.name)})})},d=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,s=i.user_cash,d=i.inserted_cash;return(0,r.jsx)(a.p8,{title:"Merch Computer",width:450,height:600,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.wn,{title:"User",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.az,{color:"light-grey",inline:!0,mr:"0.5rem",children:["There is ",(0,r.jsx)("b",{children:d})," credits inserted."]}),(0,r.jsx)(o.$n,{disabled:!d,icon:"money-bill-wave-alt",content:"Dispense Change",textAlign:"left",onClick:function(){return t("change")}})]}),children:(0,r.jsxs)(o.BJ.Item,{children:["Doing your job and not getting any recognition at work? Well, welcome to the merch shop! Here, you can buy cool things in exchange for money you earn when you have completed your Job Objectives.",null!==s&&(0,r.jsxs)(o.az,{mt:"0.5rem",children:["Your balance is ",(0,r.jsxs)("b",{children:[s||0," credits"]}),"."]})]})})}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:"Products",children:(0,r.jsxs)(c.default.Default,{tabIndex:1,children:[(0,r.jsx)(f,{}),(0,r.jsx)(u,{})]})})})]})})})},f=function(e){var n=(0,l.Oc)().data,t=(0,i.useContext)(c.default),a=t.tabIndex,s=t.setTabIndex;return n.login_state,(0,r.jsxs)(o.tU,{children:[(0,r.jsx)(o.tU.Tab,{icon:"dice",selected:1===a,onClick:function(){return s(1)},children:"Toys"}),(0,r.jsx)(o.tU.Tab,{icon:"flag",selected:2===a,onClick:function(){return s(2)},children:"Decorations"})]})}},6231:function(e,n,t){"use strict";t.r(n),t.d(n,{MiningVendor:()=>f});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=e[1].price,e[1]}).sort(d[h]);if(0!==t.length)return m&&(t=t.reverse()),g=!0,(0,r.jsx)(x,{title:e[0],items:t,gridLayout:u},e[0])});return(0,r.jsx)(o.BJ.Item,{grow:!0,mt:.5,children:(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,children:g?j:(0,r.jsx)(o.az,{color:"label",children:"No items matching your criteria was found!"})})})},p=function(e){var n=e.gridLayout,t=e.setGridLayout,i=e.setSearchText,l=e.sortOrder,a=e.setSortOrder,c=e.descending,s=e.setDescending;return(0,r.jsx)(o.az,{children:(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.pd,{fluid:!0,mt:.2,placeholder:"Search by item name..",onChange:function(e){return i(e)}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{icon:n?"list":"table-cells-large",height:1.75,tooltip:n?"Toggle List Layout":"Toggle Grid Layout",tooltipPosition:"bottom-start",onClick:function(){return t(!n)}})}),(0,r.jsx)(o.BJ.Item,{basis:"30%",children:(0,r.jsx)(o.ms,{selected:l,options:Object.keys(d),width:"100%",onSelected:function(e){return a(e)}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{icon:c?"arrow-down":"arrow-up",height:1.75,tooltip:c?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){return s(!c)}})})]})})},x=function(e){var n,t,i=(0,a.Oc)(),l=i.act,c=i.data,s=e.title,u=e.items,d=e.gridLayout,f=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["title","items","gridLayout"]);return(0,r.jsx)(o.Nt,(n=function(e){for(var n=1;na});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.gamestatus,s=a.cand_name,u=a.cand_birth,d=a.cand_age,f=a.cand_species,h=a.cand_planet,m=a.cand_job,p=a.cand_records,x=a.cand_curriculum,g=a.total_curriculums,j=a.reason;return 0===c?(0,r.jsx)(l.p8,{width:400,height:550,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{pt:"45%",fontSize:"31px",color:"white",textAlign:"center",bold:!0,children:"Nanotrasen Recruiter Simulator"}),(0,r.jsx)(i.BJ.Item,{pt:"1%",fontSize:"16px",textAlign:"center",color:"label",children:"Work as the Nanotrasen recruiter and avoid hiring incompetent employees!"})]})}),(0,r.jsxs)(i.wn,{children:[(0,r.jsx)(i.$n,{textAlign:"center",lineHeight:2,fluid:!0,icon:"play",color:"green",content:"Begin Shift",onClick:function(){return t("start_game")}}),(0,r.jsx)(i.$n,{textAlign:"center",lineHeight:2,fluid:!0,icon:"info",color:"blue",content:"Guide",onClick:function(){return t("instructions")}})]})]})})}):1===c?(0,r.jsx)(l.p8,{width:400,height:550,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.wn,{fill:!0,color:"grey",title:"Guide",buttons:(0,r.jsx)(i.$n,{icon:"arrow-left",content:"Main Menu",onClick:function(){return t("back_to_menu")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"1#",color:"silver",children:["To win this game you must hire/dismiss ",(0,r.jsx)("b",{children:g})," candidates, one wrongly made choice leads to a game over."]}),(0,r.jsx)(i.Ki.Item,{label:"2#",color:"silver",children:"Make the right choice by truly putting yourself into the skin of a recruiter working for Nanotrasen!"}),(0,r.jsxs)(i.Ki.Item,{label:"3#",color:"silver",children:[(0,r.jsx)("b",{children:"Unique"})," characters may appear, pay attention to them!"]}),(0,r.jsx)(i.Ki.Item,{label:"4#",color:"silver",children:"Make sure to pay attention to details like age, planet names, the requested job and even the species of the candidate!"}),(0,r.jsxs)(i.Ki.Item,{label:"5#",color:"silver",children:["Not every employment record is good, remember to make your choice based on the ",(0,r.jsx)("b",{children:"company morals"}),"!"]}),(0,r.jsx)(i.Ki.Item,{label:"6#",color:"silver",children:"The planet of origin has no restriction on the species of the candidate, don't think too much when you see humans that came from Boron!"}),(0,r.jsxs)(i.Ki.Item,{label:"7#",color:"silver",children:["Pay attention to ",(0,r.jsx)("b",{children:"typos"})," and ",(0,r.jsx)("b",{children:"missing words"}),", these do make for bad applications!"]}),(0,r.jsxs)(i.Ki.Item,{label:"8#",color:"silver",children:["Remember, you are recruiting people to work at one of the many NT stations, so no hiring for"," ",(0,r.jsx)("b",{children:"jobs"})," that they ",(0,r.jsx)("b",{children:"don't offer"}),"!"]}),(0,r.jsxs)(i.Ki.Item,{label:"9#",color:"silver",children:["Keep your eyes open for incompatible ",(0,r.jsx)("b",{children:"naming schemes"}),", no company wants a Vox named Joe!"]}),(0,r.jsxs)(i.Ki.Item,{label:"10#",color:"silver",children:["For some unknown reason ",(0,r.jsx)("b",{children:"clowns"})," are never denied by the company, no matter what."]})]})})})})}):2===c?(0,r.jsx)(l.p8,{width:400,height:550,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,color:"label",fontSize:"14px",title:"Employment Applications",children:[(0,r.jsxs)(i.az,{fontSize:"24px",textAlign:"center",color:"silver",bold:!0,children:["Candidate Number #",x]}),(0,r.jsx)("br",{}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",color:"silver",children:(0,r.jsx)("b",{children:s})}),(0,r.jsx)(i.Ki.Item,{label:"Species",color:"silver",children:(0,r.jsx)("b",{children:f})}),(0,r.jsx)(i.Ki.Item,{label:"Age",color:"silver",children:(0,r.jsx)("b",{children:d})}),(0,r.jsx)(i.Ki.Item,{label:"Date of Birth",color:"silver",children:(0,r.jsx)("b",{children:u})}),(0,r.jsx)(i.Ki.Item,{label:"Planet of Origin",color:"silver",children:(0,r.jsx)("b",{children:h})}),(0,r.jsx)(i.Ki.Item,{label:"Requested Job",color:"silver",children:(0,r.jsx)("b",{children:m})}),(0,r.jsx)(i.Ki.Item,{label:"Employment Records",color:"silver",children:(0,r.jsx)("b",{children:p})})]})]})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{fill:!0,title:"Stamp the application!",color:"grey",textAlign:"center",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,basis:0,children:(0,r.jsx)(i.$n,{fluid:!0,color:"red",content:"Dismiss",fontSize:"150%",icon:"ban",lineHeight:4.5,onClick:function(){return t("dismiss")}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:0,children:(0,r.jsx)(i.$n,{fluid:!0,color:"green",content:"Hire",fontSize:"150%",icon:"arrow-circle-up",lineHeight:4.5,onClick:function(){return t("hire")}})})]})})})]})})}):3===c?(0,r.jsx)(l.p8,{width:400,height:550,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,{pt:"40%",fill:!0,children:[(0,r.jsx)(i.BJ.Item,{bold:!0,color:"red",fontSize:"50px",textAlign:"center",children:"Game Over"}),(0,r.jsx)(i.BJ.Item,{fontSize:"15px",color:"label",textAlign:"center",children:j}),(0,r.jsxs)(i.BJ.Item,{color:"blue",fontSize:"20px",textAlign:"center",pt:"10px",children:["FINAL SCORE: ",x-1,"/",g]})]})}),(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.$n,{lineHeight:4,fluid:!0,icon:"arrow-left",content:"Main Menu",onClick:function(){return t("back_to_menu")}})})]})})}):void 0}},452:function(e,n,t){"use strict";t.r(n),t.d(n,{Newscaster:()=>v});var r=t(8138),i=t(4530),o=t(7790),l=t(5490),a=t(2864),c=t(421),s=t(3384),u=t(4744),d=t(7482);function f(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function x(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],l=!0,a=!1;try{for(i=i.call(e);!(l=(t=i.next()).done)&&(o.push(t.value),!n||o.length!==n);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==i.return||i.return()}finally{if(a)throw r}}return o}}(e,n)||g(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,n){if(e){if("string"==typeof e)return f(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return f(e,n)}}var j=["security","engineering","medical","science","service","supply"],b={security:{title:"Security",fluff_text:"Help keep the crew safe"},engineering:{title:"Engineering",fluff_text:"Ensure the station runs smoothly"},medical:{title:"Medical",fluff_text:"Practice medicine and save lives"},science:{title:"Science",fluff_text:"Develop new technologies"},service:{title:"Service",fluff_text:"Provide amenities to the crew"},supply:{title:"Supply",fluff_text:"Keep the station supplied"}},y=(0,i.createContext)(null),v=function(e){var n,t=(0,a.Oc)(),c=t.act,f=t.data,h=f.is_security,m=f.is_admin,p=f.is_silent,g=f.is_printing,j=f.screen,b=f.channels,v=f.channel_idx,C=void 0===v?-1:v,I=x((0,i.useState)(!1),2),O=I[0],A=I[1],P=x((0,i.useState)(""),2),E=P[0],B=P[1],z=x((0,i.useState)(!1),2),T=z[0],N=z[1],R=x((0,i.useState)([]),2),$=R[0],D=R[1];0===j||2===j?n=(0,r.jsx)(k,{}):1===j&&(n=(0,r.jsx)(_,{}));var M=b.reduce(function(e,n){return e+n.unread},0);return(0,r.jsxs)(s.p8,{theme:h&&"security",width:800,height:600,children:[(0,r.jsx)(y.Provider,{value:{viewingPhoto:E,setViewingPhoto:B},children:E?(0,r.jsx)(S,{}):(0,r.jsx)(u.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"})}),(0,r.jsx)(s.p8.Content,{children:(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.wn,{fill:!0,className:(0,l.Ly)(["Newscaster__menu",O&&"Newscaster__menu--open"]),children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsxs)(o.BJ.Item,{children:[(0,r.jsx)(w,{icon:"bars",title:"Toggle Menu",onClick:function(){return A(!O)}}),(0,r.jsx)(w,{icon:"newspaper",title:"Headlines",selected:0===j,onClick:function(){return c("headlines")},children:M>0&&(0,r.jsx)(o.az,{className:"Newscaster__menuButton--unread",children:M>=10?"9+":M})}),(0,r.jsx)(w,{icon:"briefcase",title:"Job Openings",selected:1===j,onClick:function(){return c("jobs")}}),(0,r.jsx)(o.cG,{})]}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:b.map(function(e){return(0,r.jsx)(w,{icon:e.icon,title:e.name,selected:2===j&&b[C-1]===e,onClick:function(){return c("channel",{uid:e.uid})},children:e.unread>0&&(0,r.jsx)(o.az,{className:"Newscaster__menuButton--unread",children:e.unread>=10?"9+":e.unread})},e)})}),(0,r.jsxs)(o.BJ.Item,{children:[(0,r.jsx)(o.cG,{}),(!!h||!!m)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(w,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){return(0,u.modalOpen)("wanted_notice")}}),(0,r.jsx)(w,{security:!0,icon:T?"minus-square":"minus-square-o",title:"Censor Mode: "+(T?"On":"Off"),mb:"0.5rem",onClick:function(){return N(!T)}}),(0,r.jsx)(o.cG,{})]}),(0,r.jsx)(w,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){return(0,u.modalOpen)("create_story")}}),(0,r.jsx)(w,{icon:"plus-circle",title:"New Channel",onClick:function(){return(0,u.modalOpen)("create_channel")}}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(w,{icon:g?"spinner":"print",iconSpin:g,title:g?"Printing...":"Print Newspaper",onClick:function(){return c("print_newspaper")}}),(0,r.jsx)(w,{icon:p?"volume-mute":"volume-up",title:"Mute: "+(p?"On":"Off"),onClick:function(){return c("toggle_mute")}})]})]})}),(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,width:"100%",children:[(0,r.jsx)(d.TemporaryNotice,{}),(0,r.jsx)(y.Provider,{value:{viewingPhoto:E,setViewingPhoto:B,censorMode:T,fullStories:$,setFullStories:D},children:n})]})]})})]})},w=function(e){(0,a.Oc)().act;var n=e.icon,t=e.iconSpin,i=e.selected,c=void 0!==i&&i,s=e.security,u=e.onClick,d=e.title,f=e.children,x=p(e,["icon","iconSpin","selected","security","onClick","title","children"]);return(0,r.jsxs)(o.BJ,m(h({align:"center",className:(0,l.Ly)(["Newscaster__menuButton",c&&"Newscaster__menuButton--selected",void 0!==s&&s&&"Newscaster__menuButton--security"]),onClick:u},x),{children:[(0,r.jsxs)(o.BJ.Item,{children:[c&&(0,r.jsx)(o.az,{className:"Newscaster__menuButton--selectedBar"}),(0,r.jsx)(o.In,{name:void 0===n?"":n,spin:t,size:"2"})]}),(0,r.jsx)(o.BJ.Item,{className:"Newscaster__menuButton--title",children:d}),f]}))},k=function(e){var n=(0,a.Oc)(),t=n.act,l=n.data,c=l.screen,s=l.is_admin,d=l.channel_idx,f=l.channel_can_manage,p=l.channels,x=l.stories,g=l.wanted,j=(0,i.useContext)(y),b=j.fullStories,v=j.censorMode,w=2===c&&d>-1?p[d-1]:null;return(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[!!g&&(0,r.jsx)(C,{story:g,wanted:!0}),(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,title:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.In,{name:w?w.icon:"newspaper",mr:"0.5rem"}),w?w.name:"Headlines"]}),children:x.length>0?x.slice().reverse().map(function(e){return!b.includes(e.uid)&&e.body.length+3>128?m(h({},e),{body_short:e.body.substr(0,124)+"..."}):e}).map(function(e,n){return(0,r.jsx)(C,{story:e},n)}):(0,r.jsxs)(o.az,{className:"Newscaster__emptyNotice",children:[(0,r.jsx)(o.In,{name:"times",size:"3"}),(0,r.jsx)("br",{}),"There are no stories at this time."]})}),!!w&&(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,height:"40%",title:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.In,{name:"info-circle",mr:"0.5rem"}),"About"]}),buttons:(0,r.jsxs)(r.Fragment,{children:[v&&(0,r.jsx)(o.$n,{disabled:!!w.admin&&!s,selected:w.censored,icon:w.censored?"comment-slash":"comment",content:w.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){return t("censor_channel",{uid:w.uid})}}),(0,r.jsx)(o.$n,{disabled:!f,icon:"cog",content:"Manage",onClick:function(){return(0,u.modalOpen)("manage_channel",{uid:w.uid})}})]}),children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Description",children:w.description||"N/A"}),(0,r.jsx)(o.Ki.Item,{label:"Owner",children:w.author||"N/A"}),!!s&&(0,r.jsx)(o.Ki.Item,{label:"Ckey",children:w.author_ckey}),(0,r.jsx)(o.Ki.Item,{label:"Public",children:w.public?"Yes":"No"}),(0,r.jsxs)(o.Ki.Item,{label:"Total Views",children:[(0,r.jsx)(o.In,{name:"eye",mr:"0.5rem"}),x.reduce(function(e,n){return e+n.view_count},0).toLocaleString()]})]})})]})},_=function(e){var n=(0,a.Oc)(),t=(n.act,n.data),i=t.jobs,c=t.wanted,s=Object.entries(i).reduce(function(e,n){var t=x(n,2);return e+(t[0],t[1]).length},0);return(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[!!c&&(0,r.jsx)(C,{story:c,wanted:!0}),(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,m:0,title:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.In,{name:"briefcase",mr:"0.5rem"}),"Job Openings"]}),buttons:(0,r.jsx)(o.az,{mt:"0.25rem",color:"label",children:"Work for a better future at Nanotrasen"}),children:s>0?j.map(function(e){return Object.assign({},b[e],{id:e,jobs:i[e]})}).filter(function(e){return!!e&&e.jobs.length>0}).map(function(e){return(0,r.jsx)(o.wn,{className:(0,l.Ly)(["Newscaster__jobCategory","Newscaster__jobCategory--"+e.id]),title:e.title,buttons:(0,r.jsx)(o.az,{mt:"0.25rem",color:"label",children:e.fluff_text}),children:e.jobs.map(function(e){return(0,r.jsxs)(o.az,{class:(0,l.Ly)(["Newscaster__jobOpening",!!e.is_command&&"Newscaster__jobOpening--command"]),children:["• ",e.title]},e.title)})},e.id)}):(0,r.jsxs)(o.az,{className:"Newscaster__emptyNotice",children:[(0,r.jsx)(o.In,{name:"times",size:"3"}),(0,r.jsx)("br",{}),"There are no openings at this time."]})}),(0,r.jsxs)(o.wn,{height:"17%",children:["Interested in serving Nanotrasen?",(0,r.jsx)("br",{}),"Sign up for any of the above position now at the ",(0,r.jsx)("b",{children:"Head of Personnel's Office!"}),(0,r.jsx)("br",{}),(0,r.jsx)(o.az,{as:"small",color:"label",children:"By signing up for a job at Nanotrasen, you agree to transfer your soul to the loyalty department of the omnipresent and helpful watcher of humanity."})]})]})},C=function(e){var n=(0,a.Oc)(),t=n.act,s=n.data,u=e.story,d=e.wanted,h=void 0!==d&&d,m=s.is_admin,p=(0,i.useContext)(y),x=p.fullStories,j=p.setFullStories,b=p.censorMode;return(0,r.jsx)(o.wn,{className:(0,l.Ly)(["Newscaster__story",h&&"Newscaster__story--wanted"]),title:(0,r.jsxs)(r.Fragment,{children:[h&&(0,r.jsx)(o.In,{name:"exclamation-circle",mr:"0.5rem"}),2&u.censor_flags&&"[REDACTED]"||u.title||"News from "+u.author]}),buttons:(0,r.jsx)(o.az,{mt:"0.25rem",children:(0,r.jsxs)(o.az,{color:"label",children:[!h&&b&&(0,r.jsx)(o.az,{inline:!0,children:(0,r.jsx)(o.$n,{enabled:2&u.censor_flags,icon:2&u.censor_flags?"comment-slash":"comment",content:2&u.censor_flags?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){return t("censor_story",{uid:u.uid})}})}),(0,r.jsxs)(o.az,{inline:!0,children:[(0,r.jsx)(o.In,{name:"user"})," ",u.author," |\xa0",!!m&&(0,r.jsxs)(r.Fragment,{children:["ckey: ",u.author_ckey," |\xa0"]}),!h&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.In,{name:"eye"})," ",u.view_count.toLocaleString()," |\xa0"]}),(0,r.jsx)(o.In,{name:"clock"})," ",(0,c.fF)(u.publish_time,s.world_time)]})]})}),children:(0,r.jsx)(o.az,{children:2&u.censor_flags?"[REDACTED]":(0,r.jsxs)(r.Fragment,{children:[!!u.has_photo&&(0,r.jsx)(I,{name:"story_photo_"+u.uid+".png",style:{float:"right"},ml:"0.5rem"}),(u.body_short||u.body).split("\n").map(function(e,n){return(0,r.jsx)(o.az,{children:e||(0,r.jsx)("br",{})},n)}),u.body_short&&(0,r.jsx)(o.$n,{content:"Read more..",mt:"0.5rem",onClick:function(){return j(((function(e){if(Array.isArray(e))return f(e)})(x)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(x)||g(x)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([u.uid]))}}),(0,r.jsx)(o.az,{clear:"right"})]})})})},I=function(e){var n=e.name,t=p(e,["name"]),l=(0,i.useContext)(y).setViewingPhoto;return(0,r.jsx)(o.az,h({as:"img",className:"Newscaster__photo",src:n,onClick:function(){return l(n)}},t))},S=function(e){var n=(0,i.useContext)(y),t=n.viewingPhoto,l=n.setViewingPhoto;return(0,r.jsxs)(o.aF,{className:"Newscaster__photoZoom",children:[(0,r.jsx)(o.az,{as:"img",src:t}),(0,r.jsx)(o.$n,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){return l("")}})]})},O=function(e){var n=(0,a.Oc)(),t=(n.act,n.data),l=!!e.args.uid&&t.channels.filter(function(n){return n.uid===e.args.uid}).pop();if("manage_channel"===e.id&&!l)return void(0,u.modalClose)();var c="manage_channel"===e.id,s=!!e.args.is_admin,d=e.args.scanned_user,f=x((0,i.useState)((null==l?void 0:l.author)||d||"Unknown"),2),h=f[0],m=f[1],p=x((0,i.useState)((null==l?void 0:l.name)||""),2),g=p[0],j=p[1],b=x((0,i.useState)((null==l?void 0:l.description)||""),2),y=b[0],v=b[1],w=x((0,i.useState)((null==l?void 0:l.icon)||"newspaper"),2),k=w[0],_=w[1],C=x((0,i.useState)(!!c&&!!(null==l?void 0:l.public)),2),I=C[0],S=C[1],O=x((0,i.useState)((null==l?void 0:l.admin)===1),2),A=O[0],P=O[1];return(0,r.jsxs)(o.wn,{m:"-1rem",pb:"1.5rem",title:c?"Manage "+l.name:"Create New Channel",children:[(0,r.jsx)(o.az,{mx:"0.5rem",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Owner",children:(0,r.jsx)(o.pd,{disabled:!s,width:"100%",value:h,onChange:function(e){return m(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Name",children:(0,r.jsx)(o.pd,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:g,onChange:function(e){return j(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Description (optional)",verticalAlign:"top",children:(0,r.jsx)(o.pd,{multiline:!0,width:"100%",placeholder:"128 characters max.",maxLength:"128",value:y,onChange:function(e){return v(e)}})}),(0,r.jsxs)(o.Ki.Item,{label:"Icon",children:[(0,r.jsx)(o.pd,{disabled:!s,value:k,width:"35%",mr:"0.5rem",onChange:function(e){return _(e)}}),(0,r.jsx)(o.In,{name:k,size:"2",verticalAlign:"middle",mr:"0.5rem"})]}),(0,r.jsx)(o.Ki.Item,{label:"Accept Public Stories?",children:(0,r.jsx)(o.$n,{selected:I,icon:I?"toggle-on":"toggle-off",content:I?"Yes":"No",onClick:function(){return S(!I)}})}),s&&(0,r.jsx)(o.Ki.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,r.jsx)(o.$n,{selected:A,icon:A?"lock":"lock-open",content:A?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){return P(!A)}})})]})}),(0,r.jsx)(o.$n.Confirm,{disabled:0===h.trim().length||0===g.trim().length,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){(0,u.modalAnswer)(e.id,"",{author:h,name:g.substr(0,49),description:y.substr(0,128),icon:k,public:+!!I,admin_locked:+!!A})}})]})};(0,u.modalRegisterBodyOverride)("create_channel",O),(0,u.modalRegisterBodyOverride)("manage_channel",O),(0,u.modalRegisterBodyOverride)("create_story",function(e){var n=(0,a.Oc)(),t=n.act,l=n.data,c=l.photo,s=l.channels,d=l.channel_idx,f=void 0===d?-1:d,h=!!e.args.is_admin,m=e.args.scanned_user,p=s.slice().sort(function(e,n){if(f<0)return 0;var t=s[f-1];return t.uid===e.uid?-1:t.uid===n.uid?1:void 0}).filter(function(e){return h||!e.frozen&&(e.author===m||!!e.public)}),g=x((0,i.useState)(m||"Unknown"),2),j=g[0],b=g[1],y=x((0,i.useState)(p.length>0?p[0].name:""),2),v=y[0],w=y[1],k=x((0,i.useState)(""),2),_=k[0],C=k[1],S=x((0,i.useState)(""),2),O=S[0],A=S[1],P=x((0,i.useState)(!1),2),E=P[0],B=P[1];return(0,r.jsxs)(o.wn,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,r.jsx)(o.az,{mx:"0.5rem",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Author",children:(0,r.jsx)(o.pd,{disabled:!h,width:"100%",value:j,onChange:function(e){return b(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Channel",verticalAlign:"top",children:(0,r.jsx)(o.ms,{selected:v,options:p.map(function(e){return e.name}),mb:"0",width:"100%",onSelected:function(e){return w(e)}})}),(0,r.jsx)(o.Ki.Divider,{}),(0,r.jsx)(o.Ki.Item,{label:"Title",children:(0,r.jsx)(o.pd,{width:"100%",placeholder:"128 characters max.",maxLength:"128",value:_,onChange:function(e){return C(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Story Text",verticalAlign:"top",children:(0,r.jsx)(o.pd,{fluid:!0,multiline:!0,placeholder:"1024 characters max.",maxLength:"1024",rows:"8",width:"100%",value:O,onChange:function(e){return A(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Photo (optional)",verticalAlign:"top",children:(0,r.jsx)(o.$n,{icon:"image",selected:c,content:c?"Eject: "+c.name:"Insert Photo",tooltip:!c&&"Attach a photo to this story by holding the photograph in your hand.",onClick:function(){return t(c?"eject_photo":"attach_photo")}})}),(0,r.jsx)(o.Ki.Item,{label:"Preview",verticalAlign:"top",children:(0,r.jsx)(o.wn,{noTopPadding:!0,title:_,maxHeight:"13.5rem",overflow:"auto",children:(0,r.jsxs)(o.az,{mt:"0.5rem",children:[!!c&&(0,r.jsx)(I,{name:"inserted_photo_"+c.uid+".png",style:{float:"right"}}),O.split("\n").map(function(e,n){return(0,r.jsx)(o.az,{children:e||(0,r.jsx)("br",{})},n)}),(0,r.jsx)(o.az,{clear:"right"})]})})}),h&&(0,r.jsx)(o.Ki.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,r.jsx)(o.$n,{selected:E,icon:E?"lock":"lock-open",content:E?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){return B(!E)}})})]})}),(0,r.jsx)(o.$n.Confirm,{disabled:0===j.trim().length||0===v.trim().length||0===_.trim().length||0===O.trim().length,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){(0,u.modalAnswer)("create_story","",{author:j,channel:v,title:_.substr(0,127),body:O.substr(0,1023),admin_locked:+!!E})}})]})}),(0,u.modalRegisterBodyOverride)("wanted_notice",function(e){var n=(0,a.Oc)(),t=n.act,l=n.data,c=l.photo,s=l.wanted,d=!!e.args.is_admin,f=e.args.scanned_user,h=x((0,i.useState)((null==s?void 0:s.author)||f||"Unknown"),2),m=h[0],p=h[1],g=x((0,i.useState)((null==s?void 0:s.title.substr(8))||""),2),j=g[0],b=g[1],y=x((0,i.useState)((null==s?void 0:s.body)||""),2),v=y[0],w=y[1],k=x((0,i.useState)((null==s?void 0:s.admin_locked)===1),2),_=k[0],C=k[1];return(0,r.jsxs)(o.wn,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,r.jsx)(o.az,{mx:"0.5rem",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Authority",children:(0,r.jsx)(o.pd,{disabled:!d,width:"100%",value:m,onChange:function(e){return p(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Name",children:(0,r.jsx)(o.pd,{width:"100%",value:j,maxLength:"128",onChange:function(e){return b(e)}})}),(0,r.jsx)(o.Ki.Item,{label:"Description",verticalAlign:"top",children:(0,r.jsx)(o.pd,{multiline:!0,width:"100%",value:v,maxLength:"512",rows:"4",onChange:function(e){return w(e)}})}),(0,r.jsxs)(o.Ki.Item,{label:"Photo (optional)",verticalAlign:"top",children:[(0,r.jsx)(o.$n,{icon:"image",selected:c,content:c?"Eject: "+c.name:"Insert Photo",tooltip:!c&&"Attach a photo to this wanted notice by holding the photograph in your hand.",tooltipPosition:"top",onClick:function(){return t(c?"eject_photo":"attach_photo")}}),!!c&&(0,r.jsx)(I,{name:"inserted_photo_"+c.uid+".png",style:{float:"right"}})]}),d&&(0,r.jsx)(o.Ki.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,r.jsx)(o.$n,{selected:_,icon:_?"lock":"lock-open",content:_?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){return C(!_)}})})]})}),(0,r.jsx)(o.$n.Confirm,{disabled:!s,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){t("clear_wanted_notice"),(0,u.modalClose)()}}),(0,r.jsx)(o.$n.Confirm,{disabled:0===m.trim().length||0===j.trim().length||0===v.trim().length,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){(0,u.modalAnswer)(e.id,"",{author:m,name:j.substr(0,127),description:v.substr(0,511),admin_locked:+!!_})}})]})})},6563:function(e,n,t){"use strict";t.r(n),t.d(n,{Noticeboard:()=>c});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data.papers;return(0,r.jsx)(a.p8,{width:600,height:300,theme:"noticeboard",children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,children:c.map(function(e){return(0,r.jsx)(i.BJ.Item,{align:"center",width:"22.45%",height:"85%",onClick:function(){return t("interact",{paper:e.ref})},onContextMenu:function(n){n.preventDefault(),t("showFull",{paper:e.ref})},children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,fontSize:.75,title:e.name,children:(0,o.jT)(e.contents)})},e.ref)})})})})}},5867:function(e,n,t){"use strict";t.r(n),t.d(n,{NuclearBomb:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;return a.extended?(0,r.jsx)(l.p8,{width:350,height:290,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Authorization",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Auth Disk",children:(0,r.jsx)(i.$n,{icon:a.authdisk?"eject":"id-card",selected:a.authdisk,content:a.diskname?a.diskname:"-----",tooltip:a.authdisk?"Eject Disk":"Insert Disk",onClick:function(){return t("auth")}})}),(0,r.jsx)(i.Ki.Item,{label:"Auth Code",children:(0,r.jsx)(i.$n,{icon:"key",disabled:!a.authdisk,selected:a.authcode,content:a.codemsg,onClick:function(){return t("code")}})})]})}),(0,r.jsx)(i.wn,{title:"Arming & Disarming",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Bolted to floor",children:(0,r.jsx)(i.$n,{icon:a.anchored?"check":"times",selected:a.anchored,disabled:!a.authdisk,content:a.anchored?"YES":"NO",onClick:function(){return t("toggle_anchor")}})}),(0,r.jsx)(i.Ki.Item,{label:"Time Left",children:(0,r.jsx)(i.$n,{icon:"stopwatch",content:a.time,disabled:!a.authfull,tooltip:"Set Timer",onClick:function(){return t("set_time")}})}),(0,r.jsx)(i.Ki.Item,{label:"Safety",children:(0,r.jsx)(i.$n,{icon:a.safety?"check":"times",selected:a.safety,disabled:!a.authfull,content:a.safety?"ON":"OFF",tooltip:a.safety?"Disable Safety":"Enable Safety",onClick:function(){return t("toggle_safety")}})}),(0,r.jsx)(i.Ki.Item,{label:"Arm/Disarm",children:(0,r.jsx)(i.$n,{icon:(a.timer,"bomb"),disabled:a.safety||!a.authfull,color:"red",content:a.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){return t("toggle_armed")}})})]})})]})}):(0,r.jsx)(l.p8,{width:350,height:115,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{title:"Deployment",children:(0,r.jsx)(i.$n,{fluid:!0,icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){return t("deploy")}})})})})}},7579:function(e,n,t){"use strict";t.r(n),t.d(n,{NuclearRodFabricator:()=>f});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.az,{mt:1,bold:!0,children:"Neighbor Requirements:"}),(0,r.jsx)(o.az,{ml:2,children:p.neighbor_requirements.map(function(e,n){return(0,r.jsx)(o.az,{children:e},n)})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.az,{mt:1,bold:!0,children:"Neighbor Requirements:"}),(0,r.jsx)(o.az,{ml:2,children:"None"})]})]}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(o.wn,{title:"Required Materials",children:p.materials&&0!==Object.keys(p.materials).length?(0,r.jsx)(o.XI,{children:Object.entries(p.materials).map(function(e,n){var t=s(e,2),i=t[0],l=t[1],a=Object.entries(f.resources||{}).find(function(e){var n=s(e,2),t=n[0];return n[1],t===i}),c=(a?a[1].amount:0)>=l;return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{bold:!0,className:c?null:"color-red",children:i}),(0,r.jsx)(o.XI.Cell,{className:c?null:"color-red",children:l}),(0,r.jsxs)(o.XI.Cell,{className:c?null:"color-red",children:["(",Math.round(l/2e3)," sheets)"]})]},n)})}):(0,r.jsx)(o.az,{color:"average",children:"No materials required."})}),(0,r.jsx)(o.cG,{}),(0,r.jsx)(o.$n,{icon:"wrench",content:"Fabricate",color:"good",onClick:function(){return h("fabricate_rod",{type_path:p.type_path})}})]})]})})]}),v===d&&(0,r.jsx)(o.wn,{title:"Material Storage",fill:!0,children:f.resources&&0!==Object.keys(f.resources).length?(0,r.jsx)(o.XI,{children:Object.entries(f.resources).map(function(e,n){var t=s(e,2),i=t[0],l=t[1];return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{bold:!0,children:i}),(0,r.jsxs)(o.XI.Cell,{children:[l.amount," units"]}),(0,r.jsxs)(o.XI.Cell,{children:["(",l.sheets," sheets)"]}),(0,r.jsxs)(o.XI.Cell,{children:[(0,r.jsx)(o.$n,{content:"1",onClick:function(){return h("eject_material",{id:l.id,amount:"1"})}}),(0,r.jsx)(o.$n,{content:"C",onClick:function(){return h("eject_material",{id:l.id,amount:"custom"})}}),l.sheets>=5&&(0,r.jsx)(o.$n,{content:"5",onClick:function(){return h("eject_material",{id:l.id,amount:"5"})}}),(0,r.jsx)(o.$n,{content:"All",onClick:function(){return h("eject_material",{id:l.id,amount:l.sheets.toString()})}})]})]},n)})}):(0,r.jsx)(o.az,{color:"average",children:"No materials loaded."})})]})]})})})}},8007:function(e,n,t){"use strict";t.r(n),t.d(n,{NumberInputModal:()=>f});var r=t(8138),i=t(4530),o=t(7790),l=t(7686),a=t(2864),c=t(3384),s=t(1942),u=t(9472);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&x?5:0);return(0,r.jsxs)(c.p8,{title:y,width:270,height:_,children:[b&&(0,r.jsx)(u.Loader,{value:b}),(0,r.jsx)(c.p8.Content,{onKeyDown:function(e){var n=window.event?e.which:e.keyCode;n===l.Ri&&f("submit",{entry:w}),n===l.s6&&f("cancel")},children:(0,r.jsx)(o.wn,{fill:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.az,{color:"label",children:j})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(h,{input:w,onClick:function(e){e!==w&&k(e)},onChange:function(e){e!==w&&k(e)}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(s.InputButtons,{input:w})})]})})})]})},h=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data,l=i.min_value,c=i.max_value,s=i.init_value,u=i.round_value,d=e.input,f=e.onClick,h=e.onChange,m=Math.round(d!==l?Math.max(d/2,l):c/2),p=d===l&&l>0||1===d;return(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{disabled:d===l,icon:"angle-double-left",onClick:function(){return f(l)},tooltip:d===l?"Min":"Min (".concat(l,")")})}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.SM,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!u,minValue:l,maxValue:c,value:d,onChange:h,onEnter:function(e){return t("submit",{entry:e})}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{disabled:d===c,icon:"angle-double-right",onClick:function(){return f(c)},tooltip:d===c?"Max":"Max (".concat(c,")")})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{disabled:p,icon:"divide",onClick:function(){return f(m)},tooltip:p?"Split":"Split (".concat(m,")")})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{disabled:d===s,icon:"redo",onClick:function(){return f(s)},tooltip:s?"Reset (".concat(s,")"):"Reset"})})]})}},4965:function(e,n,t){"use strict";t.r(n),t.d(n,{ObjAccessModifier:()=>a});var r=t(8138),i=t(7790),o=t(3384),l=t(9281),a=function(){return(0,r.jsx)(o.p8,{width:500,height:565,children:(0,r.jsx)(o.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(l.ChooseAccess,{})})})})}},6499:function(e,n,t){"use strict";t.r(n),t.d(n,{OperatingComputer:()=>d});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],c=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],s={average:[.25,.5],bad:[.5,1/0]},u=["bad","average","average","good","average","average","bad"],d=function(e){var n,t=(0,o.Oc)(),a=t.act,c=t.data,s=c.hasOccupant,u=c.choice;return n=u?(0,r.jsx)(m,{}):s?(0,r.jsx)(f,{}):(0,r.jsx)(h,{}),(0,r.jsx)(l.p8,{width:650,height:455,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.tU,{children:[(0,r.jsx)(i.tU.Tab,{selected:!u,icon:"user",onClick:function(){return a("choiceOff")},children:"Patient"}),(0,r.jsx)(i.tU.Tab,{selected:!!u,icon:"cog",onClick:function(){return a("choiceOn")},children:"Options"})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:n})})]})})})},f=function(e){var n=(0,o.Oc)().data.occupant,t=n.activeSurgeries;return(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,title:"Patient",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:n.name}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:a[n.stat][0],children:a[n.stat][1]}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{min:"0",max:n.maxHealth,value:n.health/n.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),c.map(function(e,t){return(0,r.jsx)(i.Ki.Item,{label:e[0]+" Damage",children:(0,r.jsx)(i.z2,{min:"0",max:"100",value:n[e[1]]/100,ranges:s,children:Math.round(n[e[1]])},t)},t)}),(0,r.jsx)(i.Ki.Item,{label:"Temperature",children:(0,r.jsxs)(i.z2,{min:"0",max:n.maxTemp,value:n.bodyTemperature/n.maxTemp,color:u[n.temperatureSuitability+3],children:[Math.round(n.btCelsius),"\xb0C, ",Math.round(n.btFaren),"\xb0F"]})}),!!n.hasBlood&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Blood Level",children:(0,r.jsxs)(i.z2,{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,r.jsxs)(i.Ki.Item,{label:"Pulse",children:[n.pulse," BPM"]})]})]})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Active surgeries",level:"2",children:n.inSurgery&&t?t.map(function(e,n){return(0,r.jsx)(i.wn,{style:{textTransform:"capitalize"},title:e.name+" ("+e.location+")",children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Next Step",children:e.step},n)},n)},n)}):(0,r.jsx)(i.az,{color:"label",children:"No procedure ongoing."})})})]})},h=function(){return(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,r.jsx)("br",{}),"No patient detected."]})})},m=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.verbose,c=l.health,s=l.healthAlarm,u=l.oxy,d=l.oxyAlarm,f=l.crit;return(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Loudspeaker",children:(0,r.jsx)(i.$n,{selected:a,icon:a?"toggle-on":"toggle-off",content:a?"On":"Off",onClick:function(){return t(a?"verboseOff":"verboseOn")}})}),(0,r.jsx)(i.Ki.Item,{label:"Health Announcer",children:(0,r.jsx)(i.$n,{selected:c,icon:c?"toggle-on":"toggle-off",content:c?"On":"Off",onClick:function(){return t(c?"healthOff":"healthOn")}})}),(0,r.jsx)(i.Ki.Item,{label:"Health Announcer Threshold",children:(0,r.jsx)(i.N6,{bipolar:!0,minValue:-100,maxValue:100,value:s,stepPixelSize:5,ml:"0",onChange:function(e,n){return t("health_adj",{new:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Oxygen Alarm",children:(0,r.jsx)(i.$n,{selected:u,icon:u?"toggle-on":"toggle-off",content:u?"On":"Off",onClick:function(){return t(u?"oxyOff":"oxyOn")}})}),(0,r.jsx)(i.Ki.Item,{label:"Oxygen Alarm Threshold",children:(0,r.jsx)(i.N6,{bipolar:!0,minValue:-100,maxValue:100,value:d,stepPixelSize:5,ml:"0",onChange:function(e,n){return t("oxy_adj",{new:n})}})}),(0,r.jsx)(i.Ki.Item,{label:"Critical Alert",children:(0,r.jsx)(i.$n,{selected:f,icon:f?"toggle-on":"toggle-off",content:f?"On":"Off",onClick:function(){return t(f?"critOff":"critOn")}})})]})}},7701:function(e,n,t){"use strict";t.r(n),t.d(n,{Orbit:()=>j});var r=t(8138),i=t(4530),o=t(7790),l=t(5490),a=t(3268),c=t(2864),s=t(3384);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tn},p=function(e,n){var t=e.name,r=n.name;if(!t||!r)return 0;var i=t.match(f),o=r.match(f);return i&&o&&t.replace(f,"")===r.replace(f,"")?parseInt(i[1],10)-parseInt(o[1],10):m(t,r)},x=function(e){var n=e.searchText,t=e.source,i=e.title,l=e.color,a=e.sorted,c=t.filter(h(n));return a&&c.sort(p),t.length>0&&(0,r.jsx)(o.wn,{title:"".concat(i," - (").concat(t.length,")"),children:c.map(function(e){return(0,r.jsx)(g,{thing:e,color:l},e.name)})})},g=function(e){var n=(0,c.Oc)().act,t=e.color,i=e.thing;return(0,r.jsxs)(o.$n,{color:t,tooltip:i.assigned_role?(0,r.jsxs)(o.BJ,{children:[(0,r.jsx)(o.az,{as:"img",mr:"0.5em",className:(0,l.Ly)(["job_icons16x16",i.assigned_role_sprite])})," ",i.assigned_role]}):"",tooltipPosition:"bottom",onClick:function(){return n("orbit",{ref:i.ref})},children:[i.name,i.orbiters&&(0,r.jsxs)(o.az,{inline:!0,ml:1,children:["(",i.orbiters," ",(0,r.jsx)(o.In,{name:"eye"}),")"]})]})},j=function(e){var n=(0,c.Oc)(),t=n.act,l=n.data,a=l.alive,u=l.antagonists,f=l.highlights,j=l.response_teams,b=l.tourist,y=(l.auto_observe,l.dead),v=l.ssd,w=l.ghosts,k=l.misc,_=l.npcs,C=d((0,i.useState)(""),2),I=C[0],S=C[1],O={},A=!0,P=!1,E=void 0;try{for(var B,z=u[Symbol.iterator]();!(A=(B=z.next()).done);A=!0){var T=B.value;void 0===O[T.antag]&&(O[T.antag]=[]),O[T.antag].push(T)}}catch(e){P=!0,E=e}finally{try{A||null==z.return||z.return()}finally{if(P)throw E}}var N=Object.entries(O);N.sort(function(e,n){return m(e[0],n[0])});var R=function(e){for(var n=0,r=[N.map(function(e){var n=d(e,2);return n[0],n[1]}),b,f,a,w,v,y,_,k];n0&&(0,r.jsx)(o.wn,{title:"Antagonists",children:N.map(function(e){var n=d(e,2),t=n[0],i=n[1];return(0,r.jsx)(o.wn,{title:"".concat(t," - (").concat(i.length,")"),level:2,children:i.filter(h(I)).sort(p).map(function(e){return(0,r.jsx)(g,{color:"bad",thing:e},e.name)})},t)})}),f.length>0&&(0,r.jsx)(x,{title:"Highlights",source:f,searchText:I,color:"teal"}),(0,r.jsx)(x,{title:"Response Teams",source:j,searchText:I,color:"purple"}),(0,r.jsx)(x,{title:"Tourists",source:b,searchText:I,color:"violet"}),(0,r.jsx)(x,{title:"Alive",source:a,searchText:I,color:"good"}),(0,r.jsx)(x,{title:"Ghosts",source:w,searchText:I,color:"grey"}),(0,r.jsx)(x,{title:"SSD",source:v,searchText:I,color:"grey"}),(0,r.jsx)(x,{title:"Dead",source:y,searchText:I,sorted:!1}),(0,r.jsx)(x,{title:"NPCs",source:_,searchText:I,sorted:!1}),(0,r.jsx)(x,{title:"Misc",source:k,searchText:I,sorted:!1})]})})}},5802:function(e,n,t){"use strict";t.r(n),t.d(n,{OreRedemption:()=>f});var r=t(8138),i=t(7790),o=t(5490),l=t(2864),a=t(3384);function c(){return(c=Object.assign||function(e){for(var n=1;n0?"good":"grey",bold:a>0&&"good",children:a.toLocaleString("en-US")+" pts"})}),(0,r.jsx)(i.cG,{}),f?(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Design disk",children:[(0,r.jsx)(i.$n,{selected:!0,bold:!0,icon:"eject",content:f.name,tooltip:"Ejects the design disk.",onClick:function(){return t("eject_disk")}}),(0,r.jsx)(i.$n,{disabled:!f.design||!f.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){return t("download")}})]}),(0,r.jsx)(i.Ki.Item,{label:"Stored design",children:(0,r.jsx)(i.az,{color:f.design&&(f.compatible?"good":"bad"),children:f.design||"N/A"})})]}):(0,r.jsx)(i.az,{color:"label",children:"No design disk inserted."})]}))},m=function(e){var n=(0,l.Oc)(),t=(n.act,n.data).sheets,o=c({},s(e));return(0,r.jsx)(i.BJ.Item,{grow:!0,height:"20%",children:(0,r.jsxs)(i.wn,d(u({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},o),{children:[(0,r.jsx)(x,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),t.map(function(e){return(0,r.jsx)(g,{ore:e},e.id)})]}))})},p=function(e){var n=(0,l.Oc)(),t=(n.act,n.data).alloys,o=c({},s(e));return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,d(u({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},o),{children:[(0,r.jsx)(x,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),t.map(function(e){return(0,r.jsx)(j,{ore:e},e.id)})]}))})},x=function(e){var n;return(0,r.jsx)(i.az,{className:"OreHeader",children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:e.title}),null==(n=e.columns)?void 0:n.map(function(e){return(0,r.jsx)(i.BJ.Item,{basis:e[1],textAlign:"center",color:"label",bold:!0,children:e[0]},e)})]})})},g=function(e){var n=(0,l.Oc)().act,t=e.ore;if(!t.value||!(t.amount<=0)||["metal","glass"].indexOf(t.id)>-1)return(0,r.jsx)(i.az,{className:"SheetLine",children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{basis:"45%",align:"middle",children:(0,r.jsxs)(i.BJ,{align:"center",children:[(0,r.jsx)(i.BJ.Item,{className:(0,o.Ly)(["materials32x32",t.id])}),(0,r.jsx)(i.BJ.Item,{children:t.name})]})}),(0,r.jsx)(i.BJ.Item,{basis:"20%",textAlign:"center",color:t.amount>=1?"good":"gray",bold:t.amount>=1,align:"center",children:t.amount.toLocaleString("en-US")}),(0,r.jsx)(i.BJ.Item,{basis:"20%",textAlign:"center",align:"center",children:t.value}),(0,r.jsx)(i.BJ.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,r.jsx)(i.Q7,{width:"40%",value:0,minValue:0,maxValue:Math.min(t.amount,50),step:1,stepPixelSize:6,onChange:function(e){return n(t.value?"sheet":"alloy",{id:t.id,amount:e})}})})]})})},j=function(e){var n=(0,l.Oc)().act,t=e.ore;return(0,r.jsx)(i.az,{className:"SheetLine",children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{basis:"7%",align:"middle",children:(0,r.jsx)(i.az,{className:(0,o.Ly)(["alloys32x32",t.id])})}),(0,r.jsx)(i.BJ.Item,{basis:"30%",textAlign:"middle",align:"center",children:t.name}),(0,r.jsx)(i.BJ.Item,{basis:"35%",textAlign:"middle",color:t.amount>=1?"good":"gray",align:"center",children:t.description}),(0,r.jsx)(i.BJ.Item,{basis:"10%",textAlign:"center",color:t.amount>=1?"good":"gray",bold:t.amount>=1,align:"center",children:t.amount.toLocaleString("en-US")}),(0,r.jsx)(i.BJ.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,r.jsx)(i.Q7,{width:"40%",value:0,minValue:0,maxValue:Math.min(t.amount,50),stepPixelSize:6,step:1,onChange:function(e){return n(t.value?"sheet":"alloy",{id:t.id,amount:e})}})})]})})}},4235:function(e,n,t){"use strict";t.r(n),t.d(n,{PAI:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(483),c=t(222),s=function(e){try{n=c("./".concat(e,".jsx"))}catch(n){if("MODULE_NOT_FOUND"===n.code)return(0,a.z)("notFound",e);throw n}var n,t=n[e];return t||(0,a.z)("missingExport",e)},u=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.app_template,u=a.app_icon,d=a.app_title,f=s(c);return(0,r.jsx)(l.p8,{width:600,height:650,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{p:1,fill:!0,scrollable:!0,title:(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.In,{name:u,mr:1}),d,"pai_main_menu"!==c&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{ml:2,mb:0,content:"Back",icon:"arrow-left",onClick:function(){return t("Back")}}),(0,r.jsx)(i.$n,{content:"Home",icon:"arrow-up",onClick:function(){return t("MASTER_back")}})]})]}),children:(0,r.jsx)(f,{})})})})})})}},2740:function(e,n,t){"use strict";t.r(n),t.d(n,{PDA:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(483),c=t(2721),s=function(e){try{n=c("./".concat(e,".jsx"))}catch(n){if("MODULE_NOT_FOUND"===n.code)return(0,a.z)("notFound",e);throw n}var n,t=n[e];return t||(0,a.z)("missingExport",e)},u=function(e){var n=(0,o.Oc)(),t=(n.act,n.data),a=t.app;if(!t.owner)return(0,r.jsx)(l.p8,{width:350,height:105,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.wn,{title:"Error",children:"No user data found. Please swipe an ID card."})})});var c=s(a.template);return(0,r.jsx)(l.p8,{width:600,height:650,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(d,{})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,p:1,pb:0,title:(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.In,{name:a.icon,mr:1}),a.name]}),children:(0,r.jsx)(c,{})})}),(0,r.jsx)(i.BJ.Item,{mt:7.5,children:(0,r.jsx)(f,{})})]})})})},d=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.idInserted,c=l.idLink,s=l.stationTime,u=l.cartridge_name;return(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{ml:.5,children:(0,r.jsx)(i.$n,{icon:"id-card",color:"transparent",onClick:function(){return t("Authenticate")},content:a?c:"No ID Inserted"})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"sd-card",color:"transparent",onClick:function(){return t("Eject")},content:u?["Eject "+u]:"No Cartridge Inserted"})}),(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:s})]})},f=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.app;return(0,r.jsx)(i.az,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,r.jsxs)(i.BJ,{fill:!0,children:[!!l.has_back&&(0,r.jsx)(i.BJ.Item,{basis:"33%",mr:-.5,children:(0,r.jsx)(i.$n,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:l.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){return t("Back")}})}),(0,r.jsx)(i.BJ.Item,{basis:l.has_back?"33%":"100%",children:(0,r.jsx)(i.$n,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:l.is_home?"disabled":"white",icon:"home",onClick:function(){t("Home")}})})]})})}},377:function(e,n,t){"use strict";t.r(n),t.d(n,{Pacman:()=>s});var r=t(8138),i=t(7790),o=t(9582),l=t(2864),a=t(7946),c=t(3384),s=function(e){var n=(0,l.Oc)(),t=n.act,s=n.data,u=s.active,d=s.anchored,f=s.broken,h=s.emagged,m=s.fuel_type,p=s.fuel_usage,x=s.fuel_stored,g=s.fuel_cap,j=s.is_ai,b=s.tmp_current,y=s.tmp_max,v=s.tmp_overheat,w=s.output_max,k=s.power_gen,_=s.output_set,C=s.has_fuel,I=Math.round(x/p*2),S=Math.round(I/60);return(0,r.jsx)(c.p8,{width:500,height:225,children:(0,r.jsxs)(c.p8.Content,{children:[(f||!d)&&(0,r.jsxs)(i.wn,{title:"Status",children:[!!f&&(0,r.jsx)(i.az,{color:"orange",children:"The generator is malfunctioning!"}),!f&&!d&&(0,r.jsx)(i.az,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!f&&!!d&&(0,r.jsxs)("div",{children:[(0,r.jsx)(i.wn,{title:"Status",buttons:(0,r.jsx)(i.$n,{icon:u?"power-off":"times",content:u?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!C,selected:u,onClick:function(){return t("toggle_power")}}),children:(0,r.jsxs)(i.so,{direction:"row",children:[(0,r.jsx)(i.so.Item,{width:"50%",className:"ml-1",children:(0,r.jsx)(i.Ki,{children:(0,r.jsxs)(i.Ki.Item,{label:"Power setting",children:[(0,r.jsx)(i.Q7,{value:_,minValue:1,maxValue:w*(h?2.5:1),step:1,className:"mt-1",onChange:function(e){return t("change_power",{change_power:e})}}),"(",(0,o.d5)(_*k),")"]})})}),(0,r.jsx)(i.so.Item,{width:"50%",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Temperature",children:(0,r.jsxs)(i.z2,{value:b/y,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[b," ℃"]})}),(0,r.jsxs)(i.Ki.Item,{label:"Status",children:[v>50&&(0,r.jsx)(i.az,{color:"red",children:"CRITICAL OVERHEAT!"}),v>20&&v<=50&&(0,r.jsx)(i.az,{color:"orange",children:"WARNING: Overheating!"}),v>1&&v<=20&&(0,r.jsx)(i.az,{color:"orange",children:"Temperature High"}),0===v&&(0,r.jsx)(i.az,{color:"green",children:"Optimal"})]})]})})]})}),(0,r.jsx)(i.wn,{title:"Fuel",buttons:(0,r.jsx)(i.$n,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:u||j||!C,onClick:function(){return t("eject_fuel")}}),children:(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Type",children:m}),(0,r.jsx)(i.Ki.Item,{label:"Fuel level",children:(0,r.jsxs)(i.z2,{value:x/g,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(x/1e3)," dm\xb3"]})})]})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Fuel usage",children:[p/1e3," dm\xb3/s"]}),(0,r.jsxs)(i.Ki.Item,{label:"Fuel depletion",children:[!!C&&(p?I>120?"".concat(S," minutes"):"".concat(I," seconds"):"N/A"),!C&&(0,r.jsx)(i.az,{color:"red",children:"Out of fuel"})]})]})})]})})]})]})})}},9454:function(e,n,t){"use strict";t.r(n),t.d(n,{PanDEMIC:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t=(0,o.Oc)().data,a=t.reporting,u=t.analyzing,d=t.beakerLoaded,h=t.beakerContainsBlood,m=t.beakerContainsVirus,p=t.resistances,g=void 0===p?[]:p;return d?h?h&&!m&&(n=(0,r.jsx)(r.Fragment,{children:"No disease detected in provided blood sample."})):n=(0,r.jsx)(r.Fragment,{children:"No blood sample found in the loaded container."}):n=(0,r.jsx)(r.Fragment,{children:"No container loaded."}),(0,r.jsx)(l.p8,{width:700,height:640,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(c,{operating:u||a,name:"PanD.E.M.I.C"}),n&&!m?(0,r.jsx)(i.wn,{title:"Container Information",buttons:(0,r.jsx)(s,{fill:!0,vertical:!0}),children:(0,r.jsx)(i.IC,{children:n})}):(0,r.jsx)(f,{}),(null==g?void 0:g.length)>0&&(0,r.jsx)(x,{align:"bottom"})]})})})},c=function(e){var n=e.operating,t=(0,o.Oc)(),l=t.act,a=t.data,c=a.analyzing,s=a.analysisTime,u=a.analysisDuration,d=a.analysisDifficulty,f=a.totalContribution,h=a.analysisContributions,m=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Analysis Difficulty",children:Math.ceil(d)}),h.map(function(e,n){return(0,r.jsx)(i.Ki.Item,{label:e.factor,children:Math.floor(e.amount)},n)}),(0,r.jsx)(i.Ki.Item,{label:"Total",children:Math.floor(f)}),(0,r.jsx)(i.Ki.Item,{label:"Analysis Result",children:d-f<0?"Disease Analyzed Successfully":"Analysis Failed"})]});if(n)return c?(0,r.jsx)(i.Rr,{children:(0,r.jsx)(i.so,{mb:"30px",children:(0,r.jsxs)(i.so.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,r.jsx)(i.In,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,r.jsx)("br",{}),"Analyzing ",Math.floor(100-100*s/u),"%"]})})}):(0,r.jsx)(i.aF,{backgroundColor:"rgba(0, 0, 0, 1)",children:(0,r.jsx)(i.wn,{title:"Analysis Results",backgroundColor:"rgba(0, 0, 0, 1)",bold:!0,children:(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsx)(i.Ki,{children:m}),(0,r.jsx)(i.$n,{textAlign:"center",onClick:function(){return l("close_report")},children:"Close"})]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.beakerLoaded;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:"eject",content:"Eject",disabled:!l,onClick:function(){return t("eject_beaker")}}),(0,r.jsx)(i.$n.Confirm,{icon:"trash-alt",confirmIcon:"eraser",content:"Destroy",confirmContent:"Destroy",disabled:!l,onClick:function(){return t("destroy_eject_beaker")}})]})},u=function(e){var n,t,l,a=(0,o.Oc)(),c=a.act,s=a.data,u=s.analysisDifficulty,d=s.analysisContributions,f=s.beakerContainsVirus,h=s.analyzing,m=s.canAnalyze,p=e.strain,x=p.commonName,g=p.description,j=p.strainID,b=p.sample_stage,y=p.known,v=p.diseaseAgent,w=p.bloodDNA,k=p.bloodType,_=p.possibleCures,C=p.transmissionRoute,I=p.isAdvanced,S=p.RequiredCures,O=p.Stabilized,A=p.StrainTracker,P=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Blood DNA",children:w?(0,r.jsx)("span",{style:{fontFamily:"'Courier New', monospace"},children:w}):"Undetectable"}),(0,r.jsx)(i.Ki.Item,{label:"Blood Type",children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:null!=k?k:"Undetectable"}})})]});if(!f)return(0,r.jsx)(i.Ki,{children:P});var E=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Analysis Difficulty",children:Math.ceil(u)}),d.map(function(e,n){return(0,r.jsx)(i.Ki.Item,{label:e.factor,children:(0,r.jsx)(i.z2,{maxValue:Math.min(e.maxAmount,u),minValue:0,value:e.amount,ranges:{good:[.66*Math.min(e.maxAmount,u),1/0],average:[.33*Math.min(e.maxAmount,u),.66*Math.min(e.maxAmount,u)],bad:[-1/0,.33*Math.min(e.maxAmount,u)]},children:e.amount})},n)})]});if(I)return n=null!=x&&"Unknown"!==x?(0,r.jsx)(i.$n,{icon:"print",content:"Print Release Forms",disabled:!y,onClick:function(){return c("print_release_forms",{strain_index:e.strainIndex})},style:{marginLeft:"auto"}}):(0,r.jsx)(i.$n,{icon:"pen",content:null!=x&&"Unknown"!==x?"Rename Disease":"Name Disease",disabled:!y,onClick:function(){return c("name_strain",{strain_index:e.strainIndex})},style:{marginLeft:"auto"}}),I&&(t=(0,r.jsx)(i.$n,{content:"Analyze",disabled:!m||h,onClick:function(){return c("analyze_strain",{strain_index:e.strainIndex})}}),l=(0,r.jsx)(i.$n.Confirm,{icon:"trash-alt",confirmIcon:"eraser",content:"Delete Data",confirmContent:"Delete Data",disabled:!e.strain.known,onClick:function(){return c("remove_from_database",{strain_id:e.strain.strainFullID})}})),(0,r.jsxs)(i.BJ,{vertical:!0,children:[(0,r.jsxs)(i.BJ,{align:"left",children:[n,t,l]}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Common Name",className:"common-name-label",children:null!=x?x:"Unknown"}),g&&(0,r.jsx)(i.Ki.Item,{label:"Description",children:g}),(0,r.jsx)(i.Ki.Item,{label:"Strain ID",children:j}),m?E:"",(0,r.jsx)(i.Ki.Item,{label:"Sample Stage",children:b}),(0,r.jsx)(i.Ki.Item,{label:"Disease Agent",children:v}),P,(0,r.jsx)(i.Ki.Item,{label:"Spread Vector",children:null!=C?C:"None"}),(0,r.jsx)(i.Ki.Item,{label:"Possible Cures",children:null!=_?_:"None"}),(0,r.jsx)(i.Ki.Item,{label:"Required Cures",children:null!=S?S:"None"}),I?(0,r.jsx)(i.Ki.Item,{label:"Stabilized",children:1===O?"Yes":"No"}):"",I?(0,r.jsx)(i.Ki.Item,{label:"Tracked Strain",children:A&&""!==A?A:"None"}):""]})]})},d=function(e){var n,t=(0,o.Oc)(),l=t.act,a=!!t.data.synthesisCooldown,c=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:a?"spinner":"clone",iconSpin:a,content:"Clone",disabled:a,onClick:function(){return l("clone_strain",{strain_index:e.strainIndex})}}),e.sectionButtons]});return(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.wn,{title:null!=(n=e.sectionTitle)?n:"Strain Information",buttons:c,children:(0,r.jsx)(u,{strain:e.strain,strainIndex:e.strainIndex})})})},f=function(e){var n,t,l=(0,o.Oc)(),a=l.act,c=l.data,u=c.selectedStrainIndex,f=c.strains,h=f[u-1];if(0===f.length)return(0,r.jsx)(i.wn,{title:"Container Information",buttons:(0,r.jsx)(s,{}),children:(0,r.jsx)(i.IC,{children:"No disease detected in provided blood sample."})});if(1===f.length)return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d,{strain:f[0],strainIndex:1,sectionButtons:(0,r.jsx)(s,{})}),(null==(t=f[0].symptoms)?void 0:t.length)>0&&(0,r.jsx)(m,{strain:f[0]})]});var p=(0,r.jsx)(s,{});return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.wn,{title:"Culture Information",fill:!0,buttons:p,children:[(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.tU,{children:f.map(function(e,n){var t;return(0,r.jsx)(i.tU.Tab,{icon:"virus",selected:u-1===n,onClick:function(){return a("switch_strain",{strain_index:n+1})},children:null!=(t=e.commonName)?t:"Unknown"},n)})})}),(0,r.jsx)(d,{strain:h,strainIndex:u}),(null==(n=h.symptoms)?void 0:n.length)>0&&(0,r.jsx)(m,{className:"remove-section-bottom-padding",strain:h})]})})},h=function(e){return e.reduce(function(e,n){return e+n},0)},m=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.predictions,c=l.symptom_names,s=l.analyzing,u=l.analysisDuration,d=e.strain,f=d.baseStats,m=d.symptoms,p=d.known;return(0,r.jsx)(i.so.Item,{grow:!0,children:(0,r.jsx)(i.wn,{title:"Infection Symptoms",fill:!0,className:e.className,children:(0,r.jsxs)(i.XI,{className:"symptoms-table",children:[(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:"Name"}),(0,r.jsx)(i.XI.Cell,{children:"Stealth"}),(0,r.jsx)(i.XI.Cell,{children:"Resistance"}),(0,r.jsx)(i.XI.Cell,{children:"Stage Speed"}),(0,r.jsx)(i.XI.Cell,{children:"Transmissibility"})]}),m.map(function(e,n){return(0,r.jsxs)(i.XI.Row,{children:[p||"UNKNOWN"!==e.name?(0,r.jsx)(i.XI.Cell,{children:e.name}):(0,r.jsx)(i.ms,{options:c.sort(function(e,n){return e.localeCompare(n)}),width:"180px",selected:a[n],disabled:s||-2===u,onSelected:function(e){return t("set_prediction",{pred_index:n+1,pred_value:e})}}),(0,r.jsx)(i.XI.Cell,{children:e.stealth}),(0,r.jsx)(i.XI.Cell,{children:e.resistance}),(0,r.jsx)(i.XI.Cell,{children:e.stageSpeed}),(0,r.jsx)(i.XI.Cell,{children:e.transmissibility})]},n)}),(0,r.jsx)(i.XI.Row,{className:"table-spacer"}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:"Base Stats"}),(0,r.jsx)(i.XI.Cell,{children:p?f.stealth:"UNKNOWN"}),(0,r.jsx)(i.XI.Cell,{children:p?f.resistance:"UNKNOWN"}),(0,r.jsx)(i.XI.Cell,{children:p?f.stageSpeed:"UNKNOWN"}),(0,r.jsx)(i.XI.Cell,{children:p?f.transmissibility:"UNKNOWN"})]}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Total"}),(0,r.jsx)(i.XI.Cell,{children:p?h(m.map(function(e){return e.stealth}))+f.stealth:"UNKNOWN"}),(0,r.jsx)(i.XI.Cell,{children:p?h(m.map(function(e){return e.resistance}))+f.resistance:"UNKNOWN"}),(0,r.jsx)(i.XI.Cell,{children:p?h(m.map(function(e){return e.stageSpeed}))+f.stageSpeed:"UNKNOWN"}),(0,r.jsx)(i.XI.Cell,{children:p?h(m.map(function(e){return e.transmissibility}))+f.transmissibility:"UNKNOWN"})]})]})})})},p=["flask","vial","eye-dropper"],x=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.synthesisCooldown,c=(l.beakerContainsVirus,l.resistances);return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Antibodies",fill:!0,children:(0,r.jsx)(i.BJ,{wrap:!0,children:c.map(function(e,n){return(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:p[n%p.length],disabled:!!a,onClick:function(){return t("clone_vaccine",{resistance_index:n+1})},mr:"0.5em"}),e]},n)})})})})}},3566:function(e,n,t){"use strict";t.r(n),t.d(n,{ParticleAccelerator:()=>u});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(7946),c=t(3384),s=function(e){switch(e){case 1:return"north";case 2:return"south";case 4:return"east";case 8:return"west";case 5:return"northeast";case 6:return"southeast";case 9:return"northwest";case 10:return"southwest"}return""},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,s=a.assembled,u=a.power,h=a.strength,m=a.max_strength,p=(a.icon,a.layout_1,a.layout_2,a.layout_3,a.orientation);return(0,r.jsx)(c.p8,{width:395,height:s?160:"north"===p||"south"===p?540:465,children:(0,r.jsxs)(c.p8.Content,{scrollable:!0,children:[(0,r.jsx)(i.wn,{title:"Control Panel",buttons:(0,r.jsx)(i.$n,{dmIcon:"sync",content:"Connect",onClick:function(){return t("scan")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",mb:"5px",children:(0,r.jsx)(i.az,{color:s?"good":"bad",children:s?"Operational":"Error: Verify Configuration"})}),(0,r.jsx)(i.Ki.Item,{label:"Power",children:(0,r.jsx)(i.$n,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,disabled:!s,onClick:function(){return t("power")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Strength",children:[(0,r.jsx)(i.$n,{icon:"backward",disabled:!s||0===h,onClick:function(){return t("remove_strength")},mr:"4px"}),h,(0,r.jsx)(i.$n,{icon:"forward",disabled:!s||h===m,onClick:function(){return t("add_strength")},ml:"4px"})]})]})}),s?"":(0,r.jsx)(i.wn,{title:p?"EM Acceleration Chamber Orientation: "+(0,o.ZH)(p):"Place EM Acceleration Chamber Next To Console",children:0===p?"":"north"===p||"south"===p?(0,r.jsx)(f,{}):(0,r.jsx)(d,{})})]})})},d=function(e){var n=(0,l.Oc)(),t=(n.act,n.data);t.assembled,t.power,t.strength,t.max_strength;var o=t.icon,a=t.layout_1,c=t.layout_2,u=t.layout_3,d=t.orientation;return(0,r.jsxs)(i.XI,{children:[(0,r.jsx)(i.XI.Row,{width:"40px",children:("east"===d?a:u).slice().map(function(e){return(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.m_,{content:(0,r.jsxs)("span",{style:{wordWrap:"break-word"},children:[e.name," ",(0,r.jsx)("br",{})," ","Status: ".concat(e.status),(0,r.jsx)("br",{}),"Direction: ".concat(s(e.dir))]}),children:(0,r.jsx)(i.c_,{dmIcon:o,dmIconState:e.icon_state,dmDirection:e.dir,style:{borderStyle:"solid",borderWidth:"2px",borderColor:"good"===e.status?"green":"Incomplete"===e.status?"orange":"red",padding:"2px"}})})},e.name)})}),(0,r.jsx)(i.XI.Row,{width:"40px",children:c.slice().map(function(e){return(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.m_,{content:(0,r.jsxs)("span",{style:{wordWrap:"break-word"},children:[e.name," ",(0,r.jsx)("br",{})," ","Status: ".concat(e.status),(0,r.jsx)("br",{}),"Direction: ".concat(s(e.dir))]}),children:(0,r.jsx)(i.c_,{dmIcon:o,dmIconState:e.icon_state,dmDirection:e.dir,style:{borderStyle:"solid",borderWidth:"2px",borderColor:"good"===e.status?"green":"Incomplete"===e.status?"orange":"red",padding:"2px"}})})},e.name)})}),(0,r.jsx)(i.XI.Row,{width:"40px",children:("east"===d?u:a).slice().map(function(e){return(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.m_,{content:(0,r.jsxs)("span",{style:{wordWrap:"break-word"},children:[e.name," ",(0,r.jsx)("br",{})," ","Status: ".concat(e.status),(0,r.jsx)("br",{}),"Direction: ".concat(s(e.dir))]}),children:(0,r.jsx)(i.c_,{dmIcon:o,dmIconState:e.icon_state,dmDirection:e.dir,style:{borderStyle:"solid",borderWidth:"2px",borderColor:"good"===e.status?"green":"Incomplete"===e.status?"orange":"red",padding:"2px"}})})},e.name)})})]})},f=function(e){var n=(0,l.Oc)(),t=(n.act,n.data);t.assembled,t.power,t.strength,t.max_strength;var o=t.icon,c=t.layout_1,u=t.layout_2,d=t.layout_3,f=t.orientation;return(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{width:"40px",children:("north"===f?c:d).slice().map(function(e){return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.m_,{content:(0,r.jsxs)("span",{style:{wordWrap:"break-word"},children:[e.name," ",(0,r.jsx)("br",{})," ","Status: ".concat(e.status),(0,r.jsx)("br",{}),"Direction: ".concat(s(e.dir))]}),children:(0,r.jsx)(i.c_,{dmIcon:o,dmIconState:e.icon_state,dmDirection:e.dir,style:{borderStyle:"solid",borderWidth:"2px",borderColor:"good"===e.status?"green":"Incomplete"===e.status?"orange":"red",padding:"2px"}})})},e.name)})}),(0,r.jsx)(a.xA.Column,{children:u.slice().map(function(e){return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.m_,{content:(0,r.jsxs)("span",{style:{wordWrap:"break-word"},children:[e.name," ",(0,r.jsx)("br",{})," ","Status: ".concat(e.status),(0,r.jsx)("br",{}),"Direction: ".concat(s(e.dir))]}),children:(0,r.jsx)(i.c_,{dmIcon:o,dmIconState:e.icon_state,dmDirection:e.dir,style:{borderStyle:"solid",borderWidth:"2px",borderColor:"good"===e.status?"green":"Incomplete"===e.status?"orange":"red",padding:"2px"}})})},e.name)})}),(0,r.jsx)(a.xA.Column,{width:"40px",children:("north"===f?d:c).slice().map(function(e){return(0,r.jsx)(i.BJ.Item,{grow:!0,tooltip:e.status,children:(0,r.jsx)(i.m_,{content:(0,r.jsxs)("span",{style:{wordWrap:"break-word"},children:[e.name," ",(0,r.jsx)("br",{})," ","Status: ".concat(e.status),(0,r.jsx)("br",{}),"Direction: ".concat(s(e.dir))]}),children:(0,r.jsx)(i.c_,{dmIcon:o,dmIconState:e.icon_state,dmDirection:e.dir,style:{borderStyle:"solid",borderWidth:"2px",borderColor:"good"===e.status?"green":"Incomplete"===e.status?"orange":"red",padding:"2px"}})})},e.name)})})]})}},3371:function(e,n,t){"use strict";t.r(n),t.d(n,{PdaPainter:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)().data.has_pda;return(0,r.jsx)(l.p8,{width:510,height:505,children:(0,r.jsx)(l.p8.Content,{children:n?(0,r.jsx)(s,{}):(0,r.jsx)(c,{})})})},c=function(e){var n=(0,o.Oc)().act;return(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,r.jsx)(i.In,{name:"download",size:5,mb:"10px"}),(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{width:"160px",textAlign:"center",content:"Insert PDA",onClick:function(){return n("insert_pda")}})]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.pda_colors;return(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(u,{})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(i.XI,{className:"PdaPainter__list",children:Object.keys(l).map(function(e){return(0,r.jsxs)(i.XI.Row,{onClick:function(){return t("choose_pda",{selectedPda:e})},children:[(0,r.jsx)(i.XI.Cell,{collapsing:!0,children:(0,r.jsx)("img",{src:"data:image/png;base64,".concat(l[e][0]),style:{verticalAlign:"middle",width:"32px",margin:"0px",imageRendering:"pixelated"}})}),(0,r.jsx)(i.XI.Cell,{children:e})]},e)})})})})]})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.current_appearance,c=l.preview_appearance;return(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsxs)(i.wn,{title:"Current PDA",children:[(0,r.jsx)("img",{src:"data:image/jpeg;base64,".concat(a),style:{verticalAlign:"middle",width:"160px",margin:"0px",imageRendering:"pixelated"}}),(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"eject",content:"Eject",color:"green",onClick:function(){return t("eject_pda")}}),(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"paint-roller",content:"Paint PDA",onClick:function(){return t("paint_pda")}})]}),(0,r.jsx)(i.wn,{title:"Preview",children:(0,r.jsx)("img",{src:"data:image/jpeg;base64,".concat(c),style:{verticalAlign:"middle",width:"160px",margin:"0px",imageRendering:"pixelated"}})})]})}},6144:function(e,n,t){"use strict";t.r(n),t.d(n,{PersonalCrafting:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,u=a.busy,d=a.category,f=a.display_craftable_only,h=a.display_compact,m=a.prev_cat,p=a.next_cat,x=a.subcategory,g=a.prev_subcat,j=a.next_subcat;return(0,r.jsx)(l.p8,{width:700,height:800,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[!!u&&(0,r.jsxs)(i.Rr,{fontSize:"32px",children:[(0,r.jsx)(i.In,{name:"cog",spin:1})," Crafting..."]}),(0,r.jsxs)(i.wn,{title:d,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"Show Craftable Only",icon:f?"check-square-o":"square-o",selected:f,onClick:function(){return t("toggle_recipes")}}),(0,r.jsx)(i.$n,{content:"Compact Mode",icon:h?"check-square-o":"square-o",selected:h,onClick:function(){return t("toggle_compact")}})]}),children:[(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{content:m,icon:"arrow-left",onClick:function(){return t("backwardCat")}}),(0,r.jsx)(i.$n,{content:p,icon:"arrow-right",onClick:function(){return t("forwardCat")}})]}),x&&(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{content:g,icon:"arrow-left",onClick:function(){return t("backwardSubCat")}}),(0,r.jsx)(i.$n,{content:j,icon:"arrow-right",onClick:function(){return t("forwardSubCat")}})]}),h?(0,r.jsx)(c,{}):(0,r.jsx)(s,{})]})]})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.display_craftable_only,c=l.can_craft,s=l.cant_craft;return(0,r.jsx)(i.az,{mt:1,children:(0,r.jsxs)(i.Ki,{children:[c.map(function(e){return(0,r.jsxs)(i.Ki.Item,{label:e.name,children:[(0,r.jsx)(i.$n,{icon:"hammer",content:"Craft",onClick:function(){return t("make",{make:e.ref})}}),e.catalyst_text&&(0,r.jsx)(i.$n,{tooltip:e.catalyst_text,content:"Catalysts",color:"transparent"}),(0,r.jsx)(i.$n,{tooltip:e.req_text,content:"Requirements",color:"transparent"}),e.tool_text&&(0,r.jsx)(i.$n,{tooltip:e.tool_text,content:"Tools",color:"transparent"})]},e.name)}),!a&&s.map(function(e){return(0,r.jsxs)(i.Ki.Item,{label:e.name,children:[(0,r.jsx)(i.$n,{icon:"hammer",content:"Craft",disabled:!0}),e.catalyst_text&&(0,r.jsx)(i.$n,{tooltip:e.catalyst_text,content:"Catalysts",color:"transparent"}),(0,r.jsx)(i.$n,{tooltip:e.req_text,content:"Requirements",color:"transparent"}),e.tool_text&&(0,r.jsx)(i.$n,{tooltip:e.tool_text,content:"Tools",color:"transparent"})]},e.name)})]})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.display_craftable_only,c=l.can_craft,s=l.cant_craft;return(0,r.jsxs)(i.az,{mt:1,children:[c.map(function(e){return(0,r.jsx)(i.wn,{title:e.name,buttons:(0,r.jsx)(i.$n,{icon:"hammer",content:"Craft",onClick:function(){return t("make",{make:e.ref})}}),children:(0,r.jsxs)(i.Ki,{children:[e.catalyst_text&&(0,r.jsx)(i.Ki.Item,{label:"Catalysts",children:e.catalyst_text}),(0,r.jsx)(i.Ki.Item,{label:"Requirements",children:e.req_text}),e.tool_text&&(0,r.jsx)(i.Ki.Item,{label:"Tools",children:e.tool_text})]})},e.name)}),!a&&s.map(function(e){return(0,r.jsx)(i.wn,{title:e.name,buttons:(0,r.jsx)(i.$n,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,r.jsxs)(i.Ki,{children:[e.catalyst_text&&(0,r.jsx)(i.Ki.Item,{label:"Catalysts",children:e.catalyst_text}),(0,r.jsx)(i.Ki.Item,{label:"Requirements",children:e.req_text}),e.tool_text&&(0,r.jsx)(i.Ki.Item,{label:"Tools",children:e.tool_text})]})},e.name)})]})}},2327:function(e,n,t){"use strict";t.r(n),t.d(n,{Photocopier:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;return(0,r.jsx)(l.p8,{width:400,height:440,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsxs)(i.wn,{title:"Photocopier",color:"silver",children:[(0,r.jsxs)(i.BJ,{mb:1,children:[(0,r.jsx)(i.BJ.Item,{width:12,children:"Copies:"}),(0,r.jsx)(i.BJ.Item,{width:"2em",bold:!0,children:a.copynumber}),(0,r.jsxs)(i.BJ.Item,{style:{float:"right"},children:[(0,r.jsx)(i.$n,{icon:"minus",textAlign:"center",content:"",onClick:function(){return t("minus")}}),(0,r.jsx)(i.$n,{icon:"plus",textAlign:"center",content:"",onClick:function(){return t("add")}})]})]}),(0,r.jsxs)(i.BJ,{mb:2,children:[(0,r.jsx)(i.BJ.Item,{width:12,children:"Toner:"}),(0,r.jsx)(i.BJ.Item,{bold:!0,children:a.toner})]}),(0,r.jsxs)(i.BJ,{mb:1,children:[(0,r.jsx)(i.BJ.Item,{width:12,children:"Inserted Document:"}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",disabled:!a.copyitem&&!a.mob,content:a.copyitem?a.copyitem:a.mob?a.mob+"'s ass!":"document",onClick:function(){return t("removedocument")}})})]}),(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{width:12,children:"Inserted Folder:"}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",disabled:!a.folder,content:a.folder?a.folder:"folder",onClick:function(){return t("removefolder")}})})]})]}),(0,r.jsx)(i.wn,{children:(0,r.jsx)(c,{})}),(0,r.jsx)(s,{})]})})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.issilicon;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{fluid:!0,icon:"copy",textAlign:"center",content:"Copy",onClick:function(){return t("copy")}}),(0,r.jsx)(i.$n,{fluid:!0,icon:"file-import",textAlign:"center",content:"Scan",onClick:function(){return t("scandocument")}}),!!l&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{fluid:!0,icon:"file",color:"green",textAlign:"center",content:"Print Text",onClick:function(){return t("ai_text")}}),(0,r.jsx)(i.$n,{fluid:!0,icon:"image",color:"green",textAlign:"center",content:"Print Image",onClick:function(){return t("ai_pic")}})]})]})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data;return(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Scanned Files",children:l.files.map(function(e){return(0,r.jsx)(i.wn,{title:e.name,buttons:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.$n,{icon:"print",content:"Print",disabled:l.toner<=0,onClick:function(){return t("filecopy",{uid:e.uid})}}),(0,r.jsx)(i.$n.Confirm,{icon:"trash-alt",content:"Delete",color:"bad",onClick:function(){return t("deletefile",{uid:e.uid})}})]})},e.name)})})}},7331:function(e,n,t){"use strict";t.r(n),t.d(n,{PoolController:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["tempKey"]),s=c[l];if(!s)return null;var u=(0,o.Oc)(),d=u.data,f=u.act,h=d.currentTemp,m=s.label,p=s.icon;return(0,r.jsxs)(i.$n,(n=function(e){for(var n=1;na});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).has_holding_tank;return(0,r.jsx)(l.p8,{width:435,height:330,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(c,{}),(0,r.jsx)(s,{}),t?(0,r.jsx)(u,{}):(0,r.jsx)(i.wn,{fill:!0,title:"Holding Tank",children:(0,r.jsx)(i.az,{color:"average",bold:1,textAlign:"center",mt:2.5,children:"No Holding Tank Inserted."})})]})})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.on,c=l.direction,s=l.port_connected;return(0,r.jsx)(i.wn,{title:"Pump Settings",buttons:(0,r.jsx)(i.$n,{width:4,icon:"power-off",content:a?"On":"Off",color:a?null:"red",selected:a,onClick:function(){return t("power")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Pump Direction",children:(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.$n,{width:4,icon:"sign-in-alt",content:"In",selected:!c,onClick:function(){return t("set_direction",{direction:0})}}),(0,r.jsx)(i.$n,{width:4,icon:"sign-out-alt",content:"Out",selected:c,onClick:function(){return t("set_direction",{direction:1})}})]})}),(0,r.jsx)(i.Ki.Item,{label:"Port status",children:(0,r.jsx)(i.az,{color:s?"green":"average",bold:1,ml:.5,children:s?"Connected":"Disconnected"})})]})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.tank_pressure,c=l.target_pressure,s=l.max_target_pressure,u=.7*s,d=.25*s;return(0,r.jsxs)(i.wn,{title:"Pressure Settings",children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Stored pressure",children:(0,r.jsxs)(i.z2,{value:a,minValue:0,maxValue:s,ranges:{good:[u,1/0],average:[d,u],bad:[-1/0,d]},children:[a," kPa"]})})}),(0,r.jsxs)(i.BJ,{mt:1,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,color:"label",mt:.3,children:"Target pressure:"}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"undo",mr:.5,width:2.2,textAlign:"center",onClick:function(){return t("set_pressure",{pressure:101.325})}}),(0,r.jsx)(i.$n,{icon:"fast-backward",mr:.5,width:2.2,textAlign:"center",onClick:function(){return t("set_pressure",{pressure:0})}})]}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.Ap,{animated:!0,unit:"kPa",width:16.5,stepPixelSize:.22,minValue:0,maxValue:s,value:c,onChange:function(e,n){return t("set_pressure",{pressure:n})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"fast-forward",ml:.5,width:2.2,textAlign:"center",onClick:function(){return t("set_pressure",{pressure:s})}})})]})]})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.holding_tank,c=l.max_target_pressure,s=.7*c,u=.25*c;return(0,r.jsxs)(i.wn,{fill:!0,title:"Holding Tank",buttons:(0,r.jsx)(i.$n,{onClick:function(){return t("remove_tank")},icon:"eject",children:"Eject"}),children:[(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{color:"label",children:"Tank Label:"}),(0,r.jsx)(i.BJ.Item,{color:"silver",ml:4.5,children:a.name})]}),(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{color:"label",mt:2,children:"Tank Pressure:"}),(0,r.jsx)(i.BJ.Item,{grow:!0,mt:1.5,children:(0,r.jsxs)(i.z2,{value:a.tank_pressure,minValue:0,maxValue:c,ranges:{good:[s,1/0],average:[u,s],bad:[-1/0,u]},children:[a.tank_pressure," kPa"]})})]})]})}},7920:function(e,n,t){"use strict";t.r(n),t.d(n,{PortableScrubber:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).has_holding_tank;return(0,r.jsx)(l.p8,{width:435,height:300,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(c,{}),(0,r.jsx)(s,{}),t?(0,r.jsx)(u,{}):(0,r.jsx)(i.wn,{fill:!0,title:"Holding Tank",children:(0,r.jsx)(i.az,{color:"average",bold:1,textAlign:"center",mt:2.5,children:"No Holding Tank Inserted."})})]})})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.on,c=l.port_connected;return(0,r.jsx)(i.wn,{title:"Pump Settings",buttons:(0,r.jsx)(i.$n,{width:4,icon:"power-off",content:a?"On":"Off",color:a?null:"red",selected:a,onClick:function(){return t("power")}}),children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{color:"label",children:"Port Status:"}),(0,r.jsx)(i.BJ.Item,{color:c?"green":"average",bold:1,ml:6,children:c?"Connected":"Disconnected"})]})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.tank_pressure,c=l.rate,s=l.max_rate,u=.7*s,d=.25*s;return(0,r.jsxs)(i.wn,{title:"Pressure Settings",children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Stored pressure",children:(0,r.jsxs)(i.z2,{value:a,minValue:0,maxValue:s,ranges:{good:[u,1/0],average:[d,u],bad:[-1/0,d]},children:[a," kPa"]})})}),(0,r.jsxs)(i.BJ,{mt:1,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,color:"label",mt:.3,children:"Target pressure:"}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"undo",mr:.5,width:2.2,textAlign:"center",onClick:function(){return t("set_rate",{rate:101.325})}}),(0,r.jsx)(i.$n,{icon:"fast-backward",mr:.5,width:2.2,textAlign:"center",onClick:function(){return t("set_rate",{rate:0})}})]}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.Ap,{animated:!0,unit:"kPa",width:16.5,stepPixelSize:.22,minValue:0,maxValue:s,value:c,onChange:function(e,n){return t("set_rate",{rate:n})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"fast-forward",ml:.5,width:2.2,textAlign:"center",onClick:function(){return t("set_rate",{rate:s})}})})]})]})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.holding_tank,c=l.max_rate,s=.7*c,u=.25*c;return(0,r.jsxs)(i.wn,{fill:!0,title:"Holding Tank",buttons:(0,r.jsx)(i.$n,{onClick:function(){return t("remove_tank")},icon:"eject",children:"Eject"}),children:[(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{color:"label",children:"Tank Label:"}),(0,r.jsx)(i.BJ.Item,{color:"silver",ml:4.5,children:a.name})]}),(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{color:"label",mt:2,children:"Tank Pressure:"}),(0,r.jsx)(i.BJ.Item,{grow:!0,mt:1.5,children:(0,r.jsxs)(i.z2,{value:a.tank_pressure,minValue:0,maxValue:c,ranges:{good:[s,1/0],average:[u,s],bad:[-1/0,u]},children:[a.tank_pressure," kPa"]})})]})]})}},2854:function(e,n,t){"use strict";t.r(n),t.d(n,{PortableTurret:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(2723),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.locked,u=c.on,d=c.lethal,f=c.lethal_is_configurable,h=c.targetting_is_configurable,m=c.check_weapons,p=c.neutralize_noaccess,x=c.access_is_configurable,g=c.regions,j=c.selectedAccess,b=c.one_access,y=c.neutralize_norecord,v=c.neutralize_criminals,w=c.neutralize_all,k=c.neutralize_unidentified,_=c.neutralize_cyborgs;return(0,r.jsx)(l.p8,{width:475,height:750,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsxs)(i.IC,{children:["Swipe an ID card to ",s?"unlock":"lock"," this interface."]}),(0,r.jsx)(i.BJ.Item,{m:0,children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:(0,r.jsx)(i.$n,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,disabled:s,onClick:function(){return t("power")}})}),!!f&&(0,r.jsx)(i.Ki.Item,{label:"Lethals",children:(0,r.jsx)(i.$n,{icon:d?"exclamation-triangle":"times",content:d?"On":"Off",color:d?"bad":"",disabled:s,onClick:function(){return t("lethal")}})}),!!x&&(0,r.jsx)(i.Ki.Item,{label:"One Access Mode",children:(0,r.jsx)(i.$n,{icon:b?"address-card":"exclamation-triangle",content:b?"On":"Off",selected:b,disabled:s,onClick:function(){return t("one_access")}})})]})})}),!!h&&(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsxs)(i.wn,{title:"Humanoid Targets",children:[(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:v,content:"Wanted Criminals",disabled:s,onClick:function(){return t("autharrest")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:y,content:"No Sec Record",disabled:s,onClick:function(){return t("authnorecord")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:m,content:"Unauthorized Weapons",disabled:s,onClick:function(){return t("authweapon")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:p,content:"Unauthorized Access",disabled:s,onClick:function(){return t("authaccess")}})]}),(0,r.jsxs)(i.wn,{title:"Other Targets",children:[(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:k,content:"Unidentified Lifesigns (Xenos, Animals, Etc)",disabled:s,onClick:function(){return t("authxeno")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:_,content:"Cyborgs",disabled:s,onClick:function(){return t("authborgs")}}),(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:w,content:"All Non-Synthetics",disabled:s,onClick:function(){return t("authsynth")}})]})]}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:!!x&&(0,r.jsx)(a.AccessList,{accesses:g,selectedList:j,accessMod:function(e){return t("set",{access:e})},grantAll:function(){return t("grant_all")},denyAll:function(){return t("clear_all")},grantDep:function(e){return t("grant_region",{region:e})},denyDep:function(e){return t("deny_region",{region:e})}})})]})})})}},1784:function(e,n,t){"use strict";t.r(n),t.d(n,{PowerMonitor:()=>m,PowerMonitorMainContent:()=>p});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(6859),c=t(3268),s=t(2864),u=t(3384);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t50?"battery-half":"battery-quarter";break;case"C":i="bolt";break;case"F":i="battery-full";break;case"M":i="slash"}return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.In,{width:"18px",textAlign:"center",name:i,color:"N"===n&&(t>50?"yellow":"red")||"C"===n&&"yellow"||"F"===n&&"green"||"M"===n&&"orange"}),(0,r.jsx)(l.az,{inline:!0,width:"36px",textAlign:"right",children:(0,a.Mg)(t)+"%"})]})},b=function(e){switch(e.status){case"AOn":n=!0,t=!0;break;case"AOff":n=!0,t=!1;break;case"On":n=!1,t=!0;break;case"Off":n=!1,t=!1}var n,t,i=(t?"On":"Off")+" [".concat(n?"auto":"manual","]");return(0,r.jsx)(l.m_,{content:i,children:(0,r.jsx)(l.BK,{color:t?"good":"bad",content:n?void 0:"M"})})}},8011:function(e,n,t){"use strict";t.r(n),t.d(n,{PrisonerImplantManager:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4744),c=t(7352),s=t(736),u=function(e){var n=(0,o.Oc)(),t=n.act,u=n.data,d=u.loginState,f=u.prisonerInfo,h=u.chemicalInfo,m=u.trackingInfo;if(!d.logged_in)return(0,r.jsx)(l.p8,{theme:"security",width:500,height:850,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(s.LoginScreen,{})})});var p=[1,5,10];return(0,r.jsxs)(l.p8,{theme:"security",width:500,height:850,children:[(0,r.jsx)(a.ComplexModal,{}),(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(c.LoginInfo,{}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Prisoner",children:(0,r.jsx)(i.$n,{icon:f.name?"eject":"id-card",selected:f.name,content:f.name?f.name:"-----",tooltip:f.name?"Eject ID":"Insert ID",onClick:function(){return t("id_card")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Points",children:[null!==f.points?f.points:"-/-",(0,r.jsx)(i.$n,{ml:2,icon:"minus-square",disabled:null===f.points,content:"Reset",onClick:function(){return t("reset_points")}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Point Goal",children:[null!==f.goal?f.goal:"-/-",(0,r.jsx)(i.$n,{ml:2,icon:"pen",disabled:null===f.goal,content:"Edit",onClick:function(){return(0,a.modalOpen)("set_points")}})]}),(0,r.jsx)(i.Ki.Item,{children:(0,r.jsxs)("box",{hidden:null===f.goal,children:["1 minute of prison time should roughly equate to 150 points.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"Sentences should not exceed 5000 points.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"Permanent prisoners should not be given a point goal.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle."]})})]})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Tracking Implants",children:m.map(function(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.az,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,r.jsxs)(i.az,{bold:!0,children:["Subject: ",e.subject]}),(0,r.jsxs)(i.az,{children:[" ",(0,r.jsx)("br",{}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Location",children:e.location}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:e.health}),(0,r.jsx)(i.Ki.Item,{label:"Prisoner",children:(0,r.jsx)(i.$n,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){return(0,a.modalOpen)("warn",{uid:e.uid})}})})]})]},e.subject)]}),(0,r.jsx)("br",{})]})})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Chemical Implants",children:h.map(function(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.az,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,r.jsxs)(i.az,{bold:!0,children:["Subject: ",e.name]}),(0,r.jsxs)(i.az,{children:[" ",(0,r.jsx)("br",{}),(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Remaining Reagents",children:e.volume})}),p.map(function(n){return(0,r.jsx)(i.$n,{mt:2,disabled:e.volumea});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.can_go_home,s=a.emagged,u=a.id_inserted,d=a.id_name,f=a.id_points,h=a.id_goal,m=+!s,p=c?"Completed!":"Insufficient";s&&(p="ERR0R");var x="No ID inserted";return u?x=(0,r.jsx)(i.z2,{value:f/h,ranges:{good:[m,1/0],bad:[-1/0,m]},children:f+" / "+h+" "+p}):s&&(x="ERR0R COMPLETED?!@"),(0,r.jsx)(l.p8,{width:315,height:150,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:x}),(0,r.jsx)(i.Ki.Item,{label:"Shuttle controls",children:(0,r.jsx)(i.$n,{fluid:!0,content:"Move shuttle",disabled:!c,onClick:function(){return t("move_shuttle")}})}),(0,r.jsx)(i.Ki.Item,{label:"Inserted ID",children:(0,r.jsx)(i.$n,{fluid:!0,content:u?d:"-------------",onClick:function(){return t("handle_id")}})})]})})})}},9083:function(e,n,t){"use strict";t.r(n),t.d(n,{PrizeCounter:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tu;return(0,r.jsx)(o.c_,{fluid:!0,title:e.name,dmIcon:e.icon,dmIconState:e.icon_state,buttonsAlt:(0,r.jsxs)(o.$n,{bold:!0,fontSize:1.5,tooltip:n&&"Not enough tickets",disabled:n,onClick:function(){return t("purchase",{purchase:e.itemID})},children:[e.cost,(0,r.jsx)(o.In,{m:0,mt:.25,name:"ticket",color:n?"bad":"good",size:1.6})]}),children:e.desc},e.name)})})})})})})}},7692:function(e,n,t){"use strict";t.r(n),t.d(n,{QuirkMenu:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=e.cost},j=function(e){var n=p.has(e.name);if(n){var r=u(h.filter(function(n){return n!==e.name}),d.all_quirks);if(e.cost<0&&r<0)return}else if(e.cost>0&&!g(e))return;m(n?h.filter(function(n){return n!==e.name}):((function(e){if(Array.isArray(e))return c(e)})(h)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(h)||s(h)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([e.name])),t(n?"remove_quirk":"add_quirk",{path:e.path})},b=function(e,n,t,i){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.az,{p:.5,mb:1,color:t,style:{border:"1px solid ".concat(t),backgroundColor:"rgba(".concat("green"===t?"0,128,0":"255,0,0",",0.1)")},children:[(0,r.jsx)(o.In,{name:i})," ",n]}),e.map(function(e){var n=p.has(e.name),t=e.cost>0?"-".concat(e.cost):"+".concat(Math.abs(e.cost)),i=e.cost>0?"bad":"good",l=!1,a=n?"Remove":"Select",c=n?"bad":"good";if(n){var s=u(h.filter(function(n){return n!==e.name}),d.all_quirks);e.cost<0&&s<0&&(l=!0,a="Locked (Balance)",c="average")}else e.cost>0&&!g(e)&&(l=!0,a="Locked",c="average");return(0,r.jsx)(o.wn,{title:e.name,mb:1,buttons:(0,r.jsx)(o.$n,{color:c,content:a,disabled:l,onClick:function(){return j(e)},fluid:!0}),children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Description",children:e.desc}),(0,r.jsx)(o.Ki.Item,{label:"Effect",children:(0,r.jsx)(o.az,{color:i,bold:!0,children:t})})]})},e.name)})]})};return(0,r.jsx)(a.p8,{width:750,height:550,theme:"ntos",children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,basis:500,children:(0,r.jsx)(o.wn,{title:"Available Quirks",fill:!0,scrollable:!0,children:(0,r.jsxs)(o.BJ,{vertical:!0,children:[b(d.all_quirks.filter(function(e){return e.cost<0}),"Negative Quirks (Add Points)","green","minus-circle"),b(d.all_quirks.filter(function(e){return e.cost>0}),"Positive Quirks (Cost Points)","bad","plus-circle")]})})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.cG,{vertical:!0})}),(0,r.jsx)(o.BJ.Item,{basis:250,children:(0,r.jsxs)(o.BJ,{vertical:!0,fill:!0,children:[(0,r.jsx)(o.wn,{title:"Balance",children:(0,r.jsx)(o.az,{bold:!0,color:x>=0?"good":"bad",fontSize:"18px",children:x})}),(0,r.jsx)(o.wn,{title:"Selected Quirks",fill:!0,scrollable:!0,children:h.length?h.map(function(e){var n=d.all_quirks.find(function(n){return n.name===e});if(!n)return null;var t=n.cost>0?"-".concat(n.cost):"+".concat(Math.abs(n.cost)),i=n.cost>0?"var(--color-bad)":"var(--color-good)";return(0,r.jsx)(o.az,{mb:.5,p:.5,style:{borderLeft:"3px solid ".concat(i)},children:(0,r.jsxs)(o.BJ,{justify:"space-between",children:[(0,r.jsx)(o.az,{bold:!0,children:e}),(0,r.jsx)(o.az,{children:t})]})},e)}):(0,r.jsx)(o.az,{italic:!0,children:"No quirks selected."})})]})})]})})})}},7076:function(e,n,t){"use strict";t.r(n),t.d(n,{RCD:()=>s});var r=t(8138);t(4530);var i=t(7790),o=t(2864),l=t(3384),a=t(2723),c=t(4744),s=function(){return(0,r.jsxs)(l.p8,{width:480,height:670,children:[(0,r.jsx)(c.ComplexModal,{}),(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(u,{}),(0,r.jsx)(d,{}),(0,r.jsx)(h,{}),(0,r.jsx)(m,{})]})})]})},u=function(){var e=(0,o.Oc)().data,n=e.matter,t=e.max_matter,l=.7*t,a=.25*t;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Matter Storage",children:(0,r.jsx)(i.z2,{ranges:{good:[l,1/0],average:[a,l],bad:[-1/0,a]},value:n,maxValue:t,children:(0,r.jsx)(i.BJ.Item,{textAlign:"center",children:"".concat(n," / ").concat(t," units")})})})})},d=function(){return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Construction Type",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(f,{mode_type:"Floors and Walls"}),(0,r.jsx)(f,{mode_type:"Airlocks"}),(0,r.jsx)(f,{mode_type:"Windows"}),(0,r.jsx)(f,{mode_type:"Deconstruction"})]})})})},f=function(e){var n=e.mode_type,t=(0,o.Oc)(),l=t.act,a=t.data.mode;return(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsx)(i.$n,{fluid:!0,color:"transparent",content:n,selected:+(a===n),onClick:function(){return l("mode",{mode:n})}})})},h=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.door_name,a=t.electrochromic,s=t.airlock_glass;return(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Airlock Settings",children:(0,r.jsxs)(i.BJ,{textAlign:"center",children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,color:"transparent",icon:"pen-alt",content:(0,r.jsxs)(r.Fragment,{children:["Rename: ",(0,r.jsx)("b",{children:l})]}),onClick:function(){return(0,c.modalOpen)("renameAirlock")}})}),(0,r.jsx)(i.BJ.Item,{children:1===s&&(0,r.jsx)(i.$n,{fluid:!0,icon:a?"toggle-on":"toggle-off",content:"Electrochromic",selected:a,onClick:function(){return n("electrochromic")}})})]})})})},m=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.tab,c=t.locked,s=t.one_access,u=t.selected_accesses,d=t.regions;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{textAlign:"center",children:(0,r.jsxs)(i.tU,{fluid:!0,children:[(0,r.jsx)(i.tU.Tab,{icon:"cog",selected:1===l,onClick:function(){return n("set_tab",{tab:1})},children:"Airlock Types"}),(0,r.jsx)(i.tU.Tab,{selected:2===l,icon:"list",onClick:function(){return n("set_tab",{tab:2})},children:"Airlock Access"})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:1===l?(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Types",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(p,{check_number:0})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(p,{check_number:1})})]})}):2===l&&c?(0,r.jsx)(i.wn,{fill:!0,title:"Access",buttons:(0,r.jsx)(i.$n,{icon:"lock-open",content:"Unlock",onClick:function(){return n("set_lock",{new_lock:"unlock"})}}),children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"lock",size:5,mb:3}),(0,r.jsx)("br",{}),"Airlock access selection is currently locked."]})})}):(0,r.jsx)(a.AccessList,{sectionButtons:(0,r.jsx)(i.$n,{icon:"lock",content:"Lock",onClick:function(){return n("set_lock",{new_lock:"lock"})}}),usedByRcd:1,rcdButtons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n.Checkbox,{checked:s,content:"One",onClick:function(){return n("set_one_access",{access:"one"})}}),(0,r.jsx)(i.$n.Checkbox,{checked:!s,width:4,content:"All",onClick:function(){return n("set_one_access",{access:"all"})}})]}),accesses:d,selectedList:u,accessMod:function(e){return n("set",{access:e})},grantAll:function(){return n("grant_all")},denyAll:function(){return n("clear_all")},grantDep:function(e){return n("grant_region",{region:e})},denyDep:function(e){return n("deny_region",{region:e})},grantableList:[]})})]})},p=function(e){var n=e.check_number,t=(0,o.Oc)(),l=t.act,a=t.data,c=a.door_types_ui_list,s=a.door_type,u=c.filter(function(e,t){return t%2===n});return(0,r.jsx)(i.BJ.Item,{children:u.map(function(e,n){return(0,r.jsx)(i.BJ,{mb:.5,children:(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,selected:s===e.type,content:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("img",{src:"data:image/jpeg;base64,".concat(e.image),style:{verticalAlign:"middle",width:"32px",margin:"3px",marginRight:"6px",marginLeft:"-3px"}}),e.name]}),onClick:function(){return l("door_type",{door_type:e.type})}})})},n)})})}},1703:function(e,n,t){"use strict";t.r(n),t.d(n,{RPD:()=>s});var r=t(8138),i=t(7790),o=t(5490),l=t(2864),a=t(7946),c=t(3384),s=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.mainmenu,s=o.mode;return(0,r.jsx)(c.p8,{width:550,height:440,children:(0,r.jsx)(c.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.tU,{fluid:!0,children:a.map(function(e){return(0,r.jsx)(i.tU.Tab,{icon:e.icon,selected:e.mode===s,onClick:function(){return t("mode",{mode:e.mode})},children:e.category},e.category)})})}),function(e){switch(e){case 1:return(0,r.jsx)(u,{});case 2:return(0,r.jsx)(d,{});case 3:return(0,r.jsx)(h,{});case 4:return(0,r.jsx)(m,{});case 5:return(0,r.jsx)(p,{});case 6:return(0,r.jsx)(x,{});default:return"WE SHOULDN'T BE HERE!"}}(s)]})})})},u=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,s=c.pipemenu,u=c.pipe_category,d=c.pipelist,h=c.whatpipe,m=c.iconrotation;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.tU,{fluid:!0,children:s.map(function(e){return(0,r.jsx)(i.tU.Tab,{textAlign:"center",selected:e.pipemode===u,onClick:function(){return t("pipe_category",{pipe_category:e.pipemode})},children:e.category},e.category)})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.pd,{fluid:!0,placeholder:"Enter pipe label",onChange:function(e){return t("set_label",{set_label:e})}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"50%",children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(a.xA,{children:(0,r.jsx)(a.xA.Column,{children:d.filter(function(e){return 1===e.pipe_type}).filter(function(e){return e.pipe_category===u}).map(function(e){return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{fluid:!0,content:e.pipe_name,icon:"cog",selected:e.pipe_id===h,onClick:function(){return t("whatpipe",{whatpipe:e.pipe_id})},style:{marginBottom:"2px"}})},e.pipe_name)})})})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"50%",children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(a.xA,{children:(0,r.jsxs)(a.xA.Column,{children:[(0,r.jsx)(f,{}),d.filter(function(e){return 1===e.pipe_type&&e.pipe_id===h&&1!==e.orientations}).map(function(e){return(0,r.jsx)(i.az,{children:e.bendy?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:4===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","southeast-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:4})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:2===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","southwest-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:2})},style:{marginBottom:"5px"}})})]}),(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:1===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","northeast-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:1})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:8===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","northwest-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:8})},style:{marginBottom:"5px"}})})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:1===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","north-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:1})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:4===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","east-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:4})},style:{marginBottom:"5px"}})})]}),4===e.orientations&&(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:2===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","south-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:2})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:8===m,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","west-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:8})},style:{marginBottom:"5px"}})})]})]})},e.pipe_id)})]})})})})]})})]})},d=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data;c.pipe_category;var s=c.pipelist,u=c.whatdpipe,d=c.iconrotation;return c.auto_wrench_toggle,(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"50%",children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(a.xA,{children:(0,r.jsx)(a.xA.Column,{children:s.filter(function(e){return 2===e.pipe_type}).map(function(e){return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{fluid:!0,content:e.pipe_name,icon:"cog",selected:e.pipe_id===u,onClick:function(){return t("whatdpipe",{whatdpipe:e.pipe_id})},style:{marginBottom:"2px"}})},e.pipe_name)})})})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"50%",children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(a.xA,{children:(0,r.jsxs)(a.xA.Column,{children:[(0,r.jsx)(f,{}),s.filter(function(e){return 2===e.pipe_type&&e.pipe_id===u&&1!==e.orientations}).map(function(e){return(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:1===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","north-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:1})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:4===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","east-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:4})},style:{marginBottom:"5px"}})})]}),4===e.orientations&&(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:2===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","south-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:2})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:8===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","west-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:8})},style:{marginBottom:"5px"}})})]})]},e.pipe_id)})]})})})})]})})},f=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.iconrotation,c=o.auto_wrench_toggle;return(0,r.jsxs)(i.BJ,{mb:1,textAlign:"center",children:[(0,r.jsx)(i.BJ.Item,{basis:"50%",children:(0,r.jsx)(i.$n,{fluid:!0,content:"Auto-orientation",selected:0===a,onClick:function(){return t("iconrotation",{iconrotation:0})}})}),(0,r.jsx)(i.BJ.Item,{basis:"50%",children:(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:c,content:"Auto-anchor",onClick:function(){return t("auto_wrench_toggle")}})})]})},h=function(e){return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",children:[(0,r.jsx)(i.In,{name:"sync-alt",size:5,color:"gray",mb:5}),(0,r.jsx)("br",{}),"Device ready to rotate loose pipes..."]})})})})},m=function(e){return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",children:[(0,r.jsx)(i.In,{name:"arrows-alt-h",size:5,color:"gray",mb:5}),(0,r.jsx)("br",{}),"Device ready to flip loose pipes..."]})})})})},p=function(e){return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",children:[(0,r.jsx)(i.In,{name:"recycle",size:5,color:"gray",mb:5}),(0,r.jsx)("br",{}),"Device ready to eat loose pipes..."]})})})})},x=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data;c.pipe_category;var s=c.pipelist,u=c.whatttube,d=c.iconrotation;return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"50%",children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(a.xA,{children:(0,r.jsx)(a.xA.Column,{children:s.filter(function(e){return 3===e.pipe_type}).map(function(e){return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{fluid:!0,content:e.pipe_name,icon:"cog",selected:e.pipe_id===u,onClick:function(){return t("whatttube",{whatttube:e.pipe_id})},style:{marginBottom:"2px"}})},e.pipe_name)})})})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"50%",children:(0,r.jsx)(i.wn,{fill:!0,children:(0,r.jsx)(a.xA,{children:(0,r.jsxs)(a.xA.Column,{children:[(0,r.jsx)(f,{}),s.filter(function(e){return 3===e.pipe_type&&e.pipe_id===u&&1!==e.orientations}).map(function(e){return(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:1===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","north-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:1})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:4===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","east-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:4})},style:{marginBottom:"5px"}})})]}),4===e.orientations&&(0,r.jsxs)(a.xA,{children:[(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:2===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","south-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:2})},style:{marginBottom:"5px"}})}),(0,r.jsx)(a.xA.Column,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",selected:8===d,content:(0,r.jsx)(i.az,{className:(0,o.Ly)(["rpd32x32","west-".concat(e.pipe_icon)])}),onClick:function(){return t("iconrotation",{iconrotation:8})},style:{marginBottom:"5px"}})})]})]},e.pipe_id)})]})})})})]})})}},8930:function(e,n,t){"use strict";t.r(n),t.d(n,{Radio:()=>u});var r=t(8138),i=t(8587),o=t(7790),l=t(6859),a=t(2864),c=t(421),s=t(3384),u=function(e){var n=(0,a.Oc)(),t=n.act,u=n.data,d=u.freqlock,f=u.frequency,h=u.minFrequency,m=u.maxFrequency,p=u.canReset,x=u.listening,g=u.broadcasting,j=u.loudspeaker,b=u.has_loudspeaker,y=u.ichannels,v=u.schannels,w=c.Fo.find(function(e){return e.freq===f}),k=!!w&&!!w.name,_=[];c.Fo.forEach(function(e){_[e.name]=e.color});var C=(0,i.Tj)(v,function(e,n){return{name:n,status:!!e}}),I=(0,i.Tj)(y,function(e,n){return{name:n,freq:e}});return(0,r.jsx)(s.p8,{width:375,height:130+21.2*C.length+11*I.length,children:(0,r.jsx)(s.p8.Content,{scrollable:!0,children:(0,r.jsx)(o.wn,{fill:!0,children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsxs)(o.Ki.Item,{label:"Frequency",children:[d&&(0,r.jsx)(o.az,{inline:!0,color:"light-gray",children:(0,l.Mg)(f/10,1)+" kHz"})||(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.Q7,{animated:!0,unit:"kHz",step:.2,stepPixelSize:10,minValue:h/10,maxValue:m/10,value:f/10,format:function(e){return(0,l.Mg)(e,1)},onChange:function(e){return t("frequency",{adjust:e-f/10})}}),(0,r.jsx)(o.$n,{icon:"undo",content:"",disabled:!p,tooltip:"Reset",onClick:function(){return t("frequency",{tune:"reset"})}})]}),k&&w&&(0,r.jsxs)(o.az,{inline:!0,color:w.color,ml:2,children:["[",w.name,"]"]})]}),(0,r.jsxs)(o.Ki.Item,{label:"Audio",children:[(0,r.jsx)(o.$n,{textAlign:"center",width:"37px",icon:x?"volume-up":"volume-mute",selected:x,color:x?"":"bad",tooltip:x?"Disable Incoming":"Enable Incoming",onClick:function(){return t("listen")}}),(0,r.jsx)(o.$n,{textAlign:"center",width:"37px",icon:g?"microphone":"microphone-slash",selected:g,tooltip:g?"Disable Hotmic":"Enable Hotmic",onClick:function(){return t("broadcast")}}),!!b&&(0,r.jsx)(o.$n,{ml:1,icon:"bullhorn",selected:j,content:"Loudspeaker",tooltip:j?"Disable Loudspeaker":"Enable Loudspeaker",onClick:function(){return t("loudspeaker")}})]}),0!==v.length&&(0,r.jsx)(o.Ki.Item,{label:"Keyed Channels",children:C.map(function(e){return(0,r.jsxs)(o.az,{children:[(0,r.jsx)(o.$n,{icon:e.status?"check-square-o":"square-o",selected:e.status,content:"",onClick:function(){return t("channel",{channel:e.name})}}),(0,r.jsx)(o.az,{inline:!0,color:_[e.name],children:e.name})]},e.name)})}),0!==I.length&&(0,r.jsx)(o.Ki.Item,{label:"Standard Channel",children:I.map(function(e){return(0,r.jsx)(o.$n,{icon:"arrow-right",content:e.name,selected:k&&w&&w.name===e.name,onClick:function(){return t("ichannel",{ichannel:e.freq})}},"i_"+e.name)})})]})})})})}},4097:function(e,n,t){"use strict";t.r(n),t.d(n,{RankedListInputModal:()=>h});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=t(1942),s=t(9472);function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:null;if(null!==a){var i=function(e){if(Array.isArray(e))return u(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||f(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=i.splice(a,1)[0];null===r?i.push(o):i.splice(r,0,o),t(i),c(null),e.stopPropagation()}};return(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,onDrop:function(e){return m(e)},onDragOver:h,children:(0,r.jsx)(o.XI,{children:n.map(function(e,n){return(0,r.jsx)(o.XI.Row,{style:{padding:"8px"},draggable:!0,onDragStart:function(){return s(n)},onDragOver:h,onDrop:function(e){return m(e,n)},children:(0,r.jsx)(o.$n,{fluid:!0,py:"0.25rem",color:"transparent",style:{animation:"none",transition:"none",cursor:"move"},icon:"grip-lines",children:e.replace(/^\w/,function(e){return e.toUpperCase()})})},n)})})})}},4087:function(e,n,t){"use strict";t.r(n),t.d(n,{ReactorMonitor:()=>u});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(421),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=.01}).sort(function(e,n){return n.amount-e.amount}),C=(t=Math).max.apply(t,[1].concat(function(e){if(Array.isArray(e))return s(e)}(n=_.map(function(e){return e.portion}))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,n){if(e){if("string"==typeof e)return s(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(e,void 0)}}(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));return(0,r.jsx)(c.p8,{width:550,height:500,children:(0,r.jsx)(c.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{width:"270px",children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Metrics",children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:(0,r.jsx)(i.z2,{value:p/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,r.jsx)(i.Ki.Item,{label:"Power Generation",children:(0,r.jsx)(i.z2,{value:x,minValue:0,maxValue:2e3,ranges:x<=1e4?{good:[400,1/0],average:[200,400],bad:[-1/0,200]}:{good:[-1/0,1/0]},children:(0,o.Mg)(x<1e4?x:x/1e3)+(x<1e4?" KW":" MW")})}),(0,r.jsx)(i.Ki.Item,{label:"Reactivity Coefficient",children:(0,r.jsx)(i.z2,{value:b,minValue:1,maxValue:5.25,ranges:{bad:[1,1.55],average:[1.55,5.25],good:[5.25,1/0]},children:b.toFixed(2)})}),(0,r.jsx)(i.Ki.Item,{label:"Temperature",children:(0,r.jsx)(i.z2,{value:u(g),minValue:0,maxValue:u(1e4),ranges:{teal:[-1/0,u(80)],good:[u(80),u(373)],average:[u(373),u(1e3)],bad:[u(1e3),1/0]},children:(0,o.Mg)(g)+" K"})}),(0,r.jsx)(i.Ki.Item,{label:"Pressure",children:(0,r.jsx)(i.z2,{value:u(j),minValue:0,maxValue:u(5e4),ranges:{good:[u(1),u(1e3)],average:[-1/0,u(3e3)],bad:[u(3e3),1/0]},children:(0,o.Mg)(j)+" kPa"})}),(0,r.jsx)(i.Ki.Item,{label:"Control Rod Limiter",children:(0,r.jsx)(i.z2,{value:y,minValue:0,maxValue:100,ranges:{teal:[100,1/0],good:[70,99],average:[30,70],bad:[-1/0,30]},children:(0,o.Mg)(y)+" %"})})]}),(0,r.jsx)(i.wn,{title:"Desired Control Rod Limit",textAlign:"center",children:(0,r.jsx)(i.N6,{size:5,value:v,unit:"%",minValue:0,maxValue:100,step:1,stepPixelSize:2,onChange:function(e,n){return f("set_throttle",{NGCR_throttle:n})}})})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:0,children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,r.jsx)(i.$n,{icon:"power-off",content:m?"Vent Open":"Vent Closed",selected:m,onClick:function(){return f("toggle_vent")}}),children:(0,r.jsx)(i.Ki,{children:_.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:(0,a.wM)(e.name,e.name),children:(0,r.jsx)(i.z2,{color:(0,a.b_)(e.name),value:e.portion,minValue:0,maxValue:C,children:(0,o.Mg)(e.amount)+" mol ("+e.portion+"%)"})},e.name)})})})})})})]})})})}},1876:function(e,n,t){"use strict";t.r(n),t.d(n,{ReagentGrinder:()=>s});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(3013),c=t(6696),s=function(e){var n=(0,o.Oc)(),t=(n.act,n.data),a=n.config,s=t.operating,h=a.title;return(0,r.jsx)(l.p8,{width:400,height:565,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(c.Operating,{operating:s,name:h}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(u,{})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(d,{})}),(0,r.jsx)(i.BJ.Item,{height:"30%",children:(0,r.jsx)(f,{})})]})})})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.inactive;return(0,r.jsx)(i.wn,{title:"Controls",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"mortar-pestle",disabled:l,tooltip:l?"There are no contents":"Grind the contents",tooltipPosition:"bottom",content:"Grind",onClick:function(){return t("grind")}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"blender",disabled:l,tooltip:l?"There are no contents":"Juice the contents",tooltipPosition:"bottom",content:"Juice",onClick:function(){return t("juice")}})})]})})},d=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.contents,c=l.limit,s=l.count,u=l.inactive;return(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Contents",buttons:(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.az,{inline:!0,color:"label",mr:2,children:[s," / ",c," items"]}),(0,r.jsx)(i.$n,{icon:"eject",content:"Eject Contents",onClick:function(){return t("eject")},disabled:u,tooltip:u?"There are no contents":""})]}),children:(0,r.jsx)(i.XI,{className:"Ingredient__Table",children:a.map(function(e){return(0,r.jsxs)(i.XI.Row,{tr:5,children:[(0,r.jsx)("td",{children:(0,r.jsx)(i.XI.Cell,{bold:!0,children:e.name})}),(0,r.jsx)("td",{children:(0,r.jsxs)(i.XI.Cell,{collapsing:!0,textAlign:"center",children:[e.amount," ",e.units]})})]},e.name)})})})},f=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,c=l.beaker_loaded,s=l.beaker_current_volume,u=l.beaker_max_volume,d=l.beaker_contents;return(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Beaker",buttons:!!c&&(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.az,{inline:!0,color:"label",mr:2,children:[s," / ",u," units"]}),(0,r.jsx)(i.$n,{icon:"eject",content:"Detach Beaker",onClick:function(){return t("detach")}})]}),children:(0,r.jsx)(a.BeakerContents,{beakerLoaded:c,beakerContents:d})})}},1569:function(e,n,t){"use strict";t.r(n),t.d(n,{ReagentsEditor:()=>g});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(9298),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.on;return(0,r.jsx)(l.p8,{width:300,height:165,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Receiver",children:(0,r.jsx)(i.$n,{icon:"power-off",content:s?"On":"Off",color:s?null:"red",selected:s,onClick:function(){return t("recv_power")}})})}),(0,r.jsx)(a.Signaler,{data:c})]})})})}},5297:function(e,n,t){"use strict";t.r(n),t.d(n,{RequestConsole:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(){var e=(0,o.Oc)().data,n=e.screen,t=e.announcementConsole;return(0,r.jsx)(l.p8,{width:450,height:t?430:385,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:function(e){switch(e){case 0:return(0,r.jsx)(u,{});case 1:return(0,r.jsx)(d,{purpose:"ASSISTANCE"});case 2:return(0,r.jsx)(d,{purpose:"SUPPLIES"});case 3:return(0,r.jsx)(d,{purpose:"INFO"});case 4:return(0,r.jsx)(f,{type:"SUCCESS"});case 5:return(0,r.jsx)(f,{type:"FAIL"});case 6:return(0,r.jsx)(h,{type:"MESSAGES"});case 7:return(0,r.jsx)(m,{});case 8:return(0,r.jsx)(p,{});case 9:return(0,r.jsx)(x,{});case 10:return(0,r.jsx)(h,{type:"SHIPPING"});case 11:return(0,r.jsx)(g,{});default:return"WE SHOULDN'T BE HERE!"}}(n)})})})},c=function(e){var n=(0,o.Oc)().act,t=e.text,l=e.icon,a=e.screen;return(0,r.jsx)(i.$n,{fluid:!0,lineHeight:3,icon:l,onClick:function(){return n("setScreen",{setScreen:a})},children:t})},s=function(){var e=(0,o.Oc)().act;return(0,r.jsx)(i.$n,{icon:"arrow-left",onClick:function(){return e("setScreen",{setScreen:0})},children:"Back"})},u=function(){var e,n=(0,o.Oc)(),t=n.act,l=n.data,a=l.newmessagepriority,s=l.announcementConsole,u=l.silent;return e=3===a?(0,r.jsx)(i.Z8,{children:(0,r.jsx)(i.az,{color:"red",bold:!0,mb:1,children:"NEW PRIORITY MESSAGES"})}):a>0?(0,r.jsx)(i.az,{color:"red",bold:!0,mb:1,children:"There are new messages"}):(0,r.jsx)(i.az,{color:"label",mb:1,children:"There are no new messages"}),(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Main Menu",buttons:(0,r.jsx)(i.$n,{width:9,selected:!u,icon:u?"volume-mute":"volume-up",onClick:function(){return t("toggleSilent")},children:u?"Speaker Off":"Speaker On"}),children:[e,(0,r.jsx)(i.az,{children:(0,r.jsx)(c,{icon:a>0?"envelope-open-text":"envelope",screen:6,text:"View Messages"})}),(0,r.jsxs)(i.az,{mt:1,children:[(0,r.jsx)(c,{icon:"hand-paper",screen:1,text:"Request Assistance"}),(0,r.jsx)(c,{icon:"box",screen:2,text:"Request Supplies"}),(0,r.jsx)(c,{icon:"clipboard-list",screen:11,text:"Request Secondary Goal"}),(0,r.jsx)(c,{icon:"comment",screen:3,text:"Relay Anonymous Information"})]}),(0,r.jsxs)(i.az,{mt:1,children:[(0,r.jsx)(c,{icon:"tag",screen:9,text:"Print Shipping Label"}),(0,r.jsx)(c,{icon:"clipboard-list",screen:10,text:"View Shipping Logs"})]}),!!s&&(0,r.jsx)(i.az,{mt:1,children:(0,r.jsx)(c,{icon:"bullhorn",screen:8,text:"Send Station-Wide Announcement"})})]})})},d=function(e){var n,t=(0,o.Oc)(),l=t.act,a=t.data,c=a.department,u=a.assist_dept,d=a.supply_dept,f=a.info_dept,h=[];switch(e.purpose){case"ASSISTANCE":h=u,n="Request assistance from another department";break;case"SUPPLIES":h=d,n="Request supplies from another department";break;case"INFO":h=f,n="Relay information to another department"}return(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:n,buttons:(0,r.jsx)(s,{}),children:(0,r.jsx)(i.Ki,{children:h.filter(function(e){return e!==c}).map(function(e){return(0,r.jsxs)(i.Ki.Item,{label:e,textAlign:"right",className:"candystripe",children:[(0,r.jsx)(i.$n,{icon:"envelope",onClick:function(){return l("writeInput",{write:e,priority:2})},children:"Message"}),(0,r.jsx)(i.$n,{icon:"exclamation-circle",onClick:function(){return l("writeInput",{write:e,priority:3})},children:"High Priority"})]},e)})})})})},f=function(e){var n;switch(e.type){case"SUCCESS":n="Message sent successfully";break;case"FAIL":n="Unable to contact messaging server"}return(0,r.jsx)(i.wn,{fill:!0,title:n,buttons:(0,r.jsx)(s,{})})},h=function(e){var n,t=(0,o.Oc)(),l=(t.act,t.data),a=l.message_log,c=l.shipping_log,u=[];switch(e.type){case"MESSAGES":u=a,n="Message Log";break;case"SHIPPING":u=c,n="Shipping label print log"}return u.reverse(),(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:n,buttons:(0,r.jsx)(s,{}),children:u.map(function(e,n){return(0,r.jsxs)(i.az,{textAlign:"left",children:[e.map(function(e,n){return(0,r.jsx)("div",{children:e},n)}),(0,r.jsx)("hr",{})]},n)})})})},m=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.recipient,a=t.message,c=t.msgVerified,u=t.msgStamped;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Message Authentication",buttons:(0,r.jsx)(s,{}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Recipient",children:l}),(0,r.jsx)(i.Ki.Item,{label:"Message",children:a}),(0,r.jsx)(i.Ki.Item,{label:"Validated by",color:"green",children:c}),(0,r.jsx)(i.Ki.Item,{label:"Stamped by",color:"blue",children:u})]})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.$n,{fluid:!0,textAlign:"center",icon:"envelope",onClick:function(){return n("department",{department:l})},children:"Send Message"})})})]})},p=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.message,a=t.announceAuth;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Station-Wide Announcement",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s,{}),(0,r.jsx)(i.$n,{icon:"edit",onClick:function(){return n("writeAnnouncement")},children:"Edit Message"})]}),children:l})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{children:[a?(0,r.jsx)(i.az,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,r.jsx)(i.az,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}),(0,r.jsx)(i.$n,{fluid:!0,mt:2,textAlign:"center",icon:"bullhorn",disabled:!(a&&l),onClick:function(){return n("sendAnnouncement")},children:"Send Announcement"})]})})]})},x=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.shipDest,a=t.msgVerified,c=t.ship_dept;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{textAlign:"center",children:(0,r.jsxs)(i.wn,{title:"Print Shipping Label",buttons:(0,r.jsx)(s,{}),children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Destination",children:l}),(0,r.jsx)(i.Ki.Item,{label:"Validated by",children:a})]}),(0,r.jsx)(i.$n,{fluid:!0,mt:1,textAlign:"center",icon:"print",disabled:!(l&&a),onClick:function(){return n("printLabel")},children:"Print Label"})]})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Destinations",children:(0,r.jsx)(i.Ki,{children:c.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:e,textAlign:"right",className:"candystripe",children:(0,r.jsx)(i.$n,{selected:l===e,onClick:function(){return n("shipSelect",{shipSelect:e})},children:l===e?"Selected":"Select"})},e)})})})})]})},g=function(){var e=(0,o.Oc)(),n=e.act,t=e.data,l=t.secondaryGoalAuth,a=t.secondaryGoalEnabled;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Request Secondary Goal",buttons:(0,r.jsx)(s,{})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsxs)(i.wn,{children:[a?l?(0,r.jsx)(i.az,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,r.jsx)(i.az,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}):(0,r.jsx)(i.az,{textAlign:"center",color:"label",children:"Complete your current goal first!"}),(0,r.jsx)(i.$n,{fluid:!0,mt:2,textAlign:"center",icon:"clipboard-list",disabled:!(l&&a),onClick:function(){return n("requestSecondaryGoal")},children:"Request Secondary Goal"})]})})]})}},4384:function(e,n,t){"use strict";t.r(n),t.d(n,{LinkMenu:()=>c,RndBackupConsole:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,s=a.network_name,u=a.has_disk,d=a.disk_name,f=a.linked,h=a.techs,m=a.last_timestamp;return(0,r.jsx)(l.p8,{width:900,height:600,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsxs)(i.wn,{title:"Device Info",children:[(0,r.jsx)(i.az,{mb:2,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Current Network",children:f?(0,r.jsx)(i.$n,{content:s,icon:"unlink",selected:1,onClick:function(){return t("unlink")}}):"None"}),(0,r.jsx)(i.Ki.Item,{label:"Loaded Disk",children:u?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:d+" (Last backup: "+m+")",icon:"save",selected:1,onClick:function(){return t("eject_disk")}}),(0,r.jsx)(i.$n,{icon:"sign-in-alt",content:"Save all",onClick:function(){return t("saveall2disk")}}),(0,r.jsx)(i.$n,{icon:"sign-out-alt",content:"Load all",onClick:function(){return t("saveall2network")}})]}):"None"})]})}),!!f||(0,r.jsx)(c,{})]}),(0,r.jsx)(i.az,{mt:2,children:(0,r.jsx)(i.wn,{title:"Tech Info",children:(0,r.jsxs)(i.XI,{m:"0.5rem",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Tech Name"}),(0,r.jsx)(i.XI.Cell,{children:"Network Level"}),(0,r.jsx)(i.XI.Cell,{children:"Disk Level"}),(0,r.jsx)(i.XI.Cell,{children:"Actions"})]}),Object.keys(h).map(function(e){return!(h[e].network_level>0||h[e].disk_level>0)||(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:h[e].name}),(0,r.jsx)(i.XI.Cell,{children:h[e].network_level||"None"}),(0,r.jsx)(i.XI.Cell,{children:h[e].disk_level||"None"}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.$n,{icon:"sign-in-alt",content:"Load to network",disabled:!u||!f,onClick:function(){return t("savetech2network",{tech:e})}}),(0,r.jsx)(i.$n,{icon:"sign-out-alt",content:"Load to disk",disabled:!u||!f,onClick:function(){return t("savetech2disk",{tech:e})}})]})]},e)})]})})})]})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.controllers;return(0,r.jsx)(i.wn,{title:"Setup Linkage",children:(0,r.jsxs)(i.XI,{m:"0.5rem",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Network Address"}),(0,r.jsx)(i.XI.Cell,{children:"Network ID"}),(0,r.jsx)(i.XI.Cell,{children:"Link"})]}),l.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.addr}),(0,r.jsx)(i.XI.Cell,{children:e.net_id}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{content:"Link",icon:"link",onClick:function(){return t("linktonetworkcontroller",{target_controller:e.addr})}})})]},e.addr)})]})})}},4080:function(e,n,t){"use strict";t.r(n),t.d(n,{AnalyzerMenu:()=>a});var r=t(8138),i=t(7790),o=t(5490),l=t(2864),a=function(e){var n=(0,l.Oc)(),t=n.data,o=n.act,a=t.tech_levels,s=t.loaded_item,u=t.linked_analyzer,d=t.can_discover;return u?s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.wn,{title:"Object Analysis",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"Deconstruct",icon:"microscope",onClick:function(){o("deconstruct")}}),(0,r.jsx)(i.$n,{content:"Eject",icon:"eject",onClick:function(){o("eject_item")}}),!d||(0,r.jsx)(i.$n,{content:"Discover",icon:"atom",onClick:function(){o("discover")}})]}),children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Name",children:s.name})})}),(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.XI,{id:"research-levels",children:[(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Research Field"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Current Level"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"Object Level"}),(0,r.jsx)(i.XI.Cell,{header:!0,children:"New Level"})]}),a.map(function(e){return(0,r.jsx)(c,{techLevel:e},e.id)})]})})]}):(0,r.jsx)(i.wn,{title:"Analysis Menu",children:"No item loaded. Standing by..."}):(0,r.jsx)(i.wn,{title:"Analysis Menu",children:"NO SCIENTIFIC ANALYZER LINKED TO CONSOLE"})},c=function(e){var n=e.techLevel,t=n.name,l=n.desc,a=n.level,c=n.object_level,s=n.ui_icon,u=null!=c,d=u&&c>=a?Math.max(c,a+1):a;return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{icon:"circle-info",tooltip:l})}),(0,r.jsxs)(i.XI.Cell,{children:[(0,r.jsx)(i.In,{name:s})," ",t]}),(0,r.jsx)(i.XI.Cell,{children:a}),u?(0,r.jsx)(i.XI.Cell,{children:c}):(0,r.jsx)(i.XI.Cell,{className:"research-level-no-effect",children:"-"}),(0,r.jsx)(i.XI.Cell,{className:(0,o.Ly)([d!==a&&"upgraded-level"]),children:d})]})}},9529:function(e,n,t){"use strict";t.r(n),t.d(n,{DataDiskMenu:()=>d});var r=t(8138),i=t(7790),o=t(2864),l="tech",a=function(e){var n=(0,o.Oc)(),t=n.data,l=n.act,a=t.disk_data;return a?(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:a.name}),(0,r.jsx)(i.Ki.Item,{label:"Level",children:a.level}),(0,r.jsx)(i.Ki.Item,{label:"Description",children:a.desc})]}),(0,r.jsx)(i.az,{mt:"10px",children:(0,r.jsx)(i.$n,{content:"Upload to Database",icon:"arrow-up",onClick:function(){return l("updt_tech")}})})]}):null},c=function(e){var n=(0,o.Oc)(),t=n.data,l=n.act,a=t.disk_data;if(!a)return null;var c=a.name,s=a.lathe_types,u=a.materials,d=s.join(", ");return(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:c}),d?(0,r.jsx)(i.Ki.Item,{label:"Lathe Types",children:d}):null,(0,r.jsx)(i.Ki.Item,{label:"Required Materials"})]}),u.map(function(e){return(0,r.jsxs)(i.az,{children:["- ",(0,r.jsx)("span",{style:{textTransform:"capitalize"},children:e.name})," x ",e.amount]},e.name)}),(0,r.jsx)(i.az,{mt:"10px",children:(0,r.jsx)(i.$n,{content:"Upload to Database",icon:"arrow-up",onClick:function(){return l("updt_design")}})})]})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.disk_data;return(0,r.jsx)(i.wn,function(e){for(var n=1;na});var r=t(8138),i=t(7790),o=t(2864),l=t(5887),a=function(e){var n=(0,o.Oc)(),t=n.data,a=n.act,c=t.category,s=t.matching_designs,u=4===t.menu?"build":"imprint";return(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,height:36,title:c,children:[(0,r.jsx)(l.LatheMaterials,{}),(0,r.jsx)(i.XI,{className:"RndConsole__LatheCategory__MatchingDesigns",children:s.map(function(e){var n=e.id,t=e.name,o=e.can_build,l=e.materials;return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{icon:"print",content:t,disabled:o<1,onClick:function(){return a(u,{id:n,amount:1})}})}),(0,r.jsx)(i.XI.Cell,{children:o>=5?(0,r.jsx)(i.$n,{content:"x5",onClick:function(){return a(u,{id:n,amount:5})}}):null}),(0,r.jsx)(i.XI.Cell,{children:o>=10?(0,r.jsx)(i.$n,{content:"x10",onClick:function(){return a(u,{id:n,amount:10})}}):null}),(0,r.jsx)(i.XI.Cell,{children:l.map(function(e){return(0,r.jsxs)(r.Fragment,{children:[" | ",(0,r.jsxs)("span",{className:e.is_red?"color-red":null,children:[e.amount," ",e.name]})]})})})]},n)})})]})}},4154:function(e,n,t){"use strict";t.r(n),t.d(n,{LatheChemicalStorage:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.data,l=n.act,a=t.loaded_chemicals,c=4===t.menu;return(0,r.jsxs)(i.wn,{title:"Chemical Storage",children:[(0,r.jsx)(i.$n,{content:"Purge All",icon:"trash",onClick:function(){l(c?"disposeallP":"disposeallI")}}),(0,r.jsx)(i.Ki,{children:a.map(function(e){var n=e.volume,t=e.name,o=e.id;return(0,r.jsx)(i.Ki.Item,{label:"* ".concat(n," of ").concat(t),children:(0,r.jsx)(i.$n,{content:"Purge",icon:"trash",onClick:function(){l(c?"disposeP":"disposeI",{id:o})}})},o)})})]})}},8563:function(e,n,t){"use strict";t.r(n),t.d(n,{LatheMainMenu:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(5887),a=t(6013),c=function(e){var n=(0,o.Oc)(),t=n.data,c=n.act,s=t.menu,u=t.categories;return(0,r.jsxs)(i.wn,{title:(4===s?"Protolathe":"Circuit Imprinter")+" Menu",children:[(0,r.jsx)(l.LatheMaterials,{}),(0,r.jsx)(a.LatheSearch,{}),(0,r.jsx)(i.cG,{}),(0,r.jsx)(i.so,{wrap:"wrap",children:u.map(function(e){return(0,r.jsx)(i.so,{style:{flexBasis:"50%",marginBottom:"6px"},children:(0,r.jsx)(i.$n,{icon:"arrow-right",content:e,onClick:function(){c("setCategory",{category:e})}})},e)})})]})}},7635:function(e,n,t){"use strict";t.r(n),t.d(n,{LatheMaterialStorage:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.data,l=n.act,a=t.loaded_materials;return(0,r.jsx)(i.wn,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,r.jsx)(i.XI,{children:a.map(function(e){var n=e.id,o=e.amount,a=e.name,c=function(e){l(4===t.menu?"lathe_ejectsheet":"imprinter_ejectsheet",{id:n,amount:e})},s=Math.floor(o/2e3),u=o<1;return(0,r.jsxs)(i.XI.Row,{className:u?"color-grey":"color-yellow",children:[(0,r.jsxs)(i.XI.Cell,{minWidth:"210px",children:["* ",o," of ",a]}),(0,r.jsxs)(i.XI.Cell,{minWidth:"110px",children:["(",s," sheet",1===s?"":"s",")"]}),(0,r.jsx)(i.XI.Cell,{children:o>=2e3?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"1x",icon:"eject",onClick:function(){return c(1)}}),(0,r.jsx)(i.$n,{content:"C",icon:"eject",onClick:function(){return c("custom")}}),o>=1e4?(0,r.jsx)(i.$n,{content:"5x",icon:"eject",onClick:function(){return c(5)}}):null,(0,r.jsx)(i.$n,{content:"All",icon:"eject",onClick:function(){return c(50)}})]}):null})]},n)})})})}},5887:function(e,n,t){"use strict";t.r(n),t.d(n,{LatheMaterials:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)().data,t=n.total_materials,l=n.max_materials,a=n.max_chemicals,c=n.total_chemicals;return(0,r.jsx)(i.az,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,r.jsxs)(i.XI,{width:"auto",children:[(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Material Amount:"}),(0,r.jsx)(i.XI.Cell,{children:t}),l?(0,r.jsx)(i.XI.Cell,{children:" / "+l}):null]}),(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{bold:!0,children:"Chemical Amount:"}),(0,r.jsx)(i.XI.Cell,{children:c}),a?(0,r.jsx)(i.XI.Cell,{children:" / "+a}):null]})]})})}},9760:function(e,n,t){"use strict";t.r(n),t.d(n,{LatheMenu:()=>p});var r=t(8138),i=t(7790),o=t(2864),l=t(2247),a=t(1465),c=t(4154),s=t(8563),u=t(7635);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["menu"]);return(0,r.jsx)(f,function(e){for(var n=1;nl});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)().act;return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.pd,{placeholder:"Search...",onEnter:function(e){return n("search",{to_search:e})}})})}},7726:function(e,n,t){"use strict";t.r(n),t.d(n,{LinkMenu:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.controllers;return(0,r.jsx)(l.p8,{width:800,height:550,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{title:"Setup Linkage",children:(0,r.jsxs)(i.XI,{m:"0.5rem",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Network Address"}),(0,r.jsx)(i.XI.Cell,{children:"Network ID"}),(0,r.jsx)(i.XI.Cell,{children:"Link"})]}),a.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.addr}),(0,r.jsx)(i.XI.Cell,{children:e.net_id}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{content:"Link",icon:"link",onClick:function(){return t("linktonetworkcontroller",{target_controller:e.addr})}})})]},e.addr)})]})})})})}},3321:function(e,n,t){"use strict";t.r(n),t.d(n,{SettingsMenu:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){return(0,r.jsxs)(i.az,{children:[(0,r.jsx)(a,{}),(0,r.jsx)(c,{})]})},a=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data;l.sync;var a=l.admin;return(0,r.jsx)(i.wn,{title:"Settings",children:(0,r.jsxs)(i.so,{direction:"column",align:"flex-start",children:[(0,r.jsx)(i.$n,{color:"red",icon:"unlink",content:"Disconnect from Research Network",onClick:function(){t("unlink")}}),1===a?(0,r.jsx)(i.$n,{icon:"gears",color:"red",content:"[ADMIN] Maximize research levels",onClick:function(){return t("maxresearch")}}):null]})})},c=function(e){var n=(0,o.Oc)(),t=n.data,l=n.act,a=t.linked_analyzer,c=t.linked_lathe,s=t.linked_imprinter;return(0,r.jsx)(i.wn,{title:"Linked Devices",buttons:(0,r.jsx)(i.$n,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){return l("find_device")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Scientific Analyzer",children:(0,r.jsx)(i.$n,{icon:"unlink",disabled:!a,content:a?"Unlink":"Undetected",onClick:function(){return l("disconnect",{item:"analyze"})}})}),(0,r.jsx)(i.Ki.Item,{label:"Protolathe",children:(0,r.jsx)(i.$n,{icon:"unlink",disabled:!c,content:c?"Unlink":"Undetected",onClick:function(){l("disconnect",{item:"lathe"})}})}),(0,r.jsx)(i.Ki.Item,{label:"Circuit Imprinter",children:(0,r.jsx)(i.$n,{icon:"unlink",disabled:!s,content:s?"Unlink":"Undetected",onClick:function(){return l("disconnect",{item:"imprinter"})}})})]})})}},2247:function(e,n,t){"use strict";t.r(n),t.d(n,{MENU:()=>h,PRINTER_MENU:()=>m,RndConsole:()=>g});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4080),c=t(9529),s=t(9760),u=t(7726),d=t(3321),f=i.tU.Tab,h={MAIN:0,DISK:2,ANALYZE:3,LATHE:4,IMPRINTER:5,SETTINGS:6},m={MAIN:0,SEARCH:1,MATERIALS:2,CHEMICALS:3},p=function(e){switch(e){case h.MAIN:return(0,r.jsx)(b,{});case h.DISK:return(0,r.jsx)(c.DataDiskMenu,{});case h.ANALYZE:return(0,r.jsx)(a.AnalyzerMenu,{});case h.LATHE:case h.IMPRINTER:return(0,r.jsx)(s.LatheMenu,{});case h.SETTINGS:return(0,r.jsx)(d.SettingsMenu,{});default:return"UNKNOWN MENU"}},x=function(e){var n=(0,o.Oc)(),t=n.act,i=n.data.menu,l=e.menu,a=function(e,n){if(null==e)return{};var t,r,i=function(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["menu"]);return(0,r.jsx)(f,function(e){for(var n=1;nd});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t-1});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.wn,{title:"Network Configuration",children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Network Name",children:(0,r.jsx)(o.$n,{content:h||"Unset",selected:h,icon:"edit",onClick:function(){return t("network_name")}})}),(0,r.jsx)(o.Ki.Item,{label:"Network Password",children:(0,r.jsx)(o.$n,{content:f||"Unset",selected:f,icon:"lock",onClick:function(){return t("network_password")}})})]})}),(0,r.jsxs)(o.wn,{title:"Connected Devices",children:[(0,r.jsxs)(o.tU,{children:[(0,r.jsx)(o.tU.Tab,{selected:"ALL"===s,onClick:function(){return d("ALL")},icon:"network-wired",children:"All Devices"},"AllDevices"),(0,r.jsx)(o.tU.Tab,{selected:"SRV"===s,onClick:function(){return d("SRV")},icon:"server",children:"R&D Servers"},"RNDServers"),(0,r.jsx)(o.tU.Tab,{selected:"RDC"===s,onClick:function(){return d("RDC")},icon:"desktop",children:"R&D Consoles"},"RDConsoles"),(0,r.jsx)(o.tU.Tab,{selected:"MFB"===s,onClick:function(){return d("MFB")},icon:"industry",children:"Exosuit Fabricators"},"Mechfabs"),(0,r.jsx)(o.tU.Tab,{selected:"MSC"===s,onClick:function(){return d("MSC")},icon:"microchip",children:"Miscellaneous Devices"},"Misc")]}),(0,r.jsxs)(o.XI,{m:"0.5rem",children:[(0,r.jsxs)(o.XI.Row,{header:!0,children:[(0,r.jsx)(o.XI.Cell,{children:"Device Name"}),(0,r.jsx)(o.XI.Cell,{children:"Device ID"}),(0,r.jsx)(o.XI.Cell,{children:"Unlink"})]}),x.map(function(e){return(0,r.jsxs)(o.XI.Row,{children:[(0,r.jsx)(o.XI.Cell,{children:e.name}),(0,r.jsx)(o.XI.Cell,{children:e.id}),(0,r.jsx)(o.XI.Cell,{children:(0,r.jsx)(o.$n,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){return t("unlink_device",{dclass:e.dclass,uid:e.id})}})})]},e.id)})]})]})]})},h=function(e){var n=(0,a.Oc)(),t=n.act,c=n.data.designs,s=u((0,i.useState)(""),2),d=s[0],f=s[1];return(0,r.jsxs)(o.wn,{title:"Design Management",children:[(0,r.jsx)(o.pd,{fluid:!0,placeholder:"Search for designs",mb:2,onChange:function(e){return f(e)}}),c.filter((0,l.XZ)(d,function(e){return e.name})).map(function(e){return(0,r.jsx)(o.$n.Checkbox,{fluid:!0,content:e.name,checked:!e.blacklisted,onClick:function(){return t(e.blacklisted?"unblacklist_design":"blacklist_design",{d_uid:e.uid})}},e.name)})]})}},5156:function(e,n,t){"use strict";t.r(n),t.d(n,{RndServer:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,u=a.active,d=a.network_name;return(0,r.jsx)(l.p8,{width:600,height:500,resizable:!0,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(i.wn,{title:"Server Configuration",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Machine power",children:(0,r.jsx)(i.$n,{content:u?"On":"Off",selected:u,icon:"power-off",onClick:function(){return t("toggle_active")}})}),(0,r.jsx)(i.Ki.Item,{label:"Link status",children:null===d?(0,r.jsx)(i.az,{color:"red",children:"Unlinked"}):(0,r.jsx)(i.az,{color:"green",children:"Linked"})})]})}),null===d?(0,r.jsx)(s,{}):(0,r.jsx)(c,{})]})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.network_name;return(0,r.jsx)(i.wn,{title:"Network Info",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Connected network ID",children:l}),(0,r.jsx)(i.Ki.Item,{label:"Unlink",children:(0,r.jsx)(i.$n,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){return t("unlink")}})})]})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.controllers;return(0,r.jsx)(i.wn,{title:"Detected Cores",children:(0,r.jsxs)(i.XI,{m:"0.5rem",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Network ID"}),(0,r.jsx)(i.XI.Cell,{children:"Link"})]}),l.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.netname}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{content:"Link",icon:"link",onClick:function(){return t("link",{addr:e.addr})}})})]},e.addr)})]})})}},7868:function(e,n,t){"use strict";t.r(n),t.d(n,{RobotSelfDiagnosis:()=>s});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(3384),c=function(e,n){var t=e/n;return t<=.2?"good":t<=.5?"average":"bad"},s=function(e){var n=(0,l.Oc)().data.component_data;return(0,r.jsx)(a.p8,{width:280,height:480,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:n.map(function(e,n){return(0,r.jsx)(i.wn,{title:(0,o.ZH)(e.name),children:e.installed<=0?(0,r.jsx)(i.IC,{m:-.5,height:3.5,color:"red",style:{fontStyle:"normal"},children:(0,r.jsx)(i.so,{height:"100%",children:(0,r.jsx)(i.so.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:-1===e.installed?"Destroyed":"Missing"})})}):(0,r.jsxs)(i.so,{children:[(0,r.jsx)(i.so.Item,{width:"72%",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Brute Damage",color:c(e.brute_damage,e.max_damage),children:e.brute_damage}),(0,r.jsx)(i.Ki.Item,{label:"Burn Damage",color:c(e.electronic_damage,e.max_damage),children:e.electronic_damage})]})}),(0,r.jsx)(i.so.Item,{width:"50%",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Powered",color:e.powered?"good":"bad",children:e.powered?"Yes":"No"}),(0,r.jsx)(i.Ki.Item,{label:"Enabled",color:e.status?"good":"bad",children:e.status?"Yes":"No"})]})})]})},n)})})})}},1696:function(e,n,t){"use strict";t.r(n),t.d(n,{RoboticsControlConsole:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,s=a.can_hack,u=a.safety,d=a.show_lock_all,f=a.cyborgs;return(0,r.jsx)(l.p8,{width:500,height:460,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[!!d&&(0,r.jsxs)(i.wn,{title:"Emergency Lock Down",children:[(0,r.jsx)(i.$n,{icon:u?"lock":"unlock",content:u?"Disable Safety":"Enable Safety",selected:u,onClick:function(){return t("arm",{})}}),(0,r.jsx)(i.$n,{icon:"lock",disabled:u,content:"Lock ALL Cyborgs",color:"bad",onClick:function(){return t("masslock",{})}})]}),(0,r.jsx)(c,{cyborgs:void 0===f?[]:f,can_hack:s})]})})},c=function(e){var n=e.cyborgs;e.can_hack;var t=(0,o.Oc)(),l=t.act,a=t.data,c="Detonate";return(a.detonate_cooldown>0&&(c+=" ("+a.detonate_cooldown+"s)"),n.length)?n.map(function(e){return(0,r.jsx)(i.wn,{title:e.name,buttons:(0,r.jsxs)(r.Fragment,{children:[!!e.hackable&&!e.emagged&&(0,r.jsx)(i.$n,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){return l("hackbot",{uid:e.uid})}}),(0,r.jsx)(i.$n.Confirm,{icon:e.locked_down?"unlock":"lock",color:e.locked_down?"good":"default",content:e.locked_down?"Release":"Lockdown",disabled:!a.auth,onClick:function(){return l("stopbot",{uid:e.uid})}}),(0,r.jsx)(i.$n.Confirm,{icon:"bomb",content:c,disabled:!a.auth||a.detonate_cooldown>0,color:"bad",onClick:function(){return l("killbot",{uid:e.uid})}})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:(0,r.jsx)(i.az,{color:e.status?"bad":e.locked_down?"average":"good",children:e.status?"Not Responding":e.locked_down?"Locked Down":"Nominal"})}),(0,r.jsx)(i.Ki.Item,{label:"Location",children:(0,r.jsx)(i.az,{children:e.locstring})}),(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:(0,r.jsx)(i.z2,{color:e.health>50?"good":"bad",value:e.health/100})}),"number"==typeof e.charge&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Cell Charge",children:(0,r.jsx)(i.z2,{color:e.charge>30?"good":"bad",value:e.charge/100})}),(0,r.jsx)(i.Ki.Item,{label:"Cell Capacity",children:(0,r.jsx)(i.az,{color:e.cell_capacity<3e4?"average":"good",children:e.cell_capacity})})]})||(0,r.jsx)(i.Ki.Item,{label:"Cell",children:(0,r.jsx)(i.az,{color:"bad",children:"No Power Cell"})}),!!e.is_hacked&&(0,r.jsx)(i.Ki.Item,{label:"Safeties",children:(0,r.jsx)(i.az,{color:"bad",children:"DISABLED"})}),(0,r.jsx)(i.Ki.Item,{label:"Module",children:e.module}),(0,r.jsx)(i.Ki.Item,{label:"Master AI",children:(0,r.jsx)(i.az,{color:e.synchronization?"default":"average",children:e.synchronization||"None"})})]})},e.uid)}):(0,r.jsx)(i.IC,{children:"No cyborg units detected within access parameters."})}},5826:function(e,n,t){"use strict";t.r(n),t.d(n,{Safe:()=>c});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=(n.act,n.data),i=t.dial,c=t.open;return t.locked,t.contents,(0,r.jsx)(a.p8,{theme:"safe",width:600,height:800,children:(0,r.jsxs)(a.p8.Content,{children:[(0,r.jsxs)(o.az,{className:"Safe--engraving",children:[(0,r.jsx)(s,{}),(0,r.jsxs)(o.az,{children:[(0,r.jsx)(o.az,{className:"Safe--engraving--hinge",top:"25%"}),(0,r.jsx)(o.az,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,r.jsx)(o.In,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,r.jsx)("br",{}),c?(0,r.jsx)(u,{}):(0,r.jsx)(o.az,{as:"img",className:"Safe--dial",src:"safe_dial.png",style:{transform:"rotate(-"+3.6*i+"deg)",zIndex:0}})]}),!c&&(0,r.jsx)(d,{})]})})},s=function(e){var n=(0,l.Oc)(),t=n.act,i=n.data,a=i.dial,c=i.open,s=i.locked,u=function(e,n){return(0,r.jsx)(o.$n,{disabled:c||n&&!s,icon:"arrow-"+(n?"right":"left"),content:(n?"Right":"Left")+" "+e,iconRight:n,onClick:function(){return t(n?"turnleft":"turnright",{num:e})},style:{zIndex:10}})};return(0,r.jsxs)(o.az,{className:"Safe--dialer",children:[(0,r.jsx)(o.$n,{disabled:s,icon:c?"lock":"lock-open",content:c?"Close":"Open",mb:"0.5rem",onClick:function(){return t("open")}}),(0,r.jsx)("br",{}),(0,r.jsx)(o.az,{position:"absolute",children:[u(50),u(10),u(1)]}),(0,r.jsx)(o.az,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[u(1,!0),u(10,!0),u(50,!0)]}),(0,r.jsx)(o.az,{className:"Safe--dialer--number",children:a})]})},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data.contents;return(0,r.jsx)(o.az,{className:"Safe--contents",overflow:"auto",children:a.map(function(e,n){return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsxs)(o.$n,{mb:"0.5rem",onClick:function(){return t("retrieve",{index:n+1})},children:[(0,r.jsx)(o.az,{as:"img",src:e.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),e.name]}),(0,r.jsx)("br",{})]},e)})})},d=function(e){return(0,r.jsxs)(o.wn,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,r.jsxs)(o.az,{children:["1. Turn the dial left to the first number.",(0,r.jsx)("br",{}),"2. Turn the dial right to the second number.",(0,r.jsx)("br",{}),"3. Continue repeating this process for each number, switching between left and right each time.",(0,r.jsx)("br",{}),"4. Open the safe."]}),(0,r.jsx)(o.az,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},1892:function(e,n,t){"use strict";t.r(n),t.d(n,{SatelliteControl:()=>u,SatelliteControlFooter:()=>h,SatelliteControlMapView:()=>f,SatelliteControlSatellitesList:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(7946),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=d?"good":"average",value:u,maxValue:100,children:[u,"%"]})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{content:"Check coverage",disabled:f,onClick:function(){return t("begin_test")}})})]})})}),(0,r.jsx)(o.BJ.Item,{color:c,children:a})]})}},7943:function(e,n,t){"use strict";t.r(n),t.d(n,{SecureStorage:()=>s});var r=t(8138),i=t(7790),o=t(7686),l=t(5490),a=t(2864),c=t(3384),s=function(e){return(0,r.jsx)(c.p8,{theme:"securestorage",height:500,width:280,children:(0,r.jsx)(c.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(d,{})})})})})},u=function(e){var n=(0,a.Oc)().act,t=window.event?e.which:e.keyCode;if(t===o.Ri){e.preventDefault(),n("keypad",{digit:"E"});return}if(t===o.s6){e.preventDefault(),n("keypad",{digit:"C"});return}if(t===o.ye){e.preventDefault(),n("backspace");return}if(t>=o.Pm&&t<=o.Wy){e.preventDefault(),n("keypad",{digit:t-o.Pm});return}if(t>=o.hr&&t<=o.C){e.preventDefault(),n("keypad",{digit:t-o.hr});return}},d=function(e){var n=(0,a.Oc)(),t=(n.act,n.data),o=t.locked,c=t.no_passcode,s=t.emagged,d=t.user_entered_code;return(0,r.jsx)(i.wn,{fill:!0,className:"SecureStorage",onKeyDown:function(e){return u(e)},children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{height:7.3,children:(0,r.jsx)(i.az,{className:(0,l.Ly)(["SecureStorage__displayBox","SecureStorage__displayBox--"+(c?"":o?"bad":"good")]),height:"100%",children:s?"ERROR":d})}),(0,r.jsx)(i.BJ.Item,{align:"center",children:(0,r.jsx)(i.XI,{collapsing:!0,children:[["1","2","3"],["4","5","6"],["7","8","9"],["C","0","E"]].map(function(e){return(0,r.jsx)(i.XI.Row,{children:e.map(function(e){return(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(f,{number:e})},e)})},e[0])})})})]})})},f=function(e){var n=(0,a.Oc)(),t=n.act;n.data;var o=e.number;return(0,r.jsx)(i.$n,{bold:!0,fluid:!0,textAlign:"center",fontSize:"55px",lineHeight:1.25,width:"80px",className:(0,l.Ly)(["SecureStorage__Button","SecureStorage__Button--keypad","SecureStorage__Button--"+o]),onClick:function(){return t("keypad",{digit:o})},children:o})}},8589:function(e,n,t){"use strict";t.r(n),t.d(n,{SecurityRecords:()=>g});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384),s=t(4744),u=t(7352),d=t(736),f=t(2264),h=t(7482);function m(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tf});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=t(4744);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=n},r=function(e,n){return e<=n},i=e.split(" "),o=[],l=!0,a=!1,c=void 0;try{for(var s,u=i[Symbol.iterator]();!(l=(s=u.next()).done);l=!0){var d=function(){var e=s.value.split(":");if(0===e.length)return"continue";if(1===e.length)return o.push(function(n){return(n.name+" ("+n.variant+")").toLocaleLowerCase().includes(e[0].toLocaleLowerCase())}),"continue";if(e.length>2)return{v:function(e){return!1}};var i=void 0,l=n;if("-"===e[1][e[1].length-1]?(l=r,i=Number(e[1].substring(0,e[1].length-1))):"+"===e[1][e[1].length-1]?(l=t,i=Number(e[1].substring(0,e[1].length-1))):i=Number(e[1]),isNaN(i))return{v:function(e){return!1}};switch(e[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":o.push(function(e){return l(e.lifespan,i)});break;case"e":case"end":case"endurance":o.push(function(e){return l(e.endurance,i)});break;case"m":case"mat":case"maturation":o.push(function(e){return l(e.maturation,i)});break;case"pr":case"prod":case"production":o.push(function(e){return l(e.production,i)});break;case"y":case"yield":o.push(function(e){return l(e.yield,i)});break;case"po":case"pot":case"potency":o.push(function(e){return l(e.potency,i)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":o.push(function(e){return l(e.amount,i)});break;default:return{v:function(e){return!1}}}}();if("object"==(d&&"undefined"!=typeof Symbol&&d.constructor===Symbol?"symbol":typeof d))return d.v}}catch(e){a=!0,c=e}finally{try{l||null==u.return||u.return()}finally{if(a)throw c}}return function(e){var n=!0,t=!1,r=void 0;try{for(var i,l=o[Symbol.iterator]();!(n=(i=l.next()).done);n=!0)if(!(0,i.value)(e))return!1}catch(e){t=!0,r=e}finally{try{n||null==l.return||l.return()}finally{if(t)throw r}}return!0}},m=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=(0,i.useContext)(d),s=c.searchTextState,f=c.vendAmountState,m=c.sortIdState,x=c.sortOrderState,g=u(s,2),j=g[0];g[1];var b=u(f,2),y=b[0];b[1];var v=u(m,2),w=v[0];v[1];var k=u(x,2),_=k[0];k[1];var C=a.icons,I=a.seeds;return(0,r.jsx)(o.BJ.Item,{grow:!0,mt:.5,children:(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,children:(0,r.jsxs)(o.XI,{className:"SeedExtractor__list",children:[(0,r.jsxs)(o.XI.Row,{bold:!0,children:[(0,r.jsx)(p,{id:"name",children:"Name"}),(0,r.jsx)(p,{id:"lifespan",children:"Lifespan"}),(0,r.jsx)(p,{id:"endurance",children:"Endurance"}),(0,r.jsx)(p,{id:"maturation",children:"Maturation"}),(0,r.jsx)(p,{id:"production",children:"Production"}),(0,r.jsx)(p,{id:"yield",children:"Yield"}),(0,r.jsx)(p,{id:"potency",children:"Potency"}),(0,r.jsx)(p,{id:"amount",children:"Stock"})]}),0===I.length?"No seeds present.":I.filter(h(j)).sort(function(e,n){var t=_?1:-1;return"number"==typeof e[w]?(e[w]-n[w])*t:e[w].localeCompare(n[w])*t}).map(function(e){return(0,r.jsxs)(o.XI.Row,{onClick:function(){return t("vend",{seed_id:e.id,seed_variant:e.variant,vend_amount:y})},children:[(0,r.jsxs)(o.XI.Cell,{children:[(0,r.jsx)("img",{src:"data:image/jpeg;base64,".concat(C[e.image]),style:{verticalAlign:"middle",width:"32px",margin:"0px"}}),e.name]}),(0,r.jsx)(o.XI.Cell,{children:e.lifespan}),(0,r.jsx)(o.XI.Cell,{children:e.endurance}),(0,r.jsx)(o.XI.Cell,{children:e.maturation}),(0,r.jsx)(o.XI.Cell,{children:e.production}),(0,r.jsx)(o.XI.Cell,{children:e.yield}),(0,r.jsx)(o.XI.Cell,{children:e.potency}),(0,r.jsx)(o.XI.Cell,{children:e.amount})]},e.id)})]})})})},p=function(e){var n=(0,i.useContext)(d),t=n.sortIdState,l=n.sortOrderState,a=u(t,2),c=a[0],s=a[1],f=u(l,2),h=f[0],m=f[1],p=e.id,x=e.children;return(0,r.jsx)(o.XI.Cell,{children:(0,r.jsxs)(o.$n,{color:c!==p&&"transparent",fluid:!0,onClick:function(){c===p?m(!h):(s(p),m(!0))},children:[x,c===p&&(0,r.jsx)(o.In,{name:h?"sort-up":"sort-down",ml:"0.25rem;"})]})})},x=function(e){var n=(0,i.useContext)(d),t=n.searchTextState,l=n.vendAmountState,a=u(t,2),c=a[0],s=a[1],f=u(l,2),h=f[0],m=f[1];return(0,r.jsxs)(o.BJ,{fill:!0,children:[(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.pd,{placeholder:"Search by name, variant, potency:70+, production:3-, ...",fluid:!0,onChange:function(e){return s(e)},value:c})}),(0,r.jsxs)(o.BJ.Item,{children:["Vend amount:",(0,r.jsx)(o.pd,{placeholder:"1",onChange:function(e){return m(Number(e)>=1?Number(e):1)},value:"".concat(h)})]})]})}},631:function(e,n,t){"use strict";t.r(n),t.d(n,{ShuttleConsole:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;return(0,r.jsx)(l.p8,{width:350,height:150,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Location",children:a.status?a.status:(0,r.jsx)(i.IC,{color:"red",children:"Shuttle Missing"})}),!!a.shuttle&&(!!a.docking_ports_len&&(0,r.jsx)(i.Ki.Item,{label:"Send to ",children:a.docking_ports.map(function(e){return(0,r.jsx)(i.$n,{icon:"chevron-right",content:e.name,onClick:function(){return t("move",{move:e.id})}},e.name)})})||(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",color:"red",children:(0,r.jsx)(i.IC,{color:"red",children:"Shuttle Locked"})}),!!a.admin_controlled&&(0,r.jsx)(i.Ki.Item,{label:"Authorization",children:(0,r.jsx)(i.$n,{icon:"exclamation-circle",content:"Request Authorization",disabled:!a.status,onClick:function(){return t("request")}})})]}))]})})})})}},5060:function(e,n,t){"use strict";t.r(n),t.d(n,{ShuttleManipulator:()=>s});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tc});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)();return 0===(n.act,n.data).active?(0,r.jsx)(s,{}):(0,r.jsx)(u,{})},s=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data.singularities;return(0,r.jsx)(a.p8,{width:450,height:185,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.wn,{fill:!0,title:"Detected Singularities",buttons:(0,r.jsx)(i.$n,{icon:"sync",content:"Refresh",onClick:function(){return t("refresh")}}),children:(0,r.jsx)(i.XI,{children:(void 0===c?[]:c).map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.singularity_id+". "+e.area_name}),(0,r.jsx)(i.XI.Cell,{collapsing:!0,color:"label",children:"Stage:"}),(0,r.jsx)(i.XI.Cell,{collapsing:!0,width:"120px",children:(0,r.jsx)(i.z2,{value:e.stage,minValue:0,maxValue:6,ranges:{good:[1,2],average:[3,4],bad:[5,6]},children:(0,o.Mg)(e.stage)})}),(0,r.jsx)(i.XI.Cell,{collapsing:!0,children:(0,r.jsx)(i.$n,{content:"Details",onClick:function(){return t("view",{view:e.singularity_id})}})})]},e.singularity_id)})})})})})},u=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data;c.active;var s=c.singulo_stage,u=c.singulo_potential_stage,d=c.singulo_energy,f=c.singulo_high,h=c.singulo_low,m=c.generators;return(0,r.jsx)(a.p8,{width:550,height:185,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{width:"270px",children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Metrics",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Stage",children:(0,r.jsx)(i.z2,{value:s,minValue:0,maxValue:6,ranges:{good:[1,2],average:[3,4],bad:[5,6]},children:(0,o.Mg)(s)})}),(0,r.jsx)(i.Ki.Item,{label:"Potential Stage",children:(0,r.jsx)(i.z2,{value:u,minValue:0,maxValue:6,ranges:{good:[1,s+.5],average:[s+.5,s+1.5],bad:[s+1.5,s+2]},children:(0,o.Mg)(u)})}),(0,r.jsx)(i.Ki.Item,{label:"Energy",children:(0,r.jsx)(i.z2,{value:d,minValue:h,maxValue:f,ranges:{good:[.67*f+.33*h,f],average:[.33*f+.67*h,.67*f+.33*h],bad:[h,.33*f+.67*h]},children:(0,o.Mg)(d)+"MJ"})})]})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Field Generators",buttons:(0,r.jsx)(i.$n,{icon:"arrow-left",content:"Back",onClick:function(){return t("back")}}),children:(0,r.jsx)(i.Ki,{children:(void 0===m?[]:m).map(function(e){return(0,r.jsx)(i.Ki.Item,{label:"Remaining Charge",children:(0,r.jsx)(i.z2,{value:e.charge,minValue:0,maxValue:125,ranges:{good:[80,125],average:[30,80],bad:[0,30]},children:(0,o.Mg)(e.charge)})},e.gen_index)})})})})]})})})}},1495:function(e,n,t){"use strict";t.r(n),t.d(n,{Sleeper:()=>f});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=[["good","Alive"],["average","Critical"],["bad","DEAD"]],s=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],u={average:[.25,.5],bad:[.5,1/0]},d=["bad","average","average","good","average","average","bad"],f=function(e){var n=(0,l.Oc)(),t=(n.act,n.data).hasOccupant?(0,r.jsx)(h,{}):(0,r.jsx)(j,{});return(0,r.jsx)(a.p8,{width:550,height:760,children:(0,r.jsx)(a.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:t}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(x,{})})]})})})},h=function(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m,{}),(0,r.jsx)(p,{}),(0,r.jsx)(g,{})]})},m=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,s=a.occupant,u=a.auto_eject_dead;return(0,r.jsx)(i.wn,{title:"Occupant",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.az,{color:"label",inline:!0,children:"Auto-eject if dead:\xa0"}),(0,r.jsx)(i.$n,{icon:u?"toggle-on":"toggle-off",selected:u,content:u?"On":"Off",onClick:function(){return t("auto_eject_dead_"+(u?"off":"on"))}}),(0,r.jsx)(i.$n,{icon:"user-slash",content:"Eject",onClick:function(){return t("ejectify")}})]}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Name",children:s.name}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{minValue:0,maxValue:s.maxHealth,value:s.health,ranges:{good:[.5*s.maxHealth,1/0],average:[0,.5*s.maxHealth],bad:[-1/0,0]},children:(0,o.LI)(s.health,0)})}),(0,r.jsx)(i.Ki.Item,{label:"Status",color:c[s.stat][0],children:c[s.stat][1]}),(0,r.jsx)(i.Ki.Item,{label:"Temperature",children:(0,r.jsxs)(i.z2,{minValue:0,maxValue:s.maxTemp,value:s.bodyTemperature,color:d[s.temperatureSuitability+3],children:[(0,o.LI)(s.btCelsius,0),"\xb0C, ",(0,o.LI)(s.btFaren,0),"\xb0F"]})}),!!s.hasBlood&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Ki.Item,{label:"Blood Level",children:(0,r.jsxs)(i.z2,{minValue:0,maxValue:s.bloodMax,value:s.bloodLevel,ranges:{bad:[-1/0,.6*s.bloodMax],average:[.6*s.bloodMax,.9*s.bloodMax],good:[.9*s.bloodMax,1/0]},children:[s.bloodPercent,"%, ",s.bloodLevel,"cl"]})}),(0,r.jsxs)(i.Ki.Item,{label:"Pulse",verticalAlign:"middle",children:[s.pulse," BPM"]})]})]})})},p=function(e){var n=(0,l.Oc)().data.occupant;return(0,r.jsx)(i.wn,{title:"Occupant Damage",children:(0,r.jsx)(i.Ki,{children:s.map(function(e,t){var l=n[e[1]],a="number"==typeof l?l:0;return(0,r.jsx)(i.Ki.Item,{label:e[0],children:(0,r.jsx)(i.z2,{minValue:0,maxValue:100,value:a,ranges:u,children:(0,o.LI)(a,0)},t)},t)})})})},x=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.hasOccupant,c=o.isBeakerLoaded,s=o.beakerMaxSpace,u=o.beakerFreeSpace,d=o.dialysis&&u>0;return(0,r.jsx)(i.wn,{title:"Dialysis",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{disabled:!c||u<=0||!a,selected:d,icon:d?"toggle-on":"toggle-off",content:d?"Active":"Inactive",onClick:function(){return t("togglefilter")}}),(0,r.jsx)(i.$n,{disabled:!c,icon:"eject",content:"Eject",onClick:function(){return t("removebeaker")}})]}),children:c?(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Remaining Space",children:(0,r.jsxs)(i.z2,{minValue:0,maxValue:s,value:u,ranges:{good:[.5*s,1/0],average:[.25*s,.5*s],bad:[-1/0,.25*s]},children:[u,"u"]})})}):(0,r.jsx)(i.az,{color:"label",children:"No beaker loaded."})})},g=function(e){var n=(0,l.Oc)(),t=n.act,o=n.data,a=o.occupant,c=o.chemicals,s=o.maxchem,u=o.amounts;return(0,r.jsx)(i.wn,{title:"Occupant Chemicals",children:c.map(function(e,n){var o,l="";return e.overdosing?(l="bad",o=(0,r.jsxs)(i.az,{color:"bad",children:[(0,r.jsx)(i.In,{name:"exclamation-circle"}),"\xa0 Overdosing!"]})):e.od_warning&&(l="average",o=(0,r.jsxs)(i.az,{color:"average",children:[(0,r.jsx)(i.In,{name:"exclamation-triangle"}),"\xa0 Close to overdosing"]})),(0,r.jsx)(i.az,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,r.jsx)(i.wn,{title:e.title,buttons:o,children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsxs)(i.z2,{minValue:0,maxValue:s,value:e.occ_amount,color:l,mr:"0.5rem",children:[e.pretty_amount,"/",s,"u"]}),u.map(function(n,o){return(0,r.jsx)(i.$n,{disabled:!e.injectable||e.occ_amount+n>s||2===a.stat,icon:"syringe",content:"Inject ".concat(n,"u"),mb:"0",height:"19px",onClick:function(){return t("chemical",{chemid:e.id,amount:n})}},o)})]})})},n)})})},j=function(e){return(0,r.jsx)(i.wn,{fill:!0,textAlign:"center",children:(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{grow:!0,align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:"user-slash",mb:"0.5rem",size:5}),(0,r.jsx)("br",{}),"No occupant detected."]})})})}},6526:function(e,n,t){"use strict";t.r(n),t.d(n,{SlotMachine:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t=(0,o.Oc)(),a=t.act,c=t.data;return null===c.money?(0,r.jsx)(l.p8,{width:350,height:90,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{children:[(0,r.jsx)(i.az,{children:"Could not scan your card or could not find account!"}),(0,r.jsx)(i.az,{children:"Please wear or hold your ID and try again."})]})})}):(n=1===c.plays?c.plays+" player has tried their luck today!":c.plays+" players have tried their luck today!",(0,r.jsx)(l.p8,{width:300,height:151,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{children:[(0,r.jsx)(i.az,{lineHeight:2,children:n}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Credits Remaining",children:(0,r.jsx)(i.zv,{value:c.money})}),(0,r.jsx)(i.Ki.Item,{label:"10 credits to spin",children:(0,r.jsx)(i.$n,{icon:"coins",disabled:c.working,content:c.working?"Spinning...":"Spin",onClick:function(){return a("spin")}})})]}),(0,r.jsx)(i.az,{bold:!0,lineHeight:2,color:c.resultlvl,children:c.result})]})})}))}},1645:function(e,n,t){"use strict";t.r(n),t.d(n,{Smartfridge:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.secure,s=a.can_dry,u=a.drying,d=a.contents;return(0,r.jsx)(l.p8,{width:500,height:500,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[!!c&&(0,r.jsx)(i.IC,{children:"Secure Access: Please have your identification ready."}),(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:s?"Drying rack":"Contents",buttons:!!s&&(0,r.jsx)(i.$n,{width:4,icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){return t("drying")}}),children:[!d&&(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,r.jsxs)(i.In.Stack,{children:[(0,r.jsx)(i.In,{name:"cookie-bite",size:5,color:"brown"}),(0,r.jsx)(i.In,{name:"slash",size:5,color:"red"})]}),(0,r.jsx)("br",{}),"No products loaded."]})}),!!d&&d.slice().sort(function(e,n){return e.display_name.localeCompare(n.display_name)}).map(function(e){return(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{width:"55%",children:e.display_name}),(0,r.jsxs)(i.BJ.Item,{width:"25%",children:["(",e.quantity," in stock)"]}),(0,r.jsxs)(i.BJ.Item,{width:13,children:[(0,r.jsx)(i.$n,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){return t("vend",{index:e.vend,amount:1})}}),(0,r.jsx)(i.Q7,{width:"40px",minValue:0,value:0,maxValue:e.quantity,step:1,stepPixelSize:3,onChange:function(n){return t("vend",{index:e.vend,amount:n})}}),(0,r.jsx)(i.$n,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){return t("vend",{index:e.vend,amount:e.quantity})}})]})]},e)})]})]})})})}},1399:function(e,n,t){"use strict";t.r(n),t.d(n,{Smes:()=>c});var r=t(8138),i=t(7790),o=t(9582),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,s=c.capacityPercent,u=(c.capacity,c.charge),d=c.inputAttempt,f=c.inputting,h=c.inputLevel,m=c.inputLevelMax,p=c.inputAvailable,x=c.outputPowernet,g=c.outputAttempt,j=c.outputting,b=c.outputLevel,y=c.outputLevelMax,v=c.outputUsed,w=s>=100&&"good"||f&&"average"||"bad";return(0,r.jsx)(a.p8,{width:340,height:360,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.wn,{title:"Stored Energy",children:(0,r.jsx)(i.z2,{value:.01*s,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,r.jsx)(i.wn,{title:"Input",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Charge Mode",buttons:(0,r.jsx)(i.$n,{icon:d?"sync-alt":"times",selected:d,onClick:function(){return t("tryinput")},children:d?"Auto":"Off"}),children:(0,r.jsx)(i.az,{color:w,children:s>=100&&"Fully Charged"||f&&"Charging"||"Not Charging"})}),(0,r.jsx)(i.Ki.Item,{label:"Target Input",children:(0,r.jsxs)(i.BJ,{width:"100%",children:[(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"fast-backward",disabled:0===h,onClick:function(){return t("input",{target:"min"})}}),(0,r.jsx)(i.$n,{icon:"backward",disabled:0===h,onClick:function(){return t("input",{adjust:-1e4})}})]}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.Ap,{value:h/1e3,fillValue:p/1e3,minValue:0,maxValue:m/1e3,step:5,stepPixelSize:4,format:function(e){return(0,o.d5)(1e3*e,1)},onChange:function(e,n){return t("input",{target:1e3*n})}})}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"forward",disabled:h===m,onClick:function(){return t("input",{adjust:1e4})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",disabled:h===m,onClick:function(){return t("input",{target:"max"})}})]})]})}),(0,r.jsx)(i.Ki.Item,{label:"Available",children:(0,o.d5)(p)})]})}),(0,r.jsx)(i.wn,{fill:!0,title:"Output",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Output Mode",buttons:(0,r.jsx)(i.$n,{icon:g?"power-off":"times",selected:g,onClick:function(){return t("tryoutput")},children:g?"On":"Off"}),children:(0,r.jsx)(i.az,{color:j&&"good"||u>0&&"average"||"bad",children:x?j?"Sending":u>0?"Not Sending":"No Charge":"Not Connected"})}),(0,r.jsx)(i.Ki.Item,{label:"Target Output",children:(0,r.jsxs)(i.BJ,{width:"100%",children:[(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"fast-backward",disabled:0===b,onClick:function(){return t("output",{target:"min"})}}),(0,r.jsx)(i.$n,{icon:"backward",disabled:0===b,onClick:function(){return t("output",{adjust:-1e4})}})]}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.Ap,{value:b/1e3,minValue:0,maxValue:y/1e3,step:5,stepPixelSize:4,format:function(e){return(0,o.d5)(1e3*e,1)},onChange:function(e,n){return t("output",{target:1e3*n})}})}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"forward",disabled:b===y,onClick:function(){return t("output",{adjust:1e4})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",disabled:b===y,onClick:function(){return t("output",{target:"max"})}})]})]})}),(0,r.jsx)(i.Ki.Item,{label:"Outputting",children:(0,o.d5)(v)})]})})]})})})}},1343:function(e,n,t){"use strict";t.r(n),t.d(n,{SolarControl:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(7946),a=t(3384),c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data,s=c.generated,u=c.generated_ratio,d=c.tracking_state,f=c.tracking_rate,h=c.connected_panels,m=c.connected_tracker,p=c.cdir,x=c.direction,g=c.rotating_direction;return(0,r.jsx)(a.p8,{width:490,height:277,children:(0,r.jsxs)(a.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Status",buttons:(0,r.jsx)(i.$n,{icon:"sync",content:"Scan for new hardware",onClick:function(){return t("refresh")}}),children:(0,r.jsxs)(l.xA,{children:[(0,r.jsx)(l.xA.Column,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Solar tracker",color:m?"good":"bad",children:m?"OK":"N/A"}),(0,r.jsx)(i.Ki.Item,{label:"Solar panels",color:h>0?"good":"bad",children:h})]})}),(0,r.jsx)(l.xA.Column,{size:2,children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Power output",children:(0,r.jsx)(i.z2,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:u,children:s+" W"})}),(0,r.jsxs)(i.Ki.Item,{label:"Panel orientation",children:[p,"\xb0 (",x,")"]}),(0,r.jsxs)(i.Ki.Item,{label:"Tracker rotation",children:[2===d&&(0,r.jsx)(i.az,{children:" Automated "}),1===d&&(0,r.jsxs)(i.az,{children:[" ",f,"\xb0/h (",g,")"," "]}),0===d&&(0,r.jsx)(i.az,{children:" Tracker offline "})]})]})})]})}),(0,r.jsx)(i.wn,{title:"Controls",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Panel orientation",children:[2!==d&&(0,r.jsx)(i.Q7,{unit:"\xb0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:p,onChange:function(e){return t("cdir",{cdir:e})}}),2===d&&(0,r.jsx)(i.az,{lineHeight:"19px",children:" Automated "})]}),(0,r.jsxs)(i.Ki.Item,{label:"Tracker status",children:[(0,r.jsx)(i.$n,{icon:"times",content:"Off",selected:0===d,onClick:function(){return t("track",{track:0})}}),(0,r.jsx)(i.$n,{icon:"clock-o",content:"Timed",selected:1===d,onClick:function(){return t("track",{track:1})}}),(0,r.jsx)(i.$n,{icon:"sync",content:"Auto",selected:2===d,disabled:!m,onClick:function(){return t("track",{track:2})}})]}),(0,r.jsxs)(i.Ki.Item,{label:"Tracker rotation",children:[1===d&&(0,r.jsx)(i.Q7,{unit:"\xb0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:f,format:function(e){return(Math.sign(e)>0?"+":"-")+Math.abs(e)},onChange:function(e){return t("tdir",{tdir:e})}}),0===d&&(0,r.jsx)(i.az,{lineHeight:"19px",children:" Tracker offline "}),2===d&&(0,r.jsx)(i.az,{lineHeight:"19px",children:" Automated "})]})]})})]})})}},4263:function(e,n,t){"use strict";t.r(n),t.d(n,{SpawnersMenu:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.spawners||[];return(0,r.jsx)(l.p8,{width:700,height:600,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(i.wn,{children:a.map(function(e){return(0,r.jsxs)(i.wn,{mb:.5,title:e.name+" ("+e.amount_left+" left)",level:2,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:"chevron-circle-right",content:"Jump",onClick:function(){return t("jump",{ID:e.uids})}}),(0,r.jsx)(i.$n,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){return t("spawn",{ID:e.uids})}})]}),children:[(0,r.jsx)(i.az,{style:{whiteSpace:"pre-wrap"},mb:1,fontSize:"16px",children:e.desc}),!!e.fluff&&(0,r.jsx)(i.az,{style:{whiteSpace:"pre-wrap"},textColor:"#878787",fontSize:"14px",children:e.fluff}),!!e.important_info&&(0,r.jsx)(i.az,{style:{whiteSpace:"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:e.important_info})]},e.name)})})})})}},8729:function(e,n,t){"use strict";t.r(n),t.d(n,{SpecMenu:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){return(0,r.jsx)(l.p8,{width:1100,height:600,theme:"nologo",children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(c,{}),(0,r.jsx)(s,{}),(0,r.jsx)(u,{}),(0,r.jsx)(d,{})]})})})},c=function(e){var n=(0,o.Oc)(),t=n.act;return n.data.subclasses,(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"25%",children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Hemomancer",buttons:(0,r.jsx)(i.$n,{content:"Choose",onClick:function(){return t("hemomancer")}}),children:[(0,r.jsx)("h3",{children:"Focuses on blood magic and the manipulation of blood around you."}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Vampiric claws"}),": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood Barrier"}),": Unlocked at 250 blood, allows you to select two turfs and create a wall between them."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood tendrils"}),": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Sanguine pool"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Predator senses"}),": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood eruption"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Full power"}),(0,r.jsx)(i.cG,{}),(0,r.jsx)("b",{children:"The blood bringers rite"}),": 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."]})]})})},s=function(e){var n=(0,o.Oc)(),t=n.act;return n.data.subclasses,(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"25%",children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Umbrae",buttons:(0,r.jsx)(i.$n,{content:"Choose",onClick:function(){return t("umbrae")}}),children:[(0,r.jsx)("h3",{children:"Focuses on darkness, stealth ambushing and mobility."}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Cloak of darkness"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Shadow anchor"}),": 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 will do a fake recall, causing a clone to appear at the anchor and making yourself invisible. It will not teleport you between Z levels."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Shadow snare"}),": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensnares the victim. This trap is hard to see, but withers in the light."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Dark passage"}),": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Extinguish"}),": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms."]}),(0,r.jsx)("b",{children:"Shadow boxing"}),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Full power"}),(0,r.jsx)(i.cG,{}),(0,r.jsx)("b",{children:"Eternal darkness"}),": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. Inside the radius, nearby creatures will freeze and energy projectiles will deal less damage."]}),(0,r.jsx)("p",{children:"In addition, you also gain permanent X-ray vision."})]})})},u=function(e){var n=(0,o.Oc)(),t=n.act;return n.data.subclasses,(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"25%",children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Gargantua",buttons:(0,r.jsx)(i.$n,{content:"Choose",onClick:function(){return t("gargantua")}}),children:[(0,r.jsx)("h3",{children:"Focuses on tenacity and melee damage."}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Rejuvenate"}),": Will heal you at an increased rate based on how much damage you have taken."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood swell"}),": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Seismic stomp"}),": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood rush"}),": Unlocked at 250 blood, gives you a short speed boost when cast."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood swell II"}),": Unlocked at 400 blood, increases all melee damage by 10."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Overwhelming force"}),": Unlocked at 600 blood, when toggled, if you bump into a door that you do not have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Demonic grasp"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Charge"}),": Unlocked at 800 blood, you gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Full Power"}),(0,r.jsx)(i.cG,{}),(0,r.jsx)("b",{children:"Desecrated Duel"}),": Leap towards a visible enemy, creating an arena upon landing, infusing you with increased regeneration, and granting you resistance to internal damages."]})]})})},d=function(e){var n=(0,o.Oc)(),t=n.act;return n.data.subclasses,(0,r.jsx)(i.BJ.Item,{grow:!0,basis:"25%",children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Dantalion",buttons:(0,r.jsx)(i.$n,{content:"Choose",onClick:function(){return t("dantalion")}}),children:[(0,r.jsx)("h3",{children:"Focuses on thralling and illusions."}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Enthrall"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Thrall cap"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Thrall commune"}),": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Subspace swap"}),": Unlocked at 250 blood, allows you to swap positions with a target."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Pacify"}),": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Decoy"}),": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Rally thralls"}),": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Blood bond"}),": 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."]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("b",{children:"Full Power"}),(0,r.jsx)(i.cG,{}),(0,r.jsx)("b",{children:"Mass Hysteria"}),": Casts a powerful illusion that blinds and then makes everyone nearby perceive others as random animals."]})]})})}},9469:function(e,n,t){"use strict";t.r(n),t.d(n,{StackCraft:()=>d});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=e&&c.push((0,r.jsx)(o.$n,{bold:!0,fontSize:.85,width:"32px",content:e*t.result_amount+"x",onClick:function(){return n("make",{recipe_uid:t.uid,multiplier:e})}}))}()}catch(e){u=!0,d=e}finally{try{s||null==h.return||h.return()}finally{if(u)throw d}}return -1===l.indexOf(i)&&c.push((0,r.jsx)(o.$n,{bold:!0,fontSize:.85,width:"32px",content:i*t.result_amount+"x",onClick:function(){return n("make",{recipe_uid:t.uid,multiplier:i})}})),(0,r.jsx)(r.Fragment,{children:c.map(function(e){return e})})},x=function(e){return Object.entries(e.recipes).map(function(e){var n=u(e,2),t=n[0],i=n[1];return m(i)?(0,r.jsx)(o.Nt,{title:t,child_mt:0,childStyles:{padding:"0.5em",backgroundColor:"rgba(62, 97, 137, 0.15)",border:"1px solid rgba(255, 255, 255, 0.1)",borderTop:"none",borderRadius:"0 0 0.33em 0.33em"},children:(0,r.jsx)(o.az,{p:1,pb:.25,children:(0,r.jsx)(x,{recipes:i})})},t):(0,r.jsx)(g,{title:t,recipe:i},t)})},g=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data.amount,l=e.title,c=e.recipe,s=c.result_amount,u=c.required_amount,d=c.max_result_amount,f=c.uid,h=c.icon,m=c.icon_state,x=c.image,g="".concat(s>1?"".concat(s,"x "):"").concat(l),j="".concat(u," sheet").concat(u>1?"s":""),b=c.required_amount>i?0:Math.floor(i/c.required_amount);return(0,r.jsx)(o.c_,{fluid:!0,base64:x,dmIcon:h,dmIconState:m,imageSize:32,disabled:!b,tooltip:j,buttons:d>1&&b>1&&(0,r.jsx)(p,{recipe:c,max_possible_multiplier:b}),onClick:function(){return t("make",{recipe_uid:f,multiplier:1})},children:g})}},5592:function(e,n,t){"use strict";t.r(n),t.d(n,{StationAlertConsole:()=>a,StationAlertConsoleContent:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(){return(0,r.jsx)(l.p8,{width:325,height:500,children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsx)(c,{})})})},c=function(e){var n=(0,o.Oc)().data.alarms||[],t=n.Fire||[],l=n.Atmosphere||[],a=n.Power||[];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.wn,{title:"Fire Alarms",children:(0,r.jsxs)("ul",{children:[0===t.length&&(0,r.jsx)("li",{className:"color-good",children:"Systems Nominal"}),t.map(function(e){return(0,r.jsx)("li",{className:"color-average",children:e},e)})]})}),(0,r.jsx)(i.wn,{title:"Atmospherics Alarms",children:(0,r.jsxs)("ul",{children:[0===l.length&&(0,r.jsx)("li",{className:"color-good",children:"Systems Nominal"}),l.map(function(e){return(0,r.jsx)("li",{className:"color-average",children:e},e)})]})}),(0,r.jsx)(i.wn,{title:"Power Alarms",children:(0,r.jsxs)("ul",{children:[0===a.length&&(0,r.jsx)("li",{className:"color-good",children:"Systems Nominal"}),a.map(function(e){return(0,r.jsx)("li",{className:"color-average",children:e},e)})]})})]})}},5651:function(e,n,t){"use strict";t.r(n),t.d(n,{StationTraitsPanel:()=>m});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(2864),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0?(0,r.jsx)(l.BJ,{vertical:!0,fill:!0,children:f.map(function(e){return(0,r.jsx)(l.BJ.Item,{children:(0,r.jsxs)(l.BJ,{fill:!0,children:[(0,r.jsx)(l.BJ.Item,{grow:!0,children:e.name}),(0,r.jsx)(l.BJ.Item,{children:(0,r.jsx)(l.$n,{color:"red",icon:"times",onClick:function(){t("setup_future_traits",{station_traits:(0,i.pb)((0,i.Tj)(f,function(e){return e.path}),function(n){return n!==e.path})})},children:"Delete"})})]})},e.path)})}):(0,r.jsxs)(l.az,{textAlign:"center",children:[(0,r.jsx)(l.az,{children:"No station traits will run next round."}),(0,r.jsx)(l.$n,{mt:1,fluid:!0,color:"good",icon:"times",tooltip:"The next round will roll station traits randomly, just like normal",onClick:function(){return t("clear_future_traits")},children:"Run Station Traits Normally"})]}):(0,r.jsxs)(l.az,{textAlign:"center",children:[(0,r.jsx)(l.az,{children:"No future station traits are planned."}),(0,r.jsx)(l.$n,{mt:1,fluid:!0,color:"red",icon:"times",onClick:function(){return t("setup_future_traits",{station_traits:[]})},children:"Prevent station traits from running next round"})]})]})},h=function(e){var n=(0,a.Oc)(),t=n.act,i=n.data;return i.current_traits.length>0?(0,r.jsx)(l.BJ,{vertical:!0,fill:!0,children:i.current_traits.map(function(e){return(0,r.jsx)(l.BJ.Item,{children:(0,r.jsxs)(l.BJ,{fill:!0,children:[(0,r.jsx)(l.BJ.Item,{grow:!0,children:e.name}),(0,r.jsx)(l.BJ.Item,{children:(0,r.jsx)(l.$n.Confirm,{content:"Revert",color:"red",disabled:i.too_late_to_revert||!e.can_revert,tooltip:!e.can_revert&&"This trait is not revertable."||i.too_late_to_revert&&"It's too late to revert station traits, the round has already started.",icon:"times",onClick:function(){return t("revert",{ref:e.ref})}})})]})},e.ref)})}):(0,r.jsx)(l.az,{textAlign:"center",children:"There are no active station traits."})},m=function(e){var n,t=u((0,o.useState)(1),2),i=t[0],a=t[1];switch(i){case 0:n=(0,r.jsx)(f,{});break;case 1:n=(0,r.jsx)(h,{});break;default:throw Error("Unhandled case: ".concat(i))}return(0,r.jsx)(c.p8,{title:"Modify Station Traits",height:350,width:350,children:(0,r.jsx)(c.p8.Content,{scrollable:!0,children:(0,r.jsxs)(l.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(l.BJ.Item,{children:(0,r.jsxs)(l.tU,{children:[(0,r.jsx)(l.tU.Tab,{icon:"eye",selected:1===i,onClick:function(){return a(1)},children:"View"}),(0,r.jsx)(l.tU.Tab,{icon:"edit",selected:0===i,onClick:function(){return a(0)},children:"Edit"})]})}),(0,r.jsxs)(l.BJ.Item,{m:0,children:[(0,r.jsx)(l.cG,{}),n]})]})})})}},5724:function(e,n,t){"use strict";t.r(n),t.d(n,{StripMenu:()=>x});var r=t(8138),i=t(8587),o=t(7790),l=t(8595),a=t(2864),c=t(3384),s=function(e){return 0===e?5:9},u="64px",d=function(e){return"".concat(e[0],"/").concat(e[1])},f=function(e){var n=e.align,t=e.children;return(0,r.jsx)(o.az,{style:{position:"absolute",left:"left"===n?"6px":"48px",textAlign:n,textShadow:"2px 2px 2px #000",top:"2px"},children:t})},h={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"}},m={eyes:{displayName:"eyewear",gridSpot:d([0,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:d([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:d([1,1]),image:"inventory-mask.png"},neck:{displayName:"neck",gridSpot:d([1,0]),image:"inventory-neck.png"},pet_collar:{displayName:"collar",gridSpot:d([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:d([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:d([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:d([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:d([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:d([1,4])},jumpsuit:{displayName:"uniform",gridSpot:d([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:d([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:d([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:d([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,r.jsx)(f,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:d([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,r.jsx)(f,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:d([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:d([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:d([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:d([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:d([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:d([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:d([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:d([4,4]),image:"inventory-pda.png"}},p={eyes:{displayName:"eyewear",gridSpot:d([0,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:d([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:d([1,1]),image:"inventory-mask.png"},neck:{displayName:"neck",gridSpot:d([1,0]),image:"inventory-neck.png"},pet_collar:{displayName:"collar",gridSpot:d([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:d([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:d([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:d([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:d([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:d([1,4])},jumpsuit:{displayName:"uniform",gridSpot:d([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:d([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:d([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:d([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,r.jsx)(f,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:d([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,r.jsx)(f,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:d([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:d([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:d([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:d([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:d([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:d([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:d([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:d([4,8]),image:"inventory-pda.png"}},x=function(e){var n=(0,a.Oc)(),t=n.act,f=n.data,x=new Map;if(0===f.show_mode){var g=!0,j=!1,b=void 0;try{for(var y,v=Object.keys(f.items)[Symbol.iterator]();!(g=(y=v.next()).done);g=!0){var w=y.value;x.set(m[w].gridSpot,w)}}catch(e){j=!0,b=e}finally{try{g||null==v.return||v.return()}finally{if(j)throw b}}}else{var k=!0,_=!1,C=void 0;try{for(var I,S=Object.keys(f.items)[Symbol.iterator]();!(k=(I=S.next()).done);k=!0){var O=I.value;x.set(p[O].gridSpot,O)}}catch(e){_=!0,C=e}finally{try{k||null==S.return||S.return()}finally{if(_)throw C}}}return 0===x.size?(0,r.jsx)(c.p8,{title:"Stripping ".concat(f.name),width:64*s(f.show_mode)+6*(s(f.show_mode)+1),height:390,theme:"nologo",children:(0,r.jsx)(c.p8.Content,{style:{backgroundColor:"rgba(0, 0, 0, 0.5)"},children:(0,r.jsx)(o.BJ,{fill:!0,children:(0,r.jsx)(o.BJ.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:"No slots"})})})}):(0,r.jsx)(c.p8,{title:"Stripping ".concat(f.name),width:64*s(f.show_mode)+6*(s(f.show_mode)+1),height:390,theme:"nologo",children:(0,r.jsx)(c.p8.Content,{style:{backgroundColor:"rgba(0, 0, 0, 0.5)"},children:(0,r.jsx)(o.BJ,{fill:!0,vertical:!0,children:(0,i.y1)(0,5).map(function(e){return(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.BJ,{fill:!0,children:(0,i.y1)(0,s(f.show_mode)).map(function(n){var i,a,c,s=d([e,n]),p=x.get(s);if(!p)return(0,r.jsx)(o.BJ.Item,{style:{width:u,height:u}},s);var g=f.items[p],j=m[p];return null===g?c=j.displayName:"name"in g?(a=(0,r.jsx)(o._V,{src:"data:image/jpeg;base64,".concat(g.icon),height:"100%",width:"100%",style:{imageRendering:"pixelated",verticalAlign:"middle"}}),c=g.name):"obscured"in g&&(a=(0,r.jsx)(o.In,{name:1===g.obscured?"ban":"eye-slash",size:3,ml:0,mt:2.5,color:"white",style:{textAlign:"center",height:"100%",width:"100%"}}),c="obscured ".concat(j.displayName)),null!==g&&"alternates"in g&&null!==g.alternates&&(i=g.alternates),(0,r.jsx)(o.BJ.Item,{style:{width:u,height:u},children:(0,r.jsxs)(o.az,{style:{position:"relative",width:"100%",height:"100%"},children:[(0,r.jsxs)(o.$n,{onClick:function(){t("use",{key:p})},fluid:!0,color:(null==g?void 0:g.interacting)?"average":null,tooltip:c,style:{position:"relative",width:"100%",height:"100%",padding:0,backgroundColor:(null==g?void 0:g.cantstrip)?"transparent":"none"},children:[j.image&&(0,r.jsx)(o._V,{src:(0,l.l)(j.image),opacity:.7,style:{position:"absolute",width:"32px",height:"32px",left:"50%",top:"50%",transform:"translateX(-50%) translateY(-50%) scale(2)"}}),(0,r.jsx)(o.az,{style:{position:"relative"},children:a}),j.additionalComponent]}),(0,r.jsx)(o.BJ,{direction:"row-reverse",children:void 0!==i&&i.map(function(e,n){var i=1.8*n;return(0,r.jsx)(o.BJ.Item,{width:"100%",children:(0,r.jsx)(o.$n,{onClick:function(){t("alt",{key:p,action_key:e})},tooltip:h[e].text,width:"1.8em",style:{background:"rgba(0, 0, 0, 0.6)",position:"absolute",bottom:0,right:"".concat(i,"em"),zIndex:2+n},children:(0,r.jsx)(o.In,{name:h[e].icon})})},n)})})]})},s)})})},e)})})})})}},2975:function(e,n,t){"use strict";t.r(n),t.d(n,{SuitStorage:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)().data.uv;return(0,r.jsx)(l.p8,{width:400,height:260,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[!!n&&(0,r.jsx)(i.Rr,{backgroundColor:"black",opacity:.85,children:(0,r.jsx)(i.BJ,{children:(0,r.jsxs)(i.BJ.Item,{bold:!0,textAlign:"center",mb:1,children:[(0,r.jsx)(i.In,{name:"spinner",spin:1,size:4,mb:4}),(0,r.jsx)("br",{}),"Disinfection of contents in progress..."]})})}),(0,r.jsx)(c,{}),(0,r.jsx)(u,{})]})})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.helmet,c=l.suit,u=l.magboots,d=l.mask,f=l.storage,h=l.open,m=l.locked;return(0,r.jsx)(i.wn,{fill:!0,title:"Stored Items",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:"Start Disinfection Cycle",icon:"radiation",textAlign:"center",onClick:function(){return t("cook")}}),(0,r.jsx)(i.$n,{content:m?"Unlock":"Lock",icon:m?"unlock":"lock",disabled:h,onClick:function(){return t("toggle_lock")}})]}),children:h&&!m?(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(s,{object:a,label:"Helmet",missingText:"helmet",eject:"dispense_helmet"}),(0,r.jsx)(s,{object:c,label:"Suit",missingText:"suit",eject:"dispense_suit"}),(0,r.jsx)(s,{object:u,label:"Boots",missingText:"boots",eject:"dispense_boots"}),(0,r.jsx)(s,{object:d,label:"Breathmask",missingText:"mask",eject:"dispense_mask"}),(0,r.jsx)(s,{object:f,label:"Storage",missingText:"storage item",eject:"dispense_storage"})]}):(0,r.jsx)(i.BJ,{fill:!0,children:(0,r.jsxs)(i.BJ.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,r.jsx)(i.In,{name:m?"lock":"exclamation-circle",size:"5",mb:3}),(0,r.jsx)("br",{}),m?"The unit is locked.":"The unit is closed."]})})})},s=function(e){var n=(0,o.Oc)(),t=n.act;n.data;var l=e.object,a=e.label,c=e.missingText,s=e.eject;return(0,r.jsx)(i.Ki.Item,{label:a,children:(0,r.jsx)(i.az,{my:.5,children:l?(0,r.jsx)(i.$n,{my:-1,icon:"eject",content:l,onClick:function(){return t(s)}}):(0,r.jsxs)(i.az,{color:"silver",bold:!0,children:["No ",c," found."]})})})},u=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.open,c=l.locked;return(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.$n,{fluid:!0,content:a?"Close Suit Storage Unit":"Open Suit Storage Unit",icon:a?"times-circle":"expand",color:a?"red":"green",disabled:c,textAlign:"center",onClick:function(){return t("toggle_open")}})})}},4835:function(e,n,t){"use strict";t.r(n),t.d(n,{SupermatterMonitor:()=>u});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(421),c=t(3384);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=.01}).sort(function(e,n){return n.amount-e.amount}),k=(n=Math).max.apply(n,[1].concat(function(e){if(Array.isArray(e))return s(e)}(e=w.map(function(e){return e.portion}))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return s(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return s(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));return(0,r.jsx)(c.p8,{width:550,height:270,children:(0,r.jsx)(c.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{width:"270px",children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Metrics",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Integrity",children:(0,r.jsx)(i.z2,{value:h/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,r.jsx)(i.Ki.Item,{label:"Peak EER",children:(0,r.jsx)(i.z2,{value:p,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.Mg)(p)+" MeV/cm3"})}),(0,r.jsx)(i.Ki.Item,{label:"Nominal EER",children:(0,r.jsx)(i.z2,{value:m,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.Mg)(m)+" MeV/cm3"})}),(0,r.jsx)(i.Ki.Item,{label:"Gas Coefficient",children:(0,r.jsx)(i.z2,{value:b,minValue:1,maxValue:5.25,ranges:{bad:[1,1.55],average:[1.55,5.25],good:[5.25,1/0]},children:b.toFixed(2)})}),(0,r.jsx)(i.Ki.Item,{label:"Temperature",children:(0,r.jsx)(i.z2,{value:d(x),minValue:0,maxValue:d(1e4),ranges:{teal:[-1/0,d(80)],good:[d(80),d(373)],average:[d(373),d(1e3)],bad:[d(1e3),1/0]},children:(0,o.Mg)(x)+" K"})}),(0,r.jsx)(i.Ki.Item,{label:"Mole Per Tile",children:(0,r.jsx)(i.z2,{value:j,minValue:0,maxValue:12e3,ranges:{teal:[-1/0,100],average:[100,11333],good:[11333,12e3],bad:[12e3,1/0]},children:(0,o.Mg)(j)+" mol"})}),(0,r.jsx)(i.Ki.Item,{label:"Pressure",children:(0,r.jsx)(i.z2,{value:d(g),minValue:0,maxValue:d(5e4),ranges:{good:[d(1),d(300)],average:[-1/0,d(1e3)],bad:[d(1e3),1/0]},children:(0,o.Mg)(g)+" kPa"})})]})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,basis:0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,r.jsx)(i.$n,{icon:"arrow-left",content:"Back",onClick:function(){return u("back")}}),children:(0,r.jsx)(i.Ki,{children:w.map(function(e){return(0,r.jsx)(i.Ki.Item,{label:(0,a.wM)(e.name,e.name),children:(0,r.jsx)(i.z2,{color:(0,a.b_)(e.name),value:e.portion,minValue:0,maxValue:k,children:(0,o.Mg)(e.amount)+" mol ("+e.portion+"%)"})},e.name)})})})})]})})})}},2266:function(e,n,t){"use strict";t.r(n),t.d(n,{SyndicateComputerSimple:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data;return(0,r.jsx)(l.p8,{theme:"syndicate",width:400,height:400,children:(0,r.jsx)(l.p8.Content,{children:a.rows.map(function(e){return(0,r.jsxs)(i.wn,{title:e.title,buttons:(0,r.jsx)(i.$n,{content:e.buttontitle,disabled:e.buttondisabled,tooltip:e.buttontooltip,tooltipPosition:"left",onClick:function(){return t(e.buttonact)}}),children:[e.status,!!e.bullets&&(0,r.jsx)(i.az,{children:e.bullets.map(function(e){return(0,r.jsx)(i.az,{children:e},e)})})]},e.title)})})})}},8073:function(e,n,t){"use strict";t.r(n),t.d(n,{TEG:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){return e.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},c=function(e){var n=(0,o.Oc)(),t=n.act,c=n.data;return c.error?(0,r.jsx)(l.p8,{width:500,height:400,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{title:"Error",children:[c.error,(0,r.jsx)(i.$n,{icon:"circle",content:"Recheck",onClick:function(){return t("check")}})]})})}):(0,r.jsx)(l.p8,{width:500,height:400,children:(0,r.jsxs)(l.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Cold Loop ("+c.cold_dir+")",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Cold Inlet",children:[a(c.cold_inlet_temp)," K, ",a(c.cold_inlet_pressure)," kPa"]}),(0,r.jsxs)(i.Ki.Item,{label:"Cold Outlet",children:[a(c.cold_outlet_temp)," K, ",a(c.cold_outlet_pressure)," kPa"]})]})}),(0,r.jsx)(i.wn,{title:"Hot Loop ("+c.hot_dir+")",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Hot Inlet",children:[a(c.hot_inlet_temp)," K, ",a(c.hot_inlet_pressure)," kPa"]}),(0,r.jsxs)(i.Ki.Item,{label:"Hot Outlet",children:[a(c.hot_outlet_temp)," K, ",a(c.hot_outlet_pressure)," kPa"]})]})}),(0,r.jsxs)(i.wn,{title:"Power Output",children:[a(c.output_power)," W",!!c.warning_switched&&(0,r.jsx)(i.az,{color:"red",children:"Warning: Cold inlet temperature exceeds hot inlet temperature."}),!!c.warning_cold_pressure&&(0,r.jsx)(i.az,{color:"red",children:"Warning: Cold circulator inlet pressure is under 1,000 kPa."}),!!c.warning_hot_pressure&&(0,r.jsx)(i.az,{color:"red",children:"Warning: Hot circulator inlet pressure is under 1,000 kPa."})]})]})})}},5808:function(e,n,t){"use strict";t.r(n),t.d(n,{TachyonArray:()=>a,TachyonArrayContent:()=>c});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,s=a.records,u=void 0===s?[]:s,d=a.explosion_target,f=a.toxins_tech,h=a.printing;return(0,r.jsx)(l.p8,{width:500,height:600,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Shift's Target",children:d}),(0,r.jsx)(i.Ki.Item,{label:"Current Toxins Level",children:f}),(0,r.jsxs)(i.Ki.Item,{label:"Administration",children:[(0,r.jsx)(i.$n,{icon:"print",content:"Print All Logs",disabled:!u.length||h,align:"center",onClick:function(){return t("print_logs")}}),(0,r.jsx)(i.$n.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!u.length,color:"bad",align:"center",onClick:function(){return t("delete_logs")}})]})]})}),u.length?(0,r.jsx)(c,{}):(0,r.jsx)(i.IC,{children:"No Records"})]})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.records;return(0,r.jsx)(i.wn,{title:"Logged Explosions",children:(0,r.jsx)(i.so,{children:(0,r.jsx)(i.so.Item,{children:(0,r.jsxs)(i.XI,{m:"0.5rem",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Time"}),(0,r.jsx)(i.XI.Cell,{children:"Epicenter"}),(0,r.jsx)(i.XI.Cell,{children:"Actual Size"}),(0,r.jsx)(i.XI.Cell,{children:"Theoretical Size"})]}),(void 0===l?[]:l).map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.logged_time}),(0,r.jsx)(i.XI.Cell,{children:e.epicenter}),(0,r.jsx)(i.XI.Cell,{children:e.actual_size_message}),(0,r.jsx)(i.XI.Cell,{children:e.theoretical_size_message}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){return t("delete_record",{index:e.index})}})})]},e.index)})]})})})})}},5125:function(e,n,t){"use strict";t.r(n),t.d(n,{Tank:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n,t=(0,o.Oc)(),a=t.act,c=t.data;return n=c.has_mask?(0,r.jsx)(i.Ki.Item,{label:"Mask",children:(0,r.jsx)(i.$n,{fluid:!0,width:"76%",icon:c.connected?"check":"times",content:c.connected?"Internals On":"Internals Off",selected:c.connected,onClick:function(){return a("internals")}})}):(0,r.jsx)(i.Ki.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,r.jsx)(l.p8,{width:325,height:135,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Tank Pressure",children:(0,r.jsx)(i.z2,{value:c.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:c.tankPressure+" kPa"})}),(0,r.jsxs)(i.Ki.Item,{label:"Release Pressure",children:[(0,r.jsx)(i.$n,{icon:"fast-backward",disabled:c.ReleasePressure===c.minReleasePressure,tooltip:"Min",onClick:function(){return a("pressure",{pressure:"min"})}}),(0,r.jsx)(i.Q7,{animated:!0,value:parseFloat(c.releasePressure),width:"65px",unit:"kPa",minValue:c.minReleasePressure,maxValue:c.maxReleasePressure,onChange:function(e){return a("pressure",{pressure:e})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",disabled:c.ReleasePressure===c.maxReleasePressure,tooltip:"Max",onClick:function(){return a("pressure",{pressure:"max"})}}),(0,r.jsx)(i.$n,{icon:"undo",content:"",disabled:c.ReleasePressure===c.defaultReleasePressure,tooltip:"Reset",onClick:function(){return a("pressure",{pressure:"reset"})}})]}),n]})})})})}},7112:function(e,n,t){"use strict";t.r(n),t.d(n,{TankDispenser:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.o_tanks,s=a.p_tanks;return(0,r.jsx)(l.p8,{width:250,height:105,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{children:[(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{fluid:!0,content:"Dispense Oxygen Tank ("+c+")",disabled:0===c,icon:"arrow-circle-down",onClick:function(){return t("oxygen")}})}),(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{mt:1,fluid:!0,content:"Dispense Plasma Tank ("+s+")",disabled:0===s,icon:"arrow-circle-down",onClick:function(){return t("plasma")}})})]})})})}},3283:function(e,n,t){"use strict";t.r(n),t.d(n,{TcommsCore:()=>s});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,u=a.linked,d=a.active,f=a.network_id;return(0,r.jsx)(l.p8,{width:600,height:292,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(i.wn,{title:"Relay Configuration",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Machine Power",children:(0,r.jsx)(i.$n,{content:d?"On":"Off",selected:d,icon:"power-off",onClick:function(){return t("toggle_active")}})}),(0,r.jsx)(i.Ki.Item,{label:"Network ID",children:(0,r.jsx)(i.$n,{content:f||"Unset",selected:f,icon:"server",onClick:function(){return t("network_id")}})}),(0,r.jsx)(i.Ki.Item,{label:"Link Status",children:1===u?(0,r.jsx)(i.az,{color:"green",children:"Linked"}):(0,r.jsx)(i.az,{color:"red",children:"Unlinked"})})]})}),1===u?(0,r.jsx)(c,{}):(0,r.jsx)(s,{})]})})},c=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.linked_core_id,c=l.linked_core_addr,s=l.hidden_link;return(0,r.jsx)(i.wn,{title:"Link Status",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Linked Core ID",children:a}),(0,r.jsx)(i.Ki.Item,{label:"Linked Core Address",children:c}),(0,r.jsx)(i.Ki.Item,{label:"Hidden Link",children:(0,r.jsx)(i.$n,{content:s?"Yes":"No",icon:s?"eye-slash":"eye",selected:s,onClick:function(){return t("toggle_hidden_link")}})}),(0,r.jsx)(i.Ki.Item,{label:"Unlink",children:(0,r.jsx)(i.$n,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){return t("unlink")}})})]})})},s=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.cores;return(0,r.jsx)(i.wn,{title:"Detected Cores",children:(0,r.jsxs)(i.XI,{m:"0.5rem",children:[(0,r.jsxs)(i.XI.Row,{header:!0,children:[(0,r.jsx)(i.XI.Cell,{children:"Network Address"}),(0,r.jsx)(i.XI.Cell,{children:"Network ID"}),(0,r.jsx)(i.XI.Cell,{children:"Sector"}),(0,r.jsx)(i.XI.Cell,{children:"Link"})]}),l.map(function(e){return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{children:e.addr}),(0,r.jsx)(i.XI.Cell,{children:e.net_id}),(0,r.jsx)(i.XI.Cell,{children:e.sector}),(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(i.$n,{content:"Link",icon:"link",onClick:function(){return t("link",{addr:e.addr})}})})]},e.addr)})]})})}},5605:function(e,n,t){"use strict";t.r(n),t.d(n,{Teleporter:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.targetsTeleport?a.targetsTeleport:{},s=a.calibrated,u=a.calibrating,d=a.powerstation,f=a.regime,h=a.teleporterhub,m=a.target,p=a.locked,x=a.adv_beacon_allowed,g=a.advanced_beacon_locking;return(0,r.jsx)(l.p8,{width:350,height:325,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsx)(i.BJ,{fill:!0,vertical:!0,children:(0,r.jsxs)(i.BJ.Item,{grow:!0,children:[(!d||!h)&&(0,r.jsxs)(i.wn,{fill:!0,title:"Error",children:[h,!d&&(0,r.jsx)(i.az,{color:"bad",children:" Powerstation not linked "}),d&&!h&&(0,r.jsx)(i.az,{color:"bad",children:" Teleporter hub not linked "})]}),d&&h&&(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:"Status",buttons:(0,r.jsx)(r.Fragment,{children:!!x&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.az,{inline:!0,color:"label",children:"Advanced Beacon Locking:\xa0"}),(0,r.jsx)(i.$n,{selected:g,icon:g?"toggle-on":"toggle-off",content:g?"Enabled":"Disabled",onClick:function(){return t("advanced_beacon_locking",{on:+!g})}})]})}),children:[(0,r.jsxs)(i.BJ,{mb:1,children:[(0,r.jsx)(i.BJ.Item,{width:8.5,color:"label",children:"Teleport target:"}),(0,r.jsxs)(i.BJ.Item,{children:[0===f&&(0,r.jsx)(i.ms,{width:18.2,selected:m,disabled:u,options:Object.keys(c),color:"None"!==m?"default":"bad",onSelected:function(e){return t("settarget",{x:c[e].x,y:c[e].y,z:c[e].z,tptarget:c[e].pretarget})}}),1===f&&(0,r.jsx)(i.ms,{width:18.2,selected:m,disabled:u,options:Object.keys(c),color:"None"!==m?"default":"bad",onSelected:function(e){return t("settarget",{x:c[e].x,y:c[e].y,z:c[e].z,tptarget:c[e].pretarget})}}),2===f&&(0,r.jsx)(i.az,{children:m})]})]}),(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{width:8.5,color:"label",children:"Regime:"}),(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsx)(i.$n,{fluid:!0,content:"Gate",tooltip:"Teleport to another teleport hub.",tooltipPosition:"top",color:1===f?"good":null,onClick:function(){return t("setregime",{regime:1})}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsx)(i.$n,{fluid:!0,content:"Teleporter",tooltip:"One-way teleport.",tooltipPosition:"top",color:0===f?"good":null,onClick:function(){return t("setregime",{regime:0})}})}),(0,r.jsx)(i.BJ.Item,{grow:!0,textAlign:"center",children:(0,r.jsx)(i.$n,{fluid:!0,content:"GPS",tooltip:"Teleport to a location stored in a GPS device.",tooltipPosition:"top-end",color:2===f?"good":null,disabled:!p,onClick:function(){return t("setregime",{regime:2})}})})]}),(0,r.jsxs)(i.BJ,{label:"Calibration",mt:1,children:[(0,r.jsx)(i.BJ.Item,{width:8.5,color:"label",children:"Calibration:"}),(0,r.jsxs)(i.BJ.Item,{children:["None"!==m&&(0,r.jsxs)(i.BJ,{fill:!0,children:[(0,r.jsx)(i.BJ.Item,{width:15.8,textAlign:"center",mt:.5,children:u&&(0,r.jsx)(i.az,{color:"average",children:"In Progress"})||s&&(0,r.jsx)(i.az,{color:"good",children:"Optimal"})||(0,r.jsx)(i.az,{color:"bad",children:"Sub-Optimal"})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.$n,{icon:"sync-alt",tooltip:"Calibrates the hub. \\ Accidents may occur when the \\ calibration is not optimal.",tooltipPosition:"bottom-end",disabled:!!s||!!u,onClick:function(){return t("calibrate")}})})]}),"None"===m&&(0,r.jsx)(i.az,{lineHeight:"21px",children:"No target set"})]})]})]}),!!(p&&d&&h&&2===f)&&(0,r.jsx)(i.wn,{title:"GPS",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.$n,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){return t("load")}}),(0,r.jsx)(i.$n,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){return t("eject")}})]})})]})})})})}},8336:function(e,n,t){"use strict";t.r(n),t.d(n,{TelescienceConsole:()=>s});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0)||(0,r.jsx)("ul",{children:m.map(function(e){return(0,r.jsx)("li",{children:e},e)})})]})}),(0,r.jsx)(o.wn,{title:"Telepad Status",children:1===f?(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Current Bearing",children:(0,r.jsxs)(o.az,{inline:!0,position:"relative",children:[(0,r.jsx)(o.Q7,{unit:"\xb0",width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:360,disabled:v,value:j,onChange:function(e){C(e),s("setbear",{bear:e})}}),(0,r.jsx)(o.In,{ml:1,size:1,name:"arrow-up",rotation:_})]})}),(0,r.jsx)(o.Ki.Item,{label:"Current Elevation",children:(0,r.jsx)(o.Q7,{width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:100,disabled:v,value:b,onChange:function(e){return s("setelev",{elev:e})}})}),(0,r.jsx)(o.Ki.Item,{label:"Power Level",children:p.map(function(e,n){return(0,r.jsx)(o.$n,{content:e,selected:g===e,disabled:n>=x-1||v,onClick:function(){return s("setpwr",{pwr:n+1})}},e)})}),(0,r.jsx)(o.Ki.Item,{label:"Target Sector",children:(0,r.jsx)(o.Q7,{width:6.1,lineHeight:1.5,step:1,minValue:2,maxValue:w,value:y,disabled:v,onChange:function(e){return s("setz",{newz:e})}})}),(0,r.jsxs)(o.Ki.Item,{label:"Telepad Actions",children:[(0,r.jsx)(o.$n,{content:"Send",disabled:v,onClick:function(){return s("pad_send")}}),(0,r.jsx)(o.$n,{content:"Receive",disabled:v,onClick:function(){return s("pad_receive")}})]}),(0,r.jsxs)(o.Ki.Item,{label:"Crystal Maintenance",children:[(0,r.jsx)(o.$n,{content:"Recalibrate Crystals",disabled:v,onClick:function(){return s("recal_crystals")}}),(0,r.jsx)(o.$n,{content:"Eject Crystals",disabled:v,onClick:function(){return s("eject_crystals")}})]})]}):(0,r.jsx)(r.Fragment,{children:"No pad linked to console. Please use a multitool to link a pad."})}),(0,r.jsx)(o.wn,{title:"GPS Actions",children:1===h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.$n,{disabled:0===h||v,content:"Eject GPS",onClick:function(){return s("eject_gps")}}),(0,r.jsx)(o.$n,{disabled:0===h||v,content:"Store Coordinates",onClick:function(){return s("store_to_gps")}})]}):(0,r.jsx)(r.Fragment,{children:"Please insert a GPS to store coordinates to it."})})]})})}},1745:function(e,n,t){"use strict";t.r(n),t.d(n,{TempGun:()=>c});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data,f=c.target_temperature,h=c.temperature,m=c.max_temp,p=c.min_temp;return(0,r.jsx)(a.p8,{width:250,height:121,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Target Temperature",children:[(0,r.jsx)(i.Q7,{animate:!0,step:10,stepPixelSize:6,minValue:p,maxValue:m,value:f,format:function(e){return(0,o.Mg)(e,2)},width:"50px",onChange:function(e){return t("target_temperature",{target_temperature:e})}}),"\xb0C"]}),(0,r.jsx)(i.Ki.Item,{label:"Current Temperature",children:(0,r.jsxs)(i.az,{color:s(h),bold:h>500-273.15,children:[(0,r.jsx)(i.zv,{value:(0,o.LI)(h,2)}),"\xb0C"]})}),(0,r.jsx)(i.Ki.Item,{label:"Power Cost",children:(0,r.jsx)(i.az,{color:d(h),children:u(h)})})]})})})})},s=function(e){return e<=-100?"blue":e<=0?"teal":e<=100?"green":e<=200?"orange":"red"},u=function(e){return e<=100-273.15?"High":e<=250-273.15?"Medium":e<=300-273.15?"Low":e<=400-273.15?"Medium":"High"},d=function(e){return e<=100-273.15?"red":e<=250-273.15?"orange":e<=300-273.15?"green":e<=400-273.15?"orange":"red"}},4273:function(e,n,t){"use strict";t.r(n),t.d(n,{TextInputModal:()=>m,removeAllSkiplines:()=>h,sanitizeMultiline:()=>f});var r=t(8138),i=t(4530),o=t(7790),l=t(925),a=t(2864),c=t(3384),s=t(1942),u=t(9472);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=30,O=135+(b.length>30?Math.ceil(b.length/4):0)+75*!!S+(b.length&&x?5:0);return(0,r.jsxs)(c.p8,{title:k,width:325,height:O,children:[w&&(0,r.jsx)(u.Loader,{value:w}),(0,r.jsx)(c.p8.Content,{onKeyDown:function(e){e.key!==l._.Enter||S&&e.shiftKey||m("submit",{entry:C}),(0,l.KL)(e.key)&&m("cancel")},children:(0,r.jsx)(o.wn,{fill:!0,children:(0,r.jsxs)(o.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.az,{color:"label",children:b})}),(0,r.jsx)(o.BJ.Item,{grow:!0,children:(0,r.jsx)(o.fs,{autoFocus:!0,autoSelect:!0,fluid:!0,height:y||C.length>=30?"100%":"1.8rem",maxLength:g,onEscape:function(){return m("cancel")},onChange:function(e){e!==C&&I(y?f(e):h(e))},placeholder:"Type something...",value:C})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(s.InputButtons,{input:C,message:"".concat(C.length,"/").concat(g||"∞")})})]})})})]})}},9449:function(e,n,t){"use strict";t.r(n),t.d(n,{ThermoMachine:()=>c});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data;return(0,r.jsx)(a.p8,{width:300,height:225,children:(0,r.jsxs)(a.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Status",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Temperature",children:[(0,r.jsx)(i.zv,{value:c.temperature,format:function(e){return(0,o.Mg)(e,2)}})," K"]}),(0,r.jsxs)(i.Ki.Item,{label:"Pressure",children:[(0,r.jsx)(i.zv,{value:c.pressure,format:function(e){return(0,o.Mg)(e,2)}})," kPa"]})]})}),(0,r.jsx)(i.wn,{title:"Controls",buttons:(0,r.jsx)(i.$n,{icon:c.on?"power-off":"times",content:c.on?"On":"Off",selected:c.on,onClick:function(){return t("power")}}),children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Setting",textAlign:"center",children:(0,r.jsx)(i.$n,{fluid:!0,icon:c.cooling?"temperature-low":"temperature-high",content:c.cooling?"Cooling":"Heating",selected:c.cooling,onClick:function(){return t("cooling")}})}),(0,r.jsxs)(i.Ki.Item,{label:"Target Temperature",children:[(0,r.jsx)(i.$n,{icon:"fast-backward",disabled:c.target===c.min,title:"Minimum temperature",onClick:function(){return t("target",{target:c.min})}}),(0,r.jsx)(i.Q7,{animated:!0,value:Math.round(c.target),unit:"K",width:5.4,lineHeight:1.4,minValue:Math.round(c.min),maxValue:Math.round(c.max),step:5,stepPixelSize:3,onChange:function(e){return t("target",{target:e})}}),(0,r.jsx)(i.$n,{icon:"fast-forward",disabled:c.target===c.max,title:"Maximum Temperature",onClick:function(){return t("target",{target:c.max})}}),(0,r.jsx)(i.$n,{icon:"sync",disabled:c.target===c.initial,title:"Room Temperature",onClick:function(){return t("target",{target:c.initial})}})]})]})})]})})}},1760:function(e,n,t){"use strict";t.r(n),t.d(n,{TransferValve:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.tank_one,s=a.tank_two,u=a.attached_device,d=a.valve;return(0,r.jsx)(l.p8,{width:460,height:285,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsx)(i.wn,{children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Valve Status",children:(0,r.jsx)(i.$n,{icon:d?"unlock":"lock",content:d?"Open":"Closed",disabled:!c||!s,onClick:function(){return t("toggle")}})})})}),(0,r.jsx)(i.wn,{title:"Assembly",buttons:(0,r.jsx)(i.$n,{icon:"cog",content:"Configure Assembly",disabled:!u,onClick:function(){return t("device")}}),children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Attachment",children:u?(0,r.jsx)(i.$n,{icon:"eject",content:u,disabled:!u,onClick:function(){return t("remove_device")}}):(0,r.jsx)(i.az,{color:"average",children:"No Assembly"})})})}),(0,r.jsx)(i.wn,{title:"Attachment One",children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Attachment",children:c?(0,r.jsx)(i.$n,{icon:"eject",content:c,disabled:!c,onClick:function(){return t("tankone")}}):(0,r.jsx)(i.az,{color:"average",children:"No Tank"})})})}),(0,r.jsx)(i.wn,{title:"Attachment Two",children:(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Attachment",children:s?(0,r.jsx)(i.$n,{icon:"eject",content:s,disabled:!s,onClick:function(){return t("tanktwo")}}):(0,r.jsx)(i.az,{color:"average",children:"No Tank"})})})})]})})}},6971:function(e,n,t){"use strict";t.r(n),t.d(n,{TurbineComputer:()=>s});var r=t(8138),i=t(7790),o=t(9582),l=t(6859),a=t(2864),c=t(3384),s=function(e){var n=(0,a.Oc)(),t=n.act,o=n.data,l=o.compressor,s=o.compressor_broken,f=o.turbine,h=o.turbine_broken,m=o.online,p=o.throttle,x=(o.preBurnTemperature,o.bearingDamage),g=!!(l&&!s&&f&&!h);return(0,r.jsx)(c.p8,{width:400,height:415,children:(0,r.jsxs)(c.p8.Content,{children:[(0,r.jsx)(i.wn,{title:"Status",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{icon:m?"power-off":"times",content:m?"Online":"Offline",selected:m,disabled:!g,onClick:function(){return t("toggle_power")}}),(0,r.jsx)(i.$n,{icon:"times",content:"Disconnect",onClick:function(){return t("disconnect")}})]}),children:g?(0,r.jsx)(d,{}):(0,r.jsx)(u,{})}),x>=100?(0,r.jsx)(i.BJ,{mb:"30px",fontsize:"256px",children:(0,r.jsx)(i.BJ.Item,{bold:!0,color:"red",fontsize:"256px",textAlign:"center",children:"Bearings Inoperable, Repair Required"})}):(0,r.jsx)(i.wn,{title:"Throttle",children:g?(0,r.jsx)(i.N6,{size:3,value:p,unit:"%",minValue:0,maxValue:100,step:1,stepPixelSize:1,tickWhileDragging:!0,onChange:function(e,n){return t("set_throttle",{throttle:n})}}):""})]})})},u=function(e){var n=(0,a.Oc)().data,t=n.compressor,o=n.compressor_broken,l=n.turbine,c=n.turbine_broken;return n.online,(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Compressor Status",color:!t||o?"bad":"good",children:o?t?"Offline":"Missing":"Online"}),(0,r.jsx)(i.Ki.Item,{label:"Turbine Status",color:!l||c?"bad":"good",children:c?l?"Offline":"Missing":"Online"})]})},d=function(e){var n=(0,a.Oc)().data,t=n.rpm,c=n.temperature,s=n.power,u=n.bearingDamage,d=n.preBurnTemperature,f=n.postBurnTemperature,h=n.thermalEfficiency,m=n.compressionRatio,p=n.gasThroughput;return(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Turbine Speed",children:[(0,l.Mg)(t,2)," RPM"]}),(0,r.jsxs)(i.Ki.Item,{label:"Effective Compression Ratio",children:[(0,l.Mg)(m,2),":1"]}),(0,r.jsxs)(i.Ki.Item,{label:"Gasmix Pre Burn Temp",children:[(0,l.Mg)(d,2)," K"]}),(0,r.jsxs)(i.Ki.Item,{label:"Gasmix Post Burn Temp",children:[(0,l.Mg)(f,2)," K"]}),(0,r.jsxs)(i.Ki.Item,{label:"Compressor Temp",children:[(0,l.Mg)(c,2)," K"]}),(0,r.jsxs)(i.Ki.Item,{label:"Thermal Efficiency",children:[(0,l.Mg)(100*h,2)," %"]}),(0,r.jsxs)(i.Ki.Item,{label:"Gas Throughput",children:[(0,l.Mg)(p,2)," mol/s"]}),(0,r.jsx)(i.Ki.Item,{label:"Generated Power",children:(0,o.d5)(s)}),(0,r.jsx)(i.Ki.Item,{label:"Bearing Damage",children:(0,r.jsx)(i.z2,{value:u,minValue:0,maxValue:100,ranges:{good:[-1/0,60],average:[60,90],bad:[90,1/0]},children:(0,l.Mg)(u)+"%"})})]})}},8380:function(e,n,t){"use strict";t.r(n),t.d(n,{Uplink:()=>m});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(3268),c=t(2864),s=t(3384),u=t(4744);function d(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"";if(e=(0,i.pb)(e,function(e){return!!e.name}),n){var t=(0,a.XZ)(n,function(e){var n="".concat(e.name,"|").concat(e.desc,"|").concat(e.cost,"tc");return e.hijack_only&&(n+="|hijack"),n});e=(0,i.pb)(e,function(e){return t(e)})}return(0,i.Ul)(e,function(e){return e.name})},v=function(e){if(b(e),""===e)return p(d[0].items);p(y(d.map(function(e){return e.items}).flat(),e))},w=f((0,o.useState)(1),2),k=w[0],_=w[1];return(0,r.jsxs)(l.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(l.BJ,{vertical:!0,children:(0,r.jsx)(l.BJ.Item,{children:(0,r.jsx)(l.wn,{title:"Current Balance: "+u+"TC",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.$n.Checkbox,{content:"Show Descriptions",checked:k,onClick:function(){return _(!k)}}),(0,r.jsx)(l.$n,{content:"Random Item",icon:"question",onClick:function(){return t("buyRandom")}}),(0,r.jsx)(l.$n,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){return t("refund")}})]}),children:(0,r.jsx)(l.pd,{fluid:!0,placeholder:"Search Equipment",value:g,onChange:function(e){v(e)}})})})}),(0,r.jsxs)(l.BJ,{fill:!0,mt:.3,children:[(0,r.jsx)(l.BJ.Item,{width:"30%",children:(0,r.jsx)(l.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(l.tU,{vertical:!0,children:d.map(function(e){return(0,r.jsx)(l.tU.Tab,{selected:""===g&&e.items===m,onClick:function(){p(e.items),b("")},children:e.cat},e.cat)})})})}),(0,r.jsx)(l.BJ.Item,{grow:!0,children:(0,r.jsx)(l.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(l.BJ,{vertical:!0,children:m.map(function(e){return(0,r.jsx)(l.BJ.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,r.jsx)(j,{i:e,showDecription:k},(0,a.jT)(e.name))},(0,a.jT)(e.name))})})})})]})]})},x=function(e){var n=(0,c.Oc)(),t=n.act,i=n.data,s=i.cart,u=i.crystals,d=i.cart_price,h=f((0,o.useState)(0),2),m=h[0],p=h[1];return(0,r.jsxs)(l.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(l.BJ.Item,{grow:!0,children:(0,r.jsx)(l.wn,{fill:!0,scrollable:!0,title:"Current Balance: "+u+"TC",buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.$n.Checkbox,{content:"Show Descriptions",checked:m,onClick:function(){return p(!m)}}),(0,r.jsx)(l.$n,{content:"Empty Cart",icon:"trash",onClick:function(){return t("empty_cart")},disabled:!s}),(0,r.jsx)(l.$n,{content:"Purchase Cart ("+d+"TC)",icon:"shopping-cart",onClick:function(){return t("purchase_cart")},disabled:!s||d>u})]}),children:(0,r.jsx)(l.BJ,{vertical:!0,children:s?s.map(function(e){return(0,r.jsx)(l.BJ.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,r.jsx)(j,{i:e,showDecription:m,buttons:(0,r.jsx)(y,{i:e})})},(0,a.jT)(e.name))}):(0,r.jsx)(l.az,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,r.jsx)(g,{})]})},g=function(e){var n=(0,c.Oc)(),t=n.act,i=n.data,o=i.cats,a=i.lucky_numbers;return(0,r.jsx)(l.BJ.Item,{grow:!0,children:(0,r.jsx)(l.wn,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,r.jsx)(l.$n,{icon:"dice",content:"See more suggestions",onClick:function(){return t("shuffle_lucky_numbers")}}),children:(0,r.jsx)(l.BJ,{wrap:!0,children:a.map(function(e){return o[e.cat].items[e.item]}).filter(function(e){return null!=e}).map(function(e,n){return(0,r.jsx)(l.BJ.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",grow:!0,children:(0,r.jsx)(j,{i:e})},n)})})})})},j=function(e){var n=e.i,t=e.showDecription,i=e.buttons,o=void 0===i?(0,r.jsx)(b,{i:n}):i;return(0,r.jsx)(l.wn,{title:(0,a.jT)(n.name),buttons:o,children:(void 0===t?1:t)?(0,r.jsx)(l.az,{italic:!0,children:(0,a.jT)(n.desc)}):null})},b=function(e){var n=(0,c.Oc)(),t=n.act,i=n.data,o=e.i,a=i.crystals;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.$n,{icon:"shopping-cart",color:1===o.hijack_only&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){return t("add_to_cart",{item:o.obj_path})},disabled:o.cost>a}),(0,r.jsx)(l.$n,{content:"Buy ("+o.cost+"TC)"+(o.refundable?" [Refundable]":""),color:1===o.hijack_only&&"red",tooltip:1===o.hijack_only&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){return t("buyItem",{item:o.obj_path})},disabled:o.cost>a})]})},y=function(e){var n=(0,c.Oc)(),t=n.act,i=n.data,o=e.i;return i.exploitable,(0,r.jsxs)(l.BJ,{children:[(0,r.jsx)(l.$n,{icon:"times",content:"("+o.cost*o.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){return t("remove_from_cart",{item:o.obj_path})}}),(0,r.jsx)(l.$n,{icon:"minus",tooltip:0===o.limit&&"Discount already redeemed!",ml:"5px",onClick:function(){return t("set_cart_item_quantity",{item:o.obj_path,quantity:--o.amount})},disabled:o.amount<=0}),(0,r.jsx)(l.$n.Input,{value:"".concat(o.amount),width:"45px",tooltipPosition:"bottom-end",tooltip:0===o.limit&&"Discount already redeemed!",onCommit:function(e){return t("set_cart_item_quantity",{item:o.obj_path,quantity:e})},disabled:-1!==o.limit&&o.amount>=o.limit&&o.amount<=0}),(0,r.jsx)(l.$n,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:0===o.limit&&"Discount already redeemed!",onClick:function(){return t("set_cart_item_quantity",{item:o.obj_path,quantity:++o.amount})},disabled:-1!==o.limit&&o.amount>=o.limit})]})},v=function(e){var n=(0,c.Oc)(),t=n.act,s=n.data,u=s.exploitable,d=s.selected_record,h=f((0,o.useState)(""),2),m=h[0],p=h[1],x=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=(0,i.pb)(e,function(e){return!!e.name});if(n){var r=(0,a.XZ)(n,function(e){return e.name});t=(0,i.pb)(t,function(e){return r(e)})}return(0,i.Ul)(t,function(e){return e.name})}(u,m);return(0,r.jsxs)(l.BJ,{fill:!0,children:[(0,r.jsx)(l.BJ.Item,{width:"30%",children:(0,r.jsxs)(l.wn,{fill:!0,scrollable:!0,title:"Exploitable Records",children:[(0,r.jsx)(l.pd,{fluid:!0,mb:1,placeholder:"Search Crew",onChange:function(e){return p(e)}}),(0,r.jsx)(l.tU,{vertical:!0,children:x&&x.map(function(e){return(0,r.jsx)(l.tU.Tab,{selected:e.name===d.name,onClick:function(){return t("view_record",{uid_gen:e.uid_gen})},children:e.name},e.uid_gen)})})]})}),(0,r.jsx)(l.BJ.Item,{grow:!0,children:(0,r.jsx)(l.wn,{fill:!0,scrollable:!0,title:d.name,children:(0,r.jsxs)(l.BJ,{children:[(0,r.jsx)(l.BJ.Item,{children:(0,r.jsxs)(l.Ki,{children:[(0,r.jsx)(l.Ki.Item,{label:"Age",children:d.age}),(0,r.jsx)(l.Ki.Item,{label:"Fingerprint",children:d.fingerprint}),(0,r.jsx)(l.Ki.Item,{label:"Rank",children:d.rank}),(0,r.jsx)(l.Ki.Item,{label:"Sex",children:d.sex}),(0,r.jsx)(l.Ki.Item,{label:"Species",children:d.species}),(0,r.jsx)(l.Ki.Item,{label:"NT Relation",children:d.nt_relation})]})}),!!d.has_photos&&d.photos.map(function(e,n){return(0,r.jsxs)(l.BJ.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,r.jsx)("img",{src:e,style:{width:"96px",marginTop:"1rem",marginBottom:"0.5rem",imageRendering:"pixelated"}}),(0,r.jsx)("br",{}),"Photo #",n+1]},n)})]})})})]})}},1638:function(e,n,t){"use strict";t.r(n),t.d(n,{Vending:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);th&&a.price>m;return(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(i.XI.Cell,{collapsing:!0,children:(0,r.jsx)(i.Hg,{verticalAlign:"middle",icon:s,icon_state:u,fallback:(0,r.jsx)(i.In,{p:.66,name:"spinner",size:2,spin:!0})})}),(0,r.jsx)(i.XI.Cell,{bold:!0,children:a.name}),(0,r.jsx)(i.XI.Cell,{collapsing:!0,textAlign:"center",children:(0,r.jsxs)(i.az,{color:c<=0&&"bad"||c<=a.max_amount/2&&"average"||"good",children:[c," in stock"]})}),(0,r.jsx)(i.XI.Cell,{collapsing:!0,textAlign:"center",children:(0,r.jsx)(i.$n,{fluid:!0,disabled:j,icon:g,content:x,textAlign:"left",onClick:function(){return t("vend",{inum:a.inum})}})})]})},u=function(e){var n,t=(0,o.Oc)(),a=t.act,u=t.data,d=u.user,f=u.usermoney,h=u.inserted_cash,m=u.product_records,p=u.hidden_records,x=u.stock,g=(u.vend_ready,u.inserted_item_name),j=u.panel_open,b=u.speaker,y=u.locked,v=u.bypass_lock;return n=c(void 0===m?[]:m),u.extended_inventory&&(n=c(n).concat(c(void 0===p?[]:p))),n=n.filter(function(e){return!!e}),(0,r.jsx)(l.p8,{title:"Vending Machine",width:450,height:Math.min((!y||v?230:171)+32*n.length,585),children:(0,r.jsx)(l.p8.Content,{scrollable:!0,children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(!y||!!v)&&(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Configuration",children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"pen-to-square",content:"Rename Vendor",onClick:function(){return a("rename",{})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{icon:"pen-to-square",content:"Change Vendor Appearance",onClick:function(){return a("change_appearance",{})}})})]})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"User",buttons:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.BJ.Item,{children:!!g&&(0,r.jsx)(i.$n,{fluid:!0,icon:"eject",content:(0,r.jsx)("span",{style:{textTransform:"capitalize"},children:g}),onClick:function(){return a("eject_item",{})}})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.$n,{disabled:!h,icon:"money-bill-wave-alt",content:h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:h})," credits"]}):"Dispense Change",tooltip:h?"Dispense Change":null,textAlign:"left",onClick:function(){return a("change")}})})]}),children:d&&(0,r.jsxs)(i.az,{children:["Welcome, ",(0,r.jsx)("b",{children:d.name}),", ",(0,r.jsx)("b",{children:d.job||"Unemployed"}),"!",(0,r.jsx)("br",{}),"Your balance is ",(0,r.jsxs)("b",{children:[f," credits"]}),".",(0,r.jsx)("br",{})]})})}),!!j&&(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Maintenance",children:(0,r.jsx)(i.$n,{icon:b?"check":"volume-mute",selected:b,content:"Speaker",textAlign:"left",onClick:function(){return a("toggle_voice",{})}})})}),(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,title:"Products",children:(0,r.jsx)(i.XI,{children:n.map(function(e){return(0,r.jsx)(s,{product:e,productStock:x[e.name],productIcon:e.icon,productIconState:e.icon_state},e.name)})})})})]})})})}},2144:function(e,n,t){"use strict";t.r(n),t.d(n,{VolumeMixer:()=>c});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)(),t=n.act,c=n.data.channels;return(0,r.jsx)(a.p8,{width:350,height:Math.min(95+50*c.length,565),children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsx)(o.wn,{fill:!0,scrollable:!0,children:c.map(function(e,n){return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(o.az,{fontSize:"1.25rem",color:"label",mt:n>0&&"0.5rem",children:e.name}),(0,r.jsx)(o.az,{mt:"0.5rem",children:(0,r.jsxs)(o.BJ,{children:[(0,r.jsx)(o.BJ.Item,{mr:.5,children:(0,r.jsx)(o.$n,{width:"24px",color:"transparent",children:(0,r.jsx)(o.In,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){return t("volume",{channel:e.num,volume:0})}})})}),(0,r.jsx)(o.BJ.Item,{grow:!0,mx:"0.5rem",children:(0,r.jsx)(o.Ap,{minValue:0,maxValue:100,stepPixelSize:3.13,value:e.volume,onChange:function(n,r){return t("volume",{channel:e.num,volume:r})}})}),(0,r.jsx)(o.BJ.Item,{children:(0,r.jsx)(o.$n,{width:"24px",color:"transparent",children:(0,r.jsx)(o.In,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){return t("volume",{channel:e.num,volume:100})}})})})]})})]},e.num)})})})})}},7063:function(e,n,t){"use strict";t.r(n),t.d(n,{VotePanel:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.remaining,s=a.question,u=a.choices,d=a.user_vote,f=a.counts,h=a.show_counts;return(0,r.jsx)(l.p8,{width:400,height:360,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.wn,{fill:!0,scrollable:!0,title:s,children:[(0,r.jsxs)(i.az,{mb:1.5,ml:.5,children:["Time remaining: ",Math.round(c/10),"s"]}),u.map(function(e){return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{mb:1,fluid:!0,lineHeight:3,multiLine:e,content:e+(h?" ("+(f[e]||0)+")":""),onClick:function(){return t("vote",{target:e})},selected:e===d})},e)})]})})})}},7983:function(e,n,t){"use strict";t.r(n),t.d(n,{Wires:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data,c=a.wires||[],s=a.status||[],u=56+23*c.length+(status?0:15+17*s.length);return(0,r.jsx)(l.p8,{width:350,height:u,children:(0,r.jsx)(l.p8.Content,{children:(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{grow:!0,children:(0,r.jsx)(i.wn,{fill:!0,scrollable:!0,children:(0,r.jsx)(i.Ki,{children:c.map(function(e){return(0,r.jsx)(i.Ki.Item,{className:"candystripe",label:e.color_name,labelColor:e.seen_color,color:e.seen_color,buttons:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.$n,{content:e.cut?"Mend":"Cut",onClick:function(){return t("cut",{wire:e.color})}}),(0,r.jsx)(i.$n,{content:"Pulse",onClick:function(){return t("pulse",{wire:e.color})}}),(0,r.jsx)(i.$n,{content:e.attached?"Detach":"Attach",onClick:function(){return t("attach",{wire:e.color})}})]}),children:!!e.wire&&(0,r.jsxs)("i",{children:["(",e.wire,")"]})},e.seen_color)})})})}),!!s.length&&(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{children:s.map(function(e){return(0,r.jsx)(i.az,{color:"lightgray",children:e},e)})})})]})})})}},8167:function(e,n,t){"use strict";t.r(n),t.d(n,{WizardApprenticeContract:()=>a});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.used;return(0,r.jsx)(l.p8,{width:500,height:555,children:(0,r.jsxs)(l.p8.Content,{scrollable:!0,children:[(0,r.jsxs)(i.wn,{title:"Contract of Apprenticeship",children:["Using this contract, you may summon an apprentice to aid you on your mission.",(0,r.jsx)("p",{children:"If you are unable to establish contact with your apprentice, you can feed the contract back to the spellbook to refund your points."}),a?(0,r.jsx)(i.az,{bold:!0,color:"red",children:"You've already summoned an apprentice or you are in process of summoning one."}):""]}),(0,r.jsx)(i.wn,{title:"Which school of magic is your apprentice studying?",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Fire",children:["Your apprentice is skilled in bending fire. ",(0,r.jsx)("br",{}),"They know Fireball, Sacred Flame, and Ethereal Jaunt.",(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{content:"Select",disabled:a,onClick:function(){return t("fire")}})]}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsxs)(i.Ki.Item,{label:"Translocation",children:["Your apprentice is able to defy physics, learning how to move through bluespace. ",(0,r.jsx)("br",{}),"They know Teleport, Blink and Ethereal Jaunt.",(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{content:"Select",disabled:a,onClick:function(){return t("translocation")}})]}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsxs)(i.Ki.Item,{label:"Restoration",children:["Your apprentice is dedicated to supporting your magical prowess.",(0,r.jsx)("br",{}),"They come equipped with a Staff of Healing, have the unique ability to teleport back to you, and know Charge and Knock.",(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{content:"Select",disabled:a,onClick:function(){return t("restoration")}})]}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsxs)(i.Ki.Item,{label:"Stealth",children:["Your apprentice is learning the art of infiltrating mundane facilities. ",(0,r.jsx)("br",{}),"They know Mindswap, Knock, Homing Toolbox, and Disguise Self, all of which can be cast without robes. They also join you in a Maintenance Dweller disguise, complete with Gloves of Shock Immunity and a Belt of Tools.",(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{content:"Select",disabled:a,onClick:function(){return t("stealth")}})]}),(0,r.jsx)(i.Ki.Divider,{}),(0,r.jsxs)(i.Ki.Item,{label:"Honk",children:["Your apprentice is here to spread the Honkmother's blessings.",(0,r.jsx)("br",{}),"They know Banana Touch, Instant Summons, Ethereal Jaunt, and come equipped with a Staff of Slipping."," ",(0,r.jsx)("br",{}),"While under your tutelage, they have been 'blessed' with clown shoes that are impossible to remove.",(0,r.jsx)("br",{}),(0,r.jsx)(i.$n,{content:"Select",disabled:a,onClick:function(){return t("honk")}})]}),(0,r.jsx)(i.Ki.Divider,{})]})})]})})}},234:function(e,n,t){"use strict";t.r(n),t.d(n,{ZLevelManager:()=>u});var r=t(8138),i=t(7790),o=t(2864),l=t(3384),a=t(4530);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ts});var r=t(8138),i=t(8587),o=t(4530),l=t(7790);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&!g.includes(e.ref)&&!p.includes(e.ref),checked:p.includes(e.ref),onClick:function(){return j(e.ref)}},e.desc)})]})]})})}},7276:function(e,n,t){"use strict";t.r(n),t.d(n,{AtmosScan:()=>l});var r=t(8138),i=t(8587),o=t(7790),l=function(e){var n=e.aircontents;return(0,r.jsx)(o.az,{children:(0,r.jsx)(o.Ki,{children:(0,i.pb)(n,function(e){return"0"!==e.val||"Pressure"===e.entry||"Temperature"===e.entry}).map(function(e){var n,t,i,l,a;return(0,r.jsxs)(o.Ki.Item,{label:e.entry,color:(n=e.val,t=e.bad_low,i=e.poor_low,l=e.poor_high,a=e.bad_high,nl?"average":n>a?"bad":"good"),children:[e.val,e.units]},e.entry)})})})}},3013:function(e,n,t){"use strict";t.r(n),t.d(n,{BeakerContents:()=>o});var r=t(8138),i=t(7790),o=function(e){var n=e.beakerLoaded,t=e.beakerContents,o=void 0===t?[]:t,l=e.buttons;return(0,r.jsx)(i.BJ,{vertical:!0,children:n?0===o.length?(0,r.jsx)(i.BJ.Item,{color:"label",children:"Beaker is empty."}):o.map(function(e,n){var t;return(0,r.jsxs)(i.BJ,{children:[(0,r.jsxs)(i.BJ.Item,{color:"label",grow:!0,children:[(t=e.volume)+" unit"+(1===t?"":"s")," of ",e.name]},e.name),!!l&&(0,r.jsx)(i.BJ.Item,{children:l(e,n)})]},e.name)}):(0,r.jsx)(i.BJ.Item,{color:"label",children:"No beaker loaded."})})}},9226:function(e,n,t){"use strict";t.r(n),t.d(n,{BotStatus:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.locked,c=l.noaccess,s=l.maintpanel,u=l.on,d=l.autopatrol,f=l.canhack,h=l.emagged,m=l.remote_disabled;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.IC,{children:["Swipe an ID card to ",a?"unlock":"lock"," this interface."]}),(0,r.jsx)(i.wn,{title:"General Settings",children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:(0,r.jsx)(i.$n,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,disabled:c,onClick:function(){return t("power")}})}),void 0!==d&&(0,r.jsx)(i.Ki.Item,{label:"Patrol",children:(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:d,content:"Auto Patrol",disabled:c,onClick:function(){return t("autopatrol")}})}),!!s&&(0,r.jsx)(i.Ki.Item,{label:"Maintenance Panel",children:(0,r.jsx)(i.az,{color:"bad",children:"Panel Open!"})}),(0,r.jsx)(i.Ki.Item,{label:"Safety System",children:(0,r.jsx)(i.az,{color:h?"bad":"good",children:h?"DISABLED!":"Enabled"})}),!!f&&(0,r.jsx)(i.Ki.Item,{label:"Hacking",children:(0,r.jsx)(i.$n,{icon:"terminal",content:h?"Restore Safties":"Hack",disabled:c,color:"bad",onClick:function(){return t("hack")}})}),(0,r.jsx)(i.Ki.Item,{label:"Remote Access",children:(0,r.jsx)(i.$n.Checkbox,{fluid:!0,checked:!m,content:"AI Remote Control",disabled:c,onClick:function(){return t("disableremote")}})})]})})]})}},4744:function(e,n,t){"use strict";t.r(n),t.d(n,{ComplexModal:()=>h,modalAnswer:()=>d,modalClose:()=>f,modalOpen:()=>s,modalRegisterBodyOverride:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(2864);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);td});var r=t(8138),i=t(7790),o=t(3268),l=t(2864),a=t(421).lm.department,c=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],s=function(e){if(-1!==c.indexOf(e))return!0},u=function(e){return e.length>0&&(0,r.jsxs)(i.XI,{children:[(0,r.jsxs)(i.XI.Row,{header:!0,color:"white",children:[(0,r.jsx)(i.XI.Cell,{width:"50%",children:"Name"}),(0,r.jsx)(i.XI.Cell,{width:"35%",children:"Rank"}),(0,r.jsx)(i.XI.Cell,{width:"15%",children:"Active"})]}),e.map(function(e){var n;return(0,r.jsxs)(i.XI.Row,{color:(n=e.rank,-1!==c.indexOf(n)?"green":"orange"),bold:s(e.rank),children:[(0,r.jsx)(i.XI.Cell,{children:(0,o.jT)(e.name)}),(0,r.jsx)(i.XI.Cell,{children:(0,o.jT)(e.rank)}),(0,r.jsx)(i.XI.Cell,{children:e.active})]},e.name+e.rank)})]})},d=function(e){if((0,l.Oc)().act,e.data)n=e.data;else{var n;n=(0,l.Oc)().data}var t=n.manifest,o=t.heads,c=t.sec,s=t.eng,d=t.med,f=t.sci,h=t.ser,m=t.sup,p=t.misc;return(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.command,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:u(o)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.security,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:u(c)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.engineering,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:u(s)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.medical,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:u(d)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.science,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:u(f)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.service,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:u(h)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{backgroundColor:a.supply,m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:u(m)}),(0,r.jsx)(i.wn,{title:(0,r.jsx)(i.az,{m:-1,pt:1,pb:1,children:(0,r.jsx)(i.az,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:u(p)})]})}},1942:function(e,n,t){"use strict";t.r(n),t.d(n,{InputButtons:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.large_buttons,c=l.swapped_buttons,s=e.input,u=e.message,d=e.disabled,f=(0,r.jsx)(i.$n,{color:"good",textAlign:"center",bold:!!a,fluid:!!a,tooltip:!!a&&u,disabled:!!d,width:!a&&6,onClick:function(){return t("submit",{entry:s})},children:"Submit"}),h=(0,r.jsx)(i.$n,{color:"bad",textAlign:"center",bold:!!a,fluid:!!a,width:!a&&6,onClick:function(){return t("cancel")},children:"Cancel"});return(0,r.jsxs)(i.BJ,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[(0,r.jsx)(i.BJ.Item,{grow:a,children:h}),!a&&u&&(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.az,{color:"label",textAlign:"center",children:u})}),(0,r.jsx)(i.BJ.Item,{grow:a,children:f})]})}},1992:function(e,n,t){"use strict";t.r(n),t.d(n,{InterfaceLockNoticeBox:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=e.siliconUser,c=void 0===a?l.siliconUser:a,s=e.locked,u=void 0===s?l.locked:s,d=e.normallyLocked,f=void 0===d?l.normallyLocked:d,h=e.onLockStatusChange,m=void 0===h?function(){return t("lock")}:h,p=e.accessText;return c?(0,r.jsx)(i.IC,{color:c&&"grey",children:(0,r.jsxs)(i.so,{align:"center",children:[(0,r.jsx)(i.so.Item,{children:"Interface lock status:"}),(0,r.jsx)(i.so.Item,{grow:"1"}),(0,r.jsx)(i.so.Item,{children:(0,r.jsx)(i.$n,{m:"0",color:f?"red":"green",icon:f?"lock":"unlock",content:f?"Locked":"Unlocked",onClick:function(){m&&m(!u)}})})]})}):(0,r.jsxs)(i.IC,{children:["Swipe ",void 0===p?"an ID card":p," to ",u?"unlock":"lock"," this interface."]})}},9472:function(e,n,t){"use strict";t.r(n),t.d(n,{Loader:()=>l});var r=t(8138),i=t(7790),o=t(6859),l=function(e){var n=e.value;return(0,r.jsx)("div",{className:"AlertModal__Loader",children:(0,r.jsx)(i.az,{className:"AlertModal__LoaderProgress",style:{width:100*(0,o.J$)(n)+"%"}})})}},7352:function(e,n,t){"use strict";t.r(n),t.d(n,{LoginInfo:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.loginState;if(l)return(0,r.jsx)(i.IC,{info:!0,children:(0,r.jsxs)(i.BJ,{children:[(0,r.jsxs)(i.BJ.Item,{grow:!0,mt:.5,children:["Logged in as: ",a.name," (",a.rank,")"]}),(0,r.jsxs)(i.BJ.Item,{children:[(0,r.jsx)(i.$n,{icon:"eject",disabled:!a.id,content:"Eject ID",color:"good",onClick:function(){return t("login_eject")}}),(0,r.jsx)(i.$n,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){return t("login_logout")}})]})]})})}},736:function(e,n,t){"use strict";t.r(n),t.d(n,{LoginScreen:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.loginState,c=l.isAI,s=l.isRobot,u=l.isAdmin;return(0,r.jsx)(i.wn,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,r.jsx)(i.so,{height:"100%",align:"center",justify:"center",children:(0,r.jsxs)(i.so.Item,{textAlign:"center",mt:"-2rem",children:[(0,r.jsxs)(i.az,{fontSize:"1.5rem",bold:!0,children:[(0,r.jsx)(i.In,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,r.jsxs)(i.az,{color:"label",my:"1rem",children:["ID:",(0,r.jsx)(i.$n,{icon:"id-card",content:a.id?a.id:"----------",ml:"0.5rem",onClick:function(){return t("login_insert")}})]}),(0,r.jsx)(i.$n,{icon:"sign-in-alt",disabled:!a.id,content:"Login",onClick:function(){return t("login_login",{login_type:1})}}),!!c&&(0,r.jsx)(i.$n,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){return t("login_login",{login_type:2})}}),!!s&&(0,r.jsx)(i.$n,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){return t("login_login",{login_type:3})}}),!!u&&(0,r.jsx)(i.$n,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){return t("login_login",{login_type:4})}})]})})})}},6696:function(e,n,t){"use strict";t.r(n),t.d(n,{Operating:()=>o});var r=t(8138),i=t(7790),o=function(e){var n=e.operating,t=e.name;if(n)return(0,r.jsx)(i.Rr,{children:(0,r.jsx)(i.so,{mb:"30px",children:(0,r.jsxs)(i.so.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,r.jsx)(i.In,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,r.jsx)("br",{}),"The ",t," is processing..."]})})})}},6888:function(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>a});var r=t(8138),i=t(4530);function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=function(e){var n=(0,l.Oc)().act,t=e.data,a=t.code,c=t.frequency,s=t.minFrequency,u=t.maxFrequency;return(0,r.jsxs)(i.wn,{children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Frequency",children:(0,r.jsx)(i.Q7,{animate:!0,step:.2,stepPixelSize:6,minValue:s/10,maxValue:u/10,value:c/10,format:function(e){return(0,o.Mg)(e,1)},width:"80px",onChange:function(e){return n("freq",{freq:e})}})}),(0,r.jsx)(i.Ki.Item,{label:"Code",children:(0,r.jsx)(i.Q7,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:a,width:"80px",onChange:function(e){return n("code",{code:e})}})})]}),(0,r.jsx)(i.$n,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){return n("signal")}})]})}},4455:function(e,n,t){"use strict";t.r(n),t.d(n,{SimpleRecords:()=>u});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(3268),c=t(2864);function s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"",t=(0,i.pb)(u,function(e){return null==e?void 0:e.Name});return n&&(t=(0,i.pb)(t,(0,a.XZ)(n,function(e){return e.Name}))),(0,i.Ul)(t,function(e){return e.Name})}(u,f);return(0,r.jsxs)(l.az,{children:[(0,r.jsx)(l.pd,{fluid:!0,mb:1,placeholder:"Search records...",onChange:function(e){return h(e)}}),m.map(function(e){return(0,r.jsx)(l.az,{children:(0,r.jsx)(l.$n,{mb:.5,content:e.Name,icon:"user",onClick:function(){return t("Records",{target:e.uid})}})},e)})]})},f=function(e){(0,c.Oc)().act;var n,t=e.data.records,i=t.general,o=t.medical,a=t.security;switch(e.recordType){case"MED":n=(0,r.jsx)(l.wn,{level:2,title:"Medical Data",children:o?(0,r.jsxs)(l.Ki,{children:[(0,r.jsx)(l.Ki.Item,{label:"Blood Type",children:o.blood_type}),(0,r.jsx)(l.Ki.Item,{label:"Minor Disabilities",children:o.mi_dis}),(0,r.jsx)(l.Ki.Item,{label:"Details",children:o.mi_dis_d}),(0,r.jsx)(l.Ki.Item,{label:"Major Disabilities",children:o.ma_dis}),(0,r.jsx)(l.Ki.Item,{label:"Details",children:o.ma_dis_d}),(0,r.jsx)(l.Ki.Item,{label:"Allergies",children:o.alg}),(0,r.jsx)(l.Ki.Item,{label:"Details",children:o.alg_d}),(0,r.jsx)(l.Ki.Item,{label:"Current Diseases",children:o.cdi}),(0,r.jsx)(l.Ki.Item,{label:"Details",children:o.cdi_d}),(0,r.jsx)(l.Ki.Item,{label:"Important Notes",preserveWhitespace:!0,children:o.notes})]}):(0,r.jsx)(l.az,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":n=(0,r.jsx)(l.wn,{level:2,title:"Security Data",children:a?(0,r.jsxs)(l.Ki,{children:[(0,r.jsx)(l.Ki.Item,{label:"Criminal Status",children:a.criminal}),(0,r.jsx)(l.Ki.Item,{label:"Minor Crimes",children:a.mi_crim}),(0,r.jsx)(l.Ki.Item,{label:"Details",children:a.mi_crim_d}),(0,r.jsx)(l.Ki.Item,{label:"Major Crimes",children:a.ma_crim}),(0,r.jsx)(l.Ki.Item,{label:"Details",children:a.ma_crim_d}),(0,r.jsx)(l.Ki.Item,{label:"Important Notes",preserveWhitespace:!0,children:a.notes})]}):(0,r.jsx)(l.az,{color:"red",bold:!0,children:"Security record lost!"})})}return(0,r.jsxs)(l.az,{children:[(0,r.jsx)(l.wn,{title:"General Data",children:i?(0,r.jsxs)(l.Ki,{children:[(0,r.jsx)(l.Ki.Item,{label:"Name",children:i.name}),(0,r.jsx)(l.Ki.Item,{label:"Sex",children:i.sex}),(0,r.jsx)(l.Ki.Item,{label:"Species",children:i.species}),(0,r.jsx)(l.Ki.Item,{label:"Age",children:i.age}),(0,r.jsx)(l.Ki.Item,{label:"Rank",children:i.rank}),(0,r.jsx)(l.Ki.Item,{label:"Fingerprint",children:i.fingerprint}),(0,r.jsx)(l.Ki.Item,{label:"Physical Status",children:i.p_stat}),(0,r.jsx)(l.Ki.Item,{label:"Mental Status",children:i.m_stat})]}):(0,r.jsx)(l.az,{color:"red",bold:!0,children:"General record lost!"})}),n]})}},2264:function(e,n,t){"use strict";t.r(n),t.d(n,{default:()=>c});var r=t(8138),i=t(4530);function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(4530);function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(7790),o=t(2864);function l(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var a=function(e){var n=(0,o.Oc)(),t=n.act,a=n.data.temp;if(a){var c,s,u=l({},a.style,!0);return(0,r.jsx)(i.IC,(c=function(e){for(var n=1;nc});var r=t(8138),i=t(7790),o=t(9582),l=t(2864),a=t(3384),c=function(e){var n=(0,l.Oc)().data,t=n.total_earnings,c=n.total_energy;return n.name,(0,r.jsx)(a.p8,{title:"Power Transmission Laser",width:"310",height:"485",children:(0,r.jsxs)(a.p8.Content,{children:[(0,r.jsx)(s,{}),(0,r.jsx)(u,{}),(0,r.jsx)(d,{}),(0,r.jsxs)(i.IC,{success:!0,children:["Earned Credits : ",t?(0,o.up)(t):0]}),(0,r.jsxs)(i.IC,{success:!0,children:["Energy Sold : ",c?(0,o.QL)(c,0,"J"):"0 J"]})]})})},s=function(e){var n=(0,l.Oc)().data,t=n.max_capacity,a=n.held_power,c=n.input_total,s=n.max_grid_load;return(0,r.jsxs)(i.wn,{title:"Status",children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Reserve energy",children:a?(0,o.QL)(a,0,"J"):"0 J"})}),(0,r.jsx)(i.z2,{mt:"0.5em",mb:"0.5em",ranges:{good:[.8,1/0],average:[.5,.8],bad:[-1/0,.5]},value:a/t}),(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Grid Saturation"})}),(0,r.jsx)(i.z2,{mt:"0.5em",ranges:{good:[.8,1/0],average:[.5,.8],bad:[-1/0,.5]},value:Math.min(c,t-a)/s})]})},u=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=a.input_total,s=a.accepting_power,u=a.sucking_power,d=a.input_number,f=a.power_format;return(0,r.jsxs)(i.wn,{title:"Input Controls",children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Input Circuit",buttons:(0,r.jsx)(i.$n,{icon:"power-off",color:s?"green":"red",onClick:function(){return t("toggle_input")},children:s?"Enabled":"Disabled"}),children:(0,r.jsx)(i.az,{color:u&&"good"||s&&"average"||"bad",children:u&&"Online"||s&&"Idle"||"Offline"})}),(0,r.jsx)(i.Ki.Item,{label:"Input Level",children:c?(0,o.d5)(c):"0 W"})]}),(0,r.jsxs)(i.az,{mt:"0.5em",children:[(0,r.jsx)(i.Q7,{mr:"0.5em",animated:!0,size:1.25,inline:!0,step:1,stepPixelSize:2,minValue:0,maxValue:999,value:d,onChange:function(e){return t("set_input",{set_input:e})}}),(0,r.jsx)(i.$n,{selected:1===f,onClick:function(){return t("inputW")},children:"W"}),(0,r.jsx)(i.$n,{selected:1e3===f,onClick:function(){return t("inputKW")},children:"KW"}),(0,r.jsx)(i.$n,{selected:1e6===f,onClick:function(){return t("inputMW")},children:"MW"}),(0,r.jsx)(i.$n,{selected:1e9===f,onClick:function(){return t("inputGW")},children:"GW"})]})]})},d=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data,c=a.output_total,s=a.firing,u=a.accepting_power,d=a.output_number,f=a.output_multiplier,h=a.target,m=a.held_power;return(0,r.jsxs)(i.wn,{title:"Output Controls",children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Laser Circuit",buttons:(0,r.jsxs)(i.BJ,{children:[(0,r.jsx)(i.$n,{icon:"crosshairs",color:""===h?"green":"red",onClick:function(){return t("target")},children:h}),(0,r.jsx)(i.$n,{icon:"power-off",color:s?"green":"red",disabled:!s&&m<1e6,onClick:function(){return t("toggle_output")},children:s?"Enabled":"Disabled"})]}),children:(0,r.jsx)(i.az,{color:s&&"good"||u&&"average"||"bad",children:s&&"Online"||u&&"Idle"||"Offline"})}),(0,r.jsx)(i.Ki.Item,{label:"Output Level",children:c?c<0?"-"+(0,o.d5)(Math.abs(c)):(0,o.d5)(c):"0 W"})]}),(0,r.jsxs)(i.az,{mt:"0.5em",children:[(0,r.jsx)(i.Q7,{mr:"0.5em",size:1.25,animated:!0,inline:!0,step:1,stepPixelSize:2,minValue:0,maxValue:999,ranges:{bad:[-1/0,-1]},value:d,onChange:function(e){return t("set_output",{set_output:e})}}),(0,r.jsx)(i.$n,{selected:1e6===f,onClick:function(){return t("outputMW")},children:"MW"}),(0,r.jsx)(i.$n,{selected:1e9===f,onClick:function(){return t("outputGW")},children:"GW"})]})]})}},2817:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_atmosphere:()=>l});var r=t(8138),i=t(2864),o=t(7276),l=function(e){var n=(0,i.Oc)(),t=(n.act,n.data);return(0,r.jsx)(o.AtmosScan,{aircontents:t.app_data.aircontents})}},7716:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_bioscan:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).app_data,l=t.holder,a=t.dead,c=t.health,s=t.brute,u=t.oxy,d=t.tox,f=t.burn;return(t.temp,l)?(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Status",children:a?(0,r.jsx)(i.az,{bold:!0,color:"red",children:"Dead"}):(0,r.jsx)(i.az,{bold:!0,color:"green",children:"Alive"})}),(0,r.jsx)(i.Ki.Item,{label:"Health",children:(0,r.jsx)(i.z2,{min:0,max:1,value:c/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,r.jsx)(i.Ki.Item,{label:"Oxygen Damage",children:(0,r.jsx)(i.az,{color:"blue",children:u})}),(0,r.jsx)(i.Ki.Item,{label:"Toxin Damage",children:(0,r.jsx)(i.az,{color:"green",children:d})}),(0,r.jsx)(i.Ki.Item,{label:"Burn Damage",children:(0,r.jsx)(i.az,{color:"orange",children:f})}),(0,r.jsx)(i.Ki.Item,{label:"Brute Damage",children:(0,r.jsx)(i.az,{color:"red",children:s})})]}):(0,r.jsx)(i.az,{color:"red",children:"Error: No biological host found."})}},1091:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_directives:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.app_data,a=l.master,c=l.dna,s=l.prime,u=l.supplemental;return(0,r.jsxs)(i.az,{children:[(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Master",children:a?a+" ("+c+")":"None"}),a&&(0,r.jsx)(i.Ki.Item,{label:"Request DNA",children:(0,r.jsx)(i.$n,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){return t("getdna")}})}),(0,r.jsx)(i.Ki.Item,{label:"Prime Directive",children:s}),(0,r.jsx)(i.Ki.Item,{label:"Supplemental Directives",children:u||"None"})]}),(0,r.jsx)(i.az,{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,r.jsx)(i.az,{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."})]})}},9316:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_doorjack:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n,t,l=(0,o.Oc)(),a=l.act,c=l.data.app_data,s=c.cable,u=c.machine,d=c.inprogress,f=c.progress;return c.aborted,n=u?(0,r.jsx)(i.$n,{selected:!0,content:"Connected"}):(0,r.jsx)(i.$n,{content:s?"Extended":"Retracted",color:s?"orange":null,onClick:function(){return a("cable")}}),u&&(t=(0,r.jsxs)(i.Ki.Item,{label:"Hack",children:[(0,r.jsx)(i.z2,{ranges:{good:[67,1/0],average:[33,67],bad:[-1/0,33]},value:f,maxValue:100}),d?(0,r.jsx)(i.$n,{mt:1,color:"red",content:"Abort",onClick:function(){return a("cancel")}}):(0,r.jsx)(i.$n,{mt:1,content:"Start",onClick:function(){return a("jack")}})]})),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Cable",children:n}),t]})}},5042:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_main_menu:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.app_data,a=l.available_software,c=l.installed_software,s=l.installed_toggles,u=l.available_ram,d=l.emotions,f=l.current_emotion,h=l.speech_verbs,m=l.current_speech_verb,p=l.available_chassises,x=l.current_chassis,g=[];return c.map(function(e){return g[e.key]=e.name}),s.map(function(e){return g[e.key]=e.name}),(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Available RAM",children:u}),(0,r.jsxs)(i.Ki.Item,{label:"Available Software",children:[a.filter(function(e){return!g[e.key]}).map(function(e){return(0,r.jsx)(i.$n,{content:e.name+" ("+e.cost+")",icon:e.icon,disabled:e.cost>u,onClick:function(){return t("purchaseSoftware",{key:e.key})}},e.key)}),0===a.filter(function(e){return!g[e.key]}).length&&"No software available!"]}),(0,r.jsxs)(i.Ki.Item,{label:"Installed Software",children:[c.filter(function(e){return"mainmenu"!==e.key}).map(function(e){return(0,r.jsx)(i.$n,{content:e.name,icon:e.icon,onClick:function(){return t("startSoftware",{software_key:e.key})}},e.key)}),0===c.length&&"No software installed!"]}),(0,r.jsxs)(i.Ki.Item,{label:"Installed Toggles",children:[s.map(function(e){return(0,r.jsx)(i.$n,{content:e.name,icon:e.icon,selected:e.active,onClick:function(){return t("setToggle",{toggle_key:e.key})}},e.key)}),0===s.length&&"No toggles installed!"]}),(0,r.jsx)(i.Ki.Item,{label:"Select Emotion",children:d.map(function(e){return(0,r.jsx)(i.$n,{content:e.name,selected:e.id===f,onClick:function(){return t("setEmotion",{emotion:e.id})}},e.id)})}),(0,r.jsx)(i.Ki.Item,{label:"Select Speaking State",children:h.map(function(e){return(0,r.jsx)(i.$n,{content:e.name,selected:e.name===m,onClick:function(){return t("setSpeechStyle",{speech_state:e.name})}},e.id)})}),(0,r.jsx)(i.Ki.Item,{label:"Select Chassis Type",children:p.map(function(e){return(0,r.jsx)(i.$n,{content:e.name,selected:e.icon===x,onClick:function(){return t("setChassis",{chassis_to_change:e.icon})}},e.id)})})]})})}},702:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_manifest:()=>l});var r=t(8138),i=t(2864),o=t(2639),l=function(e){var n=(0,i.Oc)(),t=(n.act,n.data);return(0,r.jsx)(o.CrewManifest,{data:t.app_data})}},9513:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_medrecords:()=>l});var r=t(8138),i=t(2864),o=t(4455),l=function(e){var n=(0,i.Oc)().data;return(0,r.jsx)(o.SimpleRecords,{data:n.app_data,recordType:"MED"})}},984:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_messenger:()=>l});var r=t(8138),i=t(2864),o=t(3260),l=function(e){var n=(0,i.Oc)(),t=(n.act,n.data);return t.app_data.active_convo?(0,r.jsx)(o.ActiveConversation,{data:t.app_data}):(0,r.jsx)(o.MessengerList,{data:t.app_data})}},9028:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_radio:()=>a});var r=t(8138),i=t(7790),o=t(6859),l=t(2864),a=function(e){var n=(0,l.Oc)(),t=n.act,a=n.data.app_data,c=a.minFrequency,s=a.maxFrequency,u=a.frequency,d=a.broadcasting;return(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Frequency",children:[(0,r.jsx)(i.Q7,{animate:!0,step:.2,stepPixelSize:6,minValue:c/10,maxValue:s/10,value:u/10,format:function(e){return(0,o.Mg)(e,1)},onChange:function(e){return t("freq",{freq:e})}}),(0,r.jsx)(i.$n,{tooltip:"Reset",icon:"undo",onClick:function(){return t("freq",{freq:"145.9"})}})]}),(0,r.jsx)(i.Ki.Item,{label:"Broadcast Nearby Speech",children:(0,r.jsx)(i.$n,{onClick:function(){return t("toggleBroadcast")},selected:d,content:d?"Enabled":"Disabled"})})]})}},6838:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_secrecords:()=>l});var r=t(8138),i=t(2864),o=t(4455),l=function(e){var n=(0,i.Oc)().data;return(0,r.jsx)(o.SimpleRecords,{data:n.app_data,recordType:"SEC"})}},4244:function(e,n,t){"use strict";t.r(n),t.d(n,{pai_signaler:()=>l});var r=t(8138),i=t(2864),o=t(9298),l=function(e){var n=(0,i.Oc)(),t=(n.act,n.data);return(0,r.jsx)(o.Signaler,{data:t.app_data})}},8539:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_atmos_scan:()=>l});var r=t(8138),i=t(2864),o=t(7276),l=function(e){var n=(0,i.Oc)().data;return(0,r.jsx)(o.AtmosScan,{aircontents:n.aircontents})}},5246:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_cookbook:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tl});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.games;return(0,r.jsx)(i.az,{children:l.map(function(e){return(0,r.jsxs)(i.$n,{width:"33%",textAlign:"center",color:"transparent",onClick:function(){return t("play",{id:e.id})},children:[(0,r.jsx)(i.In.Stack,{height:"96px",children:"Minesweeper"===e.name?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.In,{ml:"4px",mt:"10px",name:"flag",size:"6",color:"gray",rotation:30}),(0,r.jsx)(i.In,{ml:"20px",mt:"4px",name:"bomb",size:"3",color:"black"})]}):(0,r.jsx)(i.In,{name:"gamepad",size:"6"})}),(0,r.jsx)(i.az,{children:e.name})]},e.name)})})}},3606:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_janitor:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).janitor,l=t.user_loc,a=t.mops,c=t.buckets,s=t.cleanbots,u=t.carts,d=t.janicarts;return(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Current Location",children:[l.x,",",l.y]}),a&&(0,r.jsx)(i.Ki.Item,{label:"Mop Locations",children:a.map(function(e){return(0,r.jsxs)(i.az,{children:[e.x,",",e.y," (",e.dir,") - ",e.status]},e)})}),c&&(0,r.jsx)(i.Ki.Item,{label:"Mop Bucket Locations",children:c.map(function(e){return(0,r.jsxs)(i.az,{children:[e.x,",",e.y," (",e.dir,") - [",e.volume,"/",e.max_volume,"]"]},e)})}),s&&(0,r.jsx)(i.Ki.Item,{label:"Cleanbot Locations",children:s.map(function(e){return(0,r.jsxs)(i.az,{children:[e.x,",",e.y," (",e.dir,") - ",e.status]},e)})}),u&&(0,r.jsx)(i.Ki.Item,{label:"Janitorial Cart Locations",children:u.map(function(e){return(0,r.jsxs)(i.az,{children:[e.x,",",e.y," (",e.dir,") - [",e.volume,"/",e.max_volume,"]"]},e)})}),d&&(0,r.jsx)(i.Ki.Item,{label:"Janicart Locations",children:d.map(function(e){return(0,r.jsxs)(i.az,{children:[e.x,",",e.y," (",e.direction_from_user,")"]},e)})})]})}},2526:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_main_menu:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data,a=l.owner,c=l.ownjob,s=l.idInserted,u=l.categories,d=l.pai,f=l.notifying;return(0,r.jsxs)(i.BJ,{fill:!0,vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Owner",color:"average",children:[a,", ",c]}),(0,r.jsx)(i.Ki.Item,{label:"ID",children:(0,r.jsx)(i.$n,{icon:"sync",content:"Update PDA Info",disabled:!s,onClick:function(){return t("UpdateInfo")}})})]})})}),(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.wn,{title:"Functions",children:(0,r.jsx)(i.Ki,{children:u.map(function(e){var n=l.apps[e];return n&&n.length?(0,r.jsx)(i.Ki.Item,{label:e,children:n.map(function(e){return(0,r.jsx)(i.$n,{icon:e.uid in f?e.notify_icon:e.icon,iconSpin:e.uid in f,color:e.uid in f?"red":"transparent",content:e.name,onClick:function(){return t("StartProgram",{program:e.uid})}},e.uid)})},e):null})})})}),(0,r.jsx)(i.BJ.Item,{children:!!d&&(0,r.jsxs)(i.wn,{title:"pAI",children:[(0,r.jsx)(i.$n,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){return t("pai",{option:1})}}),(0,r.jsx)(i.$n,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){return t("pai",{option:2})}})]})})]})}},4642:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_manifest:()=>l});var r=t(8138),i=t(2864),o=t(2639),l=function(e){var n=(0,i.Oc)();return n.act,n.data,(0,r.jsx)(o.CrewManifest,{})}},1212:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_medical:()=>l});var r=t(8138),i=t(2864),o=t(4455),l=function(e){var n=(0,i.Oc)().data;return(0,r.jsx)(o.SimpleRecords,{data:n,recordType:"MED"})}},3260:function(e,n,t){"use strict";t.r(n),t.d(n,{ActiveConversation:()=>d,MessengerList:()=>f,pda_messenger:()=>u});var r=t(8138),i=t(8587),o=t(4530),l=t(7790),a=t(2864);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tu,MineSweeperLeaderboard:()=>d,pda_minesweeper:()=>s});var r=t(8138),i=t(4530),o=t(7790),l=t(2864),a=t(2264);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tl});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).mulebot.active;return(0,r.jsx)(i.az,{children:t?(0,r.jsx)(c,{}):(0,r.jsx)(a,{})})},a=function(e){var n=(0,o.Oc)(),t=n.act;return n.data.mulebot.bots.map(function(e){return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{content:e.Name,icon:"cog",onClick:function(){return t("control",{bot:e.uid})}})},e.Name)})},c=function(e){var n,t=(0,o.Oc)(),l=t.act,a=t.data.mulebot,c=a.botstatus,s=a.active,u=c.mode,d=c.loca,f=c.load,h=c.powr,m=c.dest,p=c.home,x=c.retn,g=c.pick;switch(u){case 0:n="Ready";break;case 1:n="Loading/Unloading";break;case 2:case 12:n="Navigating to delivery location";break;case 3:n="Navigating to Home";break;case 4:n="Waiting for clear path";break;case 5:case 6:n="Calculating navigation path";break;case 7:n="Unable to locate destination";break;default:n=u}return(0,r.jsxs)(i.wn,{title:s,children:[-1===u&&(0,r.jsx)(i.az,{color:"red",bold:!0,children:"Waiting for response..."}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Location",children:d}),(0,r.jsx)(i.Ki.Item,{label:"Status",children:n}),(0,r.jsxs)(i.Ki.Item,{label:"Power",children:[h,"%"]}),(0,r.jsx)(i.Ki.Item,{label:"Home",children:p}),(0,r.jsx)(i.Ki.Item,{label:"Destination",children:(0,r.jsx)(i.$n,{content:m?m+" (Set)":"None (Set)",onClick:function(){return l("target")}})}),(0,r.jsx)(i.Ki.Item,{label:"Current Load",children:(0,r.jsx)(i.$n,{content:f?f+" (Unload)":"None",disabled:!f,onClick:function(){return l("unload")}})}),(0,r.jsx)(i.Ki.Item,{label:"Auto Pickup",children:(0,r.jsx)(i.$n,{content:g?"Yes":"No",selected:g,onClick:function(){return l("set_pickup_type",{autopick:+!g})}})}),(0,r.jsx)(i.Ki.Item,{label:"Auto Return",children:(0,r.jsx)(i.$n,{content:x?"Yes":"No",selected:x,onClick:function(){return l("set_auto_return",{autoret:+!x})}})}),(0,r.jsxs)(i.Ki.Item,{label:"Controls",children:[(0,r.jsx)(i.$n,{content:"Stop",icon:"stop",onClick:function(){return l("stop")}}),(0,r.jsx)(i.$n,{content:"Proceed",icon:"play",onClick:function(){return l("start")}}),(0,r.jsx)(i.$n,{content:"Return Home",icon:"home",onClick:function(){return l("home")}})]})]})]})}},9749:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_nanobank:()=>u});var r=t(8138),i=t(4530),o=t(7790),l=t(3268),a=t(2864);function c(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tl});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.note;return(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.wn,{children:l}),(0,r.jsx)(i.$n,{icon:"pen",onClick:function(){return t("Edit")},content:"Edit"})]})}},4702:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_power:()=>l});var r=t(8138),i=t(2864),o=t(1784),l=function(e){var n=(0,i.Oc)();return n.act,n.data,(0,r.jsx)(o.PowerMonitorMainContent,{})}},6651:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_secbot:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).beepsky.active;return(0,r.jsx)(i.az,{children:t?(0,r.jsx)(c,{}):(0,r.jsx)(a,{})})},a=function(e){var n=(0,o.Oc)(),t=n.act;return n.data.beepsky.bots.map(function(e){return(0,r.jsx)(i.az,{children:(0,r.jsx)(i.$n,{content:e.Name,icon:"cog",onClick:function(){return t("control",{bot:e.uid})}})},e.Name)})},c=function(e){var n,t=(0,o.Oc)(),l=t.act,a=t.data.beepsky,c=a.botstatus,s=a.active,u=c.mode,d=c.loca;switch(u){case 0:n="Ready";break;case 1:n="Apprehending target";break;case 2:case 3:n="Arresting target";break;case 4:n="Starting patrol";break;case 5:n="On patrol";break;case 6:n="Responding to summons"}return(0,r.jsxs)(i.wn,{title:s,children:[-1===u&&(0,r.jsx)(i.az,{color:"red",bold:!0,children:"Waiting for response..."}),(0,r.jsxs)(i.Ki,{children:[(0,r.jsx)(i.Ki.Item,{label:"Location",children:d}),(0,r.jsx)(i.Ki.Item,{label:"Status",children:n}),(0,r.jsxs)(i.Ki.Item,{label:"Controls",children:[(0,r.jsx)(i.$n,{content:"Go",icon:"play",onClick:function(){return l("go")}}),(0,r.jsx)(i.$n,{content:"Stop",icon:"stop",onClick:function(){return l("stop")}}),(0,r.jsx)(i.$n,{content:"Summon",icon:"arrow-down",onClick:function(){return l("summon")}})]})]})]})}},7155:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_security:()=>l});var r=t(8138),i=t(2864),o=t(4455),l=function(e){var n=(0,i.Oc)().data;return(0,r.jsx)(o.SimpleRecords,{data:n,recordType:"SEC"})}},7024:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_signaler:()=>l});var r=t(8138),i=t(2864),o=t(9298),l=function(e){var n=(0,i.Oc)(),t=(n.act,n.data);return(0,r.jsx)(o.Signaler,{data:t})}},7148:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_status_display:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=n.act,l=n.data.records;return(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.Ki,{children:[(0,r.jsxs)(i.Ki.Item,{label:"Code",children:[(0,r.jsx)(i.$n,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){return t("Status",{statdisp:0})}}),(0,r.jsx)(i.$n,{color:"transparent",icon:"clock",content:"Evac ETA",onClick:function(){return t("Status",{statdisp:1})}}),(0,r.jsx)(i.$n,{color:"transparent",icon:"edit",content:"Message",onClick:function(){return t("Status",{statdisp:2})}}),(0,r.jsx)(i.$n,{color:"transparent",icon:"exclamation-triangle",content:"Red Alert",onClick:function(){return t("Status",{statdisp:3,alert:"redalert"})}}),(0,r.jsx)(i.$n,{color:"transparent",icon:"boxes",content:"NT Logo",onClick:function(){return t("Status",{statdisp:3,alert:"default"})}}),(0,r.jsx)(i.$n,{color:"transparent",icon:"lock",content:"Lockdown",onClick:function(){return t("Status",{statdisp:3,alert:"lockdown"})}}),(0,r.jsx)(i.$n,{color:"transparent",icon:"biohazard",content:"Biohazard",onClick:function(){return t("Status",{statdisp:3,alert:"biohazard"})}})]}),(0,r.jsx)(i.Ki.Item,{label:"Message line 1",children:(0,r.jsx)(i.$n,{content:l.message1+" (set)",icon:"pen",onClick:function(){return t("SetMessage",{msgnum:1})}})}),(0,r.jsx)(i.Ki.Item,{label:"Message line 2",children:(0,r.jsx)(i.$n,{content:l.message2+" (set)",icon:"pen",onClick:function(){return t("SetMessage",{msgnum:2})}})})]})})}},7632:function(e,n,t){"use strict";t.r(n),t.d(n,{pda_supplyrecords:()=>l});var r=t(8138),i=t(7790),o=t(2864),l=function(e){var n=(0,o.Oc)(),t=(n.act,n.data).supply,l=t.shuttle_loc,a=t.shuttle_time,c=t.shuttle_moving,s=t.approved,u=t.approved_count,d=t.requests,f=t.requests_count;return(0,r.jsxs)(i.az,{children:[(0,r.jsx)(i.Ki,{children:(0,r.jsx)(i.Ki.Item,{label:"Shuttle Status",children:c?(0,r.jsxs)(i.az,{children:["In transit ",a]}):(0,r.jsx)(i.az,{children:l})})}),(0,r.jsx)(i.wn,{mt:1,title:"Requested Orders",children:f>0&&d.map(function(e){return(0,r.jsxs)(i.az,{children:["#",e.Number,' - "',e.Name,'" for "',e.OrderedBy,'"']},e)})}),(0,r.jsx)(i.wn,{title:"Approved Orders",children:u>0&&s.map(function(e){return(0,r.jsxs)(i.az,{children:["#",e.Number,' - "',e.Name,'" for "',e.ApprovedBy,'"']},e)})})]})}},9136:function(e,n,t){"use strict";t.d(n,{P:()=>d});var r=t(8138),i=t(4530),o=t(1128),l=t(5490),a=t(3375);function c(e){for(var n=1;n=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function d(e){var n=e.className,t=e.theme,i=void 0===t?"nanotrasen":t,o=e.children,d=u(e,["className","theme","children"]);return document.documentElement.className="theme-".concat(i),(0,r.jsx)("div",{className:"theme-"+i,children:(0,r.jsx)("div",s(c({className:(0,l.Ly)(["Layout",n,(0,a.WP)(d)])},(0,a.Fl)(d)),{children:o}))})}d.Content=function(e){var n=e.className,t=e.scrollable,d=e.children,f=u(e,["className","scrollable","children"]),h=(0,i.useRef)(null);return(0,i.useEffect)(function(){var e=h.current;return e&&t&&(0,o.tk)(e),function(){e&&t&&(0,o.WK)(e)}},[]),(0,r.jsx)("div",s(c({className:(0,l.Ly)(["Layout__content",t&&"Layout__content--scrollable",n,(0,a.WP)(f)]),ref:h},(0,a.Fl)(f)),{children:d}))}},2372:function(e,n,t){"use strict";t(8138),t(7790),t(5490),t(2864),t(1956),t(9136)},7655:function(e,n,t){"use strict";t.d(n,{c:()=>s});var r=t(8138),i=t(7790),o=t(2316),l=t(5490),a=t(3268),c=t(2864);function s(e){var n=e.className,t=e.title,s=e.status,u=e.canClose,d=e.fancy,f=e.onDragStart,h=e.onClose,m=e.children;c.J3.dispatch;var p="string"==typeof t&&t===t.toLowerCase()&&(0,a.Sn)(t)||t;return(0,r.jsxs)("div",{className:(0,l.Ly)(["TitleBar",n]),children:[(0,r.jsx)("div",{className:"TitleBar__dragZone",onMouseDown:function(e){return d&&f&&f(e)}}),void 0===s?(0,r.jsx)(i.In,{className:"TitleBar__statusIcon",name:"tools",opacity:.5}):(0,r.jsx)(i.In,{className:"TitleBar__statusIcon",color:function(e){switch(e){case o.KA:return"good";case o.bz:return"average";case o.KS:default:return"bad"}}(s),name:s===o.KS?"eye-slash":"eye"}),(0,r.jsx)("div",{className:"TitleBar__title",children:p}),!!m&&(0,r.jsx)("div",{className:"TitleBar__buttons",children:m}),!1,!!(d&&u)&&(0,r.jsx)("div",{className:"TitleBar__close",onClick:h,children:(0,r.jsx)(i.In,{className:"TitleBar__close--icon",name:"times"})})]})}t(3123)},7334:function(e,n,t){"use strict";t.d(n,{p:()=>b});var r=t(8138),i=t(4530),o=t(2316),l=t(5490),a=t(3268),c=t(2864),s=t(1956),u=t(6400),d=t(2533),f=t(9136),h=t(7655);function m(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(i[t]=e[t]);return i}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}(e,["className","fitted","children"]);return(0,r.jsx)(f.P.Content,x(p({className:(0,l.Ly)(["Window__content",n])},o),{children:t&&i||(0,r.jsx)("div",{className:"Window__contentPadding",children:i})}))}},3384:function(e,n,t){"use strict";t.d(n,{p8:()=>r.p}),t(9136),t(2372);var r=t(7334)},2533:function(e,n,t){"use strict";function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tl,v:()=>a});var o=function(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Generic",t=arguments.length,r=Array(t>2?t-2:0),o=2;o=2){var l=[n].concat(i(r)).map(function(e){var n;return"string"==typeof e?e:(null!=(n=Error)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n)?e.stack||String(e):JSON.stringify(e)}).filter(function(e){return e}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",ns:n,message:l})}},l=function(e){return{debug:function(){for(var n=arguments.length,t=Array(n),r=0;rc,Su:()=>s,XX:()=>u});var r,i=t(9227),o=t(1843);(0,t(2533).h)("renderer");var l=!0,a=!1;function c(){l=l||"resumed",a=!1}function s(){a=!0}function u(e){if(i.k.mark("render/start"),!r){var n=document.getElementById("react-root");r=(0,o.createRoot)(n)}r.render(e),i.k.mark("render/finish"),!a&&l&&(l=!1)}},483:function(e,n,t){"use strict";t.d(n,{l:()=>f,z:()=>s});var r=t(8138),i=t(7790),o=t(2864),l=t(1956),a=t(3384),c=t(4808),s=function(e,n){return function(){return(0,r.jsx)(a.p8,{children:(0,r.jsxs)(a.p8.Content,{scrollable:!0,children:["notFound"===e&&(0,r.jsxs)("div",{children:["Interface ",(0,r.jsx)("b",{children:n})," was not found."]}),"missingExport"===e&&(0,r.jsxs)("div",{children:["Interface ",(0,r.jsx)("b",{children:n})," is missing an export."]})]})})}};function u(){return(0,r.jsx)(a.p8,{children:(0,r.jsx)(a.p8.Content,{scrollable:!0})})}function d(){return(0,r.jsx)(a.p8,{height:130,title:"Loading",width:150,children:(0,r.jsx)(a.p8.Content,{children:(0,r.jsxs)(i.BJ,{align:"center",fill:!0,justify:"center",vertical:!0,children:[(0,r.jsx)(i.BJ.Item,{children:(0,r.jsx)(i.In,{color:"blue",name:"toolbox",spin:!0,size:4})}),(0,r.jsx)(i.BJ.Item,{children:"Please wait..."})]})})})}function f(){var e,n=(0,o.Oc)(),t=n.suspended,r=n.config;if((0,l.Lo)().kitchenSink,t)return u;if(null==r?void 0:r.refreshing)return d;for(var i=null==r?void 0:r.interface,a=[function(e){return"./".concat(e,".tsx")},function(e){return"./".concat(e,".jsx")},function(e){return"./".concat(e,"/index.tsx")},function(e){return"./".concat(e,"/index.jsx")}];!e&&a.length>0;){var f=a.shift()(i);try{e=c(f)}catch(e){if("MODULE_NOT_FOUND"!==e.code)throw e}}if(!e)return s("notFound",i);var h=e[i];return h||s("missingExport",i)}},7997:function(e,n,t){"use strict";t.r(n),t.d(n,{meta:()=>c});var r=t(8138),i=t(4530),o=t(7790),l=t(2533);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);ta});var r=t(8138),i=t(1699),o=t(7790),l=t(9582),a={title:"Storage",render:function(){return(0,r.jsx)(c,{})}},c=function(e){return window.localStorage?(0,r.jsx)(o.wn,{title:"Local Storage",buttons:(0,r.jsx)(o.$n,{icon:"recycle",onClick:function(){localStorage.clear(),i.IG.clear()},children:"Clear"}),children:(0,r.jsxs)(o.Ki,{children:[(0,r.jsx)(o.Ki.Item,{label:"Keys in use",children:localStorage.length}),(0,r.jsx)(o.Ki.Item,{label:"Remaining space",children:(0,l.QL)(localStorage.remainingSpace,0,"B")})]})}):(0,r.jsx)(o.IC,{children:"Local storage is not available."})}},9615:function(e,n,t){"use strict";t.r(n),t.d(n,{meta:()=>c});var r=t(8138),i=t(4530),o=t(7790),l=t(7218);function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);tl,sendMessage:()=>o,setupHotReloading:()=>a,subscribe:()=>i});let r=[];function i(e){r.push(e)}function o(e){}function l(e,n){}function a(){}}},r={};function i(e){var n=r[e];if(void 0!==n)return n.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return t[e].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}i.m=t,i.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return i.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(t,r){if(1&r&&(t=this(t)),8&r||"object"==typeof t&&t&&(4&r&&t.__esModule||16&r&&"function"==typeof t.then))return t;var o=Object.create(null);i.r(o);var l={};e=e||[null,n({}),n([]),n(n)];for(var a=2&r&&t;"object"==typeof a&&!~e.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach(e=>{l[e]=()=>t[e]});return l.default=()=>t,i.d(o,l),o},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.k=e=>""+e+".css",i.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),i.p="/",i.rv=()=>"1.5.8",i.ruid="bundler=rspack@1.5.8",(()=>{"use strict";var e,n=i(8138);i(5810),i(8232),i(5153),i(4620),i(9258),i(3001),i(4648),i(5616),i(2186),i(6070),i(8523),i(4372),i(8500),i(9782),i(9770);var t=i(9227),r=i(1128),o=i(1874),l=i(2864),a=i(4530),c=i(8595),s=i(2533);function u(){return(0,a.useEffect)(function(){0===Object.keys(Byond.iconRefMap).length&&(function e(n,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;return fetch(n,t).catch(function(){return new Promise(function(i){setTimeout(function(){e(n,t,r).then(i)},r)})})})((0,c.l)("icon_ref_map.json")).then(function(e){return e.json()}).then(function(e){return Byond.iconRefMap=e}).catch(function(e){return s.v.log(e)})},[]),null}function d(){return(0,n.jsx)(a.Suspense,{fallback:null,children:(0,n.jsx)(u,{})})}function f(){var e=(0,i(483).l)(l.J3);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e,{}),(0,n.jsx)(d,{})]})}var h=function(){document.addEventListener("click",function(e){for(var n=e.target;;){if(!n||n===document.body)return;if("a"===String(n.tagName).toLowerCase())break;n=n.parentElement}var t=n.getAttribute("href")||"";if(!("?"===t.charAt(0)||t.startsWith("byond://"))){e.preventDefault();var r=t;r.toLowerCase().startsWith("www")&&(r="https://"+r),Byond.sendMessage({type:"openLink",url:r})}})},m=i(2901),p=i(5900);function x(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t1?t-1:0),i=1;ie.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&void 0!==arguments[0]?arguments[0]:{},t=n.sideEffects,r=n.reducer,i=n.middleware,o=b([(0,p.HY)({debug:y.A$,backend:l.jB}),r]),a=void 0===t||t?w((null==i?void 0:i.pre)||[]).concat([c.h,l.pX],w((null==i?void 0:i.post)||[])):[],s=p.Tw.apply(void 0,w(a)),u=(0,p.y$)(o,s);return window.__store__=u,window.__augmentStack__=(e=u,function(n,t){(t=t||Error(n.split("\n")[0])).stack=t.stack||n,k.log("FatalError:",t);var r,i,o=e.getState(),l=null==o||null==(r=o.backend)?void 0:r.config;return n+"\nUser Agent: "+navigator.userAgent+"\nState: "+JSON.stringify({ckey:null==l||null==(i=l.client)?void 0:i.ckey,interface:null==l?void 0:l.interface,window:null==l?void 0:l.window})}),u}();!function e(){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):((0,l.H$)(_),(0,r.y4)(),(0,o.Bm)({keyUpVerb:"Key_Up",keyDownVerb:"Key_Down",verbParamsFn:function(e,n){return"".concat(e,' "').concat(n,'"')}}),h(),_.subscribe(function(){return(0,m.XX)((0,n.jsx)(f,{}))}),Byond.subscribe(function(e,n){return _.dispatch({type:e,payload:n})}))}()})()})(); \ No newline at end of file